@eui/core 22.0.0-alpha.85 → 22.0.0-alpha.87

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.
@@ -2270,6 +2270,65 @@
2270
2270
  "outgoing": []
2271
2271
  }
2272
2272
  },
2273
+ {
2274
+ "name": "Edit",
2275
+ "id": "interface-Edit-cd31ddcbdee265037391b240f5ff8a394db7bc8ea68b803a3b2f504ef9cd53323294cd6116361812dbba0c01374cd0ef6247ac77e9f7455f6882bac325617d00-23",
2276
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
2277
+ "deprecated": false,
2278
+ "deprecationMessage": "",
2279
+ "type": "interface",
2280
+ "sourceCode": "import { parseTemplate, TmplAstElement, TmplAstNode } from '@angular/compiler';\nimport { SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\n\nconst OLD_INPUT = 'tooltipMessage';\nconst NEW_INPUT = 'euiTooltip';\nconst DIRECTIVE_CLASS = 'EuiTooltipDirective';\nconst DIRECTIVE_PATH = '@eui/components/directives';\n\ninterface Edit {\n start: number;\n end: number;\n replacement: string;\n}\n\nfunction applyEdits(source: string, edits: Edit[]): string {\n let result = source;\n for (const edit of [...edits].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\n/**\n * Renames the removed `tooltipMessage` input to `euiTooltip` (static, bound and interpolated forms)\n * on the elements accepted by `isTarget`. Elements already carrying `euiTooltip` are left unchanged and reported.\n */\nexport function renameTooltipMessage(\n source: string,\n isTarget: (element: TmplAstElement) => boolean,\n warn: (message: string) => void,\n): { result: string; renamed: number } {\n const parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n const edits: Edit[] = [];\n\n const visit = (nodes: TmplAstNode[]): void => {\n for (const node of nodes) {\n if (!(node instanceof TmplAstElement)) continue;\n if (isTarget(node)) collect(node);\n visit(node.children);\n }\n };\n\n const collect = (element: TmplAstElement): void => {\n const candidates = [\n ...element.attributes.filter((a) => a.name === OLD_INPUT),\n ...element.inputs.filter((i) => i.name === OLD_INPUT),\n ];\n if (candidates.length === 0) return;\n\n const hasTooltip = element.attributes.some((a) => a.name === NEW_INPUT) || element.inputs.some((i) => i.name === NEW_INPUT);\n for (const attr of candidates) {\n const start = attr.sourceSpan.start.offset;\n if (hasTooltip) {\n const line = source.slice(0, start).split('\\n').length;\n warn(`line ${line} - \"${OLD_INPUT}\" was removed and \"${NEW_INPUT}\" is already set on <${element.name}>. Remove \"${OLD_INPUT}\" manually.`);\n continue;\n }\n // `sourceSpan` starts at the attribute (`tooltipMessage`, `[tooltipMessage]`, `bind-tooltipMessage`): rename only the key.\n const index = source.indexOf(OLD_INPUT, start);\n if (index === -1 || index >= attr.sourceSpan.end.offset) continue;\n edits.push({ start: index, end: index + OLD_INPUT.length, replacement: NEW_INPUT });\n }\n };\n\n visit(parsed.nodes);\n return { result: applyEdits(source, edits), renamed: edits.length };\n}\n\ntype ImportTarget = { kind: 'inline' } | { kind: 'templateUrl'; htmlFileName: string };\n\n/**\n * Collects the components that now use `euiTooltip` and adds `EuiTooltipDirective` to their `imports`.\n */\nexport class TooltipImportCollector {\n private readonly pending = new Map<string, ImportTarget[]>();\n\n /** The template is inlined in the component file `tsPath`. */\n addInline(tsPath: string): void {\n this.push(tsPath, { kind: 'inline' });\n }\n\n /** The template lives in `htmlPath`; the owning component is resolved through its `templateUrl`. */\n addExternal(tree: Tree, htmlPath: string): void {\n const slash = htmlPath.lastIndexOf('/');\n const dirPath = slash > 0 ? htmlPath.slice(0, slash) : '/';\n const htmlFileName = htmlPath.slice(slash + 1);\n const dir = tree.getDir(dirPath);\n for (const file of dir.subfiles) {\n if (!file.endsWith('.ts') || file.endsWith('.d.ts') || file.endsWith('.spec.ts')) continue;\n const content = tree.read(`${dir.path}/${file}`)?.toString('utf-8');\n if (content?.includes('templateUrl') && content.includes(htmlFileName)) {\n this.push(`${dir.path}/${file}`, { kind: 'templateUrl', htmlFileName });\n return;\n }\n }\n this.unresolved.push(htmlPath);\n }\n\n private readonly unresolved: string[] = [];\n\n private push(tsPath: string, target: ImportTarget): void {\n const list = this.pending.get(tsPath) ?? [];\n list.push(target);\n this.pending.set(tsPath, list);\n }\n\n apply(tree: Tree, context: SchematicContext): void {\n for (const html of this.unresolved) {\n context.logger.warn(`${html} - could not find the component of this template. Add ${DIRECTIVE_CLASS} to its imports manually.`);\n }\n for (const [tsPath, targets] of this.pending) {\n const original = tree.read(tsPath)?.toString('utf-8');\n if (original === undefined) continue;\n let current = original;\n for (const target of targets) {\n const outcome = addDirectiveImport(current, tsPath, target);\n if (outcome.status === 'manual') {\n context.logger.warn(`${tsPath} - add ${DIRECTIVE_CLASS} (from '${DIRECTIVE_PATH}') to the component \"imports\" manually (${outcome.reason}).`);\n }\n current = outcome.result;\n }\n if (current !== original) tree.overwrite(tsPath, current);\n }\n }\n}\n\nfunction propertyName(prop: ts.ObjectLiteralElementLike): string | null {\n if (!ts.isPropertyAssignment(prop)) return null;\n return ts.isIdentifier(prop.name) || ts.isStringLiteral(prop.name) ? prop.name.text : null;\n}\n\nfunction addDirectiveImport(\n source: string,\n filePath: string,\n target: ImportTarget,\n): { result: string; status: 'added' | 'present' | 'manual'; reason?: string } {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true);\n\n const matches = (obj: ts.ObjectLiteralExpression): boolean =>\n obj.properties.some((prop) => {\n const name = propertyName(prop);\n if (!name || !ts.isPropertyAssignment(prop)) return false;\n const init = prop.initializer;\n const text = ts.isStringLiteralLike(init) ? init.text : '';\n if (target.kind === 'inline') return name === 'template' && text.includes(NEW_INPUT);\n return name === 'templateUrl' && text.split('/').pop() === target.htmlFileName;\n });\n\n let component: ts.ObjectLiteralExpression | undefined;\n const find = (node: ts.Node): void => {\n if (component) return;\n if (ts.isDecorator(node) && ts.isCallExpression(node.expression) && ts.isIdentifier(node.expression.expression) && node.expression.expression.text === 'Component') {\n const arg = node.expression.arguments[0];\n if (arg && ts.isObjectLiteralExpression(arg) && matches(arg)) component = arg;\n }\n ts.forEachChild(node, find);\n };\n find(sourceFile);\n\n if (!component) return { result: source, status: 'manual', reason: 'no matching @Component found' };\n\n const standalone = component.properties.find((p) => propertyName(p) === 'standalone');\n if (standalone && ts.isPropertyAssignment(standalone) && standalone.initializer.kind === ts.SyntaxKind.FalseKeyword) {\n return { result: source, status: 'manual', reason: 'the component is not standalone, update its NgModule' };\n }\n\n const importsProp = component.properties.find((p) => propertyName(p) === 'imports');\n if (!importsProp || !ts.isPropertyAssignment(importsProp) || !ts.isArrayLiteralExpression(importsProp.initializer)) {\n return { result: source, status: 'manual', reason: 'the component has no inline \"imports\" array' };\n }\n\n const array = importsProp.initializer;\n if (array.elements.some((e) => ts.isIdentifier(e) && e.text === DIRECTIVE_CLASS)) {\n return { result: source, status: 'present' };\n }\n\n const edits: Edit[] = [];\n if (array.elements.length > 0) {\n const pos = array.elements[array.elements.length - 1].getEnd();\n edits.push({ start: pos, end: pos, replacement: `, ${DIRECTIVE_CLASS}` });\n } else {\n const pos = array.getStart(sourceFile) + 1;\n edits.push({ start: pos, end: pos, replacement: DIRECTIVE_CLASS });\n }\n\n const imports = sourceFile.statements.filter(ts.isImportDeclaration);\n const existing = imports.find(\n (i) => ts.isStringLiteral(i.moduleSpecifier) && i.moduleSpecifier.text === DIRECTIVE_PATH && i.importClause?.namedBindings && ts.isNamedImports(i.importClause.namedBindings),\n );\n const named = existing?.importClause?.namedBindings;\n if (named && ts.isNamedImports(named)) {\n if (!named.elements.some((e) => e.name.text === DIRECTIVE_CLASS)) {\n if (named.elements.length > 0) {\n const pos = named.elements[named.elements.length - 1].getEnd();\n edits.push({ start: pos, end: pos, replacement: `, ${DIRECTIVE_CLASS}` });\n } else {\n const pos = named.getStart(sourceFile) + 1;\n edits.push({ start: pos, end: pos, replacement: ` ${DIRECTIVE_CLASS} ` });\n }\n }\n } else if (imports.length > 0) {\n const last = imports[imports.length - 1];\n const quote = source[(last.moduleSpecifier as ts.StringLiteral).getStart(sourceFile)] === '\"' ? '\"' : '\\'';\n const pos = last.getEnd();\n edits.push({ start: pos, end: pos, replacement: `\\nimport { ${DIRECTIVE_CLASS} } from ${quote}${DIRECTIVE_PATH}${quote};` });\n } else {\n edits.push({ start: 0, end: 0, replacement: `import { ${DIRECTIVE_CLASS} } from '${DIRECTIVE_PATH}';\\n` });\n }\n\n return { result: applyEdits(source, edits), status: 'added' };\n}\n\n/**\n * Applies `renameTooltipMessage` to a whole file: the file itself for `.html`, the `template: \\`...\\`` literals for `.ts`.\n */\nexport function renameTooltipMessageInFile(\n source: string,\n filePath: string,\n isTarget: (element: TmplAstElement) => boolean,\n warn: (message: string) => void,\n): { result: string; renamed: number } {\n if (filePath.endsWith('.html')) return renameTooltipMessage(source, isTarget, warn);\n\n let renamed = 0;\n const result = source.replace(/template\\s*:\\s*`([^`]*)`/gs, (match, templateContent: string) => {\n if (!templateContent.includes(OLD_INPUT)) return match;\n const migrated = renameTooltipMessage(templateContent, isTarget, warn);\n renamed += migrated.renamed;\n return migrated.result === templateContent ? match : match.replace(templateContent, () => migrated.result);\n });\n return { result, renamed };\n}\n\n/** Reports `x.tooltipMessage` property accesses in TS files, which cannot be migrated automatically. */\nexport function warnTooltipMessageUsages(source: string, filePath: string, context: SchematicContext): void {\n if (!filePath.endsWith('.ts') || filePath.endsWith('.spec.ts') || !source.includes(OLD_INPUT)) return;\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true);\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAccessExpression(node) && ts.isIdentifier(node.name) && node.name.text === OLD_INPUT) {\n const { line } = sourceFile.getLineAndCharacterOfPosition(node.getStart());\n context.logger.warn(`${filePath}:${line + 1} - \"${OLD_INPUT}\" is no longer an input on eui-chip. Use the \"${NEW_INPUT}\" directive instead.`);\n }\n ts.forEachChild(node, visit);\n };\n visit(sourceFile);\n}\n",
2281
+ "displayName": "Edit",
2282
+ "properties": [
2283
+ {
2284
+ "name": "end",
2285
+ "coverageIgnore": false,
2286
+ "deprecated": false,
2287
+ "deprecationMessage": "",
2288
+ "type": "number",
2289
+ "indexKey": "",
2290
+ "optional": false,
2291
+ "description": "",
2292
+ "line": 12,
2293
+ "rawdescription": "\n"
2294
+ },
2295
+ {
2296
+ "name": "replacement",
2297
+ "coverageIgnore": false,
2298
+ "deprecated": false,
2299
+ "deprecationMessage": "",
2300
+ "type": "string",
2301
+ "indexKey": "",
2302
+ "optional": false,
2303
+ "description": "",
2304
+ "line": 13,
2305
+ "rawdescription": "\n"
2306
+ },
2307
+ {
2308
+ "name": "start",
2309
+ "coverageIgnore": false,
2310
+ "deprecated": false,
2311
+ "deprecationMessage": "",
2312
+ "type": "number",
2313
+ "indexKey": "",
2314
+ "optional": false,
2315
+ "description": "",
2316
+ "line": 11,
2317
+ "rawdescription": "\n"
2318
+ }
2319
+ ],
2320
+ "indexSignatures": [],
2321
+ "kind": 172,
2322
+ "methods": [],
2323
+ "extends": [],
2324
+ "isDuplicate": true,
2325
+ "duplicateId": 23,
2326
+ "duplicateName": "Edit-23",
2327
+ "relationships": {
2328
+ "incoming": [],
2329
+ "outgoing": []
2330
+ }
2331
+ },
2273
2332
  {
2274
2333
  "name": "EuiComponentEntry",
2275
2334
  "id": "interface-EuiComponentEntry-e1068f4f156ce8f48ed51476e062ee969ff7e7d064af3045181da54f7aba582003387dd6cf5412d907b9637791a85232c11b467fbdfa8c5545d9e7c3e181e873",
@@ -4947,12 +5006,12 @@
4947
5006
  },
