@eui/core 22.0.0-alpha.7 → 22.0.0-alpha.71
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 +1057 -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 +1491 -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/OutputFormatUsage.html +446 -0
- 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 +31 -1
- package/docs/interfaces/Schema-14.html +14 -1
- package/docs/interfaces/Schema-15.html +12 -1
- package/docs/interfaces/Schema-16.html +20 -1
- package/docs/interfaces/Schema-17.html +1 -1
- package/docs/interfaces/Schema-18.html +1 -1
- package/docs/interfaces/Schema-19.html +1 -1
- package/docs/interfaces/Schema-20.html +1 -1
- package/docs/interfaces/Schema-21.html +1 -1
- package/docs/interfaces/Schema-22.html +1 -1
- package/docs/interfaces/Schema-23.html +368 -0
- package/docs/interfaces/Schema-24.html +368 -0
- package/docs/interfaces/Schema-25.html +368 -0
- package/docs/interfaces/Schema-26.html +368 -0
- package/docs/interfaces/Schema-27.html +368 -0
- package/docs/interfaces/Schema-28.html +368 -0
- package/docs/interfaces/Schema-29.html +368 -0
- package/docs/interfaces/Schema-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/TemplateSource.html +395 -0
- package/docs/interfaces/TextEdit.html +395 -0
- package/docs/interfaces/TodoEdit.html +395 -0
- package/docs/js/menu-wc.js +109 -1
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +31909 -12990
- package/docs/llms.txt +863 -43
- package/docs/miscellaneous/functions.html +14582 -1367
- package/docs/miscellaneous/typealiases.html +22 -0
- package/docs/miscellaneous/variables.html +2421 -193
- 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 +19 -0
- package/schematics/migrate-eui-datepicker/index.js +301 -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-18T16:26:36.282Z, 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
|
|
@@ -1058,6 +1186,16 @@ Properties:
|
|
|
1058
1186
|
- `decoratorPos: number`
|
|
1059
1187
|
- `path: string`
|
|
1060
1188
|
|
|
1189
|
+
### OutputFormatUsage
|
|
1190
|
+
|
|
1191
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1192
|
+
|
|
1193
|
+
Properties:
|
|
1194
|
+
- `end: number`
|
|
1195
|
+
- `expression?: string`
|
|
1196
|
+
- `start: number`
|
|
1197
|
+
- `staticValue?: string`
|
|
1198
|
+
|
|
1061
1199
|
### Policy
|
|
1062
1200
|
|
|
1063
1201
|
File: `packages/core/src/lib/services/loader/eui-loader.model.ts`
|
|
@@ -1069,6 +1207,31 @@ Properties:
|
|
|
1069
1207
|
- `retryInterval: number` — Time between retries in milliseconds
|
|
1070
1208
|
- `timeout: number` — Time in milliseconds before considering a load attempt as failed
|
|
1071
1209
|
|
|
1210
|
+
### RemovedAttr
|
|
1211
|
+
|
|
1212
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1213
|
+
|
|
1214
|
+
Properties:
|
|
1215
|
+
- `attr: string`
|
|
1216
|
+
- `message: string`
|
|
1217
|
+
- `onTag?: string`
|
|
1218
|
+
|
|
1219
|
+
### RemovedIdentifier
|
|
1220
|
+
|
|
1221
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1222
|
+
|
|
1223
|
+
Properties:
|
|
1224
|
+
- `message: string`
|
|
1225
|
+
- `name: string`
|
|
1226
|
+
|
|
1227
|
+
### RemovedTag
|
|
1228
|
+
|
|
1229
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1230
|
+
|
|
1231
|
+
Properties:
|
|
1232
|
+
- `message: string`
|
|
1233
|
+
- `tag: string`
|
|
1234
|
+
|
|
1072
1235
|
### ResourceError
|
|
1073
1236
|
|
|
1074
1237
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
@@ -1114,6 +1277,136 @@ Properties:
|
|
|
1114
1277
|
|
|
1115
1278
|
### Schema
|
|
1116
1279
|
|
|
1280
|
+
File: `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1281
|
+
|
|
1282
|
+
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.
|
|
1283
|
+
|
|
1284
|
+
Properties:
|
|
1285
|
+
- `dryRun?: boolean`
|
|
1286
|
+
- `path?: string`
|
|
1287
|
+
|
|
1288
|
+
### Schema
|
|
1289
|
+
|
|
1290
|
+
File: `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1291
|
+
|
|
1292
|
+
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.
|
|
1293
|
+
|
|
1294
|
+
Properties:
|
|
1295
|
+
- `dryRun?: boolean`
|
|
1296
|
+
- `path?: string`
|
|
1297
|
+
|
|
1298
|
+
### Schema
|
|
1299
|
+
|
|
1300
|
+
File: `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1301
|
+
|
|
1302
|
+
Description: Migrates the ecl-icon iconSet input for ECL v21 → v22. In v22 EclIconSet became a strict union and the legacy 'social' alias was removed: iconSet="social" → iconSet="social-media" (both resolved to the same sprite; safe automatic rename). Any other static iconSet value that is not part of the supported union is now a TypeScript error. The schematic cannot know the intended set, so it reports a warning 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.
|
|
1303
|
+
|
|
1304
|
+
Properties:
|
|
1305
|
+
- `dryRun?: boolean`
|
|
1306
|
+
- `path?: string`
|
|
1307
|
+
|
|
1308
|
+
### Schema
|
|
1309
|
+
|
|
1310
|
+
File: `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1311
|
+
|
|
1312
|
+
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.
|
|
1313
|
+
|
|
1314
|
+
Properties:
|
|
1315
|
+
- `dryRun?: boolean`
|
|
1316
|
+
- `path?: string`
|
|
1317
|
+
|
|
1318
|
+
### Schema
|
|
1319
|
+
|
|
1320
|
+
File: `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1321
|
+
|
|
1322
|
+
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.
|
|
1323
|
+
|
|
1324
|
+
Properties:
|
|
1325
|
+
- `dryRun?: boolean`
|
|
1326
|
+
- `path?: string`
|
|
1327
|
+
|
|
1328
|
+
### Schema
|
|
1329
|
+
|
|
1330
|
+
File: `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1331
|
+
|
|
1332
|
+
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.
|
|
1333
|
+
|
|
1334
|
+
Properties:
|
|
1335
|
+
- `dryRun?: boolean`
|
|
1336
|
+
- `path?: string`
|
|
1337
|
+
|
|
1338
|
+
### Schema
|
|
1339
|
+
|
|
1340
|
+
File: `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1341
|
+
|
|
1342
|
+
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.
|
|
1343
|
+
|
|
1344
|
+
Properties:
|
|
1345
|
+
- `dryRun?: boolean`
|
|
1346
|
+
- `path?: string`
|
|
1347
|
+
|
|
1348
|
+
### Schema
|
|
1349
|
+
|
|
1350
|
+
File: `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1351
|
+
|
|
1352
|
+
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.
|
|
1353
|
+
|
|
1354
|
+
Properties:
|
|
1355
|
+
- `dryRun?: boolean`
|
|
1356
|
+
- `path?: string`
|
|
1357
|
+
|
|
1358
|
+
### Schema
|
|
1359
|
+
|
|
1360
|
+
File: `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1361
|
+
|
|
1362
|
+
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.
|
|
1363
|
+
|
|
1364
|
+
Properties:
|
|
1365
|
+
- `dryRun?: boolean`
|
|
1366
|
+
- `path?: string`
|
|
1367
|
+
|
|
1368
|
+
### Schema
|
|
1369
|
+
|
|
1370
|
+
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1371
|
+
|
|
1372
|
+
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 ).
|
|
1373
|
+
|
|
1374
|
+
Properties:
|
|
1375
|
+
- `dryRun?: boolean`
|
|
1376
|
+
- `path?: string`
|
|
1377
|
+
|
|
1378
|
+
### Schema
|
|
1379
|
+
|
|
1380
|
+
File: `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1381
|
+
|
|
1382
|
+
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.
|
|
1383
|
+
|
|
1384
|
+
Properties:
|
|
1385
|
+
- `dryRun?: boolean`
|
|
1386
|
+
- `path?: string`
|
|
1387
|
+
|
|
1388
|
+
### Schema
|
|
1389
|
+
|
|
1390
|
+
File: `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1391
|
+
|
|
1392
|
+
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.
|
|
1393
|
+
|
|
1394
|
+
Properties:
|
|
1395
|
+
- `dryRun?: boolean`
|
|
1396
|
+
- `path?: string`
|
|
1397
|
+
|
|
1398
|
+
### Schema
|
|
1399
|
+
|
|
1400
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1401
|
+
|
|
1402
|
+
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.
|
|
1403
|
+
|
|
1404
|
+
Properties:
|
|
1405
|
+
- `dryRun?: boolean`
|
|
1406
|
+
- `path?: string`
|
|
1407
|
+
|
|
1408
|
+
### Schema
|
|
1409
|
+
|
|
1117
1410
|
File: `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1118
1411
|
|
|
1119
1412
|
Properties:
|
|
@@ -1162,6 +1455,14 @@ Properties:
|
|
|
1162
1455
|
|
|
1163
1456
|
### Schema
|
|
1164
1457
|
|
|
1458
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1459
|
+
|
|
1460
|
+
Properties:
|
|
1461
|
+
- `dryRun?: boolean`
|
|
1462
|
+
- `path?: string`
|
|
1463
|
+
|
|
1464
|
+
### Schema
|
|
1465
|
+
|
|
1165
1466
|
File: `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1166
1467
|
|
|
1167
1468
|
Properties:
|
|
@@ -1277,6 +1578,24 @@ Properties:
|
|
|
1277
1578
|
- `element: string | null` — Element tag required (null = any element)
|
|
1278
1579
|
- `importPath: string` — The ES import path
|
|
1279
1580
|
|
|
1581
|
+
### SelectorMapping
|
|
1582
|
+
|
|
1583
|
+
File: `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1584
|
+
|
|
1585
|
+
Properties:
|
|
1586
|
+
- `attribute: string`
|
|
1587
|
+
- `newTag: string`
|
|
1588
|
+
- `oldTag: string`
|
|
1589
|
+
|
|
1590
|
+
### TemplateSource
|
|
1591
|
+
|
|
1592
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1593
|
+
|
|
1594
|
+
Properties:
|
|
1595
|
+
- `content: string`
|
|
1596
|
+
- `file: string`
|
|
1597
|
+
- `offset: number`
|
|
1598
|
+
|
|
1280
1599
|
### TextChange
|
|
1281
1600
|
|
|
1282
1601
|
File: `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
@@ -1286,6 +1605,15 @@ Properties:
|
|
|
1286
1605
|
- `start: number`
|
|
1287
1606
|
- `text: string`
|
|
1288
1607
|
|
|
1608
|
+
### TextEdit
|
|
1609
|
+
|
|
1610
|
+
File: `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1611
|
+
|
|
1612
|
+
Properties:
|
|
1613
|
+
- `end: number`
|
|
1614
|
+
- `start: number`
|
|
1615
|
+
- `text: string`
|
|
1616
|
+
|
|
1289
1617
|
### ThemeState
|
|
1290
1618
|
|
|
1291
1619
|
File: `packages/core/src/lib/services/eui-theme.service.ts`
|
|
@@ -1294,6 +1622,15 @@ Properties:
|
|
|
1294
1622
|
- `theme: any`
|
|
1295
1623
|
- `themes: IEuiTheme[]`
|
|
1296
1624
|
|
|
1625
|
+
### TodoEdit
|
|
1626
|
+
|
|
1627
|
+
File: `packages/core/schematics/utils/todo-comment.ts`
|
|
1628
|
+
|
|
1629
|
+
Properties:
|
|
1630
|
+
- `end: number`
|
|
1631
|
+
- `replacement: string`
|
|
1632
|
+
- `start: number`
|
|
1633
|
+
|
|
1297
1634
|
### TranslationKeys
|
|
1298
1635
|
|
|
1299
1636
|
File: `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
@@ -1346,6 +1683,8 @@ Properties:
|
|
|
1346
1683
|
|
|
1347
1684
|
## Public functions
|
|
1348
1685
|
|
|
1686
|
+
- `adapterKinds(source: string): AdapterKind[]`
|
|
1687
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1349
1688
|
- `addEsImports(source: string, filePath: string, imports): string`
|
|
1350
1689
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1351
1690
|
- `addEuiImports(options: Schema = {}): Rule`
|
|
@@ -1358,14 +1697,42 @@ Properties:
|
|
|
1358
1697
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1359
1698
|
- `AlertHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1360
1699
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1700
|
+
- `applyAnnotations(source: string, annotations): string`
|
|
1701
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1361
1702
|
- `applyChanges(source: string, changes): string`
|
|
1362
1703
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1704
|
+
- `applyEdits(source: string, edits): string`
|
|
1705
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1706
|
+
- `applyEdits(source: string, edits): string`
|
|
1707
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1708
|
+
- `applyEdits(source: string, edits): string`
|
|
1709
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1710
|
+
- `applyEdits(source: string, edits): string`
|
|
1711
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1712
|
+
- `applyEdits(source: string, edits): string`
|
|
1713
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1714
|
+
- `applyEdits(source: string, edits): string`
|
|
1715
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1716
|
+
- `applyEdits(source: string, edits): string`
|
|
1717
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1718
|
+
- `applyEdits(source: string, edits): string`
|
|
1719
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1720
|
+
- `applyEdits(source: string, edits): string`
|
|
1721
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1722
|
+
- `applyEdits(source: string, edits): string`
|
|
1723
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1724
|
+
- `applyEdits(source: string, edits): string`
|
|
1725
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1726
|
+
- `applyEdits(source: string, edits): string`
|
|
1727
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1363
1728
|
- `applyEdits(source: string, edits): string`
|
|
1364
1729
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1365
1730
|
- `applyEdits(source: string, edits): string`
|
|
1366
1731
|
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1367
1732
|
- `applyEdits(source: string, edits): string`
|
|
1368
1733
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1734
|
+
- `applyEdits(content: string, edits): string`
|
|
1735
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1369
1736
|
- `applyEdits(source: string, edits): string`
|
|
1370
1737
|
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1371
1738
|
- `applyEdits(source: string, edits): string`
|
|
@@ -1400,14 +1767,42 @@ Properties:
|
|
|
1400
1767
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1401
1768
|
- `buildTruncatePipeEdit(chip: TmplAstElement, source: string, truncateValue: string): Edit | null`
|
|
1402
1769
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1770
|
+
- `collectCategoryRemovals(element: TmplAstElement, source: string, edits): void`
|
|
1771
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1403
1772
|
- `collectChildElementRenames(element: TmplAstElement, edits): void`
|
|
1404
1773
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1405
1774
|
- `collectChildInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1406
1775
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1776
|
+
- `collectEclLinkEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1777
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1778
|
+
- `collectElementAnnotation(element: TmplAstElement, lineOffset: number, commentStyle, annotations): void`
|
|
1779
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1780
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1781
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1782
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1783
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1784
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1785
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1786
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1787
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1788
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1789
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1790
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1791
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1792
|
+
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1793
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1794
|
+
- `collectElementRename(element: TmplAstElement, mapping: SelectorMapping, edits): void`
|
|
1795
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1407
1796
|
- `collectEmptyMessageRename(element: TmplAstElement, edits): void`
|
|
1408
1797
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1409
1798
|
- `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
1799
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1800
|
+
- `collectFileEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1801
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1802
|
+
- `collectFileItemEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1803
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1804
|
+
- `collectIconSetEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1805
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1411
1806
|
- `collectInputRemovals(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1412
1807
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1413
1808
|
- `collectOutputChanges(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
@@ -1446,12 +1841,20 @@ Properties:
|
|
|
1446
1841
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1447
1842
|
- `collectTagRenames(element: TmplAstElement, source: string, edits): void`
|
|
1448
1843
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1844
|
+
- `collectTemplateAnnotations(template: string, lineOffset: number, commentStyle): Annotation[]`
|
|
1845
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1449
1846
|
- `collectTemplateEmptyMessageRename(template: TmplAstTemplate, edits): void`
|
|
1450
1847
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1451
1848
|
- `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
1849
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1850
|
+
- `collectTypeScriptAnnotations(source: string, path: string): Annotation[]`
|
|
1851
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1852
|
+
- `componentTemplates(tree: Tree, path: string, source: string): TemplateSource[]`
|
|
1853
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1453
1854
|
- `ConsoleHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1454
1855
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1856
|
+
- `consumeLeadingWhitespace(source: string, start: number): number`
|
|
1857
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1455
1858
|
- `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
1859
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
1457
1860
|
- `createSelector(s1: Selector, projector): MemoizedSelector<State, Result, typeof projector>`
|
|
@@ -1464,6 +1867,32 @@ Properties:
|
|
|
1464
1867
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1465
1868
|
- `createSelectorFactory(memoize: MemoizeFn, options: SelectorFactoryConfig = { stateFn: defaultStateFn, })`
|
|
1466
1869
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1870
|
+
- `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.
|
|
1871
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
1872
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1873
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1874
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1875
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1876
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1877
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1878
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1879
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
1880
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1881
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1882
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1883
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
1884
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1885
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
1886
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1887
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
1888
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1889
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1890
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1891
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
1892
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1893
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
1894
|
+
- `deduplicateEdits(edits): Edit[]`
|
|
1895
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1467
1896
|
- `deduplicateEdits(edits): Edit[]`
|
|
1468
1897
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1469
1898
|
- `deduplicateEdits(edits): Edit[]`
|
|
@@ -1476,11 +1905,13 @@ Properties:
|
|
|
1476
1905
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1477
1906
|
- `defaultStateFn(state: any, selectors, props: any, memoizedProjector: MemoizedProjection): any`
|
|
1478
1907
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1908
|
+
- `detectAppAdapter(tree: Tree, files): AdapterKind | undefined`
|
|
1909
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1479
1910
|
- `detectEuiVersion(tree: Tree): string | null` — Auto-detects the eUI version from the installed
|
|
1480
1911
|
Defined in `packages/core/schematics/migrate/utils.ts`
|
|
1481
1912
|
- `detectIndent(source: string, pos: number): string`
|
|
1482
1913
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1483
|
-
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName
|
|
1914
|
+
- `euiLogServiceFactory(injector: Injector, rootBaseLoggerName: string, rootConfig: LogConfig, childBaseLoggerName = null, childConfig: LogConfig = {}): LogService`
|
|
1484
1915
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1485
1916
|
- `extractArgsFromSelectorsDictionary(selectorsDictionary: Record): unknown`
|
|
1486
1917
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
@@ -1514,10 +1945,14 @@ Properties:
|
|
|
1514
1945
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1515
1946
|
- `findLabelElement(nodes): TmplAstElement | null`
|
|
1516
1947
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1948
|
+
- `findOutputFormatUsages(template: string): OutputFormatUsage[]`
|
|
1949
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1517
1950
|
- `findSelectorsInTemplate(html: string, knownSelectors): Set<string>`
|
|
1518
1951
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1519
1952
|
- `fixNoMultipleEmptyLines(options: Schema = {}): Rule`
|
|
1520
1953
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
1954
|
+
- `forEachDatepicker(nodes, callback): void`
|
|
1955
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1521
1956
|
- `formatInnerLines(source: string, indent: string): string[]`
|
|
1522
1957
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1523
1958
|
- `getAttributeSpan(attr): { start: number; end: number }`
|
|
@@ -1554,7 +1989,9 @@ Properties:
|
|
|
1554
1989
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1555
1990
|
- `getInnerText(source: string, element: TmplAstElement): string`
|
|
1556
1991
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1557
|
-
- `
|
|
1992
|
+
- `getLineStartPosition(source: string, pos: number): number` — Returns the index of the first character of the line containing pos .
|
|
1993
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1994
|
+
- `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
|
|
1558
1995
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1559
1996
|
- `getModuleConfig(appConfig: EuiAppConfig, moduleName: string): ModuleConfig`
|
|
1560
1997
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
@@ -1572,8 +2009,12 @@ Properties:
|
|
|
1572
2009
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1573
2010
|
- `GrowlHttpErrorCallbackFn(error: HttpErrorResponse, injector: Injector): void`
|
|
1574
2011
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
2012
|
+
- `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)
|
|
2013
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1575
2014
|
- `hasAttribute(element: TmplAstElement, name: string): boolean`
|
|
1576
2015
|
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
2016
|
+
- `hasEclLink(element: TmplAstElement): boolean`
|
|
2017
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1577
2018
|
- `hasEuiButtonAttribute(element: TmplAstElement): boolean`
|
|
1578
2019
|
Defined in `packages/core/schematics/migrate-eui-button/index.ts`
|
|
1579
2020
|
- `hasEuiReference(source: string): boolean` — Quick check: does the file reference any EUI class name from the signal map?
|
|
@@ -1582,6 +2023,8 @@ Properties:
|
|
|
1582
2023
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1583
2024
|
- `hasModuleInArray(array, moduleName: string, source: string): boolean`
|
|
1584
2025
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2026
|
+
- `hasQuizCard(element: TmplAstElement): boolean`
|
|
2027
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1585
2028
|
- `hasStandaloneFalse(decorator): boolean`
|
|
1586
2029
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1587
2030
|
- `hasStringRefQuery(source: string): boolean` — Quick check: does the file have
|
|
@@ -1590,6 +2033,10 @@ Properties:
|
|
|
1590
2033
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1591
2034
|
- `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
2035
|
Defined in `packages/core/src/lib/helpers/injector.ts`
|
|
2036
|
+
- `injectVariantAttribute(element: TmplAstElement, source: string): Edit` — Injects variant="primary-highlight" immediately after the eclLink attribute.
|
|
2037
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2038
|
+
- `inlineTemplates(source: string): literal type[]`
|
|
2039
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1593
2040
|
- `isArgumentsChanged(args: IArguments, lastArguments: IArguments, comparator: ComparatorFn)`
|
|
1594
2041
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1595
2042
|
- `isAssignmentOperator(kind): boolean`
|
|
@@ -1602,6 +2049,32 @@ Properties:
|
|
|
1602
2049
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1603
2050
|
- `isChipListElement(element: TmplAstElement): boolean`
|
|
1604
2051
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2052
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2053
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2054
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2055
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2056
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2057
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2058
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2059
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2060
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2061
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2062
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2063
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2064
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2065
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2066
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2067
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2068
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2069
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2070
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2071
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2072
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2073
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2074
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2075
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2076
|
+
- `isComponentMetadataProperty(node): boolean`
|
|
2077
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1605
2078
|
- `isComponentMetadataProperty(node): boolean`
|
|
1606
2079
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1607
2080
|
- `isComponentMetadataProperty(node): boolean`
|
|
@@ -1630,12 +2103,42 @@ Properties:
|
|
|
1630
2103
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
1631
2104
|
- `isEuiElement(element: TmplAstElement): boolean`
|
|
1632
2105
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2106
|
+
- `isInsideAnyRange(edit: Edit, ranges): boolean` — True if edit 's position falls within any of the given ranges.
|
|
2107
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2108
|
+
- `isLikelyLuxonFormat(format: string): boolean`
|
|
2109
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1633
2110
|
- `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
2111
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1635
2112
|
- `isPartOfImport(node): boolean`
|
|
1636
2113
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
1637
2114
|
- `isSelectorsDictionary(selectors): Record<string | Selector<unknown, unknown>>`
|
|
1638
2115
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
2116
|
+
- `isTemplateProperty(node): boolean`
|
|
2117
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2118
|
+
- `isTemplateProperty(node): boolean`
|
|
2119
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2120
|
+
- `isTemplateProperty(node): boolean`
|
|
2121
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2122
|
+
- `isTemplateProperty(node): boolean`
|
|
2123
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2124
|
+
- `isTemplateProperty(node): boolean`
|
|
2125
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2126
|
+
- `isTemplateProperty(node): boolean`
|
|
2127
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2128
|
+
- `isTemplateProperty(node): boolean`
|
|
2129
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2130
|
+
- `isTemplateProperty(node): boolean`
|
|
2131
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2132
|
+
- `isTemplateProperty(node): boolean`
|
|
2133
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2134
|
+
- `isTemplateProperty(node): boolean`
|
|
2135
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2136
|
+
- `isTemplateProperty(node): boolean`
|
|
2137
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2138
|
+
- `isTemplateProperty(node): boolean`
|
|
2139
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2140
|
+
- `isTemplateProperty(node): boolean`
|
|
2141
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1639
2142
|
- `isTemplateProperty(node): boolean`
|
|
1640
2143
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1641
2144
|
- `isTemplateProperty(node): boolean`
|
|
@@ -1658,13 +2161,15 @@ Properties:
|
|
|
1658
2161
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1659
2162
|
- `isTemplateProperty(node): boolean`
|
|
1660
2163
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1661
|
-
- `
|
|
2164
|
+
- `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.
|
|
2165
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2166
|
+
- `loadEuiDynamicEnvironmentConfig(url: string, timeout?: number): Promise<EuiAppJsonConfig | null>` — Function to load asynchronously a dynamic configuration (from a local path or a web service)
|
|
1662
2167
|
Defined in `packages/core/src/lib/services/app/eui-pre-init-app.ts`
|
|
1663
2168
|
- `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
2169
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1665
2170
|
- `localStorageSync(reducer: ActionReducer): S` — Utility meta-reducer to load the state from the local storage
|
|
1666
2171
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1667
|
-
- `localStorageSync(reducer
|
|
2172
|
+
- `localStorageSync(reducer, platformId?): Function`
|
|
1668
2173
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1669
2174
|
- `logDryRun(context: SchematicContext, message: string): void`
|
|
1670
2175
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
@@ -1674,17 +2179,19 @@ Properties:
|
|
|
1674
2179
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1675
2180
|
- `logRemovalWarning(name: string, filePath: string, element: TmplAstElement, context: SchematicContext): void`
|
|
1676
2181
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1677
|
-
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector
|
|
2182
|
+
- `logServiceFactory(config: LogConfig = DEFAULT_LOG_CONFIG, injector = null): LogService` — Helper function to provide an instance of LogService from a configuration
|
|
1678
2183
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2184
|
+
- `luxonPresetEdits(source: string): TextEdit[]`
|
|
2185
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1679
2186
|
- `mapIconSuffix(icon: string): string | undefined`
|
|
1680
2187
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1681
2188
|
- `matchElement(element: TmplAstElement, matched): void`
|
|
1682
2189
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1683
2190
|
- `matchSelectorsInTemplate(html: string): SelectorEntry[]`
|
|
1684
2191
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1685
|
-
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler
|
|
2192
|
+
- `mergeAppHandlerConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppHandler): EuiAppConfig`
|
|
1686
2193
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1687
|
-
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig
|
|
2194
|
+
- `mergeAppJsonConfigToAppConfig(euiAppConfig: EuiAppConfig, envAppJsonConfig, merge: Array, isDeepMerge: boolean): EuiAppConfig`
|
|
1688
2195
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1689
2196
|
- `migrate(options: Schema): Rule`
|
|
1690
2197
|
Defined in `packages/core/schematics/migrate/index.ts`
|
|
@@ -1692,6 +2199,34 @@ Properties:
|
|
|
1692
2199
|
Defined in `packages/core/schematics/migrate-all/index.ts`
|
|
1693
2200
|
- `migrateChipListElement(element: TmplAstElement, source: string, edits): void`
|
|
1694
2201
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2202
|
+
- `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.
|
|
2203
|
+
Defined in `packages/core/schematics/migrate-ecl/index.ts`
|
|
2204
|
+
- `migrateEclBreadcrumb(options: Schema = {}): Rule`
|
|
2205
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2206
|
+
- `migrateEclFile(options: Schema = {}): Rule`
|
|
2207
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2208
|
+
- `migrateEclIcon(options: Schema = {}): Rule`
|
|
2209
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2210
|
+
- `migrateEclInpageNavigation(options: Schema = {}): Rule`
|
|
2211
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2212
|
+
- `migrateEclLink(options: Schema = {}): Rule`
|
|
2213
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2214
|
+
- `migrateEclPageHeader(options: Schema = {}): Rule`
|
|
2215
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2216
|
+
- `migrateEclPageSummary(options: Schema = {}): Rule`
|
|
2217
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2218
|
+
- `migrateEclPagination(options: Schema = {}): Rule`
|
|
2219
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2220
|
+
- `migrateEclQuiz(options: Schema = {}): Rule`
|
|
2221
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2222
|
+
- `migrateEclRemovedComponents(options: Schema = {}): Rule`
|
|
2223
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2224
|
+
- `migrateEclSiteFooter(options: Schema = {}): Rule`
|
|
2225
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2226
|
+
- `migrateEclTabs(options: Schema = {}): Rule`
|
|
2227
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2228
|
+
- `migrateEclTimeline(options: Schema = {}): Rule`
|
|
2229
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1695
2230
|
- `migrateEuiAccent(options: Schema = {}): Rule`
|
|
1696
2231
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1697
2232
|
- `migrateEuiAlert(options: Schema = {}): Rule`
|
|
@@ -1704,6 +2239,8 @@ Properties:
|
|
|
1704
2239
|
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1705
2240
|
- `migrateEuiChipList(options: Schema = {}): Rule`
|
|
1706
2241
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2242
|
+
- `migrateEuiDatepicker(options: Schema = {}): Rule` — Migrates eui-datepicker usages to the moment-free datepicker: moment locales are no longer bundled (report only); with a Luxon adapter, moment-token presets are replaced by their LUXON\_\* equivalents and static dateOutputFormat values are converted to Luxon tokens; with the native adapter, dateOutputFormat is no longer supported (report only). The adapter is detected from the component file, falling back to the one provided in app.config.ts / app.module.ts / main.ts.
|
|
2243
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1707
2244
|
- `migrateEuiDiscussionThread(options: Schema = {}): Rule`
|
|
1708
2245
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1709
2246
|
- `migrateEuiEditor(options: Schema = {}): Rule`
|
|
@@ -1758,6 +2295,30 @@ Properties:
|
|
|
1758
2295
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1759
2296
|
- `migrateInlineTemplates(source: string, filePath: string, context: SchematicContext): string`
|
|
1760
2297
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2298
|
+
- `migrateTemplate(source: string): string`
|
|
2299
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2300
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2301
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2302
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2303
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2304
|
+
- `migrateTemplate(source: string): string`
|
|
2305
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2306
|
+
- `migrateTemplate(source: string, filePath: string, context: SchematicContext): string`
|
|
2307
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2308
|
+
- `migrateTemplate(source: string): string`
|
|
2309
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2310
|
+
- `migrateTemplate(source: string): string`
|
|
2311
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2312
|
+
- `migrateTemplate(source: string): string`
|
|
2313
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2314
|
+
- `migrateTemplate(source: string): string`
|
|
2315
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2316
|
+
- `migrateTemplate(source: string): string`
|
|
2317
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2318
|
+
- `migrateTemplate(source: string): string`
|
|
2319
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2320
|
+
- `migrateTemplate(source: string): string`
|
|
2321
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1761
2322
|
- `migrateTemplate(source: string): string`
|
|
1762
2323
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1763
2324
|
- `migrateTemplate(source: string): string`
|
|
@@ -1792,10 +2353,34 @@ Properties:
|
|
|
1792
2353
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1793
2354
|
- `migrateTemplateWithPaginator(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1794
2355
|
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
|
|
2356
|
+
- `migrateToSignals(options: Schema = {}): Rule` — Migrates consumer code that accesses EUI or ECL component instances programmatically. When EUI/ECL migrated
|
|
1796
2357
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1797
2358
|
- `migrateToStandalone(options: Schema = {}): Rule`
|
|
1798
2359
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2360
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2361
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2362
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2363
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2364
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2365
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2366
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2367
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2368
|
+
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
2369
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2370
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2371
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2372
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2373
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2374
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2375
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2376
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2377
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2378
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2379
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2380
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2381
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2382
|
+
- `migrateTypeScript(source: string, filePath: string): string`
|
|
2383
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1799
2384
|
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): { output: string; hasPaginator: boolean }`
|
|
1800
2385
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1801
2386
|
- `migrateTypeScript(source: string, filePath: string, context: SchematicContext): string`
|
|
@@ -1804,6 +2389,8 @@ Properties:
|
|
|
1804
2389
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
1805
2390
|
- `migrateTypeScript(source: string, filePath: string, tree: Tree, context: SchematicContext): MigrateResult`
|
|
1806
2391
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2392
|
+
- `momentFormatToLuxon(format: string): string | null` — Converts a moment format to Luxon, or returns null when it contains tokens without a safe equivalent.
|
|
2393
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1807
2394
|
- `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
2395
|
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
1809
2396
|
- `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 +2399,22 @@ Properties:
|
|
|
1812
2399
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
1813
2400
|
- `provideEuiInitializer(): EnvironmentProviders` — Initializes the app with the necessary configurations. Use this in combination with provideAppInitializer(euiInitApp\_Env)
|
|
1814
2401
|
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2402
|
+
- `readBindingExpression(input: TmplAstBoundAttribute, source: string): string`
|
|
2403
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2404
|
+
- `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.
|
|
2405
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1815
2406
|
- `removalEdit(node, source: string): Edit`
|
|
1816
2407
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2408
|
+
- `removeAttribute(attr, source: string): Edit` — Removes a text or bound attribute including preceding whitespace.
|
|
2409
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2410
|
+
- `removeAttribute(attr: TmplAstTextAttribute, source: string): Edit` — Removes a plain text attribute including the preceding whitespace.
|
|
2411
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2412
|
+
- `removeAttribute(attr, source: string): Edit` — Removes a text or bound attribute including preceding whitespace.
|
|
2413
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1817
2414
|
- `removeAttribute(start: number, end: number, source: string, edits): void`
|
|
1818
2415
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2416
|
+
- `removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit` — Removes a bound attribute \[name\]="..." including the preceding whitespace.
|
|
2417
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1819
2418
|
- `removeElementRanges(source: string, parent: TmplAstElement, elements): string`
|
|
1820
2419
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1821
2420
|
- `removeFromEsImports(source: string, filePath: string, symbolsToRemove): string`
|
|
@@ -1824,6 +2423,8 @@ Properties:
|
|
|
1824
2423
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1825
2424
|
- `removeImportSpecifier(namedImports, specifier, sourceFile, edits): void`
|
|
1826
2425
|
Defined in `packages/core/schematics/migrate-eui-tooltip/index.ts`
|
|
2426
|
+
- `renameKey(keySpan, newName: string): Edit` — Rewrites just the attribute/binding name (keySpan), preserving value and brackets.
|
|
2427
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
1827
2428
|
- `renameTsProperties(source: string): string`
|
|
1828
2429
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1829
2430
|
- `renameTsPropertyAccesses(source: string): string`
|
|
@@ -1840,7 +2441,7 @@ Properties:
|
|
|
1840
2441
|
Defined in `packages/core/schematics/migrate/replacements/breaking-changes.ts`
|
|
1841
2442
|
- `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
2443
|
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.
|
|
2444
|
+
- `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
2445
|
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
1845
2446
|
- `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
2447
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
@@ -1850,6 +2451,10 @@ Properties:
|
|
|
1850
2451
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1851
2452
|
- `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
2453
|
Defined in `packages/core/schematics/migrate/replacements/mwp.ts`
|
|
2454
|
+
- `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.
|
|
2455
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2456
|
+
- `reportMomentLocales(tree: Tree, context: SchematicContext, files): void`
|
|
2457
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1853
2458
|
- `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
2459
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1855
2460
|
- `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.
|
|
@@ -1858,18 +2463,56 @@ Properties:
|
|
|
1858
2463
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
1859
2464
|
- `resolveImports(matched, useClassArray: boolean): ImportToAdd[]`
|
|
1860
2465
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2466
|
+
- `resolvePath(fromFile: string, relative: string): string`
|
|
2467
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1861
2468
|
- `resolveRefName(expr): string | null` — Resolves a reference name from an expression. Handles: ref , this.ref , this.\_ref
|
|
1862
2469
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2470
|
+
- `sanitize(message: string): string`
|
|
2471
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
1863
2472
|
- `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
2473
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1865
2474
|
- `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
2475
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
1867
|
-
- `sessionStorageSync(reducer
|
|
2476
|
+
- `sessionStorageSync(reducer, platformId?): Function`
|
|
1868
2477
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2478
|
+
- `setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit` — Replaces the value of a text attribute name="old" with a new value.
|
|
2479
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2480
|
+
- `setTextAttributeValue(attr: TmplAstTextAttribute, newValue: string): Edit` — Replaces the value of a text attribute iconSet="old" with a new value.
|
|
2481
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2482
|
+
- `templateUsesDatepicker(source: string): boolean`
|
|
2483
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1869
2484
|
- `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
2485
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
2486
|
+
- `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).
|
|
2487
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1871
2488
|
- `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
2489
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2490
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2491
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2492
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2493
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2494
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2495
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2496
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2497
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2498
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2499
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2500
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2501
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2502
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2503
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2504
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2505
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2506
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2507
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2508
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2509
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2510
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2511
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2512
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2513
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2514
|
+
- `unwrapExpression(expression): ts.Expression`
|
|
2515
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1873
2516
|
- `unwrapExpression(expression): ts.Expression`
|
|
1874
2517
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1875
2518
|
- `unwrapExpression(expression): ts.Expression`
|
|
@@ -1904,6 +2547,32 @@ Properties:
|
|
|
1904
2547
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
1905
2548
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1906
2549
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
2550
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2551
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2552
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2553
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2554
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2555
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2556
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2557
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2558
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2559
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2560
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2561
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2562
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2563
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2564
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2565
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2566
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2567
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2568
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2569
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2570
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2571
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2572
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2573
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2574
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2575
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1907
2576
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1908
2577
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1909
2578
|
- `visitDir(dir: DirEntry, callback): void`
|
|
@@ -1916,6 +2585,8 @@ Properties:
|
|
|
1916
2585
|
Defined in `packages/core/schematics/migrate-eui-chip/index.ts`
|
|
1917
2586
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1918
2587
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2588
|
+
- `visitDir(dir: DirEntry, callback): void`
|
|
2589
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
1919
2590
|
- `visitDir(dir: DirEntry, callback): void`
|
|
1920
2591
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
1921
2592
|
- `visitDir(dir: DirEntry, callback): void`
|
|
@@ -1944,6 +2615,30 @@ Properties:
|
|
|
1944
2615
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
1945
2616
|
- `visitExpressionForPipes(expr: AST, edits): void`
|
|
1946
2617
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2618
|
+
- `visitNodes(nodes, edits): void`
|
|
2619
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2620
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2621
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2622
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2623
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2624
|
+
- `visitNodes(nodes, edits): void`
|
|
2625
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2626
|
+
- `visitNodes(nodes, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
2627
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2628
|
+
- `visitNodes(nodes, edits): void`
|
|
2629
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2630
|
+
- `visitNodes(nodes, edits): void`
|
|
2631
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2632
|
+
- `visitNodes(nodes, edits): void`
|
|
2633
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2634
|
+
- `visitNodes(nodes, source: string, edits): void`
|
|
2635
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2636
|
+
- `visitNodes(nodes, edits): void`
|
|
2637
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2638
|
+
- `visitNodes(nodes, edits): void`
|
|
2639
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2640
|
+
- `visitNodes(nodes, edits): void`
|
|
2641
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
1947
2642
|
- `visitNodes(nodes, edits): void`
|
|
1948
2643
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
1949
2644
|
- `visitNodes(nodes, removals): void`
|
|
@@ -1976,6 +2671,10 @@ Properties:
|
|
|
1976
2671
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1977
2672
|
- `visitTemplateNodes(nodes, matched): void`
|
|
1978
2673
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2674
|
+
- `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
|
|
2675
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2676
|
+
- `warn(context: SchematicContext, filePath: string, element: TmplAstElement, message: string): void`
|
|
2677
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
1979
2678
|
- `warnPropertyAccesses(path: string, source: string, context: SchematicContext): void`
|
|
1980
2679
|
Defined in `packages/core/schematics/migrate-eui-editor/index.ts`
|
|
1981
2680
|
- `warnRemovedProperties(sourceFile, filePath: string, context: SchematicContext): void`
|
|
@@ -1988,6 +2687,7 @@ Properties:
|
|
|
1988
2687
|
## Public type aliases
|
|
1989
2688
|
|
|
1990
2689
|
- `type ActionReducerMap = unknown`
|
|
2690
|
+
- `type AdapterKind = "moment" | "luxon" | "native"`
|
|
1991
2691
|
- `type AnyFn = function`
|
|
1992
2692
|
- `type ComparatorFn = function`
|
|
1993
2693
|
- `type CoreAppActions = InitStoreAction | UpdateAppVersionAction | UpdateAppConnectionAction | AddAppLoadedConfigModulesAction | UpdateAppStatusAction | UpdateCurrentModuleAction | Act…` (deprecated: it will be removed in the next major version)
|
|
@@ -2065,10 +2765,28 @@ Properties:
|
|
|
2065
2765
|
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2066
2766
|
- `actionToReducerMap: { } = { [CoreUserActionTypes.UPDATE_USER_DETAILS]: updateUserDetails, [CoreUserActionTypes.UPDATE_USER_PREFERENCES]: updateUserPreferences, [CoreUserActionTypes.UPDAT…`
|
|
2067
2767
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2768
|
+
- `ADAPTER_PATTERNS: Record<AdapterKind, RegExp> = { moment: /\bprovideMomentDateAdapter\s*\(|\bMomentDateAdapter\b|\bMatMomentDateModule\b/, luxon: /\bprovideLuxonDateAdapter\s*\(|\bLuxonDateAdapter\b|\bMatLuxo…`
|
|
2769
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2068
2770
|
- `addApiQueueItem: unknown = (state: AppState, action: AddApiQueueItemAction): AppState => { // apply the timestamp to the queue item const apiQueueItem = Object.assign({}, action.payload.i…`
|
|
2069
2771
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2070
|
-
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName
|
|
2772
|
+
- `AddAppLoadedConfigModules: unknown = (state: CoreState, action: { moduleName: string; moduleConfig: Record<string, unknown> }): CoreState => ({ ...state, app: { ...state.app, loadedConfigModules: {…`
|
|
2071
2773
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2774
|
+
- `APP_ROOT_FILE: unknown = /(^|\/)(app\.config|app\.module|main)\.ts$/`
|
|
2775
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2776
|
+
- `ATTRIBUTE: string = 'eclBreadcrumb'`
|
|
2777
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2778
|
+
- `ATTRIBUTE: string = 'eclInpageNavigationItem'`
|
|
2779
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
2780
|
+
- `ATTRIBUTE: string = 'eclPageHeader'`
|
|
2781
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
2782
|
+
- `ATTRIBUTE: string = 'eclPageSummary'`
|
|
2783
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
2784
|
+
- `ATTRIBUTE: string = 'eclPaginationItem'`
|
|
2785
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
2786
|
+
- `ATTRIBUTE: string = 'eclSiteFooter'`
|
|
2787
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
2788
|
+
- `ATTRIBUTE: string = 'eclTab'`
|
|
2789
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2072
2790
|
- `BASE_LOGGER_NAME_TOKEN: unknown = new InjectionToken<string>('BASE_LOGGER_NAME')`
|
|
2073
2791
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2074
2792
|
- `BASE_NAME_TOKEN: unknown = new InjectionToken<string>('baseName')`
|
|
@@ -2083,7 +2801,7 @@ Properties:
|
|
|
2083
2801
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2084
2802
|
- `CHIP_TAG: string = 'eui-chip'`
|
|
2085
2803
|
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.
|
|
2804
|
+
- `closestMatchingParent: unknown = (target: HTMLElement, className: string): HTMLElement | null => { let element: HTMLElement | null = target; while (element && element.nodeType === Node.ELEMENT_…`
|
|
2087
2805
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2088
2806
|
- `COMPONENT_TAG: string = 'eui-discussion-thread'`
|
|
2089
2807
|
Defined in `packages/core/schematics/migrate-eui-discussion-thread/index.ts`
|
|
@@ -2101,19 +2819,19 @@ Properties:
|
|
|
2101
2819
|
Defined in `packages/core/src/lib/helpers/event-helpers.ts`
|
|
2102
2820
|
- `CORE_ROOT_GUARD: unknown = new InjectionToken<void>('Internal Theme ForRoot Guard')`
|
|
2103
2821
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2104
|
-
- `coreAppReducers: AppState = (state = initialAppState, action:
|
|
2822
|
+
- `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
2823
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2106
|
-
- `coreLocaleReducers: LocaleState = ( state = initialLocaleState, action:
|
|
2824
|
+
- `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
2825
|
Defined in `packages/core/src/lib/services/store/reducers/locale.reducers.ts`
|
|
2108
|
-
- `coreNotificationsReducers: NotificationsState = ( state = initialNotificationsState, action:
|
|
2826
|
+
- `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
2827
|
Defined in `packages/core/src/lib/services/store/reducers/notifications.reducers.ts`
|
|
2110
2828
|
- `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
2829
|
Defined in `packages/core/src/lib/services/store/reducers/core.reducers.ts`
|
|
2112
|
-
- `coreUserReducers: UserState = (state = initialUserState, action:
|
|
2830
|
+
- `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
2831
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2114
|
-
- `corI18nReducers: I18nState = (state = initialI18nState, action:
|
|
2832
|
+
- `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
2833
|
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.'); }
|
|
2834
|
+
- `createEuiCoreRootGuard: unknown = (core: unknown): string => { if (core) { throw new TypeError('CoreModule.forRoot() called twice. Feature modules should use ThemeModule.forChild() instead.'); }…`
|
|
2117
2835
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2118
2836
|
- `CYAN: string = '\x1b[36m'`
|
|
2119
2837
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
@@ -2145,6 +2863,12 @@ Properties:
|
|
|
2145
2863
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2146
2864
|
- `DYNAMIC_COMPONENT_CONFIG: unknown = new InjectionToken<object>('DYNAMIC_COMPONENT_CONFIG')`
|
|
2147
2865
|
Defined in `packages/core/src/lib/services/dynamic-component/dynamic-component.service.ts`
|
|
2866
|
+
- `ECL_LINK_ATTR: string = 'eclLink'`
|
|
2867
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2868
|
+
- `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
|
|
2869
|
+
Defined in `packages/core/schematics/migrate-to-signals/ecl-signal-map.ts`
|
|
2870
|
+
- `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.
|
|
2871
|
+
Defined in `packages/core/schematics/migrate-to-signals/ecl-signal-map.ts`
|
|
2148
2872
|
- `emptyApiQueue: unknown = (state: AppState, action: EmptyApiQueueAction): AppState => // remove all items in the Api Queue Object.assign({}, state, { apiQueue: {} })`
|
|
2149
2873
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
2150
2874
|
- `errorCodes: object = { ERR_GENERIC: 'ERR_GENERIC', }`
|
|
@@ -2157,37 +2881,59 @@ Properties:
|
|
|
2157
2881
|
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2158
2882
|
- `EUI_DIRECTIVES: [] = ['euiButton', 'euiList', 'euiListItem']`
|
|
2159
2883
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2884
|
+
- `EUI_ERROR_MAPPING_HANDLER_TOKEN: unknown = new InjectionToken<ErrorMappingHandler>('EUI_ERROR_MAPPING_HANDLER')`
|
|
2885
|
+
Defined in `packages/core/src/lib/interceptors/request-error.interceptor.ts`
|
|
2886
|
+
- `EUI_SELECTOR_TO_CLASS: Record<string, string> = { ...EUI_SELECTOR_TO_CLASS_RAW, ...ECL_SELECTOR_TO_CLASS }`
|
|
2887
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2160
2888
|
- `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
2889
|
Defined in `packages/core/schematics/migrate-to-signals/signal-map.ts`
|
|
2890
|
+
- `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.
|
|
2891
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2162
2892
|
- `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
2893
|
Defined in `packages/core/schematics/migrate-to-signals/signal-map.ts`
|
|
2164
2894
|
- `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
2895
|
Defined in `packages/core/src/lib/services/eui-timezone.service.ts`
|
|
2166
2896
|
- `euiCoreRootGuardClass: unknown = (): EuiCoreRootGuardClass => new EuiCoreRootGuardClass()`
|
|
2167
2897
|
Defined in `packages/core/src/lib/eui-core.module.ts`
|
|
2168
|
-
- `
|
|
2898
|
+
- `FILE_ITEM_TAG: string = 'ecl-file-item'`
|
|
2899
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2900
|
+
- `FILE_REMOVED: unknown = new Set(['meta', 'metaId'])`
|
|
2901
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2902
|
+
- `FILE_RENAME_FROM: string = 'detailMeta'`
|
|
2903
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2904
|
+
- `FILE_RENAME_TO: string = 'primaryMeta'`
|
|
2905
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2906
|
+
- `FILE_TAG: string = 'ecl-file'`
|
|
2907
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2908
|
+
- `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
2909
|
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
|
|
2910
|
+
- `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
2911
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2172
|
-
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app
|
|
2912
|
+
- `getLastAddedModule: Selector<CoreState, string> = (state: CoreState) => state.app?.loadedConfigModules?.lastAddedModule as string`
|
|
2173
2913
|
Defined in `packages/core/src/lib/services/i18n/i18n.service.ts`
|
|
2174
2914
|
- `getStyle: unknown = (nativeEl: Element, cssProp: keyof CSSStyleDeclaration): string => { /* istanbul ignore if */ if (getComputedStyle(nativeEl)) { return getComputedStyle(nativeEl…`
|
|
2175
2915
|
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
|
|
2916
|
+
- `getViewElement: unknown = <F>(fixture: ComponentFixture<F>, componentClass: string, klass?: string): {de: DebugElement, el: HTMLElement, domElement: HTMLElement} => { let el!: HTMLElemen…`
|
|
2177
2917
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2178
2918
|
- `GLOBAL_CONFIG_TOKEN: unknown = new InjectionToken<GlobalConfig>('globalConfig')`
|
|
2179
2919
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2180
2920
|
- ``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
2921
|
Defined in `packages/core/src/lib/helpers/http-helpers.ts`
|
|
2922
|
+
- `HIGHLIGHT_VARIANT: string = 'primary-highlight'`
|
|
2923
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2182
2924
|
- `HTTP_ERROR_HANDLER_CONFIG_TOKEN: unknown = new InjectionToken<HttpErrorHandlerConfig>('HTTP_ERROR_HANDLER_CONFIG')`
|
|
2183
2925
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2184
2926
|
- `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
2927
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2186
2928
|
- `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
2929
|
Defined in `packages/core/schematics/migrate/replacements/icons.ts`
|
|
2930
|
+
- `ICON_SET: string = 'iconSet'`
|
|
2931
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2932
|
+
- `ICON_TAG: string = 'ecl-icon'`
|
|
2933
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2188
2934
|
- `iconLookup: unknown = new Map<string, string>()` — Build a lookup map for O(1) icon replacement
|
|
2189
2935
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
2190
|
-
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(
|
|
2936
|
+
- `init: unknown = (): Promise<unknown> => { const locationInitialized = inject(LOCATION_INITIALIZED, { optional: true }) || Promise.resolve(); const appConfig: EuiAppConfig = inj…`
|
|
2191
2937
|
Defined in `packages/core/src/lib/services/app/eui-init-app.ts`
|
|
2192
2938
|
- `initialState: UIState = { appName: '', appShortName: '', appSubTitle: '', appBaseFontSize: '', isSidebarOpen: true, isSidebarActive: false, hasSidebar: false, hasSideContainer: false, …`
|
|
2193
2939
|
Defined in `packages/core/src/lib/services/eui-app-shell.service.ts`
|
|
@@ -2197,13 +2943,25 @@ Properties:
|
|
|
2197
2943
|
Defined in `packages/core/schematics/migrate-eui-icon-svg/index.ts`
|
|
2198
2944
|
- `INPUT_RENAMES: unknown = new Map([ ['iconLabelClass', 'icon'], ['iconLabelStyleClass', 'fillColor'], ])`
|
|
2199
2945
|
Defined in `packages/core/schematics/migrate-eui-progress-circle/index.ts`
|
|
2946
|
+
- `IS_HIGHLIGHT: string = 'isHighlight'`
|
|
2947
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2948
|
+
- `IS_NO_VISITED: string = 'isNoVisited'`
|
|
2949
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2200
2950
|
- `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
2951
|
Defined in `packages/core/src/lib/helpers/utils.ts`
|
|
2202
2952
|
- `isStaticPositioned: unknown = (nativeEl: Element): boolean => (getStyle(nativeEl, 'position') || 'static') === 'static'` — Checks if a given element is statically positioned
|
|
2203
2953
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2954
|
+
- `ITEM_REMOVED: unknown = new Set(['isDescription'])`
|
|
2955
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2956
|
+
- `ITEM_RENAME_FROM: string = 'label'`
|
|
2957
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2958
|
+
- `ITEM_RENAME_TO: string = 'eclTitle'`
|
|
2959
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
2204
2960
|
- `LANG_PARAM_KEY: string = 'X-Lang-Param'`
|
|
2205
2961
|
Defined in `packages/core/src/lib/interceptors/add-lang-param.interceptor.ts`
|
|
2206
|
-
- `
|
|
2962
|
+
- `LEGACY_VALUE: string = 'social'`
|
|
2963
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2964
|
+
- `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
2965
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2208
2966
|
- `LOCAL_FORAGE_SERVICE_CONFIG_TOKEN: unknown = new InjectionToken<any>('LOCAL_FORAGE_SERVICE_CONFIG')`
|
|
2209
2967
|
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
@@ -2213,17 +2971,17 @@ Properties:
|
|
|
2213
2971
|
Defined in `packages/core/src/lib/services/storage/local-forage.service.ts`
|
|
2214
2972
|
- `LOG_APPENDERS_TOKEN: unknown = new InjectionToken<LogAppender[]>('LOG_APPENDERS')`
|
|
2215
2973
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2216
|
-
- `LOG_INSTANCES:
|
|
2974
|
+
- `LOG_INSTANCES: Record<string, LogService> = {}`
|
|
2217
2975
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2218
2976
|
- `LOG_LEVEL_TOKEN: unknown = new InjectionToken<LogLevel>('LOG_LEVEL')`
|
|
2219
2977
|
Defined in `packages/core/src/lib/services/log/log.service.ts`
|
|
2220
2978
|
- `LOG_MODULE_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('LOG_CONFIG')`
|
|
2221
2979
|
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
|
|
2980
|
+
- `markControlsTouched: unknown = (group: FormGroup | FormArray): void => { Object.keys(group.controls).forEach((key: string) => { const abstractControl = (group.controls as Record<string, Abstr…`
|
|
2223
2981
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2224
|
-
- `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object, iteratee
|
|
2982
|
+
- `markFormGroupTouched: unknown = (FormControls: { [key: string]: AbstractControl } | AbstractControl[]): void => { const forOwn = (object: unknown, iteratee: (value: AbstractControl, key: strin…`
|
|
2225
2983
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
2226
|
-
- `messages:
|
|
2984
|
+
- `messages: Record<string, string | unknown> = { ERR_GENERIC: 'An error occured', }`
|
|
2227
2985
|
Defined in `packages/core/src/lib/services/errors/eui.error.ts`
|
|
2228
2986
|
- `MODULE_CONFIG_TOKEN: unknown = new InjectionToken<ModuleConfig>('moduleConfig')`
|
|
2229
2987
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
@@ -2231,8 +2989,14 @@ Properties:
|
|
|
2231
2989
|
Defined in `packages/core/schematics/migrate-to-standalone/index.ts`
|
|
2232
2990
|
- `MODULE_NAME_TOKEN: unknown = new InjectionToken<string>('moduleName')`
|
|
2233
2991
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2992
|
+
- `MOMENT_PRESETS: [] = ['DEFAULT_FORMATS', 'LETTER_FORMAT', 'YEAR_FORMAT', 'MONTH_YEAR_FORMAT']`
|
|
2993
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2994
|
+
- `MOMENT_TO_LUXON_TOKENS: Record<string, string> = { YYYY: 'yyyy', YY: 'yy', MMMM: 'MMMM', MMM: 'MMM', MM: 'MM', M: 'M', DD: 'dd', D: 'd', HH: 'HH', H: 'H', hh: 'hh', h: 'h', mm: 'mm', m: 'm', ss: 'ss', s: 's', …`
|
|
2995
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2234
2996
|
- `MULTIPLE_EMPTY_LINES: unknown = /\n{3,}/g`
|
|
2235
2997
|
Defined in `packages/core/schematics/fix-no-multiple-empty-lines/index.ts`
|
|
2998
|
+
- `NESTED_NODE_KEYS: [] = ['children', 'branches', 'cases', 'empty', 'placeholder', 'loading', 'error']`
|
|
2999
|
+
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2236
3000
|
- `NEW_BODY: string = 'eui-tab-body'`
|
|
2237
3001
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
2238
3002
|
- `NEW_COMPONENT: string = 'EuiToolbarMegaMenuComponent'`
|
|
@@ -2263,6 +3027,20 @@ Properties:
|
|
|
2263
3027
|
Defined in `packages/core/schematics/migrate-eui-icon-toggle/index.ts`
|
|
2264
3028
|
- `NEW_PIPE: string = 'euiTableHighlight'`
|
|
2265
3029
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3030
|
+
- `NEW_TAG: string = 'nav'`
|
|
3031
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
3032
|
+
- `NEW_TAG: string = 'li'`
|
|
3033
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
3034
|
+
- `NEW_TAG: string = 'div'`
|
|
3035
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
3036
|
+
- `NEW_TAG: string = 'section'`
|
|
3037
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
3038
|
+
- `NEW_TAG: string = 'li'`
|
|
3039
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
3040
|
+
- `NEW_TAG: string = 'footer'`
|
|
3041
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
3042
|
+
- `NEW_TAG: string = 'div'`
|
|
3043
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2266
3044
|
- `NEW_TAG: string = 'eui-toolbar-mega-menu'`
|
|
2267
3045
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2268
3046
|
- `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 +3069,31 @@ Properties:
|
|
|
2291
3069
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2292
3070
|
- `OLD_SUB_LABEL: string = 'euiTabSubLabel'`
|
|
2293
3071
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
3072
|
+
- `OLD_TAG: string = 'ecl-breadcrumb'`
|
|
3073
|
+
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
3074
|
+
- `OLD_TAG: string = 'ecl-inpage-navigation-item'`
|
|
3075
|
+
Defined in `packages/core/schematics/migrate-ecl-inpage-navigation/index.ts`
|
|
3076
|
+
- `OLD_TAG: string = 'ecl-page-header'`
|
|
3077
|
+
Defined in `packages/core/schematics/migrate-ecl-page-header/index.ts`
|
|
3078
|
+
- `OLD_TAG: string = 'ecl-page-summary'`
|
|
3079
|
+
Defined in `packages/core/schematics/migrate-ecl-page-summary/index.ts`
|
|
3080
|
+
- `OLD_TAG: string = 'ecl-pagination-item'`
|
|
3081
|
+
Defined in `packages/core/schematics/migrate-ecl-pagination/index.ts`
|
|
3082
|
+
- `OLD_TAG: string = 'ecl-site-footer'`
|
|
3083
|
+
Defined in `packages/core/schematics/migrate-ecl-site-footer/index.ts`
|
|
3084
|
+
- `OLD_TAG: string = 'ecl-tab'`
|
|
3085
|
+
Defined in `packages/core/schematics/migrate-ecl-tabs/index.ts`
|
|
2294
3086
|
- `OLD_TAG: string = 'eui-toolbar-menu'`
|
|
2295
3087
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
3088
|
+
- `OLD_TAGS: unknown = SELECTOR_MAPPINGS.map((m) => m.oldTag)`
|
|
3089
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2296
3090
|
- `OUTPUT_RENAMES: unknown = new Map([['selectedRows', 'rowsSelect']])`
|
|
2297
3091
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2298
3092
|
- `PAGINATOR_COMPONENT: string = 'EuiPaginatorComponent'`
|
|
2299
3093
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2300
3094
|
- `PAGINATOR_IMPORT_PATH: string = '@eui/components/eui-paginator'`
|
|
2301
3095
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2302
|
-
- `parentOffsetEl: unknown = (nativeEl: HTMLElement): Element | Document => { let offsetParent = nativeEl.offsetParent || document; while (offsetParent &&
|
|
3096
|
+
- `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
3097
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2304
3098
|
- `PLATFORM_BROWSER_ID: string = 'browser'`
|
|
2305
3099
|
Defined in `packages/core/src/lib/services/store/store.service.mock.ts`
|
|
@@ -2307,8 +3101,16 @@ Properties:
|
|
|
2307
3101
|
Defined in `packages/core/src/lib/helpers/dom-helpers.ts`
|
|
2308
3102
|
- `PROPAGATED_INPUTS: unknown = new Set([ 'euiPrimary', 'euiSecondary', 'euiSuccess', 'euiInfo', 'euiWarning', 'euiDanger', 'euiAccent', 'euiVariant', 'euiSizeS', 'euiSizeVariant', 'euiOutline…`
|
|
2309
3103
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3104
|
+
- `QUIZ_CARD_ATTR: string = 'eclQuizCard'`
|
|
3105
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2310
3106
|
- `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
3107
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
3108
|
+
- `REMOVED_ATTRS: readonly RemovedAttr[] = [ { attr: 'eclDatePicker', onTag: 'input', message: 'EclDatePickerDirective (input[eclDatePicker]) was removed in v22. Use EclDatePickerDuetDirective on a <duet…`
|
|
3109
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3110
|
+
- `REMOVED_IDENTIFIERS: readonly RemovedIdentifier[] = [ { name: 'EclDatePickerDirective', message: 'EclDatePickerDirective was removed in v22. Use EclDatePickerDuetDirective (selector "duet-date-picker[eclDatePicke…`
|
|
3111
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3112
|
+
- `REMOVED_INPUT: string = 'category'`
|
|
3113
|
+
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
2312
3114
|
- `REMOVED_INPUTS: unknown = new Set(['alertIconType', 'alertIconFillColor', 'isMuted', 'isBordered'])`
|
|
2313
3115
|
Defined in `packages/core/schematics/migrate-eui-alert/index.ts`
|
|
2314
3116
|
- `REMOVED_INPUTS: unknown = new Set(['isFlat'])`
|
|
@@ -2325,6 +3127,10 @@ Properties:
|
|
|
2325
3127
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
2326
3128
|
- `REMOVED_OUTPUTS: unknown = new Set(['multiSortChange'])`
|
|
2327
3129
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3130
|
+
- `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…`
|
|
3131
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3132
|
+
- `REPLACEMENT_VALUE: string = 'social-media'`
|
|
3133
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2328
3134
|
- `RESET: string = '\x1b[0m'`
|
|
2329
3135
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|
|
2330
3136
|
- `ROOT_LOG_CONFIG_TOKEN: unknown = new InjectionToken<LogConfig>('logConfig')`
|
|
@@ -2333,22 +3139,34 @@ Properties:
|
|
|
2333
3139
|
Defined in `packages/core/src/lib/helpers/format-helpers.ts`
|
|
2334
3140
|
- `SELECTOR_MAP: SelectorEntry[] = buildSelectorMap()` — All known EUI selectors with their import metadata
|
|
2335
3141
|
Defined in `packages/core/schematics/add-eui-imports/selector-map.ts`
|
|
3142
|
+
- `SELECTOR_MAPPINGS: readonly SelectorMapping[] = [ { oldTag: 'ecl-timeline', newTag: 'ol', attribute: 'eclTimeline' }, { oldTag: 'ecl-timeline-item', newTag: 'li', attribute: 'eclTimelineItem' }, { oldTag: 'ec…`
|
|
3143
|
+
Defined in `packages/core/schematics/migrate-ecl-timeline/index.ts`
|
|
2336
3144
|
- `SHOW_CONNECTION_STATUS_TOKEN: unknown = new InjectionToken<boolean>('SHOW_CONNECTION_STATUS')`
|
|
2337
3145
|
Defined in `packages/core/src/lib/services/config/tokens.ts`
|
|
2338
3146
|
- `SUFFIX_MAP: unknown[] = [ [':sharp', ':ion-filled'], [':outline', ':ion-outline'], ]` — Suffix-based mapping: :sharp -\> :ion-filled, :outline -\> :ion-outline
|
|
2339
3147
|
Defined in `packages/core/schematics/icon-migrate/index.ts`
|
|
3148
|
+
- `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.
|
|
3149
|
+
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
2340
3150
|
- `TABLE_INPUT_RENAMES: unknown = new Map([ ['rows', 'data'], ['loading', 'isLoading'], ['asyncTable', 'isAsync'], ['euiTableResponsive', 'isTableResponsive'], ['euiTableFixedLayout', 'isTableFi…`
|
|
2341
3151
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2342
3152
|
- `testBed: unknown = getTestBed()`
|
|
2343
3153
|
Defined in `packages/core/test-setup.ts`
|
|
2344
3154
|
- `TH_TD_INPUT_RENAMES: unknown = new Map([ ['isStickyColumn', 'isStickyCol'], ['sortable', 'isSortable'], ])`
|
|
2345
3155
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3156
|
+
- `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'`
|
|
3157
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3158
|
+
- `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.
|
|
3159
|
+
Defined in `packages/core/schematics/utils/todo-comment.ts`
|
|
2346
3160
|
- `TR_INPUT_RENAMES: unknown = new Map([ ['isSelectableHeader', 'isHeaderSelectable'], ['isSelectable', 'isDataSelectable'], ])`
|
|
2347
3161
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
2348
3162
|
- `translateConfig: object = { loader: provideTranslateLoader(I18nLoader), }`
|
|
2349
3163
|
Defined in `packages/core/src/lib/services/i18n/i18n.loader.ts`
|
|
2350
3164
|
- `TRANSLATED_STRING: string = 'i18n'`
|
|
2351
3165
|
Defined in `packages/core/src/lib/mocks/translate.module.mock.ts`
|
|
3166
|
+
- `TRIGGER_TOKENS: [] = [FILE_RENAME_FROM, ITEM_RENAME_FROM, 'meta', 'metaId', 'isDescription']`
|
|
3167
|
+
Defined in `packages/core/schematics/migrate-ecl-file/index.ts`
|
|
3168
|
+
- `TRIGGER_TOKENS: [] = [ ...REMOVED_TAGS.map((t) => t.tag), ...REMOVED_ATTRS.map((a) => a.attr), ...REMOVED_IDENTIFIERS.map((i) => i.name), ]`
|
|
3169
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2352
3170
|
- `TRUNCATE_PIPE_IMPORT: string = 'EuiTruncatePipe'`
|
|
2353
3171
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2354
3172
|
- `TRUNCATE_PIPE_PATH: string = '@eui/components/pipes'`
|
|
@@ -2383,11 +3201,13 @@ Properties:
|
|
|
2383
3201
|
Defined in `packages/core/src/lib/services/store/reducers/user.reducers.ts`
|
|
2384
3202
|
- `updateUserRights: unknown = (state: UserState, action: UpdateUserRightsAction): UserState => Object.assign({}, state, { rights: [...action.payload] })`
|
|
2385
3203
|
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@…`
|
|
3204
|
+
- `validateEmail: unknown = (c: FormControl): { validateEmail: { valid: boolean } } | null => { const EMAIL_REGEXP = // eslint-disable-next-line max-len, no-useless-escape /^(([^<>()\[\]\\…`
|
|
2389
3205
|
Defined in `packages/core/src/lib/helpers/form-helpers.ts`
|
|
3206
|
+
- `VARIANT: string = 'variant'`
|
|
3207
|
+
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
2390
3208
|
- `WARN_PROPERTIES: unknown = new Set([...PROPAGATED_INPUTS, 'chipRemove', 'isChipsRemovable', 'chipsLabelTruncateCount', 'maxVisibleChipsCount', 'isMaxVisibleChipsOpened', 'toggleLinkMoreLa…`
|
|
2391
3209
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3210
|
+
- `WRITE_TODO_MARKER: string = 'TODO(eui-signals):'` — Marker used to detect an already-inserted TODO so the schematic stays idempotent.
|
|
3211
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2392
3212
|
- `YELLOW: string = '\x1b[33m'`
|
|
2393
3213
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|