@siemens/maps-ng 49.16.0 → 49.16.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@siemens/maps-ng",
3
3
  "description": "Element maps library based on OpenLayers.",
4
- "version": "49.16.0",
4
+ "version": "49.16.1",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -20,8 +20,8 @@
20
20
  "peerDependencies": {
21
21
  "@angular/common": "21 - 22",
22
22
  "@angular/core": "21 - 22",
23
- "@siemens/element-translate-ng": "49.16.0",
24
- "@siemens/element-theme": "49.16.0",
23
+ "@siemens/element-translate-ng": "49.16.1",
24
+ "@siemens/element-theme": "49.16.1",
25
25
  "ol": "~10.6.0 || ~10.7.0 || ~10.8.0 || ~10.9.0",
26
26
  "ol-ext": "^4.0.24",
27
27
  "ol-mapbox-style": "^13.1.0"
@@ -1,6 +1,6 @@
1
- import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate';
2
1
  import * as _angular_core from '@angular/core';
3
- import { ElementRef, Type, ViewContainerRef, TemplateRef, AfterViewInit, OnChanges, OnDestroy, AfterViewChecked, SimpleChanges } from '@angular/core';
2
+ import { Type, ViewContainerRef, TemplateRef, AfterViewInit, OnChanges, OnDestroy, AfterViewChecked, ElementRef, SimpleChanges } from '@angular/core';
3
+ import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate';
4
4
  import Map from 'ol/Map';
5
5
  import Control from 'ol/control/Control';
6
6
  import Overlay, { Positioning } from 'ol/Overlay';
@@ -18,7 +18,6 @@ import Select, { SelectEvent } from 'ol/interaction/Select';
18
18
  export * from '@siemens/maps-ng/translate';
19
19
 
20
20
  declare class SiMapTooltipComponent {
21
- protected readonly content: _angular_core.Signal<ElementRef<any>>;
22
21
  /**
23
22
  * Cutoff text for tooltips, when cluster combines more than 4 features
24
23
  *
@@ -36,6 +35,7 @@ declare class SiMapTooltipComponent {
36
35
  readonly maxLabelLength: _angular_core.InputSignal<number>;
37
36
  get nativeElement(): HTMLElement;
38
37
  protected readonly hiddenEntries: _angular_core.WritableSignal<number>;
38
+ protected readonly tooltipLabels: _angular_core.WritableSignal<string[]>;
39
39
  private readonly elementRef;
40
40
  /**
41
41
  * Method sets tooltip content. If parameter is of type
@@ -45,8 +45,7 @@ declare class SiMapTooltipComponent {
45
45
  * @param labels - array of strings or string itself
46
46
  */
47
47
  setTooltip(labels: string[] | string): void;
48
- private getLabelSnippet;
49
- private setContent;
48
+ private getLabelText;
50
49
  static ɵfac: _angular_core.ɵɵFactoryDeclaration<SiMapTooltipComponent, never>;
51
50
  static ɵcmp: _angular_core.ɵɵComponentDeclaration<SiMapTooltipComponent, "si-map-tooltip", never, { "moreText": { "alias": "moreText"; "required": false; "isSignal": true; }; "maxLabelLength": { "alias": "maxLabelLength"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
52
51
  }