@eui/core 22.0.0-alpha.64 → 22.0.0-alpha.66
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 +18 -0
- package/docs/changelog.html +24 -0
- package/docs/interfaces/MigrateEclSchema.html +368 -0
- package/docs/js/menu-wc.js +3 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +130 -20
- package/docs/llms.txt +11 -1
- package/docs/miscellaneous/functions.html +81 -0
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/package.json +2 -2
- package/schematics/collection.json +6 -0
- package/schematics/migrate/index.js +2 -2
- 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-eui-datepicker/index.d.ts +18 -0
- package/schematics/migrate-eui-datepicker/index.js +101 -0
- package/schematics/migrate-eui-datepicker/index.js.map +1 -0
- package/schematics/migrate-eui-datepicker/schema.json +19 -0
- package/schematics/migrate-eui-tooltip/schema.json +19 -0
|
@@ -2475,6 +2475,50 @@
|
|
|
2475
2475
|
"outgoing": []
|
|
2476
2476
|
}
|
|
2477
2477
|
},
|
|
2478
|
+
{
|
|
2479
|
+
"name": "MigrateEclSchema",
|
|
2480
|
+
"id": "interface-MigrateEclSchema-7f20ec108829227a6a5730ac22e0bf8bca7c0575ad639a8aceac15ef9cfbbf4837aa5792c49a7606962d3d34c8b3e138cafd4f5c6a677b21cf79564de7625de4",
|
|
2481
|
+
"file": "packages/core/schematics/migrate-ecl/index.ts",
|
|
2482
|
+
"deprecated": false,
|
|
2483
|
+
"deprecationMessage": "",
|
|
2484
|
+
"type": "interface",
|
|
2485
|
+
"sourceCode": "import { Rule, chain, schematic } from '@angular-devkit/schematics';\n\nexport interface MigrateEclSchema {\n path?: string;\n dryRun?: boolean;\n}\n\n/**\n * Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an\n * eUI-ECL application from v21 to v22, in the correct order:\n *\n * 1. Per-component ECL selector / input / structural migrations (migrate-ecl-*).\n * 2. migrate-ecl-removed-components — report-only warnings for members that\n * require manual migration.\n * 3. migrate-to-signals — rewrites programmatic `comp.prop` accesses to\n * `comp.prop()` for signal-migrated components (the engine is shared with\n * eUI but covers ECL via its ECL signal map).\n * 4. fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.\n *\n * It deliberately excludes the eUI (Material) migrations (`migrate`,\n * `migrate-eui-*`, `migrate-to-standalone`), which do not apply to eUI-ECL apps.\n */\nexport function migrateEcl(options: MigrateEclSchema): Rule {\n const base = { path: options.path || './src', dryRun: options.dryRun || false };\n\n return chain([\n schematic('migrate-ecl-breadcrumb', base),\n schematic('migrate-ecl-page-header', base),\n schematic('migrate-ecl-page-summary', base),\n schematic('migrate-ecl-site-footer', base),\n schematic('migrate-ecl-timeline', base),\n schematic('migrate-ecl-pagination', base),\n schematic('migrate-ecl-inpage-navigation', base),\n schematic('migrate-ecl-tabs', base),\n schematic('migrate-ecl-file', base),\n schematic('migrate-ecl-quiz', base),\n schematic('migrate-ecl-link', base),\n schematic('migrate-ecl-icon', base),\n schematic('migrate-to-signals', base),\n schematic('migrate-ecl-removed-components', base),\n schematic('fix-no-multiple-empty-lines', base),\n ]);\n}\n",
|
|
2486
|
+
"displayName": "MigrateEclSchema",
|
|
2487
|
+
"properties": [
|
|
2488
|
+
{
|
|
2489
|
+
"name": "dryRun",
|
|
2490
|
+
"coverageIgnore": false,
|
|
2491
|
+
"deprecated": false,
|
|
2492
|
+
"deprecationMessage": "",
|
|
2493
|
+
"type": "boolean",
|
|
2494
|
+
"indexKey": "",
|
|
2495
|
+
"optional": true,
|
|
2496
|
+
"description": "",
|
|
2497
|
+
"line": 5,
|
|
2498
|
+
"rawdescription": "\n"
|
|
2499
|
+
},
|
|
2500
|
+
{
|
|
2501
|
+
"name": "path",
|
|
2502
|
+
"coverageIgnore": false,
|
|
2503
|
+
"deprecated": false,
|
|
2504
|
+
"deprecationMessage": "",
|
|
2505
|
+
"type": "string",
|
|
2506
|
+
"indexKey": "",
|
|
2507
|
+
"optional": true,
|
|
2508
|
+
"description": "",
|
|
2509
|
+
"line": 4,
|
|
2510
|
+
"rawdescription": "\n"
|
|
2511
|
+
}
|
|
2512
|
+
],
|
|
2513
|
+
"indexSignatures": [],
|
|
2514
|
+
"kind": 172,
|
|
2515
|
+
"methods": [],
|
|
2516
|
+
"extends": [],
|
|
2517
|
+
"relationships": {
|
|
2518
|
+
"incoming": [],
|
|
2519
|
+
"outgoing": []
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2478
2522
|
{
|
|
2479
2523
|
"name": "MigrateResult",
|
|
2480
2524
|
"id": "interface-MigrateResult-e482dd7446c1e816bafb15b4def76c055fcdbeb3b329abc73425a4b440900c44369b7cdc3ab0f0de378eaff2b6bb82cee270a08c58c06ebfe419af57add26e68",
|
|
@@ -3100,12 +3144,12 @@
|
|
|
3100
3144
|
},
|
|
3101
3145
|
{
|
|
3102
3146
|
"name": "Schema",
|
|
3103
|
-
"id": "interface-Schema-
|
|
3104
|
-
"file": "packages/core/schematics/
|
|
3147
|
+
"id": "interface-Schema-56b9fe60701ca349dc90e152829b0a18bb7a8a9bb303c4bac05f9764cd2e933cce0879775ca17168b4c881e202d0258af3668a2a3a1b940e561f7e4b2349b5cc-2",
|
|
3148
|
+
"file": "packages/core/schematics/migrate/schema.ts",
|
|
3105
3149
|
"deprecated": false,
|
|
3106
3150
|
"deprecationMessage": "",
|
|
3107
3151
|
"type": "interface",
|
|
3108
|
-
"sourceCode": "export interface Schema {\n /** The path to scan for files to migrate */\n path?: string;\n /** Whether to perform a dry run without making changes */\n dryRun?: boolean;\n}\n",
|
|
3152
|
+
"sourceCode": "export interface Schema {\n /** The path to scan for files to migrate */\n path?: string;\n /** Whether to apply MyWorkplace-specific replacements */\n mwp?: boolean;\n /** Whether to perform a dry run without making changes */\n dryRun?: boolean;\n}\n",
|
|
3109
3153
|
"displayName": "Schema",
|
|
3110
3154
|
"properties": [
|
|
3111
3155
|
{
|
|
@@ -3117,9 +3161,21 @@
|
|
|
3117
3161
|
"indexKey": "",
|
|
3118
3162
|
"optional": true,
|
|
3119
3163
|
"description": "<p>Whether to perform a dry run without making changes</p>\n",
|
|
3120
|
-
"line":
|
|
3164
|
+
"line": 7,
|
|
3121
3165
|
"rawdescription": "\nWhether to perform a dry run without making changes"
|
|
3122
3166
|
},
|
|
3167
|
+
{
|
|
3168
|
+
"name": "mwp",
|
|
3169
|
+
"coverageIgnore": false,
|
|
3170
|
+
"deprecated": false,
|
|
3171
|
+
"deprecationMessage": "",
|
|
3172
|
+
"type": "boolean",
|
|
3173
|
+
"indexKey": "",
|
|
3174
|
+
"optional": true,
|
|
3175
|
+
"description": "<p>Whether to apply MyWorkplace-specific replacements</p>\n",
|
|
3176
|
+
"line": 5,
|
|
3177
|
+
"rawdescription": "\nWhether to apply MyWorkplace-specific replacements"
|
|
3178
|
+
},
|
|
3123
3179
|
{
|
|
3124
3180
|
"name": "path",
|
|
3125
3181
|
"coverageIgnore": false,
|
|
@@ -3147,12 +3203,12 @@
|
|
|
3147
3203
|
},
|
|
3148
3204
|
{
|
|
3149
3205
|
"name": "Schema",
|
|
3150
|
-
"id": "interface-Schema-
|
|
3151
|
-
"file": "packages/core/schematics/migrate/schema.ts",
|
|
3206
|
+
"id": "interface-Schema-5cd6db1920bd5b70a44c0b8a7f7e30f600bfd16a9950f218e6d451a1755ced95b462ef9a62ee87e39bcb8c392981b8d2597895bf0a272fd8aea71f03429ed976-3",
|
|
3207
|
+
"file": "packages/core/schematics/icon-migrate/schema.ts",
|
|
3152
3208
|
"deprecated": false,
|
|
3153
3209
|
"deprecationMessage": "",
|
|
3154
3210
|
"type": "interface",
|
|
3155
|
-
"sourceCode": "export interface Schema {\n /** The path to scan for files to migrate */\n path?: string;\n /** Whether to
|
|
3211
|
+
"sourceCode": "export interface Schema {\n /** The path to scan for files to migrate */\n path?: string;\n /** Whether to perform a dry run without making changes */\n dryRun?: boolean;\n}\n",
|
|
3156
3212
|
"displayName": "Schema",
|
|
3157
3213
|
"properties": [
|
|
3158
3214
|
{
|
|
@@ -3164,20 +3220,8 @@
|
|
|
3164
3220
|
"indexKey": "",
|
|
3165
3221
|
"optional": true,
|
|
3166
3222
|
"description": "<p>Whether to perform a dry run without making changes</p>\n",
|
|
3167
|
-
"line": 7,
|
|
3168
|
-
"rawdescription": "\nWhether to perform a dry run without making changes"
|
|
3169
|
-
},
|
|
3170
|
-
{
|
|
3171
|
-
"name": "mwp",
|
|
3172
|
-
"coverageIgnore": false,
|
|
3173
|
-
"deprecated": false,
|
|
3174
|
-
"deprecationMessage": "",
|
|
3175
|
-
"type": "boolean",
|
|
3176
|
-
"indexKey": "",
|
|
3177
|
-
"optional": true,
|
|
3178
|
-
"description": "<p>Whether to apply MyWorkplace-specific replacements</p>\n",
|
|
3179
3223
|
"line": 5,
|
|
3180
|
-
"rawdescription": "\nWhether to
|
|
3224
|
+
"rawdescription": "\nWhether to perform a dry run without making changes"
|
|
3181
3225
|
},
|
|
3182
3226
|
{
|
|
3183
3227
|
"name": "path",
|
|
@@ -36625,6 +36669,38 @@
|
|
|
36625
36669
|
}
|
|
36626
36670
|
]
|
|
36627
36671
|
},
|
|
36672
|
+
{
|
|
36673
|
+
"name": "migrateEcl",
|
|
36674
|
+
"file": "packages/core/schematics/migrate-ecl/index.ts",
|
|
36675
|
+
"ctype": "miscellaneous",
|
|
36676
|
+
"subtype": "function",
|
|
36677
|
+
"coverageIgnore": false,
|
|
36678
|
+
"deprecated": false,
|
|
36679
|
+
"deprecationMessage": "",
|
|
36680
|
+
"rawdescription": "Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an\neUI-ECL application from v21 to v22, in the correct order:\n\n1. Per-component ECL selector / input / structural migrations (migrate-ecl-*).\n2. migrate-ecl-removed-components — report-only warnings for members that\n require manual migration.\n3. migrate-to-signals — rewrites programmatic `comp.prop` accesses to\n `comp.prop()` for signal-migrated components (the engine is shared with\n eUI but covers ECL via its ECL signal map).\n4. fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.\n\nIt deliberately excludes the eUI (Material) migrations (`migrate`,\n`migrate-eui-*`, `migrate-to-standalone`), which do not apply to eUI-ECL apps.",
|
|
36681
|
+
"description": "<p>Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an\neUI-ECL application from v21 to v22, in the correct order:</p>\n<ol>\n<li>Per-component ECL selector / input / structural migrations (migrate-ecl-*).</li>\n<li>migrate-ecl-removed-components — report-only warnings for members that\nrequire manual migration.</li>\n<li>migrate-to-signals — rewrites programmatic <code>comp.prop</code> accesses to\n<code>comp.prop()</code> for signal-migrated components (the engine is shared with\neUI but covers ECL via its ECL signal map).</li>\n<li>fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.</li>\n</ol>\n<p>It deliberately excludes the eUI (Material) migrations (<code>migrate</code>,\n<code>migrate-eui-*</code>, <code>migrate-to-standalone</code>), which do not apply to eUI-ECL apps.</p>\n",
|
|
36682
|
+
"displayName": "migrateEcl",
|
|
36683
|
+
"args": [
|
|
36684
|
+
{
|
|
36685
|
+
"name": "options",
|
|
36686
|
+
"type": "MigrateEclSchema",
|
|
36687
|
+
"deprecated": false,
|
|
36688
|
+
"deprecationMessage": ""
|
|
36689
|
+
}
|
|
36690
|
+
],
|
|
36691
|
+
"returnType": "Rule",
|
|
36692
|
+
"jsdoctags": [
|
|
36693
|
+
{
|
|
36694
|
+
"name": "options",
|
|
36695
|
+
"type": "MigrateEclSchema",
|
|
36696
|
+
"deprecated": false,
|
|
36697
|
+
"deprecationMessage": "",
|
|
36698
|
+
"tagName": {
|
|
36699
|
+
"text": "param"
|
|
36700
|
+
}
|
|
36701
|
+
}
|
|
36702
|
+
]
|
|
36703
|
+
},
|
|
36628
36704
|
{
|
|
36629
36705
|
"name": "migrateEclBreadcrumb",
|
|
36630
36706
|
"file": "packages/core/schematics/migrate-ecl-breadcrumb/index.ts",
|
|
@@ -70782,6 +70858,40 @@
|
|
|
70782
70858
|
]
|
|
70783
70859
|
}
|
|
70784
70860
|
],
|
|
70861
|
+
"packages/core/schematics/migrate-ecl/index.ts": [
|
|
70862
|
+
{
|
|
70863
|
+
"name": "migrateEcl",
|
|
70864
|
+
"file": "packages/core/schematics/migrate-ecl/index.ts",
|
|
70865
|
+
"ctype": "miscellaneous",
|
|
70866
|
+
"subtype": "function",
|
|
70867
|
+
"coverageIgnore": false,
|
|
70868
|
+
"deprecated": false,
|
|
70869
|
+
"deprecationMessage": "",
|
|
70870
|
+
"rawdescription": "Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an\neUI-ECL application from v21 to v22, in the correct order:\n\n1. Per-component ECL selector / input / structural migrations (migrate-ecl-*).\n2. migrate-ecl-removed-components — report-only warnings for members that\n require manual migration.\n3. migrate-to-signals — rewrites programmatic `comp.prop` accesses to\n `comp.prop()` for signal-migrated components (the engine is shared with\n eUI but covers ECL via its ECL signal map).\n4. fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.\n\nIt deliberately excludes the eUI (Material) migrations (`migrate`,\n`migrate-eui-*`, `migrate-to-standalone`), which do not apply to eUI-ECL apps.",
|
|
70871
|
+
"description": "<p>Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an\neUI-ECL application from v21 to v22, in the correct order:</p>\n<ol>\n<li>Per-component ECL selector / input / structural migrations (migrate-ecl-*).</li>\n<li>migrate-ecl-removed-components — report-only warnings for members that\nrequire manual migration.</li>\n<li>migrate-to-signals — rewrites programmatic <code>comp.prop</code> accesses to\n<code>comp.prop()</code> for signal-migrated components (the engine is shared with\neUI but covers ECL via its ECL signal map).</li>\n<li>fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.</li>\n</ol>\n<p>It deliberately excludes the eUI (Material) migrations (<code>migrate</code>,\n<code>migrate-eui-*</code>, <code>migrate-to-standalone</code>), which do not apply to eUI-ECL apps.</p>\n",
|
|
70872
|
+
"displayName": "migrateEcl",
|
|
70873
|
+
"args": [
|
|
70874
|
+
{
|
|
70875
|
+
"name": "options",
|
|
70876
|
+
"type": "MigrateEclSchema",
|
|
70877
|
+
"deprecated": false,
|
|
70878
|
+
"deprecationMessage": ""
|
|
70879
|
+
}
|
|
70880
|
+
],
|
|
70881
|
+
"returnType": "Rule",
|
|
70882
|
+
"jsdoctags": [
|
|
70883
|
+
{
|
|
70884
|
+
"name": "options",
|
|
70885
|
+
"type": "MigrateEclSchema",
|
|
70886
|
+
"deprecated": false,
|
|
70887
|
+
"deprecationMessage": "",
|
|
70888
|
+
"tagName": {
|
|
70889
|
+
"text": "param"
|
|
70890
|
+
}
|
|
70891
|
+
}
|
|
70892
|
+
]
|
|
70893
|
+
}
|
|
70894
|
+
],
|
|
70785
70895
|
"packages/core/src/lib/services/app/eui-init-app.ts": [
|
|
70786
70896
|
{
|
|
70787
70897
|
"name": "provideEuiInitializer",
|
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-12T13:39:17.919Z, llm-md export.
|
|
4
4
|
|
|
5
5
|
## Modules
|
|
6
6
|
|
|
@@ -1123,6 +1123,14 @@ Properties:
|
|
|
1123
1123
|
- `path?: string`
|
|
1124
1124
|
- `useClassArray?: boolean`
|
|
1125
1125
|
|
|
1126
|
+
### MigrateEclSchema
|
|
1127
|
+
|
|
1128
|
+
File: `packages/core/schematics/migrate-ecl/index.ts`
|
|
1129
|
+
|
|
1130
|
+
Properties:
|
|
1131
|
+
- `dryRun?: boolean`
|
|
1132
|
+
- `path?: string`
|
|
1133
|
+
|
|
1126
1134
|
### MigrateResult
|
|
1127
1135
|
|
|
1128
1136
|
File: `packages/core/schematics/migrate-to-signals/index.ts`
|
|
@@ -2120,6 +2128,8 @@ Properties:
|
|
|
2120
2128
|
Defined in `packages/core/schematics/migrate-all/index.ts`
|
|
2121
2129
|
- `migrateChipListElement(element: TmplAstElement, source: string, edits): void`
|
|
2122
2130
|
Defined in `packages/core/schematics/migrate-eui-chip-list/index.ts`
|
|
2131
|
+
- `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.
|
|
2132
|
+
Defined in `packages/core/schematics/migrate-ecl/index.ts`
|
|
2123
2133
|
- `migrateEclBreadcrumb(options: Schema = {}): Rule`
|
|
2124
2134
|
Defined in `packages/core/schematics/migrate-ecl-breadcrumb/index.ts`
|
|
2125
2135
|
- `migrateEclFile(options: Schema = {}): Rule`
|
|
@@ -869,6 +869,9 @@
|
|
|
869
869
|
<li>
|
|
870
870
|
<a href="#migrateChipListElement" title="packages/core/schematics/migrate-eui-chip-list/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>migrateChipListElement</b> (packages/.../index.ts)</span></a>
|
|
871
871
|
</li>
|
|
872
|
+
<li>
|
|
873
|
+
<a href="#migrateEcl" title="packages/core/schematics/migrate-ecl/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>migrateEcl</b> (packages/.../index.ts)</span></a>
|
|
874
|
+
</li>
|
|
872
875
|
<li>
|
|
873
876
|
<a href="#migrateEclBreadcrumb" title="packages/core/schematics/migrate-ecl-breadcrumb/index.ts" class="reference-link "><span class="reference-badge reference-badge--function" aria-hidden="true">F</span><span class="reference-link-label"><b>migrateEclBreadcrumb</b> (packages/.../index.ts)</span></a>
|
|
874
877
|
</li>
|
|
@@ -34878,6 +34881,84 @@ It needs to be added in your application main.ts file.</p>
|
|
|
34878
34881
|
</tbody>
|
|
34879
34882
|
</table>
|
|
34880
34883
|
</section>
|
|
34884
|
+
<h3>packages/core/schematics/migrate-ecl/index.ts</h3>
|
|
34885
|
+
<section data-compodoc="block-methods">
|
|
34886
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
34887
|
+
<tbody>
|
|
34888
|
+
<tr>
|
|
34889
|
+
<td class="col-md-4">
|
|
34890
|
+
<a name="migrateEcl"></a>
|
|
34891
|
+
<span class="name">
|
|
34892
|
+
<span ><b>migrateEcl</b></span>
|
|
34893
|
+
<a href="#migrateEcl"><span class="icon ion-ios-link"></span></a>
|
|
34894
|
+
</span>
|
|
34895
|
+
</td>
|
|
34896
|
+
</tr>
|
|
34897
|
+
<tr>
|
|
34898
|
+
<td class="col-md-4">
|
|
34899
|
+
<code>migrateEcl(options: <a href="../interfaces/MigrateEclSchema.html" target="_self">MigrateEclSchema</a>)</code>
|
|
34900
|
+
</td>
|
|
34901
|
+
</tr>
|
|
34902
|
+
|
|
34903
|
+
|
|
34904
|
+
|
|
34905
|
+
|
|
34906
|
+
<tr>
|
|
34907
|
+
<td class="col-md-4">
|
|
34908
|
+
<div class="io-description"><p>Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an
|
|
34909
|
+
eUI-ECL application from v21 to v22, in the correct order:</p>
|
|
34910
|
+
<ol>
|
|
34911
|
+
<li>Per-component ECL selector / input / structural migrations (migrate-ecl-*).</li>
|
|
34912
|
+
<li>migrate-ecl-removed-components — report-only warnings for members that
|
|
34913
|
+
require manual migration.</li>
|
|
34914
|
+
<li>migrate-to-signals — rewrites programmatic <code>comp.prop</code> accesses to
|
|
34915
|
+
<code>comp.prop()</code> for signal-migrated components (the engine is shared with
|
|
34916
|
+
eUI but covers ECL via its ECL signal map).</li>
|
|
34917
|
+
<li>fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.</li>
|
|
34918
|
+
</ol>
|
|
34919
|
+
<p>It deliberately excludes the eUI (Material) migrations (<code>migrate</code>,
|
|
34920
|
+
<code>migrate-eui-*</code>, <code>migrate-to-standalone</code>), which do not apply to eUI-ECL apps.</p>
|
|
34921
|
+
</div>
|
|
34922
|
+
|
|
34923
|
+
<div class="io-description">
|
|
34924
|
+
<b>Parameters :</b>
|
|
34925
|
+
|
|
34926
|
+
<table class="params">
|
|
34927
|
+
<thead>
|
|
34928
|
+
<tr>
|
|
34929
|
+
<td>Name</td>
|
|
34930
|
+
<td>Type</td>
|
|
34931
|
+
<td>Optional</td>
|
|
34932
|
+
</tr>
|
|
34933
|
+
</thead>
|
|
34934
|
+
<tbody>
|
|
34935
|
+
<tr>
|
|
34936
|
+
<td>options</td>
|
|
34937
|
+
<td>
|
|
34938
|
+
<code><a href="../interfaces/MigrateEclSchema.html" target="_self" >MigrateEclSchema</a></code>
|
|
34939
|
+
</td>
|
|
34940
|
+
|
|
34941
|
+
<td>
|
|
34942
|
+
No
|
|
34943
|
+
</td>
|
|
34944
|
+
|
|
34945
|
+
|
|
34946
|
+
</tr>
|
|
34947
|
+
</tbody>
|
|
34948
|
+
</table>
|
|
34949
|
+
</div>
|
|
34950
|
+
<div class="io-description">
|
|
34951
|
+
<b>Returns : </b> <code>Rule</code>
|
|
34952
|
+
|
|
34953
|
+
</div>
|
|
34954
|
+
<div class="io-description">
|
|
34955
|
+
|
|
34956
|
+
</div>
|
|
34957
|
+
</td>
|
|
34958
|
+
</tr>
|
|
34959
|
+
</tbody>
|
|
34960
|
+
</table>
|
|
34961
|
+
</section>
|
|
34881
34962
|
<h3>packages/core/src/lib/services/app/eui-init-app.ts</h3>
|
|
34882
34963
|
<section data-compodoc="block-methods">
|
|
34883
34964
|
<h3></h3> <table class="table table-sm table-bordered">
|
package/docs/overview.html
CHANGED
|
@@ -161,7 +161,7 @@
|
|
|
161
161
|
<div class="card text-center">
|
|
162
162
|
<div class="card-block">
|
|
163
163
|
<h4 class="card-title"><span class="icon ion-md-information-circle-outline"></span></h4>
|
|
164
|
-
<p class="card-text">
|
|
164
|
+
<p class="card-text">87 Interfaces</p>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
167
|
</div>
|
package/docs/properties.html
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eui/core",
|
|
3
|
-
"version": "22.0.0-alpha.
|
|
3
|
+
"version": "22.0.0-alpha.66",
|
|
4
4
|
"tag": "next",
|
|
5
5
|
"description": "eUI core package - holding UI components for Desktop applications",
|
|
6
6
|
"homepage": "https://eui.ecdevops.eu",
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"url": "https://sdlc.webcloud.ec.europa.eu/csdr/eui/eui.git"
|
|
11
11
|
},
|
|
12
12
|
"peerDependencies": {
|
|
13
|
-
"@eui/base": "22.0.0-alpha.
|
|
13
|
+
"@eui/base": "22.0.0-alpha.66",
|
|
14
14
|
"rxjs": "^7.8.0",
|
|
15
15
|
"extend": "^3.0.2",
|
|
16
16
|
"localforage": "^1.10.0",
|
|
@@ -119,6 +119,12 @@
|
|
|
119
119
|
"factory": "./migrate-to-signals/index#migrateToSignals",
|
|
120
120
|
"schema": "./migrate-to-signals/schema.json"
|
|
121
121
|
},
|
|
122
|
+
"migrate-ecl": {
|
|
123
|
+
"description": "Runs all eUI-ECL migration schematics in sequence to fully migrate an eUI-ECL app (per-component ECL migrations, signal access migration, cleanup).",
|
|
124
|
+
"factory": "./migrate-ecl/index#migrateEcl",
|
|
125
|
+
"schema": "./migrate-ecl/schema.json",
|
|
126
|
+
"aliases": ["ecl-migrate-all"]
|
|
127
|
+
},
|
|
122
128
|
"migrate-ecl-breadcrumb": {
|
|
123
129
|
"description": "Migrates the removed ecl-breadcrumb element selector to nav[eclBreadcrumb].",
|
|
124
130
|
"factory": "./migrate-ecl-breadcrumb/index#migrateEclBreadcrumb",
|
|
@@ -11,8 +11,8 @@ function migrate(options) {
|
|
|
11
11
|
return (tree, context) => {
|
|
12
12
|
const version = (0, utils_1.detectEuiVersion)(tree);
|
|
13
13
|
context.logger.info(`Detected eUI version: ${version || 'unknown'}`);
|
|
14
|
-
if (!version || !version.startsWith('
|
|
15
|
-
context.logger.warn(`This migration schematic targets eUI
|
|
14
|
+
if (!version || !version.startsWith('22')) {
|
|
15
|
+
context.logger.warn(`This migration schematic targets eUI 22.x. Detected: ${version || 'unknown'}. Skipping.`);
|
|
16
16
|
return tree;
|
|
17
17
|
}
|
|
18
18
|
const scanPath = options.path || './src';
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
+
export interface MigrateEclSchema {
|
|
3
|
+
path?: string;
|
|
4
|
+
dryRun?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an
|
|
8
|
+
* eUI-ECL application from v21 to v22, in the correct order:
|
|
9
|
+
*
|
|
10
|
+
* 1. Per-component ECL selector / input / structural migrations (migrate-ecl-*).
|
|
11
|
+
* 2. migrate-ecl-removed-components — report-only warnings for members that
|
|
12
|
+
* require manual migration.
|
|
13
|
+
* 3. migrate-to-signals — rewrites programmatic `comp.prop` accesses to
|
|
14
|
+
* `comp.prop()` for signal-migrated components (the engine is shared with
|
|
15
|
+
* eUI but covers ECL via its ECL signal map).
|
|
16
|
+
* 4. fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.
|
|
17
|
+
*
|
|
18
|
+
* It deliberately excludes the eUI (Material) migrations (`migrate`,
|
|
19
|
+
* `migrate-eui-*`, `migrate-to-standalone`), which do not apply to eUI-ECL apps.
|
|
20
|
+
*/
|
|
21
|
+
export declare function migrateEcl(options: MigrateEclSchema): Rule;
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.migrateEcl = migrateEcl;
|
|
4
|
+
const schematics_1 = require("@angular-devkit/schematics");
|
|
5
|
+
/**
|
|
6
|
+
* Runs the full set of ECL (eUI-ECL) migration schematics needed to migrate an
|
|
7
|
+
* eUI-ECL application from v21 to v22, in the correct order:
|
|
8
|
+
*
|
|
9
|
+
* 1. Per-component ECL selector / input / structural migrations (migrate-ecl-*).
|
|
10
|
+
* 2. migrate-ecl-removed-components — report-only warnings for members that
|
|
11
|
+
* require manual migration.
|
|
12
|
+
* 3. migrate-to-signals — rewrites programmatic `comp.prop` accesses to
|
|
13
|
+
* `comp.prop()` for signal-migrated components (the engine is shared with
|
|
14
|
+
* eUI but covers ECL via its ECL signal map).
|
|
15
|
+
* 4. fix-no-multiple-empty-lines — cosmetic cleanup after the edits above.
|
|
16
|
+
*
|
|
17
|
+
* It deliberately excludes the eUI (Material) migrations (`migrate`,
|
|
18
|
+
* `migrate-eui-*`, `migrate-to-standalone`), which do not apply to eUI-ECL apps.
|
|
19
|
+
*/
|
|
20
|
+
function migrateEcl(options) {
|
|
21
|
+
const base = { path: options.path || './src', dryRun: options.dryRun || false };
|
|
22
|
+
return (0, schematics_1.chain)([
|
|
23
|
+
(0, schematics_1.schematic)('migrate-ecl-breadcrumb', base),
|
|
24
|
+
(0, schematics_1.schematic)('migrate-ecl-page-header', base),
|
|
25
|
+
(0, schematics_1.schematic)('migrate-ecl-page-summary', base),
|
|
26
|
+
(0, schematics_1.schematic)('migrate-ecl-site-footer', base),
|
|
27
|
+
(0, schematics_1.schematic)('migrate-ecl-timeline', base),
|
|
28
|
+
(0, schematics_1.schematic)('migrate-ecl-pagination', base),
|
|
29
|
+
(0, schematics_1.schematic)('migrate-ecl-inpage-navigation', base),
|
|
30
|
+
(0, schematics_1.schematic)('migrate-ecl-tabs', base),
|
|
31
|
+
(0, schematics_1.schematic)('migrate-ecl-file', base),
|
|
32
|
+
(0, schematics_1.schematic)('migrate-ecl-quiz', base),
|
|
33
|
+
(0, schematics_1.schematic)('migrate-ecl-link', base),
|
|
34
|
+
(0, schematics_1.schematic)('migrate-ecl-icon', base),
|
|
35
|
+
(0, schematics_1.schematic)('migrate-to-signals', base),
|
|
36
|
+
(0, schematics_1.schematic)('migrate-ecl-removed-components', base),
|
|
37
|
+
(0, schematics_1.schematic)('fix-no-multiple-empty-lines', base),
|
|
38
|
+
]);
|
|
39
|
+
}
|
|
40
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/migrate-ecl/index.ts"],"names":[],"mappings":";;AAsBA,gCAoBC;AA1CD,2DAAoE;AAOpE;;;;;;;;;;;;;;GAcG;AACH,SAAgB,UAAU,CAAC,OAAyB;IAClD,MAAM,IAAI,GAAG,EAAE,IAAI,EAAE,OAAO,CAAC,IAAI,IAAI,OAAO,EAAE,MAAM,EAAE,OAAO,CAAC,MAAM,IAAI,KAAK,EAAE,CAAC;IAEhF,OAAO,IAAA,kBAAK,EAAC;QACX,IAAA,sBAAS,EAAC,wBAAwB,EAAE,IAAI,CAAC;QACzC,IAAA,sBAAS,EAAC,yBAAyB,EAAE,IAAI,CAAC;QAC1C,IAAA,sBAAS,EAAC,0BAA0B,EAAE,IAAI,CAAC;QAC3C,IAAA,sBAAS,EAAC,yBAAyB,EAAE,IAAI,CAAC;QAC1C,IAAA,sBAAS,EAAC,sBAAsB,EAAE,IAAI,CAAC;QACvC,IAAA,sBAAS,EAAC,wBAAwB,EAAE,IAAI,CAAC;QACzC,IAAA,sBAAS,EAAC,+BAA+B,EAAE,IAAI,CAAC;QAChD,IAAA,sBAAS,EAAC,kBAAkB,EAAE,IAAI,CAAC;QACnC,IAAA,sBAAS,EAAC,kBAAkB,EAAE,IAAI,CAAC;QACnC,IAAA,sBAAS,EAAC,kBAAkB,EAAE,IAAI,CAAC;QACnC,IAAA,sBAAS,EAAC,kBAAkB,EAAE,IAAI,CAAC;QACnC,IAAA,sBAAS,EAAC,kBAAkB,EAAE,IAAI,CAAC;QACnC,IAAA,sBAAS,EAAC,oBAAoB,EAAE,IAAI,CAAC;QACrC,IAAA,sBAAS,EAAC,gCAAgC,EAAE,IAAI,CAAC;QACjD,IAAA,sBAAS,EAAC,6BAA6B,EAAE,IAAI,CAAC;KAC/C,CAAC,CAAC;AACL,CAAC"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$id": "MigrateEclSchema",
|
|
3
|
+
"title": "Migrate eUI-ECL application",
|
|
4
|
+
"description": "Runs all eUI-ECL migration schematics in sequence to fully migrate an eUI-ECL app (per-component ECL migrations, signal access migration, import additions, cleanup).",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The path to scan for files to migrate.",
|
|
10
|
+
"default": "./src",
|
|
11
|
+
"visible": true
|
|
12
|
+
},
|
|
13
|
+
"dryRun": {
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"default": false,
|
|
16
|
+
"description": "Whether to run in dry-run mode without making actual changes."
|
|
17
|
+
}
|
|
18
|
+
},
|
|
19
|
+
"required": []
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { Rule } from '@angular-devkit/schematics';
|
|
2
|
+
interface Schema {
|
|
3
|
+
path?: string;
|
|
4
|
+
dryRun?: boolean;
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Advisory migration for the eui-datepicker moment-locale breaking change.
|
|
8
|
+
*
|
|
9
|
+
* `eui-datepicker` no longer bundles the moment locale data (the internal
|
|
10
|
+
* `import 'moment/min/locales'` was removed). Apps that relied on the datepicker
|
|
11
|
+
* implicitly registering every moment locale must now import the locales they use
|
|
12
|
+
* themselves, e.g. `import 'moment/locale/fr';`. This schematic cannot know which
|
|
13
|
+
* locales an app needs (and auto-importing all of them would reintroduce the bundle
|
|
14
|
+
* cost the change removed), so it only reports the files that use `eui-datepicker`
|
|
15
|
+
* and the manual action required.
|
|
16
|
+
*/
|
|
17
|
+
export declare function migrateEuiDatepicker(options?: Schema): Rule;
|
|
18
|
+
export {};
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.migrateEuiDatepicker = migrateEuiDatepicker;
|
|
4
|
+
const compiler_1 = require("@angular/compiler");
|
|
5
|
+
const dry_run_1 = require("../utils/dry-run");
|
|
6
|
+
/**
|
|
7
|
+
* Advisory migration for the eui-datepicker moment-locale breaking change.
|
|
8
|
+
*
|
|
9
|
+
* `eui-datepicker` no longer bundles the moment locale data (the internal
|
|
10
|
+
* `import 'moment/min/locales'` was removed). Apps that relied on the datepicker
|
|
11
|
+
* implicitly registering every moment locale must now import the locales they use
|
|
12
|
+
* themselves, e.g. `import 'moment/locale/fr';`. This schematic cannot know which
|
|
13
|
+
* locales an app needs (and auto-importing all of them would reintroduce the bundle
|
|
14
|
+
* cost the change removed), so it only reports the files that use `eui-datepicker`
|
|
15
|
+
* and the manual action required.
|
|
16
|
+
*/
|
|
17
|
+
function migrateEuiDatepicker(options = {}) {
|
|
18
|
+
return (tree, context) => {
|
|
19
|
+
const scanPath = options.path ? '/' + options.path.replace(/^\.?\//, '').replace(/\/$/, '') : '';
|
|
20
|
+
const matches = [];
|
|
21
|
+
const dir = tree.getDir(scanPath || '/');
|
|
22
|
+
visitDir(dir, (path) => {
|
|
23
|
+
const buffer = tree.read(path);
|
|
24
|
+
if (!buffer)
|
|
25
|
+
return;
|
|
26
|
+
const content = buffer.toString('utf-8');
|
|
27
|
+
if (!content.includes('eui-datepicker'))
|
|
28
|
+
return;
|
|
29
|
+
const usesDatepicker = path.endsWith('.html')
|
|
30
|
+
? templateUsesDatepicker(content)
|
|
31
|
+
: inlineTemplateUsesDatepicker(content);
|
|
32
|
+
if (usesDatepicker) {
|
|
33
|
+
matches.push(path);
|
|
34
|
+
}
|
|
35
|
+
});
|
|
36
|
+
if (matches.length === 0) {
|
|
37
|
+
context.logger.info('No eui-datepicker usage found; no moment-locale action required.');
|
|
38
|
+
return tree;
|
|
39
|
+
}
|
|
40
|
+
context.logger.warn('Breaking change: eui-datepicker no longer bundles moment locale data. '
|
|
41
|
+
+ 'Import the moment locales your app uses (e.g. `import \'moment/locale/fr\';`) '
|
|
42
|
+
+ 'in the module/bootstrap where the datepicker is used; otherwise dates fall back '
|
|
43
|
+
+ 'to the active moment locale and may format incorrectly.');
|
|
44
|
+
for (const path of matches) {
|
|
45
|
+
context.logger.warn(` Manual action needed: ${path} uses eui-datepicker — ensure the required moment locale(s) are imported.`);
|
|
46
|
+
}
|
|
47
|
+
context.logger.info(`eui-datepicker moment-locale check: ${matches.length} file(s) use eui-datepicker.`);
|
|
48
|
+
if (options.dryRun) {
|
|
49
|
+
(0, dry_run_1.logDryRunNote)(context);
|
|
50
|
+
}
|
|
51
|
+
return tree;
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
function visitDir(dir, callback) {
|
|
55
|
+
for (const file of dir.subfiles) {
|
|
56
|
+
if (file.endsWith('.d.ts'))
|
|
57
|
+
continue;
|
|
58
|
+
if (!file.endsWith('.html') && !file.endsWith('.ts'))
|
|
59
|
+
continue;
|
|
60
|
+
callback(`${dir.path}/${file}`);
|
|
61
|
+
}
|
|
62
|
+
for (const sub of dir.subdirs) {
|
|
63
|
+
if (sub === 'node_modules' || sub === 'dist')
|
|
64
|
+
continue;
|
|
65
|
+
visitDir(dir.dir(sub), callback);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
function templateUsesDatepicker(source) {
|
|
69
|
+
try {
|
|
70
|
+
const parsed = (0, compiler_1.parseTemplate)(source, '', { preserveWhitespaces: true });
|
|
71
|
+
return nodesContainDatepicker(parsed.nodes);
|
|
72
|
+
}
|
|
73
|
+
catch {
|
|
74
|
+
// Fall back to a substring check if the template cannot be parsed.
|
|
75
|
+
return source.includes('eui-datepicker');
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
function inlineTemplateUsesDatepicker(source) {
|
|
79
|
+
const templateRegex = /template\s*:\s*`([^`]*)`/gs;
|
|
80
|
+
let match;
|
|
81
|
+
while ((match = templateRegex.exec(source)) !== null) {
|
|
82
|
+
if (match[1].includes('eui-datepicker') && templateUsesDatepicker(match[1])) {
|
|
83
|
+
return true;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
return false;
|
|
87
|
+
}
|
|
88
|
+
function nodesContainDatepicker(nodes) {
|
|
89
|
+
for (const node of nodes) {
|
|
90
|
+
if (node instanceof compiler_1.TmplAstElement) {
|
|
91
|
+
if (node.name === 'eui-datepicker') {
|
|
92
|
+
return true;
|
|
93
|
+
}
|
|
94
|
+
if (nodesContainDatepicker(node.children)) {
|
|
95
|
+
return true;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
return false;
|
|
100
|
+
}
|
|
101
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/migrate-eui-datepicker/index.ts"],"names":[],"mappings":"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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "http://json-schema.org/schema",
|
|
3
|
+
"$id": "MigrateEuiDatepickerSchema",
|
|
4
|
+
"title": "Migrate EUI datepicker moment-locale breaking change",
|
|
5
|
+
"type": "object",
|
|
6
|
+
"properties": {
|
|
7
|
+
"path": {
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "The path to scan for files.",
|
|
10
|
+
"default": "./",
|
|
11
|
+
"visible": true
|
|
12
|
+
},
|
|
13
|
+
"dryRun": {
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"default": false,
|
|
16
|
+
"description": "Whether to run in dry-run mode without making actual changes."
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|