@eui/core 22.0.0-alpha.7 → 22.0.0-alpha.70
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +1036 -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 +1464 -0
- package/docs/classes/EuiAppShellServiceMock.html +1 -1
- package/docs/injectables/ApiQueueService.html +2 -2
- package/docs/injectables/EuiTimezoneService.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/MigrateEclSchema.html +368 -0
- package/docs/interfaces/MigrateResult.html +39 -0
- package/docs/interfaces/ModuleLoadEvent.html +2 -2
- package/docs/interfaces/RemovedAttr.html +401 -0
- package/docs/interfaces/RemovedIdentifier.html +356 -0
- package/docs/interfaces/RemovedTag.html +356 -0
- package/docs/interfaces/Schema-10.html +14 -1
- package/docs/interfaces/Schema-11.html +14 -1
- package/docs/interfaces/Schema-12.html +14 -1
- package/docs/interfaces/Schema-13.html +14 -1
- package/docs/interfaces/Schema-14.html +12 -1
- package/docs/interfaces/Schema-15.html +20 -1
- package/docs/interfaces/Schema-16.html +31 -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-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-4.html +13 -1
- package/docs/interfaces/Schema-5.html +26 -1
- package/docs/interfaces/Schema-6.html +20 -1
- package/docs/interfaces/Schema-7.html +14 -1
- package/docs/interfaces/Schema-8.html +22 -1
- package/docs/interfaces/Schema-9.html +13 -1
- package/docs/interfaces/SelectorMapping.html +395 -0
- package/docs/interfaces/TodoEdit.html +395 -0
- package/docs/js/menu-wc.js +100 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +26708 -8973
- package/docs/llms.txt +804 -43
- package/docs/miscellaneous/functions.html +13726 -1244
- package/docs/miscellaneous/variables.html +2265 -196
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/fesm2022/eui-core.mjs +5795 -5462
- package/fesm2022/eui-core.mjs.map +1 -1
- package/migrations.json +185 -0
- package/package.json +2 -2
- package/schematics/collection.json +76 -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-all/index.js +14 -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-datepicker/index.d.ts +18 -0
- package/schematics/migrate-eui-datepicker/index.js +101 -0
- package/schematics/migrate-eui-datepicker/index.js.map +1 -0
- package/schematics/migrate-eui-datepicker/schema.json +19 -0
- 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 +154 -25
- package/schematics/migrate-to-signals/index.js.map +1 -1
- package/schematics/migrate-to-signals/schema.json +19 -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 +2102 -2171
- 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-18T09:51:04.202Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -69,10 +69,10 @@ Description: Service class for managing and processing a queue of API requests.
|
|
|
69
69
|
Methods:
|
|
70
70
|
- `addQueueItem(id: string, item: ApiQueueItem): void` — Adds an item to the queue by dispatching an action to the store. This function is specifically designed to enqueue API call requests represented by ApiQueueItem objects. Each item is identified by a unique id , which is used to manage the queue. Example : If an item with the same ID already exists, the new item will overwrite the existing one. WARNING: Duplicate IDs will lead to overwriting of queue items. The \`method\` property of the item must be one of the allowed methods ('post', 'put', 'get'). If an unsupported method is provided, the function will throw an error. The error message is: \`\[ApiQueue\] method "${item.method}" is not allowed\`. Example : // Example of adding an item to the API queue addQueueItem('12345', { method: 'post', url: '/api/data', payload: {...} });
|
|
71
71
|
- `getQueue(): Observable<ApiQueueItem[]>` — Retrieves the current state of the API queue and converts it into an array of Observables. This method subscribes to the store to access the API queue. It then maps the queue object, which is an associative array, into a linear array of ApiQueueItem instances. If the queue is empty, a warning is logged. This method is useful for tracking the state and contents of the API queue at a given moment. Note: This method takes a snapshot of the queue at the time of subscription. It does not provide a continuous stream of queue updates. To get real-time updates, consider subscribing directly to the store's observable. The array represents all items currently in the queue. If the queue is empty, it emits an empty array. Example : // Example usage this.getQueue().subscribe(queueItems =\> { console.log('Current queue items:', queueItems); });
|
|
72
|
-
- `getQueueItem(id: string): Observable<ApiQueueItem>` — Retrieves a specific item from the API queue by its ID. This method subscribes to the store and selects a single item from the API queue based on the provided ID. It employs a pipeline to fetch the item: the getApiQueueItem selector is used to retrieve the item, and a map operator processes the result. If the item with the specified ID does not exist in the queue, a warning is logged, and null is returned. This method is ideal for accessing a specific queue item when its ID is known, allowing for targeted operations or checks on that particular item. If no item with the given ID exists in the queue, the Observable emits null . Example : // Example usage this.getQueueItem('item123').subscribe(item =\> { if (item) { console.log('Found item:', item); } else { console.log('Item not found in the queue'); } });
|
|
72
|
+
- `getQueueItem(id: string): Observable<ApiQueueItem | null>` — Retrieves a specific item from the API queue by its ID. This method subscribes to the store and selects a single item from the API queue based on the provided ID. It employs a pipeline to fetch the item: the getApiQueueItem selector is used to retrieve the item, and a map operator processes the result. If the item with the specified ID does not exist in the queue, a warning is logged, and null is returned. This method is ideal for accessing a specific queue item when its ID is known, allowing for targeted operations or checks on that particular item. If no item with the given ID exists in the queue, the Observable emits null . Example : // Example usage this.getQueueItem('item123').subscribe(item =\> { if (item) { console.log('Found item:', item); } else { console.log('Item not found in the queue'); } });
|
|
73
73
|
- `processAllQueueItems(continueOnError: unknown = true): Observable<T[]>` — Processes all items in the API queue and collects their responses. Iterates over each item in the queue and processes them using buildHttpRequest . If a request fails, the method can either continue processing the remaining items or stop, based on the continueOnError parameter. It returns an Observable that emits an array containing the responses or errors from all the processed items. The function currently returns Observable\<any\[\]\> indicating an array of any type. Future improvements should aim to specify a more accurate return type or utilize generics for increased type safety. Example : after a request failure. Defaults to \`true\`. queue items. Example : this.processAllQueueItems().subscribe(results =\> { // Handle the array of responses or errors });
|
|
74
74
|
- `processAllQueueItemsSequential(ascending: unknown = true): Observable<T>` — Processes all items in the queue sequentially, based on their timestamp ordering. This method first orders the items in the API queue by their timestamp, either in ascending or descending order as specified by the ascending parameter. It then processes each item using buildHttpRequest , ensuring that each request is completed before the next begins. This sequential processing is crucial when the order of execution matters for HTTP requests in the queue. The method returns an Observable that emits the responses following the same order as the queue items were processed. The function currently returns Observable\<any\> , indicating a broad type. Future improvements should focus on specifying a more accurate return type or utilizing generics for increased type safety. Example : timestamp. Defaults to \`true\`. Example : this.processAllQueueItemsSequential().subscribe(response =\> { // Handle each response in the order of queue processing });
|
|
75
|
-
- `processQueueItem(id: string): Observable<T>` — Processes an item from the API queue identified by its ID. Retrieves the specified item from the queue and applies processing logic as defined in buildHttpRequest . If the item is not found, logs a warning and returns an Observable emitting null . If the item does not exist, the Observable emits null . Example : // Example usage this.processQueueItem('item123').subscribe(result =\> { if (result) { console.log('Processing result:', result); } else { console.log('Item not found in the queue'); } });
|
|
75
|
+
- `processQueueItem(id: string): Observable<T | null>` — Processes an item from the API queue identified by its ID. Retrieves the specified item from the queue and applies processing logic as defined in buildHttpRequest . If the item is not found, logs a warning and returns an Observable emitting null . If the item does not exist, the Observable emits null . Example : // Example usage this.processQueueItem('item123').subscribe(result =\> { if (result) { console.log('Processing result:', result); } else { console.log('Item not found in the queue'); } });
|
|
76
76
|
- `removeAllQueueItem(): void` — Clears all items from the API queue. This method dispatches an action to empty the entire API queue, effectively removing all items that are currently queued. It is useful for scenarios where a complete reset of the queue is required, such as during initialization or after processing a batch of items. The function does not return any value, as its primary purpose is to trigger a state change in the store. Note: Use this method with caution as it will irreversibly clear all items in the queue. Ensure that this action does not disrupt any ongoing processes that rely on the queue's contents. Example : // Example usage this.removeAllQueueItem(); // This will dispatch an action to empty the entire API queue.
|
|
77
77
|
- `removeQueueItem(id: string): void` — Removes a specific item from the API queue using its ID. This method dispatches an action to remove an item from the queue, identified by the provided ID. It is essential for managing the queue by eliminating items that are no longer needed or have been processed. The function does not return any value, as it primarily triggers an action within the store. Note: This method assumes the existence of the item in the queue. It does not perform a check to confirm the presence of the item before attempting to remove it. Therefore, it's recommended to verify the item's existence in the queue if uncertainty exists. Example : // Example usage this.removeQueueItem('item123'); // The item with ID 'item123' will be dispatched for removal from the queue.
|
|
78
78
|
|
|
@@ -202,7 +202,7 @@ File: `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
|
202
202
|
|
|
203
203
|
Methods:
|
|
204
204
|
- `getCountries(): string[]` — Gets the list of ISO-codes for all countries
|
|
205
|
-
- `getTimezone(tz: string): EuiTimeZone`
|
|
205
|
+
- `getTimezone(tz: string): EuiTimeZone | undefined`
|
|
206
206
|
- `getTimezones(): EuiTimeZone[]`
|
|
207
207
|
- `iso2country(iso: string): string` — Convert country ISO code to country name (in english)
|
|
208
208
|
|
|
@@ -353,7 +353,7 @@ Methods:
|
|
|
353
353
|
- `handleAutoSave(): void`
|
|
354
354
|
- `init(version?: string, storageType?: BrowserStorageType): void`
|
|
355
355
|
- `select(key?: any): Observable<T['any']>`
|
|
356
|
-
- `select(keyOrMapFn?: unknown | string): Observable<Partial | K>`
|
|
356
|
+
- `select(keyOrMapFn?: unknown | string): Observable<Partial | K | undefined>`
|
|
357
357
|
- `updateState(state: DeepPartial<T>): void` — This method is used to update the state of the service with a new state.
|
|
358
358
|
- `updateState(slice: DeepPartial<T>, reducer: function): void` (deprecated: it will be removed in next version. Use updateState(partialState: DeepPartial ) instead)
|
|
359
359
|
- `updateState(state: DeepPartial<K>, reducer?: function): void`
|
|
@@ -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,7 +583,7 @@ Properties:
|
|
|
583
583
|
File: `packages/core/src/lib/mocks/ux-app-shell-service.mock.ts`
|
|
584
584
|
|
|
585
585
|
Properties:
|
|
586
|
-
- `appRouter: object = { navigate: (url): string => url, }`
|
|
586
|
+
- `appRouter: object = { navigate: (url: string): string => url, }`
|
|
587
587
|
- `breakpoints$: Observable<string> = this.breakpointSubject.asObservable()`
|
|
588
588
|
- `breakpointSubject: BehaviorSubject<string> = new BehaviorSubject('')`
|
|
589
589
|
- `state$: Observable<any> = of({})`
|
|
@@ -826,6 +826,17 @@ Description: A function that takes an Action and a State , and returns a State .
|
|
|
826
826
|
Properties:
|
|
827
827
|
- `undefined`
|
|
828
828
|
|
|
829
|
+
### Annotation
|
|
830
|
+
|
|
831
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
832
|
+
|
|
833
|
+
Description: A TODO comment to insert above a given zero-based line.
|
|
834
|
+
|
|
835
|
+
Properties:
|
|
836
|
+
- `commentStyle: "ts" | "html"`
|
|
837
|
+
- `line: number`
|
|
838
|
+
- `message: string`
|
|
839
|
+
|
|
829
840
|
### body
|
|
830
841
|
|
|
831
842
|
File: `packages/core/src/lib/interceptors/eu-login-session-timeout-handling.interceptor.ts`
|
|
@@ -861,6 +872,114 @@ Properties:
|
|
|
861
872
|
|
|
862
873
|
### Edit
|
|
863
874
|
|
|
875
|
+
File: `packages/core/schematics/migrate-ecl-breadcrumb/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-file/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-icon/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-link/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-page-header/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-page-summary/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-pagination/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-quiz/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-site-footer/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-tabs/index.ts`
|
|
966
|
+
|
|
967
|
+
Properties:
|
|
968
|
+
- `end: number`
|
|
969
|
+
- `replacement: string`
|
|
970
|
+
- `start: number`
|
|
971
|
+
|
|
972
|
+
### Edit
|
|
973
|
+
|
|
974
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
975
|
+
|
|
976
|
+
Properties:
|
|
977
|
+
- `end: number`
|
|
978
|
+
- `replacement: string`
|
|
979
|
+
- `start: number`
|
|
980
|
+
|
|
981
|
+
### Edit
|
|
982
|
+
|
|
864
983
|
File: `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
865
984
|
|
|
866
985
|
Properties:
|
|
@@ -928,10 +1047,10 @@ Properties:
|
|
|
928
1047
|
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
929
1048
|
|
|
930
1049
|
Properties:
|
|
931
|
-
- `cssClass: string`
|
|
1050
|
+
- `cssClass: string | null`
|
|
932
1051
|
- `isActive: boolean`
|
|
933
1052
|
- `name: EuiTheme`
|
|
934
|
-
- `styleSheet: string`
|
|
1053
|
+
- `styleSheet: string | null`
|
|
935
1054
|
|
|
936
1055
|
### ImportsArrayInfo
|
|
937
1056
|
|
|
@@ -1015,6 +1134,14 @@ Properties:
|
|
|
1015
1134
|
- `path?: string`
|
|
1016
1135
|
- `useClassArray?: boolean`
|
|
1017
1136
|
|
|
1137
|
+
### MigrateEclSchema
|
|
1138
|
+
|
|
1139
|
+
File: `packages/core/schematics/migrate-ecl/index.ts`
|
|
1140
|
+
|
|
1141
|
+
Properties:
|
|
1142
|
+
- `dryRun?: boolean`
|
|
1143
|
+
- `path?: string`
|
|
1144
|
+
|
|
1018
1145
|
### MigrateResult
|
|
1019
1146
|
|
|
1020
1147
|
File: `packages/core/schematics/migrate-to-signals/index.ts`
|
|
@@ -1022,6 +1149,7 @@ File: `packages/core/schematics/migrate-to-signals/index.ts`
|
|
|
1022
1149
|
Properties:
|
|
1023
1150
|
- `editCount: number`
|
|
1024
1151
|
- `source: string`
|
|
1152
|
+
- `todoCount: number`
|
|
1025
1153
|
|
|
1026
1154
|
### MigrationResult
|
|
1027
1155
|
|
|
@@ -1038,7 +1166,7 @@ File: `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
|
1038
1166
|
|
|
1039
1167
|
Properties:
|
|
1040
1168
|
- `error?: any`
|
|
1041
|
-
- `name: string`
|
|
1169
|
+
- `name: string | null | undefined`
|
|
1042
1170
|
- `ready: boolean`
|
|
1043
1171
|
|
|
1044
1172
|
### ModuleMapping
|
|
@@ -1069,6 +1197,31 @@ Properties:
|
|
|
1069
1197
|
- `retryInterval: number` — Time between retries in milliseconds
|
|
1070
1198
|
- `timeout: number` — Time in milliseconds before considering a load attempt as failed
|
|
1071
1199
|
|
|
1200
|
+
### RemovedAttr
|
|
1201
|
+
|
|
1202
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1203
|
+
|
|
1204
|
+
Properties:
|
|
1205
|
+
- `attr: string`
|
|
1206
|
+
- `message: string`
|
|
1207
|
+
- `onTag?: string`
|
|
1208
|
+
|
|
1209
|
+
### RemovedIdentifier
|
|
1210
|
+
|
|
1211
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1212
|
+
|
|
1213
|
+
Properties:
|
|
1214
|
+
- `message: string`
|
|
1215
|
+
- `name: string`
|
|
1216
|
+
|
|
1217
|
+
### RemovedTag
|
|
1218
|
+
|
|
1219
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1220
|
+
|
|
1221
|
+
Properties:
|
|
1222
|
+
- `message: string`
|
|
1223
|
+
- `tag: string`
|
|
1224
|
+
|
|
1072
1225
|
### ResourceError
|
|
1073
1226
|
|
|
1074
1227
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
@@ -1114,6 +1267,136 @@ Properties:
|
|
|
1114
1267
|
|
|
1115
1268
|
### Schema
|
|
1116
1269
|
|
|
1270
|
+
File: `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1271
|
+
|
|
1272
|
+
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.
|
|
1273
|
+
|
|
1274
|
+
Properties:
|
|
1275
|
+
- `dryRun?: boolean`
|
|
1276
|
+
- `path?: string`
|
|
1277
|
+
|
|
1278
|
+
### Schema
|
|
1279
|
+
|
|
1280
|
+
File: `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1281
|
+
|
|
1282
|
+
Description: Migrates removed/renamed inputs on the ECL file components for v21 → v22. ecl-file (EclFileComponent): detailMeta → renamed to primaryMeta . If the element already has a primaryMeta , the two cannot be merged automatically, so detailMeta is left in place and a warning is emitted. meta → removed (no longer rendered). metaId → removed (no longer rendered). ecl-file-item (EclFileItemComponent): isDescription → removed (unused). label → renamed to eclTitle . Cases that cannot be fixed automatically are reported with a warning and a TODO: \[eUI v22 migration\] HTML comment placed above the element. Renames rewrite only the attribute/binding key, preserving the value and any binding brackets. Removals drop the whole attribute plus leading whitespace. Works on external .html templates and inline @Component templates.
|
|
1283
|
+
|
|
1284
|
+
Properties:
|
|
1285
|
+
- `dryRun?: boolean`
|
|
1286
|
+
- `path?: string`
|
|
1287
|
+
|
|
1288
|
+
### Schema
|
|
1289
|
+
|
|
1290
|
+
File: `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1291
|
+
|
|
1292
|
+
Description: Migrates the ecl-icon iconSet input for ECL v21 → v22. In v22 EclIconSet became a strict union and the legacy 'social' alias was removed: iconSet="social" → iconSet="social-media" (both resolved to the same sprite; safe automatic rename). Any other static iconSet value that is not part of the supported union is now a TypeScript error. The schematic cannot know the intended set, so it reports a warning and adds a TODO: \[eUI v22 migration\] HTML comment above the element for manual review rather than guessing. Rewrites external .html templates and inline @Component templates. Only \<ecl-icon\> elements are considered.
|
|
1293
|
+
|
|
1294
|
+
Properties:
|
|
1295
|
+
- `dryRun?: boolean`
|
|
1296
|
+
- `path?: string`
|
|
1297
|
+
|
|
1298
|
+
### Schema
|
|
1299
|
+
|
|
1300
|
+
File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1301
|
+
|
|
1302
|
+
Description: Migrates the removed ecl-inpage-navigation-item element selector to li\[eclInpageNavigationItem\] . In v22 the legacy ecl-inpage-navigation-item element selector was removed; the component only matches li\[eclInpageNavigationItem\] . This schematic rewrites \<ecl-inpage-navigation-item\> to \<li eclInpageNavigationItem\> (and the closing tag to \</li\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1303
|
+
|
|
1304
|
+
Properties:
|
|
1305
|
+
- `dryRun?: boolean`
|
|
1306
|
+
- `path?: string`
|
|
1307
|
+
|
|
1308
|
+
### Schema
|
|
1309
|
+
|
|
1310
|
+
File: `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1311
|
+
|
|
1312
|
+
Description: Migrates removed eclLink (EclLinkDirective) inputs for ECL v21 → v22. Two inputs were removed: isHighlight : only the primary variant could be highlighted, so eclLink variant="primary" isHighlight becomes eclLink variant="primary-highlight" . The isHighlight attribute is removed and the variant value is set to primary-highlight . isNoVisited : had no effect; removed with no replacement. Only elements that carry the eclLink attribute are touched. The schematic rewrites external .html templates and inline @Component templates. Cases that cannot be rewritten safely (a bound \[isHighlight\]="expr" with a non-literal expression, or a bound \[variant\] that cannot be statically resolved) are left in place, reported as warnings and marked with a TODO: \[eUI v22 migration\] HTML comment above the element.
|
|
1313
|
+
|
|
1314
|
+
Properties:
|
|
1315
|
+
- `dryRun?: boolean`
|
|
1316
|
+
- `path?: string`
|
|
1317
|
+
|
|
1318
|
+
### Schema
|
|
1319
|
+
|
|
1320
|
+
File: `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1321
|
+
|
|
1322
|
+
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.
|
|
1323
|
+
|
|
1324
|
+
Properties:
|
|
1325
|
+
- `dryRun?: boolean`
|
|
1326
|
+
- `path?: string`
|
|
1327
|
+
|
|
1328
|
+
### Schema
|
|
1329
|
+
|
|
1330
|
+
File: `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1331
|
+
|
|
1332
|
+
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.
|
|
1333
|
+
|
|
1334
|
+
Properties:
|
|
1335
|
+
- `dryRun?: boolean`
|
|
1336
|
+
- `path?: string`
|
|
1337
|
+
|
|
1338
|
+
### Schema
|
|
1339
|
+
|
|
1340
|
+
File: `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1341
|
+
|
|
1342
|
+
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.
|
|
1343
|
+
|
|
1344
|
+
Properties:
|
|
1345
|
+
- `dryRun?: boolean`
|
|
1346
|
+
- `path?: string`
|
|
1347
|
+
|
|
1348
|
+
### Schema
|
|
1349
|
+
|
|
1350
|
+
File: `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1351
|
+
|
|
1352
|
+
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.
|
|
1353
|
+
|
|
1354
|
+
Properties:
|
|
1355
|
+
- `dryRun?: boolean`
|
|
1356
|
+
- `path?: string`
|
|
1357
|
+
|
|
1358
|
+
### Schema
|
|
1359
|
+
|
|
1360
|
+
File: `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1361
|
+
|
|
1362
|
+
Description: Migrates the removed ecl-site-footer element selector to footer\[eclSiteFooter\] . In v22 the ecl-site-footer element selector was removed; the component only matches footer\[eclSiteFooter\] . This schematic rewrites \<ecl-site-footer\> to \<footer eclSiteFooter\> (and the closing tag to \</footer\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1363
|
+
|
|
1364
|
+
Properties:
|
|
1365
|
+
- `dryRun?: boolean`
|
|
1366
|
+
- `path?: string`
|
|
1367
|
+
|
|
1368
|
+
### Schema
|
|
1369
|
+
|
|
1370
|
+
File: `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1371
|
+
|
|
1372
|
+
Description: Migrates the removed ecl-tab element selector to div\[eclTab\] . In v22 the legacy ecl-tab element selector was removed; the component only matches div\[eclTab\] . This schematic rewrites \<ecl-tab\> to \<div eclTab\> (and the closing tag to \</div\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1373
|
+
|
|
1374
|
+
Properties:
|
|
1375
|
+
- `dryRun?: boolean`
|
|
1376
|
+
- `path?: string`
|
|
1377
|
+
|
|
1378
|
+
### Schema
|
|
1379
|
+
|
|
1380
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1381
|
+
|
|
1382
|
+
Description: Migrates the removed ecl-timeline element selectors to their attribute-selector equivalents. In v22 the timeline element selectors were removed in favour of attribute selectors on specific host elements: ecl-timeline → ol\[eclTimeline\] ecl-timeline-item → li\[eclTimelineItem\] ecl-timeline-item-toggler → li\[eclTimelineItemToggler\] This schematic rewrites the element tags and injects the attribute directive (e.g. \<ecl-timeline\> → \<ol eclTimeline\> , \</ecl-timeline\> → \</ol\> ) in external .html templates and inline @Component templates, preserving existing attributes and content.
|
|
1383
|
+
|
|
1384
|
+
Properties:
|
|
1385
|
+
- `dryRun?: boolean`
|
|
1386
|
+
- `path?: string`
|
|
1387
|
+
|
|
1388
|
+
### Schema
|
|
1389
|
+
|
|
1390
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1391
|
+
|
|
1392
|
+
Description: Flags usages of ECL members removed in v22 that have no automatic drop-in replacement. For each usage it: Logs a precise manual-action warning. Inserts a TODO: \[eUI v22 migration\] ... comment on the line above the usage so it is easy to locate in the editor. It makes no other edits — it never comments out, deletes, or rewrites the user's code. These removed members require a developer decision (they are components/directives with different APIs, or have no replacement), so the schematic only points at what needs attention and leaves the change to the developer. Searching a project for TODO: \[eUI v22 migration\] after the run surfaces every spot to migrate. Removed members handled: EclDatePickerDirective ( input\[eclDatePicker\] ) → EclDatePickerDuetDirective on \<duet-date-picker eclDatePicker\> . EUI\_ECL\_DATE\_PICKER — still exported (now provides the Duet directive); only the markup needs updating. EclSiteHeaderBannerTopComponent ( ecl-site-header-banner-top ) → removed, no replacement. EclPageHeaderNextComponent → removed, no longer exported. EclRadioHelpComponent ( \[eclRadioHelp\] ) → \[eclHelpBlock\] ( EclHelpBlockDirective ).
|
|
1393
|
+
|
|
1394
|
+
Properties:
|
|
1395
|
+
- `dryRun?: boolean`
|
|
1396
|
+
- `path?: string`
|
|
1397
|
+
|
|
1398
|
+
### Schema
|
|
1399
|
+
|
|
1117
1400
|
File: `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1118
1401
|
|
|
1119
1402
|
Properties:
|
|
@@ -1162,6 +1445,14 @@ Properties:
|
|
|
1162
1445
|
|
|
1163
1446
|
### Schema
|
|
1164
1447
|
|
|
1448
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1449
|
+
|
|
1450
|
+
Properties:
|
|
1451
|
+
- `dryRun?: boolean`
|
|
1452
|
+
- `path?: string`
|
|
1453
|
+
|
|
1454
|
+
### Schema
|
|
1455
|
+
|
|
1165
1456
|
File: `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1166
1457
|
|
|
1167
1458
|
Properties:
|
|
@@ -1277,6 +1568,15 @@ Properties:
|
|
|
1277
1568
|
- `element: string | null` — Element tag required (null = any element)
|
|
1278
1569
|
- `importPath: string` — The ES import path
|
|
1279
1570
|
|
|
1571
|
+
### SelectorMapping
|
|
1572
|
+
|
|
1573
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1574
|
+
|
|
1575
|
+
Properties:
|
|
1576
|
+
- `attribute: string`
|
|
1577
|
+
- `newTag: string`
|
|
1578
|
+
- `oldTag: string`
|
|
1579
|
+
|
|
1280
1580
|
### TextChange
|
|
1281
1581
|
|
|
1282
1582
|
File: `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
@@ -1294,6 +1594,15 @@ Properties:
|
|
|
1294
1594
|
- `theme: any`
|
|
1295
1595
|
- `themes: IEuiTheme[]`
|
|
1296
1596
|
|
|
1597
|
+
### TodoEdit
|
|
1598
|
+
|
|
1599
|
+
File: `packages/core/schematics/utils/todo-comment.ts`
|
|
1600
|
+
|
|
1601
|
+
Properties:
|
|
1602
|
+
- `end: number`
|
|
1603
|
+
- `replacement: string`
|
|
1604
|
+
- `start: number`
|
|
1605
|
+
|
|
1297
1606
|
### TranslationKeys
|
|
1298
1607
|
|
|
1299
1608
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
@@ -1358,8 +1667,34 @@ Properties:
|
|
|
1358
1667
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1359
1668
|
- `AlertHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1360
1669
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1670
|
+
- `applyAnnotations(source: string, annotations): string`
|
|
1671
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1361
1672
|
- `applyChanges(source: string, changes): string`
|
|
1362
1673
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1674
|
+
- `applyEdits(source: string, edits): string`
|
|
1675
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1676
|
+
- `applyEdits(source: string, edits): string`
|
|
1677
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1678
|
+
- `applyEdits(source: string, edits): string`
|
|
1679
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1680
|
+
- `applyEdits(source: string, edits): string`
|
|
1681
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1682
|
+
- `applyEdits(source: string, edits): string`
|
|
1683
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1684
|
+
- `applyEdits(source: string, edits): string`
|
|
1685
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1686
|
+
- `applyEdits(source: string, edits): string`
|
|
1687
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1688
|
+
- `applyEdits(source: string, edits): string`
|
|
1689
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1690
|
+
- `applyEdits(source: string, edits): string`
|
|
1691
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1692
|
+
- `applyEdits(source: string, edits): string`
|
|
1693
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1694
|
+
- `applyEdits(source: string, edits): string`
|
|
1695
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1696
|
+
- `applyEdits(source: string, edits): string`
|
|
1697
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1363
1698
|
- `applyEdits(source: string, edits): string`
|
|
1364
1699
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1365
1700
|
- `applyEdits(source: string, edits): string`
|
|
@@ -1400,14 +1735,42 @@ Properties:
|
|
|
1400
1735
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1401
1736
|
- `buildTruncatePipeEdit(chip: TmplAstElement, source: string, truncateValue: string): Edit | null`
|
|
1402
1737
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1738
|
+
- `collectCategoryRemovals(element: TmplAstElement, source: string, edits): void`
|
|
1739
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1403
1740
|
- `collectChildElementRenames(element: TmplAstElement, edits): void`
|
|
1404
1741
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1405
1742
|
- `collectChildInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1406
1743
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1744
|
+
- `collectEclLinkEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1745
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1746
|
+
- `collectElementAnnotation(element: TmplAstElement, lineOffset: number, commentStyle, annotations): void`
|
|
1747
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1748
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1749
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1750
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1751
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1752
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1753
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1754
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1755
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1756
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1757
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1758
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1759
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1760
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1761
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1762
|
+
- `collectElementRename(element: TmplAstElement, mapping: SelectorMapping, edits): void`
|
|
1763
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1407
1764
|
- `collectEmptyMessageRename(element: TmplAstElement, edits): void`
|
|
1408
1765
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1409
1766
|
- `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
1767
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1768
|
+
- `collectFileEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1769
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1770
|
+
- `collectFileItemEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1771
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1772
|
+
- `collectIconSetEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1773
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1411
1774
|
- `collectInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1412
1775
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1413
1776
|
- `collectOutputChanges(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
@@ -1446,12 +1809,18 @@ Properties:
|
|
|
1446
1809
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1447
1810
|
- `collectTagRenames(element: TmplAstElement, source: string, edits): void`
|
|
1448
1811
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1812
|
+
- `collectTemplateAnnotations(template: string, lineOffset: number, commentStyle): Annotation[]`
|
|
1813
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1449
1814
|
- `collectTemplateEmptyMessageRename(template: TmplAstTemplate, edits): void`
|
|
1450
1815
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1451
1816
|
- `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
1817
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1818
|
+
- `collectTypeScriptAnnotations(source: string, path: string): Annotation[]`
|
|
1819
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1453
1820
|
- `ConsoleHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1454
1821
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1822
|
+
- `consumeLeadingWhitespace(source: string, start: number): number`
|
|
1823
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1455
1824
|
- `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
1825
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
1457
1826
|
- `createSelector(s1: Selector, projector): MemoizedSelector<State, Result, typeof projector>`
|
|
@@ -1464,6 +1833,32 @@ Properties:
|
|
|
1464
1833
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1465
1834
|
- `createSelectorFactory(memoize: MemoizeFn, options: SelectorFactoryConfig = { stateFn: defaultStateFn, })`
|
|
1466
1835
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1836
|
+
- `createTodoEdit(source: string, elementOffset: number, message: string): TodoEdit | null` — Builds an edit that inserts an HTML TODO comment in front of the element starting at elementOffset . When the element is the first thing on its line, the comment goes on its own line above it, using the same indentation. Otherwise (e.g. single-line inline templates) the comment is inserted inline. The comment is safe to embed in single, double and backtick quoted inline templates: quotes, backticks, ${ and -- are stripped from the message. Returns null when the same TODO is already directly above the element, so re-running the schematic does not duplicate it.
|
|
1837
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
1838
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1839
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1840
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1841
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1842
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1843
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1844
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1845
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1846
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1847
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1848
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1849
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1850
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1851
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1852
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1853
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1854
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1855
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1856
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1857
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1858
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1859
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1860
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1861
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1467
1862
|
- `deduplicateEdits(edits): Edit[]`
|
|
1468
1863
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1469
1864
|
- `deduplicateEdits(edits): Edit[]`
|
|
@@ -1480,7 +1875,7 @@ Properties:
|
|
|
1480
1875
|
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1481
1876
|
- `detectIndent(source: string, pos: number): string`
|
|
1482
1877
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1483
|
-
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName
|
|
1878
|
+
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName = null, childConfig: LogConfig = {}): LogService`
|
|
1484
1879
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1485
1880
|
- `extractArgsFromSelectorsDictionary(selectorsDictionary: Record): unknown`
|
|
1486
1881
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
@@ -1554,7 +1949,9 @@ Properties:
|
|
|
1554
1949
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1555
1950
|
- `getInnerText(source: string, element: TmplAstElement): string`
|
|
1556
1951
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1557
|
-
- `
|
|
1952
|
+
- `getLineStartPosition(source: string, pos: number): number` — Returns the index of the first character of the line containing pos .
|
|
1953
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1954
|
+
- `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
|
|
1558
1955
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1559
1956
|
- `getModuleConfig(appConfig: EuiAppConfig, moduleName: string): ModuleConfig`
|
|
1560
1957
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
@@ -1572,8 +1969,12 @@ Properties:
|
|
|
1572
1969
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1573
1970
|
- `GrowlHttpErrorCallbackFn(error: HttpErrorResponse, injector: Injector): void`
|
|
1574
1971
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1972
|
+
- `handleStaticValue(value: string, makeEdit, element: TmplAstElement, source: string, filePath: string, context: SchematicContext, edits): void` — Applies the shared rule for a statically known iconSet value: 'social' → rewrite to 'social-media' a supported value → leave as-is anything else → warn (unsupported in v22, no safe replacement)
|
|
1973
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1575
1974
|
- `hasAttribute(element: TmplAstElement, name: string): boolean`
|
|
1576
1975
|
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
1976
|
+
- `hasEclLink(element: TmplAstElement): boolean`
|
|
1977
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1577
1978
|
- `hasEuiButtonAttribute(element: TmplAstElement): boolean`
|
|
1578
1979
|
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1579
1980
|
- `hasEuiReference(source: string): boolean` — Quick check: does the file reference any EUI class name from the signal map?
|
|
@@ -1582,6 +1983,8 @@ Properties:
|
|
|
1582
1983
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1583
1984
|
- `hasModuleInArray(array, moduleName: string, source: string): boolean`
|
|
1584
1985
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1986
|
+
- `hasQuizCard(element: TmplAstElement): boolean`
|
|
1987
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1585
1988
|
- `hasStandaloneFalse(decorator): boolean`
|
|
1586
1989
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1587
1990
|
- `hasStringRefQuery(source: string): boolean` — Quick check: does the file have
|
|
@@ -1590,6 +1993,10 @@ Properties:
|
|
|
1590
1993
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1591
1994
|
- `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
1995
|
Defined in `packages/core/src/lib/helpers/injector.ts`
|
|
1996
|
+
- `injectVariantAttribute(element: TmplAstElement, source: string): Edit` — Injects variant="primary-highlight" immediately after the eclLink attribute.
|
|
1997
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1998
|
+
- `inlineTemplateUsesDatepicker(source: string): boolean`
|
|
1999
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1593
2000
|
- `isArgumentsChanged(args: IArguments, lastArguments: IArguments, comparator: ComparatorFn)`
|
|
1594
2001
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1595
2002
|
- `isAssignmentOperator(kind): boolean`
|
|
@@ -1602,6 +2009,32 @@ Properties:
|
|
|
1602
2009
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1603
2010
|
- `isChipListElement(element: TmplAstElement): boolean`
|
|
1604
2011
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2012
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2013
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2014
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2015
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2016
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2017
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2018
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2019
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2020
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2021
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2022
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2023
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2024
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2025
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2026
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2027
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2028
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2029
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2030
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2031
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2032
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2033
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2034
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2035
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2036
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2037
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1605
2038
|
- `isComponentMetadataProperty(node): boolean`
|
|
1606
2039
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1607
2040
|
- `isComponentMetadataProperty(node): boolean`
|
|
@@ -1630,12 +2063,40 @@ Properties:
|
|
|
1630
2063
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1631
2064
|
- `isEuiElement(element: TmplAstElement): boolean`
|
|
1632
2065
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2066
|
+
- `isInsideAnyRange(edit: Edit, ranges): boolean` — True if edit 's position falls within any of the given ranges.
|
|
2067
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1633
2068
|
- `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
2069
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1635
2070
|
- `isPartOfImport(node): boolean`
|
|
1636
2071
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
1637
2072
|
- `isSelectorsDictionary(selectors): Record<string | Selector<unknown, unknown>>`
|
|
1638
2073
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
2074
|
+
- `isTemplateProperty(node): boolean`
|
|
2075
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2076
|
+
- `isTemplateProperty(node): boolean`
|
|
2077
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2078
|
+
- `isTemplateProperty(node): boolean`
|
|
2079
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2080
|
+
- `isTemplateProperty(node): boolean`
|
|
2081
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2082
|
+
- `isTemplateProperty(node): boolean`
|
|
2083
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2084
|
+
- `isTemplateProperty(node): boolean`
|
|
2085
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2086
|
+
- `isTemplateProperty(node): boolean`
|
|
2087
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2088
|
+
- `isTemplateProperty(node): boolean`
|
|
2089
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2090
|
+
- `isTemplateProperty(node): boolean`
|
|
2091
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2092
|
+
- `isTemplateProperty(node): boolean`
|
|
2093
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2094
|
+
- `isTemplateProperty(node): boolean`
|
|
2095
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2096
|
+
- `isTemplateProperty(node): boolean`
|
|
2097
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2098
|
+
- `isTemplateProperty(node): boolean`
|
|
2099
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1639
2100
|
- `isTemplateProperty(node): boolean`
|
|
1640
2101
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1641
2102
|
- `isTemplateProperty(node): boolean`
|
|
@@ -1658,13 +2119,15 @@ Properties:
|
|
|
1658
2119
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1659
2120
|
- `isTemplateProperty(node): boolean`
|
|
1660
2121
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1661
|
-
- `
|
|
2122
|
+
- `isTruthyLiteralBinding(input: TmplAstBoundAttribute, source: string): boolean` — A \[isHighlight\]="expr" binding is only safely convertible when expr is a literal that is always truthy ( true ). Anything else (a property, a ternary, false ) is conditional and must be handled by the developer.
|
|
2123
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2124
|
+
- `loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig | null>` — Function to load asynchronously a dynamic configuration (from a local path or a web service)
|
|
1662
2125
|
Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
|
|
1663
2126
|
- `localStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the local storage
|
|
1664
2127
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1665
2128
|
- `localStorageSync(reducer: ActionReducer): S` — Utility meta-reducer to load the state from the local storage
|
|
1666
2129
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1667
|
-
- `localStorageSync(reducer
|
|
2130
|
+
- `localStorageSync(reducer, platformId?): Function`
|
|
1668
2131
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1669
2132
|
- `logDryRun(context: SchematicContext, message: string): void`
|
|
1670
2133
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
@@ -1674,7 +2137,7 @@ Properties:
|
|
|
1674
2137
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1675
2138
|
- `logRemovalWarning(name: string, filePath: string, element: TmplAstElement, context: SchematicContext): void`
|
|
1676
2139
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1677
|
-
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector
|
|
2140
|
+
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogService` — Helper function to provide an instance of LogService from a configuration
|
|
1678
2141
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1679
2142
|
- `mapIconSuffix(icon: string): string | undefined`
|
|
1680
2143
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
@@ -1682,9 +2145,9 @@ Properties:
|
|
|
1682
2145
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1683
2146
|
- `matchSelectorsInTemplate(html: string): SelectorEntry[]`
|
|
1684
2147
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1685
|
-
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler
|
|
2148
|
+
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler): EuiAppConfig`
|
|
1686
2149
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1687
|
-
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig
|
|
2150
|
+
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge: Array, isDeepMerge: boolean): EuiAppConfig`
|
|
1688
2151
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1689
2152
|
- `migrate(options: Schema): Rule`
|
|
1690
2153
|
Defined in `packages/core/schematics/migrate/index.ts`
|
|
@@ -1692,6 +2155,34 @@ Properties:
|
|
|
1692
2155
|
Defined in `packages/core/schematics/migrate-all/index.ts`
|
|
1693
2156
|
- `migrateChipListElement(element: TmplAstElement, source: string, edits): void`
|
|
1694
2157
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2158
|
+
- `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.
|
|
2159
|
+
Defined in `packages/core/schematics/migrate-ecl/index.ts`
|
|
2160
|
+
- `migrateEclBreadcrumb(options: Schema = {}): Rule`
|
|
2161
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2162
|
+
- `migrateEclFile(options: Schema = {}): Rule`
|
|
2163
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2164
|
+
- `migrateEclIcon(options: Schema = {}): Rule`
|
|
2165
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2166
|
+
- `migrateEclInpageNavigation(options: Schema = {}): Rule`
|
|
2167
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2168
|
+
- `migrateEclLink(options: Schema = {}): Rule`
|
|
2169
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2170
|
+
- `migrateEclPageHeader(options: Schema = {}): Rule`
|
|
2171
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2172
|
+
- `migrateEclPageSummary(options: Schema = {}): Rule`
|
|
2173
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2174
|
+
- `migrateEclPagination(options: Schema = {}): Rule`
|
|
2175
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2176
|
+
- `migrateEclQuiz(options: Schema = {}): Rule`
|
|
2177
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2178
|
+
- `migrateEclRemovedComponents(options: Schema = {}): Rule`
|
|
2179
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2180
|
+
- `migrateEclSiteFooter(options: Schema = {}): Rule`
|
|
2181
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2182
|
+
- `migrateEclTabs(options: Schema = {}): Rule`
|
|
2183
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2184
|
+
- `migrateEclTimeline(options: Schema = {}): Rule`
|
|
2185
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1695
2186
|
- `migrateEuiAccent(options: Schema = {}): Rule`
|
|
1696
2187
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1697
2188
|
- `migrateEuiAlert(options: Schema = {}): Rule`
|
|
@@ -1704,6 +2195,8 @@ Properties:
|
|
|
1704
2195
|
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1705
2196
|
- `migrateEuiChipList(options: Schema = {}): Rule`
|
|
1706
2197
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2198
|
+
- `migrateEuiDatepicker(options: Schema = {}): Rule` — Advisory migration for the eui-datepicker moment-locale breaking change. eui-datepicker no longer bundles the moment locale data (the internal import 'moment/min/locales' was removed). Apps that relied on the datepicker implicitly registering every moment locale must now import the locales they use themselves, e.g. import 'moment/locale/fr'; . This schematic cannot know which locales an app needs (and auto-importing all of them would reintroduce the bundle cost the change removed), so it only reports the files that use eui-datepicker and the manual action required.
|
|
2199
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1707
2200
|
- `migrateEuiDiscussionThread(options: Schema = {}): Rule`
|
|
1708
2201
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1709
2202
|
- `migrateEuiEditor(options: Schema = {}): Rule`
|
|
@@ -1758,6 +2251,30 @@ Properties:
|
|
|
1758
2251
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1759
2252
|
- `migrateInlineTemplates(source: string, filePath: string, context: SchematicContext): string`
|
|
1760
2253
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2254
|
+
- `migrateTemplate(source: string): string`
|
|
2255
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2256
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2257
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2258
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2259
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2260
|
+
- `migrateTemplate(source: string): string`
|
|
2261
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2262
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2263
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2264
|
+
- `migrateTemplate(source: string): string`
|
|
2265
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2266
|
+
- `migrateTemplate(source: string): string`
|
|
2267
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2268
|
+
- `migrateTemplate(source: string): string`
|
|
2269
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2270
|
+
- `migrateTemplate(source: string): string`
|
|
2271
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2272
|
+
- `migrateTemplate(source: string): string`
|
|
2273
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2274
|
+
- `migrateTemplate(source: string): string`
|
|
2275
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2276
|
+
- `migrateTemplate(source: string): string`
|
|
2277
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1761
2278
|
- `migrateTemplate(source: string): string`
|
|
1762
2279
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1763
2280
|
- `migrateTemplate(source: string): string`
|
|
@@ -1792,10 +2309,34 @@ Properties:
|
|
|
1792
2309
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1793
2310
|
- `migrateTemplateWithPaginator(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1794
2311
|
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
|
|
2312
|
+
- `migrateToSignals(options: Schema = {}): Rule` — Migrates consumer code that accesses EUI or ECL component instances programmatically. When EUI/ECL migrated
|
|
1796
2313
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1797
2314
|
- `migrateToStandalone(options: Schema = {}): Rule`
|
|
1798
2315
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2316
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2317
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2318
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2319
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2320
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2321
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2322
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2323
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2324
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2325
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2326
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2327
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2328
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2329
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2330
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2331
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2332
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2333
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2334
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2335
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2336
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2337
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2338
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2339
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1799
2340
|
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1800
2341
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1801
2342
|
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
@@ -1804,6 +2345,8 @@ Properties:
|
|
|
1804
2345
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
1805
2346
|
- `migrateTypeScript(source: string, filePath: string, tree: Tree, context: SchematicContext): MigrateResult`
|
|
1806
2347
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2348
|
+
- `nodesContainDatepicker(nodes): boolean`
|
|
2349
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1807
2350
|
- `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
2351
|
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
1809
2352
|
- `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.
|
|
@@ -1812,10 +2355,22 @@ Properties:
|
|
|
1812
2355
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1813
2356
|
- `provideEuiInitializer(): EnvironmentProviders` — Initializes the app with the necessary configurations. Use this in combination with provideAppInitializer(euiInitApp\_Env)
|
|
1814
2357
|
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2358
|
+
- `readBindingExpression(input: TmplAstBoundAttribute, source: string): string`
|
|
2359
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2360
|
+
- `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.
|
|
2361
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1815
2362
|
- `removalEdit(node, source: string): Edit`
|
|
1816
2363
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2364
|
+
- `removeAttribute(attr, source: string): Edit` — Removes a text or bound attribute including preceding whitespace.
|
|
2365
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2366
|
+
- `removeAttribute(attr: TmplAstTextAttribute, source: string): Edit` — Removes a plain text attribute including the preceding whitespace.
|
|
2367
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2368
|
+
- `removeAttribute(attr, source: string): Edit` — Removes a text or bound attribute including preceding whitespace.
|
|
2369
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1817
2370
|
- `removeAttribute(start: number, end: number, source: string, edits): void`
|
|
1818
2371
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2372
|
+
- `removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit` — Removes a bound attribute \[name\]="..." including the preceding whitespace.
|
|
2373
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1819
2374
|
- `removeElementRanges(source: string, parent: TmplAstElement, elements): string`
|
|
1820
2375
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1821
2376
|
- `removeFromEsImports(source: string, filePath: string, symbolsToRemove): string`
|
|
@@ -1824,6 +2379,8 @@ Properties:
|
|
|
1824
2379
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1825
2380
|
- `removeImportSpecifier(namedImports, specifier, sourceFile, edits): void`
|
|
1826
2381
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
2382
|
+
- `renameKey(keySpan, newName: string): Edit` — Rewrites just the attribute/binding name (keySpan), preserving value and brackets.
|
|
2383
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1827
2384
|
- `renameTsProperties(source: string): string`
|
|
1828
2385
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1829
2386
|
- `renameTsPropertyAccesses(source: string): string`
|
|
@@ -1840,7 +2397,7 @@ Properties:
|
|
|
1840
2397
|
Defined in `packages/core/schematics/migrate/replacements/breaking-changes.ts`
|
|
1841
2398
|
- `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
2399
|
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.
|
|
2400
|
+
- `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
2401
|
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
1845
2402
|
- `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
2403
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
@@ -1850,6 +2407,8 @@ Properties:
|
|
|
1850
2407
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1851
2408
|
- `replaceMwp(filePath: string, lines, index: number): boolean` — Applies MyWorkplace-specific replacements to a single line. Ported from csdr-engine/migrate/index.js replaceMwp. Returns true if the line was modified.
|
|
1852
2409
|
Defined in `packages/core/schematics/migrate/replacements/mwp.ts`
|
|
2410
|
+
- `reportManual(context: SchematicContext, filePath: string, element: TmplAstElement, source: string, edits, message: string): void` — Logs a warning and adds a TODO comment above the element for manual follow-up.
|
|
2411
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1853
2412
|
- `resolveElementToEuiClass(element: TmplAstElement): string | null` — Given a template element, resolves it to an EUI class name by checking: Tag name: → look up 'eui-alert' in EUI\_SELECTOR\_TO\_CLASS Attribute selectors: → look up 'input\[euiAutocomplete\]' or '\[euiAutocomplete\]'
|
|
1854
2413
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1855
2414
|
- `resolveEuiClassName(node, sourceFile, templateRefMap: Map): string | null` — Resolves the EUI class name from a property declaration. Checks: type annotation → decorator class argument → template ref map.
|
|
@@ -1860,16 +2419,52 @@ Properties:
|
|
|
1860
2419
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1861
2420
|
- `resolveRefName(expr): string | null` — Resolves a reference name from an expression. Handles: ref , this.ref , this.\_ref
|
|
1862
2421
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2422
|
+
- `sanitize(message: string): string`
|
|
2423
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
1863
2424
|
- `sessionStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
|
|
1864
2425
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1865
2426
|
- `sessionStorageSync(reducer: ActionReducer): S` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
|
|
1866
2427
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1867
|
-
- `sessionStorageSync(reducer
|
|
2428
|
+
- `sessionStorageSync(reducer, platformId?): Function`
|
|
1868
2429
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2430
|
+
- `setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit` — Replaces the value of a text attribute name="old" with a new value.
|
|
2431
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2432
|
+
- `setTextAttributeValue(attr: TmplAstTextAttribute, newValue: string): Edit` — Replaces the value of a text attribute iconSet="old" with a new value.
|
|
2433
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2434
|
+
- `templateUsesDatepicker(source: string): boolean`
|
|
2435
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1869
2436
|
- `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
2437
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
2438
|
+
- `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).
|
|
2439
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1871
2440
|
- `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
2441
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2442
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2443
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2444
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2445
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2446
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2447
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2448
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2449
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2450
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2451
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2452
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2453
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2454
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2455
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2456
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2457
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2458
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2459
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2460
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2461
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2462
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2463
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2464
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2465
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2466
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2467
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1873
2468
|
- `unwrapExpression(expression): ts.Expression`
|
|
1874
2469
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1875
2470
|
- `unwrapExpression(expression): ts.Expression`
|
|
@@ -1904,6 +2499,32 @@ Properties:
|
|
|
1904
2499
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1905
2500
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1906
2501
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
2502
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2503
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2504
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2505
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2506
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2507
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2508
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2509
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2510
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2511
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2512
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2513
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2514
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2515
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2516
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2517
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2518
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2519
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2520
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2521
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2522
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2523
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2524
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2525
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2526
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2527
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1907
2528
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1908
2529
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1909
2530
|
- `visitDir(dir: DirEntry, callback): void`
|
|
@@ -1916,6 +2537,8 @@ Properties:
|
|
|
1916
2537
|
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1917
2538
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1918
2539
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2540
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2541
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1919
2542
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1920
2543
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1921
2544
|
- `visitDir(dir: DirEntry, callback): void`
|
|
@@ -1944,6 +2567,30 @@ Properties:
|
|
|
1944
2567
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1945
2568
|
- `visitExpressionForPipes(expr: AST, edits): void`
|
|
1946
2569
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2570
|
+
- `visitNodes(nodes, edits): void`
|
|
2571
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2572
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2573
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2574
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2575
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2576
|
+
- `visitNodes(nodes, edits): void`
|
|
2577
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2578
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2579
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2580
|
+
- `visitNodes(nodes, edits): void`
|
|
2581
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2582
|
+
- `visitNodes(nodes, edits): void`
|
|
2583
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2584
|
+
- `visitNodes(nodes, edits): void`
|
|
2585
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2586
|
+
- `visitNodes(nodes, source: string, edits): void`
|
|
2587
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2588
|
+
- `visitNodes(nodes, edits): void`
|
|
2589
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2590
|
+
- `visitNodes(nodes, edits): void`
|
|
2591
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2592
|
+
- `visitNodes(nodes, edits): void`
|
|
2593
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1947
2594
|
- `visitNodes(nodes, edits): void`
|
|
1948
2595
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1949
2596
|
- `visitNodes(nodes, removals): void`
|
|
@@ -1976,6 +2623,10 @@ Properties:
|
|
|
1976
2623
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1977
2624
|
- `visitTemplateNodes(nodes, matched): void`
|
|
1978
2625
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2626
|
+
- `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
|
|
2627
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2628
|
+
- `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
|
|
2629
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1979
2630
|
- `warnPropertyAccesses(path: string, source: string, context: SchematicContext): void`
|
|
1980
2631
|
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1981
2632
|
- `warnRemovedProperties(sourceFile, filePath: string, context: SchematicContext): void`
|
|
@@ -2067,8 +2718,22 @@ Properties:
|
|
|
2067
2718
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2068
2719
|
- `addApiQueueItem: unknown = (state: AppState, action: AddApiQueueItemAction): AppState => { // apply the timestamp to the queue item const apiQueueItem = Object.assign({}, action.payload.i…`
|
|
2069
2720
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2070
|
-
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName
|
|
2721
|
+
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName: string; moduleConfig: Record<string, unknown> }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: {…`
|
|
2071
2722
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2723
|
+
- `ATTRIBUTE: string = 'eclBreadcrumb'`
|
|
2724
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2725
|
+
- `ATTRIBUTE: string = 'eclInpageNavigationItem'`
|
|
2726
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2727
|
+
- `ATTRIBUTE: string = 'eclPageHeader'`
|
|
2728
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2729
|
+
- `ATTRIBUTE: string = 'eclPageSummary'`
|
|
2730
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2731
|
+
- `ATTRIBUTE: string = 'eclPaginationItem'`
|
|
2732
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2733
|
+
- `ATTRIBUTE: string = 'eclSiteFooter'`
|
|
2734
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2735
|
+
- `ATTRIBUTE: string = 'eclTab'`
|
|
2736
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2072
2737
|
- `BASE_LOGGER_NAME_TOKEN: unknown = new InjectionToken<string>('BASE_LOGGER_NAME')`
|
|
2073
2738
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2074
2739
|
- `BASE_NAME_TOKEN: unknown = new InjectionToken<string>('baseName')`
|
|
@@ -2083,7 +2748,7 @@ Properties:
|
|
|
2083
2748
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2084
2749
|
- `CHIP_TAG: string = 'eui-chip'`
|
|
2085
2750
|
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.
|
|
2751
|
+
- `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element: HTMLElement | null = target; while (element && element.nodeType === Node.ELEMENT_…`
|
|
2087
2752
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2088
2753
|
- `COMPONENT_TAG: string = 'eui-discussion-thread'`
|
|
2089
2754
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
@@ -2101,19 +2766,19 @@ Properties:
|
|
|
2101
2766
|
Defined in `packages/core/src/lib/helpers/event-helpers.ts`
|
|
2102
2767
|
- `CORE_ROOT_GUARD: unknown = new InjectionToken<void>('Internal Theme ForRoot Guard')`
|
|
2103
2768
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2104
|
-
- `coreAppReducers: AppState = (state = initialAppState, action:
|
|
2769
|
+
- `coreAppReducers: AppState = (state = initialAppState, action: Action) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: AppState, action: CoreA…` (deprecated: it will be removed in the next major version)
|
|
2105
2770
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2106
|
-
- `coreLocaleReducers: LocaleState = ( state = initialLocaleState, action:
|
|
2771
|
+
- `coreLocaleReducers: LocaleState = ( state = initialLocaleState, action: Action, ) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: LocaleState, acti…` (deprecated: it will be removed in the next major version)
|
|
2107
2772
|
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2108
|
-
- `coreNotificationsReducers: NotificationsState = ( state = initialNotificationsState, action:
|
|
2773
|
+
- `coreNotificationsReducers: NotificationsState = ( state = initialNotificationsState, action: Action, ) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: Notificati…` (deprecated: it will be removed in the next major version)
|
|
2109
2774
|
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2110
2775
|
- `coreReducers: ActionReducerMap<CoreState, any> = Object.assign( {}, { app: coreAppReducers, user: coreUserReducers, notifications: coreNotificationsReducers, i18n: corI18nReducers, locale: coreLocaleReducers, …` (deprecated: it will be removed in the next major version)
|
|
2111
2776
|
Defined in `packages/core/src/lib/services/store/reducers/core.reducers.ts`
|
|
2112
|
-
- `coreUserReducers: UserState = (state = initialUserState, action:
|
|
2777
|
+
- `coreUserReducers: UserState = (state = initialUserState, action: Action) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: UserState, action: Cor…` (deprecated: it will be removed in the next major version)
|
|
2113
2778
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2114
|
-
- `corI18nReducers: I18nState = (state = initialI18nState, action:
|
|
2779
|
+
- `corI18nReducers: I18nState = (state = initialI18nState, action: Action) => { if (actionToReducerMap[action.type]) { return (actionToReducerMap[action.type] as (state: I18nState, action: Cor…` (deprecated: it will be removed in the next major version)
|
|
2115
2780
|
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.'); }
|
|
2781
|
+
- `createEuiCoreRootGuard: unknown = (core: unknown): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); }…`
|
|
2117
2782
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2118
2783
|
- `CYAN: string = '\x1b[36m'`
|
|
2119
2784
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
@@ -2145,6 +2810,12 @@ Properties:
|
|
|
2145
2810
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2146
2811
|
- `DYNAMIC_COMPONENT_CONFIG: unknown = new InjectionToken<object>('DYNAMIC_COMPONENT_CONFIG')`
|
|
2147
2812
|
Defined in `packages/core/src/lib/services/dynamic-component/dynamic-component.service.ts`
|
|
2813
|
+
- `ECL_LINK_ATTR: string = 'eclLink'`
|
|
2814
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2815
|
+
- `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
|
|
2816
|
+
Defined in `packages/core/schematics/migrate-to-signals/ecl-signal-map.ts`
|
|
2817
|
+
- `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.
|
|
2818
|
+
Defined in `packages/core/schematics/migrate-to-signals/ecl-signal-map.ts`
|
|
2148
2819
|
- `emptyApiQueue: unknown = (state: AppState, action: EmptyApiQueueAction): AppState => // remove all items in the Api Queue Object.assign({}, state, { apiQueue: {} })`
|
|
2149
2820
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2150
2821
|
- `errorCodes: object = { ERR_GENERIC: 'ERR_GENERIC', }`
|
|
@@ -2157,37 +2828,59 @@ Properties:
|
|
|
2157
2828
|
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2158
2829
|
- `EUI_DIRECTIVES: [] = ['euiButton', 'euiList', 'euiListItem']`
|
|
2159
2830
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2831
|
+
- `EUI_ERROR_MAPPING_HANDLER_TOKEN: unknown = new InjectionToken<ErrorMappingHandler>('EUI_ERROR_MAPPING_HANDLER')`
|
|
2832
|
+
Defined in `packages/core/src/lib/interceptors/request-error.interceptor.ts`
|
|
2833
|
+
- `EUI_SELECTOR_TO_CLASS: Record<string, string> = { ...EUI_SELECTOR_TO_CLASS_RAW, ...ECL_SELECTOR_TO_CLASS }`
|
|
2834
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2160
2835
|
- `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
2836
|
Defined in `packages/core/schematics/migrate-to-signals/signal-map.ts`
|
|
2837
|
+
- `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.
|
|
2838
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2162
2839
|
- `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
2840
|
Defined in `packages/core/schematics/migrate-to-signals/signal-map.ts`
|
|
2164
2841
|
- `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
2842
|
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2166
2843
|
- `euiCoreRootGuardClass: unknown = (): EuiCoreRootGuardClass => new EuiCoreRootGuardClass()`
|
|
2167
2844
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2168
|
-
- `
|
|
2845
|
+
- `FILE_ITEM_TAG: string = 'ecl-file-item'`
|
|
2846
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2847
|
+
- `FILE_REMOVED: unknown = new Set(['meta', 'metaId'])`
|
|
2848
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2849
|
+
- `FILE_RENAME_FROM: string = 'detailMeta'`
|
|
2850
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2851
|
+
- `FILE_RENAME_TO: string = 'primaryMeta'`
|
|
2852
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2853
|
+
- `FILE_TAG: string = 'ecl-file'`
|
|
2854
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2855
|
+
- `filterAppState: unknown = (app: AppState): AppState => { // in case app is undefined or null it should return empty object if (!app) { return {}; } const source = app as Record<string, u…` (deprecated: it will be removed in the next major version) — filters the AppState by removing those keys from the state and return a new state Object
|
|
2169
2856
|
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
|
|
2857
|
+
- `formatNumber: unknown = (value: number | string, fractionSize = 2, inDecimalSeparator = ',', inThousandSeparator = ''): string | null => { // in case value is not a number throw an err…` — Its job is to parse number and format it based on given input.
|
|
2171
2858
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2172
|
-
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app
|
|
2859
|
+
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app?.loadedConfigModules?.lastAddedModule as string`
|
|
2173
2860
|
Defined in `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
2174
2861
|
- `getStyle: unknown = (nativeEl: Element, cssProp: keyof CSSStyleDeclaration): string => { /* istanbul ignore if */ if (getComputedStyle(nativeEl)) { return getComputedStyle(nativeEl…`
|
|
2175
2862
|
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
|
|
2863
|
+
- `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el!: HTMLElemen…`
|
|
2177
2864
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2178
2865
|
- `GLOBAL_CONFIG_TOKEN: unknown = new InjectionToken<GlobalConfig>('globalConfig')`
|
|
2179
2866
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2180
2867
|
- ``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
2868
|
Defined in `packages/core/src/lib/helpers/http-helpers.ts`
|
|
2869
|
+
- `HIGHLIGHT_VARIANT: string = 'primary-highlight'`
|
|
2870
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2182
2871
|
- `HTTP_ERROR_HANDLER_CONFIG_TOKEN: unknown = new InjectionToken<HttpErrorHandlerConfig>('HTTP_ERROR_HANDLER_CONFIG')`
|
|
2183
2872
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2184
2873
|
- `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
2874
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2186
2875
|
- `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
2876
|
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
2877
|
+
- `ICON_SET: string = 'iconSet'`
|
|
2878
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2879
|
+
- `ICON_TAG: string = 'ecl-icon'`
|
|
2880
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2188
2881
|
- `iconLookup: unknown = new Map<string, string>()` — Build a lookup map for O(1) icon replacement
|
|
2189
2882
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2190
|
-
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(
|
|
2883
|
+
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(); const appConfig: EuiAppConfig = inj…`
|
|
2191
2884
|
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2192
2885
|
- `initialState: UIState = { appName: '', appShortName: '', appSubTitle: '', appBaseFontSize: '', isSidebarOpen: true, isSidebarActive: false, hasSidebar: false, hasSideContainer: false, …`
|
|
2193
2886
|
Defined in `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
@@ -2197,13 +2890,25 @@ Properties:
|
|
|
2197
2890
|
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
2198
2891
|
- `INPUT_RENAMES: unknown = new Map([ ['iconLabelClass', 'icon'], ['iconLabelStyleClass', 'fillColor'], ])`
|
|
2199
2892
|
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
2893
|
+
- `IS_HIGHLIGHT: string = 'isHighlight'`
|
|
2894
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2895
|
+
- `IS_NO_VISITED: string = 'isNoVisited'`
|
|
2896
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2200
2897
|
- `isDefined: unknown = <T>(value: T | undefined | null): value is T => <T>value !== undefined && <T>value !== null` — check if a value is null or undefined. If it's not both returns true otherwise false
|
|
2201
2898
|
Defined in `packages/core/src/lib/helpers/utils.ts`
|
|
2202
2899
|
- `isStaticPositioned: unknown = (nativeEl: Element): boolean => (getStyle(nativeEl, 'position') || 'static') === 'static'` — Checks if a given element is statically positioned
|
|
2203
2900
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2901
|
+
- `ITEM_REMOVED: unknown = new Set(['isDescription'])`
|
|
2902
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2903
|
+
- `ITEM_RENAME_FROM: string = 'label'`
|
|
2904
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2905
|
+
- `ITEM_RENAME_TO: string = 'eclTitle'`
|
|
2906
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2204
2907
|
- `LANG_PARAM_KEY: string = 'X-Lang-Param'`
|
|
2205
2908
|
Defined in `packages/core/src/lib/interceptors/add-lang-param.interceptor.ts`
|
|
2206
|
-
- `
|
|
2909
|
+
- `LEGACY_VALUE: string = 'social'`
|
|
2910
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2911
|
+
- `loadState: unknown = <S extends CoreState>(storage: Storage | null = null): S | undefined => { if (!storage) { return undefined; } try { // by default falls back to localStorage con…` (deprecated: it will be removed in the next major version)
|
|
2207
2912
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2208
2913
|
- `LOCAL_FORAGE_SERVICE_CONFIG_TOKEN: unknown = new InjectionToken<any>('LOCAL_FORAGE_SERVICE_CONFIG')`
|
|
2209
2914
|
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
@@ -2213,17 +2918,17 @@ Properties:
|
|
|
2213
2918
|
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
2214
2919
|
- `LOG_APPENDERS_TOKEN: unknown = new InjectionToken<LogAppender[]>('LOG_APPENDERS')`
|
|
2215
2920
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2216
|
-
- `LOG_INSTANCES:
|
|
2921
|
+
- `LOG_INSTANCES: Record<string, LogService> = {}`
|
|
2217
2922
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2218
2923
|
- `LOG_LEVEL_TOKEN: unknown = new InjectionToken<LogLevel>('LOG_LEVEL')`
|
|
2219
2924
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2220
2925
|
- `LOG_MODULE_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('LOG_CONFIG')`
|
|
2221
2926
|
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
|
|
2927
|
+
- `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = (group.controls as Record<string, Abstr…`
|
|
2223
2928
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2224
|
-
- `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object, iteratee
|
|
2929
|
+
- `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object: unknown, iteratee: (value: AbstractControl, key: strin…`
|
|
2225
2930
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2226
|
-
- `messages:
|
|
2931
|
+
- `messages: Record<string, string | unknown> = { ERR_GENERIC: 'An error occured', }`
|
|
2227
2932
|
Defined in `packages/core/src/lib/services/errors/eui.error.ts`
|
|
2228
2933
|
- `MODULE_CONFIG_TOKEN: unknown = new InjectionToken<ModuleConfig>('moduleConfig')`
|
|
2229
2934
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
@@ -2263,6 +2968,20 @@ Properties:
|
|
|
2263
2968
|
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
2264
2969
|
- `NEW_PIPE: string = 'euiTableHighlight'`
|
|
2265
2970
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2971
|
+
- `NEW_TAG: string = 'nav'`
|
|
2972
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2973
|
+
- `NEW_TAG: string = 'li'`
|
|
2974
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2975
|
+
- `NEW_TAG: string = 'div'`
|
|
2976
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2977
|
+
- `NEW_TAG: string = 'section'`
|
|
2978
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2979
|
+
- `NEW_TAG: string = 'li'`
|
|
2980
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2981
|
+
- `NEW_TAG: string = 'footer'`
|
|
2982
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2983
|
+
- `NEW_TAG: string = 'div'`
|
|
2984
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2266
2985
|
- `NEW_TAG: string = 'eui-toolbar-mega-menu'`
|
|
2267
2986
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2268
2987
|
- `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 +3010,31 @@ Properties:
|
|
|
2291
3010
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2292
3011
|
- `OLD_SUB_LABEL: string = 'euiTabSubLabel'`
|
|
2293
3012
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
3013
|
+
- `OLD_TAG: string = 'ecl-breadcrumb'`
|
|
3014
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
3015
|
+
- `OLD_TAG: string = 'ecl-inpage-navigation-item'`
|
|
3016
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
3017
|
+
- `OLD_TAG: string = 'ecl-page-header'`
|
|
3018
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
3019
|
+
- `OLD_TAG: string = 'ecl-page-summary'`
|
|
3020
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
3021
|
+
- `OLD_TAG: string = 'ecl-pagination-item'`
|
|
3022
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
3023
|
+
- `OLD_TAG: string = 'ecl-site-footer'`
|
|
3024
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
3025
|
+
- `OLD_TAG: string = 'ecl-tab'`
|
|
3026
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2294
3027
|
- `OLD_TAG: string = 'eui-toolbar-menu'`
|
|
2295
3028
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
3029
|
+
- `OLD_TAGS: unknown = SELECTOR_MAPPINGS.map((m) => m.oldTag)`
|
|
3030
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2296
3031
|
- `OUTPUT_RENAMES: unknown = new Map([['selectedRows', 'rowsSelect']])`
|
|
2297
3032
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2298
3033
|
- `PAGINATOR_COMPONENT: string = 'EuiPaginatorComponent'`
|
|
2299
3034
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2300
3035
|
- `PAGINATOR_IMPORT_PATH: string = '@eui/components/eui-paginator'`
|
|
2301
3036
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2302
|
-
- `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent = nativeEl.offsetParent || document; while (offsetParent &&
|
|
3037
|
+
- `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent: Element | Document | null = nativeEl.offsetParent || document; while (offsetParent && offsetP…` — returns the closest, non-statically positioned parentOffset of a given element
|
|
2303
3038
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2304
3039
|
- `PLATFORM_BROWSER_ID: string = 'browser'`
|
|
2305
3040
|
Defined in `packages/core/src/lib/services/store/store.service.mock.ts`
|
|
@@ -2307,8 +3042,16 @@ Properties:
|
|
|
2307
3042
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2308
3043
|
- `PROPAGATED_INPUTS: unknown = new Set([ 'euiPrimary', 'euiSecondary', 'euiSuccess', 'euiInfo', 'euiWarning', 'euiDanger', 'euiAccent', 'euiVariant', 'euiSizeS', 'euiSizeVariant', 'euiOutline…`
|
|
2309
3044
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3045
|
+
- `QUIZ_CARD_ATTR: string = 'eclQuizCard'`
|
|
3046
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2310
3047
|
- `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
3048
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
3049
|
+
- `REMOVED_ATTRS: readonly RemovedAttr[] = [ { attr: 'eclDatePicker', onTag: 'input', message: 'EclDatePickerDirective (input[eclDatePicker]) was removed in v22. Use EclDatePickerDuetDirective on a <duet…`
|
|
3050
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3051
|
+
- `REMOVED_IDENTIFIERS: readonly RemovedIdentifier[] = [ { name: 'EclDatePickerDirective', message: 'EclDatePickerDirective was removed in v22. Use EclDatePickerDuetDirective (selector "duet-date-picker[eclDatePicke…`
|
|
3052
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3053
|
+
- `REMOVED_INPUT: string = 'category'`
|
|
3054
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2312
3055
|
- `REMOVED_INPUTS: unknown = new Set(['alertIconType', 'alertIconFillColor', 'isMuted', 'isBordered'])`
|
|
2313
3056
|
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
2314
3057
|
- `REMOVED_INPUTS: unknown = new Set(['isFlat'])`
|
|
@@ -2325,6 +3068,10 @@ Properties:
|
|
|
2325
3068
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2326
3069
|
- `REMOVED_OUTPUTS: unknown = new Set(['multiSortChange'])`
|
|
2327
3070
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3071
|
+
- `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…`
|
|
3072
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3073
|
+
- `REPLACEMENT_VALUE: string = 'social-media'`
|
|
3074
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2328
3075
|
- `RESET: string = '\x1b[0m'`
|
|
2329
3076
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
2330
3077
|
- `ROOT_LOG_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('logConfig')`
|
|
@@ -2333,22 +3080,34 @@ Properties:
|
|
|
2333
3080
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2334
3081
|
- `SELECTOR_MAP: SelectorEntry[] = buildSelectorMap()` — All known EUI selectors with their import metadata
|
|
2335
3082
|
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
3083
|
+
- `SELECTOR_MAPPINGS: readonly SelectorMapping[] = [ { oldTag: 'ecl-timeline', newTag: 'ol', attribute: 'eclTimeline' }, { oldTag: 'ecl-timeline-item', newTag: 'li', attribute: 'eclTimelineItem' }, { oldTag: 'ec…`
|
|
3084
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2336
3085
|
- `SHOW_CONNECTION_STATUS_TOKEN: unknown = new InjectionToken<boolean>('SHOW_CONNECTION_STATUS')`
|
|
2337
3086
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2338
3087
|
- `SUFFIX_MAP: unknown[] = [ [':sharp', ':ion-filled'], [':outline', ':ion-outline'], ]` — Suffix-based mapping: :sharp -\> :ion-filled, :outline -\> :ion-outline
|
|
2339
3088
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
3089
|
+
- `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.
|
|
3090
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2340
3091
|
- `TABLE_INPUT_RENAMES: unknown = new Map([ ['rows', 'data'], ['loading', 'isLoading'], ['asyncTable', 'isAsync'], ['euiTableResponsive', 'isTableResponsive'], ['euiTableFixedLayout', 'isTableFi…`
|
|
2341
3092
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2342
3093
|
- `testBed: unknown = getTestBed()`
|
|
2343
3094
|
Defined in `packages/core/test-setup.ts`
|
|
2344
3095
|
- `TH_TD_INPUT_RENAMES: unknown = new Map([ ['isStickyColumn', 'isStickyCol'], ['sortable', 'isSortable'], ])`
|
|
2345
3096
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3097
|
+
- `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'`
|
|
3098
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3099
|
+
- `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'` — Helpers to mark template spots that a schematic cannot migrate automatically with a searchable TODO: \[eUI v22 migration\] ... HTML comment.
|
|
3100
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
2346
3101
|
- `TR_INPUT_RENAMES: unknown = new Map([ ['isSelectableHeader', 'isHeaderSelectable'], ['isSelectable', 'isDataSelectable'], ])`
|
|
2347
3102
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2348
3103
|
- `translateConfig: object = { loader: provideTranslateLoader(I18nLoader), }`
|
|
2349
3104
|
Defined in `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
2350
3105
|
- `TRANSLATED_STRING: string = 'i18n'`
|
|
2351
3106
|
Defined in `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
3107
|
+
- `TRIGGER_TOKENS: [] = [FILE_RENAME_FROM, ITEM_RENAME_FROM, 'meta', 'metaId', 'isDescription']`
|
|
3108
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
3109
|
+
- `TRIGGER_TOKENS: [] = [ ...REMOVED_TAGS.map((t) => t.tag), ...REMOVED_ATTRS.map((a) => a.attr), ...REMOVED_IDENTIFIERS.map((i) => i.name), ]`
|
|
3110
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2352
3111
|
- `TRUNCATE_PIPE_IMPORT: string = 'EuiTruncatePipe'`
|
|
2353
3112
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2354
3113
|
- `TRUNCATE_PIPE_PATH: string = '@eui/components/pipes'`
|
|
@@ -2383,11 +3142,13 @@ Properties:
|
|
|
2383
3142
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2384
3143
|
- `updateUserRights: unknown = (state: UserState, action: UpdateUserRightsAction): UserState => Object.assign({}, state, { rights: [...action.payload] })`
|
|
2385
3144
|
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@…`
|
|
3145
|
+
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } | null => { const EMAIL_REGEXP = // eslint-disable-next-line max-len, no-useless-escape /^(([^<>()\[\]\\…`
|
|
2389
3146
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
3147
|
+
- `VARIANT: string = 'variant'`
|
|
3148
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2390
3149
|
- `WARN_PROPERTIES: unknown = new Set([...PROPAGATED_INPUTS, 'chipRemove', 'isChipsRemovable', 'chipsLabelTruncateCount', 'maxVisibleChipsCount', 'isMaxVisibleChipsOpened', 'toggleLinkMoreLa…`
|
|
2391
3150
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3151
|
+
- `WRITE_TODO_MARKER: string = 'TODO(eui-signals):'` — Marker used to detect an already-inserted TODO so the schematic stays idempotent.
|
|
3152
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2392
3153
|
- `YELLOW: string = '\x1b[33m'`
|
|
2393
3154
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|