@eui/core 15.4.0 → 15.4.1
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/LICENSE +296 -296
- package/README.md +26 -26
- package/assets/i18n-eui/bg.json +114 -114
- package/assets/i18n-eui/cs.json +114 -114
- package/assets/i18n-eui/da.json +114 -114
- package/assets/i18n-eui/de.json +114 -114
- package/assets/i18n-eui/el.json +114 -114
- package/assets/i18n-eui/en.json +113 -113
- package/assets/i18n-eui/es.json +114 -114
- package/assets/i18n-eui/et.json +114 -114
- package/assets/i18n-eui/fi.json +114 -114
- package/assets/i18n-eui/fr.json +114 -114
- package/assets/i18n-eui/ga.json +114 -114
- package/assets/i18n-eui/hr.json +114 -114
- package/assets/i18n-eui/hu.json +114 -114
- package/assets/i18n-eui/it.json +114 -114
- package/assets/i18n-eui/lt.json +114 -114
- package/assets/i18n-eui/lv.json +114 -114
- package/assets/i18n-eui/mt.json +114 -114
- package/assets/i18n-eui/nl.json +114 -114
- package/assets/i18n-eui/pl.json +114 -114
- package/assets/i18n-eui/pt.json +114 -114
- package/assets/i18n-eui/ro.json +114 -114
- package/assets/i18n-eui/sk.json +114 -114
- package/assets/i18n-eui/sl.json +114 -114
- package/assets/i18n-eui/sv.json +114 -114
- package/docs/classes/RouterMock.html +5 -5
- package/docs/dependencies.html +95 -7
- package/docs/index.html +36 -59
- package/docs/injectables/CoreAppEffects.html +51 -51
- package/docs/js/menu-wc.js +12 -7
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/variables.html +1211 -1211
- package/docs/overview.html +171 -0
- package/esm2020/eui-core.mjs +4 -4
- package/esm2020/index.mjs +13 -13
- package/esm2020/lib/eui-core.module.mjs +78 -78
- package/esm2020/lib/helpers/date-helpers.mjs +3 -3
- package/esm2020/lib/helpers/dom-helpers.mjs +87 -87
- package/esm2020/lib/helpers/event-helpers.mjs +9 -9
- package/esm2020/lib/helpers/form-helpers.mjs +42 -42
- package/esm2020/lib/helpers/format-helpers.mjs +66 -66
- package/esm2020/lib/helpers/http-helpers.mjs +7 -7
- package/esm2020/lib/helpers/index.mjs +8 -8
- package/esm2020/lib/helpers/utils.mjs +7 -7
- package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +35 -35
- package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +21 -21
- package/esm2020/lib/interceptors/cors-security.interceptor.mjs +15 -15
- package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +15 -15
- package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +72 -72
- package/esm2020/lib/interceptors/index.mjs +8 -8
- package/esm2020/lib/interceptors/openid/index.mjs +4 -4
- package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +149 -149
- package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +56 -56
- package/esm2020/lib/interceptors/openid/openid-connect.service.mock.mjs +8 -8
- package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +31 -31
- package/esm2020/lib/services/app/eui-init-app.mjs +29 -29
- package/esm2020/lib/services/app/eui-pre-init-app.mjs +43 -43
- package/esm2020/lib/services/app/eui-startup.mjs +40 -40
- package/esm2020/lib/services/app/factories/log.mjs +55 -55
- package/esm2020/lib/services/app/index.mjs +2 -2
- package/esm2020/lib/services/config/defaults.mjs +68 -68
- package/esm2020/lib/services/config/tokens.mjs +74 -74
- package/esm2020/lib/services/errors/eui.error.mjs +38 -38
- package/esm2020/lib/services/errors/global-error-handler.mjs +24 -24
- package/esm2020/lib/services/errors/http-error-handler-callback-functions.mjs +17 -17
- package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +55 -55
- package/esm2020/lib/services/errors/index.mjs +5 -5
- package/esm2020/lib/services/i18n/i18n.loader.mjs +198 -198
- package/esm2020/lib/services/i18n/i18n.resource.mjs +43 -43
- package/esm2020/lib/services/i18n/i18n.service.mjs +228 -228
- package/esm2020/lib/services/i18n/i18n.service.mock.mjs +38 -38
- package/esm2020/lib/services/i18n/index.mjs +6 -6
- package/esm2020/lib/services/index.mjs +19 -19
- package/esm2020/lib/services/locale/index.mjs +3 -3
- package/esm2020/lib/services/locale/locale.service.mjs +232 -232
- package/esm2020/lib/services/locale/locale.service.mock.mjs +43 -43
- package/esm2020/lib/services/log/index.mjs +4 -4
- package/esm2020/lib/services/log/log.module.mjs +38 -38
- package/esm2020/lib/services/log/log.service.mjs +51 -51
- package/esm2020/lib/services/log/log.service.mock.mjs +7 -7
- package/esm2020/lib/services/permission/permission.service.mjs +110 -110
- package/esm2020/lib/services/queue/api-queue.service.mjs +137 -137
- package/esm2020/lib/services/queue/api-queue.service.mock.mjs +23 -23
- package/esm2020/lib/services/queue/index.mjs +3 -3
- package/esm2020/lib/services/storage/async-storage.service.mjs +17 -17
- package/esm2020/lib/services/storage/async-storage.service.mock.mjs +22 -22
- package/esm2020/lib/services/storage/index.mjs +8 -8
- package/esm2020/lib/services/storage/local-forage.service.mjs +93 -93
- package/esm2020/lib/services/storage/local-storage.service.mjs +75 -75
- package/esm2020/lib/services/storage/session-storage.service.mjs +75 -75
- package/esm2020/lib/services/storage/storage.service.mjs +6 -6
- package/esm2020/lib/services/storage/storage.service.mock.mjs +12 -12
- package/esm2020/lib/services/store/actions/app.actions.mjs +74 -74
- package/esm2020/lib/services/store/actions/i18n.actions.mjs +11 -11
- package/esm2020/lib/services/store/actions/index.mjs +6 -6
- package/esm2020/lib/services/store/actions/locale.actions.mjs +11 -11
- package/esm2020/lib/services/store/actions/notifications.actions.mjs +11 -11
- package/esm2020/lib/services/store/actions/user.actions.mjs +39 -39
- package/esm2020/lib/services/store/effects/app.effects.mjs +55 -55
- package/esm2020/lib/services/store/effects/index.mjs +4 -4
- package/esm2020/lib/services/store/index.mjs +6 -6
- package/esm2020/lib/services/store/reducers/app.reducers.mjs +56 -56
- package/esm2020/lib/services/store/reducers/core.reducers.mjs +13 -13
- package/esm2020/lib/services/store/reducers/i18n.reducers.mjs +16 -16
- package/esm2020/lib/services/store/reducers/index.mjs +8 -8
- package/esm2020/lib/services/store/reducers/locale.reducers.mjs +16 -16
- package/esm2020/lib/services/store/reducers/meta.reducers.mjs +89 -89
- package/esm2020/lib/services/store/reducers/notifications.reducers.mjs +13 -13
- package/esm2020/lib/services/store/reducers/user.reducers.mjs +43 -43
- package/esm2020/lib/services/store/store.service.mjs +112 -112
- package/esm2020/lib/services/store/store.service.mock.mjs +22 -22
- package/esm2020/lib/services/user/index.mjs +3 -3
- package/esm2020/lib/services/user/user.service.mjs +64 -64
- package/esm2020/lib/services/user/user.service.mock.mjs +32 -32
- package/esm2020/lib/services/ux-app-shell.service.mjs +690 -690
- package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +63 -63
- package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +66 -66
- package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +99 -99
- package/esm2020/lib/services/ux-error-feedback/ux-error-handler.operator.mjs +16 -16
- package/esm2020/lib/services/ux-timezone.service.mjs +716 -716
- package/fesm2015/eui-core.mjs +4484 -4484
- package/fesm2015/eui-core.mjs.map +1 -1
- package/fesm2020/eui-core.mjs +4538 -4538
- package/fesm2020/eui-core.mjs.map +1 -1
- package/index.d.ts +5 -5
- package/lib/eui-core.module.d.ts +20 -20
- package/lib/helpers/date-helpers.d.ts +2 -2
- package/lib/helpers/dom-helpers.d.ts +26 -26
- package/lib/helpers/event-helpers.d.ts +1 -1
- package/lib/helpers/form-helpers.d.ts +10 -10
- package/lib/helpers/format-helpers.d.ts +12 -12
- package/lib/helpers/http-helpers.d.ts +2 -2
- package/lib/helpers/index.d.ts +7 -7
- package/lib/helpers/utils.d.ts +6 -6
- package/lib/interceptors/add-lang-param.interceptor.d.ts +16 -16
- package/lib/interceptors/cache-prevention.interceptor.d.ts +8 -8
- package/lib/interceptors/cors-security.interceptor.d.ts +8 -8
- package/lib/interceptors/csrf-prevention.interceptor.d.ts +8 -8
- package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts +12 -12
- package/lib/interceptors/index.d.ts +7 -7
- package/lib/interceptors/openid/index.d.ts +3 -3
- package/lib/interceptors/openid/openid-connect.interceptor.d.ts +14 -14
- package/lib/interceptors/openid/openid-connect.service.d.ts +17 -17
- package/lib/interceptors/openid/openid-connect.service.mock.d.ts +5 -5
- package/lib/interceptors/ux-request-error-model.interceptor.d.ts +13 -13
- package/lib/services/app/eui-init-app.d.ts +2 -2
- package/lib/services/app/eui-pre-init-app.d.ts +16 -16
- package/lib/services/app/eui-startup.d.ts +4 -4
- package/lib/services/app/factories/log.d.ts +25 -25
- package/lib/services/app/index.d.ts +1 -1
- package/lib/services/config/defaults.d.ts +11 -11
- package/lib/services/config/tokens.d.ts +19 -19
- package/lib/services/errors/eui.error.d.ts +15 -15
- package/lib/services/errors/global-error-handler.d.ts +10 -10
- package/lib/services/errors/http-error-handler-callback-functions.d.ts +6 -6
- package/lib/services/errors/http-error-handler.interceptor.d.ts +22 -22
- package/lib/services/errors/index.d.ts +4 -4
- package/lib/services/i18n/i18n.loader.d.ts +79 -79
- package/lib/services/i18n/i18n.resource.d.ts +35 -35
- package/lib/services/i18n/i18n.service.d.ts +73 -73
- package/lib/services/i18n/i18n.service.mock.d.ts +19 -19
- package/lib/services/i18n/index.d.ts +4 -4
- package/lib/services/index.d.ts +18 -18
- package/lib/services/locale/index.d.ts +2 -2
- package/lib/services/locale/locale.service.d.ts +68 -68
- package/lib/services/locale/locale.service.mock.d.ts +15 -15
- package/lib/services/log/index.d.ts +3 -3
- package/lib/services/log/log.module.d.ts +15 -15
- package/lib/services/log/log.service.d.ts +27 -27
- package/lib/services/log/log.service.mock.d.ts +4 -4
- package/lib/services/permission/permission.service.d.ts +52 -52
- package/lib/services/queue/api-queue.service.d.ts +76 -76
- package/lib/services/queue/api-queue.service.mock.d.ts +13 -13
- package/lib/services/queue/index.d.ts +2 -2
- package/lib/services/storage/async-storage.service.d.ts +44 -44
- package/lib/services/storage/async-storage.service.mock.d.ts +11 -11
- package/lib/services/storage/index.d.ts +7 -7
- package/lib/services/storage/local-forage.service.d.ts +48 -48
- package/lib/services/storage/local-storage.service.d.ts +34 -34
- package/lib/services/storage/session-storage.service.d.ts +34 -34
- package/lib/services/storage/storage.service.d.ts +28 -28
- package/lib/services/storage/storage.service.mock.d.ts +7 -7
- package/lib/services/store/actions/app.actions.d.ts +82 -82
- package/lib/services/store/actions/i18n.actions.d.ts +11 -11
- package/lib/services/store/actions/index.d.ts +5 -5
- package/lib/services/store/actions/locale.actions.d.ts +11 -11
- package/lib/services/store/actions/notifications.actions.d.ts +10 -10
- package/lib/services/store/actions/user.actions.d.ts +35 -35
- package/lib/services/store/effects/app.effects.d.ts +19 -19
- package/lib/services/store/effects/index.d.ts +3 -3
- package/lib/services/store/index.d.ts +5 -5
- package/lib/services/store/reducers/app.reducers.d.ts +3 -3
- package/lib/services/store/reducers/core.reducers.d.ts +3 -3
- package/lib/services/store/reducers/i18n.reducers.d.ts +3 -3
- package/lib/services/store/reducers/index.d.ts +7 -7
- package/lib/services/store/reducers/locale.reducers.d.ts +3 -3
- package/lib/services/store/reducers/meta.reducers.d.ts +17 -17
- package/lib/services/store/reducers/notifications.reducers.d.ts +3 -3
- package/lib/services/store/reducers/user.reducers.d.ts +3 -3
- package/lib/services/store/store.service.d.ts +43 -43
- package/lib/services/store/store.service.mock.d.ts +12 -12
- package/lib/services/user/index.d.ts +2 -2
- package/lib/services/user/user.service.d.ts +15 -15
- package/lib/services/user/user.service.mock.d.ts +16 -16
- package/lib/services/ux-app-shell.service.d.ts +155 -155
- package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts +36 -36
- package/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.d.ts +14 -14
- package/lib/services/ux-error-feedback/ux-error-feedback.service.d.ts +35 -35
- package/lib/services/ux-error-feedback/ux-error-handler.operator.d.ts +3 -3
- package/lib/services/ux-timezone.service.d.ts +269 -269
- package/package.json +2 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './locale.service';
|
|
2
|
-
export * from './locale.service.mock';
|
|
1
|
+
export * from './locale.service';
|
|
2
|
+
export * from './locale.service.mock';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Angular is using a gulp task to generate the locales that we dynamically import. This task can be found here
|
|
3
|
-
* https://github.com/angular/angular/blob/master/tools/gulp-tasks/cldr/cldr-data.js
|
|
4
|
-
* That task is utilizing the CLDR library to load and construct the locale for each region. This service is responsible
|
|
5
|
-
* to load those locale dynamically upon request and to update the state of the eUI app.
|
|
6
|
-
*
|
|
7
|
-
* Parts that are handles through configuration:
|
|
8
|
-
* - update of the LOCALE_ID token
|
|
9
|
-
* - initial dynamical load of locales
|
|
10
|
-
* - bind to translation service for locale changes
|
|
11
|
-
*/
|
|
12
|
-
import { InjectionToken, OnDestroy } from '@angular/core';
|
|
13
|
-
import { EuiService, EuiServiceStatus, GlobalConfig, LocaleServiceConfig, LocaleState } from '@eui/base';
|
|
14
|
-
import { Observable } from 'rxjs';
|
|
15
|
-
import { StoreService } from '../store';
|
|
16
|
-
import { LogService } from '../log';
|
|
17
|
-
import { I18nService } from '../i18n';
|
|
18
|
-
import * as i0 from "@angular/core";
|
|
19
|
-
export declare type LocaleMapper = (locale: string) => any;
|
|
20
|
-
export declare const LOCALE_ID_MAPPER: InjectionToken<LocaleMapper>;
|
|
21
|
-
export declare class LocaleService<T extends LocaleState = LocaleState> extends EuiService<T | LocaleState> implements OnDestroy {
|
|
22
|
-
protected store: StoreService;
|
|
23
|
-
protected baseGlobalConfig: GlobalConfig;
|
|
24
|
-
protected locale_id: string;
|
|
25
|
-
private localeMapper;
|
|
26
|
-
private i18n;
|
|
27
|
-
private log;
|
|
28
|
-
private readonly logger;
|
|
29
|
-
private subNotifier;
|
|
30
|
-
protected config: LocaleServiceConfig;
|
|
31
|
-
constructor(store: StoreService, baseGlobalConfig: GlobalConfig, locale_id: string, localeMapper: LocaleMapper, i18n: I18nService, log: LogService);
|
|
32
|
-
ngOnDestroy(): void;
|
|
33
|
-
getState<K = T>(mapFn?: (state: T) => K): Observable<K>;
|
|
34
|
-
getState<a extends keyof T>(key?: a): Observable<T[a]>;
|
|
35
|
-
init(state?: LocaleState | undefined): Observable<EuiServiceStatus>;
|
|
36
|
-
/**
|
|
37
|
-
* dynamically load locale and update the state
|
|
38
|
-
*/
|
|
39
|
-
updateState(state: LocaleState): void;
|
|
40
|
-
addLocale(id: string): Observable<EuiServiceStatus>;
|
|
41
|
-
get previousLocale(): string;
|
|
42
|
-
get currentLocale(): string;
|
|
43
|
-
/**
|
|
44
|
-
* load and register locale data dynamically
|
|
45
|
-
*
|
|
46
|
-
* @param locale array of locale to load
|
|
47
|
-
*/
|
|
48
|
-
private loadLocale;
|
|
49
|
-
/**
|
|
50
|
-
* listen for language changes and dynamically set locale accordingly. In case of non registered locale register it
|
|
51
|
-
* dynamically.
|
|
52
|
-
*/
|
|
53
|
-
private bindTranslateServiceLangChangeToState;
|
|
54
|
-
/**
|
|
55
|
-
* retrieve locales from browser
|
|
56
|
-
*
|
|
57
|
-
* @param options
|
|
58
|
-
*/
|
|
59
|
-
private getBrowserLocales;
|
|
60
|
-
/**
|
|
61
|
-
* if locale is already registered filtered out.
|
|
62
|
-
*
|
|
63
|
-
* @param locales A string array contains all locale id e.g. ["el", "el-CY"]
|
|
64
|
-
*/
|
|
65
|
-
private filterRegisteredLocales;
|
|
66
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleService<any>, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
67
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleService<any>>;
|
|
68
|
-
}
|
|
1
|
+
/**
|
|
2
|
+
* Angular is using a gulp task to generate the locales that we dynamically import. This task can be found here
|
|
3
|
+
* https://github.com/angular/angular/blob/master/tools/gulp-tasks/cldr/cldr-data.js
|
|
4
|
+
* That task is utilizing the CLDR library to load and construct the locale for each region. This service is responsible
|
|
5
|
+
* to load those locale dynamically upon request and to update the state of the eUI app.
|
|
6
|
+
*
|
|
7
|
+
* Parts that are handles through configuration:
|
|
8
|
+
* - update of the LOCALE_ID token
|
|
9
|
+
* - initial dynamical load of locales
|
|
10
|
+
* - bind to translation service for locale changes
|
|
11
|
+
*/
|
|
12
|
+
import { InjectionToken, OnDestroy } from '@angular/core';
|
|
13
|
+
import { EuiService, EuiServiceStatus, GlobalConfig, LocaleServiceConfig, LocaleState } from '@eui/base';
|
|
14
|
+
import { Observable } from 'rxjs';
|
|
15
|
+
import { StoreService } from '../store';
|
|
16
|
+
import { LogService } from '../log';
|
|
17
|
+
import { I18nService } from '../i18n';
|
|
18
|
+
import * as i0 from "@angular/core";
|
|
19
|
+
export declare type LocaleMapper = (locale: string) => any;
|
|
20
|
+
export declare const LOCALE_ID_MAPPER: InjectionToken<LocaleMapper>;
|
|
21
|
+
export declare class LocaleService<T extends LocaleState = LocaleState> extends EuiService<T | LocaleState> implements OnDestroy {
|
|
22
|
+
protected store: StoreService;
|
|
23
|
+
protected baseGlobalConfig: GlobalConfig;
|
|
24
|
+
protected locale_id: string;
|
|
25
|
+
private localeMapper;
|
|
26
|
+
private i18n;
|
|
27
|
+
private log;
|
|
28
|
+
private readonly logger;
|
|
29
|
+
private subNotifier;
|
|
30
|
+
protected config: LocaleServiceConfig;
|
|
31
|
+
constructor(store: StoreService, baseGlobalConfig: GlobalConfig, locale_id: string, localeMapper: LocaleMapper, i18n: I18nService, log: LogService);
|
|
32
|
+
ngOnDestroy(): void;
|
|
33
|
+
getState<K = T>(mapFn?: (state: T) => K): Observable<K>;
|
|
34
|
+
getState<a extends keyof T>(key?: a): Observable<T[a]>;
|
|
35
|
+
init(state?: LocaleState | undefined): Observable<EuiServiceStatus>;
|
|
36
|
+
/**
|
|
37
|
+
* dynamically load locale and update the state
|
|
38
|
+
*/
|
|
39
|
+
updateState(state: LocaleState): void;
|
|
40
|
+
addLocale(id: string): Observable<EuiServiceStatus>;
|
|
41
|
+
get previousLocale(): string;
|
|
42
|
+
get currentLocale(): string;
|
|
43
|
+
/**
|
|
44
|
+
* load and register locale data dynamically
|
|
45
|
+
*
|
|
46
|
+
* @param locale array of locale to load
|
|
47
|
+
*/
|
|
48
|
+
private loadLocale;
|
|
49
|
+
/**
|
|
50
|
+
* listen for language changes and dynamically set locale accordingly. In case of non registered locale register it
|
|
51
|
+
* dynamically.
|
|
52
|
+
*/
|
|
53
|
+
private bindTranslateServiceLangChangeToState;
|
|
54
|
+
/**
|
|
55
|
+
* retrieve locales from browser
|
|
56
|
+
*
|
|
57
|
+
* @param options
|
|
58
|
+
*/
|
|
59
|
+
private getBrowserLocales;
|
|
60
|
+
/**
|
|
61
|
+
* if locale is already registered filtered out.
|
|
62
|
+
*
|
|
63
|
+
* @param locales A string array contains all locale id e.g. ["el", "el-CY"]
|
|
64
|
+
*/
|
|
65
|
+
private filterRegisteredLocales;
|
|
66
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleService<any>, [null, null, null, { optional: true; }, { optional: true; }, { optional: true; }]>;
|
|
67
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleService<any>>;
|
|
68
|
+
}
|
|
69
69
|
//# sourceMappingURL=locale.service.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { EuiServiceStatus, LocaleState } from '@eui/base';
|
|
3
|
-
import { LocaleService } from './locale.service';
|
|
4
|
-
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class LocaleServiceMock extends LocaleService {
|
|
6
|
-
protected locale_id: string;
|
|
7
|
-
private DEFAULT_LOCALE;
|
|
8
|
-
private stateSubject;
|
|
9
|
-
constructor(locale_id: string);
|
|
10
|
-
getState(): Observable<LocaleState>;
|
|
11
|
-
updateState(state: LocaleState): void;
|
|
12
|
-
init(state?: LocaleState): Observable<EuiServiceStatus>;
|
|
13
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleServiceMock, [{ optional: true; }]>;
|
|
14
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleServiceMock>;
|
|
15
|
-
}
|
|
1
|
+
import { Observable } from 'rxjs';
|
|
2
|
+
import { EuiServiceStatus, LocaleState } from '@eui/base';
|
|
3
|
+
import { LocaleService } from './locale.service';
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class LocaleServiceMock extends LocaleService {
|
|
6
|
+
protected locale_id: string;
|
|
7
|
+
private DEFAULT_LOCALE;
|
|
8
|
+
private stateSubject;
|
|
9
|
+
constructor(locale_id: string);
|
|
10
|
+
getState(): Observable<LocaleState>;
|
|
11
|
+
updateState(state: LocaleState): void;
|
|
12
|
+
init(state?: LocaleState): Observable<EuiServiceStatus>;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocaleServiceMock, [{ optional: true; }]>;
|
|
14
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LocaleServiceMock>;
|
|
15
|
+
}
|
|
16
16
|
//# sourceMappingURL=locale.service.mock.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export * from './log.service';
|
|
2
|
-
export * from './log.service.mock';
|
|
3
|
-
export * from './log.module';
|
|
1
|
+
export * from './log.service';
|
|
2
|
+
export * from './log.service.mock';
|
|
3
|
+
export * from './log.module';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
-
import { LogConfig } from '@eui/base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
/**
|
|
5
|
-
* Log Module
|
|
6
|
-
*/
|
|
7
|
-
export declare class LogModule {
|
|
8
|
-
/** method called in your root module to provide the LogService */
|
|
9
|
-
static forRoot(config?: LogConfig): ModuleWithProviders<LogModule>;
|
|
10
|
-
/** method called in your other (non root, lazy loaded) modules to import a different instance of LogService */
|
|
11
|
-
static forChild(config?: LogConfig): ModuleWithProviders<LogModule>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LogModule, never>;
|
|
13
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<LogModule, never, never, never>;
|
|
14
|
-
static ɵinj: i0.ɵɵInjectorDeclaration<LogModule>;
|
|
15
|
-
}
|
|
1
|
+
import { ModuleWithProviders } from '@angular/core';
|
|
2
|
+
import { LogConfig } from '@eui/base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
/**
|
|
5
|
+
* Log Module
|
|
6
|
+
*/
|
|
7
|
+
export declare class LogModule {
|
|
8
|
+
/** method called in your root module to provide the LogService */
|
|
9
|
+
static forRoot(config?: LogConfig): ModuleWithProviders<LogModule>;
|
|
10
|
+
/** method called in your other (non root, lazy loaded) modules to import a different instance of LogService */
|
|
11
|
+
static forChild(config?: LogConfig): ModuleWithProviders<LogModule>;
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<LogModule, never, never, never>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<LogModule>;
|
|
15
|
+
}
|
|
16
16
|
//# sourceMappingURL=log.module.d.ts.map
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { InjectionToken } from '@angular/core';
|
|
2
|
-
import { LogAppender, Logger, LogLevel } from '@eui/base';
|
|
3
|
-
import * as i0 from "@angular/core";
|
|
4
|
-
export declare const BASE_LOGGER_NAME_TOKEN: InjectionToken<string>;
|
|
5
|
-
export declare const LOG_LEVEL_TOKEN: InjectionToken<LogLevel>;
|
|
6
|
-
export declare const LOG_APPENDERS_TOKEN: InjectionToken<LogAppender<import("@eui/base").LogAppenderConfig>[]>;
|
|
7
|
-
/**
|
|
8
|
-
* Log service, responsible for getting or creating loggers. It itself acts as a base logger
|
|
9
|
-
*/
|
|
10
|
-
export declare class LogService extends Logger {
|
|
11
|
-
protected name: string;
|
|
12
|
-
protected level: LogLevel;
|
|
13
|
-
protected appenders: LogAppender[];
|
|
14
|
-
/** the list of persistent loggers */
|
|
15
|
-
protected loggers: {};
|
|
16
|
-
constructor(name: string, level: LogLevel, appenders: LogAppender[]);
|
|
17
|
-
/**
|
|
18
|
-
* Gets a logger by name. If the logger does not exist, it is created
|
|
19
|
-
*
|
|
20
|
-
* @param loggerName logger name
|
|
21
|
-
* @param persist optional parameter. Set it to true if you want to reuse the logger. By default, it is set to false
|
|
22
|
-
* @returns the logger
|
|
23
|
-
*/
|
|
24
|
-
getLogger(loggerName: string, persist?: boolean): Logger;
|
|
25
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LogService, never>;
|
|
26
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<LogService>;
|
|
27
|
-
}
|
|
1
|
+
import { InjectionToken } from '@angular/core';
|
|
2
|
+
import { LogAppender, Logger, LogLevel } from '@eui/base';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const BASE_LOGGER_NAME_TOKEN: InjectionToken<string>;
|
|
5
|
+
export declare const LOG_LEVEL_TOKEN: InjectionToken<LogLevel>;
|
|
6
|
+
export declare const LOG_APPENDERS_TOKEN: InjectionToken<LogAppender<import("@eui/base").LogAppenderConfig>[]>;
|
|
7
|
+
/**
|
|
8
|
+
* Log service, responsible for getting or creating loggers. It itself acts as a base logger
|
|
9
|
+
*/
|
|
10
|
+
export declare class LogService extends Logger {
|
|
11
|
+
protected name: string;
|
|
12
|
+
protected level: LogLevel;
|
|
13
|
+
protected appenders: LogAppender[];
|
|
14
|
+
/** the list of persistent loggers */
|
|
15
|
+
protected loggers: {};
|
|
16
|
+
constructor(name: string, level: LogLevel, appenders: LogAppender[]);
|
|
17
|
+
/**
|
|
18
|
+
* Gets a logger by name. If the logger does not exist, it is created
|
|
19
|
+
*
|
|
20
|
+
* @param loggerName logger name
|
|
21
|
+
* @param persist optional parameter. Set it to true if you want to reuse the logger. By default, it is set to false
|
|
22
|
+
* @returns the logger
|
|
23
|
+
*/
|
|
24
|
+
getLogger(loggerName: string, persist?: boolean): Logger;
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LogService, never>;
|
|
26
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LogService>;
|
|
27
|
+
}
|
|
28
28
|
//# sourceMappingURL=log.service.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { LoggerMock } from '@eui/base';
|
|
2
|
-
export declare class LogServiceMock extends LoggerMock {
|
|
3
|
-
getLogger(): LoggerMock;
|
|
4
|
-
}
|
|
1
|
+
import { LoggerMock } from '@eui/base';
|
|
2
|
+
export declare class LogServiceMock extends LoggerMock {
|
|
3
|
+
getLogger(): LoggerMock;
|
|
4
|
+
}
|
|
5
5
|
//# sourceMappingURL=log.service.mock.d.ts.map
|
|
@@ -1,53 +1,53 @@
|
|
|
1
|
-
import { EuiService, EuiServiceStatus, UxUserRight } from '@eui/base';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { LogService } from '../log/log.service';
|
|
4
|
-
import { StoreService } from '../store/store.service';
|
|
5
|
-
import * as i0 from "@angular/core";
|
|
6
|
-
export declare class EuiPermissionService extends EuiService<UxUserRight[]> {
|
|
7
|
-
private log;
|
|
8
|
-
protected store: StoreService;
|
|
9
|
-
private readonly logger;
|
|
10
|
-
constructor(log: LogService, store: StoreService);
|
|
11
|
-
/**
|
|
12
|
-
* initialize the service by providing a state
|
|
13
|
-
* @param rights
|
|
14
|
-
*/
|
|
15
|
-
init(rights: UxUserRight[]): Observable<EuiServiceStatus>;
|
|
16
|
-
protected get userRights(): UxUserRight[];
|
|
17
|
-
/**
|
|
18
|
-
* get the user's Rights from the state
|
|
19
|
-
*/
|
|
20
|
-
getState<K = UxUserRight[]>(): Observable<K>;
|
|
21
|
-
/**
|
|
22
|
-
* update the state with the given user's rights
|
|
23
|
-
* @param rights
|
|
24
|
-
*/
|
|
25
|
-
updateState(rights: UxUserRight[]): void;
|
|
26
|
-
/**
|
|
27
|
-
* accepts a string of right and or a permission. In string first comes the right and or followed by permission in
|
|
28
|
-
* a dot separated way e.g. 'RIGHT.PERMISSION' or 'RIGHT'. The string can contain more that 2 separated fields.
|
|
29
|
-
* In that case the last field should be the permission and all the others a Right. e.g. 'RIGHT1.RIGHT2.PERMISSION'
|
|
30
|
-
* The last part is useful where you want a user to have multiple rights and the permission of the last right.
|
|
31
|
-
* @param rightsAndPermission
|
|
32
|
-
*/
|
|
33
|
-
checkAttributePermission(rightsAndPermission: string): boolean;
|
|
34
|
-
/**
|
|
35
|
-
* check if a user has the right.
|
|
36
|
-
* @param rightId the id of Right
|
|
37
|
-
*/
|
|
38
|
-
checkRight(rightId: string): boolean;
|
|
39
|
-
/**
|
|
40
|
-
* check if a user has that right and that right has the permission given.
|
|
41
|
-
* @param rightId the right of the user
|
|
42
|
-
* @param permission the permission of the right
|
|
43
|
-
*/
|
|
44
|
-
checkPermission(rightId: string, permission: string): boolean;
|
|
45
|
-
/**
|
|
46
|
-
* checks whether a user have all rights passed as an argument
|
|
47
|
-
* @param rights an array of UxUserRight
|
|
48
|
-
*/
|
|
49
|
-
private haveAllRights;
|
|
50
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiPermissionService, [{ optional: true; }, null]>;
|
|
51
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EuiPermissionService>;
|
|
52
|
-
}
|
|
1
|
+
import { EuiService, EuiServiceStatus, UxUserRight } from '@eui/base';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { LogService } from '../log/log.service';
|
|
4
|
+
import { StoreService } from '../store/store.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class EuiPermissionService extends EuiService<UxUserRight[]> {
|
|
7
|
+
private log;
|
|
8
|
+
protected store: StoreService;
|
|
9
|
+
private readonly logger;
|
|
10
|
+
constructor(log: LogService, store: StoreService);
|
|
11
|
+
/**
|
|
12
|
+
* initialize the service by providing a state
|
|
13
|
+
* @param rights
|
|
14
|
+
*/
|
|
15
|
+
init(rights: UxUserRight[]): Observable<EuiServiceStatus>;
|
|
16
|
+
protected get userRights(): UxUserRight[];
|
|
17
|
+
/**
|
|
18
|
+
* get the user's Rights from the state
|
|
19
|
+
*/
|
|
20
|
+
getState<K = UxUserRight[]>(): Observable<K>;
|
|
21
|
+
/**
|
|
22
|
+
* update the state with the given user's rights
|
|
23
|
+
* @param rights
|
|
24
|
+
*/
|
|
25
|
+
updateState(rights: UxUserRight[]): void;
|
|
26
|
+
/**
|
|
27
|
+
* accepts a string of right and or a permission. In string first comes the right and or followed by permission in
|
|
28
|
+
* a dot separated way e.g. 'RIGHT.PERMISSION' or 'RIGHT'. The string can contain more that 2 separated fields.
|
|
29
|
+
* In that case the last field should be the permission and all the others a Right. e.g. 'RIGHT1.RIGHT2.PERMISSION'
|
|
30
|
+
* The last part is useful where you want a user to have multiple rights and the permission of the last right.
|
|
31
|
+
* @param rightsAndPermission
|
|
32
|
+
*/
|
|
33
|
+
checkAttributePermission(rightsAndPermission: string): boolean;
|
|
34
|
+
/**
|
|
35
|
+
* check if a user has the right.
|
|
36
|
+
* @param rightId the id of Right
|
|
37
|
+
*/
|
|
38
|
+
checkRight(rightId: string): boolean;
|
|
39
|
+
/**
|
|
40
|
+
* check if a user has that right and that right has the permission given.
|
|
41
|
+
* @param rightId the right of the user
|
|
42
|
+
* @param permission the permission of the right
|
|
43
|
+
*/
|
|
44
|
+
checkPermission(rightId: string, permission: string): boolean;
|
|
45
|
+
/**
|
|
46
|
+
* checks whether a user have all rights passed as an argument
|
|
47
|
+
* @param rights an array of UxUserRight
|
|
48
|
+
*/
|
|
49
|
+
private haveAllRights;
|
|
50
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiPermissionService, [{ optional: true; }, null]>;
|
|
51
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EuiPermissionService>;
|
|
52
|
+
}
|
|
53
53
|
//# sourceMappingURL=permission.service.d.ts.map
|
|
@@ -1,77 +1,77 @@
|
|
|
1
|
-
import { HttpClient } from '@angular/common/http';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ApiQueueItem } from '@eui/base';
|
|
4
|
-
import { LogService } from '../log/log.service';
|
|
5
|
-
import { StoreService } from '../store/store.service';
|
|
6
|
-
import * as i0 from "@angular/core";
|
|
7
|
-
export declare class ApiQueueService {
|
|
8
|
-
protected store: StoreService;
|
|
9
|
-
protected http: HttpClient;
|
|
10
|
-
protected logService: LogService;
|
|
11
|
-
constructor(store: StoreService, http: HttpClient, logService: LogService);
|
|
12
|
-
/**
|
|
13
|
-
* Adds an item in the queue by dispatching an action to the store.
|
|
14
|
-
* @param id - The id of the item inside the queue.
|
|
15
|
-
* WARNING if matches any other queue item id will overwrite it.
|
|
16
|
-
* @param item - an item for Queue
|
|
17
|
-
*/
|
|
18
|
-
addQueueItem(id: string, item: ApiQueueItem): void;
|
|
19
|
-
/**
|
|
20
|
-
* Subscribes to the store to retrieve queue and then converts the queue object to an array of items.
|
|
21
|
-
* @return An Observable of array of all items inside the current queue (ApiQueueItem[])
|
|
22
|
-
*/
|
|
23
|
-
getQueue(): Observable<ApiQueueItem[]>;
|
|
24
|
-
/**
|
|
25
|
-
* Subscribes to the store to retrieve an item from the queue.
|
|
26
|
-
* @param id - id of the item inside the queue
|
|
27
|
-
* @return An Observable of ApiQueueItem type
|
|
28
|
-
*/
|
|
29
|
-
getQueueItem(id: string): Observable<ApiQueueItem>;
|
|
30
|
-
/**
|
|
31
|
-
* Removes a given item from the queue.
|
|
32
|
-
* @param id - id of the item inside the queue
|
|
33
|
-
*/
|
|
34
|
-
removeQueueItem(id: string): void;
|
|
35
|
-
/**
|
|
36
|
-
* Removes all items placed in the queue.
|
|
37
|
-
*/
|
|
38
|
-
removeAllQueueItem(): void;
|
|
39
|
-
/**
|
|
40
|
-
* Process an item from the queue.
|
|
41
|
-
* @param id - id of the item inside the queue
|
|
42
|
-
* @return An Observable of type any
|
|
43
|
-
*/
|
|
44
|
-
processQueueItem(id: string): Observable<any>;
|
|
45
|
-
/**
|
|
46
|
-
* Process all the items inside the queue.
|
|
47
|
-
* @param [continueOnError=true] - in case of an item request fails continue with the rest in queue
|
|
48
|
-
* @return An Observable with an array which contains all responses from all items in queue.
|
|
49
|
-
*/
|
|
50
|
-
processAllQueueItems(continueOnError?: boolean): Observable<any[]>;
|
|
51
|
-
/**
|
|
52
|
-
* Process all items in queue after it order them based on their timestamp. Beware that order
|
|
53
|
-
* matter in execution of Http Request in queue. When a request completes only then next will begin. Emission
|
|
54
|
-
* or Http response follows order.
|
|
55
|
-
* @param [ascending=true] - sets the order of queue items based on timestamp
|
|
56
|
-
*/
|
|
57
|
-
processAllQueueItemsSequential(ascending?: boolean): Observable<any>;
|
|
58
|
-
/**
|
|
59
|
-
* Short dates ascending based on input
|
|
60
|
-
* @param a - Date one
|
|
61
|
-
* @param b - Date two
|
|
62
|
-
*
|
|
63
|
-
* @beta
|
|
64
|
-
*/
|
|
65
|
-
protected sortOnTimestamp(a: [string, ApiQueueItem], b: [string, ApiQueueItem]): number;
|
|
66
|
-
/**
|
|
67
|
-
* build and HttpRequest Observable based on the given queue.
|
|
68
|
-
* After successful request completion removes the item from the queue.
|
|
69
|
-
* @param id - id of the item inside the queue
|
|
70
|
-
* @param item - the item of the queue that matches the id.
|
|
71
|
-
* @return An Observable of HttpClient Request
|
|
72
|
-
*/
|
|
73
|
-
private buildHttpRequest;
|
|
74
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<ApiQueueService, never>;
|
|
75
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<ApiQueueService>;
|
|
76
|
-
}
|
|
1
|
+
import { HttpClient } from '@angular/common/http';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ApiQueueItem } from '@eui/base';
|
|
4
|
+
import { LogService } from '../log/log.service';
|
|
5
|
+
import { StoreService } from '../store/store.service';
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ApiQueueService {
|
|
8
|
+
protected store: StoreService;
|
|
9
|
+
protected http: HttpClient;
|
|
10
|
+
protected logService: LogService;
|
|
11
|
+
constructor(store: StoreService, http: HttpClient, logService: LogService);
|
|
12
|
+
/**
|
|
13
|
+
* Adds an item in the queue by dispatching an action to the store.
|
|
14
|
+
* @param id - The id of the item inside the queue.
|
|
15
|
+
* WARNING if matches any other queue item id will overwrite it.
|
|
16
|
+
* @param item - an item for Queue
|
|
17
|
+
*/
|
|
18
|
+
addQueueItem(id: string, item: ApiQueueItem): void;
|
|
19
|
+
/**
|
|
20
|
+
* Subscribes to the store to retrieve queue and then converts the queue object to an array of items.
|
|
21
|
+
* @return An Observable of array of all items inside the current queue (ApiQueueItem[])
|
|
22
|
+
*/
|
|
23
|
+
getQueue(): Observable<ApiQueueItem[]>;
|
|
24
|
+
/**
|
|
25
|
+
* Subscribes to the store to retrieve an item from the queue.
|
|
26
|
+
* @param id - id of the item inside the queue
|
|
27
|
+
* @return An Observable of ApiQueueItem type
|
|
28
|
+
*/
|
|
29
|
+
getQueueItem(id: string): Observable<ApiQueueItem>;
|
|
30
|
+
/**
|
|
31
|
+
* Removes a given item from the queue.
|
|
32
|
+
* @param id - id of the item inside the queue
|
|
33
|
+
*/
|
|
34
|
+
removeQueueItem(id: string): void;
|
|
35
|
+
/**
|
|
36
|
+
* Removes all items placed in the queue.
|
|
37
|
+
*/
|
|
38
|
+
removeAllQueueItem(): void;
|
|
39
|
+
/**
|
|
40
|
+
* Process an item from the queue.
|
|
41
|
+
* @param id - id of the item inside the queue
|
|
42
|
+
* @return An Observable of type any
|
|
43
|
+
*/
|
|
44
|
+
processQueueItem(id: string): Observable<any>;
|
|
45
|
+
/**
|
|
46
|
+
* Process all the items inside the queue.
|
|
47
|
+
* @param [continueOnError=true] - in case of an item request fails continue with the rest in queue
|
|
48
|
+
* @return An Observable with an array which contains all responses from all items in queue.
|
|
49
|
+
*/
|
|
50
|
+
processAllQueueItems(continueOnError?: boolean): Observable<any[]>;
|
|
51
|
+
/**
|
|
52
|
+
* Process all items in queue after it order them based on their timestamp. Beware that order
|
|
53
|
+
* matter in execution of Http Request in queue. When a request completes only then next will begin. Emission
|
|
54
|
+
* or Http response follows order.
|
|
55
|
+
* @param [ascending=true] - sets the order of queue items based on timestamp
|
|
56
|
+
*/
|
|
57
|
+
processAllQueueItemsSequential(ascending?: boolean): Observable<any>;
|
|
58
|
+
/**
|
|
59
|
+
* Short dates ascending based on input
|
|
60
|
+
* @param a - Date one
|
|
61
|
+
* @param b - Date two
|
|
62
|
+
*
|
|
63
|
+
* @beta
|
|
64
|
+
*/
|
|
65
|
+
protected sortOnTimestamp(a: [string, ApiQueueItem], b: [string, ApiQueueItem]): number;
|
|
66
|
+
/**
|
|
67
|
+
* build and HttpRequest Observable based on the given queue.
|
|
68
|
+
* After successful request completion removes the item from the queue.
|
|
69
|
+
* @param id - id of the item inside the queue
|
|
70
|
+
* @param item - the item of the queue that matches the id.
|
|
71
|
+
* @return An Observable of HttpClient Request
|
|
72
|
+
*/
|
|
73
|
+
private buildHttpRequest;
|
|
74
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ApiQueueService, never>;
|
|
75
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ApiQueueService>;
|
|
76
|
+
}
|
|
77
77
|
//# sourceMappingURL=api-queue.service.d.ts.map
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { ApiQueueService } from './api-queue.service';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
import { ApiQueueItem } from '@eui/base';
|
|
4
|
-
export declare class ApiQueueServiceMock extends ApiQueueService {
|
|
5
|
-
constructor();
|
|
6
|
-
getQueue(): Observable<ApiQueueItem[]>;
|
|
7
|
-
getQueueItem(id: string): Observable<ApiQueueItem>;
|
|
8
|
-
removeAllQueueItem(): void;
|
|
9
|
-
processAllQueueItems(): Observable<any>;
|
|
10
|
-
addQueueItem(): void;
|
|
11
|
-
removeQueueItem(): void;
|
|
12
|
-
processQueueItem(): Observable<any>;
|
|
13
|
-
}
|
|
1
|
+
import { ApiQueueService } from './api-queue.service';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import { ApiQueueItem } from '@eui/base';
|
|
4
|
+
export declare class ApiQueueServiceMock extends ApiQueueService {
|
|
5
|
+
constructor();
|
|
6
|
+
getQueue(): Observable<ApiQueueItem[]>;
|
|
7
|
+
getQueueItem(id: string): Observable<ApiQueueItem>;
|
|
8
|
+
removeAllQueueItem(): void;
|
|
9
|
+
processAllQueueItems(): Observable<any>;
|
|
10
|
+
addQueueItem(): void;
|
|
11
|
+
removeQueueItem(): void;
|
|
12
|
+
processQueueItem(): Observable<any>;
|
|
13
|
+
}
|
|
14
14
|
//# sourceMappingURL=api-queue.service.mock.d.ts.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
export * from './api-queue.service';
|
|
2
|
-
export * from './api-queue.service.mock';
|
|
1
|
+
export * from './api-queue.service';
|
|
2
|
+
export * from './api-queue.service.mock';
|
|
3
3
|
//# sourceMappingURL=index.d.ts.map
|