@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.
Files changed (213) hide show
  1. package/LICENSE +296 -296
  2. package/README.md +26 -26
  3. package/assets/i18n-eui/bg.json +114 -114
  4. package/assets/i18n-eui/cs.json +114 -114
  5. package/assets/i18n-eui/da.json +114 -114
  6. package/assets/i18n-eui/de.json +114 -114
  7. package/assets/i18n-eui/el.json +114 -114
  8. package/assets/i18n-eui/en.json +113 -113
  9. package/assets/i18n-eui/es.json +114 -114
  10. package/assets/i18n-eui/et.json +114 -114
  11. package/assets/i18n-eui/fi.json +114 -114
  12. package/assets/i18n-eui/fr.json +114 -114
  13. package/assets/i18n-eui/ga.json +114 -114
  14. package/assets/i18n-eui/hr.json +114 -114
  15. package/assets/i18n-eui/hu.json +114 -114
  16. package/assets/i18n-eui/it.json +114 -114
  17. package/assets/i18n-eui/lt.json +114 -114
  18. package/assets/i18n-eui/lv.json +114 -114
  19. package/assets/i18n-eui/mt.json +114 -114
  20. package/assets/i18n-eui/nl.json +114 -114
  21. package/assets/i18n-eui/pl.json +114 -114
  22. package/assets/i18n-eui/pt.json +114 -114
  23. package/assets/i18n-eui/ro.json +114 -114
  24. package/assets/i18n-eui/sk.json +114 -114
  25. package/assets/i18n-eui/sl.json +114 -114
  26. package/assets/i18n-eui/sv.json +114 -114
  27. package/docs/classes/RouterMock.html +5 -5
  28. package/docs/dependencies.html +95 -7
  29. package/docs/index.html +36 -59
  30. package/docs/injectables/CoreAppEffects.html +51 -51
  31. package/docs/js/menu-wc.js +12 -7
  32. package/docs/js/menu-wc_es5.js +1 -1
  33. package/docs/js/search/search_index.js +2 -2
  34. package/docs/miscellaneous/variables.html +1211 -1211
  35. package/docs/overview.html +171 -0
  36. package/esm2020/eui-core.mjs +4 -4
  37. package/esm2020/index.mjs +13 -13
  38. package/esm2020/lib/eui-core.module.mjs +78 -78
  39. package/esm2020/lib/helpers/date-helpers.mjs +3 -3
  40. package/esm2020/lib/helpers/dom-helpers.mjs +87 -87
  41. package/esm2020/lib/helpers/event-helpers.mjs +9 -9
  42. package/esm2020/lib/helpers/form-helpers.mjs +42 -42
  43. package/esm2020/lib/helpers/format-helpers.mjs +66 -66
  44. package/esm2020/lib/helpers/http-helpers.mjs +7 -7
  45. package/esm2020/lib/helpers/index.mjs +8 -8
  46. package/esm2020/lib/helpers/utils.mjs +7 -7
  47. package/esm2020/lib/interceptors/add-lang-param.interceptor.mjs +35 -35
  48. package/esm2020/lib/interceptors/cache-prevention.interceptor.mjs +21 -21
  49. package/esm2020/lib/interceptors/cors-security.interceptor.mjs +15 -15
  50. package/esm2020/lib/interceptors/csrf-prevention.interceptor.mjs +15 -15
  51. package/esm2020/lib/interceptors/eu-login-session-timeout-handling.interceptor.mjs +72 -72
  52. package/esm2020/lib/interceptors/index.mjs +8 -8
  53. package/esm2020/lib/interceptors/openid/index.mjs +4 -4
  54. package/esm2020/lib/interceptors/openid/openid-connect.interceptor.mjs +149 -149
  55. package/esm2020/lib/interceptors/openid/openid-connect.service.mjs +56 -56
  56. package/esm2020/lib/interceptors/openid/openid-connect.service.mock.mjs +8 -8
  57. package/esm2020/lib/interceptors/ux-request-error-model.interceptor.mjs +31 -31
  58. package/esm2020/lib/services/app/eui-init-app.mjs +29 -29
  59. package/esm2020/lib/services/app/eui-pre-init-app.mjs +43 -43
  60. package/esm2020/lib/services/app/eui-startup.mjs +40 -40
  61. package/esm2020/lib/services/app/factories/log.mjs +55 -55
  62. package/esm2020/lib/services/app/index.mjs +2 -2
  63. package/esm2020/lib/services/config/defaults.mjs +68 -68
  64. package/esm2020/lib/services/config/tokens.mjs +74 -74
  65. package/esm2020/lib/services/errors/eui.error.mjs +38 -38
  66. package/esm2020/lib/services/errors/global-error-handler.mjs +24 -24
  67. package/esm2020/lib/services/errors/http-error-handler-callback-functions.mjs +17 -17
  68. package/esm2020/lib/services/errors/http-error-handler.interceptor.mjs +55 -55
  69. package/esm2020/lib/services/errors/index.mjs +5 -5
  70. package/esm2020/lib/services/i18n/i18n.loader.mjs +198 -198
  71. package/esm2020/lib/services/i18n/i18n.resource.mjs +43 -43
  72. package/esm2020/lib/services/i18n/i18n.service.mjs +228 -228
  73. package/esm2020/lib/services/i18n/i18n.service.mock.mjs +38 -38
  74. package/esm2020/lib/services/i18n/index.mjs +6 -6
  75. package/esm2020/lib/services/index.mjs +19 -19
  76. package/esm2020/lib/services/locale/index.mjs +3 -3
  77. package/esm2020/lib/services/locale/locale.service.mjs +232 -232
  78. package/esm2020/lib/services/locale/locale.service.mock.mjs +43 -43
  79. package/esm2020/lib/services/log/index.mjs +4 -4
  80. package/esm2020/lib/services/log/log.module.mjs +38 -38
  81. package/esm2020/lib/services/log/log.service.mjs +51 -51
  82. package/esm2020/lib/services/log/log.service.mock.mjs +7 -7
  83. package/esm2020/lib/services/permission/permission.service.mjs +110 -110
  84. package/esm2020/lib/services/queue/api-queue.service.mjs +137 -137
  85. package/esm2020/lib/services/queue/api-queue.service.mock.mjs +23 -23
  86. package/esm2020/lib/services/queue/index.mjs +3 -3
  87. package/esm2020/lib/services/storage/async-storage.service.mjs +17 -17
  88. package/esm2020/lib/services/storage/async-storage.service.mock.mjs +22 -22
  89. package/esm2020/lib/services/storage/index.mjs +8 -8
  90. package/esm2020/lib/services/storage/local-forage.service.mjs +93 -93
  91. package/esm2020/lib/services/storage/local-storage.service.mjs +75 -75
  92. package/esm2020/lib/services/storage/session-storage.service.mjs +75 -75
  93. package/esm2020/lib/services/storage/storage.service.mjs +6 -6
  94. package/esm2020/lib/services/storage/storage.service.mock.mjs +12 -12
  95. package/esm2020/lib/services/store/actions/app.actions.mjs +74 -74
  96. package/esm2020/lib/services/store/actions/i18n.actions.mjs +11 -11
  97. package/esm2020/lib/services/store/actions/index.mjs +6 -6
  98. package/esm2020/lib/services/store/actions/locale.actions.mjs +11 -11
  99. package/esm2020/lib/services/store/actions/notifications.actions.mjs +11 -11
  100. package/esm2020/lib/services/store/actions/user.actions.mjs +39 -39
  101. package/esm2020/lib/services/store/effects/app.effects.mjs +55 -55
  102. package/esm2020/lib/services/store/effects/index.mjs +4 -4
  103. package/esm2020/lib/services/store/index.mjs +6 -6
  104. package/esm2020/lib/services/store/reducers/app.reducers.mjs +56 -56
  105. package/esm2020/lib/services/store/reducers/core.reducers.mjs +13 -13
  106. package/esm2020/lib/services/store/reducers/i18n.reducers.mjs +16 -16
  107. package/esm2020/lib/services/store/reducers/index.mjs +8 -8
  108. package/esm2020/lib/services/store/reducers/locale.reducers.mjs +16 -16
  109. package/esm2020/lib/services/store/reducers/meta.reducers.mjs +89 -89
  110. package/esm2020/lib/services/store/reducers/notifications.reducers.mjs +13 -13
  111. package/esm2020/lib/services/store/reducers/user.reducers.mjs +43 -43
  112. package/esm2020/lib/services/store/store.service.mjs +112 -112
  113. package/esm2020/lib/services/store/store.service.mock.mjs +22 -22
  114. package/esm2020/lib/services/user/index.mjs +3 -3
  115. package/esm2020/lib/services/user/user.service.mjs +64 -64
  116. package/esm2020/lib/services/user/user.service.mock.mjs +32 -32
  117. package/esm2020/lib/services/ux-app-shell.service.mjs +690 -690
  118. package/esm2020/lib/services/ux-dynamic-component/ux-dynamic-component.service.mjs +63 -63
  119. package/esm2020/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.mjs +66 -66
  120. package/esm2020/lib/services/ux-error-feedback/ux-error-feedback.service.mjs +99 -99
  121. package/esm2020/lib/services/ux-error-feedback/ux-error-handler.operator.mjs +16 -16
  122. package/esm2020/lib/services/ux-timezone.service.mjs +716 -716
  123. package/fesm2015/eui-core.mjs +4484 -4484
  124. package/fesm2015/eui-core.mjs.map +1 -1
  125. package/fesm2020/eui-core.mjs +4538 -4538
  126. package/fesm2020/eui-core.mjs.map +1 -1
  127. package/index.d.ts +5 -5
  128. package/lib/eui-core.module.d.ts +20 -20
  129. package/lib/helpers/date-helpers.d.ts +2 -2
  130. package/lib/helpers/dom-helpers.d.ts +26 -26
  131. package/lib/helpers/event-helpers.d.ts +1 -1
  132. package/lib/helpers/form-helpers.d.ts +10 -10
  133. package/lib/helpers/format-helpers.d.ts +12 -12
  134. package/lib/helpers/http-helpers.d.ts +2 -2
  135. package/lib/helpers/index.d.ts +7 -7
  136. package/lib/helpers/utils.d.ts +6 -6
  137. package/lib/interceptors/add-lang-param.interceptor.d.ts +16 -16
  138. package/lib/interceptors/cache-prevention.interceptor.d.ts +8 -8
  139. package/lib/interceptors/cors-security.interceptor.d.ts +8 -8
  140. package/lib/interceptors/csrf-prevention.interceptor.d.ts +8 -8
  141. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts +12 -12
  142. package/lib/interceptors/index.d.ts +7 -7
  143. package/lib/interceptors/openid/index.d.ts +3 -3
  144. package/lib/interceptors/openid/openid-connect.interceptor.d.ts +14 -14
  145. package/lib/interceptors/openid/openid-connect.service.d.ts +17 -17
  146. package/lib/interceptors/openid/openid-connect.service.mock.d.ts +5 -5
  147. package/lib/interceptors/ux-request-error-model.interceptor.d.ts +13 -13
  148. package/lib/services/app/eui-init-app.d.ts +2 -2
  149. package/lib/services/app/eui-pre-init-app.d.ts +16 -16
  150. package/lib/services/app/eui-startup.d.ts +4 -4
  151. package/lib/services/app/factories/log.d.ts +25 -25
  152. package/lib/services/app/index.d.ts +1 -1
  153. package/lib/services/config/defaults.d.ts +11 -11
  154. package/lib/services/config/tokens.d.ts +19 -19
  155. package/lib/services/errors/eui.error.d.ts +15 -15
  156. package/lib/services/errors/global-error-handler.d.ts +10 -10
  157. package/lib/services/errors/http-error-handler-callback-functions.d.ts +6 -6
  158. package/lib/services/errors/http-error-handler.interceptor.d.ts +22 -22
  159. package/lib/services/errors/index.d.ts +4 -4
  160. package/lib/services/i18n/i18n.loader.d.ts +79 -79
  161. package/lib/services/i18n/i18n.resource.d.ts +35 -35
  162. package/lib/services/i18n/i18n.service.d.ts +73 -73
  163. package/lib/services/i18n/i18n.service.mock.d.ts +19 -19
  164. package/lib/services/i18n/index.d.ts +4 -4
  165. package/lib/services/index.d.ts +18 -18
  166. package/lib/services/locale/index.d.ts +2 -2
  167. package/lib/services/locale/locale.service.d.ts +68 -68
  168. package/lib/services/locale/locale.service.mock.d.ts +15 -15
  169. package/lib/services/log/index.d.ts +3 -3
  170. package/lib/services/log/log.module.d.ts +15 -15
  171. package/lib/services/log/log.service.d.ts +27 -27
  172. package/lib/services/log/log.service.mock.d.ts +4 -4
  173. package/lib/services/permission/permission.service.d.ts +52 -52
  174. package/lib/services/queue/api-queue.service.d.ts +76 -76
  175. package/lib/services/queue/api-queue.service.mock.d.ts +13 -13
  176. package/lib/services/queue/index.d.ts +2 -2
  177. package/lib/services/storage/async-storage.service.d.ts +44 -44
  178. package/lib/services/storage/async-storage.service.mock.d.ts +11 -11
  179. package/lib/services/storage/index.d.ts +7 -7
  180. package/lib/services/storage/local-forage.service.d.ts +48 -48
  181. package/lib/services/storage/local-storage.service.d.ts +34 -34
  182. package/lib/services/storage/session-storage.service.d.ts +34 -34
  183. package/lib/services/storage/storage.service.d.ts +28 -28
  184. package/lib/services/storage/storage.service.mock.d.ts +7 -7
  185. package/lib/services/store/actions/app.actions.d.ts +82 -82
  186. package/lib/services/store/actions/i18n.actions.d.ts +11 -11
  187. package/lib/services/store/actions/index.d.ts +5 -5
  188. package/lib/services/store/actions/locale.actions.d.ts +11 -11
  189. package/lib/services/store/actions/notifications.actions.d.ts +10 -10
  190. package/lib/services/store/actions/user.actions.d.ts +35 -35
  191. package/lib/services/store/effects/app.effects.d.ts +19 -19
  192. package/lib/services/store/effects/index.d.ts +3 -3
  193. package/lib/services/store/index.d.ts +5 -5
  194. package/lib/services/store/reducers/app.reducers.d.ts +3 -3
  195. package/lib/services/store/reducers/core.reducers.d.ts +3 -3
  196. package/lib/services/store/reducers/i18n.reducers.d.ts +3 -3
  197. package/lib/services/store/reducers/index.d.ts +7 -7
  198. package/lib/services/store/reducers/locale.reducers.d.ts +3 -3
  199. package/lib/services/store/reducers/meta.reducers.d.ts +17 -17
  200. package/lib/services/store/reducers/notifications.reducers.d.ts +3 -3
  201. package/lib/services/store/reducers/user.reducers.d.ts +3 -3
  202. package/lib/services/store/store.service.d.ts +43 -43
  203. package/lib/services/store/store.service.mock.d.ts +12 -12
  204. package/lib/services/user/index.d.ts +2 -2
  205. package/lib/services/user/user.service.d.ts +15 -15
  206. package/lib/services/user/user.service.mock.d.ts +16 -16
  207. package/lib/services/ux-app-shell.service.d.ts +155 -155
  208. package/lib/services/ux-dynamic-component/ux-dynamic-component.service.d.ts +36 -36
  209. package/lib/services/ux-dynamic-menu/ux-dynamic-menu.service.d.ts +14 -14
  210. package/lib/services/ux-error-feedback/ux-error-feedback.service.d.ts +35 -35
  211. package/lib/services/ux-error-feedback/ux-error-handler.operator.d.ts +3 -3
  212. package/lib/services/ux-timezone.service.d.ts +269 -269
  213. package/package.json +2 -2
