@igo2/context 1.15.5 → 1.15.6

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 (125) hide show
  1. package/esm2020/igo2-context.mjs +4 -4
  2. package/esm2020/lib/context-import-export/context-import-export/context-import-export.component.mjs +227 -227
  3. package/esm2020/lib/context-import-export/context-import-export.module.mjs +84 -84
  4. package/esm2020/lib/context-import-export/index.mjs +2 -2
  5. package/esm2020/lib/context-import-export/shared/context-export.errors.mjs +14 -14
  6. package/esm2020/lib/context-import-export/shared/context-export.interface.mjs +1 -1
  7. package/esm2020/lib/context-import-export/shared/context-export.service.mjs +37 -37
  8. package/esm2020/lib/context-import-export/shared/context-export.utils.mjs +14 -14
  9. package/esm2020/lib/context-import-export/shared/context-import.errors.mjs +32 -32
  10. package/esm2020/lib/context-import-export/shared/context-import.service.mjs +78 -78
  11. package/esm2020/lib/context-import-export/shared/context-import.utils.mjs +132 -132
  12. package/esm2020/lib/context-import-export/shared/index.mjs +7 -7
  13. package/esm2020/lib/context-manager/context-edit/context-edit-binding.directive.mjs +49 -49
  14. package/esm2020/lib/context-manager/context-edit/context-edit.component.mjs +45 -45
  15. package/esm2020/lib/context-manager/context-edit/index.mjs +2 -2
  16. package/esm2020/lib/context-manager/context-form/context-form.component.mjs +142 -142
  17. package/esm2020/lib/context-manager/context-form/index.mjs +1 -1
  18. package/esm2020/lib/context-manager/context-item/context-item.component.mjs +244 -244
  19. package/esm2020/lib/context-manager/context-item/index.mjs +1 -1
  20. package/esm2020/lib/context-manager/context-list/context-list-binding.directive.mjs +239 -239
  21. package/esm2020/lib/context-manager/context-list/context-list.component.mjs +591 -591
  22. package/esm2020/lib/context-manager/context-list/context-list.enum.mjs +6 -6
  23. package/esm2020/lib/context-manager/context-list/index.mjs +2 -2
  24. package/esm2020/lib/context-manager/context-manager.module.mjs +161 -161
  25. package/esm2020/lib/context-manager/context-permissions/context-permissions-binding.directive.mjs +98 -98
  26. package/esm2020/lib/context-manager/context-permissions/context-permissions.component.mjs +305 -305
  27. package/esm2020/lib/context-manager/context-permissions/index.mjs +2 -2
  28. package/esm2020/lib/context-manager/index.mjs +6 -6
  29. package/esm2020/lib/context-manager/shared/context.enum.mjs +12 -12
  30. package/esm2020/lib/context-manager/shared/context.interface.mjs +1 -1
  31. package/esm2020/lib/context-manager/shared/context.service.mjs +631 -631
  32. package/esm2020/lib/context-manager/shared/index.mjs +5 -5
  33. package/esm2020/lib/context-manager/shared/layer-context.directive.mjs +155 -155
  34. package/esm2020/lib/context-manager/shared/map-context.directive.mjs +69 -69
  35. package/esm2020/lib/context-map-button/bookmark-button/bookmark-button.component.mjs +65 -65
  36. package/esm2020/lib/context-map-button/bookmark-button/bookmark-dialog.component.mjs +49 -49
  37. package/esm2020/lib/context-map-button/bookmark-button/index.mjs +2 -2
  38. package/esm2020/lib/context-map-button/context-map-button.module.mjs +95 -95
  39. package/esm2020/lib/context-map-button/index.mjs +3 -3
  40. package/esm2020/lib/context-map-button/poi-button/index.mjs +3 -3
  41. package/esm2020/lib/context-map-button/poi-button/poi-button.component.mjs +160 -160
  42. package/esm2020/lib/context-map-button/poi-button/poi-dialog.component.mjs +49 -49
  43. package/esm2020/lib/context-map-button/poi-button/shared/index.mjs +2 -2
  44. package/esm2020/lib/context-map-button/poi-button/shared/poi.interface.mjs +1 -1
  45. package/esm2020/lib/context-map-button/poi-button/shared/poi.service.mjs +32 -32
  46. package/esm2020/lib/context-map-button/user-button/index.mjs +2 -2
  47. package/esm2020/lib/context-map-button/user-button/user-button.animation.mjs +16 -16
  48. package/esm2020/lib/context-map-button/user-button/user-button.component.mjs +103 -103
  49. package/esm2020/lib/context-map-button/user-button/user-dialog.component.mjs +65 -65
  50. package/esm2020/lib/context.module.mjs +44 -44
  51. package/esm2020/lib/share-map/index.mjs +4 -4
  52. package/esm2020/lib/share-map/share-map/share-map-api.component.mjs +169 -169
  53. package/esm2020/lib/share-map/share-map/share-map-url.component.mjs +242 -242
  54. package/esm2020/lib/share-map/share-map/share-map.component.mjs +56 -56
  55. package/esm2020/lib/share-map/share-map.module.mjs +66 -66
  56. package/esm2020/lib/share-map/shared/index.mjs +1 -1
  57. package/esm2020/lib/share-map/shared/share-map.service.mjs +209 -209
  58. package/esm2020/lib/sidenav/index.mjs +1 -1
  59. package/esm2020/lib/sidenav/sidenav.component.mjs +169 -169
  60. package/esm2020/lib/sidenav/sidenav.module.mjs +60 -60
  61. package/esm2020/public_api.mjs +14 -14
  62. package/fesm2015/igo2-context.mjs +4942 -4942
  63. package/fesm2020/igo2-context.mjs +4591 -4591
  64. package/index.d.ts +5 -5
  65. package/lib/context-import-export/context-import-export/context-import-export.component.d.ts +44 -44
  66. package/lib/context-import-export/context-import-export.module.d.ts +23 -23
  67. package/lib/context-import-export/index.d.ts +2 -2
  68. package/lib/context-import-export/shared/context-export.errors.d.ts +8 -8
  69. package/lib/context-import-export/shared/context-export.interface.d.ts +5 -5
  70. package/lib/context-import-export/shared/context-export.service.d.ts +10 -10
  71. package/lib/context-import-export/shared/context-export.utils.d.ts +4 -4
  72. package/lib/context-import-export/shared/context-import.errors.d.ts +17 -17
  73. package/lib/context-import-export/shared/context-import.service.d.ts +18 -18
  74. package/lib/context-import-export/shared/context-import.utils.d.ts +17 -17
  75. package/lib/context-import-export/shared/index.d.ts +7 -7
  76. package/lib/context-manager/context-edit/context-edit-binding.directive.d.ts +20 -20
  77. package/lib/context-manager/context-edit/context-edit.component.d.ts +14 -14
  78. package/lib/context-manager/context-edit/index.d.ts +2 -2
  79. package/lib/context-manager/context-form/context-form.component.d.ts +30 -30
  80. package/lib/context-manager/context-form/index.d.ts +1 -1
  81. package/lib/context-manager/context-item/context-item.component.d.ts +32 -32
  82. package/lib/context-manager/context-item/index.d.ts +1 -1
  83. package/lib/context-manager/context-list/context-list-binding.directive.d.ts +46 -46
  84. package/lib/context-manager/context-list/context-list.component.d.ts +93 -93
  85. package/lib/context-manager/context-list/context-list.enum.d.ts +5 -5
  86. package/lib/context-manager/context-list/index.d.ts +2 -2
  87. package/lib/context-manager/context-manager.module.d.ts +37 -37
  88. package/lib/context-manager/context-permissions/context-permissions-binding.directive.d.ts +23 -23
  89. package/lib/context-manager/context-permissions/context-permissions.component.d.ts +40 -40
  90. package/lib/context-manager/context-permissions/index.d.ts +2 -2
  91. package/lib/context-manager/index.d.ts +6 -6
  92. package/lib/context-manager/shared/context.enum.d.ts +10 -10
  93. package/lib/context-manager/shared/context.interface.d.ts +75 -75
  94. package/lib/context-manager/shared/context.service.d.ts +75 -75
  95. package/lib/context-manager/shared/index.d.ts +5 -5
  96. package/lib/context-manager/shared/layer-context.directive.d.ts +28 -28
  97. package/lib/context-manager/shared/map-context.directive.d.ts +19 -19
  98. package/lib/context-map-button/bookmark-button/bookmark-button.component.d.ts +20 -20
  99. package/lib/context-map-button/bookmark-button/bookmark-dialog.component.d.ts +9 -9
  100. package/lib/context-map-button/bookmark-button/index.d.ts +2 -2
  101. package/lib/context-map-button/context-map-button.module.d.ts +27 -27
  102. package/lib/context-map-button/index.d.ts +3 -3
  103. package/lib/context-map-button/poi-button/index.d.ts +3 -3
  104. package/lib/context-map-button/poi-button/poi-button.component.d.ts +34 -34
  105. package/lib/context-map-button/poi-button/poi-dialog.component.d.ts +9 -9
  106. package/lib/context-map-button/poi-button/shared/index.d.ts +2 -2
  107. package/lib/context-map-button/poi-button/shared/poi.interface.d.ts +7 -7
  108. package/lib/context-map-button/poi-button/shared/poi.service.d.ts +16 -16
  109. package/lib/context-map-button/user-button/index.d.ts +2 -2
  110. package/lib/context-map-button/user-button/user-button.animation.d.ts +2 -2
  111. package/lib/context-map-button/user-button/user-button.component.d.ts +25 -25
  112. package/lib/context-map-button/user-button/user-dialog.component.d.ts +15 -15
  113. package/lib/context.module.d.ts +16 -16
  114. package/lib/share-map/index.d.ts +4 -4
  115. package/lib/share-map/share-map/share-map-api.component.d.ts +27 -27
  116. package/lib/share-map/share-map/share-map-url.component.d.ts +26 -26
  117. package/lib/share-map/share-map/share-map.component.d.ts +11 -11
  118. package/lib/share-map/share-map.module.d.ts +21 -21
  119. package/lib/share-map/shared/index.d.ts +1 -1
  120. package/lib/share-map/shared/share-map.service.d.ts +17 -17
  121. package/lib/sidenav/index.d.ts +1 -1
  122. package/lib/sidenav/sidenav.component.d.ts +35 -35
  123. package/lib/sidenav/sidenav.module.d.ts +18 -18
  124. package/package.json +6 -6
  125. package/public_api.d.ts +11 -11
