@igo2/integration 21.0.0 → 21.0.1-next.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/integration",
3
- "version": "21.0.0",
3
+ "version": "21.0.1-next.1",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -31,9 +31,9 @@
31
31
  "peerDependencies": {
32
32
  "@angular/common": "^21.0.0",
33
33
  "@angular/core": "^21.0.0",
34
- "@igo2/auth": "^21.0.0",
35
- "@igo2/context": "^21.0.0",
36
- "@igo2/geo": "^21.0.0",
34
+ "@igo2/auth": "^21.0.1-next.1",
35
+ "@igo2/context": "^21.0.1-next.1",
36
+ "@igo2/geo": "^21.0.1-next.1",
37
37
  "@turf/point-on-feature": "^7.3.0",
38
38
  "jspdf": "^4.2.0",
39
39
  "jspdf-autotable": "^5.0.0",
@@ -5,8 +5,8 @@ import * as _igo2_common_entity from '@igo2/common/entity';
5
5
  import { EntityStore, EntityTableComponent, EntityTableTemplate, EntityRecord, EntityState } from '@igo2/common/entity';
6
6
  import * as rxjs from 'rxjs';
7
7
  import { BehaviorSubject, Observable, ReplaySubject, Subscription } from 'rxjs';
8
- import { DetailedContext, EnvironmentOptions as EnvironmentOptions$3 } from '@igo2/context';
9
8
  import { WorkspaceStore, Workspace } from '@igo2/common/workspace';
9
+ import { DetailedContext, EnvironmentOptions as EnvironmentOptions$3 } from '@igo2/context';
10
10
  import { MatRadioChange } from '@angular/material/radio';
11
11
  import { Coordinate } from 'ol/coordinate';
12
12
  import { MediaService } from '@igo2/core/media';
@@ -237,43 +237,12 @@ declare class IgoAppCatalogModule {
237
237
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppCatalogModule>;
238
238
  }
239
239
 
240
- /**
241
- * Service that holds the state of the context module
242
- */
243
- declare class ContextState {
244
- private contextService;
245
- private toolService;
246
- private toolState;
247
- /**
248
- * Observable of the active context
249
- */
250
- context$: BehaviorSubject<DetailedContext | undefined>;
251
- constructor();
252
- /**
253
- * Set the active context
254
- * @param context Detailed context
255
- */
256
- private setContext;
257
- /**
258
- * Update the tool state with the context's tools
259
- * @param context Detailed context
260
- */
261
- private updateTools;
262
- /**
263
- * Set a new context and update the tool state
264
- * @param context Detailed context
265
- */
266
- private onContextChange;
267
- static ɵfac: i0.ɵɵFactoryDeclaration<ContextState, never>;
268
- static ɵprov: i0.ɵɵInjectableDeclaration<ContextState>;
269
- }
270
-
271
240
  declare class DirectionsToolComponent implements OnInit {
272
241
  private directionState;
273
242
  private mapState;
274
243
  private messageService;
275
244
  private storageService;
276
- contextState: ContextState;
245
+ private contextState;
277
246
  private authService;
278
247
  currentContextUri?: string;
279
248
  /**
@@ -383,6 +352,37 @@ declare class IgoAppWorkspaceModule {
383
352
  static ɵinj: i0.ɵɵInjectorDeclaration<IgoAppWorkspaceModule>;
384
353
  }
385
354
 
355
+ /**
356
+ * Service that holds the state of the context module
357
+ */
358
+ declare class ContextState {
359
+ private contextService;
360
+ private toolService;
361
+ private toolState;
362
+ /**
363
+ * Observable of the active context
364
+ */
365
+ context$: BehaviorSubject<DetailedContext | undefined>;
366
+ constructor();
367
+ /**
368
+ * Set the active context
369
+ * @param context Detailed context
370
+ */
371
+ private setContext;
372
+ /**
373
+ * Update the tool state with the context's tools
374
+ * @param context Detailed context
375
+ */
376
+ private updateTools;
377
+ /**
378
+ * Set a new context and update the tool state
379
+ * @param context Detailed context
380
+ */
381
+ private onContextChange;
382
+ static ɵfac: i0.ɵɵFactoryDeclaration<ContextState, never>;
383
+ static ɵprov: i0.ɵɵInjectableDeclaration<ContextState>;
384
+ }
385
+
386
386
  declare enum ImportExportType {
387
387
  layer = "layer",
388
388
  context = "context"
@@ -1105,6 +1105,7 @@ declare class AnalyticsListenerService {
1105
1105
  private contextState;
1106
1106
  private toolState;
1107
1107
  private mapState;
1108
+ private destroyRef;
1108
1109
  listen(): void;
1109
1110
  listenUser(): void;
1110
1111
  listenContext(): void;
@@ -1123,6 +1124,7 @@ declare const INTEGRATION_CONTEXT_DIRECTIVES: readonly [typeof ContextEditorTool
1123
1124
  * Service that holds the state of the catalog module
1124
1125
  */
1125
1126
  declare class CatalogState {
1127
+ private destroyRef;
1126
1128
  /**
1127
1129
  * Store that contains all the catalogs
1128
1130
  */