@@ -1,12 +1,12 @@
1
- import { Action } from '@ngrx/store';
2
- import { LocaleState } from '@eui/base';
3
- export declare enum CoreLocaleActionTypes {
4
- UPDATE_LOCALE_STATE = "[Locale] Update Locale State"
5
- }
6
- export declare class UpdateLocaleStateAction implements Action {
7
- payload: LocaleState;
8
- type: CoreLocaleActionTypes;
9
- constructor(payload: LocaleState);
10
- }
11
- export declare type CoreLocaleActions = UpdateLocaleStateAction;
1
+ import { Action } from '@ngrx/store';
2
+ import { LocaleState } from '@eui/base';
3
+ export declare enum CoreLocaleActionTypes {
4
+ UPDATE_LOCALE_STATE = "[Locale] Update Locale State"
5
+ }
6
+ export declare class UpdateLocaleStateAction implements Action {
7
+ payload: LocaleState;
8
+ type: CoreLocaleActionTypes;
9
+ constructor(payload: LocaleState);
10
+ }
11
+ export declare type CoreLocaleActions = UpdateLocaleStateAction;
12
12
  //# sourceMappingURL=locale.actions.d.ts.map
@@ -1,11 +1,11 @@
1
- import { Action } from '@ngrx/store';
2
- export declare enum CoreNotificationsActionTypes {
3
- UPDATE_NOTIFICATIONS_LIST = "[Notif] Update list"
4
- }
5
- export declare class UpdateNotificationsListAction implements Action {
6
- payload: any[];
7
- type: CoreNotificationsActionTypes;
8
- constructor(payload: any[]);
9
- }
10
- export declare type CoreNotificationsActions = UpdateNotificationsListAction;
1
+ import { Action } from '@ngrx/store';
2
+ export declare enum CoreNotificationsActionTypes {
3
+ UPDATE_NOTIFICATIONS_LIST = "[Notif] Update list"
4
+ }
5
+ export declare class UpdateNotificationsListAction implements Action {
6
+ payload: any[];
7
+ type: CoreNotificationsActionTypes;
8
+ constructor(payload: any[]);
9
+ }
10
+ export declare type CoreNotificationsActions = UpdateNotificationsListAction;
11
11
  //# sourceMappingURL=notifications.actions.d.ts.map
