@progress/kendo-angular-map 21.4.1 → 22.0.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.
Files changed (63) hide show
  1. package/common/collection-item.component.d.ts +1 -1
  2. package/common/collection.component.d.ts +1 -1
  3. package/common/settings.component.d.ts +1 -1
  4. package/events/base-event.d.ts +1 -1
  5. package/events/preventable-event.d.ts +1 -1
  6. package/fesm2022/progress-kendo-angular-map.mjs +80 -80
  7. package/map/layer.component.d.ts +1 -1
  8. package/package.json +11 -19
  9. package/schematics/ngAdd/index.js +1 -1
  10. package/tooltip/base-tooltip.d.ts +1 -1
  11. package/esm2022/common/collection-item.component.mjs +0 -64
  12. package/esm2022/common/collection.component.mjs +0 -66
  13. package/esm2022/common/collection.service.mjs +0 -37
  14. package/esm2022/common/configuration.service.mjs +0 -62
  15. package/esm2022/common/copy-changes.mjs +0 -21
  16. package/esm2022/common/has-parent.mjs +0 -14
  17. package/esm2022/common/map-instance-observer.mjs +0 -21
  18. package/esm2022/common/settings.component.mjs +0 -61
  19. package/esm2022/common/to-simple-changes.mjs +0 -18
  20. package/esm2022/directives.mjs +0 -28
  21. package/esm2022/events/base-event.mjs +0 -26
  22. package/esm2022/events/before-reset-event.mjs +0 -17
  23. package/esm2022/events/instance-event.service.mjs +0 -32
  24. package/esm2022/events/map-click-event.mjs +0 -27
  25. package/esm2022/events/marker-activate-event.mjs +0 -27
  26. package/esm2022/events/marker-click-event.mjs +0 -27
  27. package/esm2022/events/marker-created-event.mjs +0 -29
  28. package/esm2022/events/pan-end-event.mjs +0 -32
  29. package/esm2022/events/pan-event.mjs +0 -32
  30. package/esm2022/events/preventable-event.mjs +0 -36
  31. package/esm2022/events/reset-event.mjs +0 -19
  32. package/esm2022/events/shape-click-event.mjs +0 -32
  33. package/esm2022/events/shape-created-event.mjs +0 -37
  34. package/esm2022/events/shape-feature-created-event.mjs +0 -37
  35. package/esm2022/events/shape-mouse-enter-event.mjs +0 -35
  36. package/esm2022/events/shape-mouse-leave-event.mjs +0 -35
  37. package/esm2022/events/zoom-end-event.mjs +0 -22
  38. package/esm2022/events/zoom-start-event.mjs +0 -23
  39. package/esm2022/events.mjs +0 -19
  40. package/esm2022/index.mjs +0 -17
  41. package/esm2022/map/bubble-layer.component.mjs +0 -126
  42. package/esm2022/map/layer/tooltip.component.mjs +0 -39
  43. package/esm2022/map/layer.component.mjs +0 -89
  44. package/esm2022/map/layers.component.mjs +0 -57
  45. package/esm2022/map/marker-layer.component.mjs +0 -102
  46. package/esm2022/map/shape-layer.component.mjs +0 -85
  47. package/esm2022/map/tile-layer.component.mjs +0 -91
  48. package/esm2022/map.component.mjs +0 -694
  49. package/esm2022/map.module.mjs +0 -55
  50. package/esm2022/package-metadata.mjs +0 -16
  51. package/esm2022/progress-kendo-angular-map.mjs +0 -8
  52. package/esm2022/tooltip/base-tooltip.mjs +0 -102
  53. package/esm2022/tooltip/body-factory.mjs +0 -14
  54. package/esm2022/tooltip/bubble-tooltip-template.directive.mjs +0 -55
  55. package/esm2022/tooltip/bubble-tooltip.component.mjs +0 -68
  56. package/esm2022/tooltip/marker-tooltip-template.directive.mjs +0 -54
  57. package/esm2022/tooltip/marker-tooltip.component.mjs +0 -68
  58. package/esm2022/tooltip/popup-settings.interface.mjs +0 -5
  59. package/esm2022/tooltip/shape-tooltip-template.directive.mjs +0 -54
  60. package/esm2022/tooltip/shape-tooltip.component.mjs +0 -68
  61. package/esm2022/tooltip/tooltip-popup.component.mjs +0 -120
  62. package/esm2022/tooltip/tooltip-template.service.mjs +0 -27
  63. package/esm2022/tooltip.mjs +0 -11
