@angular/compiler-cli 18.0.2 → 18.1.0-next.1
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/bundles/chunk-4HWDU6FJ.js +4610 -0
- package/bundles/chunk-4HWDU6FJ.js.map +6 -0
- package/bundles/{chunk-3W345P4E.js → chunk-54G5EVKM.js} +5 -2
- package/bundles/chunk-54G5EVKM.js.map +6 -0
- package/bundles/{chunk-LRVXZT7X.js → chunk-CK5W7X4H.js} +3 -3
- package/bundles/{chunk-HGUKV37D.js → chunk-CWU65S2B.js} +6478 -214
- package/bundles/chunk-CWU65S2B.js.map +6 -0
- package/bundles/{chunk-EDA6DBVV.js → chunk-MLEQATX2.js} +2 -2
- package/bundles/{chunk-RZ7P6VD7.js → chunk-YPERM5UE.js} +24 -6
- package/bundles/chunk-YPERM5UE.js.map +6 -0
- package/bundles/{chunk-46XI27YO.js → chunk-Z34L7JZH.js} +3 -3
- package/bundles/index.js +10 -11
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +3 -3
- package/bundles/linker/index.js +3 -3
- package/bundles/private/localize.js +1 -1
- package/bundles/private/migrations.js +5 -7
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +5 -6
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +5 -6
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/linker/babel/src/ast/babel_ast_factory.d.ts +0 -1
- package/linker/babel/src/ast/babel_ast_host.d.ts +0 -1
- package/linker/babel/src/babel_declaration_scope.d.ts +0 -1
- package/linker/babel/src/babel_plugin.d.ts +0 -1
- package/linker/babel/src/es2015_linker_plugin.d.ts +0 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/core/src/host.d.ts +10 -10
- package/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.d.ts +11 -0
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +8 -8
- package/src/ngtsc/reflection/src/host.d.ts +3 -1
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +7 -7
- package/src/ngtsc/typecheck/index.d.ts +1 -1
- package/src/ngtsc/typecheck/src/context.d.ts +1 -1
- package/bundles/chunk-3W345P4E.js.map +0 -6
- package/bundles/chunk-6X2NNIEJ.js +0 -64
- package/bundles/chunk-6X2NNIEJ.js.map +0 -6
- package/bundles/chunk-BOT54HZ5.js +0 -10806
- package/bundles/chunk-BOT54HZ5.js.map +0 -6
- package/bundles/chunk-HGUKV37D.js.map +0 -6
- package/bundles/chunk-RZ7P6VD7.js.map +0 -6
- /package/bundles/{chunk-LRVXZT7X.js.map → chunk-CK5W7X4H.js.map} +0 -0
- /package/bundles/{chunk-EDA6DBVV.js.map → chunk-MLEQATX2.js.map} +0 -0
- /package/bundles/{chunk-46XI27YO.js.map → chunk-Z34L7JZH.js.map} +0 -0
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
/// <reference types="@angular/compiler-cli/private/babel" />
|
|
9
8
|
import { types as t } from '@babel/core';
|
|
10
9
|
import { AstHost, Range } from '../../../../linker';
|
|
11
10
|
/**
|
|
@@ -5,7 +5,6 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
/// <reference types="@angular/compiler-cli/private/babel" />
|
|
9
8
|
import { PluginObj } from '@babel/core';
|
|
10
9
|
import { LinkerPluginOptions } from './linker_plugin_options';
|
|
11
10
|
/**
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { MaybeForwardRefExpression, outputAst as o, R3DeclareDependencyMetadata, R3DependencyMetadata, R3Reference } from '@angular/compiler';
|
|
9
9
|
import { AstObject, AstValue } from '../../ast/ast_value';
|
|
10
|
-
export declare const PLACEHOLDER_VERSION = "18.0.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "18.1.0-next.1";
|
|
11
11
|
export declare function wrapReference<TExpression>(wrapped: o.WrappedNodeExpr<TExpression>): R3Reference;
|
|
12
12
|
/**
|
|
13
13
|
* Parses the value of an enum from the AST value's symbol name.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@angular/compiler-cli",
|
|
3
|
-
"version": "18.0.
|
|
3
|
+
"version": "18.1.0-next.1",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -53,8 +53,8 @@
|
|
|
53
53
|
"yargs": "^17.2.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@angular/compiler": "18.0.
|
|
57
|
-
"typescript": ">=5.4 <5.
|
|
56
|
+
"@angular/compiler": "18.1.0-next.1",
|
|
57
|
+
"typescript": ">=5.4 <5.6"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
|
60
60
|
"type": "git",
|
|
@@ -25,29 +25,29 @@ export declare class DelegatingCompilerHost implements Omit<RequiredDelegations<
|
|
|
25
25
|
getCancellationToken: (() => ts.CancellationToken) | undefined;
|
|
26
26
|
getCanonicalFileName: (fileName: string) => string;
|
|
27
27
|
getCurrentDirectory: () => string;
|
|
28
|
-
getDefaultLibFileName: (options:
|
|
28
|
+
getDefaultLibFileName: (options: CompilerOptions) => string;
|
|
29
29
|
getDefaultLibLocation: (() => string) | undefined;
|
|
30
30
|
getDirectories: ((path: string) => string[]) | undefined;
|
|
31
31
|
getEnvironmentVariable: ((name: string) => string | undefined) | undefined;
|
|
32
32
|
getModifiedResourceFiles: (() => Set<string> | undefined) | undefined;
|
|
33
33
|
getNewLine: () => string;
|
|
34
34
|
getParsedCommandLine: ((fileName: string) => ts.ParsedCommandLine | undefined) | undefined;
|
|
35
|
-
getSourceFileByPath: ((fileName: string, path:
|
|
36
|
-
readDirectory: ((rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[], depth?: number
|
|
35
|
+
getSourceFileByPath: ((fileName: string, path: Path, languageVersionOrOptions: ScriptTarget | CreateSourceFileOptions, onError?: (message: string) => void, shouldCreateNewSourceFile?: boolean) => ts.SourceFile | undefined) | undefined;
|
|
36
|
+
readDirectory: ((rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[], depth?: number) => string[]) | undefined;
|
|
37
37
|
readFile: (fileName: string) => string | undefined;
|
|
38
38
|
readResource: ((fileName: string) => string | Promise<string>) | undefined;
|
|
39
|
-
transformResource: ((data: string, context:
|
|
39
|
+
transformResource: ((data: string, context: ResourceHostContext) => Promise<import("../api").TransformResourceResult | null>) | undefined;
|
|
40
40
|
realpath: ((path: string) => string) | undefined;
|
|
41
|
-
resolveModuleNames: ((moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference:
|
|
42
|
-
resolveTypeReferenceDirectives: ((typeReferenceDirectiveNames: string[] | readonly
|
|
43
|
-
resourceNameToFileName: ((resourceName: string, containingFilePath: string, fallbackResolve?: (
|
|
41
|
+
resolveModuleNames: ((moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile?: SourceFile) => (ts.ResolvedModule | undefined)[]) | undefined;
|
|
42
|
+
resolveTypeReferenceDirectives: ((typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: ResolutionMode) => (ts.ResolvedTypeReferenceDirective | undefined)[]) | undefined;
|
|
43
|
+
resourceNameToFileName: ((resourceName: string, containingFilePath: string, fallbackResolve?: (url: string, fromFile: string) => string | null) => string | null) | undefined;
|
|
44
44
|
trace: ((s: string) => void) | undefined;
|
|
45
45
|
useCaseSensitiveFileNames: () => boolean;
|
|
46
46
|
writeFile: ts.WriteFileCallback;
|
|
47
47
|
getModuleResolutionCache: (() => ts.ModuleResolutionCache | undefined) | undefined;
|
|
48
|
-
hasInvalidatedResolutions: ((filePath:
|
|
49
|
-
resolveModuleNameLiterals: ((moduleLiterals: readonly
|
|
50
|
-
resolveTypeReferenceDirectiveReferences: (<T extends string | ts.FileReference>(typeDirectiveReferences: readonly T[], containingFile: string, redirectedReference:
|
|
48
|
+
hasInvalidatedResolutions: ((filePath: Path) => boolean) | undefined;
|
|
49
|
+
resolveModuleNameLiterals: ((moduleLiterals: readonly StringLiteralLike[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile: SourceFile, reusedNames: readonly StringLiteralLike[] | undefined) => readonly ts.ResolvedModuleWithFailedLookupLocations[]) | undefined;
|
|
50
|
+
resolveTypeReferenceDirectiveReferences: (<T extends string | ts.FileReference>(typeDirectiveReferences: readonly T[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile: SourceFile | undefined, reusedNames: readonly T[] | undefined) => readonly ts.ResolvedTypeReferenceDirectiveWithFailedLookupLocations[]) | undefined;
|
|
51
51
|
get jsDocParsingMode(): ts.JSDocParsingMode | undefined;
|
|
52
52
|
set jsDocParsingMode(mode: ts.JSDocParsingMode | undefined);
|
|
53
53
|
constructor(delegate: ExtendedTsCompilerHost);
|
|
@@ -32,7 +32,18 @@ export declare class LocalCompilationExtraImportsTracker {
|
|
|
32
32
|
private readonly typeChecker;
|
|
33
33
|
private readonly localImportsMap;
|
|
34
34
|
private readonly globalImportsSet;
|
|
35
|
+
/** Names of the files marked for extra import generation. */
|
|
36
|
+
private readonly markedFilesSet;
|
|
35
37
|
constructor(typeChecker: ts.TypeChecker);
|
|
38
|
+
/**
|
|
39
|
+
* Marks the source file for extra imports generation.
|
|
40
|
+
*
|
|
41
|
+
* The extra imports are generated only for the files marked through this method. In other words,
|
|
42
|
+
* the method {@link getImportsForFile} returns empty if the file is not marked. This allows the
|
|
43
|
+
* consumers of this tool to avoid generating extra imports for unrelated files (e.g., non-Angular
|
|
44
|
+
* files)
|
|
45
|
+
*/
|
|
46
|
+
markFileForExtraImportGeneration(sf: ts.SourceFile): void;
|
|
36
47
|
/**
|
|
37
48
|
* Adds an extra import to be added to the generated file of a specific source file.
|
|
38
49
|
*/
|
|
@@ -23,24 +23,24 @@ export declare class DelegatingCompilerHost implements Omit<RequiredDelegations<
|
|
|
23
23
|
getCancellationToken: (() => ts.CancellationToken) | undefined;
|
|
24
24
|
getCanonicalFileName: (fileName: string) => string;
|
|
25
25
|
getCurrentDirectory: () => string;
|
|
26
|
-
getDefaultLibFileName: (options:
|
|
26
|
+
getDefaultLibFileName: (options: CompilerOptions) => string;
|
|
27
27
|
getDefaultLibLocation: (() => string) | undefined;
|
|
28
28
|
getDirectories: ((path: string) => string[]) | undefined;
|
|
29
29
|
getEnvironmentVariable: ((name: string) => string | undefined) | undefined;
|
|
30
30
|
getNewLine: () => string;
|
|
31
31
|
getParsedCommandLine: ((fileName: string) => ts.ParsedCommandLine | undefined) | undefined;
|
|
32
|
-
getSourceFileByPath: ((fileName: string, path:
|
|
33
|
-
readDirectory: ((rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[], depth?: number
|
|
32
|
+
getSourceFileByPath: ((fileName: string, path: Path, languageVersionOrOptions: ScriptTarget | CreateSourceFileOptions, onError?: (message: string) => void, shouldCreateNewSourceFile?: boolean) => ts.SourceFile | undefined) | undefined;
|
|
33
|
+
readDirectory: ((rootDir: string, extensions: readonly string[], excludes: readonly string[] | undefined, includes: readonly string[], depth?: number) => string[]) | undefined;
|
|
34
34
|
readFile: (fileName: string) => string | undefined;
|
|
35
35
|
realpath: ((path: string) => string) | undefined;
|
|
36
|
-
resolveModuleNames: ((moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference:
|
|
37
|
-
resolveTypeReferenceDirectives: ((typeReferenceDirectiveNames: string[] | readonly
|
|
36
|
+
resolveModuleNames: ((moduleNames: string[], containingFile: string, reusedNames: string[] | undefined, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile?: SourceFile) => (ts.ResolvedModule | undefined)[]) | undefined;
|
|
37
|
+
resolveTypeReferenceDirectives: ((typeReferenceDirectiveNames: string[] | readonly FileReference[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingFileMode?: ResolutionMode) => (ts.ResolvedTypeReferenceDirective | undefined)[]) | undefined;
|
|
38
38
|
trace: ((s: string) => void) | undefined;
|
|
39
39
|
useCaseSensitiveFileNames: () => boolean;
|
|
40
40
|
getModuleResolutionCache: (() => ts.ModuleResolutionCache | undefined) | undefined;
|
|
41
|
-
hasInvalidatedResolutions: ((filePath:
|
|
42
|
-
resolveModuleNameLiterals: ((moduleLiterals: readonly
|
|
43
|
-
resolveTypeReferenceDirectiveReferences: (<T extends string | ts.FileReference>(typeDirectiveReferences: readonly T[], containingFile: string, redirectedReference:
|
|
41
|
+
hasInvalidatedResolutions: ((filePath: Path) => boolean) | undefined;
|
|
42
|
+
resolveModuleNameLiterals: ((moduleLiterals: readonly StringLiteralLike[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile: SourceFile, reusedNames: readonly StringLiteralLike[] | undefined) => readonly ts.ResolvedModuleWithFailedLookupLocations[]) | undefined;
|
|
43
|
+
resolveTypeReferenceDirectiveReferences: (<T extends string | ts.FileReference>(typeDirectiveReferences: readonly T[], containingFile: string, redirectedReference: ResolvedProjectReference | undefined, options: CompilerOptions, containingSourceFile: SourceFile | undefined, reusedNames: readonly T[] | undefined) => readonly ts.ResolvedTypeReferenceDirectiveWithFailedLookupLocations[]) | undefined;
|
|
44
44
|
get jsDocParsingMode(): ts.JSDocParsingMode | undefined;
|
|
45
45
|
set jsDocParsingMode(mode: ts.JSDocParsingMode | undefined);
|
|
46
46
|
constructor(delegate: ts.CompilerHost);
|
|
@@ -421,7 +421,9 @@ export type AmbientImport = {
|
|
|
421
421
|
__brand: 'AmbientImport';
|
|
422
422
|
};
|
|
423
423
|
/** Indicates that a declaration is referenced through an ambient type. */
|
|
424
|
-
export declare const AmbientImport:
|
|
424
|
+
export declare const AmbientImport: {
|
|
425
|
+
__brand: "AmbientImport";
|
|
426
|
+
};
|
|
425
427
|
/**
|
|
426
428
|
* The declaration of a symbol, along with information about how it was imported into the
|
|
427
429
|
* application.
|
|
@@ -15,14 +15,14 @@ export declare class TypeScriptAstFactory implements AstFactory<ts.Statement, ts
|
|
|
15
15
|
private externalSourceFiles;
|
|
16
16
|
constructor(annotateForClosureCompiler: boolean);
|
|
17
17
|
attachComments: typeof attachComments;
|
|
18
|
-
createArrayLiteral: (elements?: readonly
|
|
18
|
+
createArrayLiteral: (elements?: readonly Expression[], multiLine?: boolean) => ts.ArrayLiteralExpression;
|
|
19
19
|
createAssignment(target: ts.Expression, value: ts.Expression): ts.Expression;
|
|
20
20
|
createBinaryExpression(leftOperand: ts.Expression, operator: BinaryOperator, rightOperand: ts.Expression): ts.Expression;
|
|
21
21
|
createBlock(body: ts.Statement[]): ts.Statement;
|
|
22
22
|
createCallExpression(callee: ts.Expression, args: ts.Expression[], pure: boolean): ts.Expression;
|
|
23
23
|
createConditional(condition: ts.Expression, whenTrue: ts.Expression, whenFalse: ts.Expression): ts.Expression;
|
|
24
|
-
createElementAccess: (expression:
|
|
25
|
-
createExpressionStatement: (expression:
|
|
24
|
+
createElementAccess: (expression: Expression, index: number | Expression) => ts.ElementAccessExpression;
|
|
25
|
+
createExpressionStatement: (expression: Expression) => ts.ExpressionStatement;
|
|
26
26
|
createDynamicImport(url: string): ts.CallExpression;
|
|
27
27
|
createFunctionDeclaration(functionName: string, parameters: string[], body: ts.Statement): ts.Statement;
|
|
28
28
|
createFunctionExpression(functionName: string | null, parameters: string[], body: ts.Statement): ts.Expression;
|
|
@@ -32,12 +32,12 @@ export declare class TypeScriptAstFactory implements AstFactory<ts.Statement, ts
|
|
|
32
32
|
createLiteral(value: string | number | boolean | null | undefined): ts.Expression;
|
|
33
33
|
createNewExpression(expression: ts.Expression, args: ts.Expression[]): ts.Expression;
|
|
34
34
|
createObjectLiteral(properties: ObjectLiteralProperty<ts.Expression>[]): ts.Expression;
|
|
35
|
-
createParenthesizedExpression: (expression:
|
|
36
|
-
createPropertyAccess: (expression:
|
|
35
|
+
createParenthesizedExpression: (expression: Expression) => ts.ParenthesizedExpression;
|
|
36
|
+
createPropertyAccess: (expression: Expression, name: string | MemberName) => ts.PropertyAccessExpression;
|
|
37
37
|
createReturnStatement(expression: ts.Expression | null): ts.Statement;
|
|
38
38
|
createTaggedTemplate(tag: ts.Expression, template: TemplateLiteral<ts.Expression>): ts.Expression;
|
|
39
|
-
createThrowStatement: (expression:
|
|
40
|
-
createTypeOfExpression: (expression:
|
|
39
|
+
createThrowStatement: (expression: Expression) => ts.ThrowStatement;
|
|
40
|
+
createTypeOfExpression: (expression: Expression) => ts.TypeOfExpression;
|
|
41
41
|
createUnaryExpression(operator: UnaryOperator, operand: ts.Expression): ts.Expression;
|
|
42
42
|
createVariableDeclaration(variableName: string, initializer: ts.Expression | null, type: VariableDeclarationType): ts.Statement;
|
|
43
43
|
setSourceMapRange<T extends ts.Node>(node: T, sourceMapRange: SourceMapRange | null): T;
|
|
@@ -6,6 +6,6 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
export { FileTypeCheckingData, TemplateTypeCheckerImpl } from './src/checker';
|
|
9
|
-
export { TypeCheckContextImpl } from './src/context';
|
|
9
|
+
export { TypeCheckContextImpl, getTemplateDiagnostics } from './src/context';
|
|
10
10
|
export { TypeCheckShimGenerator } from './src/shim';
|
|
11
11
|
export { typeCheckFilePath } from './src/type_check_file';
|
|
@@ -183,5 +183,5 @@ export declare class TypeCheckContextImpl implements TypeCheckContext {
|
|
|
183
183
|
private addInlineTypeCheckBlock;
|
|
184
184
|
private pendingShimForComponent;
|
|
185
185
|
private dataForFile;
|
|
186
|
-
private getTemplateDiagnostics;
|
|
187
186
|
}
|
|
187
|
+
export declare function getTemplateDiagnostics(parseErrors: ParseError[], templateId: TemplateId, sourceMapping: TemplateSourceMapping): TemplateDiagnostic[];
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../packages/compiler-cli/src/ngtsc/file_system/src/util.ts", "../../../../../../packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.ts", "../../../../../../packages/compiler-cli/src/ngtsc/file_system/src/helpers.ts", "../../../../../../packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.ts", "../../../../../../packages/compiler-cli/src/ngtsc/file_system/src/logical.ts", "../../../../../../packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;AAUA,IAAM,sBAAsB;AAKtB,SAAU,oBAAoB,MAAY;AAE9C,SAAO,KAAK,QAAQ,OAAO,GAAG;AAChC;AAKM,SAAU,eAAqC,MAAO;AAC1D,SAAO,KAAK,QAAQ,qBAAqB,EAAE;AAC7C;AAEM,SAAU,qBAAqB,SAAqB,UAAwB;AAChF,QAAM,KAAK,QAAQ,cAAc,QAAQ;AACzC,MAAI,OAAO,QAAW;AACpB,UAAM,IAAI,MACR,6BAA6B,mCAAmC,QAC7D,eAAc,EACd,IAAI,CAACA,QAAOA,IAAG,QAAQ,EACvB,KAAK,IAAI,GAAG;EAEnB;AACA,SAAO;AACT;;;ACrBM,IAAO,oBAAP,MAAwB;EAC5B,OAAO,MAAoB;AACzB,UAAM,UAAS;EACjB;EACA,SAAS,MAAoB;AAC3B,UAAM,UAAS;EACjB;EACA,eAAe,MAAoB;AACjC,UAAM,UAAS;EACjB;EACA,UAAU,MAAsB,MAA2B,WAAmB;AAC5E,UAAM,UAAS;EACjB;EACA,WAAW,MAAoB;AAC7B,UAAM,UAAS;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
|
-
"names": ["sf", "fs", "fs", "fs"]
|
|
6
|
-
}
|
|
@@ -1,64 +0,0 @@
|
|
|
1
|
-
|
|
2
|
-
import {createRequire as __cjsCompatRequire} from 'module';
|
|
3
|
-
const require = __cjsCompatRequire(import.meta.url);
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
7
|
-
var OptimizeFor;
|
|
8
|
-
(function(OptimizeFor2) {
|
|
9
|
-
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
10
|
-
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
11
|
-
})(OptimizeFor || (OptimizeFor = {}));
|
|
12
|
-
|
|
13
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
14
|
-
var PotentialImportKind;
|
|
15
|
-
(function(PotentialImportKind2) {
|
|
16
|
-
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
17
|
-
PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
|
|
18
|
-
})(PotentialImportKind || (PotentialImportKind = {}));
|
|
19
|
-
var PotentialImportMode;
|
|
20
|
-
(function(PotentialImportMode2) {
|
|
21
|
-
PotentialImportMode2[PotentialImportMode2["Normal"] = 0] = "Normal";
|
|
22
|
-
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
23
|
-
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24
|
-
|
|
25
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
26
|
-
var CompletionKind;
|
|
27
|
-
(function(CompletionKind2) {
|
|
28
|
-
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
29
|
-
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
30
|
-
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
31
|
-
})(CompletionKind || (CompletionKind = {}));
|
|
32
|
-
|
|
33
|
-
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
34
|
-
var SymbolKind;
|
|
35
|
-
(function(SymbolKind2) {
|
|
36
|
-
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
37
|
-
SymbolKind2[SymbolKind2["Output"] = 1] = "Output";
|
|
38
|
-
SymbolKind2[SymbolKind2["Binding"] = 2] = "Binding";
|
|
39
|
-
SymbolKind2[SymbolKind2["Reference"] = 3] = "Reference";
|
|
40
|
-
SymbolKind2[SymbolKind2["Variable"] = 4] = "Variable";
|
|
41
|
-
SymbolKind2[SymbolKind2["Directive"] = 5] = "Directive";
|
|
42
|
-
SymbolKind2[SymbolKind2["Element"] = 6] = "Element";
|
|
43
|
-
SymbolKind2[SymbolKind2["Template"] = 7] = "Template";
|
|
44
|
-
SymbolKind2[SymbolKind2["Expression"] = 8] = "Expression";
|
|
45
|
-
SymbolKind2[SymbolKind2["DomBinding"] = 9] = "DomBinding";
|
|
46
|
-
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
47
|
-
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
48
|
-
})(SymbolKind || (SymbolKind = {}));
|
|
49
|
-
|
|
50
|
-
export {
|
|
51
|
-
OptimizeFor,
|
|
52
|
-
CompletionKind,
|
|
53
|
-
PotentialImportKind,
|
|
54
|
-
PotentialImportMode,
|
|
55
|
-
SymbolKind
|
|
56
|
-
};
|
|
57
|
-
/**
|
|
58
|
-
* @license
|
|
59
|
-
* Copyright Google LLC All Rights Reserved.
|
|
60
|
-
*
|
|
61
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
62
|
-
* found in the LICENSE file at https://angular.io/license
|
|
63
|
-
*/
|
|
64
|
-
//# sourceMappingURL=chunk-6X2NNIEJ.js.map
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../packages/compiler-cli/src/ngtsc/typecheck/api/checker.ts", "../../../../../../packages/compiler-cli/src/ngtsc/typecheck/api/scope.ts", "../../../../../../packages/compiler-cli/src/ngtsc/typecheck/api/completion.ts", "../../../../../../packages/compiler-cli/src/ngtsc/typecheck/api/symbols.ts"],
|
|
4
|
-
"mappings": ";;;;;;AAmQA,IAAY;CAAZ,SAAYA,cAAW;AAQrB,EAAAA,aAAAA,aAAA,gBAAA,KAAA;AAUA,EAAAA,aAAAA,aAAA,kBAAA,KAAA;AACF,GAnBY,gBAAA,cAAW,CAAA,EAAA;;;ACtOvB,IAAY;CAAZ,SAAYC,sBAAmB;AAC7B,EAAAA,qBAAAA,qBAAA,cAAA,KAAA;AACA,EAAAA,qBAAAA,qBAAA,gBAAA,KAAA;AACF,GAHY,wBAAA,sBAAmB,CAAA,EAAA;AAmE/B,IAAY;CAAZ,SAAYC,sBAAmB;AAE7B,EAAAA,qBAAAA,qBAAA,YAAA,KAAA;AAOA,EAAAA,qBAAAA,qBAAA,iBAAA,KAAA;AACF,GAVY,wBAAA,sBAAmB,CAAA,EAAA;;;AC3E/B,IAAY;CAAZ,SAAYC,iBAAc;AACxB,EAAAA,gBAAAA,gBAAA,eAAA,KAAA;AACA,EAAAA,gBAAAA,gBAAA,cAAA,KAAA;AACA,EAAAA,gBAAAA,gBAAA,oBAAA,KAAA;AACF,GAJY,mBAAA,iBAAc,CAAA,EAAA;;;ACC1B,IAAY;CAAZ,SAAYC,aAAU;AACpB,EAAAA,YAAAA,YAAA,WAAA,KAAA;AACA,EAAAA,YAAAA,YAAA,YAAA,KAAA;AACA,EAAAA,YAAAA,YAAA,aAAA,KAAA;AACA,EAAAA,YAAAA,YAAA,eAAA,KAAA;AACA,EAAAA,YAAAA,YAAA,cAAA,KAAA;AACA,EAAAA,YAAAA,YAAA,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