@eui/core 23.0.0-alpha.2 → 23.0.0-alpha.3
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/CHANGELOG.md +31 -0
- package/docs/architecture.html +223 -0
- package/docs/changelog.html +87 -2
- package/docs/classes/ActivatedRouteAction.html +70 -20
- package/docs/classes/AddApiQueueItemAction.html +70 -20
- package/docs/classes/AddAppLoadedConfigModulesAction.html +70 -20
- package/docs/classes/ApiQueueServiceMock.html +77 -20
- package/docs/classes/AsyncStorageService.html +86 -20
- package/docs/classes/AsyncStorageServiceMock.html +73 -17
- package/docs/classes/CssUtils.html +74 -20
- package/docs/classes/EmptyApiQueueAction.html +67 -17
- package/docs/classes/ErrorSubClass.html +68 -16
- package/docs/classes/EuiAppShellServiceMock.html +58 -20
- package/docs/classes/EuiCoreRootGuardClass.html +39 -8
- package/docs/classes/EuiError.html +69 -17
- package/docs/classes/I18nResourceImpl.html +50 -17
- package/docs/classes/InitStoreAction.html +70 -20
- package/docs/classes/LogServiceMock.html +67 -17
- package/docs/classes/RemoveApiQueueItemAction.html +67 -17
- package/docs/classes/StorageService.html +83 -19
- package/docs/classes/StorageServiceMock.html +70 -17
- package/docs/classes/TranslateServiceMock.html +90 -35
- package/docs/classes/UpdateAppConnectionAction.html +67 -17
- package/docs/classes/UpdateAppStatusAction.html +67 -17
- package/docs/classes/UpdateAppVersionAction.html +67 -17
- package/docs/classes/UpdateCurrentModuleAction.html +67 -17
- package/docs/classes/UpdateI18nStateAction.html +67 -17
- package/docs/classes/UpdateLocaleStateAction.html +67 -17
- package/docs/classes/UpdateNotificationsListAction.html +67 -17
- package/docs/classes/UpdateUserDashboardAction.html +67 -17
- package/docs/classes/UpdateUserDetailsAction.html +67 -17
- package/docs/classes/UpdateUserPreferencesAction.html +67 -17
- package/docs/classes/UpdateUserRightsAction.html +67 -17
- package/docs/classes/UpdateUserStateAction.html +67 -17
- package/docs/dependencies.html +38 -4
- package/docs/directives/TranslateMockDirective.html +72 -19
- package/docs/index.html +26 -2
- package/docs/injectables/ApiQueueService.html +97 -20
- package/docs/injectables/EuiAppShellService.html +147 -68
- package/docs/injectables/EuiDynamicComponentService.html +51 -18
- package/docs/injectables/EuiDynamicMenuService.html +67 -20
- package/docs/injectables/EuiGrowlService.html +85 -21
- package/docs/injectables/EuiLoaderService.html +65 -17
- package/docs/injectables/EuiPermissionService.html +95 -20
- package/docs/injectables/EuiThemeService.html +89 -34
- package/docs/injectables/EuiTimezoneService.html +51 -16
- package/docs/injectables/GlobalErrorHandler.html +79 -17
- package/docs/injectables/I18nLoader.html +53 -17
- package/docs/injectables/I18nService.html +101 -23
- package/docs/injectables/I18nServiceMock.html +96 -34
- package/docs/injectables/LocalForageService.html +81 -21
- package/docs/injectables/LocalStorageService.html +78 -21
- package/docs/injectables/LocaleService.html +124 -41
- package/docs/injectables/LocaleServiceMock.html +72 -18
- package/docs/injectables/LogService.html +68 -17
- package/docs/injectables/SessionStorageService.html +78 -21
- package/docs/injectables/StoreService.html +91 -22
- package/docs/injectables/StoreServiceMock.html +72 -17
- package/docs/injectables/UserService.html +97 -23
- package/docs/injectables/UserServiceMock.html +81 -23
- package/docs/interceptors/AddLangParamInterceptor.html +49 -18
- package/docs/interceptors/CachePreventionInterceptor.html +48 -17
- package/docs/interceptors/CorsSecurityInterceptor.html +48 -17
- package/docs/interceptors/CsrfPreventionInterceptor.html +48 -17
- package/docs/interceptors/EuLoginSessionTimeoutHandlingInterceptor.html +48 -17
- package/docs/interceptors/HttpErrorHandlerInterceptor.html +48 -17
- package/docs/interceptors/UxRequestErrorModelInterceptor.html +48 -17
- package/docs/interfaces/Action.html +158 -60
- package/docs/interfaces/ActionReducer.html +84 -55
- package/docs/interfaces/ComponentInfo.html +151 -123
- package/docs/interfaces/Dependency.html +278 -250
- package/docs/interfaces/Edit-1.html +151 -123
- package/docs/interfaces/Edit-2.html +151 -123
- package/docs/interfaces/Edit.html +151 -123
- package/docs/interfaces/EuiComponentEntry.html +230 -202
- package/docs/interfaces/EuiTimeZone.html +121 -93
- package/docs/interfaces/IEuiTheme.html +181 -153
- package/docs/interfaces/ImportToAdd.html +164 -136
- package/docs/interfaces/ImportsArrayInfo.html +121 -93
- package/docs/interfaces/Library.html +169 -137
- package/docs/interfaces/LoadedResources.html +164 -136
- package/docs/interfaces/LoadedResourcesError.html +121 -93
- package/docs/interfaces/MemoizedSelector.html +187 -138
- package/docs/interfaces/MemoizedSelectorWithProps.html +188 -139
- package/docs/interfaces/MigrateAllSchema.html +228 -200
- package/docs/interfaces/MigrationResult.html +151 -123
- package/docs/interfaces/ModuleLoadEvent.html +164 -136
- package/docs/interfaces/ModuleMapping.html +121 -93
- package/docs/interfaces/NgModuleInfo.html +151 -123
- package/docs/interfaces/Policy.html +164 -136
- package/docs/interfaces/ResourceError.html +170 -142
- package/docs/interfaces/Schema-1.html +140 -112
- package/docs/interfaces/Schema-10.html +140 -112
- package/docs/interfaces/Schema-11.html +140 -112
- package/docs/interfaces/Schema-12.html +140 -112
- package/docs/interfaces/Schema-13.html +140 -112
- package/docs/interfaces/Schema-14.html +140 -112
- package/docs/interfaces/Schema-15.html +140 -112
- package/docs/interfaces/Schema-16.html +140 -112
- package/docs/interfaces/Schema-17.html +140 -112
- package/docs/interfaces/Schema-18.html +140 -112
- package/docs/interfaces/Schema-19.html +140 -112
- package/docs/interfaces/Schema-2.html +141 -113
- package/docs/interfaces/Schema-20.html +140 -112
- package/docs/interfaces/Schema-3.html +180 -152
- package/docs/interfaces/Schema-4.html +140 -112
- package/docs/interfaces/Schema-5.html +140 -112
- package/docs/interfaces/Schema-6.html +140 -112
- package/docs/interfaces/Schema-7.html +140 -112
- package/docs/interfaces/Schema-8.html +140 -112
- package/docs/interfaces/Schema-9.html +140 -112
- package/docs/interfaces/Schema.html +184 -156
- package/docs/interfaces/SelectorEntry.html +230 -202
- package/docs/interfaces/TextChange.html +151 -123
- package/docs/interfaces/ThemeState.html +121 -93
- package/docs/interfaces/TranslationKeys.html +41 -11
- package/docs/interfaces/UIState.html +1669 -1641
- package/docs/interfaces/body.html +181 -153
- package/docs/js/architecture-graph.js +288 -0
- package/docs/js/libs/bootstrap-native.js +4 -2
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +2 -2
- package/docs/js/libs/vis-network.min.js +7 -7
- package/docs/js/menu-wc.js +47 -14
- package/docs/js/routes.js +138 -37
- package/docs/js/search/search.js +62 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/js/tabs.js +98 -15
- package/docs/js/tree.js +44 -7
- package/docs/json/EuiPermissionService.md +1 -0
- package/docs/json/LocaleService.md +1 -0
- package/docs/json/documentation.json +7181 -1557
- package/docs/license.html +26 -2
- package/docs/llms.txt +2282 -0
- package/docs/miscellaneous/enumerations.html +34 -10
- package/docs/miscellaneous/functions.html +550 -394
- package/docs/miscellaneous/typealiases.html +59 -27
- package/docs/miscellaneous/variables.html +196 -175
- package/docs/modules/CoreModule.html +34 -9
- package/docs/modules/I18nModule.html +34 -9
- package/docs/modules/LogModule.html +34 -9
- package/docs/modules/TranslateMockModule.html +60 -13
- package/docs/modules.html +26 -2
- package/docs/overview.html +27 -3
- package/docs/pipes/TranslateMockPipe.html +87 -9
- package/docs/properties.html +27 -3
- package/docs/routes.html +26 -2
- package/docs/styles/compodoc.css +365 -44
- package/docs/styles/dark.css +16 -0
- package/docs/template-playground/hbs-render.service.ts +6 -1
- package/fesm2022/eui-core.mjs +26 -27
- package/fesm2022/eui-core.mjs.map +1 -1
- package/package.json +2 -2
- package/types/eui-core.d.ts +9 -11
- package/types/eui-core.d.ts.map +1 -1
- package/docs/js/menu-wc_es5.js +0 -40
package/docs/llms.txt
ADDED
|
@@ -0,0 +1,2282 @@
|
|
|
1
|
+
# eui documentation
|
|
2
|
+
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-07-09T09:03:32.870Z, llm-md export.
|
|
4
|
+
|
|
5
|
+
## Modules
|
|
6
|
+
|
|
7
|
+
### CoreModule
|
|
8
|
+
|
|
9
|
+
File: `packages/core/src/lib/eui-core.module.ts`
|
|
10
|
+
|
|
11
|
+
Methods:
|
|
12
|
+
- `forChild(moduleName: string): ModuleWithProviders<CoreModule>`
|
|
13
|
+
- `forRoot(): ModuleWithProviders<CoreModule>` — No more providing config from forRoot, you have to use EUI\_CONFIG\_TOKEN to pass config via providers.
|
|
14
|
+
|
|
15
|
+
### I18nModule
|
|
16
|
+
|
|
17
|
+
File: `packages/core/src/lib/services/i18n/i18n.module.ts`
|
|
18
|
+
|
|
19
|
+
Description: I18N Module
|
|
20
|
+
|
|
21
|
+
Methods:
|
|
22
|
+
- `forRoot(): ModuleWithProviders<I18nModule>` — method called in your root module to provide the I18nModule
|
|
23
|
+
|
|
24
|
+
### LogModule
|
|
25
|
+
|
|
26
|
+
File: `packages/core/src/lib/services/log/log.module.ts`
|
|
27
|
+
|
|
28
|
+
Description: Log Module
|
|
29
|
+
|
|
30
|
+
Methods:
|
|
31
|
+
- `forChild(config: LogConfig = DEFAULT_LOG_CONFIG): ModuleWithProviders<LogModule>` — method called in your other (non root, lazy loaded) modules to import a different instance of LogService
|
|
32
|
+
- `forRoot(config: LogConfig = DEFAULT_LOG_CONFIG): ModuleWithProviders<LogModule>` — method called in your root module to provide the LogService
|
|
33
|
+
|
|
34
|
+
### TranslateMockModule
|
|
35
|
+
|
|
36
|
+
File: `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
37
|
+
imports: `TranslateMockDirective`, `TranslateMockPipe`
|
|
38
|
+
exports: `TranslateMockDirective`, `TranslateMockPipe`
|
|
39
|
+
|
|
40
|
+
## Directives
|
|
41
|
+
|
|
42
|
+
### TranslateMockDirective
|
|
43
|
+
|
|
44
|
+
File: `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
45
|
+
Selector: `[translate]`
|
|
46
|
+
|
|
47
|
+
Inputs:
|
|
48
|
+
- `translateParams: any`
|
|
49
|
+
|
|
50
|
+
## Pipes
|
|
51
|
+
|
|
52
|
+
### TranslateMockPipe
|
|
53
|
+
|
|
54
|
+
File: `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
55
|
+
Pipe name: `translate`
|
|
56
|
+
|
|
57
|
+
Methods:
|
|
58
|
+
- `transform(text: string): string`
|
|
59
|
+
|
|
60
|
+
## Services / Injectables
|
|
61
|
+
|
|
62
|
+
### ApiQueueService
|
|
63
|
+
|
|
64
|
+
File: `packages/core/src/lib/services/queue/api-queue.service.ts`
|
|
65
|
+
providedIn: `root`
|
|
66
|
+
|
|
67
|
+
Description: Service class for managing and processing a queue of API requests. This service provides functionality to add, remove, process, and manage HTTP requests stored in a queue. It enables sequential or bulk processing of requests, ensuring controlled execution and handling of API calls. The service methods offer features like processing individual items, processing all items in the queue either sequentially or all at once, and removing items from the queue. Each method is designed to handle specific aspects of queue management and processing, with attention to details like order of execution and error handling. Usage of this service is ideal in scenarios where API requests need to be managed in a queue structure, allowing for controlled execution and monitoring of these requests. Example : // Adding a new item to the queue apiQueueService.addQueueItem({ id: 'item124', method: 'POST', uri: '/api/data', payload: {...} }); // Processing a single item from the queue apiQueueService.processQueueItem('item123').subscribe(result =\> { console.log('Processed item 123 with result:', result); }); // Processing all items in the queue in sequential order apiQueueService.processAllQueueItemsSequential(false).subscribe(results =\> { console.log('Processed all items in descending order of their timestamp:', results); }); // Removing an item from the queue apiQueueService.removeQueueItem('item123'); // Processing all items in the queue and continuing on error apiQueueService.processAllQueueItems(true).subscribe(results =\> { console.log('Processed all items in the queue with continuation on errors:', results); });
|
|
68
|
+
|
|
69
|
+
Methods:
|
|
70
|
+
- `addQueueItem(id: string, item: ApiQueueItem): void` — Adds an item to the queue by dispatching an action to the store. This function is specifically designed to enqueue API call requests represented by ApiQueueItem objects. Each item is identified by a unique id , which is used to manage the queue. Example : If an item with the same ID already exists, the new item will overwrite the existing one. WARNING: Duplicate IDs will lead to overwriting of queue items. The \`method\` property of the item must be one of the allowed methods ('post', 'put', 'get'). If an unsupported method is provided, the function will throw an error. The error message is: \`\[ApiQueue\] method "${item.method}" is not allowed\`. Example : // Example of adding an item to the API queue addQueueItem('12345', { method: 'post', url: '/api/data', payload: {...} });
|
|
71
|
+
- `getQueue(): Observable<ApiQueueItem[]>` — Retrieves the current state of the API queue and converts it into an array of Observables. This method subscribes to the store to access the API queue. It then maps the queue object, which is an associative array, into a linear array of ApiQueueItem instances. If the queue is empty, a warning is logged. This method is useful for tracking the state and contents of the API queue at a given moment. Note: This method takes a snapshot of the queue at the time of subscription. It does not provide a continuous stream of queue updates. To get real-time updates, consider subscribing directly to the store's observable. The array represents all items currently in the queue. If the queue is empty, it emits an empty array. Example : // Example usage this.getQueue().subscribe(queueItems =\> { console.log('Current queue items:', queueItems); });
|
|
72
|
+
- `getQueueItem(id: string): Observable<ApiQueueItem>` — Retrieves a specific item from the API queue by its ID. This method subscribes to the store and selects a single item from the API queue based on the provided ID. It employs a pipeline to fetch the item: the getApiQueueItem selector is used to retrieve the item, and a map operator processes the result. If the item with the specified ID does not exist in the queue, a warning is logged, and null is returned. This method is ideal for accessing a specific queue item when its ID is known, allowing for targeted operations or checks on that particular item. If no item with the given ID exists in the queue, the Observable emits null . Example : // Example usage this.getQueueItem('item123').subscribe(item =\> { if (item) { console.log('Found item:', item); } else { console.log('Item not found in the queue'); } });
|
|
73
|
+
- `processAllQueueItems(continueOnError: unknown = true): Observable<T[]>` — Processes all items in the API queue and collects their responses. Iterates over each item in the queue and processes them using buildHttpRequest . If a request fails, the method can either continue processing the remaining items or stop, based on the continueOnError parameter. It returns an Observable that emits an array containing the responses or errors from all the processed items. The function currently returns Observable\<any\[\]\> indicating an array of any type. Future improvements should aim to specify a more accurate return type or utilize generics for increased type safety. Example : after a request failure. Defaults to \`true\`. queue items. Example : this.processAllQueueItems().subscribe(results =\> { // Handle the array of responses or errors });
|
|
74
|
+
- `processAllQueueItemsSequential(ascending: unknown = true): Observable<T>` — Processes all items in the queue sequentially, based on their timestamp ordering. This method first orders the items in the API queue by their timestamp, either in ascending or descending order as specified by the ascending parameter. It then processes each item using buildHttpRequest , ensuring that each request is completed before the next begins. This sequential processing is crucial when the order of execution matters for HTTP requests in the queue. The method returns an Observable that emits the responses following the same order as the queue items were processed. The function currently returns Observable\<any\> , indicating a broad type. Future improvements should focus on specifying a more accurate return type or utilizing generics for increased type safety. Example : timestamp. Defaults to \`true\`. Example : this.processAllQueueItemsSequential().subscribe(response =\> { // Handle each response in the order of queue processing });
|
|
75
|
+
- `processQueueItem(id: string): Observable<T>` — Processes an item from the API queue identified by its ID. Retrieves the specified item from the queue and applies processing logic as defined in buildHttpRequest . If the item is not found, logs a warning and returns an Observable emitting null . If the item does not exist, the Observable emits null . Example : // Example usage this.processQueueItem('item123').subscribe(result =\> { if (result) { console.log('Processing result:', result); } else { console.log('Item not found in the queue'); } });
|
|
76
|
+
- `removeAllQueueItem(): void` — Clears all items from the API queue. This method dispatches an action to empty the entire API queue, effectively removing all items that are currently queued. It is useful for scenarios where a complete reset of the queue is required, such as during initialization or after processing a batch of items. The function does not return any value, as its primary purpose is to trigger a state change in the store. Note: Use this method with caution as it will irreversibly clear all items in the queue. Ensure that this action does not disrupt any ongoing processes that rely on the queue's contents. Example : // Example usage this.removeAllQueueItem(); // This will dispatch an action to empty the entire API queue.
|
|
77
|
+
- `removeQueueItem(id: string): void` — Removes a specific item from the API queue using its ID. This method dispatches an action to remove an item from the queue, identified by the provided ID. It is essential for managing the queue by eliminating items that are no longer needed or have been processed. The function does not return any value, as it primarily triggers an action within the store. Note: This method assumes the existence of the item in the queue. It does not perform a check to confirm the presence of the item before attempting to remove it. Therefore, it's recommended to verify the item's existence in the queue if uncertainty exists. Example : // Example usage this.removeQueueItem('item123'); // The item with ID 'item123' will be dispatched for removal from the queue.
|
|
78
|
+
|
|
79
|
+
### EuiAppShellService
|
|
80
|
+
|
|
81
|
+
File: `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
82
|
+
providedIn: `root`
|
|
83
|
+
|
|
84
|
+
Properties:
|
|
85
|
+
- `navigationEndCustomHandler: function`
|
|
86
|
+
- `navigationStartCustomHandler: function`
|
|
87
|
+
|
|
88
|
+
Methods:
|
|
89
|
+
- `activateBreadcrumb(): void`
|
|
90
|
+
- `activateHeader(): void`
|
|
91
|
+
- `activateSidebar(): void`
|
|
92
|
+
- `activateSidebarFooter(): void`
|
|
93
|
+
- `activateSidebarHeader(): void`
|
|
94
|
+
- `activateSideContainer(): void`
|
|
95
|
+
- `activateToolbar(): void`
|
|
96
|
+
- `activateToolbarMegaMenu(): void`
|
|
97
|
+
- `activateToolbarMenu(): void`
|
|
98
|
+
- `activateTopMessage(height: number): void`
|
|
99
|
+
- `deactivateSideContainer(): void`
|
|
100
|
+
- `dimmerActiveToggle(): void`
|
|
101
|
+
- `fetchAppMetadata(metadataFilePath: string = 'assets/app-metadata.json'): void`
|
|
102
|
+
- `getBaseFontSize(): string` — Returns the current value of --eui-f-size-base CSS variable
|
|
103
|
+
- `getState(key?: string): Observable<T>` — Emits a slice from the state whether that changes
|
|
104
|
+
- `setBaseFontSize(newsize: string): void` — Updates the current value of --eui-f-size-base CSS variable and the UIState appBaseFontSize
|
|
105
|
+
- `setDimmerActiveState(activeState: boolean): void`
|
|
106
|
+
- `setState(nextState: UIState, updateI18: unknown = true): void`
|
|
107
|
+
- `sidebarToggle(): void`
|
|
108
|
+
|
|
109
|
+
### EuiDynamicComponentService
|
|
110
|
+
|
|
111
|
+
File: `packages/core/src/lib/services/dynamic-component/dynamic-component.service.ts`
|
|
112
|
+
|
|
113
|
+
Methods:
|
|
114
|
+
- `add(component: ComponentType<T>, el?: ElementRef, config?: any): any` — Adds a component to portal host dynamically
|
|
115
|
+
- `remove(portalHostRef: DomPortalOutlet): void` — detaches a portalHost
|
|
116
|
+
|
|
117
|
+
### EuiDynamicMenuService
|
|
118
|
+
|
|
119
|
+
File: `packages/core/src/lib/services/dynamic-menu/dynamic-menu.service.ts`
|
|
120
|
+
providedIn: `root`
|
|
121
|
+
|
|
122
|
+
Properties:
|
|
123
|
+
- `menuLinks: Array<EuiMenuItem> = []`
|
|
124
|
+
|
|
125
|
+
Methods:
|
|
126
|
+
- `filterEuiMenuItemsWithRights(links: Array<EuiMenuItem>): Array<EuiMenuItem>`
|
|
127
|
+
- `getMenuLinks(): EuiMenuItem[]`
|
|
128
|
+
|
|
129
|
+
### EuiGrowlService
|
|
130
|
+
|
|
131
|
+
File: `packages/core/src/lib/services/growl/eui-growl.service.ts`
|
|
132
|
+
providedIn: `root`
|
|
133
|
+
|
|
134
|
+
Description: Centralized service for managing application-wide eui-growl notifications. Provides methods to display success, error, warning, and info messages with configurable behavior. Manages message lifecycle, positioning, and accessibility settings through reactive BehaviorSubjects. Supports both temporary auto-dismissing messages and persistent sticky notifications. Injected at root level, ensuring a single instance across the entire application.
|
|
135
|
+
|
|
136
|
+
Properties:
|
|
137
|
+
- `ariaGrowlLive: unknown = new BehaviorSubject<'off' | 'polite' | 'assertive'>('polite')`
|
|
138
|
+
- `growlCallback: unknown = new BehaviorSubject<(() => void) | null>(null)`
|
|
139
|
+
- `growlLife: unknown = new BehaviorSubject(3000)`
|
|
140
|
+
- `growlMessages: unknown = new BehaviorSubject<EuiGrowlMessage[]>([])`
|
|
141
|
+
- `growlPosition: unknown = new BehaviorSubject('bottom-right')`
|
|
142
|
+
- `isCloseAllSticky: unknown = new BehaviorSubject(false)`
|
|
143
|
+
- `isGrowlSticky: unknown = new BehaviorSubject(false)`
|
|
144
|
+
|
|
145
|
+
Methods:
|
|
146
|
+
- `clearGrowl(): void` — Removes all currently displayed growl messages from the notification queue. Clears both sticky and temporary messages immediately.
|
|
147
|
+
- `growl(msg: EuiGrowlMessage, isSticky?: boolean, isMultiple?: boolean, life?: number, position?: string, callback?: function, ariaLive?: "off" | "polite" | "assertive"): void` — Displays a growl notification message with customizable behavior and appearance. Validates message severity and manages message lifecycle through reactive streams. Danger severity messages default to sticky behavior unless explicitly configured.
|
|
148
|
+
- `growlError(msg: string, position?: string): void` — Displays an error growl notification with predefined styling and behavior. Message is non-sticky but can be configured to persist based on severity handling.
|
|
149
|
+
- `growlInfo(msg: string, position?: string): void` — Displays an informational growl notification with predefined styling and behavior. Message is non-sticky and auto-dismisses after the default duration.
|
|
150
|
+
- `growlSuccess(msg: string, position?: string): void` — Displays a success growl notification with predefined styling and behavior. Message is non-sticky and auto-dismisses after the default duration.
|
|
151
|
+
- `growlWarning(msg: string, position?: string): void` — Displays a warning growl notification with predefined styling and behavior. Message is non-sticky and auto-dismisses after the default duration.
|
|
152
|
+
|
|
153
|
+
### EuiLoaderService
|
|
154
|
+
|
|
155
|
+
File: `packages/core/src/lib/services/loader/eui-loader.service.ts`
|
|
156
|
+
providedIn: `root`
|
|
157
|
+
|
|
158
|
+
Description: A service for loading external dependencies dynamically to the DOM and keeping track of their status. Dependencies can be loaded in any order and can have prerequisites. The service will load the prerequisites first and then load the dependency. If a dependency fails to load, the service will retry loading it according to the retry policy. The service will emit the status of the dependency when it changes. This is useful for showing a loading indicator while the dependency is loading. In scenarios where the dependency is not required for the application to function, the service will not block the application from loading if the dependency fails to load. The service will also remove the dependency from the DOM if it is removed from the list. This is useful for scenarios where the dependency is only required for a specific component, might be removed from the list when the component is destroyed, and it will not affect the bundle size. Example : // Add a dependency loader.addDependency('Quill', 'https://cdn.quilljs.com/1.3.6/quill.js', 'js'); // Get the status of a dependency loader.getDependencyStatus('Quill'); // Listen for status changes loader.statusChanges('Quill').subscribe((status: Status) =\> { console.log(status); }); // Remove a dependency loader.removeDependency('Quill'); // Set the retry policy loader.setRetryPolicy(3, 1000); // Set the timeout policy loader.setTimeoutPolicy(5000); // Load a dependency with prerequisites loader.addDependency('Quill', 'https://cdn.quilljs.com/1.3.6/quill.js', 'js', \['QuillStyle'\]); loader.addDependency('QuillStyle', 'https://cdn.quilljs.com/1.3.6/quill.snow.css', 'css'); // Load a dependency with prerequisites and retry logic loader.setRetryPolicy(3, 1000); loader.setTimeoutPolicy(5000); loader.addDependency('Quill', 'https://cdn.quilljs.com/1.3.6/quill.js', 'js', \['QuillStyle'\]); loader.addDependency('QuillStyle', 'https://cdn.quilljs.com/1.3.6/quill.snow.css', 'css');
|
|
159
|
+
|
|
160
|
+
Methods:
|
|
161
|
+
- `addDependency(name: string, url: string, type: "js" | "css", requires: string[] = []): void` — Add a dependency with its type (JS or CSS) and dependencies
|
|
162
|
+
- `getDependencyStatus(name: string): Status | null` (deprecated: Prefer using statusChanges instead) — Get the status of a dependency See statusChanges
|
|
163
|
+
- `removeDependency(name: string): void` — Remove a dependency from the DOM
|
|
164
|
+
- `setRetryPolicy(maxAttempts: number, retryInterval: number): void` — Allow users to configure the retry policy
|
|
165
|
+
- `setTimeoutPolicy(time: number): void` — Allow users to configure the timeout policy See setRetryPolicy See statusChanges
|
|
166
|
+
- `statusChanges(name: string): Observable<Status>` — Get the status of a dependency as an observable
|
|
167
|
+
|
|
168
|
+
### EuiPermissionService
|
|
169
|
+
|
|
170
|
+
File: `packages/core/src/lib/services/permission/permission.service.ts`
|
|
171
|
+
providedIn: `root`
|
|
172
|
+
|
|
173
|
+
Description: Service for managing user permissions within the application. This class extends EuiService and is responsible for handling user rights and permissions. It provides methods to initialize the service with user rights, check specific rights and permissions, and subscribe to changes in the user rights state. {EuiService\<EuiUserRight\[\]\>} See EuiService Example : // Example of using the EuiPermissionService in an application const permissionService = new EuiPermissionService(); permissionService.init(\[{ id: 'ADMIN', permissions: \['CREATE', 'READ', 'UPDATE', 'DELETE'\] }\]); if (permissionService.checkRight('ADMIN')) { console.log('User has ADMIN rights'); }
|
|
174
|
+
|
|
175
|
+
Methods:
|
|
176
|
+
- `checkAttributePermission(rightsAndPermission: string): boolean` — Checks if the user has the specified attribute permission. This method interprets a string that represents a combination of rights and/or permissions and determines whether the user has the specified permissions. The string format can be 'RIGHT.PERMISSION' or just 'RIGHT'. For multiple rights, it can be 'RIGHT1.RIGHT2.PERMISSION'. Example : Format can be 'RIGHT', 'RIGHT.PERMISSION', or 'RIGHT1.RIGHT2.PERMISSION'. Example : // Check a single right const hasRight = permissionService.checkAttributePermission('VIEW'); // Check a right with a specific permission const hasRightWithPermission = permissionService.checkAttributePermission('EDIT.APPROVE'); // Check multiple rights with a specific permission const hasMultipleRights = permissionService.checkAttributePermission('ADMIN.VIEW.APPROVE');
|
|
177
|
+
- `checkPermission(rightId: string, permission: string): boolean` — Checks if the user has a specific permission within a right. This method determines whether the user has a specific permission associated with a given right. Example : // Check if the user has 'APPROVE' permission in the 'EDIT' right const canApproveEdit = permissionService.checkPermission('EDIT', 'APPROVE');
|
|
178
|
+
- `checkRight(rightId: string): boolean` — Checks if the user has a specific right. This method determines whether the user possesses a particular right identified by its ID. Example : // Check if the user has the 'ADMIN' right const isAdmin = permissionService.checkRight('ADMIN');
|
|
179
|
+
- `getState(): Observable<K>` — Retrieves the current state of user rights by subscribing to changes. This method is used to access the current state of user rights in the service. It returns an Observable that emits the current user rights. The method is generic and can be parameterized to return a specific type that extends from EuiUserRight\[\] . Example : The type of the emitted value is \`K\`, which is \`EuiUserRight\[\]\` by default. Example : // Example of subscribing to the user rights state permissionService.getState().subscribe(currentRights =\> { console.log('Current User Rights:', currentRights); }); // Example with a specific type permissionService.getState\<CustomUserRightType\[\]\>().subscribe(customRights =\> { console.log('Custom User Rights:', customRights); });
|
|
180
|
+
- `init(rights: EuiUserRight[]): Observable<EuiServiceStatus>` — Initializes the permission service with a set of user rights. This method sets up the initial state of the service based on the provided user rights. It should be called before using other methods of the service to ensure it is properly configured. Example : Each \`EuiUserRight\` object should contain at least an \`id\` property, and optionally a \`permissions\` property which is an array of strings. The status object includes a \`success\` boolean indicating whether the initialization was successful, and an \`error\` property with a message in case of failure. Example : // Example of initializing the service with two user rights const userRights = \[ { id: 'ADMIN', permissions: \['CREATE', 'READ', 'UPDATE', 'DELETE'\] }, { id: 'USER', permissions: \['READ'\] } \]; permissionService.init(userRights).subscribe(status =\> { if (status.success) { console.log('Initialization successful'); } else { console.error('Initialization failed:', status.error); } });
|
|
181
|
+
- `updateState(rights: EuiUserRight[]): void` — Updates the state of the service with a new set of user rights. This method is used to modify the current user rights in the service. It takes an array of EuiUserRight objects and updates the service's state. This change is then propagated to all subscribers of the state. Example : Each \`EuiUserRight\` object should contain an \`id\` property, and optionally a \`permissions\` property which is an array of strings. Example : // Example of updating the service's state with new user rights const newUserRights = \[ { id: 'USER', permissions: \['READ', 'COMMENT'\] }, { id: 'MODERATOR', permissions: \['READ', 'WRITE', 'DELETE'\] } \]; permissionService.updateState(newUserRights);
|
|
182
|
+
|
|
183
|
+
### EuiThemeService
|
|
184
|
+
|
|
185
|
+
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
186
|
+
providedIn: `root`
|
|
187
|
+
|
|
188
|
+
Methods:
|
|
189
|
+
- `isCompact(): boolean`
|
|
190
|
+
- `isDark(): boolean`
|
|
191
|
+
- `isDefault(): boolean`
|
|
192
|
+
- `isEclEc(): boolean`
|
|
193
|
+
- `isEclEcRtl(): boolean`
|
|
194
|
+
- `isEclEu(): boolean`
|
|
195
|
+
- `isEclEuRtl(): boolean`
|
|
196
|
+
- `isHighContrast(): boolean`
|
|
197
|
+
- `setActiveTheme(theme: EuiTheme, isActive: boolean): void`
|
|
198
|
+
|
|
199
|
+
### EuiTimezoneService
|
|
200
|
+
|
|
201
|
+
File: `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
202
|
+
|
|
203
|
+
Methods:
|
|
204
|
+
- `getCountries(): string[]` — Gets the list of ISO-codes for all countries
|
|
205
|
+
- `getTimezone(tz: string): EuiTimeZone`
|
|
206
|
+
- `getTimezones(): EuiTimeZone[]`
|
|
207
|
+
- `iso2country(iso: string): string` — Convert country ISO code to country name (in english)
|
|
208
|
+
|
|
209
|
+
### GlobalErrorHandler
|
|
210
|
+
|
|
211
|
+
File: `packages/core/src/lib/services/errors/global-error-handler.ts`
|
|
212
|
+
providedIn: `root`
|
|
213
|
+
|
|
214
|
+
Methods:
|
|
215
|
+
- `handleError(error: any): void`
|
|
216
|
+
|
|
217
|
+
### I18nLoader
|
|
218
|
+
|
|
219
|
+
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
220
|
+
|
|
221
|
+
Methods:
|
|
222
|
+
- `addResources(config: I18nLoaderConfig): I18nResourceImpl[]` — Adds resources
|
|
223
|
+
- `getFailedResources(): Array<LoadedResourcesError>` — Returns resources that failed
|
|
224
|
+
- `getTranslation(lang: string): Observable<TranslationObject>` — Gets the translations from the server
|
|
225
|
+
- `loadResources(resources: I18nResourceImpl[], lang: string): Observable<{ hasError: boolean; translations: TranslationObject; errors?: LoadedResourcesError[] }>` — Loads an array of resources, by language
|
|
226
|
+
- `removeResources(removedResources: I18nResourceImpl[]): void` — Removes resources from the loader instance
|
|
227
|
+
|
|
228
|
+
### I18nService
|
|
229
|
+
|
|
230
|
+
File: `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
231
|
+
providedIn: `root`
|
|
232
|
+
|
|
233
|
+
Methods:
|
|
234
|
+
- `addResources(config: I18nLoaderConfig, moduleName?: string): Observable<EuiServiceStatus>` — Add resources based of a config loader
|
|
235
|
+
- `getSignal(): Signal<T>` — This method is used to get the state as readonly signal.
|
|
236
|
+
- `getState(): Observable<T>`
|
|
237
|
+
- `getState(mapFn?: function): Observable<K>` (deprecated: this will be removed in a future version)
|
|
238
|
+
- `getState(key?: a): Observable<DeepPartial<a>>`
|
|
239
|
+
- `getState(keyOrMapFn?: unknown | string): Observable<DeepPartial<K>>`
|
|
240
|
+
- `init(langState?: T): Observable<EuiServiceStatus>`
|
|
241
|
+
- `lazyLoad(config: I18nLoaderConfig): Observable<EuiServiceStatus>`
|
|
242
|
+
- `lazyLoadInit(moduleConfig: ModuleConfig, moduleName?: string): Observable<EuiServiceStatus>`
|
|
243
|
+
- `onReady(moduleName?: string): Observable<ModuleLoadEvent>` — A pipe function that could serve as a wrapper of another observable e.g. ngx-translate i18n.onReady('my\_module').pipe(switchMap(()=\>translate.get('eui.KEY'))); WARNING: onReady will emit only once for a loaded Module, going to another and then going back will not result into another emission. fetch module name from the state.
|
|
244
|
+
- `updateState(state: DeepPartial<T>): void`
|
|
245
|
+
- `updateState(slice: DeepPartial<T>, reducer: function): void` (deprecated: it will be removed in next version. Use updateState(partialState: DeepPartial ) instead)
|
|
246
|
+
- `updateState(state: DeepPartial<K>, reducer?: function): void`
|
|
247
|
+
|
|
248
|
+
### I18nServiceMock
|
|
249
|
+
|
|
250
|
+
File: `packages/core/src/lib/services/i18n/i18n.service.mock.ts`
|
|
251
|
+
|
|
252
|
+
Methods:
|
|
253
|
+
- `addResources(): Observable<EuiServiceStatus>`
|
|
254
|
+
- `getState(): Observable<I18nState>`
|
|
255
|
+
- `init(i18nState?: I18nState): Observable<EuiServiceStatus>`
|
|
256
|
+
- `lazyLoadInit(): Observable<EuiServiceStatus>`
|
|
257
|
+
- `updateState(i18nState: I18nState): void`
|
|
258
|
+
- `getSignal(): Signal<T>` — This method is used to get the state as readonly signal.
|
|
259
|
+
- `lazyLoad(config: I18nLoaderConfig): Observable<EuiServiceStatus>`
|
|
260
|
+
- `onReady(moduleName?: string): Observable<ModuleLoadEvent>` — A pipe function that could serve as a wrapper of another observable e.g. ngx-translate i18n.onReady('my\_module').pipe(switchMap(()=\>translate.get('eui.KEY'))); WARNING: onReady will emit only once for a loaded Module, going to another and then going back will not result into another emission. fetch module name from the state.
|
|
261
|
+
|
|
262
|
+
### LocaleService
|
|
263
|
+
|
|
264
|
+
File: `packages/core/src/lib/services/locale/locale.service.ts`
|
|
265
|
+
providedIn: `root`
|
|
266
|
+
|
|
267
|
+
Description: LocaleService is responsible for managing locale states and configurations in an Angular application. It utilizes the CLDR library to load and construct the locale for each region. This service allows for dynamic loading of locales upon request and updates the state of the EUI app accordingly. Key functionalities include: Binding to a translation service for locale changes. Updating the Angular LOCALE\_ID token. EuiService\<T \| LocaleState\>
|
|
268
|
+
|
|
269
|
+
Methods:
|
|
270
|
+
- `getSignal(): Signal<T>` — This method is used to get the state as readonly signal.
|
|
271
|
+
- `getState(): Observable<T>`
|
|
272
|
+
- `getState(mapFn?: function): Observable<K>` — Retrieves the state of the locale service. This method is overloaded to allow different ways of accessing the state. Example : Takes the current state as an argument and returns the transformed state.
|
|
273
|
+
- `getState(key?: a): Observable<DeepPartial<a>>` — Example : The key should be a property name of the state object.
|
|
274
|
+
- `getState(keyOrMapFn?: unknown | string): Observable<DeepPartial<K>>` — Example : If a string is provided, it uses dot notation to access nested properties. If no parameter is provided, the method returns the entire state.
|
|
275
|
+
- `init(state?: LocaleState): Observable<EuiServiceStatus>` — Initializes the LocaleService with necessary configurations and state. Binds language changes to the state and dynamically loads the appropriate locales.
|
|
276
|
+
- `updateState(state: DeepPartial<T>): void` — This method is used to update the state of the service with a new state.
|
|
277
|
+
- `updateState(state: DeepPartial<K>): void` — Updates the locale state within the application. If the new state is not available, it throws an error. Also updates the global LOCALE\_ID token if configured to do so.
|
|
278
|
+
|
|
279
|
+
### LocaleServiceMock
|
|
280
|
+
|
|
281
|
+
File: `packages/core/src/lib/services/locale/locale.service.mock.ts`
|
|
282
|
+
|
|
283
|
+
Methods:
|
|
284
|
+
- `getState(): Observable<T>`
|
|
285
|
+
- `init(state?: T): Observable<EuiServiceStatus>`
|
|
286
|
+
- `updateState(state: T): void`
|
|
287
|
+
- `getSignal(): Signal<T>` — This method is used to get the state as readonly signal.
|
|
288
|
+
|
|
289
|
+
### LocalForageService
|
|
290
|
+
|
|
291
|
+
File: `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
292
|
+
|
|
293
|
+
Description: localforage service, using the localForage javascript library https://localforage.github.io/localForage
|
|
294
|
+
|
|
295
|
+
Properties:
|
|
296
|
+
- `NAME: string = 'LocalForageService'`
|
|
297
|
+
|
|
298
|
+
Methods:
|
|
299
|
+
- `get(key: string): Observable<any>` — retrieve an object from localforage
|
|
300
|
+
- `name(): string` — the name of the storage service
|
|
301
|
+
- `ready(): Observable<any>` — reflects the readiness of the storage
|
|
302
|
+
- `remove(key: string): Observable<any>` — removes an object from localforage
|
|
303
|
+
- `set(key: string, value: any): Observable<any>` — sets an object in localforage
|
|
304
|
+
- `removeAsync(key: string): void` — asynchronous helper for remove function
|
|
305
|
+
- `setAsync(key: string, value: any): void` — asynchronous helper for set function
|
|
306
|
+
|
|
307
|
+
### LocalStorageService
|
|
308
|
+
|
|
309
|
+
File: `packages/core/src/lib/services/storage/local-storage.service.ts`
|
|
310
|
+
|
|
311
|
+
Description: localStorage service
|
|
312
|
+
|
|
313
|
+
Properties:
|
|
314
|
+
- `NAME: string = 'LocalStorageService'`
|
|
315
|
+
|
|
316
|
+
Methods:
|
|
317
|
+
- `get(key: string): any` — retrieve an object from local storage
|
|
318
|
+
- `name(): string` — the name of the storage service
|
|
319
|
+
- `remove(key: string): void` — removes an object from local storage
|
|
320
|
+
- `set(key: string, value: any): void` — sets an object in local storage
|
|
321
|
+
|
|
322
|
+
### LogService
|
|
323
|
+
|
|
324
|
+
File: `packages/core/src/lib/services/log/log.service.ts`
|
|
325
|
+
|
|
326
|
+
Description: Log service, responsible for getting or creating loggers. It itself acts as a base logger
|
|
327
|
+
|
|
328
|
+
Methods:
|
|
329
|
+
- `getLogger(loggerName: string, persist: unknown = false): Logger` — Gets a logger by name. If the logger does not exist, it is created
|
|
330
|
+
|
|
331
|
+
### SessionStorageService
|
|
332
|
+
|
|
333
|
+
File: `packages/core/src/lib/services/storage/session-storage.service.ts`
|
|
334
|
+
|
|
335
|
+
Description: sessionStorage service
|
|
336
|
+
|
|
337
|
+
Properties:
|
|
338
|
+
- `NAME: string = 'SessionStorageService'`
|
|
339
|
+
|
|
340
|
+
Methods:
|
|
341
|
+
- `get(key: string): any` — retrieve an object from session storage
|
|
342
|
+
- `name(): string` — the name of the storage service
|
|
343
|
+
- `remove(key: string): void` — removes an object from session storage
|
|
344
|
+
- `set(key: string, value: any): void` — sets an object in session storage
|
|
345
|
+
|
|
346
|
+
### StoreService
|
|
347
|
+
|
|
348
|
+
File: `packages/core/src/lib/services/store/store.service.ts`
|
|
349
|
+
providedIn: `root`
|
|
350
|
+
|
|
351
|
+
Methods:
|
|
352
|
+
- `addAutoSaveHandler(stateSlice: string, handler: Handler<T>): void` (deprecated: it will be removed in the next major version) — Add an autoSave handler for a specific state slice
|
|
353
|
+
- `handleAutoSave(): void`
|
|
354
|
+
- `init(version?: string, storageType?: BrowserStorageType): void`
|
|
355
|
+
- `select(key?: any): Observable<T['any']>`
|
|
356
|
+
- `select(keyOrMapFn?: unknown | string): Observable<Partial | K>`
|
|
357
|
+
- `updateState(state: DeepPartial<T>): void` — This method is used to update the state of the service with a new state.
|
|
358
|
+
- `updateState(slice: DeepPartial<T>, reducer: function): void` (deprecated: it will be removed in next version. Use updateState(partialState: DeepPartial ) instead)
|
|
359
|
+
- `updateState(state: DeepPartial<K>, reducer?: function): void`
|
|
360
|
+
|
|
361
|
+
### StoreServiceMock
|
|
362
|
+
|
|
363
|
+
File: `packages/core/src/lib/services/store/store.service.mock.ts`
|
|
364
|
+
|
|
365
|
+
Methods:
|
|
366
|
+
- `addAutoSaveHandler(): void`
|
|
367
|
+
- `handleAutoSave(): void`
|
|
368
|
+
- `init(): void`
|
|
369
|
+
- `select(): Observable<object>`
|
|
370
|
+
- `updateState(state: DeepPartial<T>): void` — This method is used to update the state of the service with a new state.
|
|
371
|
+
|
|
372
|
+
### UserService
|
|
373
|
+
|
|
374
|
+
File: `packages/core/src/lib/services/user/user.service.ts`
|
|
375
|
+
providedIn: `root`
|
|
376
|
+
|
|
377
|
+
Methods:
|
|
378
|
+
- `getSignal(): Signal<T>` — This method is used to get the signal of the service.
|
|
379
|
+
- `getState(): Observable<T>`
|
|
380
|
+
- `getState(mapFn?: function): Observable<K>` (deprecated: this will be removed in a future version)
|
|
381
|
+
- `getState(key?: a): Observable<DeepPartial<a>>`
|
|
382
|
+
- `getState(keyOrMapFn?: unknown | string): Observable<DeepPartial<K>>`
|
|
383
|
+
- `init(state: T): Observable<EuiServiceStatus>`
|
|
384
|
+
- `updateState(state: DeepPartial<T>): void` — This method is used to update the state of the service with a new state.
|
|
385
|
+
- `updateState(slice: DeepPartial<T>, reducer: function): void` (deprecated: it will be removed in next version. Use updateState(partialState: DeepPartial ) instead)
|
|
386
|
+
- `updateState(state: DeepPartial<K>, reducer?: function): void`
|
|
387
|
+
|
|
388
|
+
### UserServiceMock
|
|
389
|
+
|
|
390
|
+
File: `packages/core/src/lib/services/user/user.service.mock.ts`
|
|
391
|
+
|
|
392
|
+
Methods:
|
|
393
|
+
- `getState(mapFn?: function): Observable<K>`
|
|
394
|
+
- `getState(key?: a): Observable<T['a']>`
|
|
395
|
+
- `getState(keyOrMapFn?: unknown | string): Observable<K>`
|
|
396
|
+
- `init(userState: UserState): Observable<EuiServiceStatus>`
|
|
397
|
+
- `updateState(userState: UserState): void`
|
|
398
|
+
- `updateState(slice: T, reducer: function): void`
|
|
399
|
+
- `updateState(userState: K | T, reducer?: unknown): void`
|
|
400
|
+
- `getSignal(): Signal<T>` — This method is used to get the signal of the service.
|
|
401
|
+
|
|
402
|
+
## Interceptors
|
|
403
|
+
|
|
404
|
+
### AddLangParamInterceptor
|
|
405
|
+
|
|
406
|
+
File: `packages/core/src/lib/interceptors/add-lang-param.interceptor.ts`
|
|
407
|
+
|
|
408
|
+
Description: Interceptor for adding the current language as parameter Add the header (LANG\_PARAM\_KEY, ) to your request http headers
|
|
409
|
+
|
|
410
|
+
Methods:
|
|
411
|
+
- `intercept(req: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>`
|
|
412
|
+
|
|
413
|
+
### CachePreventionInterceptor
|
|
414
|
+
|
|
415
|
+
File: `packages/core/src/lib/interceptors/cache-prevention.interceptor.ts`
|
|
416
|
+
|
|
417
|
+
Methods:
|
|
418
|
+
- `intercept(req: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>`
|
|
419
|
+
|
|
420
|
+
### CorsSecurityInterceptor
|
|
421
|
+
|
|
422
|
+
File: `packages/core/src/lib/interceptors/cors-security.interceptor.ts`
|
|
423
|
+
|
|
424
|
+
Methods:
|
|
425
|
+
- `intercept(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>`
|
|
426
|
+
|
|
427
|
+
### CsrfPreventionInterceptor
|
|
428
|
+
|
|
429
|
+
File: `packages/core/src/lib/interceptors/csrf-prevention.interceptor.ts`
|
|
430
|
+
|
|
431
|
+
Methods:
|
|
432
|
+
- `intercept(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>`
|
|
433
|
+
|
|
434
|
+
### EuLoginSessionTimeoutHandlingInterceptor
|
|
435
|
+
|
|
436
|
+
File: `packages/core/src/lib/interceptors/eu-login-session-timeout-handling.interceptor.ts`
|
|
437
|
+
|
|
438
|
+
Methods:
|
|
439
|
+
- `intercept(request: HttpRequest<T>, next: HttpHandler): Observable<HttpEvent<T>>`
|
|
440
|
+
|
|
441
|
+
### HttpErrorHandlerInterceptor
|
|
442
|
+
|
|
443
|
+
File: `packages/core/src/lib/services/errors/http-error-handler.interceptor.ts`
|
|
444
|
+
|
|
445
|
+
Methods:
|
|
446
|
+
- `intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>`
|
|
447
|
+
|
|
448
|
+
### UxRequestErrorModelInterceptor
|
|
449
|
+
|
|
450
|
+
File: `packages/core/src/lib/interceptors/ux-request-error-model.interceptor.ts`
|
|
451
|
+
|
|
452
|
+
Methods:
|
|
453
|
+
- `intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>`
|
|
454
|
+
|
|
455
|
+
## Classes
|
|
456
|
+
|
|
457
|
+
### ActivatedRouteAction
|
|
458
|
+
|
|
459
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
460
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
461
|
+
|
|
462
|
+
Properties:
|
|
463
|
+
- `payload: ActivatedRoute`
|
|
464
|
+
- `type: unknown = CoreAppActionTypes.ACTIVATED_ROUTE`
|
|
465
|
+
|
|
466
|
+
### AddApiQueueItemAction
|
|
467
|
+
|
|
468
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
469
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
470
|
+
|
|
471
|
+
Properties:
|
|
472
|
+
- `payload: { id: string; item: ApiQueueItem }`
|
|
473
|
+
- `type: unknown = CoreAppActionTypes.ADD_API_QUEUE_ITEM`
|
|
474
|
+
|
|
475
|
+
### AddAppLoadedConfigModulesAction
|
|
476
|
+
|
|
477
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
478
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
479
|
+
|
|
480
|
+
Properties:
|
|
481
|
+
- `payload: { moduleName: string; moduleConfig: ModuleConfig }`
|
|
482
|
+
- `type: unknown = CoreAppActionTypes.ADD_APP_LOADED_CONFIG_MODULES`
|
|
483
|
+
|
|
484
|
+
### ApiQueueServiceMock
|
|
485
|
+
|
|
486
|
+
File: `packages/core/src/lib/services/queue/api-queue.service.mock.ts`
|
|
487
|
+
Extends: `ApiQueueService`
|
|
488
|
+
|
|
489
|
+
Methods:
|
|
490
|
+
- `addQueueItem(): void`
|
|
491
|
+
- `getQueue(): Observable<ApiQueueItem[]>`
|
|
492
|
+
- `getQueueItem(id: string): Observable<ApiQueueItem>`
|
|
493
|
+
- `processAllQueueItems(): Observable<T>`
|
|
494
|
+
- `processQueueItem(): Observable<T>`
|
|
495
|
+
- `removeAllQueueItem(): void`
|
|
496
|
+
- `removeQueueItem(): void`
|
|
497
|
+
- `processAllQueueItemsSequential(ascending: unknown = true): Observable<T>` — Processes all items in the queue sequentially, based on their timestamp ordering. This method first orders the items in the API queue by their timestamp, either in ascending or descending order as specified by the ascending parameter. It then processes each item using buildHttpRequest , ensuring that each request is completed before the next begins. This sequential processing is crucial when the order of execution matters for HTTP requests in the queue. The method returns an Observable that emits the responses following the same order as the queue items were processed. The function currently returns Observable\<any\> , indicating a broad type. Future improvements should focus on specifying a more accurate return type or utilizing generics for increased type safety. Example : timestamp. Defaults to \`true\`. Example : this.processAllQueueItemsSequential().subscribe(response =\> { // Handle each response in the order of queue processing });
|
|
498
|
+
|
|
499
|
+
### AsyncStorageService
|
|
500
|
+
|
|
501
|
+
File: `packages/core/src/lib/services/storage/async-storage.service.ts`
|
|
502
|
+
Extends: `StorageService`
|
|
503
|
+
|
|
504
|
+
Description: Generic asynchronous storage service. Concrete asynchronous storage services must extend this class
|
|
505
|
+
|
|
506
|
+
Methods:
|
|
507
|
+
- `get(key: string): Observable<any>` — retrieve an object from async storage
|
|
508
|
+
- `get(key: string): Observable<T>`
|
|
509
|
+
- `ready(): Observable<any>` — reflects the readiness of the storage
|
|
510
|
+
- `remove(key: string): Observable<any>` — removes an object from async storage
|
|
511
|
+
- `removeAsync(key: string): void` — asynchronous helper for remove function
|
|
512
|
+
- `set(key: string, value: any): Observable<any>` — sets an object in async storage
|
|
513
|
+
- `set(key: string, value: T): Observable<any>`
|
|
514
|
+
- `setAsync(key: string, value: any): void` — asynchronous helper for set function
|
|
515
|
+
- `setAsync(key: string, value: T): void`
|
|
516
|
+
- `name(): string` — utility function, to determine the storage implementation
|
|
517
|
+
|
|
518
|
+
### AsyncStorageServiceMock
|
|
519
|
+
|
|
520
|
+
File: `packages/core/src/lib/services/storage/async-storage.service.mock.ts`
|
|
521
|
+
Extends: `AsyncStorageService`
|
|
522
|
+
|
|
523
|
+
Methods:
|
|
524
|
+
- `get(): Observable<any>`
|
|
525
|
+
- `name(): string`
|
|
526
|
+
- `ready(): Observable<any>`
|
|
527
|
+
- `remove(): Observable<any>`
|
|
528
|
+
- `removeAsync(): void`
|
|
529
|
+
- `set(): Observable<any>`
|
|
530
|
+
- `setAsync(): void`
|
|
531
|
+
|
|
532
|
+
### CssUtils
|
|
533
|
+
|
|
534
|
+
File: `packages/core/src/lib/helpers/css-utils.ts`
|
|
535
|
+
|
|
536
|
+
Properties:
|
|
537
|
+
- `activateBreadcrumbCssVars: unknown = () => {...}`
|
|
538
|
+
- `activateEditModeCssVars: unknown = () => {...}`
|
|
539
|
+
- `activateFooterCssVars: unknown = () => {...}`
|
|
540
|
+
- `activateHeaderCssVars: unknown = () => {...}`
|
|
541
|
+
- `activateSidebarCssVars: unknown = () => {...}`
|
|
542
|
+
- `activateSidebarFooterCssVars: unknown = () => {...}`
|
|
543
|
+
- `activateSidebarHeaderCssVars: unknown = () => {...}`
|
|
544
|
+
- `activateSideContainerCssVars: unknown = () => {...}`
|
|
545
|
+
- `activateToolbarCssVars: unknown = () => {...}`
|
|
546
|
+
- `activateToolbarMegaMenuCssVars: unknown = () => {...}`
|
|
547
|
+
- `activateTopMessageCssVars: unknown = () => {...}`
|
|
548
|
+
- `deactivateSideContainerCssVars: unknown = () => {...}`
|
|
549
|
+
- `getBreakpointValues: unknown = () => {...}`
|
|
550
|
+
- `getCssVarValue: unknown = () => {...}` — Get the value of a CSS variable. Using getComputedStyle to get the value of the CSS variable (Browser Specific API)
|
|
551
|
+
- `initCssVars: unknown = () => {...}`
|
|
552
|
+
- `removeSidebarCssVars: unknown = () => {...}`
|
|
553
|
+
- `setCssVar: unknown = () => {...}`
|
|
554
|
+
- `setCssVarValue: unknown = () => {...}`
|
|
555
|
+
- `setHeaderShrinkCssVar: unknown = () => {...}`
|
|
556
|
+
- `setHtmlClass: unknown = () => {...}`
|
|
557
|
+
- `setSideContainerWidth: unknown = () => {...}`
|
|
558
|
+
|
|
559
|
+
Methods:
|
|
560
|
+
- `setAppViewportCssVars(platform: unknown): void` — Gets the viewport height and width and multiply it by 1% to get a value for a vh/vw unit Sets the value in the --eui-app-vh custom property to the root of the document Sets the value in the --eui-app-vw custom property to the root of the document Example for 100% height: calc(var(--eui-app-vh, 1vh) \* 100); Example for 50% height: calc(var(--eui-app-vh, 1vh) \* 50); Example for 50% width: calc(var(--eui-app-vw, 1vw) \* 50);
|
|
561
|
+
|
|
562
|
+
### EmptyApiQueueAction
|
|
563
|
+
|
|
564
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
565
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
566
|
+
|
|
567
|
+
Properties:
|
|
568
|
+
- `payload: any`
|
|
569
|
+
- `type: unknown = CoreAppActionTypes.EMPTY_API_QUEUE`
|
|
570
|
+
|
|
571
|
+
### ErrorSubClass
|
|
572
|
+
|
|
573
|
+
File: `packages/core/src/lib/services/errors/eui.error.ts`
|
|
574
|
+
|
|
575
|
+
Properties:
|
|
576
|
+
- `code?: string`
|
|
577
|
+
- `message: string`
|
|
578
|
+
- `name: string`
|
|
579
|
+
- `stack: string`
|
|
580
|
+
|
|
581
|
+
### EuiAppShellServiceMock
|
|
582
|
+
|
|
583
|
+
File: `packages/core/src/lib/mocks/ux-app-shell-service.mock.ts`
|
|
584
|
+
|
|
585
|
+
Properties:
|
|
586
|
+
- `appRouter: object = { navigate: (url): string => url, }`
|
|
587
|
+
- `breakpoints$: Observable<string> = this.breakpointSubject.asObservable()`
|
|
588
|
+
- `breakpointSubject: BehaviorSubject<string> = new BehaviorSubject('')`
|
|
589
|
+
- `state$: Observable<any> = of({})`
|
|
590
|
+
|
|
591
|
+
Methods:
|
|
592
|
+
- `consumeEvent(): void`
|
|
593
|
+
- `getState(): Observable<any>`
|
|
594
|
+
|
|
595
|
+
### EuiCoreRootGuardClass
|
|
596
|
+
|
|
597
|
+
File: `packages/core/src/lib/eui-core.module.ts`
|
|
598
|
+
|
|
599
|
+
### EuiError
|
|
600
|
+
|
|
601
|
+
File: `packages/core/src/lib/services/errors/eui.error.ts`
|
|
602
|
+
Extends: `ErrorSubClass`
|
|
603
|
+
|
|
604
|
+
Properties:
|
|
605
|
+
- `code?: string`
|
|
606
|
+
- `message: string`
|
|
607
|
+
- `name: string`
|
|
608
|
+
- `stack: string`
|
|
609
|
+
|
|
610
|
+
### I18nResourceImpl
|
|
611
|
+
|
|
612
|
+
File: `packages/core/src/lib/services/i18n/i18n.resource.ts`
|
|
613
|
+
|
|
614
|
+
Methods:
|
|
615
|
+
- `compileTranslations(translations: unknown, lang: string): unknown` — Translations pre-processor
|
|
616
|
+
- `equals(obj: I18nResourceImpl): boolean` — Indicates whether other object is equal-to this one.
|
|
617
|
+
- `getPath(lang: string): string` — The path to the resource
|
|
618
|
+
|
|
619
|
+
### InitStoreAction
|
|
620
|
+
|
|
621
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
622
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
623
|
+
|
|
624
|
+
Properties:
|
|
625
|
+
- `payload: { version?: string }`
|
|
626
|
+
- `type: unknown = CoreAppActionTypes.INIT_STORE`
|
|
627
|
+
|
|
628
|
+
### LogServiceMock
|
|
629
|
+
|
|
630
|
+
File: `packages/core/src/lib/services/log/log.service.mock.ts`
|
|
631
|
+
Extends: `LoggerMock`
|
|
632
|
+
|
|
633
|
+
Methods:
|
|
634
|
+
- `getLogger(): LoggerMock`
|
|
635
|
+
|
|
636
|
+
### RemoveApiQueueItemAction
|
|
637
|
+
|
|
638
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
639
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
640
|
+
|
|
641
|
+
Properties:
|
|
642
|
+
- `payload: string`
|
|
643
|
+
- `type: unknown = CoreAppActionTypes.REMOVE_API_QUEUE_ITEM`
|
|
644
|
+
|
|
645
|
+
### StorageService
|
|
646
|
+
|
|
647
|
+
File: `packages/core/src/lib/services/storage/storage.service.ts`
|
|
648
|
+
|
|
649
|
+
Description: Generic storage service. Concrete storage services must extend this class
|
|
650
|
+
|
|
651
|
+
Methods:
|
|
652
|
+
- `get(key: string): any` — retrieve an object from storage
|
|
653
|
+
- `get(key: string): T`
|
|
654
|
+
- `name(): string` — utility function, to determine the storage implementation
|
|
655
|
+
- `remove(key: string): void` — removes an object from storage
|
|
656
|
+
- `set(key: string, value: any): void` — sets an object in storage
|
|
657
|
+
- `set(key: string, value: T): void`
|
|
658
|
+
|
|
659
|
+
### StorageServiceMock
|
|
660
|
+
|
|
661
|
+
File: `packages/core/src/lib/services/storage/storage.service.mock.ts`
|
|
662
|
+
Extends: `StorageService`
|
|
663
|
+
|
|
664
|
+
Methods:
|
|
665
|
+
- `get()`
|
|
666
|
+
- `name(): string`
|
|
667
|
+
- `remove(): void`
|
|
668
|
+
- `set(): void`
|
|
669
|
+
|
|
670
|
+
### TranslateServiceMock
|
|
671
|
+
|
|
672
|
+
File: `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
673
|
+
|
|
674
|
+
Properties:
|
|
675
|
+
- `currentLang: unknown = signal<string | null>(null)`
|
|
676
|
+
- `isLoaded: Observable<boolean> = this.isLoadedSubject.asObservable()`
|
|
677
|
+
- `isLoadedSubject: BehaviorSubject<boolean> = new BehaviorSubject(true)`
|
|
678
|
+
- `languages: string[] = [DEFAULT_LANGUAGE]`
|
|
679
|
+
- `onFallbackLangChange: Observable<string> = this.onFallbackLangChangeSubject.asObservable()`
|
|
680
|
+
- `onFallbackLangChangeSubject: Subject<string> = new Subject()`
|
|
681
|
+
- `onLangChange: Observable<LangChangeEvent> = this.onLangChangeSubject.asObservable()`
|
|
682
|
+
- `onLangChangeSubject: Subject<LangChangeEvent> = new Subject()`
|
|
683
|
+
- `onTranslationChange: Observable<string> = this.onTranslationChangeSubject.asObservable()`
|
|
684
|
+
- `onTranslationChangeSubject: Subject<string> = new Subject()`
|
|
685
|
+
|
|
686
|
+
Methods:
|
|
687
|
+
- `addLangs(langs: string[]): void`
|
|
688
|
+
- `get(content: string): Observable<string>`
|
|
689
|
+
- `getBrowserLang(): string`
|
|
690
|
+
- `getLangs(): string[]`
|
|
691
|
+
- `getTranslation(): Observable<any>`
|
|
692
|
+
- `instant(key: string | string[]): string`
|
|
693
|
+
- `setFallbackLang(lang: string): void`
|
|
694
|
+
- `use(lang: string): void`
|
|
695
|
+
|
|
696
|
+
### UpdateAppConnectionAction
|
|
697
|
+
|
|
698
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
699
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
700
|
+
|
|
701
|
+
Properties:
|
|
702
|
+
- `payload: boolean`
|
|
703
|
+
- `type: unknown = CoreAppActionTypes.UPDATE_APP_CONNECTION`
|
|
704
|
+
|
|
705
|
+
### UpdateAppStatusAction
|
|
706
|
+
|
|
707
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
708
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
709
|
+
|
|
710
|
+
Properties:
|
|
711
|
+
- `payload: string`
|
|
712
|
+
- `type: unknown = CoreAppActionTypes.UPDATE_APP_STATUS`
|
|
713
|
+
|
|
714
|
+
### UpdateAppVersionAction
|
|
715
|
+
|
|
716
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
717
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
718
|
+
|
|
719
|
+
Properties:
|
|
720
|
+
- `payload: string`
|
|
721
|
+
- `type: unknown = CoreAppActionTypes.UPDATE_APP_VERSION`
|
|
722
|
+
|
|
723
|
+
### UpdateCurrentModuleAction
|
|
724
|
+
|
|
725
|
+
File: `packages/core/src/lib/services/store/actions/app.actions.ts`
|
|
726
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
727
|
+
|
|
728
|
+
Properties:
|
|
729
|
+
- `payload: string`
|
|
730
|
+
- `type: unknown = CoreAppActionTypes.UPDATE_CURRENT_MODULE`
|
|
731
|
+
|
|
732
|
+
### UpdateI18nStateAction
|
|
733
|
+
|
|
734
|
+
File: `packages/core/src/lib/services/store/actions/i18n.actions.ts`
|
|
735
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
736
|
+
|
|
737
|
+
Properties:
|
|
738
|
+
- `payload: I18nState`
|
|
739
|
+
- `type: unknown = CoreI18nActionTypes.UPDATE_I18N_STATE`
|
|
740
|
+
|
|
741
|
+
### UpdateLocaleStateAction
|
|
742
|
+
|
|
743
|
+
File: `packages/core/src/lib/services/store/actions/locale.actions.ts`
|
|
744
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
745
|
+
|
|
746
|
+
Properties:
|
|
747
|
+
- `payload: LocaleState`
|
|
748
|
+
- `type: unknown = CoreLocaleActionTypes.UPDATE_LOCALE_STATE`
|
|
749
|
+
|
|
750
|
+
### UpdateNotificationsListAction
|
|
751
|
+
|
|
752
|
+
File: `packages/core/src/lib/services/store/actions/notifications.actions.ts`
|
|
753
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
754
|
+
|
|
755
|
+
Properties:
|
|
756
|
+
- `payload: any[]`
|
|
757
|
+
- `type: unknown = CoreNotificationsActionTypes.UPDATE_NOTIFICATIONS_LIST`
|
|
758
|
+
|
|
759
|
+
### UpdateUserDashboardAction
|
|
760
|
+
|
|
761
|
+
File: `packages/core/src/lib/services/store/actions/user.actions.ts`
|
|
762
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
763
|
+
|
|
764
|
+
Properties:
|
|
765
|
+
- `payload: unknown`
|
|
766
|
+
- `type: unknown = CoreUserActionTypes.UPDATE_USER_DASHBOARD`
|
|
767
|
+
|
|
768
|
+
### UpdateUserDetailsAction
|
|
769
|
+
|
|
770
|
+
File: `packages/core/src/lib/services/store/actions/user.actions.ts`
|
|
771
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
772
|
+
|
|
773
|
+
Properties:
|
|
774
|
+
- `payload: UserDetails`
|
|
775
|
+
- `type: unknown = CoreUserActionTypes.UPDATE_USER_DETAILS`
|
|
776
|
+
|
|
777
|
+
### UpdateUserPreferencesAction
|
|
778
|
+
|
|
779
|
+
File: `packages/core/src/lib/services/store/actions/user.actions.ts`
|
|
780
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
781
|
+
|
|
782
|
+
Properties:
|
|
783
|
+
- `payload: UserPreferences`
|
|
784
|
+
- `type: unknown = CoreUserActionTypes.UPDATE_USER_PREFERENCES`
|
|
785
|
+
|
|
786
|
+
### UpdateUserRightsAction
|
|
787
|
+
|
|
788
|
+
File: `packages/core/src/lib/services/store/actions/user.actions.ts`
|
|
789
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
790
|
+
|
|
791
|
+
Properties:
|
|
792
|
+
- `payload: EuiUserRight[]`
|
|
793
|
+
- `type: unknown = CoreUserActionTypes.UPDATE_USER_RIGHTS`
|
|
794
|
+
|
|
795
|
+
### UpdateUserStateAction
|
|
796
|
+
|
|
797
|
+
File: `packages/core/src/lib/services/store/actions/user.actions.ts`
|
|
798
|
+
Deprecated: (deprecated: it will be removed in the next major version)
|
|
799
|
+
|
|
800
|
+
Properties:
|
|
801
|
+
- `payload: UserState`
|
|
802
|
+
- `type: unknown = CoreUserActionTypes.UPDATE_USER_STATE`
|
|
803
|
+
|
|
804
|
+
## Interfaces
|
|
805
|
+
|
|
806
|
+
### Action
|
|
807
|
+
|
|
808
|
+
File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
809
|
+
|
|
810
|
+
Properties:
|
|
811
|
+
- `type: Type`
|
|
812
|
+
|
|
813
|
+
### ActionReducer
|
|
814
|
+
|
|
815
|
+
File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
816
|
+
|
|
817
|
+
Description: A function that takes an Action and a State , and returns a State . See createReducer .
|
|
818
|
+
|
|
819
|
+
Properties:
|
|
820
|
+
- `undefined`
|
|
821
|
+
|
|
822
|
+
### body
|
|
823
|
+
|
|
824
|
+
File: `packages/core/src/lib/interceptors/eu-login-session-timeout-handling.interceptor.ts`
|
|
825
|
+
|
|
826
|
+
Properties:
|
|
827
|
+
- `code: number`
|
|
828
|
+
- `message: string`
|
|
829
|
+
- `status: string`
|
|
830
|
+
- `success: boolean`
|
|
831
|
+
|
|
832
|
+
### ComponentInfo
|
|
833
|
+
|
|
834
|
+
File: `packages/core/schematics/add-eui-imports/index.ts`
|
|
835
|
+
|
|
836
|
+
Properties:
|
|
837
|
+
- `className: string`
|
|
838
|
+
- `decorator: ts.Decorator`
|
|
839
|
+
- `isNonStandalone: boolean`
|
|
840
|
+
|
|
841
|
+
### Dependency
|
|
842
|
+
|
|
843
|
+
File: `packages/core/src/lib/services/loader/eui-loader.model.ts`
|
|
844
|
+
|
|
845
|
+
Description: A dependency is a script or style that can be loaded dynamically
|
|
846
|
+
|
|
847
|
+
Properties:
|
|
848
|
+
- `name: string` — an identifier for the dependency
|
|
849
|
+
- `requires: string[]` — an array of dependencies corresponds to the Dependency.name that must be loaded before this dependency Example : \['quill-better-table'\] where 'quill-better-table' is the name of the dependency const betterTable: Dependency = { name: 'quill-better-table', url: 'https://cdn.quilljs.com/1.3.6/quill.js', type: 'js', requires: \['quill-better-table'\], }
|
|
850
|
+
- `retries?: number` — the number of times the dependency has been loaded
|
|
851
|
+
- `status?: Status` — the status of the dependency
|
|
852
|
+
- `type: "js" | "css"` — the type of the dependency. Is it a style or script?
|
|
853
|
+
- `url: string` — the url of the dependency Example : https://cdn.quilljs.com/1.3.6/quill.js
|
|
854
|
+
|
|
855
|
+
### Edit
|
|
856
|
+
|
|
857
|
+
File: `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
858
|
+
|
|
859
|
+
Properties:
|
|
860
|
+
- `end: number`
|
|
861
|
+
- `replacement: string`
|
|
862
|
+
- `start: number`
|
|
863
|
+
|
|
864
|
+
### Edit
|
|
865
|
+
|
|
866
|
+
File: `packages/core/schematics/migrate-eui-table/index.ts`
|
|
867
|
+
|
|
868
|
+
Properties:
|
|
869
|
+
- `end: number`
|
|
870
|
+
- `replacement: string`
|
|
871
|
+
- `start: number`
|
|
872
|
+
|
|
873
|
+
### Edit
|
|
874
|
+
|
|
875
|
+
File: `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
876
|
+
|
|
877
|
+
Properties:
|
|
878
|
+
- `end: number`
|
|
879
|
+
- `replacement: string`
|
|
880
|
+
- `start: number`
|
|
881
|
+
|
|
882
|
+
### EuiComponentEntry
|
|
883
|
+
|
|
884
|
+
File: `packages/core/schematics/migrate/replacements/eui-modules.ts`
|
|
885
|
+
|
|
886
|
+
Properties:
|
|
887
|
+
- `cmpArray?: boolean`
|
|
888
|
+
- `importLocation: string`
|
|
889
|
+
- `importObj: string`
|
|
890
|
+
- `module: string`
|
|
891
|
+
- `selectorPrefix?: string`
|
|
892
|
+
|
|
893
|
+
### EuiTimeZone
|
|
894
|
+
|
|
895
|
+
File: `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
896
|
+
|
|
897
|
+
Properties:
|
|
898
|
+
- `desc: string`
|
|
899
|
+
- `name: string`
|
|
900
|
+
|
|
901
|
+
### IEuiTheme
|
|
902
|
+
|
|
903
|
+
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
904
|
+
|
|
905
|
+
Properties:
|
|
906
|
+
- `cssClass: string`
|
|
907
|
+
- `isActive: boolean`
|
|
908
|
+
- `name: EuiTheme`
|
|
909
|
+
- `styleSheet: string`
|
|
910
|
+
|
|
911
|
+
### ImportsArrayInfo
|
|
912
|
+
|
|
913
|
+
File: `packages/core/schematics/add-eui-imports/index.ts`
|
|
914
|
+
|
|
915
|
+
Properties:
|
|
916
|
+
- `arrayNode: ts.ArrayLiteralExpression`
|
|
917
|
+
- `decoratorType: "Component" | "NgModule"`
|
|
918
|
+
|
|
919
|
+
### ImportToAdd
|
|
920
|
+
|
|
921
|
+
File: `packages/core/schematics/add-eui-imports/index.ts`
|
|
922
|
+
|
|
923
|
+
Properties:
|
|
924
|
+
- `importPath: string` — ES import path
|
|
925
|
+
- `isSpread: boolean` — Whether this should be spread (...EUI\_BUTTON)
|
|
926
|
+
- `symbol: string` — The symbol to add to imports array (class name or array name for spread)
|
|
927
|
+
|
|
928
|
+
### Library
|
|
929
|
+
|
|
930
|
+
File: `packages/core/src/lib/services/loader/eui-loader.model.ts`
|
|
931
|
+
|
|
932
|
+
Description: A library is a set of script and style dependencies that can be loaded dynamically Library {string} name - global variable object name that the script will give to the library {Dependency\[\]} dependencies - a set of script and style dependencies {Status} status - the status of the library e.g. LOADED Example : const library: Library = { name: 'Quill', dependencies: \[ { name: 'quill', url: ' https://cdn.quilljs.com/1.3.6/quill.js ', type: 'js', requires: \[\], loaded: false, error: false, }, { name: 'quill', url: ' https://cdn.quilljs.com/1.3.6/quill.snow.css ', type: 'css', requires: \[\], loaded: false, error: false, }, \], status: Status.LOADING, };
|
|
933
|
+
|
|
934
|
+
Properties:
|
|
935
|
+
- `dependencies: Dependency[]` — a set of script and style dependencies
|
|
936
|
+
- `name: string` — global variable object name that the script will give to the library
|
|
937
|
+
- `status: Status` — the status of the library e.g. LOADED
|
|
938
|
+
|
|
939
|
+
### LoadedResources
|
|
940
|
+
|
|
941
|
+
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
942
|
+
|
|
943
|
+
Properties:
|
|
944
|
+
- `errors?: Array<LoadedResourcesError>`
|
|
945
|
+
- `hasError: boolean`
|
|
946
|
+
- `translations: TranslationObject`
|
|
947
|
+
|
|
948
|
+
### LoadedResourcesError
|
|
949
|
+
|
|
950
|
+
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
951
|
+
|
|
952
|
+
Properties:
|
|
953
|
+
- `error: string`
|
|
954
|
+
- `resource: I18nResourceImpl`
|
|
955
|
+
|
|
956
|
+
### MemoizedSelector
|
|
957
|
+
|
|
958
|
+
File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
959
|
+
Extends: `Selector<State, Result>`
|
|
960
|
+
|
|
961
|
+
Properties:
|
|
962
|
+
- `clearResult: function`
|
|
963
|
+
- `projector: ProjectorFn`
|
|
964
|
+
- `setResult: function`
|
|
965
|
+
|
|
966
|
+
Methods:
|
|
967
|
+
- `release(): void`
|
|
968
|
+
|
|
969
|
+
### MemoizedSelectorWithProps
|
|
970
|
+
|
|
971
|
+
File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
972
|
+
Extends: `SelectorWithProps<State, Props, Result>`
|
|
973
|
+
Deprecated: (deprecated: Selectors with props are deprecated, for more info see the ://ngrx.io/guide/migration/v12#ngrxstore migration guidehttps)
|
|
974
|
+
|
|
975
|
+
Properties:
|
|
976
|
+
- `clearResult: function`
|
|
977
|
+
- `projector: ProjectorFn`
|
|
978
|
+
- `setResult: function`
|
|
979
|
+
|
|
980
|
+
Methods:
|
|
981
|
+
- `release(): void`
|
|
982
|
+
|
|
983
|
+
### MigrateAllSchema
|
|
984
|
+
|
|
985
|
+
File: `packages/core/schematics/migrate-all/index.ts`
|
|
986
|
+
|
|
987
|
+
Properties:
|
|
988
|
+
- `dryRun?: boolean`
|
|
989
|
+
- `mwp?: boolean`
|
|
990
|
+
- `path?: string`
|
|
991
|
+
- `useClassArray?: boolean`
|
|
992
|
+
|
|
993
|
+
### MigrationResult
|
|
994
|
+
|
|
995
|
+
File: `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
996
|
+
|
|
997
|
+
Properties:
|
|
998
|
+
- `content: string`
|
|
999
|
+
- `migrated: number`
|
|
1000
|
+
- `skipped: number`
|
|
1001
|
+
|
|
1002
|
+
### ModuleLoadEvent
|
|
1003
|
+
|
|
1004
|
+
File: `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
1005
|
+
|
|
1006
|
+
Properties:
|
|
1007
|
+
- `error?: any`
|
|
1008
|
+
- `name: string`
|
|
1009
|
+
- `ready: boolean`
|
|
1010
|
+
|
|
1011
|
+
### ModuleMapping
|
|
1012
|
+
|
|
1013
|
+
File: `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1014
|
+
|
|
1015
|
+
Properties:
|
|
1016
|
+
- `importPath: string`
|
|
1017
|
+
- `selectors: Record<string, string>`
|
|
1018
|
+
|
|
1019
|
+
### NgModuleInfo
|
|
1020
|
+
|
|
1021
|
+
File: `packages/core/schematics/add-eui-imports/index.ts`
|
|
1022
|
+
|
|
1023
|
+
Properties:
|
|
1024
|
+
- `declarations: string[]`
|
|
1025
|
+
- `decoratorPos: number`
|
|
1026
|
+
- `path: string`
|
|
1027
|
+
|
|
1028
|
+
### Policy
|
|
1029
|
+
|
|
1030
|
+
File: `packages/core/src/lib/services/loader/eui-loader.model.ts`
|
|
1031
|
+
|
|
1032
|
+
Description: Configuration for different policies
|
|
1033
|
+
|
|
1034
|
+
Properties:
|
|
1035
|
+
- `maxAttempts: number` — Maximum number of retry attempts
|
|
1036
|
+
- `retryInterval: number` — Time between retries in milliseconds
|
|
1037
|
+
- `timeout: number` — Time in milliseconds before considering a load attempt as failed
|
|
1038
|
+
|
|
1039
|
+
### ResourceError
|
|
1040
|
+
|
|
1041
|
+
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
1042
|
+
|
|
1043
|
+
Properties:
|
|
1044
|
+
- `error?: string`
|
|
1045
|
+
- `isError: boolean`
|
|
1046
|
+
- `resource?: I18nResourceImpl`
|
|
1047
|
+
|
|
1048
|
+
### Schema
|
|
1049
|
+
|
|
1050
|
+
File: `packages/core/schematics/add-eui-imports/index.ts`
|
|
1051
|
+
|
|
1052
|
+
Properties:
|
|
1053
|
+
- `dryRun?: boolean`
|
|
1054
|
+
- `path?: string`
|
|
1055
|
+
- `useClassArray?: boolean`
|
|
1056
|
+
|
|
1057
|
+
### Schema
|
|
1058
|
+
|
|
1059
|
+
File: `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
1060
|
+
|
|
1061
|
+
Properties:
|
|
1062
|
+
- `dryRun?: boolean`
|
|
1063
|
+
- `path?: string`
|
|
1064
|
+
|
|
1065
|
+
### Schema
|
|
1066
|
+
|
|
1067
|
+
File: `packages/core/schematics/icon-migrate/schema.ts`
|
|
1068
|
+
|
|
1069
|
+
Properties:
|
|
1070
|
+
- `dryRun?: boolean` — Whether to perform a dry run without making changes
|
|
1071
|
+
- `path?: string` — The path to scan for files to migrate
|
|
1072
|
+
|
|
1073
|
+
### Schema
|
|
1074
|
+
|
|
1075
|
+
File: `packages/core/schematics/migrate/schema.ts`
|
|
1076
|
+
|
|
1077
|
+
Properties:
|
|
1078
|
+
- `dryRun?: boolean` — Whether to perform a dry run without making changes
|
|
1079
|
+
- `mwp?: boolean` — Whether to apply MyWorkplace-specific replacements
|
|
1080
|
+
- `path?: string` — The path to scan for files to migrate
|
|
1081
|
+
|
|
1082
|
+
### Schema
|
|
1083
|
+
|
|
1084
|
+
File: `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1085
|
+
|
|
1086
|
+
Properties:
|
|
1087
|
+
- `dryRun?: boolean`
|
|
1088
|
+
- `path?: string`
|
|
1089
|
+
|
|
1090
|
+
### Schema
|
|
1091
|
+
|
|
1092
|
+
File: `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1093
|
+
|
|
1094
|
+
Properties:
|
|
1095
|
+
- `dryRun?: boolean`
|
|
1096
|
+
- `path?: string`
|
|
1097
|
+
|
|
1098
|
+
### Schema
|
|
1099
|
+
|
|
1100
|
+
File: `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1101
|
+
|
|
1102
|
+
Properties:
|
|
1103
|
+
- `dryRun?: boolean`
|
|
1104
|
+
- `path?: string`
|
|
1105
|
+
|
|
1106
|
+
### Schema
|
|
1107
|
+
|
|
1108
|
+
File: `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1109
|
+
|
|
1110
|
+
Properties:
|
|
1111
|
+
- `dryRun?: boolean`
|
|
1112
|
+
- `path?: string`
|
|
1113
|
+
|
|
1114
|
+
### Schema
|
|
1115
|
+
|
|
1116
|
+
File: `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1117
|
+
|
|
1118
|
+
Properties:
|
|
1119
|
+
- `dryRun?: boolean`
|
|
1120
|
+
- `path?: string`
|
|
1121
|
+
|
|
1122
|
+
### Schema
|
|
1123
|
+
|
|
1124
|
+
File: `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1125
|
+
|
|
1126
|
+
Properties:
|
|
1127
|
+
- `dryRun?: boolean`
|
|
1128
|
+
- `path?: string`
|
|
1129
|
+
|
|
1130
|
+
### Schema
|
|
1131
|
+
|
|
1132
|
+
File: `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1133
|
+
|
|
1134
|
+
Properties:
|
|
1135
|
+
- `dryRun?: boolean`
|
|
1136
|
+
- `path?: string`
|
|
1137
|
+
|
|
1138
|
+
### Schema
|
|
1139
|
+
|
|
1140
|
+
File: `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1141
|
+
|
|
1142
|
+
Properties:
|
|
1143
|
+
- `dryRun?: boolean`
|
|
1144
|
+
- `path?: string`
|
|
1145
|
+
|
|
1146
|
+
### Schema
|
|
1147
|
+
|
|
1148
|
+
File: `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1149
|
+
|
|
1150
|
+
Properties:
|
|
1151
|
+
- `dryRun?: boolean`
|
|
1152
|
+
- `path?: string`
|
|
1153
|
+
|
|
1154
|
+
### Schema
|
|
1155
|
+
|
|
1156
|
+
File: `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1157
|
+
|
|
1158
|
+
Properties:
|
|
1159
|
+
- `dryRun?: boolean`
|
|
1160
|
+
- `path?: string`
|
|
1161
|
+
|
|
1162
|
+
### Schema
|
|
1163
|
+
|
|
1164
|
+
File: `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1165
|
+
|
|
1166
|
+
Properties:
|
|
1167
|
+
- `dryRun?: boolean`
|
|
1168
|
+
- `path?: string`
|
|
1169
|
+
|
|
1170
|
+
### Schema
|
|
1171
|
+
|
|
1172
|
+
File: `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1173
|
+
|
|
1174
|
+
Properties:
|
|
1175
|
+
- `dryRun?: boolean`
|
|
1176
|
+
- `path?: string`
|
|
1177
|
+
|
|
1178
|
+
### Schema
|
|
1179
|
+
|
|
1180
|
+
File: `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1181
|
+
|
|
1182
|
+
Properties:
|
|
1183
|
+
- `dryRun?: boolean`
|
|
1184
|
+
- `path?: string`
|
|
1185
|
+
|
|
1186
|
+
### Schema
|
|
1187
|
+
|
|
1188
|
+
File: `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1189
|
+
|
|
1190
|
+
Properties:
|
|
1191
|
+
- `dryRun?: boolean`
|
|
1192
|
+
- `path?: string`
|
|
1193
|
+
|
|
1194
|
+
### Schema
|
|
1195
|
+
|
|
1196
|
+
File: `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1197
|
+
|
|
1198
|
+
Properties:
|
|
1199
|
+
- `dryRun?: boolean`
|
|
1200
|
+
- `path?: string`
|
|
1201
|
+
|
|
1202
|
+
### Schema
|
|
1203
|
+
|
|
1204
|
+
File: `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1205
|
+
|
|
1206
|
+
Properties:
|
|
1207
|
+
- `dryRun?: boolean`
|
|
1208
|
+
- `path?: string`
|
|
1209
|
+
|
|
1210
|
+
### Schema
|
|
1211
|
+
|
|
1212
|
+
File: `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1213
|
+
|
|
1214
|
+
Properties:
|
|
1215
|
+
- `dryRun?: boolean`
|
|
1216
|
+
- `path?: string`
|
|
1217
|
+
|
|
1218
|
+
### SelectorEntry
|
|
1219
|
+
|
|
1220
|
+
File: `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
1221
|
+
|
|
1222
|
+
Description: Hardcoded EUI selector map derived from selector-map.md. Each entry contains a parsed compound selector and the corresponding import metadata.
|
|
1223
|
+
|
|
1224
|
+
Properties:
|
|
1225
|
+
- `attributes: string[]` — Attribute selectors that must ALL be present
|
|
1226
|
+
- `classArray: string | null` — The CLASS array constant name (null if none exists)
|
|
1227
|
+
- `className: string` — The Angular class name
|
|
1228
|
+
- `element: string | null` — Element tag required (null = any element)
|
|
1229
|
+
- `importPath: string` — The ES import path
|
|
1230
|
+
|
|
1231
|
+
### TextChange
|
|
1232
|
+
|
|
1233
|
+
File: `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1234
|
+
|
|
1235
|
+
Properties:
|
|
1236
|
+
- `end: number`
|
|
1237
|
+
- `start: number`
|
|
1238
|
+
- `text: string`
|
|
1239
|
+
|
|
1240
|
+
### ThemeState
|
|
1241
|
+
|
|
1242
|
+
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
1243
|
+
|
|
1244
|
+
Properties:
|
|
1245
|
+
- `theme: any`
|
|
1246
|
+
- `themes: IEuiTheme[]`
|
|
1247
|
+
|
|
1248
|
+
### TranslationKeys
|
|
1249
|
+
|
|
1250
|
+
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
1251
|
+
|
|
1252
|
+
### UIState
|
|
1253
|
+
|
|
1254
|
+
File: `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
1255
|
+
|
|
1256
|
+
Properties:
|
|
1257
|
+
- `activeLanguage: string`
|
|
1258
|
+
- `appBaseFontSize?: string`
|
|
1259
|
+
- `appMetadata: AMD`
|
|
1260
|
+
- `appName?: string`
|
|
1261
|
+
- `appShortName?: string`
|
|
1262
|
+
- `appSubTitle?: string`
|
|
1263
|
+
- `breakpoint?: string`
|
|
1264
|
+
- `breakpoints?: BP`
|
|
1265
|
+
- `breakpointValues?: BPV`
|
|
1266
|
+
- `combinedLinks?: EuiMenuItem[]`
|
|
1267
|
+
- `deviceInfo: DI`
|
|
1268
|
+
- `environmentValue?: string`
|
|
1269
|
+
- `hasBreadcrumb?: boolean`
|
|
1270
|
+
- `hasHeader?: boolean`
|
|
1271
|
+
- `hasHeaderEnvironment?: boolean`
|
|
1272
|
+
- `hasHeaderLogo?: boolean`
|
|
1273
|
+
- `hasModalActive?: boolean`
|
|
1274
|
+
- `hasSidebar?: boolean`
|
|
1275
|
+
- `hasSidebarCollapsedVariant?: boolean`
|
|
1276
|
+
- `hasSideContainer?: boolean`
|
|
1277
|
+
- `hasToolbar?: boolean`
|
|
1278
|
+
- `hasToolbarMegaMenu?: boolean`
|
|
1279
|
+
- `hasToolbarMenu?: boolean`
|
|
1280
|
+
- `hasTopMessage?: boolean`
|
|
1281
|
+
- `isBlockDocumentActive?: boolean`
|
|
1282
|
+
- `isDimmerActive?: boolean`
|
|
1283
|
+
- `isSidebarActive?: boolean`
|
|
1284
|
+
- `isSidebarFocused?: boolean`
|
|
1285
|
+
- `isSidebarHidden?: boolean`
|
|
1286
|
+
- `isSidebarOpen?: boolean`
|
|
1287
|
+
- `languages: (string | EuiLanguage)[]`
|
|
1288
|
+
- `mainContentHeight?: number`
|
|
1289
|
+
- `menuLinks?: EuiMenuItem[]`
|
|
1290
|
+
- `pageHeaderHeight?: number`
|
|
1291
|
+
- `sidebarLinks?: EuiMenuItem[]`
|
|
1292
|
+
- `windowHeight?: number`
|
|
1293
|
+
- `windowWidth?: number`
|
|
1294
|
+
- `wrapperClasses?: string`
|
|
1295
|
+
|
|
1296
|
+
## Public functions
|
|
1297
|
+
|
|
1298
|
+
- `addEsImports(source: string, filePath: string, imports): string`
|
|
1299
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1300
|
+
- `addEuiImports(options: Schema = {}): Rule`
|
|
1301
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1302
|
+
- `addImportsToFile(source: string, filePath: string, decoratorStartHint: number, imports, useClassArray: boolean): string`
|
|
1303
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1304
|
+
- `addPaginatorImport(source: string, filePath: string): string`
|
|
1305
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1306
|
+
- `addTruncatePipeImport(source: string, filePath: string): string`
|
|
1307
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1308
|
+
- `AlertHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1309
|
+
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1310
|
+
- `applyChanges(source: string, changes): string`
|
|
1311
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1312
|
+
- `applyEdits(source: string, edits): string`
|
|
1313
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1314
|
+
- `applyEdits(source: string, edits): string`
|
|
1315
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1316
|
+
- `applyEdits(source: string, edits): string`
|
|
1317
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1318
|
+
- `applyEdits(source: string, edits): string`
|
|
1319
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1320
|
+
- `applyEdits(source: string, edits): string`
|
|
1321
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1322
|
+
- `applyEdits(source: string, edits): string`
|
|
1323
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1324
|
+
- `applyEdits(source: string, edits): string`
|
|
1325
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1326
|
+
- `applyEdits(source: string, edits): string`
|
|
1327
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1328
|
+
- `applyEdits(source: string, edits): string`
|
|
1329
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1330
|
+
- `applyEdits(source: string, edits): string`
|
|
1331
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1332
|
+
- `applyReplacements(source: string, filePath: string, replacements: Map): string`
|
|
1333
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1334
|
+
- `buildBodyReplacement(source: string, content: TmplAstElement): string`
|
|
1335
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1336
|
+
- `buildHeaderReplacement(source: string, label: TmplAstElement): string`
|
|
1337
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1338
|
+
- `buildNgModuleIndex(tree: Tree, dir: DirEntry): NgModuleInfo[]`
|
|
1339
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1340
|
+
- `buildReplacements(moduleNames, templateSelectors: Set): Map<string, { components: string[]; importPath: string }>`
|
|
1341
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1342
|
+
- `buildSelectorMap(): SelectorEntry[]`
|
|
1343
|
+
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
1344
|
+
- `buildTruncatePipeEdit(chip: TmplAstElement, source: string, truncateValue: string): Edit | null`
|
|
1345
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1346
|
+
- `collectChildElementRenames(element: TmplAstElement, edits): void`
|
|
1347
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1348
|
+
- `collectChildInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1349
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1350
|
+
- `collectEmptyMessageRename(element: TmplAstElement, edits): void`
|
|
1351
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1352
|
+
- `collectInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1353
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1354
|
+
- `collectOutputChanges(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1355
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1356
|
+
- `collectOutputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1357
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1358
|
+
- `collectPaginatorMigration(element: TmplAstElement, source: string, edits): boolean`
|
|
1359
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1360
|
+
- `collectPipeRenames(nodes, source: string, edits): void`
|
|
1361
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1362
|
+
- `collectRemovals(element: TmplAstElement, removals): void`
|
|
1363
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1364
|
+
- `collectRemovals(element: TmplAstElement, removals): void`
|
|
1365
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1366
|
+
- `collectRemovals(element: TmplAstElement, removals): void`
|
|
1367
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1368
|
+
- `collectRemovals(element: TmplAstElement, source: string, removals): void`
|
|
1369
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1370
|
+
- `collectRemovals(element: TmplAstElement, removals): void`
|
|
1371
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1372
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1373
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1374
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1375
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1376
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1377
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1378
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1379
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1380
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1381
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1382
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1383
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1384
|
+
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1385
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1386
|
+
- `collectTableInputRenames(element: TmplAstElement, edits): void`
|
|
1387
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1388
|
+
- `collectTagRenames(element: TmplAstElement, source: string, edits): void`
|
|
1389
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1390
|
+
- `collectTemplateEmptyMessageRename(template: TmplAstTemplate, edits): void`
|
|
1391
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1392
|
+
- `ConsoleHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1393
|
+
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1394
|
+
- `convertLegacyInterpolations(value: string): string` — Converts legacy ngx-translate interpolations ({{var}}) to ICU-compatible format ({var}). Double braces are never valid ICU syntax, so any {{word}} is guaranteed to be legacy.
|
|
1395
|
+
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
1396
|
+
- `createSelector(s1: Selector, projector): MemoizedSelector<State, Result, typeof projector>`
|
|
1397
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1398
|
+
- `createSelector(selectors, projector): MemoizedSelector<State, Result, Result>`
|
|
1399
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1400
|
+
- `createSelector(...input): MemoizedSelector | MemoizedSelectorWithProps`
|
|
1401
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1402
|
+
- `createSelectorFactory(memoize: MemoizeFn): MemoizedSelector<T | V>`
|
|
1403
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1404
|
+
- `createSelectorFactory(memoize: MemoizeFn, options: SelectorFactoryConfig = { stateFn: defaultStateFn, })`
|
|
1405
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1406
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1407
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1408
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1409
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1410
|
+
- `defaultMemoize(projectionFn: AnyFn, isArgumentsEqual: unknown = isEqualCheck, isResultEqual: unknown = isEqualCheck): MemoizedProjection`
|
|
1411
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1412
|
+
- `defaultStateFn(state: any, selectors, props: any, memoizedProjector: MemoizedProjection): any`
|
|
1413
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1414
|
+
- `detectEuiVersion(tree: Tree): string | null` — Auto-detects the eUI version from the installed
|
|
1415
|
+
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1416
|
+
- `detectIndent(source: string, pos: number): string`
|
|
1417
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1418
|
+
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName: string = null, childConfig: LogConfig = {}): LogService`
|
|
1419
|
+
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1420
|
+
- `extractArgsFromSelectorsDictionary(selectorsDictionary: Record): unknown`
|
|
1421
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1422
|
+
- `extractArrayProperty(decorator, propName: string, source: string): string[]`
|
|
1423
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1424
|
+
- `extractAttrName(insertion: string): string`
|
|
1425
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1426
|
+
- `extractBindingValue(input: TmplAstBoundAttribute, source: string): string`
|
|
1427
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1428
|
+
- `extractHandlerExpression(output: TmplAstBoundEvent, source: string): string`
|
|
1429
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1430
|
+
- `findChildChips(nodes): TmplAstElement[]`
|
|
1431
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1432
|
+
- `findComponentDecorators(sourceFile): ComponentInfo[]`
|
|
1433
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1434
|
+
- `findComponentDecorators(sourceFile): ts.Decorator[]`
|
|
1435
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1436
|
+
- `findDeclaringModule(modules, componentClassName: string): NgModuleInfo | undefined`
|
|
1437
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1438
|
+
- `findDecoratorImportsArray(sf, source: string, decoratorStartHint: number): ImportsArrayInfo | null`
|
|
1439
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1440
|
+
- `findDirectChild(element: TmplAstElement, name: string): TmplAstElement | undefined`
|
|
1441
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1442
|
+
- `findElements(nodes, name: string): TmplAstElement[]`
|
|
1443
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1444
|
+
- `findImportsArrayInSource(sf): ts.ArrayLiteralExpression | null`
|
|
1445
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1446
|
+
- `findImportsArrayNode(decorator): ts.ArrayLiteralExpression | undefined`
|
|
1447
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1448
|
+
- `findLabelElement(nodes): TmplAstElement | null`
|
|
1449
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1450
|
+
- `findSelectorsInTemplate(html: string, knownSelectors): Set<string>`
|
|
1451
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1452
|
+
- `fixNoMultipleEmptyLines(options: Schema = {}): Rule`
|
|
1453
|
+
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
1454
|
+
- `formatInnerLines(source: string, indent: string): string[]`
|
|
1455
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1456
|
+
- `getAttributeSpan(attr): { start: number; end: number }`
|
|
1457
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1458
|
+
- `getAttributeSpan(attr): { start: number; end: number }`
|
|
1459
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1460
|
+
- `getAttributeSpan(attr): { start: number; end: number }`
|
|
1461
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1462
|
+
- `getAttributeSpan(attr): { start: number; end: number }`
|
|
1463
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1464
|
+
- `getAttributeText(source: string, element: TmplAstElement, tagName: string): string`
|
|
1465
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1466
|
+
- `getClassNamesForArray(arrayName: string): string[]` — Given a classArray name, returns all class names that belong to that array. Used to detect when individual class names can be consolidated into a spread.
|
|
1467
|
+
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
1468
|
+
- `getCoreChildProviders(moduleName: string): Provider[]`
|
|
1469
|
+
Defined in `packages/core/src/lib/services/app/eui-startup.ts`
|
|
1470
|
+
- `getCoreProviders(): Provider[]`
|
|
1471
|
+
Defined in `packages/core/src/lib/services/app/eui-startup.ts`
|
|
1472
|
+
- `getDependencyProviders(): Provider[]`
|
|
1473
|
+
Defined in `packages/core/src/lib/services/app/eui-startup.ts`
|
|
1474
|
+
- `getEndImportBlockPos(lines): number` — Finds the position where the import block ends. Looks for
|
|
1475
|
+
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1476
|
+
- `getExistingAttrNames(element: TmplAstElement): Set<string>`
|
|
1477
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1478
|
+
- `getFilesFromTree(tree: Tree, dirPath: string, extensions): string[]` — Collects all file paths matching given extensions under a directory in the Tree.
|
|
1479
|
+
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1480
|
+
- `getGlobalConfig(appConfig: EuiAppConfig): GlobalConfig`
|
|
1481
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1482
|
+
- `getHttpErrorHandlingConfig(appConfig: EuiAppConfig): HttpErrorHandlerConfig`
|
|
1483
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1484
|
+
- `getIndent(source: string, offset: number): string`
|
|
1485
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1486
|
+
- `getInnerText(source: string, element: TmplAstElement): string`
|
|
1487
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1488
|
+
- `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector: Injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
|
|
1489
|
+
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1490
|
+
- `getModuleConfig(appConfig: EuiAppConfig, moduleName: string): ModuleConfig`
|
|
1491
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1492
|
+
- `getRootLogConfig(appConfig: EuiAppConfig): LogConfig`
|
|
1493
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1494
|
+
- `getShowConnectionStatus(globalConfig: GlobalConfig): ConnectionStatus`
|
|
1495
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1496
|
+
- `getSiblingHtmlFiles(tree: Tree, tsFilePath: string): string[]` — Gets sibling HTML files for a given TS file path from the Tree.
|
|
1497
|
+
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1498
|
+
- `getTemplateContent(tree: Tree, tsPath: string, decorator, source: string): string | null`
|
|
1499
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1500
|
+
- `getTemplateSelectors(tree: Tree, tsPath: string, decorator, source: string): Set<string>`
|
|
1501
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1502
|
+
- `GrowlHttpErrorCallbackFn(error: HttpErrorResponse, injector: Injector): void`
|
|
1503
|
+
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1504
|
+
- `hasAttribute(element: TmplAstElement, name: string): boolean`
|
|
1505
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1506
|
+
- `hasEuiButtonAttribute(element: TmplAstElement): boolean`
|
|
1507
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1508
|
+
- `hasEuiTableAttribute(element: TmplAstElement): boolean`
|
|
1509
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1510
|
+
- `hasModuleInArray(array, moduleName: string, source: string): boolean`
|
|
1511
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1512
|
+
- `hasStandaloneFalse(decorator): boolean`
|
|
1513
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1514
|
+
- `iconMigrate(options: Schema): Rule`
|
|
1515
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1516
|
+
- `injectOptional(token, injector: unknown = inject(Injector)): T | null` — Safely resolves a service from the injector only when needed. Avoids instantiation errors that can occur with inject(..., { optional: true }) .
|
|
1517
|
+
Defined in `packages/core/src/lib/helpers/injector.ts`
|
|
1518
|
+
- `isArgumentsChanged(args: IArguments, lastArguments: IArguments, comparator: ComparatorFn)`
|
|
1519
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1520
|
+
- `isAvatarElement(element: TmplAstElement): boolean`
|
|
1521
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1522
|
+
- `isChipElement(element: TmplAstElement): boolean`
|
|
1523
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1524
|
+
- `isChipElement(element: TmplAstElement): boolean`
|
|
1525
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1526
|
+
- `isChipListElement(element: TmplAstElement): boolean`
|
|
1527
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1528
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1529
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1530
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1531
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1532
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1533
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1534
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1535
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1536
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1537
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1538
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1539
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1540
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1541
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1542
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1543
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1544
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1545
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1546
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1547
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1548
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
1549
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1550
|
+
- `isElement(node: TmplAstNode): TmplAstElement`
|
|
1551
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1552
|
+
- `isEqualCheck(a: any, b: any): boolean`
|
|
1553
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1554
|
+
- `isEuiElement(element: TmplAstElement): boolean`
|
|
1555
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1556
|
+
- `isLogConfigDefined(config: LogConfig): boolean` — Helper function to check if the log config is defined. Does not check only for empty object, because the config can have other (non-log) parameters
|
|
1557
|
+
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1558
|
+
- `isSelectorsDictionary(selectors): Record<string | Selector<unknown, unknown>>`
|
|
1559
|
+
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1560
|
+
- `isTemplateProperty(node): boolean`
|
|
1561
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1562
|
+
- `isTemplateProperty(node): boolean`
|
|
1563
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1564
|
+
- `isTemplateProperty(node): boolean`
|
|
1565
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1566
|
+
- `isTemplateProperty(node): boolean`
|
|
1567
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1568
|
+
- `isTemplateProperty(node): boolean`
|
|
1569
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1570
|
+
- `isTemplateProperty(node): boolean`
|
|
1571
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1572
|
+
- `isTemplateProperty(node): boolean`
|
|
1573
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1574
|
+
- `isTemplateProperty(node): boolean`
|
|
1575
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1576
|
+
- `isTemplateProperty(node): boolean`
|
|
1577
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1578
|
+
- `isTemplateProperty(node): boolean`
|
|
1579
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1580
|
+
- `isTemplateProperty(node): boolean`
|
|
1581
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1582
|
+
- `loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig>` — Function to load asynchronously a dynamic configuration (from a local path or a web service)
|
|
1583
|
+
Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
|
|
1584
|
+
- `localStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the local storage
|
|
1585
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1586
|
+
- `localStorageSync(reducer: ActionReducer): S` — Utility meta-reducer to load the state from the local storage
|
|
1587
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1588
|
+
- `localStorageSync(reducer: ActionReducer, platformId?): Function`
|
|
1589
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1590
|
+
- `logDryRun(context: SchematicContext, message: string): void`
|
|
1591
|
+
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
1592
|
+
- `logDryRunNote(context: SchematicContext): void`
|
|
1593
|
+
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
1594
|
+
- `LogHttpErrorCallbackFn(error: HttpErrorResponse, injector: Injector): void`
|
|
1595
|
+
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1596
|
+
- `logRemovalWarning(name: string, filePath: string, element: TmplAstElement, context: SchematicContext): void`
|
|
1597
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1598
|
+
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector: Injector = null): LogService` — Helper function to provide an instance of LogService from a configuration
|
|
1599
|
+
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1600
|
+
- `mapIconSuffix(icon: string): string | undefined`
|
|
1601
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1602
|
+
- `matchElement(element: TmplAstElement, matched): void`
|
|
1603
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1604
|
+
- `matchSelectorsInTemplate(html: string): SelectorEntry[]`
|
|
1605
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1606
|
+
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler: EuiAppHandlersConfig): EuiAppConfig`
|
|
1607
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1608
|
+
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig: EuiAppJsonConfig, merge: Array, isDeepMerge: boolean): EuiAppConfig`
|
|
1609
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1610
|
+
- `migrate(options: Schema): Rule`
|
|
1611
|
+
Defined in `packages/core/schematics/migrate/index.ts`
|
|
1612
|
+
- `migrateAll(options: MigrateAllSchema): Rule`
|
|
1613
|
+
Defined in `packages/core/schematics/migrate-all/index.ts`
|
|
1614
|
+
- `migrateChipListElement(element: TmplAstElement, source: string, edits): void`
|
|
1615
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1616
|
+
- `migrateEuiAccent(options: Schema = {}): Rule`
|
|
1617
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1618
|
+
- `migrateEuiAlert(options: Schema = {}): Rule`
|
|
1619
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1620
|
+
- `migrateEuiAvatar(options: Schema = {}): Rule`
|
|
1621
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1622
|
+
- `migrateEuiButton(options: Schema = {}): Rule`
|
|
1623
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1624
|
+
- `migrateEuiChip(options: Schema = {}): Rule`
|
|
1625
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1626
|
+
- `migrateEuiChipList(options: Schema = {}): Rule`
|
|
1627
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1628
|
+
- `migrateEuiDiscussionThread(options: Schema = {}): Rule`
|
|
1629
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1630
|
+
- `migrateEuiEditor(options: Schema = {}): Rule`
|
|
1631
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1632
|
+
- `migrateEuiFieldset(options: Schema = {}): Rule`
|
|
1633
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1634
|
+
- `migrateEuiIconSvg(options: Schema = {}): Rule`
|
|
1635
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1636
|
+
- `migrateEuiIconToggle(options: Schema = {}): Rule`
|
|
1637
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1638
|
+
- `migrateEuiPopover(options: Schema = {}): Rule`
|
|
1639
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1640
|
+
- `migrateEuiProgressCircle(options: Schema = {}): Rule`
|
|
1641
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1642
|
+
- `migrateEuiTable(options: Schema = {}): Rule`
|
|
1643
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1644
|
+
- `migrateEuiTabs(options: Schema = {}): Rule`
|
|
1645
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1646
|
+
- `migrateEuiToolbarMenu(options: Schema = {}): Rule`
|
|
1647
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1648
|
+
- `migrateImportsAndTypes(source: string, filePath: string, context: SchematicContext): string`
|
|
1649
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1650
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1651
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1652
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1653
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1654
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1655
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1656
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1657
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1658
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1659
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1660
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1661
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1662
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1663
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1664
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1665
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1666
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1667
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1668
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1669
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1670
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1671
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1672
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1673
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1674
|
+
- `migrateInlineTemplates(source: string): string`
|
|
1675
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1676
|
+
- `migrateInlineTemplates(source: string, filePath: string, context: SchematicContext): MigrationResult`
|
|
1677
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1678
|
+
- `migrateInlineTemplates(source: string, filePath: string, context: SchematicContext): string`
|
|
1679
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1680
|
+
- `migrateTemplate(source: string): string`
|
|
1681
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1682
|
+
- `migrateTemplate(source: string): string`
|
|
1683
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1684
|
+
- `migrateTemplate(source: string): string`
|
|
1685
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1686
|
+
- `migrateTemplate(source: string): string`
|
|
1687
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1688
|
+
- `migrateTemplate(source: string): string`
|
|
1689
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1690
|
+
- `migrateTemplate(source: string): string`
|
|
1691
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1692
|
+
- `migrateTemplate(source: string): string`
|
|
1693
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1694
|
+
- `migrateTemplate(source: string): string`
|
|
1695
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1696
|
+
- `migrateTemplate(source: string): string`
|
|
1697
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1698
|
+
- `migrateTemplate(source: string): string`
|
|
1699
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1700
|
+
- `migrateTemplate(source: string): string`
|
|
1701
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1702
|
+
- `migrateTemplate(source: string): string`
|
|
1703
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1704
|
+
- `migrateTemplate(source: string): string`
|
|
1705
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1706
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
1707
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1708
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): MigrationResult`
|
|
1709
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1710
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
1711
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1712
|
+
- `migrateTemplateWithPaginator(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1713
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1714
|
+
- `migrateToStandalone(options: Schema = {}): Rule`
|
|
1715
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1716
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1717
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1718
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
1719
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1720
|
+
- `parseSelector(raw: string): { element: string | null; attributes: string[] }` — Parses a raw CSS-like selector string into element + attributes. Examples: "button\[euiButton\]" → { element: "button", attributes: \["euiButton"\] } "\[euiTooltip\]" → { element: null, attributes: \["euiTooltip"\] } "eui-tabs" → { element: "eui-tabs", attributes: \[\] } "input\[euiInputNumber\]\[formControlName\]" → { element: "input", attributes: \["euiInputNumber", "formControlName"\] }
|
|
1721
|
+
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
1722
|
+
- `preInitApp(envConfig: EuiEnvConfig): Promise<EuiEnvConfig>` — Function to be used before the AppModule is bootstrapped. It is currently used to load dynamic configurations. It needs to be added in your application main.ts file.
|
|
1723
|
+
Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
|
|
1724
|
+
- `prepareEuiAppConfigToken(euiConfig: EuiConfig): EuiAppConfig`
|
|
1725
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1726
|
+
- `provideEuiInitializer(): EnvironmentProviders` — Initializes the app with the necessary configurations. Use this in combination with provideAppInitializer(euiInitApp\_Env)
|
|
1727
|
+
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
1728
|
+
- `removalEdit(node, source: string): Edit`
|
|
1729
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1730
|
+
- `removeAttribute(start: number, end: number, source: string, edits): void`
|
|
1731
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1732
|
+
- `removeElementRanges(source: string, parent: TmplAstElement, elements): string`
|
|
1733
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1734
|
+
- `removeFromEsImports(source: string, filePath: string, symbolsToRemove): string`
|
|
1735
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1736
|
+
- `removeImportSpecifier(namedImports, specifier, sourceFile, edits): void`
|
|
1737
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1738
|
+
- `renameTsProperties(source: string): string`
|
|
1739
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1740
|
+
- `renameTsPropertyAccesses(source: string): string`
|
|
1741
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1742
|
+
- `renameTsPropertyAccesses(source: string): string`
|
|
1743
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1744
|
+
- `renameTsPropertyAccesses(source: string): string`
|
|
1745
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1746
|
+
- `replaceEclAllModule(tree: Tree, filePath: string, content: string): string` — Replaces EclAllModule with specific ECL component imports detected from sibling HTML files.
|
|
1747
|
+
Defined in `packages/core/schematics/migrate/replacements/eui-modules.ts`
|
|
1748
|
+
- `replaceEuiAllModule(tree: Tree, filePath: string, content: string): string` — Replaces EuiAllModule with specific component imports detected from sibling HTML files.
|
|
1749
|
+
Defined in `packages/core/schematics/migrate/replacements/eui-modules.ts`
|
|
1750
|
+
- `replaceEuiBreakingChanges(lines, index: number): boolean` — Applies EUI and ECL breaking change replacements to a single line. Ported from csdr-engine/migrate/index.js replaceEuiBreakingChanges. Returns true if the line was modified.
|
|
1751
|
+
Defined in `packages/core/schematics/migrate/replacements/breaking-changes.ts`
|
|
1752
|
+
- `replaceEuiModules(fileContent: string, lines): { updated: boolean; lines: string[] }` — Replaces individual EUI module references with their new standalone imports. Handles import statements (removes module, adds new import) and usage in arrays (replaces with spread).
|
|
1753
|
+
Defined in `packages/core/schematics/migrate/replacements/eui-modules.ts`
|
|
1754
|
+
- `replaceIcons(lines, index: number): boolean` — Replaces old icon names with new ones in a single line. Only replaces in quoted strings, skipping import lines and element tags. Returns true if the line was modified.
|
|
1755
|
+
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
1756
|
+
- `replaceIconsInTemplate(content: string): { content: string; count: number }` — Replaces icon values in HTML template content by matching component selectors and their icon inputs. Handles both static bindings (icon="value") and bound bindings (\[icon\]="'value'").
|
|
1757
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1758
|
+
- `replaceIconsInTypeScript(content: string): { content: string; count: number }` — Replaces icon string literals in TypeScript files where icons are assigned to component inputs. Targets patterns like: icon = 'eui-delete', icon: 'eui-delete', expandedSvgIconClass: 'eui-chevron-right'
|
|
1759
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1760
|
+
- `replaceInImportsArray(source: string, sourceFile, replacements: Map): string`
|
|
1761
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1762
|
+
- `replaceMwp(filePath: string, lines, index: number): boolean` — Applies MyWorkplace-specific replacements to a single line. Ported from csdr-engine/migrate/index.js replaceMwp. Returns true if the line was modified.
|
|
1763
|
+
Defined in `packages/core/schematics/migrate/replacements/mwp.ts`
|
|
1764
|
+
- `resolveIcon(icon: string): string | undefined` — Resolve icon: first try exact match in ICON\_MAP, then apply suffix mapping
|
|
1765
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1766
|
+
- `resolveImports(matched, useClassArray: boolean): ImportToAdd[]`
|
|
1767
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1768
|
+
- `sessionStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
|
|
1769
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1770
|
+
- `sessionStorageSync(reducer: ActionReducer): S` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
|
|
1771
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1772
|
+
- `sessionStorageSync(reducer: ActionReducer, platformId?): Function`
|
|
1773
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1774
|
+
- `transformTranslations(translations: T): T` — Recursively walks a translation object and converts all legacy {{var}} interpolations to ICU-compatible {var} format in string leaf values.
|
|
1775
|
+
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
1776
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1777
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1778
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1779
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1780
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1781
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1782
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1783
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1784
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1785
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1786
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1787
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1788
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1789
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1790
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1791
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1792
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1793
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1794
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1795
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1796
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
1797
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1798
|
+
- `updateDecoratorImportsArray(source: string, filePath: string, arrayNode, toAdd, toRemove): string`
|
|
1799
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1800
|
+
- `updateEsImports(source: string, filePath: string, replacements: Map): string`
|
|
1801
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1802
|
+
- `visitAstForPipes(ast: AST, edits): void`
|
|
1803
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1804
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1805
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1806
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1807
|
+
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
1808
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1809
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1810
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1811
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1812
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1813
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1814
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1815
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1816
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1817
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1818
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1819
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1820
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1821
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1822
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1823
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1824
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1825
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1826
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1827
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1828
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1829
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1830
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1831
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1832
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1833
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1834
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1835
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1836
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1837
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1838
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1839
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1840
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
1841
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1842
|
+
- `visitExpressionForPipes(expr: AST, edits): void`
|
|
1843
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1844
|
+
- `visitNodes(nodes, edits): void`
|
|
1845
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1846
|
+
- `visitNodes(nodes, removals): void`
|
|
1847
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1848
|
+
- `visitNodes(nodes, removals): void`
|
|
1849
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
1850
|
+
- `visitNodes(nodes, edits): void`
|
|
1851
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1852
|
+
- `visitNodes(nodes, removals): void`
|
|
1853
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1854
|
+
- `visitNodes(nodes, source: string, edits): void`
|
|
1855
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1856
|
+
- `visitNodes(nodes, source: string, removals): void`
|
|
1857
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1858
|
+
- `visitNodes(nodes, edits): void`
|
|
1859
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1860
|
+
- `visitNodes(nodes, edits): void`
|
|
1861
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1862
|
+
- `visitNodes(nodes, edits): void`
|
|
1863
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1864
|
+
- `visitNodes(nodes, edits): void`
|
|
1865
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1866
|
+
- `visitNodes(nodes, removals): void`
|
|
1867
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
1868
|
+
- `visitNodes(nodes, edits): void`
|
|
1869
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1870
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1871
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1872
|
+
- `visitNodesForTable(nodes, source: string, edits, insideEuiTable: boolean, filePath: string, context: SchematicContext): boolean`
|
|
1873
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1874
|
+
- `visitTemplateNodes(nodes, matched): void`
|
|
1875
|
+
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1876
|
+
- `warnPropertyAccesses(path: string, source: string, context: SchematicContext): void`
|
|
1877
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1878
|
+
- `warnRemovedProperties(sourceFile, filePath: string, context: SchematicContext): void`
|
|
1879
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1880
|
+
- `warnSetSort(source: string, filePath: string, context: SchematicContext): void`
|
|
1881
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1882
|
+
- `withoutOverlaps(changes): TextChange[]`
|
|
1883
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1884
|
+
|
|
1885
|
+
## Public type aliases
|
|
1886
|
+
|
|
1887
|
+
- `type ActionReducerMap = unknown`
|
|
1888
|
+
- `type AnyFn = function`
|
|
1889
|
+
- `type ComparatorFn = function`
|
|
1890
|
+
- `type CoreAppActions = InitStoreAction | UpdateAppVersionAction | UpdateAppConnectionAction | AddAppLoadedConfigModulesAction | UpdateAppStatusAction | UpdateCurrentModuleAction | Act…` (deprecated: it will be removed in the next major version)
|
|
1891
|
+
- `type CoreI18nActions = UpdateI18nStateAction` (deprecated: it will be removed in the next major version)
|
|
1892
|
+
- `type CoreLocaleActions = UpdateLocaleStateAction` (deprecated: it will be removed in the next major version)
|
|
1893
|
+
- `type CoreNotificationsActions = UpdateNotificationsListAction` (deprecated: it will be removed in the next major version)
|
|
1894
|
+
- `type CoreUserActions = UpdateUserDetailsAction | UpdateUserPreferencesAction | UpdateUserRightsAction | UpdateUserDashboardAction` (deprecated: it will be removed in the next major version)
|
|
1895
|
+
- `type DefaultProjectorFn = function`
|
|
1896
|
+
- `type Handler = function`
|
|
1897
|
+
- `type LocaleMapper = function`
|
|
1898
|
+
- `type MemoizedProjection = { memoized: AnyFn; reset: void; setResult: void; clearResult: void }`
|
|
1899
|
+
- `type MemoizeFn = function`
|
|
1900
|
+
- `type Selector = function`
|
|
1901
|
+
- `type SelectorFactoryConfig = { stateFn: V }`
|
|
1902
|
+
- `type SelectorWithProps = function`
|
|
1903
|
+
|
|
1904
|
+
## Public enumerations
|
|
1905
|
+
|
|
1906
|
+
- `enum BrowserStorageType`
|
|
1907
|
+
- `local`
|
|
1908
|
+
- `session`
|
|
1909
|
+
|
|
1910
|
+
- `enum CoreAppActionTypes` (deprecated: it will be removed in the next major version)
|
|
1911
|
+
- `INIT_STORE = [App] Init store`
|
|
1912
|
+
- `UPDATE_APP_VERSION = [App] Update version`
|
|
1913
|
+
- `UPDATE_APP_CONNECTION = [App] Update connection`
|
|
1914
|
+
- `ADD_APP_LOADED_CONFIG_MODULES = [App] Update app loaded config modules`
|
|
1915
|
+
- `UPDATE_APP_STATUS = [App] Update status`
|
|
1916
|
+
- `UPDATE_CURRENT_MODULE = [App] Update current module`
|
|
1917
|
+
- `ACTIVATED_ROUTE = [App] Activated route`
|
|
1918
|
+
- `ADD_API_QUEUE_ITEM = [App] Add API queue item`
|
|
1919
|
+
- `REMOVE_API_QUEUE_ITEM = [App] Remove API queue item`
|
|
1920
|
+
- `EMPTY_API_QUEUE = [App] empty API queue`
|
|
1921
|
+
|
|
1922
|
+
- `enum CoreI18nActionTypes` (deprecated: it will be removed in the next major version)
|
|
1923
|
+
- `UPDATE_I18N_STATE = [I18n] Update I18n State`
|
|
1924
|
+
|
|
1925
|
+
- `enum CoreLocaleActionTypes` (deprecated: it will be removed in the next major version)
|
|
1926
|
+
- `UPDATE_LOCALE_STATE = [Locale] Update Locale State`
|
|
1927
|
+
|
|
1928
|
+
- `enum CoreNotificationsActionTypes` (deprecated: it will be removed in the next major version)
|
|
1929
|
+
- `UPDATE_NOTIFICATIONS_LIST = [Notif] Update list`
|
|
1930
|
+
|
|
1931
|
+
- `enum CoreUserActionTypes` (deprecated: it will be removed in the next major version)
|
|
1932
|
+
- `UPDATE_USER_STATE = [User] Update User state`
|
|
1933
|
+
- `UPDATE_USER_DETAILS = [User] Update details`
|
|
1934
|
+
- `UPDATE_USER_PREFERENCES = [User] Update preferences`
|
|
1935
|
+
- `UPDATE_USER_RIGHTS = [User] Update rights`
|
|
1936
|
+
- `UPDATE_USER_DASHBOARD = [User] Update dashboard`
|
|
1937
|
+
|
|
1938
|
+
- `enum EuiTheme`
|
|
1939
|
+
- `DEFAULT = default`
|
|
1940
|
+
- `ECL_EC = ecl-ec`
|
|
1941
|
+
- `ECL_EC_RTL = ecl-ec-rtl`
|
|
1942
|
+
- `ECL_EU = ecl-eu`
|
|
1943
|
+
- `ECL_EU_RTL = ecl-eu-rtl`
|
|
1944
|
+
- `DARK = dark`
|
|
1945
|
+
- `HIGH_CONTRAST = high-contrast`
|
|
1946
|
+
- `COMPACT = compact`
|
|
1947
|
+
|
|
1948
|
+
- `enum Status` — The status of a library
|
|
1949
|
+
- `LOADING = loading`
|
|
1950
|
+
- `LOADED = loaded`
|
|
1951
|
+
- `ERROR = error`
|
|
1952
|
+
|
|
1953
|
+
## Public variables
|
|
1954
|
+
|
|
1955
|
+
- `actionToReducerMap: { } = { [CoreAppActionTypes.UPDATE_APP_VERSION]: updateAppVersion, [CoreAppActionTypes.UPDATE_APP_CONNECTION]: updateAppConnection, [CoreAppActionTypes.UPDATE_APP_STA…`
|
|
1956
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
1957
|
+
- `actionToReducerMap: { } = { [CoreI18nActionTypes.UPDATE_I18N_STATE]: updateI18nState, }` (deprecated: it will be removed in the next major version)
|
|
1958
|
+
Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
|
|
1959
|
+
- `actionToReducerMap: { } = { [CoreLocaleActionTypes.UPDATE_LOCALE_STATE]: updateLocaleState, }` (deprecated: it will be removed in the next major version)
|
|
1960
|
+
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
1961
|
+
- `actionToReducerMap: { } = { [CoreNotificationsActionTypes.UPDATE_NOTIFICATIONS_LIST]: updateNotificationsList, }`
|
|
1962
|
+
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
1963
|
+
- `actionToReducerMap: { } = { [CoreUserActionTypes.UPDATE_USER_DETAILS]: updateUserDetails, [CoreUserActionTypes.UPDATE_USER_PREFERENCES]: updateUserPreferences, [CoreUserActionTypes.UPDAT…`
|
|
1964
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
1965
|
+
- `addApiQueueItem: unknown = (state: AppState, action: AddApiQueueItemAction): AppState => { // apply the timestamp to the queue item const apiQueueItem = Object.assign({}, action.payload.i…`
|
|
1966
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
1967
|
+
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName, moduleConfig }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: { lastAddedModule: action.moduleNa…`
|
|
1968
|
+
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
1969
|
+
- `BASE_LOGGER_NAME_TOKEN: unknown = new InjectionToken<string>('BASE_LOGGER_NAME')`
|
|
1970
|
+
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
1971
|
+
- `BASE_NAME_TOKEN: unknown = new InjectionToken<string>('baseName')`
|
|
1972
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1973
|
+
- `cb: unknown = <S extends CoreState>(reducer: ActionReducer<S>, storage: Storage | null) => (state: S, action: Action): S => { if (action.type === CoreAppActionTypes.INIT_STOR…`
|
|
1974
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1975
|
+
- `CHIP_ATTR: string = 'euiChip'`
|
|
1976
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1977
|
+
- `CHIP_LIST_ATTR: string = 'euiChipList'`
|
|
1978
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1979
|
+
- `CHIP_LIST_TAG: string = 'eui-chip-list'`
|
|
1980
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1981
|
+
- `CHIP_TAG: string = 'eui-chip'`
|
|
1982
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1983
|
+
- `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element = target; while (element && element.nodeType === Node.ELEMENT_NODE) { if (element.…`
|
|
1984
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
1985
|
+
- `COMPONENT_TAG: string = 'eui-discussion-thread'`
|
|
1986
|
+
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1987
|
+
- `COMPONENT_TAG: string = 'eui-editor'`
|
|
1988
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1989
|
+
- `COMPONENT_TAG: string = 'eui-fieldset'`
|
|
1990
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
1991
|
+
- `COMPONENT_TAG: string = 'eui-icon-svg'`
|
|
1992
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
1993
|
+
- `COMPONENT_TAG: string = 'eui-icon-toggle'`
|
|
1994
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1995
|
+
- `CONFIG_TOKEN: unknown = new InjectionToken<EuiAppConfig>('finalConfigToken')`
|
|
1996
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1997
|
+
- `consumeEvent: unknown = (event: Event): boolean => { if (event) { event.preventDefault(); event.stopPropagation(); event.cancelBubble = true; } return false; }`
|
|
1998
|
+
Defined in `packages/core/src/lib/helpers/event-helpers.ts`
|
|
1999
|
+
- `CORE_ROOT_GUARD: unknown = new InjectionToken<void>('Internal Theme ForRoot Guard')`
|
|
2000
|
+
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2001
|
+
- `coreAppReducers: AppState = (state = initialAppState, action: CoreAppActions) => { if (actionToReducerMap[action.type]) { return actionToReducerMap[action.type](state, action); } // if the…` (deprecated: it will be removed in the next major version)
|
|
2002
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2003
|
+
- `coreLocaleReducers: LocaleState = ( state = initialLocaleState, action: CoreLocaleActions, ) => { if (actionToReducerMap[action.type]) { return actionToReducerMap[action.type](state, action); } …` (deprecated: it will be removed in the next major version)
|
|
2004
|
+
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2005
|
+
- `coreNotificationsReducers: NotificationsState = ( state = initialNotificationsState, action: CoreNotificationsActions, ) => { if (actionToReducerMap[action.type]) { return actionToReducerMap[action.type](stat…` (deprecated: it will be removed in the next major version)
|
|
2006
|
+
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2007
|
+
- `coreReducers: ActionReducerMap<CoreState, any> = Object.assign( {}, { app: coreAppReducers, user: coreUserReducers, notifications: coreNotificationsReducers, i18n: corI18nReducers, locale: coreLocaleReducers, …` (deprecated: it will be removed in the next major version)
|
|
2008
|
+
Defined in `packages/core/src/lib/services/store/reducers/core.reducers.ts`
|
|
2009
|
+
- `coreUserReducers: UserState = (state = initialUserState, action: CoreUserActions) => { if (actionToReducerMap[action.type]) { return actionToReducerMap[action.type](state, action); } return …` (deprecated: it will be removed in the next major version)
|
|
2010
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2011
|
+
- `corI18nReducers: I18nState = (state = initialI18nState, action: CoreI18nActions) => { if (actionToReducerMap[action.type]) { return actionToReducerMap[action.type](state, action); } return …` (deprecated: it will be removed in the next major version)
|
|
2012
|
+
Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
|
|
2013
|
+
- `createEuiCoreRootGuard: unknown = (core): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); } return '…`
|
|
2014
|
+
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2015
|
+
- `CYAN: string = '\x1b[36m'`
|
|
2016
|
+
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
2017
|
+
- `DEFAULT_EUI_APP_CONFIG: EuiAppConfig = { global: { ...DEFAULT_GLOBAL_CONFIG, }, }`
|
|
2018
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2019
|
+
- `DEFAULT_EUI_CONFIG: EuiConfig = { appConfig: { ...DEFAULT_EUI_APP_CONFIG, }, environment: { ...DEFAULT_EUI_ENV_CONFIG, }, }`
|
|
2020
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2021
|
+
- `DEFAULT_EUI_ENV_CONFIG: EuiEnvConfig = { envAppHandlersConfig: {}, }`
|
|
2022
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2023
|
+
- `DEFAULT_GLOBAL_CONFIG: GlobalConfig = { showConnectionStatus: { messageBox: { lifespan: 0, }, enabled: true, }, i18n: { i18nService: { ...DEFAULT_I18N_SERVICE_CONFIG, }, i18nLoader: { ...DEFAULT_I18…`
|
|
2024
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2025
|
+
- `DEFAULT_HTTP_ERROR_HANDLER_CONFIG: HttpErrorHandlerConfig = { routes: [], }`
|
|
2026
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2027
|
+
- `DEFAULT_I18N_LOADER_CONFIG: I18nLoaderConfig = {}`
|
|
2028
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2029
|
+
- `DEFAULT_I18N_SERVICE_CONFIG: I18nServiceConfig = { languages: ['en'], defaultLanguage: 'en', }`
|
|
2030
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2031
|
+
- `DEFAULT_LANGUAGE: string = 'en'`
|
|
2032
|
+
Defined in `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
2033
|
+
- `DEFAULT_LOCALE_SERVICE_CONFIG: LocaleServiceConfig = { bindWithTranslate: false, }`
|
|
2034
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2035
|
+
- `DEFAULT_LOG_CONFIG: LogConfig = { baseLoggerName: 'root', logLevel: LogLevel.ERROR, logAppenders: { type: ConsoleAppender, prefixFormat: '[{level}]', }, }` — default log configuration
|
|
2036
|
+
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2037
|
+
- `diffDays: unknown = (dateStart: Date, dateEnd: Date): number => Math.round((dateEnd.getTime() - dateStart.getTime()) / 1000 / 60 / 60 / 24)`
|
|
2038
|
+
Defined in `packages/core/src/lib/helpers/date-helpers.ts`
|
|
2039
|
+
- `diffDaysFromToday: unknown = (date: Date): number => diffDays(new Date(), date)`
|
|
2040
|
+
Defined in `packages/core/src/lib/helpers/date-helpers.ts`
|
|
2041
|
+
- `disallowedKeys: [] = ['loadedConfigModules', 'connect', 'currentModule', 'status', 'apiQueue']`
|
|
2042
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2043
|
+
- `DYNAMIC_COMPONENT_CONFIG: unknown = new InjectionToken<object>('DYNAMIC_COMPONENT_CONFIG')`
|
|
2044
|
+
Defined in `packages/core/src/lib/services/dynamic-component/dynamic-component.service.ts`
|
|
2045
|
+
- `emptyApiQueue: unknown = (state: AppState, action: EmptyApiQueueAction): AppState => // remove all items in the Api Queue Object.assign({}, state, { apiQueue: {} })`
|
|
2046
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2047
|
+
- `errorCodes: object = { ERR_GENERIC: 'ERR_GENERIC', }`
|
|
2048
|
+
Defined in `packages/core/src/lib/services/errors/eui.error.ts`
|
|
2049
|
+
- `EUI_COMPONENTS_BASE: EuiComponentEntry[] = [ // ECL components { selectorPrefix: 'ecl-app', module: 'EclAppComponentModule', importObj: 'EUI_ECL_APP', importLocation: '@eui/ecl/components/ecl-app' }, { s…` — Full mapping of old EUI/ECL modules to their new standalone import equivalents. Ported from csdr-engine/migrate/index.js euiComponentsBase.
|
|
2050
|
+
Defined in `packages/core/schematics/migrate/replacements/eui-modules.ts`
|
|
2051
|
+
- `EUI_CONFIG_TOKEN: unknown = new InjectionToken<EuiConfig>('EuiConfig')`
|
|
2052
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2053
|
+
- `EUI_COUNTRIES: object = { AF: 'Afghanistan', AX: 'Aland Islands', AL: 'Albania', DZ: 'Algeria', AS: 'American Samoa', AD: 'Andorra', AO: 'Angola', AI: 'Anguilla', AQ: 'Antarctica', AG:…`
|
|
2054
|
+
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2055
|
+
- `EUI_DIRECTIVES: [] = ['euiButton', 'euiList', 'euiListItem']`
|
|
2056
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2057
|
+
- `EUI_TIMEZONES: EuiTimeZone[] = [ { name: 'Europe/Andorra', desc: 'Andorra - Andorra (GMT+02:00)' }, { name: 'Asia/Dubai', desc: 'United Arab Emirates - Dubai (GMT+04:00)' }, { name: 'Asia/Kab…`
|
|
2058
|
+
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2059
|
+
- `euiCoreRootGuardClass: unknown = (): EuiCoreRootGuardClass => new EuiCoreRootGuardClass()`
|
|
2060
|
+
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2061
|
+
- `filterAppState: unknown = (app: AppState): AppState => { // in case app is undefined or null it should return empty object if (!app) { return {}; } return ( Object.keys(app) // select ke…` (deprecated: it will be removed in the next major version) — filters the AppState by removing those keys from the state and return a new state Object
|
|
2062
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2063
|
+
- `formatNumber: unknown = (value: number | string, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = ''): string => { // in case value is not a number throw an error if (…` — Its job is to parse number and format it based on given input.
|
|
2064
|
+
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2065
|
+
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app.loadedConfigModules.lastAddedModule`
|
|
2066
|
+
Defined in `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
2067
|
+
- `getStyle: unknown = (nativeEl: Element, cssProp: keyof CSSStyleDeclaration): string => { /* istanbul ignore if */ if (getComputedStyle(nativeEl)) { return getComputedStyle(nativeEl…`
|
|
2068
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2069
|
+
- `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el: HTMLElement…`
|
|
2070
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2071
|
+
- `GLOBAL_CONFIG_TOKEN: unknown = new InjectionToken<GlobalConfig>('globalConfig')`
|
|
2072
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2073
|
+
- ``handleError: unknown = (error: HttpErrorResponse): Observable<never> => { const errMsg = error.message ? error.message : error.status ? `${error.status} - ${error.statusText}` : 'Serv…`` (deprecated: it will be removed in the future. Consult the angular documentation for a replacement.)
|
|
2074
|
+
Defined in `packages/core/src/lib/helpers/http-helpers.ts`
|
|
2075
|
+
- `HTTP_ERROR_HANDLER_CONFIG_TOKEN: unknown = new InjectionToken<HttpErrorHandlerConfig>('HTTP_ERROR_HANDLER_CONFIG')`
|
|
2076
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2077
|
+
- `ICON_INPUT_SELECTORS: literal type[] = [ { // <eui-icon-svg icon="..."> / <span euiIconSvg icon="..."> / <i euiIconSvg icon="..."> elements: ['eui-icon-svg'], attrs: ['icon'], }, { // <eui-icon-butto…` — Defines which components have icon inputs and what those input names are. Each entry maps element selectors to the input attribute names that hold icon values.
|
|
2078
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2079
|
+
- `ICON_MAP: literal type[] = [ { oldIcon: 'eui-alert-circle', newIcon: 'eui-state-danger' }, { oldIcon: 'eui-arrow-back', newIcon: 'eui-arrow-left' }, { oldIcon: 'eui-arrow-down-thin', newI…` — Icon mapping from old eUI icon names to new ones. Ported from csdr-engine/migrate/index.js replaceIcons.
|
|
2080
|
+
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
2081
|
+
- `iconLookup: unknown = new Map<string, string>()` — Build a lookup map for O(1) icon replacement
|
|
2082
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2083
|
+
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(null); const appConfig: EuiAppConfig =…`
|
|
2084
|
+
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2085
|
+
- `initialState: UIState = { appName: '', appShortName: '', appSubTitle: '', appBaseFontSize: '', isSidebarOpen: true, isSidebarActive: false, hasSidebar: false, hasSideContainer: false, …`
|
|
2086
|
+
Defined in `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
2087
|
+
- `initialState: ThemeState = { themes: [ { name: EuiTheme.DEFAULT, isActive: false, styleSheet: null, cssClass: null }, { name: EuiTheme.ECL_EC, isActive: false, styleSheet: 'eui-ecl-ec.css…`
|
|
2088
|
+
Defined in `packages/core/src/lib/services/eui-theme.service.ts`
|
|
2089
|
+
- `INPUT_RENAMES: unknown = new Map([ ['variant', 'fillColor'], ['aria-label', 'ariaLabel'], ])`
|
|
2090
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
2091
|
+
- `INPUT_RENAMES: unknown = new Map([ ['iconLabelClass', 'icon'], ['iconLabelStyleClass', 'fillColor'], ])`
|
|
2092
|
+
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
2093
|
+
- `isDefined: unknown = <T>(value: T | undefined | null): value is T => <T>value !== undefined && <T>value !== null` — check if a value is null or undefined. If it's not both returns true otherwise false
|
|
2094
|
+
Defined in `packages/core/src/lib/helpers/utils.ts`
|
|
2095
|
+
- `isStaticPositioned: unknown = (nativeEl: Element): boolean => (getStyle(nativeEl, 'position') || 'static') === 'static'` — Checks if a given element is statically positioned
|
|
2096
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2097
|
+
- `LANG_PARAM_KEY: string = 'X-Lang-Param'`
|
|
2098
|
+
Defined in `packages/core/src/lib/interceptors/add-lang-param.interceptor.ts`
|
|
2099
|
+
- `loadState: unknown = <S extends CoreState>(storage: Storage | null = null): S => { if (!storage) { return undefined; } try { // by default falls back to localStorage const serialize…` (deprecated: it will be removed in the next major version)
|
|
2100
|
+
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2101
|
+
- `LOCAL_FORAGE_SERVICE_CONFIG_TOKEN: unknown = new InjectionToken<any>('LOCAL_FORAGE_SERVICE_CONFIG')`
|
|
2102
|
+
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
2103
|
+
- `LOCALE_ID_MAPPER: unknown = new InjectionToken<LocaleMapper>('localeIdMapper')`
|
|
2104
|
+
Defined in `packages/core/src/lib/services/locale/locale.service.ts`
|
|
2105
|
+
- `localForage: any = 'defineDriver' in lf ? lf : lf['default']`
|
|
2106
|
+
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
2107
|
+
- `LOG_APPENDERS_TOKEN: unknown = new InjectionToken<LogAppender[]>('LOG_APPENDERS')`
|
|
2108
|
+
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2109
|
+
- `LOG_INSTANCES: object = {}`
|
|
2110
|
+
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2111
|
+
- `LOG_LEVEL_TOKEN: unknown = new InjectionToken<LogLevel>('LOG_LEVEL')`
|
|
2112
|
+
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2113
|
+
- `LOG_MODULE_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('LOG_CONFIG')`
|
|
2114
|
+
Defined in `packages/core/src/lib/services/log/log.module.ts`
|
|
2115
|
+
- `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = group.controls[key]; if (abstractContro…`
|
|
2116
|
+
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2117
|
+
- `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object, iteratee): void => { object = Object(object); Object.k…`
|
|
2118
|
+
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2119
|
+
- `messages: object = { ERR_GENERIC: 'An error occured', }`
|
|
2120
|
+
Defined in `packages/core/src/lib/services/errors/eui.error.ts`
|
|
2121
|
+
- `MODULE_CONFIG_TOKEN: unknown = new InjectionToken<ModuleConfig>('moduleConfig')`
|
|
2122
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2123
|
+
- `MODULE_MAPPINGS: Record<string, ModuleMapping> = { EuiAccordionModule: { importPath: '@eui/components/eui-accordion', selectors: { 'eui-accordion': 'EuiAccordionComponent', 'eui-accordion-item': 'EuiAccordionI…`
|
|
2124
|
+
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2125
|
+
- `MODULE_NAME_TOKEN: unknown = new InjectionToken<string>('moduleName')`
|
|
2126
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2127
|
+
- `MULTIPLE_EMPTY_LINES: unknown = /\n{3,}/g`
|
|
2128
|
+
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
2129
|
+
- `NEW_BODY: string = 'eui-tab-body'`
|
|
2130
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2131
|
+
- `NEW_COMPONENT: string = 'EuiToolbarMegaMenuComponent'`
|
|
2132
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2133
|
+
- `NEW_COMPONENT_PATH: string = '@eui/components/layout'`
|
|
2134
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2135
|
+
- `NEW_HEADER: string = 'eui-tab-header'`
|
|
2136
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2137
|
+
- `NEW_HEADER_LABEL: string = 'eui-tab-header-label'`
|
|
2138
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2139
|
+
- `NEW_HEADER_SUB_LABEL: string = 'eui-tab-header-sub-label'`
|
|
2140
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2141
|
+
- `NEW_INTERFACE: string = 'EuiMenuItem'`
|
|
2142
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2143
|
+
- `NEW_INTERFACE_PATH: string = '@eui/core'`
|
|
2144
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2145
|
+
- `NEW_NAME: string = 'euiPrimary'`
|
|
2146
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2147
|
+
- `NEW_NAME: string = 'euiCTAButton'`
|
|
2148
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
2149
|
+
- `NEW_NAME: string = 'contentChange'`
|
|
2150
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
2151
|
+
- `NEW_NAME: string = 'iconSvgName'`
|
|
2152
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
2153
|
+
- `NEW_NAME: string = 'iconSvgName'`
|
|
2154
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
2155
|
+
- `NEW_PIPE: string = 'euiTableHighlight'`
|
|
2156
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2157
|
+
- `NEW_TAG: string = 'eui-toolbar-mega-menu'`
|
|
2158
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2159
|
+
- `offset: unknown = (nativeEl: HTMLElement): { width: number; height: number; top: number; left: number } => { const boundingClientRect = nativeEl.getBoundingClientRect(); return {…` — Provides read-only equivalent of jQuery's offset function: http://api.jquery.com/offset/
|
|
2160
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2161
|
+
- `OLD_COMPONENT: string = 'EuiToolbarMenuComponent'`
|
|
2162
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2163
|
+
- `OLD_CONTENT: string = 'eui-tab-content'`
|
|
2164
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2165
|
+
- `OLD_INTERFACE: string = 'ToolbarItem'`
|
|
2166
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2167
|
+
- `OLD_LABEL: string = 'eui-tab-label'`
|
|
2168
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2169
|
+
- `OLD_NAME: string = 'euiAccent'`
|
|
2170
|
+
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2171
|
+
- `OLD_NAME: string = 'euiButtonCall'`
|
|
2172
|
+
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
2173
|
+
- `OLD_NAME: string = 'onEditorChanged'`
|
|
2174
|
+
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
2175
|
+
- `OLD_NAME: string = 'iconSvgType'`
|
|
2176
|
+
Defined in `packages/core/schematics/migrate-eui-fieldset/index.ts`
|
|
2177
|
+
- `OLD_NAME: string = 'iconSet'`
|
|
2178
|
+
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
2179
|
+
- `OLD_PIPE: string = 'euiTableHighlightFilter'`
|
|
2180
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2181
|
+
- `OLD_SUB_LABEL: string = 'euiTabSubLabel'`
|
|
2182
|
+
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2183
|
+
- `OLD_TAG: string = 'eui-toolbar-menu'`
|
|
2184
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2185
|
+
- `OUTPUT_RENAMES: unknown = new Map([['selectedRows', 'rowsSelect']])`
|
|
2186
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2187
|
+
- `PAGINATOR_COMPONENT: string = 'EuiPaginatorComponent'`
|
|
2188
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2189
|
+
- `PAGINATOR_IMPORT_PATH: string = '@eui/components/eui-paginator'`
|
|
2190
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2191
|
+
- `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent = nativeEl.offsetParent || document; while (offsetParent && offsetParent !== document && isSta…` — returns the closest, non-statically positioned parentOffset of a given element
|
|
2192
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2193
|
+
- `PLATFORM_BROWSER_ID: string = 'browser'`
|
|
2194
|
+
Defined in `packages/core/src/lib/services/store/store.service.mock.ts`
|
|
2195
|
+
- `position: unknown = (nativeEl: HTMLElement): { width: number; height: number; top: number; left: number } => { const elBCR = offset(nativeEl); let offsetParentBCR = { top: 0, left:…` — Provides read-only equivalent of jQuery's position function: http://api.jquery.com/position/
|
|
2196
|
+
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2197
|
+
- `PROPAGATED_INPUTS: unknown = new Set([ 'euiPrimary', 'euiSecondary', 'euiSuccess', 'euiInfo', 'euiWarning', 'euiDanger', 'euiAccent', 'euiVariant', 'euiSizeS', 'euiSizeVariant', 'euiOutline…`
|
|
2198
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2199
|
+
- `removeApiQueueItem: unknown = (state: AppState, action: RemoveApiQueueItemAction): AppState => { // remove the specified id from the list of item ids and recreate the apiQueue from the remai…`
|
|
2200
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2201
|
+
- `REMOVED_INPUTS: unknown = new Set(['alertIconType', 'alertIconFillColor', 'isMuted', 'isBordered'])`
|
|
2202
|
+
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
2203
|
+
- `REMOVED_INPUTS: unknown = new Set(['isFlat'])`
|
|
2204
|
+
Defined in `packages/core/schematics/migrate-eui-avatar/index.ts`
|
|
2205
|
+
- `REMOVED_INPUTS: unknown = new Set(['isSquared'])`
|
|
2206
|
+
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
2207
|
+
- `REMOVED_INPUTS: unknown = new Set(['maxVisibleChipsCount', 'isMaxVisibleChipsOpened', 'toggleLinkMoreLabel', 'toggleLinkLessLabel', 'isChipsSorted', 'chipsSortOrder'])`
|
|
2208
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2209
|
+
- `REMOVED_INPUTS: unknown = new Set(['type'])`
|
|
2210
|
+
Defined in `packages/core/schematics/migrate-eui-popover/index.ts`
|
|
2211
|
+
- `REMOVED_INPUTS: unknown = new Set(['euiTableBordered', 'isHoverable', 'defaultMultiOrder', 'paginable'])`
|
|
2212
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2213
|
+
- `REMOVED_OUTPUT: string = 'menuItemClick'`
|
|
2214
|
+
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2215
|
+
- `REMOVED_OUTPUTS: unknown = new Set(['multiSortChange'])`
|
|
2216
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2217
|
+
- `RESET: string = '\x1b[0m'`
|
|
2218
|
+
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
2219
|
+
- `ROOT_LOG_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('logConfig')`
|
|
2220
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2221
|
+
- ``roundUpNumber: unknown = (decimalPart: string, fractionSize: number): string => { return (Math.round(parseFloat(`0.${decimalPart}`) * Math.pow(10, fractionSize)) / Math.pow(10, fraction…``
|
|
2222
|
+
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2223
|
+
- `SELECTOR_MAP: SelectorEntry[] = buildSelectorMap()` — All known EUI selectors with their import metadata
|
|
2224
|
+
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
2225
|
+
- `SHOW_CONNECTION_STATUS_TOKEN: unknown = new InjectionToken<boolean>('SHOW_CONNECTION_STATUS')`
|
|
2226
|
+
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2227
|
+
- `SUFFIX_MAP: unknown[] = [ [':sharp', ':ion-filled'], [':outline', ':ion-outline'], ]` — Suffix-based mapping: :sharp -\> :ion-filled, :outline -\> :ion-outline
|
|
2228
|
+
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2229
|
+
- `TABLE_INPUT_RENAMES: unknown = new Map([ ['rows', 'data'], ['loading', 'isLoading'], ['asyncTable', 'isAsync'], ['euiTableResponsive', 'isTableResponsive'], ['euiTableFixedLayout', 'isTableFi…`
|
|
2230
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2231
|
+
- `testBed: unknown = getTestBed()`
|
|
2232
|
+
Defined in `packages/core/test-setup.ts`
|
|
2233
|
+
- `TH_TD_INPUT_RENAMES: unknown = new Map([ ['isStickyColumn', 'isStickyCol'], ['sortable', 'isSortable'], ])`
|
|
2234
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2235
|
+
- `TR_INPUT_RENAMES: unknown = new Map([ ['isSelectableHeader', 'isHeaderSelectable'], ['isSelectable', 'isDataSelectable'], ])`
|
|
2236
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2237
|
+
- `translateConfig: object = { loader: provideTranslateLoader(I18nLoader), }`
|
|
2238
|
+
Defined in `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
2239
|
+
- `TRANSLATED_STRING: string = 'i18n'`
|
|
2240
|
+
Defined in `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
2241
|
+
- `TRUNCATE_PIPE_IMPORT: string = 'EuiTruncatePipe'`
|
|
2242
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2243
|
+
- `TRUNCATE_PIPE_PATH: string = '@eui/components/pipes'`
|
|
2244
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2245
|
+
- `TS_PROPERTY_RENAMES: unknown = new Map([ ['variant', 'fillColor'], ])`
|
|
2246
|
+
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
2247
|
+
- `TS_PROPERTY_RENAMES: unknown = new Map([['filteredRows', 'getFilteredData']])`
|
|
2248
|
+
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2249
|
+
- `uniqueId: unknown = (): string => Math.random().toString(36).substring(2, 9)` — returns a random string with radix=36
|
|
2250
|
+
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2251
|
+
- `updateAppConnection: unknown = (state: AppState, action: UpdateAppConnectionAction): AppState => ({ ...state, connected: action.payload })`
|
|
2252
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2253
|
+
- `updateAppStatus: unknown = (state: AppState, action: UpdateAppStatusAction): AppState => ({ ...state, status: action.payload })`
|
|
2254
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2255
|
+
- `updateAppVersion: unknown = (state: AppState, action: UpdateAppVersionAction): AppState => ({ ...state, version: action.payload })`
|
|
2256
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2257
|
+
- `updateCurrentModule: unknown = (state: AppState, action: UpdateCurrentModuleAction): AppState => Object.assign({}, state, { currentModule: action.payload })`
|
|
2258
|
+
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2259
|
+
- `updateI18nState: unknown = (state: I18nState, action: UpdateI18nStateAction): {activeLang: string} => ({ ...state, ...action.payload, })` (deprecated: it will be removed in the next major version)
|
|
2260
|
+
Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
|
|
2261
|
+
- `updateLocaleState: unknown = (state: LocaleState, action: UpdateLocaleStateAction): LocaleState => ({ ...state, ...action.payload, })` (deprecated: it will be removed in the next major version)
|
|
2262
|
+
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2263
|
+
- `updateNotificationsList: unknown = (state: NotificationsState, action: UpdateNotificationsListAction): NotificationsState => Object.assign({}, state, { list: [...action.payload] })`
|
|
2264
|
+
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2265
|
+
- ``updateUser: unknown = (state: UserState, action: UpdateUserStateAction): UserState => { let fullName = action.payload.fullName; if (!fullName) { fullName = `${action.payload.firstNam…``
|
|
2266
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2267
|
+
- `updateUserDashboard: unknown = (state: UserState, action: UpdateUserDashboardAction): UserState & { preferences: UserPreferences } => { // apply the dashboard to preferences const preferences…`
|
|
2268
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2269
|
+
- ``updateUserDetails: unknown = (state: UserState, action: UpdateUserDetailsAction): UserState => { let fullName = action.payload.fullName; if (!fullName) { fullName = `${action.payload.firstN…``
|
|
2270
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2271
|
+
- `updateUserPreferences: unknown = (state: UserState, action: UpdateUserPreferencesAction): UserState => { const preferences = Object.assign({}, state.preferences, action.payload); return Object.…`
|
|
2272
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2273
|
+
- `updateUserRights: unknown = (state: UserState, action: UpdateUserRightsAction): UserState => Object.assign({}, state, { rights: [...action.payload] })`
|
|
2274
|
+
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2275
|
+
- `UX_ERROR_MAPPING_HANDLER_TOKEN: unknown = new InjectionToken<ErrorMappingHandler>('UX_ERROR_MAPPING_HANDLER')`
|
|
2276
|
+
Defined in `packages/core/src/lib/interceptors/ux-request-error-model.interceptor.ts`
|
|
2277
|
+
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } => { const EMAIL_REGEXP = // eslint-disable-next-line max-len, no-useless-escape /^(([^<>()\[\]\\.,;:\s@…`
|
|
2278
|
+
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2279
|
+
- `WARN_PROPERTIES: unknown = new Set([...PROPAGATED_INPUTS, 'chipRemove', 'isChipsRemovable', 'chipsLabelTruncateCount', 'maxVisibleChipsCount', 'isMaxVisibleChipsOpened', 'toggleLinkMoreLa…`
|
|
2280
|
+
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2281
|
+
- `YELLOW: string = '\x1b[33m'`
|
|
2282
|
+
Defined in `packages/core/schematics/utils/dry-run.ts`
|