@eui/core 22.0.0-alpha.70 → 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 +21 -0
- package/docs/changelog.html +27 -0
- package/docs/interfaces/OutputFormatUsage.html +446 -0
- package/docs/interfaces/Schema-13.html +25 -8
- package/docs/interfaces/Schema-14.html +8 -6
- package/docs/interfaces/Schema-15.html +6 -14
- package/docs/interfaces/Schema-16.html +12 -23
- package/docs/interfaces/TemplateSource.html +395 -0
- package/docs/interfaces/TextEdit.html +395 -0
- package/docs/js/menu-wc.js +9 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +1385 -201
- package/docs/llms.txt +79 -20
- package/docs/miscellaneous/functions.html +6420 -5687
- package/docs/miscellaneous/typealiases.html +22 -0
- package/docs/miscellaneous/variables.html +159 -0
- 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 +1 -1
- package/schematics/migrate-eui-datepicker/index.d.ts +9 -8
- package/schematics/migrate-eui-datepicker/index.js +260 -60
- package/schematics/migrate-eui-datepicker/index.js.map +1 -1
- package/schematics/migrate-eui-datepicker/schema.json +1 -1
|
@@ -140,6 +140,9 @@
|
|
|
140
140
|
<li>
|
|
141
141
|
<a href="#ActionReducerMap" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>ActionReducerMap</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
142
142
|
</li>
|
|
143
|
+
<li>
|
|
144
|
+
<a href="#AdapterKind" title="packages/core/schematics/migrate-eui-datepicker/index.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>AdapterKind</b> (packages/.../index.ts)</span></a>
|
|
145
|
+
</li>
|
|
143
146
|
<li>
|
|
144
147
|
<a href="#AnyFn" title="packages/core/src/lib/services/store/ngrx_kit.ts" class="reference-link "><span class="reference-badge reference-badge--typealias" aria-hidden="true">T</span><span class="reference-link-label"><b>AnyFn</b> (packages/.../ngrx_kit.ts)</span></a>
|
|
145
148
|
</li>
|
|
@@ -338,6 +341,25 @@
|
|
|
338
341
|
</tr>
|
|
339
342
|
</tbody>
|
|
340
343
|
</table>
|
|
344
|
+
</section>
|
|
345
|
+
<h3>packages/core/schematics/migrate-eui-datepicker/index.ts</h3>
|
|
346
|
+
<section data-compodoc="block-typealias">
|
|
347
|
+
<table class="table table-sm table-bordered">
|
|
348
|
+
<tbody>
|
|
349
|
+
<tr>
|
|
350
|
+
<td class="col-md-4">
|
|
351
|
+
<a name="AdapterKind"></a>
|
|
352
|
+
<span class="name "><b>AdapterKind</b><a href="#AdapterKind"><span class="icon ion-ios-link"></span></a></span>
|
|
353
|
+
</td>
|
|
354
|
+
</tr>
|
|
355
|
+
<tr>
|
|
356
|
+
<td class="col-md-4">
|
|
357
|
+
<code> <code>"moment" | "luxon" | "native"</code>
|
|
358
|
+
</code>
|
|
359
|
+
</td>
|
|
360
|
+
</tr>
|
|
361
|
+
</tbody>
|
|
362
|
+
</table>
|
|
341
363
|
</section>
|
|
342
364
|
<h3>packages/core/src/lib/services/store/actions/app.actions.ts</h3>
|
|
343
365
|
<section data-compodoc="block-typealias">
|
|
@@ -152,12 +152,18 @@
|
|
|
152
152
|
<li>
|
|
153
153
|
<a href="#actionToReducerMap" title="packages/core/src/lib/services/store/reducers/user.reducers.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>actionToReducerMap</b> (packages/.../user.reducers.ts)</span></a>
|
|
154
154
|
</li>
|
|
155
|
+
<li>
|
|
156
|
+
<a href="#ADAPTER_PATTERNS" title="packages/core/schematics/migrate-eui-datepicker/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ADAPTER_PATTERNS</b> (packages/.../index.ts)</span></a>
|
|
157
|
+
</li>
|
|
155
158
|
<li>
|
|
156
159
|
<a href="#addApiQueueItem" title="packages/core/src/lib/services/store/reducers/app.reducers.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>addApiQueueItem</b> (packages/.../app.reducers.ts)</span></a>
|
|
157
160
|
</li>
|
|
158
161
|
<li>
|
|
159
162
|
<a href="#AddAppLoadedConfigModules" title="packages/core/src/lib/eui-core.module.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>AddAppLoadedConfigModules</b> (packages/.../eui-core.module.ts)</span></a>
|
|
160
163
|
</li>
|
|
164
|
+
<li>
|
|
165
|
+
<a href="#APP_ROOT_FILE" title="packages/core/schematics/migrate-eui-datepicker/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>APP_ROOT_FILE</b> (packages/.../index.ts)</span></a>
|
|
166
|
+
</li>
|
|
161
167
|
<li>
|
|
162
168
|
<a href="#ATTRIBUTE" title="packages/core/schematics/migrate-ecl-breadcrumb/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>ATTRIBUTE</b> (packages/.../index.ts)</span></a>
|
|
163
169
|
</li>
|
|
@@ -482,9 +488,18 @@
|
|
|
482
488
|
<li>
|
|
483
489
|
<a href="#MODULE_NAME_TOKEN" title="packages/core/src/lib/services/config/tokens.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>MODULE_NAME_TOKEN</b> (packages/.../tokens.ts)</span></a>
|
|
484
490
|
</li>
|
|
491
|
+
<li>
|
|
492
|
+
<a href="#MOMENT_PRESETS" title="packages/core/schematics/migrate-eui-datepicker/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>MOMENT_PRESETS</b> (packages/.../index.ts)</span></a>
|
|
493
|
+
</li>
|
|
494
|
+
<li>
|
|
495
|
+
<a href="#MOMENT_TO_LUXON_TOKENS" title="packages/core/schematics/migrate-eui-datepicker/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>MOMENT_TO_LUXON_TOKENS</b> (packages/.../index.ts)</span></a>
|
|
496
|
+
</li>
|
|
485
497
|
<li>
|
|
486
498
|
<a href="#MULTIPLE_EMPTY_LINES" title="packages/core/schematics/fix-no-multiple-empty-lines/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>MULTIPLE_EMPTY_LINES</b> (packages/.../index.ts)</span></a>
|
|
487
499
|
</li>
|
|
500
|
+
<li>
|
|
501
|
+
<a href="#NESTED_NODE_KEYS" title="packages/core/schematics/migrate-eui-datepicker/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>NESTED_NODE_KEYS</b> (packages/.../index.ts)</span></a>
|
|
502
|
+
</li>
|
|
488
503
|
<li>
|
|
489
504
|
<a href="#NEW_BODY" title="packages/core/schematics/migrate-eui-tabs/index.ts" class="reference-link "><span class="reference-badge reference-badge--variable" aria-hidden="true">V</span><span class="reference-link-label"><b>NEW_BODY</b> (packages/.../index.ts)</span></a>
|
|
490
505
|
</li>
|
|
@@ -1620,6 +1635,150 @@
|
|
|
1620
1635
|
</tr>
|
|
1621
1636
|
|
|
1622
1637
|
|
|
1638
|
+
</tbody>
|
|
1639
|
+
</table>
|
|
1640
|
+
</section>
|
|
1641
|
+
<h3>packages/core/schematics/migrate-eui-datepicker/index.ts</h3>
|
|
1642
|
+
<section data-compodoc="block-properties">
|
|
1643
|
+
<h3></h3> <table class="table table-sm table-bordered">
|
|
1644
|
+
<tbody>
|
|
1645
|
+
<tr>
|
|
1646
|
+
<td class="col-md-4">
|
|
1647
|
+
<a name="ADAPTER_PATTERNS"></a>
|
|
1648
|
+
<span class="name">
|
|
1649
|
+
<span ><b>ADAPTER_PATTERNS</b></span>
|
|
1650
|
+
<a href="#ADAPTER_PATTERNS"><span class="icon ion-ios-link"></span></a>
|
|
1651
|
+
</span>
|
|
1652
|
+
</td>
|
|
1653
|
+
</tr>
|
|
1654
|
+
<tr>
|
|
1655
|
+
<td class="col-md-4">
|
|
1656
|
+
<i>Type : </i> <code><a href="../miscellaneous/typealiases.html#AdapterKind" target="_self" >Record<AdapterKind, RegExp></a></code>
|
|
1657
|
+
|
|
1658
|
+
</td>
|
|
1659
|
+
</tr>
|
|
1660
|
+
<tr>
|
|
1661
|
+
<td class="col-md-4">
|
|
1662
|
+
<i>Default value : </i><code>{
|
|
1663
|
+
moment: /\bprovideMomentDateAdapter\s*\(|\bMomentDateAdapter\b|\bMatMomentDateModule\b/,
|
|
1664
|
+
luxon: /\bprovideLuxonDateAdapter\s*\(|\bLuxonDateAdapter\b|\bMatLuxonDateModule\b/,
|
|
1665
|
+
native: /\bprovideNativeDateAdapter\s*\(|\bNativeDateAdapter\b|\bMatNativeDateModule\b|\bNativeDateModule\b/,
|
|
1666
|
+
}</code>
|
|
1667
|
+
</td>
|
|
1668
|
+
</tr>
|
|
1669
|
+
|
|
1670
|
+
|
|
1671
|
+
</tbody>
|
|
1672
|
+
</table>
|
|
1673
|
+
<table class="table table-sm table-bordered">
|
|
1674
|
+
<tbody>
|
|
1675
|
+
<tr>
|
|
1676
|
+
<td class="col-md-4">
|
|
1677
|
+
<a name="APP_ROOT_FILE"></a>
|
|
1678
|
+
<span class="name">
|
|
1679
|
+
<span ><b>APP_ROOT_FILE</b></span>
|
|
1680
|
+
<a href="#APP_ROOT_FILE"><span class="icon ion-ios-link"></span></a>
|
|
1681
|
+
</span>
|
|
1682
|
+
</td>
|
|
1683
|
+
</tr>
|
|
1684
|
+
<tr>
|
|
1685
|
+
<td class="col-md-4">
|
|
1686
|
+
<i>Type : </i> <code>unknown</code>
|
|
1687
|
+
|
|
1688
|
+
</td>
|
|
1689
|
+
</tr>
|
|
1690
|
+
<tr>
|
|
1691
|
+
<td class="col-md-4">
|
|
1692
|
+
<i>Default value : </i><code>/(^|\/)(app\.config|app\.module|main)\.ts$/</code>
|
|
1693
|
+
</td>
|
|
1694
|
+
</tr>
|
|
1695
|
+
|
|
1696
|
+
|
|
1697
|
+
</tbody>
|
|
1698
|
+
</table>
|
|
1699
|
+
<table class="table table-sm table-bordered">
|
|
1700
|
+
<tbody>
|
|
1701
|
+
<tr>
|
|
1702
|
+
<td class="col-md-4">
|
|
1703
|
+
<a name="MOMENT_PRESETS"></a>
|
|
1704
|
+
<span class="name">
|
|
1705
|
+
<span ><b>MOMENT_PRESETS</b></span>
|
|
1706
|
+
<a href="#MOMENT_PRESETS"><span class="icon ion-ios-link"></span></a>
|
|
1707
|
+
</span>
|
|
1708
|
+
</td>
|
|
1709
|
+
</tr>
|
|
1710
|
+
<tr>
|
|
1711
|
+
<td class="col-md-4">
|
|
1712
|
+
<i>Type : </i> <code>[]</code>
|
|
1713
|
+
|
|
1714
|
+
</td>
|
|
1715
|
+
</tr>
|
|
1716
|
+
<tr>
|
|
1717
|
+
<td class="col-md-4">
|
|
1718
|
+
<i>Default value : </i><code>['DEFAULT_FORMATS', 'LETTER_FORMAT', 'YEAR_FORMAT', 'MONTH_YEAR_FORMAT']</code>
|
|
1719
|
+
</td>
|
|
1720
|
+
</tr>
|
|
1721
|
+
|
|
1722
|
+
|
|
1723
|
+
</tbody>
|
|
1724
|
+
</table>
|
|
1725
|
+
<table class="table table-sm table-bordered">
|
|
1726
|
+
<tbody>
|
|
1727
|
+
<tr>
|
|
1728
|
+
<td class="col-md-4">
|
|
1729
|
+
<a name="MOMENT_TO_LUXON_TOKENS"></a>
|
|
1730
|
+
<span class="name">
|
|
1731
|
+
<span ><b>MOMENT_TO_LUXON_TOKENS</b></span>
|
|
1732
|
+
<a href="#MOMENT_TO_LUXON_TOKENS"><span class="icon ion-ios-link"></span></a>
|
|
1733
|
+
</span>
|
|
1734
|
+
</td>
|
|
1735
|
+
</tr>
|
|
1736
|
+
<tr>
|
|
1737
|
+
<td class="col-md-4">
|
|
1738
|
+
<i>Type : </i> <code>Record<string, string></code>
|
|
1739
|
+
|
|
1740
|
+
</td>
|
|
1741
|
+
</tr>
|
|
1742
|
+
<tr>
|
|
1743
|
+
<td class="col-md-4">
|
|
1744
|
+
<i>Default value : </i><code>{
|
|
1745
|
+
YYYY: 'yyyy', YY: 'yy',
|
|
1746
|
+
MMMM: 'MMMM', MMM: 'MMM', MM: 'MM', M: 'M',
|
|
1747
|
+
DD: 'dd', D: 'd',
|
|
1748
|
+
HH: 'HH', H: 'H', hh: 'hh', h: 'h',
|
|
1749
|
+
mm: 'mm', m: 'm', ss: 'ss', s: 's', SSS: 'SSS',
|
|
1750
|
+
A: 'a',
|
|
1751
|
+
}</code>
|
|
1752
|
+
</td>
|
|
1753
|
+
</tr>
|
|
1754
|
+
|
|
1755
|
+
|
|
1756
|
+
</tbody>
|
|
1757
|
+
</table>
|
|
1758
|
+
<table class="table table-sm table-bordered">
|
|
1759
|
+
<tbody>
|
|
1760
|
+
<tr>
|
|
1761
|
+
<td class="col-md-4">
|
|
1762
|
+
<a name="NESTED_NODE_KEYS"></a>
|
|
1763
|
+
<span class="name">
|
|
1764
|
+
<span ><b>NESTED_NODE_KEYS</b></span>
|
|
1765
|
+
<a href="#NESTED_NODE_KEYS"><span class="icon ion-ios-link"></span></a>
|
|
1766
|
+
</span>
|
|
1767
|
+
</td>
|
|
1768
|
+
</tr>
|
|
1769
|
+
<tr>
|
|
1770
|
+
<td class="col-md-4">
|
|
1771
|
+
<i>Type : </i> <code>[]</code>
|
|
1772
|
+
|
|
1773
|
+
</td>
|
|
1774
|
+
</tr>
|
|
1775
|
+
<tr>
|
|
1776
|
+
<td class="col-md-4">
|
|
1777
|
+
<i>Default value : </i><code>['children', 'branches', 'cases', 'empty', 'placeholder', 'loading', 'error']</code>
|
|
1778
|
+
</td>
|
|
1779
|
+
</tr>
|
|
1780
|
+
|
|
1781
|
+
|
|
1623
1782
|
</tbody>
|
|
1624
1783
|
</table>
|
|
1625
1784
|
</section>
|
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">92 Interfaces</p>
|
|
165
165
|
</div>
|
|
166
166
|
</div>
|
|
167
167
|
</div>
|
package/docs/properties.html
CHANGED
package/migrations.json
CHANGED
|
@@ -177,7 +177,7 @@
|
|
|
177
177
|
},
|
|
178
178
|
"migrate-eui-datepicker": {
|
|
179
179
|
"version": "22.0.0",
|
|
180
|
-
"description": "
|
|
180
|
+
"description": "Migrates eui-datepicker to the moment-free datepicker: replaces moment presets and static dateOutputFormat values with Luxon equivalents when a Luxon adapter is used, reports dateOutputFormat with the native adapter, and reports the moment-locale breaking change.",
|
|
181
181
|
"factory": "./migrate-eui-datepicker/index#migrateEuiDatepicker",
|
|
182
182
|
"schema": "./migrate-eui-datepicker/schema.json"
|
|
183
183
|
}
|
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.71",
|
|
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.71",
|
|
14
14
|
"rxjs": "^7.8.0",
|
|
15
15
|
"extend": "^3.0.2",
|
|
16
16
|
"localforage": "^1.10.0",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"schema": "./migrate-eui-tooltip/schema.json"
|
|
111
111
|
},
|
|
112
112
|
"migrate-eui-datepicker": {
|
|
113
|
-
"description": "
|
|
113
|
+
"description": "Migrates eui-datepicker to the moment-free datepicker: replaces moment presets and static dateOutputFormat values with Luxon equivalents when a Luxon adapter is used, reports dateOutputFormat with the native adapter, and reports the moment-locale breaking change.",
|
|
114
114
|
"factory": "./migrate-eui-datepicker/index#migrateEuiDatepicker",
|
|
115
115
|
"schema": "./migrate-eui-datepicker/schema.json"
|
|
116
116
|
},
|
|
@@ -4,15 +4,16 @@ interface Schema {
|
|
|
4
4
|
dryRun?: boolean;
|
|
5
5
|
}
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
7
|
+
* Migrates eui-datepicker usages to the moment-free datepicker:
|
|
8
|
+
* - moment locales are no longer bundled (report only);
|
|
9
|
+
* - with a Luxon adapter, moment-token presets are replaced by their `LUXON_*` equivalents and static
|
|
10
|
+
* `dateOutputFormat` values are converted to Luxon tokens;
|
|
11
|
+
* - with the native adapter, `dateOutputFormat` is no longer supported (report only).
|
|
8
12
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
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.
|
|
13
|
+
* The adapter is detected from the component file, falling back to the one provided in
|
|
14
|
+
* app.config.ts / app.module.ts / main.ts.
|
|
16
15
|
*/
|
|
17
16
|
export declare function migrateEuiDatepicker(options?: Schema): Rule;
|
|
17
|
+
/** Converts a moment format to Luxon, or returns null when it contains tokens without a safe equivalent. */
|
|
18
|
+
export declare function momentFormatToLuxon(format: string): string | null;
|
|
18
19
|
export {};
|