@@ -1,36 +1,36 @@
1
- import { Action } from '@ngrx/store';
2
- import { UserState, UserDetails, UserPreferences, UxUserRight } from '@eui/base';
3
- export declare enum CoreUserActionTypes {
4
- UPDATE_USER_STATE = "[User] Update User state",
5
- UPDATE_USER_DETAILS = "[User] Update details",
6
- UPDATE_USER_PREFERENCES = "[User] Update preferences",
7
- UPDATE_USER_RIGHTS = "[User] Update rights",
8
- UPDATE_USER_DASHBOARD = "[User] Update dashboard"
9
- }
10
- export declare class UpdateUserStateAction implements Action {
11
- payload: UserState;
12
- type: CoreUserActionTypes;
13
- constructor(payload: UserState);
14
- }
15
- export declare class UpdateUserDetailsAction implements Action {
16
- payload: UserDetails;
17
- type: CoreUserActionTypes;
18
- constructor(payload: UserDetails);
19
- }
20
- export declare class UpdateUserPreferencesAction implements Action {
21
- payload: UserPreferences;
22
- type: CoreUserActionTypes;
23
- constructor(payload: UserPreferences);
24
- }
25
- export declare class UpdateUserRightsAction implements Action {
26
- payload: UxUserRight[];
27
- type: CoreUserActionTypes;
28
- constructor(payload: UxUserRight[]);
29
- }
30
- export declare class UpdateUserDashboardAction implements Action {
31
- payload: any;
32
- type: CoreUserActionTypes;
33
- constructor(payload: any);
34
- }
35
- export declare type CoreUserActions = UpdateUserDetailsAction | UpdateUserPreferencesAction | UpdateUserRightsAction | UpdateUserDashboardAction;
1
+ import { Action } from '@ngrx/store';
2
+ import { UserState, UserDetails, UserPreferences, UxUserRight } from '@eui/base';
3
+ export declare enum CoreUserActionTypes {
4
+ UPDATE_USER_STATE = "[User] Update User state",
5
+ UPDATE_USER_DETAILS = "[User] Update details",
6
+ UPDATE_USER_PREFERENCES = "[User] Update preferences",
7
+ UPDATE_USER_RIGHTS = "[User] Update rights",
8
+ UPDATE_USER_DASHBOARD = "[User] Update dashboard"
9
+ }
10
+ export declare class UpdateUserStateAction implements Action {
11
+ payload: UserState;
12
+ type: CoreUserActionTypes;
13
+ constructor(payload: UserState);
14
+ }
15
+ export declare class UpdateUserDetailsAction implements Action {
16
+ payload: UserDetails;
17
+ type: CoreUserActionTypes;
18
+ constructor(payload: UserDetails);
19
+ }
20
+ export declare class UpdateUserPreferencesAction implements Action {
21
+ payload: UserPreferences;
22
+ type: CoreUserActionTypes;
23
+ constructor(payload: UserPreferences);
24
+ }
25
+ export declare class UpdateUserRightsAction implements Action {
26
+ payload: UxUserRight[];
27
+ type: CoreUserActionTypes;
28
+ constructor(payload: UxUserRight[]);
29
+ }
30
+ export declare class UpdateUserDashboardAction implements Action {
31
+ payload: any;
32
+ type: CoreUserActionTypes;
33
+ constructor(payload: any);
34
+ }
35
+ export declare type CoreUserActions = UpdateUserDetailsAction | UpdateUserPreferencesAction | UpdateUserRightsAction | UpdateUserDashboardAction;
36
36
  //# sourceMappingURL=user.actions.d.ts.map