4948
5007
  {
4949
5008
  "name": "Schema",
4950
- "id": "interface-Schema-39d3d52e788050bebc4e0b99ed0756f7e9727556cb090ae8796bd4261a56463fe1f479c322b23028cd4134d71e4d1dc44cd248ac62a9a148b5fc46a665466f7c-22",
5009
+ "id": "interface-Schema-55eb9a4c79cf0dbecce5e0e0050169e5b5163d057d96955946e5ab25c5ed4f52f01ada2e330b476ac99ef2821420aa2b298db903b07731dcc8666358b1f7e8ed-22",
4951
5010
  "file": "packages/core/schematics/migrate-eui-chip/index.ts",
4952
5011
  "deprecated": false,
4953
5012
  "deprecationMessage": "",
4954
5013
  "type": "interface",
4955
- "sourceCode": "import { parseTemplate, TmplAstBoundAttribute, TmplAstElement, TmplAstNode, TmplAstTextAttribute } from '@angular/compiler';\nimport { 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 REMOVED_INPUTS = new Set(['isSquared']);\n\nexport function migrateEuiChip(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, (path) => {\n const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes('eui-chip') && !original.includes('euiChip')) return;\n\n const result = path.endsWith('.html')\n ? migrateTemplate(original)\n : migrateInlineTemplates(original);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would remove 'isSquared' input in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n count++;\n }\n\n // Warn about TS usages inline\n if (path.endsWith('.ts') && !path.endsWith('.spec.ts') && original.includes('isSquared')) {\n const sourceFile = ts.createSourceFile(path, original, ts.ScriptTarget.Latest, true);\n\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAccessExpression(node) && ts.isIdentifier(node.name) && node.name.text === 'isSquared') {\n const { line } = sourceFile.getLineAndCharacterOfPosition(node.getStart());\n context.logger.warn(`${path}:${line + 1} - \"isSquared\" is no longer a valid input on eui-chip. Remove this assignment.`);\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n }\n });\n\n context.logger.info(`Removed deprecated eui-chip 'isSquared' input from ${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('.html') && !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\nfunction migrateTemplate(source: string): string {\n const parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n const removals: { start: number; end: number }[] = [];\n\n visitNodes(parsed.nodes, removals);\n\n let result = source;\n for (const { start, end } of removals.sort((a, b) => b.start - a.start)) {\n let adjustedStart = start;\n while (adjustedStart > 0 && (result[adjustedStart - 1] === ' ' || result[adjustedStart - 1] === '\\t')) {\n adjustedStart--;\n }\n result = result.slice(0, adjustedStart) + result.slice(end);\n }\n\n return result;\n}\n\nfunction migrateInlineTemplates(source: string): string {\n const templateRegex = /template\\s*:\\s*`([^`]*)`/gs;\n return source.replace(templateRegex, (match, templateContent: string) => {\n if (!templateContent.includes('eui-chip') && !templateContent.includes('euiChip')) return match;\n const migrated = migrateTemplate(templateContent);\n if (migrated === templateContent) return match;\n return match.replace(templateContent, migrated);\n });\n}\n\nfunction isChipElement(element: TmplAstElement): boolean {\n if (element.name === 'eui-chip') return true;\n return element.attributes.some((a) => a.name === 'euiChip');\n}\n\nfunction visitNodes(nodes: TmplAstNode[], removals: { start: number; end: number }[]): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (isChipElement(node)) collectRemovals(node, removals);\n visitNodes(node.children, removals);\n }\n }\n}\n\nfunction collectRemovals(element: TmplAstElement, removals: { start: number; end: number }[]): void {\n for (const attr of element.attributes) {\n if (REMOVED_INPUTS.has(attr.name)) {\n removals.push(getAttributeSpan(attr));\n }\n }\n for (const input of element.inputs) {\n if (REMOVED_INPUTS.has(input.name)) {\n removals.push(getAttributeSpan(input));\n }\n }\n}\n\nfunction getAttributeSpan(attr: TmplAstTextAttribute | TmplAstBoundAttribute): { start: number; end: number } {\n return { start: attr.sourceSpan.start.offset, end: attr.sourceSpan.end.offset };\n}\n",
5014
+ "sourceCode": "import { parseTemplate, TmplAstBoundAttribute, TmplAstElement, TmplAstNode, TmplAstTextAttribute } from '@angular/compiler';\nimport { DirEntry, Rule, SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\nimport { logDryRun, logDryRunNote } from '../utils/dry-run';\nimport { renameTooltipMessageInFile, TooltipImportCollector, warnTooltipMessageUsages } from '../utils/tooltip-message';\n\ninterface Schema {\n path?: string;\n dryRun?: boolean;\n}\n\nconst REMOVED_INPUTS = new Set(['isSquared']);\n\nexport function migrateEuiChip(options: Schema = {}): Rule {\n return (tree: Tree, context: SchematicContext) => {\n const scanPath = options.path ? '/' + options.path.replace(/^\\.?\\//, '').replace(/\\/$/, '') : '';\n let count = 0;\n const tooltipImports = new TooltipImportCollector();\n\n const dir = tree.getDir(scanPath || '/');\n visitDir(dir, (path) => {\n const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes('eui-chip') && !original.includes('euiChip')) return;\n\n let result = path.endsWith('.html')\n ? migrateTemplate(original)\n : migrateInlineTemplates(original);\n\n // tooltipMessage input removed: replaced by the euiTooltip directive\n const tooltip = renameTooltipMessageInFile(result, path, isChipElement, (message) => context.logger.warn(`${path} - ${message}`));\n result = tooltip.result;\n if (tooltip.renamed > 0 && !options.dryRun) {\n if (path.endsWith('.html')) tooltipImports.addExternal(tree, path);\n else tooltipImports.addInline(path);\n }\n warnTooltipMessageUsages(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would remove 'isSquared' input in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n count++;\n }\n\n // Warn about TS usages inline\n if (path.endsWith('.ts') && !path.endsWith('.spec.ts') && original.includes('isSquared')) {\n const sourceFile = ts.createSourceFile(path, original, ts.ScriptTarget.Latest, true);\n\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAccessExpression(node) && ts.isIdentifier(node.name) && node.name.text === 'isSquared') {\n const { line } = sourceFile.getLineAndCharacterOfPosition(node.getStart());\n context.logger.warn(`${path}:${line + 1} - \"isSquared\" is no longer a valid input on eui-chip. Remove this assignment.`);\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n }\n });\n\n if (!options.dryRun) tooltipImports.apply(tree, context);\n\n context.logger.info(`Removed deprecated eui-chip 'isSquared' input from ${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('.html') && !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\nfunction migrateTemplate(source: string): string {\n const parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n const removals: { start: number; end: number }[] = [];\n\n visitNodes(parsed.nodes, removals);\n\n let result = source;\n for (const { start, end } of removals.sort((a, b) => b.start - a.start)) {\n let adjustedStart = start;\n while (adjustedStart > 0 && (result[adjustedStart - 1] === ' ' || result[adjustedStart - 1] === '\\t')) {\n adjustedStart--;\n }\n result = result.slice(0, adjustedStart) + result.slice(end);\n }\n\n return result;\n}\n\nfunction migrateInlineTemplates(source: string): string {\n const templateRegex = /template\\s*:\\s*`([^`]*)`/gs;\n return source.replace(templateRegex, (match, templateContent: string) => {\n if (!templateContent.includes('eui-chip') && !templateContent.includes('euiChip')) return match;\n const migrated = migrateTemplate(templateContent);\n if (migrated === templateContent) return match;\n return match.replace(templateContent, migrated);\n });\n}\n\nfunction isChipElement(element: TmplAstElement): boolean {\n if (element.name === 'eui-chip') return true;\n return element.attributes.some((a) => a.name === 'euiChip');\n}\n\nfunction visitNodes(nodes: TmplAstNode[], removals: { start: number; end: number }[]): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (isChipElement(node)) collectRemovals(node, removals);\n visitNodes(node.children, removals);\n }\n }\n}\n\nfunction collectRemovals(element: TmplAstElement, removals: { start: number; end: number }[]): void {\n for (const attr of element.attributes) {\n if (REMOVED_INPUTS.has(attr.name)) {\n removals.push(getAttributeSpan(attr));\n }\n }\n for (const input of element.inputs) {\n if (REMOVED_INPUTS.has(input.name)) {\n removals.push(getAttributeSpan(input));\n }\n }\n}\n\nfunction getAttributeSpan(attr: TmplAstTextAttribute | TmplAstBoundAttribute): { start: number; end: number } {\n return { start: attr.sourceSpan.start.offset, end: attr.sourceSpan.end.offset };\n}\n",
4956
5015
  "displayName": "Schema",
4957
5016
  "properties": [
4958
5017
  {
@@ -4964,7 +5023,7 @@
4964
5023
  "indexKey": "",
4965
5024
  "optional": true,
4966
5025
  "description": "",
4967
- "line": 8,
5026
+ "line": 9,
4968
5027
  "rawdescription": "\n"
4969
5028
  },
4970
5029
  {
@@ -4976,7 +5035,7 @@
4976
5035
  "indexKey": "",
4977
5036
  "optional": true,
4978
5037
  "description": "",
4979
- "line": 7,
5038
+ "line": 8,
4980
5039
  "rawdescription": "\n"
4981
5040
  }
4982
5041
  ],
@@ -23187,6 +23246,175 @@
23187
23246
  ]
