adb-shared 6.2.5 → 6.2.7

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,6 +1,6 @@
1
1
  {
2
2
  "name": "adb-shared",
3
- "version": "6.2.5",
3
+ "version": "6.2.7",
4
4
  "author": "ADB",
5
5
  "license": "ISC",
6
6
  "peerDependencies": {
@@ -10,8 +10,7 @@
10
10
  "@ngx-translate/core": ">= 17.x",
11
11
  "@ngx-translate/http-loader": ">= 17.x",
12
12
  "date-fns": ">= 4.x.x",
13
- "leaflet": "1.9.4",
14
- "leaflet-draw": "1.0.4"
13
+ "leaflet": "1.9.4"
15
14
  },
16
15
  "dependencies": {
17
16
  "tslib": "^2.3.0"
@@ -11,6 +11,7 @@ import { ControlValueAccessor, Validator, AbstractControl, ValidationErrors, For
11
11
  import * as rxjs from 'rxjs';
12
12
  import { Observable, Subscription } from 'rxjs';
13
13
  import * as Leaflet from 'leaflet';
14
+ import Leaflet__default from 'leaflet';
14
15
 
15
16
  interface Navigation {
16
17
  home: Link2;
@@ -949,12 +950,9 @@ declare class AdbObsMapComponent implements AfterViewInit, OnInit, OnDestroy {
949
950
  declare class PolygonDrawerInput implements ControlValueAccessor, OnInit, AfterViewInit, OnDestroy {
950
951
  private subscriptions;
951
952
  mapId: string;
952
- map: Leaflet.Map;
953
- drawControl: any;
954
- polygonDrawer: any;
953
+ map: Leaflet__default.Map;
955
954
  polygonDraw: boolean;
956
- shapeLayer: any;
957
- drawLayer: any;
955
+ shapeLayer: Leaflet__default.GeoJSON | null;
958
956
  geoJson: any;
959
957
  ngAfterViewInit(): void;
960
958
  ngOnInit(): void;
@@ -963,8 +961,8 @@ declare class PolygonDrawerInput implements ControlValueAccessor, OnInit, AfterV
963
961
  private renderInitialShape;
964
962
  private clearShape;
965
963
  onDrawPolygon(): void;
966
- onDeleteShape(): void;
967
964
  onUndoStep(): void;
965
+ onDeleteShape(): void;
968
966
  onChange: any;
969
967
  onTouched: any;
970
968
  writeValue(geoJson: any): void;