@igo2/geo 1.13.0-alpha.0 → 1.13.0-alpha.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 (29) hide show
  1. package/esm2020/lib/catalog/catalog-library/add-catalog-dialog.component.mjs +3 -3
  2. package/esm2020/lib/draw/draw/draw.component.mjs +3 -3
  3. package/esm2020/lib/feature/shared/feature.interfaces.mjs +1 -1
  4. package/esm2020/lib/filter/ogc-filter-selection/ogc-filter-selection.component.mjs +3 -3
  5. package/esm2020/lib/filter/ogc-filter-time/ogc-filter-time.component.mjs +6 -6
  6. package/esm2020/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.mjs +5 -5
  7. package/esm2020/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.mjs +4 -4
  8. package/esm2020/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.mjs +3 -3
  9. package/esm2020/lib/geometry/geometry-form-field/geometry-form-field.component.mjs +1 -1
  10. package/esm2020/lib/import-export/import-export/import-export.component.mjs +3 -3
  11. package/esm2020/lib/layer/shared/layer.service.mjs +1 -1
  12. package/esm2020/lib/print/print-form/print-form.component.mjs +3 -3
  13. package/esm2020/lib/search/shared/sources/cadastre.mjs +1 -1
  14. package/fesm2015/igo2-geo.mjs +21 -21
  15. package/fesm2015/igo2-geo.mjs.map +1 -1
  16. package/fesm2020/igo2-geo.mjs +21 -21
  17. package/fesm2020/igo2-geo.mjs.map +1 -1
  18. package/lib/catalog/catalog-library/add-catalog-dialog.component.d.ts +3 -3
  19. package/lib/draw/draw/draw.component.d.ts +3 -3
  20. package/lib/feature/shared/feature.interfaces.d.ts +2 -2
  21. package/lib/filter/ogc-filter-selection/ogc-filter-selection.component.d.ts +3 -3
  22. package/lib/filter/ogc-filter-time/ogc-filter-time.component.d.ts +5 -5
  23. package/lib/filter/spatial-filter/spatial-filter-item/spatial-filter-item.component.d.ts +4 -4
  24. package/lib/filter/spatial-filter/spatial-filter-list/spatial-filter-list.component.d.ts +3 -3
  25. package/lib/filter/spatial-filter/spatial-filter-type/spatial-filter-type.component.d.ts +2 -2
  26. package/lib/geometry/geometry-form-field/geometry-form-field.component.d.ts +2 -2
  27. package/lib/import-export/import-export/import-export.component.d.ts +4 -4
  28. package/lib/print/print-form/print-form.component.d.ts +16 -16
  29. package/package.json +11 -11
@@ -1,7 +1,7 @@
1
1
  import { LanguageService, ConfigService } from '@igo2/core';
2
2
  import { OnInit, OnDestroy } from '@angular/core';
3
3
  import { MatDialogRef } from '@angular/material/dialog';
4
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
4
+ import { FormBuilder, FormGroup } from '@angular/forms';
5
5
  import { BehaviorSubject } from 'rxjs';
6
6
  import { EntityStore } from '@igo2/common';
7
7
  import { Catalog } from '../shared/catalog.abstract';
@@ -17,7 +17,7 @@ export declare class AddCatalogDialogComponent implements OnInit, OnDestroy {
17
17
  error: boolean;
18
18
  addedCatalog: Catalog;
19
19
  };
20
- form: UntypedFormGroup;
20
+ form: FormGroup;
21
21
  private defaultAddedCatalogType;
22
22
  private addedCatalogType$$;
23
23
  predefinedCatalogsList$: BehaviorSubject<Catalog[]>;
