@angular/compiler-cli 17.0.5 → 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-UHYH6BYB.js → chunk-3O3O4L34.js} +1 -1
- package/bundles/{chunk-BNWUZHCZ.js → chunk-77ECZTEH.js} +5 -5
- package/bundles/{chunk-VNJI35KB.js → chunk-CDJYMGHH.js} +4 -4
- package/bundles/{chunk-SBDNBITT.js → chunk-CF2CT7RQ.js} +3 -3
- package/bundles/{chunk-3ZDTTLEA.js → chunk-ILV5JRA3.js} +91 -85
- package/bundles/chunk-ILV5JRA3.js.map +6 -0
- package/bundles/{chunk-3GCK5JND.js → chunk-JNTXXKVD.js} +225 -123
- package/bundles/chunk-JNTXXKVD.js.map +6 -0
- package/bundles/{chunk-CLTYCPJK.js → chunk-JZRCFA2M.js} +29 -27
- package/bundles/{chunk-CLTYCPJK.js.map → chunk-JZRCFA2M.js.map} +1 -1
- package/bundles/{chunk-GYHDNUIK.js → chunk-OULZQUKT.js} +7 -7
- package/bundles/{chunk-QDHJ26RK.js → chunk-PJ5O6AJ3.js} +9 -9
- package/bundles/{chunk-3IBJEGH3.js → chunk-W22VYY2W.js} +5 -5
- package/bundles/{chunk-CSOLWS7O.js → chunk-W653LDC7.js} +7 -7
- package/bundles/{chunk-QFTMYSLL.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-3GCK5JND.js.map +0 -6
- package/bundles/chunk-3ZDTTLEA.js.map +0 -6
- /package/bundles/{chunk-UHYH6BYB.js.map → chunk-3O3O4L34.js.map} +0 -0
- /package/bundles/{chunk-BNWUZHCZ.js.map → chunk-77ECZTEH.js.map} +0 -0
- /package/bundles/{chunk-VNJI35KB.js.map → chunk-CDJYMGHH.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-CF2CT7RQ.js.map} +0 -0
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-OULZQUKT.js.map} +0 -0
- /package/bundles/{chunk-QDHJ26RK.js.map → chunk-PJ5O6AJ3.js.map} +0 -0
- /package/bundles/{chunk-3IBJEGH3.js.map → chunk-W22VYY2W.js.map} +0 -0
- /package/bundles/{chunk-CSOLWS7O.js.map → chunk-W653LDC7.js.map} +0 -0
- /package/bundles/{chunk-QFTMYSLL.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) {
|
|
@@ -2896,7 +2899,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2896
2899
|
};
|
|
2897
2900
|
}
|
|
2898
2901
|
|
|
2899
|
-
// bazel-out/
|
|
2902
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2900
2903
|
var LocalMetadataRegistry = class {
|
|
2901
2904
|
constructor() {
|
|
2902
2905
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2953,7 +2956,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2953
2956
|
}
|
|
2954
2957
|
};
|
|
2955
2958
|
|
|
2956
|
-
// bazel-out/
|
|
2959
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2957
2960
|
var ResourceRegistry = class {
|
|
2958
2961
|
constructor() {
|
|
2959
2962
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -3018,7 +3021,7 @@ var ResourceRegistry = class {
|
|
|
3018
3021
|
}
|
|
3019
3022
|
};
|
|
3020
3023
|
|
|
3021
|
-
// bazel-out/
|
|
3024
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
3022
3025
|
var ExportedProviderStatusResolver = class {
|
|
3023
3026
|
constructor(metaReader) {
|
|
3024
3027
|
this.metaReader = metaReader;
|
|
@@ -3062,7 +3065,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
3062
3065
|
}
|
|
3063
3066
|
};
|
|
3064
3067
|
|
|
3065
|
-
// bazel-out/
|
|
3068
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
3066
3069
|
var EMPTY_ARRAY = [];
|
|
3067
3070
|
var HostDirectivesResolver = class {
|
|
3068
3071
|
constructor(metaReader) {
|
|
@@ -3124,7 +3127,7 @@ function resolveOutput(bindingName) {
|
|
|
3124
3127
|
return bindingName;
|
|
3125
3128
|
}
|
|
3126
3129
|
|
|
3127
|
-
// bazel-out/
|
|
3130
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3128
3131
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3129
3132
|
const context = [];
|
|
3130
3133
|
for (const decl of data) {
|
|
@@ -3320,7 +3323,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
3320
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}.`);
|
|
3321
3324
|
}
|
|
3322
3325
|
|
|
3323
|
-
// bazel-out/
|
|
3326
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3324
3327
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3325
3328
|
import ts14 from "typescript";
|
|
3326
3329
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3371,7 +3374,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3371
3374
|
return meta;
|
|
3372
3375
|
}
|
|
3373
3376
|
|
|
3374
|
-
// bazel-out/
|
|
3377
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3375
3378
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3376
3379
|
function compileNgFactoryDefField(metadata) {
|
|
3377
3380
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3394,7 +3397,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3394
3397
|
};
|
|
3395
3398
|
}
|
|
3396
3399
|
|
|
3397
|
-
// bazel-out/
|
|
3400
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3398
3401
|
var InjectableClassRegistry = class {
|
|
3399
3402
|
constructor(host, isCore) {
|
|
3400
3403
|
this.host = host;
|
|
@@ -3420,7 +3423,7 @@ var InjectableClassRegistry = class {
|
|
|
3420
3423
|
}
|
|
3421
3424
|
};
|
|
3422
3425
|
|
|
3423
|
-
// bazel-out/
|
|
3426
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3424
3427
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3425
3428
|
import ts15 from "typescript";
|
|
3426
3429
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3505,7 +3508,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3505
3508
|
return result.transformed[0];
|
|
3506
3509
|
}
|
|
3507
3510
|
|
|
3508
|
-
// bazel-out/
|
|
3511
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3509
3512
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3510
3513
|
import * as path from "path";
|
|
3511
3514
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
@@ -3532,13 +3535,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
3532
3535
|
return null;
|
|
3533
3536
|
}
|
|
3534
3537
|
|
|
3535
|
-
// bazel-out/
|
|
3538
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3536
3539
|
var NoopReferencesRegistry = class {
|
|
3537
3540
|
add(source, ...references) {
|
|
3538
3541
|
}
|
|
3539
3542
|
};
|
|
3540
3543
|
|
|
3541
|
-
// bazel-out/
|
|
3544
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3542
3545
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3543
3546
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3544
3547
|
const schemas = [];
|
|
@@ -3568,7 +3571,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3568
3571
|
return schemas;
|
|
3569
3572
|
}
|
|
3570
3573
|
|
|
3571
|
-
// bazel-out/
|
|
3574
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3572
3575
|
import { outputAst } from "@angular/compiler";
|
|
3573
3576
|
function compileInputTransformFields(inputs) {
|
|
3574
3577
|
const extraFields = [];
|
|
@@ -3586,11 +3589,11 @@ function compileInputTransformFields(inputs) {
|
|
|
3586
3589
|
return extraFields;
|
|
3587
3590
|
}
|
|
3588
3591
|
|
|
3589
|
-
// bazel-out/
|
|
3592
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3590
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";
|
|
3591
3594
|
import ts24 from "typescript";
|
|
3592
3595
|
|
|
3593
|
-
// bazel-out/
|
|
3596
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3594
3597
|
import ts16 from "typescript";
|
|
3595
3598
|
var SemanticSymbol = class {
|
|
3596
3599
|
constructor(decl) {
|
|
@@ -3606,7 +3609,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3606
3609
|
return decl.name.text;
|
|
3607
3610
|
}
|
|
3608
3611
|
|
|
3609
|
-
// bazel-out/
|
|
3612
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3610
3613
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3611
3614
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3612
3615
|
isPublicApiAffected() {
|
|
@@ -3749,10 +3752,10 @@ function getImportPath(expr) {
|
|
|
3749
3752
|
}
|
|
3750
3753
|
}
|
|
3751
3754
|
|
|
3752
|
-
// bazel-out/
|
|
3755
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3753
3756
|
import ts17 from "typescript";
|
|
3754
3757
|
|
|
3755
|
-
// bazel-out/
|
|
3758
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3756
3759
|
function isSymbolEqual(a, b) {
|
|
3757
3760
|
if (a.decl === b.decl) {
|
|
3758
3761
|
return true;
|
|
@@ -3802,7 +3805,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3802
3805
|
return true;
|
|
3803
3806
|
}
|
|
3804
3807
|
|
|
3805
|
-
// bazel-out/
|
|
3808
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3806
3809
|
function extractSemanticTypeParameters(node) {
|
|
3807
3810
|
if (!ts17.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3808
3811
|
return null;
|
|
@@ -3822,14 +3825,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3822
3825
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3823
3826
|
}
|
|
3824
3827
|
|
|
3825
|
-
// bazel-out/
|
|
3828
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3826
3829
|
var ComponentScopeKind;
|
|
3827
3830
|
(function(ComponentScopeKind2) {
|
|
3828
3831
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3829
3832
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3830
3833
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3831
3834
|
|
|
3832
|
-
// bazel-out/
|
|
3835
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3833
3836
|
var CompoundComponentScopeReader = class {
|
|
3834
3837
|
constructor(readers) {
|
|
3835
3838
|
this.readers = readers;
|
|
@@ -3854,7 +3857,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3854
3857
|
}
|
|
3855
3858
|
};
|
|
3856
3859
|
|
|
3857
|
-
// bazel-out/
|
|
3860
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3858
3861
|
var MetadataDtsModuleScopeResolver = class {
|
|
3859
3862
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3860
3863
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -3930,11 +3933,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
3930
3933
|
}
|
|
3931
3934
|
};
|
|
3932
3935
|
|
|
3933
|
-
// bazel-out/
|
|
3936
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
3934
3937
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3935
3938
|
import ts18 from "typescript";
|
|
3936
3939
|
|
|
3937
|
-
// bazel-out/
|
|
3940
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
3938
3941
|
function getDiagnosticNode(ref, rawExpr) {
|
|
3939
3942
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
3940
3943
|
}
|
|
@@ -3957,7 +3960,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
3957
3960
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
3958
3961
|
}
|
|
3959
3962
|
|
|
3960
|
-
// bazel-out/
|
|
3963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
3961
3964
|
var LocalModuleScopeRegistry = class {
|
|
3962
3965
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
3963
3966
|
this.localReader = localReader;
|
|
@@ -4296,7 +4299,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4296
4299
|
]);
|
|
4297
4300
|
}
|
|
4298
4301
|
|
|
4299
|
-
// bazel-out/
|
|
4302
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4300
4303
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4301
4304
|
import ts19 from "typescript";
|
|
4302
4305
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4365,10 +4368,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
4365
4368
|
}
|
|
4366
4369
|
};
|
|
4367
4370
|
|
|
4368
|
-
// bazel-out/
|
|
4371
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4369
4372
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4370
4373
|
|
|
4371
|
-
// bazel-out/
|
|
4374
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4372
4375
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4373
4376
|
import ts20 from "typescript";
|
|
4374
4377
|
var EMPTY_OBJECT = {};
|
|
@@ -4961,7 +4964,7 @@ function toR3InputMetadata(mapping) {
|
|
|
4961
4964
|
};
|
|
4962
4965
|
}
|
|
4963
4966
|
|
|
4964
|
-
// bazel-out/
|
|
4967
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4965
4968
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4966
4969
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4967
4970
|
super(decl);
|
|
@@ -5041,7 +5044,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5041
5044
|
return isSymbolEqual(current, previous);
|
|
5042
5045
|
}
|
|
5043
5046
|
|
|
5044
|
-
// bazel-out/
|
|
5047
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5045
5048
|
var FIELD_DECORATORS = [
|
|
5046
5049
|
"Input",
|
|
5047
5050
|
"Output",
|
|
@@ -5153,7 +5156,9 @@ var DirectiveDecoratorHandler = class {
|
|
|
5153
5156
|
isSignal: analysis.meta.isSignal,
|
|
5154
5157
|
imports: null,
|
|
5155
5158
|
schemas: null,
|
|
5159
|
+
ngContentSelectors: null,
|
|
5156
5160
|
decorator: analysis.decorator,
|
|
5161
|
+
preserveWhitespaces: false,
|
|
5157
5162
|
assumedToExportProviders: false
|
|
5158
5163
|
});
|
|
5159
5164
|
this.injectableRegistry.registerInjectable(node, {
|
|
@@ -5213,11 +5218,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5213
5218
|
}
|
|
5214
5219
|
};
|
|
5215
5220
|
|
|
5216
|
-
// bazel-out/
|
|
5221
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5217
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";
|
|
5218
5223
|
import ts22 from "typescript";
|
|
5219
5224
|
|
|
5220
|
-
// bazel-out/
|
|
5225
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5221
5226
|
import ts21 from "typescript";
|
|
5222
5227
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5223
5228
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5284,7 +5289,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5284
5289
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5285
5290
|
}
|
|
5286
5291
|
|
|
5287
|
-
// bazel-out/
|
|
5292
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5288
5293
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5289
5294
|
constructor(decl, hasProviders) {
|
|
5290
5295
|
super(decl);
|
|
@@ -5853,7 +5858,7 @@ function isSyntheticReference(ref) {
|
|
|
5853
5858
|
return ref.synthetic;
|
|
5854
5859
|
}
|
|
5855
5860
|
|
|
5856
|
-
// bazel-out/
|
|
5861
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5857
5862
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5858
5863
|
const name = ref.debugName || "(unknown)";
|
|
5859
5864
|
const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5876,7 +5881,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5876
5881
|
return null;
|
|
5877
5882
|
}
|
|
5878
5883
|
|
|
5879
|
-
// bazel-out/
|
|
5884
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5880
5885
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5881
5886
|
import ts23 from "typescript";
|
|
5882
5887
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -6235,7 +6240,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
6235
6240
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
6236
6241
|
}
|
|
6237
6242
|
|
|
6238
|
-
// bazel-out/
|
|
6243
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6239
6244
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6240
6245
|
constructor() {
|
|
6241
6246
|
super(...arguments);
|
|
@@ -6270,7 +6275,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6270
6275
|
}
|
|
6271
6276
|
};
|
|
6272
6277
|
|
|
6273
|
-
// bazel-out/
|
|
6278
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6274
6279
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6275
6280
|
if (value instanceof Map) {
|
|
6276
6281
|
const name = value.get("name");
|
|
@@ -6346,7 +6351,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
6346
6351
|
return false;
|
|
6347
6352
|
}
|
|
6348
6353
|
|
|
6349
|
-
// bazel-out/
|
|
6354
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
6350
6355
|
var EMPTY_ARRAY2 = [];
|
|
6351
6356
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
6352
6357
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -6622,10 +6627,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6622
6627
|
rawHostDirectives,
|
|
6623
6628
|
meta: {
|
|
6624
6629
|
...metadata,
|
|
6625
|
-
template
|
|
6626
|
-
nodes: template.nodes,
|
|
6627
|
-
ngContentSelectors: template.ngContentSelectors
|
|
6628
|
-
},
|
|
6630
|
+
template,
|
|
6629
6631
|
encapsulation,
|
|
6630
6632
|
changeDetection,
|
|
6631
6633
|
interpolation: (_c = template.interpolationConfig) != null ? _c : DEFAULT_INTERPOLATION_CONFIG2,
|
|
@@ -6669,6 +6671,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6669
6671
|
return new ComponentSymbol(node, analysis.meta.selector, analysis.inputs, analysis.outputs, analysis.meta.exportAs, analysis.typeCheckMeta, typeParameters);
|
|
6670
6672
|
}
|
|
6671
6673
|
register(node, analysis) {
|
|
6674
|
+
var _a;
|
|
6672
6675
|
const ref = new Reference(node);
|
|
6673
6676
|
this.metaRegistry.registerDirectiveMetadata({
|
|
6674
6677
|
kind: MetaKind.Directive,
|
|
@@ -6692,7 +6695,9 @@ var ComponentDecoratorHandler = class {
|
|
|
6692
6695
|
animationTriggerNames: analysis.animationTriggerNames,
|
|
6693
6696
|
schemas: analysis.schemas,
|
|
6694
6697
|
decorator: analysis.decorator,
|
|
6695
|
-
assumedToExportProviders: false
|
|
6698
|
+
assumedToExportProviders: false,
|
|
6699
|
+
ngContentSelectors: analysis.template.ngContentSelectors,
|
|
6700
|
+
preserveWhitespaces: (_a = analysis.template.preserveWhitespaces) != null ? _a : false
|
|
6696
6701
|
});
|
|
6697
6702
|
this.resourceRegistry.registerResources(analysis.resources, node);
|
|
6698
6703
|
this.injectableRegistry.registerInjectable(node, {
|
|
@@ -6731,6 +6736,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6731
6736
|
return null;
|
|
6732
6737
|
}
|
|
6733
6738
|
typeCheck(ctx, node, meta) {
|
|
6739
|
+
var _a;
|
|
6734
6740
|
if (this.typeCheckScopeRegistry === null || !ts24.isClassDeclaration(node)) {
|
|
6735
6741
|
return;
|
|
6736
6742
|
}
|
|
@@ -6742,7 +6748,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6742
6748
|
return;
|
|
6743
6749
|
}
|
|
6744
6750
|
const binder = new R3TargetBinder(scope.matcher);
|
|
6745
|
-
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);
|
|
6746
6752
|
}
|
|
6747
6753
|
extendedTemplateCheck(component, extendedTemplateChecker) {
|
|
6748
6754
|
return extendedTemplateChecker.getDiagnosticsForComponent(component);
|
|
@@ -7158,7 +7164,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
7158
7164
|
return diagnostics;
|
|
7159
7165
|
}
|
|
7160
7166
|
|
|
7161
|
-
// bazel-out/
|
|
7167
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
7162
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";
|
|
7163
7169
|
import ts25 from "typescript";
|
|
7164
7170
|
var InjectableDecoratorHandler = class {
|
|
@@ -7384,7 +7390,7 @@ function getDep(dep, reflector) {
|
|
|
7384
7390
|
return meta;
|
|
7385
7391
|
}
|
|
7386
7392
|
|
|
7387
|
-
// bazel-out/
|
|
7393
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
7388
7394
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
7389
7395
|
import ts26 from "typescript";
|
|
7390
7396
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -7536,14 +7542,14 @@ var PipeDecoratorHandler = class {
|
|
|
7536
7542
|
}
|
|
7537
7543
|
};
|
|
7538
7544
|
|
|
7539
|
-
// bazel-out/
|
|
7545
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
7540
7546
|
var OptimizeFor;
|
|
7541
7547
|
(function(OptimizeFor2) {
|
|
7542
7548
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
7543
7549
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
7544
7550
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
7545
7551
|
|
|
7546
|
-
// bazel-out/
|
|
7552
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
7547
7553
|
var PotentialImportKind;
|
|
7548
7554
|
(function(PotentialImportKind2) {
|
|
7549
7555
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -7555,14 +7561,14 @@ var PotentialImportMode;
|
|
|
7555
7561
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
7556
7562
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
7557
7563
|
|
|
7558
|
-
// bazel-out/
|
|
7564
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
7559
7565
|
var CompletionKind;
|
|
7560
7566
|
(function(CompletionKind2) {
|
|
7561
7567
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
7562
7568
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
7563
7569
|
})(CompletionKind || (CompletionKind = {}));
|
|
7564
7570
|
|
|
7565
|
-
// bazel-out/
|
|
7571
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
7566
7572
|
var SymbolKind;
|
|
7567
7573
|
(function(SymbolKind2) {
|
|
7568
7574
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -7630,4 +7636,4 @@ export {
|
|
|
7630
7636
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7631
7637
|
* found in the LICENSE file at https://angular.io/license
|
|
7632
7638
|
*/
|
|
7633
|
-
//# sourceMappingURL=chunk-
|
|
7639
|
+
//# sourceMappingURL=chunk-ILV5JRA3.js.map
|