@eui/cli 17.0.0-next.26 → 17.0.0-next.27

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.
@@ -1 +1 @@
1
- 17.0.0-next.26
1
+ 17.0.0-next.27
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "17.0.0-next.26",
3
+ "version": "17.0.0-next.27",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -20,6 +20,6 @@
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base": "17.0.0-next.26"
23
+ "@eui/deps-base": "17.0.0-next.27"
24
24
  }
25
25
  }
@@ -1,12 +1,12 @@
1
- <eui-app [userInfos]="userInfos?.fullName">
1
+ <eui-app>
2
2
  <eui-app-toolbar>
3
3
  <eui-toolbar>
4
4
  <eui-toolbar-logo></eui-toolbar-logo>
5
5
  <eui-toolbar-app appName="appName"></eui-toolbar-app>
6
6
  <eui-toolbar-environment>MOCK</eui-toolbar-environment>
7
- <eui-toolbar-items>
7
+ <eui-toolbar-items euiPositionRight>
8
8
  <eui-toolbar-item>
9
- <eui-user-profile>
9
+ <eui-user-profile subInfos="eUI developer" isShowAvatarInitials>
10
10
  <eui-user-profile-menu>
11
11
  <eui-user-profile-menu-item>
12
12
  <eui-icon-svg icon="old-eui-person-thin"></eui-icon-svg> {{ 'eui.my-profile-informations' | translate }}
@@ -1,22 +1,10 @@
1
- import { Component, OnDestroy, OnInit } from '@angular/core';
2
- import { Store } from '@ngrx/store';
3
- import {
4
- getUserState,
5
- UserState,
6
- } from '@eui/core';
7
- import { Observable, Subscription } from 'rxjs';
1
+ import { Component } from '@angular/core';
8
2
 
9
3
  @Component({
10
4
  selector: 'app-root',
11
5
  templateUrl: './app.component.html',
12
6
  })
13
- export class AppComponent implements OnDestroy {
14
- userInfos: UserState;
15
- // Observe state changes
16
- userState: Observable<UserState>;
17
- // an array to keep all subscriptions and easily unsubscribe
18
- subs: Subscription[] = [];
19
-
7
+ export class AppComponent {
20
8
  sidebarItems = [
21
9
  { label: 'Home', url: 'screen/home' },
22
10
  { label: 'Module 1', url: 'screen/module1', children: [
@@ -31,18 +19,4 @@ export class AppComponent implements OnDestroy {
31
19
  { label: 'Title label 3', subLabel: 'Subtitle label' },
32
20
  { label: 'Title label 4', subLabel: 'Subtitle label' },
33
21
  ];
34
-
35
- constructor(
36
- private store: Store<UserState>,
37
- ) {
38
- this.userState = this.store.select(getUserState);
39
- this.subs.push(this.userState.subscribe((user: UserState) => {
40
- this.userInfos = { ...user };
41
- console.log(user);
42
- }));
43
- }
44
-
45
- ngOnDestroy() {
46
- this.subs.forEach((s: Subscription) => s.unsubscribe());
47
- }
48
22
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "17.0.0-next.26",
3
+ "version": "17.0.0-next.27",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -20,7 +20,7 @@
20
20
  },
21
21
  "private": true,
22
22
  "dependencies": {
23
- "@eui/deps-base": "17.0.0-next.26",
23
+ "@eui/deps-base": "17.0.0-next.27",
24
24
  "@eui/mobile-core": "15.1.0",
25
25
  "@eui/mobile-styles": "15.1.0"
26
26
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "17.0.0-next.26",
3
+ "version": "17.0.0-next.27",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -21,6 +21,6 @@
21
21
  },
22
22
  "private": true,
23
23
  "dependencies": {
24
- "@eui/deps-base": "17.0.0-next.26"
24
+ "@eui/deps-base": "17.0.0-next.27"
25
25
  }
26
26
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "17.0.0-next.26",
3
+ "version": "17.0.0-next.27",
4
4
  "license": "EUPL-1.1",
5
5
  "scripts": {
6
6
  "ng": "ng",
@@ -18,6 +18,6 @@
18
18
  },
19
19
  "private": true,
20
20
  "dependencies": {
21
- "@eui/deps-base": "17.0.0-next.26"
21
+ "@eui/deps-base": "17.0.0-next.27"
22
22
  }
23
23
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eui-angular-app",
3
- "version": "17.0.0-next.26",
3
+ "version": "17.0.0-next.27",
4
4
  "license": "EUPL-1.1",
5
5
  "description": "eUI JEE Symfony app scripts",
6
6
  "scripts": {
@@ -19,6 +19,6 @@
19
19
  },
20
20
  "private": true,
21
21
  "dependencies": {
22
- "@eui/deps-base": "17.0.0-next.26"
22
+ "@eui/deps-base": "17.0.0-next.27"
23
23
  }
24
24
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@eui/cli",
3
- "version": "17.0.0-next.26",
3
+ "version": "17.0.0-next.27",
4
4
  "tag": "next",
5
5
  "license": "EUPL-1.1",
6
6
  "description": "eUI CLI app generator",