@@ -1,120 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Component, Input, NgZone, Output, EventEmitter } from '@angular/core';
6
- import { NgClass, NgStyle, NgTemplateOutlet } from '@angular/common';
7
- import { BaseTooltip } from './base-tooltip';
8
- import { hasParent } from '../common/has-parent';
9
- import { TooltipTemplateService } from './tooltip-template.service';
10
- import { PopupService, POPUP_CONTAINER } from '@progress/kendo-angular-popup';
11
- import { bodyFactory } from './body-factory';
12
- import { LocalizationService } from '@progress/kendo-angular-l10n';
13
- import * as i0 from "@angular/core";
14
- import * as i1 from "@progress/kendo-angular-popup";
15
- import * as i2 from "./tooltip-template.service";
16
- import * as i3 from "@progress/kendo-angular-l10n";
17
- /**
18
- * @hidden
19
- */
20
- export class TooltipPopupComponent extends BaseTooltip {
21
- popupService;
22
- templateService;
23
- localizationService;
24
- ngZone;
25
- tooltipTemplateRef;
26
- tooltipContext = {};
27
- animate = true;
28
- classNames;
29
- wrapperClass = 'k-tooltip-wrapper';
30
- leave = new EventEmitter();
31
- popupClasses = {};
32
- mouseleaveSubscription;
33
- constructor(popupService, templateService, localizationService, ngZone) {
34
- super(popupService, localizationService);
35
- this.popupService = popupService;
36
- this.templateService = templateService;
37
- this.localizationService = localizationService;
38
- this.ngZone = ngZone;
39
- }
40
- show(e) {
41
- this.tooltipTemplateRef = this.templateService.getTemplate(e.layerIndex);
42
- if (!this.tooltipTemplateRef) {
43
- return;
44
- }
45
- this.popupClasses = Object.assign({
46
- 'k-tooltip': true,
47
- 'k-map-tooltip': true,
48
- [e.className]: Boolean(e.className)
49
- }, this.classNames);
50
- this.tooltipContext = e;
51
- super.show(e);
52
- }
53
- containsElement(element) {
54
- if (this.popupRef) {
55
- return hasParent(element, this.popupRef.popupElement);
56
- }
57
- }
58
- onInit() {
59
- this.ngZone.runOutsideAngular(() => {
60
- this.mouseleaveSubscription = this.popupRef.popupElement.addEventListener('mouseleave', (args) => {
61
- this.leave.emit(args);
62
- });
63
- });
64
- this.popupRef.popupElement.classList.add(this.wrapperClass);
65
- }
66
- hide() {
67
- if (this.mouseleaveSubscription) {
68
- this.mouseleaveSubscription();
69
- this.mouseleaveSubscription = null;
70
- }
71
- this.tooltipTemplateRef = null;
72
- super.hide();
73
- }
74
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TooltipPopupComponent, deps: [{ token: i1.PopupService }, { token: i2.TooltipTemplateService }, { token: i3.LocalizationService }, { token: i0.NgZone }], target: i0.ɵɵFactoryTarget.Component });
75
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: TooltipPopupComponent, isStandalone: true, selector: "kendo-map-tooltip-popup", inputs: { animate: "animate", classNames: "classNames", wrapperClass: "wrapperClass" }, outputs: { leave: "leave" }, providers: [PopupService, {
76
- provide: POPUP_CONTAINER,
77
- useFactory: bodyFactory
78
- }], usesInheritance: true, ngImport: i0, template: `
79
- <ng-template #content>
80
- <div [ngClass]="popupClasses" [ngStyle]="style">
81
- <div class="k-tooltip-content">
82
- <ng-template [ngTemplateOutlet]="tooltipTemplateRef"
83
- [ngTemplateOutletContext]="tooltipContext">
84
- </ng-template>
85
- </div>
86
- </div>
87
- </ng-template>
88
- `, 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"] }] });
89
- }
90
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TooltipPopupComponent, decorators: [{
91
- type: Component,
92
- args: [{
93
- providers: [PopupService, {
94
- provide: POPUP_CONTAINER,
95
- useFactory: bodyFactory
96
- }],
97
- selector: 'kendo-map-tooltip-popup',
98
- template: `
99
- <ng-template #content>
100
- <div [ngClass]="popupClasses" [ngStyle]="style">
101
- <div class="k-tooltip-content">
102
- <ng-template [ngTemplateOutlet]="tooltipTemplateRef"
103
- [ngTemplateOutletContext]="tooltipContext">
104
- </ng-template>
105
- </div>
106
- </div>
107
- </ng-template>
108
- `,
109
- standalone: true,
110
- imports: [NgClass, NgStyle, NgTemplateOutlet]
111
- }]
112
- }], ctorParameters: () => [{ type: i1.PopupService }, { type: i2.TooltipTemplateService }, { type: i3.LocalizationService }, { type: i0.NgZone }], propDecorators: { animate: [{
113
- type: Input
114
- }], classNames: [{
115
- type: Input
116
- }], wrapperClass: [{
117
- type: Input
118
- }], leave: [{
119
- type: Output
120
- }] } });
@@ -1,27 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- import { Injectable } from '@angular/core';
6
- import * as i0 from "@angular/core";
7
- /**
8
- * @hidden
9
- */
10
- export class TooltipTemplateService {
11
- templates = [];
12
- registerTemplate(layerIndex, template) {
13
- if (layerIndex > -1) {
14
- this.templates[layerIndex] = template;
15
- }
16
- }
17
- getTemplate(layerIndex) {
18
- if (layerIndex > -1) {
19
- return this.templates[layerIndex];
20
- }
21
- }
22
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TooltipTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
23
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TooltipTemplateService });
24
- }
25
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: TooltipTemplateService, decorators: [{
26
- type: Injectable
27
- }] });
@@ -1,11 +0,0 @@
1
- /**-----------------------------------------------------------------------------------------
2
- * Copyright © 2026 Progress Software Corporation. All rights reserved.
3
- * Licensed under commercial license. See LICENSE.md in the project root for more information
4
- *-------------------------------------------------------------------------------------------*/
5
- export { BubbleTooltipTemplateDirective } from './tooltip/bubble-tooltip-template.directive';
6
- export { MarkerTooltipTemplateDirective } from './tooltip/marker-tooltip-template.directive';
7
- export { ShapeTooltipTemplateDirective } from './tooltip/shape-tooltip-template.directive';
8
- export { TooltipPopupComponent } from './tooltip/tooltip-popup.component';
9
- export { BubbleTooltipComponent } from './tooltip/bubble-tooltip.component';
10
- export { MarkerTooltipComponent } from './tooltip/marker-tooltip.component';
11
- export { ShapeTooltipComponent } from './tooltip/shape-tooltip.component';