23188
23247
  }
23189
23248
  },
23249
+ {
23250
+ "name": "TooltipImportCollector",
23251
+ "id": "class-TooltipImportCollector-cd31ddcbdee265037391b240f5ff8a394db7bc8ea68b803a3b2f504ef9cd53323294cd6116361812dbba0c01374cd0ef6247ac77e9f7455f6882bac325617d00",
23252
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
23253
+ "coverageIgnore": false,
23254
+ "deprecated": false,
23255
+ "deprecationMessage": "",
23256
+ "type": "class",
23257
+ "sourceCode": "import { parseTemplate, TmplAstElement, TmplAstNode } from '@angular/compiler';\nimport { SchematicContext, Tree } from '@angular-devkit/schematics';\nimport * as ts from 'typescript';\n\nconst OLD_INPUT = 'tooltipMessage';\nconst NEW_INPUT = 'euiTooltip';\nconst DIRECTIVE_CLASS = 'EuiTooltipDirective';\nconst DIRECTIVE_PATH = '@eui/components/directives';\n\ninterface Edit {\n start: number;\n end: number;\n replacement: string;\n}\n\nfunction applyEdits(source: string, edits: Edit[]): string {\n let result = source;\n for (const edit of [...edits].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\n/**\n * Renames the removed `tooltipMessage` input to `euiTooltip` (static, bound and interpolated forms)\n * on the elements accepted by `isTarget`. Elements already carrying `euiTooltip` are left unchanged and reported.\n */\nexport function renameTooltipMessage(\n source: string,\n isTarget: (element: TmplAstElement) => boolean,\n warn: (message: string) => void,\n): { result: string; renamed: number } {\n const parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n const edits: Edit[] = [];\n\n const visit = (nodes: TmplAstNode[]): void => {\n for (const node of nodes) {\n if (!(node instanceof TmplAstElement)) continue;\n if (isTarget(node)) collect(node);\n visit(node.children);\n }\n };\n\n const collect = (element: TmplAstElement): void => {\n const candidates = [\n ...element.attributes.filter((a) => a.name === OLD_INPUT),\n ...element.inputs.filter((i) => i.name === OLD_INPUT),\n ];\n if (candidates.length === 0) return;\n\n const hasTooltip = element.attributes.some((a) => a.name === NEW_INPUT) || element.inputs.some((i) => i.name === NEW_INPUT);\n for (const attr of candidates) {\n const start = attr.sourceSpan.start.offset;\n if (hasTooltip) {\n const line = source.slice(0, start).split('\\n').length;\n warn(`line ${line} - \"${OLD_INPUT}\" was removed and \"${NEW_INPUT}\" is already set on <${element.name}>. Remove \"${OLD_INPUT}\" manually.`);\n continue;\n }\n // `sourceSpan` starts at the attribute (`tooltipMessage`, `[tooltipMessage]`, `bind-tooltipMessage`): rename only the key.\n const index = source.indexOf(OLD_INPUT, start);\n if (index === -1 || index >= attr.sourceSpan.end.offset) continue;\n edits.push({ start: index, end: index + OLD_INPUT.length, replacement: NEW_INPUT });\n }\n };\n\n visit(parsed.nodes);\n return { result: applyEdits(source, edits), renamed: edits.length };\n}\n\ntype ImportTarget = { kind: 'inline' } | { kind: 'templateUrl'; htmlFileName: string };\n\n/**\n * Collects the components that now use `euiTooltip` and adds `EuiTooltipDirective` to their `imports`.\n */\nexport class TooltipImportCollector {\n private readonly pending = new Map<string, ImportTarget[]>();\n\n /** The template is inlined in the component file `tsPath`. */\n addInline(tsPath: string): void {\n this.push(tsPath, { kind: 'inline' });\n }\n\n /** The template lives in `htmlPath`; the owning component is resolved through its `templateUrl`. */\n addExternal(tree: Tree, htmlPath: string): void {\n const slash = htmlPath.lastIndexOf('/');\n const dirPath = slash > 0 ? htmlPath.slice(0, slash) : '/';\n const htmlFileName = htmlPath.slice(slash + 1);\n const dir = tree.getDir(dirPath);\n for (const file of dir.subfiles) {\n if (!file.endsWith('.ts') || file.endsWith('.d.ts') || file.endsWith('.spec.ts')) continue;\n const content = tree.read(`${dir.path}/${file}`)?.toString('utf-8');\n if (content?.includes('templateUrl') && content.includes(htmlFileName)) {\n this.push(`${dir.path}/${file}`, { kind: 'templateUrl', htmlFileName });\n return;\n }\n }\n this.unresolved.push(htmlPath);\n }\n\n private readonly unresolved: string[] = [];\n\n private push(tsPath: string, target: ImportTarget): void {\n const list = this.pending.get(tsPath) ?? [];\n list.push(target);\n this.pending.set(tsPath, list);\n }\n\n apply(tree: Tree, context: SchematicContext): void {\n for (const html of this.unresolved) {\n context.logger.warn(`${html} - could not find the component of this template. Add ${DIRECTIVE_CLASS} to its imports manually.`);\n }\n for (const [tsPath, targets] of this.pending) {\n const original = tree.read(tsPath)?.toString('utf-8');\n if (original === undefined) continue;\n let current = original;\n for (const target of targets) {\n const outcome = addDirectiveImport(current, tsPath, target);\n if (outcome.status === 'manual') {\n context.logger.warn(`${tsPath} - add ${DIRECTIVE_CLASS} (from '${DIRECTIVE_PATH}') to the component \"imports\" manually (${outcome.reason}).`);\n }\n current = outcome.result;\n }\n if (current !== original) tree.overwrite(tsPath, current);\n }\n }\n}\n\nfunction propertyName(prop: ts.ObjectLiteralElementLike): string | null {\n if (!ts.isPropertyAssignment(prop)) return null;\n return ts.isIdentifier(prop.name) || ts.isStringLiteral(prop.name) ? prop.name.text : null;\n}\n\nfunction addDirectiveImport(\n source: string,\n filePath: string,\n target: ImportTarget,\n): { result: string; status: 'added' | 'present' | 'manual'; reason?: string } {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true);\n\n const matches = (obj: ts.ObjectLiteralExpression): boolean =>\n obj.properties.some((prop) => {\n const name = propertyName(prop);\n if (!name || !ts.isPropertyAssignment(prop)) return false;\n const init = prop.initializer;\n const text = ts.isStringLiteralLike(init) ? init.text : '';\n if (target.kind === 'inline') return name === 'template' && text.includes(NEW_INPUT);\n return name === 'templateUrl' && text.split('/').pop() === target.htmlFileName;\n });\n\n let component: ts.ObjectLiteralExpression | undefined;\n const find = (node: ts.Node): void => {\n if (component) return;\n if (ts.isDecorator(node) && ts.isCallExpression(node.expression) && ts.isIdentifier(node.expression.expression) && node.expression.expression.text === 'Component') {\n const arg = node.expression.arguments[0];\n if (arg && ts.isObjectLiteralExpression(arg) && matches(arg)) component = arg;\n }\n ts.forEachChild(node, find);\n };\n find(sourceFile);\n\n if (!component) return { result: source, status: 'manual', reason: 'no matching @Component found' };\n\n const standalone = component.properties.find((p) => propertyName(p) === 'standalone');\n if (standalone && ts.isPropertyAssignment(standalone) && standalone.initializer.kind === ts.SyntaxKind.FalseKeyword) {\n return { result: source, status: 'manual', reason: 'the component is not standalone, update its NgModule' };\n }\n\n const importsProp = component.properties.find((p) => propertyName(p) === 'imports');\n if (!importsProp || !ts.isPropertyAssignment(importsProp) || !ts.isArrayLiteralExpression(importsProp.initializer)) {\n return { result: source, status: 'manual', reason: 'the component has no inline \"imports\" array' };\n }\n\n const array = importsProp.initializer;\n if (array.elements.some((e) => ts.isIdentifier(e) && e.text === DIRECTIVE_CLASS)) {\n return { result: source, status: 'present' };\n }\n\n const edits: Edit[] = [];\n if (array.elements.length > 0) {\n const pos = array.elements[array.elements.length - 1].getEnd();\n edits.push({ start: pos, end: pos, replacement: `, ${DIRECTIVE_CLASS}` });\n } else {\n const pos = array.getStart(sourceFile) + 1;\n edits.push({ start: pos, end: pos, replacement: DIRECTIVE_CLASS });\n }\n\n const imports = sourceFile.statements.filter(ts.isImportDeclaration);\n const existing = imports.find(\n (i) => ts.isStringLiteral(i.moduleSpecifier) && i.moduleSpecifier.text === DIRECTIVE_PATH && i.importClause?.namedBindings && ts.isNamedImports(i.importClause.namedBindings),\n );\n const named = existing?.importClause?.namedBindings;\n if (named && ts.isNamedImports(named)) {\n if (!named.elements.some((e) => e.name.text === DIRECTIVE_CLASS)) {\n if (named.elements.length > 0) {\n const pos = named.elements[named.elements.length - 1].getEnd();\n edits.push({ start: pos, end: pos, replacement: `, ${DIRECTIVE_CLASS}` });\n } else {\n const pos = named.getStart(sourceFile) + 1;\n edits.push({ start: pos, end: pos, replacement: ` ${DIRECTIVE_CLASS} ` });\n }\n }\n } else if (imports.length > 0) {\n const last = imports[imports.length - 1];\n const quote = source[(last.moduleSpecifier as ts.StringLiteral).getStart(sourceFile)] === '\"' ? '\"' : '\\'';\n const pos = last.getEnd();\n edits.push({ start: pos, end: pos, replacement: `\\nimport { ${DIRECTIVE_CLASS} } from ${quote}${DIRECTIVE_PATH}${quote};` });\n } else {\n edits.push({ start: 0, end: 0, replacement: `import { ${DIRECTIVE_CLASS} } from '${DIRECTIVE_PATH}';\\n` });\n }\n\n return { result: applyEdits(source, edits), status: 'added' };\n}\n\n/**\n * Applies `renameTooltipMessage` to a whole file: the file itself for `.html`, the `template: \\`...\\`` literals for `.ts`.\n */\nexport function renameTooltipMessageInFile(\n source: string,\n filePath: string,\n isTarget: (element: TmplAstElement) => boolean,\n warn: (message: string) => void,\n): { result: string; renamed: number } {\n if (filePath.endsWith('.html')) return renameTooltipMessage(source, isTarget, warn);\n\n let renamed = 0;\n const result = source.replace(/template\\s*:\\s*`([^`]*)`/gs, (match, templateContent: string) => {\n if (!templateContent.includes(OLD_INPUT)) return match;\n const migrated = renameTooltipMessage(templateContent, isTarget, warn);\n renamed += migrated.renamed;\n return migrated.result === templateContent ? match : match.replace(templateContent, () => migrated.result);\n });\n return { result, renamed };\n}\n\n/** Reports `x.tooltipMessage` property accesses in TS files, which cannot be migrated automatically. */\nexport function warnTooltipMessageUsages(source: string, filePath: string, context: SchematicContext): void {\n if (!filePath.endsWith('.ts') || filePath.endsWith('.spec.ts') || !source.includes(OLD_INPUT)) return;\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true);\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAccessExpression(node) && ts.isIdentifier(node.name) && node.name.text === OLD_INPUT) {\n const { line } = sourceFile.getLineAndCharacterOfPosition(node.getStart());\n context.logger.warn(`${filePath}:${line + 1} - \"${OLD_INPUT}\" is no longer an input on eui-chip. Use the \"${NEW_INPUT}\" directive instead.`);\n }\n ts.forEachChild(node, visit);\n };\n visit(sourceFile);\n}\n",
23258
+ "displayName": "TooltipImportCollector",
23259
+ "inputsClass": [],
23260
+ "outputsClass": [],
23261
+ "properties": [],
23262
+ "description": "<p>Collects the components that now use <code>euiTooltip</code> and adds <code>EuiTooltipDirective</code> to their <code>imports</code>.</p>\n",
23263
+ "rawdescription": "\n\nCollects the components that now use `euiTooltip` and adds `EuiTooltipDirective` to their `imports`.\n",
23264
+ "methods": [
23265
+ {
23266
+ "name": "addExternal",
23267
+ "coverageIgnore": false,
23268
+ "args": [
23269
+ {
23270
+ "name": "tree",
23271
+ "type": "Tree",
23272
+ "optional": false,
23273
+ "dotDotDotToken": false,
23274
+ "deprecated": false,
23275
+ "deprecationMessage": ""
23276
+ },
23277
+ {
23278
+ "name": "htmlPath",
23279
+ "type": "string",
23280
+ "optional": false,
23281
+ "dotDotDotToken": false,
23282
+ "deprecated": false,
23283
+ "deprecationMessage": ""
23284
+ }
23285
+ ],
23286
+ "optional": false,
23287
+ "returnType": "void",
23288
+ "typeParameters": [],
23289
+ "line": 84,
23290
+ "deprecated": false,
23291
+ "deprecationMessage": "",
23292
+ "rawdescription": "\nThe template lives in `htmlPath`; the owning component is resolved through its `templateUrl`.",
23293
+ "description": "<p>The template lives in <code>htmlPath</code>; the owning component is resolved through its <code>templateUrl</code>.</p>\n",
23294
+ "jsdoctags": [
23295
+ {
23296
+ "name": "tree",
23297
+ "type": "Tree",
23298
+ "optional": false,
23299
+ "dotDotDotToken": false,
23300
+ "deprecated": false,
23301
+ "deprecationMessage": "",
23302
+ "tagName": {
23303
+ "text": "param"
23304
+ }
23305
+ },
23306
+ {
23307
+ "name": "htmlPath",
23308
+ "type": "string",
23309
+ "optional": false,
23310
+ "dotDotDotToken": false,
23311
+ "deprecated": false,
23312
+ "deprecationMessage": "",
23313
+ "tagName": {
23314
+ "text": "param"
23315
+ }
23316
+ }
23317
+ ]
23318
+ },
23319
+ {
23320
+ "name": "addInline",
23321
+ "coverageIgnore": false,
23322
+ "args": [
23323
+ {
23324
+ "name": "tsPath",
23325
+ "type": "string",
23326
+ "optional": false,
23327
+ "dotDotDotToken": false,
23328
+ "deprecated": false,
23329
+ "deprecationMessage": ""
23330
+ }
23331
+ ],
23332
+ "optional": false,
23333
+ "returnType": "void",
23334
+ "typeParameters": [],
23335
+ "line": 79,
23336
+ "deprecated": false,
23337
+ "deprecationMessage": "",
23338
+ "rawdescription": "\nThe template is inlined in the component file `tsPath`.",
23339
+ "description": "<p>The template is inlined in the component file <code>tsPath</code>.</p>\n",
23340
+ "jsdoctags": [
23341
+ {
23342
+ "name": "tsPath",
23343
+ "type": "string",
23344
+ "optional": false,
23345
+ "dotDotDotToken": false,
23346
+ "deprecated": false,
23347
+ "deprecationMessage": "",
23348
+ "tagName": {
23349
+ "text": "param"
23350
+ }
23351
+ }
23352
+ ]
23353
+ },
23354
+ {
23355
+ "name": "apply",
23356
+ "coverageIgnore": false,
23357
+ "args": [
23358
+ {
23359
+ "name": "tree",
23360
+ "type": "Tree",
23361
+ "optional": false,
23362
+ "dotDotDotToken": false,
23363
+ "deprecated": false,
23364
+ "deprecationMessage": ""
23365
+ },
23366
+ {
23367
+ "name": "context",
23368
+ "type": "SchematicContext",
23369
+ "optional": false,
23370
+ "dotDotDotToken": false,
23371
+ "deprecated": false,
23372
+ "deprecationMessage": ""
23373
+ }
23374
+ ],
23375
+ "optional": false,
23376
+ "returnType": "void",
23377
+ "typeParameters": [],
23378
+ "line": 108,
23379
+ "deprecated": false,
23380
+ "deprecationMessage": "",
23381
+ "rawdescription": "\n",
23382
+ "description": "",
23383
+ "jsdoctags": [
23384
+ {
23385
+ "name": "tree",
23386
+ "type": "Tree",
23387
+ "optional": false,
23388
+ "dotDotDotToken": false,
23389
+ "deprecated": false,
23390
+ "deprecationMessage": "",
23391
+ "tagName": {
23392
+ "text": "param"
23393
+ }
23394
+ },
23395
+ {
23396
+ "name": "context",
23397
+ "type": "SchematicContext",
23398
+ "optional": false,
23399
+ "dotDotDotToken": false,
23400
+ "deprecated": false,
23401
+ "deprecationMessage": "",
23402
+ "tagName": {
23403
+ "text": "param"
23404
+ }
23405
+ }
23406
+ ]
23407
+ }
23408
+ ],
23409
+ "indexSignatures": [],
23410
+ "extends": [],
23411
+ "hostBindings": [],
23412
+ "hostListeners": [],
23413
+ "relationships": {
23414
+ "incoming": [],
23415
+ "outgoing": []
23416
+ }
23417
+ },
23190
23418
  {
23191
23419
  "name": "TranslateLoaderMock",
23192
23420
  "id": "class-TranslateLoaderMock-4e142e09c2fb49dd6e2aa331c22b84fb560efa570a17d82a10eff3c15c008e178bccf39722626a097b93a32b8810c81f1464430e56e7ad783b79a70b96300b1e",
@@ -26474,6 +26702,28 @@
26474
26702
  "type": "string",
26475
26703
  "defaultValue": "'EuiTooltipDirective'"
26476
26704
  },
