@igo2/core 19.0.3 → 20.0.0-next.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.
Files changed (119) hide show
  1. package/activity/index.d.ts +29 -5
  2. package/analytics/index.d.ts +35 -5
  3. package/config/index.d.ts +63 -3
  4. package/environment/index.d.ts +21 -5
  5. package/fesm2022/igo2-core-activity.mjs +13 -16
  6. package/fesm2022/igo2-core-activity.mjs.map +1 -1
  7. package/fesm2022/igo2-core-analytics.mjs +8 -9
  8. package/fesm2022/igo2-core-analytics.mjs.map +1 -1
  9. package/fesm2022/igo2-core-config.mjs +14 -14
  10. package/fesm2022/igo2-core-config.mjs.map +1 -1
  11. package/fesm2022/igo2-core-language.mjs +13 -15
  12. package/fesm2022/igo2-core-language.mjs.map +1 -1
  13. package/fesm2022/igo2-core-media.mjs +8 -8
  14. package/fesm2022/igo2-core-media.mjs.map +1 -1
  15. package/fesm2022/igo2-core-message.mjs +15 -21
  16. package/fesm2022/igo2-core-message.mjs.map +1 -1
  17. package/fesm2022/igo2-core-monitoring.mjs.map +1 -1
  18. package/fesm2022/igo2-core-network.mjs +9 -11
  19. package/fesm2022/igo2-core-network.mjs.map +1 -1
  20. package/fesm2022/igo2-core-regex.mjs +8 -9
  21. package/fesm2022/igo2-core-regex.mjs.map +1 -1
  22. package/fesm2022/igo2-core-request.mjs +24 -27
  23. package/fesm2022/igo2-core-request.mjs.map +1 -1
  24. package/fesm2022/igo2-core-route.mjs +12 -16
  25. package/fesm2022/igo2-core-route.mjs.map +1 -1
  26. package/fesm2022/igo2-core-storage.mjs +8 -9
  27. package/fesm2022/igo2-core-storage.mjs.map +1 -1
  28. package/fesm2022/igo2-core.mjs +4 -4
  29. package/fesm2022/igo2-core.mjs.map +1 -1
  30. package/index.d.ts +16 -5
  31. package/language/index.d.ts +83 -3
  32. package/media/index.d.ts +27 -5
  33. package/message/index.d.ts +70 -3
  34. package/monitoring/index.d.ts +42 -5
  35. package/network/index.d.ts +27 -5
  36. package/package.json +8 -11
  37. package/regex/index.d.ts +16 -5
  38. package/request/index.d.ts +37 -5
  39. package/route/index.d.ts +63 -5
  40. package/src/theming/themes/_theme.scss +1 -3
  41. package/storage/index.d.ts +46 -5
  42. package/theming/prebuilt-themes/blue-theme.css +833 -553
  43. package/theming/prebuilt-themes/bluedark-theme.css +833 -553
  44. package/theming/prebuilt-themes/bluedq-theme.css +833 -553
  45. package/theming/prebuilt-themes/teal-theme.css +833 -553
  46. package/user/index.d.ts +8 -5
  47. package/activity/activity.interceptor.d.ts +0 -11
  48. package/activity/activity.module.d.ts +0 -8
  49. package/activity/activity.service.d.ts +0 -10
  50. package/activity/public_api.d.ts +0 -3
  51. package/analytics/analytics.interface.d.ts +0 -10
  52. package/analytics/analytics.service.d.ts +0 -22
  53. package/analytics/public_api.d.ts +0 -2
  54. package/config/config-deprecated.d.ts +0 -3
  55. package/config/config.interface.d.ts +0 -12
  56. package/config/config.module.d.ts +0 -11
  57. package/config/config.provider.d.ts +0 -4
  58. package/config/config.service.d.ts +0 -27
  59. package/config/public_api.d.ts +0 -5
  60. package/config/version.d.ts +0 -7
  61. package/environment/environment.interface.d.ts +0 -18
  62. package/environment/public_api.d.ts +0 -1
  63. package/language/language.module.d.ts +0 -7
  64. package/language/public_api.d.ts +0 -2
  65. package/language/shared/index.d.ts +0 -6
  66. package/language/shared/language-mock.provider.d.ts +0 -2
  67. package/language/shared/language.interface.d.ts +0 -10
  68. package/language/shared/language.loader.d.ts +0 -21
  69. package/language/shared/language.provider.d.ts +0 -25
  70. package/language/shared/language.service.d.ts +0 -15
  71. package/language/shared/missing-translation.guard.d.ts +0 -4
  72. package/lib/core.module.d.ts +0 -13
  73. package/media/media.enum.d.ts +0 -9
  74. package/media/media.service.d.ts +0 -16
  75. package/media/public_api.d.ts +0 -2
  76. package/message/message.module.d.ts +0 -11
  77. package/message/public_api.d.ts +0 -2
  78. package/message/shared/index.d.ts +0 -4
  79. package/message/shared/message.enum.d.ts +0 -8
  80. package/message/shared/message.interface.d.ts +0 -21
  81. package/message/shared/message.provider.d.ts +0 -2
  82. package/message/shared/message.service.d.ts +0 -31
  83. package/message/src/message.theme.scss +0 -21
  84. package/monitoring/__mocks__/index.d.ts +0 -1
  85. package/monitoring/__mocks__/monitoring-mock.d.ts +0 -4
  86. package/monitoring/public_api.d.ts +0 -3
  87. package/monitoring/sentry/index.d.ts +0 -3
  88. package/monitoring/sentry/sentry.d.ts +0 -4
  89. package/monitoring/sentry/sentry.interface.d.ts +0 -8
  90. package/monitoring/sentry/sentry.provider.d.ts +0 -15
  91. package/monitoring/sentry/sentry.utils.d.ts +0 -2
  92. package/monitoring/shared/any-monitoring.interface.d.ts +0 -2
  93. package/monitoring/shared/index.d.ts +0 -3
  94. package/monitoring/shared/monitoring.d.ts +0 -3
  95. package/monitoring/shared/monitoring.interface.d.ts +0 -7
  96. package/network/network.interfaces.d.ts +0 -3
  97. package/network/network.service.d.ts +0 -21
  98. package/network/public_api.d.ts +0 -2
  99. package/public_api.d.ts +0 -2
  100. package/regex/public_api.d.ts +0 -2
  101. package/regex/regex.interface.d.ts +0 -1
  102. package/regex/regex.service.d.ts +0 -12
  103. package/request/error.interceptor.d.ts +0 -14
  104. package/request/error.module.d.ts +0 -9
  105. package/request/logging.interceptor.d.ts +0 -8
  106. package/request/logging.module.d.ts +0 -8
  107. package/request/public_api.d.ts +0 -4
  108. package/route/public_api.d.ts +0 -2
  109. package/route/route.interface.d.ts +0 -36
  110. package/route/route.service.d.ts +0 -23
  111. package/src/core.theme.scss +0 -5
  112. package/src/packages.import.scss +0 -4
  113. package/src/theming/all-theme.scss +0 -10
  114. package/storage/public_api.d.ts +0 -3
  115. package/storage/storage.d.ts +0 -15
  116. package/storage/storage.interface.d.ts +0 -20
  117. package/storage/storage.service.d.ts +0 -10
  118. package/user/public_api.d.ts +0 -1
  119. package/user/user.interface.d.ts +0 -6
