@siemens/maps-ng 48.10.0 → 49.0.0-rc.2

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": "48.10.0",
4
+ "version": "49.0.0-rc.2",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -18,8 +18,10 @@
18
18
  "bugs": "https://github.com/siemens/element/issues/new",
19
19
  "type": "module",
20
20
  "peerDependencies": {
21
- "@angular/common": "20 - 21",
22
- "@angular/core": "20 - 21",
21
+ "@angular/common": "21",
22
+ "@angular/core": "21",
23
+ "@siemens/element-translate-ng": "49.0.0-rc.2",
24
+ "@siemens/element-theme": "49.0.0-rc.2",
23
25
  "ol": "~10.6.0 || ~10.7.0",
24
26
  "ol-ext": "^4.0.24",
25
27
  "ol-mapbox-style": "^13.1.0"
@@ -32,18 +34,18 @@
32
34
  "default": "./package.json"
33
35
  },
34
36
  ".": {
35
- "types": "./index.d.ts",
37
+ "types": "./types/siemens-maps-ng.d.ts",
36
38
  "default": "./fesm2022/siemens-maps-ng.mjs"
37
39
  },
38
40
  "./translate": {
39
- "types": "./translate/index.d.ts",
41
+ "types": "./types/siemens-maps-ng-translate.d.ts",
40
42
  "default": "./fesm2022/siemens-maps-ng-translate.mjs"
41
43
  }
42
44
  },
43
45
  "module": "fesm2022/siemens-maps-ng.mjs",
44
- "typings": "index.d.ts",
46
+ "typings": "types/siemens-maps-ng.d.ts",
45
47
  "sideEffects": false,
46
48
  "dependencies": {
47
49
  "tslib": "^2.3.0"
48
50
  }
49
- }
51
+ }
@@ -0,0 +1,7 @@
1
+ {
2
+ "SI_MAPS.ATTRIBUTIONS_BUTTON": "Attributions",
3
+ "SI_MAPS.TOOLTIP_MORE_TEXT": "and {{length}} more...",
4
+ "SI_MAPS.ZOOM_IN_BUTTON": "Zoom in",
5
+ "SI_MAPS.ZOOM_OUT_BUTTON": "Zoom out",
6
+ "SI_MAPS.ZOOM_TO_DEFAULT_BUTTON": "Zoom to default view"
7
+ }
@@ -1,3 +1,4 @@
1
1
  {
2
- "module": "../fesm2022/siemens-maps-ng-translate.mjs"
2
+ "module": "../fesm2022/siemens-maps-ng-translate.mjs",
3
+ "typings": "../types/siemens-maps-ng-translate.d.ts"
3
4
  }
@@ -1,4 +1,4 @@
1
- import * as _siemens_element_translate_ng_translate_types from '@siemens/element-translate-ng/translate-types';
1
+ import * as _siemens_element_translate_ng_translate from '@siemens/element-translate-ng/translate';
2
2
  import * as _angular_core from '@angular/core';
3
3
  import { ElementRef, Type, ViewContainerRef, TemplateRef, AfterViewInit, OnChanges, OnDestroy, AfterViewChecked, SimpleChanges } from '@angular/core';
4
4
  import Map from 'ol/Map';
@@ -27,7 +27,7 @@ declare class SiMapTooltipComponent {
27
27
  * t(() =>$localize`:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...`)
28
28
  * ```
29
29
  */
30
- readonly moreText: _angular_core.InputSignal<_siemens_element_translate_ng_translate_types.TranslatableString>;
30
+ readonly moreText: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>;
31
31
  /**
32
32
  * Adds the maximum length of a string thats allowed in a tooltip and if its longer it cuts off the rest and adds 3 dots at the end.
33
33
  * If set to -1, it will not cut off the string.
@@ -509,7 +509,7 @@ declare class SiMapComponent implements AfterViewInit, OnChanges, OnDestroy, Aft
509
509
  * t(() => $localize`:@@SI_MAPS.TOOLTIP_MORE_TEXT:and {{length}} more...`)
510
510
  * ```
511
511
  */
512
- readonly moreText: _angular_core.InputSignal<_siemens_element_translate_ng_translate_types.TranslatableString>;
512
+ readonly moreText: _angular_core.InputSignal<_siemens_element_translate_ng_translate.TranslatableString>;
513
513
  /**
514
514
  * Show multiple worlds, including points that cross the 180th meridian.
515
515
  *
@@ -567,10 +567,10 @@ declare class SiMapComponent implements AfterViewInit, OnChanges, OnDestroy, Aft
567
567
  features: Feature[];
568
568
  selected?: Feature;
569
569
  targetFeature?: Feature;
570
- protected attributionsLabel: _siemens_element_translate_ng_translate_types.TranslatableString;
571
- protected zoomInLabel: _siemens_element_translate_ng_translate_types.TranslatableString;
572
- protected zoomOutLabel: _siemens_element_translate_ng_translate_types.TranslatableString;
573
- protected zoomToDefaultLabel: _siemens_element_translate_ng_translate_types.TranslatableString;
570
+ protected attributionsLabel: _siemens_element_translate_ng_translate.TranslatableString;
571
+ protected zoomInLabel: _siemens_element_translate_ng_translate.TranslatableString;
572
+ protected zoomOutLabel: _siemens_element_translate_ng_translate.TranslatableString;
573
+ protected zoomToDefaultLabel: _siemens_element_translate_ng_translate.TranslatableString;
574
574
  protected clusterInteraction?: SelectCluster;
575
575
  private selectedCluster?;
576
576
  private darkTheme;
@@ -585,10 +585,6 @@ declare class SiMapComponent implements AfterViewInit, OnChanges, OnDestroy, Aft
585
585
  ngOnDestroy(): void;
586
586
  onThemeSwitchInternal(event: Event): void;
587
587
  onThemeSwitch(dark: boolean): void;
588
- /**
589
- * @deprecated has no effect and will be removed in v48
590
- */
591
- onResize(): void;
592
588
  private removePixelRatioListener;
593
589
  private readonly updatePixelRatio;
594
590
  /**