@eui/core 19.3.3-snapshot-1754667754469 → 21.0.0-alpha.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (203) hide show
  1. package/CHANGELOG.md +101 -0
  2. package/docs/changelog.html +120 -0
  3. package/docs/directives/TranslateMockDirective.html +0 -43
  4. package/docs/injectables/ApiQueueService.html +1 -55
  5. package/docs/injectables/EuiAppShellService.html +1 -103
  6. package/docs/injectables/EuiDynamicComponentService.html +0 -67
  7. package/docs/injectables/EuiDynamicMenuService.html +1 -43
  8. package/docs/injectables/EuiPermissionService.html +1 -43
  9. package/docs/injectables/EuiThemeService.html +1 -55
  10. package/docs/injectables/GlobalErrorHandler.html +0 -43
  11. package/docs/injectables/I18nLoader.html +1 -55
  12. package/docs/injectables/I18nService.html +1 -79
  13. package/docs/injectables/LocalForageService.html +1 -43
  14. package/docs/injectables/LocalStorageService.html +0 -54
  15. package/docs/injectables/LocaleService.html +1 -91
  16. package/docs/injectables/LocaleServiceMock.html +1 -31
  17. package/docs/injectables/LogService.html +1 -55
  18. package/docs/injectables/SessionStorageService.html +0 -43
  19. package/docs/injectables/StoreService.html +1 -42
  20. package/docs/injectables/UserService.html +1 -31
  21. package/docs/interceptors/AddLangParamInterceptor.html +0 -43
  22. package/docs/interceptors/HttpErrorHandlerInterceptor.html +0 -67
  23. package/docs/interceptors/UxRequestErrorModelInterceptor.html +0 -43
  24. package/docs/js/menu-wc.js +6 -6
  25. package/docs/js/menu-wc_es5.js +1 -1
  26. package/docs/js/search/search_index.js +2 -2
  27. package/docs/properties.html +1 -1
  28. package/fesm2022/eui-core.mjs +224 -315
  29. package/fesm2022/eui-core.mjs.map +1 -1
  30. package/index.d.ts +2470 -5
  31. package/index.d.ts.map +1 -1
  32. package/package.json +11 -11
  33. package/eui-core.d.ts.map +0 -1
  34. package/lib/eui-core.module.d.ts +0 -21
  35. package/lib/eui-core.module.d.ts.map +0 -1
  36. package/lib/helpers/css-utils.d.ts +0 -35
  37. package/lib/helpers/css-utils.d.ts.map +0 -1
  38. package/lib/helpers/date-helpers.d.ts +0 -3
  39. package/lib/helpers/date-helpers.d.ts.map +0 -1
  40. package/lib/helpers/dom-helpers.d.ts +0 -34
  41. package/lib/helpers/dom-helpers.d.ts.map +0 -1
  42. package/lib/helpers/event-helpers.d.ts +0 -2
  43. package/lib/helpers/event-helpers.d.ts.map +0 -1
  44. package/lib/helpers/form-helpers.d.ts +0 -11
  45. package/lib/helpers/form-helpers.d.ts.map +0 -1
  46. package/lib/helpers/format-helpers.d.ts +0 -13
  47. package/lib/helpers/format-helpers.d.ts.map +0 -1
  48. package/lib/helpers/http-helpers.d.ts +0 -8
  49. package/lib/helpers/http-helpers.d.ts.map +0 -1
  50. package/lib/helpers/index.d.ts +0 -10
  51. package/lib/helpers/index.d.ts.map +0 -1
  52. package/lib/helpers/injector.d.ts +0 -11
  53. package/lib/helpers/injector.d.ts.map +0 -1
  54. package/lib/helpers/utils.d.ts +0 -7
  55. package/lib/helpers/utils.d.ts.map +0 -1
  56. package/lib/interceptors/add-lang-param.interceptor.d.ts +0 -17
  57. package/lib/interceptors/add-lang-param.interceptor.d.ts.map +0 -1
  58. package/lib/interceptors/cache-prevention.interceptor.d.ts +0 -9
  59. package/lib/interceptors/cache-prevention.interceptor.d.ts.map +0 -1
  60. package/lib/interceptors/cors-security.interceptor.d.ts +0 -9
  61. package/lib/interceptors/cors-security.interceptor.d.ts.map +0 -1
  62. package/lib/interceptors/csrf-prevention.interceptor.d.ts +0 -9
  63. package/lib/interceptors/csrf-prevention.interceptor.d.ts.map +0 -1
  64. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts +0 -20
  65. package/lib/interceptors/eu-login-session-timeout-handling.interceptor.d.ts.map +0 -1
  66. package/lib/interceptors/index.d.ts +0 -7
  67. package/lib/interceptors/index.d.ts.map +0 -1
  68. package/lib/interceptors/ux-request-error-model.interceptor.d.ts +0 -14
  69. package/lib/interceptors/ux-request-error-model.interceptor.d.ts.map +0 -1
  70. package/lib/services/app/eui-init-app.d.ts +0 -12
  71. package/lib/services/app/eui-init-app.d.ts.map +0 -1
  72. package/lib/services/app/eui-pre-init-app.d.ts +0 -17
  73. package/lib/services/app/eui-pre-init-app.d.ts.map +0 -1
  74. package/lib/services/app/eui-startup.d.ts +0 -5
  75. package/lib/services/app/eui-startup.d.ts.map +0 -1
  76. package/lib/services/app/factories/log.d.ts +0 -26
  77. package/lib/services/app/factories/log.d.ts.map +0 -1
  78. package/lib/services/app/index.d.ts +0 -3
  79. package/lib/services/app/index.d.ts.map +0 -1
  80. package/lib/services/config/defaults.d.ts +0 -12
  81. package/lib/services/config/defaults.d.ts.map +0 -1
  82. package/lib/services/config/tokens.d.ts +0 -20
  83. package/lib/services/config/tokens.d.ts.map +0 -1
  84. package/lib/services/dynamic-component/dynamic-component.service.d.ts +0 -42
  85. package/lib/services/dynamic-component/dynamic-component.service.d.ts.map +0 -1
  86. package/lib/services/dynamic-menu/dynamic-menu.service.d.ts +0 -15
  87. package/lib/services/dynamic-menu/dynamic-menu.service.d.ts.map +0 -1
  88. package/lib/services/errors/eui.error.d.ts +0 -14
  89. package/lib/services/errors/eui.error.d.ts.map +0 -1
  90. package/lib/services/errors/global-error-handler.d.ts +0 -11
  91. package/lib/services/errors/global-error-handler.d.ts.map +0 -1
  92. package/lib/services/errors/http-error-handler-callback-functions.d.ts +0 -7
  93. package/lib/services/errors/http-error-handler-callback-functions.d.ts.map +0 -1
  94. package/lib/services/errors/http-error-handler.interceptor.d.ts +0 -23
  95. package/lib/services/errors/http-error-handler.interceptor.d.ts.map +0 -1
  96. package/lib/services/errors/index.d.ts +0 -5
  97. package/lib/services/errors/index.d.ts.map +0 -1
  98. package/lib/services/eui-app-shell.service.d.ts +0 -110
  99. package/lib/services/eui-app-shell.service.d.ts.map +0 -1
  100. package/lib/services/eui-theme.service.d.ts +0 -52
  101. package/lib/services/eui-theme.service.d.ts.map +0 -1
  102. package/lib/services/eui-timezone.service.d.ts +0 -270
  103. package/lib/services/eui-timezone.service.d.ts.map +0 -1
  104. package/lib/services/growl/eui-growl.service.d.ts +0 -23
  105. package/lib/services/growl/eui-growl.service.d.ts.map +0 -1
  106. package/lib/services/growl/index.d.ts +0 -2
  107. package/lib/services/growl/index.d.ts.map +0 -1
  108. package/lib/services/i18n/i18n.loader.d.ts +0 -93
  109. package/lib/services/i18n/i18n.loader.d.ts.map +0 -1
  110. package/lib/services/i18n/i18n.resource.d.ts +0 -36
  111. package/lib/services/i18n/i18n.resource.d.ts.map +0 -1
  112. package/lib/services/i18n/i18n.service.d.ts +0 -102
  113. package/lib/services/i18n/i18n.service.d.ts.map +0 -1
  114. package/lib/services/i18n/index.d.ts +0 -4
  115. package/lib/services/i18n/index.d.ts.map +0 -1
  116. package/lib/services/index.d.ts +0 -20
  117. package/lib/services/index.d.ts.map +0 -1
  118. package/lib/services/loader/eui-loader.model.d.ts +0 -97
  119. package/lib/services/loader/eui-loader.model.d.ts.map +0 -1
  120. package/lib/services/loader/eui-loader.service.d.ts +0 -143
  121. package/lib/services/loader/eui-loader.service.d.ts.map +0 -1
  122. package/lib/services/loader/index.d.ts +0 -3
  123. package/lib/services/loader/index.d.ts.map +0 -1
  124. package/lib/services/locale/index.d.ts +0 -3
  125. package/lib/services/locale/index.d.ts.map +0 -1
  126. package/lib/services/locale/locale.service.d.ts +0 -103
  127. package/lib/services/locale/locale.service.d.ts.map +0 -1
  128. package/lib/services/locale/locale.service.mock.d.ts +0 -16
  129. package/lib/services/locale/locale.service.mock.d.ts.map +0 -1
  130. package/lib/services/log/index.d.ts +0 -4
  131. package/lib/services/log/index.d.ts.map +0 -1
  132. package/lib/services/log/log.module.d.ts +0 -16
  133. package/lib/services/log/log.module.d.ts.map +0 -1
  134. package/lib/services/log/log.service.d.ts +0 -28
  135. package/lib/services/log/log.service.d.ts.map +0 -1
  136. package/lib/services/log/log.service.mock.d.ts +0 -5
  137. package/lib/services/log/log.service.mock.d.ts.map +0 -1
  138. package/lib/services/permission/permission.service.d.ts +0 -188
  139. package/lib/services/permission/permission.service.d.ts.map +0 -1
  140. package/lib/services/queue/api-queue.service.d.ts +0 -278
  141. package/lib/services/queue/api-queue.service.d.ts.map +0 -1
  142. package/lib/services/queue/api-queue.service.mock.d.ts +0 -14
  143. package/lib/services/queue/api-queue.service.mock.d.ts.map +0 -1
  144. package/lib/services/queue/index.d.ts +0 -3
  145. package/lib/services/queue/index.d.ts.map +0 -1
  146. package/lib/services/storage/async-storage.service.d.ts +0 -45
  147. package/lib/services/storage/async-storage.service.d.ts.map +0 -1
  148. package/lib/services/storage/async-storage.service.mock.d.ts +0 -12
  149. package/lib/services/storage/async-storage.service.mock.d.ts.map +0 -1
  150. package/lib/services/storage/index.d.ts +0 -8
  151. package/lib/services/storage/index.d.ts.map +0 -1
  152. package/lib/services/storage/local-forage.service.d.ts +0 -49
  153. package/lib/services/storage/local-forage.service.d.ts.map +0 -1
  154. package/lib/services/storage/local-storage.service.d.ts +0 -36
  155. package/lib/services/storage/local-storage.service.d.ts.map +0 -1
  156. package/lib/services/storage/session-storage.service.d.ts +0 -35
  157. package/lib/services/storage/session-storage.service.d.ts.map +0 -1
  158. package/lib/services/storage/storage.service.d.ts +0 -29
  159. package/lib/services/storage/storage.service.d.ts.map +0 -1
  160. package/lib/services/storage/storage.service.mock.d.ts +0 -8
  161. package/lib/services/storage/storage.service.mock.d.ts.map +0 -1
  162. package/lib/services/store/actions/app.actions.d.ts +0 -119
  163. package/lib/services/store/actions/app.actions.d.ts.map +0 -1
  164. package/lib/services/store/actions/i18n.actions.d.ts +0 -21
  165. package/lib/services/store/actions/i18n.actions.d.ts.map +0 -1
  166. package/lib/services/store/actions/index.d.ts +0 -6
  167. package/lib/services/store/actions/index.d.ts.map +0 -1
  168. package/lib/services/store/actions/locale.actions.d.ts +0 -21
  169. package/lib/services/store/actions/locale.actions.d.ts.map +0 -1
  170. package/lib/services/store/actions/notifications.actions.d.ts +0 -20
  171. package/lib/services/store/actions/notifications.actions.d.ts.map +0 -1
  172. package/lib/services/store/actions/user.actions.d.ts +0 -57
  173. package/lib/services/store/actions/user.actions.d.ts.map +0 -1
  174. package/lib/services/store/index.d.ts +0 -5
  175. package/lib/services/store/index.d.ts.map +0 -1
  176. package/lib/services/store/ngrx_kit.d.ts +0 -54
  177. package/lib/services/store/ngrx_kit.d.ts.map +0 -1
  178. package/lib/services/store/reducers/app.reducers.d.ts +0 -7
  179. package/lib/services/store/reducers/app.reducers.d.ts.map +0 -1
  180. package/lib/services/store/reducers/core.reducers.d.ts +0 -7
  181. package/lib/services/store/reducers/core.reducers.d.ts.map +0 -1
  182. package/lib/services/store/reducers/i18n.reducers.d.ts +0 -7
  183. package/lib/services/store/reducers/i18n.reducers.d.ts.map +0 -1
  184. package/lib/services/store/reducers/index.d.ts +0 -8
  185. package/lib/services/store/reducers/index.d.ts.map +0 -1
  186. package/lib/services/store/reducers/locale.reducers.d.ts +0 -7
  187. package/lib/services/store/reducers/locale.reducers.d.ts.map +0 -1
  188. package/lib/services/store/reducers/meta.reducers.d.ts +0 -32
  189. package/lib/services/store/reducers/meta.reducers.d.ts.map +0 -1
  190. package/lib/services/store/reducers/notifications.reducers.d.ts +0 -7
  191. package/lib/services/store/reducers/notifications.reducers.d.ts.map +0 -1
  192. package/lib/services/store/reducers/user.reducers.d.ts +0 -7
  193. package/lib/services/store/reducers/user.reducers.d.ts.map +0 -1
  194. package/lib/services/store/store.service.d.ts +0 -72
  195. package/lib/services/store/store.service.d.ts.map +0 -1
  196. package/lib/services/store/store.service.mock.d.ts +0 -15
  197. package/lib/services/store/store.service.mock.d.ts.map +0 -1
  198. package/lib/services/user/index.d.ts +0 -3
  199. package/lib/services/user/index.d.ts.map +0 -1
  200. package/lib/services/user/user.service.d.ts +0 -46
  201. package/lib/services/user/user.service.d.ts.map +0 -1
  202. package/lib/services/user/user.service.mock.d.ts +0 -15
  203. package/lib/services/user/user.service.mock.d.ts.map +0 -1
