@igo2/context 16.0.0-rc.0 → 16.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/esm2022/lib/context-import-export/context-import-export/context-import-export.component.mjs +6 -6
- package/esm2022/lib/context-import-export/context-import-export.module.mjs +6 -6
- package/esm2022/lib/context-import-export/shared/context-export.service.mjs +2 -2
- package/esm2022/lib/context-import-export/shared/context-export.utils.mjs +1 -1
- package/esm2022/lib/context-import-export/shared/context-import.errors.mjs +1 -1
- package/esm2022/lib/context-import-export/shared/context-import.service.mjs +3 -3
- package/esm2022/lib/context-import-export/shared/context-import.utils.mjs +2 -2
- package/esm2022/lib/context-manager/context-edit/context-edit-binding.directive.mjs +2 -2
- package/esm2022/lib/context-manager/context-edit/context-edit.component.mjs +3 -3
- package/esm2022/lib/context-manager/context-form/context-form.component.mjs +4 -4
- package/esm2022/lib/context-manager/context-item/context-item.component.mjs +3 -3
- package/esm2022/lib/context-manager/context-list/context-list-binding.directive.mjs +4 -4
- package/esm2022/lib/context-manager/context-list/context-list.component.mjs +14 -12
- package/esm2022/lib/context-manager/context-manager.module.mjs +13 -13
- package/esm2022/lib/context-manager/context-permissions/context-permissions-binding.directive.mjs +3 -3
- package/esm2022/lib/context-manager/context-permissions/context-permissions.component.mjs +5 -5
- package/esm2022/lib/context-manager/shared/context.interface.mjs +1 -1
- package/esm2022/lib/context-manager/shared/context.service.mjs +9 -9
- package/esm2022/lib/context-manager/shared/layer-context.directive.mjs +7 -19
- package/esm2022/lib/context-manager/shared/map-context.directive.mjs +3 -3
- package/esm2022/lib/context-map-button/bookmark-button/bookmark-button.component.mjs +3 -3
- package/esm2022/lib/context-map-button/bookmark-button/bookmark-dialog.component.mjs +2 -2
- package/esm2022/lib/context-map-button/context-map-button.module.mjs +5 -5
- package/esm2022/lib/context-map-button/poi-button/poi-button.component.mjs +8 -8
- package/esm2022/lib/context-map-button/poi-button/poi-dialog.component.mjs +2 -2
- package/esm2022/lib/context-map-button/poi-button/shared/poi.service.mjs +3 -3
- package/esm2022/lib/context-map-button/user-button/user-button.animation.mjs +2 -2
- package/esm2022/lib/context-map-button/user-button/user-button.component.mjs +4 -4
- package/esm2022/lib/context-map-button/user-button/user-dialog.component.mjs +3 -3
- package/esm2022/lib/context.module.mjs +1 -1
- package/esm2022/lib/environment/environment.interface.mjs +2 -0
- package/esm2022/lib/environment/index.mjs +2 -0
- package/esm2022/lib/share-map/share-map/share-map-api.component.mjs +4 -4
- package/esm2022/lib/share-map/share-map/share-map-url.component.mjs +5 -5
- package/esm2022/lib/share-map/share-map/share-map.component.mjs +2 -2
- package/esm2022/lib/share-map/share-map.module.mjs +6 -6
- package/esm2022/lib/share-map/shared/share-map.service.mjs +1 -1
- package/esm2022/lib/sidenav/sidenav.component.mjs +2 -2
- package/esm2022/lib/sidenav/sidenav.module.mjs +3 -3
- package/esm2022/public_api.mjs +2 -1
- package/fesm2022/igo2-context.mjs +2508 -2518
- package/fesm2022/igo2-context.mjs.map +1 -1
- package/lib/context-import-export/context-import-export/context-import-export.component.d.ts +6 -6
- package/lib/context-import-export/shared/context-export.service.d.ts +1 -1
- package/lib/context-import-export/shared/context-import.service.d.ts +1 -1
- package/lib/context-import-export/shared/context-import.utils.d.ts +1 -1
- package/lib/context-manager/context-edit/context-edit-binding.directive.d.ts +1 -1
- package/lib/context-manager/context-edit/context-edit.component.d.ts +1 -1
- package/lib/context-manager/context-item/context-item.component.d.ts +1 -1
- package/lib/context-manager/context-list/context-list-binding.directive.d.ts +2 -2
- package/lib/context-manager/context-list/context-list.component.d.ts +6 -5
- package/lib/context-manager/context-permissions/context-permissions-binding.directive.d.ts +2 -2
- package/lib/context-manager/context-permissions/context-permissions.component.d.ts +4 -4
- package/lib/context-manager/shared/context.interface.d.ts +3 -3
- package/lib/context-manager/shared/context.service.d.ts +4 -4
- package/lib/context-manager/shared/layer-context.directive.d.ts +3 -3
- package/lib/context-manager/shared/map-context.directive.d.ts +2 -2
- package/lib/context-map-button/poi-button/poi-button.component.d.ts +4 -4
- package/lib/context-map-button/poi-button/shared/poi.service.d.ts +1 -1
- package/lib/context-map-button/user-button/user-button.component.d.ts +1 -1
- package/lib/context-map-button/user-button/user-dialog.component.d.ts +1 -1
- package/lib/environment/environment.interface.d.ts +9 -0
- package/lib/environment/index.d.ts +1 -0
- package/lib/share-map/share-map/share-map-api.component.d.ts +1 -1
- package/lib/share-map/share-map/share-map-url.component.d.ts +1 -1
- package/lib/sidenav/sidenav.component.d.ts +1 -1
- package/locale/en.context.json +199 -199
- package/locale/fr.context.json +199 -199
- package/package.json +7 -7
- package/public_api.d.ts +1 -0
package/lib/context-import-export/context-import-export/context-import-export.component.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { MessageService, ConfigService } from '@igo2/core';
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
+
import { ConfigService, MessageService } from '@igo2/core';
|
|
5
4
|
import { Layer, VectorLayer } from '@igo2/geo';
|
|
6
5
|
import type { IgoMap } from '@igo2/geo';
|
|
6
|
+
import { BehaviorSubject } from 'rxjs';
|
|
7
|
+
import { DetailedContext } from '../../context-manager/shared/context.interface';
|
|
7
8
|
import { ContextService } from '../../context-manager/shared/context.service';
|
|
8
|
-
import { ContextImportService } from '../shared/context-import.service';
|
|
9
9
|
import { ContextExportService } from '../shared/context-export.service';
|
|
10
|
-
import {
|
|
10
|
+
import { ContextImportService } from '../shared/context-import.service';
|
|
11
11
|
import * as i0 from "@angular/core";
|
|
12
12
|
export declare class ContextImportExportComponent implements OnInit, OnDestroy {
|
|
13
13
|
private contextImportService;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { DetailedContext } from '../../context-manager/shared/context.interface';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { DetailedContext } from '../../context-manager/shared/context.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ContextExportService {
|
|
5
5
|
export(res: DetailedContext): Observable<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
1
|
import { ConfigService } from '@igo2/core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
3
|
import { DetailedContext } from '../../context-manager/shared/context.interface';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class ContextImportService {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { IgoMap, VectorLayer, StyleService, StyleListService } from '@igo2/geo';
|
|
2
1
|
import { MessageService } from '@igo2/core';
|
|
2
|
+
import { IgoMap, StyleListService, StyleService, VectorLayer } from '@igo2/geo';
|
|
3
3
|
import { DetailedContext, ExtraFeatures } from '../../context-manager/shared/context.interface';
|
|
4
4
|
import { ContextService } from '../../context-manager/shared/context.service';
|
|
5
5
|
export declare function handleFileImportSuccess(file: File, context: DetailedContext, messageService: MessageService, contextService: ContextService): void;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MessageService } from '@igo2/core';
|
|
3
3
|
import { Context } from '../shared/context.interface';
|
|
4
4
|
import { ContextService } from '../shared/context.service';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter } from '@angular/core';
|
|
2
2
|
import { Context } from '../shared/context.interface';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
4
|
export declare class ContextEditComponent {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { EventEmitter } from '@angular/core';
|
|
2
|
-
import { StorageService } from '@igo2/core';
|
|
3
2
|
import { AuthService } from '@igo2/auth';
|
|
3
|
+
import { StorageService } from '@igo2/core';
|
|
4
4
|
import { TypePermission } from '../shared/context.enum';
|
|
5
5
|
import { DetailedContext } from '../shared/context.interface';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { MessageService, LanguageService, StorageService } from '@igo2/core';
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
3
2
|
import { AuthService } from '@igo2/auth';
|
|
4
3
|
import { ConfirmDialogService } from '@igo2/common';
|
|
4
|
+
import { LanguageService, MessageService, StorageService } from '@igo2/core';
|
|
5
5
|
import { MapService } from '@igo2/geo';
|
|
6
6
|
import { Context, DetailedContext } from '../shared/context.interface';
|
|
7
7
|
import { ContextService } from '../shared/context.service';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { EventEmitter,
|
|
1
|
+
import { ChangeDetectorRef, EventEmitter, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
2
3
|
import { AuthService } from '@igo2/auth';
|
|
4
|
+
import { ActionStore, ActionbarMode } from '@igo2/common';
|
|
3
5
|
import { ConfigService, LanguageService, StorageService } from '@igo2/core';
|
|
4
6
|
import type { IgoMap } from '@igo2/geo';
|
|
5
|
-
import { DetailedContext, ContextsList, ContextUserPermission, ContextProfils } from '../shared/context.interface';
|
|
6
|
-
import { ContextListControlsEnum } from './context-list.enum';
|
|
7
7
|
import { BehaviorSubject, ReplaySubject } from 'rxjs';
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
8
|
+
import { ContextProfils, ContextServiceOptions, ContextUserPermission, ContextsList, DetailedContext } from '../shared/context.interface';
|
|
9
|
+
import { ContextListControlsEnum } from './context-list.enum';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ContextListComponent implements OnInit, OnDestroy {
|
|
12
12
|
private cdRef;
|
|
@@ -15,6 +15,7 @@ export declare class ContextListComponent implements OnInit, OnDestroy {
|
|
|
15
15
|
private dialog;
|
|
16
16
|
private languageService;
|
|
17
17
|
private storageService;
|
|
18
|
+
contextConfigs: ContextServiceOptions;
|
|
18
19
|
private contextsInitial;
|
|
19
20
|
contexts$: BehaviorSubject<ContextsList>;
|
|
20
21
|
change$: ReplaySubject<void>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { LanguageService, MessageService } from '@igo2/core';
|
|
3
3
|
import { Context, ContextPermission } from '../shared/context.interface';
|
|
4
4
|
import { ContextService } from '../shared/context.service';
|
|
5
5
|
import { ContextPermissionsComponent } from './context-permissions.component';
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { EventEmitter, OnInit, ChangeDetectorRef } from '@angular/core';
|
|
2
|
-
import { UntypedFormBuilder, UntypedFormGroup, UntypedFormControl } from '@angular/forms';
|
|
3
|
-
import { Context, ContextPermission, ContextPermissionsList, ContextProfils } from '../shared/context.interface';
|
|
4
1
|
import { HttpClient } from '@angular/common/http';
|
|
5
|
-
import {
|
|
2
|
+
import { ChangeDetectorRef, EventEmitter, OnInit } from '@angular/core';
|
|
3
|
+
import { UntypedFormBuilder, UntypedFormControl, UntypedFormGroup } from '@angular/forms';
|
|
6
4
|
import { AuthService } from '@igo2/auth';
|
|
7
5
|
import { ConfigService } from '@igo2/core';
|
|
6
|
+
import { Subscription } from 'rxjs';
|
|
7
|
+
import { Context, ContextPermission, ContextPermissionsList, ContextProfils } from '../shared/context.interface';
|
|
8
8
|
import * as i0 from "@angular/core";
|
|
9
9
|
export declare class ContextPermissionsComponent implements OnInit {
|
|
10
10
|
private formBuilder;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Message } from '@igo2/core';
|
|
2
1
|
import { Tool } from '@igo2/common';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { Message } from '@igo2/core';
|
|
3
|
+
import { LayerOptions, MapAttributionOptions, MapExtent, MapScaleLineOptions, MapViewOptions } from '@igo2/geo';
|
|
5
4
|
import { FeatureCollection } from 'geojson';
|
|
5
|
+
import { TypePermission } from './context.enum';
|
|
6
6
|
export interface Context {
|
|
7
7
|
id?: string;
|
|
8
8
|
title?: string;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
3
|
-
import { Tool } from '@igo2/common';
|
|
4
|
-
import { ConfigService, RouteService, MessageService, LanguageService, StorageService } from '@igo2/core';
|
|
5
2
|
import { AuthService } from '@igo2/auth';
|
|
3
|
+
import { Tool } from '@igo2/common';
|
|
4
|
+
import { ConfigService, LanguageService, MessageService, RouteService, StorageService } from '@igo2/core';
|
|
6
5
|
import type { IgoMap, Layer } from '@igo2/geo';
|
|
7
6
|
import { ExportService } from '@igo2/geo';
|
|
7
|
+
import { BehaviorSubject, Observable, Subject } from 'rxjs';
|
|
8
8
|
import { TypePermission } from './context.enum';
|
|
9
|
-
import {
|
|
9
|
+
import { Context, ContextPermission, ContextProfils, ContextsList, DetailedContext } from './context.interface';
|
|
10
10
|
import * as i0 from "@angular/core";
|
|
11
11
|
export declare class ContextService {
|
|
12
12
|
private http;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { ConfigService, RouteService } from '@igo2/core';
|
|
3
|
+
import { LayerService, MapBrowserComponent, StyleListService, StyleService } from '@igo2/geo';
|
|
4
4
|
import type { IgoMap } from '@igo2/geo';
|
|
5
5
|
import { ContextService } from './context.service';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
|
+
import { MediaService } from '@igo2/core';
|
|
2
3
|
import { MapBrowserComponent } from '@igo2/geo';
|
|
3
4
|
import type { IgoMap } from '@igo2/geo';
|
|
4
5
|
import { ContextService } from './context.service';
|
|
5
|
-
import { MediaService } from '@igo2/core';
|
|
6
6
|
import * as i0 from "@angular/core";
|
|
7
7
|
export declare class MapContextDirective implements OnInit, OnDestroy {
|
|
8
8
|
private contextService;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
-
import { MessageService, LanguageService } from '@igo2/core';
|
|
4
|
-
import { ConfirmDialogService } from '@igo2/common';
|
|
5
3
|
import { AuthService } from '@igo2/auth';
|
|
4
|
+
import { ConfirmDialogService } from '@igo2/common';
|
|
5
|
+
import { LanguageService, MessageService } from '@igo2/core';
|
|
6
6
|
import type { IgoMap } from '@igo2/geo';
|
|
7
|
-
import { PoiService } from './shared/poi.service';
|
|
8
7
|
import { Poi } from './shared/poi.interface';
|
|
8
|
+
import { PoiService } from './shared/poi.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
10
10
|
export declare class PoiButtonComponent implements OnInit, OnDestroy {
|
|
11
11
|
private dialog;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
2
|
import { ConfigService } from '@igo2/core';
|
|
3
|
+
import { Observable } from 'rxjs';
|
|
4
4
|
import { Poi } from './poi.interface';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class PoiService {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MatDialog } from '@angular/material/dialog';
|
|
2
|
-
import { ConfigService } from '@igo2/core';
|
|
3
2
|
import { AuthService } from '@igo2/auth';
|
|
3
|
+
import { ConfigService } from '@igo2/core';
|
|
4
4
|
import type { IgoMap } from '@igo2/geo';
|
|
5
5
|
import * as i0 from "@angular/core";
|
|
6
6
|
export declare class UserButtonComponent {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
2
|
-
import { StorageService } from '@igo2/core';
|
|
3
2
|
import { AuthService } from '@igo2/auth';
|
|
3
|
+
import { StorageService } from '@igo2/core';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
5
|
export declare class UserDialogComponent {
|
|
6
6
|
dialogRef: MatDialogRef<UserDialogComponent>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { ImportExportServiceOptions } from '@igo2/geo';
|
|
2
|
+
import { ContextServiceOptions } from '../context-manager';
|
|
3
|
+
import { AuthOptions } from '@igo2/auth';
|
|
4
|
+
export interface EnvironmentOptions {
|
|
5
|
+
auth?: AuthOptions;
|
|
6
|
+
context?: ContextServiceOptions;
|
|
7
|
+
favoriteContext4NonAuthenticated?: boolean;
|
|
8
|
+
importExport?: ImportExportServiceOptions;
|
|
9
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './environment.interface';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { UntypedFormBuilder, UntypedFormGroup } from '@angular/forms';
|
|
3
|
-
import { MessageService, LanguageService } from '@igo2/core';
|
|
4
3
|
import { AuthService } from '@igo2/auth';
|
|
4
|
+
import { LanguageService, MessageService } from '@igo2/core';
|
|
5
5
|
import type { IgoMap } from '@igo2/geo';
|
|
6
6
|
import { ShareMapService } from '../shared/share-map.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AfterViewInit,
|
|
1
|
+
import { AfterViewInit, ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
|
|
2
2
|
import { MessageService } from '@igo2/core';
|
|
3
3
|
import type { IgoMap } from '@igo2/geo';
|
|
4
4
|
import { ShareMapService } from '../shared/share-map.service';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Title } from '@angular/platform-browser';
|
|
2
|
-
import type { Media } from '@igo2/core';
|
|
3
2
|
import { FlexibleState, Tool } from '@igo2/common';
|
|
3
|
+
import type { Media } from '@igo2/core';
|
|
4
4
|
import { Feature } from '@igo2/geo';
|
|
5
5
|
import type { IgoMap } from '@igo2/geo';
|
|
6
6
|
import * as i0 from "@angular/core";
|