@@ -1,20 +1,20 @@
1
- import { TranslateService } from '@ngx-translate/core';
2
- import { Action } from '@ngrx/store';
3
- import { Actions } from '@ngrx/effects';
4
- import { Observable } from 'rxjs';
5
- import { UxAppShellService } from '../../ux-app-shell.service';
6
- import { ConnectionStatus } from '@eui/base';
7
- import * as i0 from "@angular/core";
8
- export declare class CoreAppEffects {
9
- protected actions: Actions;
10
- protected showConnectionStatus: boolean | ConnectionStatus;
11
- protected translateService: TranslateService;
12
- protected asService: UxAppShellService;
13
- getAppConnectionInformation: Observable<Action>;
14
- activatedRoute: Observable<Action>;
15
- updateAppConnection: Observable<boolean> & import("@ngrx/effects").CreateEffectMetadata;
16
- constructor(actions: Actions, showConnectionStatus: boolean | ConnectionStatus, translateService: TranslateService, asService: UxAppShellService);
17
- static ɵfac: i0.ɵɵFactoryDeclaration<CoreAppEffects, never>;
18
- static ɵprov: i0.ɵɵInjectableDeclaration<CoreAppEffects>;
19
- }
1
+ import { TranslateService } from '@ngx-translate/core';
2
+ import { Action } from '@ngrx/store';
3
+ import { Actions } from '@ngrx/effects';
4
+ import { Observable } from 'rxjs';
5
+ import { UxAppShellService } from '../../ux-app-shell.service';
6
+ import { ConnectionStatus } from '@eui/base';
7
+ import * as i0 from "@angular/core";
8
+ export declare class CoreAppEffects {
9
+ protected actions: Actions;
10
+ protected showConnectionStatus: boolean | ConnectionStatus;
11
+ protected translateService: TranslateService;
12
+ protected asService: UxAppShellService;
13
+ getAppConnectionInformation: Observable<Action>;
14
+ activatedRoute: Observable<Action>;
15
+ updateAppConnection: Observable<boolean> & import("@ngrx/effects").CreateEffectMetadata;
16
+ constructor(actions: Actions, showConnectionStatus: boolean | ConnectionStatus, translateService: TranslateService, asService: UxAppShellService);
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<CoreAppEffects, never>;
18
+ static ɵprov: i0.ɵɵInjectableDeclaration<CoreAppEffects>;
19
+ }
20
20
  //# sourceMappingURL=app.effects.d.ts.map
