@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
|
@@ -1,56 +1,277 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.migrateEuiDatepicker = migrateEuiDatepicker;
|
|
4
|
+
exports.momentFormatToLuxon = momentFormatToLuxon;
|
|
4
5
|
const compiler_1 = require("@angular/compiler");
|
|
5
6
|
const dry_run_1 = require("../utils/dry-run");
|
|
7
|
+
const MOMENT_PRESETS = ['DEFAULT_FORMATS', 'LETTER_FORMAT', 'YEAR_FORMAT', 'MONTH_YEAR_FORMAT'];
|
|
8
|
+
const ADAPTER_PATTERNS = {
|
|
9
|
+
moment: /\bprovideMomentDateAdapter\s*\(|\bMomentDateAdapter\b|\bMatMomentDateModule\b/,
|
|
10
|
+
luxon: /\bprovideLuxonDateAdapter\s*\(|\bLuxonDateAdapter\b|\bMatLuxonDateModule\b/,
|
|
11
|
+
native: /\bprovideNativeDateAdapter\s*\(|\bNativeDateAdapter\b|\bMatNativeDateModule\b|\bNativeDateModule\b/,
|
|
12
|
+
};
|
|
13
|
+
const APP_ROOT_FILE = /(^|\/)(app\.config|app\.module|main)\.ts$/;
|
|
14
|
+
// Moment tokens that have an identical-meaning Luxon token. Anything else is left for manual review.
|
|
15
|
+
const MOMENT_TO_LUXON_TOKENS = {
|
|
16
|
+
YYYY: 'yyyy', YY: 'yy',
|
|
17
|
+
MMMM: 'MMMM', MMM: 'MMM', MM: 'MM', M: 'M',
|
|
18
|
+
DD: 'dd', D: 'd',
|
|
19
|
+
HH: 'HH', H: 'H', hh: 'hh', h: 'h',
|
|
20
|
+
mm: 'mm', m: 'm', ss: 'ss', s: 's', SSS: 'SSS',
|
|
21
|
+
A: 'a',
|
|
22
|
+
};
|
|
6
23
|
/**
|
|
7
|
-
*
|
|
24
|
+
* Migrates eui-datepicker usages to the moment-free datepicker:
|
|
25
|
+
* - moment locales are no longer bundled (report only);
|
|
26
|
+
* - with a Luxon adapter, moment-token presets are replaced by their `LUXON_*` equivalents and static
|
|
27
|
+
* `dateOutputFormat` values are converted to Luxon tokens;
|
|
28
|
+
* - with the native adapter, `dateOutputFormat` is no longer supported (report only).
|
|
8
29
|
*
|
|
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.
|
|
30
|
+
* The adapter is detected from the component file, falling back to the one provided in
|
|
31
|
+
* app.config.ts / app.module.ts / main.ts.
|
|
16
32
|
*/
|
|
17
33
|
function migrateEuiDatepicker(options = {}) {
|
|
18
34
|
return (tree, context) => {
|
|
19
35
|
const scanPath = options.path ? '/' + options.path.replace(/^\.?\//, '').replace(/\/$/, '') : '';
|
|
20
|
-
const
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
36
|
+
const files = [];
|
|
37
|
+
visitDir(tree.getDir(scanPath || '/'), (path) => files.push(path));
|
|
38
|
+
reportMomentLocales(tree, context, files);
|
|
39
|
+
const appAdapter = detectAppAdapter(tree, files);
|
|
40
|
+
let editedFiles = 0;
|
|
41
|
+
let manualActions = 0;
|
|
42
|
+
for (const path of files.filter((file) => file.endsWith('.ts'))) {
|
|
43
|
+
const source = tree.read(path)?.toString('utf-8');
|
|
44
|
+
if (!source)
|
|
45
|
+
continue;
|
|
46
|
+
const kinds = adapterKinds(source);
|
|
47
|
+
// A file referencing several adapters is ambiguous; it is not migrated automatically.
|
|
48
|
+
const adapter = kinds.length === 0 ? appAdapter : kinds.length === 1 ? kinds[0] : undefined;
|
|
49
|
+
if (adapter !== 'luxon' && adapter !== 'native')
|
|
50
|
+
continue;
|
|
51
|
+
const fileEdits = new Map();
|
|
52
|
+
const addEdits = (file, edits) => {
|
|
53
|
+
if (edits.length)
|
|
54
|
+
fileEdits.set(file, [...(fileEdits.get(file) ?? []), ...edits]);
|
|
55
|
+
};
|
|
56
|
+
if (adapter === 'luxon') {
|
|
57
|
+
addEdits(path, luxonPresetEdits(source));
|
|
58
|
+
}
|
|
59
|
+
for (const template of componentTemplates(tree, path, source)) {
|
|
60
|
+
for (const usage of findOutputFormatUsages(template.content)) {
|
|
61
|
+
if (adapter === 'native') {
|
|
62
|
+
manualActions++;
|
|
63
|
+
context.logger.warn(` Manual action needed: ${template.file} uses dateOutputFormat with NativeDateAdapter, which is no longer supported. `
|
|
64
|
+
+ 'Keep the Date value and map it to a string in your code (e.g. with Intl.DateTimeFormat), or switch to a moment/Luxon adapter.');
|
|
65
|
+
continue;
|
|
66
|
+
}
|
|
67
|
+
if (usage.staticValue !== undefined && isLikelyLuxonFormat(usage.staticValue))
|
|
68
|
+
continue;
|
|
69
|
+
const converted = usage.staticValue !== undefined ? momentFormatToLuxon(usage.staticValue) : null;
|
|
70
|
+
if (converted === null) {
|
|
71
|
+
manualActions++;
|
|
72
|
+
context.logger.warn(` Manual action needed: ${template.file} uses dateOutputFormat "${usage.staticValue ?? usage.expression}" with LuxonDateAdapter. `
|
|
73
|
+
+ 'dateOutputFormat is now formatted by the adapter: make sure it uses Luxon tokens (e.g. yyyy-MM-dd).');
|
|
74
|
+
}
|
|
75
|
+
else if (converted !== usage.staticValue) {
|
|
76
|
+
addEdits(template.file, [{ start: template.offset + usage.start, end: template.offset + usage.end, text: converted }]);
|
|
77
|
+
}
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
for (const [file, edits] of fileEdits) {
|
|
81
|
+
editedFiles++;
|
|
82
|
+
if (options.dryRun) {
|
|
83
|
+
(0, dry_run_1.logDryRun)(context, `Would migrate eui-datepicker Luxon formats in ${file}`);
|
|
84
|
+
}
|
|
85
|
+
else {
|
|
86
|
+
tree.overwrite(file, applyEdits(tree.read(file).toString('utf-8'), edits));
|
|
87
|
+
context.logger.info(`Migrated eui-datepicker Luxon formats in ${file}`);
|
|
88
|
+
}
|
|
34
89
|
}
|
|
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
90
|
}
|
|
47
|
-
context.logger.info(`eui-datepicker
|
|
91
|
+
context.logger.info(`eui-datepicker adapter migration: ${editedFiles} file(s) updated, ${manualActions} manual action(s) reported.`);
|
|
48
92
|
if (options.dryRun) {
|
|
49
93
|
(0, dry_run_1.logDryRunNote)(context);
|
|
50
94
|
}
|
|
51
95
|
return tree;
|
|
52
96
|
};
|
|
53
97
|
}
|
|
98
|
+
function reportMomentLocales(tree, context, files) {
|
|
99
|
+
const matches = files.filter((path) => {
|
|
100
|
+
const content = tree.read(path)?.toString('utf-8') ?? '';
|
|
101
|
+
if (!content.includes('eui-datepicker'))
|
|
102
|
+
return false;
|
|
103
|
+
return path.endsWith('.html') ? templateUsesDatepicker(content) : inlineTemplates(content).some((t) => templateUsesDatepicker(t.content));
|
|
104
|
+
});
|
|
105
|
+
if (matches.length === 0) {
|
|
106
|
+
context.logger.info('No eui-datepicker usage found; no moment-locale action required.');
|
|
107
|
+
return;
|
|
108
|
+
}
|
|
109
|
+
context.logger.warn('Breaking change: eui-datepicker no longer bundles moment locale data. '
|
|
110
|
+
+ 'Import the moment locales your app uses (e.g. `import \'moment/locale/fr\';`) '
|
|
111
|
+
+ 'in the module/bootstrap where the datepicker is used; otherwise dates fall back '
|
|
112
|
+
+ 'to the active moment locale and may format incorrectly.');
|
|
113
|
+
for (const path of matches) {
|
|
114
|
+
context.logger.warn(` Manual action needed: ${path} uses eui-datepicker — ensure the required moment locale(s) are imported.`);
|
|
115
|
+
}
|
|
116
|
+
context.logger.info(`eui-datepicker moment-locale check: ${matches.length} file(s) use eui-datepicker.`);
|
|
117
|
+
}
|
|
118
|
+
function adapterKinds(source) {
|
|
119
|
+
return Object.keys(ADAPTER_PATTERNS).filter((kind) => ADAPTER_PATTERNS[kind].test(source));
|
|
120
|
+
}
|
|
121
|
+
function detectAppAdapter(tree, files) {
|
|
122
|
+
const kinds = new Set();
|
|
123
|
+
for (const path of files.filter((file) => APP_ROOT_FILE.test(file))) {
|
|
124
|
+
adapterKinds(tree.read(path)?.toString('utf-8') ?? '').forEach((kind) => kinds.add(kind));
|
|
125
|
+
}
|
|
126
|
+
return kinds.size === 1 ? [...kinds][0] : undefined;
|
|
127
|
+
}
|
|
128
|
+
// Moment date formats practically always contain Y or D tokens, which Luxon does not use, so a
|
|
129
|
+
// format without them is treated as already migrated (keeps the schematic idempotent).
|
|
130
|
+
function isLikelyLuxonFormat(format) {
|
|
131
|
+
return !/[YD]/.test(format.replace(/\[[^\]]*\]|'[^']*'/g, ''));
|
|
132
|
+
}
|
|
133
|
+
/** Converts a moment format to Luxon, or returns null when it contains tokens without a safe equivalent. */
|
|
134
|
+
function momentFormatToLuxon(format) {
|
|
135
|
+
let result = '';
|
|
136
|
+
let i = 0;
|
|
137
|
+
while (i < format.length) {
|
|
138
|
+
const char = format[i];
|
|
139
|
+
if (char === '[') {
|
|
140
|
+
const close = format.indexOf(']', i);
|
|
141
|
+
const literal = close === -1 ? null : format.slice(i + 1, close);
|
|
142
|
+
if (literal === null || literal.includes('\''))
|
|
143
|
+
return null;
|
|
144
|
+
result += `'${literal}'`;
|
|
145
|
+
i = close + 1;
|
|
146
|
+
}
|
|
147
|
+
else if (/[A-Za-z]/.test(char)) {
|
|
148
|
+
let end = i;
|
|
149
|
+
while (format[end] === char)
|
|
150
|
+
end++;
|
|
151
|
+
const luxonToken = MOMENT_TO_LUXON_TOKENS[format.slice(i, end)];
|
|
152
|
+
if (luxonToken === undefined)
|
|
153
|
+
return null;
|
|
154
|
+
result += luxonToken;
|
|
155
|
+
i = end;
|
|
156
|
+
}
|
|
157
|
+
else if (char === '\'') {
|
|
158
|
+
return null;
|
|
159
|
+
}
|
|
160
|
+
else {
|
|
161
|
+
result += char;
|
|
162
|
+
i++;
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
return result;
|
|
166
|
+
}
|
|
167
|
+
function luxonPresetEdits(source) {
|
|
168
|
+
const importRegex = /import\s*\{([^}]*)\}\s*from\s*['"]@eui\/components\/eui-datepicker['"]/g;
|
|
169
|
+
const edits = [];
|
|
170
|
+
const renamedLocals = new Set();
|
|
171
|
+
let match;
|
|
172
|
+
while ((match = importRegex.exec(source)) !== null) {
|
|
173
|
+
const clauseStart = match.index + match[0].indexOf('{') + 1;
|
|
174
|
+
const specifierRegex = /\b([A-Z_]+)\b(\s+as\s+\w+)?/g;
|
|
175
|
+
let specifier;
|
|
176
|
+
while ((specifier = specifierRegex.exec(match[1])) !== null) {
|
|
177
|
+
const [, name, alias] = specifier;
|
|
178
|
+
if (!MOMENT_PRESETS.includes(name))
|
|
179
|
+
continue;
|
|
180
|
+
const start = clauseStart + specifier.index;
|
|
181
|
+
edits.push({ start, end: start + name.length, text: `LUXON_${name}` });
|
|
182
|
+
if (!alias)
|
|
183
|
+
renamedLocals.add(name);
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
for (const name of renamedLocals) {
|
|
187
|
+
const usageRegex = new RegExp(`(?<![\\w.$])${name}(?![\\w$])`, 'g');
|
|
188
|
+
let usage;
|
|
189
|
+
while ((usage = usageRegex.exec(source)) !== null) {
|
|
190
|
+
const start = usage.index;
|
|
191
|
+
if (!edits.some((edit) => edit.start === start)) {
|
|
192
|
+
edits.push({ start, end: start + name.length, text: `LUXON_${name}` });
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
return edits;
|
|
197
|
+
}
|
|
198
|
+
function componentTemplates(tree, path, source) {
|
|
199
|
+
const templates = inlineTemplates(source).map((t) => ({ file: path, ...t }));
|
|
200
|
+
const templateUrl = /templateUrl\s*:\s*['"]([^'"]+)['"]/.exec(source)?.[1];
|
|
201
|
+
if (templateUrl) {
|
|
202
|
+
const file = resolvePath(path, templateUrl);
|
|
203
|
+
const content = tree.read(file)?.toString('utf-8');
|
|
204
|
+
if (content !== undefined)
|
|
205
|
+
templates.push({ file, content, offset: 0 });
|
|
206
|
+
}
|
|
207
|
+
return templates.filter((t) => t.content.includes('eui-datepicker'));
|
|
208
|
+
}
|
|
209
|
+
function inlineTemplates(source) {
|
|
210
|
+
const templateRegex = /template\s*:\s*`([^`]*)`/gs;
|
|
211
|
+
const templates = [];
|
|
212
|
+
let match;
|
|
213
|
+
while ((match = templateRegex.exec(source)) !== null) {
|
|
214
|
+
templates.push({ content: match[1], offset: match.index + match[0].length - 1 - match[1].length });
|
|
215
|
+
}
|
|
216
|
+
return templates;
|
|
217
|
+
}
|
|
218
|
+
function findOutputFormatUsages(template) {
|
|
219
|
+
const usages = [];
|
|
220
|
+
let nodes;
|
|
221
|
+
try {
|
|
222
|
+
nodes = (0, compiler_1.parseTemplate)(template, '', { preserveWhitespaces: true }).nodes;
|
|
223
|
+
}
|
|
224
|
+
catch {
|
|
225
|
+
return usages;
|
|
226
|
+
}
|
|
227
|
+
forEachDatepicker(nodes, (element) => {
|
|
228
|
+
for (const attribute of element.attributes) {
|
|
229
|
+
if (attribute.name === 'dateOutputFormat' && attribute.valueSpan) {
|
|
230
|
+
usages.push({ staticValue: attribute.value, start: attribute.valueSpan.start.offset, end: attribute.valueSpan.end.offset });
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
for (const binding of element.inputs) {
|
|
234
|
+
if (binding.name === 'dateOutputFormat') {
|
|
235
|
+
usages.push({ expression: binding.valueSpan?.toString() ?? binding.name, start: binding.sourceSpan.start.offset, end: binding.sourceSpan.end.offset });
|
|
236
|
+
}
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
return usages;
|
|
240
|
+
}
|
|
241
|
+
// Elements keep their children in `children`; control-flow blocks nest them under branches, cases,
|
|
242
|
+
// the @for empty block and the @defer sub-blocks.
|
|
243
|
+
const NESTED_NODE_KEYS = ['children', 'branches', 'cases', 'empty', 'placeholder', 'loading', 'error'];
|
|
244
|
+
function forEachDatepicker(nodes, callback) {
|
|
245
|
+
for (const node of nodes) {
|
|
246
|
+
if (node instanceof compiler_1.TmplAstElement && node.name === 'eui-datepicker') {
|
|
247
|
+
callback(node);
|
|
248
|
+
}
|
|
249
|
+
for (const key of NESTED_NODE_KEYS) {
|
|
250
|
+
const nested = node[key];
|
|
251
|
+
if (Array.isArray(nested)) {
|
|
252
|
+
forEachDatepicker(nested, callback);
|
|
253
|
+
}
|
|
254
|
+
else if (nested && typeof nested === 'object') {
|
|
255
|
+
forEachDatepicker([nested], callback);
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
}
|
|
260
|
+
function applyEdits(content, edits) {
|
|
261
|
+
return [...edits]
|
|
262
|
+
.sort((a, b) => b.start - a.start)
|
|
263
|
+
.reduce((result, edit) => result.slice(0, edit.start) + edit.text + result.slice(edit.end), content);
|
|
264
|
+
}
|
|
265
|
+
function resolvePath(fromFile, relative) {
|
|
266
|
+
const segments = fromFile.split('/').slice(0, -1);
|
|
267
|
+
for (const part of relative.split('/')) {
|
|
268
|
+
if (part === '..')
|
|
269
|
+
segments.pop();
|
|
270
|
+
else if (part !== '.' && part !== '')
|
|
271
|
+
segments.push(part);
|
|
272
|
+
}
|
|
273
|
+
return segments.join('/');
|
|
274
|
+
}
|
|
54
275
|
function visitDir(dir, callback) {
|
|
55
276
|
for (const file of dir.subfiles) {
|
|
56
277
|
if (file.endsWith('.d.ts'))
|
|
@@ -66,36 +287,15 @@ function visitDir(dir, callback) {
|
|
|
66
287
|
}
|
|
67
288
|
}
|
|
68
289
|
function templateUsesDatepicker(source) {
|
|
290
|
+
let nodes;
|
|
69
291
|
try {
|
|
70
|
-
|
|
71
|
-
return nodesContainDatepicker(parsed.nodes);
|
|
292
|
+
nodes = (0, compiler_1.parseTemplate)(source, '', { preserveWhitespaces: true }).nodes;
|
|
72
293
|
}
|
|
73
294
|
catch {
|
|
74
|
-
// Fall back to a substring check if the template cannot be parsed.
|
|
75
295
|
return source.includes('eui-datepicker');
|
|
76
296
|
}
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
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;
|
|
297
|
+
let found = false;
|
|
298
|
+
forEachDatepicker(nodes, () => (found = true));
|
|
299
|
+
return found;
|
|
100
300
|
}
|
|
101
301
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../schematics/migrate-eui-datepicker/index.ts"],"names":[],"mappings":";;AAoBA,oDA2CC;AA/DD,gDAA+E;AAE/E,8CAAiD;AAOjD;;;;;;;;;;GAUG;AACH,SAAgB,oBAAoB,CAAC,UAAkB,EAAE;IACvD,OAAO,CAAC,IAAU,EAAE,OAAyB,EAAE,EAAE;QAC/C,MAAM,QAAQ,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,CAAC;QACjG,MAAM,OAAO,GAAa,EAAE,CAAC;QAE7B,MAAM,GAAG,GAAG,IAAI,CAAC,MAAM,CAAC,QAAQ,IAAI,GAAG,CAAC,CAAC;QACzC,QAAQ,CAAC,GAAG,EA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C,MAAc;IAC5C,IAAI,KAAoB,CAAC;IACzB,IAAI,CAAC;QACH,KAAK,GAAG,IAAA,wBAAa,EAAC,MAAM,EAAE,EAAE,EAAE,EAAE,mBAAmB,EAAE,IAAI,EAAE,CAAC,CAAC,KAAK,CAAC;IACzE,CAAC;IAAC,MAAM,CAAC;QACP,OAAO,MAAM,CAAC,QAAQ,CAAC,gBAAgB,CAAC,CAAC;IAC3C,CAAC;IACD,IAAI,KAAK,GAAG,KAAK,CAAC;IAClB,iBAAiB,CAAC,KAAK,EAAE,GAAG,EAAE,CAAC,CAAC,KAAK,GAAG,IAAI,CAAC,CAAC,CAAC;IAC/C,OAAO,KAAK,CAAC;AACf,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "http://json-schema.org/schema",
|
|
3
3
|
"$id": "MigrateEuiDatepickerSchema",
|
|
4
|
-
"title": "Migrate EUI datepicker moment-
|
|
4
|
+
"title": "Migrate EUI datepicker to the moment-free datepicker",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"properties": {
|
|
7
7
|
"path": {
|