@@ -1,75 +1,75 @@
1
- import { Message } from '@igo2/core';
2
- import { Tool } from '@igo2/common';
3
- import { MapViewOptions, LayerOptions, MapScaleLineOptions, MapAttributionOptions, MapExtent } from '@igo2/geo';
4
- import { TypePermission } from './context.enum';
5
- export interface Context {
6
- id?: string;
7
- title?: string;
8
- uri?: string;
9
- scope?: string;
10
- permission?: string;
11
- description?: string;
12
- icon?: string;
13
- iconImage?: string;
14
- hidden?: boolean;
15
- imported?: boolean;
16
- }
17
- export interface ContextsList {
18
- ours: Context[];
19
- shared?: Context[];
20
- public?: Context[];
21
- }
22
- export interface DetailedContext extends Context {
23
- base?: string;
24
- map?: ContextMap;
25
- layers?: LayerOptions[];
26
- tools?: Tool[];
27
- toolbar?: string[];
28
- message?: Message;
29
- messages?: Message[];
30
- removeLayersOnContextChange?: boolean;
31
- extraFeatures?: any[];
32
- }
33
- export interface ContextMapView extends MapViewOptions {
34
- keepCurrentView?: boolean;
35
- homeExtent?: ContextHomeExtent;
36
- }
37
- export interface ContextHomeExtent {
38
- extent?: MapExtent;
39
- center?: [number, number];
40
- zoom?: number;
41
- }
42
- export interface ContextMap {
43
- view: ContextMapView;
44
- controls?: {
45
- scaleLine?: boolean | MapScaleLineOptions;
46
- attribution?: boolean | MapAttributionOptions;
47
- };
48
- }
49
- export interface ContextServiceOptions {
50
- url?: string;
51
- basePath?: string;
52
- contextListFile?: string;
53
- defaultContextUri?: string;
54
- }
55
- export interface ContextPermission {
56
- id?: string;
57
- contextId?: string;
58
- profil: string;
59
- profilTitle?: string;
60
- typePermission: TypePermission;
61
- }
62
- export interface ContextPermissionsList {
63
- read: ContextPermission[];
64
- write: ContextPermission[];
65
- }
66
- export interface ContextUserPermission {
67
- name: string;
68
- checked: boolean;
69
- indeterminate?: boolean;
70
- }
71
- export interface ContextProfils {
72
- name: string;
73
- title: string;
74
- childs?: ContextProfils[];
75
- }
1
+ import { Message } from '@igo2/core';
2
+ import { Tool } from '@igo2/common';
3
+ import { MapViewOptions, LayerOptions, MapScaleLineOptions, MapAttributionOptions, MapExtent } from '@igo2/geo';
4
+ import { TypePermission } from './context.enum';
5
+ export interface Context {
6
+ id?: string;
7
+ title?: string;
8
+ uri?: string;
9
+ scope?: string;
10
+ permission?: string;
11
+ description?: string;
12
+ icon?: string;
13
+ iconImage?: string;
14
+ hidden?: boolean;
15
+ imported?: boolean;
16
+ }
17
+ export interface ContextsList {
18
+ ours: Context[];
19
+ shared?: Context[];
20
+ public?: Context[];
21
+ }
22
+ export interface DetailedContext extends Context {
23
+ base?: string;
24
+ map?: ContextMap;
25
+ layers?: LayerOptions[];
26
+ tools?: Tool[];
27
+ toolbar?: string[];
28
+ message?: Message;
29
+ messages?: Message[];
30
+ removeLayersOnContextChange?: boolean;
31
+ extraFeatures?: any[];
32
+ }
33
+ export interface ContextMapView extends MapViewOptions {
34
+ keepCurrentView?: boolean;
35
+ homeExtent?: ContextHomeExtent;
36
+ }
37
+ export interface ContextHomeExtent {
38
+ extent?: MapExtent;
39
+ center?: [number, number];
40
+ zoom?: number;
41
+ }
42
+ export interface ContextMap {
43
+ view: ContextMapView;
44
+ controls?: {
45
+ scaleLine?: boolean | MapScaleLineOptions;
46
+ attribution?: boolean | MapAttributionOptions;
47
+ };
48
+ }
49
+ export interface ContextServiceOptions {
50
+ url?: string;
51
+ basePath?: string;
52
+ contextListFile?: string;
53
+ defaultContextUri?: string;
54
+ }
55
+ export interface ContextPermission {
56
+ id?: string;
57
+ contextId?: string;
58
+ profil: string;
59
+ profilTitle?: string;
60
+ typePermission: TypePermission;
61
+ }
62
+ export interface ContextPermissionsList {
63
+ read: ContextPermission[];
64
+ write: ContextPermission[];
65
+ }
66
+ export interface ContextUserPermission {
67
+ name: string;
68
+ checked: boolean;
69
+ indeterminate?: boolean;
70
+ }
71
+ export interface ContextProfils {
72
+ name: string;
73
+ title: string;
74
+ childs?: ContextProfils[];
75
+ }
@@ -1,75 +1,75 @@
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
- import { AuthService } from '@igo2/auth';
6
- import type { IgoMap, Layer } from '@igo2/geo';
7
- import { ExportService } from '@igo2/geo';
8
- import { TypePermission } from './context.enum';
9
- import { ContextsList, Context, DetailedContext, ContextPermission, ContextProfils } from './context.interface';
10
- import * as i0 from "@angular/core";
11
- export declare class ContextService {
12
- private http;
13
- private authService;
14
- private languageService;
15
- private config;
16
- private messageService;
17
- private storageService;
18
- private exportService;
19
- private route;
20
- context$: BehaviorSubject<DetailedContext>;
21
- contexts$: BehaviorSubject<ContextsList>;
22
- defaultContextId$: BehaviorSubject<string>;
23
- editedContext$: BehaviorSubject<DetailedContext>;
24
- importedContext: Array<DetailedContext>;
25
- toolsChanged$: Subject<DetailedContext>;
26
- private mapViewFromRoute;
27
- private options;
28
- private baseUrl;
29
- private tools;
30
- private toolbar;
31
- get defaultContextUri(): string;
32
- set defaultContextUri(uri: string);
33
- private _defaultContextUri;
34
- constructor(http: HttpClient, authService: AuthService, languageService: LanguageService, config: ConfigService, messageService: MessageService, storageService: StorageService, exportService: ExportService, route: RouteService);
35
- get(permissions?: string[], hidden?: boolean): Observable<ContextsList>;
36
- getById(id: string): Observable<Context>;
37
- getDetails(id: string): Observable<DetailedContext>;
38
- getDefault(): Observable<DetailedContext>;
39
- getProfilByUser(): Observable<ContextProfils[]>;
40
- setDefault(id: string): Observable<any>;
41
- hideContext(id: string): Observable<Object>;
42
- showContext(id: string): Observable<Object>;
43
- delete(id: string, imported?: boolean): Observable<void>;
44
- create(context: DetailedContext): Observable<Context>;
45
- clone(id: string, properties?: {}): Observable<Context>;
46
- update(id: string, context: Context): Observable<Context>;
47
- addToolAssociation(contextId: string, toolId: string): Observable<void>;
48
- deleteToolAssociation(contextId: string, toolId: string): Observable<any>;
49
- getPermissions(id: string): Observable<ContextPermission[]>;
50
- addPermissionAssociation(contextId: string, profil: string, type: TypePermission): Observable<ContextPermission[]>;
51
- deletePermissionAssociation(contextId: string, permissionId: string): Observable<void>;
52
- getLocalContexts(): Observable<ContextsList>;
53
- getLocalContext(uri: string): Observable<DetailedContext>;
54
- loadContexts(permissions?: string[], hidden?: boolean): void;
55
- loadDefaultContext(): void;
56
- loadContext(uri: string): void;
57
- setContext(context: DetailedContext): void;
58
- loadEditedContext(uri: string): void;
59
- setEditedContext(context: DetailedContext): void;
60
- getContextFromMap(igoMap: IgoMap, empty?: boolean): DetailedContext;
61
- getContextFromLayers(igoMap: IgoMap, layers: Layer[], name: string): DetailedContext;
62
- setTools(tools: Tool[]): void;
63
- setToolbar(toolbar: string[]): void;
64
- private handleContextMessage;
65
- private getContextByUri;
66
- getContextLayers(igoMap: IgoMap): Layer[];
67
- private readParamsFromRoute;
68
- private getPath;
69
- private handleError;
70
- private handleContextsChange;
71
- private addContextToList;
72
- private findContext;
73
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, [null, null, null, null, null, null, null, { optional: true; }]>;
74
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextService>;
75
- }
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
+ import { AuthService } from '@igo2/auth';
6
+ import type { IgoMap, Layer } from '@igo2/geo';
7
+ import { ExportService } from '@igo2/geo';
8
+ import { TypePermission } from './context.enum';
9
+ import { ContextsList, Context, DetailedContext, ContextPermission, ContextProfils } from './context.interface';
10
+ import * as i0 from "@angular/core";
11
+ export declare class ContextService {
12
+ private http;
13
+ private authService;
14
+ private languageService;
15
+ private config;
16
+ private messageService;
17
+ private storageService;
18
+ private exportService;
19
+ private route;
20
+ context$: BehaviorSubject<DetailedContext>;
21
+ contexts$: BehaviorSubject<ContextsList>;
22
+ defaultContextId$: BehaviorSubject<string>;
23
+ editedContext$: BehaviorSubject<DetailedContext>;
24
+ importedContext: Array<DetailedContext>;
25
+ toolsChanged$: Subject<DetailedContext>;
26
+ private mapViewFromRoute;
27
+ private options;
28
+ private baseUrl;
29
+ private tools;
30
+ private toolbar;
31
+ get defaultContextUri(): string;
32
+ set defaultContextUri(uri: string);
33
+ private _defaultContextUri;
34
+ constructor(http: HttpClient, authService: AuthService, languageService: LanguageService, config: ConfigService, messageService: MessageService, storageService: StorageService, exportService: ExportService, route: RouteService);
35
+ get(permissions?: string[], hidden?: boolean): Observable<ContextsList>;
36
+ getById(id: string): Observable<Context>;
37
+ getDetails(id: string): Observable<DetailedContext>;
38
+ getDefault(): Observable<DetailedContext>;
39
+ getProfilByUser(): Observable<ContextProfils[]>;
40
+ setDefault(id: string): Observable<any>;
41
+ hideContext(id: string): Observable<Object>;
42
+ showContext(id: string): Observable<Object>;
43
+ delete(id: string, imported?: boolean): Observable<void>;
44
+ create(context: DetailedContext): Observable<Context>;
45
+ clone(id: string, properties?: {}): Observable<Context>;
46
+ update(id: string, context: Context): Observable<Context>;
47
+ addToolAssociation(contextId: string, toolId: string): Observable<void>;
48
+ deleteToolAssociation(contextId: string, toolId: string): Observable<any>;
49
+ getPermissions(id: string): Observable<ContextPermission[]>;
50
+ addPermissionAssociation(contextId: string, profil: string, type: TypePermission): Observable<ContextPermission[]>;
51
+ deletePermissionAssociation(contextId: string, permissionId: string): Observable<void>;
52
+ getLocalContexts(): Observable<ContextsList>;
53
+ getLocalContext(uri: string): Observable<DetailedContext>;
54
+ loadContexts(permissions?: string[], hidden?: boolean): void;
55
+ loadDefaultContext(): void;
56
+ loadContext(uri: string): void;
57
+ setContext(context: DetailedContext): void;
58
+ loadEditedContext(uri: string): void;
59
+ setEditedContext(context: DetailedContext): void;
60
+ getContextFromMap(igoMap: IgoMap, empty?: boolean): DetailedContext;
61
+ getContextFromLayers(igoMap: IgoMap, layers: Layer[], name: string): DetailedContext;
62
+ setTools(tools: Tool[]): void;
63
+ setToolbar(toolbar: string[]): void;
64
+ private handleContextMessage;
65
+ private getContextByUri;
66
+ getContextLayers(igoMap: IgoMap): Layer[];
67
+ private readParamsFromRoute;
68
+ private getPath;
69
+ private handleError;
70
+ private handleContextsChange;
71
+ private addContextToList;
72
+ private findContext;
73
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextService, [null, null, null, null, null, null, null, { optional: true; }]>;
74
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContextService>;
75
+ }
@@ -1,5 +1,5 @@
1
- export * from './context.service';
2
- export * from './context.enum';
3
- export * from './context.interface';
4
- export * from './layer-context.directive';
5
- export * from './map-context.directive';
1
+ export * from './context.service';
2
+ export * from './context.enum';
3
+ export * from './context.interface';
4
+ export * from './layer-context.directive';
5
+ export * from './map-context.directive';
@@ -1,28 +1,28 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { RouteService, ConfigService } from '@igo2/core';
3
- import { MapBrowserComponent, LayerService, StyleListService, StyleService } from '@igo2/geo';
4
- import type { IgoMap } from '@igo2/geo';
5
- import { ContextService } from './context.service';
6
- import * as i0 from "@angular/core";
7
- export declare class LayerContextDirective implements OnInit, OnDestroy {
8
- private component;
9
- private contextService;
10
- private layerService;
11
- private configService;
12
- private styleListService;
13
- private styleService;
14
- private route;
15
- private context$$;
16
- private queryParams;
17
- private contextLayers;
18
- removeLayersOnContextChange: boolean;
19
- get map(): IgoMap;
20
- constructor(component: MapBrowserComponent, contextService: ContextService, layerService: LayerService, configService: ConfigService, styleListService: StyleListService, styleService: StyleService, route: RouteService);
21
- ngOnInit(): void;
22
- ngOnDestroy(): void;
23
- private handleContextChange;
24
- private handleAddLayers;
25
- private computeLayerVisibilityFromUrl;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<LayerContextDirective, [null, null, null, null, null, null, { optional: true; }]>;
27
- static ɵdir: i0.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": "removeLayersOnContextChange"; }, {}, never, never, false>;
28
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { RouteService, ConfigService } from '@igo2/core';
3
+ import { MapBrowserComponent, LayerService, StyleListService, StyleService } from '@igo2/geo';
4
+ import type { IgoMap } from '@igo2/geo';
5
+ import { ContextService } from './context.service';
6
+ import * as i0 from "@angular/core";
7
+ export declare class LayerContextDirective implements OnInit, OnDestroy {
8
+ private component;
9
+ private contextService;
10
+ private layerService;
11
+ private configService;
12
+ private styleListService;
13
+ private styleService;
14
+ private route;
15
+ private context$$;
16
+ private queryParams;
17
+ private contextLayers;
18
+ removeLayersOnContextChange: boolean;
19
+ get map(): IgoMap;
20
+ constructor(component: MapBrowserComponent, contextService: ContextService, layerService: LayerService, configService: ConfigService, styleListService: StyleListService, styleService: StyleService, route: RouteService);
21
+ ngOnInit(): void;
22
+ ngOnDestroy(): void;
23
+ private handleContextChange;
24
+ private handleAddLayers;
25
+ private computeLayerVisibilityFromUrl;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<LayerContextDirective, [null, null, null, null, null, null, { optional: true; }]>;
27
+ static ɵdir: i0.ɵɵDirectiveDeclaration<LayerContextDirective, "[igoLayerContext]", never, { "removeLayersOnContextChange": "removeLayersOnContextChange"; }, {}, never, never, false>;
28
+ }
@@ -1,19 +1,19 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { MapBrowserComponent } from '@igo2/geo';
3
- import type { IgoMap } from '@igo2/geo';
4
- import { ContextService } from './context.service';
5
- import { MediaService } from '@igo2/core';
6
- import * as i0 from "@angular/core";
7
- export declare class MapContextDirective implements OnInit, OnDestroy {
8
- private contextService;
9
- private mediaService;
10
- private component;
11
- private context$$;
12
- get map(): IgoMap;
13
- constructor(component: MapBrowserComponent, contextService: ContextService, mediaService: MediaService);
14
- ngOnInit(): void;
15
- ngOnDestroy(): void;
16
- private handleContextChange;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MapContextDirective, never>;
18
- static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, false>;
19
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { MapBrowserComponent } from '@igo2/geo';
3
+ import type { IgoMap } from '@igo2/geo';
4
+ import { ContextService } from './context.service';
5
+ import { MediaService } from '@igo2/core';
6
+ import * as i0 from "@angular/core";
7
+ export declare class MapContextDirective implements OnInit, OnDestroy {
8
+ private contextService;
9
+ private mediaService;
10
+ private component;
11
+ private context$$;
12
+ get map(): IgoMap;
13
+ constructor(component: MapBrowserComponent, contextService: ContextService, mediaService: MediaService);
14
+ ngOnInit(): void;
15
+ ngOnDestroy(): void;
16
+ private handleContextChange;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<MapContextDirective, never>;
18
+ static ɵdir: i0.ɵɵDirectiveDeclaration<MapContextDirective, "[igoMapContext]", never, {}, {}, never, never, false>;
19
+ }
@@ -1,20 +1,20 @@
1
- import { MatDialog } from '@angular/material/dialog';
2
- import { MessageService } from '@igo2/core';
3
- import type { IgoMap } from '@igo2/geo';
4
- import { ContextService } from '../../context-manager/shared/context.service';
5
- import * as i0 from "@angular/core";
6
- export declare class BookmarkButtonComponent {
7
- private dialog;
8
- private contextService;
9
- private messageService;
10
- get map(): IgoMap;
11
- set map(value: IgoMap);
12
- private _map;
13
- get color(): string;
14
- set color(value: string);
15
- private _color;
16
- constructor(dialog: MatDialog, contextService: ContextService, messageService: MessageService);
17
- createContext(): void;
18
- static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
19
- static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkButtonComponent, "igo-bookmark-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
20
- }
1
+ import { MatDialog } from '@angular/material/dialog';
2
+ import { MessageService } from '@igo2/core';
3
+ import type { IgoMap } from '@igo2/geo';
4
+ import { ContextService } from '../../context-manager/shared/context.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class BookmarkButtonComponent {
7
+ private dialog;
8
+ private contextService;
9
+ private messageService;
10
+ get map(): IgoMap;
11
+ set map(value: IgoMap);
12
+ private _map;
13
+ get color(): string;
14
+ set color(value: string);
15
+ private _color;
16
+ constructor(dialog: MatDialog, contextService: ContextService, messageService: MessageService);
17
+ createContext(): void;
18
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkButtonComponent, never>;
19
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkButtonComponent, "igo-bookmark-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
20
+ }
@@ -1,9 +1,9 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class BookmarkDialogComponent {
4
- dialogRef: MatDialogRef<BookmarkDialogComponent>;
5
- title: string;
6
- constructor(dialogRef: MatDialogRef<BookmarkDialogComponent>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, false>;
9
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class BookmarkDialogComponent {
4
+ dialogRef: MatDialogRef<BookmarkDialogComponent>;
5
+ title: string;
6
+ constructor(dialogRef: MatDialogRef<BookmarkDialogComponent>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<BookmarkDialogComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<BookmarkDialogComponent, "igo-bookmark-dialog", never, {}, {}, never, never, false>;
9
+ }
@@ -1,2 +1,2 @@
1
- export * from './bookmark-button.component';
2
- export * from './bookmark-dialog.component';
1
+ export * from './bookmark-button.component';
2
+ export * from './bookmark-dialog.component';
@@ -1,27 +1,27 @@
1
- import { ModuleWithProviders } from '@angular/core';
2
- import * as i0 from "@angular/core";
3
- import * as i1 from "./bookmark-button/bookmark-button.component";
4
- import * as i2 from "./bookmark-button/bookmark-dialog.component";
5
- import * as i3 from "./poi-button/poi-button.component";
6
- import * as i4 from "./poi-button/poi-dialog.component";
7
- import * as i5 from "./user-button/user-button.component";
8
- import * as i6 from "./user-button/user-dialog.component";
9
- import * as i7 from "@angular/common";
10
- import * as i8 from "@igo2/core";
11
- import * as i9 from "@igo2/common";
12
- import * as i10 from "@igo2/auth";
13
- import * as i11 from "@angular/forms";
14
- import * as i12 from "@angular/material/icon";
15
- import * as i13 from "@angular/material/button";
16
- import * as i14 from "@angular/material/select";
17
- import * as i15 from "@angular/material/core";
18
- import * as i16 from "@angular/material/tooltip";
19
- import * as i17 from "@angular/material/form-field";
20
- import * as i18 from "@angular/material/dialog";
21
- import * as i19 from "@angular/material/input";
22
- export declare class IgoContextMapButtonModule {
23
- static forRoot(): ModuleWithProviders<IgoContextMapButtonModule>;
24
- static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextMapButtonModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextMapButtonModule, [typeof i1.BookmarkButtonComponent, typeof i2.BookmarkDialogComponent, typeof i3.PoiButtonComponent, typeof i4.PoiDialogComponent, typeof i5.UserButtonComponent, typeof i6.UserDialogComponent], [typeof i7.CommonModule, typeof i8.IgoLanguageModule, typeof i9.IgoConfirmDialogModule, typeof i9.IgoStopPropagationModule, typeof i10.IgoAuthModule, typeof i11.FormsModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatSelectModule, typeof i15.MatOptionModule, typeof i16.MatTooltipModule, typeof i17.MatFormFieldModule, typeof i18.MatDialogModule, typeof i19.MatInputModule], [typeof i1.BookmarkButtonComponent, typeof i3.PoiButtonComponent, typeof i5.UserButtonComponent, typeof i2.BookmarkDialogComponent]>;
26
- static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextMapButtonModule>;
27
- }
1
+ import { ModuleWithProviders } from '@angular/core';
2
+ import * as i0 from "@angular/core";
3
+ import * as i1 from "./bookmark-button/bookmark-button.component";
4
+ import * as i2 from "./bookmark-button/bookmark-dialog.component";
5
+ import * as i3 from "./poi-button/poi-button.component";
6
+ import * as i4 from "./poi-button/poi-dialog.component";
7
+ import * as i5 from "./user-button/user-button.component";
8
+ import * as i6 from "./user-button/user-dialog.component";
9
+ import * as i7 from "@angular/common";
10
+ import * as i8 from "@igo2/core";
11
+ import * as i9 from "@igo2/common";
12
+ import * as i10 from "@igo2/auth";
13
+ import * as i11 from "@angular/forms";
14
+ import * as i12 from "@angular/material/icon";
15
+ import * as i13 from "@angular/material/button";
16
+ import * as i14 from "@angular/material/select";
17
+ import * as i15 from "@angular/material/core";
18
+ import * as i16 from "@angular/material/tooltip";
19
+ import * as i17 from "@angular/material/form-field";
20
+ import * as i18 from "@angular/material/dialog";
21
+ import * as i19 from "@angular/material/input";
22
+ export declare class IgoContextMapButtonModule {
23
+ static forRoot(): ModuleWithProviders<IgoContextMapButtonModule>;
24
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoContextMapButtonModule, never>;
25
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoContextMapButtonModule, [typeof i1.BookmarkButtonComponent, typeof i2.BookmarkDialogComponent, typeof i3.PoiButtonComponent, typeof i4.PoiDialogComponent, typeof i5.UserButtonComponent, typeof i6.UserDialogComponent], [typeof i7.CommonModule, typeof i8.IgoLanguageModule, typeof i9.IgoConfirmDialogModule, typeof i9.IgoStopPropagationModule, typeof i10.IgoAuthModule, typeof i11.FormsModule, typeof i12.MatIconModule, typeof i13.MatButtonModule, typeof i14.MatSelectModule, typeof i15.MatOptionModule, typeof i16.MatTooltipModule, typeof i17.MatFormFieldModule, typeof i18.MatDialogModule, typeof i19.MatInputModule], [typeof i1.BookmarkButtonComponent, typeof i3.PoiButtonComponent, typeof i5.UserButtonComponent, typeof i2.BookmarkDialogComponent]>;
26
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoContextMapButtonModule>;
27
+ }
@@ -1,3 +1,3 @@
1
- export * from './bookmark-button';
2
- export * from './poi-button';
3
- export * from './user-button';
1
+ export * from './bookmark-button';
2
+ export * from './poi-button';
3
+ export * from './user-button';
@@ -1,3 +1,3 @@
1
- export * from './poi-button.component';
2
- export * from './poi-dialog.component';
3
- export * from './shared';
1
+ export * from './poi-button.component';
2
+ export * from './poi-dialog.component';
3
+ export * from './shared';
@@ -1,34 +1,34 @@
1
- import { OnInit, OnDestroy } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import { MessageService, LanguageService } from '@igo2/core';
4
- import { ConfirmDialogService } from '@igo2/common';
5
- import { AuthService } from '@igo2/auth';
6
- import type { IgoMap } from '@igo2/geo';
7
- import { PoiService } from './shared/poi.service';
8
- import { Poi } from './shared/poi.interface';
9
- import * as i0 from "@angular/core";
10
- export declare class PoiButtonComponent implements OnInit, OnDestroy {
11
- private dialog;
12
- private authService;
13
- private poiService;
14
- private messageService;
15
- private languageService;
16
- private confirmDialogService;
17
- get map(): IgoMap;
18
- set map(value: IgoMap);
19
- private _map;
20
- get color(): string;
21
- set color(value: string);
22
- private _color;
23
- pois: Poi[];
24
- private authenticate$$;
25
- constructor(dialog: MatDialog, authService: AuthService, poiService: PoiService, messageService: MessageService, languageService: LanguageService, confirmDialogService: ConfirmDialogService);
26
- ngOnInit(): void;
27
- ngOnDestroy(): void;
28
- deletePoi(poi: Poi): void;
29
- private getPois;
30
- createPoi(): void;
31
- zoomOnPoi(id: any): void;
32
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiButtonComponent, never>;
33
- static ɵcmp: i0.ɵɵComponentDeclaration<PoiButtonComponent, "igo-poi-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
34
- }
1
+ import { OnInit, OnDestroy } from '@angular/core';
2
+ import { MatDialog } from '@angular/material/dialog';
3
+ import { MessageService, LanguageService } from '@igo2/core';
4
+ import { ConfirmDialogService } from '@igo2/common';
5
+ import { AuthService } from '@igo2/auth';
6
+ import type { IgoMap } from '@igo2/geo';
7
+ import { PoiService } from './shared/poi.service';
8
+ import { Poi } from './shared/poi.interface';
9
+ import * as i0 from "@angular/core";
10
+ export declare class PoiButtonComponent implements OnInit, OnDestroy {
11
+ private dialog;
12
+ private authService;
13
+ private poiService;
14
+ private messageService;
15
+ private languageService;
16
+ private confirmDialogService;
17
+ get map(): IgoMap;
18
+ set map(value: IgoMap);
19
+ private _map;
20
+ get color(): string;
21
+ set color(value: string);
22
+ private _color;
23
+ pois: Poi[];
24
+ private authenticate$$;
25
+ constructor(dialog: MatDialog, authService: AuthService, poiService: PoiService, messageService: MessageService, languageService: LanguageService, confirmDialogService: ConfirmDialogService);
26
+ ngOnInit(): void;
27
+ ngOnDestroy(): void;
28
+ deletePoi(poi: Poi): void;
29
+ private getPois;
30
+ createPoi(): void;
31
+ zoomOnPoi(id: any): void;
32
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoiButtonComponent, never>;
33
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoiButtonComponent, "igo-poi-button", never, { "map": "map"; "color": "color"; }, {}, never, never, false>;
34
+ }
@@ -1,9 +1,9 @@
1
- import { MatDialogRef } from '@angular/material/dialog';
2
- import * as i0 from "@angular/core";
3
- export declare class PoiDialogComponent {
4
- dialogRef: MatDialogRef<PoiDialogComponent>;
5
- title: string;
6
- constructor(dialogRef: MatDialogRef<PoiDialogComponent>);
7
- static ɵfac: i0.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
8
- static ɵcmp: i0.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, false>;
9
- }
1
+ import { MatDialogRef } from '@angular/material/dialog';
2
+ import * as i0 from "@angular/core";
3
+ export declare class PoiDialogComponent {
4
+ dialogRef: MatDialogRef<PoiDialogComponent>;
5
+ title: string;
6
+ constructor(dialogRef: MatDialogRef<PoiDialogComponent>);
7
+ static ɵfac: i0.ɵɵFactoryDeclaration<PoiDialogComponent, never>;
8
+ static ɵcmp: i0.ɵɵComponentDeclaration<PoiDialogComponent, "igo-poi-dialog", never, {}, {}, never, never, false>;
9
+ }