@@ -1,4 +1,4 @@
1
- export * from './app.effects';
2
- import { CoreAppEffects } from './app.effects';
3
- export declare const CoreModuleEffects: (typeof CoreAppEffects)[];
1
+ export * from './app.effects';
2
+ import { CoreAppEffects } from './app.effects';
3
+ export declare const CoreModuleEffects: (typeof CoreAppEffects)[];
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1,6 +1,6 @@
1
- export * from './actions/index';
2
- export * from './effects/index';
3
- export * from './reducers/index';
4
- export * from './store.service';
5
- export * from './store.service.mock';
1
+ export * from './actions/index';
2
+ export * from './effects/index';
3
+ export * from './reducers/index';
4
+ export * from './store.service';
5
+ export * from './store.service.mock';
6
6
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Action } from '@ngrx/store';
2
- import { AppState } from '@eui/base';
3
- export declare const coreAppReducers: (state: AppState, action: Action) => AppState;
1
+ import { Action } from '@ngrx/store';
2
+ import { AppState } from '@eui/base';
3
+ export declare const coreAppReducers: (state: AppState, action: Action) => AppState;
4
4
  //# sourceMappingURL=app.reducers.d.ts.map
@@ -1,4 +1,4 @@
1
- import { ActionReducerMap } from '@ngrx/store';
2
- import { CoreState } from '@eui/base';
3
- export declare const coreReducers: ActionReducerMap<CoreState, any>;
1
+ import { ActionReducerMap } from '@ngrx/store';
2
+ import { CoreState } from '@eui/base';
3
+ export declare const coreReducers: ActionReducerMap<CoreState, any>;
4
4
  //# sourceMappingURL=core.reducers.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Action } from '@ngrx/store';
