@angular/compiler-cli 17.1.0-next.4 → 17.1.0-rc.0
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-HQUXRCDO.js → chunk-75SXFAVW.js} +56 -30
- package/bundles/chunk-75SXFAVW.js.map +6 -0
- package/bundles/{chunk-YGXKICXB.js → chunk-AJU3W7PS.js} +93 -10
- package/bundles/chunk-AJU3W7PS.js.map +6 -0
- package/bundles/{chunk-5QWOGIJL.js → chunk-FIHKBAQF.js} +2 -2
- package/bundles/{chunk-EFMKZSXJ.js → chunk-OQ7ITPZT.js} +817 -2
- package/bundles/chunk-OQ7ITPZT.js.map +6 -0
- package/bundles/chunk-Q5Y7HH3O.js +62 -0
- package/bundles/chunk-Q5Y7HH3O.js.map +6 -0
- package/bundles/{chunk-OZXTEOXW.js → chunk-R5FBSX7J.js} +21 -3
- package/bundles/chunk-R5FBSX7J.js.map +6 -0
- package/bundles/{chunk-U4EFDEE4.js → chunk-YS2EFQ7B.js} +94 -102
- package/bundles/chunk-YS2EFQ7B.js.map +6 -0
- package/bundles/index.js +8 -6
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +5 -3
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +2 -3
- package/bundles/private/migrations.js +6 -5
- package/bundles/private/tooling.js +6 -2
- package/bundles/src/bin/ng_xi18n.js +5 -5
- package/bundles/src/bin/ngc.js +5 -5
- package/bundles_metadata.json +1 -1
- package/linker/babel/src/ast/babel_ast_host.d.ts +1 -0
- package/linker/src/ast/ast_host.d.ts +4 -0
- package/linker/src/ast/ast_value.d.ts +8 -1
- package/linker/src/ast/typescript/typescript_ast_host.d.ts +1 -0
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/private/tooling.d.ts +22 -6
- package/src/ngtsc/annotations/directive/index.d.ts +1 -0
- package/src/ngtsc/annotations/directive/src/input_function.d.ts +4 -13
- package/src/ngtsc/annotations/directive/src/shared.d.ts +2 -2
- package/src/ngtsc/annotations/index.d.ts +2 -2
- package/src/ngtsc/diagnostics/src/error_code.d.ts +6 -0
- package/src/ngtsc/transform/index.d.ts +1 -0
- package/src/ngtsc/transform/src/utils.d.ts +1 -1
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +1 -1
- package/src/ngtsc/translator/src/import_manager.d.ts +2 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +3 -3
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
- package/src/transformers/{downlevel_decorators_transform → jit_transforms}/index.d.ts +1 -0
- package/src/transformers/jit_transforms/signal_inputs_metadata_transform.d.ts +21 -0
- package/bundles/chunk-EFMKZSXJ.js.map +0 -6
- package/bundles/chunk-HQUXRCDO.js.map +0 -6
- package/bundles/chunk-MFE4YVWE.js +0 -831
- package/bundles/chunk-MFE4YVWE.js.map +0 -6
- package/bundles/chunk-OZXTEOXW.js.map +0 -6
- package/bundles/chunk-U4EFDEE4.js.map +0 -6
- package/bundles/chunk-YGXKICXB.js.map +0 -6
- /package/bundles/{chunk-5QWOGIJL.js.map → chunk-FIHKBAQF.js.map} +0 -0
- /package/src/transformers/{downlevel_decorators_transform → jit_transforms}/downlevel_decorators_transform.d.ts +0 -0
|
@@ -2,18 +2,13 @@
|
|
|
2
2
|
import {createRequire as __cjsCompatRequire} from 'module';
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
|
-
import {
|
|
6
|
-
ImportManager,
|
|
7
|
-
translateExpression,
|
|
8
|
-
translateStatement,
|
|
9
|
-
translateType
|
|
10
|
-
} from "./chunk-MFE4YVWE.js";
|
|
11
5
|
import {
|
|
12
6
|
AmbientImport,
|
|
13
7
|
ClassMemberKind,
|
|
14
8
|
ErrorCode,
|
|
15
9
|
FatalDiagnosticError,
|
|
16
10
|
ImportFlags,
|
|
11
|
+
ImportManager,
|
|
17
12
|
Reference,
|
|
18
13
|
assertSuccessfulReferenceEmit,
|
|
19
14
|
attachDefaultImportDeclaration,
|
|
@@ -30,8 +25,11 @@ import {
|
|
|
30
25
|
nodeNameForError,
|
|
31
26
|
reflectObjectLiteral,
|
|
32
27
|
reflectTypeEntityToDeclaration,
|
|
28
|
+
translateExpression,
|
|
29
|
+
translateStatement,
|
|
30
|
+
translateType,
|
|
33
31
|
typeNodeToValueExpr
|
|
34
|
-
} from "./chunk-
|
|
32
|
+
} from "./chunk-OQ7ITPZT.js";
|
|
35
33
|
import {
|
|
36
34
|
PerfEvent,
|
|
37
35
|
PerfPhase
|
|
@@ -3894,18 +3892,18 @@ import ts17 from "typescript";
|
|
|
3894
3892
|
|
|
3895
3893
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3896
3894
|
import ts16 from "typescript";
|
|
3897
|
-
function addImports(importManager, sf, extraStatements = []) {
|
|
3895
|
+
function addImports(factory = ts16.factory, importManager, sf, extraStatements = []) {
|
|
3898
3896
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
3899
|
-
const qualifier =
|
|
3900
|
-
const importClause =
|
|
3897
|
+
const qualifier = factory.createIdentifier(i.qualifier.text);
|
|
3898
|
+
const importClause = factory.createImportClause(
|
|
3901
3899
|
false,
|
|
3902
3900
|
void 0,
|
|
3903
|
-
|
|
3901
|
+
factory.createNamespaceImport(qualifier)
|
|
3904
3902
|
);
|
|
3905
|
-
const decl =
|
|
3903
|
+
const decl = factory.createImportDeclaration(
|
|
3906
3904
|
void 0,
|
|
3907
3905
|
importClause,
|
|
3908
|
-
|
|
3906
|
+
factory.createStringLiteral(i.specifier)
|
|
3909
3907
|
);
|
|
3910
3908
|
ts16.setOriginalNode(i.qualifier, decl);
|
|
3911
3909
|
return decl;
|
|
@@ -3913,8 +3911,8 @@ function addImports(importManager, sf, extraStatements = []) {
|
|
|
3913
3911
|
const existingImports = sf.statements.filter((stmt) => isImportStatement(stmt));
|
|
3914
3912
|
const body = sf.statements.filter((stmt) => !isImportStatement(stmt));
|
|
3915
3913
|
if (addedImports.length > 0) {
|
|
3916
|
-
const fileoverviewAnchorStmt =
|
|
3917
|
-
return
|
|
3914
|
+
const fileoverviewAnchorStmt = factory.createNotEmittedStatement(sf);
|
|
3915
|
+
return factory.updateSourceFile(sf, factory.createNodeArray([
|
|
3918
3916
|
fileoverviewAnchorStmt,
|
|
3919
3917
|
...existingImports,
|
|
3920
3918
|
...addedImports,
|
|
@@ -3987,7 +3985,7 @@ var DtsTransformer = class {
|
|
|
3987
3985
|
}
|
|
3988
3986
|
};
|
|
3989
3987
|
sf = ts17.visitNode(sf, visitor, ts17.isSourceFile) || sf;
|
|
3990
|
-
return addImports(imports, sf);
|
|
3988
|
+
return addImports(this.ctx.factory, imports, sf);
|
|
3991
3989
|
}
|
|
3992
3990
|
transformClassDeclaration(clazz, transforms, imports) {
|
|
3993
3991
|
let elements = clazz.members;
|
|
@@ -4298,7 +4296,7 @@ function transformIvySourceFile(compilation, context, reflector, importRewriter,
|
|
|
4298
4296
|
annotateForClosureCompiler: isClosureCompilerEnabled
|
|
4299
4297
|
}));
|
|
4300
4298
|
const fileOverviewMeta = isClosureCompilerEnabled ? getFileOverviewComment(sf.statements) : null;
|
|
4301
|
-
sf = addImports(importManager, sf, constants);
|
|
4299
|
+
sf = addImports(context.factory, importManager, sf, constants);
|
|
4302
4300
|
if (fileOverviewMeta !== null) {
|
|
4303
4301
|
setFileOverviewComment(sf, fileOverviewMeta);
|
|
4304
4302
|
}
|
|
@@ -4382,7 +4380,7 @@ function tryParseInputInitializerAndOptions(member, reflector, coreModule) {
|
|
|
4382
4380
|
if (target === null) {
|
|
4383
4381
|
return null;
|
|
4384
4382
|
}
|
|
4385
|
-
if (target.text === "input"
|
|
4383
|
+
if (target.text === "input") {
|
|
4386
4384
|
if (!isReferenceToInputFunction(target, coreModule, reflector)) {
|
|
4387
4385
|
return null;
|
|
4388
4386
|
}
|
|
@@ -4413,14 +4411,46 @@ function extractPropertyTarget(node) {
|
|
|
4413
4411
|
return null;
|
|
4414
4412
|
}
|
|
4415
4413
|
function isReferenceToInputFunction(target, coreModule, reflector) {
|
|
4416
|
-
|
|
4417
|
-
if (
|
|
4418
|
-
|
|
4414
|
+
let targetImport = reflector.getImportOfIdentifier(target);
|
|
4415
|
+
if (targetImport === null) {
|
|
4416
|
+
if (coreModule !== void 0) {
|
|
4417
|
+
return false;
|
|
4418
|
+
}
|
|
4419
|
+
targetImport = { name: target.text };
|
|
4419
4420
|
}
|
|
4420
|
-
|
|
4421
|
-
|
|
4421
|
+
return targetImport.name === "input";
|
|
4422
|
+
}
|
|
4423
|
+
function parseAndValidateOptions(optionsNode) {
|
|
4424
|
+
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
4425
|
+
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, optionsNode, "Argument needs to be an object literal that is statically analyzable.");
|
|
4426
|
+
}
|
|
4427
|
+
const options = reflectObjectLiteral(optionsNode);
|
|
4428
|
+
let alias = void 0;
|
|
4429
|
+
if (options.has("alias")) {
|
|
4430
|
+
const aliasExpr = options.get("alias");
|
|
4431
|
+
if (!ts20.isStringLiteralLike(aliasExpr)) {
|
|
4432
|
+
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, aliasExpr, "Alias needs to be a string that is statically analyzable.");
|
|
4433
|
+
}
|
|
4434
|
+
alias = aliasExpr.text;
|
|
4422
4435
|
}
|
|
4423
|
-
return
|
|
4436
|
+
return { alias };
|
|
4437
|
+
}
|
|
4438
|
+
function tryParseSignalInputMapping(member, reflector, coreModule) {
|
|
4439
|
+
var _a;
|
|
4440
|
+
const signalInput = tryParseInputInitializerAndOptions(member, reflector, coreModule);
|
|
4441
|
+
if (signalInput === null) {
|
|
4442
|
+
return null;
|
|
4443
|
+
}
|
|
4444
|
+
const optionsNode = signalInput.optionsNode;
|
|
4445
|
+
const options = optionsNode !== void 0 ? parseAndValidateOptions(optionsNode) : null;
|
|
4446
|
+
const classPropertyName = member.name;
|
|
4447
|
+
return {
|
|
4448
|
+
isSignal: true,
|
|
4449
|
+
classPropertyName,
|
|
4450
|
+
bindingPropertyName: (_a = options == null ? void 0 : options.alias) != null ? _a : classPropertyName,
|
|
4451
|
+
required: signalInput.isRequired,
|
|
4452
|
+
transform: null
|
|
4453
|
+
};
|
|
4424
4454
|
}
|
|
4425
4455
|
|
|
4426
4456
|
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
@@ -4433,7 +4463,7 @@ var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
|
4433
4463
|
]);
|
|
4434
4464
|
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, referencesRegistry, isCore, annotateForClosureCompiler, compilationMode, defaultSelector = null) {
|
|
4435
4465
|
let directive;
|
|
4436
|
-
if (decorator
|
|
4466
|
+
if (decorator.args === null || decorator.args.length === 0) {
|
|
4437
4467
|
directive = /* @__PURE__ */ new Map();
|
|
4438
4468
|
} else if (decorator.args.length !== 1) {
|
|
4439
4469
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, decorator.node, `Incorrect number of arguments to @${decorator.name} decorator`);
|
|
@@ -4450,8 +4480,8 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
|
|
|
4450
4480
|
const members = reflector.getMembersOfClass(clazz);
|
|
4451
4481
|
const decoratedElements = members.filter((member) => !member.isStatic && member.decorators !== null);
|
|
4452
4482
|
const coreModule = isCore ? void 0 : "@angular/core";
|
|
4453
|
-
const inputsFromMeta = parseInputsArray(clazz, directive, evaluator, reflector, refEmitter);
|
|
4454
|
-
const inputsFromFields = parseInputFields(clazz, members, evaluator, reflector, refEmitter, coreModule);
|
|
4483
|
+
const inputsFromMeta = parseInputsArray(clazz, directive, evaluator, reflector, refEmitter, compilationMode);
|
|
4484
|
+
const inputsFromFields = parseInputFields(clazz, members, evaluator, reflector, refEmitter, coreModule, compilationMode, inputsFromMeta, decorator);
|
|
4455
4485
|
const inputs = ClassPropertyMapping.fromMappedObject({ ...inputsFromMeta, ...inputsFromFields });
|
|
4456
4486
|
const outputsFromMeta = parseOutputsArray(directive, evaluator);
|
|
4457
4487
|
const outputsFromFields = parseOutputFields(filterToMembersWithDecorator(decoratedElements, "Output", coreModule), evaluator);
|
|
@@ -4788,7 +4818,7 @@ function parseDecoratedFields(fields, evaluator, callback) {
|
|
|
4788
4818
|
}
|
|
4789
4819
|
}
|
|
4790
4820
|
}
|
|
4791
|
-
function parseInputsArray(clazz, decoratorMetadata, evaluator, reflector, refEmitter) {
|
|
4821
|
+
function parseInputsArray(clazz, decoratorMetadata, evaluator, reflector, refEmitter, compilationMode) {
|
|
4792
4822
|
const inputsField = decoratorMetadata.get("inputs");
|
|
4793
4823
|
if (inputsField === void 0) {
|
|
4794
4824
|
return {};
|
|
@@ -4822,7 +4852,7 @@ function parseInputsArray(clazz, decoratorMetadata, evaluator, reflector, refEmi
|
|
|
4822
4852
|
if (!(transformValue instanceof DynamicValue) && !(transformValue instanceof Reference)) {
|
|
4823
4853
|
throw createValueHasWrongTypeError(inputsField, transformValue, `Transform of value at position ${i} of @Directive.inputs array must be a function`);
|
|
4824
4854
|
}
|
|
4825
|
-
transform = parseDecoratorInputTransformFunction(clazz, name, transformValue, reflector, refEmitter);
|
|
4855
|
+
transform = parseDecoratorInputTransformFunction(clazz, name, transformValue, reflector, refEmitter, compilationMode);
|
|
4826
4856
|
}
|
|
4827
4857
|
inputs[name] = {
|
|
4828
4858
|
classPropertyName: name,
|
|
@@ -4852,9 +4882,13 @@ function tryGetDecoratorOnMember(member, decoratorName, coreModule) {
|
|
|
4852
4882
|
}
|
|
4853
4883
|
return null;
|
|
4854
4884
|
}
|
|
4855
|
-
function tryParseInputFieldMapping(clazz, member, evaluator, reflector, coreModule, refEmitter) {
|
|
4885
|
+
function tryParseInputFieldMapping(clazz, member, evaluator, reflector, coreModule, refEmitter, compilationMode) {
|
|
4856
4886
|
const classPropertyName = member.name;
|
|
4857
4887
|
const decorator = tryGetDecoratorOnMember(member, "Input", coreModule);
|
|
4888
|
+
const signalInputMapping = tryParseSignalInputMapping(member, reflector, coreModule);
|
|
4889
|
+
if (decorator !== null && signalInputMapping !== null) {
|
|
4890
|
+
throw new FatalDiagnosticError(ErrorCode.SIGNAL_INPUT_AND_DISALLOWED_DECORATOR, decorator.node, `Using @Input with a signal input is not allowed.`);
|
|
4891
|
+
}
|
|
4858
4892
|
if (decorator !== null) {
|
|
4859
4893
|
if (decorator.args !== null && decorator.args.length > 1) {
|
|
4860
4894
|
throw new FatalDiagnosticError(ErrorCode.DECORATOR_ARITY_WRONG, decorator.node, `@${decorator.name} can have at most one argument, got ${decorator.args.length} argument(s)`);
|
|
@@ -4878,7 +4912,7 @@ function tryParseInputFieldMapping(clazz, member, evaluator, reflector, coreModu
|
|
|
4878
4912
|
if (!(transformValue instanceof DynamicValue) && !(transformValue instanceof Reference)) {
|
|
4879
4913
|
throw createValueHasWrongTypeError(optionsNode, transformValue, `Input transform must be a function`);
|
|
4880
4914
|
}
|
|
4881
|
-
transform = parseDecoratorInputTransformFunction(clazz, classPropertyName, transformValue, reflector, refEmitter);
|
|
4915
|
+
transform = parseDecoratorInputTransformFunction(clazz, classPropertyName, transformValue, reflector, refEmitter, compilationMode);
|
|
4882
4916
|
}
|
|
4883
4917
|
return {
|
|
4884
4918
|
isSignal: false,
|
|
@@ -4888,40 +4922,42 @@ function tryParseInputFieldMapping(clazz, member, evaluator, reflector, coreModu
|
|
|
4888
4922
|
required
|
|
4889
4923
|
};
|
|
4890
4924
|
}
|
|
4891
|
-
|
|
4892
|
-
|
|
4893
|
-
const optionsNode = signalInput.optionsNode;
|
|
4894
|
-
const options = optionsNode !== void 0 ? evaluator.evaluate(optionsNode) : null;
|
|
4895
|
-
let bindingPropertyName = classPropertyName;
|
|
4896
|
-
if (options instanceof Map && typeof options.get("alias") === "string") {
|
|
4897
|
-
bindingPropertyName = options.get("alias");
|
|
4898
|
-
}
|
|
4899
|
-
return {
|
|
4900
|
-
isSignal: true,
|
|
4901
|
-
classPropertyName,
|
|
4902
|
-
bindingPropertyName,
|
|
4903
|
-
required: signalInput.isRequired,
|
|
4904
|
-
transform: null
|
|
4905
|
-
};
|
|
4925
|
+
if (signalInputMapping !== null) {
|
|
4926
|
+
return signalInputMapping;
|
|
4906
4927
|
}
|
|
4907
4928
|
return null;
|
|
4908
4929
|
}
|
|
4909
|
-
function parseInputFields(clazz, members, evaluator, reflector, refEmitter, coreModule) {
|
|
4930
|
+
function parseInputFields(clazz, members, evaluator, reflector, refEmitter, coreModule, compilationMode, inputsFromClassDecorator, classDecorator) {
|
|
4931
|
+
var _a, _b;
|
|
4910
4932
|
const inputs = {};
|
|
4911
4933
|
for (const member of members) {
|
|
4912
|
-
|
|
4934
|
+
const classPropertyName = member.name;
|
|
4935
|
+
const inputMapping = tryParseInputFieldMapping(clazz, member, evaluator, reflector, coreModule, refEmitter, compilationMode);
|
|
4936
|
+
if (inputMapping === null) {
|
|
4913
4937
|
continue;
|
|
4914
4938
|
}
|
|
4915
|
-
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4939
|
+
if (member.isStatic) {
|
|
4940
|
+
throw new FatalDiagnosticError(ErrorCode.INPUT_DECLARED_ON_STATIC_MEMBER, (_a = member.node) != null ? _a : clazz, `Input "${member.name}" is incorrectly declared as static member of "${clazz.name.text}".`);
|
|
4941
|
+
}
|
|
4942
|
+
if (inputMapping.isSignal && inputsFromClassDecorator.hasOwnProperty(classPropertyName)) {
|
|
4943
|
+
throw new FatalDiagnosticError(ErrorCode.SIGNAL_INPUT_AND_INPUTS_ARRAY_COLLISION, (_b = member.node) != null ? _b : clazz, `Input "${member.name}" is also declared as non-signal in @${classDecorator.name}.`);
|
|
4919
4944
|
}
|
|
4945
|
+
inputs[classPropertyName] = inputMapping;
|
|
4920
4946
|
}
|
|
4921
4947
|
return inputs;
|
|
4922
4948
|
}
|
|
4923
|
-
function parseDecoratorInputTransformFunction(clazz, classPropertyName, value, reflector, refEmitter) {
|
|
4949
|
+
function parseDecoratorInputTransformFunction(clazz, classPropertyName, value, reflector, refEmitter, compilationMode) {
|
|
4924
4950
|
var _a;
|
|
4951
|
+
if (compilationMode === CompilationMode.LOCAL) {
|
|
4952
|
+
const node2 = value instanceof Reference ? value.getIdentityIn(clazz.getSourceFile()) : value.node;
|
|
4953
|
+
if (node2 === null) {
|
|
4954
|
+
throw createValueHasWrongTypeError(value.node, value, "Input transform function could not be referenced");
|
|
4955
|
+
}
|
|
4956
|
+
return {
|
|
4957
|
+
node: node2,
|
|
4958
|
+
type: new Reference(ts21.factory.createKeywordTypeNode(ts21.SyntaxKind.UnknownKeyword))
|
|
4959
|
+
};
|
|
4960
|
+
}
|
|
4925
4961
|
const definition = reflector.getDefinitionOfFunction(value.node);
|
|
4926
4962
|
if (definition === null) {
|
|
4927
4963
|
throw createValueHasWrongTypeError(value.node, value, "Input transform must be a function");
|
|
@@ -7650,49 +7686,8 @@ var PipeDecoratorHandler = class {
|
|
|
7650
7686
|
}
|
|
7651
7687
|
};
|
|
7652
7688
|
|
|
7653
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
7654
|
-
var OptimizeFor;
|
|
7655
|
-
(function(OptimizeFor2) {
|
|
7656
|
-
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
7657
|
-
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
7658
|
-
})(OptimizeFor || (OptimizeFor = {}));
|
|
7659
|
-
|
|
7660
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
7661
|
-
var PotentialImportKind;
|
|
7662
|
-
(function(PotentialImportKind2) {
|
|
7663
|
-
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
7664
|
-
PotentialImportKind2[PotentialImportKind2["Standalone"] = 1] = "Standalone";
|
|
7665
|
-
})(PotentialImportKind || (PotentialImportKind = {}));
|
|
7666
|
-
var PotentialImportMode;
|
|
7667
|
-
(function(PotentialImportMode2) {
|
|
7668
|
-
PotentialImportMode2[PotentialImportMode2["Normal"] = 0] = "Normal";
|
|
7669
|
-
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
7670
|
-
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
7671
|
-
|
|
7672
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
7673
|
-
var CompletionKind;
|
|
7674
|
-
(function(CompletionKind2) {
|
|
7675
|
-
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
7676
|
-
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
7677
|
-
})(CompletionKind || (CompletionKind = {}));
|
|
7678
|
-
|
|
7679
|
-
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
7680
|
-
var SymbolKind;
|
|
7681
|
-
(function(SymbolKind2) {
|
|
7682
|
-
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
7683
|
-
SymbolKind2[SymbolKind2["Output"] = 1] = "Output";
|
|
7684
|
-
SymbolKind2[SymbolKind2["Binding"] = 2] = "Binding";
|
|
7685
|
-
SymbolKind2[SymbolKind2["Reference"] = 3] = "Reference";
|
|
7686
|
-
SymbolKind2[SymbolKind2["Variable"] = 4] = "Variable";
|
|
7687
|
-
SymbolKind2[SymbolKind2["Directive"] = 5] = "Directive";
|
|
7688
|
-
SymbolKind2[SymbolKind2["Element"] = 6] = "Element";
|
|
7689
|
-
SymbolKind2[SymbolKind2["Template"] = 7] = "Template";
|
|
7690
|
-
SymbolKind2[SymbolKind2["Expression"] = 8] = "Expression";
|
|
7691
|
-
SymbolKind2[SymbolKind2["DomBinding"] = 9] = "DomBinding";
|
|
7692
|
-
SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
|
|
7693
|
-
})(SymbolKind || (SymbolKind = {}));
|
|
7694
|
-
|
|
7695
7689
|
export {
|
|
7690
|
+
isAngularDecorator,
|
|
7696
7691
|
forwardRefResolver,
|
|
7697
7692
|
MetaKind,
|
|
7698
7693
|
CompoundMetadataReader,
|
|
@@ -7716,19 +7711,16 @@ export {
|
|
|
7716
7711
|
CompilationMode,
|
|
7717
7712
|
aliasTransformFactory,
|
|
7718
7713
|
TraitCompiler,
|
|
7714
|
+
addImports,
|
|
7719
7715
|
DtsTransformRegistry,
|
|
7720
7716
|
declarationTransformFactory,
|
|
7721
7717
|
ivyTransformFactory,
|
|
7718
|
+
tryParseSignalInputMapping,
|
|
7722
7719
|
DirectiveDecoratorHandler,
|
|
7723
7720
|
NgModuleDecoratorHandler,
|
|
7724
7721
|
ComponentDecoratorHandler,
|
|
7725
7722
|
InjectableDecoratorHandler,
|
|
7726
|
-
PipeDecoratorHandler
|
|
7727
|
-
OptimizeFor,
|
|
7728
|
-
CompletionKind,
|
|
7729
|
-
PotentialImportKind,
|
|
7730
|
-
PotentialImportMode,
|
|
7731
|
-
SymbolKind
|
|
7723
|
+
PipeDecoratorHandler
|
|
7732
7724
|
};
|
|
7733
7725
|
/*!
|
|
7734
7726
|
* @license
|
|
@@ -7744,4 +7736,4 @@ export {
|
|
|
7744
7736
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7745
7737
|
* found in the LICENSE file at https://angular.io/license
|
|
7746
7738
|
*/
|
|
7747
|
-
//# sourceMappingURL=chunk-
|
|
7739
|
+
//# sourceMappingURL=chunk-YS2EFQ7B.js.map
|