@eui/core 22.0.0-alpha.78 → 22.0.0-alpha.79
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 +9 -0
- package/docs/changelog.html +14 -0
- package/docs/js/search/search_index.js +2 -2
- package/docs/json/documentation.json +955 -955
- package/docs/llms.txt +1 -1
- package/docs/properties.html +1 -1
- package/package.json +2 -2
|
@@ -1032,12 +1032,12 @@
|
|
|
1032
1032
|
},
|
|
1033
1033
|
{
|
|
1034
1034
|
"name": "Edit",
|
|
1035
|
-
"id": "interface-Edit-
|
|
1036
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
1035
|
+
"id": "interface-Edit-d273b5462287e58c647e750a2b9d5c1b39b8fde0ee7ee3013262cc411acc2e284f9cc1465c0c07e04a7e14ec416956ca80650e192aa390a2be598e7cb1f5b5d5-4",
|
|
1036
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
1037
1037
|
"deprecated": false,
|
|
1038
1038
|
"deprecationMessage": "",
|
|
1039
1039
|
"type": "interface",
|
|
1040
|
-
"sourceCode": "import { parseTemplate, TmplAstElement, TmplAstNode } 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\n/**\n * Migrates the removed `ecl-page-header` element selector to `div[eclPageHeader]`.\n *\n * In v22 the `ecl-page-header` element selector was removed; the component only\n * matches `div[eclPageHeader]`. This schematic rewrites `<ecl-page-header>` to\n * `<div eclPageHeader>` (and the closing tag to `</div>`) in external `.html`\n * templates and inline `@Component` templates, preserving existing attributes\n * and content.\n */\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_TAG = 'ecl-page-header';\nconst NEW_TAG = 'div';\nconst ATTRIBUTE = 'eclPageHeader';\n\nexport function migrateEclPageHeader(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes(OLD_TAG)) return;\n\n const result = path.endsWith('.html') ? migrateTemplate(original) : migrateTypeScript(original, path);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, edits);\n return applyEdits(source, edits);\n}\n\nfunction migrateTypeScript(source: string, filePath: string): string {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const edits: Edit[] = [];\n\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(OLD_TAG)) {\n const migrated = migrateTemplate(rawTemplate);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], edits: Edit[]): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (node.name === OLD_TAG) {\n collectElementRename(node, edits);\n }\n visitNodes(node.children, edits);\n }\n }\n}\n\nfunction collectElementRename(element: TmplAstElement, edits: Edit[]): void {\n const openTagNameStart = element.startSourceSpan.start.offset + 1; // skip '<'\n const openTagNameEnd = openTagNameStart + OLD_TAG.length;\n\n const alreadyHasAttribute =\n element.attributes.some((a) => a.name === ATTRIBUTE) || element.inputs.some((i) => i.name === ATTRIBUTE);\n\n const replacement = alreadyHasAttribute ? NEW_TAG : `${NEW_TAG} ${ATTRIBUTE}`;\n edits.push({ start: openTagNameStart, end: openTagNameEnd, replacement });\n\n if (element.endSourceSpan) {\n const closeTagNameStart = element.endSourceSpan.start.offset + 2; // skip '</'\n edits.push({ start: closeTagNameStart, end: closeTagNameStart + OLD_TAG.length, replacement: NEW_TAG });\n }\n}\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
1040
|
+
"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 { createTodoEdit } from '../utils/todo-comment';\n\n/**\n * Migrates removed `eclLink` (EclLinkDirective) inputs for ECL v21 → v22.\n *\n * Two inputs were removed:\n * - `isHighlight`: only the `primary` variant could be highlighted, so\n * `eclLink variant=\"primary\" isHighlight` becomes\n * `eclLink variant=\"primary-highlight\"`. The `isHighlight` attribute is\n * removed and the `variant` value is set to `primary-highlight`.\n * - `isNoVisited`: had no effect; removed with no replacement.\n *\n * Only elements that carry the `eclLink` attribute are touched. The schematic\n * rewrites external `.html` templates and inline `@Component` templates.\n *\n * Cases that cannot be rewritten safely (a bound `[isHighlight]=\"expr\"` with a\n * non-literal expression, or a bound `[variant]` that cannot be statically\n * resolved) are left in place, reported as warnings and marked with a\n * `TODO: [eUI v22 migration]` HTML comment above the element.\n */\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 ECL_LINK_ATTR = 'eclLink';\nconst IS_HIGHLIGHT = 'isHighlight';\nconst IS_NO_VISITED = 'isNoVisited';\nconst VARIANT = 'variant';\nconst HIGHLIGHT_VARIANT = 'primary-highlight';\n\nexport function migrateEclLink(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n // Fast bail: must mention eclLink and one of the removed inputs.\n if (!original.includes(ECL_LINK_ATTR)) return;\n if (!original.includes(IS_HIGHLIGHT) && !original.includes(IS_NO_VISITED)) return;\n\n const result = path.endsWith('.html')\n ? migrateTemplate(original, path, context)\n : migrateTypeScript(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate eclLink input(s) in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated eclLink inputs in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string, filePath: string, context: SchematicContext): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, source, edits, filePath, context);\n return applyEdits(source, edits);\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 const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(ECL_LINK_ATTR) && (rawTemplate.includes(IS_HIGHLIGHT) || rawTemplate.includes(IS_NO_VISITED))) {\n const migrated = migrateTemplate(rawTemplate, filePath, context);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], source: string, edits: Edit[], filePath: string, context: SchematicContext): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (hasEclLink(node)) {\n collectEclLinkEdits(node, source, edits, filePath, context);\n }\n visitNodes(node.children, source, edits, filePath, context);\n }\n }\n}\n\nfunction hasEclLink(element: TmplAstElement): boolean {\n return (\n element.attributes.some((a) => a.name === ECL_LINK_ATTR) ||\n element.inputs.some((i) => i.name === ECL_LINK_ATTR)\n );\n}\n\nfunction collectEclLinkEdits(\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n filePath: string,\n context: SchematicContext,\n): void {\n // --- isNoVisited: always remove ---\n const noVisitedAttr = element.attributes.find((a) => a.name === IS_NO_VISITED);\n if (noVisitedAttr) {\n edits.push(removeAttribute(noVisitedAttr, source));\n }\n const noVisitedInput = element.inputs.find((i) => i.name === IS_NO_VISITED);\n if (noVisitedInput) {\n edits.push(removeBoundAttribute(noVisitedInput, source));\n }\n\n // --- isHighlight: convert to variant=\"primary-highlight\" ---\n const highlightAttr = element.attributes.find((a) => a.name === IS_HIGHLIGHT);\n const highlightInput = element.inputs.find((i) => i.name === IS_HIGHLIGHT);\n\n if (!highlightAttr && !highlightInput) {\n return;\n }\n\n // A bound [isHighlight]=\"expr\" where expr is not a truthy literal can't be\n // safely converted — the highlight was conditional. Warn and leave it.\n if (highlightInput && !isTruthyLiteralBinding(highlightInput, source)) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"[isHighlight]\" was removed. Set variant=\"${HIGHLIGHT_VARIANT}\" conditionally instead.`,\n );\n return;\n }\n\n // Resolve the variant edit first. A bound [variant]=\"...\" cannot be resolved\n // statically, so we leave the whole element untouched (including isHighlight)\n // and warn — a partial migration would be worse than none.\n const variantInput = element.inputs.find((i) => i.name === VARIANT);\n if (variantInput) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"isHighlight\" was removed but the bound \"[variant]\" could not be updated automatically; set it to \"${HIGHLIGHT_VARIANT}\" manually.`,\n );\n return;\n }\n\n // Safe to convert: remove the isHighlight attribute/binding...\n if (highlightAttr) {\n edits.push(removeAttribute(highlightAttr, source));\n }\n if (highlightInput) {\n edits.push(removeBoundAttribute(highlightInput, source));\n }\n\n // ...and set variant to primary-highlight.\n const variantAttr = element.attributes.find((a) => a.name === VARIANT);\n if (variantAttr) {\n // Replace the existing variant value (quoted) with primary-highlight.\n edits.push(setAttributeValue(variantAttr, source, HIGHLIGHT_VARIANT));\n } else {\n // No variant present — inject it right after the eclLink attribute.\n edits.push(injectVariantAttribute(element, source));\n }\n}\n\n// ---------------------------------------------------------------------------\n// Attribute edit helpers\n// ---------------------------------------------------------------------------\n\n/** Removes a plain text attribute including the preceding whitespace. */\nfunction removeAttribute(attr: TmplAstTextAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Removes a bound attribute `[name]=\"...\"` including the preceding whitespace. */\nfunction removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Replaces the value of a text attribute `name=\"old\"` with a new value. */\nfunction setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit {\n // keySpan covers the attribute name; valueSpan covers the value (without quotes).\n if (attr.valueSpan) {\n return { start: attr.valueSpan.start.offset, end: attr.valueSpan.end.offset, replacement: newValue };\n }\n // Valueless attribute (e.g. `variant`) — rewrite the whole thing.\n return {\n start: attr.sourceSpan.start.offset,\n end: attr.sourceSpan.end.offset,\n replacement: `${VARIANT}=\"${newValue}\"`,\n };\n}\n\n/** Injects `variant=\"primary-highlight\"` immediately after the eclLink attribute. */\nfunction injectVariantAttribute(element: TmplAstElement, source: string): Edit {\n const eclLinkAttr =\n element.attributes.find((a) => a.name === ECL_LINK_ATTR) ??\n element.inputs.find((i) => i.name === ECL_LINK_ATTR);\n\n const anchorEnd = eclLinkAttr\n ? eclLinkAttr.sourceSpan.end.offset\n : element.startSourceSpan.start.offset + 1 + element.name.length;\n\n return { start: anchorEnd, end: anchorEnd, replacement: ` ${VARIANT}=\"${HIGHLIGHT_VARIANT}\"` };\n}\n\n/**\n * A `[isHighlight]=\"expr\"` binding is only safely convertible when expr is a\n * literal that is always truthy (`true`). Anything else (a property, a ternary,\n * `false`) is conditional and must be handled by the developer.\n */\nfunction isTruthyLiteralBinding(input: TmplAstBoundAttribute, source: string): boolean {\n const raw = readBindingExpression(input, source).trim();\n return raw === 'true';\n}\n\nfunction readBindingExpression(input: TmplAstBoundAttribute, source: string): string {\n if (input.valueSpan) {\n return source.slice(input.valueSpan.start.offset, input.valueSpan.end.offset);\n }\n return '';\n}\n\nfunction consumeLeadingWhitespace(source: string, start: number): number {\n let s = start;\n while (s > 0 && (source[s - 1] === ' ' || source[s - 1] === '\\t' || source[s - 1] === '\\n' || source[s - 1] === '\\r')) {\n s--;\n }\n return s;\n}\n\n/** Logs a warning and adds a TODO comment above the element for manual follow-up. */\nfunction reportManual(\n context: SchematicContext,\n filePath: string,\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n message: string,\n): void {\n const { line } = element.startSourceSpan.start;\n context.logger.warn(`${filePath}:${line + 1} - ${message}`);\n const todo = createTodoEdit(source, element.startSourceSpan.start.offset, message);\n if (todo) edits.push(todo);\n}\n\n// ---------------------------------------------------------------------------\n// TypeScript inline-template helpers (shared conventions with sibling schematics)\n// ---------------------------------------------------------------------------\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
1041
1041
|
"displayName": "Edit",
|
|
1042
1042
|
"properties": [
|
|
1043
1043
|
{
|
|
@@ -1049,7 +1049,7 @@
|
|
|
1049
1049
|
"indexKey": "",
|
|
1050
1050
|
"optional": false,
|
|
1051
1051
|
"description": "",
|
|
1052
|
-
"line":
|
|
1052
|
+
"line": 33,
|
|
1053
1053
|
"rawdescription": "\n"
|
|
1054
1054
|
},
|
|
1055
1055
|
{
|
|
@@ -1061,7 +1061,7 @@
|
|
|
1061
1061
|
"indexKey": "",
|
|
1062
1062
|
"optional": false,
|
|
1063
1063
|
"description": "",
|
|
1064
|
-
"line":
|
|
1064
|
+
"line": 34,
|
|
1065
1065
|
"rawdescription": "\n"
|
|
1066
1066
|
},
|
|
1067
1067
|
{
|
|
@@ -1073,7 +1073,7 @@
|
|
|
1073
1073
|
"indexKey": "",
|
|
1074
1074
|
"optional": false,
|
|
1075
1075
|
"description": "",
|
|
1076
|
-
"line":
|
|
1076
|
+
"line": 32,
|
|
1077
1077
|
"rawdescription": "\n"
|
|
1078
1078
|
}
|
|
1079
1079
|
],
|
|
@@ -1091,12 +1091,12 @@
|
|
|
1091
1091
|
},
|
|
1092
1092
|
{
|
|
1093
1093
|
"name": "Edit",
|
|
1094
|
-
"id": "interface-Edit-
|
|
1095
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
1094
|
+
"id": "interface-Edit-ba2913a48a24293b4c7a11f3a7355ae733abcd99b6625fa243ebd78b3240c95743f9449aa35b04ec12e439e1d54ec8bf0d78c0c7ed9d2580e663f0f08cf9eb5b-5",
|
|
1095
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
1096
1096
|
"deprecated": false,
|
|
1097
1097
|
"deprecationMessage": "",
|
|
1098
1098
|
"type": "interface",
|
|
1099
|
-
"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 { createTodoEdit } from '../utils/todo-comment';\n\n/**\n * Migrates removed `eclLink` (EclLinkDirective) inputs for ECL v21 → v22.\n *\n * Two inputs were removed:\n * - `isHighlight`: only the `primary` variant could be highlighted, so\n * `eclLink variant=\"primary\" isHighlight` becomes\n * `eclLink variant=\"primary-highlight\"`. The `isHighlight` attribute is\n * removed and the `variant` value is set to `primary-highlight`.\n * - `isNoVisited`: had no effect; removed with no replacement.\n *\n * Only elements that carry the `eclLink` attribute are touched. The schematic\n * rewrites external `.html` templates and inline `@Component` templates.\n *\n * Cases that cannot be rewritten safely (a bound `[isHighlight]=\"expr\"` with a\n * non-literal expression, or a bound `[variant]` that cannot be statically\n * resolved) are left in place, reported as warnings and marked with a\n * `TODO: [eUI v22 migration]` HTML comment above the element.\n */\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 ECL_LINK_ATTR = 'eclLink';\nconst IS_HIGHLIGHT = 'isHighlight';\nconst IS_NO_VISITED = 'isNoVisited';\nconst VARIANT = 'variant';\nconst HIGHLIGHT_VARIANT = 'primary-highlight';\n\nexport function migrateEclLink(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n // Fast bail: must mention eclLink and one of the removed inputs.\n if (!original.includes(ECL_LINK_ATTR)) return;\n if (!original.includes(IS_HIGHLIGHT) && !original.includes(IS_NO_VISITED)) return;\n\n const result = path.endsWith('.html')\n ? migrateTemplate(original, path, context)\n : migrateTypeScript(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate eclLink input(s) in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated eclLink inputs in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string, filePath: string, context: SchematicContext): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, source, edits, filePath, context);\n return applyEdits(source, edits);\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 const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(ECL_LINK_ATTR) && (rawTemplate.includes(IS_HIGHLIGHT) || rawTemplate.includes(IS_NO_VISITED))) {\n const migrated = migrateTemplate(rawTemplate, filePath, context);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], source: string, edits: Edit[], filePath: string, context: SchematicContext): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (hasEclLink(node)) {\n collectEclLinkEdits(node, source, edits, filePath, context);\n }\n visitNodes(node.children, source, edits, filePath, context);\n }\n }\n}\n\nfunction hasEclLink(element: TmplAstElement): boolean {\n return (\n element.attributes.some((a) => a.name === ECL_LINK_ATTR) ||\n element.inputs.some((i) => i.name === ECL_LINK_ATTR)\n );\n}\n\nfunction collectEclLinkEdits(\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n filePath: string,\n context: SchematicContext,\n): void {\n // --- isNoVisited: always remove ---\n const noVisitedAttr = element.attributes.find((a) => a.name === IS_NO_VISITED);\n if (noVisitedAttr) {\n edits.push(removeAttribute(noVisitedAttr, source));\n }\n const noVisitedInput = element.inputs.find((i) => i.name === IS_NO_VISITED);\n if (noVisitedInput) {\n edits.push(removeBoundAttribute(noVisitedInput, source));\n }\n\n // --- isHighlight: convert to variant=\"primary-highlight\" ---\n const highlightAttr = element.attributes.find((a) => a.name === IS_HIGHLIGHT);\n const highlightInput = element.inputs.find((i) => i.name === IS_HIGHLIGHT);\n\n if (!highlightAttr && !highlightInput) {\n return;\n }\n\n // A bound [isHighlight]=\"expr\" where expr is not a truthy literal can't be\n // safely converted — the highlight was conditional. Warn and leave it.\n if (highlightInput && !isTruthyLiteralBinding(highlightInput, source)) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"[isHighlight]\" was removed. Set variant=\"${HIGHLIGHT_VARIANT}\" conditionally instead.`,\n );\n return;\n }\n\n // Resolve the variant edit first. A bound [variant]=\"...\" cannot be resolved\n // statically, so we leave the whole element untouched (including isHighlight)\n // and warn — a partial migration would be worse than none.\n const variantInput = element.inputs.find((i) => i.name === VARIANT);\n if (variantInput) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"isHighlight\" was removed but the bound \"[variant]\" could not be updated automatically; set it to \"${HIGHLIGHT_VARIANT}\" manually.`,\n );\n return;\n }\n\n // Safe to convert: remove the isHighlight attribute/binding...\n if (highlightAttr) {\n edits.push(removeAttribute(highlightAttr, source));\n }\n if (highlightInput) {\n edits.push(removeBoundAttribute(highlightInput, source));\n }\n\n // ...and set variant to primary-highlight.\n const variantAttr = element.attributes.find((a) => a.name === VARIANT);\n if (variantAttr) {\n // Replace the existing variant value (quoted) with primary-highlight.\n edits.push(setAttributeValue(variantAttr, source, HIGHLIGHT_VARIANT));\n } else {\n // No variant present — inject it right after the eclLink attribute.\n edits.push(injectVariantAttribute(element, source));\n }\n}\n\n// ---------------------------------------------------------------------------\n// Attribute edit helpers\n// ---------------------------------------------------------------------------\n\n/** Removes a plain text attribute including the preceding whitespace. */\nfunction removeAttribute(attr: TmplAstTextAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Removes a bound attribute `[name]=\"...\"` including the preceding whitespace. */\nfunction removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Replaces the value of a text attribute `name=\"old\"` with a new value. */\nfunction setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit {\n // keySpan covers the attribute name; valueSpan covers the value (without quotes).\n if (attr.valueSpan) {\n return { start: attr.valueSpan.start.offset, end: attr.valueSpan.end.offset, replacement: newValue };\n }\n // Valueless attribute (e.g. `variant`) — rewrite the whole thing.\n return {\n start: attr.sourceSpan.start.offset,\n end: attr.sourceSpan.end.offset,\n replacement: `${VARIANT}=\"${newValue}\"`,\n };\n}\n\n/** Injects `variant=\"primary-highlight\"` immediately after the eclLink attribute. */\nfunction injectVariantAttribute(element: TmplAstElement, source: string): Edit {\n const eclLinkAttr =\n element.attributes.find((a) => a.name === ECL_LINK_ATTR) ??\n element.inputs.find((i) => i.name === ECL_LINK_ATTR);\n\n const anchorEnd = eclLinkAttr\n ? eclLinkAttr.sourceSpan.end.offset\n : element.startSourceSpan.start.offset + 1 + element.name.length;\n\n return { start: anchorEnd, end: anchorEnd, replacement: ` ${VARIANT}=\"${HIGHLIGHT_VARIANT}\"` };\n}\n\n/**\n * A `[isHighlight]=\"expr\"` binding is only safely convertible when expr is a\n * literal that is always truthy (`true`). Anything else (a property, a ternary,\n * `false`) is conditional and must be handled by the developer.\n */\nfunction isTruthyLiteralBinding(input: TmplAstBoundAttribute, source: string): boolean {\n const raw = readBindingExpression(input, source).trim();\n return raw === 'true';\n}\n\nfunction readBindingExpression(input: TmplAstBoundAttribute, source: string): string {\n if (input.valueSpan) {\n return source.slice(input.valueSpan.start.offset, input.valueSpan.end.offset);\n }\n return '';\n}\n\nfunction consumeLeadingWhitespace(source: string, start: number): number {\n let s = start;\n while (s > 0 && (source[s - 1] === ' ' || source[s - 1] === '\\t' || source[s - 1] === '\\n' || source[s - 1] === '\\r')) {\n s--;\n }\n return s;\n}\n\n/** Logs a warning and adds a TODO comment above the element for manual follow-up. */\nfunction reportManual(\n context: SchematicContext,\n filePath: string,\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n message: string,\n): void {\n const { line } = element.startSourceSpan.start;\n context.logger.warn(`${filePath}:${line + 1} - ${message}`);\n const todo = createTodoEdit(source, element.startSourceSpan.start.offset, message);\n if (todo) edits.push(todo);\n}\n\n// ---------------------------------------------------------------------------\n// TypeScript inline-template helpers (shared conventions with sibling schematics)\n// ---------------------------------------------------------------------------\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
1099
|
+
"sourceCode": "import { parseTemplate, TmplAstElement, TmplAstNode } 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\n/**\n * Migrates the removed `ecl-page-header` element selector to `div[eclPageHeader]`.\n *\n * In v22 the `ecl-page-header` element selector was removed; the component only\n * matches `div[eclPageHeader]`. This schematic rewrites `<ecl-page-header>` to\n * `<div eclPageHeader>` (and the closing tag to `</div>`) in external `.html`\n * templates and inline `@Component` templates, preserving existing attributes\n * and content.\n */\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_TAG = 'ecl-page-header';\nconst NEW_TAG = 'div';\nconst ATTRIBUTE = 'eclPageHeader';\n\nexport function migrateEclPageHeader(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes(OLD_TAG)) return;\n\n const result = path.endsWith('.html') ? migrateTemplate(original) : migrateTypeScript(original, path);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, edits);\n return applyEdits(source, edits);\n}\n\nfunction migrateTypeScript(source: string, filePath: string): string {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const edits: Edit[] = [];\n\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(OLD_TAG)) {\n const migrated = migrateTemplate(rawTemplate);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], edits: Edit[]): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (node.name === OLD_TAG) {\n collectElementRename(node, edits);\n }\n visitNodes(node.children, edits);\n }\n }\n}\n\nfunction collectElementRename(element: TmplAstElement, edits: Edit[]): void {\n const openTagNameStart = element.startSourceSpan.start.offset + 1; // skip '<'\n const openTagNameEnd = openTagNameStart + OLD_TAG.length;\n\n const alreadyHasAttribute =\n element.attributes.some((a) => a.name === ATTRIBUTE) || element.inputs.some((i) => i.name === ATTRIBUTE);\n\n const replacement = alreadyHasAttribute ? NEW_TAG : `${NEW_TAG} ${ATTRIBUTE}`;\n edits.push({ start: openTagNameStart, end: openTagNameEnd, replacement });\n\n if (element.endSourceSpan) {\n const closeTagNameStart = element.endSourceSpan.start.offset + 2; // skip '</'\n edits.push({ start: closeTagNameStart, end: closeTagNameStart + OLD_TAG.length, replacement: NEW_TAG });\n }\n}\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
1100
1100
|
"displayName": "Edit",
|
|
1101
1101
|
"properties": [
|
|
1102
1102
|
{
|
|
@@ -1108,7 +1108,7 @@
|
|
|
1108
1108
|
"indexKey": "",
|
|
1109
1109
|
"optional": false,
|
|
1110
1110
|
"description": "",
|
|
1111
|
-
"line":
|
|
1111
|
+
"line": 23,
|
|
1112
1112
|
"rawdescription": "\n"
|
|
1113
1113
|
},
|
|
1114
1114
|
{
|
|
@@ -1120,7 +1120,7 @@
|
|
|
1120
1120
|
"indexKey": "",
|
|
1121
1121
|
"optional": false,
|
|
1122
1122
|
"description": "",
|
|
1123
|
-
"line":
|
|
1123
|
+
"line": 24,
|
|
1124
1124
|
"rawdescription": "\n"
|
|
1125
1125
|
},
|
|
1126
1126
|
{
|
|
@@ -1132,7 +1132,7 @@
|
|
|
1132
1132
|
"indexKey": "",
|
|
1133
1133
|
"optional": false,
|
|
1134
1134
|
"description": "",
|
|
1135
|
-
"line":
|
|
1135
|
+
"line": 22,
|
|
1136
1136
|
"rawdescription": "\n"
|
|
1137
1137
|
}
|
|
1138
1138
|
],
|
|
@@ -3525,12 +3525,12 @@
|
|
|
3525
3525
|
},
|
|
3526
3526
|
{
|
|
3527
3527
|
"name": "Schema",
|
|
3528
|
-
"id": "interface-Schema-
|
|
3529
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
3528
|
+
"id": "interface-Schema-d273b5462287e58c647e750a2b9d5c1b39b8fde0ee7ee3013262cc411acc2e284f9cc1465c0c07e04a7e14ec416956ca80650e192aa390a2be598e7cb1f5b5d5-8",
|
|
3529
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
3530
3530
|
"deprecated": false,
|
|
3531
3531
|
"deprecationMessage": "",
|
|
3532
3532
|
"type": "interface",
|
|
3533
|
-
"sourceCode": "import { parseTemplate, TmplAstElement, TmplAstNode } 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\n/**\n * Migrates the removed `ecl-page-header` element selector to `div[eclPageHeader]`.\n *\n * In v22 the `ecl-page-header` element selector was removed; the component only\n * matches `div[eclPageHeader]`. This schematic rewrites `<ecl-page-header>` to\n * `<div eclPageHeader>` (and the closing tag to `</div>`) in external `.html`\n * templates and inline `@Component` templates, preserving existing attributes\n * and content.\n */\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_TAG = 'ecl-page-header';\nconst NEW_TAG = 'div';\nconst ATTRIBUTE = 'eclPageHeader';\n\nexport function migrateEclPageHeader(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes(OLD_TAG)) return;\n\n const result = path.endsWith('.html') ? migrateTemplate(original) : migrateTypeScript(original, path);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, edits);\n return applyEdits(source, edits);\n}\n\nfunction migrateTypeScript(source: string, filePath: string): string {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const edits: Edit[] = [];\n\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(OLD_TAG)) {\n const migrated = migrateTemplate(rawTemplate);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], edits: Edit[]): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (node.name === OLD_TAG) {\n collectElementRename(node, edits);\n }\n visitNodes(node.children, edits);\n }\n }\n}\n\nfunction collectElementRename(element: TmplAstElement, edits: Edit[]): void {\n const openTagNameStart = element.startSourceSpan.start.offset + 1; // skip '<'\n const openTagNameEnd = openTagNameStart + OLD_TAG.length;\n\n const alreadyHasAttribute =\n element.attributes.some((a) => a.name === ATTRIBUTE) || element.inputs.some((i) => i.name === ATTRIBUTE);\n\n const replacement = alreadyHasAttribute ? NEW_TAG : `${NEW_TAG} ${ATTRIBUTE}`;\n edits.push({ start: openTagNameStart, end: openTagNameEnd, replacement });\n\n if (element.endSourceSpan) {\n const closeTagNameStart = element.endSourceSpan.start.offset + 2; // skip '</'\n edits.push({ start: closeTagNameStart, end: closeTagNameStart + OLD_TAG.length, replacement: NEW_TAG });\n }\n}\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
3533
|
+
"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 { createTodoEdit } from '../utils/todo-comment';\n\n/**\n * Migrates removed `eclLink` (EclLinkDirective) inputs for ECL v21 → v22.\n *\n * Two inputs were removed:\n * - `isHighlight`: only the `primary` variant could be highlighted, so\n * `eclLink variant=\"primary\" isHighlight` becomes\n * `eclLink variant=\"primary-highlight\"`. The `isHighlight` attribute is\n * removed and the `variant` value is set to `primary-highlight`.\n * - `isNoVisited`: had no effect; removed with no replacement.\n *\n * Only elements that carry the `eclLink` attribute are touched. The schematic\n * rewrites external `.html` templates and inline `@Component` templates.\n *\n * Cases that cannot be rewritten safely (a bound `[isHighlight]=\"expr\"` with a\n * non-literal expression, or a bound `[variant]` that cannot be statically\n * resolved) are left in place, reported as warnings and marked with a\n * `TODO: [eUI v22 migration]` HTML comment above the element.\n */\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 ECL_LINK_ATTR = 'eclLink';\nconst IS_HIGHLIGHT = 'isHighlight';\nconst IS_NO_VISITED = 'isNoVisited';\nconst VARIANT = 'variant';\nconst HIGHLIGHT_VARIANT = 'primary-highlight';\n\nexport function migrateEclLink(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n // Fast bail: must mention eclLink and one of the removed inputs.\n if (!original.includes(ECL_LINK_ATTR)) return;\n if (!original.includes(IS_HIGHLIGHT) && !original.includes(IS_NO_VISITED)) return;\n\n const result = path.endsWith('.html')\n ? migrateTemplate(original, path, context)\n : migrateTypeScript(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate eclLink input(s) in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated eclLink inputs in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string, filePath: string, context: SchematicContext): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, source, edits, filePath, context);\n return applyEdits(source, edits);\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 const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(ECL_LINK_ATTR) && (rawTemplate.includes(IS_HIGHLIGHT) || rawTemplate.includes(IS_NO_VISITED))) {\n const migrated = migrateTemplate(rawTemplate, filePath, context);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], source: string, edits: Edit[], filePath: string, context: SchematicContext): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (hasEclLink(node)) {\n collectEclLinkEdits(node, source, edits, filePath, context);\n }\n visitNodes(node.children, source, edits, filePath, context);\n }\n }\n}\n\nfunction hasEclLink(element: TmplAstElement): boolean {\n return (\n element.attributes.some((a) => a.name === ECL_LINK_ATTR) ||\n element.inputs.some((i) => i.name === ECL_LINK_ATTR)\n );\n}\n\nfunction collectEclLinkEdits(\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n filePath: string,\n context: SchematicContext,\n): void {\n // --- isNoVisited: always remove ---\n const noVisitedAttr = element.attributes.find((a) => a.name === IS_NO_VISITED);\n if (noVisitedAttr) {\n edits.push(removeAttribute(noVisitedAttr, source));\n }\n const noVisitedInput = element.inputs.find((i) => i.name === IS_NO_VISITED);\n if (noVisitedInput) {\n edits.push(removeBoundAttribute(noVisitedInput, source));\n }\n\n // --- isHighlight: convert to variant=\"primary-highlight\" ---\n const highlightAttr = element.attributes.find((a) => a.name === IS_HIGHLIGHT);\n const highlightInput = element.inputs.find((i) => i.name === IS_HIGHLIGHT);\n\n if (!highlightAttr && !highlightInput) {\n return;\n }\n\n // A bound [isHighlight]=\"expr\" where expr is not a truthy literal can't be\n // safely converted — the highlight was conditional. Warn and leave it.\n if (highlightInput && !isTruthyLiteralBinding(highlightInput, source)) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"[isHighlight]\" was removed. Set variant=\"${HIGHLIGHT_VARIANT}\" conditionally instead.`,\n );\n return;\n }\n\n // Resolve the variant edit first. A bound [variant]=\"...\" cannot be resolved\n // statically, so we leave the whole element untouched (including isHighlight)\n // and warn — a partial migration would be worse than none.\n const variantInput = element.inputs.find((i) => i.name === VARIANT);\n if (variantInput) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"isHighlight\" was removed but the bound \"[variant]\" could not be updated automatically; set it to \"${HIGHLIGHT_VARIANT}\" manually.`,\n );\n return;\n }\n\n // Safe to convert: remove the isHighlight attribute/binding...\n if (highlightAttr) {\n edits.push(removeAttribute(highlightAttr, source));\n }\n if (highlightInput) {\n edits.push(removeBoundAttribute(highlightInput, source));\n }\n\n // ...and set variant to primary-highlight.\n const variantAttr = element.attributes.find((a) => a.name === VARIANT);\n if (variantAttr) {\n // Replace the existing variant value (quoted) with primary-highlight.\n edits.push(setAttributeValue(variantAttr, source, HIGHLIGHT_VARIANT));\n } else {\n // No variant present — inject it right after the eclLink attribute.\n edits.push(injectVariantAttribute(element, source));\n }\n}\n\n// ---------------------------------------------------------------------------\n// Attribute edit helpers\n// ---------------------------------------------------------------------------\n\n/** Removes a plain text attribute including the preceding whitespace. */\nfunction removeAttribute(attr: TmplAstTextAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Removes a bound attribute `[name]=\"...\"` including the preceding whitespace. */\nfunction removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Replaces the value of a text attribute `name=\"old\"` with a new value. */\nfunction setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit {\n // keySpan covers the attribute name; valueSpan covers the value (without quotes).\n if (attr.valueSpan) {\n return { start: attr.valueSpan.start.offset, end: attr.valueSpan.end.offset, replacement: newValue };\n }\n // Valueless attribute (e.g. `variant`) — rewrite the whole thing.\n return {\n start: attr.sourceSpan.start.offset,\n end: attr.sourceSpan.end.offset,\n replacement: `${VARIANT}=\"${newValue}\"`,\n };\n}\n\n/** Injects `variant=\"primary-highlight\"` immediately after the eclLink attribute. */\nfunction injectVariantAttribute(element: TmplAstElement, source: string): Edit {\n const eclLinkAttr =\n element.attributes.find((a) => a.name === ECL_LINK_ATTR) ??\n element.inputs.find((i) => i.name === ECL_LINK_ATTR);\n\n const anchorEnd = eclLinkAttr\n ? eclLinkAttr.sourceSpan.end.offset\n : element.startSourceSpan.start.offset + 1 + element.name.length;\n\n return { start: anchorEnd, end: anchorEnd, replacement: ` ${VARIANT}=\"${HIGHLIGHT_VARIANT}\"` };\n}\n\n/**\n * A `[isHighlight]=\"expr\"` binding is only safely convertible when expr is a\n * literal that is always truthy (`true`). Anything else (a property, a ternary,\n * `false`) is conditional and must be handled by the developer.\n */\nfunction isTruthyLiteralBinding(input: TmplAstBoundAttribute, source: string): boolean {\n const raw = readBindingExpression(input, source).trim();\n return raw === 'true';\n}\n\nfunction readBindingExpression(input: TmplAstBoundAttribute, source: string): string {\n if (input.valueSpan) {\n return source.slice(input.valueSpan.start.offset, input.valueSpan.end.offset);\n }\n return '';\n}\n\nfunction consumeLeadingWhitespace(source: string, start: number): number {\n let s = start;\n while (s > 0 && (source[s - 1] === ' ' || source[s - 1] === '\\t' || source[s - 1] === '\\n' || source[s - 1] === '\\r')) {\n s--;\n }\n return s;\n}\n\n/** Logs a warning and adds a TODO comment above the element for manual follow-up. */\nfunction reportManual(\n context: SchematicContext,\n filePath: string,\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n message: string,\n): void {\n const { line } = element.startSourceSpan.start;\n context.logger.warn(`${filePath}:${line + 1} - ${message}`);\n const todo = createTodoEdit(source, element.startSourceSpan.start.offset, message);\n if (todo) edits.push(todo);\n}\n\n// ---------------------------------------------------------------------------\n// TypeScript inline-template helpers (shared conventions with sibling schematics)\n// ---------------------------------------------------------------------------\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
3534
3534
|
"displayName": "Schema",
|
|
3535
3535
|
"properties": [
|
|
3536
3536
|
{
|
|
@@ -3542,7 +3542,7 @@
|
|
|
3542
3542
|
"indexKey": "",
|
|
3543
3543
|
"optional": true,
|
|
3544
3544
|
"description": "",
|
|
3545
|
-
"line":
|
|
3545
|
+
"line": 28,
|
|
3546
3546
|
"rawdescription": "\n"
|
|
3547
3547
|
},
|
|
3548
3548
|
{
|
|
@@ -3554,14 +3554,14 @@
|
|
|
3554
3554
|
"indexKey": "",
|
|
3555
3555
|
"optional": true,
|
|
3556
3556
|
"description": "",
|
|
3557
|
-
"line":
|
|
3557
|
+
"line": 27,
|
|
3558
3558
|
"rawdescription": "\n"
|
|
3559
3559
|
}
|
|
3560
3560
|
],
|
|
3561
3561
|
"indexSignatures": [],
|
|
3562
3562
|
"kind": 172,
|
|
3563
|
-
"description": "<p>Migrates
|
|
3564
|
-
"rawdescription": "\n\nMigrates
|
|
3563
|
+
"description": "<p>Migrates removed <code>eclLink</code> (EclLinkDirective) inputs for ECL v21 → v22.</p>\n<p>Two inputs were removed:</p>\n<ul>\n<li><code>isHighlight</code>: only the <code>primary</code> variant could be highlighted, so\n<code>eclLink variant="primary" isHighlight</code> becomes\n<code>eclLink variant="primary-highlight"</code>. The <code>isHighlight</code> attribute is\nremoved and the <code>variant</code> value is set to <code>primary-highlight</code>.</li>\n<li><code>isNoVisited</code>: had no effect; removed with no replacement.</li>\n</ul>\n<p>Only elements that carry the <code>eclLink</code> attribute are touched. The schematic\nrewrites external <code>.html</code> templates and inline <code>@Component</code> templates.</p>\n<p>Cases that cannot be rewritten safely (a bound <code>[isHighlight]="expr"</code> with a\nnon-literal expression, or a bound <code>[variant]</code> that cannot be statically\nresolved) are left in place, reported as warnings and marked with a\n<code>TODO: [eUI v22 migration]</code> HTML comment above the element.</p>\n",
|
|
3564
|
+
"rawdescription": "\n\nMigrates removed `eclLink` (EclLinkDirective) inputs for ECL v21 → v22.\n\nTwo inputs were removed:\n - `isHighlight`: only the `primary` variant could be highlighted, so\n `eclLink variant=\"primary\" isHighlight` becomes\n `eclLink variant=\"primary-highlight\"`. The `isHighlight` attribute is\n removed and the `variant` value is set to `primary-highlight`.\n - `isNoVisited`: had no effect; removed with no replacement.\n\nOnly elements that carry the `eclLink` attribute are touched. The schematic\nrewrites external `.html` templates and inline `@Component` templates.\n\nCases that cannot be rewritten safely (a bound `[isHighlight]=\"expr\"` with a\nnon-literal expression, or a bound `[variant]` that cannot be statically\nresolved) are left in place, reported as warnings and marked with a\n`TODO: [eUI v22 migration]` HTML comment above the element.\n",
|
|
3565
3565
|
"methods": [],
|
|
3566
3566
|
"extends": [],
|
|
3567
3567
|
"isDuplicate": true,
|
|
@@ -3574,12 +3574,12 @@
|
|
|
3574
3574
|
},
|
|
3575
3575
|
{
|
|
3576
3576
|
"name": "Schema",
|
|
3577
|
-
"id": "interface-Schema-
|
|
3578
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
3577
|
+
"id": "interface-Schema-ba2913a48a24293b4c7a11f3a7355ae733abcd99b6625fa243ebd78b3240c95743f9449aa35b04ec12e439e1d54ec8bf0d78c0c7ed9d2580e663f0f08cf9eb5b-9",
|
|
3578
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
3579
3579
|
"deprecated": false,
|
|
3580
3580
|
"deprecationMessage": "",
|
|
3581
3581
|
"type": "interface",
|
|
3582
|
-
"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 { createTodoEdit } from '../utils/todo-comment';\n\n/**\n * Migrates removed `eclLink` (EclLinkDirective) inputs for ECL v21 → v22.\n *\n * Two inputs were removed:\n * - `isHighlight`: only the `primary` variant could be highlighted, so\n * `eclLink variant=\"primary\" isHighlight` becomes\n * `eclLink variant=\"primary-highlight\"`. The `isHighlight` attribute is\n * removed and the `variant` value is set to `primary-highlight`.\n * - `isNoVisited`: had no effect; removed with no replacement.\n *\n * Only elements that carry the `eclLink` attribute are touched. The schematic\n * rewrites external `.html` templates and inline `@Component` templates.\n *\n * Cases that cannot be rewritten safely (a bound `[isHighlight]=\"expr\"` with a\n * non-literal expression, or a bound `[variant]` that cannot be statically\n * resolved) are left in place, reported as warnings and marked with a\n * `TODO: [eUI v22 migration]` HTML comment above the element.\n */\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 ECL_LINK_ATTR = 'eclLink';\nconst IS_HIGHLIGHT = 'isHighlight';\nconst IS_NO_VISITED = 'isNoVisited';\nconst VARIANT = 'variant';\nconst HIGHLIGHT_VARIANT = 'primary-highlight';\n\nexport function migrateEclLink(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n // Fast bail: must mention eclLink and one of the removed inputs.\n if (!original.includes(ECL_LINK_ATTR)) return;\n if (!original.includes(IS_HIGHLIGHT) && !original.includes(IS_NO_VISITED)) return;\n\n const result = path.endsWith('.html')\n ? migrateTemplate(original, path, context)\n : migrateTypeScript(original, path, context);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate eclLink input(s) in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated eclLink inputs in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string, filePath: string, context: SchematicContext): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, source, edits, filePath, context);\n return applyEdits(source, edits);\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 const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(ECL_LINK_ATTR) && (rawTemplate.includes(IS_HIGHLIGHT) || rawTemplate.includes(IS_NO_VISITED))) {\n const migrated = migrateTemplate(rawTemplate, filePath, context);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], source: string, edits: Edit[], filePath: string, context: SchematicContext): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (hasEclLink(node)) {\n collectEclLinkEdits(node, source, edits, filePath, context);\n }\n visitNodes(node.children, source, edits, filePath, context);\n }\n }\n}\n\nfunction hasEclLink(element: TmplAstElement): boolean {\n return (\n element.attributes.some((a) => a.name === ECL_LINK_ATTR) ||\n element.inputs.some((i) => i.name === ECL_LINK_ATTR)\n );\n}\n\nfunction collectEclLinkEdits(\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n filePath: string,\n context: SchematicContext,\n): void {\n // --- isNoVisited: always remove ---\n const noVisitedAttr = element.attributes.find((a) => a.name === IS_NO_VISITED);\n if (noVisitedAttr) {\n edits.push(removeAttribute(noVisitedAttr, source));\n }\n const noVisitedInput = element.inputs.find((i) => i.name === IS_NO_VISITED);\n if (noVisitedInput) {\n edits.push(removeBoundAttribute(noVisitedInput, source));\n }\n\n // --- isHighlight: convert to variant=\"primary-highlight\" ---\n const highlightAttr = element.attributes.find((a) => a.name === IS_HIGHLIGHT);\n const highlightInput = element.inputs.find((i) => i.name === IS_HIGHLIGHT);\n\n if (!highlightAttr && !highlightInput) {\n return;\n }\n\n // A bound [isHighlight]=\"expr\" where expr is not a truthy literal can't be\n // safely converted — the highlight was conditional. Warn and leave it.\n if (highlightInput && !isTruthyLiteralBinding(highlightInput, source)) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"[isHighlight]\" was removed. Set variant=\"${HIGHLIGHT_VARIANT}\" conditionally instead.`,\n );\n return;\n }\n\n // Resolve the variant edit first. A bound [variant]=\"...\" cannot be resolved\n // statically, so we leave the whole element untouched (including isHighlight)\n // and warn — a partial migration would be worse than none.\n const variantInput = element.inputs.find((i) => i.name === VARIANT);\n if (variantInput) {\n reportManual(\n context,\n filePath,\n element,\n source,\n edits,\n `\"isHighlight\" was removed but the bound \"[variant]\" could not be updated automatically; set it to \"${HIGHLIGHT_VARIANT}\" manually.`,\n );\n return;\n }\n\n // Safe to convert: remove the isHighlight attribute/binding...\n if (highlightAttr) {\n edits.push(removeAttribute(highlightAttr, source));\n }\n if (highlightInput) {\n edits.push(removeBoundAttribute(highlightInput, source));\n }\n\n // ...and set variant to primary-highlight.\n const variantAttr = element.attributes.find((a) => a.name === VARIANT);\n if (variantAttr) {\n // Replace the existing variant value (quoted) with primary-highlight.\n edits.push(setAttributeValue(variantAttr, source, HIGHLIGHT_VARIANT));\n } else {\n // No variant present — inject it right after the eclLink attribute.\n edits.push(injectVariantAttribute(element, source));\n }\n}\n\n// ---------------------------------------------------------------------------\n// Attribute edit helpers\n// ---------------------------------------------------------------------------\n\n/** Removes a plain text attribute including the preceding whitespace. */\nfunction removeAttribute(attr: TmplAstTextAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Removes a bound attribute `[name]=\"...\"` including the preceding whitespace. */\nfunction removeBoundAttribute(attr: TmplAstBoundAttribute, source: string): Edit {\n let start = attr.sourceSpan.start.offset;\n const end = attr.sourceSpan.end.offset;\n start = consumeLeadingWhitespace(source, start);\n return { start, end, replacement: '' };\n}\n\n/** Replaces the value of a text attribute `name=\"old\"` with a new value. */\nfunction setAttributeValue(attr: TmplAstTextAttribute, source: string, newValue: string): Edit {\n // keySpan covers the attribute name; valueSpan covers the value (without quotes).\n if (attr.valueSpan) {\n return { start: attr.valueSpan.start.offset, end: attr.valueSpan.end.offset, replacement: newValue };\n }\n // Valueless attribute (e.g. `variant`) — rewrite the whole thing.\n return {\n start: attr.sourceSpan.start.offset,\n end: attr.sourceSpan.end.offset,\n replacement: `${VARIANT}=\"${newValue}\"`,\n };\n}\n\n/** Injects `variant=\"primary-highlight\"` immediately after the eclLink attribute. */\nfunction injectVariantAttribute(element: TmplAstElement, source: string): Edit {\n const eclLinkAttr =\n element.attributes.find((a) => a.name === ECL_LINK_ATTR) ??\n element.inputs.find((i) => i.name === ECL_LINK_ATTR);\n\n const anchorEnd = eclLinkAttr\n ? eclLinkAttr.sourceSpan.end.offset\n : element.startSourceSpan.start.offset + 1 + element.name.length;\n\n return { start: anchorEnd, end: anchorEnd, replacement: ` ${VARIANT}=\"${HIGHLIGHT_VARIANT}\"` };\n}\n\n/**\n * A `[isHighlight]=\"expr\"` binding is only safely convertible when expr is a\n * literal that is always truthy (`true`). Anything else (a property, a ternary,\n * `false`) is conditional and must be handled by the developer.\n */\nfunction isTruthyLiteralBinding(input: TmplAstBoundAttribute, source: string): boolean {\n const raw = readBindingExpression(input, source).trim();\n return raw === 'true';\n}\n\nfunction readBindingExpression(input: TmplAstBoundAttribute, source: string): string {\n if (input.valueSpan) {\n return source.slice(input.valueSpan.start.offset, input.valueSpan.end.offset);\n }\n return '';\n}\n\nfunction consumeLeadingWhitespace(source: string, start: number): number {\n let s = start;\n while (s > 0 && (source[s - 1] === ' ' || source[s - 1] === '\\t' || source[s - 1] === '\\n' || source[s - 1] === '\\r')) {\n s--;\n }\n return s;\n}\n\n/** Logs a warning and adds a TODO comment above the element for manual follow-up. */\nfunction reportManual(\n context: SchematicContext,\n filePath: string,\n element: TmplAstElement,\n source: string,\n edits: Edit[],\n message: string,\n): void {\n const { line } = element.startSourceSpan.start;\n context.logger.warn(`${filePath}:${line + 1} - ${message}`);\n const todo = createTodoEdit(source, element.startSourceSpan.start.offset, message);\n if (todo) edits.push(todo);\n}\n\n// ---------------------------------------------------------------------------\n// TypeScript inline-template helpers (shared conventions with sibling schematics)\n// ---------------------------------------------------------------------------\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
3582
|
+
"sourceCode": "import { parseTemplate, TmplAstElement, TmplAstNode } 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\n/**\n * Migrates the removed `ecl-page-header` element selector to `div[eclPageHeader]`.\n *\n * In v22 the `ecl-page-header` element selector was removed; the component only\n * matches `div[eclPageHeader]`. This schematic rewrites `<ecl-page-header>` to\n * `<div eclPageHeader>` (and the closing tag to `</div>`) in external `.html`\n * templates and inline `@Component` templates, preserving existing attributes\n * and content.\n */\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_TAG = 'ecl-page-header';\nconst NEW_TAG = 'div';\nconst ATTRIBUTE = 'eclPageHeader';\n\nexport function migrateEclPageHeader(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 const buffer = tree.read(path);\n if (!buffer) return;\n\n const original = buffer.toString('utf-8');\n if (!original.includes(OLD_TAG)) return;\n\n const result = path.endsWith('.html') ? migrateTemplate(original) : migrateTypeScript(original, path);\n\n if (result !== original) {\n if (options.dryRun) {\n logDryRun(context, `Would migrate ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${path}`);\n } else {\n tree.overwrite(path, result);\n }\n fileCount++;\n }\n });\n\n context.logger.info(`Migrated ${OLD_TAG} → ${NEW_TAG}[${ATTRIBUTE}] in ${fileCount} file(s).`);\n if (options.dryRun) {\n logDryRunNote(context);\n }\n return tree;\n };\n}\n\nfunction migrateTemplate(source: string): string {\n let parsed;\n try {\n parsed = parseTemplate(source, '', { preserveWhitespaces: true });\n } catch {\n return source;\n }\n\n const edits: Edit[] = [];\n visitNodes(parsed.nodes, edits);\n return applyEdits(source, edits);\n}\n\nfunction migrateTypeScript(source: string, filePath: string): string {\n const sourceFile = ts.createSourceFile(filePath, source, ts.ScriptTarget.Latest, true, ts.ScriptKind.TS);\n const edits: Edit[] = [];\n\n const visit = (node: ts.Node): void => {\n if (ts.isPropertyAssignment(node) && isTemplateProperty(node) && isComponentMetadataProperty(node)) {\n const init = unwrapExpression(node.initializer);\n if (ts.isStringLiteral(init) || ts.isNoSubstitutionTemplateLiteral(init)) {\n const start = init.getStart(sourceFile) + 1;\n const end = init.getEnd() - 1;\n const rawTemplate = source.slice(start, end);\n if (rawTemplate.includes(OLD_TAG)) {\n const migrated = migrateTemplate(rawTemplate);\n if (migrated !== rawTemplate) {\n edits.push({ start, end, replacement: migrated });\n }\n }\n }\n }\n ts.forEachChild(node, visit);\n };\n\n visit(sourceFile);\n return applyEdits(source, edits);\n}\n\nfunction visitNodes(nodes: TmplAstNode[], edits: Edit[]): void {\n for (const node of nodes) {\n if (node instanceof TmplAstElement) {\n if (node.name === OLD_TAG) {\n collectElementRename(node, edits);\n }\n visitNodes(node.children, edits);\n }\n }\n}\n\nfunction collectElementRename(element: TmplAstElement, edits: Edit[]): void {\n const openTagNameStart = element.startSourceSpan.start.offset + 1; // skip '<'\n const openTagNameEnd = openTagNameStart + OLD_TAG.length;\n\n const alreadyHasAttribute =\n element.attributes.some((a) => a.name === ATTRIBUTE) || element.inputs.some((i) => i.name === ATTRIBUTE);\n\n const replacement = alreadyHasAttribute ? NEW_TAG : `${NEW_TAG} ${ATTRIBUTE}`;\n edits.push({ start: openTagNameStart, end: openTagNameEnd, replacement });\n\n if (element.endSourceSpan) {\n const closeTagNameStart = element.endSourceSpan.start.offset + 2; // skip '</'\n edits.push({ start: closeTagNameStart, end: closeTagNameStart + OLD_TAG.length, replacement: NEW_TAG });\n }\n}\n\nfunction isTemplateProperty(node: ts.PropertyAssignment): boolean {\n const name = node.name;\n return (ts.isIdentifier(name) && name.text === 'template') || (ts.isStringLiteral(name) && name.text === 'template');\n}\n\nfunction isComponentMetadataProperty(node: ts.PropertyAssignment): boolean {\n const objectLiteral = node.parent;\n if (!ts.isObjectLiteralExpression(objectLiteral)) return false;\n const callExpression = objectLiteral.parent;\n if (!ts.isCallExpression(callExpression) || callExpression.arguments[0] !== objectLiteral) return false;\n return (\n ts.isDecorator(callExpression.parent) &&\n ts.isIdentifier(callExpression.expression) &&\n callExpression.expression.text === 'Component'\n );\n}\n\nfunction unwrapExpression(expression: ts.Expression): ts.Expression {\n let current = expression;\n while (ts.isParenthesizedExpression(current)) current = current.expression;\n return current;\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('.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",
|
|
3583
3583
|
"displayName": "Schema",
|
|
3584
3584
|
"properties": [
|
|
3585
3585
|
{
|
|
@@ -3591,7 +3591,7 @@
|
|
|
3591
3591
|
"indexKey": "",
|
|
3592
3592
|
"optional": true,
|
|
3593
3593
|
"description": "",
|
|
3594
|
-
"line":
|
|
3594
|
+
"line": 18,
|
|
3595
3595
|
"rawdescription": "\n"
|
|
3596
3596
|
},
|
|
3597
3597
|
{
|
|
@@ -3603,14 +3603,14 @@
|
|
|
3603
3603
|
"indexKey": "",
|
|
3604
3604
|
"optional": true,
|
|
3605
3605
|
"description": "",
|
|
3606
|
-
"line":
|
|
3606
|
+
"line": 17,
|
|
3607
3607
|
"rawdescription": "\n"
|
|
3608
3608
|
}
|
|
3609
3609
|
],
|
|
3610
3610
|
"indexSignatures": [],
|
|
3611
3611
|
"kind": 172,
|
|
3612
|
-
"description": "<p>Migrates removed <code>
|
|
3613
|
-
"rawdescription": "\n\nMigrates removed `
|
|
3612
|
+
"description": "<p>Migrates the removed <code>ecl-page-header</code> element selector to <code>div[eclPageHeader]</code>.</p>\n<p>In v22 the <code>ecl-page-header</code> element selector was removed; the component only\nmatches <code>div[eclPageHeader]</code>. This schematic rewrites <code><ecl-page-header></code> to\n<code><div eclPageHeader></code> (and the closing tag to <code></div></code>) in external <code>.html</code>\ntemplates and inline <code>@Component</code> templates, preserving existing attributes\nand content.</p>\n",
|
|
3613
|
+
"rawdescription": "\n\nMigrates the removed `ecl-page-header` element selector to `div[eclPageHeader]`.\n\nIn v22 the `ecl-page-header` element selector was removed; the component only\nmatches `div[eclPageHeader]`. This schematic rewrites `<ecl-page-header>` to\n`<div eclPageHeader>` (and the closing tag to `</div>`) in external `.html`\ntemplates and inline `@Component` templates, preserving existing attributes\nand content.\n",
|
|
3614
3614
|
"methods": [],
|
|
3615
3615
|
"extends": [],
|
|
3616
3616
|
"isDuplicate": true,
|
|
@@ -27266,7 +27266,7 @@
|
|
|
27266
27266
|
},
|
|
27267
27267
|
{
|
|
27268
27268
|
"name": "applyEdits",
|
|
27269
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
27269
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
27270
27270
|
"ctype": "miscellaneous",
|
|
27271
27271
|
"subtype": "function",
|
|
27272
27272
|
"coverageIgnore": false,
|
|
@@ -27311,7 +27311,7 @@
|
|
|
27311
27311
|
},
|
|
27312
27312
|
{
|
|
27313
27313
|
"name": "applyEdits",
|
|
27314
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
27314
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
27315
27315
|
"ctype": "miscellaneous",
|
|
27316
27316
|
"subtype": "function",
|
|
27317
27317
|
"coverageIgnore": false,
|
|
@@ -31626,7 +31626,7 @@
|
|
|
31626
31626
|
},
|
|
31627
31627
|
{
|
|
31628
31628
|
"name": "deduplicateEdits",
|
|
31629
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
31629
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
31630
31630
|
"ctype": "miscellaneous",
|
|
31631
31631
|
"subtype": "function",
|
|
31632
31632
|
"coverageIgnore": false,
|
|
@@ -31656,7 +31656,7 @@
|
|
|
31656
31656
|
},
|
|
31657
31657
|
{
|
|
31658
31658
|
"name": "deduplicateEdits",
|
|
31659
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
31659
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
31660
31660
|
"ctype": "miscellaneous",
|
|
31661
31661
|
"subtype": "function",
|
|
31662
31662
|
"coverageIgnore": false,
|
|
@@ -35267,7 +35267,7 @@
|
|
|
35267
35267
|
},
|
|
35268
35268
|
{
|
|
35269
35269
|
"name": "isComponentMetadataProperty",
|
|
35270
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
35270
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
35271
35271
|
"ctype": "miscellaneous",
|
|
35272
35272
|
"subtype": "function",
|
|
35273
35273
|
"coverageIgnore": false,
|
|
@@ -35297,7 +35297,7 @@
|
|
|
35297
35297
|
},
|
|
35298
35298
|
{
|
|
35299
35299
|
"name": "isComponentMetadataProperty",
|
|
35300
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
35300
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
35301
35301
|
"ctype": "miscellaneous",
|
|
35302
35302
|
"subtype": "function",
|
|
35303
35303
|
"coverageIgnore": false,
|
|
@@ -36279,7 +36279,7 @@
|
|
|
36279
36279
|
},
|
|
36280
36280
|
{
|
|
36281
36281
|
"name": "isTemplateProperty",
|
|
36282
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
36282
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
36283
36283
|
"ctype": "miscellaneous",
|
|
36284
36284
|
"subtype": "function",
|
|
36285
36285
|
"coverageIgnore": false,
|
|
@@ -36309,7 +36309,7 @@
|
|
|
36309
36309
|
},
|
|
36310
36310
|
{
|
|
36311
36311
|
"name": "isTemplateProperty",
|
|
36312
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
36312
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
36313
36313
|
"ctype": "miscellaneous",
|
|
36314
36314
|
"subtype": "function",
|
|
36315
36315
|
"coverageIgnore": false,
|
|
@@ -39718,6 +39718,68 @@
|
|
|
39718
39718
|
}
|
|
39719
39719
|
]
|
|
39720
39720
|
},
|
|
39721
|
+
{
|
|
39722
|
+
"name": "migrateTemplate",
|
|
39723
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
39724
|
+
"ctype": "miscellaneous",
|
|
39725
|
+
"subtype": "function",
|
|
39726
|
+
"coverageIgnore": false,
|
|
39727
|
+
"deprecated": false,
|
|
39728
|
+
"deprecationMessage": "",
|
|
39729
|
+
"rawdescription": "",
|
|
39730
|
+
"description": "",
|
|
39731
|
+
"displayName": "migrateTemplate",
|
|
39732
|
+
"args": [
|
|
39733
|
+
{
|
|
39734
|
+
"name": "source",
|
|
39735
|
+
"type": "string",
|
|
39736
|
+
"deprecated": false,
|
|
39737
|
+
"deprecationMessage": ""
|
|
39738
|
+
},
|
|
39739
|
+
{
|
|
39740
|
+
"name": "filePath",
|
|
39741
|
+
"type": "string",
|
|
39742
|
+
"deprecated": false,
|
|
39743
|
+
"deprecationMessage": ""
|
|
39744
|
+
},
|
|
39745
|
+
{
|
|
39746
|
+
"name": "context",
|
|
39747
|
+
"type": "SchematicContext",
|
|
39748
|
+
"deprecated": false,
|
|
39749
|
+
"deprecationMessage": ""
|
|
39750
|
+
}
|
|
39751
|
+
],
|
|
39752
|
+
"returnType": "string",
|
|
39753
|
+
"jsdoctags": [
|
|
39754
|
+
{
|
|
39755
|
+
"name": "source",
|
|
39756
|
+
"type": "string",
|
|
39757
|
+
"deprecated": false,
|
|
39758
|
+
"deprecationMessage": "",
|
|
39759
|
+
"tagName": {
|
|
39760
|
+
"text": "param"
|
|
39761
|
+
}
|
|
39762
|
+
},
|
|
39763
|
+
{
|
|
39764
|
+
"name": "filePath",
|
|
39765
|
+
"type": "string",
|
|
39766
|
+
"deprecated": false,
|
|
39767
|
+
"deprecationMessage": "",
|
|
39768
|
+
"tagName": {
|
|
39769
|
+
"text": "param"
|
|
39770
|
+
}
|
|
39771
|
+
},
|
|
39772
|
+
{
|
|
39773
|
+
"name": "context",
|
|
39774
|
+
"type": "SchematicContext",
|
|
39775
|
+
"deprecated": false,
|
|
39776
|
+
"deprecationMessage": "",
|
|
39777
|
+
"tagName": {
|
|
39778
|
+
"text": "param"
|
|
39779
|
+
}
|
|
39780
|
+
}
|
|
39781
|
+
]
|
|
39782
|
+
},
|
|
39721
39783
|
{
|
|
39722
39784
|
"name": "migrateTemplate",
|
|
39723
39785
|
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
@@ -39752,7 +39814,7 @@
|
|
|
39752
39814
|
},
|
|
39753
39815
|
{
|
|
39754
39816
|
"name": "migrateTemplate",
|
|
39755
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
39817
|
+
"file": "packages/core/schematics/migrate-ecl-page-summary/index.ts",
|
|
39756
39818
|
"ctype": "miscellaneous",
|
|
39757
39819
|
"subtype": "function",
|
|
39758
39820
|
"coverageIgnore": false,
|
|
@@ -39767,16 +39829,68 @@
|
|
|
39767
39829
|
"type": "string",
|
|
39768
39830
|
"deprecated": false,
|
|
39769
39831
|
"deprecationMessage": ""
|
|
39770
|
-
}
|
|
39832
|
+
}
|
|
39833
|
+
],
|
|
39834
|
+
"returnType": "string",
|
|
39835
|
+
"jsdoctags": [
|
|
39771
39836
|
{
|
|
39772
|
-
"name": "
|
|
39837
|
+
"name": "source",
|
|
39838
|
+
"type": "string",
|
|
39839
|
+
"deprecated": false,
|
|
39840
|
+
"deprecationMessage": "",
|
|
39841
|
+
"tagName": {
|
|
39842
|
+
"text": "param"
|
|
39843
|
+
}
|
|
39844
|
+
}
|
|
39845
|
+
]
|
|
39846
|
+
},
|
|
39847
|
+
{
|
|
39848
|
+
"name": "migrateTemplate",
|
|
39849
|
+
"file": "packages/core/schematics/migrate-ecl-pagination/index.ts",
|
|
39850
|
+
"ctype": "miscellaneous",
|
|
39851
|
+
"subtype": "function",
|
|
39852
|
+
"coverageIgnore": false,
|
|
39853
|
+
"deprecated": false,
|
|
39854
|
+
"deprecationMessage": "",
|
|
39855
|
+
"rawdescription": "",
|
|
39856
|
+
"description": "",
|
|
39857
|
+
"displayName": "migrateTemplate",
|
|
39858
|
+
"args": [
|
|
39859
|
+
{
|
|
39860
|
+
"name": "source",
|
|
39773
39861
|
"type": "string",
|
|
39774
39862
|
"deprecated": false,
|
|
39775
39863
|
"deprecationMessage": ""
|
|
39776
|
-
}
|
|
39864
|
+
}
|
|
39865
|
+
],
|
|
39866
|
+
"returnType": "string",
|
|
39867
|
+
"jsdoctags": [
|
|
39777
39868
|
{
|
|
39778
|
-
"name": "
|
|
39779
|
-
"type": "
|
|
39869
|
+
"name": "source",
|
|
39870
|
+
"type": "string",
|
|
39871
|
+
"deprecated": false,
|
|
39872
|
+
"deprecationMessage": "",
|
|
39873
|
+
"tagName": {
|
|
39874
|
+
"text": "param"
|
|
39875
|
+
}
|
|
39876
|
+
}
|
|
39877
|
+
]
|
|
39878
|
+
},
|
|
39879
|
+
{
|
|
39880
|
+
"name": "migrateTemplate",
|
|
39881
|
+
"file": "packages/core/schematics/migrate-ecl-quiz/index.ts",
|
|
39882
|
+
"ctype": "miscellaneous",
|
|
39883
|
+
"subtype": "function",
|
|
39884
|
+
"coverageIgnore": false,
|
|
39885
|
+
"deprecated": false,
|
|
39886
|
+
"deprecationMessage": "",
|
|
39887
|
+
"rawdescription": "",
|
|
39888
|
+
"description": "",
|
|
39889
|
+
"displayName": "migrateTemplate",
|
|
39890
|
+
"args": [
|
|
39891
|
+
{
|
|
39892
|
+
"name": "source",
|
|
39893
|
+
"type": "string",
|
|
39780
39894
|
"deprecated": false,
|
|
39781
39895
|
"deprecationMessage": ""
|
|
39782
39896
|
}
|
|
@@ -39791,19 +39905,65 @@
|
|
|
39791
39905
|
"tagName": {
|
|
39792
39906
|
"text": "param"
|
|
39793
39907
|
}
|
|
39794
|
-
}
|
|
39908
|
+
}
|
|
39909
|
+
]
|
|
39910
|
+
},
|
|
39911
|
+
{
|
|
39912
|
+
"name": "migrateTemplate",
|
|
39913
|
+
"file": "packages/core/schematics/migrate-ecl-site-footer/index.ts",
|
|
39914
|
+
"ctype": "miscellaneous",
|
|
39915
|
+
"subtype": "function",
|
|
39916
|
+
"coverageIgnore": false,
|
|
39917
|
+
"deprecated": false,
|
|
39918
|
+
"deprecationMessage": "",
|
|
39919
|
+
"rawdescription": "",
|
|
39920
|
+
"description": "",
|
|
39921
|
+
"displayName": "migrateTemplate",
|
|
39922
|
+
"args": [
|
|
39795
39923
|
{
|
|
39796
|
-
"name": "
|
|
39924
|
+
"name": "source",
|
|
39925
|
+
"type": "string",
|
|
39926
|
+
"deprecated": false,
|
|
39927
|
+
"deprecationMessage": ""
|
|
39928
|
+
}
|
|
39929
|
+
],
|
|
39930
|
+
"returnType": "string",
|
|
39931
|
+
"jsdoctags": [
|
|
39932
|
+
{
|
|
39933
|
+
"name": "source",
|
|
39797
39934
|
"type": "string",
|
|
39798
39935
|
"deprecated": false,
|
|
39799
39936
|
"deprecationMessage": "",
|
|
39800
39937
|
"tagName": {
|
|
39801
39938
|
"text": "param"
|
|
39802
39939
|
}
|
|
39803
|
-
}
|
|
39940
|
+
}
|
|
39941
|
+
]
|
|
39942
|
+
},
|
|
39943
|
+
{
|
|
39944
|
+
"name": "migrateTemplate",
|
|
39945
|
+
"file": "packages/core/schematics/migrate-ecl-tabs/index.ts",
|
|
39946
|
+
"ctype": "miscellaneous",
|
|
39947
|
+
"subtype": "function",
|
|
39948
|
+
"coverageIgnore": false,
|
|
39949
|
+
"deprecated": false,
|
|
39950
|
+
"deprecationMessage": "",
|
|
39951
|
+
"rawdescription": "",
|
|
39952
|
+
"description": "",
|
|
39953
|
+
"displayName": "migrateTemplate",
|
|
39954
|
+
"args": [
|
|
39804
39955
|
{
|
|
39805
|
-
"name": "
|
|
39806
|
-
"type": "
|
|
39956
|
+
"name": "source",
|
|
39957
|
+
"type": "string",
|
|
39958
|
+
"deprecated": false,
|
|
39959
|
+
"deprecationMessage": ""
|
|
39960
|
+
}
|
|
39961
|
+
],
|
|
39962
|
+
"returnType": "string",
|
|
39963
|
+
"jsdoctags": [
|
|
39964
|
+
{
|
|
39965
|
+
"name": "source",
|
|
39966
|
+
"type": "string",
|
|
39807
39967
|
"deprecated": false,
|
|
39808
39968
|
"deprecationMessage": "",
|
|
39809
39969
|
"tagName": {
|
|
@@ -39814,7 +39974,7 @@
|
|
|
39814
39974
|
},
|
|
39815
39975
|
{
|
|
39816
39976
|
"name": "migrateTemplate",
|
|
39817
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
39977
|
+
"file": "packages/core/schematics/migrate-ecl-timeline/index.ts",
|
|
39818
39978
|
"ctype": "miscellaneous",
|
|
39819
39979
|
"subtype": "function",
|
|
39820
39980
|
"coverageIgnore": false,
|
|
@@ -39846,7 +40006,7 @@
|
|
|
39846
40006
|
},
|
|
39847
40007
|
{
|
|
39848
40008
|
"name": "migrateTemplate",
|
|
39849
|
-
"file": "packages/core/schematics/migrate-
|
|
40009
|
+
"file": "packages/core/schematics/migrate-eui-accent/index.ts",
|
|
39850
40010
|
"ctype": "miscellaneous",
|
|
39851
40011
|
"subtype": "function",
|
|
39852
40012
|
"coverageIgnore": false,
|
|
@@ -39878,7 +40038,7 @@
|
|
|
39878
40038
|
},
|
|
39879
40039
|
{
|
|
39880
40040
|
"name": "migrateTemplate",
|
|
39881
|
-
"file": "packages/core/schematics/migrate-
|
|
40041
|
+
"file": "packages/core/schematics/migrate-eui-alert/index.ts",
|
|
39882
40042
|
"ctype": "miscellaneous",
|
|
39883
40043
|
"subtype": "function",
|
|
39884
40044
|
"coverageIgnore": false,
|
|
@@ -39910,7 +40070,7 @@
|
|
|
39910
40070
|
},
|
|
39911
40071
|
{
|
|
39912
40072
|
"name": "migrateTemplate",
|
|
39913
|
-
"file": "packages/core/schematics/migrate-
|
|
40073
|
+
"file": "packages/core/schematics/migrate-eui-avatar/index.ts",
|
|
39914
40074
|
"ctype": "miscellaneous",
|
|
39915
40075
|
"subtype": "function",
|
|
39916
40076
|
"coverageIgnore": false,
|
|
@@ -39942,7 +40102,7 @@
|
|
|
39942
40102
|
},
|
|
39943
40103
|
{
|
|
39944
40104
|
"name": "migrateTemplate",
|
|
39945
|
-
"file": "packages/core/schematics/migrate-
|
|
40105
|
+
"file": "packages/core/schematics/migrate-eui-button/index.ts",
|
|
39946
40106
|
"ctype": "miscellaneous",
|
|
39947
40107
|
"subtype": "function",
|
|
39948
40108
|
"coverageIgnore": false,
|
|
@@ -39974,7 +40134,7 @@
|
|
|
39974
40134
|
},
|
|
39975
40135
|
{
|
|
39976
40136
|
"name": "migrateTemplate",
|
|
39977
|
-
"file": "packages/core/schematics/migrate-
|
|
40137
|
+
"file": "packages/core/schematics/migrate-eui-chip/index.ts",
|
|
39978
40138
|
"ctype": "miscellaneous",
|
|
39979
40139
|
"subtype": "function",
|
|
39980
40140
|
"coverageIgnore": false,
|
|
@@ -40006,7 +40166,7 @@
|
|
|
40006
40166
|
},
|
|
40007
40167
|
{
|
|
40008
40168
|
"name": "migrateTemplate",
|
|
40009
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
40169
|
+
"file": "packages/core/schematics/migrate-eui-chip-list/index.ts",
|
|
40010
40170
|
"ctype": "miscellaneous",
|
|
40011
40171
|
"subtype": "function",
|
|
40012
40172
|
"coverageIgnore": false,
|
|
@@ -40038,167 +40198,7 @@
|
|
|
40038
40198
|
},
|
|
40039
40199
|
{
|
|
40040
40200
|
"name": "migrateTemplate",
|
|
40041
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
40042
|
-
"ctype": "miscellaneous",
|
|
40043
|
-
"subtype": "function",
|
|
40044
|
-
"coverageIgnore": false,
|
|
40045
|
-
"deprecated": false,
|
|
40046
|
-
"deprecationMessage": "",
|
|
40047
|
-
"rawdescription": "",
|
|
40048
|
-
"description": "",
|
|
40049
|
-
"displayName": "migrateTemplate",
|
|
40050
|
-
"args": [
|
|
40051
|
-
{
|
|
40052
|
-
"name": "source",
|
|
40053
|
-
"type": "string",
|
|
40054
|
-
"deprecated": false,
|
|
40055
|
-
"deprecationMessage": ""
|
|
40056
|
-
}
|
|
40057
|
-
],
|
|
40058
|
-
"returnType": "string",
|
|
40059
|
-
"jsdoctags": [
|
|
40060
|
-
{
|
|
40061
|
-
"name": "source",
|
|
40062
|
-
"type": "string",
|
|
40063
|
-
"deprecated": false,
|
|
40064
|
-
"deprecationMessage": "",
|
|
40065
|
-
"tagName": {
|
|
40066
|
-
"text": "param"
|
|
40067
|
-
}
|
|
40068
|
-
}
|
|
40069
|
-
]
|
|
40070
|
-
},
|
|
40071
|
-
{
|
|
40072
|
-
"name": "migrateTemplate",
|
|
40073
|
-
"file": "packages/core/schematics/migrate-eui-avatar/index.ts",
|
|
40074
|
-
"ctype": "miscellaneous",
|
|
40075
|
-
"subtype": "function",
|
|
40076
|
-
"coverageIgnore": false,
|
|
40077
|
-
"deprecated": false,
|
|
40078
|
-
"deprecationMessage": "",
|
|
40079
|
-
"rawdescription": "",
|
|
40080
|
-
"description": "",
|
|
40081
|
-
"displayName": "migrateTemplate",
|
|
40082
|
-
"args": [
|
|
40083
|
-
{
|
|
40084
|
-
"name": "source",
|
|
40085
|
-
"type": "string",
|
|
40086
|
-
"deprecated": false,
|
|
40087
|
-
"deprecationMessage": ""
|
|
40088
|
-
}
|
|
40089
|
-
],
|
|
40090
|
-
"returnType": "string",
|
|
40091
|
-
"jsdoctags": [
|
|
40092
|
-
{
|
|
40093
|
-
"name": "source",
|
|
40094
|
-
"type": "string",
|
|
40095
|
-
"deprecated": false,
|
|
40096
|
-
"deprecationMessage": "",
|
|
40097
|
-
"tagName": {
|
|
40098
|
-
"text": "param"
|
|
40099
|
-
}
|
|
40100
|
-
}
|
|
40101
|
-
]
|
|
40102
|
-
},
|
|
40103
|
-
{
|
|
40104
|
-
"name": "migrateTemplate",
|
|
40105
|
-
"file": "packages/core/schematics/migrate-eui-button/index.ts",
|
|
40106
|
-
"ctype": "miscellaneous",
|
|
40107
|
-
"subtype": "function",
|
|
40108
|
-
"coverageIgnore": false,
|
|
40109
|
-
"deprecated": false,
|
|
40110
|
-
"deprecationMessage": "",
|
|
40111
|
-
"rawdescription": "",
|
|
40112
|
-
"description": "",
|
|
40113
|
-
"displayName": "migrateTemplate",
|
|
40114
|
-
"args": [
|
|
40115
|
-
{
|
|
40116
|
-
"name": "source",
|
|
40117
|
-
"type": "string",
|
|
40118
|
-
"deprecated": false,
|
|
40119
|
-
"deprecationMessage": ""
|
|
40120
|
-
}
|
|
40121
|
-
],
|
|
40122
|
-
"returnType": "string",
|
|
40123
|
-
"jsdoctags": [
|
|
40124
|
-
{
|
|
40125
|
-
"name": "source",
|
|
40126
|
-
"type": "string",
|
|
40127
|
-
"deprecated": false,
|
|
40128
|
-
"deprecationMessage": "",
|
|
40129
|
-
"tagName": {
|
|
40130
|
-
"text": "param"
|
|
40131
|
-
}
|
|
40132
|
-
}
|
|
40133
|
-
]
|
|
40134
|
-
},
|
|
40135
|
-
{
|
|
40136
|
-
"name": "migrateTemplate",
|
|
40137
|
-
"file": "packages/core/schematics/migrate-eui-chip/index.ts",
|
|
40138
|
-
"ctype": "miscellaneous",
|
|
40139
|
-
"subtype": "function",
|
|
40140
|
-
"coverageIgnore": false,
|
|
40141
|
-
"deprecated": false,
|
|
40142
|
-
"deprecationMessage": "",
|
|
40143
|
-
"rawdescription": "",
|
|
40144
|
-
"description": "",
|
|
40145
|
-
"displayName": "migrateTemplate",
|
|
40146
|
-
"args": [
|
|
40147
|
-
{
|
|
40148
|
-
"name": "source",
|
|
40149
|
-
"type": "string",
|
|
40150
|
-
"deprecated": false,
|
|
40151
|
-
"deprecationMessage": ""
|
|
40152
|
-
}
|
|
40153
|
-
],
|
|
40154
|
-
"returnType": "string",
|
|
40155
|
-
"jsdoctags": [
|
|
40156
|
-
{
|
|
40157
|
-
"name": "source",
|
|
40158
|
-
"type": "string",
|
|
40159
|
-
"deprecated": false,
|
|
40160
|
-
"deprecationMessage": "",
|
|
40161
|
-
"tagName": {
|
|
40162
|
-
"text": "param"
|
|
40163
|
-
}
|
|
40164
|
-
}
|
|
40165
|
-
]
|
|
40166
|
-
},
|
|
40167
|
-
{
|
|
40168
|
-
"name": "migrateTemplate",
|
|
40169
|
-
"file": "packages/core/schematics/migrate-eui-chip-list/index.ts",
|
|
40170
|
-
"ctype": "miscellaneous",
|
|
40171
|
-
"subtype": "function",
|
|
40172
|
-
"coverageIgnore": false,
|
|
40173
|
-
"deprecated": false,
|
|
40174
|
-
"deprecationMessage": "",
|
|
40175
|
-
"rawdescription": "",
|
|
40176
|
-
"description": "",
|
|
40177
|
-
"displayName": "migrateTemplate",
|
|
40178
|
-
"args": [
|
|
40179
|
-
{
|
|
40180
|
-
"name": "source",
|
|
40181
|
-
"type": "string",
|
|
40182
|
-
"deprecated": false,
|
|
40183
|
-
"deprecationMessage": ""
|
|
40184
|
-
}
|
|
40185
|
-
],
|
|
40186
|
-
"returnType": "string",
|
|
40187
|
-
"jsdoctags": [
|
|
40188
|
-
{
|
|
40189
|
-
"name": "source",
|
|
40190
|
-
"type": "string",
|
|
40191
|
-
"deprecated": false,
|
|
40192
|
-
"deprecationMessage": "",
|
|
40193
|
-
"tagName": {
|
|
40194
|
-
"text": "param"
|
|
40195
|
-
}
|
|
40196
|
-
}
|
|
40197
|
-
]
|
|
40198
|
-
},
|
|
40199
|
-
{
|
|
40200
|
-
"name": "migrateTemplate",
|
|
40201
|
-
"file": "packages/core/schematics/migrate-eui-discussion-thread/index.ts",
|
|
40201
|
+
"file": "packages/core/schematics/migrate-eui-discussion-thread/index.ts",
|
|
40202
40202
|
"ctype": "miscellaneous",
|
|
40203
40203
|
"subtype": "function",
|
|
40204
40204
|
"coverageIgnore": false,
|
|
@@ -40956,7 +40956,7 @@
|
|
|
40956
40956
|
},
|
|
40957
40957
|
{
|
|
40958
40958
|
"name": "migrateTypeScript",
|
|
40959
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
40959
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
40960
40960
|
"ctype": "miscellaneous",
|
|
40961
40961
|
"subtype": "function",
|
|
40962
40962
|
"coverageIgnore": false,
|
|
@@ -40977,6 +40977,12 @@
|
|
|
40977
40977
|
"type": "string",
|
|
40978
40978
|
"deprecated": false,
|
|
40979
40979
|
"deprecationMessage": ""
|
|
40980
|
+
},
|
|
40981
|
+
{
|
|
40982
|
+
"name": "context",
|
|
40983
|
+
"type": "SchematicContext",
|
|
40984
|
+
"deprecated": false,
|
|
40985
|
+
"deprecationMessage": ""
|
|
40980
40986
|
}
|
|
40981
40987
|
],
|
|
40982
40988
|
"returnType": "string",
|
|
@@ -40998,12 +41004,21 @@
|
|
|
40998
41004
|
"tagName": {
|
|
40999
41005
|
"text": "param"
|
|
41000
41006
|
}
|
|
41007
|
+
},
|
|
41008
|
+
{
|
|
41009
|
+
"name": "context",
|
|
41010
|
+
"type": "SchematicContext",
|
|
41011
|
+
"deprecated": false,
|
|
41012
|
+
"deprecationMessage": "",
|
|
41013
|
+
"tagName": {
|
|
41014
|
+
"text": "param"
|
|
41015
|
+
}
|
|
41001
41016
|
}
|
|
41002
41017
|
]
|
|
41003
41018
|
},
|
|
41004
41019
|
{
|
|
41005
41020
|
"name": "migrateTypeScript",
|
|
41006
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
41021
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
41007
41022
|
"ctype": "miscellaneous",
|
|
41008
41023
|
"subtype": "function",
|
|
41009
41024
|
"coverageIgnore": false,
|
|
@@ -41024,10 +41039,51 @@
|
|
|
41024
41039
|
"type": "string",
|
|
41025
41040
|
"deprecated": false,
|
|
41026
41041
|
"deprecationMessage": ""
|
|
41042
|
+
}
|
|
41043
|
+
],
|
|
41044
|
+
"returnType": "string",
|
|
41045
|
+
"jsdoctags": [
|
|
41046
|
+
{
|
|
41047
|
+
"name": "source",
|
|
41048
|
+
"type": "string",
|
|
41049
|
+
"deprecated": false,
|
|
41050
|
+
"deprecationMessage": "",
|
|
41051
|
+
"tagName": {
|
|
41052
|
+
"text": "param"
|
|
41053
|
+
}
|
|
41027
41054
|
},
|
|
41028
41055
|
{
|
|
41029
|
-
"name": "
|
|
41030
|
-
"type": "
|
|
41056
|
+
"name": "filePath",
|
|
41057
|
+
"type": "string",
|
|
41058
|
+
"deprecated": false,
|
|
41059
|
+
"deprecationMessage": "",
|
|
41060
|
+
"tagName": {
|
|
41061
|
+
"text": "param"
|
|
41062
|
+
}
|
|
41063
|
+
}
|
|
41064
|
+
]
|
|
41065
|
+
},
|
|
41066
|
+
{
|
|
41067
|
+
"name": "migrateTypeScript",
|
|
41068
|
+
"file": "packages/core/schematics/migrate-ecl-page-summary/index.ts",
|
|
41069
|
+
"ctype": "miscellaneous",
|
|
41070
|
+
"subtype": "function",
|
|
41071
|
+
"coverageIgnore": false,
|
|
41072
|
+
"deprecated": false,
|
|
41073
|
+
"deprecationMessage": "",
|
|
41074
|
+
"rawdescription": "",
|
|
41075
|
+
"description": "",
|
|
41076
|
+
"displayName": "migrateTypeScript",
|
|
41077
|
+
"args": [
|
|
41078
|
+
{
|
|
41079
|
+
"name": "source",
|
|
41080
|
+
"type": "string",
|
|
41081
|
+
"deprecated": false,
|
|
41082
|
+
"deprecationMessage": ""
|
|
41083
|
+
},
|
|
41084
|
+
{
|
|
41085
|
+
"name": "filePath",
|
|
41086
|
+
"type": "string",
|
|
41031
41087
|
"deprecated": false,
|
|
41032
41088
|
"deprecationMessage": ""
|
|
41033
41089
|
}
|
|
@@ -41051,10 +41107,48 @@
|
|
|
41051
41107
|
"tagName": {
|
|
41052
41108
|
"text": "param"
|
|
41053
41109
|
}
|
|
41110
|
+
}
|
|
41111
|
+
]
|
|
41112
|
+
},
|
|
41113
|
+
{
|
|
41114
|
+
"name": "migrateTypeScript",
|
|
41115
|
+
"file": "packages/core/schematics/migrate-ecl-pagination/index.ts",
|
|
41116
|
+
"ctype": "miscellaneous",
|
|
41117
|
+
"subtype": "function",
|
|
41118
|
+
"coverageIgnore": false,
|
|
41119
|
+
"deprecated": false,
|
|
41120
|
+
"deprecationMessage": "",
|
|
41121
|
+
"rawdescription": "",
|
|
41122
|
+
"description": "",
|
|
41123
|
+
"displayName": "migrateTypeScript",
|
|
41124
|
+
"args": [
|
|
41125
|
+
{
|
|
41126
|
+
"name": "source",
|
|
41127
|
+
"type": "string",
|
|
41128
|
+
"deprecated": false,
|
|
41129
|
+
"deprecationMessage": ""
|
|
41054
41130
|
},
|
|
41055
41131
|
{
|
|
41056
|
-
"name": "
|
|
41057
|
-
"type": "
|
|
41132
|
+
"name": "filePath",
|
|
41133
|
+
"type": "string",
|
|
41134
|
+
"deprecated": false,
|
|
41135
|
+
"deprecationMessage": ""
|
|
41136
|
+
}
|
|
41137
|
+
],
|
|
41138
|
+
"returnType": "string",
|
|
41139
|
+
"jsdoctags": [
|
|
41140
|
+
{
|
|
41141
|
+
"name": "source",
|
|
41142
|
+
"type": "string",
|
|
41143
|
+
"deprecated": false,
|
|
41144
|
+
"deprecationMessage": "",
|
|
41145
|
+
"tagName": {
|
|
41146
|
+
"text": "param"
|
|
41147
|
+
}
|
|
41148
|
+
},
|
|
41149
|
+
{
|
|
41150
|
+
"name": "filePath",
|
|
41151
|
+
"type": "string",
|
|
41058
41152
|
"deprecated": false,
|
|
41059
41153
|
"deprecationMessage": "",
|
|
41060
41154
|
"tagName": {
|
|
@@ -41065,101 +41159,7 @@
|
|
|
41065
41159
|
},
|
|
41066
41160
|
{
|
|
41067
41161
|
"name": "migrateTypeScript",
|
|
41068
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
41069
|
-
"ctype": "miscellaneous",
|
|
41070
|
-
"subtype": "function",
|
|
41071
|
-
"coverageIgnore": false,
|
|
41072
|
-
"deprecated": false,
|
|
41073
|
-
"deprecationMessage": "",
|
|
41074
|
-
"rawdescription": "",
|
|
41075
|
-
"description": "",
|
|
41076
|
-
"displayName": "migrateTypeScript",
|
|
41077
|
-
"args": [
|
|
41078
|
-
{
|
|
41079
|
-
"name": "source",
|
|
41080
|
-
"type": "string",
|
|
41081
|
-
"deprecated": false,
|
|
41082
|
-
"deprecationMessage": ""
|
|
41083
|
-
},
|
|
41084
|
-
{
|
|
41085
|
-
"name": "filePath",
|
|
41086
|
-
"type": "string",
|
|
41087
|
-
"deprecated": false,
|
|
41088
|
-
"deprecationMessage": ""
|
|
41089
|
-
}
|
|
41090
|
-
],
|
|
41091
|
-
"returnType": "string",
|
|
41092
|
-
"jsdoctags": [
|
|
41093
|
-
{
|
|
41094
|
-
"name": "source",
|
|
41095
|
-
"type": "string",
|
|
41096
|
-
"deprecated": false,
|
|
41097
|
-
"deprecationMessage": "",
|
|
41098
|
-
"tagName": {
|
|
41099
|
-
"text": "param"
|
|
41100
|
-
}
|
|
41101
|
-
},
|
|
41102
|
-
{
|
|
41103
|
-
"name": "filePath",
|
|
41104
|
-
"type": "string",
|
|
41105
|
-
"deprecated": false,
|
|
41106
|
-
"deprecationMessage": "",
|
|
41107
|
-
"tagName": {
|
|
41108
|
-
"text": "param"
|
|
41109
|
-
}
|
|
41110
|
-
}
|
|
41111
|
-
]
|
|
41112
|
-
},
|
|
41113
|
-
{
|
|
41114
|
-
"name": "migrateTypeScript",
|
|
41115
|
-
"file": "packages/core/schematics/migrate-ecl-pagination/index.ts",
|
|
41116
|
-
"ctype": "miscellaneous",
|
|
41117
|
-
"subtype": "function",
|
|
41118
|
-
"coverageIgnore": false,
|
|
41119
|
-
"deprecated": false,
|
|
41120
|
-
"deprecationMessage": "",
|
|
41121
|
-
"rawdescription": "",
|
|
41122
|
-
"description": "",
|
|
41123
|
-
"displayName": "migrateTypeScript",
|
|
41124
|
-
"args": [
|
|
41125
|
-
{
|
|
41126
|
-
"name": "source",
|
|
41127
|
-
"type": "string",
|
|
41128
|
-
"deprecated": false,
|
|
41129
|
-
"deprecationMessage": ""
|
|
41130
|
-
},
|
|
41131
|
-
{
|
|
41132
|
-
"name": "filePath",
|
|
41133
|
-
"type": "string",
|
|
41134
|
-
"deprecated": false,
|
|
41135
|
-
"deprecationMessage": ""
|
|
41136
|
-
}
|
|
41137
|
-
],
|
|
41138
|
-
"returnType": "string",
|
|
41139
|
-
"jsdoctags": [
|
|
41140
|
-
{
|
|
41141
|
-
"name": "source",
|
|
41142
|
-
"type": "string",
|
|
41143
|
-
"deprecated": false,
|
|
41144
|
-
"deprecationMessage": "",
|
|
41145
|
-
"tagName": {
|
|
41146
|
-
"text": "param"
|
|
41147
|
-
}
|
|
41148
|
-
},
|
|
41149
|
-
{
|
|
41150
|
-
"name": "filePath",
|
|
41151
|
-
"type": "string",
|
|
41152
|
-
"deprecated": false,
|
|
41153
|
-
"deprecationMessage": "",
|
|
41154
|
-
"tagName": {
|
|
41155
|
-
"text": "param"
|
|
41156
|
-
}
|
|
41157
|
-
}
|
|
41158
|
-
]
|
|
41159
|
-
},
|
|
41160
|
-
{
|
|
41161
|
-
"name": "migrateTypeScript",
|
|
41162
|
-
"file": "packages/core/schematics/migrate-ecl-quiz/index.ts",
|
|
41162
|
+
"file": "packages/core/schematics/migrate-ecl-quiz/index.ts",
|
|
41163
41163
|
"ctype": "miscellaneous",
|
|
41164
41164
|
"subtype": "function",
|
|
41165
41165
|
"coverageIgnore": false,
|
|
@@ -44172,7 +44172,7 @@
|
|
|
44172
44172
|
},
|
|
44173
44173
|
{
|
|
44174
44174
|
"name": "unwrapExpression",
|
|
44175
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
44175
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
44176
44176
|
"ctype": "miscellaneous",
|
|
44177
44177
|
"subtype": "function",
|
|
44178
44178
|
"coverageIgnore": false,
|
|
@@ -44202,7 +44202,7 @@
|
|
|
44202
44202
|
},
|
|
44203
44203
|
{
|
|
44204
44204
|
"name": "unwrapExpression",
|
|
44205
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
44205
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
44206
44206
|
"ctype": "miscellaneous",
|
|
44207
44207
|
"subtype": "function",
|
|
44208
44208
|
"coverageIgnore": false,
|
|
@@ -45297,7 +45297,7 @@
|
|
|
45297
45297
|
},
|
|
45298
45298
|
{
|
|
45299
45299
|
"name": "visitDir",
|
|
45300
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
45300
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
45301
45301
|
"ctype": "miscellaneous",
|
|
45302
45302
|
"subtype": "function",
|
|
45303
45303
|
"coverageIgnore": false,
|
|
@@ -45342,7 +45342,7 @@
|
|
|
45342
45342
|
},
|
|
45343
45343
|
{
|
|
45344
45344
|
"name": "visitDir",
|
|
45345
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
45345
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
45346
45346
|
"ctype": "miscellaneous",
|
|
45347
45347
|
"subtype": "function",
|
|
45348
45348
|
"coverageIgnore": false,
|
|
@@ -46862,49 +46862,6 @@
|
|
|
46862
46862
|
}
|
|
46863
46863
|
]
|
|
46864
46864
|
},
|
|
46865
|
-
{
|
|
46866
|
-
"name": "visitNodes",
|
|
46867
|
-
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
46868
|
-
"ctype": "miscellaneous",
|
|
46869
|
-
"subtype": "function",
|
|
46870
|
-
"coverageIgnore": false,
|
|
46871
|
-
"deprecated": false,
|
|
46872
|
-
"deprecationMessage": "",
|
|
46873
|
-
"rawdescription": "",
|
|
46874
|
-
"description": "",
|
|
46875
|
-
"displayName": "visitNodes",
|
|
46876
|
-
"args": [
|
|
46877
|
-
{
|
|
46878
|
-
"name": "nodes",
|
|
46879
|
-
"deprecated": false,
|
|
46880
|
-
"deprecationMessage": ""
|
|
46881
|
-
},
|
|
46882
|
-
{
|
|
46883
|
-
"name": "edits",
|
|
46884
|
-
"deprecated": false,
|
|
46885
|
-
"deprecationMessage": ""
|
|
46886
|
-
}
|
|
46887
|
-
],
|
|
46888
|
-
"returnType": "void",
|
|
46889
|
-
"jsdoctags": [
|
|
46890
|
-
{
|
|
46891
|
-
"name": "nodes",
|
|
46892
|
-
"deprecated": false,
|
|
46893
|
-
"deprecationMessage": "",
|
|
46894
|
-
"tagName": {
|
|
46895
|
-
"text": "param"
|
|
46896
|
-
}
|
|
46897
|
-
},
|
|
46898
|
-
{
|
|
46899
|
-
"name": "edits",
|
|
46900
|
-
"deprecated": false,
|
|
46901
|
-
"deprecationMessage": "",
|
|
46902
|
-
"tagName": {
|
|
46903
|
-
"text": "param"
|
|
46904
|
-
}
|
|
46905
|
-
}
|
|
46906
|
-
]
|
|
46907
|
-
},
|
|
46908
46865
|
{
|
|
46909
46866
|
"name": "visitNodes",
|
|
46910
46867
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
@@ -46995,7 +46952,7 @@
|
|
|
46995
46952
|
},
|
|
46996
46953
|
{
|
|
46997
46954
|
"name": "visitNodes",
|
|
46998
|
-
"file": "packages/core/schematics/migrate-ecl-page-
|
|
46955
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
46999
46956
|
"ctype": "miscellaneous",
|
|
47000
46957
|
"subtype": "function",
|
|
47001
46958
|
"coverageIgnore": false,
|
|
@@ -47038,7 +46995,7 @@
|
|
|
47038
46995
|
},
|
|
47039
46996
|
{
|
|
47040
46997
|
"name": "visitNodes",
|
|
47041
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
46998
|
+
"file": "packages/core/schematics/migrate-ecl-page-summary/index.ts",
|
|
47042
46999
|
"ctype": "miscellaneous",
|
|
47043
47000
|
"subtype": "function",
|
|
47044
47001
|
"coverageIgnore": false,
|
|
@@ -47081,7 +47038,7 @@
|
|
|
47081
47038
|
},
|
|
47082
47039
|
{
|
|
47083
47040
|
"name": "visitNodes",
|
|
47084
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
47041
|
+
"file": "packages/core/schematics/migrate-ecl-pagination/index.ts",
|
|
47085
47042
|
"ctype": "miscellaneous",
|
|
47086
47043
|
"subtype": "function",
|
|
47087
47044
|
"coverageIgnore": false,
|
|
@@ -47096,12 +47053,6 @@
|
|
|
47096
47053
|
"deprecated": false,
|
|
47097
47054
|
"deprecationMessage": ""
|
|
47098
47055
|
},
|
|
47099
|
-
{
|
|
47100
|
-
"name": "source",
|
|
47101
|
-
"type": "string",
|
|
47102
|
-
"deprecated": false,
|
|
47103
|
-
"deprecationMessage": ""
|
|
47104
|
-
},
|
|
47105
47056
|
{
|
|
47106
47057
|
"name": "edits",
|
|
47107
47058
|
"deprecated": false,
|
|
@@ -47118,15 +47069,6 @@
|
|
|
47118
47069
|
"text": "param"
|
|
47119
47070
|
}
|
|
47120
47071
|
},
|
|
47121
|
-
{
|
|
47122
|
-
"name": "source",
|
|
47123
|
-
"type": "string",
|
|
47124
|
-
"deprecated": false,
|
|
47125
|
-
"deprecationMessage": "",
|
|
47126
|
-
"tagName": {
|
|
47127
|
-
"text": "param"
|
|
47128
|
-
}
|
|
47129
|
-
},
|
|
47130
47072
|
{
|
|
47131
47073
|
"name": "edits",
|
|
47132
47074
|
"deprecated": false,
|
|
@@ -47139,7 +47081,7 @@
|
|
|
47139
47081
|
},
|
|
47140
47082
|
{
|
|
47141
47083
|
"name": "visitNodes",
|
|
47142
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
47084
|
+
"file": "packages/core/schematics/migrate-ecl-quiz/index.ts",
|
|
47143
47085
|
"ctype": "miscellaneous",
|
|
47144
47086
|
"subtype": "function",
|
|
47145
47087
|
"coverageIgnore": false,
|
|
@@ -47155,45 +47097,8 @@
|
|
|
47155
47097
|
"deprecationMessage": ""
|
|
47156
47098
|
},
|
|
47157
47099
|
{
|
|
47158
|
-
"name": "
|
|
47159
|
-
"
|
|
47160
|
-
"deprecationMessage": ""
|
|
47161
|
-
}
|
|
47162
|
-
],
|
|
47163
|
-
"returnType": "void",
|
|
47164
|
-
"jsdoctags": [
|
|
47165
|
-
{
|
|
47166
|
-
"name": "nodes",
|
|
47167
|
-
"deprecated": false,
|
|
47168
|
-
"deprecationMessage": "",
|
|
47169
|
-
"tagName": {
|
|
47170
|
-
"text": "param"
|
|
47171
|
-
}
|
|
47172
|
-
},
|
|
47173
|
-
{
|
|
47174
|
-
"name": "edits",
|
|
47175
|
-
"deprecated": false,
|
|
47176
|
-
"deprecationMessage": "",
|
|
47177
|
-
"tagName": {
|
|
47178
|
-
"text": "param"
|
|
47179
|
-
}
|
|
47180
|
-
}
|
|
47181
|
-
]
|
|
47182
|
-
},
|
|
47183
|
-
{
|
|
47184
|
-
"name": "visitNodes",
|
|
47185
|
-
"file": "packages/core/schematics/migrate-ecl-tabs/index.ts",
|
|
47186
|
-
"ctype": "miscellaneous",
|
|
47187
|
-
"subtype": "function",
|
|
47188
|
-
"coverageIgnore": false,
|
|
47189
|
-
"deprecated": false,
|
|
47190
|
-
"deprecationMessage": "",
|
|
47191
|
-
"rawdescription": "",
|
|
47192
|
-
"description": "",
|
|
47193
|
-
"displayName": "visitNodes",
|
|
47194
|
-
"args": [
|
|
47195
|
-
{
|
|
47196
|
-
"name": "nodes",
|
|
47100
|
+
"name": "source",
|
|
47101
|
+
"type": "string",
|
|
47197
47102
|
"deprecated": false,
|
|
47198
47103
|
"deprecationMessage": ""
|
|
47199
47104
|
},
|
|
@@ -47214,42 +47119,8 @@
|
|
|
47214
47119
|
}
|
|
47215
47120
|
},
|
|
47216
47121
|
{
|
|
47217
|
-
"name": "
|
|
47218
|
-
"
|
|
47219
|
-
"deprecationMessage": "",
|
|
47220
|
-
"tagName": {
|
|
47221
|
-
"text": "param"
|
|
47222
|
-
}
|
|
47223
|
-
}
|
|
47224
|
-
]
|
|
47225
|
-
},
|
|
47226
|
-
{
|
|
47227
|
-
"name": "visitNodes",
|
|
47228
|
-
"file": "packages/core/schematics/migrate-ecl-timeline/index.ts",
|
|
47229
|
-
"ctype": "miscellaneous",
|
|
47230
|
-
"subtype": "function",
|
|
47231
|
-
"coverageIgnore": false,
|
|
47232
|
-
"deprecated": false,
|
|
47233
|
-
"deprecationMessage": "",
|
|
47234
|
-
"rawdescription": "",
|
|
47235
|
-
"description": "",
|
|
47236
|
-
"displayName": "visitNodes",
|
|
47237
|
-
"args": [
|
|
47238
|
-
{
|
|
47239
|
-
"name": "nodes",
|
|
47240
|
-
"deprecated": false,
|
|
47241
|
-
"deprecationMessage": ""
|
|
47242
|
-
},
|
|
47243
|
-
{
|
|
47244
|
-
"name": "edits",
|
|
47245
|
-
"deprecated": false,
|
|
47246
|
-
"deprecationMessage": ""
|
|
47247
|
-
}
|
|
47248
|
-
],
|
|
47249
|
-
"returnType": "void",
|
|
47250
|
-
"jsdoctags": [
|
|
47251
|
-
{
|
|
47252
|
-
"name": "nodes",
|
|
47122
|
+
"name": "source",
|
|
47123
|
+
"type": "string",
|
|
47253
47124
|
"deprecated": false,
|
|
47254
47125
|
"deprecationMessage": "",
|
|
47255
47126
|
"tagName": {
|
|
@@ -47268,7 +47139,7 @@
|
|
|
47268
47139
|
},
|
|
47269
47140
|
{
|
|
47270
47141
|
"name": "visitNodes",
|
|
47271
|
-
"file": "packages/core/schematics/migrate-
|
|
47142
|
+
"file": "packages/core/schematics/migrate-ecl-site-footer/index.ts",
|
|
47272
47143
|
"ctype": "miscellaneous",
|
|
47273
47144
|
"subtype": "function",
|
|
47274
47145
|
"coverageIgnore": false,
|
|
@@ -47311,7 +47182,7 @@
|
|
|
47311
47182
|
},
|
|
47312
47183
|
{
|
|
47313
47184
|
"name": "visitNodes",
|
|
47314
|
-
"file": "packages/core/schematics/migrate-
|
|
47185
|
+
"file": "packages/core/schematics/migrate-ecl-tabs/index.ts",
|
|
47315
47186
|
"ctype": "miscellaneous",
|
|
47316
47187
|
"subtype": "function",
|
|
47317
47188
|
"coverageIgnore": false,
|
|
@@ -47327,7 +47198,7 @@
|
|
|
47327
47198
|
"deprecationMessage": ""
|
|
47328
47199
|
},
|
|
47329
47200
|
{
|
|
47330
|
-
"name": "
|
|
47201
|
+
"name": "edits",
|
|
47331
47202
|
"deprecated": false,
|
|
47332
47203
|
"deprecationMessage": ""
|
|
47333
47204
|
}
|
|
@@ -47343,7 +47214,7 @@
|
|
|
47343
47214
|
}
|
|
47344
47215
|
},
|
|
47345
47216
|
{
|
|
47346
|
-
"name": "
|
|
47217
|
+
"name": "edits",
|
|
47347
47218
|
"deprecated": false,
|
|
47348
47219
|
"deprecationMessage": "",
|
|
47349
47220
|
"tagName": {
|
|
@@ -47354,7 +47225,7 @@
|
|
|
47354
47225
|
},
|
|
47355
47226
|
{
|
|
47356
47227
|
"name": "visitNodes",
|
|
47357
|
-
"file": "packages/core/schematics/migrate-
|
|
47228
|
+
"file": "packages/core/schematics/migrate-ecl-timeline/index.ts",
|
|
47358
47229
|
"ctype": "miscellaneous",
|
|
47359
47230
|
"subtype": "function",
|
|
47360
47231
|
"coverageIgnore": false,
|
|
@@ -47370,7 +47241,7 @@
|
|
|
47370
47241
|
"deprecationMessage": ""
|
|
47371
47242
|
},
|
|
47372
47243
|
{
|
|
47373
|
-
"name": "
|
|
47244
|
+
"name": "edits",
|
|
47374
47245
|
"deprecated": false,
|
|
47375
47246
|
"deprecationMessage": ""
|
|
47376
47247
|
}
|
|
@@ -47386,7 +47257,7 @@
|
|
|
47386
47257
|
}
|
|
47387
47258
|
},
|
|
47388
47259
|
{
|
|
47389
|
-
"name": "
|
|
47260
|
+
"name": "edits",
|
|
47390
47261
|
"deprecated": false,
|
|
47391
47262
|
"deprecationMessage": "",
|
|
47392
47263
|
"tagName": {
|
|
@@ -47397,7 +47268,136 @@
|
|
|
47397
47268
|
},
|
|
47398
47269
|
{
|
|
47399
47270
|
"name": "visitNodes",
|
|
47400
|
-
"file": "packages/core/schematics/migrate-eui-
|
|
47271
|
+
"file": "packages/core/schematics/migrate-eui-accent/index.ts",
|
|
47272
|
+
"ctype": "miscellaneous",
|
|
47273
|
+
"subtype": "function",
|
|
47274
|
+
"coverageIgnore": false,
|
|
47275
|
+
"deprecated": false,
|
|
47276
|
+
"deprecationMessage": "",
|
|
47277
|
+
"rawdescription": "",
|
|
47278
|
+
"description": "",
|
|
47279
|
+
"displayName": "visitNodes",
|
|
47280
|
+
"args": [
|
|
47281
|
+
{
|
|
47282
|
+
"name": "nodes",
|
|
47283
|
+
"deprecated": false,
|
|
47284
|
+
"deprecationMessage": ""
|
|
47285
|
+
},
|
|
47286
|
+
{
|
|
47287
|
+
"name": "edits",
|
|
47288
|
+
"deprecated": false,
|
|
47289
|
+
"deprecationMessage": ""
|
|
47290
|
+
}
|
|
47291
|
+
],
|
|
47292
|
+
"returnType": "void",
|
|
47293
|
+
"jsdoctags": [
|
|
47294
|
+
{
|
|
47295
|
+
"name": "nodes",
|
|
47296
|
+
"deprecated": false,
|
|
47297
|
+
"deprecationMessage": "",
|
|
47298
|
+
"tagName": {
|
|
47299
|
+
"text": "param"
|
|
47300
|
+
}
|
|
47301
|
+
},
|
|
47302
|
+
{
|
|
47303
|
+
"name": "edits",
|
|
47304
|
+
"deprecated": false,
|
|
47305
|
+
"deprecationMessage": "",
|
|
47306
|
+
"tagName": {
|
|
47307
|
+
"text": "param"
|
|
47308
|
+
}
|
|
47309
|
+
}
|
|
47310
|
+
]
|
|
47311
|
+
},
|
|
47312
|
+
{
|
|
47313
|
+
"name": "visitNodes",
|
|
47314
|
+
"file": "packages/core/schematics/migrate-eui-alert/index.ts",
|
|
47315
|
+
"ctype": "miscellaneous",
|
|
47316
|
+
"subtype": "function",
|
|
47317
|
+
"coverageIgnore": false,
|
|
47318
|
+
"deprecated": false,
|
|
47319
|
+
"deprecationMessage": "",
|
|
47320
|
+
"rawdescription": "",
|
|
47321
|
+
"description": "",
|
|
47322
|
+
"displayName": "visitNodes",
|
|
47323
|
+
"args": [
|
|
47324
|
+
{
|
|
47325
|
+
"name": "nodes",
|
|
47326
|
+
"deprecated": false,
|
|
47327
|
+
"deprecationMessage": ""
|
|
47328
|
+
},
|
|
47329
|
+
{
|
|
47330
|
+
"name": "removals",
|
|
47331
|
+
"deprecated": false,
|
|
47332
|
+
"deprecationMessage": ""
|
|
47333
|
+
}
|
|
47334
|
+
],
|
|
47335
|
+
"returnType": "void",
|
|
47336
|
+
"jsdoctags": [
|
|
47337
|
+
{
|
|
47338
|
+
"name": "nodes",
|
|
47339
|
+
"deprecated": false,
|
|
47340
|
+
"deprecationMessage": "",
|
|
47341
|
+
"tagName": {
|
|
47342
|
+
"text": "param"
|
|
47343
|
+
}
|
|
47344
|
+
},
|
|
47345
|
+
{
|
|
47346
|
+
"name": "removals",
|
|
47347
|
+
"deprecated": false,
|
|
47348
|
+
"deprecationMessage": "",
|
|
47349
|
+
"tagName": {
|
|
47350
|
+
"text": "param"
|
|
47351
|
+
}
|
|
47352
|
+
}
|
|
47353
|
+
]
|
|
47354
|
+
},
|
|
47355
|
+
{
|
|
47356
|
+
"name": "visitNodes",
|
|
47357
|
+
"file": "packages/core/schematics/migrate-eui-avatar/index.ts",
|
|
47358
|
+
"ctype": "miscellaneous",
|
|
47359
|
+
"subtype": "function",
|
|
47360
|
+
"coverageIgnore": false,
|
|
47361
|
+
"deprecated": false,
|
|
47362
|
+
"deprecationMessage": "",
|
|
47363
|
+
"rawdescription": "",
|
|
47364
|
+
"description": "",
|
|
47365
|
+
"displayName": "visitNodes",
|
|
47366
|
+
"args": [
|
|
47367
|
+
{
|
|
47368
|
+
"name": "nodes",
|
|
47369
|
+
"deprecated": false,
|
|
47370
|
+
"deprecationMessage": ""
|
|
47371
|
+
},
|
|
47372
|
+
{
|
|
47373
|
+
"name": "removals",
|
|
47374
|
+
"deprecated": false,
|
|
47375
|
+
"deprecationMessage": ""
|
|
47376
|
+
}
|
|
47377
|
+
],
|
|
47378
|
+
"returnType": "void",
|
|
47379
|
+
"jsdoctags": [
|
|
47380
|
+
{
|
|
47381
|
+
"name": "nodes",
|
|
47382
|
+
"deprecated": false,
|
|
47383
|
+
"deprecationMessage": "",
|
|
47384
|
+
"tagName": {
|
|
47385
|
+
"text": "param"
|
|
47386
|
+
}
|
|
47387
|
+
},
|
|
47388
|
+
{
|
|
47389
|
+
"name": "removals",
|
|
47390
|
+
"deprecated": false,
|
|
47391
|
+
"deprecationMessage": "",
|
|
47392
|
+
"tagName": {
|
|
47393
|
+
"text": "param"
|
|
47394
|
+
}
|
|
47395
|
+
}
|
|
47396
|
+
]
|
|
47397
|
+
},
|
|
47398
|
+
{
|
|
47399
|
+
"name": "visitNodes",
|
|
47400
|
+
"file": "packages/core/schematics/migrate-eui-button/index.ts",
|
|
47401
47401
|
"ctype": "miscellaneous",
|
|
47402
47402
|
"subtype": "function",
|
|
47403
47403
|
"coverageIgnore": false,
|
|
@@ -59432,10 +59432,10 @@
|
|
|
59432
59432
|
]
|
|
59433
59433
|
}
|
|
59434
59434
|
],
|
|
59435
|
-
"packages/core/schematics/migrate-ecl-
|
|
59435
|
+
"packages/core/schematics/migrate-ecl-link/index.ts": [
|
|
59436
59436
|
{
|
|
59437
59437
|
"name": "applyEdits",
|
|
59438
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59438
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59439
59439
|
"ctype": "miscellaneous",
|
|
59440
59440
|
"subtype": "function",
|
|
59441
59441
|
"coverageIgnore": false,
|
|
@@ -59479,8 +59479,8 @@
|
|
|
59479
59479
|
]
|
|
59480
59480
|
},
|
|
59481
59481
|
{
|
|
59482
|
-
"name": "
|
|
59483
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59482
|
+
"name": "collectEclLinkEdits",
|
|
59483
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59484
59484
|
"ctype": "miscellaneous",
|
|
59485
59485
|
"subtype": "function",
|
|
59486
59486
|
"coverageIgnore": false,
|
|
@@ -59488,7 +59488,7 @@
|
|
|
59488
59488
|
"deprecationMessage": "",
|
|
59489
59489
|
"rawdescription": "",
|
|
59490
59490
|
"description": "",
|
|
59491
|
-
"displayName": "
|
|
59491
|
+
"displayName": "collectEclLinkEdits",
|
|
59492
59492
|
"args": [
|
|
59493
59493
|
{
|
|
59494
59494
|
"name": "element",
|
|
@@ -59496,10 +59496,28 @@
|
|
|
59496
59496
|
"deprecated": false,
|
|
59497
59497
|
"deprecationMessage": ""
|
|
59498
59498
|
},
|
|
59499
|
+
{
|
|
59500
|
+
"name": "source",
|
|
59501
|
+
"type": "string",
|
|
59502
|
+
"deprecated": false,
|
|
59503
|
+
"deprecationMessage": ""
|
|
59504
|
+
},
|
|
59499
59505
|
{
|
|
59500
59506
|
"name": "edits",
|
|
59501
59507
|
"deprecated": false,
|
|
59502
59508
|
"deprecationMessage": ""
|
|
59509
|
+
},
|
|
59510
|
+
{
|
|
59511
|
+
"name": "filePath",
|
|
59512
|
+
"type": "string",
|
|
59513
|
+
"deprecated": false,
|
|
59514
|
+
"deprecationMessage": ""
|
|
59515
|
+
},
|
|
59516
|
+
{
|
|
59517
|
+
"name": "context",
|
|
59518
|
+
"type": "SchematicContext",
|
|
59519
|
+
"deprecated": false,
|
|
59520
|
+
"deprecationMessage": ""
|
|
59503
59521
|
}
|
|
59504
59522
|
],
|
|
59505
59523
|
"returnType": "void",
|
|
@@ -59513,6 +59531,15 @@
|
|
|
59513
59531
|
"text": "param"
|
|
59514
59532
|
}
|
|
59515
59533
|
},
|
|
59534
|
+
{
|
|
59535
|
+
"name": "source",
|
|
59536
|
+
"type": "string",
|
|
59537
|
+
"deprecated": false,
|
|
59538
|
+
"deprecationMessage": "",
|
|
59539
|
+
"tagName": {
|
|
59540
|
+
"text": "param"
|
|
59541
|
+
}
|
|
59542
|
+
},
|
|
59516
59543
|
{
|
|
59517
59544
|
"name": "edits",
|
|
59518
59545
|
"deprecated": false,
|
|
@@ -59520,12 +59547,77 @@
|
|
|
59520
59547
|
"tagName": {
|
|
59521
59548
|
"text": "param"
|
|
59522
59549
|
}
|
|
59550
|
+
},
|
|
59551
|
+
{
|
|
59552
|
+
"name": "filePath",
|
|
59553
|
+
"type": "string",
|
|
59554
|
+
"deprecated": false,
|
|
59555
|
+
"deprecationMessage": "",
|
|
59556
|
+
"tagName": {
|
|
59557
|
+
"text": "param"
|
|
59558
|
+
}
|
|
59559
|
+
},
|
|
59560
|
+
{
|
|
59561
|
+
"name": "context",
|
|
59562
|
+
"type": "SchematicContext",
|
|
59563
|
+
"deprecated": false,
|
|
59564
|
+
"deprecationMessage": "",
|
|
59565
|
+
"tagName": {
|
|
59566
|
+
"text": "param"
|
|
59567
|
+
}
|
|
59568
|
+
}
|
|
59569
|
+
]
|
|
59570
|
+
},
|
|
59571
|
+
{
|
|
59572
|
+
"name": "consumeLeadingWhitespace",
|
|
59573
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59574
|
+
"ctype": "miscellaneous",
|
|
59575
|
+
"subtype": "function",
|
|
59576
|
+
"coverageIgnore": false,
|
|
59577
|
+
"deprecated": false,
|
|
59578
|
+
"deprecationMessage": "",
|
|
59579
|
+
"rawdescription": "",
|
|
59580
|
+
"description": "",
|
|
59581
|
+
"displayName": "consumeLeadingWhitespace",
|
|
59582
|
+
"args": [
|
|
59583
|
+
{
|
|
59584
|
+
"name": "source",
|
|
59585
|
+
"type": "string",
|
|
59586
|
+
"deprecated": false,
|
|
59587
|
+
"deprecationMessage": ""
|
|
59588
|
+
},
|
|
59589
|
+
{
|
|
59590
|
+
"name": "start",
|
|
59591
|
+
"type": "number",
|
|
59592
|
+
"deprecated": false,
|
|
59593
|
+
"deprecationMessage": ""
|
|
59594
|
+
}
|
|
59595
|
+
],
|
|
59596
|
+
"returnType": "number",
|
|
59597
|
+
"jsdoctags": [
|
|
59598
|
+
{
|
|
59599
|
+
"name": "source",
|
|
59600
|
+
"type": "string",
|
|
59601
|
+
"deprecated": false,
|
|
59602
|
+
"deprecationMessage": "",
|
|
59603
|
+
"tagName": {
|
|
59604
|
+
"text": "param"
|
|
59605
|
+
}
|
|
59606
|
+
},
|
|
59607
|
+
{
|
|
59608
|
+
"name": "start",
|
|
59609
|
+
"type": "number",
|
|
59610
|
+
"deprecated": false,
|
|
59611
|
+
"deprecationMessage": "",
|
|
59612
|
+
"tagName": {
|
|
59613
|
+
"text": "param"
|
|
59614
|
+
}
|
|
59523
59615
|
}
|
|
59524
59616
|
]
|
|
59525
59617
|
},
|
|
59526
59618
|
{
|
|
59527
59619
|
"name": "deduplicateEdits",
|
|
59528
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59620
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59529
59621
|
"ctype": "miscellaneous",
|
|
59530
59622
|
"subtype": "function",
|
|
59531
59623
|
"coverageIgnore": false,
|
|
@@ -59553,9 +59645,88 @@
|
|
|
59553
59645
|
}
|
|
59554
59646
|
]
|
|
59555
59647
|
},
|
|
59648
|
+
{
|
|
59649
|
+
"name": "hasEclLink",
|
|
59650
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59651
|
+
"ctype": "miscellaneous",
|
|
59652
|
+
"subtype": "function",
|
|
59653
|
+
"coverageIgnore": false,
|
|
59654
|
+
"deprecated": false,
|
|
59655
|
+
"deprecationMessage": "",
|
|
59656
|
+
"rawdescription": "",
|
|
59657
|
+
"description": "",
|
|
59658
|
+
"displayName": "hasEclLink",
|
|
59659
|
+
"args": [
|
|
59660
|
+
{
|
|
59661
|
+
"name": "element",
|
|
59662
|
+
"type": "TmplAstElement",
|
|
59663
|
+
"deprecated": false,
|
|
59664
|
+
"deprecationMessage": ""
|
|
59665
|
+
}
|
|
59666
|
+
],
|
|
59667
|
+
"returnType": "boolean",
|
|
59668
|
+
"jsdoctags": [
|
|
59669
|
+
{
|
|
59670
|
+
"name": "element",
|
|
59671
|
+
"type": "TmplAstElement",
|
|
59672
|
+
"deprecated": false,
|
|
59673
|
+
"deprecationMessage": "",
|
|
59674
|
+
"tagName": {
|
|
59675
|
+
"text": "param"
|
|
59676
|
+
}
|
|
59677
|
+
}
|
|
59678
|
+
]
|
|
59679
|
+
},
|
|
59680
|
+
{
|
|
59681
|
+
"name": "injectVariantAttribute",
|
|
59682
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59683
|
+
"ctype": "miscellaneous",
|
|
59684
|
+
"subtype": "function",
|
|
59685
|
+
"coverageIgnore": false,
|
|
59686
|
+
"deprecated": false,
|
|
59687
|
+
"deprecationMessage": "",
|
|
59688
|
+
"rawdescription": "Injects `variant=\"primary-highlight\"` immediately after the eclLink attribute.",
|
|
59689
|
+
"description": "<p>Injects <code>variant="primary-highlight"</code> immediately after the eclLink attribute.</p>\n",
|
|
59690
|
+
"displayName": "injectVariantAttribute",
|
|
59691
|
+
"args": [
|
|
59692
|
+
{
|
|
59693
|
+
"name": "element",
|
|
59694
|
+
"type": "TmplAstElement",
|
|
59695
|
+
"deprecated": false,
|
|
59696
|
+
"deprecationMessage": ""
|
|
59697
|
+
},
|
|
59698
|
+
{
|
|
59699
|
+
"name": "source",
|
|
59700
|
+
"type": "string",
|
|
59701
|
+
"deprecated": false,
|
|
59702
|
+
"deprecationMessage": ""
|
|
59703
|
+
}
|
|
59704
|
+
],
|
|
59705
|
+
"returnType": "Edit",
|
|
59706
|
+
"jsdoctags": [
|
|
59707
|
+
{
|
|
59708
|
+
"name": "element",
|
|
59709
|
+
"type": "TmplAstElement",
|
|
59710
|
+
"deprecated": false,
|
|
59711
|
+
"deprecationMessage": "",
|
|
59712
|
+
"tagName": {
|
|
59713
|
+
"text": "param"
|
|
59714
|
+
}
|
|
59715
|
+
},
|
|
59716
|
+
{
|
|
59717
|
+
"name": "source",
|
|
59718
|
+
"type": "string",
|
|
59719
|
+
"deprecated": false,
|
|
59720
|
+
"deprecationMessage": "",
|
|
59721
|
+
"tagName": {
|
|
59722
|
+
"text": "param"
|
|
59723
|
+
}
|
|
59724
|
+
}
|
|
59725
|
+
]
|
|
59726
|
+
},
|
|
59556
59727
|
{
|
|
59557
59728
|
"name": "isComponentMetadataProperty",
|
|
59558
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59729
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59559
59730
|
"ctype": "miscellaneous",
|
|
59560
59731
|
"subtype": "function",
|
|
59561
59732
|
"coverageIgnore": false,
|
|
@@ -59585,7 +59756,7 @@
|
|
|
59585
59756
|
},
|
|
59586
59757
|
{
|
|
59587
59758
|
"name": "isTemplateProperty",
|
|
59588
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59759
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59589
59760
|
"ctype": "miscellaneous",
|
|
59590
59761
|
"subtype": "function",
|
|
59591
59762
|
"coverageIgnore": false,
|
|
@@ -59614,8 +59785,55 @@
|
|
|
59614
59785
|
]
|
|
59615
59786
|
},
|
|
59616
59787
|
{
|
|
59617
|
-
"name": "
|
|
59618
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59788
|
+
"name": "isTruthyLiteralBinding",
|
|
59789
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59790
|
+
"ctype": "miscellaneous",
|
|
59791
|
+
"subtype": "function",
|
|
59792
|
+
"coverageIgnore": false,
|
|
59793
|
+
"deprecated": false,
|
|
59794
|
+
"deprecationMessage": "",
|
|
59795
|
+
"rawdescription": "A `[isHighlight]=\"expr\"` binding is only safely convertible when expr is a\nliteral that is always truthy (`true`). Anything else (a property, a ternary,\n`false`) is conditional and must be handled by the developer.",
|
|
59796
|
+
"description": "<p>A <code>[isHighlight]="expr"</code> binding is only safely convertible when expr is a\nliteral that is always truthy (<code>true</code>). Anything else (a property, a ternary,\n<code>false</code>) is conditional and must be handled by the developer.</p>\n",
|
|
59797
|
+
"displayName": "isTruthyLiteralBinding",
|
|
59798
|
+
"args": [
|
|
59799
|
+
{
|
|
59800
|
+
"name": "input",
|
|
59801
|
+
"type": "TmplAstBoundAttribute",
|
|
59802
|
+
"deprecated": false,
|
|
59803
|
+
"deprecationMessage": ""
|
|
59804
|
+
},
|
|
59805
|
+
{
|
|
59806
|
+
"name": "source",
|
|
59807
|
+
"type": "string",
|
|
59808
|
+
"deprecated": false,
|
|
59809
|
+
"deprecationMessage": ""
|
|
59810
|
+
}
|
|
59811
|
+
],
|
|
59812
|
+
"returnType": "boolean",
|
|
59813
|
+
"jsdoctags": [
|
|
59814
|
+
{
|
|
59815
|
+
"name": "input",
|
|
59816
|
+
"type": "TmplAstBoundAttribute",
|
|
59817
|
+
"deprecated": false,
|
|
59818
|
+
"deprecationMessage": "",
|
|
59819
|
+
"tagName": {
|
|
59820
|
+
"text": "param"
|
|
59821
|
+
}
|
|
59822
|
+
},
|
|
59823
|
+
{
|
|
59824
|
+
"name": "source",
|
|
59825
|
+
"type": "string",
|
|
59826
|
+
"deprecated": false,
|
|
59827
|
+
"deprecationMessage": "",
|
|
59828
|
+
"tagName": {
|
|
59829
|
+
"text": "param"
|
|
59830
|
+
}
|
|
59831
|
+
}
|
|
59832
|
+
]
|
|
59833
|
+
},
|
|
59834
|
+
{
|
|
59835
|
+
"name": "migrateEclLink",
|
|
59836
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59619
59837
|
"ctype": "miscellaneous",
|
|
59620
59838
|
"subtype": "function",
|
|
59621
59839
|
"coverageIgnore": false,
|
|
@@ -59623,7 +59841,7 @@
|
|
|
59623
59841
|
"deprecationMessage": "",
|
|
59624
59842
|
"rawdescription": "",
|
|
59625
59843
|
"description": "",
|
|
59626
|
-
"displayName": "
|
|
59844
|
+
"displayName": "migrateEclLink",
|
|
59627
59845
|
"args": [
|
|
59628
59846
|
{
|
|
59629
59847
|
"name": "options",
|
|
@@ -59649,7 +59867,7 @@
|
|
|
59649
59867
|
},
|
|
59650
59868
|
{
|
|
59651
59869
|
"name": "migrateTemplate",
|
|
59652
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59870
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59653
59871
|
"ctype": "miscellaneous",
|
|
59654
59872
|
"subtype": "function",
|
|
59655
59873
|
"coverageIgnore": false,
|
|
@@ -59664,6 +59882,18 @@
|
|
|
59664
59882
|
"type": "string",
|
|
59665
59883
|
"deprecated": false,
|
|
59666
59884
|
"deprecationMessage": ""
|
|
59885
|
+
},
|
|
59886
|
+
{
|
|
59887
|
+
"name": "filePath",
|
|
59888
|
+
"type": "string",
|
|
59889
|
+
"deprecated": false,
|
|
59890
|
+
"deprecationMessage": ""
|
|
59891
|
+
},
|
|
59892
|
+
{
|
|
59893
|
+
"name": "context",
|
|
59894
|
+
"type": "SchematicContext",
|
|
59895
|
+
"deprecated": false,
|
|
59896
|
+
"deprecationMessage": ""
|
|
59667
59897
|
}
|
|
59668
59898
|
],
|
|
59669
59899
|
"returnType": "string",
|
|
@@ -59676,12 +59906,30 @@
|
|
|
59676
59906
|
"tagName": {
|
|
59677
59907
|
"text": "param"
|
|
59678
59908
|
}
|
|
59909
|
+
},
|
|
59910
|
+
{
|
|
59911
|
+
"name": "filePath",
|
|
59912
|
+
"type": "string",
|
|
59913
|
+
"deprecated": false,
|
|
59914
|
+
"deprecationMessage": "",
|
|
59915
|
+
"tagName": {
|
|
59916
|
+
"text": "param"
|
|
59917
|
+
}
|
|
59918
|
+
},
|
|
59919
|
+
{
|
|
59920
|
+
"name": "context",
|
|
59921
|
+
"type": "SchematicContext",
|
|
59922
|
+
"deprecated": false,
|
|
59923
|
+
"deprecationMessage": "",
|
|
59924
|
+
"tagName": {
|
|
59925
|
+
"text": "param"
|
|
59926
|
+
}
|
|
59679
59927
|
}
|
|
59680
59928
|
]
|
|
59681
59929
|
},
|
|
59682
59930
|
{
|
|
59683
59931
|
"name": "migrateTypeScript",
|
|
59684
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59932
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59685
59933
|
"ctype": "miscellaneous",
|
|
59686
59934
|
"subtype": "function",
|
|
59687
59935
|
"coverageIgnore": false,
|
|
@@ -59702,6 +59950,12 @@
|
|
|
59702
59950
|
"type": "string",
|
|
59703
59951
|
"deprecated": false,
|
|
59704
59952
|
"deprecationMessage": ""
|
|
59953
|
+
},
|
|
59954
|
+
{
|
|
59955
|
+
"name": "context",
|
|
59956
|
+
"type": "SchematicContext",
|
|
59957
|
+
"deprecated": false,
|
|
59958
|
+
"deprecationMessage": ""
|
|
59705
59959
|
}
|
|
59706
59960
|
],
|
|
59707
59961
|
"returnType": "string",
|
|
@@ -59723,31 +59977,10 @@
|
|
|
59723
59977
|
"tagName": {
|
|
59724
59978
|
"text": "param"
|
|
59725
59979
|
}
|
|
59726
|
-
}
|
|
59727
|
-
]
|
|
59728
|
-
},
|
|
59729
|
-
{
|
|
59730
|
-
"name": "unwrapExpression",
|
|
59731
|
-
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
59732
|
-
"ctype": "miscellaneous",
|
|
59733
|
-
"subtype": "function",
|
|
59734
|
-
"coverageIgnore": false,
|
|
59735
|
-
"deprecated": false,
|
|
59736
|
-
"deprecationMessage": "",
|
|
59737
|
-
"rawdescription": "",
|
|
59738
|
-
"description": "",
|
|
59739
|
-
"displayName": "unwrapExpression",
|
|
59740
|
-
"args": [
|
|
59741
|
-
{
|
|
59742
|
-
"name": "expression",
|
|
59743
|
-
"deprecated": false,
|
|
59744
|
-
"deprecationMessage": ""
|
|
59745
|
-
}
|
|
59746
|
-
],
|
|
59747
|
-
"returnType": "ts.Expression",
|
|
59748
|
-
"jsdoctags": [
|
|
59980
|
+
},
|
|
59749
59981
|
{
|
|
59750
|
-
"name": "
|
|
59982
|
+
"name": "context",
|
|
59983
|
+
"type": "SchematicContext",
|
|
59751
59984
|
"deprecated": false,
|
|
59752
59985
|
"deprecationMessage": "",
|
|
59753
59986
|
"tagName": {
|
|
@@ -59757,8 +59990,8 @@
|
|
|
59757
59990
|
]
|
|
59758
59991
|
},
|
|
59759
59992
|
{
|
|
59760
|
-
"name": "
|
|
59761
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
59993
|
+
"name": "readBindingExpression",
|
|
59994
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59762
59995
|
"ctype": "miscellaneous",
|
|
59763
59996
|
"subtype": "function",
|
|
59764
59997
|
"coverageIgnore": false,
|
|
@@ -59766,25 +59999,26 @@
|
|
|
59766
59999
|
"deprecationMessage": "",
|
|
59767
60000
|
"rawdescription": "",
|
|
59768
60001
|
"description": "",
|
|
59769
|
-
"displayName": "
|
|
60002
|
+
"displayName": "readBindingExpression",
|
|
59770
60003
|
"args": [
|
|
59771
60004
|
{
|
|
59772
|
-
"name": "
|
|
59773
|
-
"type": "
|
|
60005
|
+
"name": "input",
|
|
60006
|
+
"type": "TmplAstBoundAttribute",
|
|
59774
60007
|
"deprecated": false,
|
|
59775
60008
|
"deprecationMessage": ""
|
|
59776
60009
|
},
|
|
59777
60010
|
{
|
|
59778
|
-
"name": "
|
|
60011
|
+
"name": "source",
|
|
60012
|
+
"type": "string",
|
|
59779
60013
|
"deprecated": false,
|
|
59780
60014
|
"deprecationMessage": ""
|
|
59781
60015
|
}
|
|
59782
60016
|
],
|
|
59783
|
-
"returnType": "
|
|
60017
|
+
"returnType": "string",
|
|
59784
60018
|
"jsdoctags": [
|
|
59785
60019
|
{
|
|
59786
|
-
"name": "
|
|
59787
|
-
"type": "
|
|
60020
|
+
"name": "input",
|
|
60021
|
+
"type": "TmplAstBoundAttribute",
|
|
59788
60022
|
"deprecated": false,
|
|
59789
60023
|
"deprecationMessage": "",
|
|
59790
60024
|
"tagName": {
|
|
@@ -59792,7 +60026,8 @@
|
|
|
59792
60026
|
}
|
|
59793
60027
|
},
|
|
59794
60028
|
{
|
|
59795
|
-
"name": "
|
|
60029
|
+
"name": "source",
|
|
60030
|
+
"type": "string",
|
|
59796
60031
|
"deprecated": false,
|
|
59797
60032
|
"deprecationMessage": "",
|
|
59798
60033
|
"tagName": {
|
|
@@ -59802,32 +60037,35 @@
|
|
|
59802
60037
|
]
|
|
59803
60038
|
},
|
|
59804
60039
|
{
|
|
59805
|
-
"name": "
|
|
59806
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60040
|
+
"name": "removeAttribute",
|
|
60041
|
+
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59807
60042
|
"ctype": "miscellaneous",
|
|
59808
60043
|
"subtype": "function",
|
|
59809
60044
|
"coverageIgnore": false,
|
|
59810
60045
|
"deprecated": false,
|
|
59811
60046
|
"deprecationMessage": "",
|
|
59812
|
-
"rawdescription": "",
|
|
59813
|
-
"description": "",
|
|
59814
|
-
"displayName": "
|
|
60047
|
+
"rawdescription": "Removes a plain text attribute including the preceding whitespace.",
|
|
60048
|
+
"description": "<p>Removes a plain text attribute including the preceding whitespace.</p>\n",
|
|
60049
|
+
"displayName": "removeAttribute",
|
|
59815
60050
|
"args": [
|
|
59816
60051
|
{
|
|
59817
|
-
"name": "
|
|
60052
|
+
"name": "attr",
|
|
60053
|
+
"type": "TmplAstTextAttribute",
|
|
59818
60054
|
"deprecated": false,
|
|
59819
60055
|
"deprecationMessage": ""
|
|
59820
60056
|
},
|
|
59821
60057
|
{
|
|
59822
|
-
"name": "
|
|
60058
|
+
"name": "source",
|
|
60059
|
+
"type": "string",
|
|
59823
60060
|
"deprecated": false,
|
|
59824
60061
|
"deprecationMessage": ""
|
|
59825
60062
|
}
|
|
59826
60063
|
],
|
|
59827
|
-
"returnType": "
|
|
60064
|
+
"returnType": "Edit",
|
|
59828
60065
|
"jsdoctags": [
|
|
59829
60066
|
{
|
|
59830
|
-
"name": "
|
|
60067
|
+
"name": "attr",
|
|
60068
|
+
"type": "TmplAstTextAttribute",
|
|
59831
60069
|
"deprecated": false,
|
|
59832
60070
|
"deprecationMessage": "",
|
|
59833
60071
|
"tagName": {
|
|
@@ -59835,7 +60073,8 @@
|
|
|
59835
60073
|
}
|
|
59836
60074
|
},
|
|
59837
60075
|
{
|
|
59838
|
-
"name": "
|
|
60076
|
+
"name": "source",
|
|
60077
|
+
"type": "string",
|
|
59839
60078
|
"deprecated": false,
|
|
59840
60079
|
"deprecationMessage": "",
|
|
59841
60080
|
"tagName": {
|
|
@@ -59843,38 +60082,37 @@
|
|
|
59843
60082
|
}
|
|
59844
60083
|
}
|
|
59845
60084
|
]
|
|
59846
|
-
}
|
|
59847
|
-
],
|
|
59848
|
-
"packages/core/schematics/migrate-ecl-link/index.ts": [
|
|
60085
|
+
},
|
|
59849
60086
|
{
|
|
59850
|
-
"name": "
|
|
60087
|
+
"name": "removeBoundAttribute",
|
|
59851
60088
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59852
60089
|
"ctype": "miscellaneous",
|
|
59853
60090
|
"subtype": "function",
|
|
59854
60091
|
"coverageIgnore": false,
|
|
59855
60092
|
"deprecated": false,
|
|
59856
60093
|
"deprecationMessage": "",
|
|
59857
|
-
"rawdescription": "",
|
|
59858
|
-
"description": "",
|
|
59859
|
-
"displayName": "
|
|
60094
|
+
"rawdescription": "Removes a bound attribute `[name]=\"...\"` including the preceding whitespace.",
|
|
60095
|
+
"description": "<p>Removes a bound attribute <code>[name]="..."</code> including the preceding whitespace.</p>\n",
|
|
60096
|
+
"displayName": "removeBoundAttribute",
|
|
59860
60097
|
"args": [
|
|
59861
60098
|
{
|
|
59862
|
-
"name": "
|
|
59863
|
-
"type": "
|
|
60099
|
+
"name": "attr",
|
|
60100
|
+
"type": "TmplAstBoundAttribute",
|
|
59864
60101
|
"deprecated": false,
|
|
59865
60102
|
"deprecationMessage": ""
|
|
59866
60103
|
},
|
|
59867
60104
|
{
|
|
59868
|
-
"name": "
|
|
60105
|
+
"name": "source",
|
|
60106
|
+
"type": "string",
|
|
59869
60107
|
"deprecated": false,
|
|
59870
60108
|
"deprecationMessage": ""
|
|
59871
60109
|
}
|
|
59872
60110
|
],
|
|
59873
|
-
"returnType": "
|
|
60111
|
+
"returnType": "Edit",
|
|
59874
60112
|
"jsdoctags": [
|
|
59875
60113
|
{
|
|
59876
|
-
"name": "
|
|
59877
|
-
"type": "
|
|
60114
|
+
"name": "attr",
|
|
60115
|
+
"type": "TmplAstBoundAttribute",
|
|
59878
60116
|
"deprecated": false,
|
|
59879
60117
|
"deprecationMessage": "",
|
|
59880
60118
|
"tagName": {
|
|
@@ -59882,7 +60120,8 @@
|
|
|
59882
60120
|
}
|
|
59883
60121
|
},
|
|
59884
60122
|
{
|
|
59885
|
-
"name": "
|
|
60123
|
+
"name": "source",
|
|
60124
|
+
"type": "string",
|
|
59886
60125
|
"deprecated": false,
|
|
59887
60126
|
"deprecationMessage": "",
|
|
59888
60127
|
"tagName": {
|
|
@@ -59892,69 +60131,58 @@
|
|
|
59892
60131
|
]
|
|
59893
60132
|
},
|
|
59894
60133
|
{
|
|
59895
|
-
"name": "
|
|
60134
|
+
"name": "reportManual",
|
|
59896
60135
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59897
60136
|
"ctype": "miscellaneous",
|
|
59898
60137
|
"subtype": "function",
|
|
59899
60138
|
"coverageIgnore": false,
|
|
59900
60139
|
"deprecated": false,
|
|
59901
60140
|
"deprecationMessage": "",
|
|
59902
|
-
"rawdescription": "",
|
|
59903
|
-
"description": "",
|
|
59904
|
-
"displayName": "
|
|
60141
|
+
"rawdescription": "Logs a warning and adds a TODO comment above the element for manual follow-up.",
|
|
60142
|
+
"description": "<p>Logs a warning and adds a TODO comment above the element for manual follow-up.</p>\n",
|
|
60143
|
+
"displayName": "reportManual",
|
|
59905
60144
|
"args": [
|
|
59906
60145
|
{
|
|
59907
|
-
"name": "
|
|
59908
|
-
"type": "
|
|
60146
|
+
"name": "context",
|
|
60147
|
+
"type": "SchematicContext",
|
|
59909
60148
|
"deprecated": false,
|
|
59910
60149
|
"deprecationMessage": ""
|
|
59911
60150
|
},
|
|
59912
60151
|
{
|
|
59913
|
-
"name": "
|
|
60152
|
+
"name": "filePath",
|
|
59914
60153
|
"type": "string",
|
|
59915
60154
|
"deprecated": false,
|
|
59916
60155
|
"deprecationMessage": ""
|
|
59917
60156
|
},
|
|
59918
60157
|
{
|
|
59919
|
-
"name": "
|
|
60158
|
+
"name": "element",
|
|
60159
|
+
"type": "TmplAstElement",
|
|
59920
60160
|
"deprecated": false,
|
|
59921
60161
|
"deprecationMessage": ""
|
|
59922
60162
|
},
|
|
59923
60163
|
{
|
|
59924
|
-
"name": "
|
|
60164
|
+
"name": "source",
|
|
59925
60165
|
"type": "string",
|
|
59926
60166
|
"deprecated": false,
|
|
59927
60167
|
"deprecationMessage": ""
|
|
59928
60168
|
},
|
|
59929
60169
|
{
|
|
59930
|
-
"name": "
|
|
59931
|
-
"type": "SchematicContext",
|
|
60170
|
+
"name": "edits",
|
|
59932
60171
|
"deprecated": false,
|
|
59933
60172
|
"deprecationMessage": ""
|
|
59934
|
-
}
|
|
59935
|
-
],
|
|
59936
|
-
"returnType": "void",
|
|
59937
|
-
"jsdoctags": [
|
|
59938
|
-
{
|
|
59939
|
-
"name": "element",
|
|
59940
|
-
"type": "TmplAstElement",
|
|
59941
|
-
"deprecated": false,
|
|
59942
|
-
"deprecationMessage": "",
|
|
59943
|
-
"tagName": {
|
|
59944
|
-
"text": "param"
|
|
59945
|
-
}
|
|
59946
60173
|
},
|
|
59947
60174
|
{
|
|
59948
|
-
"name": "
|
|
60175
|
+
"name": "message",
|
|
59949
60176
|
"type": "string",
|
|
59950
60177
|
"deprecated": false,
|
|
59951
|
-
"deprecationMessage": ""
|
|
59952
|
-
|
|
59953
|
-
|
|
59954
|
-
|
|
59955
|
-
|
|
60178
|
+
"deprecationMessage": ""
|
|
60179
|
+
}
|
|
60180
|
+
],
|
|
60181
|
+
"returnType": "void",
|
|
60182
|
+
"jsdoctags": [
|
|
59956
60183
|
{
|
|
59957
|
-
"name": "
|
|
60184
|
+
"name": "context",
|
|
60185
|
+
"type": "SchematicContext",
|
|
59958
60186
|
"deprecated": false,
|
|
59959
60187
|
"deprecationMessage": "",
|
|
59960
60188
|
"tagName": {
|
|
@@ -59971,43 +60199,14 @@
|
|
|
59971
60199
|
}
|
|
59972
60200
|
},
|
|
59973
60201
|
{
|
|
59974
|
-
"name": "
|
|
59975
|
-
"type": "
|
|
60202
|
+
"name": "element",
|
|
60203
|
+
"type": "TmplAstElement",
|
|
59976
60204
|
"deprecated": false,
|
|
59977
60205
|
"deprecationMessage": "",
|
|
59978
60206
|
"tagName": {
|
|
59979
60207
|
"text": "param"
|
|
59980
60208
|
}
|
|
59981
|
-
}
|
|
59982
|
-
]
|
|
59983
|
-
},
|
|
59984
|
-
{
|
|
59985
|
-
"name": "consumeLeadingWhitespace",
|
|
59986
|
-
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
59987
|
-
"ctype": "miscellaneous",
|
|
59988
|
-
"subtype": "function",
|
|
59989
|
-
"coverageIgnore": false,
|
|
59990
|
-
"deprecated": false,
|
|
59991
|
-
"deprecationMessage": "",
|
|
59992
|
-
"rawdescription": "",
|
|
59993
|
-
"description": "",
|
|
59994
|
-
"displayName": "consumeLeadingWhitespace",
|
|
59995
|
-
"args": [
|
|
59996
|
-
{
|
|
59997
|
-
"name": "source",
|
|
59998
|
-
"type": "string",
|
|
59999
|
-
"deprecated": false,
|
|
60000
|
-
"deprecationMessage": ""
|
|
60001
60209
|
},
|
|
60002
|
-
{
|
|
60003
|
-
"name": "start",
|
|
60004
|
-
"type": "number",
|
|
60005
|
-
"deprecated": false,
|
|
60006
|
-
"deprecationMessage": ""
|
|
60007
|
-
}
|
|
60008
|
-
],
|
|
60009
|
-
"returnType": "number",
|
|
60010
|
-
"jsdoctags": [
|
|
60011
60210
|
{
|
|
60012
60211
|
"name": "source",
|
|
60013
60212
|
"type": "string",
|
|
@@ -60018,38 +60217,16 @@
|
|
|
60018
60217
|
}
|
|
60019
60218
|
},
|
|
60020
60219
|
{
|
|
60021
|
-
"name": "
|
|
60022
|
-
"type": "number",
|
|
60220
|
+
"name": "edits",
|
|
60023
60221
|
"deprecated": false,
|
|
60024
60222
|
"deprecationMessage": "",
|
|
60025
60223
|
"tagName": {
|
|
60026
60224
|
"text": "param"
|
|
60027
60225
|
}
|
|
60028
|
-
}
|
|
60029
|
-
]
|
|
60030
|
-
},
|
|
60031
|
-
{
|
|
60032
|
-
"name": "deduplicateEdits",
|
|
60033
|
-
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60034
|
-
"ctype": "miscellaneous",
|
|
60035
|
-
"subtype": "function",
|
|
60036
|
-
"coverageIgnore": false,
|
|
60037
|
-
"deprecated": false,
|
|
60038
|
-
"deprecationMessage": "",
|
|
60039
|
-
"rawdescription": "",
|
|
60040
|
-
"description": "",
|
|
60041
|
-
"displayName": "deduplicateEdits",
|
|
60042
|
-
"args": [
|
|
60043
|
-
{
|
|
60044
|
-
"name": "edits",
|
|
60045
|
-
"deprecated": false,
|
|
60046
|
-
"deprecationMessage": ""
|
|
60047
|
-
}
|
|
60048
|
-
],
|
|
60049
|
-
"returnType": "Edit[]",
|
|
60050
|
-
"jsdoctags": [
|
|
60226
|
+
},
|
|
60051
60227
|
{
|
|
60052
|
-
"name": "
|
|
60228
|
+
"name": "message",
|
|
60229
|
+
"type": "string",
|
|
60053
60230
|
"deprecated": false,
|
|
60054
60231
|
"deprecationMessage": "",
|
|
60055
60232
|
"tagName": {
|
|
@@ -60059,57 +60236,31 @@
|
|
|
60059
60236
|
]
|
|
60060
60237
|
},
|
|
60061
60238
|
{
|
|
60062
|
-
"name": "
|
|
60239
|
+
"name": "setAttributeValue",
|
|
60063
60240
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60064
60241
|
"ctype": "miscellaneous",
|
|
60065
60242
|
"subtype": "function",
|
|
60066
60243
|
"coverageIgnore": false,
|
|
60067
60244
|
"deprecated": false,
|
|
60068
60245
|
"deprecationMessage": "",
|
|
60069
|
-
"rawdescription": "",
|
|
60070
|
-
"description": "",
|
|
60071
|
-
"displayName": "
|
|
60246
|
+
"rawdescription": "Replaces the value of a text attribute `name=\"old\"` with a new value.",
|
|
60247
|
+
"description": "<p>Replaces the value of a text attribute <code>name="old"</code> with a new value.</p>\n",
|
|
60248
|
+
"displayName": "setAttributeValue",
|
|
60072
60249
|
"args": [
|
|
60073
60250
|
{
|
|
60074
|
-
"name": "
|
|
60075
|
-
"type": "
|
|
60251
|
+
"name": "attr",
|
|
60252
|
+
"type": "TmplAstTextAttribute",
|
|
60076
60253
|
"deprecated": false,
|
|
60077
60254
|
"deprecationMessage": ""
|
|
60078
|
-
}
|
|
60079
|
-
],
|
|
60080
|
-
"returnType": "boolean",
|
|
60081
|
-
"jsdoctags": [
|
|
60082
|
-
{
|
|
60083
|
-
"name": "element",
|
|
60084
|
-
"type": "TmplAstElement",
|
|
60085
|
-
"deprecated": false,
|
|
60086
|
-
"deprecationMessage": "",
|
|
60087
|
-
"tagName": {
|
|
60088
|
-
"text": "param"
|
|
60089
|
-
}
|
|
60090
|
-
}
|
|
60091
|
-
]
|
|
60092
|
-
},
|
|
60093
|
-
{
|
|
60094
|
-
"name": "injectVariantAttribute",
|
|
60095
|
-
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60096
|
-
"ctype": "miscellaneous",
|
|
60097
|
-
"subtype": "function",
|
|
60098
|
-
"coverageIgnore": false,
|
|
60099
|
-
"deprecated": false,
|
|
60100
|
-
"deprecationMessage": "",
|
|
60101
|
-
"rawdescription": "Injects `variant=\"primary-highlight\"` immediately after the eclLink attribute.",
|
|
60102
|
-
"description": "<p>Injects <code>variant="primary-highlight"</code> immediately after the eclLink attribute.</p>\n",
|
|
60103
|
-
"displayName": "injectVariantAttribute",
|
|
60104
|
-
"args": [
|
|
60255
|
+
},
|
|
60105
60256
|
{
|
|
60106
|
-
"name": "
|
|
60107
|
-
"type": "
|
|
60257
|
+
"name": "source",
|
|
60258
|
+
"type": "string",
|
|
60108
60259
|
"deprecated": false,
|
|
60109
60260
|
"deprecationMessage": ""
|
|
60110
60261
|
},
|
|
60111
60262
|
{
|
|
60112
|
-
"name": "
|
|
60263
|
+
"name": "newValue",
|
|
60113
60264
|
"type": "string",
|
|
60114
60265
|
"deprecated": false,
|
|
60115
60266
|
"deprecationMessage": ""
|
|
@@ -60118,8 +60269,8 @@
|
|
|
60118
60269
|
"returnType": "Edit",
|
|
60119
60270
|
"jsdoctags": [
|
|
60120
60271
|
{
|
|
60121
|
-
"name": "
|
|
60122
|
-
"type": "
|
|
60272
|
+
"name": "attr",
|
|
60273
|
+
"type": "TmplAstTextAttribute",
|
|
60123
60274
|
"deprecated": false,
|
|
60124
60275
|
"deprecationMessage": "",
|
|
60125
60276
|
"tagName": {
|
|
@@ -60134,31 +60285,10 @@
|
|
|
60134
60285
|
"tagName": {
|
|
60135
60286
|
"text": "param"
|
|
60136
60287
|
}
|
|
60137
|
-
}
|
|
60138
|
-
]
|
|
60139
|
-
},
|
|
60140
|
-
{
|
|
60141
|
-
"name": "isComponentMetadataProperty",
|
|
60142
|
-
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60143
|
-
"ctype": "miscellaneous",
|
|
60144
|
-
"subtype": "function",
|
|
60145
|
-
"coverageIgnore": false,
|
|
60146
|
-
"deprecated": false,
|
|
60147
|
-
"deprecationMessage": "",
|
|
60148
|
-
"rawdescription": "",
|
|
60149
|
-
"description": "",
|
|
60150
|
-
"displayName": "isComponentMetadataProperty",
|
|
60151
|
-
"args": [
|
|
60152
|
-
{
|
|
60153
|
-
"name": "node",
|
|
60154
|
-
"deprecated": false,
|
|
60155
|
-
"deprecationMessage": ""
|
|
60156
|
-
}
|
|
60157
|
-
],
|
|
60158
|
-
"returnType": "boolean",
|
|
60159
|
-
"jsdoctags": [
|
|
60288
|
+
},
|
|
60160
60289
|
{
|
|
60161
|
-
"name": "
|
|
60290
|
+
"name": "newValue",
|
|
60291
|
+
"type": "string",
|
|
60162
60292
|
"deprecated": false,
|
|
60163
60293
|
"deprecationMessage": "",
|
|
60164
60294
|
"tagName": {
|
|
@@ -60168,7 +60298,7 @@
|
|
|
60168
60298
|
]
|
|
60169
60299
|
},
|
|
60170
60300
|
{
|
|
60171
|
-
"name": "
|
|
60301
|
+
"name": "unwrapExpression",
|
|
60172
60302
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60173
60303
|
"ctype": "miscellaneous",
|
|
60174
60304
|
"subtype": "function",
|
|
@@ -60177,18 +60307,18 @@
|
|
|
60177
60307
|
"deprecationMessage": "",
|
|
60178
60308
|
"rawdescription": "",
|
|
60179
60309
|
"description": "",
|
|
60180
|
-
"displayName": "
|
|
60310
|
+
"displayName": "unwrapExpression",
|
|
60181
60311
|
"args": [
|
|
60182
60312
|
{
|
|
60183
|
-
"name": "
|
|
60313
|
+
"name": "expression",
|
|
60184
60314
|
"deprecated": false,
|
|
60185
60315
|
"deprecationMessage": ""
|
|
60186
60316
|
}
|
|
60187
60317
|
],
|
|
60188
|
-
"returnType": "
|
|
60318
|
+
"returnType": "ts.Expression",
|
|
60189
60319
|
"jsdoctags": [
|
|
60190
60320
|
{
|
|
60191
|
-
"name": "
|
|
60321
|
+
"name": "expression",
|
|
60192
60322
|
"deprecated": false,
|
|
60193
60323
|
"deprecationMessage": "",
|
|
60194
60324
|
"tagName": {
|
|
@@ -60198,35 +60328,34 @@
|
|
|
60198
60328
|
]
|
|
60199
60329
|
},
|
|
60200
60330
|
{
|
|
60201
|
-
"name": "
|
|
60331
|
+
"name": "visitDir",
|
|
60202
60332
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60203
60333
|
"ctype": "miscellaneous",
|
|
60204
60334
|
"subtype": "function",
|
|
60205
60335
|
"coverageIgnore": false,
|
|
60206
60336
|
"deprecated": false,
|
|
60207
60337
|
"deprecationMessage": "",
|
|
60208
|
-
"rawdescription": "
|
|
60209
|
-
"description": "
|
|
60210
|
-
"displayName": "
|
|
60338
|
+
"rawdescription": "",
|
|
60339
|
+
"description": "",
|
|
60340
|
+
"displayName": "visitDir",
|
|
60211
60341
|
"args": [
|
|
60212
60342
|
{
|
|
60213
|
-
"name": "
|
|
60214
|
-
"type": "
|
|
60343
|
+
"name": "dir",
|
|
60344
|
+
"type": "DirEntry",
|
|
60215
60345
|
"deprecated": false,
|
|
60216
60346
|
"deprecationMessage": ""
|
|
60217
60347
|
},
|
|
60218
60348
|
{
|
|
60219
|
-
"name": "
|
|
60220
|
-
"type": "string",
|
|
60349
|
+
"name": "callback",
|
|
60221
60350
|
"deprecated": false,
|
|
60222
60351
|
"deprecationMessage": ""
|
|
60223
60352
|
}
|
|
60224
60353
|
],
|
|
60225
|
-
"returnType": "
|
|
60354
|
+
"returnType": "void",
|
|
60226
60355
|
"jsdoctags": [
|
|
60227
60356
|
{
|
|
60228
|
-
"name": "
|
|
60229
|
-
"type": "
|
|
60357
|
+
"name": "dir",
|
|
60358
|
+
"type": "DirEntry",
|
|
60230
60359
|
"deprecated": false,
|
|
60231
60360
|
"deprecationMessage": "",
|
|
60232
60361
|
"tagName": {
|
|
@@ -60234,8 +60363,7 @@
|
|
|
60234
60363
|
}
|
|
60235
60364
|
},
|
|
60236
60365
|
{
|
|
60237
|
-
"name": "
|
|
60238
|
-
"type": "string",
|
|
60366
|
+
"name": "callback",
|
|
60239
60367
|
"deprecated": false,
|
|
60240
60368
|
"deprecationMessage": "",
|
|
60241
60369
|
"tagName": {
|
|
@@ -60245,7 +60373,7 @@
|
|
|
60245
60373
|
]
|
|
60246
60374
|
},
|
|
60247
60375
|
{
|
|
60248
|
-
"name": "
|
|
60376
|
+
"name": "visitNodes",
|
|
60249
60377
|
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60250
60378
|
"ctype": "miscellaneous",
|
|
60251
60379
|
"subtype": "function",
|
|
@@ -60254,48 +60382,24 @@
|
|
|
60254
60382
|
"deprecationMessage": "",
|
|
60255
60383
|
"rawdescription": "",
|
|
60256
60384
|
"description": "",
|
|
60257
|
-
"displayName": "
|
|
60385
|
+
"displayName": "visitNodes",
|
|
60258
60386
|
"args": [
|
|
60259
60387
|
{
|
|
60260
|
-
"name": "
|
|
60261
|
-
"type": "Schema",
|
|
60262
|
-
"deprecated": false,
|
|
60263
|
-
"deprecationMessage": "",
|
|
60264
|
-
"defaultValue": "{}"
|
|
60265
|
-
}
|
|
60266
|
-
],
|
|
60267
|
-
"returnType": "Rule",
|
|
60268
|
-
"jsdoctags": [
|
|
60269
|
-
{
|
|
60270
|
-
"name": "options",
|
|
60271
|
-
"type": "Schema",
|
|
60388
|
+
"name": "nodes",
|
|
60272
60389
|
"deprecated": false,
|
|
60273
|
-
"deprecationMessage": ""
|
|
60274
|
-
|
|
60275
|
-
"tagName": {
|
|
60276
|
-
"text": "param"
|
|
60277
|
-
}
|
|
60278
|
-
}
|
|
60279
|
-
]
|
|
60280
|
-
},
|
|
60281
|
-
{
|
|
60282
|
-
"name": "migrateTemplate",
|
|
60283
|
-
"file": "packages/core/schematics/migrate-ecl-link/index.ts",
|
|
60284
|
-
"ctype": "miscellaneous",
|
|
60285
|
-
"subtype": "function",
|
|
60286
|
-
"coverageIgnore": false,
|
|
60287
|
-
"deprecated": false,
|
|
60288
|
-
"deprecationMessage": "",
|
|
60289
|
-
"rawdescription": "",
|
|
60290
|
-
"description": "",
|
|
60291
|
-
"displayName": "migrateTemplate",
|
|
60292
|
-
"args": [
|
|
60390
|
+
"deprecationMessage": ""
|
|
60391
|
+
},
|
|
60293
60392
|
{
|
|
60294
60393
|
"name": "source",
|
|
60295
60394
|
"type": "string",
|
|
60296
60395
|
"deprecated": false,
|
|
60297
60396
|
"deprecationMessage": ""
|
|
60298
60397
|
},
|
|
60398
|
+
{
|
|
60399
|
+
"name": "edits",
|
|
60400
|
+
"deprecated": false,
|
|
60401
|
+
"deprecationMessage": ""
|
|
60402
|
+
},
|
|
60299
60403
|
{
|
|
60300
60404
|
"name": "filePath",
|
|
60301
60405
|
"type": "string",
|
|
@@ -60309,8 +60413,16 @@
|
|
|
60309
60413
|
"deprecationMessage": ""
|
|
60310
60414
|
}
|
|
60311
60415
|
],
|
|
60312
|
-
"returnType": "
|
|
60416
|
+
"returnType": "void",
|
|
60313
60417
|
"jsdoctags": [
|
|
60418
|
+
{
|
|
60419
|
+
"name": "nodes",
|
|
60420
|
+
"deprecated": false,
|
|
60421
|
+
"deprecationMessage": "",
|
|
60422
|
+
"tagName": {
|
|
60423
|
+
"text": "param"
|
|
60424
|
+
}
|
|
60425
|
+
},
|
|
60314
60426
|
{
|
|
60315
60427
|
"name": "source",
|
|
60316
60428
|
"type": "string",
|
|
@@ -60320,6 +60432,14 @@
|
|
|
60320
60432
|
"text": "param"
|
|
60321
60433
|
}
|
|
60322
60434
|
},
|
|
60435
|
+
{
|
|
60436
|
+
"name": "edits",
|
|
60437
|
+
"deprecated": false,
|
|
60438
|
+
"deprecationMessage": "",
|
|
60439
|
+
"tagName": {
|
|
60440
|
+
"text": "param"
|
|
60441
|
+
}
|
|
60442
|
+
},
|
|
60323
60443
|
{
|
|
60324
60444
|
"name": "filePath",
|
|
60325
60445
|
"type": "string",
|
|
@@ -60339,10 +60459,12 @@
|
|
|
60339
60459
|
}
|
|
60340
60460
|
}
|
|
60341
60461
|
]
|
|
60342
|
-
}
|
|
60462
|
+
}
|
|
60463
|
+
],
|
|
60464
|
+
"packages/core/schematics/migrate-ecl-page-header/index.ts": [
|
|
60343
60465
|
{
|
|
60344
|
-
"name": "
|
|
60345
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60466
|
+
"name": "applyEdits",
|
|
60467
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60346
60468
|
"ctype": "miscellaneous",
|
|
60347
60469
|
"subtype": "function",
|
|
60348
60470
|
"coverageIgnore": false,
|
|
@@ -60350,7 +60472,7 @@
|
|
|
60350
60472
|
"deprecationMessage": "",
|
|
60351
60473
|
"rawdescription": "",
|
|
60352
60474
|
"description": "",
|
|
60353
|
-
"displayName": "
|
|
60475
|
+
"displayName": "applyEdits",
|
|
60354
60476
|
"args": [
|
|
60355
60477
|
{
|
|
60356
60478
|
"name": "source",
|
|
@@ -60359,14 +60481,7 @@
|
|
|
60359
60481
|
"deprecationMessage": ""
|
|
60360
60482
|
},
|
|
60361
60483
|
{
|
|
60362
|
-
"name": "
|
|
60363
|
-
"type": "string",
|
|
60364
|
-
"deprecated": false,
|
|
60365
|
-
"deprecationMessage": ""
|
|
60366
|
-
},
|
|
60367
|
-
{
|
|
60368
|
-
"name": "context",
|
|
60369
|
-
"type": "SchematicContext",
|
|
60484
|
+
"name": "edits",
|
|
60370
60485
|
"deprecated": false,
|
|
60371
60486
|
"deprecationMessage": ""
|
|
60372
60487
|
}
|
|
@@ -60383,17 +60498,7 @@
|
|
|
60383
60498
|
}
|
|
60384
60499
|
},
|
|
60385
60500
|
{
|
|
60386
|
-
"name": "
|
|
60387
|
-
"type": "string",
|
|
60388
|
-
"deprecated": false,
|
|
60389
|
-
"deprecationMessage": "",
|
|
60390
|
-
"tagName": {
|
|
60391
|
-
"text": "param"
|
|
60392
|
-
}
|
|
60393
|
-
},
|
|
60394
|
-
{
|
|
60395
|
-
"name": "context",
|
|
60396
|
-
"type": "SchematicContext",
|
|
60501
|
+
"name": "edits",
|
|
60397
60502
|
"deprecated": false,
|
|
60398
60503
|
"deprecationMessage": "",
|
|
60399
60504
|
"tagName": {
|
|
@@ -60403,8 +60508,8 @@
|
|
|
60403
60508
|
]
|
|
60404
60509
|
},
|
|
60405
60510
|
{
|
|
60406
|
-
"name": "
|
|
60407
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60511
|
+
"name": "collectElementRename",
|
|
60512
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60408
60513
|
"ctype": "miscellaneous",
|
|
60409
60514
|
"subtype": "function",
|
|
60410
60515
|
"coverageIgnore": false,
|
|
@@ -60412,26 +60517,25 @@
|
|
|
60412
60517
|
"deprecationMessage": "",
|
|
60413
60518
|
"rawdescription": "",
|
|
60414
60519
|
"description": "",
|
|
60415
|
-
"displayName": "
|
|
60520
|
+
"displayName": "collectElementRename",
|
|
60416
60521
|
"args": [
|
|
60417
60522
|
{
|
|
60418
|
-
"name": "
|
|
60419
|
-
"type": "
|
|
60523
|
+
"name": "element",
|
|
60524
|
+
"type": "TmplAstElement",
|
|
60420
60525
|
"deprecated": false,
|
|
60421
60526
|
"deprecationMessage": ""
|
|
60422
60527
|
},
|
|
60423
60528
|
{
|
|
60424
|
-
"name": "
|
|
60425
|
-
"type": "string",
|
|
60529
|
+
"name": "edits",
|
|
60426
60530
|
"deprecated": false,
|
|
60427
60531
|
"deprecationMessage": ""
|
|
60428
60532
|
}
|
|
60429
60533
|
],
|
|
60430
|
-
"returnType": "
|
|
60534
|
+
"returnType": "void",
|
|
60431
60535
|
"jsdoctags": [
|
|
60432
60536
|
{
|
|
60433
|
-
"name": "
|
|
60434
|
-
"type": "
|
|
60537
|
+
"name": "element",
|
|
60538
|
+
"type": "TmplAstElement",
|
|
60435
60539
|
"deprecated": false,
|
|
60436
60540
|
"deprecationMessage": "",
|
|
60437
60541
|
"tagName": {
|
|
@@ -60439,8 +60543,7 @@
|
|
|
60439
60543
|
}
|
|
60440
60544
|
},
|
|
60441
60545
|
{
|
|
60442
|
-
"name": "
|
|
60443
|
-
"type": "string",
|
|
60546
|
+
"name": "edits",
|
|
60444
60547
|
"deprecated": false,
|
|
60445
60548
|
"deprecationMessage": "",
|
|
60446
60549
|
"tagName": {
|
|
@@ -60450,44 +60553,27 @@
|
|
|
60450
60553
|
]
|
|
60451
60554
|
},
|
|
60452
60555
|
{
|
|
60453
|
-
"name": "
|
|
60454
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60556
|
+
"name": "deduplicateEdits",
|
|
60557
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60455
60558
|
"ctype": "miscellaneous",
|
|
60456
60559
|
"subtype": "function",
|
|
60457
60560
|
"coverageIgnore": false,
|
|
60458
60561
|
"deprecated": false,
|
|
60459
60562
|
"deprecationMessage": "",
|
|
60460
|
-
"rawdescription": "
|
|
60461
|
-
"description": "
|
|
60462
|
-
"displayName": "
|
|
60563
|
+
"rawdescription": "",
|
|
60564
|
+
"description": "",
|
|
60565
|
+
"displayName": "deduplicateEdits",
|
|
60463
60566
|
"args": [
|
|
60464
60567
|
{
|
|
60465
|
-
"name": "
|
|
60466
|
-
"type": "TmplAstTextAttribute",
|
|
60467
|
-
"deprecated": false,
|
|
60468
|
-
"deprecationMessage": ""
|
|
60469
|
-
},
|
|
60470
|
-
{
|
|
60471
|
-
"name": "source",
|
|
60472
|
-
"type": "string",
|
|
60568
|
+
"name": "edits",
|
|
60473
60569
|
"deprecated": false,
|
|
60474
60570
|
"deprecationMessage": ""
|
|
60475
60571
|
}
|
|
60476
60572
|
],
|
|
60477
|
-
"returnType": "Edit",
|
|
60573
|
+
"returnType": "Edit[]",
|
|
60478
60574
|
"jsdoctags": [
|
|
60479
60575
|
{
|
|
60480
|
-
"name": "
|
|
60481
|
-
"type": "TmplAstTextAttribute",
|
|
60482
|
-
"deprecated": false,
|
|
60483
|
-
"deprecationMessage": "",
|
|
60484
|
-
"tagName": {
|
|
60485
|
-
"text": "param"
|
|
60486
|
-
}
|
|
60487
|
-
},
|
|
60488
|
-
{
|
|
60489
|
-
"name": "source",
|
|
60490
|
-
"type": "string",
|
|
60576
|
+
"name": "edits",
|
|
60491
60577
|
"deprecated": false,
|
|
60492
60578
|
"deprecationMessage": "",
|
|
60493
60579
|
"tagName": {
|
|
@@ -60497,44 +60583,27 @@
|
|
|
60497
60583
|
]
|
|
60498
60584
|
},
|
|
60499
60585
|
{
|
|
60500
|
-
"name": "
|
|
60501
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60586
|
+
"name": "isComponentMetadataProperty",
|
|
60587
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60502
60588
|
"ctype": "miscellaneous",
|
|
60503
60589
|
"subtype": "function",
|
|
60504
60590
|
"coverageIgnore": false,
|
|
60505
60591
|
"deprecated": false,
|
|
60506
60592
|
"deprecationMessage": "",
|
|
60507
|
-
"rawdescription": "
|
|
60508
|
-
"description": "
|
|
60509
|
-
"displayName": "
|
|
60593
|
+
"rawdescription": "",
|
|
60594
|
+
"description": "",
|
|
60595
|
+
"displayName": "isComponentMetadataProperty",
|
|
60510
60596
|
"args": [
|
|
60511
60597
|
{
|
|
60512
|
-
"name": "
|
|
60513
|
-
"type": "TmplAstBoundAttribute",
|
|
60514
|
-
"deprecated": false,
|
|
60515
|
-
"deprecationMessage": ""
|
|
60516
|
-
},
|
|
60517
|
-
{
|
|
60518
|
-
"name": "source",
|
|
60519
|
-
"type": "string",
|
|
60598
|
+
"name": "node",
|
|
60520
60599
|
"deprecated": false,
|
|
60521
60600
|
"deprecationMessage": ""
|
|
60522
60601
|
}
|
|
60523
60602
|
],
|
|
60524
|
-
"returnType": "
|
|
60603
|
+
"returnType": "boolean",
|
|
60525
60604
|
"jsdoctags": [
|
|
60526
60605
|
{
|
|
60527
|
-
"name": "
|
|
60528
|
-
"type": "TmplAstBoundAttribute",
|
|
60529
|
-
"deprecated": false,
|
|
60530
|
-
"deprecationMessage": "",
|
|
60531
|
-
"tagName": {
|
|
60532
|
-
"text": "param"
|
|
60533
|
-
}
|
|
60534
|
-
},
|
|
60535
|
-
{
|
|
60536
|
-
"name": "source",
|
|
60537
|
-
"type": "string",
|
|
60606
|
+
"name": "node",
|
|
60538
60607
|
"deprecated": false,
|
|
60539
60608
|
"deprecationMessage": "",
|
|
60540
60609
|
"tagName": {
|
|
@@ -60544,101 +60613,92 @@
|
|
|
60544
60613
|
]
|
|
60545
60614
|
},
|
|
60546
60615
|
{
|
|
60547
|
-
"name": "
|
|
60548
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60616
|
+
"name": "isTemplateProperty",
|
|
60617
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60549
60618
|
"ctype": "miscellaneous",
|
|
60550
60619
|
"subtype": "function",
|
|
60551
60620
|
"coverageIgnore": false,
|
|
60552
60621
|
"deprecated": false,
|
|
60553
60622
|
"deprecationMessage": "",
|
|
60554
|
-
"rawdescription": "
|
|
60555
|
-
"description": "
|
|
60556
|
-
"displayName": "
|
|
60623
|
+
"rawdescription": "",
|
|
60624
|
+
"description": "",
|
|
60625
|
+
"displayName": "isTemplateProperty",
|
|
60557
60626
|
"args": [
|
|
60558
60627
|
{
|
|
60559
|
-
"name": "
|
|
60560
|
-
"type": "SchematicContext",
|
|
60561
|
-
"deprecated": false,
|
|
60562
|
-
"deprecationMessage": ""
|
|
60563
|
-
},
|
|
60564
|
-
{
|
|
60565
|
-
"name": "filePath",
|
|
60566
|
-
"type": "string",
|
|
60567
|
-
"deprecated": false,
|
|
60568
|
-
"deprecationMessage": ""
|
|
60569
|
-
},
|
|
60570
|
-
{
|
|
60571
|
-
"name": "element",
|
|
60572
|
-
"type": "TmplAstElement",
|
|
60573
|
-
"deprecated": false,
|
|
60574
|
-
"deprecationMessage": ""
|
|
60575
|
-
},
|
|
60576
|
-
{
|
|
60577
|
-
"name": "source",
|
|
60578
|
-
"type": "string",
|
|
60579
|
-
"deprecated": false,
|
|
60580
|
-
"deprecationMessage": ""
|
|
60581
|
-
},
|
|
60582
|
-
{
|
|
60583
|
-
"name": "edits",
|
|
60584
|
-
"deprecated": false,
|
|
60585
|
-
"deprecationMessage": ""
|
|
60586
|
-
},
|
|
60587
|
-
{
|
|
60588
|
-
"name": "message",
|
|
60589
|
-
"type": "string",
|
|
60628
|
+
"name": "node",
|
|
60590
60629
|
"deprecated": false,
|
|
60591
60630
|
"deprecationMessage": ""
|
|
60592
60631
|
}
|
|
60593
60632
|
],
|
|
60594
|
-
"returnType": "
|
|
60633
|
+
"returnType": "boolean",
|
|
60595
60634
|
"jsdoctags": [
|
|
60596
60635
|
{
|
|
60597
|
-
"name": "
|
|
60598
|
-
"type": "SchematicContext",
|
|
60636
|
+
"name": "node",
|
|
60599
60637
|
"deprecated": false,
|
|
60600
60638
|
"deprecationMessage": "",
|
|
60601
60639
|
"tagName": {
|
|
60602
60640
|
"text": "param"
|
|
60603
60641
|
}
|
|
60604
|
-
}
|
|
60642
|
+
}
|
|
60643
|
+
]
|
|
60644
|
+
},
|
|
60645
|
+
{
|
|
60646
|
+
"name": "migrateEclPageHeader",
|
|
60647
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60648
|
+
"ctype": "miscellaneous",
|
|
60649
|
+
"subtype": "function",
|
|
60650
|
+
"coverageIgnore": false,
|
|
60651
|
+
"deprecated": false,
|
|
60652
|
+
"deprecationMessage": "",
|
|
60653
|
+
"rawdescription": "",
|
|
60654
|
+
"description": "",
|
|
60655
|
+
"displayName": "migrateEclPageHeader",
|
|
60656
|
+
"args": [
|
|
60605
60657
|
{
|
|
60606
|
-
"name": "
|
|
60607
|
-
"type": "
|
|
60658
|
+
"name": "options",
|
|
60659
|
+
"type": "Schema",
|
|
60608
60660
|
"deprecated": false,
|
|
60609
60661
|
"deprecationMessage": "",
|
|
60610
|
-
"
|
|
60611
|
-
|
|
60612
|
-
|
|
60613
|
-
|
|
60662
|
+
"defaultValue": "{}"
|
|
60663
|
+
}
|
|
60664
|
+
],
|
|
60665
|
+
"returnType": "Rule",
|
|
60666
|
+
"jsdoctags": [
|
|
60614
60667
|
{
|
|
60615
|
-
"name": "
|
|
60616
|
-
"type": "
|
|
60668
|
+
"name": "options",
|
|
60669
|
+
"type": "Schema",
|
|
60617
60670
|
"deprecated": false,
|
|
60618
60671
|
"deprecationMessage": "",
|
|
60672
|
+
"defaultValue": "{}",
|
|
60619
60673
|
"tagName": {
|
|
60620
60674
|
"text": "param"
|
|
60621
60675
|
}
|
|
60622
|
-
}
|
|
60676
|
+
}
|
|
60677
|
+
]
|
|
60678
|
+
},
|
|
60679
|
+
{
|
|
60680
|
+
"name": "migrateTemplate",
|
|
60681
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60682
|
+
"ctype": "miscellaneous",
|
|
60683
|
+
"subtype": "function",
|
|
60684
|
+
"coverageIgnore": false,
|
|
60685
|
+
"deprecated": false,
|
|
60686
|
+
"deprecationMessage": "",
|
|
60687
|
+
"rawdescription": "",
|
|
60688
|
+
"description": "",
|
|
60689
|
+
"displayName": "migrateTemplate",
|
|
60690
|
+
"args": [
|
|
60623
60691
|
{
|
|
60624
60692
|
"name": "source",
|
|
60625
60693
|
"type": "string",
|
|
60626
60694
|
"deprecated": false,
|
|
60627
|
-
"deprecationMessage": ""
|
|
60628
|
-
|
|
60629
|
-
|
|
60630
|
-
|
|
60631
|
-
|
|
60632
|
-
{
|
|
60633
|
-
"name": "edits",
|
|
60634
|
-
"deprecated": false,
|
|
60635
|
-
"deprecationMessage": "",
|
|
60636
|
-
"tagName": {
|
|
60637
|
-
"text": "param"
|
|
60638
|
-
}
|
|
60639
|
-
},
|
|
60695
|
+
"deprecationMessage": ""
|
|
60696
|
+
}
|
|
60697
|
+
],
|
|
60698
|
+
"returnType": "string",
|
|
60699
|
+
"jsdoctags": [
|
|
60640
60700
|
{
|
|
60641
|
-
"name": "
|
|
60701
|
+
"name": "source",
|
|
60642
60702
|
"type": "string",
|
|
60643
60703
|
"deprecated": false,
|
|
60644
60704
|
"deprecationMessage": "",
|
|
@@ -60649,23 +60709,17 @@
|
|
|
60649
60709
|
]
|
|
60650
60710
|
},
|
|
60651
60711
|
{
|
|
60652
|
-
"name": "
|
|
60653
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60712
|
+
"name": "migrateTypeScript",
|
|
60713
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60654
60714
|
"ctype": "miscellaneous",
|
|
60655
60715
|
"subtype": "function",
|
|
60656
60716
|
"coverageIgnore": false,
|
|
60657
60717
|
"deprecated": false,
|
|
60658
60718
|
"deprecationMessage": "",
|
|
60659
|
-
"rawdescription": "
|
|
60660
|
-
"description": "
|
|
60661
|
-
"displayName": "
|
|
60719
|
+
"rawdescription": "",
|
|
60720
|
+
"description": "",
|
|
60721
|
+
"displayName": "migrateTypeScript",
|
|
60662
60722
|
"args": [
|
|
60663
|
-
{
|
|
60664
|
-
"name": "attr",
|
|
60665
|
-
"type": "TmplAstTextAttribute",
|
|
60666
|
-
"deprecated": false,
|
|
60667
|
-
"deprecationMessage": ""
|
|
60668
|
-
},
|
|
60669
60723
|
{
|
|
60670
60724
|
"name": "source",
|
|
60671
60725
|
"type": "string",
|
|
@@ -60673,23 +60727,14 @@
|
|
|
60673
60727
|
"deprecationMessage": ""
|
|
60674
60728
|
},
|
|
60675
60729
|
{
|
|
60676
|
-
"name": "
|
|
60730
|
+
"name": "filePath",
|
|
60677
60731
|
"type": "string",
|
|
60678
60732
|
"deprecated": false,
|
|
60679
60733
|
"deprecationMessage": ""
|
|
60680
60734
|
}
|
|
60681
60735
|
],
|
|
60682
|
-
"returnType": "
|
|
60736
|
+
"returnType": "string",
|
|
60683
60737
|
"jsdoctags": [
|
|
60684
|
-
{
|
|
60685
|
-
"name": "attr",
|
|
60686
|
-
"type": "TmplAstTextAttribute",
|
|
60687
|
-
"deprecated": false,
|
|
60688
|
-
"deprecationMessage": "",
|
|
60689
|
-
"tagName": {
|
|
60690
|
-
"text": "param"
|
|
60691
|
-
}
|
|
60692
|
-
},
|
|
60693
60738
|
{
|
|
60694
60739
|
"name": "source",
|
|
60695
60740
|
"type": "string",
|
|
@@ -60700,7 +60745,7 @@
|
|
|
60700
60745
|
}
|
|
60701
60746
|
},
|
|
60702
60747
|
{
|
|
60703
|
-
"name": "
|
|
60748
|
+
"name": "filePath",
|
|
60704
60749
|
"type": "string",
|
|
60705
60750
|
"deprecated": false,
|
|
60706
60751
|
"deprecationMessage": "",
|
|
@@ -60712,7 +60757,7 @@
|
|
|
60712
60757
|
},
|
|
60713
60758
|
{
|
|
60714
60759
|
"name": "unwrapExpression",
|
|
60715
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60760
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60716
60761
|
"ctype": "miscellaneous",
|
|
60717
60762
|
"subtype": "function",
|
|
60718
60763
|
"coverageIgnore": false,
|
|
@@ -60742,7 +60787,7 @@
|
|
|
60742
60787
|
},
|
|
60743
60788
|
{
|
|
60744
60789
|
"name": "visitDir",
|
|
60745
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60790
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60746
60791
|
"ctype": "miscellaneous",
|
|
60747
60792
|
"subtype": "function",
|
|
60748
60793
|
"coverageIgnore": false,
|
|
@@ -60787,7 +60832,7 @@
|
|
|
60787
60832
|
},
|
|
60788
60833
|
{
|
|
60789
60834
|
"name": "visitNodes",
|
|
60790
|
-
"file": "packages/core/schematics/migrate-ecl-
|
|
60835
|
+
"file": "packages/core/schematics/migrate-ecl-page-header/index.ts",
|
|
60791
60836
|
"ctype": "miscellaneous",
|
|
60792
60837
|
"subtype": "function",
|
|
60793
60838
|
"coverageIgnore": false,
|
|
@@ -60802,28 +60847,10 @@
|
|
|
60802
60847
|
"deprecated": false,
|
|
60803
60848
|
"deprecationMessage": ""
|
|
60804
60849
|
},
|
|
60805
|
-
{
|
|
60806
|
-
"name": "source",
|
|
60807
|
-
"type": "string",
|
|
60808
|
-
"deprecated": false,
|
|
60809
|
-
"deprecationMessage": ""
|
|
60810
|
-
},
|
|
60811
60850
|
{
|
|
60812
60851
|
"name": "edits",
|
|
60813
60852
|
"deprecated": false,
|
|
60814
60853
|
"deprecationMessage": ""
|
|
60815
|
-
},
|
|
60816
|
-
{
|
|
60817
|
-
"name": "filePath",
|
|
60818
|
-
"type": "string",
|
|
60819
|
-
"deprecated": false,
|
|
60820
|
-
"deprecationMessage": ""
|
|
60821
|
-
},
|
|
60822
|
-
{
|
|
60823
|
-
"name": "context",
|
|
60824
|
-
"type": "SchematicContext",
|
|
60825
|
-
"deprecated": false,
|
|
60826
|
-
"deprecationMessage": ""
|
|
60827
60854
|
}
|
|
60828
60855
|
],
|
|
60829
60856
|
"returnType": "void",
|
|
@@ -60836,15 +60863,6 @@
|
|
|
60836
60863
|
"text": "param"
|
|
60837
60864
|
}
|
|
60838
60865
|
},
|
|
60839
|
-
{
|
|
60840
|
-
"name": "source",
|
|
60841
|
-
"type": "string",
|
|
60842
|
-
"deprecated": false,
|
|
60843
|
-
"deprecationMessage": "",
|
|
60844
|
-
"tagName": {
|
|
60845
|
-
"text": "param"
|
|
60846
|
-
}
|
|
60847
|
-
},
|
|
60848
60866
|
{
|
|
60849
60867
|
"name": "edits",
|
|
60850
60868
|
"deprecated": false,
|
|
@@ -60852,24 +60870,6 @@
|
|
|
60852
60870
|
"tagName": {
|
|
60853
60871
|
"text": "param"
|
|
60854
60872
|
}
|
|
60855
|
-
},
|
|
60856
|
-
{
|
|
60857
|
-
"name": "filePath",
|
|
60858
|
-
"type": "string",
|
|
60859
|
-
"deprecated": false,
|
|
60860
|
-
"deprecationMessage": "",
|
|
60861
|
-
"tagName": {
|
|
60862
|
-
"text": "param"
|
|
60863
|
-
}
|
|
60864
|
-
},
|
|
60865
|
-
{
|
|
60866
|
-
"name": "context",
|
|
60867
|
-
"type": "SchematicContext",
|
|
60868
|
-
"deprecated": false,
|
|
60869
|
-
"deprecationMessage": "",
|
|
60870
|
-
"tagName": {
|
|
60871
|
-
"text": "param"
|
|
60872
|
-
}
|
|
60873
60873
|
}
|
|
60874
60874
|
]
|
|
60875
60875
|
}
|