@@ -1,5 +1,42 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/core/monitoring" />
5
- export * from './public_api';
1
+ import { BrowserOptions, ErrorHandlerOptions, browserTracingIntegration } from '@sentry/angular';
2
+ import { Integration } from '@sentry/core';
3
+ import { Provider, EnvironmentProviders, InjectionToken } from '@angular/core';
4
+ import { BaseUser } from '@igo2/core/user';
5
+
6
+ type MonitoringProvider = 'sentry';
7
+ interface MonitoringOptions {
8
+ provider: MonitoringProvider;
9
+ /** Add the user info(id, name, email) to the event request */
10
+ identifyUser?: boolean;
11
+ logErrors?: boolean;
12
+ }
13
+
14
+ type SentryMonitoringOptions = Omit<BrowserOptions, 'integrations'> & MonitoringOptions & {
15
+ provider: 'sentry';
16
+ errorHandlerOptions?: ErrorHandlerOptions;
17
+ integrations?: Integration[];
18
+ };
19
+
20
+ declare const provideSentryMonitoring: (options: SentryMonitoringOptions, integrations?: SentryIntegrationFactory<SentryIntegrationKind>[]) => (Provider | EnvironmentProviders)[];
21
+ interface SentryIntegration<KindT extends SentryIntegrationKind> {
22
+ kind: KindT;
23
+ providers: (Provider | EnvironmentProviders)[];
24
+ }
25
+ type SentryIntegrationFactory<KindT extends SentryIntegrationKind> = (sentryOptions: SentryMonitoringOptions) => SentryIntegration<KindT>;
26
+ declare enum SentryIntegrationKind {
27
+ Tracing = 0,
28
+ Replay = 1
29
+ }
30
+ declare function withTracingIntegration(options: Parameters<typeof browserTracingIntegration>[0]): SentryIntegrationFactory<SentryIntegrationKind.Tracing>;
31
+
32
+ declare const identifySentryUser: (user: BaseUser | null) => void;
33
+
34
+ type AnyMonitoringOptions = SentryMonitoringOptions;
35
+
36
+ declare const MONITORING_OPTIONS: InjectionToken<MonitoringOptions>;
37
+
38
+ declare const MOCK_SENTRY_OPTIONS: SentryMonitoringOptions;
39
+ declare const MOCK_MONITORING_OPTIONS: AnyMonitoringOptions;
40
+
41
+ export { MOCK_MONITORING_OPTIONS, MOCK_SENTRY_OPTIONS, MONITORING_OPTIONS, SentryIntegrationKind, identifySentryUser, provideSentryMonitoring, withTracingIntegration };
42
+ export type { AnyMonitoringOptions, MonitoringOptions, MonitoringProvider, SentryIntegration, SentryMonitoringOptions };
@@ -1,5 +1,27 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/core/network" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { OnDestroy } from '@angular/core';
3
+ import { Observable } from 'rxjs';
4
+
5
+ interface ConnectionState {
6
+ connection: boolean;
7
+ }
8
+
9
+ declare class NetworkService implements OnDestroy {
10
+ private messageService;
11
+ private injector;
12
+ private stateChangeEventEmitter;
13
+ private onlineSubscription;
14
+ private offlineSubscription;
15
+ private previousMessageId;
16
+ private state;
17
+ constructor();
18
+ private checkNetworkState;
19
+ private emitEvent;
20
+ ngOnDestroy(): void;
21
+ currentState(reportState?: boolean): Observable<ConnectionState>;
22
+ static ɵfac: i0.ɵɵFactoryDeclaration<NetworkService, never>;
23
+ static ɵprov: i0.ɵɵInjectableDeclaration<NetworkService>;
24
+ }
25
+
26
+ export { NetworkService };
27
+ export type { ConnectionState };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@igo2/core",
3
- "version": "19.0.3",
3
+ "version": "20.0.0-next.2",
4
4
  "description": "IGO Library",