2
- import { I18nState } from '@eui/base';
3
- export declare const corI18nReducers: (state: I18nState, action: Action) => I18nState;
1
+ import { Action } from '@ngrx/store';
2
+ import { I18nState } from '@eui/base';
3
+ export declare const corI18nReducers: (state: I18nState, action: Action) => I18nState;
4
4
  //# sourceMappingURL=i18n.reducers.d.ts.map
@@ -1,8 +1,8 @@
1
- export * from './app.reducers';
2
- export { coreReducers as reducers } from './core.reducers';
3
- export * from './i18n.reducers';
4
- export * from './user.reducers';
5
- export * from './notifications.reducers';
6
- export * from './meta.reducers';
7
- export * from './locale.reducers';
1
+ export * from './app.reducers';
2
+ export { coreReducers as reducers } from './core.reducers';
3
+ export * from './i18n.reducers';
4
+ export * from './user.reducers';
5
+ export * from './notifications.reducers';
6
+ export * from './meta.reducers';
7
+ export * from './locale.reducers';
8
8
  //# sourceMappingURL=index.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Action } from '@ngrx/store';
2
- import { LocaleState } from '@eui/base';
3
- export declare const coreLocaleReducers: (state: LocaleState, action: Action) => LocaleState;
1
+ import { Action } from '@ngrx/store';
2
+ import { LocaleState } from '@eui/base';
3
+ export declare const coreLocaleReducers: (state: LocaleState, action: Action) => LocaleState;
4
4
  //# sourceMappingURL=locale.reducers.d.ts.map
@@ -1,18 +1,18 @@
1
- import { Action, ActionReducer } from '@ngrx/store';
2
- import { CoreState } from '@eui/base';
3
- /**
4
- * Utility meta-reducer to load the state from the local storage
5
- * @param reducer the action reducer
6
- */
7
- export declare function localStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
8
- /**
9
- * Utility meta-reducer to load the state from the session storage
10
- * @param reducer the action reducer
11
- */
12
- export declare function sessionStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
13
- /**
14
- *
15
- * @param storageType
16
- */
17
- export declare const loadState: <S extends CoreState>(storage?: Storage) => S;
1
+ import { Action, ActionReducer } from '@ngrx/store';
2
+ import { CoreState } from '@eui/base';
3
+ /**
4
+ * Utility meta-reducer to load the state from the local storage
5
+ * @param reducer the action reducer
6
+ */
7
+ export declare function localStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
8
+ /**
9
+ * Utility meta-reducer to load the state from the session storage
10
+ * @param reducer the action reducer
11
+ */
12
+ export declare function sessionStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
13
+ /**
14
+ *
15
+ * @param storageType
16
+ */
17
+ export declare const loadState: <S extends CoreState>(storage?: Storage) => S;
18
18
  //# sourceMappingURL=meta.reducers.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Action } from '@ngrx/store';
