@eui/core 22.0.0-alpha.69 → 22.0.0-alpha.70

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/docs/changelog.html +10 -0
  3. package/docs/classes/EuiAppShellServiceMock.html +1 -1
  4. package/docs/injectables/ApiQueueService.html +2 -2
  5. package/docs/injectables/EuiTimezoneService.html +1 -1
  6. package/docs/injectables/I18nServiceMock.html +20 -5
  7. package/docs/injectables/StoreService.html +1 -1
  8. package/docs/interfaces/Edit-2.html +1 -1
  9. package/docs/interfaces/Edit-3.html +1 -1
  10. package/docs/interfaces/IEuiTheme.html +4 -4
  11. package/docs/interfaces/ModuleLoadEvent.html +2 -2
  12. package/docs/interfaces/Schema-13.html +8 -25
  13. package/docs/interfaces/Schema-14.html +6 -8
  14. package/docs/interfaces/Schema-15.html +14 -6
  15. package/docs/interfaces/Schema-16.html +23 -12
  16. package/docs/interfaces/Schema-5.html +2 -0
  17. package/docs/interfaces/Schema-6.html +14 -8
  18. package/docs/interfaces/Schema-7.html +8 -13
  19. package/docs/interfaces/Schema-8.html +2 -1
  20. package/docs/interfaces/TodoEdit.html +395 -0
  21. package/docs/js/menu-wc.js +3 -0
  22. package/docs/js/search/search_index.js +2 -2
  23. package/docs/json/documentation.json +1972 -1565
  24. package/docs/llms.txt +98 -83
  25. package/docs/miscellaneous/functions.html +768 -557
  26. package/docs/miscellaneous/variables.html +78 -38
  27. package/docs/overview.html +1 -1
  28. package/docs/properties.html +1 -1
  29. package/fesm2022/eui-core.mjs +67 -41
  30. package/fesm2022/eui-core.mjs.map +1 -1
  31. package/package.json +2 -2
  32. package/schematics/migrate-ecl-file/index.d.ts +3 -0
  33. package/schematics/migrate-ecl-file/index.js +17 -5
  34. package/schematics/migrate-ecl-file/index.js.map +1 -1
  35. package/schematics/migrate-ecl-icon/index.d.ts +2 -1
  36. package/schematics/migrate-ecl-icon/index.js +9 -4
  37. package/schematics/migrate-ecl-icon/index.js.map +1 -1
  38. package/schematics/migrate-ecl-link/index.d.ts +2 -1
  39. package/schematics/migrate-ecl-link/index.js +8 -3
  40. package/schematics/migrate-ecl-link/index.js.map +1 -1
  41. package/schematics/utils/todo-comment.d.ts +25 -0
  42. package/schematics/utils/todo-comment.js +47 -0
  43. package/schematics/utils/todo-comment.js.map +1 -0
  44. package/types/eui-core.d.ts +32 -32
  45. package/types/eui-core.d.ts.map +1 -1
package/docs/llms.txt CHANGED
@@ -1,6 +1,6 @@
1
1
  # eui documentation
2
2
 
3
- > Generated by compodoc 2.0.0 at 2026-11-17T12:21:38.143Z, llm-md export.
3
+ > Generated by compodoc 2.0.0 at 2026-11-18T09:51:04.202Z, llm-md export.
4
4
 
5
5
  ## Modules
6
6
 
@@ -69,10 +69,10 @@ Description: Service class for managing and processing a queue of API requests.
69
69
  Methods:
70
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
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'); } });
72
+ - `getQueueItem(id: string): Observable<ApiQueueItem | null>` — 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
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
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'); } });
75
+ - `processQueueItem(id: string): Observable<T | null>` — 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
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
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
78
 
@@ -202,7 +202,7 @@ File: `packages/core/src/lib/services/eui-timezone.service.ts`
202
202
 
203
203
  Methods:
204
204
  - `getCountries(): string[]` — Gets the list of ISO-codes for all countries
205
- - `getTimezone(tz: string): EuiTimeZone`
205
+ - `getTimezone(tz: string): EuiTimeZone | undefined`
206
206
  - `getTimezones(): EuiTimeZone[]`
207
207
  - `iso2country(iso: string): string` — Convert country ISO code to country name (in english)
208
208
 
@@ -353,7 +353,7 @@ Methods:
353
353
  - `handleAutoSave(): void`
354
354
  - `init(version?: string, storageType?: BrowserStorageType): void`
355
355
  - `select(key?: any): Observable<T['any']>`
356
- - `select(keyOrMapFn?: unknown | string): Observable<Partial | K>`
356
+ - `select(keyOrMapFn?: unknown | string): Observable<Partial | K | undefined>`
357
357
  - `updateState(state: DeepPartial<T>): void` — This method is used to update the state of the service with a new state.
358
358
  - `updateState(slice: DeepPartial<T>, reducer: function): void` (deprecated: it will be removed in next version. Use updateState(partialState: DeepPartial ) instead)
359
359
  - `updateState(state: DeepPartial<K>, reducer?: function): void`
@@ -583,7 +583,7 @@ Properties:
583
583
  File: `packages/core/src/lib/mocks/ux-app-shell-service.mock.ts`
584
584
 
585
585
  Properties:
586
- - `appRouter: object = { navigate: (url): string => url, }`
586
+ - `appRouter: object = { navigate: (url: string): string => url, }`
587
587
  - `breakpoints$: Observable<string> = this.breakpointSubject.asObservable()`
588
588
  - `breakpointSubject: BehaviorSubject<string> = new BehaviorSubject('')`
589
589
  - `state$: Observable<any> = of({})`
@@ -890,7 +890,7 @@ Properties:
890
890
 
891
891
  ### Edit
892
892
 
