@eui/base 19.0.0-next.1 → 19.0.0-next.3
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/dependencies.html +21 -19
- package/docs/interfaces/EuiMenuItem.html +45 -0
- package/docs/interfaces/LocaleServiceConfig.html +154 -10
- package/docs/interfaces/LocaleState.html +11 -4
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/typealiases.html +28 -0
- package/docs/miscellaneous/variables.html +3 -3
- package/fesm2022/eui-base.mjs +16 -3
- package/fesm2022/eui-base.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/lib/eui-models/eui-config/locale.config.d.ts +26 -2
- package/lib/eui-models/eui-config/locale.config.d.ts.map +1 -1
- package/lib/eui-models/eui-menu-item.model.d.ts +1 -0
- package/lib/eui-models/eui-menu-item.model.d.ts.map +1 -1
- package/lib/eui-models/eui-store/state/locale.state.d.ts +7 -3
- package/lib/eui-models/eui-store/state/locale.state.d.ts.map +1 -1
- package/lib/polyfill/crypto.polyfill.d.ts +6 -0
- package/lib/polyfill/crypto.polyfill.d.ts.map +1 -0
- package/lib/polyfill/index.d.ts +2 -0
- package/lib/polyfill/index.d.ts.map +1 -0
- package/package.json +1 -1
|
@@ -1,10 +1,34 @@
|
|
|
1
1
|
/** User API configuration */
|
|
2
|
-
import { LocaleState } from '../eui-store';
|
|
3
2
|
import { GlobalConfig } from './eui-app-config';
|
|
4
|
-
export interface LocaleServiceConfig
|
|
3
|
+
export interface LocaleServiceConfig {
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated
|
|
6
|
+
* It will be removed in the future. Currently, it is being used
|
|
7
|
+
*/
|
|
5
8
|
registered?: string[];
|
|
9
|
+
/**
|
|
10
|
+
* When enabled changes from I18nService will be reflected to locale state
|
|
11
|
+
*/
|
|
6
12
|
bindWithTranslate?: boolean;
|
|
13
|
+
/**
|
|
14
|
+
* Affects the global LOCALE_ID token value
|
|
15
|
+
* @deprecated
|
|
16
|
+
* It will be removed in the future. Currently, it has no effect as
|
|
17
|
+
* Injection Tokens Are Immutable, thus LOCALE_ID token value will not be
|
|
18
|
+
* changed.
|
|
19
|
+
*/
|
|
7
20
|
affectGlobalLocale?: boolean;
|
|
21
|
+
/**
|
|
22
|
+
* The list of available locales e.g. ['en', 'es-ES']
|
|
23
|
+
* @deprecated
|
|
24
|
+
* It will be removed. It's no more being used
|
|
25
|
+
*/
|
|
26
|
+
available?: string[];
|
|
27
|
+
/**
|
|
28
|
+
* @deprecated
|
|
29
|
+
* It will be removed. It's no more being used
|
|
30
|
+
*/
|
|
31
|
+
id?: string;
|
|
8
32
|
}
|
|
9
33
|
/**
|
|
10
34
|
* responsible to extract the attributes "available" and "id" from the locale configuration
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.config.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/eui-config/locale.config.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"locale.config.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/eui-config/locale.config.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,OAAO,EAAE,YAAY,EAAE,MAAM,kBAAkB,CAAC;AAEhD,MAAM,WAAW,mBAAmB;IAChC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;IACtB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B;;;;;;OAMG;IACH,kBAAkB,CAAC,EAAE,OAAO,CAAC;IAC7B;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;IACrB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,eAAO,MAAM,8BAA8B,qBAAsB,YAAY,KAAG,mBAG/E,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-menu-item.model.d.ts","sourceRoot":"","sources":["../../../src/lib/eui-models/eui-menu-item.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW,CAAC,QAAQ,GAAG,OAAO;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;
|
|
1
|
+
{"version":3,"file":"eui-menu-item.model.d.ts","sourceRoot":"","sources":["../../../src/lib/eui-models/eui-menu-item.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW,CAAC,QAAQ,GAAG,OAAO;IAC3C,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb,WAAW,CAAC,EAAE,GAAG,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,WAAW,EAAE,CAAC;IACzB,MAAM,CAAC,EAAE,WAAW,CAAC;IACrB,OAAO,CAAC,EAAE,OAAO,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE;QACT,gEAAgE;QAChE,IAAI,EAAE,MAAM,CAAC;QACb,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,KAAK,CAAC,EAAE,MAAM,CAAC;QACf,MAAM,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,IAAI,CAAC;KACrC,CAAC;IACF,OAAO,CAAC,EAAE,CAAC,GAAG,MAAM,OAAA,KAAK,IAAI,CAAC;IAC9B,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAC1B,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACvB"}
|
|
@@ -2,13 +2,17 @@
|
|
|
2
2
|
* The locale state is used to store the current locale id and the list of available locales.
|
|
3
3
|
*/
|
|
4
4
|
export interface LocaleState {
|
|
5
|
-
/** The current locale id e.g. 'en' */
|
|
5
|
+
/** The current locale id e.g. 'en-US' */
|
|
6
6
|
id: string;
|
|
7
|
-
/**
|
|
7
|
+
/**
|
|
8
|
+
* The list of available locales e.g. ['en-US', 'es-ES']
|
|
9
|
+
* @deprecated
|
|
10
|
+
* It will be removed. It's no more being used.
|
|
11
|
+
*/
|
|
8
12
|
available?: string[];
|
|
9
13
|
}
|
|
10
14
|
/**
|
|
11
|
-
* The initial state of the locale state. The default locale is English ('en').
|
|
15
|
+
* The initial state of the locale state. The default locale is English US ('en').
|
|
12
16
|
*/
|
|
13
17
|
export declare const initialLocaleState: LocaleState;
|
|
14
18
|
//# sourceMappingURL=locale.state.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/locale.state.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,
|
|
1
|
+
{"version":3,"file":"locale.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/locale.state.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IACxB,yCAAyC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,EAAE,CAAC;CACxB;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,WAEhC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* polyfill for usage of crypto.randomUUID() on non HTTPS environments EUI-10272
|
|
3
|
+
* Please remove in the future when EC Policy for HTTPS is enforced.
|
|
4
|
+
*/
|
|
5
|
+
export type UUID = `${string}-${string}-${string}-${string}-${string}`;
|
|
6
|
+
//# sourceMappingURL=crypto.polyfill.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"crypto.polyfill.d.ts","sourceRoot":"","sources":["../../../src/lib/polyfill/crypto.polyfill.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,MAAM,IAAI,GAAG,GAAG,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,IAAI,MAAM,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/polyfill/index.ts"],"names":[],"mappings":"AAAA,cAAc,mBAAmB,CAAC"}
|