@eui/core 22.0.0-alpha.8 → 22.0.0-alpha.80
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 +1149 -0
- package/assets/i18n-eui/bg.json +23 -1
- package/assets/i18n-eui/cs.json +23 -1
- package/assets/i18n-eui/da.json +23 -1
- package/assets/i18n-eui/de.json +23 -1
- package/assets/i18n-eui/el.json +23 -1
- package/assets/i18n-eui/en.json +23 -1
- package/assets/i18n-eui/es.json +23 -1
- package/assets/i18n-eui/et.json +31 -2
- package/assets/i18n-eui/fi.json +24 -2
- package/assets/i18n-eui/fr.json +23 -1
- package/assets/i18n-eui/ga.json +23 -1
- package/assets/i18n-eui/hr.json +23 -1
- package/assets/i18n-eui/hu.json +23 -1
- package/assets/i18n-eui/it.json +23 -1
- package/assets/i18n-eui/lt.json +23 -1
- package/assets/i18n-eui/lv.json +23 -1
- package/assets/i18n-eui/mt.json +23 -1
- package/assets/i18n-eui/nl.json +23 -1
- package/assets/i18n-eui/pl.json +23 -1
- package/assets/i18n-eui/pt.json +23 -1
- package/assets/i18n-eui/ro.json +23 -1
- package/assets/i18n-eui/sk.json +23 -1
- package/assets/i18n-eui/sl.json +23 -1
- package/assets/i18n-eui/sv.json +23 -1
- package/docs/changelog.html +1641 -0
- package/docs/classes/EuiAppShellServiceMock.html +3 -3
- package/docs/classes/TranslateServiceMock.html +8 -8
- package/docs/injectables/ApiQueueService.html +2 -2
- package/docs/injectables/EuiDynamicMenuService.html +4 -4
- package/docs/injectables/EuiTimezoneService.html +1 -1
- package/docs/injectables/I18nLoader.html +1 -1
- package/docs/injectables/I18nServiceMock.html +20 -5
- package/docs/injectables/StoreService.html +1 -1
- package/docs/interceptors/{UxRequestErrorModelInterceptor.html → RequestErrorInterceptor.html} +3 -3
- package/docs/interfaces/Annotation.html +402 -0
- package/docs/interfaces/Edit-1.html +1 -1
- package/docs/interfaces/Edit-10.html +395 -0
- package/docs/interfaces/Edit-11.html +395 -0
- package/docs/interfaces/Edit-12.html +395 -0
- package/docs/interfaces/Edit-13.html +395 -0
- package/docs/interfaces/Edit-14.html +395 -0
- package/docs/interfaces/Edit-15.html +395 -0
- package/docs/interfaces/Edit-16.html +395 -0
- package/docs/interfaces/Edit-2.html +1 -1
- package/docs/interfaces/Edit-3.html +1 -1
- package/docs/interfaces/Edit-4.html +1 -1
- package/docs/interfaces/Edit-5.html +395 -0
- package/docs/interfaces/Edit-6.html +395 -0
- package/docs/interfaces/Edit-7.html +395 -0
- package/docs/interfaces/Edit-8.html +395 -0
- package/docs/interfaces/Edit-9.html +395 -0
- package/docs/interfaces/Edit.html +1 -1
- package/docs/interfaces/IEuiTheme.html +4 -4
- package/docs/interfaces/LoadedResources.html +2 -2
- package/docs/interfaces/MigrateEclSchema.html +368 -0
- package/docs/interfaces/MigrateResult.html +39 -0
- package/docs/interfaces/ModuleLoadEvent.html +2 -2
- package/docs/interfaces/OutputFormatUsage.html +446 -0
- package/docs/interfaces/RemovedAttr.html +401 -0
- package/docs/interfaces/{TranslationKeys.html → RemovedIdentifier.html} +100 -16
- package/docs/interfaces/{ActionReducer.html → RemovedTag.html} +58 -19
- package/docs/interfaces/Schema-10.html +14 -1
- package/docs/interfaces/Schema-11.html +14 -1
- package/docs/interfaces/Schema-12.html +31 -1
- package/docs/interfaces/Schema-13.html +14 -1
- package/docs/interfaces/Schema-14.html +13 -1
- package/docs/interfaces/Schema-15.html +12 -1
- package/docs/interfaces/Schema-16.html +20 -1
- package/docs/interfaces/Schema-17.html +1 -1
- package/docs/interfaces/Schema-18.html +1 -1
- package/docs/interfaces/Schema-19.html +1 -1
- package/docs/interfaces/Schema-20.html +1 -1
- package/docs/interfaces/Schema-21.html +1 -1
- package/docs/interfaces/Schema-22.html +1 -1
- package/docs/interfaces/Schema-23.html +368 -0
- package/docs/interfaces/Schema-24.html +368 -0
- package/docs/interfaces/Schema-25.html +368 -0
- package/docs/interfaces/Schema-26.html +368 -0
- package/docs/interfaces/Schema-27.html +368 -0
- package/docs/interfaces/Schema-28.html +368 -0
- package/docs/interfaces/Schema-29.html +368 -0
- package/docs/interfaces/Schema-3.html +13 -64
- package/docs/interfaces/Schema-30.html +368 -0
- package/docs/interfaces/Schema-31.html +368 -0
- package/docs/interfaces/Schema-32.html +368 -0
- package/docs/interfaces/Schema-33.html +368 -0
- package/docs/interfaces/Schema-34.html +368 -0
- package/docs/interfaces/Schema-35.html +368 -0
- package/docs/interfaces/Schema-36.html +368 -0
- package/docs/interfaces/Schema-37.html +368 -0
- package/docs/interfaces/Schema-4.html +26 -1
- package/docs/interfaces/Schema-5.html +64 -1
- package/docs/interfaces/Schema-6.html +20 -1
- package/docs/interfaces/Schema-7.html +22 -1
- package/docs/interfaces/Schema-8.html +14 -1
- package/docs/interfaces/Schema-9.html +14 -1
- package/docs/interfaces/SelectorMapping.html +395 -0
- package/docs/interfaces/TemplateSource.html +395 -0
- package/docs/interfaces/TextEdit.html +395 -0
- package/docs/interfaces/TodoEdit.html +395 -0
- package/docs/js/menu-wc.js +114 -9
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +33518 -14116
- package/docs/llms.txt +901 -68
- package/docs/miscellaneous/functions.html +15233 -1676
- package/docs/miscellaneous/typealiases.html +70 -0
- package/docs/miscellaneous/variables.html +2552 -210
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +5790 -5463
- package/fesm2022/eui-core.mjs.map +1 -1
- package/migrations.json +191 -0
- package/package.json +2 -2
- package/schematics/add-eui-imports/index.js +1 -1
- package/schematics/add-eui-imports/index.js.map +1 -1
- package/schematics/collection.json +81 -0
- package/schematics/migrate/index.js +2 -2
- package/schematics/migrate/replacements/icons.d.ts +3 -1
- package/schematics/migrate/replacements/icons.js +15 -5
- package/schematics/migrate/replacements/icons.js.map +1 -1
- package/schematics/migrate/replacements/mwp.js +1 -0
- package/schematics/migrate/replacements/mwp.js.map +1 -1
- package/schematics/migrate-all/index.js +15 -0
- package/schematics/migrate-all/index.js.map +1 -1
- package/schematics/migrate-ecl/index.d.ts +21 -0
- package/schematics/migrate-ecl/index.js +40 -0
- package/schematics/migrate-ecl/index.js.map +1 -0
- package/schematics/migrate-ecl/schema.json +20 -0
- package/schematics/migrate-ecl-breadcrumb/index.d.ts +16 -0
- package/schematics/migrate-ecl-breadcrumb/index.js +179 -0
- package/schematics/migrate-ecl-breadcrumb/index.js.map +1 -0
- package/schematics/migrate-ecl-breadcrumb/schema.json +18 -0
- package/schematics/migrate-ecl-file/index.d.ts +28 -0
- package/schematics/migrate-ecl-file/index.js +273 -0
- package/schematics/migrate-ecl-file/index.js.map +1 -0
- package/schematics/migrate-ecl-file/schema.json +18 -0
- package/schematics/migrate-ecl-icon/index.d.ts +22 -0
- package/schematics/migrate-ecl-icon/index.js +259 -0
- package/schematics/migrate-ecl-icon/index.js.map +1 -0
- package/schematics/migrate-ecl-icon/schema.json +18 -0
- package/schematics/migrate-ecl-inpage-navigation/index.d.ts +17 -0
- package/schematics/migrate-ecl-inpage-navigation/index.js +179 -0
- package/schematics/migrate-ecl-inpage-navigation/index.js.map +1 -0
- package/schematics/migrate-ecl-inpage-navigation/schema.json +18 -0
- package/schematics/migrate-ecl-link/index.d.ts +25 -0
- package/schematics/migrate-ecl-link/index.js +300 -0
- package/schematics/migrate-ecl-link/index.js.map +1 -0
- package/schematics/migrate-ecl-link/schema.json +18 -0
- package/schematics/migrate-ecl-page-header/index.d.ts +16 -0
- package/schematics/migrate-ecl-page-header/index.js +179 -0
- package/schematics/migrate-ecl-page-header/index.js.map +1 -0
- package/schematics/migrate-ecl-page-header/schema.json +18 -0
- package/schematics/migrate-ecl-page-summary/index.d.ts +17 -0
- package/schematics/migrate-ecl-page-summary/index.js +179 -0
- package/schematics/migrate-ecl-page-summary/index.js.map +1 -0
- package/schematics/migrate-ecl-page-summary/schema.json +18 -0
- package/schematics/migrate-ecl-pagination/index.d.ts +17 -0
- package/schematics/migrate-ecl-pagination/index.js +179 -0
- package/schematics/migrate-ecl-pagination/index.js.map +1 -0
- package/schematics/migrate-ecl-pagination/schema.json +18 -0
- package/schematics/migrate-ecl-quiz/index.d.ts +17 -0
- package/schematics/migrate-ecl-quiz/index.js +192 -0
- package/schematics/migrate-ecl-quiz/index.js.map +1 -0
- package/schematics/migrate-ecl-quiz/schema.json +18 -0
- package/schematics/migrate-ecl-removed-components/index.d.ts +32 -0
- package/schematics/migrate-ecl-removed-components/index.js +289 -0
- package/schematics/migrate-ecl-removed-components/index.js.map +1 -0
- package/schematics/migrate-ecl-removed-components/schema.json +18 -0
- package/schematics/migrate-ecl-site-footer/index.d.ts +17 -0
- package/schematics/migrate-ecl-site-footer/index.js +179 -0
- package/schematics/migrate-ecl-site-footer/index.js.map +1 -0
- package/schematics/migrate-ecl-site-footer/schema.json +18 -0
- package/schematics/migrate-ecl-tabs/index.d.ts +15 -0
- package/schematics/migrate-ecl-tabs/index.js +180 -0
- package/schematics/migrate-ecl-tabs/index.js.map +1 -0
- package/schematics/migrate-ecl-tabs/schema.json +18 -0
- package/schematics/migrate-ecl-timeline/index.d.ts +22 -0
- package/schematics/migrate-ecl-timeline/index.js +184 -0
- package/schematics/migrate-ecl-timeline/index.js.map +1 -0
- package/schematics/migrate-ecl-timeline/schema.json +18 -0
- package/schematics/migrate-eui-alert/index.js +2 -2
- package/schematics/migrate-eui-alert/index.js.map +1 -1
- package/schematics/migrate-eui-chip-list/index.js +1 -1
- package/schematics/migrate-eui-chip-list/index.js.map +1 -1
- package/schematics/migrate-eui-date-range-selector/schema.json +19 -0
- package/schematics/migrate-eui-datepicker/index.d.ts +19 -0
- package/schematics/migrate-eui-datepicker/index.js +206 -0
- package/schematics/migrate-eui-datepicker/index.js.map +1 -0
- package/schematics/migrate-eui-datepicker/schema.json +19 -0
- package/schematics/migrate-eui-table/index.js +1 -1
- package/schematics/migrate-eui-table/index.js.map +1 -1
- package/schematics/migrate-eui-tabs/index.js +5 -5
- package/schematics/migrate-eui-tabs/index.js.map +1 -1
- package/schematics/migrate-eui-tooltip/index.js +2 -2
- package/schematics/migrate-eui-tooltip/index.js.map +1 -1
- package/schematics/migrate-eui-tooltip/schema.json +19 -0
- package/schematics/migrate-to-signals/ecl-signal-map.d.ts +17 -0
- package/schematics/migrate-to-signals/ecl-signal-map.js +342 -0
- package/schematics/migrate-to-signals/ecl-signal-map.js.map +1 -0
- package/schematics/migrate-to-signals/index.d.ts +3 -2
- package/schematics/migrate-to-signals/index.js +155 -26
- package/schematics/migrate-to-signals/index.js.map +1 -1
- package/schematics/migrate-to-signals/schema.json +19 -0
- package/schematics/utils/date-adapter.d.ts +30 -0
- package/schematics/utils/date-adapter.js +125 -0
- package/schematics/utils/date-adapter.js.map +1 -0
- package/schematics/utils/todo-comment.d.ts +25 -0
- package/schematics/utils/todo-comment.js +47 -0
- package/schematics/utils/todo-comment.js.map +1 -0
- package/types/eui-core.d.ts +2098 -2174
- 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-
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-11-22T13:01:07.549Z, 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
|
|
|
@@ -120,10 +120,10 @@ File: `packages/core/src/lib/services/dynamic-menu/dynamic-menu.service.ts`
|
|
|
120
120
|
providedIn: `root`
|
|
121
121
|
|
|
122
122
|
Properties:
|
|
123
|
-
- `menuLinks:
|
|
123
|
+
- `menuLinks: EuiMenuItem[] = []`
|
|
124
124
|
|
|
125
125
|
Methods:
|
|
126
|
-
- `filterEuiMenuItemsWithRights(links:
|
|
126
|
+
- `filterEuiMenuItemsWithRights(links: EuiMenuItem[]): EuiMenuItem[]`
|
|
127
127
|
- `getMenuLinks(): EuiMenuItem[]`
|
|
128
128
|
|
|
129
129
|
### EuiGrowlService
|
|
@@ -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
|
|
|
@@ -220,7 +220,7 @@ File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
|
220
220
|
|
|
221
221
|
Methods:
|
|
222
222
|
- `addResources(config: I18nLoaderConfig): I18nResourceImpl[]` — Adds resources
|
|
223
|
-
- `getFailedResources():
|
|
223
|
+
- `getFailedResources(): LoadedResourcesError[]` — Returns resources that failed
|
|
224
224
|
- `getTranslation(lang: string): Observable<TranslationObject>` — Gets the translations from the server
|
|
225
225
|
- `loadResources(resources: I18nResourceImpl[], lang: string): Observable<{ hasError: boolean; translations: TranslationObject; errors?: LoadedResourcesError[] }>` — Loads an array of resources, by language
|
|
226
226
|
- `removeResources(removedResources: I18nResourceImpl[]): void` — Removes resources from the loader instance
|
|
@@ -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`
|
|
@@ -445,9 +445,9 @@ File: `packages/core/src/lib/services/errors/http-error-handler.interceptor.ts`
|
|
|
445
445
|
Methods:
|
|
446
446
|
- `intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>`
|
|
447
447
|
|
|
448
|
-
###
|
|
448
|
+
### RequestErrorInterceptor
|
|
449
449
|
|
|
450
|
-
File: `packages/core/src/lib/interceptors/
|
|
450
|
+
File: `packages/core/src/lib/interceptors/request-error.interceptor.ts`
|
|
451
451
|
|
|
452
452
|
Methods:
|
|
453
453
|
- `intercept(req: HttpRequest<any>, next: HttpHandler): Observable<HttpEvent<any>>`
|
|
@@ -583,9 +583,9 @@ 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
|
-
- `breakpointSubject:
|
|
588
|
+
- `breakpointSubject: unknown = new BehaviorSubject<string>('')`
|
|
589
589
|
- `state$: Observable<any> = of({})`
|
|
590
590
|
|
|
591
591
|
Methods:
|
|
@@ -681,14 +681,14 @@ File: `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
|
681
681
|
Properties:
|
|
682
682
|
- `currentLang: unknown = signal<string | null>(null)`
|
|
683
683
|
- `isLoaded: Observable<boolean> = this.isLoadedSubject.asObservable()`
|
|
684
|
-
- `isLoadedSubject:
|
|
684
|
+
- `isLoadedSubject: unknown = new BehaviorSubject<boolean>(true)`
|
|
685
685
|
- `languages: string[] = [DEFAULT_LANGUAGE]`
|
|
686
686
|
- `onFallbackLangChange: Observable<string> = this.onFallbackLangChangeSubject.asObservable()`
|
|
687
|
-
- `onFallbackLangChangeSubject:
|
|
687
|
+
- `onFallbackLangChangeSubject: unknown = new Subject<string>()`
|
|
688
688
|
- `onLangChange: Observable<LangChangeEvent> = this.onLangChangeSubject.asObservable()`
|
|
689
|
-
- `onLangChangeSubject:
|
|
689
|
+
- `onLangChangeSubject: unknown = new Subject<LangChangeEvent>()`
|
|
690
690
|
- `onTranslationChange: Observable<string> = this.onTranslationChangeSubject.asObservable()`
|
|
691
|
-
- `onTranslationChangeSubject:
|
|
691
|
+
- `onTranslationChangeSubject: unknown = new Subject<string>()`
|
|
692
692
|
|
|
693
693
|
Methods:
|
|
694
694
|
- `addLangs(langs: string[]): void`
|
|
@@ -817,14 +817,16 @@ File: `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
|
817
817
|
Properties:
|
|
818
818
|
- `type: Type`
|
|
819
819
|
|
|
820
|
-
###
|
|
820
|
+
### Annotation
|
|
821
821
|
|
|
822
|
-
File: `packages/core/
|
|
822
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
823
823
|
|
|
824
|
-
Description: A
|
|
824
|
+
Description: A TODO comment to insert above a given zero-based line.
|
|
825
825
|
|
|
826
826
|
Properties:
|
|
827
|
-
- `
|
|
827
|
+
- `commentStyle: "ts" | "html"`
|
|
828
|
+
- `line: number`
|
|
829
|
+
- `message: string`
|
|
828
830
|
|
|
829
831
|
### body
|
|
830
832
|
|
|
@@ -861,6 +863,114 @@ Properties:
|
|
|
861
863
|
|
|
862
864
|
### Edit
|
|
863
865
|
|
|
866
|
+
File: `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
867
|
+
|
|
868
|
+
Properties:
|
|
869
|
+
- `end: number`
|
|
870
|
+
- `replacement: string`
|
|
871
|
+
- `start: number`
|
|
872
|
+
|
|
873
|
+
### Edit
|
|
874
|
+
|
|
875
|
+
File: `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
876
|
+
|
|
877
|
+
Properties:
|
|
878
|
+
- `end: number`
|
|
879
|
+
- `replacement: string`
|
|
880
|
+
- `start: number`
|
|
881
|
+
|
|
882
|
+
### Edit
|
|
883
|
+
|
|
884
|
+
File: `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
885
|
+
|
|
886
|
+
Properties:
|
|
887
|
+
- `end: number`
|
|
888
|
+
- `replacement: string`
|
|
889
|
+
- `start: number`
|
|
890
|
+
|
|
891
|
+
### Edit
|
|
892
|
+
|
|
893
|
+
File: `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
894
|
+
|
|
895
|
+
Properties:
|
|
896
|
+
- `end: number`
|
|
897
|
+
- `replacement: string`
|
|
898
|
+
- `start: number`
|
|
899
|
+
|
|
900
|
+
### Edit
|
|
901
|
+
|
|
902
|
+
File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
903
|
+
|
|
904
|
+
Properties:
|
|
905
|
+
- `end: number`
|
|
906
|
+
- `replacement: string`
|
|
907
|
+
- `start: number`
|
|
908
|
+
|
|
909
|
+
### Edit
|
|
910
|
+
|
|
911
|
+
File: `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
912
|
+
|
|
913
|
+
Properties:
|
|
914
|
+
- `end: number`
|
|
915
|
+
- `replacement: string`
|
|
916
|
+
- `start: number`
|
|
917
|
+
|
|
918
|
+
### Edit
|
|
919
|
+
|
|
920
|
+
File: `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
921
|
+
|
|
922
|
+
Properties:
|
|
923
|
+
- `end: number`
|
|
924
|
+
- `replacement: string`
|
|
925
|
+
- `start: number`
|
|
926
|
+
|
|
927
|
+
### Edit
|
|
928
|
+
|
|
929
|
+
File: `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
930
|
+
|
|
931
|
+
Properties:
|
|
932
|
+
- `end: number`
|
|
933
|
+
- `replacement: string`
|
|
934
|
+
- `start: number`
|
|
935
|
+
|
|
936
|
+
### Edit
|
|
937
|
+
|
|
938
|
+
File: `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
939
|
+
|
|
940
|
+
Properties:
|
|
941
|
+
- `end: number`
|
|
942
|
+
- `replacement: string`
|
|
943
|
+
- `start: number`
|
|
944
|
+
|
|
945
|
+
### Edit
|
|
946
|
+
|
|
947
|
+
File: `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
948
|
+
|
|
949
|
+
Properties:
|
|
950
|
+
- `end: number`
|
|
951
|
+
- `replacement: string`
|
|
952
|
+
- `start: number`
|
|
953
|
+
|
|
954
|
+
### Edit
|
|
955
|
+
|
|
956
|
+
File: `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
957
|
+
|
|
958
|
+
Properties:
|
|
959
|
+
- `end: number`
|
|
960
|
+
- `replacement: string`
|
|
961
|
+
- `start: number`
|
|
962
|
+
|
|
963
|
+
### Edit
|
|
964
|
+
|
|
965
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
966
|
+
|
|
967
|
+
Properties:
|
|
968
|
+
- `end: number`
|
|
969
|
+
- `replacement: string`
|
|
970
|
+
- `start: number`
|
|
971
|
+
|
|
972
|
+
### Edit
|
|
973
|
+
|
|
864
974
|
File: `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
865
975
|
|
|
866
976
|
Properties:
|
|
@@ -928,10 +1038,10 @@ Properties:
|
|
|
928
1038
|
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
929
1039
|
|
|
930
1040
|
Properties:
|
|
931
|
-
- `cssClass: string`
|
|
1041
|
+
- `cssClass: string | null`
|
|
932
1042
|
- `isActive: boolean`
|
|
933
1043
|
- `name: EuiTheme`
|
|
934
|
-
- `styleSheet: string`
|
|
1044
|
+
- `styleSheet: string | null`
|
|
935
1045
|
|
|
936
1046
|
### ImportsArrayInfo
|
|
937
1047
|
|
|
@@ -966,7 +1076,7 @@ Properties:
|
|
|
966
1076
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
967
1077
|
|
|
968
1078
|
Properties:
|
|
969
|
-
- `errors?:
|
|
1079
|
+
- `errors?: LoadedResourcesError[]`
|
|
970
1080
|
- `hasError: boolean`
|
|
971
1081
|
- `translations: TranslationObject`
|
|
972
1082
|
|
|
@@ -1015,6 +1125,14 @@ Properties:
|
|
|
1015
1125
|
- `path?: string`
|
|
1016
1126
|
- `useClassArray?: boolean`
|
|
1017
1127
|
|
|
1128
|
+
### MigrateEclSchema
|
|
1129
|
+
|
|
1130
|
+
File: `packages/core/schematics/migrate-ecl/index.ts`
|
|
1131
|
+
|
|
1132
|
+
Properties:
|
|
1133
|
+
- `dryRun?: boolean`
|
|
1134
|
+
- `path?: string`
|
|
1135
|
+
|
|
1018
1136
|
### MigrateResult
|
|
1019
1137
|
|
|
1020
1138
|
File: `packages/core/schematics/migrate-to-signals/index.ts`
|
|
@@ -1022,6 +1140,7 @@ File: `packages/core/schematics/migrate-to-signals/index.ts`
|
|
|
1022
1140
|
Properties:
|
|
1023
1141
|
- `editCount: number`
|
|
1024
1142
|
- `source: string`
|
|
1143
|
+
- `todoCount: number`
|
|
1025
1144
|
|
|
1026
1145
|
### MigrationResult
|
|
1027
1146
|
|
|
@@ -1038,7 +1157,7 @@ File: `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
|
1038
1157
|
|
|
1039
1158
|
Properties:
|
|
1040
1159
|
- `error?: any`
|
|
1041
|
-
- `name: string`
|
|
1160
|
+
- `name: string | null | undefined`
|
|
1042
1161
|
- `ready: boolean`
|
|
1043
1162
|
|
|
1044
1163
|
### ModuleMapping
|
|
@@ -1058,6 +1177,16 @@ Properties:
|
|
|
1058
1177
|
- `decoratorPos: number`
|
|
1059
1178
|
- `path: string`
|
|
1060
1179
|
|
|
1180
|
+
### OutputFormatUsage
|
|
1181
|
+
|
|
1182
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1183
|
+
|
|
1184
|
+
Properties:
|
|
1185
|
+
- `end: number`
|
|
1186
|
+
- `expression?: string`
|
|
1187
|
+
- `start: number`
|
|
1188
|
+
- `staticValue?: string`
|
|
1189
|
+
|
|
1061
1190
|
### Policy
|
|
1062
1191
|
|
|
1063
1192
|
File: `packages/core/src/lib/services/loader/eui-loader.model.ts`
|
|
@@ -1069,6 +1198,31 @@ Properties:
|
|
|
1069
1198
|
- `retryInterval: number` — Time between retries in milliseconds
|
|
1070
1199
|
- `timeout: number` — Time in milliseconds before considering a load attempt as failed
|
|
1071
1200
|
|
|
1201
|
+
### RemovedAttr
|
|
1202
|
+
|
|
1203
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1204
|
+
|
|
1205
|
+
Properties:
|
|
1206
|
+
- `attr: string`
|
|
1207
|
+
- `message: string`
|
|
1208
|
+
- `onTag?: string`
|
|
1209
|
+
|
|
1210
|
+
### RemovedIdentifier
|
|
1211
|
+
|
|
1212
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1213
|
+
|
|
1214
|
+
Properties:
|
|
1215
|
+
- `message: string`
|
|
1216
|
+
- `name: string`
|
|
1217
|
+
|
|
1218
|
+
### RemovedTag
|
|
1219
|
+
|
|
1220
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1221
|
+
|
|
1222
|
+
Properties:
|
|
1223
|
+
- `message: string`
|
|
1224
|
+
- `tag: string`
|
|
1225
|
+
|
|
1072
1226
|
### ResourceError
|
|
1073
1227
|
|
|
1074
1228
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
@@ -1105,6 +1259,26 @@ Properties:
|
|
|
1105
1259
|
|
|
1106
1260
|
### Schema
|
|
1107
1261
|
|
|
1262
|
+
File: `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1263
|
+
|
|
1264
|
+
Description: Migrates the removed ecl-breadcrumb element selector to nav\[eclBreadcrumb\] . In v22 the ecl-breadcrumb element selector was removed; the component only matches nav\[eclBreadcrumb\] . This schematic rewrites \<ecl-breadcrumb\> to \<nav eclBreadcrumb\> (and the closing tag to \</nav\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1265
|
+
|
|
1266
|
+
Properties:
|
|
1267
|
+
- `dryRun?: boolean`
|
|
1268
|
+
- `path?: string`
|
|
1269
|
+
|
|
1270
|
+
### Schema
|
|
1271
|
+
|
|
1272
|
+
File: `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1273
|
+
|
|
1274
|
+
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.
|
|
1275
|
+
|
|
1276
|
+
Properties:
|
|
1277
|
+
- `dryRun?: boolean`
|
|
1278
|
+
- `path?: string`
|
|
1279
|
+
|
|
1280
|
+
### Schema
|
|
1281
|
+
|
|
1108
1282
|
File: `packages/core/schematics/migrate/schema.ts`
|
|
1109
1283
|
|
|
1110
1284
|
Properties:
|
|
@@ -1114,6 +1288,116 @@ Properties:
|
|
|
1114
1288
|
|
|
1115
1289
|
### Schema
|
|
1116
1290
|
|
|
1291
|
+
File: `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1292
|
+
|
|
1293
|
+
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.
|
|
1294
|
+
|
|
1295
|
+
Properties:
|
|
1296
|
+
- `dryRun?: boolean`
|
|
1297
|
+
- `path?: string`
|
|
1298
|
+
|
|
1299
|
+
### Schema
|
|
1300
|
+
|
|
1301
|
+
File: `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1302
|
+
|
|
1303
|
+
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.
|
|
1304
|
+
|
|
1305
|
+
Properties:
|
|
1306
|
+
- `dryRun?: boolean`
|
|
1307
|
+
- `path?: string`
|
|
1308
|
+
|
|
1309
|
+
### Schema
|
|
1310
|
+
|
|
1311
|
+
File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1312
|
+
|
|
1313
|
+
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.
|
|
1314
|
+
|
|
1315
|
+
Properties:
|
|
1316
|
+
- `dryRun?: boolean`
|
|
1317
|
+
- `path?: string`
|
|
1318
|
+
|
|
1319
|
+
### Schema
|
|
1320
|
+
|
|
1321
|
+
File: `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1322
|
+
|
|
1323
|
+
Description: Migrates the removed ecl-page-summary element selector to section\[eclPageSummary\] . In v22 the ecl-page-summary element selector was removed; the component only matches section\[eclPageSummary\] . This schematic rewrites \<ecl-page-summary\> to \<section eclPageSummary\> (and the closing tag to \</section\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1324
|
+
|
|
1325
|
+
Properties:
|
|
1326
|
+
- `dryRun?: boolean`
|
|
1327
|
+
- `path?: string`
|
|
1328
|
+
|
|
1329
|
+
### Schema
|
|
1330
|
+
|
|
1331
|
+
File: `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1332
|
+
|
|
1333
|
+
Description: Migrates the removed ecl-pagination-item element selector to li\[eclPaginationItem\] . In v22 the legacy ecl-pagination-item element selector was removed; the component only matches li\[eclPaginationItem\] . This schematic rewrites \<ecl-pagination-item\> to \<li eclPaginationItem\> (and the closing tag to \</li\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1334
|
+
|
|
1335
|
+
Properties:
|
|
1336
|
+
- `dryRun?: boolean`
|
|
1337
|
+
- `path?: string`
|
|
1338
|
+
|
|
1339
|
+
### Schema
|
|
1340
|
+
|
|
1341
|
+
File: `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1342
|
+
|
|
1343
|
+
Description: Removes the deprecated category input from eclQuizCard (EclQuizCardComponent) for v21 → v22. Upstream ECL removed the category label from the quiz card markup and styling; the input no longer renders anything and has no replacement. This schematic drops the category attribute/binding from every element that carries the eclQuizCard directive, in external .html templates and inline @Component templates.
|
|
1344
|
+
|
|
1345
|
+
Properties:
|
|
1346
|
+
- `dryRun?: boolean`
|
|
1347
|
+
- `path?: string`
|
|
1348
|
+
|
|
1349
|
+
### Schema
|
|
1350
|
+
|
|
1351
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1352
|
+
|
|
1353
|
+
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 ).
|
|
1354
|
+
|
|
1355
|
+
Properties:
|
|
1356
|
+
- `dryRun?: boolean`
|
|
1357
|
+
- `path?: string`
|
|
1358
|
+
|
|
1359
|
+
### Schema
|
|
1360
|
+
|
|
1361
|
+
File: `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1362
|
+
|
|
1363
|
+
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.
|
|
1364
|
+
|
|
1365
|
+
Properties:
|
|
1366
|
+
- `dryRun?: boolean`
|
|
1367
|
+
- `path?: string`
|
|
1368
|
+
|
|
1369
|
+
### Schema
|
|
1370
|
+
|
|
1371
|
+
File: `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1372
|
+
|
|
1373
|
+
Description: Migrates the removed ecl-page-header element selector to div\[eclPageHeader\] . In v22 the ecl-page-header element selector was removed; the component only matches div\[eclPageHeader\] . This schematic rewrites \<ecl-page-header\> to \<div eclPageHeader\> (and the closing tag to \</div\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1374
|
+
|
|
1375
|
+
Properties:
|
|
1376
|
+
- `dryRun?: boolean`
|
|
1377
|
+
- `path?: string`
|
|
1378
|
+
|
|
1379
|
+
### Schema
|
|
1380
|
+
|
|
1381
|
+
File: `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1382
|
+
|
|
1383
|
+
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.
|
|
1384
|
+
|
|
1385
|
+
Properties:
|
|
1386
|
+
- `dryRun?: boolean`
|
|
1387
|
+
- `path?: string`
|
|
1388
|
+
|
|
1389
|
+
### Schema
|
|
1390
|
+
|
|
1391
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1392
|
+
|
|
1393
|
+
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.
|
|
1394
|
+
|
|
1395
|
+
Properties:
|
|
1396
|
+
- `dryRun?: boolean`
|
|
1397
|
+
- `path?: string`
|
|
1398
|
+
|
|
1399
|
+
### Schema
|
|
1400
|
+
|
|
1117
1401
|
File: `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1118
1402
|
|
|
1119
1403
|
Properties:
|
|
@@ -1162,6 +1446,22 @@ Properties:
|
|
|
1162
1446
|
|
|
1163
1447
|
### Schema
|
|
1164
1448
|
|
|
1449
|
+
File: `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
|
|
1450
|
+
|
|
1451
|
+
Properties:
|
|
1452
|
+
- `dryRun?: boolean`
|
|
1453
|
+
- `path?: string`
|
|
1454
|
+
|
|
1455
|
+
### Schema
|
|
1456
|
+
|
|
1457
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1458
|
+
|
|
1459
|
+
Properties:
|
|
1460
|
+
- `dryRun?: boolean`
|
|
1461
|
+
- `path?: string`
|
|
1462
|
+
|
|
1463
|
+
### Schema
|
|
1464
|
+
|
|
1165
1465
|
File: `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1166
1466
|
|
|
1167
1467
|
Properties:
|
|
@@ -1277,6 +1577,24 @@ Properties:
|
|
|
1277
1577
|
- `element: string | null` — Element tag required (null = any element)
|
|
1278
1578
|
- `importPath: string` — The ES import path
|
|
1279
1579
|
|
|
1580
|
+
### SelectorMapping
|
|
1581
|
+
|
|
1582
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1583
|
+
|
|
1584
|
+
Properties:
|
|
1585
|
+
- `attribute: string`
|
|
1586
|
+
- `newTag: string`
|
|
1587
|
+
- `oldTag: string`
|
|
1588
|
+
|
|
1589
|
+
### TemplateSource
|
|
1590
|
+
|
|
1591
|
+
File: `packages/core/schematics/utils/date-adapter.ts`
|
|
1592
|
+
|
|
1593
|
+
Properties:
|
|
1594
|
+
- `content: string`
|
|
1595
|
+
- `file: string`
|
|
1596
|
+
- `offset: number`
|
|
1597
|
+
|
|
1280
1598
|
### TextChange
|
|
1281
1599
|
|
|
1282
1600
|
File: `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
@@ -1286,6 +1604,15 @@ Properties:
|
|
|
1286
1604
|
- `start: number`
|
|
1287
1605
|
- `text: string`
|
|
1288
1606
|
|
|
1607
|
+
### TextEdit
|
|
1608
|
+
|
|
1609
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1610
|
+
|
|
1611
|
+
Properties:
|
|
1612
|
+
- `end: number`
|
|
1613
|
+
- `start: number`
|
|
1614
|
+
- `text: string`
|
|
1615
|
+
|
|
1289
1616
|
### ThemeState
|
|
1290
1617
|
|
|
1291
1618
|
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
@@ -1294,9 +1621,14 @@ Properties:
|
|
|
1294
1621
|
- `theme: any`
|
|
1295
1622
|
- `themes: IEuiTheme[]`
|
|
1296
1623
|
|
|
1297
|
-
###
|
|
1624
|
+
### TodoEdit
|
|
1298
1625
|
|
|
1299
|
-
File: `packages/core/
|
|
1626
|
+
File: `packages/core/schematics/utils/todo-comment.ts`
|
|
1627
|
+
|
|
1628
|
+
Properties:
|
|
1629
|
+
- `end: number`
|
|
1630
|
+
- `replacement: string`
|
|
1631
|
+
- `start: number`
|
|
1300
1632
|
|
|
1301
1633
|
### UIState
|
|
1302
1634
|
|
|
@@ -1346,6 +1678,8 @@ Properties:
|
|
|
1346
1678
|
|
|
1347
1679
|
## Public functions
|
|
1348
1680
|
|
|
1681
|
+
- `adapterKinds(source: string): AdapterKind[]`
|
|
1682
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1349
1683
|
- `addEsImports(source: string, filePath: string, imports): string`
|
|
1350
1684
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1351
1685
|
- `addEuiImports(options: Schema = {}): Rule`
|
|
@@ -1358,14 +1692,42 @@ Properties:
|
|
|
1358
1692
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1359
1693
|
- `AlertHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1360
1694
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1695
|
+
- `applyAnnotations(source: string, annotations): string`
|
|
1696
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1361
1697
|
- `applyChanges(source: string, changes): string`
|
|
1362
1698
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1699
|
+
- `applyEdits(source: string, edits): string`
|
|
1700
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1701
|
+
- `applyEdits(source: string, edits): string`
|
|
1702
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1703
|
+
- `applyEdits(source: string, edits): string`
|
|
1704
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1705
|
+
- `applyEdits(source: string, edits): string`
|
|
1706
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1707
|
+
- `applyEdits(source: string, edits): string`
|
|
1708
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1709
|
+
- `applyEdits(source: string, edits): string`
|
|
1710
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1711
|
+
- `applyEdits(source: string, edits): string`
|
|
1712
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1713
|
+
- `applyEdits(source: string, edits): string`
|
|
1714
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1715
|
+
- `applyEdits(source: string, edits): string`
|
|
1716
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1717
|
+
- `applyEdits(source: string, edits): string`
|
|
1718
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1719
|
+
- `applyEdits(source: string, edits): string`
|
|
1720
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1721
|
+
- `applyEdits(source: string, edits): string`
|
|
1722
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1363
1723
|
- `applyEdits(source: string, edits): string`
|
|
1364
1724
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1365
1725
|
- `applyEdits(source: string, edits): string`
|
|
1366
1726
|
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1367
1727
|
- `applyEdits(source: string, edits): string`
|
|
1368
1728
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1729
|
+
- `applyEdits(content: string, edits): string`
|
|
1730
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1369
1731
|
- `applyEdits(source: string, edits): string`
|
|
1370
1732
|
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1371
1733
|
- `applyEdits(source: string, edits): string`
|
|
@@ -1400,14 +1762,42 @@ Properties:
|
|
|
1400
1762
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1401
1763
|
- `buildTruncatePipeEdit(chip: TmplAstElement, source: string, truncateValue: string): Edit | null`
|
|
1402
1764
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1765
|
+
- `collectCategoryRemovals(element: TmplAstElement, source: string, edits): void`
|
|
1766
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1403
1767
|
- `collectChildElementRenames(element: TmplAstElement, edits): void`
|
|
1404
1768
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1405
1769
|
- `collectChildInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1406
1770
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1771
|
+
- `collectEclLinkEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1772
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1773
|
+
- `collectElementAnnotation(element: TmplAstElement, lineOffset: number, commentStyle, annotations): void`
|
|
1774
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1775
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1776
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1777
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1778
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1779
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1780
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1781
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1782
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1783
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1784
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1785
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1786
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1787
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1788
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1789
|
+
- `collectElementRename(element: TmplAstElement, mapping: SelectorMapping, edits): void`
|
|
1790
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1407
1791
|
- `collectEmptyMessageRename(element: TmplAstElement, edits): void`
|
|
1408
1792
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1409
1793
|
- `collectEuiReferences(sourceFile, source: string, templateRefMap: Map): Map<string, ReadonlySet<string>>` — Scans the source file for class properties or variables typed as EUI component classes. Returns a map: localName → Set of signal property names. Handles:
|
|
1410
1794
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1795
|
+
- `collectFileEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1796
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1797
|
+
- `collectFileItemEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1798
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1799
|
+
- `collectIconSetEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1800
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1411
1801
|
- `collectInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1412
1802
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1413
1803
|
- `collectOutputChanges(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
@@ -1442,16 +1832,26 @@ Properties:
|
|
|
1442
1832
|
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
1443
1833
|
- `collectRenames(element: TmplAstElement, edits): void`
|
|
1444
1834
|
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
1835
|
+
- `collectSourceFiles(tree: Tree, scanPath?: string): string[]` — Collects the .ts and .html files under scanPath , skipping declaration files, node\_modules and dist.
|
|
1836
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1445
1837
|
- `collectTableInputRenames(element: TmplAstElement, edits): void`
|
|
1446
1838
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1447
1839
|
- `collectTagRenames(element: TmplAstElement, source: string, edits): void`
|
|
1448
1840
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1841
|
+
- `collectTemplateAnnotations(template: string, lineOffset: number, commentStyle): Annotation[]`
|
|
1842
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1449
1843
|
- `collectTemplateEmptyMessageRename(template: TmplAstTemplate, edits): void`
|
|
1450
1844
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1451
1845
|
- `collectTemplateRefs(nodes, refMap: Map): void` — Recursively walks template AST nodes, collecting #refName → EUI class name mappings. For each element with a template reference (#ref), we try to resolve its EUI class: Match element tag name against EUI\_SELECTOR\_TO\_CLASS (e.g. 'eui-alert' → EuiAlertComponent) Match element attributes against attribute selectors (e.g. \[euiAutocomplete\] → EuiAutocompleteComponent)
|
|
1452
1846
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1847
|
+
- `collectTypeScriptAnnotations(source: string, path: string): Annotation[]`
|
|
1848
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1849
|
+
- `componentTemplates(tree: Tree, path: string, source: string, tagName: string): TemplateSource[]` — Inline and external ( templateUrl ) templates of a component file that mention tagName .
|
|
1850
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1453
1851
|
- `ConsoleHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1454
1852
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1853
|
+
- `consumeLeadingWhitespace(source: string, start: number): number`
|
|
1854
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1455
1855
|
- `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.
|
|
1456
1856
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
1457
1857
|
- `createSelector(s1: Selector, projector): MemoizedSelector<State, Result, typeof projector>`
|
|
@@ -1464,6 +1864,32 @@ Properties:
|
|
|
1464
1864
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1465
1865
|
- `createSelectorFactory(memoize: MemoizeFn, options: SelectorFactoryConfig = { stateFn: defaultStateFn, })`
|
|
1466
1866
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1867
|
+
- `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.
|
|
1868
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
1869
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1870
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1871
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1872
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1873
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1874
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1875
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1876
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1877
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1878
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1879
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1880
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1881
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1882
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1883
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1884
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1885
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1886
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1887
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1888
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1889
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1890
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1891
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1892
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1467
1893
|
- `deduplicateEdits(edits): Edit[]`
|
|
1468
1894
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1469
1895
|
- `deduplicateEdits(edits): Edit[]`
|
|
@@ -1476,11 +1902,13 @@ Properties:
|
|
|
1476
1902
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1477
1903
|
- `defaultStateFn(state: any, selectors, props: any, memoizedProjector: MemoizedProjection): any`
|
|
1478
1904
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1905
|
+
- `detectAppAdapter(tree: Tree, files): AdapterKind | undefined` — The single adapter provided in app.config.ts / app.module.ts / main.ts, if any.
|
|
1906
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1479
1907
|
- `detectEuiVersion(tree: Tree): string | null` — Auto-detects the eUI version from the installed
|
|
1480
1908
|
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1481
1909
|
- `detectIndent(source: string, pos: number): string`
|
|
1482
1910
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1483
|
-
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName
|
|
1911
|
+
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName = null, childConfig: LogConfig = {}): LogService`
|
|
1484
1912
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1485
1913
|
- `extractArgsFromSelectorsDictionary(selectorsDictionary: Record): unknown`
|
|
1486
1914
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
@@ -1504,9 +1932,9 @@ Properties:
|
|
|
1504
1932
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1505
1933
|
- `findDecoratorImportsArray(sf, source: string, decoratorStartHint: number): ImportsArrayInfo | null`
|
|
1506
1934
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1507
|
-
- `findDirectChild(element: TmplAstElement,
|
|
1935
|
+
- `findDirectChild(element: TmplAstElement, tagName: string): TmplAstElement | undefined`
|
|
1508
1936
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1509
|
-
- `findElements(nodes,
|
|
1937
|
+
- `findElements(nodes, tagName: string): TmplAstElement[]`
|
|
1510
1938
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1511
1939
|
- `findImportsArrayInSource(sf): ts.ArrayLiteralExpression | null`
|
|
1512
1940
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
@@ -1514,10 +1942,14 @@ Properties:
|
|
|
1514
1942
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1515
1943
|
- `findLabelElement(nodes): TmplAstElement | null`
|
|
1516
1944
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1945
|
+
- `findOutputFormatUsages(template: string): OutputFormatUsage[]`
|
|
1946
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1517
1947
|
- `findSelectorsInTemplate(html: string, knownSelectors): Set<string>`
|
|
1518
1948
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1519
1949
|
- `fixNoMultipleEmptyLines(options: Schema = {}): Rule`
|
|
1520
1950
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
1951
|
+
- `forEachElement(nodes, tagName: string, callback): void` — Visits every element named tagName , including those nested in control-flow blocks.
|
|
1952
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1521
1953
|
- `formatInnerLines(source: string, indent: string): string[]`
|
|
1522
1954
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1523
1955
|
- `getAttributeSpan(attr): { start: number; end: number }`
|
|
@@ -1554,7 +1986,9 @@ Properties:
|
|
|
1554
1986
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1555
1987
|
- `getInnerText(source: string, element: TmplAstElement): string`
|
|
1556
1988
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1557
|
-
- `
|
|
1989
|
+
- `getLineStartPosition(source: string, pos: number): number` — Returns the index of the first character of the line containing pos .
|
|
1990
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1991
|
+
- `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
|
|
1558
1992
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1559
1993
|
- `getModuleConfig(appConfig: EuiAppConfig, moduleName: string): ModuleConfig`
|
|
1560
1994
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
@@ -1572,8 +2006,12 @@ Properties:
|
|
|
1572
2006
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1573
2007
|
- `GrowlHttpErrorCallbackFn(error: HttpErrorResponse, injector: Injector): void`
|
|
1574
2008
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1575
|
-
- `
|
|
2009
|
+
- `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)
|
|
2010
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2011
|
+
- `hasAttribute(element: TmplAstElement, attrName: string): boolean`
|
|
1576
2012
|
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
2013
|
+
- `hasEclLink(element: TmplAstElement): boolean`
|
|
2014
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1577
2015
|
- `hasEuiButtonAttribute(element: TmplAstElement): boolean`
|
|
1578
2016
|
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1579
2017
|
- `hasEuiReference(source: string): boolean` — Quick check: does the file reference any EUI class name from the signal map?
|
|
@@ -1582,6 +2020,8 @@ Properties:
|
|
|
1582
2020
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1583
2021
|
- `hasModuleInArray(array, moduleName: string, source: string): boolean`
|
|
1584
2022
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2023
|
+
- `hasQuizCard(element: TmplAstElement): boolean`
|
|
2024
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1585
2025
|
- `hasStandaloneFalse(decorator): boolean`
|
|
1586
2026
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1587
2027
|
- `hasStringRefQuery(source: string): boolean` — Quick check: does the file have
|
|
@@ -1590,6 +2030,10 @@ Properties:
|
|
|
1590
2030
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1591
2031
|
- `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 }) .
|
|
1592
2032
|
Defined in `packages/core/src/lib/helpers/injector.ts`
|
|
2033
|
+
- `injectVariantAttribute(element: TmplAstElement, source: string): Edit` — Injects variant="primary-highlight" immediately after the eclLink attribute.
|
|
2034
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2035
|
+
- `inlineTemplates(source: string): literal type[]`
|
|
2036
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1593
2037
|
- `isArgumentsChanged(args: IArguments, lastArguments: IArguments, comparator: ComparatorFn)`
|
|
1594
2038
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1595
2039
|
- `isAssignmentOperator(kind): boolean`
|
|
@@ -1602,6 +2046,32 @@ Properties:
|
|
|
1602
2046
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1603
2047
|
- `isChipListElement(element: TmplAstElement): boolean`
|
|
1604
2048
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2049
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2050
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2051
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2052
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2053
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2054
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2055
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2056
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2057
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2058
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2059
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2060
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2061
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2062
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2063
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2064
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2065
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2066
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2067
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2068
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2069
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2070
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2071
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2072
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2073
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2074
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1605
2075
|
- `isComponentMetadataProperty(node): boolean`
|
|
1606
2076
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1607
2077
|
- `isComponentMetadataProperty(node): boolean`
|
|
@@ -1630,12 +2100,42 @@ Properties:
|
|
|
1630
2100
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1631
2101
|
- `isEuiElement(element: TmplAstElement): boolean`
|
|
1632
2102
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2103
|
+
- `isInsideAnyRange(edit: Edit, ranges): boolean` — True if edit 's position falls within any of the given ranges.
|
|
2104
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2105
|
+
- `isLikelyLuxonFormat(format: string): boolean`
|
|
2106
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1633
2107
|
- `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
|
|
1634
2108
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1635
2109
|
- `isPartOfImport(node): boolean`
|
|
1636
2110
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
1637
2111
|
- `isSelectorsDictionary(selectors): Record<string | Selector<unknown, unknown>>`
|
|
1638
2112
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
2113
|
+
- `isTemplateProperty(node): boolean`
|
|
2114
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2115
|
+
- `isTemplateProperty(node): boolean`
|
|
2116
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2117
|
+
- `isTemplateProperty(node): boolean`
|
|
2118
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2119
|
+
- `isTemplateProperty(node): boolean`
|
|
2120
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2121
|
+
- `isTemplateProperty(node): boolean`
|
|
2122
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2123
|
+
- `isTemplateProperty(node): boolean`
|
|
2124
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2125
|
+
- `isTemplateProperty(node): boolean`
|
|
2126
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2127
|
+
- `isTemplateProperty(node): boolean`
|
|
2128
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2129
|
+
- `isTemplateProperty(node): boolean`
|
|
2130
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2131
|
+
- `isTemplateProperty(node): boolean`
|
|
2132
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2133
|
+
- `isTemplateProperty(node): boolean`
|
|
2134
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2135
|
+
- `isTemplateProperty(node): boolean`
|
|
2136
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2137
|
+
- `isTemplateProperty(node): boolean`
|
|
2138
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1639
2139
|
- `isTemplateProperty(node): boolean`
|
|
1640
2140
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1641
2141
|
- `isTemplateProperty(node): boolean`
|
|
@@ -1658,13 +2158,15 @@ Properties:
|
|
|
1658
2158
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1659
2159
|
- `isTemplateProperty(node): boolean`
|
|
1660
2160
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1661
|
-
- `
|
|
2161
|
+
- `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.
|
|
2162
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2163
|
+
- `loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig | null>` — Function to load asynchronously a dynamic configuration (from a local path or a web service)
|
|
1662
2164
|
Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
|
|
1663
2165
|
- `localStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the local storage
|
|
1664
2166
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1665
2167
|
- `localStorageSync(reducer: ActionReducer): S` — Utility meta-reducer to load the state from the local storage
|
|
1666
2168
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1667
|
-
- `localStorageSync(reducer
|
|
2169
|
+
- `localStorageSync(reducer, platformId?): Function`
|
|
1668
2170
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1669
2171
|
- `logDryRun(context: SchematicContext, message: string): void`
|
|
1670
2172
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
@@ -1674,17 +2176,19 @@ Properties:
|
|
|
1674
2176
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1675
2177
|
- `logRemovalWarning(name: string, filePath: string, element: TmplAstElement, context: SchematicContext): void`
|
|
1676
2178
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1677
|
-
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector
|
|
2179
|
+
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogService` — Helper function to provide an instance of LogService from a configuration
|
|
1678
2180
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2181
|
+
- `luxonPresetEdits(source: string): TextEdit[]`
|
|
2182
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1679
2183
|
- `mapIconSuffix(icon: string): string | undefined`
|
|
1680
2184
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1681
2185
|
- `matchElement(element: TmplAstElement, matched): void`
|
|
1682
2186
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1683
2187
|
- `matchSelectorsInTemplate(html: string): SelectorEntry[]`
|
|
1684
2188
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1685
|
-
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler
|
|
2189
|
+
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler): EuiAppConfig`
|
|
1686
2190
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1687
|
-
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig
|
|
2191
|
+
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge, isDeepMerge: boolean): EuiAppConfig`
|
|
1688
2192
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1689
2193
|
- `migrate(options: Schema): Rule`
|
|
1690
2194
|
Defined in `packages/core/schematics/migrate/index.ts`
|
|
@@ -1692,6 +2196,34 @@ Properties:
|
|
|
1692
2196
|
Defined in `packages/core/schematics/migrate-all/index.ts`
|
|
1693
2197
|
- `migrateChipListElement(element: TmplAstElement, source: string, edits): void`
|
|
1694
2198
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2199
|
+
- `migrateEcl(options: MigrateEclSchema): Rule` — Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an eUI-ECL application from v21 to v22, in the correct order: Per-component ECL selector / input / structural migrations (migrate-ecl-\*). migrate-ecl-removed-components — report-only warnings for members that require manual migration. migrate-to-signals — rewrites programmatic comp.prop accesses to comp.prop() for signal-migrated components (the engine is shared with eUI but covers ECL via its ECL signal map). fix-no-multiple-empty-lines — cosmetic cleanup after the edits above. It deliberately excludes the eUI (Material) migrations ( migrate , migrate-eui-\* , migrate-to-standalone ), which do not apply to eUI-ECL apps.
|
|
2200
|
+
Defined in `packages/core/schematics/migrate-ecl/index.ts`
|
|
2201
|
+
- `migrateEclBreadcrumb(options: Schema = {}): Rule`
|
|
2202
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2203
|
+
- `migrateEclFile(options: Schema = {}): Rule`
|
|
2204
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2205
|
+
- `migrateEclIcon(options: Schema = {}): Rule`
|
|
2206
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2207
|
+
- `migrateEclInpageNavigation(options: Schema = {}): Rule`
|
|
2208
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2209
|
+
- `migrateEclLink(options: Schema = {}): Rule`
|
|
2210
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2211
|
+
- `migrateEclPageHeader(options: Schema = {}): Rule`
|
|
2212
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2213
|
+
- `migrateEclPageSummary(options: Schema = {}): Rule`
|
|
2214
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2215
|
+
- `migrateEclPagination(options: Schema = {}): Rule`
|
|
2216
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2217
|
+
- `migrateEclQuiz(options: Schema = {}): Rule`
|
|
2218
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2219
|
+
- `migrateEclRemovedComponents(options: Schema = {}): Rule`
|
|
2220
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2221
|
+
- `migrateEclSiteFooter(options: Schema = {}): Rule`
|
|
2222
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2223
|
+
- `migrateEclTabs(options: Schema = {}): Rule`
|
|
2224
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2225
|
+
- `migrateEclTimeline(options: Schema = {}): Rule`
|
|
2226
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1695
2227
|
- `migrateEuiAccent(options: Schema = {}): Rule`
|
|
1696
2228
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1697
2229
|
- `migrateEuiAlert(options: Schema = {}): Rule`
|
|
@@ -1704,6 +2236,10 @@ Properties:
|
|
|
1704
2236
|
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1705
2237
|
- `migrateEuiChipList(options: Schema = {}): Rule`
|
|
1706
2238
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2239
|
+
- `migrateEuiDatepicker(options: Schema = {}): Rule` — Migrates eui-datepicker usages to the moment-free datepicker: moment locales are no longer bundled (report only); with a Luxon adapter, moment-token presets are replaced by their LUXON\_\* equivalents and static dateOutputFormat values are converted to Luxon tokens; with the native adapter, dateOutputFormat is no longer supported (report only). The adapter is detected from the component file, falling back to the one provided in app.config.ts / app.module.ts / main.ts.
|
|
2240
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2241
|
+
- `migrateEuiDateRangeSelector(options: Schema = {}): Rule` — Advisory migration for the moment-free eui-date-range-selector. It makes no edits; it reports: usages not on a Luxon or native adapter, which must now import the moment locales they use; time-range usages with a Luxon or native adapter, which now get the adapter's own date type back after a time change (moment objects before); code reading the euiDateRangeInvalid error payload with a Luxon or native adapter, whose actual / end dates are now of the adapter's type; euiStartEndDateValidator usages, which no longer report an empty or partial range (unparseable dates are reported by the component as euiDateRangeParse instead).
|
|
2242
|
+
Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
|
|
1707
2243
|
- `migrateEuiDiscussionThread(options: Schema = {}): Rule`
|
|
1708
2244
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1709
2245
|
- `migrateEuiEditor(options: Schema = {}): Rule`
|
|
@@ -1758,6 +2294,30 @@ Properties:
|
|
|
1758
2294
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1759
2295
|
- `migrateInlineTemplates(source: string, filePath: string, context: SchematicContext): string`
|
|
1760
2296
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2297
|
+
- `migrateTemplate(source: string): string`
|
|
2298
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2299
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2300
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2301
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2302
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2303
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2304
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2305
|
+
- `migrateTemplate(source: string): string`
|
|
2306
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2307
|
+
- `migrateTemplate(source: string): string`
|
|
2308
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2309
|
+
- `migrateTemplate(source: string): string`
|
|
2310
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2311
|
+
- `migrateTemplate(source: string): string`
|
|
2312
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2313
|
+
- `migrateTemplate(source: string): string`
|
|
2314
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2315
|
+
- `migrateTemplate(source: string): string`
|
|
2316
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2317
|
+
- `migrateTemplate(source: string): string`
|
|
2318
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2319
|
+
- `migrateTemplate(source: string): string`
|
|
2320
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1761
2321
|
- `migrateTemplate(source: string): string`
|
|
1762
2322
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1763
2323
|
- `migrateTemplate(source: string): string`
|
|
@@ -1792,10 +2352,34 @@ Properties:
|
|
|
1792
2352
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1793
2353
|
- `migrateTemplateWithPaginator(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1794
2354
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1795
|
-
- `migrateToSignals(options: Schema = {}): Rule` — Migrates consumer code that accesses EUI component instances programmatically. When EUI migrated
|
|
2355
|
+
- `migrateToSignals(options: Schema = {}): Rule` — Migrates consumer code that accesses EUI or ECL component instances programmatically. When EUI/ECL migrated
|
|
1796
2356
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1797
2357
|
- `migrateToStandalone(options: Schema = {}): Rule`
|
|
1798
2358
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2359
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2360
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2361
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2362
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2363
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2364
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2365
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2366
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2367
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2368
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2369
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2370
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2371
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2372
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2373
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2374
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2375
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2376
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2377
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2378
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2379
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2380
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2381
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2382
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1799
2383
|
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1800
2384
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1801
2385
|
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
@@ -1804,18 +2388,34 @@ Properties:
|
|
|
1804
2388
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
1805
2389
|
- `migrateTypeScript(source: string, filePath: string, tree: Tree, context: SchematicContext): MigrateResult`
|
|
1806
2390
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2391
|
+
- `momentFormatToLuxon(format: string): string | null` — Converts a moment format to Luxon, or returns null when it contains tokens without a safe equivalent.
|
|
2392
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1807
2393
|
- `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"\] }
|
|
1808
2394
|
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
2395
|
+
- `parseTemplateNodes(template: string): [] | null`
|
|
2396
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1809
2397
|
- `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.
|
|
1810
2398
|
Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
|
|
1811
2399
|
- `prepareEuiAppConfigToken(euiConfig: EuiConfig): EuiAppConfig`
|
|
1812
2400
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1813
2401
|
- `provideEuiInitializer(): EnvironmentProviders` — Initializes the app with the necessary configurations. Use this in combination with provideAppInitializer(euiInitApp\_Env)
|
|
1814
2402
|
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2403
|
+
- `readBindingExpression(input: TmplAstBoundAttribute, source: string): string`
|
|
2404
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2405
|
+
- `readStringLiteralBinding(input: TmplAstBoundAttribute, source: string): literal type | null` — If a bound attribute is a plain string literal ( \[iconSet\]="'social'" ), returns the unquoted value and the offsets of the inner text (between the quotes) so it can be rewritten in place. Returns null otherwise.
|
|
2406
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1815
2407
|
- `removalEdit(node, source: string): Edit`
|
|
1816
2408
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2409
|
+
- `removeAttribute(attr, source: string): Edit` — Removes a text or bound attribute including preceding whitespace.
|
|
2410
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2411
|
+
- `removeAttribute(attr: TmplAstTextAttribute, source: string): Edit` — Removes a plain text attribute including the preceding whitespace.
|
|
2412
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2413
|
+
- `removeAttribute(attr, source: string): Edit` — Removes a text or bound attribute including preceding whitespace.
|
|
2414
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1817
2415
|
- `removeAttribute(start: number, end: number, source: string, edits): void`
|
|
1818
2416
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2417
|
+
- `removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit` — Removes a bound attribute \[name\]="..." including the preceding whitespace.
|
|
2418
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1819
2419
|
- `removeElementRanges(source: string, parent: TmplAstElement, elements): string`
|
|
1820
2420
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1821
2421
|
- `removeFromEsImports(source: string, filePath: string, symbolsToRemove): string`
|
|
@@ -1824,6 +2424,8 @@ Properties:
|
|
|
1824
2424
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1825
2425
|
- `removeImportSpecifier(namedImports, specifier, sourceFile, edits): void`
|
|
1826
2426
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
2427
|
+
- `renameKey(keySpan, newName: string): Edit` — Rewrites just the attribute/binding name (keySpan), preserving value and brackets.
|
|
2428
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1827
2429
|
- `renameTsProperties(source: string): string`
|
|
1828
2430
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1829
2431
|
- `renameTsPropertyAccesses(source: string): string`
|
|
@@ -1840,7 +2442,7 @@ Properties:
|
|
|
1840
2442
|
Defined in `packages/core/schematics/migrate/replacements/breaking-changes.ts`
|
|
1841
2443
|
- `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).
|
|
1842
2444
|
Defined in `packages/core/schematics/migrate/replacements/eui-modules.ts`
|
|
1843
|
-
- `replaceIcons(lines, index: number): boolean` — Replaces old icon names with new ones in a single line.
|
|
2445
|
+
- `replaceIcons(lines, index: number): boolean` — Replaces old icon names with new ones in a single line. Handles both double-quoted and single-quoted icon values, including icon="..." attributes on element lines. Skips import lines and lines that contain eui element tags but no icon attribute. Returns true if the line was modified.
|
|
1844
2446
|
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
1845
2447
|
- `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'").
|
|
1846
2448
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
@@ -1850,26 +2452,70 @@ Properties:
|
|
|
1850
2452
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1851
2453
|
- `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.
|
|
1852
2454
|
Defined in `packages/core/schematics/migrate/replacements/mwp.ts`
|
|
2455
|
+
- `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.
|
|
2456
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2457
|
+
- `reportMomentLocales(tree: Tree, context: SchematicContext, files): void`
|
|
2458
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1853
2459
|
- `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\]'
|
|
1854
2460
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1855
2461
|
- `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.
|
|
1856
2462
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2463
|
+
- `resolveFileAdapter(source: string, appAdapter): AdapterKind | undefined` — The adapter a component file works with: its own provider, or the app-wide one when it provides none. A file referencing several adapters is ambiguous and yields undefined .
|
|
2464
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1857
2465
|
- `resolveIcon(icon: string): string | undefined` — Resolve icon: first try exact match in ICON\_MAP, then apply suffix mapping
|
|
1858
2466
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1859
2467
|
- `resolveImports(matched, useClassArray: boolean): ImportToAdd[]`
|
|
1860
2468
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2469
|
+
- `resolvePath(fromFile: string, relative: string): string`
|
|
2470
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1861
2471
|
- `resolveRefName(expr): string | null` — Resolves a reference name from an expression. Handles: ref , this.ref , this.\_ref
|
|
1862
2472
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2473
|
+
- `sanitize(message: string): string`
|
|
2474
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
1863
2475
|
- `sessionStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
|
|
1864
2476
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1865
2477
|
- `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
|
|
1866
2478
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1867
|
-
- `sessionStorageSync(reducer
|
|
2479
|
+
- `sessionStorageSync(reducer, platformId?): Function`
|
|
1868
2480
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2481
|
+
- `setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit` — Replaces the value of a text attribute name="old" with a new value.
|
|
2482
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2483
|
+
- `setTextAttributeValue(attr: TmplAstTextAttribute, newValue: string): Edit` — Replaces the value of a text attribute iconSet="old" with a new value.
|
|
2484
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2485
|
+
- `templateUsesElement(template: string, tagName: string): boolean` — Whether a template uses tagName ; falls back to a substring check for unparseable templates.
|
|
2486
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
1869
2487
|
- `transformTranslations(translations: T): T` — Recursively walks a translation object and converts all legacy {{var}} interpolations to ICU-compatible {var} format in string leaf values.
|
|
1870
2488
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
2489
|
+
- `tryInsertWriteTodo(node, euiRefs: Map, sourceFile, source: string): Edit | null` — Detects a programmatic WRITE to a now-signal input and returns an edit that comments out the offending statement and prepends an explanatory TODO. A signal input ( input() ) exposes a read-only getter — it cannot be assigned from outside the component ( comp.prop = value no longer compiles, and comp.prop() is a getter, not a setter). There is no safe, mechanical rewrite: the correct fix is to drive the value declaratively through a template binding ( \[prop\]="..." ) or, when a ComponentRef is genuinely available, componentRef.setInput('prop', value) . Both require human judgement, so instead of rewriting we comment the statement out (keeping the build green) and leave a TODO pointing at the manual fix. Only acts when the assignment is the ENTIRE statement ( ExpressionStatement whose expression is exactly this assignment): ref.prop = value (simple assignment) ref.prop += value, etc. (compound assignment) where ref is a tracked EUI/ECL reference and prop is in its signal set. When the write is only part of a larger statement (e.g. inside an if without a block, or nested in another expression), commenting it out would also remove unrelated logic, so we leave it untouched (it will surface as a compile error the developer must resolve by hand).
|
|
2490
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1871
2491
|
- `tryRewritePropertyAccess(node, euiRefs: Map, sourceFile, source: string): Edit | null` — Checks if a property access ref.prop should be rewritten to ref.prop() . We rewrite if: ref is tracked in euiRefs prop is in the signal set for that EUI class The access is NOT already a call expression (not ref.prop() or ref.prop(args) ) The access is NOT a write target (not ref.prop = value ) The access is NOT a template binding argument (those are unaffected)
|
|
1872
2492
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2493
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2494
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2495
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2496
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2497
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2498
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2499
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2500
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2501
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2502
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2503
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2504
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2505
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2506
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2507
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2508
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2509
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2510
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2511
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2512
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2513
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2514
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2515
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2516
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2517
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2518
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1873
2519
|
- `unwrapExpression(expression): ts.Expression`
|
|
1874
2520
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1875
2521
|
- `unwrapExpression(expression): ts.Expression`
|
|
@@ -1898,12 +2544,40 @@ Properties:
|
|
|
1898
2544
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1899
2545
|
- `updateEsImports(source: string, filePath: string, replacements: Map): string`
|
|
1900
2546
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2547
|
+
- `usesTimeRange(template: string): boolean`
|
|
2548
|
+
Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
|
|
1901
2549
|
- `visitAstForPipes(ast: AST, edits): void`
|
|
1902
2550
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1903
2551
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1904
2552
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1905
2553
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1906
2554
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
2555
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2556
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2557
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2558
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2559
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2560
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2561
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2562
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2563
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2564
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2565
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2566
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2567
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2568
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2569
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2570
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2571
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2572
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2573
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2574
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2575
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2576
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2577
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2578
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2579
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2580
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1907
2581
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1908
2582
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1909
2583
|
- `visitDir(dir: DirEntry, callback): void`
|
|
@@ -1944,6 +2618,30 @@ Properties:
|
|
|
1944
2618
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1945
2619
|
- `visitExpressionForPipes(expr: AST, edits): void`
|
|
1946
2620
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2621
|
+
- `visitNodes(nodes, edits): void`
|
|
2622
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2623
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2624
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2625
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2626
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2627
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2628
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2629
|
+
- `visitNodes(nodes, edits): void`
|
|
2630
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2631
|
+
- `visitNodes(nodes, edits): void`
|
|
2632
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2633
|
+
- `visitNodes(nodes, edits): void`
|
|
2634
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2635
|
+
- `visitNodes(nodes, source: string, edits): void`
|
|
2636
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2637
|
+
- `visitNodes(nodes, edits): void`
|
|
2638
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2639
|
+
- `visitNodes(nodes, edits): void`
|
|
2640
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2641
|
+
- `visitNodes(nodes, edits): void`
|
|
2642
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2643
|
+
- `visitNodes(nodes, edits): void`
|
|
2644
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1947
2645
|
- `visitNodes(nodes, edits): void`
|
|
1948
2646
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1949
2647
|
- `visitNodes(nodes, removals): void`
|
|
@@ -1976,6 +2674,10 @@ Properties:
|
|
|
1976
2674
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1977
2675
|
- `visitTemplateNodes(nodes, matched): void`
|
|
1978
2676
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2677
|
+
- `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
|
|
2678
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2679
|
+
- `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
|
|
2680
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1979
2681
|
- `warnPropertyAccesses(path: string, source: string, context: SchematicContext): void`
|
|
1980
2682
|
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1981
2683
|
- `warnRemovedProperties(sourceFile, filePath: string, context: SchematicContext): void`
|
|
@@ -1987,7 +2689,9 @@ Properties:
|
|
|
1987
2689
|
|
|
1988
2690
|
## Public type aliases
|
|
1989
2691
|
|
|
2692
|
+
- `type ActionReducer = function` — A function that takes an Action and a State , and returns a State . See createReducer .
|
|
1990
2693
|
- `type ActionReducerMap = unknown`
|
|
2694
|
+
- `type AdapterKind = "moment" | "luxon" | "native"`
|
|
1991
2695
|
- `type AnyFn = function`
|
|
1992
2696
|
- `type ComparatorFn = function`
|
|
1993
2697
|
- `type CoreAppActions = InitStoreAction | UpdateAppVersionAction | UpdateAppConnectionAction | AddAppLoadedConfigModulesAction | UpdateAppStatusAction | UpdateCurrentModuleAction | Act…` (deprecated: it will be removed in the next major version)
|
|
@@ -2003,6 +2707,7 @@ Properties:
|
|
|
2003
2707
|
- `type Selector = function`
|
|
2004
2708
|
- `type SelectorFactoryConfig = { stateFn: V }`
|
|
2005
2709
|
- `type SelectorWithProps = function`
|
|
2710
|
+
- `type TranslationKeys = Record<string | string>`
|
|
2006
2711
|
|
|
2007
2712
|
## Public enumerations
|
|
2008
2713
|
|
|
@@ -2055,20 +2760,40 @@ Properties:
|
|
|
2055
2760
|
|
|
2056
2761
|
## Public variables
|
|
2057
2762
|
|
|
2058
|
-
- `actionToReducerMap:
|
|
2763
|
+
- `actionToReducerMap: Record<string, AppState> = { [CoreAppActionTypes.UPDATE_APP_VERSION]: updateAppVersion, [CoreAppActionTypes.UPDATE_APP_CONNECTION]: updateAppConnection, [CoreAppActionTypes.UPDATE_APP_STA…`
|
|
2059
2764
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2060
|
-
- `actionToReducerMap:
|
|
2765
|
+
- `actionToReducerMap: Record<string, I18nState> = { [CoreI18nActionTypes.UPDATE_I18N_STATE]: updateI18nState, }` (deprecated: it will be removed in the next major version)
|
|
2061
2766
|
Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
|
|
2062
|
-
- `actionToReducerMap:
|
|
2767
|
+
- `actionToReducerMap: Record<string, LocaleState> = { [CoreLocaleActionTypes.UPDATE_LOCALE_STATE]: updateLocaleState, }` (deprecated: it will be removed in the next major version)
|
|
2063
2768
|
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2064
|
-
- `actionToReducerMap:
|
|
2769
|
+
- `actionToReducerMap: Record<string, NotificationsState> = { [CoreNotificationsActionTypes.UPDATE_NOTIFICATIONS_LIST]: updateNotificationsList, }`
|
|
2065
2770
|
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2066
|
-
- `actionToReducerMap:
|
|
2771
|
+
- `actionToReducerMap: Record<string, UserState> = { [CoreUserActionTypes.UPDATE_USER_DETAILS]: updateUserDetails, [CoreUserActionTypes.UPDATE_USER_PREFERENCES]: updateUserPreferences, [CoreUserActionTypes.UPDAT…`
|
|
2067
2772
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2773
|
+
- `ADAPTER_NAMES: Record<AdapterKind, string> = { moment: 'MomentDateAdapter', luxon: 'LuxonDateAdapter', native: 'NativeDateAdapter' }`
|
|
2774
|
+
Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
|
|
2775
|
+
- `ADAPTER_PATTERNS: Record<AdapterKind, RegExp> = { moment: /\bprovideMomentDateAdapter\s*\(|\bMomentDateAdapter\b|\bMatMomentDateModule\b/, luxon: /\bprovideLuxonDateAdapter\s*\(|\bLuxonDateAdapter\b|\bMatLuxo…`
|
|
2776
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
2068
2777
|
- `addApiQueueItem: unknown = (state: AppState, action: AddApiQueueItemAction): AppState => { // apply the timestamp to the queue item const apiQueueItem = Object.assign({}, action.payload.i…`
|
|
2069
2778
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2070
|
-
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName
|
|
2779
|
+
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName: string; moduleConfig: Record<string, unknown> }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: {…`
|
|
2071
2780
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2781
|
+
- `APP_ROOT_FILE: unknown = /(^|\/)(app\.config|app\.module|main)\.ts$/`
|
|
2782
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
2783
|
+
- `ATTRIBUTE: string = 'eclBreadcrumb'`
|
|
2784
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2785
|
+
- `ATTRIBUTE: string = 'eclInpageNavigationItem'`
|
|
2786
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2787
|
+
- `ATTRIBUTE: string = 'eclPageSummary'`
|
|
2788
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2789
|
+
- `ATTRIBUTE: string = 'eclPaginationItem'`
|
|
2790
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2791
|
+
- `ATTRIBUTE: string = 'eclSiteFooter'`
|
|
2792
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2793
|
+
- `ATTRIBUTE: string = 'eclPageHeader'`
|
|
2794
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2795
|
+
- `ATTRIBUTE: string = 'eclTab'`
|
|
2796
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2072
2797
|
- `BASE_LOGGER_NAME_TOKEN: unknown = new InjectionToken<string>('BASE_LOGGER_NAME')`
|
|
2073
2798
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2074
2799
|
- `BASE_NAME_TOKEN: unknown = new InjectionToken<string>('baseName')`
|
|
@@ -2083,7 +2808,7 @@ Properties:
|
|
|
2083
2808
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2084
2809
|
- `CHIP_TAG: string = 'eui-chip'`
|
|
2085
2810
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2086
|
-
- `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element = target; while (element && element.nodeType === Node
|
|
2811
|
+
- `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element: HTMLElement | null = target; while (element !== null && element.nodeType === Node…`
|
|
2087
2812
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2088
2813
|
- `COMPONENT_TAG: string = 'eui-discussion-thread'`
|
|
2089
2814
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
@@ -2101,22 +2826,24 @@ Properties:
|
|
|
2101
2826
|
Defined in `packages/core/src/lib/helpers/event-helpers.ts`
|
|
2102
2827
|
- `CORE_ROOT_GUARD: unknown = new InjectionToken<void>('Internal Theme ForRoot Guard')`
|
|
2103
2828
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2104
|
-
- `coreAppReducers: AppState = (state = initialAppState, action:
|
|
2829
|
+
- `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)
|
|
2105
2830
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2106
|
-
- `coreLocaleReducers: LocaleState = ( state = initialLocaleState, action:
|
|
2831
|
+
- `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)
|
|
2107
2832
|
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2108
|
-
- `coreNotificationsReducers: NotificationsState = ( state = initialNotificationsState, action:
|
|
2833
|
+
- `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)
|
|
2109
2834
|
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2110
2835
|
- `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)
|
|
2111
2836
|
Defined in `packages/core/src/lib/services/store/reducers/core.reducers.ts`
|
|
2112
|
-
- `coreUserReducers: UserState = (state = initialUserState, action:
|
|
2837
|
+
- `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)
|
|
2113
2838
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2114
|
-
- `corI18nReducers: I18nState = (state = initialI18nState, action:
|
|
2839
|
+
- `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)
|
|
2115
2840
|
Defined in `packages/core/src/lib/services/store/reducers/i18n.reducers.ts`
|
|
2116
|
-
- `createEuiCoreRootGuard: unknown = (core): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); }
|
|
2841
|
+
- `createEuiCoreRootGuard: unknown = (core: unknown): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); }…`
|
|
2117
2842
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2118
2843
|
- `CYAN: string = '\x1b[36m'`
|
|
2119
2844
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
2845
|
+
- `DATEPICKER_TAG: string = 'eui-datepicker'`
|
|
2846
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2120
2847
|
- `DEFAULT_EUI_APP_CONFIG: EuiAppConfig = { global: { ...DEFAULT_GLOBAL_CONFIG, }, }`
|
|
2121
2848
|
Defined in `packages/core/src/lib/services/config/defaults.ts`
|
|
2122
2849
|
- `DEFAULT_EUI_CONFIG: EuiConfig = { appConfig: { ...DEFAULT_EUI_APP_CONFIG, }, environment: { ...DEFAULT_EUI_ENV_CONFIG, }, }`
|
|
@@ -2145,6 +2872,12 @@ Properties:
|
|
|
2145
2872
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2146
2873
|
- `DYNAMIC_COMPONENT_CONFIG: unknown = new InjectionToken<object>('DYNAMIC_COMPONENT_CONFIG')`
|
|
2147
2874
|
Defined in `packages/core/src/lib/services/dynamic-component/dynamic-component.service.ts`
|
|
2875
|
+
- `ECL_LINK_ATTR: string = 'eclLink'`
|
|
2876
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2877
|
+
- `ECL_SELECTOR_TO_CLASS: Record<string, string> = { '[eclBlockquote]': 'EclBlockquoteComponent', '[eclCheckboxHelp]': 'EclCheckboxHelpComponent', '[eclCheckbox]': 'EclCheckboxDirective', '[eclContentBlockSecond…` — Map of component/directive selectors to their class names. Used to resolve
|
|
2878
|
+
Defined in `packages/core/schematics/migrate-to-signals/ecl-signal-map.ts`
|
|
2879
|
+
- `ECL_SIGNAL_MAP: Record<string, ReadonlySet<string>> = { EclAccordionDirective: new Set(['isSidebar', 'sidebarBreakpoint']), EclAddToCalendarComponent: new Set(['calendarDates', 'calendarLocation', 'calendarTime', '…` — Auto-generated map of ECL component classes whose input()/model()/viewChild()/ viewChildren()/contentChild()/contentChildren() properties are signal-backed in v22.x. Key: class name (e.g. 'EclBannerComponent') Value: set of PUBLIC property names that are signals (call them: comp.prop()). Generated by migrate-to-signals/generate-ecl-signal-map.js — do not edit by hand.
|
|
2880
|
+
Defined in `packages/core/schematics/migrate-to-signals/ecl-signal-map.ts`
|
|
2148
2881
|
- `emptyApiQueue: unknown = (state: AppState, action: EmptyApiQueueAction): AppState => // remove all items in the Api Queue Object.assign({}, state, { apiQueue: {} })`
|
|
2149
2882
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2150
2883
|
- `errorCodes: object = { ERR_GENERIC: 'ERR_GENERIC', }`
|
|
@@ -2157,37 +2890,59 @@ Properties:
|
|
|
2157
2890
|
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2158
2891
|
- `EUI_DIRECTIVES: [] = ['euiButton', 'euiList', 'euiListItem']`
|
|
2159
2892
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2893
|
+
- `EUI_ERROR_MAPPING_HANDLER_TOKEN: unknown = new InjectionToken<ErrorMappingHandler>('EUI_ERROR_MAPPING_HANDLER')`
|
|
2894
|
+
Defined in `packages/core/src/lib/interceptors/request-error.interceptor.ts`
|
|
2895
|
+
- `EUI_SELECTOR_TO_CLASS: Record<string, string> = { ...EUI_SELECTOR_TO_CLASS_RAW, ...ECL_SELECTOR_TO_CLASS }`
|
|
2896
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2160
2897
|
- `EUI_SELECTOR_TO_CLASS: Record<string, string> = { '[euiBase]': 'BaseStatesDirective', '[euiDropdownItem]': 'EuiDropdownItemComponent', '[euiIconColored]': 'EuiIconColorComponent', '[euiListItem]': 'EuiListIte…` — Map of component/directive selectors to their class names. Used to resolve
|
|
2161
2898
|
Defined in `packages/core/schematics/migrate-to-signals/signal-map.ts`
|
|
2899
|
+
- `EUI_SIGNAL_MAP: Record<string, ReadonlySet<string>> = { ...EUI_SIGNAL_MAP_RAW, ...ECL_SIGNAL_MAP }` — Combined EUI + ECL signal maps. The migration logic is identical for both libraries (plain field → signal getter), so the maps are merged and the rest of the engine treats them uniformly. EUI and ECL class names don't collide (Eui\* vs Ecl\* prefixes), and the selector namespaces are disjoint.
|
|
2900
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2162
2901
|
- `EUI_SIGNAL_MAP: Record<string, ReadonlySet<string>> = { AppComponent: new Set(['appSubTitle', 'isShrinkHeaderActive', 'isSidebarHidden', 'isSidebarOpen', 'themeClass']), BaseStatesDirective: new Set(['euiBranding',…` — Auto-generated map of EUI component classes whose
|
|
2163
2902
|
Defined in `packages/core/schematics/migrate-to-signals/signal-map.ts`
|
|
2164
2903
|
- `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…`
|
|
2165
2904
|
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2166
2905
|
- `euiCoreRootGuardClass: unknown = (): EuiCoreRootGuardClass => new EuiCoreRootGuardClass()`
|
|
2167
2906
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2168
|
-
- `
|
|
2907
|
+
- `FILE_ITEM_TAG: string = 'ecl-file-item'`
|
|
2908
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2909
|
+
- `FILE_REMOVED: unknown = new Set(['meta', 'metaId'])`
|
|
2910
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2911
|
+
- `FILE_RENAME_FROM: string = 'detailMeta'`
|
|
2912
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2913
|
+
- `FILE_RENAME_TO: string = 'primaryMeta'`
|
|
2914
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2915
|
+
- `FILE_TAG: string = 'ecl-file'`
|
|
2916
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2917
|
+
- `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
|
|
2169
2918
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2170
|
-
- `formatNumber: unknown = (value: number | string, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = ''): string => { // in case value is not a number throw an
|
|
2919
|
+
- `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.
|
|
2171
2920
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2172
|
-
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app
|
|
2921
|
+
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app?.loadedConfigModules?.lastAddedModule as string`
|
|
2173
2922
|
Defined in `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
2174
2923
|
- `getStyle: unknown = (nativeEl: Element, cssProp: keyof CSSStyleDeclaration): string => { /* istanbul ignore if */ if (getComputedStyle(nativeEl)) { return getComputedStyle(nativeEl…`
|
|
2175
2924
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2176
|
-
- `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el
|
|
2925
|
+
- `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el!: HTMLElemen…`
|
|
2177
2926
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2178
2927
|
- `GLOBAL_CONFIG_TOKEN: unknown = new InjectionToken<GlobalConfig>('globalConfig')`
|
|
2179
2928
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2180
2929
|
- ``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.)
|
|
2181
2930
|
Defined in `packages/core/src/lib/helpers/http-helpers.ts`
|
|
2931
|
+
- `HIGHLIGHT_VARIANT: string = 'primary-highlight'`
|
|
2932
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2182
2933
|
- `HTTP_ERROR_HANDLER_CONFIG_TOKEN: unknown = new InjectionToken<HttpErrorHandlerConfig>('HTTP_ERROR_HANDLER_CONFIG')`
|
|
2183
2934
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2184
2935
|
- `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.
|
|
2185
2936
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2186
2937
|
- `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.
|
|
2187
2938
|
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
2939
|
+
- `ICON_SET: string = 'iconSet'`
|
|
2940
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2941
|
+
- `ICON_TAG: string = 'ecl-icon'`
|
|
2942
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2188
2943
|
- `iconLookup: unknown = new Map<string, string>()` — Build a lookup map for O(1) icon replacement
|
|
2189
2944
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2190
|
-
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(
|
|
2945
|
+
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(); const appConfig: EuiAppConfig = inj…`
|
|
2191
2946
|
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2192
2947
|
- `initialState: UIState = { appName: '', appShortName: '', appSubTitle: '', appBaseFontSize: '', isSidebarOpen: true, isSidebarActive: false, hasSidebar: false, hasSideContainer: false, …`
|
|
2193
2948
|
Defined in `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
@@ -2197,13 +2952,25 @@ Properties:
|
|
|
2197
2952
|
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
2198
2953
|
- `INPUT_RENAMES: unknown = new Map([ ['iconLabelClass', 'icon'], ['iconLabelStyleClass', 'fillColor'], ])`
|
|
2199
2954
|
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
2200
|
-
- `
|
|
2955
|
+
- `IS_HIGHLIGHT: string = 'isHighlight'`
|
|
2956
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2957
|
+
- `IS_NO_VISITED: string = 'isNoVisited'`
|
|
2958
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2959
|
+
- `isDefined: unknown = <T>(value: T | undefined | null): value is T => value as T !== undefined && value as T !== null` — check if a value is null or undefined. If it's not both returns true otherwise false
|
|
2201
2960
|
Defined in `packages/core/src/lib/helpers/utils.ts`
|
|
2202
2961
|
- `isStaticPositioned: unknown = (nativeEl: Element): boolean => (getStyle(nativeEl, 'position') || 'static') === 'static'` — Checks if a given element is statically positioned
|
|
2203
2962
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2963
|
+
- `ITEM_REMOVED: unknown = new Set(['isDescription'])`
|
|
2964
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2965
|
+
- `ITEM_RENAME_FROM: string = 'label'`
|
|
2966
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2967
|
+
- `ITEM_RENAME_TO: string = 'eclTitle'`
|
|
2968
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2204
2969
|
- `LANG_PARAM_KEY: string = 'X-Lang-Param'`
|
|
2205
2970
|
Defined in `packages/core/src/lib/interceptors/add-lang-param.interceptor.ts`
|
|
2206
|
-
- `
|
|
2971
|
+
- `LEGACY_VALUE: string = 'social'`
|
|
2972
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2973
|
+
- `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)
|
|
2207
2974
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2208
2975
|
- `LOCAL_FORAGE_SERVICE_CONFIG_TOKEN: unknown = new InjectionToken<any>('LOCAL_FORAGE_SERVICE_CONFIG')`
|
|
2209
2976
|
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
@@ -2213,17 +2980,17 @@ Properties:
|
|
|
2213
2980
|
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
2214
2981
|
- `LOG_APPENDERS_TOKEN: unknown = new InjectionToken<LogAppender[]>('LOG_APPENDERS')`
|
|
2215
2982
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2216
|
-
- `LOG_INSTANCES:
|
|
2983
|
+
- `LOG_INSTANCES: Record<string, LogService> = {}`
|
|
2217
2984
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2218
2985
|
- `LOG_LEVEL_TOKEN: unknown = new InjectionToken<LogLevel>('LOG_LEVEL')`
|
|
2219
2986
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2220
2987
|
- `LOG_MODULE_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('LOG_CONFIG')`
|
|
2221
2988
|
Defined in `packages/core/src/lib/services/log/log.module.ts`
|
|
2222
|
-
- `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = group.controls
|
|
2989
|
+
- `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = (group.controls as Record<string, Abstr…`
|
|
2223
2990
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2224
|
-
- `markFormGroupTouched: unknown = (FormControls:
|
|
2991
|
+
- `markFormGroupTouched: unknown = (FormControls: Record<string, AbstractControl> | AbstractControl[]): void => { const forOwn = (object: unknown, iteratee: (value: AbstractControl, key: string, …`
|
|
2225
2992
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2226
|
-
- `messages:
|
|
2993
|
+
- `messages: Record<string, string | unknown> = { ERR_GENERIC: 'An error occured', }`
|
|
2227
2994
|
Defined in `packages/core/src/lib/services/errors/eui.error.ts`
|
|
2228
2995
|
- `MODULE_CONFIG_TOKEN: unknown = new InjectionToken<ModuleConfig>('moduleConfig')`
|
|
2229
2996
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
@@ -2231,8 +2998,16 @@ Properties:
|
|
|
2231
2998
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2232
2999
|
- `MODULE_NAME_TOKEN: unknown = new InjectionToken<string>('moduleName')`
|
|
2233
3000
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
3001
|
+
- `MOMENT_PRESETS: [] = ['DEFAULT_FORMATS', 'LETTER_FORMAT', 'YEAR_FORMAT', 'MONTH_YEAR_FORMAT']`
|
|
3002
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
3003
|
+
- `MOMENT_TO_LUXON_TOKENS: Record<string, string> = { YYYY: 'yyyy', YY: 'yy', MMMM: 'MMMM', MMM: 'MMM', MM: 'MM', M: 'M', DD: 'dd', D: 'd', HH: 'HH', H: 'H', hh: 'hh', h: 'h', mm: 'mm', m: 'm', ss: 'ss', s: 's', …`
|
|
3004
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2234
3005
|
- `MULTIPLE_EMPTY_LINES: unknown = /\n{3,}/g`
|
|
2235
3006
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
3007
|
+
- `NATIVE_TYPE: Record<AdapterKind, string> = { moment: 'moment', luxon: 'Luxon DateTime', native: 'Date' }`
|
|
3008
|
+
Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
|
|
3009
|
+
- `NESTED_NODE_KEYS: [] = ['children', 'branches', 'cases', 'empty', 'placeholder', 'loading', 'error']`
|
|
3010
|
+
Defined in `packages/core/schematics/utils/date-adapter.ts`
|
|
2236
3011
|
- `NEW_BODY: string = 'eui-tab-body'`
|
|
2237
3012
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2238
3013
|
- `NEW_COMPONENT: string = 'EuiToolbarMegaMenuComponent'`
|
|
@@ -2263,6 +3038,20 @@ Properties:
|
|
|
2263
3038
|
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
2264
3039
|
- `NEW_PIPE: string = 'euiTableHighlight'`
|
|
2265
3040
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3041
|
+
- `NEW_TAG: string = 'nav'`
|
|
3042
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
3043
|
+
- `NEW_TAG: string = 'li'`
|
|
3044
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
3045
|
+
- `NEW_TAG: string = 'section'`
|
|
3046
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
3047
|
+
- `NEW_TAG: string = 'li'`
|
|
3048
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
3049
|
+
- `NEW_TAG: string = 'footer'`
|
|
3050
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
3051
|
+
- `NEW_TAG: string = 'div'`
|
|
3052
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
3053
|
+
- `NEW_TAG: string = 'div'`
|
|
3054
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2266
3055
|
- `NEW_TAG: string = 'eui-toolbar-mega-menu'`
|
|
2267
3056
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2268
3057
|
- `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/
|
|
@@ -2291,15 +3080,31 @@ Properties:
|
|
|
2291
3080
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2292
3081
|
- `OLD_SUB_LABEL: string = 'euiTabSubLabel'`
|
|
2293
3082
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
3083
|
+
- `OLD_TAG: string = 'ecl-breadcrumb'`
|
|
3084
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
3085
|
+
- `OLD_TAG: string = 'ecl-inpage-navigation-item'`
|
|
3086
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
3087
|
+
- `OLD_TAG: string = 'ecl-page-summary'`
|
|
3088
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
3089
|
+
- `OLD_TAG: string = 'ecl-pagination-item'`
|
|
3090
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
3091
|
+
- `OLD_TAG: string = 'ecl-site-footer'`
|
|
3092
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
3093
|
+
- `OLD_TAG: string = 'ecl-page-header'`
|
|
3094
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
3095
|
+
- `OLD_TAG: string = 'ecl-tab'`
|
|
3096
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2294
3097
|
- `OLD_TAG: string = 'eui-toolbar-menu'`
|
|
2295
3098
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
3099
|
+
- `OLD_TAGS: unknown = SELECTOR_MAPPINGS.map((m) => m.oldTag)`
|
|
3100
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2296
3101
|
- `OUTPUT_RENAMES: unknown = new Map([['selectedRows', 'rowsSelect']])`
|
|
2297
3102
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2298
3103
|
- `PAGINATOR_COMPONENT: string = 'EuiPaginatorComponent'`
|
|
2299
3104
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2300
3105
|
- `PAGINATOR_IMPORT_PATH: string = '@eui/components/eui-paginator'`
|
|
2301
3106
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2302
|
-
- `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent = nativeEl.offsetParent || document; while (offsetParent
|
|
3107
|
+
- `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent: Element | Document | null = nativeEl.offsetParent || document; while (offsetParent !== null &…` — returns the closest, non-statically positioned parentOffset of a given element
|
|
2303
3108
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2304
3109
|
- `PLATFORM_BROWSER_ID: string = 'browser'`
|
|
2305
3110
|
Defined in `packages/core/src/lib/services/store/store.service.mock.ts`
|
|
@@ -2307,8 +3112,16 @@ Properties:
|
|
|
2307
3112
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2308
3113
|
- `PROPAGATED_INPUTS: unknown = new Set([ 'euiPrimary', 'euiSecondary', 'euiSuccess', 'euiInfo', 'euiWarning', 'euiDanger', 'euiAccent', 'euiVariant', 'euiSizeS', 'euiSizeVariant', 'euiOutline…`
|
|
2309
3114
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3115
|
+
- `QUIZ_CARD_ATTR: string = 'eclQuizCard'`
|
|
3116
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2310
3117
|
- `removeApiQueueItem: unknown = (state: AppState, action: RemoveApiQueueItemAction): AppState => { // remove the specified id from the list of item ids and recreate the apiQueue from the remai…`
|
|
2311
3118
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
3119
|
+
- `REMOVED_ATTRS: readonly RemovedAttr[] = [ { attr: 'eclDatePicker', onTag: 'input', message: 'EclDatePickerDirective (input[eclDatePicker]) was removed in v22. Use EclDatePickerDuetDirective on a <duet…`
|
|
3120
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3121
|
+
- `REMOVED_IDENTIFIERS: readonly RemovedIdentifier[] = [ { name: 'EclDatePickerDirective', message: 'EclDatePickerDirective was removed in v22. Use EclDatePickerDuetDirective (selector "duet-date-picker[eclDatePicke…`
|
|
3122
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3123
|
+
- `REMOVED_INPUT: string = 'category'`
|
|
3124
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2312
3125
|
- `REMOVED_INPUTS: unknown = new Set(['alertIconType', 'alertIconFillColor', 'isMuted', 'isBordered'])`
|
|
2313
3126
|
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
2314
3127
|
- `REMOVED_INPUTS: unknown = new Set(['isFlat'])`
|
|
@@ -2325,6 +3138,10 @@ Properties:
|
|
|
2325
3138
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2326
3139
|
- `REMOVED_OUTPUTS: unknown = new Set(['multiSortChange'])`
|
|
2327
3140
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3141
|
+
- `REMOVED_TAGS: readonly RemovedTag[] = [ { tag: 'ecl-site-header-banner-top', message: 'EclSiteHeaderBannerTopComponent (<ecl-site-header-banner-top>) was removed in v22 with no replacement. Remove i…`
|
|
3142
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3143
|
+
- `REPLACEMENT_VALUE: string = 'social-media'`
|
|
3144
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2328
3145
|
- `RESET: string = '\x1b[0m'`
|
|
2329
3146
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
2330
3147
|
- `ROOT_LOG_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('logConfig')`
|
|
@@ -2333,22 +3150,36 @@ Properties:
|
|
|
2333
3150
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2334
3151
|
- `SELECTOR_MAP: SelectorEntry[] = buildSelectorMap()` — All known EUI selectors with their import metadata
|
|
2335
3152
|
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
3153
|
+
- `SELECTOR_MAPPINGS: readonly SelectorMapping[] = [ { oldTag: 'ecl-timeline', newTag: 'ol', attribute: 'eclTimeline' }, { oldTag: 'ecl-timeline-item', newTag: 'li', attribute: 'eclTimelineItem' }, { oldTag: 'ec…`
|
|
3154
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
3155
|
+
- `SELECTOR_TAG: string = 'eui-date-range-selector'`
|
|
3156
|
+
Defined in `packages/core/schematics/migrate-eui-date-range-selector/index.ts`
|
|
2336
3157
|
- `SHOW_CONNECTION_STATUS_TOKEN: unknown = new InjectionToken<boolean>('SHOW_CONNECTION_STATUS')`
|
|
2337
3158
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2338
3159
|
- `SUFFIX_MAP: unknown[] = [ [':sharp', ':ion-filled'], [':outline', ':ion-outline'], ]` — Suffix-based mapping: :sharp -\> :ion-filled, :outline -\> :ion-outline
|
|
2339
3160
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
3161
|
+
- `SUPPORTED_SETS: unknown = new Set<string>([ 'default', 'social-media', 'social-media-color', 'flag', 'flag-non-members', 'phosphor', 'phosphor-fill', ])` — The supported EclIconSet values in v22.
|
|
3162
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2340
3163
|
- `TABLE_INPUT_RENAMES: unknown = new Map([ ['rows', 'data'], ['loading', 'isLoading'], ['asyncTable', 'isAsync'], ['euiTableResponsive', 'isTableResponsive'], ['euiTableFixedLayout', 'isTableFi…`
|
|
2341
3164
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2342
3165
|
- `testBed: unknown = getTestBed()`
|
|
2343
3166
|
Defined in `packages/core/test-setup.ts`
|
|
2344
3167
|
- `TH_TD_INPUT_RENAMES: unknown = new Map([ ['isStickyColumn', 'isStickyCol'], ['sortable', 'isSortable'], ])`
|
|
2345
3168
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3169
|
+
- `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'`
|
|
3170
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3171
|
+
- `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.
|
|
3172
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
2346
3173
|
- `TR_INPUT_RENAMES: unknown = new Map([ ['isSelectableHeader', 'isHeaderSelectable'], ['isSelectable', 'isDataSelectable'], ])`
|
|
2347
3174
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2348
3175
|
- `translateConfig: object = { loader: provideTranslateLoader(I18nLoader), }`
|
|
2349
3176
|
Defined in `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
2350
3177
|
- `TRANSLATED_STRING: string = 'i18n'`
|
|
2351
3178
|
Defined in `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
3179
|
+
- `TRIGGER_TOKENS: [] = [FILE_RENAME_FROM, ITEM_RENAME_FROM, 'meta', 'metaId', 'isDescription']`
|
|
3180
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
3181
|
+
- `TRIGGER_TOKENS: [] = [ ...REMOVED_TAGS.map((t) => t.tag), ...REMOVED_ATTRS.map((a) => a.attr), ...REMOVED_IDENTIFIERS.map((i) => i.name), ]`
|
|
3182
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2352
3183
|
- `TRUNCATE_PIPE_IMPORT: string = 'EuiTruncatePipe'`
|
|
2353
3184
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2354
3185
|
- `TRUNCATE_PIPE_PATH: string = '@eui/components/pipes'`
|
|
@@ -2357,7 +3188,7 @@ Properties:
|
|
|
2357
3188
|
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
2358
3189
|
- `TS_PROPERTY_RENAMES: unknown = new Map([['filteredRows', 'getFilteredData']])`
|
|
2359
3190
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2360
|
-
- `uniqueId: unknown = (): string =>
|
|
3191
|
+
- `uniqueId: unknown = (): string => { const array = new Uint32Array(1); crypto.getRandomValues(array); return array[0].toString(36).padStart(7, '0').substring(0, 7); }` — returns a random string with radix=36
|
|
2361
3192
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2362
3193
|
- `updateAppConnection: unknown = (state: AppState, action: UpdateAppConnectionAction): AppState => ({ ...state, connected: action.payload })`
|
|
2363
3194
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
@@ -2383,11 +3214,13 @@ Properties:
|
|
|
2383
3214
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2384
3215
|
- `updateUserRights: unknown = (state: UserState, action: UpdateUserRightsAction): UserState => Object.assign({}, state, { rights: [...action.payload] })`
|
|
2385
3216
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2386
|
-
- `
|
|
2387
|
-
Defined in `packages/core/src/lib/interceptors/ux-request-error-model.interceptor.ts`
|
|
2388
|
-
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } => { const EMAIL_REGEXP = // eslint-disable-next-line max-len, no-useless-escape /^(([^<>()\[\]\\.,;:\s@…`
|
|
3217
|
+
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } | null => { const EMAIL_REGEXP = // eslint-disable-next-line no-useless-escape /^(([^<>()\[\]\\.,;:\s@"]…`
|
|
2389
3218
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
3219
|
+
- `VARIANT: string = 'variant'`
|
|
3220
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2390
3221
|
- `WARN_PROPERTIES: unknown = new Set([...PROPAGATED_INPUTS, 'chipRemove', 'isChipsRemovable', 'chipsLabelTruncateCount', 'maxVisibleChipsCount', 'isMaxVisibleChipsOpened', 'toggleLinkMoreLa…`
|
|
2391
3222
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3223
|
+
- `WRITE_TODO_MARKER: string = 'TODO(eui-signals):'` — Marker used to detect an already-inserted TODO so the schematic stays idempotent.
|
|
3224
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2392
3225
|
- `YELLOW: string = '\x1b[33m'`
|
|
2393
3226
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|