@eui/cli 22.0.0-alpha.84 → 22.0.0-alpha.86
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/lib/skeletons/_angular/base/package.json +3 -3
- package/lib/skeletons/_angular/base/src/app/app-starter.service.ts +10 -1
- package/lib/skeletons/_angular/base/src/config/global.ts +4 -1
- package/lib/skeletons/_angular/base-mobile/package.json +2 -2
- package/lib/skeletons/_angular/base-mobile/src/app/app-starter.service.ts +10 -1
- package/lib/skeletons/_angular/base-mobile/src/config/global.ts +4 -1
- package/lib/skeletons/_angular/options/ecl-ec/src/config/global.ts +4 -1
- package/lib/skeletons/_angular/options/ecl-eu/src/config/global.ts +4 -1
- package/lib/skeletons/_angular/options/pnpm/package.json +11 -11
- package/lib/skeletons/_react/base/package.json +3 -3
- package/lib/skeletons/_react/options/pnpm/package.json +5 -5
- package/package.json +1 -1
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.86",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -20,10 +20,10 @@
|
|
|
20
20
|
},
|
|
21
21
|
"private": true,
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@eui/deps-base": "22.0.0-alpha.
|
|
23
|
+
"@eui/deps-base": "22.0.0-alpha.86"
|
|
24
24
|
},
|
|
25
25
|
"devDependencies": {
|
|
26
|
-
"@eui/deps-base-dev": "22.0.0-alpha.
|
|
26
|
+
"@eui/deps-base-dev": "22.0.0-alpha.86",
|
|
27
27
|
"npm-run-all": "4.1.5",
|
|
28
28
|
"json-server": "1.0.0-beta.3",
|
|
29
29
|
"nodemon": "3.1.11",
|
|
@@ -12,11 +12,20 @@ import {
|
|
|
12
12
|
import { catchError, Observable, of } from 'rxjs';
|
|
13
13
|
import { switchMap } from 'rxjs/operators';
|
|
14
14
|
|
|
15
|
+
/**
|
|
16
|
+
* Shape of the `dashboard` user preference of this app.
|
|
17
|
+
* Nothing is stored there by this skeleton: declare your own fields here.
|
|
18
|
+
*/
|
|
19
|
+
export type AppDashboardPreferences = Record<string, never>;
|
|
20
|
+
|
|
21
|
+
/** User preferences of this app: typed dashboard, no additional custom keys. */
|
|
22
|
+
export type AppUserPreferences = UserPreferences<AppDashboardPreferences, never>;
|
|
23
|
+
|
|
15
24
|
@Injectable({
|
|
16
25
|
providedIn: 'root',
|
|
17
26
|
})
|
|
18
27
|
export class AppStarterService {
|
|
19
|
-
defaultUserPreferences:
|
|
28
|
+
defaultUserPreferences: AppUserPreferences | undefined;
|
|
20
29
|
private userService: UserService = inject(UserService);
|
|
21
30
|
private i18nService: I18nService = inject(I18nService);
|
|
22
31
|
private config: EuiAppConfig = inject(CONFIG_TOKEN);
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { GlobalConfig } from '@eui/core';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/** Type of the custom (non-eUI) values added at the root of the global config, e.g. `appTitle`. */
|
|
4
|
+
export type AppGlobalConfigValue = string;
|
|
5
|
+
|
|
6
|
+
export const GLOBAL: GlobalConfig<AppGlobalConfigValue> = {
|
|
4
7
|
appTitle: 'CSDR-app',
|
|
5
8
|
i18n: {
|
|
6
9
|
i18nService: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.86",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
"@eui/deps-base-next": "19.3.17",
|
|
24
24
|
"@eui/mobile-core": "22.0.0-alpha.1",
|
|
25
25
|
"@eui/mobile-styles": "22.0.0-alpha.1",
|
|
26
|
-
"@eui/deps-base": "22.0.0-alpha.
|
|
26
|
+
"@eui/deps-base": "22.0.0-alpha.86"
|
|
27
27
|
},
|
|
28
28
|
"resolutions": {
|
|
29
29
|
"js-yaml": ">=3.13.1",
|
|
@@ -11,11 +11,20 @@ import { HttpClient } from '@angular/common/http';
|
|
|
11
11
|
import { Observable, of, zip, catchError } from 'rxjs';
|
|
12
12
|
import { switchMap } from 'rxjs/operators';
|
|
13
13
|
|
|
14
|
+
/**
|
|
15
|
+
* Shape of the `dashboard` user preference of this app.
|
|
16
|
+
* Nothing is stored there by this skeleton: declare your own fields here.
|
|
17
|
+
*/
|
|
18
|
+
export type AppDashboardPreferences = Record<string, never>;
|
|
19
|
+
|
|
20
|
+
/** User preferences of this app: typed dashboard, no additional custom keys. */
|
|
21
|
+
export type AppUserPreferences = UserPreferences<AppDashboardPreferences, never>;
|
|
22
|
+
|
|
14
23
|
@Injectable({
|
|
15
24
|
providedIn: 'root',
|
|
16
25
|
})
|
|
17
26
|
export class AppStarterService {
|
|
18
|
-
defaultUserPreferences:
|
|
27
|
+
defaultUserPreferences: AppUserPreferences;
|
|
19
28
|
|
|
20
29
|
constructor(
|
|
21
30
|
protected userService: UserService,
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { GlobalConfig } from '@eui/core';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/** Type of the custom (non-eUI) values added at the root of the global config, e.g. `appTitle`. */
|
|
4
|
+
export type AppGlobalConfigValue = string;
|
|
5
|
+
|
|
6
|
+
export const GLOBAL: GlobalConfig<AppGlobalConfigValue> = {
|
|
4
7
|
appTitle: 'CSDR-app',
|
|
5
8
|
i18n: {
|
|
6
9
|
i18nService: {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { GlobalConfig } from '@eui/core';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/** Type of the custom (non-eUI) values added at the root of the global config, e.g. `appTitle`. */
|
|
4
|
+
export type AppGlobalConfigValue = string;
|
|
5
|
+
|
|
6
|
+
export const GLOBAL: GlobalConfig<AppGlobalConfigValue> = {
|
|
4
7
|
appTitle: 'CSDR-app',
|
|
5
8
|
i18n: {
|
|
6
9
|
i18nService: {
|
|
@@ -1,6 +1,9 @@
|
|
|
1
1
|
import { GlobalConfig } from '@eui/core';
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
/** Type of the custom (non-eUI) values added at the root of the global config, e.g. `appTitle`. */
|
|
4
|
+
export type AppGlobalConfigValue = string;
|
|
5
|
+
|
|
6
|
+
export const GLOBAL: GlobalConfig<AppGlobalConfigValue> = {
|
|
4
7
|
appTitle: 'CSDR-app',
|
|
5
8
|
i18n: {
|
|
6
9
|
i18nService: {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-angular-app",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.86",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"ng": "ng",
|
|
@@ -58,19 +58,19 @@
|
|
|
58
58
|
"ngx-markdown": "22.0.0",
|
|
59
59
|
"prismjs": "1.30.0",
|
|
60
60
|
"@stackblitz/sdk": "1.11.1",
|
|
61
|
-
"@eui/base": "22.0.0-alpha.
|
|
62
|
-
"@eui/core": "22.0.0-alpha.
|
|
63
|
-
"@eui/styles": "22.0.0-alpha.
|
|
64
|
-
"@eui/components": "22.0.0-alpha.
|
|
65
|
-
"@eui/showcase": "22.0.0-alpha.
|
|
66
|
-
"@eui/ecl": "22.0.0-alpha.
|
|
67
|
-
"@eui/eds": "22.0.0-alpha.
|
|
68
|
-
"@eui/eds-styles": "22.0.0-alpha.
|
|
61
|
+
"@eui/base": "22.0.0-alpha.86",
|
|
62
|
+
"@eui/core": "22.0.0-alpha.86",
|
|
63
|
+
"@eui/styles": "22.0.0-alpha.86",
|
|
64
|
+
"@eui/components": "22.0.0-alpha.86",
|
|
65
|
+
"@eui/showcase": "22.0.0-alpha.86",
|
|
66
|
+
"@eui/ecl": "22.0.0-alpha.86",
|
|
67
|
+
"@eui/eds": "22.0.0-alpha.86",
|
|
68
|
+
"@eui/eds-styles": "22.0.0-alpha.86",
|
|
69
69
|
"@eui/eds-wc": "22.0.0-alpha.25",
|
|
70
|
-
"@eui/eds-shared": "22.0.0-alpha.
|
|
70
|
+
"@eui/eds-shared": "22.0.0-alpha.86"
|
|
71
71
|
},
|
|
72
72
|
"devDependencies": {
|
|
73
|
-
"@eui/cli": "22.0.0-alpha.
|
|
73
|
+
"@eui/cli": "22.0.0-alpha.86",
|
|
74
74
|
"@angular/compiler-cli": "22.2.0",
|
|
75
75
|
"@angular/language-service": "22.2.0",
|
|
76
76
|
"@angular/build": "22.2.0",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-react-app",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.86",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"private": true,
|
|
6
6
|
"type": "module",
|
|
@@ -15,10 +15,10 @@
|
|
|
15
15
|
"test": "vitest run"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@eui/deps-base-react": "22.0.0-alpha.
|
|
18
|
+
"@eui/deps-base-react": "22.0.0-alpha.86"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|
|
21
|
-
"@eui/cli": "22.0.0-alpha.
|
|
21
|
+
"@eui/cli": "22.0.0-alpha.86",
|
|
22
22
|
"npm-run-all": "4.1.5",
|
|
23
23
|
"json-server": "1.0.0-beta.3",
|
|
24
24
|
"nodemon": "3.1.11",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eui-react-app",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.86",
|
|
4
4
|
"license": "EUPL-1.1",
|
|
5
5
|
"private": true,
|
|
6
6
|
"type": "module",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"react-dom": "19.3.0",
|
|
20
20
|
"react-router-dom": "7.18.4",
|
|
21
21
|
"luxon": "3.7.2",
|
|
22
|
-
"@eui/eds-styles": "22.0.0-alpha.
|
|
23
|
-
"@eui/eds-react": "22.0.0-alpha.
|
|
24
|
-
"@eui/eds-shared": "22.0.0-alpha.
|
|
22
|
+
"@eui/eds-styles": "22.0.0-alpha.86",
|
|
23
|
+
"@eui/eds-react": "22.0.0-alpha.86",
|
|
24
|
+
"@eui/eds-shared": "22.0.0-alpha.86"
|
|
25
25
|
},
|
|
26
26
|
"devDependencies": {
|
|
27
|
-
"@eui/cli": "22.0.0-alpha.
|
|
27
|
+
"@eui/cli": "22.0.0-alpha.86",
|
|
28
28
|
"typescript": "6.0.3",
|
|
29
29
|
"@types/react": "19.3.0",
|
|
30
30
|
"@types/react-dom": "19.3.0",
|