@eui/components 17.3.14 → 17.3.15-snapshot-1737712756562
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/docs/components/EuiAppSidebarHeaderUserProfileComponent.html +1 -1
- package/docs/components/EuiAutocompleteComponent.html +1 -1
- package/docs/components/EuiHeaderUserProfileComponent.html +1 -1
- package/docs/components/EuiUserProfileCardComponent.html +74 -46
- package/docs/components/EuiUserProfileComponent.html +32 -2
- package/docs/components/EuiUserProfileMenuComponent.html +1 -1
- package/docs/dependencies.html +3 -3
- package/docs/index.html +1 -1
- package/docs/interfaces/UserProfile.html +396 -0
- package/docs/js/menu-wc.js +3 -0
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/esm2022/eui-autocomplete/eui-autocomplete.component.mjs +3 -3
- package/esm2022/layout/eui-app/eui-app-sidebar/sidebar-header-user-profile/sidebar-header-user-profile.component.mjs +1 -1
- package/esm2022/layout/eui-header/header-user-profile/header-user-profile.component.mjs +1 -1
- package/esm2022/layout/eui-user-profile/user-profile-card/user-profile-card.component.mjs +35 -17
- package/esm2022/layout/eui-user-profile/user-profile.component.mjs +11 -3
- package/fesm2022/eui-components-eui-autocomplete.mjs +2 -2
- package/fesm2022/eui-components-eui-autocomplete.mjs.map +1 -1
- package/fesm2022/eui-components-layout.mjs +42 -15
- package/fesm2022/eui-components-layout.mjs.map +1 -1
- package/layout/eui-user-profile/user-profile-card/user-profile-card.component.d.ts +18 -4
- package/layout/eui-user-profile/user-profile-card/user-profile-card.component.d.ts.map +1 -1
- package/layout/eui-user-profile/user-profile.component.d.ts +25 -2
- package/layout/eui-user-profile/user-profile.component.d.ts.map +1 -1
- package/package.json +10 -10
@@ -1,26 +1,40 @@
|
|
1
1
|
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
2
2
|
import { BooleanInput } from '@angular/cdk/coercion';
|
3
|
-
import {
|
3
|
+
import { UserState } from '@eui/core';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class EuiUserProfileCardComponent implements OnInit, OnDestroy {
|
6
|
-
private userService;
|
7
6
|
get cssClasses(): string;
|
8
7
|
avatarInitials: string;
|
9
8
|
userState: UserState;
|
9
|
+
/**
|
10
|
+
* Holds the full name of the user and the impersonated user
|
11
|
+
*/
|
12
|
+
fullName: {
|
13
|
+
user: string;
|
14
|
+
impersonated: string;
|
15
|
+
};
|
16
|
+
/**
|
17
|
+
* If true, the user is online
|
18
|
+
* @deprecated This property is not used anymore
|
19
|
+
*/
|
10
20
|
isOnline: boolean;
|
11
21
|
impersonateLabel: string;
|
12
22
|
showDetailsLabel: string;
|
13
23
|
avatarUrl: string;
|
14
24
|
isShowAvatarInitials: BooleanInput;
|
25
|
+
/**
|
26
|
+
* If true, the name will be displayed in reverse order (first name, first)
|
27
|
+
*/
|
28
|
+
reverseNameOrder: boolean;
|
15
29
|
showProfileInfo: EventEmitter<void>;
|
16
30
|
closeProfileMenu: EventEmitter<void>;
|
17
31
|
private unsubscribeSubject$;
|
18
|
-
|
32
|
+
private userService;
|
19
33
|
ngOnInit(): void;
|
20
34
|
ngOnDestroy(): void;
|
21
35
|
onShowInfoClick(): void;
|
22
36
|
onClose(): void;
|
23
37
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiUserProfileCardComponent, never>;
|
24
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EuiUserProfileCardComponent, "eui-user-profile-card", never, { "impersonateLabel": { "alias": "impersonateLabel"; "required": false; }; "showDetailsLabel": { "alias": "showDetailsLabel"; "required": false; }; "avatarUrl": { "alias": "avatarUrl"; "required": false; }; "isShowAvatarInitials": { "alias": "isShowAvatarInitials"; "required": false; }; }, { "showProfileInfo": "showProfileInfo"; "closeProfileMenu": "closeProfileMenu"; }, never, never, false, never>;
|
38
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiUserProfileCardComponent, "eui-user-profile-card", never, { "impersonateLabel": { "alias": "impersonateLabel"; "required": false; }; "showDetailsLabel": { "alias": "showDetailsLabel"; "required": false; }; "avatarUrl": { "alias": "avatarUrl"; "required": false; }; "isShowAvatarInitials": { "alias": "isShowAvatarInitials"; "required": false; }; "reverseNameOrder": { "alias": "reverseNameOrder"; "required": false; }; }, { "showProfileInfo": "showProfileInfo"; "closeProfileMenu": "closeProfileMenu"; }, never, never, false, never>;
|
25
39
|
}
|
26
40
|
//# sourceMappingURL=user-profile-card.component.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-profile-card.component.d.ts","sourceRoot":"","sources":["../../../../layout/eui-user-profile/user-profile-card/user-profile-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,
|
1
|
+
{"version":3,"file":"user-profile-card.component.d.ts","sourceRoot":"","sources":["../../../../layout/eui-user-profile/user-profile-card/user-profile-card.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAqF,MAAM,EAAE,YAAY,EAAU,SAAS,EAAE,MAAM,eAAe,CAAC;AAC3J,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;AAErD,OAAO,EAA4B,SAAS,EAAiB,MAAM,WAAW,CAAC;;AAI/E,qBAMa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IACjE,IACW,UAAU,IAAI,MAAM,CAE9B;IAED,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB;;OAEG;IACH,QAAQ,EAAE;QAAE,IAAI,EAAE,MAAM,CAAC;QAAC,YAAY,EAAE,MAAM,CAAA;KAAE,CAAC;IACjD;;;OAGG;IACH,QAAQ,UAAQ;IAEP,gBAAgB,SAAmB;IACnC,gBAAgB,SAA0B;IAC1C,SAAS,EAAE,MAAM,CAAC;IAG3B,oBAAoB,EAAE,YAAY,CAAS;IAC3C;;OAEG;IACM,gBAAgB,UAAS;IAExB,eAAe,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IACzD,gBAAgB,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAEpE,OAAO,CAAC,mBAAmB,CAAgC;IAC3D,OAAO,CAAC,WAAW,CAAiD;IAEpE,QAAQ,IAAI,IAAI;IA0BhB,WAAW,IAAI,IAAI;IAKnB,eAAe,IAAI,IAAI;IAIvB,OAAO,IAAI,IAAI;yCAtEN,2BAA2B;2CAA3B,2BAA2B;CAyEvC"}
|
@@ -6,11 +6,30 @@ import { EuiToolbarItemComponent } from '../eui-toolbar';
|
|
6
6
|
import { EuiUserProfileMenuComponent } from './user-profile-menu/user-profile-menu.component';
|
7
7
|
import * as i0 from "@angular/core";
|
8
8
|
import * as i1 from "@eui/components/shared";
|
9
|
+
/**
|
10
|
+
* Represents an extended user profile that includes impersonation capabilities
|
11
|
+
* and organizational information.
|
12
|
+
* @extends {UserState}
|
13
|
+
*
|
14
|
+
* When using this interface with UserService, specify it as the generic type parameter:
|
15
|
+
* Example: private userService: UserService<UserProfile>
|
16
|
+
*/
|
17
|
+
export interface UserProfile extends UserState {
|
18
|
+
/** The profile of another user being impersonated, if applicable */
|
19
|
+
impersonatingUser?: UserProfile;
|
20
|
+
/** The user's function or role within the system */
|
21
|
+
function?: string;
|
22
|
+
/** The organization details associated with the user */
|
23
|
+
organisation?: {
|
24
|
+
/** The unique code identifying the organization */
|
25
|
+
code: string;
|
26
|
+
};
|
27
|
+
}
|
9
28
|
export declare class EuiUserProfileComponent implements OnInit, OnDestroy, AfterContentInit {
|
10
29
|
private userService;
|
11
30
|
baseStatesDirective: BaseStatesDirective;
|
12
31
|
get cssClasses(): string;
|
13
|
-
userState:
|
32
|
+
userState: UserProfile;
|
14
33
|
isOnline: boolean;
|
15
34
|
avatarInitials: string;
|
16
35
|
toolbarItemParent: EuiToolbarItemComponent;
|
@@ -26,6 +45,10 @@ export declare class EuiUserProfileComponent implements OnInit, OnDestroy, After
|
|
26
45
|
isReverse: boolean;
|
27
46
|
hasToggle: boolean;
|
28
47
|
isHeaderUserProfile: boolean;
|
48
|
+
/**
|
49
|
+
* If true, the name will be displayed in reverse order (first name, first)
|
50
|
+
*/
|
51
|
+
reverseNameOrder: boolean;
|
29
52
|
dropdown: EuiDropdownComponent;
|
30
53
|
hasMenuContent: QueryList<EuiUserProfileMenuComponent>;
|
31
54
|
private unsubscribeSubject$;
|
@@ -36,7 +59,7 @@ export declare class EuiUserProfileComponent implements OnInit, OnDestroy, After
|
|
36
59
|
closeDropdown(): void;
|
37
60
|
private getCssClasses;
|
38
61
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiUserProfileComponent, [{ optional: true; host: true; }, null, null]>;
|
39
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<EuiUserProfileComponent, "eui-user-profile", never, { "welcomeLabel": { "alias": "welcomeLabel"; "required": false; }; "impersonateLabel": { "alias": "impersonateLabel"; "required": false; }; "avatarUrl": { "alias": "avatarUrl"; "required": false; }; "subInfos": { "alias": "subInfos"; "required": false; }; "hasMenu": { "alias": "hasMenu"; "required": false; }; "isShowUserInfos": { "alias": "isShowUserInfos"; "required": false; }; "hasWelcomeLabel": { "alias": "hasWelcomeLabel"; "required": false; }; "isShowAvatarInitials": { "alias": "isShowAvatarInitials"; "required": false; }; "hasTabNavigation": { "alias": "hasTabNavigation"; "required": false; }; "isReverse": { "alias": "isReverse"; "required": false; }; "hasToggle": { "alias": "hasToggle"; "required": false; }; "isHeaderUserProfile": { "alias": "isHeaderUserProfile"; "required": false; }; }, {}, ["hasMenuContent"], ["*"], false, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiSizeS": "euiSizeS"; "euiInverted": "euiInverted"; }; outputs: {}; }]>;
|
62
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<EuiUserProfileComponent, "eui-user-profile", never, { "welcomeLabel": { "alias": "welcomeLabel"; "required": false; }; "impersonateLabel": { "alias": "impersonateLabel"; "required": false; }; "avatarUrl": { "alias": "avatarUrl"; "required": false; }; "subInfos": { "alias": "subInfos"; "required": false; }; "hasMenu": { "alias": "hasMenu"; "required": false; }; "isShowUserInfos": { "alias": "isShowUserInfos"; "required": false; }; "hasWelcomeLabel": { "alias": "hasWelcomeLabel"; "required": false; }; "isShowAvatarInitials": { "alias": "isShowAvatarInitials"; "required": false; }; "hasTabNavigation": { "alias": "hasTabNavigation"; "required": false; }; "isReverse": { "alias": "isReverse"; "required": false; }; "hasToggle": { "alias": "hasToggle"; "required": false; }; "isHeaderUserProfile": { "alias": "isHeaderUserProfile"; "required": false; }; "reverseNameOrder": { "alias": "reverseNameOrder"; "required": false; }; }, {}, ["hasMenuContent"], ["*"], false, [{ directive: typeof i1.BaseStatesDirective; inputs: { "euiSizeS": "euiSizeS"; "euiInverted": "euiInverted"; }; outputs: {}; }]>;
|
40
63
|
static ngAcceptInputType_hasMenu: unknown;
|
41
64
|
static ngAcceptInputType_isShowUserInfos: unknown;
|
42
65
|
static ngAcceptInputType_hasWelcomeLabel: unknown;
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"user-profile.component.d.ts","sourceRoot":"","sources":["../../../layout/eui-user-profile/user-profile.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6E,MAAM,EAAa,SAAS,EAAsC,gBAAgB,EAAgB,SAAS,
|
1
|
+
{"version":3,"file":"user-profile.component.d.ts","sourceRoot":"","sources":["../../../layout/eui-user-profile/user-profile.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAA6E,MAAM,EAAa,SAAS,EAAsC,gBAAgB,EAAgB,SAAS,EAA2E,MAAM,eAAe,CAAC;AAChS,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAEnD,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAEpE,OAAO,EAAE,mBAAmB,EAAE,MAAM,wBAAwB,CAAC;AAC7D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gBAAgB,CAAC;AACzD,OAAO,EAAE,2BAA2B,EAAE,MAAM,iDAAiD,CAAC;;;AAE9F;;;;;;;GAOG;AACH,MAAM,WAAW,WAAY,SAAQ,SAA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DAAR,OAAQ;CADhwuB"}
|
package/package.json
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
{
|
2
2
|
"name": "@eui/components",
|
3
|
-
"version": "17.3.
|
4
|
-
"tag": "
|
3
|
+
"version": "17.3.15-snapshot-1737712756562",
|
4
|
+
"tag": "snapshot",
|
5
5
|
"description": "eUI components package",
|
6
6
|
"homepage": "https://eui.ecdevops.eu",
|
7
7
|
"author": "ec.europa.eui@gmail.com",
|
@@ -10,8 +10,8 @@
|
|
10
10
|
"url": "https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui"
|
11
11
|
},
|
12
12
|
"peerDependencies": {
|
13
|
-
"@eui/core": "17.3.
|
14
|
-
"@eui/base": "17.3.
|
13
|
+
"@eui/core": "17.3.15-snapshot-1737712756562",
|
14
|
+
"@eui/base": "17.3.15-snapshot-1737712756562",
|
15
15
|
"@angular/common": "^17.1.0",
|
16
16
|
"@angular/core": "^17.1.0",
|
17
17
|
"@angular/forms": "^17.1.0",
|
@@ -48,18 +48,18 @@
|
|
48
48
|
"esm": "./esm2022/directives/eui-components-directives.mjs",
|
49
49
|
"default": "./fesm2022/eui-components-directives.mjs"
|
50
50
|
},
|
51
|
-
"./eui-alert": {
|
52
|
-
"types": "./eui-alert/index.d.ts",
|
53
|
-
"esm2022": "./esm2022/eui-alert/eui-components-eui-alert.mjs",
|
54
|
-
"esm": "./esm2022/eui-alert/eui-components-eui-alert.mjs",
|
55
|
-
"default": "./fesm2022/eui-components-eui-alert.mjs"
|
56
|
-
},
|
57
51
|
"./eui-all": {
|
58
52
|
"types": "./eui-all/index.d.ts",
|
59
53
|
"esm2022": "./esm2022/eui-all/eui-components-eui-all.mjs",
|
60
54
|
"esm": "./esm2022/eui-all/eui-components-eui-all.mjs",
|
61
55
|
"default": "./fesm2022/eui-components-eui-all.mjs"
|
62
56
|
},
|
57
|
+
"./eui-alert": {
|
58
|
+
"types": "./eui-alert/index.d.ts",
|
59
|
+
"esm2022": "./esm2022/eui-alert/eui-components-eui-alert.mjs",
|
60
|
+
"esm": "./esm2022/eui-alert/eui-components-eui-alert.mjs",
|
61
|
+
"default": "./fesm2022/eui-components-eui-alert.mjs"
|
62
|
+
},
|
63
63
|
"./eui-autocomplete": {
|
64
64
|
"types": "./eui-autocomplete/index.d.ts",
|
65
65
|
"esm2022": "./esm2022/eui-autocomplete/eui-components-eui-autocomplete.mjs",
|