5
5
  "author": "IGO Community",
6
6
  "keywords": [
@@ -34,9 +34,6 @@
34
34
  "./partial/*": {
35
35
  "sass": "./src/style/partial/*.scss"
36
36
  },
37
- "./theme": {
38
- "sass": "./src/core.theme.scss"
39
- },
40
37
  "./theming/*": {
41
38
  "sass": "./src/theming/*.scss"
42
39
  },
@@ -107,13 +104,13 @@
107
104
  "tslib": "^2.6.0"
108
105
  },
109
106
  "peerDependencies": {
110
- "@angular/cdk": "^19.0.0",
111
- "@angular/common": "^19.0.0",
112
- "@angular/core": "^19.0.0",
113
- "@angular/forms": "^19.0.0",
114
- "@angular/platform-browser": "^19.0.0",
115
- "@angular/router": "^19.0.0",
116
- "@igo2/utils": "^19.0.3",
107
+ "@angular/cdk": "^20.0.0",
108
+ "@angular/common": "^20.0.0",
109
+ "@angular/core": "^20.0.0",
110
+ "@angular/forms": "^20.0.0",
111
+ "@angular/platform-browser": "^20.0.0",
112
+ "@angular/router": "^20.0.0",
113
+ "@igo2/utils": "^20.0.0-next.2",
117
114
  "ngx-toastr": "^19.0.0",
118
115
  "@ngx-translate/core": "^17.0.0",
119
116
  "@ngx-translate/http-loader": "^17.0.0",
package/regex/index.d.ts CHANGED
@@ -1,5 +1,16 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/core/regex" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+
3
+ type RegexOptions = Record<string, any>;
4
+
5
+ declare class RegexService {
6
+ private config;
7
+ protected options: RegexOptions;
8
+ constructor();
9
+ getAll(): RegexOptions;
10
+ get(key: any): any;
11
+ static ɵfac: i0.ɵɵFactoryDeclaration<RegexService, never>;
12
+ static ɵprov: i0.ɵɵInjectableDeclaration<RegexService>;
13
+ }
14
+
15
+ export { RegexService };
16
+ export type { RegexOptions };
@@ -1,5 +1,37 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/core/request" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { ModuleWithProviders } from '@angular/core';
3
+ import { HttpInterceptor, HttpRequest, HttpHandler, HttpEvent } from '@angular/common/http';
4
+ import { Observable } from 'rxjs';
5
+
6
+ declare class IgoErrorModule {
7
+ static forRoot(): ModuleWithProviders<IgoErrorModule>;
8
+ constructor();
9
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoErrorModule, never>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoErrorModule, never, never, never>;
11
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoErrorModule>;
12
+ }
13
+
14
+ declare class ErrorInterceptor implements HttpInterceptor {
15
+ private messageService;
16
+ intercept(originalReq: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
17
+ private handleError;
18
+ private handleCaughtError;
19
+ private handleUncaughtError;
20
+ static ɵfac: i0.ɵɵFactoryDeclaration<ErrorInterceptor, never>;
21
+ static ɵprov: i0.ɵɵInjectableDeclaration<ErrorInterceptor>;
22
+ }
23
+
24
+ declare class IgoLoggingModule {
25
+ static forRoot(): ModuleWithProviders<IgoLoggingModule>;
26
+ static ɵfac: i0.ɵɵFactoryDeclaration<IgoLoggingModule, never>;
27
+ static ɵmod: i0.ɵɵNgModuleDeclaration<IgoLoggingModule, never, never, never>;
28
+ static ɵinj: i0.ɵɵInjectorDeclaration<IgoLoggingModule>;
29
+ }
30
+
31
+ declare class LoggingInterceptor implements HttpInterceptor {
32
+ intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>;
33
+ static ɵfac: i0.ɵɵFactoryDeclaration<LoggingInterceptor, never>;
34
+ static ɵprov: i0.ɵɵInjectableDeclaration<LoggingInterceptor>;
35
+ }
36
+
37
+ export { ErrorInterceptor, IgoErrorModule, IgoLoggingModule, LoggingInterceptor };
package/route/index.d.ts CHANGED
@@ -1,5 +1,63 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/core/route" />
5
- export * from './public_api';
1
+ import * as i0 from '@angular/core';
2
+ import { InjectionToken } from '@angular/core';
3
+ import { ActivatedRoute, Params } from '@angular/router';
4
+ import { Observable } from 'rxjs';
5
+
6
+ interface RouteServiceOptions {
7
+ centerKey?: string;
8
+ zoomKey?: string;
9
+ projectionKey?: string;
10
+ contextKey?: string;
11
+ searchKey?: string;
12
+ visibleOnLayersKey?: string;
13
+ visibleOffLayersKey?: string;
14
+ directionsCoordKey?: string;
15
+ directionsOptionsKey?: string;
16
+ toolKey?: string;
17
+ wmsUrlKey?: string;
18
+ wmsLayersKey?: string;
19
+ wmtsUrlKey?: string;
20
+ wmtsLayersKey?: string;
21
+ arcgisUrlKey?: string;
22
+ arcgisLayersKey?: string;
23
+ iarcgisUrlKey?: string;
24
+ iarcgisLayersKey?: string;
25
+ tarcgisUrlKey?: string;
26
+ tarcgisLayersKey?: string;
27
+ vectorKey?: string;
28
+ zoomExtentKey?: string;
29
+ exactMatchKey?: string;
30
+ focusFirstResultKey?: string;
31
+ searchGeomKey?: string;
32
+ sidenavKey?: string;
33
+ urlsKey?: string;
34
+ languageKey?: string;
35
+ positionKey?: string;
36
+ layersKey?: string;
37
+ groupsKey?: string;
38
+ rotationKey?: string;
39
+ }
40
+ declare const ROUTE_OPTIONS: RouteServiceOptions;
41
+ declare const LEGACY_ROUTE_OPTIONS: RouteServiceOptions;
42
+
43
+ declare const ROUTE_SERVICE_OPTIONS: InjectionToken<RouteServiceOptions>;
44
+ declare function provideRouteServiceOptions(options: RouteServiceOptions): {
45
+ provide: InjectionToken<RouteServiceOptions>;
46
+ useValue: RouteServiceOptions;
47
+ };
48
+ declare class RouteService {
49
+ private router;
50
+ route: ActivatedRoute;
51
+ options: RouteServiceOptions;
52
+ /**
53
+ * @deprecated use the new option of context-service
54
+ */
55
+ legacyOptions: RouteServiceOptions;
56
+ constructor();
57
+ get queryParams(): Observable<Params>;
58
+ static ɵfac: i0.ɵɵFactoryDeclaration<RouteService, never>;
59
+ static ɵprov: i0.ɵɵInjectableDeclaration<RouteService>;
60
+ }
61
+
62
+ export { LEGACY_ROUTE_OPTIONS, ROUTE_OPTIONS, ROUTE_SERVICE_OPTIONS, RouteService, provideRouteServiceOptions };
63
+ export type { RouteServiceOptions };
@@ -1,7 +1,6 @@
1
1
  @use '@angular/material' as mat;
2
2
  @use '@igo2/sdg-core' as sdg;
3
3
 
4
- @use '../all-theme';
5
4
  @use './overrides';
6
5
 
7
6
  @mixin theme($theme, $definedTheme, $name) {
@@ -11,13 +10,12 @@
11
10
  @include sdg.system-tokens();
12
11
 
13
12
  @include customCss();
13
+
14
14
  @include mat.theme($theme);
15
15
 
16
16
  @include mat.color-variants-backwards-compatibility($definedTheme);
17
17
 
18
18
  @include overrides.overrides();
19
-
20
- @include all-theme.all-component-themes($theme);
21
19
  }
22
20
 
23
21
  @mixin customCss() {
@@ -1,5 +1,46 @@
1
- /**
2
- * Generated bundle index. Do not edit.
3
- */
4
- /// <amd-module name="@igo2/core/storage" />
5
- export * from './public_api';
1
+ import { ConfigService } from '@igo2/core/config';
2
+ import { BehaviorSubject } from 'rxjs';
3
+ import * as i0 from '@angular/core';
4
+
5
+ declare enum StorageScope {
6
+ SESSION = "Session",
7
+ LOCAL = "Local"
8
+ }
9
+ interface StorageOptions {
10
+ key: string;
11
+ }
12
+ interface StorageServiceEvent {
13
+ key?: string;
14
+ scope: StorageScope;
15
+ event: StorageServiceEventEnum;
16
+ previousValue?: any;
17
+ currentValue?: any;
18
+ }
19
+ declare enum StorageServiceEventEnum {
20
+ ADDED = "Added",
21
+ MODIFIED = "Modified",
22
+ REMOVED = "Removed",
23
+ CLEARED = "Cleared"
24
+ }
25
+
26
+ declare abstract class BaseStorage<T extends StorageOptions = StorageOptions> {
27
+ protected options?: T;
28
+ storageChange$: BehaviorSubject<StorageServiceEvent>;
29
+ constructor(config: ConfigService);
30
+ /**
31
+ * Use to get the data found in storage file
32
+ */
33
+ get(key: string, scope?: StorageScope): string | object | boolean | number;
34
+ set(key: string, value: string | object | boolean | number, scope?: StorageScope): void;
35
+ remove(key: string, scope?: StorageScope): void;
36
+ clear(scope?: StorageScope): void;
37
+ }
38
+
39
+ declare class StorageService extends BaseStorage<StorageOptions> {
40
+ constructor();
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<StorageService, never>;
42
+ static ɵprov: i0.ɵɵInjectableDeclaration<StorageService>;
43
+ }
44
+
45
+ export { BaseStorage, StorageScope, StorageService, StorageServiceEventEnum };
46
+ export type { StorageOptions, StorageServiceEvent };