@igo2/geo 19.0.0-next.11 → 19.0.0-next.13

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.
@@ -5,7 +5,7 @@ import * as i0 from "@angular/core";
5
5
  /**
6
6
  * Catalog library item
7
7
  */
8
- export declare class CatalogLibaryItemComponent {
8
+ export declare class CatalogLibraryItemComponent {
9
9
  /**
10
10
  * Catalog
11
11
  */
@@ -20,6 +20,6 @@ export declare class CatalogLibaryItemComponent {
20
20
  */
21
21
  get title(): string;
22
22
  removeCatalogFromLibrary(event: any): void;
23
- static ɵfac: i0.ɵɵFactoryDeclaration<CatalogLibaryItemComponent, never>;
24
- static ɵcmp: i0.ɵɵComponentDeclaration<CatalogLibaryItemComponent, "igo-catalog-library-item", never, { "catalog": { "alias": "catalog"; "required": false; }; "map": { "alias": "map"; "required": false; }; }, { "catalogRemove": "catalogRemove"; }, never, never, true, never>;
23
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogLibraryItemComponent, never>;
24
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatalogLibraryItemComponent, "igo-catalog-library-item", never, { "catalog": { "alias": "catalog"; "required": false; }; "map": { "alias": "map"; "required": false; }; }, { "catalogRemove": "catalogRemove"; }, never, never, true, never>;
25
25
  }
@@ -11,7 +11,7 @@ import * as i0 from "@angular/core";
11
11
  /**
12
12
  * Component to browse a list of available catalogs
13
13
  */
14
- export declare class CatalogLibaryComponent implements OnInit, OnDestroy {
14
+ export declare class CatalogLibraryComponent implements OnInit, OnDestroy {
15
15
  private capabilitiesService;
16
16
  private messageService;
17
17
  private storageService;
@@ -63,6 +63,6 @@ export declare class CatalogLibaryComponent implements OnInit, OnDestroy {
63
63
  private handleAddCatalogToStore;
64
64
  onCatalogRemove(catalog: any): void;
65
65
  addCatalogDialog(error?: any, addedCatalog?: Catalog): void;
66
- static ɵfac: i0.ɵɵFactoryDeclaration<CatalogLibaryComponent, never>;
67
- static ɵcmp: i0.ɵɵComponentDeclaration<CatalogLibaryComponent, "igo-catalog-library", never, { "store": { "alias": "store"; "required": false; }; "map": { "alias": "map"; "required": false; }; "addCatalogAllowed": { "alias": "addCatalogAllowed"; "required": false; }; "predefinedCatalogs": { "alias": "predefinedCatalogs"; "required": false; }; }, { "catalogSelectChange": "catalogSelectChange"; }, never, never, true, never>;
66
+ static ɵfac: i0.ɵɵFactoryDeclaration<CatalogLibraryComponent, never>;
67
+ static ɵcmp: i0.ɵɵComponentDeclaration<CatalogLibraryComponent, "igo-catalog-library", never, { "store": { "alias": "store"; "required": false; }; "map": { "alias": "map"; "required": false; }; "addCatalogAllowed": { "alias": "addCatalogAllowed"; "required": false; }; "predefinedCatalogs": { "alias": "predefinedCatalogs"; "required": false; }; }, { "catalogSelectChange": "catalogSelectChange"; }, never, never, true, never>;
68
68
  }
@@ -1,14 +1,14 @@
1
1
  import { AddCatalogDialogComponent } from './add-catalog-dialog.component';
2
- import { CatalogLibaryComponent } from './catalog-library.component';
2
+ import { CatalogLibraryComponent } from './catalog-library.component';
3
3
  import * as i0 from "@angular/core";
4
4
  import * as i1 from "./catalog-library.component";
5
5
  import * as i2 from "./add-catalog-dialog.component";
6
- export declare const CATALOG_LIBRARY_DIRECTIVES: readonly [typeof CatalogLibaryComponent, typeof AddCatalogDialogComponent];
6
+ export declare const CATALOG_LIBRARY_DIRECTIVES: readonly [typeof CatalogLibraryComponent, typeof AddCatalogDialogComponent];
7
7
  /**
8
- * @deprecated import the CatalogLibaryComponent, AddCatalogDialogComponent directly
8
+ * @deprecated import the CatalogLibraryComponent, AddCatalogDialogComponent directly
9
9
  */
10
10
  export declare class IgoCatalogLibraryModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<IgoCatalogLibraryModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCatalogLibraryModule, never, [typeof i1.CatalogLibaryComponent, typeof i2.AddCatalogDialogComponent], [typeof i1.CatalogLibaryComponent, typeof i2.AddCatalogDialogComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCatalogLibraryModule, never, [typeof i1.CatalogLibraryComponent, typeof i2.AddCatalogDialogComponent], [typeof i1.CatalogLibraryComponent, typeof i2.AddCatalogDialogComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoCatalogLibraryModule>;
14
14
  }
@@ -3,12 +3,12 @@ import * as i0 from "@angular/core";
3
3
  import * as i1 from "./catalog-browser/catalog-browser.component";
4
4
  import * as i2 from "./catalog-library/catalog-library.component";
5
5
  import * as i3 from "./catalog-library/add-catalog-dialog.component";
6
- export declare const CATALOG_DIRECTIVES: readonly [typeof CatalogBrowserComponent, typeof import("./catalog-library").CatalogLibaryComponent, typeof import("./catalog-library").AddCatalogDialogComponent];
6
+ export declare const CATALOG_DIRECTIVES: readonly [typeof CatalogBrowserComponent, typeof import("./catalog-library").CatalogLibraryComponent, typeof import("./catalog-library").AddCatalogDialogComponent];
7
7
  /**
8
8
  * @deprecated import the components directly or the CATALOG_DIRECTIVES
9
9
  */
10
10
  export declare class IgoCatalogModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<IgoCatalogModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCatalogModule, never, [typeof i1.CatalogBrowserComponent, typeof i2.CatalogLibaryComponent, typeof i3.AddCatalogDialogComponent], [typeof i1.CatalogBrowserComponent, typeof i2.CatalogLibaryComponent, typeof i3.AddCatalogDialogComponent]>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoCatalogModule, never, [typeof i1.CatalogBrowserComponent, typeof i2.CatalogLibraryComponent, typeof i3.AddCatalogDialogComponent], [typeof i1.CatalogBrowserComponent, typeof i2.CatalogLibraryComponent, typeof i3.AddCatalogDialogComponent]>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoCatalogModule>;
14
14
  }
@@ -3,7 +3,7 @@ import { EntityKey, EntityStoreOptions, EntityStoreStrategyOptions } from '@igo2
3
3
  import OlFeature from 'ol/Feature';
4
4
  import type { default as OlGeometry } from 'ol/geom/Geometry';
5
5
  import OlRenderFeature from 'ol/render/Feature';
6
- import { GeoJsonGeometryTypes } from 'geojson';
6
+ import { Geometry } from 'geojson';
7
7
  import { SourceFieldsOptionsParams } from '../../datasource/shared/datasources';
8
8
  import type { VectorLayer } from '../../layer/shared/layers/vector-layer';
9
9
  import type { IgoMap } from '../../map/shared/map';
@@ -31,10 +31,9 @@ export interface FeatureMeta {
31
31
  excludeAttribute?: string[];
32
32
  excludeAttributeOffline?: string[];
33
33
  }
34
- export interface FeatureGeometry {
35
- type: GeoJsonGeometryTypes;
36
- coordinates: any;
37
- }
34
+ export type FeatureGeometry = {
35
+ coordinates: any[];
36
+ } & Geometry;
38
37
  export interface FeatureStoreOptions extends EntityStoreOptions {
39
38
  map: IgoMap;
40
39
  layer?: VectorLayer;
@@ -80,7 +80,7 @@ export declare function featuresAreTooDeepInView(viewController: MapViewControll
80
80
  * @param scale If this is defined, the original view will be scaled
81
81
  * by that factor before any logic is applied.
82
82
  */
83
- export declare function moveToOlFeatures(viewController: MapViewController, olFeatures: OlFeature<OlGeometry>[], motion?: FeatureMotion, scale?: [number, number, number, number], areaRatio?: number): void;
83
+ export declare function moveToOlFeatures(viewController: MapViewController, olFeatures: OlFeature | OlFeature[], motion?: FeatureMotion, scale?: [number, number, number, number], areaRatio?: number): void;
84
84
  /**
85
85
  * Hide an OL feature
86
86
  * @param olFeature OL feature
@@ -24,7 +24,7 @@ export declare class ExportService {
24
24
  private exportAsync;
25
25
  protected exportToFile(olFeatures: OlFeature<OlGeometry>[], format: AnyExportFormat, title: string, projectionIn: string, projectionOut: string): Promise<void>;
26
26
  private formatFeatures;
27
- getFormatter(format: AnyExportFormat): import("ol/format/GML3").default | olformat.GPX | olformat.KML | olformat.GeoJSON<typeof OlFeature>;
27
+ getFormatter(format: AnyExportFormat): import("ol/format/GML3").default | olformat.GPX | olformat.KML | olformat.GeoJSON<OlFeature<OlGeometry>>;
28
28
  exportExcel(map: IgoMap, store: WorkspaceStore, data: ExportOptions): Promise<void>;
29
29
  private getTitleFromLayers;
30
30
  private getLayerTitleFromId;
@@ -7,6 +7,7 @@ import { StorageService } from '@igo2/core/storage';
7
7
  import olFeature from 'ol/Feature';
8
8
  import GeoJSON from 'ol/format/GeoJSON';
9
9
  import WKT from 'ol/format/WKT';
10
+ import type { default as OlGeometry } from 'ol/geom/Geometry';
10
11
  import { BehaviorSubject, Observable } from 'rxjs';
11
12
  import { RelationOptions } from '../../datasource/shared/datasources';
12
13
  import { ImageLayer, LayerService, VectorLayer } from '../../layer/shared';
@@ -29,7 +30,7 @@ export declare class EditionWorkspaceService {
29
30
  rowsInMapExtentCheckCondition$: BehaviorSubject<boolean>;
30
31
  loading: boolean;
31
32
  wktFormat: WKT;
32
- geoJsonFormat: GeoJSON<typeof olFeature>;
33
+ geoJsonFormat: GeoJSON<olFeature<OlGeometry>>;
33
34
  get zoomAuto(): boolean;
34
35
  constructor(layerService: LayerService, storageService: StorageService, configService: ConfigService, messageService: MessageService, http: HttpClient, dialog: MatDialog, styleService: StyleService, authInterceptor?: AuthInterceptor);
35
36
  createWorkspace(layer: ImageLayer, map: IgoMap): EditionWorkspace;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/geo",
3
- "version": "19.0.0-next.11",
3
+ "version": "19.0.0-next.13",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -32,13 +32,23 @@
32
32
  }
33
33
  },
34
34
  "dependencies": {
35
- "@turf/helpers": "^6.5.0",
36
- "@turf/line-intersect": "^6.5.0",
37
- "@turf/point-on-feature": "^6.5.0",
35
+ "@mat-datetimepicker/core": "^15.0.1",
36
+ "@turf/helpers": "^7.2.0",
37
+ "@turf/line-intersect": "^7.2.0",
38
+ "@turf/point-on-feature": "^7.2.0",
39
+ "file-saver": "^2.0.2",
40
+ "flexsearch": "0.7.21",
41
+ "html2canvas": "^1.4.1",
42
+ "jspdf-autotable": "^5.0.0",
43
+ "jspdf": "^3.0.0",
44
+ "jszip": "^3.10.1",
45
+ "moment": "^2.30.0",
46
+ "ngx-indexed-db": "^19.0.0",
38
47
  "nosleep.js": "^0.12.0",
48
+ "striptags": "^3.2.0",
39
49
  "ts-cacheable": "^1.0.6",
40
50
  "ts-md5": "^1.3.0",
41
- "tslib": "^2.6.0"
51
+ "tslib": "^2.8.0"
42
52
  },
43
53
  "peerDependencies": {
44
54
  "@angular/animations": "^19.0.0",
@@ -48,24 +58,14 @@
48
58
  "@angular/material": "^19.0.0",
49
59
  "@angular/material-moment-adapter": "^19.0.0",
50
60
  "@angular/platform-browser": "^19.0.0",
51
- "@igo2/auth": "^19.0.0-next.11",
52
- "@igo2/common": "^19.0.0-next.11",
53
- "@igo2/core": "^19.0.0-next.11",
54
- "@igo2/utils": "^19.0.0-next.11",
55
- "@mat-datetimepicker/core": "^15.0.1",
56
- "file-saver": "^2.0.2",
57
- "flexsearch": "0.7.21",
58
- "html2canvas": "^1.4.1",
59
- "jspdf": "^3.0.0",
60
- "jspdf-autotable": "^5.0.0",
61
- "jszip": "^3.10.1",
62
- "moment": "^2.30.0",
63
- "ngx-indexed-db": "^19.0.0",
64
- "ol": "9.1.0",
65
- "ol-mapbox-style": "^12.0.0",
66
- "proj4": "^2.12.0",
67
- "rxjs": "^7.8.0",
68
- "striptags": "^3.2.0"
61
+ "@igo2/auth": "^19.0.0-next.13",
62
+ "@igo2/common": "^19.0.0-next.13",
63
+ "@igo2/core": "^19.0.0-next.13",
64
+ "@igo2/utils": "^19.0.0-next.13",
65
+ "ol-mapbox-style": "^12.5.0",
66
+ "ol": "10.5.0",
67
+ "proj4": "^2.15.0",
68
+ "rxjs": "^7.8.0"
69
69
  },
70
70
  "engines": {
71
71
  "node": "^18.19.1 || ^20.11.1 || >=22.0.0"
package/style/style.css CHANGED
@@ -347,4 +347,8 @@
347
347
 
348
348
  .ol-overviewmap .ol-overviewmap-box:hover {
349
349
  cursor: move;
350
+ }
351
+
352
+ .ol-overviewmap .ol-viewport:hover {
353
+ cursor: pointer;
350
354
  }