@eui/core 18.0.0-rc.4 → 18.0.0-rc.40
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/CssUtils.html +59 -2
- package/docs/dependencies.html +3 -3
- package/docs/index.html +1 -1
- package/docs/injectables/CoreAppEffects.html +24 -5
- package/docs/injectables/EuiAppShellService.html +13 -1
- package/docs/injectables/EuiDynamicMenuService.html +2 -2
- package/docs/injectables/EuiThemeService.html +297 -96
- package/docs/injectables/LocalStorageService.html +12 -1
- package/docs/injectables/StoreService.html +12 -1
- package/docs/interfaces/IEuiTheme.html +387 -0
- package/docs/interfaces/ThemeState.html +309 -0
- package/docs/js/menu-wc.js +6 -0
- package/docs/js/menu-wc_es5.js +1 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/miscellaneous/enumerations.html +66 -6
- package/docs/miscellaneous/functions.html +284 -0
- package/docs/miscellaneous/variables.html +119 -31
- package/esm2022/index.mjs +3 -1
- package/esm2022/lib/helpers/css-utils.mjs +74 -60
- package/esm2022/lib/helpers/dom-helpers.mjs +3 -9
- package/esm2022/lib/services/dynamic-menu/dynamic-menu.service.mjs +2 -5
- package/esm2022/lib/services/eui-app-shell.service.mjs +20 -16
- package/esm2022/lib/services/eui-theme.service.mjs +186 -26
- package/esm2022/lib/services/locale/locale.service.mjs +2 -1
- package/esm2022/lib/services/storage/local-storage.service.mjs +36 -25
- package/esm2022/lib/services/store/effects/app.effects.mjs +19 -7
- package/esm2022/lib/services/store/reducers/meta.reducers.mjs +46 -32
- package/esm2022/lib/services/store/store.service.mjs +17 -9
- package/esm2022/lib/services/store/store.service.mock.mjs +3 -2
- package/fesm2022/eui-core.mjs +403 -194
- package/fesm2022/eui-core.mjs.map +1 -1
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/lib/helpers/css-utils.d.ts +24 -18
- package/lib/helpers/css-utils.d.ts.map +1 -1
- package/lib/helpers/dom-helpers.d.ts +1 -1
- package/lib/helpers/dom-helpers.d.ts.map +1 -1
- package/lib/services/dynamic-menu/dynamic-menu.service.d.ts +5 -5
- package/lib/services/dynamic-menu/dynamic-menu.service.d.ts.map +1 -1
- package/lib/services/eui-app-shell.service.d.ts +3 -2
- package/lib/services/eui-app-shell.service.d.ts.map +1 -1
- package/lib/services/eui-theme.service.d.ts +41 -15
- package/lib/services/eui-theme.service.d.ts.map +1 -1
- package/lib/services/locale/locale.service.d.ts +1 -0
- package/lib/services/locale/locale.service.d.ts.map +1 -1
- package/lib/services/storage/local-storage.service.d.ts +3 -2
- package/lib/services/storage/local-storage.service.d.ts.map +1 -1
- package/lib/services/store/effects/app.effects.d.ts +2 -1
- package/lib/services/store/effects/app.effects.d.ts.map +1 -1
- package/lib/services/store/reducers/meta.reducers.d.ts +11 -1
- package/lib/services/store/reducers/meta.reducers.d.ts.map +1 -1
- package/lib/services/store/store.service.d.ts +3 -2
- package/lib/services/store/store.service.d.ts.map +1 -1
- package/lib/services/store/store.service.mock.d.ts +1 -0
- package/lib/services/store/store.service.mock.d.ts.map +1 -1
- package/package.json +4 -4
package/index.d.ts
CHANGED
package/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,uBAAuB,CAAC;AAGtC,cAAc,sBAAsB,CAAC;AAMrC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,cAAc,WAAW,CAAC;AAG1B,cAAc,uBAAuB,CAAC;AAGtC,cAAc,sBAAsB,CAAC;AAMrC,cAAc,0BAA0B,CAAC;AAGzC,cAAc,qBAAqB,CAAC"}
|
|
@@ -1,28 +1,34 @@
|
|
|
1
1
|
export declare abstract class CssUtils {
|
|
2
|
-
static readonly getCssVarValue: (inputProperty: string) => string;
|
|
3
|
-
static readonly setCssVarValue: (propertyName: string, propertyValue: string) => void;
|
|
4
|
-
static readonly setCssVar: (inputProperty: string, outputProperty: string) => void;
|
|
5
|
-
static readonly initCssVars: () => void;
|
|
6
|
-
static readonly getBreakpointValues: () => any;
|
|
7
|
-
static readonly activateEditModeCssVars: (isActive: boolean) => void;
|
|
8
|
-
static readonly activateHeaderCssVars: () => void;
|
|
9
|
-
static readonly activateBreadcrumbCssVars: () => void;
|
|
10
|
-
static readonly activateTopMessageCssVars: (height: number) => void;
|
|
11
|
-
static readonly activateToolbarCssVars: () => void;
|
|
12
|
-
static readonly activateFooterCssVars: () => void;
|
|
13
|
-
static readonly setHeaderShrinkCssVar: (active: boolean) => void;
|
|
14
|
-
static readonly activateSidebarCssVars: () => void;
|
|
15
|
-
static readonly removeSidebarCssVars: () => void;
|
|
16
|
-
static readonly activateSidebarHeaderCssVars: () => void;
|
|
17
|
-
static readonly activateSidebarFooterCssVars: () => void;
|
|
18
2
|
/**
|
|
19
|
-
*
|
|
3
|
+
* Get the value of a CSS variable. Using getComputedStyle to get the value of the CSS variable (Browser Specific API)
|
|
4
|
+
* @param inputProperty
|
|
5
|
+
* @param document
|
|
6
|
+
* @param platform
|
|
7
|
+
*/
|
|
8
|
+
static readonly getCssVarValue: (inputProperty: string, document: Document, platform: unknown) => string;
|
|
9
|
+
static readonly setCssVarValue: (propertyName: string, propertyValue: string, document: Document) => void;
|
|
10
|
+
static readonly setCssVar: (inputProperty: string, outputProperty: string, document: Document, platform: unknown) => void;
|
|
11
|
+
static readonly initCssVars: (document: Document, platform: unknown) => void;
|
|
12
|
+
static readonly getBreakpointValues: (document: Document, platform: unknown) => any;
|
|
13
|
+
static readonly activateEditModeCssVars: (isActive: boolean, document: Document) => void;
|
|
14
|
+
static readonly activateHeaderCssVars: (document: Document, platform: unknown) => void;
|
|
15
|
+
static readonly activateBreadcrumbCssVars: (document: Document, platform: unknown) => void;
|
|
16
|
+
static readonly activateTopMessageCssVars: (height: number, document: Document) => void;
|
|
17
|
+
static readonly activateToolbarCssVars: (document: Document, platform: unknown) => void;
|
|
18
|
+
static readonly activateFooterCssVars: (document: Document, platform: unknown) => void;
|
|
19
|
+
static readonly setHeaderShrinkCssVar: (active: boolean, document: Document, platform: unknown) => void;
|
|
20
|
+
static readonly activateSidebarCssVars: (document: Document, platform: unknown) => void;
|
|
21
|
+
static readonly removeSidebarCssVars: (document: Document) => void;
|
|
22
|
+
static readonly activateSidebarHeaderCssVars: (document: Document, platform: unknown) => void;
|
|
23
|
+
static readonly activateSidebarFooterCssVars: (document: Document, platform: unknown) => void;
|
|
24
|
+
/**
|
|
25
|
+
* Gets the viewport height and width and multiply it by 1% to get a value for a vh/vw unit
|
|
20
26
|
* Sets the value in the --eui-app-vh custom property to the root of the document
|
|
21
27
|
* Sets the value in the --eui-app-vw custom property to the root of the document
|
|
22
28
|
* Example for 100% height: calc(var(--eui-app-vh, 1vh) * 100);
|
|
23
29
|
* Example for 50% height: calc(var(--eui-app-vh, 1vh) * 50);
|
|
24
30
|
* Example for 50% width: calc(var(--eui-app-vw, 1vw) * 50);
|
|
25
31
|
*/
|
|
26
|
-
static setAppViewportCssVars(): void;
|
|
32
|
+
static setAppViewportCssVars(platform: unknown): void;
|
|
27
33
|
}
|
|
28
34
|
//# sourceMappingURL=css-utils.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"css-utils.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/css-utils.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"css-utils.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/css-utils.ts"],"names":[],"mappings":"AAEA,8BAAsB,QAAQ;IAC1B;;;;;OAKG;IACH,gBAAuB,cAAc,kBAAmB,MAAM,YAAY,QAAQ,YAAY,OAAO,KAAG,MAAM,CAM7G;IAED,gBAAuB,cAAc,iBAAkB,MAAM,iBAAiB,MAAM,YAAY,QAAQ,KAAG,IAAI,CAE9G;IAED,gBAAuB,SAAS,kBAAmB,MAAM,kBAAkB,MAAM,YAAY,QAAQ,YAAY,OAAO,KAAG,IAAI,CAG9H;IAED,gBAAuB,WAAW,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CASjF;IAGD,gBAAuB,mBAAmB,aAAc,QAAQ,YAAY,OAAO,KAAG,GAAG,CAuBxF;IAED,gBAAuB,uBAAuB,aAAc,OAAO,YAAY,QAAQ,KAAG,IAAI,CAU7F;IAED,gBAAuB,qBAAqB,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAE3F;IACD,gBAAuB,yBAAyB,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAE/F;IAED,gBAAuB,yBAAyB,WAAY,MAAM,YAAY,QAAQ,KAAG,IAAI,CAE5F;IAED,gBAAuB,sBAAsB,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAE5F;IAED,gBAAuB,qBAAqB,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAE3F;IAED,gBAAuB,qBAAqB,WAAY,OAAO,YAAY,QAAQ,YAAY,OAAO,KAAG,IAAI,CAM5G;IAED,gBAAuB,sBAAsB,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAG5F;IAED,gBAAuB,oBAAoB,aAAc,QAAQ,KAAG,IAAI,CAKvE;IAED,gBAAuB,4BAA4B,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAElG;IAED,gBAAuB,4BAA4B,aAAc,QAAQ,YAAY,OAAO,KAAG,IAAI,CAElG;IAED;;;;;;;OAOG;WACW,qBAAqB,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;CAQ/D"}
|
|
@@ -25,7 +25,7 @@ export declare const offset: (nativeEl: HTMLElement) => {
|
|
|
25
25
|
* @param nativeEl
|
|
26
26
|
*/
|
|
27
27
|
export declare const parentOffsetEl: (nativeEl: HTMLElement) => Element | Document;
|
|
28
|
-
export declare const getViewElement: <F>(fixture: ComponentFixture<F>, componentClass:
|
|
28
|
+
export declare const getViewElement: <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string) => {
|
|
29
29
|
de: DebugElement;
|
|
30
30
|
el: HTMLElement;
|
|
31
31
|
domElement: HTMLElement;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dom-helpers.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/dom-helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,QAAQ,aAAc,WAAW,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAiB1G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,MAAM,aAAc,WAAW,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAQxG,CAAC;
|
|
1
|
+
{"version":3,"file":"dom-helpers.d.ts","sourceRoot":"","sources":["../../../src/lib/helpers/dom-helpers.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACzD,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAE7C;;;GAGG;AACH,eAAO,MAAM,QAAQ,aAAc,WAAW,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAiB1G,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,MAAM,aAAc,WAAW,KAAG;IAAE,KAAK,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,CAAC;IAAC,GAAG,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,MAAM,CAAA;CAQxG,CAAC;AAoBF;;;GAGG;AACH,eAAO,MAAM,cAAc,aAAc,WAAW,KAAG,OAAO,GAAG,QAMhE,CAAC;AAEF,eAAO,MAAM,cAAc,eAAgB,iBAAiB,CAAC,CAAC,kBAAkB,MAAM,UAAU,MAAM,KAAG;IAAC,EAAE,EAAE,YAAY,CAAC;IAAC,EAAE,EAAE,WAAW,CAAC;IAAC,UAAU,EAAE,WAAW,CAAA;CAiBnK,CAAC;AAEF,eAAO,MAAM,qBAAqB,WAAY,WAAW,aAAa,MAAM,KAAG,WAAW,GAAG,IAY5F,CAAC"}
|
|
@@ -2,14 +2,14 @@ import { EuiMenuItem } from '@eui/base';
|
|
|
2
2
|
import { EuiPermissionService } from '../permission/permission.service';
|
|
3
3
|
import { StoreService } from '../store';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
export declare class EuiDynamicMenuService
|
|
5
|
+
export declare class EuiDynamicMenuService {
|
|
6
6
|
private euiPermission;
|
|
7
7
|
private store;
|
|
8
|
-
menuLinks: Array<
|
|
8
|
+
menuLinks: Array<EuiMenuItem>;
|
|
9
9
|
constructor(euiPermission: EuiPermissionService, store: StoreService);
|
|
10
|
-
getMenuLinks():
|
|
10
|
+
getMenuLinks(): EuiMenuItem[];
|
|
11
11
|
filterEuiMenuItemsWithRights(links: Array<EuiMenuItem>): Array<EuiMenuItem>;
|
|
12
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiDynamicMenuService
|
|
13
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<EuiDynamicMenuService
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiDynamicMenuService, never>;
|
|
13
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<EuiDynamicMenuService>;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=dynamic-menu.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"dynamic-menu.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/dynamic-menu/dynamic-menu.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,WAAW,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;;AAExC,
|
|
1
|
+
{"version":3,"file":"dynamic-menu.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/dynamic-menu/dynamic-menu.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAgB,WAAW,EAAE,MAAM,WAAW,CAAC;AACtD,OAAO,EAAE,oBAAoB,EAAE,MAAM,kCAAkC,CAAC;AACxE,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;;AAExC,qBAGa,qBAAqB;IAM1B,OAAO,CAAC,aAAa;IACrB,OAAO,CAAC,KAAK;IANjB,SAAS,EAAE,KAAK,CAAC,WAAW,CAAC,CAAM;gBAKvB,aAAa,EAAE,oBAAoB,EACnC,KAAK,EAAE,YAAY;IAS/B,YAAY,IAAI,WAAW,EAAE;IAI7B,4BAA4B,CAAC,KAAK,EAAE,KAAK,CAAC,WAAW,CAAC,GAAG,KAAK,CAAC,WAAW,CAAC;yCApBlE,qBAAqB;6CAArB,qBAAqB;CA0DjC"}
|
|
@@ -45,6 +45,7 @@ export declare class EuiAppShellService {
|
|
|
45
45
|
protected config: GlobalConfig;
|
|
46
46
|
private http;
|
|
47
47
|
private platformId;
|
|
48
|
+
private document;
|
|
48
49
|
private router;
|
|
49
50
|
private storeService;
|
|
50
51
|
private i18nService;
|
|
@@ -66,7 +67,7 @@ export declare class EuiAppShellService {
|
|
|
66
67
|
private _state$;
|
|
67
68
|
private _breakpoint$;
|
|
68
69
|
private _breakpoints$;
|
|
69
|
-
constructor(config: GlobalConfig, http: HttpClient, platformId: object, router: Router, storeService: StoreService, i18nService: I18nService);
|
|
70
|
+
constructor(config: GlobalConfig, http: HttpClient, platformId: object, document: Document, router: Router, storeService: StoreService, i18nService: I18nService);
|
|
70
71
|
setState(nextState: UIState, updateI18?: boolean): void;
|
|
71
72
|
/**
|
|
72
73
|
* Emits a slice from the state whether that changes
|
|
@@ -101,7 +102,7 @@ export declare class EuiAppShellService {
|
|
|
101
102
|
private extractData;
|
|
102
103
|
private handleError;
|
|
103
104
|
private bindActiveLanguageToAppShellState;
|
|
104
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<EuiAppShellService, [{ optional: true; }, null, null, null, null, { optional: true; }]>;
|
|
105
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiAppShellService, [{ optional: true; }, null, null, null, null, null, { optional: true; }]>;
|
|
105
106
|
static ɵprov: i0.ɵɵInjectableDeclaration<EuiAppShellService>;
|
|
106
107
|
}
|
|
107
108
|
//# sourceMappingURL=eui-app-shell.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-app-shell.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/eui-app-shell.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAElD,OAAO,EAA0C,UAAU,EAAE,MAAM,MAAM,CAAC;AAC1E,OAAO,EAAkB,YAAY,EAAiB,WAAW,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AAElG,OAAO,EAAE,WAAW,EAAE,MAAM,QAAQ,CAAC;AACrC,OAAO,EAAE,MAAM,EAAiB,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,YAAY,EAAE,MAAM,uBAAuB,CAAC;;AAOrD,MAAM,WAAW,OAAO,CAAC,EAAE,GAAG,GAAG,EAAE,EAAE,GAAG,GAAG,EAAE,GAAG,GAAE,GAAG,EAAE,GAAG,GAAG,GAAG;IAE5D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,WAAW,CAAC,EAAE,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CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAc7C,OAAO,CAAC,iBAAiB;IA2BzB,OAAO,CAAC,aAAa;IAuBrB,OAAO,CAAC,cAAc;IAetB,OAAO,CAAC,OAAO;IAIf,OAAO,CAAC,WAAW;IAMnB,OAAO,CAAC,WAAW;IAKnB,OAAO,CAAC,iCAAiC;yCAlYhC,kBAAkB;6CAAlB,kBAAkB;CA+Y9B"}
|
|
@@ -1,24 +1,50 @@
|
|
|
1
|
-
import { GlobalConfig } from '@eui/base';
|
|
2
1
|
import { Observable } from 'rxjs';
|
|
2
|
+
import { GlobalConfig } from '@eui/base';
|
|
3
|
+
import { EuiAppShellService } from './eui-app-shell.service';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
export declare enum EuiTheme {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
DEFAULT = "default",
|
|
7
|
+
ECL_EC = "ecl-ec",
|
|
8
|
+
ECL_EC_RTL = "ecl-ec-rtl",
|
|
9
|
+
ECL_EU = "ecl-eu",
|
|
10
|
+
ECL_EU_RTL = "ecl-eu-rtl",
|
|
11
|
+
EUI_LEGACY = "eui-legacy",
|
|
12
|
+
EUI_LEGACY_HC = "eui-legacy-high-contrast",
|
|
13
|
+
DARK = "dark",
|
|
14
|
+
COMPACT = "compact"
|
|
15
|
+
}
|
|
16
|
+
interface IEuiTheme {
|
|
17
|
+
name: EuiTheme;
|
|
18
|
+
isActive: boolean;
|
|
19
|
+
styleSheet: string;
|
|
20
|
+
cssClass: string;
|
|
21
|
+
}
|
|
22
|
+
export interface ThemeState {
|
|
23
|
+
themes: IEuiTheme[];
|
|
24
|
+
theme: any;
|
|
8
25
|
}
|
|
9
26
|
export declare class EuiThemeService {
|
|
27
|
+
private document;
|
|
10
28
|
protected config: GlobalConfig;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
29
|
+
private asService;
|
|
30
|
+
private _state$;
|
|
31
|
+
constructor(document: Document, config: GlobalConfig, asService: EuiAppShellService);
|
|
32
|
+
get state$(): Observable<ThemeState>;
|
|
33
|
+
get state(): ThemeState;
|
|
34
|
+
isDefault(): boolean;
|
|
35
|
+
isEclEc(): boolean;
|
|
36
|
+
isEclEcRtl(): boolean;
|
|
37
|
+
isEclEu(): boolean;
|
|
38
|
+
isEclEuRtl(): boolean;
|
|
39
|
+
isEuiLegacy(): boolean;
|
|
40
|
+
isEuiLegacyHc(): boolean;
|
|
41
|
+
isDark(): boolean;
|
|
42
|
+
isCompact(): boolean;
|
|
43
|
+
setActiveTheme(theme: EuiTheme, isActive: boolean): void;
|
|
44
|
+
private _renderTheme;
|
|
45
|
+
private _renderThemeCss;
|
|
46
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<EuiThemeService, [null, { optional: true; }, null]>;
|
|
22
47
|
static ɵprov: i0.ɵɵInjectableDeclaration<EuiThemeService>;
|
|
23
48
|
}
|
|
49
|
+
export {};
|
|
24
50
|
//# sourceMappingURL=eui-theme.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"eui-theme.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/eui-theme.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"eui-theme.service.d.ts","sourceRoot":"","sources":["../../../src/lib/services/eui-theme.service.ts"],"names":[],"mappings":"AACA,OAAO,EAAmB,UAAU,EAAE,MAAM,MAAM,CAAC;AAEnD,OAAO,EAAE,YAAY,EAAE,MAAM,WAAW,CAAC;AACzC,OAAO,EAAE,kBAAkB,EAAE,MAAM,yBAAyB,CAAC;;AAG7D,oBAAY,QAAQ;IAChB,OAAO,YAAY;IACnB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,MAAM,WAAW;IACjB,UAAU,eAAe;IACzB,UAAU,eAAe;IACzB,aAAa,6BAA6B;IAC1C,IAAI,SAAS;IACb,OAAO,YAAY;CACtB;AAED,UAAU,SAAS;IACf,IAAI,EAAE,QAAQ,CAAC;IACf,QAAQ,EAAE,OAAO,CAAC;IAClB,UAAU,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,UAAU;IACvB,MAAM,EAAE,SAAS,EAAE,CAAC;IAEpB,KAAK,EAAE,GAAG,CAAC;CACd;AA2BD,qBAGa,eAAe;IAIF,OAAO,CAAC,QAAQ;IACO,SAAS,CAAC,MAAM,EAAE,YAAY;IACvE,OAAO,CAAC,SAAS;IALrB,OAAO,CAAC,OAAO,CAA8B;gBAGf,QAAQ,EAAE,QAAQ,EACO,MAAM,EAAE,YAAY,EAC/D,SAAS,EAAE,kBAAkB;IAOzC,IAAI,MAAM,IAAI,UAAU,CAAC,UAAU,CAAC,CAEnC;IAED,IAAI,KAAK,IAAI,UAAU,CAEtB;IAED,SAAS,IAAI,OAAO;IAGpB,OAAO,IAAI,OAAO;IAGlB,UAAU,IAAI,OAAO;IAGrB,OAAO,IAAI,OAAO;IAGlB,UAAU,IAAI,OAAO;IAGrB,WAAW,IAAI,OAAO;IAGtB,aAAa,IAAI,OAAO;IAGxB,MAAM,IAAI,OAAO;IAGjB,SAAS,IAAI,OAAO;IAIpB,cAAc,CAAC,KAAK,EAAE,QAAQ,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI;IAmCxD,OAAO,CAAC,YAAY;IAkBpB,OAAO,CAAC,eAAe;yCAtGd,eAAe;6CAAf,eAAe;CAqI3B"}
|
|
@@ -17,6 +17,7 @@ export declare const LOCALE_ID_MAPPER: InjectionToken<LocaleMapper>;
|
|
|
17
17
|
* - Updating the Angular LOCALE_ID token.
|
|
18
18
|
*
|
|
19
19
|
* @template T - Extends LocaleState, representing the state structure for locales.
|
|
20
|
+
* @template L - The type of the locale data.
|
|
20
21
|
* @extends EuiService<T | LocaleState>
|
|
21
22
|
*/
|
|
22
23
|
export declare class LocaleService<T extends LocaleState = LocaleState> extends EuiService<T | LocaleState> implements OnDestroy {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"locale.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/locale/locale.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAa,SAAS,EAAY,MAAM,eAAe,CAAC;AAEnG,OAAO,EACH,UAAU,EACV,gBAAgB,EAGhB,YAAY,EACZ,mBAAmB,EACnB,WAAW,EAEd,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,UAAU,EAA2B,MAAM,MAAM,CAAC;AAE3D,OAAO,EAAE,YAAY,EAA2B,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;;AAItC,MAAM,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;AACtD,eAAO,MAAM,gBAAgB,8BAAqD,CAAC;AAEnF
|
|
1
|
+
{"version":3,"file":"locale.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/locale/locale.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAsB,cAAc,EAAa,SAAS,EAAY,MAAM,eAAe,CAAC;AAEnG,OAAO,EACH,UAAU,EACV,gBAAgB,EAGhB,YAAY,EACZ,mBAAmB,EACnB,WAAW,EAEd,MAAM,WAAW,CAAC;AACnB,OAAO,EAAE,UAAU,EAA2B,MAAM,MAAM,CAAC;AAE3D,OAAO,EAAE,YAAY,EAA2B,MAAM,UAAU,CAAC;AACjE,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,WAAW,EAAE,MAAM,SAAS,CAAC;;AAItC,MAAM,MAAM,YAAY,GAAG,CAAC,MAAM,EAAE,MAAM,KAAK,MAAM,CAAC;AACtD,eAAO,MAAM,gBAAgB,8BAAqD,CAAC;AAEnF;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aAAa,IAAI,MAAM,CAE1B;IAED;;;;;;;;OAQG;IAEH,OAAO,CAAC,UAAU;IAIlB;;;;OAIG;IACH,OAAO,CAAC,qCAAqC;IAuD7C;;;;;OAKG;IACH,OAAO,CAAC,iBAAiB;yCA1OhB,aAAa;6CAAb,aAAa;CAoPzB"}
|
|
@@ -6,8 +6,9 @@ import * as i0 from "@angular/core";
|
|
|
6
6
|
*/
|
|
7
7
|
export declare class LocalStorageService extends StorageService {
|
|
8
8
|
protected log: LogService;
|
|
9
|
+
private platformId;
|
|
9
10
|
static NAME: string;
|
|
10
|
-
constructor(log: LogService);
|
|
11
|
+
constructor(log: LogService, platformId: unknown);
|
|
11
12
|
/**
|
|
12
13
|
* the name of the storage service
|
|
13
14
|
*/
|
|
@@ -29,7 +30,7 @@ export declare class LocalStorageService extends StorageService {
|
|
|
29
30
|
* @param key the associated key
|
|
30
31
|
*/
|
|
31
32
|
remove(key: string): void;
|
|
32
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, [{ optional: true; }]>;
|
|
33
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LocalStorageService, [{ optional: true; }, null]>;
|
|
33
34
|
static ɵprov: i0.ɵɵInjectableDeclaration<LocalStorageService>;
|
|
34
35
|
}
|
|
35
36
|
//# sourceMappingURL=local-storage.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"local-storage.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/storage/local-storage.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"local-storage.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/storage/local-storage.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,cAAc,EAAE,MAAM,mBAAmB,CAAC;AACnD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAC;;AAEhD;;GAEG;AACH,qBACa,mBAAoB,SAAQ,cAAc;IAG3B,SAAS,CAAC,GAAG,EAAE,UAAU;IAAuB,OAAO,CAAC,UAAU;IAF1F,MAAM,CAAC,IAAI,SAAyB;gBAEF,GAAG,EAAE,UAAU,EAA+B,UAAU,EAAE,OAAO;IAInG;;OAEG;IACH,IAAI,IAAI,MAAM;IAId;;;;OAIG;IAGH,GAAG,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG;IAcrB;;;;OAIG;IAGH,GAAG,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,GAAG,GAAG,IAAI;IAalC;;;OAGG;IACH,MAAM,CAAC,GAAG,EAAE,MAAM,GAAG,IAAI;yCA3DhB,mBAAmB;6CAAnB,mBAAmB;CAsE/B"}
|
|
@@ -10,10 +10,11 @@ export declare class CoreAppEffects {
|
|
|
10
10
|
protected showConnectionStatus: boolean | ConnectionStatus;
|
|
11
11
|
protected translateService: TranslateService;
|
|
12
12
|
protected asService: EuiGrowlService;
|
|
13
|
+
protected platformId: unknown;
|
|
13
14
|
getAppConnectionInformation: Observable<Action>;
|
|
14
15
|
activatedRoute: Observable<Action>;
|
|
15
16
|
updateAppConnection: Observable<boolean> & import("@ngrx/effects").CreateEffectMetadata;
|
|
16
|
-
constructor(actions: Actions, showConnectionStatus: boolean | ConnectionStatus, translateService: TranslateService, asService: EuiGrowlService);
|
|
17
|
+
constructor(actions: Actions, showConnectionStatus: boolean | ConnectionStatus, translateService: TranslateService, asService: EuiGrowlService, platformId: unknown);
|
|
17
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<CoreAppEffects, never>;
|
|
18
19
|
static ɵprov: i0.ɵɵInjectableDeclaration<CoreAppEffects>;
|
|
19
20
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"app.effects.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/effects/app.effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,UAAU,
|
|
1
|
+
{"version":3,"file":"app.effects.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/effects/app.effects.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,gBAAgB,EAAE,MAAM,qBAAqB,CAAC;AACvD,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,OAAO,EAAwB,MAAM,eAAe,CAAC;AAC9D,OAAO,EAAE,UAAU,EAAwB,MAAM,MAAM,CAAC;AAKxD,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAEhE,OAAO,EAAE,gBAAgB,EAAE,MAAM,WAAW,CAAC;;AAG7C,qBACa,cAAc;IAmEnB,SAAS,CAAC,OAAO,EAAE,OAAO;IAEY,SAAS,CAAC,oBAAoB,EAAE,OAAO,GAAG,gBAAgB;IAChG,SAAS,CAAC,gBAAgB,EAAE,gBAAgB;IAC5C,SAAS,CAAC,SAAS,EAAE,eAAe;IACf,SAAS,CAAC,UAAU,EAAE,OAAO;IAvEtD,2BAA2B,EAAE,UAAU,CAAC,MAAM,CAAC,CAY7C;IAEF,cAAc,EAAE,UAAU,CAAC,MAAM,CAAC,CAUhC;IAEF,mBAAmB,qEAqCjB;gBAGY,OAAO,EAAE,OAAO,EAEsB,oBAAoB,EAAE,OAAO,GAAG,gBAAgB,EACtF,gBAAgB,EAAE,gBAAgB,EAClC,SAAS,EAAE,eAAe,EACL,UAAU,EAAE,OAAO;yCAxE7C,cAAc;6CAAd,cAAc;CA0E1B"}
|
|
@@ -1,10 +1,20 @@
|
|
|
1
1
|
import { Action, ActionReducer } from '@ngrx/store';
|
|
2
2
|
import { CoreState } from '@eui/base';
|
|
3
|
+
/**
|
|
4
|
+
* Utility meta-reducer to load the state from the local storage
|
|
5
|
+
* @param platformId the platformId based on PLATFORM_ID token of Angular
|
|
6
|
+
*/
|
|
7
|
+
export declare function localStorageSync<S extends CoreState>(platformId: unknown): ((reducer: ActionReducer<S>) => (state: S, action: Action) => S);
|
|
3
8
|
/**
|
|
4
9
|
* Utility meta-reducer to load the state from the local storage
|
|
5
10
|
* @param reducer the action reducer
|
|
6
11
|
*/
|
|
7
12
|
export declare function localStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
|
|
13
|
+
/**
|
|
14
|
+
* Utility meta-reducer to load the state from the session storage
|
|
15
|
+
* @param platformId the platformId based on PLATFORM_ID token of Angular
|
|
16
|
+
*/
|
|
17
|
+
export declare function sessionStorageSync<S extends CoreState>(platformId: unknown): ((reducer: ActionReducer<S>) => (state: S, action: Action) => S);
|
|
8
18
|
/**
|
|
9
19
|
* Utility meta-reducer to load the state from the session storage
|
|
10
20
|
* @param reducer the action reducer
|
|
@@ -14,5 +24,5 @@ export declare function sessionStorageSync<S extends CoreState>(reducer: ActionR
|
|
|
14
24
|
*
|
|
15
25
|
* @param storage Type of storage to load the state from
|
|
16
26
|
*/
|
|
17
|
-
export declare const loadState: <S extends CoreState<any>>(storage?: Storage) => S;
|
|
27
|
+
export declare const loadState: <S extends CoreState<any>>(storage?: Storage | null) => S;
|
|
18
28
|
//# sourceMappingURL=meta.reducers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"meta.reducers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/reducers/meta.reducers.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"meta.reducers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/reducers/meta.reducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,EAAY,SAAS,EAAE,MAAM,WAAW,CAAC;AAOhD;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,CAAC,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC,CAAC,CAAC;AAC7I;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,CAAC,SAAS,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC,CAAC;AAYlH;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,SAAS,EAAE,UAAU,EAAE,OAAO,GAAG,CAAC,CAAC,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,KAAK,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC,CAAC,CAAC;AAC/I;;;GAGG;AACH,wBAAgB,kBAAkB,CAAC,CAAC,SAAS,SAAS,EAAE,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,MAAM,KAAK,CAAC,CAAC;AAqCpH;;;GAGG;AACH,eAAO,MAAM,SAAS,uCAAkC,OAAO,GAAG,IAAI,KAAkB,CAuBvF,CAAC"}
|
|
@@ -10,6 +10,7 @@ export declare enum BrowserStorageType {
|
|
|
10
10
|
export declare class StoreService<T = any> {
|
|
11
11
|
protected store: Store<T>;
|
|
12
12
|
protected logService: LogService;
|
|
13
|
+
private platformId;
|
|
13
14
|
/**
|
|
14
15
|
* autoSave handlers to call before saving in local Storage
|
|
15
16
|
*/
|
|
@@ -18,7 +19,7 @@ export declare class StoreService<T = any> {
|
|
|
18
19
|
};
|
|
19
20
|
/** storage instance e.g. localStorage, sessionStorage */
|
|
20
21
|
private _storage;
|
|
21
|
-
constructor(store: Store<T>, logService: LogService);
|
|
22
|
+
constructor(store: Store<T>, logService: LogService, platformId: unknown);
|
|
22
23
|
init(version?: string, storageType?: BrowserStorageType): void;
|
|
23
24
|
addAutoSaveHandler(stateSlice: string, handler: Function): void;
|
|
24
25
|
handleAutoSave(): void;
|
|
@@ -38,7 +39,7 @@ export declare class StoreService<T = any> {
|
|
|
38
39
|
* @param state type of CoreState
|
|
39
40
|
*/
|
|
40
41
|
protected saveState(state: CoreState): void;
|
|
41
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<StoreService<any>, [{ optional: true; }, { optional: true; }]>;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StoreService<any>, [{ optional: true; }, { optional: true; }, null]>;
|
|
42
43
|
static ɵprov: i0.ɵɵInjectableDeclaration<StoreService<any>>;
|
|
43
44
|
}
|
|
44
45
|
//# sourceMappingURL=store.service.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/store/store.service.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"store.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/store/store.service.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,MAAM,EAAE,aAAa,EAAE,KAAK,EAAE,MAAM,aAAa,CAAC;AAC3D,OAAO,EAAE,UAAU,EAAc,MAAM,MAAM,CAAC;AAG9C,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AAEpC,OAAO,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;;AAEtC,oBAAY,kBAAkB;IAC1B,KAAK,IAAA;IACL,OAAO,IAAA;CACV;AAGD,qBAKa,YAAY,CAAC,CAAC,GAAG,GAAG;IASb,SAAS,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;IACzB,SAAS,CAAC,UAAU,EAAE,UAAU;IACvB,OAAO,CAAC,UAAU;IAV3C;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,QAAQ,CAAA;KAAE,CAAM;IAC9D,yDAAyD;IACzD,OAAO,CAAC,QAAQ,CAAU;gBAGA,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC,EACf,UAAU,EAAE,UAAU,EACf,UAAU,EAAE,OAAO;IAWpD,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,kBAAkB,GAAG,IAAI;IAQ9D,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,QAAQ,GAAG,IAAI;IAU/D,cAAc,IAAI,IAAI;IAUtB;;;OAGG;IAGH,QAAQ,CAAC,MAAM,EAAE,GAAG,GAAG,IAAI;IAQ3B,cAAc,CAAC,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,OAAO,EAAE,aAAa,CAAC,GAAG,EAAE,MAAM,CAAC,GAAG,IAAI;IAOtF;;;OAGG;IAGH,MAAM,CAAC,GAAG,EAAE,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IAOpC;;;OAGG;IACH,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;yCAxFlC,YAAY;6CAAZ,YAAY;CA8GxB"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Observable } from 'rxjs';
|
|
2
2
|
import { StoreService } from './store.service';
|
|
3
3
|
import * as i0 from "@angular/core";
|
|
4
|
+
export declare const PLATFORM_BROWSER_ID = "browser";
|
|
4
5
|
export declare class StoreServiceMock extends StoreService {
|
|
5
6
|
constructor();
|
|
6
7
|
init(): void;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"store.service.mock.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/store/store.service.mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAG/C,qBACa,gBAAiB,SAAQ,YAAY;;IAKrC,IAAI,IAAI,IAAI;IAEZ,kBAAkB,IAAI,IAAI;IAE1B,cAAc,IAAI,IAAI;IAEtB,QAAQ,IAAI,IAAI;IAEhB,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC;yCAb5B,gBAAgB;6CAAhB,gBAAgB;CAgB5B"}
|
|
1
|
+
{"version":3,"file":"store.service.mock.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/store/store.service.mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;;AAG/C,eAAO,MAAM,mBAAmB,YAAY,CAAC;AAE7C,qBACa,gBAAiB,SAAQ,YAAY;;IAKrC,IAAI,IAAI,IAAI;IAEZ,kBAAkB,IAAI,IAAI;IAE1B,cAAc,IAAI,IAAI;IAEtB,QAAQ,IAAI,IAAI;IAEhB,MAAM,IAAI,UAAU,CAAC,MAAM,CAAC;yCAb5B,gBAAgB;6CAAhB,gBAAgB;CAgB5B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eui/core",
|
|
3
|
-
"version": "18.0.0-rc.
|
|
3
|
+
"version": "18.0.0-rc.40",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"description": "eUI core package - holding UI components for Desktop applications",
|
|
6
6
|
"homepage": "https://eui.ecdevops.eu",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://citnet.tech.ec.europa.eu/CITnet/stash/projects/CSDR/repos/eui"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@eui/base": "18.0.0-rc.
|
|
13
|
+
"@eui/base": "18.0.0-rc.40",
|
|
14
14
|
"rxjs": "^7.8.0",
|
|
15
15
|
"extend": "^3.0.2",
|
|
16
16
|
"localforage": "^1.10.0",
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"@angular/forms": "^18.0.0",
|
|
23
23
|
"@angular/material": "^18.0.0",
|
|
24
24
|
"@angular/material-moment-adapter": "^18.0.0",
|
|
25
|
-
"@ngrx/store": "^
|
|
26
|
-
"@ngrx/effects": "^
|
|
25
|
+
"@ngrx/store": "^18.0.0-beta.1",
|
|
26
|
+
"@ngrx/effects": "^18.0.0-beta.1",
|
|
27
27
|
"@ngx-translate/core": "^15.0.0"
|
|
28
28
|
},
|
|
29
29
|
"engines": {
|