893
- File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
893
+ File: `packages/core/schematics/migrate-ecl-icon/index.ts`
894
894
 
895
895
  Properties:
896
896
  - `end: number`
@@ -899,7 +899,7 @@ Properties:
899
899
 
900
900
  ### Edit
901
901
 
902
- File: `packages/core/schematics/migrate-ecl-icon/index.ts`
902
+ File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
903
903
 
904
904
  Properties:
905
905
  - `end: number`
@@ -1047,10 +1047,10 @@ Properties:
1047
1047
  File: `packages/core/src/lib/services/eui-theme.service.ts`
1048
1048
 
1049
1049
  Properties:
1050
- - `cssClass: string`
1050
+ - `cssClass: string | null`
1051
1051
  - `isActive: boolean`
1052
1052
  - `name: EuiTheme`
1053
- - `styleSheet: string`
1053
+ - `styleSheet: string | null`
1054
1054
 
1055
1055
  ### ImportsArrayInfo
1056
1056
 
@@ -1166,7 +1166,7 @@ File: `packages/core/src/lib/services/i18n/i18n.service.ts`
1166
1166
 
1167
1167
  Properties:
1168
1168
  - `error?: any`
1169
- - `name: string`
1169
+ - `name: string | null | undefined`
1170
1170
  - `ready: boolean`
1171
1171
 
1172
1172
  ### ModuleMapping
@@ -1279,7 +1279,7 @@ Properties:
1279
1279
 
1280
1280
  File: `packages/core/schematics/migrate-ecl-file/index.ts`
1281
1281
 
1282
- Description: Migrates removed/renamed inputs on the ECL file components for v21 → v22. ecl-file (EclFileComponent): detailMeta → renamed to primaryMeta . If the element already has a primaryMeta , the two cannot be merged automatically, so detailMeta is left in place and a warning is emitted. meta → removed (no longer rendered). metaId → removed (no longer rendered). ecl-file-item (EclFileItemComponent): isDescription → removed (unused). label → renamed to eclTitle . Renames rewrite only the attribute/binding key, preserving the value and any binding brackets. Removals drop the whole attribute plus leading whitespace. Works on external .html templates and inline @Component templates.
1282
+ Description: Migrates removed/renamed inputs on the ECL file components for v21 → v22. ecl-file (EclFileComponent): detailMeta → renamed to primaryMeta . If the element already has a primaryMeta , the two cannot be merged automatically, so detailMeta is left in place and a warning is emitted. meta → removed (no longer rendered). metaId → removed (no longer rendered). ecl-file-item (EclFileItemComponent): isDescription → removed (unused). label → renamed to eclTitle . Cases that cannot be fixed automatically are reported with a warning and a TODO: \[eUI v22 migration\] HTML comment placed above the element. Renames rewrite only the attribute/binding key, preserving the value and any binding brackets. Removals drop the whole attribute plus leading whitespace. Works on external .html templates and inline @Component templates.
1283
1283
 
1284
1284
  Properties:
1285
1285
  - `dryRun?: boolean`
@@ -1287,9 +1287,9 @@ Properties:
1287
1287
 
1288
1288
  ### Schema
1289
1289
 
1290
- File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
1290
+ File: `packages/core/schematics/migrate-ecl-icon/index.ts`
1291
1291
 
