@igo2/geo 20.1.0-next.29 → 20.1.0-next.30

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/index.d.ts CHANGED
@@ -10318,30 +10318,16 @@ interface TextPdfSizeAndMargin {
10318
10318
  declare class PrintComponent {
10319
10319
  private printService;
10320
10320
  disabled$: BehaviorSubject<boolean>;
10321
- get map(): IgoMap;
10322
- set map(value: IgoMap);
10323
- private _map;
10324
- get outputFormat(): PrintOutputFormat;
10325
- set outputFormat(value: PrintOutputFormat);
10326
- private _outputFormat;
10327
- get paperFormat(): PrintPaperFormat;
10328
- set paperFormat(value: PrintPaperFormat);
10329
- private _paperFormat;
10330
- get orientation(): PrintOrientation;
10331
- set orientation(value: PrintOrientation);
10332
- private _orientation;
10333
- get imageFormat(): PrintSaveImageFormat;
10334
- set imageFormat(value: PrintSaveImageFormat);
10335
- private _imageFormat;
10336
- get legendPosition(): PrintLegendPosition;
10337
- set legendPosition(value: PrintLegendPosition);
10338
- private _legendPosition;
10339
- get resolution(): PrintResolution;
10340
- set resolution(value: PrintResolution);
10341
- private _resolution;
10321
+ readonly map: i0.InputSignal<IgoMap>;
10322
+ readonly outputFormat: i0.InputSignal<"Pdf" | "Image">;
10323
+ readonly paperFormat: i0.InputSignal<"A0" | "A1" | "A2" | "A3" | "A4" | "A5" | "Letter" | "Legal">;
10324
+ readonly orientation: i0.InputSignal<"landscape" | "portrait">;
10325
+ readonly imageFormat: i0.InputSignal<"Bmp" | "Gif" | "Jpeg" | "Png" | "Tiff">;
10326
+ readonly legendPosition: i0.InputSignal<"none" | "topright" | "topleft" | "bottomleft" | "bottomright" | "newpage">;
10327
+ readonly resolution: i0.InputSignal<"72" | "96" | "150" | "300">;
10342
10328
  handleFormSubmit(data: PrintOptions): void;
10343
10329
  static ɵfac: i0.ɵɵFactoryDeclaration<PrintComponent, never>;
10344
- static ɵcmp: i0.ɵɵComponentDeclaration<PrintComponent, "igo-print", never, { "map": { "alias": "map"; "required": false; }; "outputFormat": { "alias": "outputFormat"; "required": false; }; "paperFormat": { "alias": "paperFormat"; "required": false; }; "orientation": { "alias": "orientation"; "required": false; }; "imageFormat": { "alias": "imageFormat"; "required": false; }; "legendPosition": { "alias": "legendPosition"; "required": false; }; "resolution": { "alias": "resolution"; "required": false; }; }, {}, never, never, true, never>;
10330
+ static ɵcmp: i0.ɵɵComponentDeclaration<PrintComponent, "igo-print", never, { "map": { "alias": "map"; "required": false; "isSignal": true; }; "outputFormat": { "alias": "outputFormat"; "required": false; "isSignal": true; }; "paperFormat": { "alias": "paperFormat"; "required": false; "isSignal": true; }; "orientation": { "alias": "orientation"; "required": false; "isSignal": true; }; "imageFormat": { "alias": "imageFormat"; "required": false; "isSignal": true; }; "legendPosition": { "alias": "legendPosition"; "required": false; "isSignal": true; }; "resolution": { "alias": "resolution"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
10345
10331
  }
10346
10332
 
10347
10333
  declare class PrintFormComponent implements OnInit {
@@ -11384,7 +11370,7 @@ declare class PrintService {
11384
11370
  defineNbFileToProcess(nbFileToProcess: any): void;
11385
11371
  private timeout;
11386
11372
  private addCanvas;
11387
- addMap(doc: jsPDF, map: IgoMap, resolution: number, imageDimensions: [number, number], baseMargins: [number, number, number, number]): Subject<unknown>;
11373
+ addMap(doc: jsPDF, map: IgoMap, resolution: number, imageDimensions: [number, number], baseMargins: [number, number, number, number]): Subject<SubjectStatus>;
11388
11374
  private setMapResolution;
11389
11375
  private resetOriginalMapSize;
11390
11376
  drawMap(size: number[], mapCanvas: HTMLCollectionOf<HTMLCanvasElement>): Promise<HTMLCanvasElement>;
@@ -11409,7 +11395,7 @@ declare class PrintService {
11409
11395
  * @param doZipFile - Indicate if we do a zip with the file
11410
11396
  * @return Image file of the map with extension format given as parameter
11411
11397
  */
11412
- downloadMapImage(map: IgoMap, printResolution: PrintResolution, format: string, projection: boolean, scale: boolean, title: string, subtitle: string, comment: string, doZipFile: boolean, legendPosition: PrintLegendPosition, showNorthArrow: boolean): Subject<unknown>;
11398
+ downloadMapImage(map: IgoMap, printResolution: PrintResolution, format: string, projection: boolean, scale: boolean, title: string, subtitle: string, comment: string, doZipFile: boolean, legendPosition: PrintLegendPosition, showNorthArrow: boolean): Subject<SubjectStatus>;
11413
11399
  private setMapImageResolution;
11414
11400
  /**
11415
11401
  * Create and Add Legend to the map canvas
@@ -11463,6 +11449,7 @@ declare class PrintService {
11463
11449
  */
11464
11450
  private getZipFile;
11465
11451
  private pdf_units2points;
11452
+ private mapRenderCompleteEvent$;
11466
11453
  static ɵfac: i0.ɵɵFactoryDeclaration<PrintService, never>;
11467
11454
  static ɵprov: i0.ɵɵInjectableDeclaration<PrintService>;
11468
11455
  }
@@ -381,7 +381,8 @@
381
381
  "newpage": "On a new page",
382
382
  "newimage": "On a new image"
383
383
  },
384
- "showNorthArrow": "Show north arrow"
384
+ "showNorthArrow": "Show north arrow",
385
+ "timeout": "Print - Some requests reach the maximum time of {{value}} seconds"
385
386
  },
386
387
  "directions": {
387
388
  "buttons": {
@@ -380,7 +380,8 @@
380
380
  "newpage": "Sur une nouvelle page",
381
381
  "newimage": "Sur une nouvelle image"
382
382
  },
383
- "showNorthArrow": "Afficher la flèche du nord"
383
+ "showNorthArrow": "Afficher la flèche du nord",
384
+ "timeout": "Impression - Certaines requêtes atteignent la durée maximale de {{value}} secondes"
384
385
  },
385
386
  "directions": {
386
387
  "buttons": {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/geo",
3
- "version": "20.1.0-next.29",
3
+ "version": "20.1.0-next.30",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -40,10 +40,10 @@
40
40
  "@angular/material": "^20.0.0",
41
41
  "@angular/material-moment-adapter": "^20.0.0",
42
42
  "@angular/platform-browser": "^20.0.0",
43
- "@igo2/auth": "^20.1.0-next.29",
44
- "@igo2/common": "^20.1.0-next.29",
45
- "@igo2/core": "^20.1.0-next.29",
46
- "@igo2/utils": "^20.1.0-next.29",
43
+ "@igo2/auth": "^20.1.0-next.30",
44
+ "@igo2/common": "^20.1.0-next.30",
45
+ "@igo2/core": "^20.1.0-next.30",
46
+ "@igo2/utils": "^20.1.0-next.30",
47
47
  "@mat-datetimepicker/core": "^16.0.0",
48
48
  "@turf/boolean-intersects": "^7.2.0",
49
49
  "@turf/buffer": "^7.2.0",