@eui/components 18.0.0-next.7 → 18.0.0-next.8
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/classes/EuiEuLanguages.html +696 -0
- package/docs/classes/EuiMenuItem.html +1147 -0
- package/docs/components/EuiAppSidebarMenuComponent.html +2 -2
- package/docs/components/EuiLanguageSelectorComponent.html +4 -4
- package/docs/components/EuiMenuComponent.html +6 -6
- package/docs/components/EuiMenuItemComponent.html +1 -1
- package/docs/components/EuiModalSelectorComponent.html +4 -4
- package/docs/components/EuiSidebarMenuComponent.html +3 -3
- package/docs/components/EuiToolbarMenuComponent.html +4 -4
- package/docs/components/EuiUserProfileCardComponent.html +1 -1
- package/docs/dependencies.html +2 -2
- package/docs/index.html +2 -2
- package/docs/interfaces/EuiLanguage.html +317 -0
- package/docs/js/menu-wc.js +9 -0
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/typealiases.html +21 -0
- package/esm2022/eui-menu/models/eui-menu-item.model.mjs +12 -2
- package/esm2022/layout/eui-app/eui-app-top-message/top-message.component.mjs +1 -1
- package/esm2022/layout/eui-language-selector/index.mjs +3 -1
- package/esm2022/layout/eui-language-selector/modal-selector/modal-selector.component.mjs +2 -2
- package/esm2022/layout/eui-language-selector/models/eui-eu-languages.model.mjs +152 -0
- package/esm2022/layout/eui-language-selector/models/eui-language.model.mjs +2 -0
- package/esm2022/layout/eui-user-profile/user-profile-card/user-profile-card.component.mjs +5 -9
- package/eui-menu/models/eui-menu-item.model.d.ts +41 -1
- package/eui-menu/models/eui-menu-item.model.d.ts.map +1 -1
- package/fesm2022/eui-components-eui-menu.mjs +11 -1
- package/fesm2022/eui-components-eui-menu.mjs.map +2 -2
- package/fesm2022/eui-components-layout.mjs +191 -40
- package/fesm2022/eui-components-layout.mjs.map +4 -4
- package/layout/eui-app/eui-app-top-message/top-message.component.d.ts.map +1 -1
- package/layout/eui-language-selector/index.d.ts +2 -0
- package/layout/eui-language-selector/index.d.ts.map +1 -1
- package/layout/eui-language-selector/modal-selector/modal-selector.component.d.ts +1 -1
- package/layout/eui-language-selector/modal-selector/modal-selector.component.d.ts.map +1 -1
- package/layout/eui-language-selector/models/eui-eu-languages.model.d.ts +45 -0
- package/layout/eui-language-selector/models/eui-eu-languages.model.d.ts.map +1 -0
- package/layout/eui-language-selector/models/eui-language.model.d.ts +7 -0
- package/layout/eui-language-selector/models/eui-language.model.d.ts.map +1 -0
- package/layout/eui-user-profile/user-profile-card/user-profile-card.component.d.ts +2 -2
- package/layout/eui-user-profile/user-profile-card/user-profile-card.component.d.ts.map +1 -1
- package/package.json +3 -3
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"top-message.component.d.ts","sourceRoot":"","sources":["../../../../layout/eui-app/eui-app-top-message/top-message.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,UAAU,EACV,aAAa,EAGb,YAAY,EACZ,SAAS,EACT,iBAAiB,EAGpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,
|
1
|
+
{"version":3,"file":"top-message.component.d.ts","sourceRoot":"","sources":["../../../../layout/eui-app/eui-app-top-message/top-message.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAKH,UAAU,EACV,aAAa,EAGb,YAAY,EACZ,SAAS,EACT,iBAAiB,EAGpB,MAAM,eAAe,CAAC;AACvB,OAAO,EAAE,kBAAkB,EAAE,MAAM,WAAW,CAAC;AAC/C,OAAO,EAAE,aAAa,EAAE,MAAM,wBAAwB,CAAC;AACvD,OAAO,EAAa,YAAY,EAAE,MAAM,MAAM,CAAC;AAC/C,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAC;;AAEzD,qBAOa,yBAA0B,SAAQ,aAAc,YAAW,aAAa,EAAE,SAAS;IA+BjF,SAAS,EAAE,kBAAkB;IACpC,OAAO,CAAC,KAAK;IACb,OAAO,CAAC,EAAE;IACV,OAAO,CAAC,GAAG;IAjCf,IACI,UAAU,IAAI,MAAM,CAMvB;IACyB,IAAI,SAAY;IAEd,aAAa,EAAE,UAAU,CAAC;IACtD,oBAAoB,EAAE,YAAY,CAAC;IAEK,WAAW,UAAS;IACpB,gBAAgB,UAAS;IAEjE,IACI,SAAS,CAAC,KAAK,EAAE,OAAO,EAG3B;IAED,IAAI,SAAS,IAAI,OAAO,CAEvB;IACS,eAAe,qBAA4B;IAErD,OAAO,CAAC,UAAU,CAAQ;gBAGf,SAAS,EAAE,kBAAkB,EAC5B,KAAK,EAAE,UAAU,EACjB,EAAE,EAAE,iBAAiB,EACrB,GAAG,EAAE,eAAe;IAKhC,eAAe,IAAI,IAAI;IAQvB,WAAW,IAAI,IAAI;IASnB,YAAY,IAAI,IAAI;IAMpB,OAAO,CAAC,gBAAgB;yCA9Df,yBAAyB;2CAAzB,yBAAyB;0CAsEg0yB,OAAQ;+CAAR,OAAQ;CAD72yB"}
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layout/eui-language-selector/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC"}
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../layout/eui-language-selector/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,4BAA4B,CAAC;AAC3C,cAAc,iCAAiC,CAAC;AAChD,cAAc,6BAA6B,CAAC"}
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { OnInit } from '@angular/core';
|
2
|
-
import { EuiLanguage } from '
|
2
|
+
import { EuiLanguage } from '../models/eui-language.model';
|
3
3
|
import { EuiDialogService } from '@eui/components/eui-dialog';
|
4
4
|
import * as i0 from "@angular/core";
|
5
5
|
export declare class EuiModalSelectorComponent implements OnInit {
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"modal-selector.component.d.ts","sourceRoot":"","sources":["../../../../layout/eui-language-selector/modal-selector/modal-selector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,MAAM,EAAU,MAAM,eAAe,CAAC;
|
1
|
+
{"version":3,"file":"modal-selector.component.d.ts","sourceRoot":"","sources":["../../../../layout/eui-language-selector/modal-selector/modal-selector.component.ts"],"names":[],"mappings":"AAAA,OAAO,EAAyD,MAAM,EAAU,MAAM,eAAe,CAAC;AAEtG,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAG3D,OAAO,EAAE,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;;AAE9D,qBAOa,yBAA0B,YAAW,MAAM;IAOhD,OAAO,CAAC,gBAAgB;IAEjB,MAAM,EAAE;QACX,SAAS,EAAE,WAAW,EAAE,CAAC;QACzB,gBAAgB,EAAE,WAAW,CAAC;QAC9B,eAAe,EAAE,CAAC,QAAQ,EAAE,WAAW,KAAK,IAAI,CAAC;KACpD;IAZE,YAAY,EAAE,WAAW,EAAE,EAAE,CAAM;IACnC,qBAAqB,EAAE,WAAW,EAAE,EAAE,CAAM;IAEnD,OAAO,CAAC,gBAAgB,CAAc;gBAG1B,gBAAgB,EAAE,gBAAgB,EAEnC,MAAM,EAAE;QACX,SAAS,EAAE,WAAW,EAAE,CAAC;QACzB,gBAAgB,EAAE,WAAW,CAAC;QAC9B,eAAe,EAAE,CAAC,QAAQ,EAAE,WAAW,KAAK,IAAI,CAAC;KACpD;IAGL,QAAQ,IAAI,IAAI;IAKhB,cAAc,CAAC,YAAY,EAAE,WAAW,GAAG,IAAI;IAc/C,OAAO,CAAC,mBAAmB;yCAnClB,yBAAyB;2CAAzB,yBAAyB;CAuDrC"}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
import { EuiLanguage } from './eui-language.model';
|
2
|
+
export type EuiLanguageCode = string | EuiLanguage;
|
3
|
+
export declare class EuiEuLanguages {
|
4
|
+
private static languages;
|
5
|
+
/**
|
6
|
+
* Matches the given string array to the EU languages and returns a EuiLanguage array.
|
7
|
+
* In case that no codes provided it returns the EU Languages array.
|
8
|
+
*
|
9
|
+
* @param codes A string array of 2 char codes
|
10
|
+
*/
|
11
|
+
static getLanguages(codes?: EuiLanguageCode[]): EuiLanguage[];
|
12
|
+
/**
|
13
|
+
* filters and removes language codes that are not part of the EULanguage
|
14
|
+
* e.g. 'ko' does not map to any EULanguage code on the array.
|
15
|
+
* { code: 'ko', label: 'whatever' } is valid though
|
16
|
+
*
|
17
|
+
* @param codes codes A string array of 2 char codescodes A string array of 2 char codes
|
18
|
+
*/
|
19
|
+
static filterInvalidLanguageCodes(codes: EuiLanguageCode[]): EuiLanguageCode[];
|
20
|
+
/**
|
21
|
+
* return the given list ordered based on the EULanguage order
|
22
|
+
*
|
23
|
+
* @param codes codes A string array of 2 char codes
|
24
|
+
*/
|
25
|
+
static getOrderedLanguages(codes?: EuiLanguageCode[]): EuiLanguage[];
|
26
|
+
/**
|
27
|
+
* retrieve language codes (string array) from a given array of string and EuiLanguage items
|
28
|
+
*
|
29
|
+
* @param array It can be an mixed array of string and EuiLanguage items
|
30
|
+
*/
|
31
|
+
static getLanguageCodes(array: EuiLanguageCode[]): string[];
|
32
|
+
/**
|
33
|
+
* filter non EU languages from given array
|
34
|
+
*
|
35
|
+
* @param array An array of EuiLanguage items
|
36
|
+
*/
|
37
|
+
static filterNonEULanguages(array: EuiLanguage[]): EuiLanguage[];
|
38
|
+
/**
|
39
|
+
* filter EU Languages from given array
|
40
|
+
*
|
41
|
+
* @param array An array of EuiLanguage items
|
42
|
+
*/
|
43
|
+
static filterEULanguages(array: EuiLanguage[]): EuiLanguage[];
|
44
|
+
}
|
45
|
+
//# sourceMappingURL=eui-eu-languages.model.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eui-eu-languages.model.d.ts","sourceRoot":"","sources":["../../../../layout/eui-language-selector/models/eui-eu-languages.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG,MAAM,GAAG,WAAW,CAAC;AAEnD,qBAAa,cAAc;IACvB,OAAO,CAAC,MAAM,CAAC,SAAS,CAiGtB;IAEF;;;;;OAKG;IACH,MAAM,CAAC,YAAY,CAAC,KAAK,GAAE,eAAe,EAAgC,GAAG,WAAW,EAAE;IAI1F;;;;;;OAMG;IACH,MAAM,CAAC,0BAA0B,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,eAAe,EAAE;IAI9E;;;;OAIG;IACH,MAAM,CAAC,mBAAmB,CAAC,KAAK,GAAE,eAAe,EAAgC,GAAG,WAAW,EAAE;IAOjG;;;;OAIG;IACH,MAAM,CAAC,gBAAgB,CAAC,KAAK,EAAE,eAAe,EAAE,GAAG,MAAM,EAAE;IAI3D;;;;OAIG;IACH,MAAM,CAAC,oBAAoB,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE;IAIhE;;;;OAIG;IACH,MAAM,CAAC,iBAAiB,CAAC,KAAK,EAAE,WAAW,EAAE,GAAG,WAAW,EAAE;CAGhE"}
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"eui-language.model.d.ts","sourceRoot":"","sources":["../../../../layout/eui-language-selector/models/eui-language.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,0CAA0C;IAC1C,IAAI,EAAE,MAAM,CAAC;IACb,4DAA4D;IAC5D,KAAK,EAAE,MAAM,CAAC;CACjB"}
|
@@ -1,5 +1,4 @@
|
|
1
1
|
import { OnInit, EventEmitter, OnDestroy } from '@angular/core';
|
2
|
-
import { BooleanInput } from '@angular/cdk/coercion';
|
3
2
|
import { UserService, UserState } from '@eui/core';
|
4
3
|
import * as i0 from "@angular/core";
|
5
4
|
export declare class EuiUserProfileCardComponent implements OnInit, OnDestroy {
|
@@ -11,7 +10,7 @@ export declare class EuiUserProfileCardComponent implements OnInit, OnDestroy {
|
|
11
10
|
impersonateLabel: string;
|
12
11
|
showDetailsLabel: string;
|
13
12
|
avatarUrl: string;
|
14
|
-
isShowAvatarInitials:
|
13
|
+
isShowAvatarInitials: boolean;
|
15
14
|
showProfileInfo: EventEmitter<void>;
|
16
15
|
closeProfileMenu: EventEmitter<void>;
|
17
16
|
private unsubscribeSubject$;
|
@@ -22,5 +21,6 @@ export declare class EuiUserProfileCardComponent implements OnInit, OnDestroy {
|
|
22
21
|
onClose(): void;
|
23
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<EuiUserProfileCardComponent, never>;
|
24
23
|
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>;
|
24
|
+
static ngAcceptInputType_isShowAvatarInitials: unknown;
|
25
25
|
}
|
26
26
|
//# 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,EAA6E,MAAM,EAAE,YAAY,EAAU,SAAS,
|
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,EAA6E,MAAM,EAAE,YAAY,EAAU,SAAS,EAAoB,MAAM,eAAe,CAAC;AACrK,OAAO,EAAE,WAAW,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;;AAInD,qBAMa,2BAA4B,YAAW,MAAM,EAAE,SAAS;IAqB7D,OAAO,CAAC,WAAW;IApBvB,IACW,UAAU,IAAI,MAAM,CAE9B;IAED,cAAc,EAAE,MAAM,CAAC;IACvB,SAAS,EAAE,SAAS,CAAC;IACrB,QAAQ,UAAQ;IAEP,gBAAgB,SAAmB;IACnC,gBAAgB,SAA0B;IAC1C,SAAS,EAAE,MAAM,CAAC;IACa,oBAAoB,UAAS;IAE3D,eAAe,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IACzD,gBAAgB,EAAE,YAAY,CAAC,IAAI,CAAC,CAAsB;IAEpE,OAAO,CAAC,mBAAmB,CAAgC;gBAG/C,WAAW,EAAE,WAAW;IAGpC,QAAQ,IAAI,IAAI;IAgBhB,WAAW,IAAI,IAAI;IAKnB,eAAe,IAAI,IAAI;IAIvB,OAAO,IAAI,IAAI;yCAjDN,2BAA2B;2CAA3B,2BAA2B;mDAqDmj0B,OAAQ;CADlm0B"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@eui/components",
|
3
|
-
"version": "18.0.0-next.
|
3
|
+
"version": "18.0.0-next.8",
|
4
4
|
"tag": "next",
|
5
5
|
"description": "eUI components package",
|
6
6
|
"homepage": "https://eui.ecdevops.eu",
|
@@ -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": "18.0.0-next.
|
14
|
-
"@eui/base": "18.0.0-next.
|
13
|
+
"@eui/core": "18.0.0-next.8",
|
14
|
+
"@eui/base": "18.0.0-next.8",
|
15
15
|
"@angular/common": "^18.0.0-next.2",
|
16
16
|
"@angular/core": "^18.0.0-next.2",
|
17
17
|
"@angular/forms": "^18.0.0-next.2",
|