26705
+ {
26706
+ "name": "DIRECTIVE_CLASS",
26707
+ "ctype": "miscellaneous",
26708
+ "subtype": "variable",
26709
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
26710
+ "coverageIgnore": false,
26711
+ "deprecated": false,
26712
+ "deprecationMessage": "",
26713
+ "type": "string",
26714
+ "defaultValue": "'EuiTooltipDirective'"
26715
+ },
26716
+ {
26717
+ "name": "DIRECTIVE_PATH",
26718
+ "ctype": "miscellaneous",
26719
+ "subtype": "variable",
26720
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
26721
+ "coverageIgnore": false,
26722
+ "deprecated": false,
26723
+ "deprecationMessage": "",
26724
+ "type": "string",
26725
+ "defaultValue": "'@eui/components/directives'"
26726
+ },
26477
26727
  {
26478
26728
  "name": "dirOf",
26479
26729
  "ctype": "miscellaneous",
@@ -27642,6 +27892,17 @@
27642
27892
  "type": "string",
27643
27893
  "defaultValue": "'eui-tab-header-sub-label'"
27644
27894
  },
27895
+ {
27896
+ "name": "NEW_INPUT",
27897
+ "ctype": "miscellaneous",
27898
+ "subtype": "variable",
27899
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
27900
+ "coverageIgnore": false,
27901
+ "deprecated": false,
27902
+ "deprecationMessage": "",
27903
+ "type": "string",
27904
+ "defaultValue": "'euiTooltip'"
27905
+ },
27645
27906
  {
27646
27907
  "name": "NEW_INTERFACE",
27647
27908
  "ctype": "miscellaneous",
@@ -27923,6 +28184,17 @@
27923
28184
  "type": "string",
27924
28185
  "defaultValue": "'eui-tab-content'"
27925
28186
  },