2
- import { NotificationsState } from '@eui/base';
3
- export declare const coreNotificationsReducers: (state: NotificationsState, action: Action) => NotificationsState;
1
+ import { Action } from '@ngrx/store';
2
+ import { NotificationsState } from '@eui/base';
3
+ export declare const coreNotificationsReducers: (state: NotificationsState, action: Action) => NotificationsState;
4
4
  //# sourceMappingURL=notifications.reducers.d.ts.map
@@ -1,4 +1,4 @@
1
- import { Action } from '@ngrx/store';
2
- import { UserState } from '@eui/base';
3
- export declare const coreUserReducers: (state: UserState, action: Action) => UserState;
1
+ import { Action } from '@ngrx/store';
2
+ import { UserState } from '@eui/base';
3
+ export declare const coreUserReducers: (state: UserState, action: Action) => UserState;
4
4
  //# sourceMappingURL=user.reducers.d.ts.map
@@ -1,44 +1,44 @@
1
- import { Action, ActionReducer, Store } from '@ngrx/store';
2
- import { Observable } from 'rxjs';
3
- import { LogService } from '../log/index';
4
- import { CoreState } from '@eui/base';
5
- import * as i0 from "@angular/core";
6
- export declare enum BrowserStorageType {
7
- local = 0,
8
- session = 1
9
- }
10
- export declare class StoreService {
11
- protected store: Store<any>;
12
- protected logService: LogService;
13
- /**
14
- * autoSave handlers to call before saving in local Storage
15
- */
16
- protected _autoSaveHandlers: {
17
- [key: string]: Function;
18
- };
19
- /** storage instance e.g. localStorage, sessionStorage */
20
- private _storage;
21
- constructor(store: Store<any>, logService: LogService);
22
- init(version?: string, storageType?: BrowserStorageType): void;
23
- addAutoSaveHandler(stateSlice: string, handler: Function): void;
24
- handleAutoSave(): void;
25
- /**
26
- * Proxy to NGRX store.dispatch()
27
- * that allows to intercept if the store is present
28
- */
29
- dispatch(action: any): void;
30
- dispatchAction(state: any, actionKey: any, reducer: ActionReducer<any, Action>): void;
31
- /**
32
- * Proxy to NGRX store.select()
33
- * that allows to intercept if the store is present
34
- */
35
- select(key: any): Observable<any>;
36
- /**
37
- * filters and save the state with the Browser storage
38
- * @param state type of CoreState
39
- */
40
- protected saveState(state: CoreState): void;
41
- static ɵfac: i0.ɵɵFactoryDeclaration<StoreService, [{ optional: true; }, { optional: true; }]>;
42
- static ɵprov: i0.ɵɵInjectableDeclaration<StoreService>;
43
- }
1
+ import { Action, ActionReducer, Store } from '@ngrx/store';
2
+ import { Observable } from 'rxjs';
3
+ import { LogService } from '../log/index';
4
+ import { CoreState } from '@eui/base';
5
+ import * as i0 from "@angular/core";
6
+ export declare enum BrowserStorageType {
7
+ local = 0,
8
+ session = 1
9
+ }
10
+ export declare class StoreService {
11
+ protected store: Store<any>;
12
+ protected logService: LogService;
13
+ /**
14
+ * autoSave handlers to call before saving in local Storage
15
+ */
16
+ protected _autoSaveHandlers: {
17
+ [key: string]: Function;
18
+ };
19
+ /** storage instance e.g. localStorage, sessionStorage */
20
+ private _storage;
21
+ constructor(store: Store<any>, logService: LogService);
22
+ init(version?: string, storageType?: BrowserStorageType): void;
23
+ addAutoSaveHandler(stateSlice: string, handler: Function): void;
24
+ handleAutoSave(): void;
25
+ /**
26
+ * Proxy to NGRX store.dispatch()
27
+ * that allows to intercept if the store is present
28
+ */
29
+ dispatch(action: any): void;
30
+ dispatchAction(state: any, actionKey: any, reducer: ActionReducer<any, Action>): void;
31
+ /**
32
+ * Proxy to NGRX store.select()
33
+ * that allows to intercept if the store is present
34
+ */
35
+ select(key: any): Observable<any>;
36
+ /**
37
+ * filters and save the state with the Browser storage
38
+ * @param state type of CoreState
39
+ */
40
+ protected saveState(state: CoreState): void;
41
+ static ɵfac: i0.ɵɵFactoryDeclaration<StoreService, [{ optional: true; }, { optional: true; }]>;
42
+ static ɵprov: i0.ɵɵInjectableDeclaration<StoreService>;
43
+ }
44
44
  //# sourceMappingURL=store.service.d.ts.map
