@progress/kendo-angular-map 25.3.1-develop.1 → 25.4.0-develop.1
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.
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* Licensed under commercial license. See LICENSE.md in the project root for more information
|
|
4
4
|
*-------------------------------------------------------------------------------------------*/
|
|
5
5
|
import * as i0 from '@angular/core';
|
|
6
|
-
import { Injectable, SimpleChange, Directive, TemplateRef, ContentChild, ChangeDetectionStrategy, Component, SecurityContext, Input, forwardRef, ViewChild, ElementRef, EventEmitter, Output, ContentChildren, Optional, NgModule } from '@angular/core';
|
|
6
|
+
import { Injectable, SimpleChange, Directive, TemplateRef, ContentChild, ChangeDetectionStrategy, Component, signal, SecurityContext, Input, forwardRef, ViewChild, ElementRef, EventEmitter, Output, computed, effect, untracked, ContentChildren, Optional, NgModule } from '@angular/core';
|
|
7
7
|
import * as i3 from '@angular/platform-browser';
|
|
8
8
|
import { Subject, BehaviorSubject, combineLatest } from 'rxjs';
|
|
9
9
|
import { isDocumentAvailable, hasObservers, ResizeSensorComponent, KENDO_WEBMCP_HOST, ResizeBatchService } from '@progress/kendo-angular-common';
|
|
@@ -15,7 +15,7 @@ import { chevronRightIcon, chevronLeftIcon, chevronDownIcon, chevronUpIcon, minu
|
|
|
15
15
|
import { InstanceObserver, Map } from '@progress/kendo-charts';
|
|
16
16
|
export { Extent, Location } from '@progress/kendo-charts';
|
|
17
17
|
import { validatePackage } from '@progress/kendo-licensing';
|
|
18
|
-
import { tap
|
|
18
|
+
import { tap } from 'rxjs/operators';
|
|
19
19
|
import { NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';
|
|
20
20
|
import * as i1 from '@progress/kendo-angular-popup';
|
|
21
21
|
import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
|
|
@@ -44,10 +44,10 @@ class CollectionService {
|
|
|
44
44
|
notify(change) {
|
|
45
45
|
this.source.next(change);
|
|
46
46
|
}
|
|
47
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
48
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
47
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
48
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionService });
|
|
49
49
|
}
|
|
50
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
50
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionService, decorators: [{
|
|
51
51
|
type: Injectable
|
|
52
52
|
}], ctorParameters: () => [] });
|
|
53
53
|
|
|
@@ -100,10 +100,10 @@ class ConfigurationService {
|
|
|
100
100
|
this.source.next(this.store);
|
|
101
101
|
});
|
|
102
102
|
}
|
|
103
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
104
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
103
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ConfigurationService, deps: [{ token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Injectable });
|
|
104
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ConfigurationService });
|
|
105
105
|
}
|
|
106
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
106
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ConfigurationService, decorators: [{
|
|
107
107
|
type: Injectable
|
|
108
108
|
}], ctorParameters: () => [{ type: i0.NgZone }] });
|
|
109
109
|
|
|
@@ -185,10 +185,10 @@ class CollectionItemComponent {
|
|
|
185
185
|
}
|
|
186
186
|
this.collectionService.notify(new ItemChange(this, this.options));
|
|
187
187
|
}
|
|
188
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
189
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
188
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionItemComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
189
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: CollectionItemComponent, isStandalone: true, usesOnChanges: true, ngImport: i0 });
|
|
190
190
|
}
|
|
191
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
191
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionItemComponent, decorators: [{
|
|
192
192
|
type: Directive
|
|
193
193
|
}], ctorParameters: () => [{ type: ConfigurationService }, { type: CollectionService }] });
|
|
194
194
|
|
|
@@ -236,10 +236,10 @@ class SettingsComponent {
|
|
|
236
236
|
notify() {
|
|
237
237
|
this.configurationService.notify(new Change(this.configKey, this.store));
|
|
238
238
|
}
|
|
239
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
240
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
239
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SettingsComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
240
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: SettingsComponent, isStandalone: true, usesOnChanges: true, ngImport: i0 });
|
|
241
241
|
}
|
|
242
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
242
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: SettingsComponent, decorators: [{
|
|
243
243
|
type: Directive
|
|
244
244
|
}], ctorParameters: () => [{ type: undefined }, { type: ConfigurationService }] });
|
|
245
245
|
|
|
@@ -258,10 +258,10 @@ class LayerTooltipComponent extends SettingsComponent {
|
|
|
258
258
|
get layerTooltipTemplateRef() {
|
|
259
259
|
return this.layerTooltipTemplate;
|
|
260
260
|
}
|
|
261
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
262
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
261
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LayerTooltipComponent, deps: [{ token: ConfigurationService }], target: i0.ɵɵFactoryTarget.Component });
|
|
262
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: LayerTooltipComponent, isStandalone: true, selector: "kendo-map-layer-tooltip", queries: [{ propertyName: "layerTooltipTemplate", first: true, predicate: TemplateRef, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
263
263
|
}
|
|
264
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
264
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LayerTooltipComponent, decorators: [{
|
|
265
265
|
type: Component,
|
|
266
266
|
args: [{
|
|
267
267
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -285,27 +285,33 @@ class LayerComponent extends CollectionItemComponent {
|
|
|
285
285
|
/**
|
|
286
286
|
* @hidden
|
|
287
287
|
*/
|
|
288
|
-
attribution;
|
|
288
|
+
set attribution(value) { this._attribution.set(value); }
|
|
289
|
+
get attribution() { return this._attribution(); }
|
|
289
290
|
/**
|
|
290
291
|
* @hidden
|
|
291
292
|
*/
|
|
292
|
-
extent;
|
|
293
|
+
set extent(value) { this._extent.set(value); }
|
|
294
|
+
get extent() { return this._extent(); }
|
|
293
295
|
/**
|
|
294
296
|
* @hidden
|
|
295
297
|
*/
|
|
296
|
-
maxZoom;
|
|
298
|
+
set maxZoom(value) { this._maxZoom.set(value); }
|
|
299
|
+
get maxZoom() { return this._maxZoom(); }
|
|
297
300
|
/**
|
|
298
301
|
* @hidden
|
|
299
302
|
*/
|
|
300
|
-
minZoom;
|
|
303
|
+
set minZoom(value) { this._minZoom.set(value); }
|
|
304
|
+
get minZoom() { return this._minZoom(); }
|
|
301
305
|
/**
|
|
302
306
|
* @hidden
|
|
303
307
|
*/
|
|
304
|
-
opacity;
|
|
308
|
+
set opacity(value) { this._opacity.set(value); }
|
|
309
|
+
get opacity() { return this._opacity(); }
|
|
305
310
|
/**
|
|
306
311
|
* @hidden
|
|
307
312
|
*/
|
|
308
|
-
zIndex;
|
|
313
|
+
set zIndex(value) { this._zIndex.set(value); }
|
|
314
|
+
get zIndex() { return this._zIndex(); }
|
|
309
315
|
layerTooltip;
|
|
310
316
|
constructor(type, configurationService, collectionService, sanitizer) {
|
|
311
317
|
super(configurationService, collectionService);
|
|
@@ -314,6 +320,12 @@ class LayerComponent extends CollectionItemComponent {
|
|
|
314
320
|
this.collectionService = collectionService;
|
|
315
321
|
this.sanitizer = sanitizer;
|
|
316
322
|
}
|
|
323
|
+
_attribution = signal(undefined, ...(ngDevMode ? [{ debugName: "_attribution" }] : /* istanbul ignore next */ []));
|
|
324
|
+
_zIndex = signal(undefined, ...(ngDevMode ? [{ debugName: "_zIndex" }] : /* istanbul ignore next */ []));
|
|
325
|
+
_opacity = signal(undefined, ...(ngDevMode ? [{ debugName: "_opacity" }] : /* istanbul ignore next */ []));
|
|
326
|
+
_minZoom = signal(undefined, ...(ngDevMode ? [{ debugName: "_minZoom" }] : /* istanbul ignore next */ []));
|
|
327
|
+
_maxZoom = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxZoom" }] : /* istanbul ignore next */ []));
|
|
328
|
+
_extent = signal(undefined, ...(ngDevMode ? [{ debugName: "_extent" }] : /* istanbul ignore next */ []));
|
|
317
329
|
ngOnChanges(changes) {
|
|
318
330
|
const store = this.configurationService.store;
|
|
319
331
|
store.type = this.type;
|
|
@@ -328,10 +340,10 @@ class LayerComponent extends CollectionItemComponent {
|
|
|
328
340
|
return this.layerTooltip.layerTooltipTemplateRef;
|
|
329
341
|
}
|
|
330
342
|
}
|
|
331
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
332
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
343
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LayerComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
344
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: LayerComponent, isStandalone: true, inputs: { attribution: "attribution", extent: "extent", maxZoom: "maxZoom", minZoom: "minZoom", opacity: "opacity", zIndex: "zIndex" }, queries: [{ propertyName: "layerTooltip", first: true, predicate: LayerTooltipComponent, descendants: true }], usesInheritance: true, usesOnChanges: true, ngImport: i0 });
|
|
333
345
|
}
|
|
334
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
346
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LayerComponent, decorators: [{
|
|
335
347
|
type: Directive
|
|
336
348
|
}], ctorParameters: () => [{ type: undefined }, { type: ConfigurationService }, { type: CollectionService }, { type: i3.DomSanitizer }], propDecorators: { attribution: [{
|
|
337
349
|
type: Input
|
|
@@ -386,46 +398,60 @@ class BubbleLayerComponent extends LayerComponent {
|
|
|
386
398
|
/**
|
|
387
399
|
* Sets the array of data items for this layer.
|
|
388
400
|
*/
|
|
389
|
-
data;
|
|
401
|
+
set data(value) { this._data.set(value); }
|
|
402
|
+
get data() { return this._data(); }
|
|
390
403
|
/**
|
|
391
404
|
* Sets the data item field which contains the symbol location.
|
|
392
405
|
* The field should be an array with two numbers — latitude and longitude in decimal degrees.
|
|
393
406
|
*/
|
|
394
|
-
locationField;
|
|
407
|
+
set locationField(value) { this._locationField.set(value); }
|
|
408
|
+
get locationField() { return this._locationField(); }
|
|
395
409
|
/**
|
|
396
410
|
* Sets the value field for the symbols used to determine their relative size.
|
|
397
411
|
* The data item field should be a number.
|
|
398
412
|
*/
|
|
399
|
-
valueField;
|
|
413
|
+
set valueField(value) { this._valueField.set(value); }
|
|
414
|
+
get valueField() { return this._valueField(); }
|
|
400
415
|
/**
|
|
401
416
|
* Sets the symbol to use for bubble layers.
|
|
402
417
|
*/
|
|
403
|
-
symbol;
|
|
418
|
+
set symbol(value) { this._symbol.set(value); }
|
|
419
|
+
get symbol() { return this._symbol(); }
|
|
404
420
|
/**
|
|
405
421
|
* Sets the default style for symbols.
|
|
406
422
|
*/
|
|
407
|
-
style;
|
|
423
|
+
set style(value) { this._style.set(value); }
|
|
424
|
+
get style() { return this._style(); }
|
|
408
425
|
/**
|
|
409
426
|
* Sets the maximum symbol size for bubble layer symbols.
|
|
410
427
|
*
|
|
411
428
|
* @default 100
|
|
412
429
|
*/
|
|
413
|
-
maxSize;
|
|
430
|
+
set maxSize(value) { this._maxSize.set(value); }
|
|
431
|
+
get maxSize() { return this._maxSize(); }
|
|
414
432
|
/**
|
|
415
433
|
* Sets the minimum symbol size for bubble layer symbols.
|
|
416
434
|
* Setting a non-zero value will distort the symbol area to value ratio.
|
|
417
435
|
*
|
|
418
436
|
* @default 0
|
|
419
437
|
*/
|
|
420
|
-
minSize;
|
|
438
|
+
set minSize(value) { this._minSize.set(value); }
|
|
439
|
+
get minSize() { return this._minSize(); }
|
|
440
|
+
_minSize = signal(undefined, ...(ngDevMode ? [{ debugName: "_minSize" }] : /* istanbul ignore next */ []));
|
|
441
|
+
_valueField = signal(undefined, ...(ngDevMode ? [{ debugName: "_valueField" }] : /* istanbul ignore next */ []));
|
|
442
|
+
_maxSize = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxSize" }] : /* istanbul ignore next */ []));
|
|
443
|
+
_style = signal(undefined, ...(ngDevMode ? [{ debugName: "_style" }] : /* istanbul ignore next */ []));
|
|
444
|
+
_symbol = signal(undefined, ...(ngDevMode ? [{ debugName: "_symbol" }] : /* istanbul ignore next */ []));
|
|
445
|
+
_locationField = signal(undefined, ...(ngDevMode ? [{ debugName: "_locationField" }] : /* istanbul ignore next */ []));
|
|
446
|
+
_data = signal(undefined, ...(ngDevMode ? [{ debugName: "_data" }] : /* istanbul ignore next */ []));
|
|
421
447
|
constructor(configurationService, collectionService, sanitizer) {
|
|
422
448
|
super('bubble', configurationService, collectionService, sanitizer);
|
|
423
449
|
this.configurationService = configurationService;
|
|
424
450
|
this.collectionService = collectionService;
|
|
425
451
|
this.sanitizer = sanitizer;
|
|
426
452
|
}
|
|
427
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
428
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
453
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BubbleLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
454
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: BubbleLayerComponent, isStandalone: true, selector: "kendo-map-bubble-layer", inputs: { data: "data", locationField: "locationField", valueField: "valueField", symbol: "symbol", style: "style", maxSize: "maxSize", minSize: "minSize" }, providers: [
|
|
429
455
|
ConfigurationService,
|
|
430
456
|
{
|
|
431
457
|
provide: LayerComponent,
|
|
@@ -433,7 +459,7 @@ class BubbleLayerComponent extends LayerComponent {
|
|
|
433
459
|
}
|
|
434
460
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
435
461
|
}
|
|
436
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
462
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BubbleLayerComponent, decorators: [{
|
|
437
463
|
type: Component,
|
|
438
464
|
args: [{
|
|
439
465
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -506,10 +532,10 @@ class BaseEvent {
|
|
|
506
532
|
constructor(sender) {
|
|
507
533
|
this.sender = sender;
|
|
508
534
|
}
|
|
509
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
510
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
535
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BaseEvent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
536
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: BaseEvent, isStandalone: true, ngImport: i0 });
|
|
511
537
|
}
|
|
512
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
538
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BaseEvent, decorators: [{
|
|
513
539
|
type: Directive
|
|
514
540
|
}], ctorParameters: () => [{ type: undefined }] });
|
|
515
541
|
|
|
@@ -618,10 +644,10 @@ class PreventableEvent extends BaseEvent {
|
|
|
618
644
|
isDefaultPrevented() {
|
|
619
645
|
return this.prevented;
|
|
620
646
|
}
|
|
621
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
622
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
647
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: PreventableEvent, deps: null, target: i0.ɵɵFactoryTarget.Directive });
|
|
648
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: PreventableEvent, isStandalone: true, usesInheritance: true, ngImport: i0 });
|
|
623
649
|
}
|
|
624
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
650
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: PreventableEvent, decorators: [{
|
|
625
651
|
type: Directive
|
|
626
652
|
}] });
|
|
627
653
|
|
|
@@ -950,8 +976,8 @@ const packageMetadata = {
|
|
|
950
976
|
productName: 'Kendo UI for Angular',
|
|
951
977
|
productCode: 'KENDOUIANGULAR',
|
|
952
978
|
productCodes: ['KENDOUIANGULAR'],
|
|
953
|
-
publishDate:
|
|
954
|
-
version: '25.
|
|
979
|
+
publishDate: 1791873255,
|
|
980
|
+
version: '25.4.0-develop.1',
|
|
955
981
|
licensingDocsUrl: 'https://www.telerik.com/kendo-angular-ui/my-license/'
|
|
956
982
|
};
|
|
957
983
|
|
|
@@ -963,17 +989,20 @@ const COLLISION = { horizontal: "fit", vertical: "fit" };
|
|
|
963
989
|
class BaseTooltip {
|
|
964
990
|
popupService;
|
|
965
991
|
localizationService;
|
|
966
|
-
animate
|
|
992
|
+
get animate() { return this._animateSignal(); }
|
|
967
993
|
style = {
|
|
968
994
|
position: 'relative'
|
|
969
995
|
};
|
|
970
996
|
templateRef;
|
|
971
997
|
popupRef = null;
|
|
972
|
-
popupSettings;
|
|
998
|
+
set popupSettings(value) { this._popupSettings.set(value); }
|
|
999
|
+
get popupSettings() { return this._popupSettings(); }
|
|
973
1000
|
constructor(popupService, localizationService) {
|
|
974
1001
|
this.popupService = popupService;
|
|
975
1002
|
this.localizationService = localizationService;
|
|
976
1003
|
}
|
|
1004
|
+
_popupSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_popupSettings" }] : /* istanbul ignore next */ []));
|
|
1005
|
+
_animateSignal = signal(true, ...(ngDevMode ? [{ debugName: "_animateSignal" }] : /* istanbul ignore next */ []));
|
|
977
1006
|
get active() {
|
|
978
1007
|
return this.popupRef !== null;
|
|
979
1008
|
}
|
|
@@ -1036,10 +1065,10 @@ class BaseTooltip {
|
|
|
1036
1065
|
}
|
|
1037
1066
|
return { scrollLeft, scrollTop };
|
|
1038
1067
|
}
|
|
1039
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1040
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
1068
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BaseTooltip, deps: [{ token: i1.PopupService }, { token: i3$1.LocalizationService }], target: i0.ɵɵFactoryTarget.Directive });
|
|
1069
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: BaseTooltip, isStandalone: true, inputs: { popupSettings: "popupSettings" }, viewQueries: [{ propertyName: "templateRef", first: true, predicate: ["content"], descendants: true, static: true }], ngImport: i0 });
|
|
1041
1070
|
}
|
|
1042
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1071
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BaseTooltip, decorators: [{
|
|
1043
1072
|
type: Directive
|
|
1044
1073
|
}], ctorParameters: () => [{ type: i1.PopupService }, { type: i3$1.LocalizationService }], propDecorators: { templateRef: [{
|
|
1045
1074
|
type: ViewChild,
|
|
@@ -1063,10 +1092,10 @@ class TooltipTemplateService {
|
|
|
1063
1092
|
return this.templates[layerIndex];
|
|
1064
1093
|
}
|
|
1065
1094
|
}
|
|
1066
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1067
|
-
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "
|
|
1095
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TooltipTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
|
|
1096
|
+
static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TooltipTemplateService });
|
|
1068
1097
|
}
|
|
1069
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1098
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TooltipTemplateService, decorators: [{
|
|
1070
1099
|
type: Injectable
|
|
1071
1100
|
}] });
|
|
1072
1101
|
|
|
@@ -1087,13 +1116,22 @@ class TooltipPopupComponent extends BaseTooltip {
|
|
|
1087
1116
|
templateService;
|
|
1088
1117
|
localizationService;
|
|
1089
1118
|
ngZone;
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
|
-
|
|
1093
|
-
classNames;
|
|
1094
|
-
wrapperClass
|
|
1119
|
+
set animate(value) { this._animate.set(value); }
|
|
1120
|
+
get animate() { return this._animate(); }
|
|
1121
|
+
set classNames(value) { this._classNames.set(value); }
|
|
1122
|
+
get classNames() { return this._classNames(); }
|
|
1123
|
+
set wrapperClass(value) { this._wrapperClass.set(value); }
|
|
1124
|
+
get wrapperClass() { return this._wrapperClass(); }
|
|
1095
1125
|
leave = new EventEmitter();
|
|
1096
|
-
|
|
1126
|
+
get tooltipTemplateRef() { return this._tooltipTemplateRef(); }
|
|
1127
|
+
get tooltipContext() { return this._tooltipContext(); }
|
|
1128
|
+
get popupClasses() { return this._popupClasses(); }
|
|
1129
|
+
_animate = signal(true, ...(ngDevMode ? [{ debugName: "_animate" }] : /* istanbul ignore next */ []));
|
|
1130
|
+
_classNames = signal(undefined, ...(ngDevMode ? [{ debugName: "_classNames" }] : /* istanbul ignore next */ []));
|
|
1131
|
+
_wrapperClass = signal('k-tooltip-wrapper', ...(ngDevMode ? [{ debugName: "_wrapperClass" }] : /* istanbul ignore next */ []));
|
|
1132
|
+
_tooltipTemplateRef = signal(null, ...(ngDevMode ? [{ debugName: "_tooltipTemplateRef" }] : /* istanbul ignore next */ []));
|
|
1133
|
+
_tooltipContext = signal({}, ...(ngDevMode ? [{ debugName: "_tooltipContext" }] : /* istanbul ignore next */ []));
|
|
1134
|
+
_popupClasses = signal({}, ...(ngDevMode ? [{ debugName: "_popupClasses" }] : /* istanbul ignore next */ []));
|
|
1097
1135
|
mouseleaveSubscription;
|
|
1098
1136
|
constructor(popupService, templateService, localizationService, ngZone) {
|
|
1099
1137
|
super(popupService, localizationService);
|
|
@@ -1103,16 +1141,17 @@ class TooltipPopupComponent extends BaseTooltip {
|
|
|
1103
1141
|
this.ngZone = ngZone;
|
|
1104
1142
|
}
|
|
1105
1143
|
show(e) {
|
|
1106
|
-
this.
|
|
1144
|
+
this._tooltipTemplateRef.set(this.templateService.getTemplate(e.layerIndex));
|
|
1107
1145
|
if (!this.tooltipTemplateRef) {
|
|
1108
1146
|
return;
|
|
1109
1147
|
}
|
|
1110
|
-
this.
|
|
1148
|
+
this._popupClasses.set({
|
|
1111
1149
|
'k-tooltip': true,
|
|
1112
1150
|
'k-map-tooltip': true,
|
|
1113
|
-
[e.className]: Boolean(e.className)
|
|
1114
|
-
|
|
1115
|
-
|
|
1151
|
+
[e.className]: Boolean(e.className),
|
|
1152
|
+
...this.classNames
|
|
1153
|
+
});
|
|
1154
|
+
this._tooltipContext.set(e);
|
|
1116
1155
|
super.show(e);
|
|
1117
1156
|
}
|
|
1118
1157
|
containsElement(element) {
|
|
@@ -1133,11 +1172,11 @@ class TooltipPopupComponent extends BaseTooltip {
|
|
|
1133
1172
|
this.mouseleaveSubscription();
|
|
1134
1173
|
this.mouseleaveSubscription = null;
|
|
1135
1174
|
}
|
|
1136
|
-
this.
|
|
1175
|
+
this._tooltipTemplateRef.set(null);
|
|
1137
1176
|
super.hide();
|
|
1138
1177
|
}
|
|
1139
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1140
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1178
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TooltipPopupComponent, deps: [{ token: i1.PopupService }, { token: TooltipTemplateService }, { token: i3$1.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
|
|
1179
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: TooltipPopupComponent, isStandalone: true, selector: "kendo-map-tooltip-popup", inputs: { animate: "animate", classNames: "classNames", wrapperClass: "wrapperClass" }, outputs: { leave: "leave" }, providers: [PopupService, {
|
|
1141
1180
|
provide: POPUP_CONTAINER,
|
|
1142
1181
|
useFactory: bodyFactory
|
|
1143
1182
|
}], usesInheritance: true, ngImport: i0, template: `
|
|
@@ -1150,11 +1189,12 @@ class TooltipPopupComponent extends BaseTooltip {
|
|
|
1150
1189
|
</div>
|
|
1151
1190
|
</div>
|
|
1152
1191
|
</ng-template>
|
|
1153
|
-
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }] });
|
|
1192
|
+
`, isInline: true, dependencies: [{ kind: "directive", type: NgClass, selector: "[ngClass]", inputs: ["class", "ngClass"] }, { kind: "directive", type: NgStyle, selector: "[ngStyle]", inputs: ["ngStyle"] }, { kind: "directive", type: NgTemplateOutlet, selector: "[ngTemplateOutlet]", inputs: ["ngTemplateOutletContext", "ngTemplateOutlet", "ngTemplateOutletInjector"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1154
1193
|
}
|
|
1155
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1194
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TooltipPopupComponent, decorators: [{
|
|
1156
1195
|
type: Component,
|
|
1157
1196
|
args: [{
|
|
1197
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1158
1198
|
providers: [PopupService, {
|
|
1159
1199
|
provide: POPUP_CONTAINER,
|
|
1160
1200
|
useFactory: bodyFactory
|
|
@@ -1268,50 +1308,59 @@ class MapComponent {
|
|
|
1268
1308
|
* }
|
|
1269
1309
|
* ```
|
|
1270
1310
|
*/
|
|
1271
|
-
resizeRateLimit
|
|
1311
|
+
set resizeRateLimit(value) { this._resizeRateLimit.set(value); }
|
|
1312
|
+
get resizeRateLimit() { return this._resizeRateLimit(); }
|
|
1272
1313
|
/**
|
|
1273
1314
|
* Specifies the map center coordinates.
|
|
1274
1315
|
* Provide coordinates as `[Latitude, Longitude]`.
|
|
1275
1316
|
*/
|
|
1276
|
-
center;
|
|
1317
|
+
set center(value) { this._center.set(value); }
|
|
1318
|
+
get center() { return this._center(); }
|
|
1277
1319
|
/**
|
|
1278
1320
|
* Specifies the configuration for built-in map controls.
|
|
1279
1321
|
*/
|
|
1280
|
-
controls;
|
|
1322
|
+
set controls(value) { this._controls.set(value); }
|
|
1323
|
+
get controls() { return this._controls(); }
|
|
1281
1324
|
/**
|
|
1282
1325
|
* The minimum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
1283
1326
|
*
|
|
1284
1327
|
* @default 1
|
|
1285
1328
|
*/
|
|
1286
|
-
minZoom;
|
|
1329
|
+
set minZoom(value) { this._minZoom.set(value); }
|
|
1330
|
+
get minZoom() { return this._minZoom(); }
|
|
1287
1331
|
/**
|
|
1288
1332
|
* The maximum zoom level. Typical web maps use zoom levels from 0 (whole world) to 19 (sub-meter features).
|
|
1289
1333
|
*
|
|
1290
1334
|
* @default 19
|
|
1291
1335
|
*/
|
|
1292
|
-
maxZoom;
|
|
1336
|
+
set maxZoom(value) { this._maxZoom.set(value); }
|
|
1337
|
+
get maxZoom() { return this._maxZoom(); }
|
|
1293
1338
|
/**
|
|
1294
1339
|
* The size of the map in pixels at zoom level 0.
|
|
1295
1340
|
*
|
|
1296
1341
|
* @default 256
|
|
1297
1342
|
*/
|
|
1298
|
-
minSize;
|
|
1343
|
+
set minSize(value) { this._minSize.set(value); }
|
|
1344
|
+
get minSize() { return this._minSize(); }
|
|
1299
1345
|
/**
|
|
1300
1346
|
* Controls whether the user can pan the map.
|
|
1301
1347
|
*
|
|
1302
1348
|
* @default true
|
|
1303
1349
|
*/
|
|
1304
|
-
pannable;
|
|
1350
|
+
set pannable(value) { this._pannable.set(value); }
|
|
1351
|
+
get pannable() { return this._pannable(); }
|
|
1305
1352
|
/**
|
|
1306
1353
|
* The settings for the tooltip popup.
|
|
1307
1354
|
*/
|
|
1308
|
-
popupSettings;
|
|
1355
|
+
set popupSettings(value) { this._popupSettings.set(value); }
|
|
1356
|
+
get popupSettings() { return this._popupSettings(); }
|
|
1309
1357
|
/**
|
|
1310
1358
|
* Specifies whether the map should wrap around the east-west edges.
|
|
1311
1359
|
*
|
|
1312
1360
|
* @default true
|
|
1313
1361
|
*/
|
|
1314
|
-
wraparound;
|
|
1362
|
+
set wraparound(value) { this._wraparound.set(value); }
|
|
1363
|
+
get wraparound() { return this._wraparound(); }
|
|
1315
1364
|
/**
|
|
1316
1365
|
* Specifies the initial zoom level.
|
|
1317
1366
|
* Use values from 0 (whole world) to 19 (sub-meter features).
|
|
@@ -1320,13 +1369,15 @@ class MapComponent {
|
|
|
1320
1369
|
*
|
|
1321
1370
|
* @default 3
|
|
1322
1371
|
*/
|
|
1323
|
-
zoom
|
|
1372
|
+
set zoom(value) { this._zoom.set(value); }
|
|
1373
|
+
get zoom() { return this._zoom(); }
|
|
1324
1374
|
/**
|
|
1325
1375
|
* Determines whether users can change the map zoom level.
|
|
1326
1376
|
*
|
|
1327
1377
|
* @default true
|
|
1328
1378
|
*/
|
|
1329
|
-
zoomable;
|
|
1379
|
+
set zoomable(value) { this._zoomable.set(value); }
|
|
1380
|
+
get zoomable() { return this._zoomable(); }
|
|
1330
1381
|
/**
|
|
1331
1382
|
* Fires immediately before the map resets. This event is typically used for cleanup by layer implementers.
|
|
1332
1383
|
*/
|
|
@@ -1420,6 +1471,62 @@ class MapComponent {
|
|
|
1420
1471
|
optionsChange;
|
|
1421
1472
|
domSubscriptions;
|
|
1422
1473
|
iconSettings;
|
|
1474
|
+
_resizeRateLimit = signal(10, ...(ngDevMode ? [{ debugName: "_resizeRateLimit" }] : /* istanbul ignore next */ []));
|
|
1475
|
+
_center = signal(undefined, ...(ngDevMode ? [{ debugName: "_center" }] : /* istanbul ignore next */ []));
|
|
1476
|
+
_controls = signal(undefined, ...(ngDevMode ? [{ debugName: "_controls" }] : /* istanbul ignore next */ []));
|
|
1477
|
+
_minZoom = signal(undefined, ...(ngDevMode ? [{ debugName: "_minZoom" }] : /* istanbul ignore next */ []));
|
|
1478
|
+
_maxZoom = signal(undefined, ...(ngDevMode ? [{ debugName: "_maxZoom" }] : /* istanbul ignore next */ []));
|
|
1479
|
+
_minSize = signal(undefined, ...(ngDevMode ? [{ debugName: "_minSize" }] : /* istanbul ignore next */ []));
|
|
1480
|
+
_pannable = signal(undefined, ...(ngDevMode ? [{ debugName: "_pannable" }] : /* istanbul ignore next */ []));
|
|
1481
|
+
_popupSettings = signal(undefined, ...(ngDevMode ? [{ debugName: "_popupSettings" }] : /* istanbul ignore next */ []));
|
|
1482
|
+
_wraparound = signal(undefined, ...(ngDevMode ? [{ debugName: "_wraparound" }] : /* istanbul ignore next */ []));
|
|
1483
|
+
_zoom = signal(3, ...(ngDevMode ? [{ debugName: "_zoom" }] : /* istanbul ignore next */ []));
|
|
1484
|
+
_zoomable = signal(undefined, ...(ngDevMode ? [{ debugName: "_zoomable" }] : /* istanbul ignore next */ []));
|
|
1485
|
+
_configInputs = computed(() => ({
|
|
1486
|
+
controls: this._controls(),
|
|
1487
|
+
minZoom: this._minZoom(),
|
|
1488
|
+
maxZoom: this._maxZoom(),
|
|
1489
|
+
minSize: this._minSize(),
|
|
1490
|
+
pannable: this._pannable(),
|
|
1491
|
+
wraparound: this._wraparound(),
|
|
1492
|
+
zoomable: this._zoomable()
|
|
1493
|
+
}), ...(ngDevMode ? [{ debugName: "_configInputs" }] : /* istanbul ignore next */ []));
|
|
1494
|
+
configEffect = effect(() => {
|
|
1495
|
+
const inputs = this._configInputs();
|
|
1496
|
+
const store = this.configurationService.store;
|
|
1497
|
+
for (const key of Object.keys(inputs)) {
|
|
1498
|
+
if (inputs[key] === undefined) {
|
|
1499
|
+
delete store[key];
|
|
1500
|
+
}
|
|
1501
|
+
else {
|
|
1502
|
+
store[key] = inputs[key];
|
|
1503
|
+
}
|
|
1504
|
+
}
|
|
1505
|
+
const zoom = untracked(() => this._zoom());
|
|
1506
|
+
if (zoom !== undefined) {
|
|
1507
|
+
store.zoom = zoom;
|
|
1508
|
+
}
|
|
1509
|
+
const center = untracked(() => this._center());
|
|
1510
|
+
if (center !== undefined) {
|
|
1511
|
+
store.center = center;
|
|
1512
|
+
}
|
|
1513
|
+
store.popupSettings = null;
|
|
1514
|
+
this.configurationService.push(store);
|
|
1515
|
+
}, ...(ngDevMode ? [{ debugName: "configEffect" }] : /* istanbul ignore next */ []));
|
|
1516
|
+
// Update the live instance directly when zoom changes (avoids a full setOptions/reset).
|
|
1517
|
+
zoomEffect = effect(() => {
|
|
1518
|
+
const zoom = this._zoom();
|
|
1519
|
+
if (this.instance) {
|
|
1520
|
+
this.instance.zoom(zoom);
|
|
1521
|
+
}
|
|
1522
|
+
}, ...(ngDevMode ? [{ debugName: "zoomEffect" }] : /* istanbul ignore next */ []));
|
|
1523
|
+
// Update the live instance directly when center changes (avoids a full setOptions/reset).
|
|
1524
|
+
centerEffect = effect(() => {
|
|
1525
|
+
const center = this._center();
|
|
1526
|
+
if (this.instance && center !== undefined) {
|
|
1527
|
+
this.instance.center(center);
|
|
1528
|
+
}
|
|
1529
|
+
}, ...(ngDevMode ? [{ debugName: "centerEffect" }] : /* istanbul ignore next */ []));
|
|
1423
1530
|
constructor(configurationService, instanceEventService, element, localizationService, changeDetector, ngZone, renderer, iconsService) {
|
|
1424
1531
|
this.configurationService = configurationService;
|
|
1425
1532
|
this.instanceEventService = instanceEventService;
|
|
@@ -1431,6 +1538,30 @@ class MapComponent {
|
|
|
1431
1538
|
this.iconsService = iconsService;
|
|
1432
1539
|
validatePackage(packageMetadata);
|
|
1433
1540
|
}
|
|
1541
|
+
ngOnInit() {
|
|
1542
|
+
const store = this.configurationService.store;
|
|
1543
|
+
const inputs = {
|
|
1544
|
+
controls: this._controls(),
|
|
1545
|
+
minZoom: this._minZoom(),
|
|
1546
|
+
maxZoom: this._maxZoom(),
|
|
1547
|
+
minSize: this._minSize(),
|
|
1548
|
+
pannable: this._pannable(),
|
|
1549
|
+
wraparound: this._wraparound(),
|
|
1550
|
+
zoomable: this._zoomable(),
|
|
1551
|
+
zoom: this._zoom()
|
|
1552
|
+
};
|
|
1553
|
+
for (const [key, value] of Object.entries(inputs)) {
|
|
1554
|
+
if (value !== undefined) {
|
|
1555
|
+
store[key] = value;
|
|
1556
|
+
}
|
|
1557
|
+
}
|
|
1558
|
+
const center = this._center();
|
|
1559
|
+
if (center !== undefined) {
|
|
1560
|
+
store.center = center;
|
|
1561
|
+
}
|
|
1562
|
+
store.popupSettings = null;
|
|
1563
|
+
this.configurationService.push(store);
|
|
1564
|
+
}
|
|
1434
1565
|
ngAfterViewInit() {
|
|
1435
1566
|
if (this.canRender) {
|
|
1436
1567
|
this.ngZone.runOutsideAngular(() => {
|
|
@@ -1642,7 +1773,7 @@ class MapComponent {
|
|
|
1642
1773
|
svgIcons
|
|
1643
1774
|
}
|
|
1644
1775
|
};
|
|
1645
|
-
})
|
|
1776
|
+
}))
|
|
1646
1777
|
.subscribe(() => {
|
|
1647
1778
|
if (!this.instance) {
|
|
1648
1779
|
this.init();
|
|
@@ -1747,8 +1878,8 @@ class MapComponent {
|
|
|
1747
1878
|
this.tooltipInstance.hide();
|
|
1748
1879
|
}
|
|
1749
1880
|
}
|
|
1750
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1751
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
1881
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MapComponent, deps: [{ token: ConfigurationService }, { token: InstanceEventService }, { token: i0.ElementRef }, { token: i3$1.LocalizationService }, { token: i0.ChangeDetectorRef }, { token: i0.NgZone }, { token: i0.Renderer2 }, { token: i4.IconsService }], target: i0.ɵɵFactoryTarget.Component });
|
|
1882
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: MapComponent, isStandalone: true, 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: [
|
|
1752
1883
|
ConfigurationService,
|
|
1753
1884
|
InstanceEventService,
|
|
1754
1885
|
LocalizationService,
|
|
@@ -1766,7 +1897,7 @@ class MapComponent {
|
|
|
1766
1897
|
</div>
|
|
1767
1898
|
`, isInline: true, dependencies: [{ kind: "component", type: TooltipPopupComponent, selector: "kendo-map-tooltip-popup", inputs: ["animate", "classNames", "wrapperClass"], outputs: ["leave"] }, { kind: "component", type: ResizeSensorComponent, selector: "kendo-resize-sensor", inputs: ["rateLimit"], outputs: ["resize"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1768
1899
|
}
|
|
1769
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
1900
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MapComponent, decorators: [{
|
|
1770
1901
|
type: Component,
|
|
1771
1902
|
args: [{
|
|
1772
1903
|
selector: 'kendo-map',
|
|
@@ -1899,10 +2030,10 @@ class CollectionComponent {
|
|
|
1899
2030
|
change() {
|
|
1900
2031
|
this.configurationService.notify(new Change(this.configKey, this.items.length === 0 ? undefined : this.items));
|
|
1901
2032
|
}
|
|
1902
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1903
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2033
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionComponent, deps: "invalid", target: i0.ɵɵFactoryTarget.Directive });
|
|
2034
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: CollectionComponent, isStandalone: true, queries: [{ propertyName: "children", predicate: LayerComponent }], ngImport: i0 });
|
|
1904
2035
|
}
|
|
1905
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2036
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: CollectionComponent, decorators: [{
|
|
1906
2037
|
type: Directive
|
|
1907
2038
|
}], ctorParameters: () => [{ type: undefined }, { type: ConfigurationService }, { type: CollectionService }], propDecorators: { children: [{
|
|
1908
2039
|
type: ContentChildren,
|
|
@@ -1942,10 +2073,10 @@ class LayersComponent extends CollectionComponent {
|
|
|
1942
2073
|
this.configurationService = configurationService;
|
|
1943
2074
|
this.collectionService = collectionService;
|
|
1944
2075
|
}
|
|
1945
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
1946
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2076
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LayersComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }], target: i0.ɵɵFactoryTarget.Component });
|
|
2077
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: LayersComponent, isStandalone: true, selector: "kendo-map-layers", providers: [CollectionService], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
1947
2078
|
}
|
|
1948
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2079
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: LayersComponent, decorators: [{
|
|
1949
2080
|
type: Component,
|
|
1950
2081
|
args: [{
|
|
1951
2082
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -1991,29 +2122,37 @@ class MarkerLayerComponent extends LayerComponent {
|
|
|
1991
2122
|
/**
|
|
1992
2123
|
* Sets the array of data items for this layer.
|
|
1993
2124
|
*/
|
|
1994
|
-
data;
|
|
2125
|
+
set data(value) { this._data.set(value); }
|
|
2126
|
+
get data() { return this._data(); }
|
|
1995
2127
|
/**
|
|
1996
2128
|
* Sets the data item field which contains the marker location.
|
|
1997
2129
|
* The field should be an array with two numbers — latitude and longitude in decimal degrees.
|
|
1998
2130
|
*/
|
|
1999
|
-
locationField;
|
|
2131
|
+
set locationField(value) { this._locationField.set(value); }
|
|
2132
|
+
get locationField() { return this._locationField(); }
|
|
2000
2133
|
/**
|
|
2001
2134
|
* Sets the data item field which contains the marker title.
|
|
2002
2135
|
*/
|
|
2003
|
-
titleField;
|
|
2136
|
+
set titleField(value) { this._titleField.set(value); }
|
|
2137
|
+
get titleField() { return this._titleField(); }
|
|
2004
2138
|
/**
|
|
2005
2139
|
* Sets the default marker shape for data-bound markers. Supported marker shapes are `pinTarget` and `pin`.
|
|
2006
2140
|
* Marker shapes are implemented as CSS classes on the marker element (`span.k-marker`). For example `pinTarget` is rendered as `k-marker-pin-target`.
|
|
2007
2141
|
*/
|
|
2008
|
-
shape;
|
|
2142
|
+
set shape(value) { this._shape.set(value); }
|
|
2143
|
+
get shape() { return this._shape(); }
|
|
2009
2144
|
constructor(configurationService, collectionService, sanitizer) {
|
|
2010
2145
|
super('marker', configurationService, collectionService, sanitizer);
|
|
2011
2146
|
this.configurationService = configurationService;
|
|
2012
2147
|
this.collectionService = collectionService;
|
|
2013
2148
|
this.sanitizer = sanitizer;
|
|
2014
2149
|
}
|
|
2015
|
-
|
|
2016
|
-
|
|
2150
|
+
_data = signal(undefined, ...(ngDevMode ? [{ debugName: "_data" }] : /* istanbul ignore next */ []));
|
|
2151
|
+
_shape = signal(undefined, ...(ngDevMode ? [{ debugName: "_shape" }] : /* istanbul ignore next */ []));
|
|
2152
|
+
_titleField = signal(undefined, ...(ngDevMode ? [{ debugName: "_titleField" }] : /* istanbul ignore next */ []));
|
|
2153
|
+
_locationField = signal(undefined, ...(ngDevMode ? [{ debugName: "_locationField" }] : /* istanbul ignore next */ []));
|
|
2154
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MarkerLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
2155
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: MarkerLayerComponent, isStandalone: true, selector: "kendo-map-marker-layer", inputs: { data: "data", locationField: "locationField", titleField: "titleField", shape: "shape" }, providers: [
|
|
2017
2156
|
ConfigurationService,
|
|
2018
2157
|
{
|
|
2019
2158
|
provide: LayerComponent,
|
|
@@ -2021,7 +2160,7 @@ class MarkerLayerComponent extends LayerComponent {
|
|
|
2021
2160
|
}
|
|
2022
2161
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2023
2162
|
}
|
|
2024
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MarkerLayerComponent, decorators: [{
|
|
2025
2164
|
type: Component,
|
|
2026
2165
|
args: [{
|
|
2027
2166
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2078,19 +2217,23 @@ class ShapeLayerComponent extends LayerComponent {
|
|
|
2078
2217
|
/**
|
|
2079
2218
|
* Sets the array of data items for this layer.
|
|
2080
2219
|
*/
|
|
2081
|
-
data;
|
|
2220
|
+
set data(value) { this._data.set(value); }
|
|
2221
|
+
get data() { return this._data(); }
|
|
2082
2222
|
/**
|
|
2083
2223
|
* Sets the default style for shapes.
|
|
2084
2224
|
*/
|
|
2085
|
-
style;
|
|
2225
|
+
set style(value) { this._style.set(value); }
|
|
2226
|
+
get style() { return this._style(); }
|
|
2086
2227
|
constructor(configurationService, collectionService, sanitizer) {
|
|
2087
2228
|
super('shape', configurationService, collectionService, sanitizer);
|
|
2088
2229
|
this.configurationService = configurationService;
|
|
2089
2230
|
this.collectionService = collectionService;
|
|
2090
2231
|
this.sanitizer = sanitizer;
|
|
2091
2232
|
}
|
|
2092
|
-
|
|
2093
|
-
|
|
2233
|
+
_data = signal(undefined, ...(ngDevMode ? [{ debugName: "_data" }] : /* istanbul ignore next */ []));
|
|
2234
|
+
_style = signal(undefined, ...(ngDevMode ? [{ debugName: "_style" }] : /* istanbul ignore next */ []));
|
|
2235
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ShapeLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
2236
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ShapeLayerComponent, isStandalone: true, selector: "kendo-map-shape-layer", inputs: { data: "data", style: "style" }, providers: [
|
|
2094
2237
|
ConfigurationService,
|
|
2095
2238
|
{
|
|
2096
2239
|
provide: LayerComponent,
|
|
@@ -2098,7 +2241,7 @@ class ShapeLayerComponent extends LayerComponent {
|
|
|
2098
2241
|
}
|
|
2099
2242
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2100
2243
|
}
|
|
2101
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2244
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ShapeLayerComponent, decorators: [{
|
|
2102
2245
|
type: Component,
|
|
2103
2246
|
args: [{
|
|
2104
2247
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2150,24 +2293,30 @@ class TileLayerComponent extends LayerComponent {
|
|
|
2150
2293
|
*
|
|
2151
2294
|
* @default 256
|
|
2152
2295
|
*/
|
|
2153
|
-
tileSize;
|
|
2296
|
+
set tileSize(value) { this._tileSize.set(value); }
|
|
2297
|
+
get tileSize() { return this._tileSize(); }
|
|
2154
2298
|
/**
|
|
2155
2299
|
* Sets a list of subdomains to use for loading tiles.
|
|
2156
2300
|
* Alternating between different subdomains allows more requests to execute in parallel.
|
|
2157
2301
|
*/
|
|
2158
|
-
subdomains;
|
|
2302
|
+
set subdomains(value) { this._subdomains.set(value); }
|
|
2303
|
+
get subdomains() { return this._subdomains(); }
|
|
2159
2304
|
/**
|
|
2160
2305
|
* Sets a function that returns an image URL for each tile position.
|
|
2161
2306
|
*/
|
|
2162
|
-
urlTemplate;
|
|
2307
|
+
set urlTemplate(value) { this._urlTemplate.set(value); }
|
|
2308
|
+
get urlTemplate() { return this._urlTemplate(); }
|
|
2163
2309
|
constructor(configurationService, collectionService, sanitizer) {
|
|
2164
2310
|
super('tile', configurationService, collectionService, sanitizer);
|
|
2165
2311
|
this.configurationService = configurationService;
|
|
2166
2312
|
this.collectionService = collectionService;
|
|
2167
2313
|
this.sanitizer = sanitizer;
|
|
2168
2314
|
}
|
|
2169
|
-
|
|
2170
|
-
|
|
2315
|
+
_tileSize = signal(undefined, ...(ngDevMode ? [{ debugName: "_tileSize" }] : /* istanbul ignore next */ []));
|
|
2316
|
+
_urlTemplate = signal(undefined, ...(ngDevMode ? [{ debugName: "_urlTemplate" }] : /* istanbul ignore next */ []));
|
|
2317
|
+
_subdomains = signal(undefined, ...(ngDevMode ? [{ debugName: "_subdomains" }] : /* istanbul ignore next */ []));
|
|
2318
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TileLayerComponent, deps: [{ token: ConfigurationService }, { token: CollectionService }, { token: i3.DomSanitizer }], target: i0.ɵɵFactoryTarget.Component });
|
|
2319
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: TileLayerComponent, isStandalone: true, selector: "kendo-map-tile-layer", inputs: { tileSize: "tileSize", subdomains: "subdomains", urlTemplate: "urlTemplate" }, providers: [
|
|
2171
2320
|
ConfigurationService,
|
|
2172
2321
|
{
|
|
2173
2322
|
provide: LayerComponent,
|
|
@@ -2175,7 +2324,7 @@ class TileLayerComponent extends LayerComponent {
|
|
|
2175
2324
|
}
|
|
2176
2325
|
], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2177
2326
|
}
|
|
2178
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2327
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: TileLayerComponent, decorators: [{
|
|
2179
2328
|
type: Component,
|
|
2180
2329
|
args: [{
|
|
2181
2330
|
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
@@ -2235,10 +2384,10 @@ class BubbleTooltipTemplateDirective {
|
|
|
2235
2384
|
constructor(templateRef) {
|
|
2236
2385
|
this.templateRef = templateRef;
|
|
2237
2386
|
}
|
|
2238
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2239
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2387
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BubbleTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2388
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: BubbleTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapBubbleTooltipTemplate]", ngImport: i0 });
|
|
2240
2389
|
}
|
|
2241
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2390
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BubbleTooltipTemplateDirective, decorators: [{
|
|
2242
2391
|
type: Directive,
|
|
2243
2392
|
args: [{
|
|
2244
2393
|
selector: '[kendoMapBubbleTooltipTemplate]',
|
|
@@ -2284,10 +2433,10 @@ class MarkerTooltipTemplateDirective {
|
|
|
2284
2433
|
constructor(templateRef) {
|
|
2285
2434
|
this.templateRef = templateRef;
|
|
2286
2435
|
}
|
|
2287
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2288
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2436
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MarkerTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2437
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: MarkerTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapMarkerTooltipTemplate]", ngImport: i0 });
|
|
2289
2438
|
}
|
|
2290
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2439
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MarkerTooltipTemplateDirective, decorators: [{
|
|
2291
2440
|
type: Directive,
|
|
2292
2441
|
args: [{
|
|
2293
2442
|
selector: '[kendoMapMarkerTooltipTemplate]',
|
|
@@ -2333,10 +2482,10 @@ class ShapeTooltipTemplateDirective {
|
|
|
2333
2482
|
constructor(templateRef) {
|
|
2334
2483
|
this.templateRef = templateRef;
|
|
2335
2484
|
}
|
|
2336
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2337
|
-
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "
|
|
2485
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ShapeTooltipTemplateDirective, deps: [{ token: i0.TemplateRef, optional: true }], target: i0.ɵɵFactoryTarget.Directive });
|
|
2486
|
+
static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "21.2.23", type: ShapeTooltipTemplateDirective, isStandalone: true, selector: "[kendoMapShapeTooltipTemplate]", ngImport: i0 });
|
|
2338
2487
|
}
|
|
2339
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2488
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ShapeTooltipTemplateDirective, decorators: [{
|
|
2340
2489
|
type: Directive,
|
|
2341
2490
|
args: [{
|
|
2342
2491
|
selector: '[kendoMapShapeTooltipTemplate]',
|
|
@@ -2386,12 +2535,13 @@ class BubbleTooltipComponent extends SettingsComponent {
|
|
|
2386
2535
|
ngAfterContentChecked() {
|
|
2387
2536
|
this.templateService.registerTemplate(this.layer.index, this.bubbleTooltipTemplate?.templateRef);
|
|
2388
2537
|
}
|
|
2389
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2390
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2538
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BubbleTooltipComponent, deps: [{ token: ConfigurationService }, { token: TooltipTemplateService }, { token: LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2539
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: BubbleTooltipComponent, isStandalone: true, selector: "kendo-map-bubble-layer-tooltip", queries: [{ propertyName: "bubbleTooltipTemplate", first: true, predicate: BubbleTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2391
2540
|
}
|
|
2392
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2541
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: BubbleTooltipComponent, decorators: [{
|
|
2393
2542
|
type: Component,
|
|
2394
2543
|
args: [{
|
|
2544
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2395
2545
|
selector: 'kendo-map-bubble-layer-tooltip',
|
|
2396
2546
|
template: '',
|
|
2397
2547
|
standalone: true
|
|
@@ -2441,12 +2591,13 @@ class MarkerTooltipComponent extends SettingsComponent {
|
|
|
2441
2591
|
ngAfterContentChecked() {
|
|
2442
2592
|
this.templateService.registerTemplate(this.layer.index, this.markerTooltipTemplate?.templateRef);
|
|
2443
2593
|
}
|
|
2444
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2445
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2594
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MarkerTooltipComponent, deps: [{ token: ConfigurationService }, { token: TooltipTemplateService }, { token: LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2595
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: MarkerTooltipComponent, isStandalone: true, selector: "kendo-map-marker-layer-tooltip", queries: [{ propertyName: "markerTooltipTemplate", first: true, predicate: MarkerTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2446
2596
|
}
|
|
2447
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2597
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MarkerTooltipComponent, decorators: [{
|
|
2448
2598
|
type: Component,
|
|
2449
2599
|
args: [{
|
|
2600
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2450
2601
|
selector: 'kendo-map-marker-layer-tooltip',
|
|
2451
2602
|
template: '',
|
|
2452
2603
|
standalone: true
|
|
@@ -2496,12 +2647,13 @@ class ShapeTooltipComponent extends SettingsComponent {
|
|
|
2496
2647
|
ngAfterContentChecked() {
|
|
2497
2648
|
this.templateService.registerTemplate(this.layer.index, this.shapeTooltipTemplate?.templateRef);
|
|
2498
2649
|
}
|
|
2499
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2500
|
-
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "
|
|
2650
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ShapeTooltipComponent, deps: [{ token: ConfigurationService }, { token: TooltipTemplateService }, { token: LayerComponent }], target: i0.ɵɵFactoryTarget.Component });
|
|
2651
|
+
static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "21.2.23", type: ShapeTooltipComponent, isStandalone: true, selector: "kendo-map-shape-layer-tooltip", queries: [{ propertyName: "shapeTooltipTemplate", first: true, predicate: ShapeTooltipTemplateDirective, descendants: true }], usesInheritance: true, ngImport: i0, template: '', isInline: true, changeDetection: i0.ChangeDetectionStrategy.OnPush });
|
|
2501
2652
|
}
|
|
2502
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2653
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: ShapeTooltipComponent, decorators: [{
|
|
2503
2654
|
type: Component,
|
|
2504
2655
|
args: [{
|
|
2656
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
2505
2657
|
selector: 'kendo-map-shape-layer-tooltip',
|
|
2506
2658
|
template: '',
|
|
2507
2659
|
standalone: true
|
|
@@ -2551,11 +2703,11 @@ const KENDO_MAP = [
|
|
|
2551
2703
|
* ```
|
|
2552
2704
|
*/
|
|
2553
2705
|
class MapModule {
|
|
2554
|
-
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "
|
|
2555
|
-
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "
|
|
2556
|
-
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "
|
|
2706
|
+
static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MapModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule });
|
|
2707
|
+
static ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "21.2.23", ngImport: i0, type: MapModule, imports: [BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeLayerComponent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent], exports: [BubbleLayerComponent, BubbleTooltipComponent, BubbleTooltipTemplateDirective, LayersComponent, MapComponent, MarkerLayerComponent, MarkerTooltipComponent, MarkerTooltipTemplateDirective, ShapeLayerComponent, ShapeTooltipComponent, ShapeTooltipTemplateDirective, TileLayerComponent] });
|
|
2708
|
+
static ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MapModule, providers: [IconsService, ResizeBatchService], imports: [MapComponent] });
|
|
2557
2709
|
}
|
|
2558
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "
|
|
2710
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "21.2.23", ngImport: i0, type: MapModule, decorators: [{
|
|
2559
2711
|
type: NgModule,
|
|
2560
2712
|
args: [{
|
|
2561
2713
|
imports: [...KENDO_MAP],
|