28187
+ {
28188
+ "name": "OLD_INPUT",
28189
+ "ctype": "miscellaneous",
28190
+ "subtype": "variable",
28191
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
28192
+ "coverageIgnore": false,
28193
+ "deprecated": false,
28194
+ "deprecationMessage": "",
28195
+ "type": "string",
28196
+ "defaultValue": "'tooltipMessage'"
28197
+ },
27926
28198
  {
27927
28199
  "name": "OLD_INTERFACE",
27928
28200
  "ctype": "miscellaneous",
@@ -29366,6 +29638,68 @@
29366
29638
  }
29367
29639
  ]
29368
29640
  },
29641
+ {
29642
+ "name": "addDirectiveImport",
29643
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
29644
+ "ctype": "miscellaneous",
29645
+ "subtype": "function",
29646
+ "coverageIgnore": false,
29647
+ "deprecated": false,
29648
+ "deprecationMessage": "",
29649
+ "rawdescription": "",
29650
+ "description": "",
29651
+ "displayName": "addDirectiveImport",
29652
+ "args": [
29653
+ {
29654
+ "name": "source",
29655
+ "type": "string",
29656
+ "deprecated": false,
29657
+ "deprecationMessage": ""
29658
+ },
29659
+ {
29660
+ "name": "filePath",
29661
+ "type": "string",
29662
+ "deprecated": false,
29663
+ "deprecationMessage": ""
29664
+ },
29665
+ {
29666
+ "name": "target",
29667
+ "type": "ImportTarget",
29668
+ "deprecated": false,
29669
+ "deprecationMessage": ""
29670
+ }
29671
+ ],
29672
+ "returnType": "{ result: string; status: \"added\" | \"present\" | \"manual\"; reason?: string }",
29673
+ "jsdoctags": [
29674
+ {
29675
+ "name": "source",
29676
+ "type": "string",
29677
+ "deprecated": false,
29678
+ "deprecationMessage": "",
29679
+ "tagName": {
29680
+ "text": "param"
29681
+ }
29682
+ },
29683
+ {
29684
+ "name": "filePath",
29685
+ "type": "string",
29686
+ "deprecated": false,
29687
+ "deprecationMessage": "",
29688
+ "tagName": {
29689
+ "text": "param"
29690
+ }
29691
+ },
29692
+ {
29693
+ "name": "target",
29694
+ "type": "ImportTarget",
29695
+ "deprecated": false,
29696
+ "deprecationMessage": "",
29697
+ "tagName": {
29698
+ "text": "param"
29699
+ }
29700
+ }
29701
+ ]
29702
+ },
29369
29703
  {
29370
29704
  "name": "addEsImports",
29371
29705
  "file": "packages/core/schematics/add-eui-imports/index.ts",
@@ -31185,6 +31519,51 @@
31185
31519
  }
