@eui/core 22.0.0-alpha.65 → 22.0.0-alpha.67
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 +29 -0
- package/docs/changelog.html +20 -0
- package/docs/interfaces/Annotation.html +402 -0
- package/docs/interfaces/MigrateEclSchema.html +0 -45
- package/docs/interfaces/MigrateResult.html +39 -0
- package/docs/interfaces/RemovedAttr.html +0 -13
- package/docs/interfaces/RemovedIdentifier.html +0 -7
- package/docs/interfaces/RemovedTag.html +0 -7
- package/docs/interfaces/Schema-13.html +22 -15
- package/docs/js/menu-wc.js +3 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +2902 -2484
- package/docs/llms.txt +36 -19
- package/docs/miscellaneous/functions.html +3518 -3215
- package/docs/miscellaneous/variables.html +68 -4
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/migrations.json +1 -1
- package/package.json +2 -2
- package/schematics/collection.json +2 -2
- package/schematics/migrate-ecl/index.d.ts +1 -4
- package/schematics/migrate-ecl/index.js +1 -4
- package/schematics/migrate-ecl/index.js.map +1 -1
- package/schematics/migrate-ecl/schema.json +0 -5
- package/schematics/migrate-ecl-removed-components/index.d.ts +20 -15
- package/schematics/migrate-ecl-removed-components/index.js +99 -43
- package/schematics/migrate-ecl-removed-components/index.js.map +1 -1
- package/schematics/migrate-to-signals/index.js +125 -6
- package/schematics/migrate-to-signals/index.js.map +1 -1
package/docs/llms.txt
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# eui documentation
|
|
2
2
|
|
|
3
|
-
> Generated by compodoc 2.0.0 at 2026-11-
|
|
3
|
+
> Generated by compodoc 2.0.0 at 2026-11-13T13:21:41.435Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -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`
|
|
@@ -1130,7 +1141,6 @@ File: `packages/core/schematics/migrate-ecl/index.ts`
|
|
|
1130
1141
|
Properties:
|
|
1131
1142
|
- `dryRun?: boolean`
|
|
1132
1143
|
- `path?: string`
|
|
1133
|
-
- `useClassArray?: boolean`
|
|
1134
1144
|
|
|
1135
1145
|
### MigrateResult
|
|
1136
1146
|
|
|
@@ -1139,6 +1149,7 @@ File: `packages/core/schematics/migrate-to-signals/index.ts`
|
|
|
1139
1149
|
Properties:
|
|
1140
1150
|
- `editCount: number`
|
|
1141
1151
|
- `source: string`
|
|
1152
|
+
- `todoCount: number`
|
|
1142
1153
|
|
|
1143
1154
|
### MigrationResult
|
|
1144
1155
|
|
|
@@ -1190,19 +1201,15 @@ Properties:
|
|
|
1190
1201
|
|
|
1191
1202
|
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1192
1203
|
|
|
1193
|
-
Description: A removed attribute directive (e.g. \[eclRadioHelp\] ).
|
|
1194
|
-
|
|
1195
1204
|
Properties:
|
|
1196
1205
|
- `attr: string`
|
|
1197
1206
|
- `message: string`
|
|
1198
|
-
- `onTag?: string`
|
|
1207
|
+
- `onTag?: string`
|
|
1199
1208
|
|
|
1200
1209
|
### RemovedIdentifier
|
|
1201
1210
|
|
|
1202
1211
|
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1203
1212
|
|
|
1204
|
-
Description: A removed TypeScript identifier (class / token name).
|
|
1205
|
-
|
|
1206
1213
|
Properties:
|
|
1207
1214
|
- `message: string`
|
|
1208
1215
|
- `name: string`
|
|
@@ -1211,8 +1218,6 @@ Properties:
|
|
|
1211
1218
|
|
|
1212
1219
|
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1213
1220
|
|
|
1214
|
-
Description: A removed element tag (e.g. \<ecl-site-header-banner-top\> ).
|
|
1215
|
-
|
|
1216
1221
|
Properties:
|
|
1217
1222
|
- `message: string`
|
|
1218
1223
|
- `tag: string`
|
|
@@ -1354,7 +1359,7 @@ Properties:
|
|
|
1354
1359
|
|
|
1355
1360
|
File: `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1356
1361
|
|
|
1357
|
-
Description:
|
|
1362
|
+
Description: Flags usages of ECL members removed in v22 that have no automatic drop-in replacement. For each usage it: Logs a precise manual-action warning. Inserts a TODO: \[eUI v22 migration\] ... comment on the line above the usage so it is easy to locate in the editor. It makes no other edits — it never comments out, deletes, or rewrites the user's code. These removed members require a developer decision (they are components/directives with different APIs, or have no replacement), so the schematic only points at what needs attention and leaves the change to the developer. Searching a project for TODO: \[eUI v22 migration\] after the run surfaces every spot to migrate. Removed members handled: EclDatePickerDirective ( input\[eclDatePicker\] ) → EclDatePickerDuetDirective on \<duet-date-picker eclDatePicker\> . EUI\_ECL\_DATE\_PICKER — still exported (now provides the Duet directive); only the markup needs updating. EclSiteHeaderBannerTopComponent ( ecl-site-header-banner-top ) → removed, no replacement. EclPageHeaderNextComponent → removed, no longer exported. EclRadioHelpComponent ( \[eclRadioHelp\] ) → \[eclHelpBlock\] ( EclHelpBlockDirective ).
|
|
1358
1363
|
|
|
1359
1364
|
Properties:
|
|
1360
1365
|
- `dryRun?: boolean`
|
|
@@ -1653,6 +1658,8 @@ Properties:
|
|
|
1653
1658
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1654
1659
|
- `AlertHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1655
1660
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1661
|
+
- `applyAnnotations(source: string, annotations): string`
|
|
1662
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1656
1663
|
- `applyChanges(source: string, changes): string`
|
|
1657
1664
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1658
1665
|
- `applyEdits(source: string, edits): string`
|
|
@@ -1719,8 +1726,6 @@ Properties:
|
|
|
1719
1726
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1720
1727
|
- `buildTruncatePipeEdit(chip: TmplAstElement, source: string, truncateValue: string): Edit | null`
|
|
1721
1728
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
1722
|
-
- `checkElement(element: TmplAstElement, lineOffset: number, path: string, context: SchematicContext): number`
|
|
1723
|
-
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1724
1729
|
- `collectCategoryRemovals(element: TmplAstElement, source: string, edits): void`
|
|
1725
1730
|
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
1726
1731
|
- `collectChildElementRenames(element: TmplAstElement, edits): void`
|
|
@@ -1729,6 +1734,8 @@ Properties:
|
|
|
1729
1734
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1730
1735
|
- `collectEclLinkEdits(element: TmplAstElement, source: string, edits, filePath: string, context: SchematicContext): void`
|
|
1731
1736
|
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
1737
|
+
- `collectElementAnnotation(element: TmplAstElement, lineOffset: number, commentStyle, annotations): void`
|
|
1738
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1732
1739
|
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
1733
1740
|
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
1734
1741
|
- `collectElementRename(element: TmplAstElement, edits): void`
|
|
@@ -1793,10 +1800,14 @@ Properties:
|
|
|
1793
1800
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1794
1801
|
- `collectTagRenames(element: TmplAstElement, source: string, edits): void`
|
|
1795
1802
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
1803
|
+
- `collectTemplateAnnotations(template: string, lineOffset: number, commentStyle): Annotation[]`
|
|
1804
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1796
1805
|
- `collectTemplateEmptyMessageRename(template: TmplAstTemplate, edits): void`
|
|
1797
1806
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
1798
1807
|
- `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)
|
|
1799
1808
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1809
|
+
- `collectTypeScriptAnnotations(source: string, path: string): Annotation[]`
|
|
1810
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
1800
1811
|
- `ConsoleHttpErrorCallbackFn(error: HttpErrorResponse): void`
|
|
1801
1812
|
Defined in `packages/core/src/lib/services/errors/http-error-handler-callback-functions.ts`
|
|
1802
1813
|
- `consumeLeadingWhitespace(source: string, start: number): number`
|
|
@@ -1927,6 +1938,8 @@ Properties:
|
|
|
1927
1938
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1928
1939
|
- `getInnerText(source: string, element: TmplAstElement): string`
|
|
1929
1940
|
Defined in `packages/core/schematics/migrate-eui-tabs/index.ts`
|
|
1941
|
+
- `getLineStartPosition(source: string, pos: number): number` — Returns the index of the first character of the line containing pos .
|
|
1942
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
1930
1943
|
- `getLogAppendersConfig(config: LogConfig = DEFAULT_LOG_CONFIG, injector: Injector = null): LogAppender[]` — Helper function to provide a list of log appenders from a log configuration
|
|
1931
1944
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
1932
1945
|
- `getModuleConfig(appConfig: EuiAppConfig, moduleName: string): ModuleConfig`
|
|
@@ -2039,6 +2052,8 @@ Properties:
|
|
|
2039
2052
|
Defined in `packages/core/src/lib/services/store/ngrx_kit.ts`
|
|
2040
2053
|
- `isEuiElement(element: TmplAstElement): boolean`
|
|
2041
2054
|
Defined in `packages/core/schematics/migrate-eui-accent/index.ts`
|
|
2055
|
+
- `isInsideAnyRange(edit: Edit, ranges): boolean` — True if edit 's position falls within any of the given ranges.
|
|
2056
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2042
2057
|
- `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
|
|
2043
2058
|
Defined in `packages/core/src/lib/services/app/factories/log.ts`
|
|
2044
2059
|
- `isPartOfImport(node): boolean`
|
|
@@ -2129,7 +2144,7 @@ Properties:
|
|
|
2129
2144
|
Defined in `packages/core/schematics/migrate-all/index.ts`
|
|
2130
2145
|
- `migrateChipListElement(element: TmplAstElement, source: string, edits): void`
|
|
2131
2146
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2132
|
-
- `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).
|
|
2147
|
+
- `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.
|
|
2133
2148
|
Defined in `packages/core/schematics/migrate-ecl/index.ts`
|
|
2134
2149
|
- `migrateEclBreadcrumb(options: Schema = {}): Rule`
|
|
2135
2150
|
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
@@ -2391,10 +2406,6 @@ Properties:
|
|
|
2391
2406
|
Defined in `packages/core/schematics/add-eui-imports/index.ts`
|
|
2392
2407
|
- `resolveRefName(expr): string | null` — Resolves a reference name from an expression. Handles: ref , this.ref , this.\_ref
|
|
2393
2408
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2394
|
-
- `scanTemplate(template: string, _fileSource: string, lineOffset: number, path: string, context: SchematicContext): number` — Scans a template string for removed tags/attributes. lineOffset shifts reported line numbers so inline templates report the line within the host .ts file.
|
|
2395
|
-
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2396
|
-
- `scanTypeScript(source: string, path: string, context: SchematicContext): number`
|
|
2397
|
-
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
2398
2409
|
- `sessionStorageSync(platformId): function` (deprecated: it will be removed in the next major version) — Utility meta-reducer to load the state from the session storage
|
|
2399
2410
|
Defined in `packages/core/src/lib/services/store/reducers/meta.reducers.ts`
|
|
2400
2411
|
- `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
|
|
@@ -2409,6 +2420,8 @@ Properties:
|
|
|
2409
2420
|
Defined in `packages/core/schematics/migrate-eui-datepicker/index.ts`
|
|
2410
2421
|
- `transformTranslations(translations: T): T` — Recursively walks a translation object and converts all legacy {{var}} interpolations to ICU-compatible {var} format in string leaf values.
|
|
2411
2422
|
Defined in `packages/core/src/lib/services/i18n/i18n-utils.ts`
|
|
2423
|
+
- `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).
|
|
2424
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2412
2425
|
- `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)
|
|
2413
2426
|
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
2414
2427
|
- `unwrapExpression(expression): ts.Expression`
|
|
@@ -3018,7 +3031,7 @@ Properties:
|
|
|
3018
3031
|
Defined in `packages/core/schematics/migrate-ecl-quiz/index.ts`
|
|
3019
3032
|
- `removeApiQueueItem: unknown = (state: AppState, action: RemoveApiQueueItemAction): AppState => { // remove the specified id from the list of item ids and recreate the apiQueue from the remai…`
|
|
3020
3033
|
Defined in `packages/core/src/lib/services/store/reducers/app.reducers.ts`
|
|
3021
|
-
- `REMOVED_ATTRS: readonly RemovedAttr[] = [ { attr: 'eclDatePicker', onTag: 'input', message: '
|
|
3034
|
+
- `REMOVED_ATTRS: readonly RemovedAttr[] = [ { attr: 'eclDatePicker', onTag: 'input', message: 'EclDatePickerDirective (input[eclDatePicker]) was removed in v22. Use EclDatePickerDuetDirective on a <duet…`
|
|
3022
3035
|
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3023
3036
|
- `REMOVED_IDENTIFIERS: readonly RemovedIdentifier[] = [ { name: 'EclDatePickerDirective', message: 'EclDatePickerDirective was removed in v22. Use EclDatePickerDuetDirective (selector "duet-date-picker[eclDatePicke…`
|
|
3024
3037
|
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
@@ -3040,7 +3053,7 @@ Properties:
|
|
|
3040
3053
|
Defined in `packages/core/schematics/migrate-eui-toolbar-menu/index.ts`
|
|
3041
3054
|
- `REMOVED_OUTPUTS: unknown = new Set(['multiSortChange'])`
|
|
3042
3055
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3043
|
-
- `REMOVED_TAGS: readonly RemovedTag[] = [ { tag: 'ecl-site-header-banner-top', message: '<ecl-site-header-banner-top>
|
|
3056
|
+
- `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…`
|
|
3044
3057
|
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3045
3058
|
- `REPLACEMENT_VALUE: string = 'social-media'`
|
|
3046
3059
|
Defined in `packages/core/schematics/migrate-ecl-icon/index.ts`
|
|
@@ -3066,6 +3079,8 @@ Properties:
|
|
|
3066
3079
|
Defined in `packages/core/test-setup.ts`
|
|
3067
3080
|
- `TH_TD_INPUT_RENAMES: unknown = new Map([ ['isStickyColumn', 'isStickyCol'], ['sortable', 'isSortable'], ])`
|
|
3068
3081
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3082
|
+
- `TODO_PREFIX: string = 'TODO: [eUI v22 migration]'`
|
|
3083
|
+
Defined in `packages/core/schematics/migrate-ecl-removed-components/index.ts`
|
|
3069
3084
|
- `TR_INPUT_RENAMES: unknown = new Map([ ['isSelectableHeader', 'isHeaderSelectable'], ['isSelectable', 'isDataSelectable'], ])`
|
|
3070
3085
|
Defined in `packages/core/schematics/migrate-eui-table/index.ts`
|
|
3071
3086
|
- `translateConfig: object = { loader: provideTranslateLoader(I18nLoader), }`
|
|
@@ -3118,5 +3133,7 @@ Properties:
|
|
|
3118
3133
|
Defined in `packages/core/schematics/migrate-ecl-link/index.ts`
|
|
3119
3134
|
- `WARN_PROPERTIES: unknown = new Set([...PROPAGATED_INPUTS, 'chipRemove', 'isChipsRemovable', 'chipsLabelTruncateCount', 'maxVisibleChipsCount', 'isMaxVisibleChipsOpened', 'toggleLinkMoreLa…`
|
|
3120
3135
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
3136
|
+
- `WRITE_TODO_MARKER: string = 'TODO(eui-signals):'` — Marker used to detect an already-inserted TODO so the schematic stays idempotent.
|
|
3137
|
+
Defined in `packages/core/schematics/migrate-to-signals/index.ts`
|
|
3121
3138
|
- `YELLOW: string = '\x1b[33m'`
|
|
3122
3139
|
Defined in `packages/core/schematics/utils/dry-run.ts`
|