@eui/core 23.0.0-alpha.5 → 23.0.0-alpha.6
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 +62 -0
- package/docs/changelog.html +57 -0
- package/docs/interfaces/Edit-3.html +395 -0
- package/docs/interfaces/Schema-13.html +1 -1
- package/docs/interfaces/Schema-14.html +1 -1
- package/docs/interfaces/Schema-15.html +1 -1
- package/docs/interfaces/Schema-16.html +1 -1
- package/docs/interfaces/Schema-18.html +1 -1
- package/docs/interfaces/Schema-19.html +1 -1
- package/docs/interfaces/Schema-20.html +1 -1
- package/docs/interfaces/Schema-21.html +368 -0
- package/docs/interfaces/Schema-4.html +1 -1
- package/docs/interfaces/Schema-5.html +1 -1
- package/docs/interfaces/Schema-6.html +1 -1
- package/docs/js/menu-wc.js +6 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +879 -95
- package/docs/llms.txt +89 -54
- package/docs/miscellaneous/functions.html +673 -157
- package/docs/miscellaneous/variables.html +94 -33
- package/docs/overview.html +1 -1
- package/docs/properties.html +1 -1
- package/package.json +2 -2
- package/schematics/collection.json +5 -0
- package/schematics/migrate-all/index.js +1 -0
- package/schematics/migrate-all/index.js.map +1 -1
- package/schematics/migrate-eui-tooltip/index.d.ts +7 -0
- package/schematics/migrate-eui-tooltip/index.js +263 -0
- package/schematics/migrate-eui-tooltip/index.js.map +1 -0
|
@@ -966,6 +966,65 @@
|
|
|
966
966
|
"outgoing": []
|
|
967
967
|
}
|
|
968
968
|
},
|
|
969
|
+
{
|
|
970
|
+
"name": "Edit",
|
|
971
|
+
"id": "interface-Edit-d36032102ed30a7ada1e3d36bb9ca41b7234b855760cac9783a25818f7ffe2097e1ebd8e808b574ddec0760f827272f6cd561f45f3eb1578f87f39ee2633730a-3",
|
|
972
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
973
|
+
"deprecated": false,
|
|
974
|
+
"deprecationMessage": "",
|
|
975
|
+
"type": "interface",
|
|
976
|
+
"sourceCode": "import { DirEntry, Rule, SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\nimport { logDryRun, logDryRunNote } from '../utils/dry-run';\n\ninterface Schema {\n path?: string;\n dryRun?: boolean;\n}\n\ninterface Edit {\n start: number;\n end: number;\n replacement: string;\n}\n\nconst OLD_CLASS = 'EuiTooltipConfig';\nconst NEW_INTERFACE = 'EuiTooltipInterface';\n\nexport function migrateEuiTooltip(options: Schema = {}): Rule {\n return (tree: Tree, context: SchematicContext) => {\n const scanPath = options.path ? '/' + options.path.replace(/^\\.?\\//, '').replace(/\\/$/, '') : '';\n let fileCount = 0;\n\n visitDir(tree.getDir(scanPath || '/'), (path) => {\n if (!path.endsWith('.ts')) return;\n\n const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes(OLD_CLASS)) return;\n\n const result = migrateTypeScript(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate EuiTooltipConfig → EuiTooltipInterface in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated EuiTooltipConfig → EuiTooltipInterface in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTypeScript(source: string, filePath: string, context: SchematicContext): string {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const edits: Edit[] = [];\n\n // Track if EuiTooltipInterface is already imported\n let hasInterfaceImport = false;\n let classImportDecl: ts.ImportDeclaration | null = null;\n let classImportModuleSpecifier: string | null = null;\n\n // First pass: analyze imports\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) continue;\n const namedBindings = stmt.importClause?.namedBindings;\n if (!namedBindings || !ts.isNamedImports(namedBindings)) continue;\n\n for (const specifier of namedBindings.elements) {\n if (specifier.name.text === NEW_INTERFACE) {\n hasInterfaceImport = true;\n }\n if (specifier.name.text === OLD_CLASS) {\n classImportDecl = stmt;\n classImportModuleSpecifier = (stmt.moduleSpecifier as ts.StringLiteral).text;\n }\n }\n }\n\n // Second pass: handle import declarations\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) continue;\n const namedBindings = stmt.importClause?.namedBindings;\n if (!namedBindings || !ts.isNamedImports(namedBindings)) continue;\n\n const specifiers = namedBindings.elements;\n const classSpecifier = specifiers.find((s) => s.name.text === OLD_CLASS);\n if (!classSpecifier) continue;\n\n if (hasInterfaceImport) {\n // EuiTooltipInterface is already imported elsewhere → remove EuiTooltipConfig from this import\n removeImportSpecifier(namedBindings, classSpecifier, sourceFile, edits);\n } else {\n // Rename EuiTooltipConfig → EuiTooltipInterface in the import\n edits.push({\n start: classSpecifier.name.getStart(sourceFile),\n end: classSpecifier.name.getEnd(),\n replacement: NEW_INTERFACE,\n });\n hasInterfaceImport = true;\n }\n }\n\n // Third pass: replace `new EuiTooltipConfig(...)` → spread/cast to interface\n const visitNewExpressions = (node: ts.Node): void => {\n if (ts.isNewExpression(node) && ts.isIdentifier(node.expression) && node.expression.text === OLD_CLASS) {\n const args = node.arguments;\n if (args && args.length === 1) {\n const arg = args[0];\n // `new EuiTooltipConfig({ ... })` → `{ ... } as EuiTooltipInterface`\n // But if the argument is just a variable, we keep it: `varName as EuiTooltipInterface`\n const argText = source.slice(arg.getStart(sourceFile), arg.getEnd());\n\n if (ts.isObjectLiteralExpression(arg)) {\n // Inline object: `new EuiTooltipConfig({ x: 1 })` → `{ x: 1 }`\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: argText,\n });\n } else {\n // Variable or expression: `new EuiTooltipConfig(opts)` → `opts`\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: argText,\n });\n }\n } else if (!args || args.length === 0) {\n // `new EuiTooltipConfig()` → `{} as EuiTooltipInterface`\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: `{} as ${NEW_INTERFACE}`,\n });\n }\n return; // don't recurse into children we've already replaced\n }\n ts.forEachChild(node, visitNewExpressions);\n };\n\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) {\n visitNewExpressions(stmt);\n }\n }\n\n // Fourth pass: rename all remaining identifier references (type annotations, etc.)\n const visitRefs = (node: ts.Node): void => {\n if (ts.isImportDeclaration(node)) return;\n // Skip nodes we already covered in new expressions\n if (ts.isNewExpression(node) && ts.isIdentifier(node.expression) && node.expression.text === OLD_CLASS) return;\n\n if (ts.isIdentifier(node) && node.text === OLD_CLASS) {\n // Ensure this is not part of an import declaration\n if (!isPartOfImport(node)) {\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: NEW_INTERFACE,\n });\n }\n }\n ts.forEachChild(node, visitRefs);\n };\n\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) {\n visitRefs(stmt);\n }\n }\n\n return applyEdits(source, edits);\n}\n\nfunction isPartOfImport(node: ts.Node): boolean {\n let current: ts.Node | undefined = node.parent;\n while (current) {\n if (ts.isImportDeclaration(current)) return true;\n current = current.parent;\n }\n return false;\n}\n\nfunction removeImportSpecifier(\n namedImports: ts.NamedImports,\n specifier: ts.ImportSpecifier,\n sourceFile: ts.SourceFile,\n edits: Edit[],\n): void {\n const elements = namedImports.elements;\n if (elements.length === 1) {\n // Remove the entire import declaration\n const importDecl = namedImports.parent.parent;\n let end = importDecl.getEnd();\n // Also remove trailing newline if present\n const fullText = sourceFile.getFullText();\n if (fullText[end] === '\\n') end++;\n edits.push({\n start: importDecl.getStart(sourceFile),\n end,\n replacement: '',\n });\n } else {\n // Remove just this specifier with surrounding comma/whitespace\n const idx = elements.indexOf(specifier);\n let start: number;\n let end: number;\n if (idx < elements.length - 1) {\n // Not the last → remove from this specifier start to next specifier start\n start = specifier.getStart(sourceFile);\n end = elements[idx + 1].getStart(sourceFile);\n } else {\n // Last element → remove from previous element end to this end\n start = elements[idx - 1].getEnd();\n end = specifier.getEnd();\n }\n edits.push({ start, end, replacement: '' });\n }\n}\n\nfunction applyEdits(source: string, edits: Edit[]): string {\n const unique = deduplicateEdits(edits);\n let result = source;\n for (const edit of unique.sort((a, b) => b.start - a.start)) {\n result = result.slice(0, edit.start) + edit.replacement + result.slice(edit.end);\n }\n return result;\n}\n\nfunction deduplicateEdits(edits: Edit[]): Edit[] {\n const seen = new Map<string, Edit>();\n for (const edit of edits) {\n const key = `${edit.start}:${edit.end}`;\n seen.set(key, edit);\n }\n return Array.from(seen.values());\n}\n\nfunction visitDir(dir: DirEntry, callback: (path: string) => void): void {\n for (const file of dir.subfiles) {\n if (file.endsWith('.d.ts')) continue;\n if (!file.endsWith('.ts')) continue;\n callback(`${dir.path}/${file}`);\n }\n for (const sub of dir.subdirs) {\n if (sub === 'node_modules' || sub === 'dist') continue;\n visitDir(dir.dir(sub), callback);\n }\n}\n",
|
|
977
|
+
"displayName": "Edit",
|
|
978
|
+
"properties": [
|
|
979
|
+
{
|
|
980
|
+
"name": "end",
|
|
981
|
+
"coverageIgnore": false,
|
|
982
|
+
"deprecated": false,
|
|
983
|
+
"deprecationMessage": "",
|
|
984
|
+
"type": "number",
|
|
985
|
+
"indexKey": "",
|
|
986
|
+
"optional": false,
|
|
987
|
+
"description": "",
|
|
988
|
+
"line": 12,
|
|
989
|
+
"rawdescription": "\n"
|
|
990
|
+
},
|
|
991
|
+
{
|
|
992
|
+
"name": "replacement",
|
|
993
|
+
"coverageIgnore": false,
|
|
994
|
+
"deprecated": false,
|
|
995
|
+
"deprecationMessage": "",
|
|
996
|
+
"type": "string",
|
|
997
|
+
"indexKey": "",
|
|
998
|
+
"optional": false,
|
|
999
|
+
"description": "",
|
|
1000
|
+
"line": 13,
|
|
1001
|
+
"rawdescription": "\n"
|
|
1002
|
+
},
|
|
1003
|
+
{
|
|
1004
|
+
"name": "start",
|
|
1005
|
+
"coverageIgnore": false,
|
|
1006
|
+
"deprecated": false,
|
|
1007
|
+
"deprecationMessage": "",
|
|
1008
|
+
"type": "number",
|
|
1009
|
+
"indexKey": "",
|
|
1010
|
+
"optional": false,
|
|
1011
|
+
"description": "",
|
|
1012
|
+
"line": 11,
|
|
1013
|
+
"rawdescription": "\n"
|
|
1014
|
+
}
|
|
1015
|
+
],
|
|
1016
|
+
"indexSignatures": [],
|
|
1017
|
+
"kind": 172,
|
|
1018
|
+
"methods": [],
|
|
1019
|
+
"extends": [],
|
|
1020
|
+
"isDuplicate": true,
|
|
1021
|
+
"duplicateId": 3,
|
|
1022
|
+
"duplicateName": "Edit-3",
|
|
1023
|
+
"relationships": {
|
|
1024
|
+
"incoming": [],
|
|
1025
|
+
"outgoing": []
|
|
1026
|
+
}
|
|
1027
|
+
},
|
|
969
1028
|
{
|
|
970
1029
|
"name": "EuiComponentEntry",
|
|
971
1030
|
"id": "interface-EuiComponentEntry-e1068f4f156ce8f48ed51476e062ee969ff7e7d064af3045181da54f7aba582003387dd6cf5412d907b9637791a85232c11b467fbdfa8c5545d9e7c3e181e873",
|
|
@@ -1583,12 +1642,12 @@
|
|
|
1583
1642
|
},
|
|
1584
1643
|
{
|
|
1585
1644
|
"name": "MigrateAllSchema",
|
|
1586
|
-
"id": "interface-MigrateAllSchema-
|
|
1645
|
+
"id": "interface-MigrateAllSchema-37175caf2db4e728d285d5a8d2261bef3f77ac6b132960846be25241de1387993b11f30e57a3c71bb7a5a5b2b8ebcae465c22562e7b570e634ab547299274e59",
|
|
1587
1646
|
"file": "packages/core/schematics/migrate-all/index.ts",
|
|
1588
1647
|
"deprecated": false,
|
|
1589
1648
|
"deprecationMessage": "",
|
|
1590
1649
|
"type": "interface",
|
|
1591
|
-
"sourceCode": "import { Rule, chain, schematic } from '@angular-devkit/schematics';\n\nexport interface MigrateAllSchema {\n path?: string;\n dryRun?: boolean;\n mwp?: boolean;\n useClassArray?: boolean;\n}\n\nexport function migrateAll(options: MigrateAllSchema): Rule {\n const base = { path: options.path || './src', dryRun: options.dryRun || false };\n\n return chain([\n schematic('migrate', { ...base, mwp: options.mwp || false }),\n schematic('migrate-eui-tabs', base),\n schematic('migrate-to-standalone', base),\n schematic('migrate-eui-alert', base),\n schematic('migrate-eui-progress-circle', base),\n schematic('migrate-eui-popover', base),\n schematic('migrate-eui-icon-toggle', base),\n schematic('migrate-eui-icon-svg', base),\n schematic('migrate-eui-fieldset', base),\n schematic('migrate-eui-avatar', base),\n schematic('migrate-eui-editor', base),\n schematic('migrate-eui-discussion-thread', base),\n schematic('migrate-eui-button', base),\n schematic('migrate-eui-accent', base),\n schematic('migrate-eui-toolbar-menu', base),\n schematic('migrate-eui-table', base),\n schematic('migrate-eui-chip-list', base),\n schematic('migrate-eui-chip', base),\n schematic('add-eui-imports', { ...base, useClassArray: options.useClassArray || false }),\n schematic('fix-no-multiple-empty-lines', base),\n ]);\n}\n",
|
|
1650
|
+
"sourceCode": "import { Rule, chain, schematic } from '@angular-devkit/schematics';\n\nexport interface MigrateAllSchema {\n path?: string;\n dryRun?: boolean;\n mwp?: boolean;\n useClassArray?: boolean;\n}\n\nexport function migrateAll(options: MigrateAllSchema): Rule {\n const base = { path: options.path || './src', dryRun: options.dryRun || false };\n\n return chain([\n schematic('migrate', { ...base, mwp: options.mwp || false }),\n schematic('migrate-eui-tabs', base),\n schematic('migrate-to-standalone', base),\n schematic('migrate-eui-alert', base),\n schematic('migrate-eui-progress-circle', base),\n schematic('migrate-eui-popover', base),\n schematic('migrate-eui-icon-toggle', base),\n schematic('migrate-eui-icon-svg', base),\n schematic('migrate-eui-fieldset', base),\n schematic('migrate-eui-avatar', base),\n schematic('migrate-eui-editor', base),\n schematic('migrate-eui-discussion-thread', base),\n schematic('migrate-eui-button', base),\n schematic('migrate-eui-accent', base),\n schematic('migrate-eui-toolbar-menu', base),\n schematic('migrate-eui-table', base),\n schematic('migrate-eui-chip-list', base),\n schematic('migrate-eui-chip', base),\n schematic('migrate-eui-tooltip', base),\n schematic('add-eui-imports', { ...base, useClassArray: options.useClassArray || false }),\n schematic('fix-no-multiple-empty-lines', base),\n ]);\n}\n",
|
|
1592
1651
|
"displayName": "MigrateAllSchema",
|
|
1593
1652
|
"properties": [
|
|
1594
1653
|
{
|
|
@@ -2033,12 +2092,12 @@
|
|
|
2033
2092
|
},
|
|
2034
2093
|
{
|
|
2035
2094
|
"name": "Schema",
|
|
2036
|
-
"id": "interface-Schema-
|
|
2037
|
-
"file": "packages/core/schematics/
|
|
2095
|
+
"id": "interface-Schema-5cd6db1920bd5b70a44c0b8a7f7e30f600bfd16a9950f218e6d451a1755ced95b462ef9a62ee87e39bcb8c392981b8d2597895bf0a272fd8aea71f03429ed976-1",
|
|
2096
|
+
"file": "packages/core/schematics/icon-migrate/schema.ts",
|
|
2038
2097
|
"deprecated": false,
|
|
2039
2098
|
"deprecationMessage": "",
|
|
2040
2099
|
"type": "interface",
|
|
2041
|
-
"sourceCode": "
|
|
2100
|
+
"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",
|
|
2042
2101
|
"displayName": "Schema",
|
|
2043
2102
|
"properties": [
|
|
2044
2103
|
{
|
|
@@ -2049,9 +2108,9 @@
|
|
|
2049
2108
|
"type": "boolean",
|
|
2050
2109
|
"indexKey": "",
|
|
2051
2110
|
"optional": true,
|
|
2052
|
-
"description": "",
|
|
2053
|
-
"line":
|
|
2054
|
-
"rawdescription": "\
|
|
2111
|
+
"description": "<p>Whether to perform a dry run without making changes</p>\n",
|
|
2112
|
+
"line": 5,
|
|
2113
|
+
"rawdescription": "\nWhether to perform a dry run without making changes"
|
|
2055
2114
|
},
|
|
2056
2115
|
{
|
|
2057
2116
|
"name": "path",
|
|
@@ -2061,9 +2120,9 @@
|
|
|
2061
2120
|
"type": "string",
|
|
2062
2121
|
"indexKey": "",
|
|
2063
2122
|
"optional": true,
|
|
2064
|
-
"description": "",
|
|
2065
|
-
"line":
|
|
2066
|
-
"rawdescription": "\
|
|
2123
|
+
"description": "<p>The path to scan for files to migrate</p>\n",
|
|
2124
|
+
"line": 3,
|
|
2125
|
+
"rawdescription": "\nThe path to scan for files to migrate"
|
|
2067
2126
|
}
|
|
2068
2127
|
],
|
|
2069
2128
|
"indexSignatures": [],
|
|
@@ -2080,12 +2139,12 @@
|
|
|
2080
2139
|
},
|
|
2081
2140
|
{
|
|
2082
2141
|
"name": "Schema",
|
|
2083
|
-
"id": "interface-Schema-
|
|
2084
|
-
"file": "packages/core/schematics/
|
|
2142
|
+
"id": "interface-Schema-56b9fe60701ca349dc90e152829b0a18bb7a8a9bb303c4bac05f9764cd2e933cce0879775ca17168b4c881e202d0258af3668a2a3a1b940e561f7e4b2349b5cc-2",
|
|
2143
|
+
"file": "packages/core/schematics/migrate/schema.ts",
|
|
2085
2144
|
"deprecated": false,
|
|
2086
2145
|
"deprecationMessage": "",
|
|
2087
2146
|
"type": "interface",
|
|
2088
|
-
"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",
|
|
2147
|
+
"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",
|
|
2089
2148
|
"displayName": "Schema",
|
|
2090
2149
|
"properties": [
|
|
2091
2150
|
{
|
|
@@ -2097,9 +2156,21 @@
|
|
|
2097
2156
|
"indexKey": "",
|
|
2098
2157
|
"optional": true,
|
|
2099
2158
|
"description": "<p>Whether to perform a dry run without making changes</p>\n",
|
|
2100
|
-
"line":
|
|
2159
|
+
"line": 7,
|
|
2101
2160
|
"rawdescription": "\nWhether to perform a dry run without making changes"
|
|
2102
2161
|
},
|
|
2162
|
+
{
|
|
2163
|
+
"name": "mwp",
|
|
2164
|
+
"coverageIgnore": false,
|
|
2165
|
+
"deprecated": false,
|
|
2166
|
+
"deprecationMessage": "",
|
|
2167
|
+
"type": "boolean",
|
|
2168
|
+
"indexKey": "",
|
|
2169
|
+
"optional": true,
|
|
2170
|
+
"description": "<p>Whether to apply MyWorkplace-specific replacements</p>\n",
|
|
2171
|
+
"line": 5,
|
|
2172
|
+
"rawdescription": "\nWhether to apply MyWorkplace-specific replacements"
|
|
2173
|
+
},
|
|
2103
2174
|
{
|
|
2104
2175
|
"name": "path",
|
|
2105
2176
|
"coverageIgnore": false,
|
|
@@ -2127,12 +2198,12 @@
|
|
|
2127
2198
|
},
|
|
2128
2199
|
{
|
|
2129
2200
|
"name": "Schema",
|
|
2130
|
-
"id": "interface-Schema-
|
|
2131
|
-
"file": "packages/core/schematics/
|
|
2201
|
+
"id": "interface-Schema-4fe31ff3e9f1d34845a6b865d605e215f33552094b88c3d0eab0b180187fe64ce4d68d687516cb3d62c57d2678a103969b2dacbb18a49b26060f78096678fcce-3",
|
|
2202
|
+
"file": "packages/core/schematics/fix-no-multiple-empty-lines/index.ts",
|
|
2132
2203
|
"deprecated": false,
|
|
2133
2204
|
"deprecationMessage": "",
|
|
2134
2205
|
"type": "interface",
|
|
2135
|
-
"sourceCode": "
|
|
2206
|
+
"sourceCode": "import { DirEntry, Rule, SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\nimport { logDryRun, logDryRunNote } from '../utils/dry-run';\n\ninterface Schema {\n path?: string;\n dryRun?: boolean;\n}\n\nconst MULTIPLE_EMPTY_LINES = /\\n{3,}/g;\n\nexport function fixNoMultipleEmptyLines(options: Schema = {}): Rule {\n return (tree: Tree, context: SchematicContext) => {\n const scanPath = options.path ? '/' + options.path.replace(/^\\.?\\//, '').replace(/\\/$/, '') : '';\n let count = 0;\n\n const dir = tree.getDir(scanPath || '/');\n visitDir(dir, (filePath) => {\n const buffer = tree.read(filePath);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n const result = original.replace(MULTIPLE_EMPTY_LINES, '\\n\\n');\n\n if (result !== original) {\n if (filePath.endsWith('.ts')) {\n const sourceFile = ts.createSourceFile(filePath, result, ts.ScriptTarget.Latest, true);\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n if ((sourceFile as any).parseDiagnostics?.length) {\n context.logger.warn(`Skipping ${filePath}: file would not parse after transformation.`);\n return;\n }\n }\n if (options.dryRun) {\n logDryRun(context, `Would collapse multiple empty lines in ${filePath}`);\n } else {\n tree.overwrite(filePath, result);\n }\n count++;\n }\n });\n\n context.logger.info(`Fixed multiple empty lines in ${count} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction visitDir(dir: DirEntry, callback: (path: string) => void): void {\n for (const file of dir.subfiles) {\n if (file.endsWith('.d.ts')) continue;\n if (!file.endsWith('.ts') && !file.endsWith('.html') && !file.endsWith('.scss') && !file.endsWith('.css')) continue;\n callback(`${dir.path}/${file}`);\n }\n for (const sub of dir.subdirs) {\n if (sub === 'node_modules' || sub === 'dist') continue;\n visitDir(dir.dir(sub), callback);\n }\n}\n",
|
|
2136
2207
|
"displayName": "Schema",
|
|
2137
2208
|
"properties": [
|
|
2138
2209
|
{
|
|
@@ -2143,21 +2214,9 @@
|
|
|
2143
2214
|
"type": "boolean",
|
|
2144
2215
|
"indexKey": "",
|
|
2145
2216
|
"optional": true,
|
|
2146
|
-
"description": "
|
|
2217
|
+
"description": "",
|
|
2147
2218
|
"line": 7,
|
|
2148
|
-
"rawdescription": "\
|
|
2149
|
-
},
|
|
2150
|
-
{
|
|
2151
|
-
"name": "mwp",
|
|
2152
|
-
"coverageIgnore": false,
|
|
2153
|
-
"deprecated": false,
|
|
2154
|
-
"deprecationMessage": "",
|
|
2155
|
-
"type": "boolean",
|
|
2156
|
-
"indexKey": "",
|
|
2157
|
-
"optional": true,
|
|
2158
|
-
"description": "<p>Whether to apply MyWorkplace-specific replacements</p>\n",
|
|
2159
|
-
"line": 5,
|
|
2160
|
-
"rawdescription": "\nWhether to apply MyWorkplace-specific replacements"
|
|
2219
|
+
"rawdescription": "\n"
|
|
2161
2220
|
},
|
|
2162
2221
|
{
|
|
2163
2222
|
"name": "path",
|
|
@@ -2167,9 +2226,9 @@
|
|
|
2167
2226
|
"type": "string",
|
|
2168
2227
|
"indexKey": "",
|
|
2169
2228
|
"optional": true,
|
|
2170
|
-
"description": "
|
|
2171
|
-
"line":
|
|
2172
|
-
"rawdescription": "\
|
|
2229
|
+
"description": "",
|
|
2230
|
+
"line": 6,
|
|
2231
|
+
"rawdescription": "\n"
|
|
2173
2232
|
}
|
|
2174
2233
|
],
|
|
2175
2234
|
"indexSignatures": [],
|
|
@@ -2938,7 +2997,54 @@
|
|
|
2938
2997
|
},
|
|
2939
2998
|
{
|
|
2940
2999
|
"name": "Schema",
|
|
2941
|
-
"id": "interface-Schema-
|
|
3000
|
+
"id": "interface-Schema-d36032102ed30a7ada1e3d36bb9ca41b7234b855760cac9783a25818f7ffe2097e1ebd8e808b574ddec0760f827272f6cd561f45f3eb1578f87f39ee2633730a-20",
|
|
3001
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
3002
|
+
"deprecated": false,
|
|
3003
|
+
"deprecationMessage": "",
|
|
3004
|
+
"type": "interface",
|
|
3005
|
+
"sourceCode": "import { DirEntry, Rule, SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\nimport { logDryRun, logDryRunNote } from '../utils/dry-run';\n\ninterface Schema {\n path?: string;\n dryRun?: boolean;\n}\n\ninterface Edit {\n start: number;\n end: number;\n replacement: string;\n}\n\nconst OLD_CLASS = 'EuiTooltipConfig';\nconst NEW_INTERFACE = 'EuiTooltipInterface';\n\nexport function migrateEuiTooltip(options: Schema = {}): Rule {\n return (tree: Tree, context: SchematicContext) => {\n const scanPath = options.path ? '/' + options.path.replace(/^\\.?\\//, '').replace(/\\/$/, '') : '';\n let fileCount = 0;\n\n visitDir(tree.getDir(scanPath || '/'), (path) => {\n if (!path.endsWith('.ts')) return;\n\n const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes(OLD_CLASS)) return;\n\n const result = migrateTypeScript(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate EuiTooltipConfig → EuiTooltipInterface in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated EuiTooltipConfig → EuiTooltipInterface in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTypeScript(source: string, filePath: string, context: SchematicContext): string {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const edits: Edit[] = [];\n\n // Track if EuiTooltipInterface is already imported\n let hasInterfaceImport = false;\n let classImportDecl: ts.ImportDeclaration | null = null;\n let classImportModuleSpecifier: string | null = null;\n\n // First pass: analyze imports\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) continue;\n const namedBindings = stmt.importClause?.namedBindings;\n if (!namedBindings || !ts.isNamedImports(namedBindings)) continue;\n\n for (const specifier of namedBindings.elements) {\n if (specifier.name.text === NEW_INTERFACE) {\n hasInterfaceImport = true;\n }\n if (specifier.name.text === OLD_CLASS) {\n classImportDecl = stmt;\n classImportModuleSpecifier = (stmt.moduleSpecifier as ts.StringLiteral).text;\n }\n }\n }\n\n // Second pass: handle import declarations\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) continue;\n const namedBindings = stmt.importClause?.namedBindings;\n if (!namedBindings || !ts.isNamedImports(namedBindings)) continue;\n\n const specifiers = namedBindings.elements;\n const classSpecifier = specifiers.find((s) => s.name.text === OLD_CLASS);\n if (!classSpecifier) continue;\n\n if (hasInterfaceImport) {\n // EuiTooltipInterface is already imported elsewhere → remove EuiTooltipConfig from this import\n removeImportSpecifier(namedBindings, classSpecifier, sourceFile, edits);\n } else {\n // Rename EuiTooltipConfig → EuiTooltipInterface in the import\n edits.push({\n start: classSpecifier.name.getStart(sourceFile),\n end: classSpecifier.name.getEnd(),\n replacement: NEW_INTERFACE,\n });\n hasInterfaceImport = true;\n }\n }\n\n // Third pass: replace `new EuiTooltipConfig(...)` → spread/cast to interface\n const visitNewExpressions = (node: ts.Node): void => {\n if (ts.isNewExpression(node) && ts.isIdentifier(node.expression) && node.expression.text === OLD_CLASS) {\n const args = node.arguments;\n if (args && args.length === 1) {\n const arg = args[0];\n // `new EuiTooltipConfig({ ... })` → `{ ... } as EuiTooltipInterface`\n // But if the argument is just a variable, we keep it: `varName as EuiTooltipInterface`\n const argText = source.slice(arg.getStart(sourceFile), arg.getEnd());\n\n if (ts.isObjectLiteralExpression(arg)) {\n // Inline object: `new EuiTooltipConfig({ x: 1 })` → `{ x: 1 }`\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: argText,\n });\n } else {\n // Variable or expression: `new EuiTooltipConfig(opts)` → `opts`\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: argText,\n });\n }\n } else if (!args || args.length === 0) {\n // `new EuiTooltipConfig()` → `{} as EuiTooltipInterface`\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: `{} as ${NEW_INTERFACE}`,\n });\n }\n return; // don't recurse into children we've already replaced\n }\n ts.forEachChild(node, visitNewExpressions);\n };\n\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) {\n visitNewExpressions(stmt);\n }\n }\n\n // Fourth pass: rename all remaining identifier references (type annotations, etc.)\n const visitRefs = (node: ts.Node): void => {\n if (ts.isImportDeclaration(node)) return;\n // Skip nodes we already covered in new expressions\n if (ts.isNewExpression(node) && ts.isIdentifier(node.expression) && node.expression.text === OLD_CLASS) return;\n\n if (ts.isIdentifier(node) && node.text === OLD_CLASS) {\n // Ensure this is not part of an import declaration\n if (!isPartOfImport(node)) {\n edits.push({\n start: node.getStart(sourceFile),\n end: node.getEnd(),\n replacement: NEW_INTERFACE,\n });\n }\n }\n ts.forEachChild(node, visitRefs);\n };\n\n for (const stmt of sourceFile.statements) {\n if (!ts.isImportDeclaration(stmt)) {\n visitRefs(stmt);\n }\n }\n\n return applyEdits(source, edits);\n}\n\nfunction isPartOfImport(node: ts.Node): boolean {\n let current: ts.Node | undefined = node.parent;\n while (current) {\n if (ts.isImportDeclaration(current)) return true;\n current = current.parent;\n }\n return false;\n}\n\nfunction removeImportSpecifier(\n namedImports: ts.NamedImports,\n specifier: ts.ImportSpecifier,\n sourceFile: ts.SourceFile,\n edits: Edit[],\n): void {\n const elements = namedImports.elements;\n if (elements.length === 1) {\n // Remove the entire import declaration\n const importDecl = namedImports.parent.parent;\n let end = importDecl.getEnd();\n // Also remove trailing newline if present\n const fullText = sourceFile.getFullText();\n if (fullText[end] === '\\n') end++;\n edits.push({\n start: importDecl.getStart(sourceFile),\n end,\n replacement: '',\n });\n } else {\n // Remove just this specifier with surrounding comma/whitespace\n const idx = elements.indexOf(specifier);\n let start: number;\n let end: number;\n if (idx < elements.length - 1) {\n // Not the last → remove from this specifier start to next specifier start\n start = specifier.getStart(sourceFile);\n end = elements[idx + 1].getStart(sourceFile);\n } else {\n // Last element → remove from previous element end to this end\n start = elements[idx - 1].getEnd();\n end = specifier.getEnd();\n }\n edits.push({ start, end, replacement: '' });\n }\n}\n\nfunction applyEdits(source: string, edits: Edit[]): string {\n const unique = deduplicateEdits(edits);\n let result = source;\n for (const edit of unique.sort((a, b) => b.start - a.start)) {\n result = result.slice(0, edit.start) + edit.replacement + result.slice(edit.end);\n }\n return result;\n}\n\nfunction deduplicateEdits(edits: Edit[]): Edit[] {\n const seen = new Map<string, Edit>();\n for (const edit of edits) {\n const key = `${edit.start}:${edit.end}`;\n seen.set(key, edit);\n }\n return Array.from(seen.values());\n}\n\nfunction visitDir(dir: DirEntry, callback: (path: string) => void): void {\n for (const file of dir.subfiles) {\n if (file.endsWith('.d.ts')) continue;\n if (!file.endsWith('.ts')) continue;\n callback(`${dir.path}/${file}`);\n }\n for (const sub of dir.subdirs) {\n if (sub === 'node_modules' || sub === 'dist') continue;\n visitDir(dir.dir(sub), callback);\n }\n}\n",
|
|
3006
|
+
"displayName": "Schema",
|
|
3007
|
+
"properties": [
|
|
3008
|
+
{
|
|
3009
|
+
"name": "dryRun",
|
|
3010
|
+
"coverageIgnore": false,
|
|
3011
|
+
"deprecated": false,
|
|
3012
|
+
"deprecationMessage": "",
|
|
3013
|
+
"type": "boolean",
|
|
3014
|
+
"indexKey": "",
|
|
3015
|
+
"optional": true,
|
|
3016
|
+
"description": "",
|
|
3017
|
+
"line": 7,
|
|
3018
|
+
"rawdescription": "\n"
|
|
3019
|
+
},
|
|
3020
|
+
{
|
|
3021
|
+
"name": "path",
|
|
3022
|
+
"coverageIgnore": false,
|
|
3023
|
+
"deprecated": false,
|
|
3024
|
+
"deprecationMessage": "",
|
|
3025
|
+
"type": "string",
|
|
3026
|
+
"indexKey": "",
|
|
3027
|
+
"optional": true,
|
|
3028
|
+
"description": "",
|
|
3029
|
+
"line": 6,
|
|
3030
|
+
"rawdescription": "\n"
|
|
3031
|
+
}
|
|
3032
|
+
],
|
|
3033
|
+
"indexSignatures": [],
|
|
3034
|
+
"kind": 172,
|
|
3035
|
+
"methods": [],
|
|
3036
|
+
"extends": [],
|
|
3037
|
+
"isDuplicate": true,
|
|
3038
|
+
"duplicateId": 20,
|
|
3039
|
+
"duplicateName": "Schema-20",
|
|
3040
|
+
"relationships": {
|
|
3041
|
+
"incoming": [],
|
|
3042
|
+
"outgoing": []
|
|
3043
|
+
}
|
|
3044
|
+
},
|
|
3045
|
+
{
|
|
3046
|
+
"name": "Schema",
|
|
3047
|
+
"id": "interface-Schema-817c4b549cc3eab9fcf4936acab2e71182d90a4480369f5c003cbbda10792efa587ad99d65acf049f64e7030e32589e4fabc4a6d7a5621e4fe54725ef91dc9e8-21",
|
|
2942
3048
|
"file": "packages/core/schematics/migrate-to-standalone/index.ts",
|
|
2943
3049
|
"deprecated": false,
|
|
2944
3050
|
"deprecationMessage": "",
|
|
@@ -2976,8 +3082,8 @@
|
|
|
2976
3082
|
"methods": [],
|
|
2977
3083
|
"extends": [],
|
|
2978
3084
|
"isDuplicate": true,
|
|
2979
|
-
"duplicateId":
|
|
2980
|
-
"duplicateName": "Schema-
|
|
3085
|
+
"duplicateId": 21,
|
|
3086
|
+
"duplicateName": "Schema-21",
|
|
2981
3087
|
"relationships": {
|
|
2982
3088
|
"incoming": [],
|
|
2983
3089
|
"outgoing": []
|
|
@@ -22865,6 +22971,17 @@
|
|
|
22865
22971
|
"type": "string",
|
|
22866
22972
|
"defaultValue": "'EuiMenuItem'"
|
|
22867
22973
|
},
|
|
22974
|
+
{
|
|
22975
|
+
"name": "NEW_INTERFACE",
|
|
22976
|
+
"ctype": "miscellaneous",
|
|
22977
|
+
"subtype": "variable",
|
|
22978
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
22979
|
+
"coverageIgnore": false,
|
|
22980
|
+
"deprecated": false,
|
|
22981
|
+
"deprecationMessage": "",
|
|
22982
|
+
"type": "string",
|
|
22983
|
+
"defaultValue": "'EuiTooltipInterface'"
|
|
22984
|
+
},
|
|
22868
22985
|
{
|
|
22869
22986
|
"name": "NEW_INTERFACE_PATH",
|
|
22870
22987
|
"ctype": "miscellaneous",
|
|
@@ -22966,6 +23083,17 @@
|
|
|
22966
23083
|
"rawdescription": "Provides read-only equivalent of jQuery's offset function:\nhttp://api.jquery.com/offset/",
|
|
22967
23084
|
"description": "<p>Provides read-only equivalent of jQuery's offset function:\n<a href=\"http://api.jquery.com/offset/\">http://api.jquery.com/offset/</a></p>\n"
|
|
22968
23085
|
},
|
|
23086
|
+
{
|
|
23087
|
+
"name": "OLD_CLASS",
|
|
23088
|
+
"ctype": "miscellaneous",
|
|
23089
|
+
"subtype": "variable",
|
|
23090
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
23091
|
+
"coverageIgnore": false,
|
|
23092
|
+
"deprecated": false,
|
|
23093
|
+
"deprecationMessage": "",
|
|
23094
|
+
"type": "string",
|
|
23095
|
+
"defaultValue": "'EuiTooltipConfig'"
|
|
23096
|
+
},
|
|
22969
23097
|
{
|
|
22970
23098
|
"name": "OLD_COMPONENT",
|
|
22971
23099
|
"ctype": "miscellaneous",
|
|
@@ -24454,6 +24582,51 @@
|
|
|
24454
24582
|
}
|
|
24455
24583
|
]
|
|
24456
24584
|
},
|
|
24585
|
+
{
|
|
24586
|
+
"name": "applyEdits",
|
|
24587
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
24588
|
+
"ctype": "miscellaneous",
|
|
24589
|
+
"subtype": "function",
|
|
24590
|
+
"coverageIgnore": false,
|
|
24591
|
+
"deprecated": false,
|
|
24592
|
+
"deprecationMessage": "",
|
|
24593
|
+
"rawdescription": "",
|
|
24594
|
+
"description": "",
|
|
24595
|
+
"displayName": "applyEdits",
|
|
24596
|
+
"args": [
|
|
24597
|
+
{
|
|
24598
|
+
"name": "source",
|
|
24599
|
+
"type": "string",
|
|
24600
|
+
"deprecated": false,
|
|
24601
|
+
"deprecationMessage": ""
|
|
24602
|
+
},
|
|
24603
|
+
{
|
|
24604
|
+
"name": "edits",
|
|
24605
|
+
"deprecated": false,
|
|
24606
|
+
"deprecationMessage": ""
|
|
24607
|
+
}
|
|
24608
|
+
],
|
|
24609
|
+
"returnType": "string",
|
|
24610
|
+
"jsdoctags": [
|
|
24611
|
+
{
|
|
24612
|
+
"name": "source",
|
|
24613
|
+
"type": "string",
|
|
24614
|
+
"deprecated": false,
|
|
24615
|
+
"deprecationMessage": "",
|
|
24616
|
+
"tagName": {
|
|
24617
|
+
"text": "param"
|
|
24618
|
+
}
|
|
24619
|
+
},
|
|
24620
|
+
{
|
|
24621
|
+
"name": "edits",
|
|
24622
|
+
"deprecated": false,
|
|
24623
|
+
"deprecationMessage": "",
|
|
24624
|
+
"tagName": {
|
|
24625
|
+
"text": "param"
|
|
24626
|
+
}
|
|
24627
|
+
}
|
|
24628
|
+
]
|
|
24629
|
+
},
|
|
24457
24630
|
{
|
|
24458
24631
|
"name": "applyReplacements",
|
|
24459
24632
|
"file": "packages/core/schematics/migrate-to-standalone/index.ts",
|
|
@@ -26419,6 +26592,36 @@
|
|
|
26419
26592
|
}
|
|
26420
26593
|
]
|
|
26421
26594
|
},
|
|
26595
|
+
{
|
|
26596
|
+
"name": "deduplicateEdits",
|
|
26597
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
26598
|
+
"ctype": "miscellaneous",
|
|
26599
|
+
"subtype": "function",
|
|
26600
|
+
"coverageIgnore": false,
|
|
26601
|
+
"deprecated": false,
|
|
26602
|
+
"deprecationMessage": "",
|
|
26603
|
+
"rawdescription": "",
|
|
26604
|
+
"description": "",
|
|
26605
|
+
"displayName": "deduplicateEdits",
|
|
26606
|
+
"args": [
|
|
26607
|
+
{
|
|
26608
|
+
"name": "edits",
|
|
26609
|
+
"deprecated": false,
|
|
26610
|
+
"deprecationMessage": ""
|
|
26611
|
+
}
|
|
26612
|
+
],
|
|
26613
|
+
"returnType": "Edit[]",
|
|
26614
|
+
"jsdoctags": [
|
|
26615
|
+
{
|
|
26616
|
+
"name": "edits",
|
|
26617
|
+
"deprecated": false,
|
|
26618
|
+
"deprecationMessage": "",
|
|
26619
|
+
"tagName": {
|
|
26620
|
+
"text": "param"
|
|
26621
|
+
}
|
|
26622
|
+
}
|
|
26623
|
+
]
|
|
26624
|
+
},
|
|
26422
26625
|
{
|
|
26423
26626
|
"name": "defaultMemoize",
|
|
26424
26627
|
"file": "packages/core/src/lib/services/store/ngrx_kit.ts",
|
|
@@ -29428,8 +29631,8 @@
|
|
|
29428
29631
|
]
|
|
29429
29632
|
},
|
|
29430
29633
|
{
|
|
29431
|
-
"name": "
|
|
29432
|
-
"file": "packages/core/
|
|
29634
|
+
"name": "isPartOfImport",
|
|
29635
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
29433
29636
|
"ctype": "miscellaneous",
|
|
29434
29637
|
"subtype": "function",
|
|
29435
29638
|
"coverageIgnore": false,
|
|
@@ -29437,18 +29640,18 @@
|
|
|
29437
29640
|
"deprecationMessage": "",
|
|
29438
29641
|
"rawdescription": "",
|
|
29439
29642
|
"description": "",
|
|
29440
|
-
"displayName": "
|
|
29643
|
+
"displayName": "isPartOfImport",
|
|
29441
29644
|
"args": [
|
|
29442
29645
|
{
|
|
29443
|
-
"name": "
|
|
29646
|
+
"name": "node",
|
|
29444
29647
|
"deprecated": false,
|
|
29445
29648
|
"deprecationMessage": ""
|
|
29446
29649
|
}
|
|
29447
29650
|
],
|
|
29448
|
-
"returnType": "
|
|
29651
|
+
"returnType": "boolean",
|
|
29449
29652
|
"jsdoctags": [
|
|
29450
29653
|
{
|
|
29451
|
-
"name": "
|
|
29654
|
+
"name": "node",
|
|
29452
29655
|
"deprecated": false,
|
|
29453
29656
|
"deprecationMessage": "",
|
|
29454
29657
|
"tagName": {
|
|
@@ -29458,8 +29661,8 @@
|
|
|
29458
29661
|
]
|
|
29459
29662
|
},
|
|
29460
29663
|
{
|
|
29461
|
-
"name": "
|
|
29462
|
-
"file": "packages/core/
|
|
29664
|
+
"name": "isSelectorsDictionary",
|
|
29665
|
+
"file": "packages/core/src/lib/services/store/ngrx_kit.ts",
|
|
29463
29666
|
"ctype": "miscellaneous",
|
|
29464
29667
|
"subtype": "function",
|
|
29465
29668
|
"coverageIgnore": false,
|
|
@@ -29467,18 +29670,18 @@
|
|
|
29467
29670
|
"deprecationMessage": "",
|
|
29468
29671
|
"rawdescription": "",
|
|
29469
29672
|
"description": "",
|
|
29470
|
-
"displayName": "
|
|
29673
|
+
"displayName": "isSelectorsDictionary",
|
|
29471
29674
|
"args": [
|
|
29472
29675
|
{
|
|
29473
|
-
"name": "
|
|
29676
|
+
"name": "selectors",
|
|
29474
29677
|
"deprecated": false,
|
|
29475
29678
|
"deprecationMessage": ""
|
|
29476
29679
|
}
|
|
29477
29680
|
],
|
|
29478
|
-
"returnType": "
|
|
29681
|
+
"returnType": "Record<string | Selector<unknown, unknown>>",
|
|
29479
29682
|
"jsdoctags": [
|
|
29480
29683
|
{
|
|
29481
|
-
"name": "
|
|
29684
|
+
"name": "selectors",
|
|
29482
29685
|
"deprecated": false,
|
|
29483
29686
|
"deprecationMessage": "",
|
|
29484
29687
|
"tagName": {
|
|
@@ -29489,7 +29692,37 @@
|
|
|
29489
29692
|
},
|
|
29490
29693
|
{
|
|
29491
29694
|
"name": "isTemplateProperty",
|
|
29492
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
29695
|
+
"file": "packages/core/schematics/migrate-eui-accent/index.ts",
|
|
29696
|
+
"ctype": "miscellaneous",
|
|
29697
|
+
"subtype": "function",
|
|
29698
|
+
"coverageIgnore": false,
|
|
29699
|
+
"deprecated": false,
|
|
29700
|
+
"deprecationMessage": "",
|
|
29701
|
+
"rawdescription": "",
|
|
29702
|
+
"description": "",
|
|
29703
|
+
"displayName": "isTemplateProperty",
|
|
29704
|
+
"args": [
|
|
29705
|
+
{
|
|
29706
|
+
"name": "node",
|
|
29707
|
+
"deprecated": false,
|
|
29708
|
+
"deprecationMessage": ""
|
|
29709
|
+
}
|
|
29710
|
+
],
|
|
29711
|
+
"returnType": "boolean",
|
|
29712
|
+
"jsdoctags": [
|
|
29713
|
+
{
|
|
29714
|
+
"name": "node",
|
|
29715
|
+
"deprecated": false,
|
|
29716
|
+
"deprecationMessage": "",
|
|
29717
|
+
"tagName": {
|
|
29718
|
+
"text": "param"
|
|
29719
|
+
}
|
|
29720
|
+
}
|
|
29721
|
+
]
|
|
29722
|
+
},
|
|
29723
|
+
{
|
|
29724
|
+
"name": "isTemplateProperty",
|
|
29725
|
+
"file": "packages/core/schematics/migrate-eui-button/index.ts",
|
|
29493
29726
|
"ctype": "miscellaneous",
|
|
29494
29727
|
"subtype": "function",
|
|
29495
29728
|
"coverageIgnore": false,
|
|
@@ -31193,6 +31426,40 @@
|
|
|
31193
31426
|
}
|
|
31194
31427
|
]
|
|
31195
31428
|
},
|
|
31429
|
+
{
|
|
31430
|
+
"name": "migrateEuiTooltip",
|
|
31431
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
31432
|
+
"ctype": "miscellaneous",
|
|
31433
|
+
"subtype": "function",
|
|
31434
|
+
"coverageIgnore": false,
|
|
31435
|
+
"deprecated": false,
|
|
31436
|
+
"deprecationMessage": "",
|
|
31437
|
+
"rawdescription": "",
|
|
31438
|
+
"description": "",
|
|
31439
|
+
"displayName": "migrateEuiTooltip",
|
|
31440
|
+
"args": [
|
|
31441
|
+
{
|
|
31442
|
+
"name": "options",
|
|
31443
|
+
"type": "Schema",
|
|
31444
|
+
"deprecated": false,
|
|
31445
|
+
"deprecationMessage": "",
|
|
31446
|
+
"defaultValue": "{}"
|
|
31447
|
+
}
|
|
31448
|
+
],
|
|
31449
|
+
"returnType": "Rule",
|
|
31450
|
+
"jsdoctags": [
|
|
31451
|
+
{
|
|
31452
|
+
"name": "options",
|
|
31453
|
+
"type": "Schema",
|
|
31454
|
+
"deprecated": false,
|
|
31455
|
+
"deprecationMessage": "",
|
|
31456
|
+
"defaultValue": "{}",
|
|
31457
|
+
"tagName": {
|
|
31458
|
+
"text": "param"
|
|
31459
|
+
}
|
|
31460
|
+
}
|
|
31461
|
+
]
|
|
31462
|
+
},
|
|
31196
31463
|
{
|
|
31197
31464
|
"name": "migrateImportsAndTypes",
|
|
31198
31465
|
"file": "packages/core/schematics/migrate-eui-toolbar-menu/index.ts",
|
|
@@ -32617,6 +32884,68 @@
|
|
|
32617
32884
|
}
|
|
32618
32885
|
]
|
|
32619
32886
|
},
|
|
32887
|
+
{
|
|
32888
|
+
"name": "migrateTypeScript",
|
|
32889
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
32890
|
+
"ctype": "miscellaneous",
|
|
32891
|
+
"subtype": "function",
|
|
32892
|
+
"coverageIgnore": false,
|
|
32893
|
+
"deprecated": false,
|
|
32894
|
+
"deprecationMessage": "",
|
|
32895
|
+
"rawdescription": "",
|
|
32896
|
+
"description": "",
|
|
32897
|
+
"displayName": "migrateTypeScript",
|
|
32898
|
+
"args": [
|
|
32899
|
+
{
|
|
32900
|
+
"name": "source",
|
|
32901
|
+
"type": "string",
|
|
32902
|
+
"deprecated": false,
|
|
32903
|
+
"deprecationMessage": ""
|
|
32904
|
+
},
|
|
32905
|
+
{
|
|
32906
|
+
"name": "filePath",
|
|
32907
|
+
"type": "string",
|
|
32908
|
+
"deprecated": false,
|
|
32909
|
+
"deprecationMessage": ""
|
|
32910
|
+
},
|
|
32911
|
+
{
|
|
32912
|
+
"name": "context",
|
|
32913
|
+
"type": "SchematicContext",
|
|
32914
|
+
"deprecated": false,
|
|
32915
|
+
"deprecationMessage": ""
|
|
32916
|
+
}
|
|
32917
|
+
],
|
|
32918
|
+
"returnType": "string",
|
|
32919
|
+
"jsdoctags": [
|
|
32920
|
+
{
|
|
32921
|
+
"name": "source",
|
|
32922
|
+
"type": "string",
|
|
32923
|
+
"deprecated": false,
|
|
32924
|
+
"deprecationMessage": "",
|
|
32925
|
+
"tagName": {
|
|
32926
|
+
"text": "param"
|
|
32927
|
+
}
|
|
32928
|
+
},
|
|
32929
|
+
{
|
|
32930
|
+
"name": "filePath",
|
|
32931
|
+
"type": "string",
|
|
32932
|
+
"deprecated": false,
|
|
32933
|
+
"deprecationMessage": "",
|
|
32934
|
+
"tagName": {
|
|
32935
|
+
"text": "param"
|
|
32936
|
+
}
|
|
32937
|
+
},
|
|
32938
|
+
{
|
|
32939
|
+
"name": "context",
|
|
32940
|
+
"type": "SchematicContext",
|
|
32941
|
+
"deprecated": false,
|
|
32942
|
+
"deprecationMessage": "",
|
|
32943
|
+
"tagName": {
|
|
32944
|
+
"text": "param"
|
|
32945
|
+
}
|
|
32946
|
+
}
|
|
32947
|
+
]
|
|
32948
|
+
},
|
|
32620
32949
|
{
|
|
32621
32950
|
"name": "parseSelector",
|
|
32622
32951
|
"file": "packages/core/schematics/add-eui-imports/selector-map.ts",
|
|
@@ -33063,6 +33392,75 @@
|
|
|
33063
33392
|
}
|
|
33064
33393
|
]
|
|
33065
33394
|
},
|
|
33395
|
+
{
|
|
33396
|
+
"name": "removeImportSpecifier",
|
|
33397
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
33398
|
+
"ctype": "miscellaneous",
|
|
33399
|
+
"subtype": "function",
|
|
33400
|
+
"coverageIgnore": false,
|
|
33401
|
+
"deprecated": false,
|
|
33402
|
+
"deprecationMessage": "",
|
|
33403
|
+
"rawdescription": "",
|
|
33404
|
+
"description": "",
|
|
33405
|
+
"displayName": "removeImportSpecifier",
|
|
33406
|
+
"args": [
|
|
33407
|
+
{
|
|
33408
|
+
"name": "namedImports",
|
|
33409
|
+
"deprecated": false,
|
|
33410
|
+
"deprecationMessage": ""
|
|
33411
|
+
},
|
|
33412
|
+
{
|
|
33413
|
+
"name": "specifier",
|
|
33414
|
+
"deprecated": false,
|
|
33415
|
+
"deprecationMessage": ""
|
|
33416
|
+
},
|
|
33417
|
+
{
|
|
33418
|
+
"name": "sourceFile",
|
|
33419
|
+
"deprecated": false,
|
|
33420
|
+
"deprecationMessage": ""
|
|
33421
|
+
},
|
|
33422
|
+
{
|
|
33423
|
+
"name": "edits",
|
|
33424
|
+
"deprecated": false,
|
|
33425
|
+
"deprecationMessage": ""
|
|
33426
|
+
}
|
|
33427
|
+
],
|
|
33428
|
+
"returnType": "void",
|
|
33429
|
+
"jsdoctags": [
|
|
33430
|
+
{
|
|
33431
|
+
"name": "namedImports",
|
|
33432
|
+
"deprecated": false,
|
|
33433
|
+
"deprecationMessage": "",
|
|
33434
|
+
"tagName": {
|
|
33435
|
+
"text": "param"
|
|
33436
|
+
}
|
|
33437
|
+
},
|
|
33438
|
+
{
|
|
33439
|
+
"name": "specifier",
|
|
33440
|
+
"deprecated": false,
|
|
33441
|
+
"deprecationMessage": "",
|
|
33442
|
+
"tagName": {
|
|
33443
|
+
"text": "param"
|
|
33444
|
+
}
|
|
33445
|
+
},
|
|
33446
|
+
{
|
|
33447
|
+
"name": "sourceFile",
|
|
33448
|
+
"deprecated": false,
|
|
33449
|
+
"deprecationMessage": "",
|
|
33450
|
+
"tagName": {
|
|
33451
|
+
"text": "param"
|
|
33452
|
+
}
|
|
33453
|
+
},
|
|
33454
|
+
{
|
|
33455
|
+
"name": "edits",
|
|
33456
|
+
"deprecated": false,
|
|
33457
|
+
"deprecationMessage": "",
|
|
33458
|
+
"tagName": {
|
|
33459
|
+
"text": "param"
|
|
33460
|
+
}
|
|
33461
|
+
}
|
|
33462
|
+
]
|
|
33463
|
+
},
|
|
33066
33464
|
{
|
|
33067
33465
|
"name": "renameTsProperties",
|
|
33068
33466
|
"file": "packages/core/schematics/migrate-eui-table/index.ts",
|
|
@@ -35229,7 +35627,7 @@
|
|
|
35229
35627
|
},
|
|
35230
35628
|
{
|
|
35231
35629
|
"name": "visitDir",
|
|
35232
|
-
"file": "packages/core/schematics/migrate-
|
|
35630
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
35233
35631
|
"ctype": "miscellaneous",
|
|
35234
35632
|
"subtype": "function",
|
|
35235
35633
|
"coverageIgnore": false,
|
|
@@ -35273,8 +35671,8 @@
|
|
|
35273
35671
|
]
|
|
35274
35672
|
},
|
|
35275
35673
|
{
|
|
35276
|
-
"name": "
|
|
35277
|
-
"file": "packages/core/schematics/migrate-
|
|
35674
|
+
"name": "visitDir",
|
|
35675
|
+
"file": "packages/core/schematics/migrate-to-standalone/index.ts",
|
|
35278
35676
|
"ctype": "miscellaneous",
|
|
35279
35677
|
"subtype": "function",
|
|
35280
35678
|
"coverageIgnore": false,
|
|
@@ -35282,16 +35680,16 @@
|
|
|
35282
35680
|
"deprecationMessage": "",
|
|
35283
35681
|
"rawdescription": "",
|
|
35284
35682
|
"description": "",
|
|
35285
|
-
"displayName": "
|
|
35683
|
+
"displayName": "visitDir",
|
|
35286
35684
|
"args": [
|
|
35287
35685
|
{
|
|
35288
|
-
"name": "
|
|
35289
|
-
"type": "
|
|
35686
|
+
"name": "dir",
|
|
35687
|
+
"type": "DirEntry",
|
|
35290
35688
|
"deprecated": false,
|
|
35291
35689
|
"deprecationMessage": ""
|
|
35292
35690
|
},
|
|
35293
35691
|
{
|
|
35294
|
-
"name": "
|
|
35692
|
+
"name": "callback",
|
|
35295
35693
|
"deprecated": false,
|
|
35296
35694
|
"deprecationMessage": ""
|
|
35297
35695
|
}
|
|
@@ -35299,8 +35697,8 @@
|
|
|
35299
35697
|
"returnType": "void",
|
|
35300
35698
|
"jsdoctags": [
|
|
35301
35699
|
{
|
|
35302
|
-
"name": "
|
|
35303
|
-
"type": "
|
|
35700
|
+
"name": "dir",
|
|
35701
|
+
"type": "DirEntry",
|
|
35304
35702
|
"deprecated": false,
|
|
35305
35703
|
"deprecationMessage": "",
|
|
35306
35704
|
"tagName": {
|
|
@@ -35308,7 +35706,7 @@
|
|
|
35308
35706
|
}
|
|
35309
35707
|
},
|
|
35310
35708
|
{
|
|
35311
|
-
"name": "
|
|
35709
|
+
"name": "callback",
|
|
35312
35710
|
"deprecated": false,
|
|
35313
35711
|
"deprecationMessage": "",
|
|
35314
35712
|
"tagName": {
|
|
@@ -35318,8 +35716,8 @@
|
|
|
35318
35716
|
]
|
|
35319
35717
|
},
|
|
35320
35718
|
{
|
|
35321
|
-
"name": "
|
|
35322
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
35719
|
+
"name": "visitExpressionForPipes",
|
|
35720
|
+
"file": "packages/core/schematics/migrate-eui-table/index.ts",
|
|
35323
35721
|
"ctype": "miscellaneous",
|
|
35324
35722
|
"subtype": "function",
|
|
35325
35723
|
"coverageIgnore": false,
|
|
@@ -35327,10 +35725,11 @@
|
|
|
35327
35725
|
"deprecationMessage": "",
|
|
35328
35726
|
"rawdescription": "",
|
|
35329
35727
|
"description": "",
|
|
35330
|
-
"displayName": "
|
|
35728
|
+
"displayName": "visitExpressionForPipes",
|
|
35331
35729
|
"args": [
|
|
35332
35730
|
{
|
|
35333
|
-
"name": "
|
|
35731
|
+
"name": "expr",
|
|
35732
|
+
"type": "AST",
|
|
35334
35733
|
"deprecated": false,
|
|
35335
35734
|
"deprecationMessage": ""
|
|
35336
35735
|
},
|
|
@@ -35343,7 +35742,8 @@
|
|
|
35343
35742
|
"returnType": "void",
|
|
35344
35743
|
"jsdoctags": [
|
|
35345
35744
|
{
|
|
35346
|
-
"name": "
|
|
35745
|
+
"name": "expr",
|
|
35746
|
+
"type": "AST",
|
|
35347
35747
|
"deprecated": false,
|
|
35348
35748
|
"deprecationMessage": "",
|
|
35349
35749
|
"tagName": {
|
|
@@ -35362,7 +35762,7 @@
|
|
|
35362
35762
|
},
|
|
35363
35763
|
{
|
|
35364
35764
|
"name": "visitNodes",
|
|
35365
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
35765
|
+
"file": "packages/core/schematics/migrate-eui-accent/index.ts",
|
|
35366
35766
|
"ctype": "miscellaneous",
|
|
35367
35767
|
"subtype": "function",
|
|
35368
35768
|
"coverageIgnore": false,
|
|
@@ -35378,7 +35778,7 @@
|
|
|
35378
35778
|
"deprecationMessage": ""
|
|
35379
35779
|
},
|
|
35380
35780
|
{
|
|
35381
|
-
"name": "
|
|
35781
|
+
"name": "edits",
|
|
35382
35782
|
"deprecated": false,
|
|
35383
35783
|
"deprecationMessage": ""
|
|
35384
35784
|
}
|
|
@@ -35394,7 +35794,7 @@
|
|
|
35394
35794
|
}
|
|
35395
35795
|
},
|
|
35396
35796
|
{
|
|
35397
|
-
"name": "
|
|
35797
|
+
"name": "edits",
|
|
35398
35798
|
"deprecated": false,
|
|
35399
35799
|
"deprecationMessage": "",
|
|
35400
35800
|
"tagName": {
|
|
@@ -35405,7 +35805,7 @@
|
|
|
35405
35805
|
},
|
|
35406
35806
|
{
|
|
35407
35807
|
"name": "visitNodes",
|
|
35408
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
35808
|
+
"file": "packages/core/schematics/migrate-eui-alert/index.ts",
|
|
35409
35809
|
"ctype": "miscellaneous",
|
|
35410
35810
|
"subtype": "function",
|
|
35411
35811
|
"coverageIgnore": false,
|
|
@@ -35448,7 +35848,7 @@
|
|
|
35448
35848
|
},
|
|
35449
35849
|
{
|
|
35450
35850
|
"name": "visitNodes",
|
|
35451
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
35851
|
+
"file": "packages/core/schematics/migrate-eui-avatar/index.ts",
|
|
35452
35852
|
"ctype": "miscellaneous",
|
|
35453
35853
|
"subtype": "function",
|
|
35454
35854
|
"coverageIgnore": false,
|
|
@@ -35464,7 +35864,7 @@
|
|
|
35464
35864
|
"deprecationMessage": ""
|
|
35465
35865
|
},
|
|
35466
35866
|
{
|
|
35467
|
-
"name": "
|
|
35867
|
+
"name": "removals",
|
|
35468
35868
|
"deprecated": false,
|
|
35469
35869
|
"deprecationMessage": ""
|
|
35470
35870
|
}
|
|
@@ -35480,7 +35880,7 @@
|
|
|
35480
35880
|
}
|
|
35481
35881
|
},
|
|
35482
35882
|
{
|
|
35483
|
-
"name": "
|
|
35883
|
+
"name": "removals",
|
|
35484
35884
|
"deprecated": false,
|
|
35485
35885
|
"deprecationMessage": "",
|
|
35486
35886
|
"tagName": {
|
|
@@ -35491,7 +35891,7 @@
|
|
|
35491
35891
|
},
|
|
35492
35892
|
{
|
|
35493
35893
|
"name": "visitNodes",
|
|
35494
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
35894
|
+
"file": "packages/core/schematics/migrate-eui-button/index.ts",
|
|
35495
35895
|
"ctype": "miscellaneous",
|
|
35496
35896
|
"subtype": "function",
|
|
35497
35897
|
"coverageIgnore": false,
|
|
@@ -35507,7 +35907,7 @@
|
|
|
35507
35907
|
"deprecationMessage": ""
|
|
35508
35908
|
},
|
|
35509
35909
|
{
|
|
35510
|
-
"name": "
|
|
35910
|
+
"name": "edits",
|
|
35511
35911
|
"deprecated": false,
|
|
35512
35912
|
"deprecationMessage": ""
|
|
35513
35913
|
}
|
|
@@ -35523,7 +35923,7 @@
|
|
|
35523
35923
|
}
|
|
35524
35924
|
},
|
|
35525
35925
|
{
|
|
35526
|
-
"name": "
|
|
35926
|
+
"name": "edits",
|
|
35527
35927
|
"deprecated": false,
|
|
35528
35928
|
"deprecationMessage": "",
|
|
35529
35929
|
"tagName": {
|
|
@@ -35534,7 +35934,7 @@
|
|
|
35534
35934
|
},
|
|
35535
35935
|
{
|
|
35536
35936
|
"name": "visitNodes",
|
|
35537
|
-
"file": "packages/core/schematics/migrate-eui-chip
|
|
35937
|
+
"file": "packages/core/schematics/migrate-eui-chip/index.ts",
|
|
35538
35938
|
"ctype": "miscellaneous",
|
|
35539
35939
|
"subtype": "function",
|
|
35540
35940
|
"coverageIgnore": false,
|
|
@@ -35550,13 +35950,7 @@
|
|
|
35550
35950
|
"deprecationMessage": ""
|
|
35551
35951
|
},
|
|
35552
35952
|
{
|
|
35553
|
-
"name": "
|
|
35554
|
-
"type": "string",
|
|
35555
|
-
"deprecated": false,
|
|
35556
|
-
"deprecationMessage": ""
|
|
35557
|
-
},
|
|
35558
|
-
{
|
|
35559
|
-
"name": "edits",
|
|
35953
|
+
"name": "removals",
|
|
35560
35954
|
"deprecated": false,
|
|
35561
35955
|
"deprecationMessage": ""
|
|
35562
35956
|
}
|
|
@@ -35572,16 +35966,7 @@
|
|
|
35572
35966
|
}
|
|
35573
35967
|
},
|
|
35574
35968
|
{
|
|
35575
|
-
"name": "
|
|
35576
|
-
"type": "string",
|
|
35577
|
-
"deprecated": false,
|
|
35578
|
-
"deprecationMessage": "",
|
|
35579
|
-
"tagName": {
|
|
35580
|
-
"text": "param"
|
|
35581
|
-
}
|
|
35582
|
-
},
|
|
35583
|
-
{
|
|
35584
|
-
"name": "edits",
|
|
35969
|
+
"name": "removals",
|
|
35585
35970
|
"deprecated": false,
|
|
35586
35971
|
"deprecationMessage": "",
|
|
35587
35972
|
"tagName": {
|
|
@@ -35592,7 +35977,65 @@
|
|
|
35592
35977
|
},
|
|
35593
35978
|
{
|
|
35594
35979
|
"name": "visitNodes",
|
|
35595
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
35980
|
+
"file": "packages/core/schematics/migrate-eui-chip-list/index.ts",
|
|
35981
|
+
"ctype": "miscellaneous",
|
|
35982
|
+
"subtype": "function",
|
|
35983
|
+
"coverageIgnore": false,
|
|
35984
|
+
"deprecated": false,
|
|
35985
|
+
"deprecationMessage": "",
|
|
35986
|
+
"rawdescription": "",
|
|
35987
|
+
"description": "",
|
|
35988
|
+
"displayName": "visitNodes",
|
|
35989
|
+
"args": [
|
|
35990
|
+
{
|
|
35991
|
+
"name": "nodes",
|
|
35992
|
+
"deprecated": false,
|
|
35993
|
+
"deprecationMessage": ""
|
|
35994
|
+
},
|
|
35995
|
+
{
|
|
35996
|
+
"name": "source",
|
|
35997
|
+
"type": "string",
|
|
35998
|
+
"deprecated": false,
|
|
35999
|
+
"deprecationMessage": ""
|
|
36000
|
+
},
|
|
36001
|
+
{
|
|
36002
|
+
"name": "edits",
|
|
36003
|
+
"deprecated": false,
|
|
36004
|
+
"deprecationMessage": ""
|
|
36005
|
+
}
|
|
36006
|
+
],
|
|
36007
|
+
"returnType": "void",
|
|
36008
|
+
"jsdoctags": [
|
|
36009
|
+
{
|
|
36010
|
+
"name": "nodes",
|
|
36011
|
+
"deprecated": false,
|
|
36012
|
+
"deprecationMessage": "",
|
|
36013
|
+
"tagName": {
|
|
36014
|
+
"text": "param"
|
|
36015
|
+
}
|
|
36016
|
+
},
|
|
36017
|
+
{
|
|
36018
|
+
"name": "source",
|
|
36019
|
+
"type": "string",
|
|
36020
|
+
"deprecated": false,
|
|
36021
|
+
"deprecationMessage": "",
|
|
36022
|
+
"tagName": {
|
|
36023
|
+
"text": "param"
|
|
36024
|
+
}
|
|
36025
|
+
},
|
|
36026
|
+
{
|
|
36027
|
+
"name": "edits",
|
|
36028
|
+
"deprecated": false,
|
|
36029
|
+
"deprecationMessage": "",
|
|
36030
|
+
"tagName": {
|
|
36031
|
+
"text": "param"
|
|
36032
|
+
}
|
|
36033
|
+
}
|
|
36034
|
+
]
|
|
36035
|
+
},
|
|
36036
|
+
{
|
|
36037
|
+
"name": "visitNodes",
|
|
36038
|
+
"file": "packages/core/schematics/migrate-eui-discussion-thread/index.ts",
|
|
35596
36039
|
"ctype": "miscellaneous",
|
|
35597
36040
|
"subtype": "function",
|
|
35598
36041
|
"coverageIgnore": false,
|
|
@@ -38557,6 +39000,30 @@
|
|
|
38557
39000
|
"defaultValue": "'menuItemClick'"
|
|
38558
39001
|
}
|
|
38559
39002
|
],
|
|
39003
|
+
"packages/core/schematics/migrate-eui-tooltip/index.ts": [
|
|
39004
|
+
{
|
|
39005
|
+
"name": "NEW_INTERFACE",
|
|
39006
|
+
"ctype": "miscellaneous",
|
|
39007
|
+
"subtype": "variable",
|
|
39008
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
39009
|
+
"coverageIgnore": false,
|
|
39010
|
+
"deprecated": false,
|
|
39011
|
+
"deprecationMessage": "",
|
|
39012
|
+
"type": "string",
|
|
39013
|
+
"defaultValue": "'EuiTooltipInterface'"
|
|
39014
|
+
},
|
|
39015
|
+
{
|
|
39016
|
+
"name": "OLD_CLASS",
|
|
39017
|
+
"ctype": "miscellaneous",
|
|
39018
|
+
"subtype": "variable",
|
|
39019
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
39020
|
+
"coverageIgnore": false,
|
|
39021
|
+
"deprecated": false,
|
|
39022
|
+
"deprecationMessage": "",
|
|
39023
|
+
"type": "string",
|
|
39024
|
+
"defaultValue": "'EuiTooltipConfig'"
|
|
39025
|
+
}
|
|
39026
|
+
],
|
|
38560
39027
|
"packages/core/schematics/migrate-eui-button/index.ts": [
|
|
38561
39028
|
{
|
|
38562
39029
|
"name": "NEW_NAME",
|
|
@@ -46813,6 +47280,323 @@
|
|
|
46813
47280
|
]
|
|
46814
47281
|
}
|
|
46815
47282
|
],
|
|
47283
|
+
"packages/core/schematics/migrate-eui-tooltip/index.ts": [
|
|
47284
|
+
{
|
|
47285
|
+
"name": "applyEdits",
|
|
47286
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47287
|
+
"ctype": "miscellaneous",
|
|
47288
|
+
"subtype": "function",
|
|
47289
|
+
"coverageIgnore": false,
|
|
47290
|
+
"deprecated": false,
|
|
47291
|
+
"deprecationMessage": "",
|
|
47292
|
+
"rawdescription": "",
|
|
47293
|
+
"description": "",
|
|
47294
|
+
"displayName": "applyEdits",
|
|
47295
|
+
"args": [
|
|
47296
|
+
{
|
|
47297
|
+
"name": "source",
|
|
47298
|
+
"type": "string",
|
|
47299
|
+
"deprecated": false,
|
|
47300
|
+
"deprecationMessage": ""
|
|
47301
|
+
},
|
|
47302
|
+
{
|
|
47303
|
+
"name": "edits",
|
|
47304
|
+
"deprecated": false,
|
|
47305
|
+
"deprecationMessage": ""
|
|
47306
|
+
}
|
|
47307
|
+
],
|
|
47308
|
+
"returnType": "string",
|
|
47309
|
+
"jsdoctags": [
|
|
47310
|
+
{
|
|
47311
|
+
"name": "source",
|
|
47312
|
+
"type": "string",
|
|
47313
|
+
"deprecated": false,
|
|
47314
|
+
"deprecationMessage": "",
|
|
47315
|
+
"tagName": {
|
|
47316
|
+
"text": "param"
|
|
47317
|
+
}
|
|
47318
|
+
},
|
|
47319
|
+
{
|
|
47320
|
+
"name": "edits",
|
|
47321
|
+
"deprecated": false,
|
|
47322
|
+
"deprecationMessage": "",
|
|
47323
|
+
"tagName": {
|
|
47324
|
+
"text": "param"
|
|
47325
|
+
}
|
|
47326
|
+
}
|
|
47327
|
+
]
|
|
47328
|
+
},
|
|
47329
|
+
{
|
|
47330
|
+
"name": "deduplicateEdits",
|
|
47331
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47332
|
+
"ctype": "miscellaneous",
|
|
47333
|
+
"subtype": "function",
|
|
47334
|
+
"coverageIgnore": false,
|
|
47335
|
+
"deprecated": false,
|
|
47336
|
+
"deprecationMessage": "",
|
|
47337
|
+
"rawdescription": "",
|
|
47338
|
+
"description": "",
|
|
47339
|
+
"displayName": "deduplicateEdits",
|
|
47340
|
+
"args": [
|
|
47341
|
+
{
|
|
47342
|
+
"name": "edits",
|
|
47343
|
+
"deprecated": false,
|
|
47344
|
+
"deprecationMessage": ""
|
|
47345
|
+
}
|
|
47346
|
+
],
|
|
47347
|
+
"returnType": "Edit[]",
|
|
47348
|
+
"jsdoctags": [
|
|
47349
|
+
{
|
|
47350
|
+
"name": "edits",
|
|
47351
|
+
"deprecated": false,
|
|
47352
|
+
"deprecationMessage": "",
|
|
47353
|
+
"tagName": {
|
|
47354
|
+
"text": "param"
|
|
47355
|
+
}
|
|
47356
|
+
}
|
|
47357
|
+
]
|
|
47358
|
+
},
|
|
47359
|
+
{
|
|
47360
|
+
"name": "isPartOfImport",
|
|
47361
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47362
|
+
"ctype": "miscellaneous",
|
|
47363
|
+
"subtype": "function",
|
|
47364
|
+
"coverageIgnore": false,
|
|
47365
|
+
"deprecated": false,
|
|
47366
|
+
"deprecationMessage": "",
|
|
47367
|
+
"rawdescription": "",
|
|
47368
|
+
"description": "",
|
|
47369
|
+
"displayName": "isPartOfImport",
|
|
47370
|
+
"args": [
|
|
47371
|
+
{
|
|
47372
|
+
"name": "node",
|
|
47373
|
+
"deprecated": false,
|
|
47374
|
+
"deprecationMessage": ""
|
|
47375
|
+
}
|
|
47376
|
+
],
|
|
47377
|
+
"returnType": "boolean",
|
|
47378
|
+
"jsdoctags": [
|
|
47379
|
+
{
|
|
47380
|
+
"name": "node",
|
|
47381
|
+
"deprecated": false,
|
|
47382
|
+
"deprecationMessage": "",
|
|
47383
|
+
"tagName": {
|
|
47384
|
+
"text": "param"
|
|
47385
|
+
}
|
|
47386
|
+
}
|
|
47387
|
+
]
|
|
47388
|
+
},
|
|
47389
|
+
{
|
|
47390
|
+
"name": "migrateEuiTooltip",
|
|
47391
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47392
|
+
"ctype": "miscellaneous",
|
|
47393
|
+
"subtype": "function",
|
|
47394
|
+
"coverageIgnore": false,
|
|
47395
|
+
"deprecated": false,
|
|
47396
|
+
"deprecationMessage": "",
|
|
47397
|
+
"rawdescription": "",
|
|
47398
|
+
"description": "",
|
|
47399
|
+
"displayName": "migrateEuiTooltip",
|
|
47400
|
+
"args": [
|
|
47401
|
+
{
|
|
47402
|
+
"name": "options",
|
|
47403
|
+
"type": "Schema",
|
|
47404
|
+
"deprecated": false,
|
|
47405
|
+
"deprecationMessage": "",
|
|
47406
|
+
"defaultValue": "{}"
|
|
47407
|
+
}
|
|
47408
|
+
],
|
|
47409
|
+
"returnType": "Rule",
|
|
47410
|
+
"jsdoctags": [
|
|
47411
|
+
{
|
|
47412
|
+
"name": "options",
|
|
47413
|
+
"type": "Schema",
|
|
47414
|
+
"deprecated": false,
|
|
47415
|
+
"deprecationMessage": "",
|
|
47416
|
+
"defaultValue": "{}",
|
|
47417
|
+
"tagName": {
|
|
47418
|
+
"text": "param"
|
|
47419
|
+
}
|
|
47420
|
+
}
|
|
47421
|
+
]
|
|
47422
|
+
},
|
|
47423
|
+
{
|
|
47424
|
+
"name": "migrateTypeScript",
|
|
47425
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47426
|
+
"ctype": "miscellaneous",
|
|
47427
|
+
"subtype": "function",
|
|
47428
|
+
"coverageIgnore": false,
|
|
47429
|
+
"deprecated": false,
|
|
47430
|
+
"deprecationMessage": "",
|
|
47431
|
+
"rawdescription": "",
|
|
47432
|
+
"description": "",
|
|
47433
|
+
"displayName": "migrateTypeScript",
|
|
47434
|
+
"args": [
|
|
47435
|
+
{
|
|
47436
|
+
"name": "source",
|
|
47437
|
+
"type": "string",
|
|
47438
|
+
"deprecated": false,
|
|
47439
|
+
"deprecationMessage": ""
|
|
47440
|
+
},
|
|
47441
|
+
{
|
|
47442
|
+
"name": "filePath",
|
|
47443
|
+
"type": "string",
|
|
47444
|
+
"deprecated": false,
|
|
47445
|
+
"deprecationMessage": ""
|
|
47446
|
+
},
|
|
47447
|
+
{
|
|
47448
|
+
"name": "context",
|
|
47449
|
+
"type": "SchematicContext",
|
|
47450
|
+
"deprecated": false,
|
|
47451
|
+
"deprecationMessage": ""
|
|
47452
|
+
}
|
|
47453
|
+
],
|
|
47454
|
+
"returnType": "string",
|
|
47455
|
+
"jsdoctags": [
|
|
47456
|
+
{
|
|
47457
|
+
"name": "source",
|
|
47458
|
+
"type": "string",
|
|
47459
|
+
"deprecated": false,
|
|
47460
|
+
"deprecationMessage": "",
|
|
47461
|
+
"tagName": {
|
|
47462
|
+
"text": "param"
|
|
47463
|
+
}
|
|
47464
|
+
},
|
|
47465
|
+
{
|
|
47466
|
+
"name": "filePath",
|
|
47467
|
+
"type": "string",
|
|
47468
|
+
"deprecated": false,
|
|
47469
|
+
"deprecationMessage": "",
|
|
47470
|
+
"tagName": {
|
|
47471
|
+
"text": "param"
|
|
47472
|
+
}
|
|
47473
|
+
},
|
|
47474
|
+
{
|
|
47475
|
+
"name": "context",
|
|
47476
|
+
"type": "SchematicContext",
|
|
47477
|
+
"deprecated": false,
|
|
47478
|
+
"deprecationMessage": "",
|
|
47479
|
+
"tagName": {
|
|
47480
|
+
"text": "param"
|
|
47481
|
+
}
|
|
47482
|
+
}
|
|
47483
|
+
]
|
|
47484
|
+
},
|
|
47485
|
+
{
|
|
47486
|
+
"name": "removeImportSpecifier",
|
|
47487
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47488
|
+
"ctype": "miscellaneous",
|
|
47489
|
+
"subtype": "function",
|
|
47490
|
+
"coverageIgnore": false,
|
|
47491
|
+
"deprecated": false,
|
|
47492
|
+
"deprecationMessage": "",
|
|
47493
|
+
"rawdescription": "",
|
|
47494
|
+
"description": "",
|
|
47495
|
+
"displayName": "removeImportSpecifier",
|
|
47496
|
+
"args": [
|
|
47497
|
+
{
|
|
47498
|
+
"name": "namedImports",
|
|
47499
|
+
"deprecated": false,
|
|
47500
|
+
"deprecationMessage": ""
|
|
47501
|
+
},
|
|
47502
|
+
{
|
|
47503
|
+
"name": "specifier",
|
|
47504
|
+
"deprecated": false,
|
|
47505
|
+
"deprecationMessage": ""
|
|
47506
|
+
},
|
|
47507
|
+
{
|
|
47508
|
+
"name": "sourceFile",
|
|
47509
|
+
"deprecated": false,
|
|
47510
|
+
"deprecationMessage": ""
|
|
47511
|
+
},
|
|
47512
|
+
{
|
|
47513
|
+
"name": "edits",
|
|
47514
|
+
"deprecated": false,
|
|
47515
|
+
"deprecationMessage": ""
|
|
47516
|
+
}
|
|
47517
|
+
],
|
|
47518
|
+
"returnType": "void",
|
|
47519
|
+
"jsdoctags": [
|
|
47520
|
+
{
|
|
47521
|
+
"name": "namedImports",
|
|
47522
|
+
"deprecated": false,
|
|
47523
|
+
"deprecationMessage": "",
|
|
47524
|
+
"tagName": {
|
|
47525
|
+
"text": "param"
|
|
47526
|
+
}
|
|
47527
|
+
},
|
|
47528
|
+
{
|
|
47529
|
+
"name": "specifier",
|
|
47530
|
+
"deprecated": false,
|
|
47531
|
+
"deprecationMessage": "",
|
|
47532
|
+
"tagName": {
|
|
47533
|
+
"text": "param"
|
|
47534
|
+
}
|
|
47535
|
+
},
|
|
47536
|
+
{
|
|
47537
|
+
"name": "sourceFile",
|
|
47538
|
+
"deprecated": false,
|
|
47539
|
+
"deprecationMessage": "",
|
|
47540
|
+
"tagName": {
|
|
47541
|
+
"text": "param"
|
|
47542
|
+
}
|
|
47543
|
+
},
|
|
47544
|
+
{
|
|
47545
|
+
"name": "edits",
|
|
47546
|
+
"deprecated": false,
|
|
47547
|
+
"deprecationMessage": "",
|
|
47548
|
+
"tagName": {
|
|
47549
|
+
"text": "param"
|
|
47550
|
+
}
|
|
47551
|
+
}
|
|
47552
|
+
]
|
|
47553
|
+
},
|
|
47554
|
+
{
|
|
47555
|
+
"name": "visitDir",
|
|
47556
|
+
"file": "packages/core/schematics/migrate-eui-tooltip/index.ts",
|
|
47557
|
+
"ctype": "miscellaneous",
|
|
47558
|
+
"subtype": "function",
|
|
47559
|
+
"coverageIgnore": false,
|
|
47560
|
+
"deprecated": false,
|
|
47561
|
+
"deprecationMessage": "",
|
|
47562
|
+
"rawdescription": "",
|
|
47563
|
+
"description": "",
|
|
47564
|
+
"displayName": "visitDir",
|
|
47565
|
+
"args": [
|
|
47566
|
+
{
|
|
47567
|
+
"name": "dir",
|
|
47568
|
+
"type": "DirEntry",
|
|
47569
|
+
"deprecated": false,
|
|
47570
|
+
"deprecationMessage": ""
|
|
47571
|
+
},
|
|
47572
|
+
{
|
|
47573
|
+
"name": "callback",
|
|
47574
|
+
"deprecated": false,
|
|
47575
|
+
"deprecationMessage": ""
|
|
47576
|
+
}
|
|
47577
|
+
],
|
|
47578
|
+
"returnType": "void",
|
|
47579
|
+
"jsdoctags": [
|
|
47580
|
+
{
|
|
47581
|
+
"name": "dir",
|
|
47582
|
+
"type": "DirEntry",
|
|
47583
|
+
"deprecated": false,
|
|
47584
|
+
"deprecationMessage": "",
|
|
47585
|
+
"tagName": {
|
|
47586
|
+
"text": "param"
|
|
47587
|
+
}
|
|
47588
|
+
},
|
|
47589
|
+
{
|
|
47590
|
+
"name": "callback",
|
|
47591
|
+
"deprecated": false,
|
|
47592
|
+
"deprecationMessage": "",
|
|
47593
|
+
"tagName": {
|
|
47594
|
+
"text": "param"
|
|
47595
|
+
}
|
|
47596
|
+
}
|
|
47597
|
+
]
|
|
47598
|
+
}
|
|
47599
|
+
],
|
|
46816
47600
|
"packages/core/schematics/migrate-to-standalone/index.ts": [
|
|
46817
47601
|
{
|
|
46818
47602
|
"name": "applyReplacements",
|