31186
31520
  ]
31187
31521
  },
31522
+ {
31523
+ "name": "applyEdits",
31524
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
31525
+ "ctype": "miscellaneous",
31526
+ "subtype": "function",
31527
+ "coverageIgnore": false,
31528
+ "deprecated": false,
31529
+ "deprecationMessage": "",
31530
+ "rawdescription": "",
31531
+ "description": "",
31532
+ "displayName": "applyEdits",
31533
+ "args": [
31534
+ {
31535
+ "name": "source",
31536
+ "type": "string",
31537
+ "deprecated": false,
31538
+ "deprecationMessage": ""
31539
+ },
31540
+ {
31541
+ "name": "edits",
31542
+ "deprecated": false,
31543
+ "deprecationMessage": ""
31544
+ }
31545
+ ],
31546
+ "returnType": "string",
31547
+ "jsdoctags": [
31548
+ {
31549
+ "name": "source",
31550
+ "type": "string",
31551
+ "deprecated": false,
31552
+ "deprecationMessage": "",
31553
+ "tagName": {
31554
+ "text": "param"
31555
+ }
31556
+ },
31557
+ {
31558
+ "name": "edits",
31559
+ "deprecated": false,
31560
+ "deprecationMessage": "",
31561
+ "tagName": {
31562
+ "text": "param"
31563
+ }
31564
+ }
31565
+ ]
31566
+ },
31188
31567
  {
31189
31568
  "name": "applyReplacements",
31190
31569
  "file": "packages/core/schematics/migrate-to-standalone/index.ts",
@@ -48877,6 +49256,36 @@
48877
49256
  }
48878
49257
  ]
48879
49258
  },
49259
+ {
49260
+ "name": "propertyName",
49261
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
49262
+ "ctype": "miscellaneous",
49263
+ "subtype": "function",
49264
+ "coverageIgnore": false,
49265
+ "deprecated": false,
49266
+ "deprecationMessage": "",
49267
+ "rawdescription": "",
49268
+ "description": "",
49269
+ "displayName": "propertyName",
49270
+ "args": [
49271
+ {
49272
+ "name": "prop",
49273
+ "deprecated": false,
49274
+ "deprecationMessage": ""
49275
+ }
49276
+ ],
49277
+ "returnType": "string | null",
49278
+ "jsdoctags": [
49279
+ {
49280
+ "name": "prop",
49281
+ "deprecated": false,
49282
+ "deprecationMessage": "",
49283
+ "tagName": {
49284
+ "text": "param"
49285
+ }
49286
+ }
49287
+ ]
49288
+ },
48880
49289
  {
48881
49290
  "name": "provideEuiInitializer",
48882
49291
  "file": "packages/core/src/lib/services/app/eui-init-app.ts",
@@ -50049,6 +50458,137 @@
50049
50458
  }
50050
50459
  ]
50051
50460
  },
50461
+ {
50462
+ "name": "renameTooltipMessage",
50463
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
50464
+ "ctype": "miscellaneous",
50465
+ "subtype": "function",
50466
+ "coverageIgnore": false,
50467
+ "deprecated": false,
50468
+ "deprecationMessage": "",
50469
+ "rawdescription": "Renames the removed `tooltipMessage` input to `euiTooltip` (static, bound and interpolated forms)\non the elements accepted by `isTarget`. Elements already carrying `euiTooltip` are left unchanged and reported.",
50470
+ "description": "<p>Renames the removed <code>tooltipMessage</code> input to <code>euiTooltip</code> (static, bound and interpolated forms)\non the elements accepted by <code>isTarget</code>. Elements already carrying <code>euiTooltip</code> are left unchanged and reported.</p>\n",
50471
+ "displayName": "renameTooltipMessage",
50472
+ "args": [
50473
+ {
50474
+ "name": "source",
50475
+ "type": "string",
50476
+ "deprecated": false,
50477
+ "deprecationMessage": ""
50478
+ },
50479
+ {
50480
+ "name": "isTarget",
50481
+ "deprecated": false,
50482
+ "deprecationMessage": ""
50483
+ },
50484
+ {
50485
+ "name": "warn",
50486
+ "deprecated": false,
50487
+ "deprecationMessage": ""
50488
+ }
50489
+ ],
50490
+ "returnType": "{ result: string; renamed: number }",
50491
+ "jsdoctags": [
50492
+ {
50493
+ "name": "source",
50494
+ "type": "string",
50495
+ "deprecated": false,
50496
+ "deprecationMessage": "",
50497
+ "tagName": {
50498
+ "text": "param"
50499
+ }
50500
+ },
50501
+ {
50502
+ "name": "isTarget",
50503
+ "deprecated": false,
50504
+ "deprecationMessage": "",
50505
+ "tagName": {
50506
+ "text": "param"
50507
+ }
50508
+ },
50509
+ {
50510
+ "name": "warn",
50511
+ "deprecated": false,
50512
+ "deprecationMessage": "",
50513
+ "tagName": {
50514
+ "text": "param"
50515
+ }
50516
+ }
50517
+ ]
50518
+ },
50519
+ {
50520
+ "name": "renameTooltipMessageInFile",
50521
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
50522
+ "ctype": "miscellaneous",
50523
+ "subtype": "function",
50524
+ "coverageIgnore": false,
50525
+ "deprecated": false,
50526
+ "deprecationMessage": "",
50527
+ "rawdescription": "Applies `renameTooltipMessage` to a whole file: the file itself for `.html`, the `template: \\`...\\`` literals for `.ts`.",
50528
+ "description": "<p>Applies <code>renameTooltipMessage</code> to a whole file: the file itself for <code>.html</code>, the <code>template: \\</code>...`<code>literals for</code>.ts`.</p>\n",
50529
+ "displayName": "renameTooltipMessageInFile",
50530
+ "args": [
50531
+ {
50532
+ "name": "source",
50533
+ "type": "string",
50534
+ "deprecated": false,
50535
+ "deprecationMessage": ""
50536
+ },
50537
+ {
50538
+ "name": "filePath",
50539
+ "type": "string",
50540
+ "deprecated": false,
50541
+ "deprecationMessage": ""
50542
+ },
50543
+ {
50544
+ "name": "isTarget",
50545
+ "deprecated": false,
50546
+ "deprecationMessage": ""
50547
+ },
50548
+ {
50549
+ "name": "warn",
50550
+ "deprecated": false,
50551
+ "deprecationMessage": ""
50552
+ }
50553
+ ],
50554
+ "returnType": "{ result: string; renamed: number }",
50555
+ "jsdoctags": [
50556
+ {
50557
+ "name": "source",
50558
+ "type": "string",
50559
+ "deprecated": false,
50560
+ "deprecationMessage": "",
50561
+ "tagName": {
50562
+ "text": "param"
50563
+ }
50564
+ },
50565
+ {
50566
+ "name": "filePath",
50567
+ "type": "string",
50568
+ "deprecated": false,
50569
+ "deprecationMessage": "",
50570
+ "tagName": {
50571
+ "text": "param"
50572
+ }
50573
+ },
50574
+ {
50575
+ "name": "isTarget",
50576
+ "deprecated": false,
50577
+ "deprecationMessage": "",
50578
+ "tagName": {
50579
+ "text": "param"
50580
+ }
50581
+ },
50582
+ {
50583
+ "name": "warn",
50584
+ "deprecated": false,
50585
+ "deprecationMessage": "",
50586
+ "tagName": {
50587
+ "text": "param"
50588
+ }
50589
+ }
50590
+ ]
50591
+ },
50052
50592
  {
50053
50593
  "name": "renameTsProperties",
50054
50594
  "file": "packages/core/schematics/migrate-eui-table/index.ts",
@@ -57899,6 +58439,68 @@
57899
58439
  }
