@angular/compiler-cli 17.0.4 → 17.0.6
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-JZC4T2RR.js → chunk-3O3O4L34.js} +1 -1
- package/bundles/{chunk-WJ2RDNX4.js → chunk-77ECZTEH.js} +5 -5
- package/bundles/{chunk-MHTLEXGT.js → chunk-CDJYMGHH.js} +4 -4
- package/bundles/{chunk-LYJKWJUC.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-HKIDKKUJ.js → chunk-ILV5JRA3.js} +98 -86
- package/bundles/chunk-ILV5JRA3.js.map +6 -0
- package/bundles/{chunk-EKZWOVDR.js → chunk-JNTXXKVD.js} +225 -123
- package/bundles/chunk-JNTXXKVD.js.map +6 -0
- package/bundles/{chunk-OTTOC3WQ.js → chunk-JZRCFA2M.js} +29 -27
- package/bundles/{chunk-OTTOC3WQ.js.map → chunk-JZRCFA2M.js.map} +1 -1
- package/bundles/{chunk-EKTJ7622.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-ELZXPNCU.js → chunk-PJ5O6AJ3.js} +9 -9
- package/bundles/{chunk-BV3ZUD7T.js → chunk-W22VYY2W.js} +5 -5
- package/bundles/{chunk-PCMLSPQF.js → chunk-W653LDC7.js} +7 -7
- package/bundles/{chunk-Z4QM3XT4.js → chunk-Z6XLAZWI.js} +30 -30
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/diagnostics/src/error_code.d.ts +14 -0
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
- package/src/ngtsc/typecheck/api/api.d.ts +8 -0
- package/src/ngtsc/typecheck/api/context.d.ts +3 -1
- package/src/ngtsc/typecheck/extended/index.d.ts +1 -0
- package/src/ngtsc/typecheck/src/context.d.ts +1 -1
- package/src/ngtsc/typecheck/src/oob.d.ts +7 -1
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +5 -2
- package/bundles/chunk-EKZWOVDR.js.map +0 -6
- package/bundles/chunk-HKIDKKUJ.js.map +0 -6
- /package/bundles/{chunk-JZC4T2RR.js.map → chunk-3O3O4L34.js.map} +0 -0
- /package/bundles/{chunk-WJ2RDNX4.js.map → chunk-77ECZTEH.js.map} +0 -0
- /package/bundles/{chunk-MHTLEXGT.js.map → chunk-CDJYMGHH.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-EKTJ7622.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-ELZXPNCU.js.map → chunk-PJ5O6AJ3.js.map} +0 -0
- /package/bundles/{chunk-BV3ZUD7T.js.map → chunk-W22VYY2W.js.map} +0 -0
- /package/bundles/{chunk-PCMLSPQF.js.map → chunk-W653LDC7.js.map} +0 -0
- /package/bundles/{chunk-Z4QM3XT4.js.map → chunk-Z6XLAZWI.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
translateExpression,
|
|
8
8
|
translateStatement,
|
|
9
9
|
translateType
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-PJ5O6AJ3.js";
|
|
11
11
|
import {
|
|
12
12
|
ClassMemberKind,
|
|
13
13
|
ErrorCode,
|
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
reflectObjectLiteral,
|
|
31
31
|
reflectTypeEntityToDeclaration,
|
|
32
32
|
typeNodeToValueExpr
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-JZRCFA2M.js";
|
|
34
34
|
import {
|
|
35
35
|
PerfEvent,
|
|
36
36
|
PerfPhase
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-W22VYY2W.js";
|
|
38
38
|
import {
|
|
39
39
|
absoluteFrom,
|
|
40
40
|
absoluteFromSourceFile,
|
|
41
41
|
relative
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-W653LDC7.js";
|
|
43
43
|
|
|
44
|
-
// bazel-out/
|
|
44
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
45
45
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
46
46
|
import ts from "typescript";
|
|
47
47
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -286,7 +286,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
286
286
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
// bazel-out/
|
|
289
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
290
290
|
var DynamicValue = class {
|
|
291
291
|
constructor(node, reason, code) {
|
|
292
292
|
this.node = node;
|
|
@@ -376,10 +376,10 @@ var DynamicValue = class {
|
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
378
|
|
|
379
|
-
// bazel-out/
|
|
379
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
380
380
|
import ts2 from "typescript";
|
|
381
381
|
|
|
382
|
-
// bazel-out/
|
|
382
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
383
383
|
var ResolvedModule = class {
|
|
384
384
|
constructor(exports, evaluate) {
|
|
385
385
|
this.exports = exports;
|
|
@@ -409,7 +409,7 @@ var EnumValue = class {
|
|
|
409
409
|
var KnownFn = class {
|
|
410
410
|
};
|
|
411
411
|
|
|
412
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
413
413
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
414
414
|
constructor(lhs) {
|
|
415
415
|
super();
|
|
@@ -461,14 +461,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
461
461
|
}
|
|
462
462
|
};
|
|
463
463
|
|
|
464
|
-
// bazel-out/
|
|
464
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
465
465
|
var SyntheticValue = class {
|
|
466
466
|
constructor(value) {
|
|
467
467
|
this.value = value;
|
|
468
468
|
}
|
|
469
469
|
};
|
|
470
470
|
|
|
471
|
-
// bazel-out/
|
|
471
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
472
472
|
function literalBinaryOp(op) {
|
|
473
473
|
return { op, literal: true };
|
|
474
474
|
}
|
|
@@ -1046,7 +1046,7 @@ function owningModule(context, override = null) {
|
|
|
1046
1046
|
}
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
|
-
// bazel-out/
|
|
1049
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1050
1050
|
var PartialEvaluator = class {
|
|
1051
1051
|
constructor(host, checker, dependencyTracker) {
|
|
1052
1052
|
this.host = host;
|
|
@@ -1066,7 +1066,7 @@ var PartialEvaluator = class {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
// bazel-out/
|
|
1069
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1070
1070
|
import ts3 from "typescript";
|
|
1071
1071
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1072
1072
|
var _a, _b;
|
|
@@ -1196,11 +1196,11 @@ function getContainerNode(node) {
|
|
|
1196
1196
|
return node.getSourceFile();
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
|
-
// bazel-out/
|
|
1199
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1200
1200
|
import { LiteralExpr, ReadPropExpr as ReadPropExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1201
1201
|
import ts10 from "typescript";
|
|
1202
1202
|
|
|
1203
|
-
// bazel-out/
|
|
1203
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
1204
1204
|
var CompilationMode;
|
|
1205
1205
|
(function(CompilationMode2) {
|
|
1206
1206
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -1214,7 +1214,7 @@ var HandlerPrecedence;
|
|
|
1214
1214
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
1215
1215
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
1216
1216
|
|
|
1217
|
-
// bazel-out/
|
|
1217
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
1218
1218
|
import ts4 from "typescript";
|
|
1219
1219
|
function aliasTransformFactory(exportStatements) {
|
|
1220
1220
|
return () => {
|
|
@@ -1237,10 +1237,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
1237
1237
|
};
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
-
// bazel-out/
|
|
1240
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
1241
1241
|
import ts5 from "typescript";
|
|
1242
1242
|
|
|
1243
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
1244
1244
|
var TraitState;
|
|
1245
1245
|
(function(TraitState2) {
|
|
1246
1246
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -1297,7 +1297,7 @@ var TraitImpl = class {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
-
// bazel-out/
|
|
1300
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
1301
1301
|
var TraitCompiler = class {
|
|
1302
1302
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
1303
1303
|
this.handlers = handlers;
|
|
@@ -1745,10 +1745,10 @@ function containsErrors(diagnostics) {
|
|
|
1745
1745
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts5.DiagnosticCategory.Error);
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
|
-
// bazel-out/
|
|
1748
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
1749
1749
|
import ts7 from "typescript";
|
|
1750
1750
|
|
|
1751
|
-
// bazel-out/
|
|
1751
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
1752
1752
|
import ts6 from "typescript";
|
|
1753
1753
|
function addImports(importManager, sf, extraStatements = []) {
|
|
1754
1754
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -1784,7 +1784,7 @@ function isImportStatement(stmt) {
|
|
|
1784
1784
|
return ts6.isImportDeclaration(stmt) || ts6.isImportEqualsDeclaration(stmt) || ts6.isNamespaceImport(stmt);
|
|
1785
1785
|
}
|
|
1786
1786
|
|
|
1787
|
-
// bazel-out/
|
|
1787
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
1788
1788
|
var DtsTransformRegistry = class {
|
|
1789
1789
|
constructor() {
|
|
1790
1790
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -1931,11 +1931,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
1931
1931
|
ts7.forEachChild(node, markForEmitAsSingleLine);
|
|
1932
1932
|
}
|
|
1933
1933
|
|
|
1934
|
-
// bazel-out/
|
|
1934
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
1935
1935
|
import { ConstantPool } from "@angular/compiler";
|
|
1936
1936
|
import ts9 from "typescript";
|
|
1937
1937
|
|
|
1938
|
-
// bazel-out/
|
|
1938
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
1939
1939
|
import ts8 from "typescript";
|
|
1940
1940
|
function visit(node, visitor, context) {
|
|
1941
1941
|
return visitor._visit(node, context);
|
|
@@ -1996,7 +1996,7 @@ var Visitor = class {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
};
|
|
1998
1998
|
|
|
1999
|
-
// bazel-out/
|
|
1999
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2000
2000
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
2001
2001
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
2002
2002
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -2220,7 +2220,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
2220
2220
|
return array;
|
|
2221
2221
|
}
|
|
2222
2222
|
|
|
2223
|
-
// bazel-out/
|
|
2223
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
2224
2224
|
function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
|
|
2225
2225
|
const deps = [];
|
|
2226
2226
|
const errors = [];
|
|
@@ -2376,10 +2376,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
2376
2376
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
2377
2377
|
}
|
|
2378
2378
|
|
|
2379
|
-
// bazel-out/
|
|
2379
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2380
2380
|
import ts13 from "typescript";
|
|
2381
2381
|
|
|
2382
|
-
// bazel-out/
|
|
2382
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
2383
2383
|
var MetaKind;
|
|
2384
2384
|
(function(MetaKind2) {
|
|
2385
2385
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -2392,10 +2392,10 @@ var MatchSource;
|
|
|
2392
2392
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
2393
2393
|
})(MatchSource || (MatchSource = {}));
|
|
2394
2394
|
|
|
2395
|
-
// bazel-out/
|
|
2395
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2396
2396
|
import ts12 from "typescript";
|
|
2397
2397
|
|
|
2398
|
-
// bazel-out/
|
|
2398
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
2399
2399
|
var ClassPropertyMapping = class {
|
|
2400
2400
|
constructor(forwardMap) {
|
|
2401
2401
|
this.forwardMap = forwardMap;
|
|
@@ -2473,7 +2473,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
2473
2473
|
return reverseMap;
|
|
2474
2474
|
}
|
|
2475
2475
|
|
|
2476
|
-
// bazel-out/
|
|
2476
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
2477
2477
|
import ts11 from "typescript";
|
|
2478
2478
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
2479
2479
|
if (!ts11.isTupleTypeNode(def)) {
|
|
@@ -2657,7 +2657,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
2657
2657
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
2658
2658
|
}
|
|
2659
2659
|
|
|
2660
|
-
// bazel-out/
|
|
2660
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2661
2661
|
var DtsMetadataReader = class {
|
|
2662
2662
|
constructor(checker, reflector) {
|
|
2663
2663
|
this.checker = checker;
|
|
@@ -2700,6 +2700,7 @@ var DtsMetadataReader = class {
|
|
|
2700
2700
|
const isStructural = !isComponent && ctorParams !== null && ctorParams.some((param) => {
|
|
2701
2701
|
return param.typeValueReference.kind === 1 && param.typeValueReference.moduleName === "@angular/core" && param.typeValueReference.importedName === "TemplateRef";
|
|
2702
2702
|
});
|
|
2703
|
+
const ngContentSelectors = def.type.typeArguments.length > 6 ? readStringArrayType(def.type.typeArguments[6]) : null;
|
|
2703
2704
|
const isStandalone = def.type.typeArguments.length > 7 && ((_a = readBooleanType(def.type.typeArguments[7])) != null ? _a : false);
|
|
2704
2705
|
const inputs = ClassPropertyMapping.fromMappedObject(readInputsType(def.type.typeArguments[3]));
|
|
2705
2706
|
const outputs = ClassPropertyMapping.fromMappedObject(readMapType(def.type.typeArguments[4], readStringType));
|
|
@@ -2722,12 +2723,14 @@ var DtsMetadataReader = class {
|
|
|
2722
2723
|
isPoisoned: false,
|
|
2723
2724
|
isStructural,
|
|
2724
2725
|
animationTriggerNames: null,
|
|
2726
|
+
ngContentSelectors,
|
|
2725
2727
|
isStandalone,
|
|
2726
2728
|
isSignal,
|
|
2727
2729
|
imports: null,
|
|
2728
2730
|
schemas: null,
|
|
2729
2731
|
decorator: null,
|
|
2730
|
-
assumedToExportProviders: isComponent && isStandalone
|
|
2732
|
+
assumedToExportProviders: isComponent && isStandalone,
|
|
2733
|
+
preserveWhitespaces: false
|
|
2731
2734
|
};
|
|
2732
2735
|
}
|
|
2733
2736
|
getPipeMetadata(ref) {
|
|
@@ -2832,7 +2835,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
2832
2835
|
return result.length > 0 ? result : null;
|
|
2833
2836
|
}
|
|
2834
2837
|
|
|
2835
|
-
// bazel-out/
|
|
2838
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2836
2839
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2837
2840
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2838
2841
|
if (topMeta === null) {
|
|
@@ -2845,6 +2848,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2845
2848
|
const undeclaredInputFields = /* @__PURE__ */ new Set();
|
|
2846
2849
|
const restrictedInputFields = /* @__PURE__ */ new Set();
|
|
2847
2850
|
const stringLiteralInputFields = /* @__PURE__ */ new Set();
|
|
2851
|
+
let hostDirectives = null;
|
|
2848
2852
|
let isDynamic = false;
|
|
2849
2853
|
let inputs = ClassPropertyMapping.empty();
|
|
2850
2854
|
let outputs = ClassPropertyMapping.empty();
|
|
@@ -2875,6 +2879,10 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2875
2879
|
for (const field of meta.stringLiteralInputFields) {
|
|
2876
2880
|
stringLiteralInputFields.add(field);
|
|
2877
2881
|
}
|
|
2882
|
+
if (meta.hostDirectives !== null && meta.hostDirectives.length > 0) {
|
|
2883
|
+
hostDirectives != null ? hostDirectives : hostDirectives = [];
|
|
2884
|
+
hostDirectives.push(...meta.hostDirectives);
|
|
2885
|
+
}
|
|
2878
2886
|
};
|
|
2879
2887
|
addMetadata(topMeta);
|
|
2880
2888
|
return {
|
|
@@ -2886,11 +2894,12 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2886
2894
|
restrictedInputFields,
|
|
2887
2895
|
stringLiteralInputFields,
|
|
2888
2896
|
baseClass: isDynamic ? "dynamic" : null,
|
|
2889
|
-
isStructural
|
|
2897
|
+
isStructural,
|
|
2898
|
+
hostDirectives
|
|
2890
2899
|
};
|
|
2891
2900
|
}
|
|
2892
2901
|
|
|
2893
|
-
// bazel-out/
|
|
2902
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2894
2903
|
var LocalMetadataRegistry = class {
|
|
2895
2904
|
constructor() {
|
|
2896
2905
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2947,7 +2956,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2947
2956
|
}
|
|
2948
2957
|
};
|
|
2949
2958
|
|
|
2950
|
-
// bazel-out/
|
|
2959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2951
2960
|
var ResourceRegistry = class {
|
|
2952
2961
|
constructor() {
|
|
2953
2962
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -3012,7 +3021,7 @@ var ResourceRegistry = class {
|
|
|
3012
3021
|
}
|
|
3013
3022
|
};
|
|
3014
3023
|
|
|
3015
|
-
// bazel-out/
|
|
3024
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
3016
3025
|
var ExportedProviderStatusResolver = class {
|
|
3017
3026
|
constructor(metaReader) {
|
|
3018
3027
|
this.metaReader = metaReader;
|
|
@@ -3056,7 +3065,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
3056
3065
|
}
|
|
3057
3066
|
};
|
|
3058
3067
|
|
|
3059
|
-
// bazel-out/
|
|
3068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
3060
3069
|
var EMPTY_ARRAY = [];
|
|
3061
3070
|
var HostDirectivesResolver = class {
|
|
3062
3071
|
constructor(metaReader) {
|
|
@@ -3118,7 +3127,7 @@ function resolveOutput(bindingName) {
|
|
|
3118
3127
|
return bindingName;
|
|
3119
3128
|
}
|
|
3120
3129
|
|
|
3121
|
-
// bazel-out/
|
|
3130
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3122
3131
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3123
3132
|
const context = [];
|
|
3124
3133
|
for (const decl of data) {
|
|
@@ -3314,7 +3323,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
3314
3323
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
3315
3324
|
}
|
|
3316
3325
|
|
|
3317
|
-
// bazel-out/
|
|
3326
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3318
3327
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3319
3328
|
import ts14 from "typescript";
|
|
3320
3329
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3365,7 +3374,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3365
3374
|
return meta;
|
|
3366
3375
|
}
|
|
3367
3376
|
|
|
3368
|
-
// bazel-out/
|
|
3377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3369
3378
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3370
3379
|
function compileNgFactoryDefField(metadata) {
|
|
3371
3380
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3388,7 +3397,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3388
3397
|
};
|
|
3389
3398
|
}
|
|
3390
3399
|
|
|
3391
|
-
// bazel-out/
|
|
3400
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3392
3401
|
var InjectableClassRegistry = class {
|
|
3393
3402
|
constructor(host, isCore) {
|
|
3394
3403
|
this.host = host;
|
|
@@ -3414,7 +3423,7 @@ var InjectableClassRegistry = class {
|
|
|
3414
3423
|
}
|
|
3415
3424
|
};
|
|
3416
3425
|
|
|
3417
|
-
// bazel-out/
|
|
3426
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3418
3427
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3419
3428
|
import ts15 from "typescript";
|
|
3420
3429
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3499,7 +3508,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3499
3508
|
return result.transformed[0];
|
|
3500
3509
|
}
|
|
3501
3510
|
|
|
3502
|
-
// bazel-out/
|
|
3511
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3503
3512
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3504
3513
|
import * as path from "path";
|
|
3505
3514
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
@@ -3526,13 +3535,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
3526
3535
|
return null;
|
|
3527
3536
|
}
|
|
3528
3537
|
|
|
3529
|
-
// bazel-out/
|
|
3538
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3530
3539
|
var NoopReferencesRegistry = class {
|
|
3531
3540
|
add(source, ...references) {
|
|
3532
3541
|
}
|
|
3533
3542
|
};
|
|
3534
3543
|
|
|
3535
|
-
// bazel-out/
|
|
3544
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3536
3545
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3537
3546
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3538
3547
|
const schemas = [];
|
|
@@ -3562,7 +3571,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3562
3571
|
return schemas;
|
|
3563
3572
|
}
|
|
3564
3573
|
|
|
3565
|
-
// bazel-out/
|
|
3574
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3566
3575
|
import { outputAst } from "@angular/compiler";
|
|
3567
3576
|
function compileInputTransformFields(inputs) {
|
|
3568
3577
|
const extraFields = [];
|
|
@@ -3580,11 +3589,11 @@ function compileInputTransformFields(inputs) {
|
|
|
3580
3589
|
return extraFields;
|
|
3581
3590
|
}
|
|
3582
3591
|
|
|
3583
|
-
// bazel-out/
|
|
3592
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3584
3593
|
import { compileClassDebugInfo, compileClassMetadata as compileClassMetadata3, compileComponentClassMetadata, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation as ViewEncapsulation2, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
3585
3594
|
import ts24 from "typescript";
|
|
3586
3595
|
|
|
3587
|
-
// bazel-out/
|
|
3596
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3588
3597
|
import ts16 from "typescript";
|
|
3589
3598
|
var SemanticSymbol = class {
|
|
3590
3599
|
constructor(decl) {
|
|
@@ -3600,7 +3609,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3600
3609
|
return decl.name.text;
|
|
3601
3610
|
}
|
|
3602
3611
|
|
|
3603
|
-
// bazel-out/
|
|
3612
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3604
3613
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3605
3614
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3606
3615
|
isPublicApiAffected() {
|
|
@@ -3743,10 +3752,10 @@ function getImportPath(expr) {
|
|
|
3743
3752
|
}
|
|
3744
3753
|
}
|
|
3745
3754
|
|
|
3746
|
-
// bazel-out/
|
|
3755
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3747
3756
|
import ts17 from "typescript";
|
|
3748
3757
|
|
|
3749
|
-
// bazel-out/
|
|
3758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3750
3759
|
function isSymbolEqual(a, b) {
|
|
3751
3760
|
if (a.decl === b.decl) {
|
|
3752
3761
|
return true;
|
|
@@ -3796,7 +3805,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3796
3805
|
return true;
|
|
3797
3806
|
}
|
|
3798
3807
|
|
|
3799
|
-
// bazel-out/
|
|
3808
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3800
3809
|
function extractSemanticTypeParameters(node) {
|
|
3801
3810
|
if (!ts17.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3802
3811
|
return null;
|
|
@@ -3816,14 +3825,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3816
3825
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3817
3826
|
}
|
|
3818
3827
|
|
|
3819
|
-
// bazel-out/
|
|
3828
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3820
3829
|
var ComponentScopeKind;
|
|
3821
3830
|
(function(ComponentScopeKind2) {
|
|
3822
3831
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3823
3832
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3824
3833
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3825
3834
|
|
|
3826
|
-
// bazel-out/
|
|
3835
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3827
3836
|
var CompoundComponentScopeReader = class {
|
|
3828
3837
|
constructor(readers) {
|
|
3829
3838
|
this.readers = readers;
|
|
@@ -3848,7 +3857,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3848
3857
|
}
|
|
3849
3858
|
};
|
|
3850
3859
|
|
|
3851
|
-
// bazel-out/
|
|
3860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3852
3861
|
var MetadataDtsModuleScopeResolver = class {
|
|
3853
3862
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3854
3863
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -3924,11 +3933,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
3924
3933
|
}
|
|
3925
3934
|
};
|
|
3926
3935
|
|
|
3927
|
-
// bazel-out/
|
|
3936
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
3928
3937
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3929
3938
|
import ts18 from "typescript";
|
|
3930
3939
|
|
|
3931
|
-
// bazel-out/
|
|
3940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
3932
3941
|
function getDiagnosticNode(ref, rawExpr) {
|
|
3933
3942
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
3934
3943
|
}
|
|
@@ -3951,7 +3960,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
3951
3960
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
3952
3961
|
}
|
|
3953
3962
|
|
|
3954
|
-
// bazel-out/
|
|
3963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
3955
3964
|
var LocalModuleScopeRegistry = class {
|
|
3956
3965
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
3957
3966
|
this.localReader = localReader;
|
|
@@ -4290,7 +4299,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4290
4299
|
]);
|
|
4291
4300
|
}
|
|
4292
4301
|
|
|
4293
|
-
// bazel-out/
|
|
4302
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4294
4303
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4295
4304
|
import ts19 from "typescript";
|
|
4296
4305
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4359,10 +4368,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
4359
4368
|
}
|
|
4360
4369
|
};
|
|
4361
4370
|
|
|
4362
|
-
// bazel-out/
|
|
4371
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4363
4372
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4364
4373
|
|
|
4365
|
-
// bazel-out/
|
|
4374
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4366
4375
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4367
4376
|
import ts20 from "typescript";
|
|
4368
4377
|
var EMPTY_OBJECT = {};
|
|
@@ -4955,7 +4964,7 @@ function toR3InputMetadata(mapping) {
|
|
|
4955
4964
|
};
|
|
4956
4965
|
}
|
|
4957
4966
|
|
|
4958
|
-
// bazel-out/
|
|
4967
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4959
4968
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4960
4969
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4961
4970
|
super(decl);
|
|
@@ -5035,7 +5044,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5035
5044
|
return isSymbolEqual(current, previous);
|
|
5036
5045
|
}
|
|
5037
5046
|
|
|
5038
|
-
// bazel-out/
|
|
5047
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5039
5048
|
var FIELD_DECORATORS = [
|
|
5040
5049
|
"Input",
|
|
5041
5050
|
"Output",
|
|
@@ -5147,7 +5156,9 @@ var DirectiveDecoratorHandler = class {
|
|
|
5147
5156
|
isSignal: analysis.meta.isSignal,
|
|
5148
5157
|
imports: null,
|
|
5149
5158
|
schemas: null,
|
|
5159
|
+
ngContentSelectors: null,
|
|
5150
5160
|
decorator: analysis.decorator,
|
|
5161
|
+
preserveWhitespaces: false,
|
|
5151
5162
|
assumedToExportProviders: false
|
|
5152
5163
|
});
|
|
5153
5164
|
this.injectableRegistry.registerInjectable(node, {
|
|
@@ -5207,11 +5218,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5207
5218
|
}
|
|
5208
5219
|
};
|
|
5209
5220
|
|
|
5210
|
-
// bazel-out/
|
|
5221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5211
5222
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
5212
5223
|
import ts22 from "typescript";
|
|
5213
5224
|
|
|
5214
|
-
// bazel-out/
|
|
5225
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5215
5226
|
import ts21 from "typescript";
|
|
5216
5227
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5217
5228
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5278,7 +5289,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5278
5289
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5279
5290
|
}
|
|
5280
5291
|
|
|
5281
|
-
// bazel-out/
|
|
5292
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5282
5293
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5283
5294
|
constructor(decl, hasProviders) {
|
|
5284
5295
|
super(decl);
|
|
@@ -5847,7 +5858,7 @@ function isSyntheticReference(ref) {
|
|
|
5847
5858
|
return ref.synthetic;
|
|
5848
5859
|
}
|
|
5849
5860
|
|
|
5850
|
-
// bazel-out/
|
|
5861
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5851
5862
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5852
5863
|
const name = ref.debugName || "(unknown)";
|
|
5853
5864
|
const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5870,7 +5881,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5870
5881
|
return null;
|
|
5871
5882
|
}
|
|
5872
5883
|
|
|
5873
|
-
// bazel-out/
|
|
5884
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5874
5885
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5875
5886
|
import ts23 from "typescript";
|
|
5876
5887
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -6229,7 +6240,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
6229
6240
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
6230
6241
|
}
|
|
6231
6242
|
|
|
6232
|
-
// bazel-out/
|
|
6243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6233
6244
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6234
6245
|
constructor() {
|
|
6235
6246
|
super(...arguments);
|
|
@@ -6264,7 +6275,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6264
6275
|
}
|
|
6265
6276
|
};
|
|
6266
6277
|
|
|
6267
|
-
// bazel-out/
|
|
6278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6268
6279
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6269
6280
|
if (value instanceof Map) {
|
|
6270
6281
|
const name = value.get("name");
|
|
@@ -6340,7 +6351,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
6340
6351
|
return false;
|
|
6341
6352
|
}
|
|
6342
6353
|
|
|
6343
|
-
// bazel-out/
|
|
6354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
6344
6355
|
var EMPTY_ARRAY2 = [];
|
|
6345
6356
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
6346
6357
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -6616,10 +6627,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6616
6627
|
rawHostDirectives,
|
|
6617
6628
|
meta: {
|
|
6618
6629
|
...metadata,
|
|
6619
|
-
template
|
|
6620
|
-
nodes: template.nodes,
|
|
6621
|
-
ngContentSelectors: template.ngContentSelectors
|
|
6622
|
-
},
|
|
6630
|
+
template,
|
|
6623
6631
|
encapsulation,
|
|
6624
6632
|
changeDetection,
|
|
6625
6633
|
interpolation: (_c = template.interpolationConfig) != null ? _c : DEFAULT_INTERPOLATION_CONFIG2,
|
|
@@ -6663,6 +6671,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6663
6671
|
return new ComponentSymbol(node, analysis.meta.selector, analysis.inputs, analysis.outputs, analysis.meta.exportAs, analysis.typeCheckMeta, typeParameters);
|
|
6664
6672
|
}
|
|
6665
6673
|
register(node, analysis) {
|
|
6674
|
+
var _a;
|
|
6666
6675
|
const ref = new Reference(node);
|
|
6667
6676
|
this.metaRegistry.registerDirectiveMetadata({
|
|
6668
6677
|
kind: MetaKind.Directive,
|
|
@@ -6686,7 +6695,9 @@ var ComponentDecoratorHandler = class {
|
|
|
6686
6695
|
animationTriggerNames: analysis.animationTriggerNames,
|
|
6687
6696
|
schemas: analysis.schemas,
|
|
6688
6697
|
decorator: analysis.decorator,
|
|
6689
|
-
assumedToExportProviders: false
|
|
6698
|
+
assumedToExportProviders: false,
|
|
6699
|
+
ngContentSelectors: analysis.template.ngContentSelectors,
|
|
6700
|
+
preserveWhitespaces: (_a = analysis.template.preserveWhitespaces) != null ? _a : false
|
|
6690
6701
|
});
|
|
6691
6702
|
this.resourceRegistry.registerResources(analysis.resources, node);
|
|
6692
6703
|
this.injectableRegistry.registerInjectable(node, {
|
|
@@ -6725,6 +6736,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6725
6736
|
return null;
|
|
6726
6737
|
}
|
|
6727
6738
|
typeCheck(ctx, node, meta) {
|
|
6739
|
+
var _a;
|
|
6728
6740
|
if (this.typeCheckScopeRegistry === null || !ts24.isClassDeclaration(node)) {
|
|
6729
6741
|
return;
|
|
6730
6742
|
}
|
|
@@ -6736,7 +6748,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6736
6748
|
return;
|
|
6737
6749
|
}
|
|
6738
6750
|
const binder = new R3TargetBinder(scope.matcher);
|
|
6739
|
-
ctx.addTemplate(new Reference(node), binder, meta.template.diagNodes, scope.pipes, scope.schemas, meta.template.sourceMapping, meta.template.file, meta.template.errors, meta.meta.isStandalone);
|
|
6751
|
+
ctx.addTemplate(new Reference(node), binder, meta.template.diagNodes, scope.pipes, scope.schemas, meta.template.sourceMapping, meta.template.file, meta.template.errors, meta.meta.isStandalone, (_a = meta.meta.template.preserveWhitespaces) != null ? _a : false);
|
|
6740
6752
|
}
|
|
6741
6753
|
extendedTemplateCheck(component, extendedTemplateChecker) {
|
|
6742
6754
|
return extendedTemplateChecker.getDiagnosticsForComponent(component);
|
|
@@ -7152,7 +7164,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
7152
7164
|
return diagnostics;
|
|
7153
7165
|
}
|
|
7154
7166
|
|
|
7155
|
-
// bazel-out/
|
|
7167
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
7156
7168
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7157
7169
|
import ts25 from "typescript";
|
|
7158
7170
|
var InjectableDecoratorHandler = class {
|
|
@@ -7378,7 +7390,7 @@ function getDep(dep, reflector) {
|
|
|
7378
7390
|
return meta;
|
|
7379
7391
|
}
|
|
7380
7392
|
|
|
7381
|
-
// bazel-out/
|
|
7393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
7382
7394
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
7383
7395
|
import ts26 from "typescript";
|
|
7384
7396
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -7530,14 +7542,14 @@ var PipeDecoratorHandler = class {
|
|
|
7530
7542
|
}
|
|
7531
7543
|
};
|
|
7532
7544
|
|
|
7533
|
-
// bazel-out/
|
|
7545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
7534
7546
|
var OptimizeFor;
|
|
7535
7547
|
(function(OptimizeFor2) {
|
|
7536
7548
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
7537
7549
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
7538
7550
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
7539
7551
|
|
|
7540
|
-
// bazel-out/
|
|
7552
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
7541
7553
|
var PotentialImportKind;
|
|
7542
7554
|
(function(PotentialImportKind2) {
|
|
7543
7555
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -7549,14 +7561,14 @@ var PotentialImportMode;
|
|
|
7549
7561
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
7550
7562
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
7551
7563
|
|
|
7552
|
-
// bazel-out/
|
|
7564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
7553
7565
|
var CompletionKind;
|
|
7554
7566
|
(function(CompletionKind2) {
|
|
7555
7567
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
7556
7568
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
7557
7569
|
})(CompletionKind || (CompletionKind = {}));
|
|
7558
7570
|
|
|
7559
|
-
// bazel-out/
|
|
7571
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
7560
7572
|
var SymbolKind;
|
|
7561
7573
|
(function(SymbolKind2) {
|
|
7562
7574
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -7624,4 +7636,4 @@ export {
|
|
|
7624
7636
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7625
7637
|
* found in the LICENSE file at https://angular.io/license
|
|
7626
7638
|
*/
|
|
7627
|
-
//# sourceMappingURL=chunk-
|
|
7639
|
+
//# sourceMappingURL=chunk-ILV5JRA3.js.map
|