1292
- Description: Migrates the removed ecl-inpage-navigation-item element selector to li\[eclInpageNavigationItem\] . In v22 the legacy ecl-inpage-navigation-item element selector was removed; the component only matches li\[eclInpageNavigationItem\] . This schematic rewrites \<ecl-inpage-navigation-item\> to \<li eclInpageNavigationItem\> (and the closing tag to \</li\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1292
+ Description: Migrates the ecl-icon iconSet input for ECL v21 → v22. In v22 EclIconSet became a strict union and the legacy 'social' alias was removed: iconSet="social" → iconSet="social-media" (both resolved to the same sprite; safe automatic rename). Any other static iconSet value that is not part of the supported union is now a TypeScript error. The schematic cannot know the intended set, so it reports a warning and adds a TODO: \[eUI v22 migration\] HTML comment above the element for manual review rather than guessing. Rewrites external .html templates and inline @Component templates. Only \<ecl-icon\> elements are considered.
1293
1293
 
1294
1294
  Properties:
1295
1295
  - `dryRun?: boolean`
@@ -1297,9 +1297,9 @@ Properties:
1297
1297
 
1298
1298
  ### Schema
1299
1299
 
1300
- File: `packages/core/schematics/migrate-ecl-icon/index.ts`
1300
+ File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
1301
1301
 
1302
- Description: Migrates the ecl-icon iconSet input for ECL v21 → v22. In v22 EclIconSet became a strict union and the legacy 'social' alias was removed: iconSet="social" → iconSet="social-media" (both resolved to the same sprite; safe automatic rename). Any other static iconSet value that is not part of the supported union is now a TypeScript error. The schematic cannot know the intended set, so it reports a warning for manual review rather than guessing. Rewrites external .html templates and inline @Component templates. Only \<ecl-icon\> elements are considered.
1302
+ Description: Migrates the removed ecl-inpage-navigation-item element selector to li\[eclInpageNavigationItem\] . In v22 the legacy ecl-inpage-navigation-item element selector was removed; the component only matches li\[eclInpageNavigationItem\] . This schematic rewrites \<ecl-inpage-navigation-item\> to \<li eclInpageNavigationItem\> (and the closing tag to \</li\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1303
1303
 
1304
1304
  Properties:
1305
1305
  - `dryRun?: boolean`
@@ -1309,7 +1309,7 @@ Properties:
1309
1309
 
1310
1310
  File: `packages/core/schematics/migrate-ecl-link/index.ts`
1311
1311
 
1312
- Description: Migrates removed eclLink (EclLinkDirective) inputs for ECL v21 → v22. Two inputs were removed: isHighlight : only the primary variant could be highlighted, so eclLink variant="primary" isHighlight becomes eclLink variant="primary-highlight" . The isHighlight attribute is removed and the variant value is set to primary-highlight . isNoVisited : had no effect; removed with no replacement. Only elements that carry the eclLink attribute are touched. The schematic rewrites external .html templates and inline @Component templates. Cases that cannot be rewritten safely (a bound \[isHighlight\]="expr" with a non-literal expression, or a bound \[variant\] that cannot be statically resolved) are left in place and reported as warnings for manual review.
1312
+ Description: Migrates removed eclLink (EclLinkDirective) inputs for ECL v21 → v22. Two inputs were removed: isHighlight : only the primary variant could be highlighted, so eclLink variant="primary" isHighlight becomes eclLink variant="primary-highlight" . The isHighlight attribute is removed and the variant value is set to primary-highlight . isNoVisited : had no effect; removed with no replacement. Only elements that carry the eclLink attribute are touched. The schematic rewrites external .html templates and inline @Component templates. Cases that cannot be rewritten safely (a bound \[isHighlight\]="expr" with a non-literal expression, or a bound \[variant\] that cannot be statically resolved) are left in place, reported as warnings and marked with a TODO: \[eUI v22 migration\] HTML comment above the element.
1313
1313
 
1314
1314
  Properties:
1315
1315
  - `dryRun?: boolean`
@@ -1357,9 +1357,9 @@ Properties:
1357
1357
 
1358
1358
  ### Schema
1359
1359
 
1360
- File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
1360
+ File: `packages/core/schematics/migrate-ecl-site-footer/index.ts`
1361
1361
 
1362
- Description: Flags usages of ECL members removed in v22 that have no automatic drop-in replacement. For each usage it: Logs a precise manual-action warning. Inserts a TODO: \[eUI v22 migration\] ... comment on the line above the usage so it is easy to locate in the editor. It makes no other edits — it never comments out, deletes, or rewrites the user's code. These removed members require a developer decision (they are components/directives with different APIs, or have no replacement), so the schematic only points at what needs attention and leaves the change to the developer. Searching a project for TODO: \[eUI v22 migration\] after the run surfaces every spot to migrate. Removed members handled: EclDatePickerDirective ( input\[eclDatePicker\] ) → EclDatePickerDuetDirective on \<duet-date-picker eclDatePicker\> . EUI\_ECL\_DATE\_PICKER — still exported (now provides the Duet directive); only the markup needs updating. EclSiteHeaderBannerTopComponent ( ecl-site-header-banner-top ) → removed, no replacement. EclPageHeaderNextComponent → removed, no longer exported. EclRadioHelpComponent ( \[eclRadioHelp\] ) → \[eclHelpBlock\] ( EclHelpBlockDirective ).
1362
+ Description: Migrates the removed ecl-site-footer element selector to footer\[eclSiteFooter\] . In v22 the ecl-site-footer element selector was removed; the component only matches footer\[eclSiteFooter\] . This schematic rewrites \<ecl-site-footer\> to \<footer eclSiteFooter\> (and the closing tag to \</footer\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1363
1363
 
1364
1364
  Properties:
1365
1365
  - `dryRun?: boolean`
@@ -1367,9 +1367,9 @@ Properties:
1367
1367
 
1368
1368
  ### Schema
1369
1369
 
1370
- File: `packages/core/schematics/migrate-ecl-site-footer/index.ts`
1370
+ File: `packages/core/schematics/migrate-ecl-tabs/index.ts`
1371
1371
 
1372
- Description: Migrates the removed ecl-site-footer element selector to footer\[eclSiteFooter\] . In v22 the ecl-site-footer element selector was removed; the component only matches footer\[eclSiteFooter\] . This schematic rewrites \<ecl-site-footer\> to \<footer eclSiteFooter\> (and the closing tag to \</footer\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1372
+ Description: Migrates the removed ecl-tab element selector to div\[eclTab\] . In v22 the legacy ecl-tab element selector was removed; the component only matches div\[eclTab\] . This schematic rewrites \<ecl-tab\> to \<div eclTab\> (and the closing tag to \</div\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1373
1373
 
1374
1374
  Properties:
1375
1375
  - `dryRun?: boolean`
@@ -1377,9 +1377,9 @@ Properties:
1377
1377
 
1378
1378
  ### Schema
1379
1379
 
1380
- File: `packages/core/schematics/migrate-ecl-tabs/index.ts`
1380
+ File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
1381
1381
 
1382
- Description: Migrates the removed ecl-tab element selector to div\[eclTab\] . In v22 the legacy ecl-tab element selector was removed; the component only matches div\[eclTab\] . This schematic rewrites \<ecl-tab\> to \<div eclTab\> (and the closing tag to \</div\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1382
+ Description: Migrates the removed ecl-timeline element selectors to their attribute-selector equivalents. In v22 the timeline element selectors were removed in favour of attribute selectors on specific host elements: ecl-timeline → ol\[eclTimeline\] ecl-timeline-item → li\[eclTimelineItem\] ecl-timeline-item-toggler → li\[eclTimelineItemToggler\] This schematic rewrites the element tags and injects the attribute directive (e.g. \<ecl-timeline\> → \<ol eclTimeline\> , \</ecl-timeline\> → \</ol\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1383
1383
 
1384
1384
  Properties:
1385
1385
  - `dryRun?: boolean`
@@ -1387,9 +1387,9 @@ Properties:
1387
1387
 
1388
1388
  ### Schema
1389
1389
 
1390
- File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
1390
+ File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
1391
1391
 
1392
- Description: Migrates the removed ecl-timeline element selectors to their attribute-selector equivalents. In v22 the timeline element selectors were removed in favour of attribute selectors on specific host elements: ecl-timeline → ol\[eclTimeline\] ecl-timeline-item → li\[eclTimelineItem\] ecl-timeline-item-toggler → li\[eclTimelineItemToggler\] This schematic rewrites the element tags and injects the attribute directive (e.g. \<ecl-timeline\> → \<ol eclTimeline\> , \</ecl-timeline\> → \</ol\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
1392
+ Description: Flags usages of ECL members removed in v22 that have no automatic drop-in replacement. For each usage it: Logs a precise manual-action warning. Inserts a TODO: \[eUI v22 migration\] ... comment on the line above the usage so it is easy to locate in the editor. It makes no other edits — it never comments out, deletes, or rewrites the user's code. These removed members require a developer decision (they are components/directives with different APIs, or have no replacement), so the schematic only points at what needs attention and leaves the change to the developer. Searching a project for TODO: \[eUI v22 migration\] after the run surfaces every spot to migrate. Removed members handled: EclDatePickerDirective ( input\[eclDatePicker\] ) → EclDatePickerDuetDirective on \<duet-date-picker eclDatePicker\> . EUI\_ECL\_DATE\_PICKER — still exported (now provides the Duet directive); only the markup needs updating. EclSiteHeaderBannerTopComponent ( ecl-site-header-banner-top ) → removed, no replacement. EclPageHeaderNextComponent → removed, no longer exported. EclRadioHelpComponent ( \[eclRadioHelp\] ) → \[eclHelpBlock\] ( EclHelpBlockDirective ).
1393
1393
 
1394
1394
  Properties:
1395
1395
  - `dryRun?: boolean`
@@ -1594,6 +1594,15 @@ Properties:
1594
1594
  - `theme: any`
1595
1595
  - `themes: IEuiTheme[]`
1596
1596
 
1597
+ ### TodoEdit
1598
+
1599
+ File: `packages/core/schematics/utils/todo-comment.ts`
1600
+
1601
+ Properties:
1602
+ - `end: number`
1603
+ - `replacement: string`
1604
+ - `start: number`
1605
+
1597
1606
  ### TranslationKeys
1598
1607
 
1599
1608
  File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
@@ -1666,10 +1675,10 @@ Properties:
1666
1675
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
1667
1676
  - `applyEdits(source: string, edits): string`
1668
1677
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
1669
- - `applyEdits(source: string, edits): string`
1670
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
1671
1678
  - `applyEdits(source: string, edits): string`
1672
1679
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
1680
+ - `applyEdits(source: string, edits): string`
1681
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
1673
1682
  - `applyEdits(source: string, edits): string`
1674
1683
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
1675
1684
  - `applyEdits(source: string, edits): string`
@@ -1758,7 +1767,7 @@ Properties:
1758
1767
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
1759
1768
  - `collectFileEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
1760
1769
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
1761
- - `collectFileItemEdits(element: TmplAstElement, source: string, edits): void`
1770
+ - `collectFileItemEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
1762
1771
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
1763
1772
  - `collectIconSetEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
1764
1773
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
@@ -1824,14 +1833,16 @@ Properties:
1824
1833
  Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
1825
1834
  - `createSelectorFactory(memoize: MemoizeFn, options: SelectorFactoryConfig = { stateFn: defaultStateFn, })`
1826
1835
  Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
1836
+ - `createTodoEdit(source: string, elementOffset: number, message: string): TodoEdit | null` — Builds an edit that inserts an HTML TODO comment in front of the element starting at elementOffset . When the element is the first thing on its line, the comment goes on its own line above it, using the same indentation. Otherwise (e.g. single-line inline templates) the comment is inserted inline. The comment is safe to embed in single, double and backtick quoted inline templates: quotes, backticks, ${ and -- are stripped from the message. Returns null when the same TODO is already directly above the element, so re-running the schematic does not duplicate it.
1837
+ Defined in `packages/core/schematics/utils/todo-comment.ts`
1827
1838
  - `deduplicateEdits(edits): Edit[]`
1828
1839
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
1829
1840
  - `deduplicateEdits(edits): Edit[]`
1830
1841
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
1831
- - `deduplicateEdits(edits): Edit[]`
1832
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
1833
1842
  - `deduplicateEdits(edits): Edit[]`
1834
1843
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
1844
+ - `deduplicateEdits(edits): Edit[]`
1845
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
1835
1846
  - `deduplicateEdits(edits): Edit[]`
1836
1847
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
1837
1848
  - `deduplicateEdits(edits): Edit[]`
@@ -1864,7 +1875,7 @@ Properties:
1864
1875
  Defined in `packages/core/schematics/migrate/utils.ts`
1865
1876
  - `detectIndent(source: string, pos: number): string`
1866
1877
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
1867
- - `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName: string = null, childConfig: LogConfig = {}): LogService`
1878
+ - `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName = null, childConfig: LogConfig = {}): LogService`
1868
1879
  Defined in `packages/core/src/lib/services/app/factories/log.ts`
1869
1880
  - `extractArgsFromSelectorsDictionary(selectorsDictionary: Record): unknown`
1870
1881
  Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
@@ -1940,7 +1951,7 @@ Properties:
1940
1951
  Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
1941
1952
  - `getLineStartPosition(source: string, pos: number): number` — Returns the index of the first character of the line containing pos .
1942
1953
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
1943
- - `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector: Injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
1954
+ - `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
1944
1955
  Defined in `packages/core/src/lib/services/app/factories/log.ts`
1945
1956
  - `getModuleConfig(appConfig: EuiAppConfig, moduleName: string): ModuleConfig`
1946
1957
  Defined in `packages/core/src/lib/services/config/tokens.ts`
@@ -1958,7 +1969,7 @@ Properties:
1958
1969
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
1959
1970
  - `GrowlHttpErrorCallbackFn(error: HttpErrorResponse, injector: Injector): void`
1960
1971
  Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
1961
- - `handleStaticValue(value: string, makeEdit, element: TmplAstElement, filePath: string, context: SchematicContext, edits): void` — Applies the shared rule for a statically known iconSet value: 'social' → rewrite to 'social-media' a supported value → leave as-is anything else → warn (unsupported in v22, no safe replacement)
1972
+ - `handleStaticValue(value: string, makeEdit, element: TmplAstElement, source: string, filePath: string, context: SchematicContext, edits): void` — Applies the shared rule for a statically known iconSet value: 'social' → rewrite to 'social-media' a supported value → leave as-is anything else → warn (unsupported in v22, no safe replacement)
1962
1973
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
1963
1974
  - `hasAttribute(element: TmplAstElement, name: string): boolean`
1964
1975
  Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
@@ -2002,10 +2013,10 @@ Properties:
2002
2013
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2003
2014
  - `isComponentMetadataProperty(node): boolean`
2004
2015
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2005
- - `isComponentMetadataProperty(node): boolean`
2006
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2007
2016
  - `isComponentMetadataProperty(node): boolean`
2008
2017
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2018
+ - `isComponentMetadataProperty(node): boolean`
2019
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2009
2020
  - `isComponentMetadataProperty(node): boolean`
2010
2021
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2011
2022
  - `isComponentMetadataProperty(node): boolean`
@@ -2016,14 +2027,14 @@ Properties:
2016
2027
  Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
2017
2028
  - `isComponentMetadataProperty(node): boolean`
2018
2029
  Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
2019
- - `isComponentMetadataProperty(node): boolean`
2020
- Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2021
2030
  - `isComponentMetadataProperty(node): boolean`
2022
2031
  Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
2023
2032
  - `isComponentMetadataProperty(node): boolean`
2024
2033
  Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
2025
2034
  - `isComponentMetadataProperty(node): boolean`
2026
2035
  Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
2036
+ - `isComponentMetadataProperty(node): boolean`
2037
+ Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2027
2038
  - `isComponentMetadataProperty(node): boolean`
2028
2039
  Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
2029
2040
  - `isComponentMetadataProperty(node): boolean`
@@ -2064,10 +2075,10 @@ Properties:
2064
2075
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2065
2076
  - `isTemplateProperty(node): boolean`
2066
2077
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2067
- - `isTemplateProperty(node): boolean`
2068
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2069
2078
  - `isTemplateProperty(node): boolean`
2070
2079
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2080
+ - `isTemplateProperty(node): boolean`
2081
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2071
2082
  - `isTemplateProperty(node): boolean`
2072
2083
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2073
2084
  - `isTemplateProperty(node): boolean`
@@ -2078,14 +2089,14 @@ Properties:
2078
2089
  Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
2079
2090
  - `isTemplateProperty(node): boolean`
2080
2091
  Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
2081
- - `isTemplateProperty(node): boolean`
2082
- Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2083
2092
  - `isTemplateProperty(node): boolean`
2084
2093
  Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
2085
2094
  - `isTemplateProperty(node): boolean`
2086
2095
  Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
2087
2096
  - `isTemplateProperty(node): boolean`
2088
2097
  Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
2098
+ - `isTemplateProperty(node): boolean`
2099
+ Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2089
2100
  - `isTemplateProperty(node): boolean`
2090
2101
  Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
2091
2102
  - `isTemplateProperty(node): boolean`
@@ -2110,13 +2121,13 @@ Properties:
2110
2121
  Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
2111
2122
  - `isTruthyLiteralBinding(input: TmplAstBoundAttribute, source: string): boolean` — A \[isHighlight\]="expr" binding is only safely convertible when expr is a literal that is always truthy ( true ). Anything else (a property, a ternary, false ) is conditional and must be handled by the developer.
2112
2123
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2113
- - `loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig>` — Function to load asynchronously a dynamic configuration (from a local path or a web service)
2124
+ - `loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig | null>` — Function to load asynchronously a dynamic configuration (from a local path or a web service)
2114
2125
  Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
2115
2126
  - `localStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the local storage
2116
2127
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2117
2128
  - `localStorageSync(reducer: ActionReducer): S` — Utility meta-reducer to load the state from the local storage
2118
2129
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2119
- - `localStorageSync(reducer: ActionReducer, platformId?): Function`
2130
+ - `localStorageSync(reducer, platformId?): Function`
2120
2131
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2121
2132
  - `logDryRun(context: SchematicContext, message: string): void`
2122
2133
  Defined in `packages/core/schematics/utils/dry-run.ts`
@@ -2126,7 +2137,7 @@ Properties:
2126
2137
  Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
2127
2138
  - `logRemovalWarning(name: string, filePath: string, element: TmplAstElement, context: SchematicContext): void`
2128
2139
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
2129
- - `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector: Injector = null): LogService` — Helper function to provide an instance of LogService from a configuration
2140
+ - `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogService` — Helper function to provide an instance of LogService from a configuration
2130
2141
  Defined in `packages/core/src/lib/services/app/factories/log.ts`
2131
2142
  - `mapIconSuffix(icon: string): string | undefined`
2132
2143
  Defined in `packages/core/schematics/icon-migrate/index.ts`
@@ -2134,9 +2145,9 @@ Properties:
2134
2145
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
2135
2146
  - `matchSelectorsInTemplate(html: string): SelectorEntry[]`
2136
2147
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
2137
- - `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler: EuiAppHandlersConfig): EuiAppConfig`
2148
+ - `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler): EuiAppConfig`
2138
2149
  Defined in `packages/core/src/lib/services/config/tokens.ts`
2139
- - `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig: EuiAppJsonConfig, merge: Array, isDeepMerge: boolean): EuiAppConfig`
2150
+ - `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge: Array, isDeepMerge: boolean): EuiAppConfig`
2140
2151
  Defined in `packages/core/src/lib/services/config/tokens.ts`
2141
2152
  - `migrate(options: Schema): Rule`
2142
2153
  Defined in `packages/core/schematics/migrate/index.ts`
@@ -2244,10 +2255,10 @@ Properties:
2244
2255
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2245
2256
  - `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
2246
2257
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2247
- - `migrateTemplate(source: string): string`
2248
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2249
2258
  - `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
2250
2259
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2260
+ - `migrateTemplate(source: string): string`
2261
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2251
2262
  - `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
2252
2263
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2253
2264
  - `migrateTemplate(source: string): string`
@@ -2306,10 +2317,10 @@ Properties:
2306
2317
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2307
2318
  - `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
2308
2319
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2309
- - `migrateTypeScript(source: string, filePath: string): string`
2310
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2311
2320
  - `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
2312
2321
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2322
+ - `migrateTypeScript(source: string, filePath: string): string`
2323
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2313
2324
  - `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
2314
2325
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2315
2326
  - `migrateTypeScript(source: string, filePath: string): string`
@@ -2396,6 +2407,8 @@ Properties:
2396
2407
  Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
2397
2408
  - `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.
2398
2409
  Defined in `packages/core/schematics/migrate/replacements/mwp.ts`
2410
+ - `reportManual(context: SchematicContext, filePath: string, element: TmplAstElement, source: string, edits, message: string): void` — Logs a warning and adds a TODO comment above the element for manual follow-up.
2411
+ Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2399
2412
  - `resolveElementToEuiClass(element: TmplAstElement): string | null` — Given a template element, resolves it to an EUI class name by checking: Tag name: → look up 'eui-alert' in EUI\_SELECTOR\_TO\_CLASS Attribute selectors: → look up 'input\[euiAutocomplete\]' or '\[euiAutocomplete\]'
2400
2413
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
2401
2414
  - `resolveEuiClassName(node, sourceFile, templateRefMap: Map): string | null` — Resolves the EUI class name from a property declaration. Checks: type annotation → decorator class argument → template ref map.
@@ -2406,11 +2419,13 @@ Properties:
2406
2419
  Defined in `packages/core/schematics/add-eui-imports/index.ts`
2407
2420
  - `resolveRefName(expr): string | null` — Resolves a reference name from an expression. Handles: ref , this.ref , this.\_ref
2408
2421
  Defined in `packages/core/schematics/migrate-to-signals/index.ts`
2422
+ - `sanitize(message: string): string`
2423
+ Defined in `packages/core/schematics/utils/todo-comment.ts`
2409
2424
  - `sessionStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
2410
2425
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2411
2426
  - `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
2412
2427
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2413
- - `sessionStorageSync(reducer: ActionReducer, platformId?): Function`
2428
+ - `sessionStorageSync(reducer, platformId?): Function`
2414
2429
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2415
2430
  - `setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit` — Replaces the value of a text attribute name="old" with a new value.
2416
2431
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
@@ -2428,10 +2443,10 @@ Properties:
2428
2443
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2429
2444
  - `unwrapExpression(expression): ts.Expression`
2430
2445
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2431
- - `unwrapExpression(expression): ts.Expression`
2432
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2433
2446
  - `unwrapExpression(expression): ts.Expression`
2434
2447
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2448
+ - `unwrapExpression(expression): ts.Expression`
2449
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2435
2450
  - `unwrapExpression(expression): ts.Expression`
2436
2451
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2437
2452
  - `unwrapExpression(expression): ts.Expression`
@@ -2442,14 +2457,14 @@ Properties:
2442
2457
  Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
2443
2458
  - `unwrapExpression(expression): ts.Expression`
2444
2459
  Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
2445
- - `unwrapExpression(expression): ts.Expression`
2446
- Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2447
2460
  - `unwrapExpression(expression): ts.Expression`
2448
2461
  Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
2449
2462
  - `unwrapExpression(expression): ts.Expression`
2450
2463
  Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
2451
2464
  - `unwrapExpression(expression): ts.Expression`
2452
2465
  Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
2466
+ - `unwrapExpression(expression): ts.Expression`
2467
+ Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2453
2468
  - `unwrapExpression(expression): ts.Expression`
2454
2469
  Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
2455
2470
  - `unwrapExpression(expression): ts.Expression`
@@ -2488,10 +2503,10 @@ Properties:
2488
2503
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2489
2504
  - `visitDir(dir: DirEntry, callback): void`
2490
2505
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2491
- - `visitDir(dir: DirEntry, callback): void`
2492
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2493
2506
  - `visitDir(dir: DirEntry, callback): void`
2494
2507
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2508
+ - `visitDir(dir: DirEntry, callback): void`
2509
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2495
2510
  - `visitDir(dir: DirEntry, callback): void`
2496
2511
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2497
2512
  - `visitDir(dir: DirEntry, callback): void`
@@ -2502,14 +2517,14 @@ Properties:
2502
2517
  Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
2503
2518
  - `visitDir(dir: DirEntry, callback): void`
2504
2519
  Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
2505
- - `visitDir(dir: DirEntry, callback): void`
2506
- Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2507
2520
  - `visitDir(dir: DirEntry, callback): void`
2508
2521
  Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
2509
2522
  - `visitDir(dir: DirEntry, callback): void`
2510
2523
  Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
2511
2524
  - `visitDir(dir: DirEntry, callback): void`
2512
2525
  Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
2526
+ - `visitDir(dir: DirEntry, callback): void`
2527
+ Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
2513
2528
  - `visitDir(dir: DirEntry, callback): void`
2514
2529
  Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
2515
2530
  - `visitDir(dir: DirEntry, callback): void`
@@ -2556,10 +2571,10 @@ Properties:
2556
2571
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
2557
2572
  - `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
2558
2573
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2559
- - `visitNodes(nodes, edits): void`
2560
- Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2561
2574
  - `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
2562
2575
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2576
+ - `visitNodes(nodes, edits): void`
2577
+ Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
2563
2578
  - `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
2564
2579
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2565
2580
  - `visitNodes(nodes, edits): void`
@@ -2612,8 +2627,6 @@ Properties:
2612
2627
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2613
2628
  - `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
2614
2629
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2615
- - `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
2616
- Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
2617
2630
  - `warnPropertyAccesses(path: string, source: string, context: SchematicContext): void`
2618
2631
  Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
2619
2632
  - `warnRemovedProperties(sourceFile, filePath: string, context: SchematicContext): void`
@@ -2705,7 +2718,7 @@ Properties:
2705
2718
  Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
2706
2719
  - `addApiQueueItem: unknown = (state: AppState, action: AddApiQueueItemAction): AppState => { // apply the timestamp to the queue item const apiQueueItem = Object.assign({}, action.payload.i…`
2707
2720
  Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
2708
- - `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName, moduleConfig }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: { lastAddedModule: action.moduleNa…`
2721
+ - `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName: string; moduleConfig: Record<string, unknown> }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: {…`
2709
2722
  Defined in `packages/core/src/lib/eui-core.module.ts`
2710
2723
  - `ATTRIBUTE: string = 'eclBreadcrumb'`
2711
2724
  Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
@@ -2735,7 +2748,7 @@ Properties:
2735
2748
  Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
2736
2749
  - `CHIP_TAG: string = 'eui-chip'`
2737
2750
  Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
2738
- - `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element = target; while (element && element.nodeType === Node.ELEMENT_NODE) { if (element.…`
2751
+ - `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element: HTMLElement | null = target; while (element && element.nodeType === Node.ELEMENT_…`
2739
2752
  Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
2740
2753
  - `COMPONENT_TAG: string = 'eui-discussion-thread'`
2741
2754
  Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
@@ -2753,19 +2766,19 @@ Properties:
2753
2766
  Defined in `packages/core/src/lib/helpers/event-helpers.ts`
2754
2767
  - `CORE_ROOT_GUARD: unknown = new InjectionToken<void>('Internal Theme ForRoot Guard')`
2755
2768
  Defined in `packages/core/src/lib/eui-core.module.ts`
2756
- - `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)
2769
+ - `coreAppReducers: AppState = (state = initialAppState, action: Action) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: AppState, action: CoreA…` (deprecated: it will be removed in the next major version)
2757
2770
  Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
2758
- - `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)
2771
+ - `coreLocaleReducers: LocaleState = ( state = initialLocaleState, action: Action, ) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: LocaleState, acti…` (deprecated: it will be removed in the next major version)
2759
2772
  Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
2760
- - `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)
2773
+ - `coreNotificationsReducers: NotificationsState = ( state = initialNotificationsState, action: Action, ) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: Notificati…` (deprecated: it will be removed in the next major version)
2761
2774
  Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
2762
2775
  - `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)
2763
2776
  Defined in `packages/core/src/lib/services/store/reducers/core.reducers.ts`
2764
- - `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)
2777
+ - `coreUserReducers: UserState = (state = initialUserState, action: Action) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: UserState, action: Cor…` (deprecated: it will be removed in the next major version)
2765
2778
  Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
2766
- - `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)
2779
+ - `corI18nReducers: I18nState = (state = initialI18nState, action: Action) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: I18nState, action: Cor…` (deprecated: it will be removed in the next major version)
2767
2780
  Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
2768
- - `createEuiCoreRootGuard: unknown = (core): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); } return '…`
2781
+ - `createEuiCoreRootGuard: unknown = (core: unknown): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); }…`
2769
2782
  Defined in `packages/core/src/lib/eui-core.module.ts`
2770
2783
  - `CYAN: string = '\x1b[36m'`
2771
2784
  Defined in `packages/core/schematics/utils/dry-run.ts`
@@ -2839,15 +2852,15 @@ Properties:
2839
2852
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2840
2853
  - `FILE_TAG: string = 'ecl-file'`
2841
2854
  Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
2842
- - `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
2855
+ - `filterAppState: unknown = (app: AppState): AppState => { // in case app is undefined or null it should return empty object if (!app) { return {}; } const source = app as Record<string, u…` (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
2843
2856
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2844
- - `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.
2857
+ - `formatNumber: unknown = (value: number | string, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = ''): string | null => { // in case value is not a number throw an err…` — Its job is to parse number and format it based on given input.
2845
2858
  Defined in `packages/core/src/lib/helpers/format-helpers.ts`
2846
- - `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app.loadedConfigModules.lastAddedModule`
2859
+ - `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app?.loadedConfigModules?.lastAddedModule as string`
2847
2860
  Defined in `packages/core/src/lib/services/i18n/i18n.service.ts`
2848
2861
  - `getStyle: unknown = (nativeEl: Element, cssProp: keyof CSSStyleDeclaration): string => { /* istanbul ignore if */ if (getComputedStyle(nativeEl)) { return getComputedStyle(nativeEl…`
2849
2862
  Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
2850
- - `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el: HTMLElement…`
2863
+ - `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el!: HTMLElemen…`
2851
2864
  Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
2852
2865
  - `GLOBAL_CONFIG_TOKEN: unknown = new InjectionToken<GlobalConfig>('globalConfig')`
2853
2866
  Defined in `packages/core/src/lib/services/config/tokens.ts`
@@ -2867,7 +2880,7 @@ Properties:
2867
2880
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2868
2881
  - `iconLookup: unknown = new Map<string, string>()` — Build a lookup map for O(1) icon replacement
2869
2882
  Defined in `packages/core/schematics/icon-migrate/index.ts`
2870
- - `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(null); const appConfig: EuiAppConfig =…`
2883
+ - `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(); const appConfig: EuiAppConfig = inj…`
2871
2884
  Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
2872
2885
  - `initialState: UIState = { appName: '', appShortName: '', appSubTitle: '', appBaseFontSize: '', isSidebarOpen: true, isSidebarActive: false, hasSidebar: false, hasSideContainer: false, …`
2873
2886
  Defined in `packages/core/src/lib/services/eui-app-shell.service.ts`
@@ -2895,7 +2908,7 @@ Properties:
2895
2908
  Defined in `packages/core/src/lib/interceptors/add-lang-param.interceptor.ts`
2896
2909
  - `LEGACY_VALUE: string = 'social'`
2897
2910
  Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
2898
- - `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)
2911
+ - `loadState: unknown = <S extends CoreState>(storage: Storage | null = null): S | undefined => { if (!storage) { return undefined; } try { // by default falls back to localStorage con…` (deprecated: it will be removed in the next major version)
2899
2912
  Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
2900
2913
  - `LOCAL_FORAGE_SERVICE_CONFIG_TOKEN: unknown = new InjectionToken<any>('LOCAL_FORAGE_SERVICE_CONFIG')`
2901
2914
  Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
@@ -2905,17 +2918,17 @@ Properties:
2905
2918
  Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
2906
2919
  - `LOG_APPENDERS_TOKEN: unknown = new InjectionToken<LogAppender[]>('LOG_APPENDERS')`
2907
2920
  Defined in `packages/core/src/lib/services/log/log.service.ts`
2908
- - `LOG_INSTANCES: object = {}`
2921
+ - `LOG_INSTANCES: Record<string, LogService> = {}`
2909
2922
  Defined in `packages/core/src/lib/services/app/factories/log.ts`
2910
2923
  - `LOG_LEVEL_TOKEN: unknown = new InjectionToken<LogLevel>('LOG_LEVEL')`
2911
2924
  Defined in `packages/core/src/lib/services/log/log.service.ts`
2912
2925
  - `LOG_MODULE_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('LOG_CONFIG')`
2913
2926
  Defined in `packages/core/src/lib/services/log/log.module.ts`
2914
- - `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = group.controls[key]; if (abstractContro…`
2927
+ - `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = (group.controls as Record<string, Abstr…`
2915
2928
  Defined in `packages/core/src/lib/helpers/form-helpers.ts`
2916
- - `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object, iteratee): void => { object = Object(object); Object.k…`
2929
+ - `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object: unknown, iteratee: (value: AbstractControl, key: strin…`
2917
2930
  Defined in `packages/core/src/lib/helpers/form-helpers.ts`
2918
- - `messages: object = { ERR_GENERIC: 'An error occured', }`
2931
+ - `messages: Record<string, string | unknown> = { ERR_GENERIC: 'An error occured', }`
2919
2932
  Defined in `packages/core/src/lib/services/errors/eui.error.ts`
2920
2933
  - `MODULE_CONFIG_TOKEN: unknown = new InjectionToken<ModuleConfig>('moduleConfig')`
2921
2934
  Defined in `packages/core/src/lib/services/config/tokens.ts`
@@ -3021,7 +3034,7 @@ Properties:
3021
3034
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3022
3035
  - `PAGINATOR_IMPORT_PATH: string = '@eui/components/eui-paginator'`
3023
3036
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3024
- - `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
3037
+ - `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent: Element | Document | null = nativeEl.offsetParent || document; while (offsetParent && offsetP…` — returns the closest, non-statically positioned parentOffset of a given element
3025
3038
  Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
3026
3039
  - `PLATFORM_BROWSER_ID: string = 'browser'`
3027
3040
  Defined in `packages/core/src/lib/services/store/store.service.mock.ts`
@@ -3083,6 +3096,8 @@ Properties:
3083
3096
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3084
3097
  - `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'`
3085
3098
  Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
3099
+ - `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'` — Helpers to mark template spots that a schematic cannot migrate automatically with a searchable TODO: \[eUI v22 migration\] ... HTML comment.
3100
+ Defined in `packages/core/schematics/utils/todo-comment.ts`
3086
3101
  - `TR_INPUT_RENAMES: unknown = new Map([ ['isSelectableHeader', 'isHeaderSelectable'], ['isSelectable', 'isDataSelectable'], ])`
3087
3102
  Defined in `packages/core/schematics/migrate-eui-table/index.ts`
3088
3103
  - `translateConfig: object = { loader: provideTranslateLoader(I18nLoader), }`
@@ -3127,7 +3142,7 @@ Properties:
3127
3142
  Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
3128
3143
  - `updateUserRights: unknown = (state: UserState, action: UpdateUserRightsAction): UserState => Object.assign({}, state, { rights: [...action.payload] })`
3129
3144
  Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
3130
- - `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } => { const EMAIL_REGEXP = // eslint-disable-next-line max-len, no-useless-escape /^(([^<>()\[\]\\.,;:\s@…`
3145
+ - `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } | null => { const EMAIL_REGEXP = // eslint-disable-next-line max-len, no-useless-escape /^(([^<>()\[\]\\…`
3131
3146
  Defined in `packages/core/src/lib/helpers/form-helpers.ts`
3132
3147
  - `VARIANT: string = 'variant'`
3133
3148
  Defined in `packages/core/schematics/migrate-ecl-link/index.ts`