57900
58440
  ]
57901
58441
  },
58442
+ {
58443
+ "name": "warnTooltipMessageUsages",
58444
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
58445
+ "ctype": "miscellaneous",
58446
+ "subtype": "function",
58447
+ "coverageIgnore": false,
58448
+ "deprecated": false,
58449
+ "deprecationMessage": "",
58450
+ "rawdescription": "Reports `x.tooltipMessage` property accesses in TS files, which cannot be migrated automatically.",
58451
+ "description": "<p>Reports <code>x.tooltipMessage</code> property accesses in TS files, which cannot be migrated automatically.</p>\n",
58452
+ "displayName": "warnTooltipMessageUsages",
58453
+ "args": [
58454
+ {
58455
+ "name": "source",
58456
+ "type": "string",
58457
+ "deprecated": false,
58458
+ "deprecationMessage": ""
58459
+ },
58460
+ {
58461
+ "name": "filePath",
58462
+ "type": "string",
58463
+ "deprecated": false,
58464
+ "deprecationMessage": ""
58465
+ },
58466
+ {
58467
+ "name": "context",
58468
+ "type": "SchematicContext",
58469
+ "deprecated": false,
58470
+ "deprecationMessage": ""
58471
+ }
58472
+ ],
58473
+ "returnType": "void",
58474
+ "jsdoctags": [
58475
+ {
58476
+ "name": "source",
58477
+ "type": "string",
58478
+ "deprecated": false,
58479
+ "deprecationMessage": "",
58480
+ "tagName": {
58481
+ "text": "param"
58482
+ }
58483
+ },
58484
+ {
58485
+ "name": "filePath",
58486
+ "type": "string",
58487
+ "deprecated": false,
58488
+ "deprecationMessage": "",
58489
+ "tagName": {
58490
+ "text": "param"
58491
+ }
58492
+ },
58493
+ {
58494
+ "name": "context",
58495
+ "type": "SchematicContext",
58496
+ "deprecated": false,
58497
+ "deprecationMessage": "",
58498
+ "tagName": {
58499
+ "text": "param"
58500
+ }
58501
+ }
58502
+ ]
58503
+ },
57902
58504
  {
57903
58505
  "name": "withoutOverlaps",
57904
58506
  "file": "packages/core/schematics/migrate-eui-tab-signals/index.ts",
@@ -58117,6 +58719,19 @@
58117
58719
  "description": "",
58118
58720
  "kind": 185
58119
58721
  },
58722
+ {
58723
+ "name": "ImportTarget",
58724
+ "ctype": "miscellaneous",
58725
+ "subtype": "typealias",
58726
+ "coverageIgnore": false,
58727
+ "rawtype": "literal type | literal type",
58728
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
58729
+ "deprecated": false,
58730
+ "deprecationMessage": "",
58731
+ "rawdescription": "",
58732
+ "description": "",
58733
+ "kind": 193
58734
+ },
58120
58735
  {
58121
58736
  "name": "Kind",
58122
58737
  "ctype": "miscellaneous",
@@ -60702,6 +61317,52 @@
60702
61317
  "defaultValue": "{\n isPrimary: 'euiTooltipPrimary',\n isSecondary: 'euiTooltipSecondary',\n isInfo: 'euiTooltipInfo',\n isSuccess: 'euiTooltipSuccess',\n isWarning: 'euiTooltipWarning',\n isDanger: 'euiTooltipDanger',\n isAccent: 'euiTooltipAccent',\n}"
60703
61318
  }
60704
61319
  ],
61320
+ "packages/core/schematics/utils/tooltip-message.ts": [
61321
+ {
61322
+ "name": "DIRECTIVE_CLASS",
61323
+ "ctype": "miscellaneous",
61324
+ "subtype": "variable",
61325
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
61326
+ "coverageIgnore": false,
61327
+ "deprecated": false,
61328
+ "deprecationMessage": "",
61329
+ "type": "string",
61330
+ "defaultValue": "'EuiTooltipDirective'"
61331
+ },
61332
+ {
61333
+ "name": "DIRECTIVE_PATH",
61334
+ "ctype": "miscellaneous",
61335
+ "subtype": "variable",
61336
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
61337
+ "coverageIgnore": false,
61338
+ "deprecated": false,
61339
+ "deprecationMessage": "",
61340
+ "type": "string",
61341
+ "defaultValue": "'@eui/components/directives'"
61342
+ },
61343
+ {
61344
+ "name": "NEW_INPUT",
61345
+ "ctype": "miscellaneous",
61346
+ "subtype": "variable",
61347
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
61348
+ "coverageIgnore": false,
61349
+ "deprecated": false,
61350
+ "deprecationMessage": "",
61351
+ "type": "string",
61352
+ "defaultValue": "'euiTooltip'"
61353
+ },
61354
+ {
61355
+ "name": "OLD_INPUT",
61356
+ "ctype": "miscellaneous",
61357
+ "subtype": "variable",
61358
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
61359
+ "coverageIgnore": false,
61360
+ "deprecated": false,
61361
+ "deprecationMessage": "",
61362
+ "type": "string",
61363
+ "defaultValue": "'tooltipMessage'"
61364
+ }
61365
+ ],
60705
61366
  "packages/core/src/lib/services/dynamic-component/dynamic-component.service.ts": [
60706
61367
  {
60707
61368
  "name": "DYNAMIC_COMPONENT_CONFIG",
@@ -63311,6 +63972,338 @@
63311
63972
  ]
63312
63973
  }
63313
63974
  ],
