@angular/compiler-cli 17.1.0-next.2 → 17.1.0-next.4
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-QWNQBN2Z.js → chunk-5QWOGIJL.js} +2 -2
- package/bundles/{chunk-RLZPCAR3.js → chunk-EFMKZSXJ.js} +34 -7
- package/bundles/chunk-EFMKZSXJ.js.map +6 -0
- package/bundles/{chunk-OYL5JDZA.js → chunk-HQUXRCDO.js} +138 -65
- package/bundles/chunk-HQUXRCDO.js.map +6 -0
- package/bundles/{chunk-6GUXR7F5.js → chunk-MFE4YVWE.js} +6 -5
- package/bundles/chunk-MFE4YVWE.js.map +6 -0
- package/bundles/{chunk-54K5L6NG.js → chunk-OZXTEOXW.js} +7 -5
- package/bundles/chunk-OZXTEOXW.js.map +6 -0
- package/bundles/{chunk-VOXK3NAL.js → chunk-U4EFDEE4.js} +216 -92
- package/bundles/chunk-U4EFDEE4.js.map +6 -0
- package/bundles/{chunk-TNVYLY25.js → chunk-YGXKICXB.js} +2 -2
- package/bundles/index.js +6 -7
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +8 -8
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +3 -3
- package/bundles/private/migrations.js +3 -4
- package/bundles/private/tooling.js +2 -3
- 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 +2 -5
- 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 +2 -2
- package/private/babel.d.ts +6 -20
- package/src/ngtsc/annotations/directive/src/input_function.d.ts +23 -0
- package/src/ngtsc/annotations/directive/src/shared.d.ts +15 -3
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
- package/src/ngtsc/imports/src/emitter.d.ts +5 -1
- package/src/ngtsc/imports/src/references.d.ts +3 -1
- package/src/ngtsc/metadata/src/api.d.ts +25 -3
- package/src/ngtsc/metadata/src/property_mapping.d.ts +3 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +2 -1
- package/src/ngtsc/reflection/src/host.d.ts +6 -1
- package/src/ngtsc/reflection/src/typescript.d.ts +1 -0
- package/src/ngtsc/typecheck/api/api.d.ts +4 -0
- package/src/ngtsc/typecheck/extended/index.d.ts +1 -0
- package/src/ngtsc/typecheck/src/environment.d.ts +2 -27
- package/src/ngtsc/typecheck/src/oob.d.ts +3 -2
- package/src/ngtsc/typecheck/src/reference_emit_environment.d.ts +50 -0
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +7 -8
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +2 -1
- package/src/ngtsc/typecheck/src/type_constructor.d.ts +3 -3
- package/bundles/chunk-54K5L6NG.js.map +0 -6
- package/bundles/chunk-6GUXR7F5.js.map +0 -6
- package/bundles/chunk-OYL5JDZA.js.map +0 -6
- package/bundles/chunk-RLZPCAR3.js.map +0 -6
- package/bundles/chunk-UHYH6BYB.js +0 -12
- package/bundles/chunk-UHYH6BYB.js.map +0 -6
- package/bundles/chunk-VOXK3NAL.js.map +0 -6
- /package/bundles/{chunk-QWNQBN2Z.js.map → chunk-5QWOGIJL.js.map} +0 -0
- /package/bundles/{chunk-TNVYLY25.js.map → chunk-YGXKICXB.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="@types/babel__core" />
|
|
9
8
|
/// <reference types="@angular/compiler-cli/private/babel" />
|
|
10
9
|
import { types as t } from '@babel/core';
|
|
11
10
|
import { AstHost, Range } from '../../../../linker';
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
/// <reference types="@types/babel__traverse" />
|
|
2
1
|
/// <reference types="@angular/compiler-cli/private/babel" />
|
|
3
|
-
/// <reference types="@types/babel__core" />
|
|
4
2
|
/**
|
|
5
3
|
* @license
|
|
6
4
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -8,8 +6,7 @@
|
|
|
8
6
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9
7
|
* found in the LICENSE file at https://angular.io/license
|
|
10
8
|
*/
|
|
11
|
-
import { types as t } from '@babel/core';
|
|
12
|
-
import { NodePath, Scope } from '@babel/traverse';
|
|
9
|
+
import { NodePath, types as t } from '@babel/core';
|
|
13
10
|
import { DeclarationScope } from '../../../linker';
|
|
14
11
|
export type ConstantScopePath = NodePath<t.FunctionDeclaration> | NodePath<t.FunctionExpression> | NodePath<t.Program>;
|
|
15
12
|
/**
|
|
@@ -25,7 +22,7 @@ export declare class BabelDeclarationScope implements DeclarationScope<ConstantS
|
|
|
25
22
|
*
|
|
26
23
|
* @param declarationScope the Babel scope containing the declaration call expression.
|
|
27
24
|
*/
|
|
28
|
-
constructor(declarationScope:
|
|
25
|
+
constructor(declarationScope: NodePath['scope']);
|
|
29
26
|
/**
|
|
30
27
|
* Compute the Babel `NodePath` that can be used to reference the lexical scope where any
|
|
31
28
|
* shared constant statements would be inserted.
|
|
@@ -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="@types/babel__core" />
|
|
9
8
|
/// <reference types="@angular/compiler-cli/private/babel" />
|
|
10
9
|
import { PluginObj } from '@babel/core';
|
|
11
10
|
import { LinkerPluginOptions } from './linker_plugin_options';
|
|
@@ -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 = "17.1.0-next.
|
|
10
|
+
export declare const PLACEHOLDER_VERSION = "17.1.0-next.4";
|
|
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": "17.1.0-next.
|
|
3
|
+
"version": "17.1.0-next.4",
|
|
4
4
|
"description": "Angular - the compiler CLI for Node.js",
|
|
5
5
|
"typings": "index.d.ts",
|
|
6
6
|
"bin": {
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"yargs": "^17.2.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
|
-
"@angular/compiler": "17.1.0-next.
|
|
56
|
+
"@angular/compiler": "17.1.0-next.4",
|
|
57
57
|
"typescript": ">=5.2 <5.4"
|
|
58
58
|
},
|
|
59
59
|
"repository": {
|
package/private/babel.d.ts
CHANGED
|
@@ -5,23 +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
|
-
import { BabelFile, types as t } from '@babel/core';
|
|
9
|
-
|
|
10
|
-
/**
|
|
11
|
-
* Augment some Babel types to add symbols that we rely on, but are not included in the Babel typings.
|
|
12
|
-
*/
|
|
13
|
-
|
|
14
|
-
declare module '@babel/traverse' {
|
|
15
|
-
interface Hub {
|
|
16
|
-
file: BabelFile;
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
|
|
20
|
-
declare module '@babel/core' {
|
|
21
|
-
interface BabelFile {
|
|
22
|
-
buildCodeFrameError(node: t.Node, message: string): Error;
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
8
|
|
|
26
9
|
// The following modules are declared to work around a limitation in tsc_wrapped's `strict_deps`
|
|
27
10
|
// check. Since Babel uses scoped packages, the corresponding lookup for declaration files in the
|
|
@@ -37,6 +20,9 @@ declare module '@babel/core' {
|
|
|
37
20
|
// that is not governed by Bazel, and therefore not expected by the `strict_deps` rule.
|
|
38
21
|
// Declaring the modules here allows `strict_deps` to always find a declaration of the modules
|
|
39
22
|
// in an input file to the compilation, therefore accepting the module import.
|
|
40
|
-
declare module '@babel/
|
|
41
|
-
|
|
42
|
-
|
|
23
|
+
declare module '@babel/core' {
|
|
24
|
+
export * from '@types/babel__core';
|
|
25
|
+
}
|
|
26
|
+
declare module '@babel/generator' {
|
|
27
|
+
export { default } from '@types/babel__generator';
|
|
28
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
import ts from 'typescript';
|
|
9
|
+
import { ClassMember, ReflectionHost } from '../../../reflection';
|
|
10
|
+
/** Metadata describing an input declared via the `input` function. */
|
|
11
|
+
export interface InputMemberMetadata {
|
|
12
|
+
/** Node referring to the call expression. */
|
|
13
|
+
inputCall: ts.CallExpression;
|
|
14
|
+
/** Node referring to the options expression, if specified. */
|
|
15
|
+
optionsNode: ts.Expression | undefined;
|
|
16
|
+
/** Whether the input is required or not. i.e. `input.required` was used. */
|
|
17
|
+
isRequired: boolean;
|
|
18
|
+
}
|
|
19
|
+
/**
|
|
20
|
+
* Attempts to identify and parse an Angular input that is declared
|
|
21
|
+
* as a class member using the `input`/`input.required` functions.
|
|
22
|
+
*/
|
|
23
|
+
export declare function tryParseInputInitializerAndOptions(member: ClassMember, reflector: ReflectionHost, coreModule: string | undefined): InputMemberMetadata | null;
|
|
@@ -7,9 +7,9 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { ParsedHostBindings, R3DirectiveMetadata, R3QueryMetadata } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
10
|
-
import { ReferenceEmitter } from '../../../imports';
|
|
11
|
-
import { ClassPropertyMapping, HostDirectiveMeta, InputMapping } from '../../../metadata';
|
|
12
|
-
import { PartialEvaluator } from '../../../partial_evaluator';
|
|
10
|
+
import { Reference, ReferenceEmitter } from '../../../imports';
|
|
11
|
+
import { ClassPropertyMapping, DecoratorInputTransform, HostDirectiveMeta, InputMapping } from '../../../metadata';
|
|
12
|
+
import { DynamicValue, PartialEvaluator } from '../../../partial_evaluator';
|
|
13
13
|
import { ClassDeclaration, ClassMember, Decorator, ReflectionHost } from '../../../reflection';
|
|
14
14
|
import { CompilationMode } from '../../../transform';
|
|
15
15
|
import { ReferencesRegistry } from '../../common';
|
|
@@ -32,3 +32,15 @@ export declare function extractQueryMetadata(exprNode: ts.Node, name: string, ar
|
|
|
32
32
|
export declare function extractHostBindings(members: ClassMember[], evaluator: PartialEvaluator, coreModule: string | undefined, metadata?: Map<string, ts.Expression>): ParsedHostBindings;
|
|
33
33
|
export declare function parseDirectiveStyles(directive: Map<string, ts.Expression>, evaluator: PartialEvaluator, compilationMode: CompilationMode): null | string[];
|
|
34
34
|
export declare function parseFieldStringArrayValue(directive: Map<string, ts.Expression>, field: string, evaluator: PartialEvaluator): null | string[];
|
|
35
|
+
/**
|
|
36
|
+
* Parses the `transform` function and its type for a decorator `@Input`.
|
|
37
|
+
*
|
|
38
|
+
* This logic verifies feasibility of extracting the transform write type
|
|
39
|
+
* into a different place, so that the input write type can be captured at
|
|
40
|
+
* a later point in a static acceptance member.
|
|
41
|
+
*
|
|
42
|
+
* Note: This is not needed for signal inputs where the transform type is
|
|
43
|
+
* automatically captured in the type of the `InputSignal`.
|
|
44
|
+
*
|
|
45
|
+
*/
|
|
46
|
+
export declare function parseDecoratorInputTransformFunction(clazz: ClassDeclaration, classPropertyName: string, value: DynamicValue | Reference, reflector: ReflectionHost, refEmitter: ReferenceEmitter): DecoratorInputTransform;
|
|
@@ -23,5 +23,6 @@ export declare enum ExtendedTemplateDiagnosticName {
|
|
|
23
23
|
MISSING_NGFOROF_LET = "missingNgForOfLet",
|
|
24
24
|
SUFFIX_NOT_SUPPORTED = "suffixNotSupported",
|
|
25
25
|
SKIP_HYDRATION_NOT_STATIC = "skipHydrationNotStatic",
|
|
26
|
-
INTERPOLATED_SIGNAL_NOT_INVOKED = "interpolatedSignalNotInvoked"
|
|
26
|
+
INTERPOLATED_SIGNAL_NOT_INVOKED = "interpolatedSignalNotInvoked",
|
|
27
|
+
CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION = "controlFlowPreventingContentProjection"
|
|
27
28
|
}
|
|
@@ -51,7 +51,11 @@ export declare enum ImportFlags {
|
|
|
51
51
|
* paths may not be possible for those, hence this flag only applies when importing from a
|
|
52
52
|
* declaration file.
|
|
53
53
|
*/
|
|
54
|
-
AllowRelativeDtsImports = 8
|
|
54
|
+
AllowRelativeDtsImports = 8,
|
|
55
|
+
/**
|
|
56
|
+
* Indicates that references coming from ambient imports are allowed.
|
|
57
|
+
*/
|
|
58
|
+
AllowAmbientReferences = 16
|
|
55
59
|
}
|
|
56
60
|
/**
|
|
57
61
|
* An emitter strategy has the ability to indicate which `ts.SourceFile` is being imported by the
|
|
@@ -7,6 +7,7 @@
|
|
|
7
7
|
*/
|
|
8
8
|
import { Expression } from '@angular/compiler';
|
|
9
9
|
import ts from 'typescript';
|
|
10
|
+
import { AmbientImport } from '../../reflection';
|
|
10
11
|
export interface OwningModule {
|
|
11
12
|
specifier: string;
|
|
12
13
|
resolutionContext: string;
|
|
@@ -46,7 +47,8 @@ export declare class Reference<T extends ts.Node = ts.Node> {
|
|
|
46
47
|
*/
|
|
47
48
|
synthetic: boolean;
|
|
48
49
|
private _alias;
|
|
49
|
-
|
|
50
|
+
readonly isAmbient: boolean;
|
|
51
|
+
constructor(node: T, bestGuessOwningModule?: OwningModule | AmbientImport | null);
|
|
50
52
|
/**
|
|
51
53
|
* The best guess at which module specifier owns this particular reference, or `null` if there
|
|
52
54
|
* isn't one.
|
|
@@ -114,11 +114,33 @@ export declare enum MatchSource {
|
|
|
114
114
|
/** Metadata for a single input mapping. */
|
|
115
115
|
export type InputMapping = InputOrOutput & {
|
|
116
116
|
required: boolean;
|
|
117
|
-
|
|
117
|
+
/**
|
|
118
|
+
* Transform for the input. Null if no transform is configured.
|
|
119
|
+
*
|
|
120
|
+
* For signal-based inputs, this is always `null` even if a transform
|
|
121
|
+
* is configured. Signal inputs capture their transform write type
|
|
122
|
+
* automatically in the `InputSignal`, nor is there a need to emit a
|
|
123
|
+
* reference to the transform.
|
|
124
|
+
*
|
|
125
|
+
* For zone-based decorator `@Input`s this is different because the transform
|
|
126
|
+
* write type needs to be captured in a coercion member as the decorator information
|
|
127
|
+
* is lost in the `.d.ts` for type-checking.
|
|
128
|
+
*/
|
|
129
|
+
transform: DecoratorInputTransform | null;
|
|
118
130
|
};
|
|
119
|
-
/** Metadata for an
|
|
120
|
-
export interface
|
|
131
|
+
/** Metadata for an `@Input()` transform function. */
|
|
132
|
+
export interface DecoratorInputTransform {
|
|
133
|
+
/**
|
|
134
|
+
* Reference to the transform function so that it can be
|
|
135
|
+
* referenced when the input metadata is emitted in the declaration.
|
|
136
|
+
*/
|
|
121
137
|
node: ts.Node;
|
|
138
|
+
/**
|
|
139
|
+
* Emittable type for the input transform. Null for signal inputs
|
|
140
|
+
*
|
|
141
|
+
* This type will be used for inputs to capture the transform type
|
|
142
|
+
* for type-checking in corresponding `ngAcceptInputType_` members.
|
|
143
|
+
*/
|
|
122
144
|
type: Reference<ts.TypeNode>;
|
|
123
145
|
}
|
|
124
146
|
/**
|
|
@@ -32,6 +32,8 @@ export interface InputOrOutput {
|
|
|
32
32
|
* The property name used to bind this input or output in an Angular template.
|
|
33
33
|
*/
|
|
34
34
|
readonly bindingPropertyName: BindingPropertyName;
|
|
35
|
+
/** Whether the input or output is signal based. */
|
|
36
|
+
readonly isSignal: boolean;
|
|
35
37
|
}
|
|
36
38
|
/**
|
|
37
39
|
* A mapping of component property and template binding property names, for example containing the
|
|
@@ -64,7 +66,7 @@ export declare class ClassPropertyMapping<T extends InputOrOutput = InputOrOutpu
|
|
|
64
66
|
* metadata formats (e.g. in .d.ts files).
|
|
65
67
|
*/
|
|
66
68
|
static fromMappedObject<T extends InputOrOutput>(obj: {
|
|
67
|
-
[classPropertyName: string]: BindingPropertyName |
|
|
69
|
+
[classPropertyName: string]: BindingPropertyName | T;
|
|
68
70
|
}): ClassPropertyMapping<T>;
|
|
69
71
|
/**
|
|
70
72
|
* Merge two mappings into one, with class properties from `b` taking precedence over class
|
|
@@ -41,7 +41,8 @@ export declare class DelegatingCompilerHost implements Omit<RequiredDelegations<
|
|
|
41
41
|
hasInvalidatedResolutions: ((filePath: ts.Path) => boolean) | undefined;
|
|
42
42
|
resolveModuleNameLiterals: ((moduleLiterals: readonly ts.StringLiteralLike[], containingFile: string, redirectedReference: ts.ResolvedProjectReference | undefined, options: ts.CompilerOptions, containingSourceFile: ts.SourceFile, reusedNames: readonly ts.StringLiteralLike[] | undefined) => readonly ts.ResolvedModuleWithFailedLookupLocations[]) | undefined;
|
|
43
43
|
resolveTypeReferenceDirectiveReferences: (<T extends string | ts.FileReference>(typeDirectiveReferences: readonly T[], containingFile: string, redirectedReference: ts.ResolvedProjectReference | undefined, options: ts.CompilerOptions, containingSourceFile: ts.SourceFile | undefined, reusedNames: readonly T[] | undefined) => readonly ts.ResolvedTypeReferenceDirectiveWithFailedLookupLocations[]) | undefined;
|
|
44
|
-
jsDocParsingMode: ts.JSDocParsingMode | undefined;
|
|
44
|
+
get jsDocParsingMode(): ts.JSDocParsingMode | undefined;
|
|
45
|
+
set jsDocParsingMode(mode: ts.JSDocParsingMode | undefined);
|
|
45
46
|
constructor(delegate: ts.CompilerHost);
|
|
46
47
|
private delegateMethod;
|
|
47
48
|
}
|
|
@@ -410,6 +410,11 @@ export interface Import {
|
|
|
410
410
|
* A type that is used to identify a declaration.
|
|
411
411
|
*/
|
|
412
412
|
export type DeclarationNode = ts.Declaration;
|
|
413
|
+
export type AmbientImport = {
|
|
414
|
+
__brand: 'AmbientImport';
|
|
415
|
+
};
|
|
416
|
+
/** Indicates that a declaration is referenced through an ambient type. */
|
|
417
|
+
export declare const AmbientImport: AmbientImport;
|
|
413
418
|
/**
|
|
414
419
|
* The declaration of a symbol, along with information about how it was imported into the
|
|
415
420
|
* application.
|
|
@@ -420,7 +425,7 @@ export interface Declaration<T extends ts.Declaration = ts.Declaration> {
|
|
|
420
425
|
* was imported via an absolute module (even through a chain of re-exports). If the symbol is part
|
|
421
426
|
* of the application and was not imported from an absolute path, this will be `null`.
|
|
422
427
|
*/
|
|
423
|
-
viaModule: string | null;
|
|
428
|
+
viaModule: string | AmbientImport | null;
|
|
424
429
|
/**
|
|
425
430
|
* TypeScript reference to the declaration itself, if one exists.
|
|
426
431
|
*/
|
|
@@ -57,6 +57,7 @@ export declare class TypeScriptReflectionHost implements ReflectionHost {
|
|
|
57
57
|
* Get the set of declarations declared in `file` which are exported.
|
|
58
58
|
*/
|
|
59
59
|
private getLocalExportedDeclarationsOfSourceFile;
|
|
60
|
+
private _viaModule;
|
|
60
61
|
}
|
|
61
62
|
export declare function reflectNameOfDeclaration(decl: ts.Declaration): string | null;
|
|
62
63
|
export declare function reflectIdentifierOfDeclaration(decl: ts.Declaration): ts.Identifier | null;
|
|
@@ -242,6 +242,10 @@ export interface TypeCheckingConfig {
|
|
|
242
242
|
* This is currently an unsupported feature.
|
|
243
243
|
*/
|
|
244
244
|
checkQueries: false;
|
|
245
|
+
/**
|
|
246
|
+
* Whether to check if control flow syntax will prevent a node from being projected.
|
|
247
|
+
*/
|
|
248
|
+
controlFlowPreventingContentProjection: 'error' | 'warning' | 'suppress';
|
|
245
249
|
/**
|
|
246
250
|
* Whether to use any generic types of the context component.
|
|
247
251
|
*
|
|
@@ -9,3 +9,4 @@ import { ErrorCode, ExtendedTemplateDiagnosticName } from '../../diagnostics';
|
|
|
9
9
|
import { TemplateCheckFactory } from './api';
|
|
10
10
|
export { ExtendedTemplateCheckerImpl } from './src/extended_template_checker';
|
|
11
11
|
export declare const ALL_DIAGNOSTIC_FACTORIES: readonly TemplateCheckFactory<ErrorCode, ExtendedTemplateDiagnosticName>[];
|
|
12
|
+
export declare const SUPPORTED_DIAGNOSTIC_NAMES: Set<string>;
|
|
@@ -5,13 +5,12 @@
|
|
|
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
|
-
import { TransplantedType, Type } from '@angular/compiler';
|
|
9
8
|
import ts from 'typescript';
|
|
10
9
|
import { Reference, ReferenceEmitter } from '../../imports';
|
|
11
10
|
import { ClassDeclaration, ReflectionHost } from '../../reflection';
|
|
12
11
|
import { ImportManager } from '../../translator';
|
|
13
12
|
import { TypeCheckableDirectiveMeta, TypeCheckingConfig } from '../api';
|
|
14
|
-
import { ReferenceEmitEnvironment } from './
|
|
13
|
+
import { ReferenceEmitEnvironment } from './reference_emit_environment';
|
|
15
14
|
/**
|
|
16
15
|
* A context which hosts one or more Type Check Blocks (TCBs).
|
|
17
16
|
*
|
|
@@ -23,12 +22,8 @@ import { ReferenceEmitEnvironment } from './tcb_util';
|
|
|
23
22
|
* `Environment` can be used in a standalone fashion, or can be extended to support more specialized
|
|
24
23
|
* usage.
|
|
25
24
|
*/
|
|
26
|
-
export declare class Environment
|
|
25
|
+
export declare class Environment extends ReferenceEmitEnvironment {
|
|
27
26
|
readonly config: TypeCheckingConfig;
|
|
28
|
-
protected importManager: ImportManager;
|
|
29
|
-
private refEmitter;
|
|
30
|
-
readonly reflector: ReflectionHost;
|
|
31
|
-
protected contextFile: ts.SourceFile;
|
|
32
27
|
private nextIds;
|
|
33
28
|
private typeCtors;
|
|
34
29
|
protected typeCtorStatements: ts.Statement[];
|
|
@@ -49,26 +44,6 @@ export declare class Environment implements ReferenceEmitEnvironment {
|
|
|
49
44
|
* This may involve importing the node into the file if it's not declared there already.
|
|
50
45
|
*/
|
|
51
46
|
reference(ref: Reference<ClassDeclaration<ts.ClassDeclaration>>): ts.Expression;
|
|
52
|
-
canReferenceType(ref: Reference): boolean;
|
|
53
|
-
/**
|
|
54
|
-
* Generate a `ts.TypeNode` that references the given node as a type.
|
|
55
|
-
*
|
|
56
|
-
* This may involve importing the node into the file if it's not declared there already.
|
|
57
|
-
*/
|
|
58
|
-
referenceType(ref: Reference): ts.TypeNode;
|
|
59
47
|
private emitTypeParameters;
|
|
60
|
-
/**
|
|
61
|
-
* Generate a `ts.TypeNode` that references a given type from the provided module.
|
|
62
|
-
*
|
|
63
|
-
* This will involve importing the type into the file, and will also add type parameters if
|
|
64
|
-
* provided.
|
|
65
|
-
*/
|
|
66
|
-
referenceExternalType(moduleName: string, name: string, typeParams?: Type[]): ts.TypeNode;
|
|
67
|
-
/**
|
|
68
|
-
* Generates a `ts.TypeNode` representing a type that is being referenced from a different place
|
|
69
|
-
* in the program. Any type references inside the transplanted type will be rewritten so that
|
|
70
|
-
* they can be imported in the context file.
|
|
71
|
-
*/
|
|
72
|
-
referenceTransplantedType(type: TransplantedType<Reference<ts.TypeNode>>): ts.TypeNode;
|
|
73
48
|
getPreludeStatements(): ts.Statement[];
|
|
74
49
|
}
|
|
@@ -6,6 +6,7 @@
|
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
8
|
import { BindingPipe, PropertyRead, PropertyWrite, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstElement, TmplAstForLoopBlock, TmplAstHoverDeferredTrigger, TmplAstIfBlockBranch, TmplAstInteractionDeferredTrigger, TmplAstReference, TmplAstTemplate, TmplAstVariable, TmplAstViewportDeferredTrigger } from '@angular/compiler';
|
|
9
|
+
import ts from 'typescript';
|
|
9
10
|
import { ClassDeclaration } from '../../reflection';
|
|
10
11
|
import { TemplateDiagnostic, TemplateId } from '../api';
|
|
11
12
|
import { TemplateSourceResolver } from './tcb_util';
|
|
@@ -72,7 +73,7 @@ export interface OutOfBandDiagnosticRecorder {
|
|
|
72
73
|
/**
|
|
73
74
|
* Reports cases where control flow nodes prevent content projection.
|
|
74
75
|
*/
|
|
75
|
-
controlFlowPreventingContentProjection(templateId: TemplateId, projectionNode: TmplAstElement | TmplAstTemplate, componentName: string, slotSelector: string, controlFlowNode: TmplAstIfBlockBranch | TmplAstForLoopBlock, preservesWhitespaces: boolean): void;
|
|
76
|
+
controlFlowPreventingContentProjection(templateId: TemplateId, category: ts.DiagnosticCategory, projectionNode: TmplAstElement | TmplAstTemplate, componentName: string, slotSelector: string, controlFlowNode: TmplAstIfBlockBranch | TmplAstForLoopBlock, preservesWhitespaces: boolean): void;
|
|
76
77
|
}
|
|
77
78
|
export declare class OutOfBandDiagnosticRecorderImpl implements OutOfBandDiagnosticRecorder {
|
|
78
79
|
private resolver;
|
|
@@ -95,5 +96,5 @@ export declare class OutOfBandDiagnosticRecorderImpl implements OutOfBandDiagnos
|
|
|
95
96
|
missingRequiredInputs(templateId: TemplateId, element: TmplAstElement | TmplAstTemplate, directiveName: string, isComponent: boolean, inputAliases: string[]): void;
|
|
96
97
|
illegalForLoopTrackAccess(templateId: TemplateId, block: TmplAstForLoopBlock, access: PropertyRead): void;
|
|
97
98
|
inaccessibleDeferredTriggerElement(templateId: TemplateId, trigger: TmplAstHoverDeferredTrigger | TmplAstInteractionDeferredTrigger | TmplAstViewportDeferredTrigger): void;
|
|
98
|
-
controlFlowPreventingContentProjection(templateId: TemplateId, projectionNode: TmplAstElement | TmplAstTemplate, componentName: string, slotSelector: string, controlFlowNode: TmplAstIfBlockBranch | TmplAstForLoopBlock, preservesWhitespaces: boolean): void;
|
|
99
|
+
controlFlowPreventingContentProjection(templateId: TemplateId, category: ts.DiagnosticCategory, projectionNode: TmplAstElement | TmplAstTemplate, componentName: string, slotSelector: string, controlFlowNode: TmplAstIfBlockBranch | TmplAstForLoopBlock, preservesWhitespaces: boolean): void;
|
|
99
100
|
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license
|
|
3
|
+
* Copyright Google LLC All Rights Reserved.
|
|
4
|
+
*
|
|
5
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
6
|
+
* found in the LICENSE file at https://angular.io/license
|
|
7
|
+
*/
|
|
8
|
+
import { TransplantedType, Type } from '@angular/compiler';
|
|
9
|
+
import ts from 'typescript';
|
|
10
|
+
import { ImportFlags, Reference, ReferenceEmitter } from '../../imports';
|
|
11
|
+
import { ReflectionHost } from '../../reflection';
|
|
12
|
+
import { ImportManager } from '../../translator';
|
|
13
|
+
/**
|
|
14
|
+
* An environment for a given source file that can be used to emit references.
|
|
15
|
+
*
|
|
16
|
+
* This can be used by the type-checking block, or constructor logic to generate
|
|
17
|
+
* references to directives or other symbols or types.
|
|
18
|
+
*/
|
|
19
|
+
export declare class ReferenceEmitEnvironment {
|
|
20
|
+
readonly importManager: ImportManager;
|
|
21
|
+
protected refEmitter: ReferenceEmitter;
|
|
22
|
+
readonly reflector: ReflectionHost;
|
|
23
|
+
protected contextFile: ts.SourceFile;
|
|
24
|
+
constructor(importManager: ImportManager, refEmitter: ReferenceEmitter, reflector: ReflectionHost, contextFile: ts.SourceFile);
|
|
25
|
+
canReferenceType(ref: Reference, flags?: ImportFlags): boolean;
|
|
26
|
+
/**
|
|
27
|
+
* Generate a `ts.TypeNode` that references the given node as a type.
|
|
28
|
+
*
|
|
29
|
+
* This may involve importing the node into the file if it's not declared there already.
|
|
30
|
+
*/
|
|
31
|
+
referenceType(ref: Reference, flags?: ImportFlags): ts.TypeNode;
|
|
32
|
+
/**
|
|
33
|
+
* Generate a `ts.Expression` that refers to the external symbol. This
|
|
34
|
+
* may result in new imports being generated.
|
|
35
|
+
*/
|
|
36
|
+
referenceExternalSymbol(moduleName: string, name: string): ts.Expression;
|
|
37
|
+
/**
|
|
38
|
+
* Generate a `ts.TypeNode` that references a given type from the provided module.
|
|
39
|
+
*
|
|
40
|
+
* This will involve importing the type into the file, and will also add type parameters if
|
|
41
|
+
* provided.
|
|
42
|
+
*/
|
|
43
|
+
referenceExternalType(moduleName: string, name: string, typeParams?: Type[]): ts.TypeNode;
|
|
44
|
+
/**
|
|
45
|
+
* Generates a `ts.TypeNode` representing a type that is being referenced from a different place
|
|
46
|
+
* in the program. Any type references inside the transplanted type will be rewritten so that
|
|
47
|
+
* they can be imported in the context file.
|
|
48
|
+
*/
|
|
49
|
+
referenceTransplantedType(type: TransplantedType<Reference<ts.TypeNode>>): ts.TypeNode;
|
|
50
|
+
}
|
|
@@ -10,14 +10,7 @@ import ts from 'typescript';
|
|
|
10
10
|
import { ClassDeclaration, ReflectionHost } from '../../../../src/ngtsc/reflection';
|
|
11
11
|
import { Reference } from '../../imports';
|
|
12
12
|
import { FullTemplateMapping, SourceLocation, TemplateId, TemplateSourceMapping } from '../api';
|
|
13
|
-
|
|
14
|
-
* Represents the origin environment from where reference will be emitted. This interface exists
|
|
15
|
-
* as an indirection for the `Environment` type, which would otherwise introduce a (type-only)
|
|
16
|
-
* import cycle.
|
|
17
|
-
*/
|
|
18
|
-
export interface ReferenceEmitEnvironment {
|
|
19
|
-
canReferenceType(ref: Reference): boolean;
|
|
20
|
-
}
|
|
13
|
+
import { ReferenceEmitEnvironment } from './reference_emit_environment';
|
|
21
14
|
/**
|
|
22
15
|
* Adapter interface which allows the template type-checking diagnostics code to interpret offsets
|
|
23
16
|
* in a TCB and map them back to original locations in the template.
|
|
@@ -68,4 +61,10 @@ export declare function findTypeCheckBlock(file: ts.SourceFile, id: TemplateId,
|
|
|
68
61
|
* returns null.
|
|
69
62
|
*/
|
|
70
63
|
export declare function findSourceLocation(node: ts.Node, sourceFile: ts.SourceFile, isDiagnosticsRequest: boolean): SourceLocation | null;
|
|
64
|
+
/**
|
|
65
|
+
* Ensure imports for certain external modules that should always
|
|
66
|
+
* exist are generated. These are ensures to exist to avoid frequent
|
|
67
|
+
* import graph changes whenever e.g. a signal input is introduced in user code.
|
|
68
|
+
*/
|
|
69
|
+
export declare function ensureTypeCheckFilePreparationImports(env: ReferenceEmitEnvironment): void;
|
|
71
70
|
export declare function checkIfGenericTypeBoundsCanBeEmitted(node: ClassDeclaration<ts.ClassDeclaration>, reflector: ReflectionHost, env: ReferenceEmitEnvironment): boolean;
|
|
@@ -192,7 +192,8 @@ declare class Scope {
|
|
|
192
192
|
private templateCtxOpMap;
|
|
193
193
|
/**
|
|
194
194
|
* Map of variables declared on the template that created this `Scope` (represented by
|
|
195
|
-
* `TmplAstVariable` nodes) to the index of their `TcbVariableOp`s in the `opQueue
|
|
195
|
+
* `TmplAstVariable` nodes) to the index of their `TcbVariableOp`s in the `opQueue`, or to
|
|
196
|
+
* pre-resolved variable identifiers.
|
|
196
197
|
*/
|
|
197
198
|
private varMap;
|
|
198
199
|
/**
|
|
@@ -8,8 +8,8 @@
|
|
|
8
8
|
import ts from 'typescript';
|
|
9
9
|
import { ClassDeclaration, ReflectionHost } from '../../reflection';
|
|
10
10
|
import { TypeCtorMetadata } from '../api';
|
|
11
|
-
import { ReferenceEmitEnvironment } from './
|
|
12
|
-
export declare function generateTypeCtorDeclarationFn(
|
|
11
|
+
import { ReferenceEmitEnvironment } from './reference_emit_environment';
|
|
12
|
+
export declare function generateTypeCtorDeclarationFn(env: ReferenceEmitEnvironment, meta: TypeCtorMetadata, nodeTypeRef: ts.EntityName, typeParams: ts.TypeParameterDeclaration[] | undefined): ts.Statement;
|
|
13
13
|
/**
|
|
14
14
|
* Generate an inline type constructor for the given class and metadata.
|
|
15
15
|
*
|
|
@@ -45,5 +45,5 @@ export declare function generateTypeCtorDeclarationFn(node: ClassDeclaration<ts.
|
|
|
45
45
|
* @param meta additional metadata required to generate the type constructor.
|
|
46
46
|
* @returns a `ts.MethodDeclaration` for the type constructor.
|
|
47
47
|
*/
|
|
48
|
-
export declare function generateInlineTypeCtor(node: ClassDeclaration<ts.ClassDeclaration>, meta: TypeCtorMetadata): ts.MethodDeclaration;
|
|
48
|
+
export declare function generateInlineTypeCtor(env: ReferenceEmitEnvironment, node: ClassDeclaration<ts.ClassDeclaration>, meta: TypeCtorMetadata): ts.MethodDeclaration;
|
|
49
49
|
export declare function requiresInlineTypeCtor(node: ClassDeclaration<ts.ClassDeclaration>, host: ReflectionHost, env: ReferenceEmitEnvironment): boolean;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../../../../../../packages/compiler-cli/linker/src/fatal_linker_error.ts", "../../../../../../packages/compiler-cli/linker/src/ast/utils.ts", "../../../../../../packages/compiler-cli/linker/src/ast/ast_value.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.ts", "../../../../../../packages/compiler-cli/linker/src/linker_import_generator.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/get_source_file.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/util.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/file_linker.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/linker_options.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/translator.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/linker_environment.ts", "../../../../../../packages/compiler-cli/linker/src/file_linker/needs_linking.ts"],
|
|
4
|
-
"mappings": ";;;;;;;;;;;;;AAWM,IAAO,mBAAP,cAAgC,MAAK;EASzC,YAAmB,MAAe,SAAe;AAC/C,UAAM,OAAO;AADI,SAAA,OAAA;AARV,SAAA,OAAO;EAUhB;;AAMI,SAAU,mBAAmB,GAAM;AACvC,SAAO,KAAK,EAAE,SAAS;AACzB;;;AClBM,SAAU,OACZ,MAAS,WAAmC,UAAgB;AAC9D,MAAI,CAAC,UAAU,IAAI,GAAG;AACpB,UAAM,IAAI,iBAAiB,MAAM,gCAAgC,WAAW;EAC9E;AACF;;;ACVA,YAAY,OAAO;AA6Cb,IAAO,YAAP,MAAgB;EAIpB,OAAO,MAAqC,YAAyB,MAA0B;AAE7F,UAAM,MAAM,KAAK,mBAAmB,UAAU;AAC9C,WAAO,IAAI,UAA0B,YAAY,KAAK,IAAI;EAC5D;EAEA,YACa,YAAiC,KAClC,MAA0B;AADzB,SAAA,aAAA;AAAiC,SAAA,MAAA;AAClC,SAAA,OAAA;EAA6B;EAKzC,IAAI,cAA4B;AAC9B,WAAO,KAAK,IAAI,IAAI,YAAY;EAClC;EAOA,UAA0E,cAAe;AAEvF,WAAO,KAAK,KAAK,oBAAoB,KAAK,oBAAoB,YAAY,CAAC;EAC7E;EAOA,UAA0E,cAAe;AAEvF,WAAO,KAAK,KAAK,mBAAmB,KAAK,oBAAoB,YAAY,CAAC;EAC5E;EAOA,WAA4E,cAAe;AAEzF,WAAO,KAAK,KAAK,oBAAoB,KAAK,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,aAAa,MAAc,QAAc;AACvD,SAAO,qBAAqB,KAAK,QAAM,OAAO,SAAS,EAAE,CAAC;AAC5D;",
|
|
5
|
-
"names": ["semver", "makeBindingParser", "o", "o", "makeBindingParser", "createMayBeForwardRefExpression", "o", "createMayBeForwardRefExpression", "o", "semver"]
|
|
6
|
-
}
|