@eui/base 19.3.3-snapshot-1754667754469 → 21.0.0-alpha.2
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/changelog.html +120 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/properties.html +1 -1
- package/index.d.ts +1244 -5
- package/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/eui-base.d.ts.map +0 -1
- package/lib/eui-models/eui-auth-config.model.d.ts +0 -7
- package/lib/eui-models/eui-auth-config.model.d.ts.map +0 -1
- package/lib/eui-models/eui-config/eui-app-config.d.ts +0 -52
- package/lib/eui-models/eui-config/eui-app-config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/eui-config.d.ts +0 -17
- package/lib/eui-models/eui-config/eui-config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/eui-env-config.d.ts +0 -48
- package/lib/eui-models/eui-config/eui-env-config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/http-error-handler.config.d.ts +0 -27
- package/lib/eui-models/eui-config/http-error-handler.config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/i18n.config.d.ts +0 -97
- package/lib/eui-models/eui-config/i18n.config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/index.d.ts +0 -9
- package/lib/eui-models/eui-config/index.d.ts.map +0 -1
- package/lib/eui-models/eui-config/locale.config.d.ts +0 -13
- package/lib/eui-models/eui-config/locale.config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/log.config.d.ts +0 -65
- package/lib/eui-models/eui-config/log.config.d.ts.map +0 -1
- package/lib/eui-models/eui-config/user.config.d.ts +0 -6
- package/lib/eui-models/eui-config/user.config.d.ts.map +0 -1
- package/lib/eui-models/eui-constants.d.ts +0 -84
- package/lib/eui-models/eui-constants.d.ts.map +0 -1
- package/lib/eui-models/eui-growl-message.model.d.ts +0 -19
- package/lib/eui-models/eui-growl-message.model.d.ts.map +0 -1
- package/lib/eui-models/eui-language/eui-eu-languages.model.d.ts +0 -59
- package/lib/eui-models/eui-language/eui-eu-languages.model.d.ts.map +0 -1
- package/lib/eui-models/eui-language/eui-language.model.d.ts +0 -9
- package/lib/eui-models/eui-language/eui-language.model.d.ts.map +0 -1
- package/lib/eui-models/eui-menu-item.model.d.ts +0 -43
- package/lib/eui-models/eui-menu-item.model.d.ts.map +0 -1
- package/lib/eui-models/eui-pagination/eui-pagination.model.d.ts +0 -39
- package/lib/eui-models/eui-pagination/eui-pagination.model.d.ts.map +0 -1
- package/lib/eui-models/eui-pagination/index.d.ts +0 -2
- package/lib/eui-models/eui-pagination/index.d.ts.map +0 -1
- package/lib/eui-models/eui-permission.model.d.ts +0 -5
- package/lib/eui-models/eui-permission.model.d.ts.map +0 -1
- package/lib/eui-models/eui-service.model.d.ts +0 -76
- package/lib/eui-models/eui-service.model.d.ts.map +0 -1
- package/lib/eui-models/eui-store/eui-store-service.model.d.ts +0 -5
- package/lib/eui-models/eui-store/eui-store-service.model.d.ts.map +0 -1
- package/lib/eui-models/eui-store/index.d.ts +0 -5
- package/lib/eui-models/eui-store/index.d.ts.map +0 -1
- package/lib/eui-models/eui-store/models/app.models.d.ts +0 -12
- package/lib/eui-models/eui-store/models/app.models.d.ts.map +0 -1
- package/lib/eui-models/eui-store/models/index.d.ts +0 -3
- package/lib/eui-models/eui-store/models/index.d.ts.map +0 -1
- package/lib/eui-models/eui-store/models/user.models.d.ts +0 -13
- package/lib/eui-models/eui-store/models/user.models.d.ts.map +0 -1
- package/lib/eui-models/eui-store/selectors/app.selectors.d.ts +0 -20
- package/lib/eui-models/eui-store/selectors/app.selectors.d.ts.map +0 -1
- package/lib/eui-models/eui-store/selectors/core.selectors.d.ts +0 -7
- package/lib/eui-models/eui-store/selectors/core.selectors.d.ts.map +0 -1
- package/lib/eui-models/eui-store/selectors/i18n.selectors.d.ts +0 -4
- package/lib/eui-models/eui-store/selectors/i18n.selectors.d.ts.map +0 -1
- package/lib/eui-models/eui-store/selectors/index.d.ts +0 -6
- package/lib/eui-models/eui-store/selectors/index.d.ts.map +0 -1
- package/lib/eui-models/eui-store/selectors/notifications.selectors.d.ts +0 -4
- package/lib/eui-models/eui-store/selectors/notifications.selectors.d.ts.map +0 -1
- package/lib/eui-models/eui-store/selectors/user.selectors.d.ts +0 -15
- package/lib/eui-models/eui-store/selectors/user.selectors.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/app.state.d.ts +0 -23
- package/lib/eui-models/eui-store/state/app.state.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/core.state.d.ts +0 -14
- package/lib/eui-models/eui-store/state/core.state.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/i18n.state.d.ts +0 -5
- package/lib/eui-models/eui-store/state/i18n.state.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/index.d.ts +0 -7
- package/lib/eui-models/eui-store/state/index.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/locale.state.d.ts +0 -12
- package/lib/eui-models/eui-store/state/locale.state.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/notifications.state.d.ts +0 -12
- package/lib/eui-models/eui-store/state/notifications.state.d.ts.map +0 -1
- package/lib/eui-models/eui-store/state/user.state.d.ts +0 -13
- package/lib/eui-models/eui-store/state/user.state.d.ts.map +0 -1
- package/lib/eui-models/index.d.ts +0 -13
- package/lib/eui-models/index.d.ts.map +0 -1
- package/lib/eui-models/log/console.appender.d.ts +0 -33
- package/lib/eui-models/log/console.appender.d.ts.map +0 -1
- package/lib/eui-models/log/index.d.ts +0 -7
- package/lib/eui-models/log/index.d.ts.map +0 -1
- package/lib/eui-models/log/log.appender.d.ts +0 -24
- package/lib/eui-models/log/log.appender.d.ts.map +0 -1
- package/lib/eui-models/log/log.logger.d.ts +0 -88
- package/lib/eui-models/log/log.logger.d.ts.map +0 -1
- package/lib/eui-models/log/log.logger.mock.d.ts +0 -22
- package/lib/eui-models/log/log.logger.mock.d.ts.map +0 -1
- package/lib/eui-models/log/log.model.d.ts +0 -40
- package/lib/eui-models/log/log.model.d.ts.map +0 -1
- package/lib/eui-models/log/url.appender.d.ts +0 -35
- package/lib/eui-models/log/url.appender.d.ts.map +0 -1
- package/lib/polyfill/crypto.polyfill.d.ts +0 -6
- package/lib/polyfill/crypto.polyfill.d.ts.map +0 -1
- package/lib/polyfill/index.d.ts +0 -2
- package/lib/polyfill/index.d.ts.map +0 -1
- package/lib/util/index.d.ts +0 -3
- package/lib/util/index.d.ts.map +0 -1
- package/lib/util/merge.d.ts +0 -18
- package/lib/util/merge.d.ts.map +0 -1
- package/lib/util/xhr.d.ts +0 -32
- package/lib/util/xhr.d.ts.map +0 -1
- package/lib/ux-models/index.d.ts +0 -5
- package/lib/ux-models/index.d.ts.map +0 -1
- package/lib/ux-models/ux-error-feedback.model.d.ts +0 -101
- package/lib/ux-models/ux-error-feedback.model.d.ts.map +0 -1
- package/lib/ux-models/ux-link-legacy.model.d.ts +0 -52
- package/lib/ux-models/ux-link-legacy.model.d.ts.map +0 -1
- package/lib/ux-models/ux-modal-legacy.model.d.ts +0 -6
- package/lib/ux-models/ux-modal-legacy.model.d.ts.map +0 -1
- package/lib/ux-models/ux-validation-error.model.d.ts +0 -15
- package/lib/ux-models/ux-validation-error.model.d.ts.map +0 -1
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
export interface EuiMenuItem<METADATA = unknown> {
|
|
2
|
-
id?: string;
|
|
3
|
-
e2eAttr?: string;
|
|
4
|
-
label?: string;
|
|
5
|
-
initials?: string;
|
|
6
|
-
url?: string;
|
|
7
|
-
queryParams?: any;
|
|
8
|
-
urlExternal?: string;
|
|
9
|
-
urlExternalTarget?: string;
|
|
10
|
-
link?: boolean;
|
|
11
|
-
iconClass?: string;
|
|
12
|
-
iconTypeClass?: string;
|
|
13
|
-
iconSvgName?: string;
|
|
14
|
-
iconSvgUrl?: string;
|
|
15
|
-
iconLabel?: string;
|
|
16
|
-
expanded?: boolean;
|
|
17
|
-
active?: boolean;
|
|
18
|
-
children?: EuiMenuItem[];
|
|
19
|
-
parent?: EuiMenuItem;
|
|
20
|
-
visible?: boolean;
|
|
21
|
-
tagLabel?: string;
|
|
22
|
-
tagTypeClass?: string;
|
|
23
|
-
tooltip?: string;
|
|
24
|
-
hasMarker?: boolean;
|
|
25
|
-
markerTypeClass?: string;
|
|
26
|
-
category?: string;
|
|
27
|
-
disabled?: boolean;
|
|
28
|
-
filtered?: boolean;
|
|
29
|
-
actionIcon?: {
|
|
30
|
-
/** icon can also include the set in the format of `icon:set` */
|
|
31
|
-
icon: string;
|
|
32
|
-
color?: string;
|
|
33
|
-
label?: string;
|
|
34
|
-
action?: (event: unknown) => void;
|
|
35
|
-
};
|
|
36
|
-
command?: (...params: any[]) => void;
|
|
37
|
-
allowedRightId?: string;
|
|
38
|
-
allowedRightIds?: string[];
|
|
39
|
-
deniedRightId?: string;
|
|
40
|
-
deniedRightIds?: string[];
|
|
41
|
-
metadata?: METADATA;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=eui-menu-item.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,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"}
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
export interface EuiPaginationConfig {
|
|
2
|
-
totalItems?: number;
|
|
3
|
-
pageSize?: number;
|
|
4
|
-
currentPage?: number;
|
|
5
|
-
pageWindowSize?: number;
|
|
6
|
-
}
|
|
7
|
-
export declare const DefaultConfig: EuiPaginationConfig;
|
|
8
|
-
export declare class EuiPagination {
|
|
9
|
-
private totalItems;
|
|
10
|
-
private pageSize;
|
|
11
|
-
private currentPage;
|
|
12
|
-
private pageWindowSize;
|
|
13
|
-
private constructor();
|
|
14
|
-
static create(config?: EuiPaginationConfig): EuiPagination;
|
|
15
|
-
getFirstPage(): number;
|
|
16
|
-
getLastPage(): number;
|
|
17
|
-
isFirstPageActive(): boolean;
|
|
18
|
-
isLastPageActive(): boolean;
|
|
19
|
-
hasItems(): boolean;
|
|
20
|
-
getPagesCount(): number;
|
|
21
|
-
getPages(): Array<number>;
|
|
22
|
-
goToPage(page: number): void;
|
|
23
|
-
goToFirstPage(): void;
|
|
24
|
-
goToLastPage(): void;
|
|
25
|
-
goToNextPage(): void;
|
|
26
|
-
goToPreviousPage(): void;
|
|
27
|
-
hasPreviousPage(): boolean;
|
|
28
|
-
hasNextPage(): boolean;
|
|
29
|
-
getTotalItems(): number;
|
|
30
|
-
getPageSize(): number;
|
|
31
|
-
setPageSize(size: number): void;
|
|
32
|
-
getCurrentPage(): number;
|
|
33
|
-
getPageWindowSize(): number;
|
|
34
|
-
setPageWindowSize(size: number): void;
|
|
35
|
-
getShowingFrom(): number;
|
|
36
|
-
getShowingTo(): number;
|
|
37
|
-
}
|
|
38
|
-
export declare const range: (start: number, end?: number, step?: number) => Array<number>;
|
|
39
|
-
//# sourceMappingURL=eui-pagination.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-pagination.model.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/eui-pagination/eui-pagination.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,mBAAmB;IAChC,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,cAAc,CAAC,EAAE,MAAM,CAAC;CAC3B;AAED,eAAO,MAAM,aAAa,EAAE,mBAK3B,CAAC;AAEF,qBAAa,aAAa;IAElB,OAAO,CAAC,UAAU;IAClB,OAAO,CAAC,QAAQ;IAChB,OAAO,CAAC,WAAW;IACnB,OAAO,CAAC,cAAc;IAJ1B,OAAO;WAOO,MAAM,CAAC,MAAM,GAAE,mBAAmC,GAAG,aAAa;IAgBhF,YAAY,IAAI,MAAM;IAItB,WAAW,IAAI,MAAM;IAIrB,iBAAiB,IAAI,OAAO;IAI5B,gBAAgB,IAAI,OAAO;IAI3B,QAAQ,IAAI,OAAO;IAInB,aAAa,IAAI,MAAM;IAKvB,QAAQ,IAAI,KAAK,CAAC,MAAM,CAAC;IAuCzB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAQ5B,aAAa,IAAI,IAAI;IAIrB,YAAY,IAAI,IAAI;IAKpB,YAAY,IAAI,IAAI;IAKpB,gBAAgB,IAAI,IAAI;IAKxB,eAAe,IAAI,OAAO;IAI1B,WAAW,IAAI,OAAO;IAItB,aAAa,IAAI,MAAM;IAIvB,WAAW,IAAI,MAAM;IAIrB,WAAW,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAK/B,cAAc,IAAI,MAAM;IAIxB,iBAAiB,IAAI,MAAM;IAI3B,iBAAiB,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI;IAKrC,cAAc,IAAI,MAAM;IAWxB,YAAY,IAAI,MAAM;CAazB;AAED,eAAO,MAAM,KAAK,UAAW,MAAM,QAAQ,MAAM,oBAAa,KAAK,CAAC,MAAM,CAUzE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/eui-pagination/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-permission.model.d.ts","sourceRoot":"","sources":["../../../src/lib/eui-models/eui-permission.model.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IACzB,EAAE,EAAE,MAAM,CAAC;IACX,WAAW,CAAC,EAAE,MAAM,EAAE,CAAC;CAC1B"}
|
|
@@ -1,76 +0,0 @@
|
|
|
1
|
-
import { Observable, Subject, Subscription } from 'rxjs';
|
|
2
|
-
import { ModuleConfig } from './eui-config/eui-app-config';
|
|
3
|
-
import { EuiStoreServiceModel } from './eui-store/eui-store-service.model';
|
|
4
|
-
export interface EuiServiceModel<T> {
|
|
5
|
-
init(t: T): Observable<EuiServiceStatus>;
|
|
6
|
-
/**
|
|
7
|
-
* retrieves the State of the service. If you don't pass anything it will retrieve the whole State
|
|
8
|
-
* of that service. If you pass a selector or MapFunction it will retrieve a slice of the state. If
|
|
9
|
-
* you pass a string that's a key of the Service State type it will retrieve that slice of the state.
|
|
10
|
-
*/
|
|
11
|
-
getState<K = T>(): Observable<T>;
|
|
12
|
-
getState<K>(mapFn: (state: T) => K): Observable<K>;
|
|
13
|
-
getState<A extends keyof T>(key: A): Observable<T[A]>;
|
|
14
|
-
getState<K>(keyOrMapFn?: ((state: T) => K) | string): Observable<K>;
|
|
15
|
-
updateState(t: T): void;
|
|
16
|
-
}
|
|
17
|
-
export type DeepPartial<T> = {
|
|
18
|
-
[P in keyof T]?: T[P] extends object ? DeepPartial<T[P]> : T[P];
|
|
19
|
-
};
|
|
20
|
-
export declare abstract class EuiService<T> implements EuiServiceModel<T> {
|
|
21
|
-
protected stateInstance: T;
|
|
22
|
-
protected prevStateInstance: T;
|
|
23
|
-
protected $stateSubs: Subscription;
|
|
24
|
-
protected $stateLazyLoadSubs: Subscription;
|
|
25
|
-
onStateChange: Subject<T>;
|
|
26
|
-
protected constructor(defaultState: T);
|
|
27
|
-
initEuiService(): void;
|
|
28
|
-
abstract init(t?: T): Observable<EuiServiceStatus>;
|
|
29
|
-
abstract getState<K = T>(): Observable<T>;
|
|
30
|
-
abstract getState<K>(mapFn?: (state: T) => K): Observable<K>;
|
|
31
|
-
abstract getState<A extends keyof T>(key?: A): Observable<T[A]>;
|
|
32
|
-
abstract getState<K>(keyOrMapFn?: ((state: T) => K) | string): Observable<K>;
|
|
33
|
-
abstract updateState(t: DeepPartial<T>): void;
|
|
34
|
-
protected unSubscribe(): void;
|
|
35
|
-
/**
|
|
36
|
-
* deep merge two objects
|
|
37
|
-
* @param target the object that will be merged into
|
|
38
|
-
* @param source the object that will be merged from
|
|
39
|
-
*/
|
|
40
|
-
protected deepMerge<T>(target: T, source: DeepPartial<T>): T;
|
|
41
|
-
/**
|
|
42
|
-
* checks if the given item is an object
|
|
43
|
-
* @param item the item that will be checked
|
|
44
|
-
*/
|
|
45
|
-
private isObject;
|
|
46
|
-
/**
|
|
47
|
-
* returns a copy of the given value whether this value is object or primitive. For the arrays it will cover
|
|
48
|
-
* multidimensional arrays, but it will not cover an object that contain functions. JSON.parse and JSON.stringify
|
|
49
|
-
* might have performance issues on large scale objects but that's an edge case scenario. In case that happens in
|
|
50
|
-
* the future follow the technique of NGRX with function caching.
|
|
51
|
-
*
|
|
52
|
-
* @param state
|
|
53
|
-
*/
|
|
54
|
-
private copy;
|
|
55
|
-
}
|
|
56
|
-
export declare abstract class EuiLazyService<T> extends EuiService<T> {
|
|
57
|
-
protected stateInstance: T;
|
|
58
|
-
protected $stateSubs: Subscription;
|
|
59
|
-
protected $stateLazyLoadSubs: Subscription;
|
|
60
|
-
protected constructor(defaultState: T);
|
|
61
|
-
abstract lazyLoadInit(moduleConfig: ModuleConfig, moduleName?: string): Observable<EuiServiceStatus>;
|
|
62
|
-
initEuiService(storeForLazyLoad?: EuiStoreServiceModel<T>): void;
|
|
63
|
-
}
|
|
64
|
-
/**
|
|
65
|
-
* EuiServiceStatus is a model that represents the status of the service. It has a boolean property that indicates
|
|
66
|
-
* whether the service was successful or not. If the service was not successful it will have an error property that
|
|
67
|
-
* contains the error message.
|
|
68
|
-
* @param T the type of the error message
|
|
69
|
-
* @property success a boolean property that indicates whether the service was successful or not
|
|
70
|
-
* @property error an optional property that contains the error message
|
|
71
|
-
*/
|
|
72
|
-
export interface EuiServiceStatus<T = unknown> {
|
|
73
|
-
success: boolean;
|
|
74
|
-
error?: T;
|
|
75
|
-
}
|
|
76
|
-
//# sourceMappingURL=eui-service.model.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-service.model.d.ts","sourceRoot":"","sources":["../../../src/lib/eui-models/eui-service.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,OAAO,EAAE,YAAY,EAAE,MAAM,MAAM,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAE3D,OAAO,EAAE,oBAAoB,EAAE,MAAM,qCAAqC,CAAC;AAK3E,MAAM,WAAW,eAAe,CAAC,CAAC;IAC9B,IAAI,CAAC,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC,CAAC;IAEzC;;;;OAIG;IAEH,QAAQ,CAAC,CAAC,GAAG,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC,CAAC;IACjC,QAAQ,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;IACnD,QAAQ,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IACtD,QAAQ,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC;IAEpE,WAAW,CAAC,CAAC,EAAE,CAAC,GAAG,IAAI,CAAC;CAC3B;AAED,MAAM,MAAM,WAAW,CAAC,CAAC,IAAI;KACxB,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAC,SAAS,MAAM,GAAG,WAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;CAClE,CAAC;AAEF,8BAAsB,UAAU,CAAC,CAAC,CAAE,YAAW,eAAe,CAAC,CAAC,CAAC;IAC7D,SAAS,CAAC,aAAa,EAAE,CAAC,CAAC;IAC3B,SAAS,CAAC,iBAAiB,EAAE,CAAC,CAAC;IAC/B,SAAS,CAAC,UAAU,EAAE,YAAY,CAAC;IACnC,SAAS,CAAC,kBAAkB,EAAE,YAAY,CAAC;IAC3C,aAAa,EAAE,OAAO,CAAC,CAAC,CAAC,CAAoB;IAE7C,SAAS,aAAa,YAAY,EAAE,CAAC;IAIrC,cAAc,IAAI,IAAI;IAYtB,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAElD,QAAQ,CAAC,QAAQ,CAAC,CAAC,GAAG,CAAC,KAAK,UAAU,CAAC,CAAC,CAAC;IACzC,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IAC5D,QAAQ,CAAC,QAAQ,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAC/D,QAAQ,CAAC,QAAQ,CAAC,CAAC,EAAE,UAAU,CAAC,EAAE,CAAC,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,CAAC,GAAG,MAAM,GAAG,UAAU,CAAC,CAAC,CAAC;IAE5E,QAAQ,CAAC,WAAW,CAAC,CAAC,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI;IAE7C,SAAS,CAAC,WAAW,IAAI,IAAI;IAS7B;;;;OAIG;IACH,SAAS,CAAC,SAAS,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC;IAuB5D;;;OAGG;IACH,OAAO,CAAC,QAAQ;IAIhB;;;;;;;OAOG;IACH,OAAO,CAAC,IAAI;CAMf;AAID,8BAAsB,cAAc,CAAC,CAAC,CAAE,SAAQ,UAAU,CAAC,CAAC,CAAC;IACzD,SAAS,CAAC,aAAa,EAAE,CAAC,CAAC;IAC3B,SAAS,CAAC,UAAU,EAAE,YAAY,CAAC;IACnC,SAAS,CAAC,kBAAkB,EAAE,YAAY,CAAC;IAE3C,SAAS,aAAa,YAAY,EAAE,CAAC;IAIrC,QAAQ,CAAC,YAAY,CAAC,YAAY,EAAE,YAAY,EAAE,UAAU,CAAC,EAAE,MAAM,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAGpG,cAAc,CAAC,gBAAgB,CAAC,EAAE,oBAAoB,CAAC,CAAC,CAAC,GAAG,IAAI;CAoBnE;AAED;;;;;;;GAOG;AACH,MAAM,WAAW,gBAAgB,CAAC,CAAC,GAAG,OAAO;IACzC,OAAO,EAAE,OAAO,CAAC;IACjB,KAAK,CAAC,EAAE,CAAC,CAAC;CACb"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"eui-store-service.model.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/eui-store/eui-store-service.model.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,WAAW,oBAAoB,CAAC,CAAC;IACnC,MAAM,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,GAAG,OAAO,CAAC,CAAC,CAAC,CAAC,CAAC;CACjE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/eui-store/index.ts"],"names":[],"mappings":"AAAA,cAAc,2BAA2B,CAAC;AAC1C,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
type HTTPMethod = 'GET' | 'HEAD' | 'POST' | 'PUT' | 'DELETE' | 'CONNECT' | 'OPTIONS' | 'TRACE' | 'PATCH';
|
|
2
|
-
export interface ApiQueueItem<PAYLOAD = unknown> {
|
|
3
|
-
uri: string;
|
|
4
|
-
method: HTTPMethod | string;
|
|
5
|
-
payload?: PAYLOAD;
|
|
6
|
-
timestamp?: number;
|
|
7
|
-
}
|
|
8
|
-
export interface ApiQueue {
|
|
9
|
-
[id: string]: ApiQueueItem;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=app.models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.models.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/models/app.models.ts"],"names":[],"mappings":"AAAA,KAAK,UAAU,GAAG,KAAK,GAAG,MAAM,GAAG,MAAM,GAAG,KAAK,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC;AAEzG,MAAM,WAAW,YAAY,CAAC,OAAO,GAAG,OAAO;IAC3C,GAAG,EAAE,MAAM,CAAC;IACZ,MAAM,EAAE,UAAU,GAAG,MAAM,CAAC;IAC5B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,QAAQ;IACrB,CAAC,EAAE,EAAE,MAAM,GAAG,YAAY,CAAC;CAC9B"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/models/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface UserDetails {
|
|
2
|
-
userId: string;
|
|
3
|
-
firstName?: string;
|
|
4
|
-
lastName?: string;
|
|
5
|
-
fullName?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface UserPreferences<DASHBOARD = any, T = any> {
|
|
8
|
-
dashboard?: DASHBOARD;
|
|
9
|
-
lang?: string;
|
|
10
|
-
[key: string]: string | DASHBOARD | T;
|
|
11
|
-
}
|
|
12
|
-
export declare const initialUserPreferences: UserPreferences;
|
|
13
|
-
//# sourceMappingURL=user.models.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.models.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/models/user.models.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,WAAW;IACxB,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;CACrB;AAID,MAAM,WAAW,eAAe,CAAC,SAAS,GAAG,GAAG,EAAE,CAAC,GAAG,GAAG;IACrD,SAAS,CAAC,EAAE,SAAS,CAAC;IACtB,IAAI,CAAC,EAAE,MAAM,CAAC;IAEd,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,SAAS,GAAG,CAAC,CAAC;CACzC;AAED,eAAO,MAAM,sBAAsB,EAAE,eAMpC,CAAC"}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Selector } from 'reselect';
|
|
2
|
-
import { AppState, LoadedConfigModules } from '../state';
|
|
3
|
-
import { ApiQueue, ApiQueueItem } from '../models';
|
|
4
|
-
export declare const getAppVersion: Selector<AppState, string>;
|
|
5
|
-
export declare const getAppConnection: Selector<AppState, boolean>;
|
|
6
|
-
/**
|
|
7
|
-
* Returns the loaded config modules from the app state
|
|
8
|
-
* @deprecated It will be removed in the future.
|
|
9
|
-
*/
|
|
10
|
-
export declare const getAppLoadedConfigModules: Selector<AppState, LoadedConfigModules>;
|
|
11
|
-
/**
|
|
12
|
-
* Returns the last added module from the app state
|
|
13
|
-
* @deprecated It will be removed in the future.
|
|
14
|
-
*/
|
|
15
|
-
export declare const getLastAddedModule: Selector<AppState, string>;
|
|
16
|
-
export declare const getAppStatus: Selector<AppState, string>;
|
|
17
|
-
export declare const getCurrentModule: Selector<AppState, string>;
|
|
18
|
-
export declare const getApiQueue: Selector<AppState, ApiQueue>;
|
|
19
|
-
export declare const getApiQueueItem: (itemId: string) => Selector<AppState, ApiQueueItem>;
|
|
20
|
-
//# sourceMappingURL=app.selectors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.selectors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/selectors/app.selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,UAAU,CAAC;AAEzD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAmE,CAAC;AACzH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAqE,CAAC;AAC/H;;;GAGG;AACH,eAAO,MAAM,yBAAyB,EAAE,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAG7E,CAAC;AACF;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAGzD,CAAC;AAEF,eAAO,MAAM,YAAY,EAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAkE,CAAC;AACvH,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAyE,CAAC;AAClI,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,QAAQ,EAAE,QAAQ,CAAoE,CAAC;AAC1H,eAAO,MAAM,eAAe,WAAY,MAAM,KAAG,QAAQ,CAAC,QAAQ,EAAE,YAAY,CACJ,CAAC"}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { CoreState, AppState, I18nState, LocaleState, NotificationsState, UserState } from '../state';
|
|
2
|
-
export declare const getAppState: (state: CoreState) => AppState;
|
|
3
|
-
export declare const getUserState: (state: CoreState) => UserState;
|
|
4
|
-
export declare const getNotificationsState: (state: CoreState) => NotificationsState;
|
|
5
|
-
export declare const getI18nState: (state: CoreState) => I18nState;
|
|
6
|
-
export declare const getLocaleState: (state: CoreState) => LocaleState;
|
|
7
|
-
//# sourceMappingURL=core.selectors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.selectors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/selectors/core.selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,SAAS,EAAE,WAAW,EAAE,kBAAkB,EAAE,SAAS,EAAE,MAAM,UAAU,CAAC;AAEtG,eAAO,MAAM,WAAW,UAAW,SAAS,KAAG,QAAqB,CAAC;AACrE,eAAO,MAAM,YAAY,UAAW,SAAS,KAAG,SAAuB,CAAC;AACxE,eAAO,MAAM,qBAAqB,UAAW,SAAS,KAAG,kBAAyC,CAAC;AACnG,eAAO,MAAM,YAAY,UAAW,SAAS,KAAG,SAAuB,CAAC;AACxE,eAAO,MAAM,cAAc,UAAW,SAAS,KAAG,WAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.selectors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/selectors/i18n.selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpD,OAAO,EAAa,SAAS,EAAE,MAAM,UAAU,CAAC;AAEhD,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAwE,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/selectors/index.ts"],"names":[],"mappings":"AAAA,cAAc,iBAAiB,CAAC;AAChC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.selectors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/selectors/notifications.selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,UAAU,CAAC;AAIpD,OAAO,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAEpC,eAAO,MAAM,oBAAoB,EAAE,QAAQ,CAAC,QAAQ,EAAE,OAAO,EAAE,CAG9D,CAAC"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Selector } from 'reselect';
|
|
2
|
-
import { UserDetails, UserPreferences } from '../models/user.models';
|
|
3
|
-
import { CoreState, EuiUserRight } from '../../../eui-models';
|
|
4
|
-
export declare const getUserDetails: Selector<CoreState, UserDetails>;
|
|
5
|
-
export declare const getUserPreferences: Selector<CoreState, UserPreferences>;
|
|
6
|
-
export declare const getUserId: Selector<CoreState, string>;
|
|
7
|
-
export declare const getUserFirstName: Selector<CoreState, string>;
|
|
8
|
-
export declare const getUserLastName: Selector<CoreState, string>;
|
|
9
|
-
export declare const getUserFullName: Selector<CoreState, string>;
|
|
10
|
-
export declare const getUserLang: Selector<UserPreferences, string>;
|
|
11
|
-
export declare const getUserRights: Selector<CoreState, EuiUserRight[]>;
|
|
12
|
-
export declare const getUserRight: (rightId: string) => Selector<CoreState, EuiUserRight>;
|
|
13
|
-
export declare const getUserRightPermissions: (rightId: string) => Selector<CoreState, string[]>;
|
|
14
|
-
export declare const getUserDashboard: Selector<UserPreferences<unknown>, unknown>;
|
|
15
|
-
//# sourceMappingURL=user.selectors.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.selectors.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/selectors/user.selectors.ts"],"names":[],"mappings":"AAAA,OAAO,EAAkB,QAAQ,EAAE,MAAM,UAAU,CAAC;AACpD,OAAO,EAAE,WAAW,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,SAAS,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAI9D,eAAO,MAAM,cAAc,EAAE,QAAQ,CAAC,SAAS,EAAE,WAAW,CAA4E,CAAC;AACzI,eAAO,MAAM,kBAAkB,EAAE,QAAQ,CAAC,SAAS,EAAE,eAAe,CAGnE,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAwE,CAAC;AAC3H,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAA2E,CAAC;AACrI,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAA0E,CAAC;AACnI,eAAO,MAAM,eAAe,EAAE,QAAQ,CAAC,SAAS,EAAE,MAAM,CAA0E,CAAC;AAEnI,eAAO,MAAM,WAAW,EAAE,QAAQ,CAAC,eAAe,EAAE,MAAM,CAA8E,CAAC;AAEzI,eAAO,MAAM,aAAa,EAAE,QAAQ,CAAC,SAAS,EAAE,YAAY,EAAE,CAAoE,CAAC;AACnI,eAAO,MAAM,YAAY,YAAa,MAAM,KAAG,QAAQ,CAAC,SAAS,EAAE,YAAY,CACmC,CAAC;AACnH,eAAO,MAAM,uBAAuB,YAAa,MAAM,KAAG,QAAQ,CAAC,SAAS,EAAE,MAAM,EAAE,CACQ,CAAC;AAE/F,eAAO,MAAM,gBAAgB,EAAE,QAAQ,CAAC,eAAe,CAAC,OAAO,CAAC,EAAE,OAAO,CAGxE,CAAC"}
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { ApiQueue } from '../models';
|
|
2
|
-
import { ModulesConfig } from '../../eui-config';
|
|
3
|
-
export interface AppState<T = any> {
|
|
4
|
-
version?: string;
|
|
5
|
-
/** flag to indicate if the application is online/offline. Default: true */
|
|
6
|
-
connected?: boolean;
|
|
7
|
-
loadedConfigModules?: LoadedConfigModules;
|
|
8
|
-
status?: string;
|
|
9
|
-
currentModule?: string;
|
|
10
|
-
apiQueue?: ApiQueue;
|
|
11
|
-
[key: string]: string | boolean | LoadedConfigModules | ApiQueue | T;
|
|
12
|
-
}
|
|
13
|
-
export declare const initialAppState: AppState;
|
|
14
|
-
/**
|
|
15
|
-
* LoadedConfigModules
|
|
16
|
-
* @property lastAddedModule - the last module added to the store
|
|
17
|
-
* @property modulesConfig - the modules configuration
|
|
18
|
-
*/
|
|
19
|
-
export interface LoadedConfigModules {
|
|
20
|
-
lastAddedModule?: string;
|
|
21
|
-
modulesConfig: ModulesConfig;
|
|
22
|
-
}
|
|
23
|
-
//# sourceMappingURL=app.state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"app.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/app.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AACrC,OAAO,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAIjD,MAAM,WAAW,QAAQ,CAAC,CAAC,GAAG,GAAG;IAC7B,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,mBAAmB,CAAC,EAAE,mBAAmB,CAAC;IAE1C,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,GAAG,mBAAmB,GAAG,QAAQ,GAAG,CAAC,CAAC;CACxE;AAED,eAAO,MAAM,eAAe,EAAE,QAY7B,CAAC;AAEF;;;;GAIG;AACH,MAAM,WAAW,mBAAmB;IAChC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,aAAa,EAAE,aAAa,CAAC;CAChC"}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { AppState } from './app.state';
|
|
2
|
-
import { UserState } from './user.state';
|
|
3
|
-
import { NotificationsState } from './notifications.state';
|
|
4
|
-
import { I18nState } from './i18n.state';
|
|
5
|
-
import { LocaleState } from './locale.state';
|
|
6
|
-
export interface CoreState {
|
|
7
|
-
app?: AppState;
|
|
8
|
-
user?: UserState;
|
|
9
|
-
notifications?: NotificationsState;
|
|
10
|
-
i18n?: I18nState;
|
|
11
|
-
locale?: LocaleState;
|
|
12
|
-
}
|
|
13
|
-
export declare const initialCoreState: CoreState;
|
|
14
|
-
//# sourceMappingURL=core.state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"core.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/core.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAmB,MAAM,aAAa,CAAC;AACxD,OAAO,EAAE,SAAS,EAAoB,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,kBAAkB,EAA6B,MAAM,uBAAuB,CAAC;AACtF,OAAO,EAAE,SAAS,EAAoB,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,WAAW,EAAsB,MAAM,gBAAgB,CAAC;AAEjE,MAAM,WAAW,SAAS;IACtB,GAAG,CAAC,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,aAAa,CAAC,EAAE,kBAAkB,CAAC;IACnC,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,MAAM,CAAC,EAAE,WAAW,CAAC;CACxB;AAED,eAAO,MAAM,gBAAgB,EAAE,SAS9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"i18n.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/i18n.state.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,SAAS;IACtB,UAAU,EAAE,MAAM,CAAC;CACtB;AAED,eAAO,MAAM,gBAAgB,EAAE,SAE9B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,uBAAuB,CAAC;AACtC,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The locale state is used to store the current locale id and the list of available locales.
|
|
3
|
-
*/
|
|
4
|
-
export interface LocaleState {
|
|
5
|
-
/** The current locale id e.g. 'en-US' */
|
|
6
|
-
id: string;
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The initial state of the locale state. The default locale is English US ('en').
|
|
10
|
-
*/
|
|
11
|
-
export declare const initialLocaleState: LocaleState;
|
|
12
|
-
//# sourceMappingURL=locale.state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
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;CACd;AAED;;GAEG;AACH,eAAO,MAAM,kBAAkB,EAAE,WAEhC,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* The notifications state.
|
|
3
|
-
* @template LIST The type of the list of notifications.
|
|
4
|
-
*/
|
|
5
|
-
export interface NotificationsState<LIST = unknown> {
|
|
6
|
-
list?: LIST[];
|
|
7
|
-
}
|
|
8
|
-
/**
|
|
9
|
-
* The initial state of the notifications state.
|
|
10
|
-
*/
|
|
11
|
-
export declare const initialNotificationsState: NotificationsState;
|
|
12
|
-
//# sourceMappingURL=notifications.state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"notifications.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/notifications.state.ts"],"names":[],"mappings":"AAAA;;;GAGG;AACH,MAAM,WAAW,kBAAkB,CAAC,IAAI,GAAG,OAAO;IAC9C,IAAI,CAAC,EAAE,IAAI,EAAE,CAAC;CACjB;AAED;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,kBAEvC,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { UserPreferences } from '../models/user.models';
|
|
2
|
-
import { EuiUserRight } from '../../../eui-models';
|
|
3
|
-
import { UserDetails } from '../models';
|
|
4
|
-
export interface UserState extends UserDetails {
|
|
5
|
-
userId: string;
|
|
6
|
-
firstName?: string;
|
|
7
|
-
lastName?: string;
|
|
8
|
-
fullName?: string;
|
|
9
|
-
preferences?: UserPreferences;
|
|
10
|
-
rights?: EuiUserRight[];
|
|
11
|
-
}
|
|
12
|
-
export declare const initialUserState: UserState;
|
|
13
|
-
//# sourceMappingURL=user.state.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"user.state.d.ts","sourceRoot":"","sources":["../../../../../src/lib/eui-models/eui-store/state/user.state.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAA0B,MAAM,uBAAuB,CAAC;AAChF,OAAO,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAExC,MAAM,WAAW,SAAU,SAAQ,WAAW;IAC1C,MAAM,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,WAAW,CAAC,EAAE,eAAe,CAAC;IAC9B,MAAM,CAAC,EAAE,YAAY,EAAE,CAAC;CAC3B;AAED,eAAO,MAAM,gBAAgB,EAAE,SAU9B,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export * from './eui-service.model';
|
|
2
|
-
export * from './log/index';
|
|
3
|
-
export * from './eui-config/index';
|
|
4
|
-
export * from './eui-store/index';
|
|
5
|
-
export * from './eui-pagination';
|
|
6
|
-
export * from './eui-constants';
|
|
7
|
-
export * from './eui-auth-config.model';
|
|
8
|
-
export * from './eui-language/eui-eu-languages.model';
|
|
9
|
-
export * from './eui-language/eui-language.model';
|
|
10
|
-
export * from './eui-permission.model';
|
|
11
|
-
export * from './eui-menu-item.model';
|
|
12
|
-
export * from './eui-growl-message.model';
|
|
13
|
-
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/lib/eui-models/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,aAAa,CAAC;AAC5B,cAAc,oBAAoB,CAAC;AACnC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,uCAAuC,CAAC;AACtD,cAAc,mCAAmC,CAAC;AAClD,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AAEtC,cAAc,2BAA2B,CAAC"}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { LogAppender } from './log.appender';
|
|
2
|
-
import { ConsoleAppenderConfig, ConsoleAppenderPrefixConverters } from '../eui-config';
|
|
3
|
-
import { LogEvent } from './log.model';
|
|
4
|
-
/** Default console prefix converters */
|
|
5
|
-
export declare const DEFAULT_CONSOLE_APPENDER_PREFIX_CONVERTERS: ConsoleAppenderPrefixConverters;
|
|
6
|
-
/**
|
|
7
|
-
* Console Appender
|
|
8
|
-
*/
|
|
9
|
-
export declare class ConsoleAppender extends LogAppender<ConsoleAppenderConfig> {
|
|
10
|
-
config: ConsoleAppenderConfig;
|
|
11
|
-
constructor(config?: ConsoleAppenderConfig);
|
|
12
|
-
/**
|
|
13
|
-
* Logs an event in the console
|
|
14
|
-
*/
|
|
15
|
-
append(event: LogEvent): void;
|
|
16
|
-
/**
|
|
17
|
-
* Returns the prefix to be added to the messages
|
|
18
|
-
*
|
|
19
|
-
* @param event the log event
|
|
20
|
-
* @returns the formatted prefix, as string
|
|
21
|
-
*/
|
|
22
|
-
protected getPrefix(event: LogEvent): string;
|
|
23
|
-
/**
|
|
24
|
-
* Utility method to replace a placeholder
|
|
25
|
-
*
|
|
26
|
-
* @param str the string with placeholders
|
|
27
|
-
* @param find the placeholder
|
|
28
|
-
* @param replace the string to replace the placeholder
|
|
29
|
-
* @returns the converted string
|
|
30
|
-
*/
|
|
31
|
-
protected convert(str: string, find: string, replace: string): string;
|
|
32
|
-
}
|
|
33
|
-
//# sourceMappingURL=console.appender.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"console.appender.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/log/console.appender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,EAAE,qBAAqB,EAAE,+BAA+B,EAAE,MAAM,eAAe,CAAC;AACvF,OAAO,EAAE,QAAQ,EAAY,MAAM,aAAa,CAAC;AAEjD,wCAAwC;AACxC,eAAO,MAAM,0CAA0C,EAAE,+BAKxD,CAAC;AAEF;;GAEG;AACH,qBAAa,eAAgB,SAAQ,WAAW,CAAC,qBAAqB,CAAC;IAChD,MAAM,EAAE,qBAAqB;gBAA7B,MAAM,GAAE,qBAA0B;IAMrD;;OAEG;IACH,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;IAqB7B;;;;;OAKG;IACH,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,QAAQ,GAAG,MAAM;IAiB5C;;;;;;;OAOG;IACH,SAAS,CAAC,OAAO,CAAC,GAAG,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,MAAM;CAGxE"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/log/index.ts"],"names":[],"mappings":"AAAA,cAAc,oBAAoB,CAAC;AACnC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,cAAc,CAAC;AAC7B,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { Injector } from '@angular/core';
|
|
2
|
-
import { LogAppenderConfig } from '../eui-config';
|
|
3
|
-
import { LogEvent } from './log.model';
|
|
4
|
-
/**
|
|
5
|
-
* Abstract Log Appender
|
|
6
|
-
*/
|
|
7
|
-
export declare abstract class LogAppender<CFG extends LogAppenderConfig = LogAppenderConfig> {
|
|
8
|
-
protected config: CFG;
|
|
9
|
-
protected injector: Injector;
|
|
10
|
-
constructor(config: CFG, injector?: Injector);
|
|
11
|
-
/**
|
|
12
|
-
* Gets the config
|
|
13
|
-
*
|
|
14
|
-
* @returns the config
|
|
15
|
-
*/
|
|
16
|
-
getConfig(): CFG;
|
|
17
|
-
/**
|
|
18
|
-
* Logs a Log Event
|
|
19
|
-
*
|
|
20
|
-
* @param event log event
|
|
21
|
-
*/
|
|
22
|
-
abstract append(event: LogEvent): void;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=log.appender.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"log.appender.d.ts","sourceRoot":"","sources":["../../../../src/lib/eui-models/log/log.appender.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AAClD,OAAO,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAEvC;;GAEG;AACH,8BAAsB,WAAW,CAAC,GAAG,SAAS,iBAAiB,GAAG,iBAAiB;IACnE,SAAS,CAAC,MAAM,EAAE,GAAG;IAAE,SAAS,CAAC,QAAQ,EAAE,QAAQ;gBAAzC,MAAM,EAAE,GAAG,EAAY,QAAQ,GAAE,QAAe;IAEtE;;;;OAIG;IACH,SAAS,IAAI,GAAG;IAIhB;;;;OAIG;IACH,QAAQ,CAAC,MAAM,CAAC,KAAK,EAAE,QAAQ,GAAG,IAAI;CACzC"}
|