63975
+ "packages/core/schematics/utils/tooltip-message.ts": [
63976
+ {
63977
+ "name": "addDirectiveImport",
63978
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
63979
+ "ctype": "miscellaneous",
63980
+ "subtype": "function",
63981
+ "coverageIgnore": false,
63982
+ "deprecated": false,
63983
+ "deprecationMessage": "",
63984
+ "rawdescription": "",
63985
+ "description": "",
63986
+ "displayName": "addDirectiveImport",
63987
+ "args": [
63988
+ {
63989
+ "name": "source",
63990
+ "type": "string",
63991
+ "deprecated": false,
63992
+ "deprecationMessage": ""
63993
+ },
63994
+ {
63995
+ "name": "filePath",
63996
+ "type": "string",
63997
+ "deprecated": false,
63998
+ "deprecationMessage": ""
63999
+ },
64000
+ {
64001
+ "name": "target",
64002
+ "type": "ImportTarget",
64003
+ "deprecated": false,
64004
+ "deprecationMessage": ""
64005
+ }
64006
+ ],
64007
+ "returnType": "{ result: string; status: \"added\" | \"present\" | \"manual\"; reason?: string }",
64008
+ "jsdoctags": [
64009
+ {
64010
+ "name": "source",
64011
+ "type": "string",
64012
+ "deprecated": false,
64013
+ "deprecationMessage": "",
64014
+ "tagName": {
64015
+ "text": "param"
64016
+ }
64017
+ },
64018
+ {
64019
+ "name": "filePath",
64020
+ "type": "string",
64021
+ "deprecated": false,
64022
+ "deprecationMessage": "",
64023
+ "tagName": {
64024
+ "text": "param"
64025
+ }
64026
+ },
64027
+ {
64028
+ "name": "target",
64029
+ "type": "ImportTarget",
64030
+ "deprecated": false,
64031
+ "deprecationMessage": "",
64032
+ "tagName": {
64033
+ "text": "param"
64034
+ }
64035
+ }
64036
+ ]
64037
+ },
64038
+ {
64039
+ "name": "applyEdits",
64040
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
64041
+ "ctype": "miscellaneous",
64042
+ "subtype": "function",
64043
+ "coverageIgnore": false,
64044
+ "deprecated": false,
64045
+ "deprecationMessage": "",
64046
+ "rawdescription": "",
64047
+ "description": "",
64048
+ "displayName": "applyEdits",
64049
+ "args": [
64050
+ {
64051
+ "name": "source",
64052
+ "type": "string",
64053
+ "deprecated": false,
64054
+ "deprecationMessage": ""
64055
+ },
64056
+ {
64057
+ "name": "edits",
64058
+ "deprecated": false,
64059
+ "deprecationMessage": ""
64060
+ }
64061
+ ],
64062
+ "returnType": "string",
64063
+ "jsdoctags": [
64064
+ {
64065
+ "name": "source",
64066
+ "type": "string",
64067
+ "deprecated": false,
64068
+ "deprecationMessage": "",
64069
+ "tagName": {
64070
+ "text": "param"
64071
+ }
64072
+ },
64073
+ {
64074
+ "name": "edits",
64075
+ "deprecated": false,
64076
+ "deprecationMessage": "",
64077
+ "tagName": {
64078
+ "text": "param"
64079
+ }
64080
+ }
64081
+ ]
64082
+ },
64083
+ {
64084
+ "name": "propertyName",
64085
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
64086
+ "ctype": "miscellaneous",
64087
+ "subtype": "function",
64088
+ "coverageIgnore": false,
64089
+ "deprecated": false,
64090
+ "deprecationMessage": "",
64091
+ "rawdescription": "",
64092
+ "description": "",
64093
+ "displayName": "propertyName",
64094
+ "args": [
64095
+ {
64096
+ "name": "prop",
64097
+ "deprecated": false,
64098
+ "deprecationMessage": ""
64099
+ }
64100
+ ],
64101
+ "returnType": "string | null",
64102
+ "jsdoctags": [
64103
+ {
64104
+ "name": "prop",
64105
+ "deprecated": false,
64106
+ "deprecationMessage": "",
64107
+ "tagName": {
64108
+ "text": "param"
64109
+ }
64110
+ }
64111
+ ]
64112
+ },
64113
+ {
64114
+ "name": "renameTooltipMessage",
64115
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
64116
+ "ctype": "miscellaneous",
64117
+ "subtype": "function",
64118
+ "coverageIgnore": false,
64119
+ "deprecated": false,
64120
+ "deprecationMessage": "",
64121
+ "rawdescription": "Renames the removed `tooltipMessage` input to `euiTooltip` (static, bound and interpolated forms)\non the elements accepted by `isTarget`. Elements already carrying `euiTooltip` are left unchanged and reported.",
64122
+ "description": "<p>Renames the removed <code>tooltipMessage</code> input to <code>euiTooltip</code> (static, bound and interpolated forms)\non the elements accepted by <code>isTarget</code>. Elements already carrying <code>euiTooltip</code> are left unchanged and reported.</p>\n",
64123
+ "displayName": "renameTooltipMessage",
64124
+ "args": [
64125
+ {
64126
+ "name": "source",
64127
+ "type": "string",
64128
+ "deprecated": false,
64129
+ "deprecationMessage": ""
64130
+ },
64131
+ {
64132
+ "name": "isTarget",
64133
+ "deprecated": false,
64134
+ "deprecationMessage": ""
64135
+ },
64136
+ {
64137
+ "name": "warn",
64138
+ "deprecated": false,
64139
+ "deprecationMessage": ""
64140
+ }
64141
+ ],
64142
+ "returnType": "{ result: string; renamed: number }",
64143
+ "jsdoctags": [
64144
+ {
64145
+ "name": "source",
64146
+ "type": "string",
64147
+ "deprecated": false,
64148
+ "deprecationMessage": "",
64149
+ "tagName": {
64150
+ "text": "param"
64151
+ }
64152
+ },
64153
+ {
64154
+ "name": "isTarget",
64155
+ "deprecated": false,
64156
+ "deprecationMessage": "",
64157
+ "tagName": {
64158
+ "text": "param"
64159
+ }
64160
+ },
64161
+ {
64162
+ "name": "warn",
64163
+ "deprecated": false,
64164
+ "deprecationMessage": "",
64165
+ "tagName": {
64166
+ "text": "param"
64167
+ }
64168
+ }
64169
+ ]
64170
+ },
64171
+ {
64172
+ "name": "renameTooltipMessageInFile",
64173
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
64174
+ "ctype": "miscellaneous",
64175
+ "subtype": "function",
64176
+ "coverageIgnore": false,
64177
+ "deprecated": false,
64178
+ "deprecationMessage": "",
64179
+ "rawdescription": "Applies `renameTooltipMessage` to a whole file: the file itself for `.html`, the `template: \\`...\\`` literals for `.ts`.",
64180
+ "description": "<p>Applies <code>renameTooltipMessage</code> to a whole file: the file itself for <code>.html</code>, the <code>template: \\</code>...`<code>literals for</code>.ts`.</p>\n",
64181
+ "displayName": "renameTooltipMessageInFile",
64182
+ "args": [
64183
+ {
64184
+ "name": "source",
64185
+ "type": "string",
64186
+ "deprecated": false,
64187
+ "deprecationMessage": ""
64188
+ },
64189
+ {
64190
+ "name": "filePath",
64191
+ "type": "string",
64192
+ "deprecated": false,
64193
+ "deprecationMessage": ""
64194
+ },
64195
+ {
64196
+ "name": "isTarget",
64197
+ "deprecated": false,
64198
+ "deprecationMessage": ""
64199
+ },
64200
+ {
64201
+ "name": "warn",
64202
+ "deprecated": false,
64203
+ "deprecationMessage": ""
64204
+ }
64205
+ ],
64206
+ "returnType": "{ result: string; renamed: number }",
64207
+ "jsdoctags": [
64208
+ {
64209
+ "name": "source",
64210
+ "type": "string",
64211
+ "deprecated": false,
64212
+ "deprecationMessage": "",
64213
+ "tagName": {
64214
+ "text": "param"
64215
+ }
64216
+ },
64217
+ {
64218
+ "name": "filePath",
64219
+ "type": "string",
64220
+ "deprecated": false,
64221
+ "deprecationMessage": "",
64222
+ "tagName": {
64223
+ "text": "param"
64224
+ }
64225
+ },
64226
+ {
64227
+ "name": "isTarget",
64228
+ "deprecated": false,
64229
+ "deprecationMessage": "",
64230
+ "tagName": {
64231
+ "text": "param"
64232
+ }
64233
+ },
64234
+ {
64235
+ "name": "warn",
64236
+ "deprecated": false,
64237
+ "deprecationMessage": "",
64238
+ "tagName": {
64239
+ "text": "param"
64240
+ }
64241
+ }
64242
+ ]
64243
+ },
64244
+ {
64245
+ "name": "warnTooltipMessageUsages",
64246
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
64247
+ "ctype": "miscellaneous",
64248
+ "subtype": "function",
64249
+ "coverageIgnore": false,
64250
+ "deprecated": false,
64251
+ "deprecationMessage": "",
64252
+ "rawdescription": "Reports `x.tooltipMessage` property accesses in TS files, which cannot be migrated automatically.",
64253
+ "description": "<p>Reports <code>x.tooltipMessage</code> property accesses in TS files, which cannot be migrated automatically.</p>\n",
64254
+ "displayName": "warnTooltipMessageUsages",
64255
+ "args": [
64256
+ {
64257
+ "name": "source",
64258
+ "type": "string",
64259
+ "deprecated": false,
64260
+ "deprecationMessage": ""
64261
+ },
64262
+ {
64263
+ "name": "filePath",
64264
+ "type": "string",
64265
+ "deprecated": false,
64266
+ "deprecationMessage": ""
64267
+ },
64268
+ {
64269
+ "name": "context",
64270
+ "type": "SchematicContext",
64271
+ "deprecated": false,
64272
+ "deprecationMessage": ""
64273
+ }
64274
+ ],
64275
+ "returnType": "void",
64276
+ "jsdoctags": [
64277
+ {
64278
+ "name": "source",
64279
+ "type": "string",
64280
+ "deprecated": false,
64281
+ "deprecationMessage": "",
64282
+ "tagName": {
64283
+ "text": "param"
64284
+ }
64285
+ },
64286
+ {
64287
+ "name": "filePath",
64288
+ "type": "string",
64289
+ "deprecated": false,
64290
+ "deprecationMessage": "",
64291
+ "tagName": {
64292
+ "text": "param"
64293
+ }
64294
+ },
64295
+ {
64296
+ "name": "context",
64297
+ "type": "SchematicContext",
64298
+ "deprecated": false,
64299
+ "deprecationMessage": "",
64300
+ "tagName": {
64301
+ "text": "param"
64302
+ }
64303
+ }
64304
+ ]
64305
+ }
64306
+ ],
63314
64307
  "packages/core/schematics/add-eui-imports/index.ts": [
63315
64308
  {
63316
64309
  "name": "addEsImports",
@@ -91764,6 +92757,21 @@
91764
92757
  "kind": 185
91765
92758
  }
91766
92759
  ],
92760
+ "packages/core/schematics/utils/tooltip-message.ts": [
92761
+ {
92762
+ "name": "ImportTarget",
92763
+ "ctype": "miscellaneous",
92764
+ "subtype": "typealias",
92765
+ "coverageIgnore": false,
92766
+ "rawtype": "literal type | literal type",
92767
+ "file": "packages/core/schematics/utils/tooltip-message.ts",
92768
+ "deprecated": false,
92769
+ "deprecationMessage": "",
92770
+ "rawdescription": "",
92771
+ "description": "",
92772
+ "kind": 193
92773
+ }
92774
+ ],
91767
92775
  "packages/core/schematics/migrate-eui-autocomplete/index.ts": [
91768
92776
  {
91769
92777
  "name": "Kind",