@@ -1,13 +1,13 @@
1
- import { StoreService } from './store.service';
2
- import * as i0 from "@angular/core";
3
- export declare class StoreServiceMock extends StoreService {
4
- constructor();
5
- init(): void;
6
- addAutoSaveHandler(): void;
7
- handleAutoSave(): void;
8
- dispatch(): void;
9
- select(): import("rxjs").Observable<{}>;
10
- static ɵfac: i0.ɵɵFactoryDeclaration<StoreServiceMock, never>;
11
- static ɵprov: i0.ɵɵInjectableDeclaration<StoreServiceMock>;
12
- }
1
+ import { StoreService } from './store.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class StoreServiceMock extends StoreService {
4
+ constructor();
5
+ init(): void;
6
+ addAutoSaveHandler(): void;
7
+ handleAutoSave(): void;
8
+ dispatch(): void;
9
+ select(): import("rxjs").Observable<{}>;
10
+ static ɵfac: i0.ɵɵFactoryDeclaration<StoreServiceMock, never>;
11
+ static ɵprov: i0.ɵɵInjectableDeclaration<StoreServiceMock>;
12
+ }
13
13
  //# sourceMappingURL=store.service.mock.d.ts.map
@@ -1,3 +1,3 @@
1
- export * from './user.service';
2
- export * from './user.service.mock';
1
+ export * from './user.service';
2
+ export * from './user.service.mock';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1,16 +1,16 @@
1
- import { Observable } from 'rxjs';
2
- import { EuiService, EuiServiceStatus, UserState } from '@eui/base';
3
- import { StoreService } from '../store/store.service';
4
- import * as i0 from "@angular/core";
5
- export declare class UserService<T extends UserState = UserState> extends EuiService<T | UserState> {
6
- protected store: StoreService;
7
- constructor(store: StoreService);
8
- init(userState: T): Observable<EuiServiceStatus>;
9
- getState<K = T>(mapFn?: (state: T) => K): Observable<K>;
10
- getState<a extends keyof T>(key?: a): Observable<T[a]>;
11
- updateState<K = T>(userState: T): any;
12
- updateState<a extends keyof T>(slice: T[a], reducer: (state: any, action: T[a]) => any): any;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<UserService<any>, never>;
14
- static ɵprov: i0.ɵɵInjectableDeclaration<UserService<any>>;
15
- }
1
+ import { Observable } from 'rxjs';
2
+ import { EuiService, EuiServiceStatus, UserState } from '@eui/base';
3
+ import { StoreService } from '../store/store.service';
4
+ import * as i0 from "@angular/core";
5
+ export declare class UserService<T extends UserState = UserState> extends EuiService<T | UserState> {
6
+ protected store: StoreService;
7
+ constructor(store: StoreService);
8
+ init(userState: T): Observable<EuiServiceStatus>;
9
+ getState<K = T>(mapFn?: (state: T) => K): Observable<K>;
10
+ getState<a extends keyof T>(key?: a): Observable<T[a]>;
11
+ updateState<K = T>(userState: T): any;
12
+ updateState<a extends keyof T>(slice: T[a], reducer: (state: any, action: T[a]) => any): any;
13
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserService<any>, never>;
14
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserService<any>>;
15
+ }
16
16
  //# sourceMappingURL=user.service.d.ts.map
@@ -1,17 +1,17 @@
1
- import { UserService } from './user.service';
2
- import * as i0 from "@angular/core";
3
- export declare class UserServiceMock extends UserService {
4
- constructor();
5
- loadUserDetails(): import("rxjs").Observable<{
6
- userId: string;
7
- }>;
8
- observePreferencesUpdate(): void;
9
- loadUserPreferences(): import("rxjs").Observable<{}>;
10
- saveUserPreferences(): import("rxjs").Observable<{}>;
11
- mergeUserPreferences(): void;
12
- userPreferences(): import("rxjs").Observable<{}>;
13
- getUserId(): import("rxjs").Observable<string>;
14
- static ɵfac: i0.ɵɵFactoryDeclaration<UserServiceMock, never>;
15
- static ɵprov: i0.ɵɵInjectableDeclaration<UserServiceMock>;
16
- }
1
+ import { UserService } from './user.service';
2
+ import * as i0 from "@angular/core";
3
+ export declare class UserServiceMock extends UserService {
4
+ constructor();
5
+ loadUserDetails(): import("rxjs").Observable<{
6
+ userId: string;
7
+ }>;
8
+ observePreferencesUpdate(): void;
9
+ loadUserPreferences(): import("rxjs").Observable<{}>;
10
+ saveUserPreferences(): import("rxjs").Observable<{}>;
11
+ mergeUserPreferences(): void;
12
+ userPreferences(): import("rxjs").Observable<{}>;
13
+ getUserId(): import("rxjs").Observable<string>;
14
+ static ɵfac: i0.ɵɵFactoryDeclaration<UserServiceMock, never>;
15
+ static ɵprov: i0.ɵɵInjectableDeclaration<UserServiceMock>;
16
+ }
17
17
  //# sourceMappingURL=user.service.mock.d.ts.map