@@ -28,7 +28,7 @@ export declare class AddCatalogDialogComponent implements OnInit, OnDestroy {
28
28
  addedCatalog: Catalog;
29
29
  emailAddress: string;
30
30
  private storeViewAll$$;
31
- constructor(formBuilder: UntypedFormBuilder, languageService: LanguageService, configService: ConfigService, dialogRef: MatDialogRef<AddCatalogDialogComponent>, data: {
31
+ constructor(formBuilder: FormBuilder, languageService: LanguageService, configService: ConfigService, dialogRef: MatDialogRef<AddCatalogDialogComponent>, data: {
32
32
  predefinedCatalogs: Catalog[];
33
33
  store: EntityStore<Catalog>;
34
34
  error: boolean;
@@ -6,7 +6,7 @@ import { FontType, GeometryType } from '../shared/draw.enum';
6
6
  import { IgoMap } from '../../map/shared/map';
7
7
  import { BehaviorSubject } from 'rxjs';
8
8
  import { Draw, FeatureWithDraw } from '../shared/draw.interface';
9
- import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
9
+ import { FormGroup, FormBuilder } from '@angular/forms';
10
10
  import { DrawControl } from '../../geometry/shared/controls/draw';
11
11
  import { EntityTableTemplate } from '@igo2/common';
12
12
  import type { default as OlGeometryType } from 'ol/geom/GeometryType';
@@ -49,10 +49,10 @@ export declare class DrawComponent implements OnInit, OnDestroy {
49
49
  fontSizeForm: string;
50
50
  fontStyleForm: string;
51
51
  position: string;
52
- form: UntypedFormGroup;
52
+ form: FormGroup;
53
53
  icons: Array<string>;
54
54
  icon: string;
55
- constructor(languageService: LanguageService, formBuilder: UntypedFormBuilder, drawStyleService: DrawStyleService, dialog: MatDialog, drawIconService: DrawIconService);
55
+ constructor(languageService: LanguageService, formBuilder: FormBuilder, drawStyleService: DrawStyleService, dialog: MatDialog, drawIconService: DrawIconService);
56
56
  ngOnInit(): void;
57
57
  /**
58
58
  * Remove the drawing layer and the interactions
@@ -1,5 +1,5 @@
1
1
  import OlRenderFeature from 'ol/render/Feature';
2
- import { UntypedFormGroup } from '@angular/forms';
2
+ import { FormGroup } from '@angular/forms';
3
3
  import { GeoJsonGeometryTypes } from 'geojson';
4
4
  import { EntityKey, EntityStoreOptions, EntityStoreStrategyOptions } from '@igo2/common';
5
5
  import { VectorLayer } from '../../layer';
@@ -68,7 +68,7 @@ export interface FeatureStoreSelectionStrategyOptions extends FeatureStoreStrate
68
68
  dragBox?: boolean;
69
69
  }
70
70
  export interface FeatureFormSubmitEvent {
71
- form: UntypedFormGroup;
71
+ form: FormGroup;
72
72
  feature: Feature | undefined;
73
73
  data: Feature;
74
74
  }
@@ -4,7 +4,7 @@ import { DOMService } from '@igo2/common';
4
4
  import { OgcFilterableDataSource, OgcPushButton, OgcSelectorBundle, SelectorGroup } from '../../filter/shared/ogc-filter.interface';
5
5
  import { IgoMap } from '../../map';
6
6
  import { OGCFilterService } from '../shared/ogc-filter.service';
7
- import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
7
+ import { FormBuilder, FormGroup } from '@angular/forms';
8
8
  import { OgcFilterOperator } from '../shared/ogc-filter.enum';
9
9
  import { MatSelect } from '@angular/material/select';
10
10
  import { BehaviorSubject } from 'rxjs';
@@ -26,7 +26,7 @@ export declare class OgcFilterSelectionComponent implements OnInit {
26
26
  set currentFilter(value: any);
27
27
  private _currentFilter;
28
28
  ogcFilterOperator: typeof OgcFilterOperator;
29
- form: UntypedFormGroup;
29
+ form: FormGroup;
30
30
  private ogcFilterWriter;
31
31
  color: string;
32
32
  selectAllSelected: boolean;
@@ -52,7 +52,7 @@ export declare class OgcFilterSelectionComponent implements OnInit {
52
52
  set selectEnableds(value: any[]);
53
53
  get autocompleteEnabled(): any;
54
54
  set autocompleteEnabled(value: any);
55
- constructor(ogcFilterService: OGCFilterService, formBuilder: UntypedFormBuilder, domService: DOMService, configService: ConfigService, cdRef: ChangeDetectorRef);
55
+ constructor(ogcFilterService: OGCFilterService, formBuilder: FormBuilder, domService: DOMService, configService: ConfigService, cdRef: ChangeDetectorRef);
56
56
  private buildForm;
57
57
  getPushButtonsGroups(): SelectorGroup[];
58
58
  getCheckboxesGroups(): SelectorGroup[];
@@ -1,5 +1,5 @@
1
1
  import { ElementRef, EventEmitter, OnInit } from '@angular/core';
2
- import { UntypedFormControl } from '@angular/forms';
2
+ import { FormControl } from '@angular/forms';
3
3
  import { OgcFilterOperator } from '../../filter/shared/ogc-filter.enum';
4
4
  import { OGCFilterTimeService } from '../shared/ogc-filter-time.service';
5
5
  import { OgcFilterableDataSourceOptions, OgcFilterableDataSource } from '../shared/ogc-filter.interface';
@@ -17,10 +17,10 @@ export declare class OgcFilterTimeComponent implements OnInit {
17
17
  endHours: number[];
18
18
  beginMinutes: number[];
19
19
  endMinutes: number[];
20
- beginHourFormControl: UntypedFormControl;
21
- beginMinuteFormControl: UntypedFormControl;
22
- endHourFormControl: UntypedFormControl;
23
- endMinuteFormControl: UntypedFormControl;
20
+ beginHourFormControl: FormControl<any>;
21
+ beginMinuteFormControl: FormControl<any>;
22
+ endHourFormControl: FormControl<any>;
23
+ endMinuteFormControl: FormControl<any>;
24
24
  _beginValue: Date;
25
25
  _endValue: Date;
26
26
  readonly _defaultMin: string;
@@ -4,7 +4,7 @@ import { SelectionModel } from '@angular/cdk/collections';
4
4
  import { IgoMap } from '../../../map';
5
5
  import { SpatialFilterItemType } from './../../shared/spatial-filter.enum';
6
6
  import { Feature } from './../../../feature/shared/feature.interfaces';
7
- import { UntypedFormControl } from '@angular/forms';
7
+ import { FormControl } from '@angular/forms';
8
8
  import { BehaviorSubject } from 'rxjs';
9
9
  import type { default as OlGeometryType } from 'ol/geom/GeometryType';
10
10
  import { GeoJSONGeometry } from '../../../geometry/shared/geometry.interfaces';
@@ -81,7 +81,7 @@ export declare class SpatialFilterItemComponent implements OnDestroy, OnInit {
81
81
  private value$$;
82
82
  private radiusChanges$$;
83
83
  private bufferChanges$$;
84
- formControl: UntypedFormControl;
84
+ formControl: FormControl<any>;
85
85
  geometryType: typeof OlGeometryType | string;
86
86
  geometryTypeField: boolean;
87
87
  geometryTypes: string[];
@@ -98,8 +98,8 @@ export declare class SpatialFilterItemComponent implements OnDestroy, OnInit {
98
98
  PolyStyle: olStyle.Style | ((feature: any, resolution: any) => olStyle.Style);
99
99
  radius: number;
100
100
  buffer: number;
101
- radiusFormControl: UntypedFormControl;
102
- bufferFormControl: UntypedFormControl;
101
+ radiusFormControl: FormControl<any>;
102
+ bufferFormControl: FormControl<any>;
103
103
  measureUnit: MeasureLengthUnit;
104
104
  zoneWithBuffer: any;
105
105
  listIsVisible: boolean;
@@ -3,7 +3,7 @@ import { SpatialFilterService } from './../../shared/spatial-filter.service';
3
3
  import { SpatialFilterQueryType } from './../../shared/spatial-filter.enum';
4
4
  import { OnInit, OnDestroy, EventEmitter } from '@angular/core';
5
5
  import { Subscription } from 'rxjs';
6
- import { UntypedFormControl } from '@angular/forms';
6
+ import { FormControl } from '@angular/forms';
7
7
  import { Feature } from '../../../feature';
8
8
  import { MeasureLengthUnit } from '../../../measure/shared';
9
9
  import { LanguageService, MessageService } from '@igo2/core';
@@ -26,8 +26,8 @@ export declare class SpatialFilterListComponent implements OnInit, OnDestroy {
26
26
  zoneWithBuffer: any;
27
27
  selectedZone: any;
28
28
  measureUnit: MeasureLengthUnit;
29
- formControl: UntypedFormControl;
30
- bufferFormControl: UntypedFormControl;
29
+ formControl: FormControl<any>;
30
+ bufferFormControl: FormControl<any>;
31
31
  /**
32
32
  * Available measure units for the measure type given
33
33
  * @internal
@@ -1,6 +1,6 @@
1
1
  import { OnInit, EventEmitter } from '@angular/core';
2
2
  import { SpatialFilterQueryType, SpatialFilterType } from '../../shared/spatial-filter.enum';
3
- import { UntypedFormControl } from '@angular/forms';
3
+ import { FormControl } from '@angular/forms';
4
4
  import { EntityStore } from '@igo2/common';
5
5
  import { Feature } from '../../../feature';
6
6
  import { MeasureLengthUnit } from '../../../measure';
@@ -14,7 +14,7 @@ export declare class SpatialFilterTypeComponent implements OnInit {
14
14
  set store(store: EntityStore<Feature>);
15
15
  private _store;
16
16
  queryType: string[];
17
- selectedTypeIndex: UntypedFormControl;
17
+ selectedTypeIndex: FormControl<number>;
18
18
  /**
19
19
  * Reference to the SpatialFIlterType enum
20
20
  * @internal
@@ -1,5 +1,5 @@
1
1
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
2
- import { UntypedFormControl } from '@angular/forms';
2
+ import { FormControl } from '@angular/forms';
3
3
  import type { default as OlGeometryType } from 'ol/geom/GeometryType';
4
4
  import * as OlStyle from 'ol/style';
5
5
  import { BehaviorSubject } from 'rxjs';
@@ -23,7 +23,7 @@ export declare class GeometryFormFieldComponent implements OnInit, OnDestroy {
23
23
  /**
24
24
  * The field's form control
25
25
  */
26
- formControl: UntypedFormControl;
26
+ formControl: FormControl;
27
27
  /**
28
28
  * The map to draw the geometry on
29
29
  */
@@ -1,5 +1,5 @@
1
1
  import { OnDestroy, OnInit, EventEmitter, ChangeDetectorRef } from '@angular/core';
2
- import { UntypedFormGroup, UntypedFormBuilder } from '@angular/forms';
2
+ import { FormGroup, FormBuilder } from '@angular/forms';
3
3
  import { BehaviorSubject } from 'rxjs';
4
4
  import { MessageService, LanguageService, ConfigService, StorageService } from '@igo2/core';
5
5
  import { IgoMap } from '../../map/shared/map';
@@ -28,8 +28,8 @@ export declare class ImportExportComponent implements OnDestroy, OnInit {
28
28
  private cdRef;
29
29
  private storageService;
30
30
  private downloadService;
31
- form: UntypedFormGroup;
32
- importForm: UntypedFormGroup;
31
+ form: FormGroup;
32
+ importForm: FormGroup;
33
33
  formats$: BehaviorSubject<any>;
34
34
  encodings$: BehaviorSubject<any>;
35
35
  exportableLayers$: BehaviorSubject<AnyLayer[]>;
@@ -68,7 +68,7 @@ export declare class ImportExportComponent implements OnDestroy, OnInit {
68
68
  set inputProj(value: any);
69
69
  get popupAllowed(): boolean;
70
70
  set popupAllowed(value: boolean);
71
- constructor(importService: ImportService, exportService: ExportService, languageService: LanguageService, messageService: MessageService, styleListService: StyleListService, styleService: StyleService, formBuilder: UntypedFormBuilder, config: ConfigService, cdRef: ChangeDetectorRef, storageService: StorageService, downloadService: DownloadService);
71
+ constructor(importService: ImportService, exportService: ExportService, languageService: LanguageService, messageService: MessageService, styleListService: StyleListService, styleService: StyleService, formBuilder: FormBuilder, config: ConfigService, cdRef: ChangeDetectorRef, storageService: StorageService, downloadService: DownloadService);
72
72
  ngOnInit(): void;
73
73
  private computeProjections;
74
74
  private getWorkspaceByLayerId;
@@ -1,12 +1,12 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { UntypedFormGroup, UntypedFormBuilder, UntypedFormControl } from '@angular/forms';
2
+ import { FormGroup, FormBuilder, FormControl } from '@angular/forms';
3
3
  import { BehaviorSubject } from 'rxjs';
4
4
  import { PrintOptions } from '../shared/print.interface';
5
5
  import { PrintOutputFormat, PrintPaperFormat, PrintOrientation, PrintResolution, PrintSaveImageFormat, PrintLegendPosition } from '../shared/print.type';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class PrintFormComponent implements OnInit {
8
8
  private formBuilder;
9
- form: UntypedFormGroup;
9
+ form: FormGroup;
10
10
  outputFormats: {
11
11
  Pdf: "Pdf";
12
12
  Image: "Image";
@@ -74,21 +74,21 @@ export declare class PrintFormComponent implements OnInit {
74
74
  set showLegend(value: boolean);
75
75
  get doZipFile(): boolean;
76
76
  set doZipFile(value: boolean);
77
- get outputFormatField(): UntypedFormControl;
78
- get paperFormatField(): UntypedFormControl;
79
- get imageFormatField(): UntypedFormControl;
80
- get orientationField(): UntypedFormControl;
81
- get resolutionField(): UntypedFormControl;
82
- get commentField(): UntypedFormControl;
83
- get showProjectionField(): UntypedFormControl;
84
- get showScaleField(): UntypedFormControl;
85
- get showLegendField(): UntypedFormControl;
86
- get doZipFileField(): UntypedFormControl;
87
- get titleField(): UntypedFormControl;
88
- get subtitleField(): UntypedFormControl;
89
- get legendPositionField(): UntypedFormControl;
77
+ get outputFormatField(): FormControl<any>;
78
+ get paperFormatField(): FormControl<any>;
79
+ get imageFormatField(): FormControl<any>;
80
+ get orientationField(): FormControl<any>;
81
+ get resolutionField(): FormControl<any>;
82
+ get commentField(): FormControl<any>;
83
+ get showProjectionField(): FormControl<any>;
84
+ get showScaleField(): FormControl<any>;
85
+ get showLegendField(): FormControl<any>;
86
+ get doZipFileField(): FormControl<any>;
87
+ get titleField(): FormControl<any>;
88
+ get subtitleField(): FormControl<any>;
89
+ get legendPositionField(): FormControl<any>;
90
90
  submit: EventEmitter<PrintOptions>;
91
- constructor(formBuilder: UntypedFormBuilder);
91
+ constructor(formBuilder: FormBuilder);
92
92
  ngOnInit(): void;
93
93
  handleFormSubmit(data: PrintOptions, isValid: boolean): void;
94
94
  toggleImageSaveProp(): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/geo",
3
- "version": "1.13.0-alpha.0",
3
+ "version": "1.13.0-alpha.1",
4
4
  "description": "IGO Library",
5
5
  "author": "MSP",
6
6
  "keywords": [
@@ -26,24 +26,24 @@
26
26
  "windows-1252": "^3.0.4"
27
27
  },
28
28
  "peerDependencies": {
29
- "@angular/animations": "^14.0.6",
30
- "@angular/common": "^14.0.6",
31
- "@angular/core": "^14.0.6",
32
- "@angular/forms": "^14.0.6",
33
- "@angular/material": "^14.0.5",
34
- "@igo2/common": "^1.13.0-alpha.0",
35
- "@igo2/core": "^1.13.0-alpha.0",
36
- "@igo2/utils": "^1.13.0-alpha.0",
29
+ "@angular/animations": "^13.3.11",
30
+ "@angular/common": "^13.3.11",
31
+ "@angular/core": "^13.3.11",
32
+ "@angular/forms": "^13.3.11",
33
+ "@angular/material": "^13.3.9",
34
+ "@igo2/common": "^1.13.0-alpha.1",
35
+ "@igo2/core": "^1.13.0-alpha.1",
36
+ "@igo2/utils": "^1.13.0-alpha.1",
37
37
  "ol": "~6.14.1",
38
38
  "proj4": "^2.8.0",
39
39
  "rxjs": "^6.6.7",
40
- "ol-mapbox-style": "^8.2.0",
40
+ "ol-mapbox-style": "^6.5.1",
41
41
  "striptags": "^3.2.0"
42
42
  },
43
43
  "optionalDependencies": {
44
44
  "file-saver": "^2.0.2",
45
45
  "html2canvas": "^1.0.0-rc.5",
46
- "jspdf": "^2.5.1",
46
+ "jspdf": "^2.3.1",
47
47
  "jszip": "^3.1.5",
48
48
  "moment": "^2.24.0",
49
49
  "stream": "^0.0.2"