@@ -1,32 +0,0 @@
1
- import { ActionReducer, Action } from '../ngrx_kit';
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
- * @deprecated it will be removed in the next major version
7
- */
8
- export declare function localStorageSync<S extends CoreState>(platformId: unknown): ((reducer: ActionReducer<S>) => (state: S, action: Action) => S);
9
- /**
10
- * Utility meta-reducer to load the state from the local storage
11
- * @param reducer the action reducer
12
- */
13
- export declare function localStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
14
- /**
15
- * Utility meta-reducer to load the state from the session storage
16
- * @param platformId the platformId based on PLATFORM_ID token of Angular
17
- * @deprecated it will be removed in the next major version
18
- */
19
- export declare function sessionStorageSync<S extends CoreState>(platformId: unknown): ((reducer: ActionReducer<S>) => (state: S, action: Action) => S);
20
- /**
21
- * Utility meta-reducer to load the state from the session storage
22
- * @param reducer the action reducer
23
- * @deprecated it will be removed in the next major version
24
- */
25
- export declare function sessionStorageSync<S extends CoreState>(reducer: ActionReducer<S>): (state: S, action: Action) => S;
26
- /**
27
- *
28
- * @param storage Type of storage to load the state from
29
- * @deprecated it will be removed in the next major version
30
- */
31
- export declare const loadState: <S extends CoreState>(storage?: Storage | null) => S;
32
- //# sourceMappingURL=meta.reducers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"meta.reducers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/reducers/meta.reducers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAEpD,OAAO,EAAY,SAAS,EAAE,MAAM,WAAW,CAAC;AAKhD;;;;GAIG;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;AAalH;;;;GAIG;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;;;;GAIG;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;AAuCpH;;;;GAIG;AACH,eAAO,MAAM,SAAS,GAAI,CAAC,SAAS,SAAS,YAAW,OAAO,GAAG,IAAI,KAAkB,CAuBvF,CAAC"}
@@ -1,7 +0,0 @@
1
- import { Action } from '../ngrx_kit';
2
- import { NotificationsState } from '@eui/base';
3
- /**
4
- * @deprecated it will be removed in the next major version
5
- */
6
- export declare const coreNotificationsReducers: (state: NotificationsState, action: Action) => NotificationsState;
7
- //# sourceMappingURL=notifications.reducers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"notifications.reducers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/reducers/notifications.reducers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AACrC,OAAO,EAAE,kBAAkB,EAA6B,MAAM,WAAW,CAAC;AAU1E;;GAEG;AACH,eAAO,MAAM,yBAAyB,EAAE,CAAC,KAAK,EAAE,kBAAkB,EAAE,MAAM,EAAE,MAAM,KAAK,kBAQtF,CAAC"}
@@ -1,7 +0,0 @@
1
- import { Action } from '../ngrx_kit';
2
- import { UserState } from '@eui/base';
3
- /**
4
- * @deprecated it will be removed in the next major version
5
- */
6
- export declare const coreUserReducers: (state: UserState, action: Action) => UserState;
7
- //# sourceMappingURL=user.reducers.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.reducers.d.ts","sourceRoot":"","sources":["../../../../../src/lib/services/store/reducers/user.reducers.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,MAAM,aAAa,CAAC;AAUrC,OAAO,EAAE,SAAS,EAAqC,MAAM,WAAW,CAAC;AA2CzE;;GAEG;AACH,eAAO,MAAM,gBAAgB,EAAE,CAAC,KAAK,EAAE,SAAS,EAAE,MAAM,EAAE,MAAM,KAAK,SAKpE,CAAC"}
@@ -1,72 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { LogService } from '../log';
3
- import { CoreState, DeepPartial } from '@eui/base';
4
- import * as i0 from "@angular/core";
5
- export declare enum BrowserStorageType {
6
- local = 0,
7
- session = 1
8
- }
9
- export type Handler<T> = (state: T[keyof T]) => Partial<T[keyof T]>;
10
- export declare class StoreService<T = any> {
11
- protected logService: LogService;
12
- private platformId;
13
- /**
14
- * autoSave handlers to call before saving in local Storage
15
- */
16
- protected _autoSaveHandlers: {
17
- [key: string]: Handler<T>;
18
- };
19
- /** storage instance e.g. localStorage, sessionStorage */
20
- private _storage;
21
- private state;
22
- private isHandlingAutoSave;
23
- constructor(logService: LogService, platformId: unknown);
24
- init(version?: string, storageType?: BrowserStorageType): void;
25
- /**
26
- * Add an autoSave handler for a specific state slice
27
- * @param stateSlice
28
- * @param handler
29
- * @deprecated it will be removed in the next major version
30
- */
31
- addAutoSaveHandler(stateSlice: string, handler: Handler<T>): void;
32
- handleAutoSave(): void;
33
- /**
34
- * Proxy to NGRX store.dispatch()
35
- * that allows to intercept if the store is present
36
- *
37
- * @deprecated it will be removed in the next version support of NGRX will cease
38
- */
39
- dispatch(action: unknown): void;
40
- /**
41
- * This method is used to update the state of the service with a new state.
42
- *
43
- * @param state
44
- */
45
- updateState(state: DeepPartial<T>): void;
46
- /**
47
- * @deprecated it will be removed in next version. Use updateState(partialState: DeepPartial<T>) instead
48
- * @param slice
49
- * @param reducer
50
- */
51
- updateState(slice: DeepPartial<T>, reducer: (state: T, action: DeepPartial<T>) => T): void;
52
- select(key?: any): Observable<T[any]>;
53
- /**
54
- * filters and save the state with the Browser storage
55
- * @param state type of CoreState
56
- */
57
- protected saveState(state: CoreState): void;
58
- /**
59
- * deep merge two objects
60
- * @param target the object that will be merged into
61
- * @param source the object that will be merged from
62
- */
63
- private deepMerge;
64
- /**
65
- * checks if the given item is an object
66
- * @param item the item that will be checked
67
- */
68
- private isObject;
69
- static ɵfac: i0.ɵɵFactoryDeclaration<StoreService<any>, [{ optional: true; }, null]>;
70
- static ɵprov: i0.ɵɵInjectableDeclaration<StoreService<any>>;
71
- }
72
- //# sourceMappingURL=store.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"store.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/store/store.service.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,UAAU,EAAmB,MAAM,MAAM,CAAC;AAGnD,OAAO,EAAE,UAAU,EAAE,MAAM,QAAQ,CAAC;AACpC,OAAO,EAAE,SAAS,EAAE,WAAW,EAAoB,MAAM,WAAW,CAAC;;AAIrE,oBAAY,kBAAkB;IAC1B,KAAK,IAAA;IACL,OAAO,IAAA;CACV;AAED,MAAM,MAAM,OAAO,CAAC,CAAC,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC,MAAM,CAAC,CAAC,KAAK,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,CAAA;AAGnE,qBAKa,YAAY,CAAC,CAAC,GAAG,GAAG;IAWb,SAAS,CAAC,UAAU,EAAE,UAAU;IACvB,OAAO,CAAC,UAAU;IAX3C;;OAEG;IACH,SAAS,CAAC,iBAAiB,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAC,CAAC,CAAC,CAAA;KAAE,CAAM;IAChE,yDAAyD;IACzD,OAAO,CAAC,QAAQ,CAAU;IAC1B,OAAO,CAAC,KAAK,CAAqB;IAClC,OAAO,CAAC,kBAAkB,CAAS;gBAGT,UAAU,EAAE,UAAU,EACf,UAAU,EAAE,OAAO;IAsBpD,IAAI,CAAC,OAAO,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,EAAE,kBAAkB,GAAG,IAAI;IAkB9D;;;;;OAKG;IACH,kBAAkB,CAAC,UAAU,EAAE,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC,CAAC,GAAG,IAAI;IAIjE,cAAc,IAAI,IAAI;IAItB;;;;;OAKG;IACH,QAAQ,CAAC,MAAM,EAAE,OAAO,GAAG,IAAI;IAI/B;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI;IACxC;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAe1F,MAAM,CAAC,GAAG,CAAC,EAAE,GAAG,GAAG,UAAU,CAAC,CAAC,CAAC,GAAG,CAAC,CAAC;IA8BrC;;;OAGG;IACH,SAAS,CAAC,SAAS,CAAC,KAAK,EAAE,SAAS,GAAG,IAAI;IAuB3C;;;;OAIG;IACH,OAAO,CAAC,SAAS;IAkBjB;;;OAGG;IACH,OAAO,CAAC,QAAQ;yCA1LP,YAAY;6CAAZ,YAAY;CA8LxB"}
@@ -1,15 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { StoreService } from './store.service';
3
- import * as i0 from "@angular/core";
4
- export declare const PLATFORM_BROWSER_ID = "browser";
5
- export declare class StoreServiceMock extends StoreService {
6
- constructor();
7
- init(): void;
8
- addAutoSaveHandler(): void;
9
- handleAutoSave(): void;
10
- dispatch(): void;
11
- select(): Observable<object>;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<StoreServiceMock, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<StoreServiceMock>;
14
- }
15
- //# sourceMappingURL=store.service.mock.d.ts.map
@@ -1 +0,0 @@
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"}
@@ -1,3 +0,0 @@
1
- export * from './user.service';
2
- export * from './user.service.mock';
3
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/user/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,cAAc,qBAAqB,CAAC"}
@@ -1,46 +0,0 @@
1
- import { Signal } from '@angular/core';
2
- import { type Observable } from 'rxjs';
3
- import { DeepPartial, EuiService, EuiServiceStatus, UserState } from '@eui/base';
4
- import { StoreService } from '../store';
5
- import * as i0 from "@angular/core";
6
- export declare class UserService<T extends UserState = UserState> extends EuiService<T | UserState> {
7
- protected store: StoreService;
8
- private static readonly DEFAULT_STATE;
9
- /**
10
- * a single signal holding the state - initial state is null
11
- */
12
- private state;
13
- /**
14
- * a BehaviorSubject holding the state - initial state is null
15
- * This is the main source of truth for the state
16
- */
17
- private stateSubject;
18
- constructor(store: StoreService);
19
- init(state: T): Observable<EuiServiceStatus>;
20
- getState(): Observable<T>;
21
- /**
22
- * @deprecated this will be removed in a future version
23
- * @param mapFn
24
- */
25
- getState<K = T>(mapFn?: (state: T) => K): Observable<K>;
26
- getState<a extends keyof DeepPartial<T>>(key?: a): Observable<DeepPartial<a>>;
27
- /**
28
- * This method is used to update the state of the service with a new state.
29
- *
30
- * @param state
31
- */
32
- updateState(state: DeepPartial<T>): void;
33
- /**
34
- * @deprecated it will be removed in next version. Use updateState(partialState: DeepPartial<T>) instead
35
- * @param slice
36
- * @param reducer
37
- */
38
- updateState(slice: DeepPartial<T>, reducer: (state: T, action: DeepPartial<T>) => T): void;
39
- /**
40
- * This method is used to get the signal of the service.
41
- */
42
- getSignal(): Signal<T>;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<UserService<any>, never>;
44
- static ɵprov: i0.ɵɵInjectableDeclaration<UserService<any>>;
45
- }
46
- //# sourceMappingURL=user.service.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.service.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/user/user.service.ts"],"names":[],"mappings":"AAAA,OAAO,EAAc,MAAM,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAmB,KAAK,UAAU,EAAE,MAAM,MAAM,CAAC;AAExD,OAAO,EAAE,WAAW,EAAE,UAAU,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AACjF,OAAO,EAAE,YAAY,EAAE,MAAM,UAAU,CAAC;;AAKxC,qBAGa,WAAW,CAAC,CAAC,SAAS,SAAS,GAAG,SAAS,CAAE,SAAQ,UAAU,CAAC,CAAC,GAAG,SAAS,CAAC;IAa3E,SAAS,CAAC,KAAK,EAAE,YAAY;IAZzC,OAAO,CAAC,MAAM,CAAC,QAAQ,CAAC,aAAa,CAAuC;IAE5E;;OAEG;IACH,OAAO,CAAC,KAAK,CAAY;IACzB;;;OAGG;IACH,OAAO,CAAC,YAAY,CAAqB;gBAEnB,KAAK,EAAE,YAAY;IAezC,IAAI,CAAC,KAAK,EAAE,CAAC,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAU5C,QAAQ,IAAI,UAAU,CAAC,CAAC,CAAC;IACzB;;;OAGG;IACH,QAAQ,CAAC,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IACvD,QAAQ,CAAC,CAAC,SAAS,MAAM,WAAW,CAAC,CAAC,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,WAAW,CAAC,CAAC,CAAC,CAAC;IA4B7E;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,GAAG,IAAI;IACxC;;;;OAIG;IACH,WAAW,CAAC,KAAK,EAAE,WAAW,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,CAAC,EAAE,MAAM,EAAE,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,IAAI;IAW1F;;OAEG;IACH,SAAS,IAAI,MAAM,CAAC,CAAC,CAAC;yCAjGb,WAAW;6CAAX,WAAW;CAoGvB"}
@@ -1,15 +0,0 @@
1
- import { Observable } from 'rxjs';
2
- import { UserService } from './user.service';
3
- import { EuiServiceStatus, UserState } from '@eui/base';
4
- import * as i0 from "@angular/core";
5
- export declare class UserServiceMock<T> extends UserService {
6
- constructor();
7
- init(userState: UserState): Observable<EuiServiceStatus>;
8
- getState<K = T>(mapFn?: (state: T) => K): Observable<K>;
9
- getState<a extends keyof T>(key?: a): Observable<T[a]>;
10
- updateState(userState: UserState): void;
11
- updateState<a extends keyof T>(slice: T[a], reducer: (state: any, action: T[a]) => any): void;
12
- static ɵfac: i0.ɵɵFactoryDeclaration<UserServiceMock<any>, never>;
13
- static ɵprov: i0.ɵɵInjectableDeclaration<UserServiceMock<any>>;
14
- }
15
- //# sourceMappingURL=user.service.mock.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"user.service.mock.d.ts","sourceRoot":"","sources":["../../../../src/lib/services/user/user.service.mock.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAM,MAAM,MAAM,CAAC;AACtC,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAE7C,OAAO,EAAE,gBAAgB,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;;AAExD,qBACa,eAAe,CAAC,CAAC,CAAE,SAAQ,WAAW;;IAKtC,IAAI,CAAC,SAAS,EAAE,SAAS,GAAG,UAAU,CAAC,gBAAgB,CAAC;IAIxD,QAAQ,CAAC,CAAC,GAAG,CAAC,EAAE,KAAK,CAAC,EAAE,CAAC,KAAK,EAAE,CAAC,KAAK,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC;IACvD,QAAQ,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,GAAG,CAAC,EAAE,CAAC,GAAG,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;IAKtD,WAAW,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAGvC,WAAW,CAAC,CAAC,SAAS,MAAM,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,OAAO,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,EAAE,CAAC,CAAC,CAAC,CAAC,KAAK,GAAG,GAAG,IAAI;yCAlB7F,eAAe;6CAAf,eAAe;CAsB3B"}