@angular/compiler-cli 18.1.0-rc.0 → 18.1.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-WTQ7UQOL.js → chunk-AOEZR223.js} +43 -43
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-S6XWL3LN.js → chunk-BKZN6F4B.js} +138 -135
- package/bundles/{chunk-S6XWL3LN.js.map → chunk-BKZN6F4B.js.map} +1 -1
- package/bundles/{chunk-TNEE4FUS.js → chunk-HXUTQSG7.js} +31 -31
- package/bundles/{chunk-OZ2N4CUX.js → chunk-JQI7OB4Q.js} +94 -86
- package/bundles/chunk-JQI7OB4Q.js.map +6 -0
- package/bundles/{chunk-LM7LLDVD.js → chunk-MLBHTW5L.js} +5 -5
- package/bundles/{chunk-2T3WTZXW.js → chunk-N6GPWJA3.js} +13 -13
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/index.js +11 -11
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- 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 +4 -4
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/bundles/chunk-OZ2N4CUX.js.map +0 -6
- /package/bundles/{chunk-WTQ7UQOL.js.map → chunk-AOEZR223.js.map} +0 -0
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-TNEE4FUS.js.map → chunk-HXUTQSG7.js.map} +0 -0
- /package/bundles/{chunk-LM7LLDVD.js.map → chunk-MLBHTW5L.js.map} +0 -0
- /package/bundles/{chunk-2T3WTZXW.js.map → chunk-N6GPWJA3.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
|
@@ -45,20 +45,20 @@ import {
|
|
|
45
45
|
translateStatement,
|
|
46
46
|
translateType,
|
|
47
47
|
typeNodeToValueExpr
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-AOEZR223.js";
|
|
49
49
|
import {
|
|
50
50
|
PerfCheckpoint,
|
|
51
51
|
PerfEvent,
|
|
52
52
|
PerfPhase
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-AQFTVE7F.js";
|
|
54
54
|
import {
|
|
55
55
|
absoluteFrom,
|
|
56
56
|
absoluteFromSourceFile,
|
|
57
57
|
getSourceFileOrError,
|
|
58
58
|
relative
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-XNL3EK5H.js";
|
|
60
60
|
|
|
61
|
-
// bazel-out/
|
|
61
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
62
62
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
63
63
|
import ts from "typescript";
|
|
64
64
|
var CORE_MODULE = "@angular/core";
|
|
@@ -317,7 +317,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
317
317
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
321
321
|
var DynamicValue = class {
|
|
322
322
|
constructor(node, reason, code) {
|
|
323
323
|
this.node = node;
|
|
@@ -407,10 +407,10 @@ var DynamicValue = class {
|
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
|
|
410
|
-
// bazel-out/
|
|
410
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
411
411
|
import ts2 from "typescript";
|
|
412
412
|
|
|
413
|
-
// bazel-out/
|
|
413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
414
414
|
var ResolvedModule = class {
|
|
415
415
|
constructor(exports, evaluate) {
|
|
416
416
|
this.exports = exports;
|
|
@@ -440,7 +440,7 @@ var EnumValue = class {
|
|
|
440
440
|
var KnownFn = class {
|
|
441
441
|
};
|
|
442
442
|
|
|
443
|
-
// bazel-out/
|
|
443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
444
444
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
445
445
|
constructor(lhs) {
|
|
446
446
|
super();
|
|
@@ -492,14 +492,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
494
|
|
|
495
|
-
// bazel-out/
|
|
495
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
496
496
|
var SyntheticValue = class {
|
|
497
497
|
constructor(value) {
|
|
498
498
|
this.value = value;
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
|
|
502
|
-
// bazel-out/
|
|
502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
503
503
|
function literalBinaryOp(op) {
|
|
504
504
|
return { op, literal: true };
|
|
505
505
|
}
|
|
@@ -1077,7 +1077,7 @@ function owningModule(context, override = null) {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
-
// bazel-out/
|
|
1080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1081
1081
|
var PartialEvaluator = class {
|
|
1082
1082
|
constructor(host, checker, dependencyTracker) {
|
|
1083
1083
|
this.host = host;
|
|
@@ -1097,7 +1097,7 @@ var PartialEvaluator = class {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
};
|
|
1099
1099
|
|
|
1100
|
-
// bazel-out/
|
|
1100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1101
1101
|
import ts3 from "typescript";
|
|
1102
1102
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1103
1103
|
var _a, _b;
|
|
@@ -1231,14 +1231,14 @@ function getContainerNode(node) {
|
|
|
1231
1231
|
return node.getSourceFile();
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
|
-
// bazel-out/
|
|
1234
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
1235
1235
|
var OptimizeFor;
|
|
1236
1236
|
(function(OptimizeFor2) {
|
|
1237
1237
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
1238
1238
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
1239
1239
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
1240
1240
|
|
|
1241
|
-
// bazel-out/
|
|
1241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
1242
1242
|
var PotentialImportKind;
|
|
1243
1243
|
(function(PotentialImportKind2) {
|
|
1244
1244
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -1250,7 +1250,7 @@ var PotentialImportMode;
|
|
|
1250
1250
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
1251
1251
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
1252
1252
|
|
|
1253
|
-
// bazel-out/
|
|
1253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
1254
1254
|
var CompletionKind;
|
|
1255
1255
|
(function(CompletionKind2) {
|
|
1256
1256
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -1258,7 +1258,7 @@ var CompletionKind;
|
|
|
1258
1258
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
1259
1259
|
})(CompletionKind || (CompletionKind = {}));
|
|
1260
1260
|
|
|
1261
|
-
// bazel-out/
|
|
1261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
1262
1262
|
var SymbolKind;
|
|
1263
1263
|
(function(SymbolKind2) {
|
|
1264
1264
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -1275,7 +1275,7 @@ var SymbolKind;
|
|
|
1275
1275
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
1276
1276
|
})(SymbolKind || (SymbolKind = {}));
|
|
1277
1277
|
|
|
1278
|
-
// bazel-out/
|
|
1278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1279
1279
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1280
1280
|
import ts4 from "typescript";
|
|
1281
1281
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1421,10 +1421,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1421
1421
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
|
-
// bazel-out/
|
|
1424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1425
1425
|
import ts12 from "typescript";
|
|
1426
1426
|
|
|
1427
|
-
// bazel-out/
|
|
1427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1428
1428
|
var MetaKind;
|
|
1429
1429
|
(function(MetaKind2) {
|
|
1430
1430
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1437,10 +1437,10 @@ var MatchSource;
|
|
|
1437
1437
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1438
1438
|
})(MatchSource || (MatchSource = {}));
|
|
1439
1439
|
|
|
1440
|
-
// bazel-out/
|
|
1440
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1441
1441
|
import ts6 from "typescript";
|
|
1442
1442
|
|
|
1443
|
-
// bazel-out/
|
|
1443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1444
1444
|
var ClassPropertyMapping = class {
|
|
1445
1445
|
constructor(forwardMap) {
|
|
1446
1446
|
this.forwardMap = forwardMap;
|
|
@@ -1520,7 +1520,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1520
1520
|
return reverseMap;
|
|
1521
1521
|
}
|
|
1522
1522
|
|
|
1523
|
-
// bazel-out/
|
|
1523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1524
1524
|
import ts5 from "typescript";
|
|
1525
1525
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1526
1526
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1716,7 +1716,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
1716
1716
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
// bazel-out/
|
|
1719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1720
1720
|
var DtsMetadataReader = class {
|
|
1721
1721
|
constructor(checker, reflector) {
|
|
1722
1722
|
this.checker = checker;
|
|
@@ -1899,7 +1899,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1899
1899
|
return result.length > 0 ? result : null;
|
|
1900
1900
|
}
|
|
1901
1901
|
|
|
1902
|
-
// bazel-out/
|
|
1902
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1903
1903
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1904
1904
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1905
1905
|
if (topMeta === null) {
|
|
@@ -1963,7 +1963,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1963
1963
|
};
|
|
1964
1964
|
}
|
|
1965
1965
|
|
|
1966
|
-
// bazel-out/
|
|
1966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1967
1967
|
var LocalMetadataRegistry = class {
|
|
1968
1968
|
constructor() {
|
|
1969
1969
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2020,7 +2020,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2020
2020
|
}
|
|
2021
2021
|
};
|
|
2022
2022
|
|
|
2023
|
-
// bazel-out/
|
|
2023
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2024
2024
|
var ResourceRegistry = class {
|
|
2025
2025
|
constructor() {
|
|
2026
2026
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2085,7 +2085,7 @@ var ResourceRegistry = class {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
};
|
|
2087
2087
|
|
|
2088
|
-
// bazel-out/
|
|
2088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
2089
2089
|
var ExportedProviderStatusResolver = class {
|
|
2090
2090
|
constructor(metaReader) {
|
|
2091
2091
|
this.metaReader = metaReader;
|
|
@@ -2129,7 +2129,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
2129
2129
|
}
|
|
2130
2130
|
};
|
|
2131
2131
|
|
|
2132
|
-
// bazel-out/
|
|
2132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2133
2133
|
var EMPTY_ARRAY = [];
|
|
2134
2134
|
var HostDirectivesResolver = class {
|
|
2135
2135
|
constructor(metaReader) {
|
|
@@ -2195,7 +2195,7 @@ function resolveOutput(bindingName) {
|
|
|
2195
2195
|
return bindingName;
|
|
2196
2196
|
}
|
|
2197
2197
|
|
|
2198
|
-
// bazel-out/
|
|
2198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2199
2199
|
var CompilationMode;
|
|
2200
2200
|
(function(CompilationMode2) {
|
|
2201
2201
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2209,7 +2209,7 @@ var HandlerPrecedence;
|
|
|
2209
2209
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
2210
2210
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
2211
2211
|
|
|
2212
|
-
// bazel-out/
|
|
2212
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2213
2213
|
import ts7 from "typescript";
|
|
2214
2214
|
function aliasTransformFactory(exportStatements) {
|
|
2215
2215
|
return () => {
|
|
@@ -2234,10 +2234,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2234
2234
|
};
|
|
2235
2235
|
}
|
|
2236
2236
|
|
|
2237
|
-
// bazel-out/
|
|
2237
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2238
2238
|
import ts8 from "typescript";
|
|
2239
2239
|
|
|
2240
|
-
// bazel-out/
|
|
2240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2241
2241
|
var TraitState;
|
|
2242
2242
|
(function(TraitState2) {
|
|
2243
2243
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2294,7 +2294,7 @@ var TraitImpl = class {
|
|
|
2294
2294
|
}
|
|
2295
2295
|
};
|
|
2296
2296
|
|
|
2297
|
-
// bazel-out/
|
|
2297
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2298
2298
|
var TraitCompiler = class {
|
|
2299
2299
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
2300
2300
|
this.handlers = handlers;
|
|
@@ -2753,7 +2753,7 @@ function containsErrors(diagnostics) {
|
|
|
2753
2753
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
|
|
2754
2754
|
}
|
|
2755
2755
|
|
|
2756
|
-
// bazel-out/
|
|
2756
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
2757
2757
|
import ts9 from "typescript";
|
|
2758
2758
|
var DtsTransformRegistry = class {
|
|
2759
2759
|
constructor() {
|
|
@@ -2903,11 +2903,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
2903
2903
|
ts9.forEachChild(node, markForEmitAsSingleLine);
|
|
2904
2904
|
}
|
|
2905
2905
|
|
|
2906
|
-
// bazel-out/
|
|
2906
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2907
2907
|
import { ConstantPool } from "@angular/compiler";
|
|
2908
2908
|
import ts11 from "typescript";
|
|
2909
2909
|
|
|
2910
|
-
// bazel-out/
|
|
2910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2911
2911
|
import ts10 from "typescript";
|
|
2912
2912
|
function visit(node, visitor, context) {
|
|
2913
2913
|
return visitor._visit(node, context);
|
|
@@ -2968,7 +2968,7 @@ var Visitor = class {
|
|
|
2968
2968
|
}
|
|
2969
2969
|
};
|
|
2970
2970
|
|
|
2971
|
-
// bazel-out/
|
|
2971
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2972
2972
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
2973
2973
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
2974
2974
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3204,7 +3204,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
3204
3204
|
return array;
|
|
3205
3205
|
}
|
|
3206
3206
|
|
|
3207
|
-
// bazel-out/
|
|
3207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3208
3208
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3209
3209
|
const context = [];
|
|
3210
3210
|
for (const decl of data) {
|
|
@@ -3413,7 +3413,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
3413
3413
|
}
|
|
3414
3414
|
}
|
|
3415
3415
|
|
|
3416
|
-
// bazel-out/
|
|
3416
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3417
3417
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3418
3418
|
import ts13 from "typescript";
|
|
3419
3419
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3464,7 +3464,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3464
3464
|
return meta;
|
|
3465
3465
|
}
|
|
3466
3466
|
|
|
3467
|
-
// bazel-out/
|
|
3467
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3468
3468
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3469
3469
|
function compileNgFactoryDefField(metadata) {
|
|
3470
3470
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3487,7 +3487,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3487
3487
|
};
|
|
3488
3488
|
}
|
|
3489
3489
|
|
|
3490
|
-
// bazel-out/
|
|
3490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3491
3491
|
var InjectableClassRegistry = class {
|
|
3492
3492
|
constructor(host, isCore) {
|
|
3493
3493
|
this.host = host;
|
|
@@ -3513,7 +3513,7 @@ var InjectableClassRegistry = class {
|
|
|
3513
3513
|
}
|
|
3514
3514
|
};
|
|
3515
3515
|
|
|
3516
|
-
// bazel-out/
|
|
3516
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3517
3517
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3518
3518
|
import ts14 from "typescript";
|
|
3519
3519
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3600,7 +3600,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3600
3600
|
return result.transformed[0];
|
|
3601
3601
|
}
|
|
3602
3602
|
|
|
3603
|
-
// bazel-out/
|
|
3603
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3604
3604
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3605
3605
|
import * as path from "path";
|
|
3606
3606
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
@@ -3627,13 +3627,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
3627
3627
|
return null;
|
|
3628
3628
|
}
|
|
3629
3629
|
|
|
3630
|
-
// bazel-out/
|
|
3630
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3631
3631
|
var NoopReferencesRegistry = class {
|
|
3632
3632
|
add(source, ...references) {
|
|
3633
3633
|
}
|
|
3634
3634
|
};
|
|
3635
3635
|
|
|
3636
|
-
// bazel-out/
|
|
3636
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3637
3637
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3638
3638
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3639
3639
|
const schemas = [];
|
|
@@ -3663,7 +3663,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3663
3663
|
return schemas;
|
|
3664
3664
|
}
|
|
3665
3665
|
|
|
3666
|
-
// bazel-out/
|
|
3666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3667
3667
|
import { outputAst } from "@angular/compiler";
|
|
3668
3668
|
function compileInputTransformFields(inputs) {
|
|
3669
3669
|
const extraFields = [];
|
|
@@ -3681,11 +3681,11 @@ function compileInputTransformFields(inputs) {
|
|
|
3681
3681
|
return extraFields;
|
|
3682
3682
|
}
|
|
3683
3683
|
|
|
3684
|
-
// bazel-out/
|
|
3684
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3685
3685
|
import { compileClassDebugInfo, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, CssSelector as CssSelector4, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr8, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
|
|
3686
3686
|
import ts45 from "typescript";
|
|
3687
3687
|
|
|
3688
|
-
// bazel-out/
|
|
3688
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3689
3689
|
import ts15 from "typescript";
|
|
3690
3690
|
var SemanticSymbol = class {
|
|
3691
3691
|
constructor(decl) {
|
|
@@ -3701,7 +3701,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3701
3701
|
return decl.name.text;
|
|
3702
3702
|
}
|
|
3703
3703
|
|
|
3704
|
-
// bazel-out/
|
|
3704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3705
3705
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3706
3706
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3707
3707
|
isPublicApiAffected() {
|
|
@@ -3844,10 +3844,10 @@ function getImportPath(expr) {
|
|
|
3844
3844
|
}
|
|
3845
3845
|
}
|
|
3846
3846
|
|
|
3847
|
-
// bazel-out/
|
|
3847
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3848
3848
|
import ts16 from "typescript";
|
|
3849
3849
|
|
|
3850
|
-
// bazel-out/
|
|
3850
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3851
3851
|
function isSymbolEqual(a, b) {
|
|
3852
3852
|
if (a.decl === b.decl) {
|
|
3853
3853
|
return true;
|
|
@@ -3897,7 +3897,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3897
3897
|
return true;
|
|
3898
3898
|
}
|
|
3899
3899
|
|
|
3900
|
-
// bazel-out/
|
|
3900
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3901
3901
|
function extractSemanticTypeParameters(node) {
|
|
3902
3902
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3903
3903
|
return null;
|
|
@@ -3919,14 +3919,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3919
3919
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3920
3920
|
}
|
|
3921
3921
|
|
|
3922
|
-
// bazel-out/
|
|
3922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3923
3923
|
var ComponentScopeKind;
|
|
3924
3924
|
(function(ComponentScopeKind2) {
|
|
3925
3925
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3926
3926
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3927
3927
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3928
3928
|
|
|
3929
|
-
// bazel-out/
|
|
3929
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3930
3930
|
var CompoundComponentScopeReader = class {
|
|
3931
3931
|
constructor(readers) {
|
|
3932
3932
|
this.readers = readers;
|
|
@@ -3951,7 +3951,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3951
3951
|
}
|
|
3952
3952
|
};
|
|
3953
3953
|
|
|
3954
|
-
// bazel-out/
|
|
3954
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3955
3955
|
var MetadataDtsModuleScopeResolver = class {
|
|
3956
3956
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3957
3957
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -4027,11 +4027,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4027
4027
|
}
|
|
4028
4028
|
};
|
|
4029
4029
|
|
|
4030
|
-
// bazel-out/
|
|
4030
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4031
4031
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
4032
4032
|
import ts17 from "typescript";
|
|
4033
4033
|
|
|
4034
|
-
// bazel-out/
|
|
4034
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
4035
4035
|
function getDiagnosticNode(ref, rawExpr) {
|
|
4036
4036
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
4037
4037
|
}
|
|
@@ -4057,7 +4057,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
4057
4057
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
4058
4058
|
}
|
|
4059
4059
|
|
|
4060
|
-
// bazel-out/
|
|
4060
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4061
4061
|
var LocalModuleScopeRegistry = class {
|
|
4062
4062
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
4063
4063
|
this.localReader = localReader;
|
|
@@ -4398,7 +4398,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4398
4398
|
]);
|
|
4399
4399
|
}
|
|
4400
4400
|
|
|
4401
|
-
// bazel-out/
|
|
4401
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4402
4402
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4403
4403
|
import ts18 from "typescript";
|
|
4404
4404
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4479,14 +4479,14 @@ var TypeCheckScopeRegistry = class {
|
|
|
4479
4479
|
}
|
|
4480
4480
|
};
|
|
4481
4481
|
|
|
4482
|
-
// bazel-out/
|
|
4482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4483
4483
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4484
4484
|
|
|
4485
|
-
// bazel-out/
|
|
4485
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4486
4486
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4487
4487
|
import ts22 from "typescript";
|
|
4488
4488
|
|
|
4489
|
-
// bazel-out/
|
|
4489
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
4490
4490
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
4491
4491
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
4492
4492
|
throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
|
|
@@ -4495,7 +4495,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
4495
4495
|
}
|
|
4496
4496
|
}
|
|
4497
4497
|
|
|
4498
|
-
// bazel-out/
|
|
4498
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
4499
4499
|
import ts19 from "typescript";
|
|
4500
4500
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
4501
4501
|
if (!ts19.isCallExpression(expression)) {
|
|
@@ -4564,7 +4564,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
4564
4564
|
return { api: matchingApi, apiReference, isRequired };
|
|
4565
4565
|
}
|
|
4566
4566
|
|
|
4567
|
-
// bazel-out/
|
|
4567
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
4568
4568
|
import ts20 from "typescript";
|
|
4569
4569
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
4570
4570
|
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -4582,7 +4582,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
4582
4582
|
return { alias };
|
|
4583
4583
|
}
|
|
4584
4584
|
|
|
4585
|
-
// bazel-out/
|
|
4585
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
4586
4586
|
var INPUT_INITIALIZER_FN = {
|
|
4587
4587
|
functionName: "input",
|
|
4588
4588
|
owningModule: "@angular/core",
|
|
@@ -4614,7 +4614,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
4614
4614
|
};
|
|
4615
4615
|
}
|
|
4616
4616
|
|
|
4617
|
-
// bazel-out/
|
|
4617
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
4618
4618
|
var MODEL_INITIALIZER_FN = {
|
|
4619
4619
|
functionName: "model",
|
|
4620
4620
|
owningModule: "@angular/core",
|
|
@@ -4655,7 +4655,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
4655
4655
|
};
|
|
4656
4656
|
}
|
|
4657
4657
|
|
|
4658
|
-
// bazel-out/
|
|
4658
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
4659
4659
|
var allowedAccessLevels = [
|
|
4660
4660
|
ClassMemberAccessLevel.PublicWritable,
|
|
4661
4661
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -4699,7 +4699,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
4699
4699
|
};
|
|
4700
4700
|
}
|
|
4701
4701
|
|
|
4702
|
-
// bazel-out/
|
|
4702
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
4703
4703
|
import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
|
|
4704
4704
|
import ts21 from "typescript";
|
|
4705
4705
|
var queryFunctionNames = [
|
|
@@ -4784,7 +4784,7 @@ function parseDescendantsOption(value) {
|
|
|
4784
4784
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
4785
4785
|
}
|
|
4786
4786
|
|
|
4787
|
-
// bazel-out/
|
|
4787
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4788
4788
|
var EMPTY_OBJECT = {};
|
|
4789
4789
|
var queryDecoratorNames = [
|
|
4790
4790
|
"ViewChild",
|
|
@@ -5584,7 +5584,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5584
5584
|
};
|
|
5585
5585
|
}
|
|
5586
5586
|
|
|
5587
|
-
// bazel-out/
|
|
5587
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5588
5588
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5589
5589
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
5590
5590
|
super(decl);
|
|
@@ -5664,7 +5664,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5664
5664
|
return isSymbolEqual(current, previous);
|
|
5665
5665
|
}
|
|
5666
5666
|
|
|
5667
|
-
// bazel-out/
|
|
5667
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5668
5668
|
var FIELD_DECORATORS = [
|
|
5669
5669
|
"Input",
|
|
5670
5670
|
"Output",
|
|
@@ -5857,11 +5857,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5857
5857
|
}
|
|
5858
5858
|
};
|
|
5859
5859
|
|
|
5860
|
-
// bazel-out/
|
|
5860
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5861
5861
|
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";
|
|
5862
5862
|
import ts24 from "typescript";
|
|
5863
5863
|
|
|
5864
|
-
// bazel-out/
|
|
5864
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5865
5865
|
import ts23 from "typescript";
|
|
5866
5866
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5867
5867
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5933,7 +5933,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5933
5933
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5934
5934
|
}
|
|
5935
5935
|
|
|
5936
|
-
// bazel-out/
|
|
5936
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5937
5937
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5938
5938
|
constructor(decl, hasProviders) {
|
|
5939
5939
|
super(decl);
|
|
@@ -6550,7 +6550,7 @@ function isSyntheticReference(ref) {
|
|
|
6550
6550
|
return ref.synthetic;
|
|
6551
6551
|
}
|
|
6552
6552
|
|
|
6553
|
-
// bazel-out/
|
|
6553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6554
6554
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6555
6555
|
const name = ref.debugName || "(unknown)";
|
|
6556
6556
|
const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6573,7 +6573,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6573
6573
|
return null;
|
|
6574
6574
|
}
|
|
6575
6575
|
|
|
6576
|
-
// bazel-out/
|
|
6576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6577
6577
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6578
6578
|
import ts25 from "typescript";
|
|
6579
6579
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -6931,7 +6931,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
6931
6931
|
}));
|
|
6932
6932
|
}
|
|
6933
6933
|
|
|
6934
|
-
// bazel-out/
|
|
6934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6935
6935
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6936
6936
|
constructor() {
|
|
6937
6937
|
super(...arguments);
|
|
@@ -6966,7 +6966,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6966
6966
|
}
|
|
6967
6967
|
};
|
|
6968
6968
|
|
|
6969
|
-
// bazel-out/
|
|
6969
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6970
6970
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6971
6971
|
if (value instanceof Map) {
|
|
6972
6972
|
const name = value.get("name");
|
|
@@ -7043,10 +7043,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7043
7043
|
return false;
|
|
7044
7044
|
}
|
|
7045
7045
|
|
|
7046
|
-
// bazel-out/
|
|
7046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7047
7047
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7048
7048
|
|
|
7049
|
-
// bazel-out/
|
|
7049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7050
7050
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7051
7051
|
var UpdateMode;
|
|
7052
7052
|
(function(UpdateMode2) {
|
|
@@ -7054,13 +7054,13 @@ var UpdateMode;
|
|
|
7054
7054
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7055
7055
|
})(UpdateMode || (UpdateMode = {}));
|
|
7056
7056
|
|
|
7057
|
-
// bazel-out/
|
|
7057
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7058
7058
|
import ts27 from "typescript";
|
|
7059
7059
|
|
|
7060
|
-
// bazel-out/
|
|
7060
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7061
7061
|
import ts26 from "typescript";
|
|
7062
7062
|
|
|
7063
|
-
// bazel-out/
|
|
7063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7064
7064
|
var NgExtension = Symbol("NgExtension");
|
|
7065
7065
|
function isExtended(sf) {
|
|
7066
7066
|
return sf[NgExtension] !== void 0;
|
|
@@ -7120,13 +7120,13 @@ function retagTsFile(sf) {
|
|
|
7120
7120
|
}
|
|
7121
7121
|
}
|
|
7122
7122
|
|
|
7123
|
-
// bazel-out/
|
|
7123
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7124
7124
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7125
7125
|
function makeShimFileName(fileName, suffix) {
|
|
7126
7126
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7127
7127
|
}
|
|
7128
7128
|
|
|
7129
|
-
// bazel-out/
|
|
7129
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7130
7130
|
var ShimAdapter = class {
|
|
7131
7131
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
7132
7132
|
this.delegate = delegate;
|
|
@@ -7221,7 +7221,7 @@ var ShimAdapter = class {
|
|
|
7221
7221
|
}
|
|
7222
7222
|
};
|
|
7223
7223
|
|
|
7224
|
-
// bazel-out/
|
|
7224
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7225
7225
|
var ShimReferenceTagger = class {
|
|
7226
7226
|
constructor(shimExtensions) {
|
|
7227
7227
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -7255,7 +7255,7 @@ var ShimReferenceTagger = class {
|
|
|
7255
7255
|
}
|
|
7256
7256
|
};
|
|
7257
7257
|
|
|
7258
|
-
// bazel-out/
|
|
7258
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7259
7259
|
var DelegatingCompilerHost = class {
|
|
7260
7260
|
get jsDocParsingMode() {
|
|
7261
7261
|
return this.delegate.jsDocParsingMode;
|
|
@@ -7373,7 +7373,7 @@ var TsCreateProgramDriver = class {
|
|
|
7373
7373
|
}
|
|
7374
7374
|
};
|
|
7375
7375
|
|
|
7376
|
-
// bazel-out/
|
|
7376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7377
7377
|
import ts28 from "typescript";
|
|
7378
7378
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7379
7379
|
var _a;
|
|
@@ -7484,7 +7484,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7484
7484
|
);
|
|
7485
7485
|
}
|
|
7486
7486
|
|
|
7487
|
-
// bazel-out/
|
|
7487
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7488
7488
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7489
7489
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7490
7490
|
function getTemplateId(clazz) {
|
|
@@ -7501,11 +7501,11 @@ function allocateTemplateId(sf) {
|
|
|
7501
7501
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7502
7502
|
}
|
|
7503
7503
|
|
|
7504
|
-
// bazel-out/
|
|
7504
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7505
7505
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7506
7506
|
import ts30 from "typescript";
|
|
7507
7507
|
|
|
7508
|
-
// bazel-out/
|
|
7508
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7509
7509
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7510
7510
|
import ts29 from "typescript";
|
|
7511
7511
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7636,7 +7636,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7636
7636
|
}) || false;
|
|
7637
7637
|
}
|
|
7638
7638
|
|
|
7639
|
-
// bazel-out/
|
|
7639
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7640
7640
|
var CompletionEngine = class {
|
|
7641
7641
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
7642
7642
|
this.tcb = tcb;
|
|
@@ -8818,10 +8818,10 @@ var MagicString = class {
|
|
|
8818
8818
|
}
|
|
8819
8819
|
};
|
|
8820
8820
|
|
|
8821
|
-
// bazel-out/
|
|
8821
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8822
8822
|
import ts43 from "typescript";
|
|
8823
8823
|
|
|
8824
|
-
// bazel-out/
|
|
8824
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8825
8825
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
8826
8826
|
import ts31 from "typescript";
|
|
8827
8827
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -8874,10 +8874,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
8874
8874
|
}
|
|
8875
8875
|
};
|
|
8876
8876
|
|
|
8877
|
-
// bazel-out/
|
|
8877
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8878
8878
|
import ts36 from "typescript";
|
|
8879
8879
|
|
|
8880
|
-
// bazel-out/
|
|
8880
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
8881
8881
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
8882
8882
|
var ReferenceEmitEnvironment = class {
|
|
8883
8883
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -8908,7 +8908,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
8908
8908
|
}
|
|
8909
8909
|
};
|
|
8910
8910
|
|
|
8911
|
-
// bazel-out/
|
|
8911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8912
8912
|
import ts32 from "typescript";
|
|
8913
8913
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
8914
8914
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -8991,15 +8991,15 @@ function tsNumericExpression(value) {
|
|
|
8991
8991
|
return ts32.factory.createNumericLiteral(value);
|
|
8992
8992
|
}
|
|
8993
8993
|
|
|
8994
|
-
// bazel-out/
|
|
8994
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
8995
8995
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
8996
8996
|
import ts35 from "typescript";
|
|
8997
8997
|
|
|
8998
|
-
// bazel-out/
|
|
8998
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
8999
8999
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9000
9000
|
import ts34 from "typescript";
|
|
9001
9001
|
|
|
9002
|
-
// bazel-out/
|
|
9002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9003
9003
|
import ts33 from "typescript";
|
|
9004
9004
|
var TypeParameterEmitter = class {
|
|
9005
9005
|
constructor(typeParameters, reflector) {
|
|
@@ -9077,7 +9077,7 @@ var TypeParameterEmitter = class {
|
|
|
9077
9077
|
}
|
|
9078
9078
|
};
|
|
9079
9079
|
|
|
9080
|
-
// bazel-out/
|
|
9080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9081
9081
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9082
9082
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9083
9083
|
];
|
|
@@ -9169,7 +9169,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9169
9169
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9170
9170
|
}
|
|
9171
9171
|
|
|
9172
|
-
// bazel-out/
|
|
9172
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9173
9173
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9174
9174
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9175
9175
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9292,7 +9292,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9292
9292
|
});
|
|
9293
9293
|
}
|
|
9294
9294
|
|
|
9295
|
-
// bazel-out/
|
|
9295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9296
9296
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9297
9297
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
9298
9298
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -9364,7 +9364,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9364
9364
|
}
|
|
9365
9365
|
};
|
|
9366
9366
|
|
|
9367
|
-
// bazel-out/
|
|
9367
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9368
9368
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9369
9369
|
import ts37 from "typescript";
|
|
9370
9370
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9566,7 +9566,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9566
9566
|
};
|
|
9567
9567
|
}
|
|
9568
9568
|
|
|
9569
|
-
// bazel-out/
|
|
9569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9570
9570
|
import ts38 from "typescript";
|
|
9571
9571
|
var TypeCheckShimGenerator = class {
|
|
9572
9572
|
constructor() {
|
|
@@ -9584,11 +9584,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9584
9584
|
}
|
|
9585
9585
|
};
|
|
9586
9586
|
|
|
9587
|
-
// bazel-out/
|
|
9587
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9588
9588
|
import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector as CssSelector2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver2, ParsedEventType, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite2, R3Identifiers as R3Identifiers4, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher as SelectorMatcher2, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstReference as TmplAstReference2, TmplAstSwitchBlock, TmplAstTemplate, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
|
|
9589
9589
|
import ts41 from "typescript";
|
|
9590
9590
|
|
|
9591
|
-
// bazel-out/
|
|
9591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9592
9592
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9593
9593
|
import ts39 from "typescript";
|
|
9594
9594
|
function wrapForDiagnostics(expr) {
|
|
@@ -9644,7 +9644,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9644
9644
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9645
9645
|
}
|
|
9646
9646
|
|
|
9647
|
-
// bazel-out/
|
|
9647
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9648
9648
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9649
9649
|
import ts40 from "typescript";
|
|
9650
9650
|
var NULL_AS_ANY = ts40.factory.createAsExpression(ts40.factory.createNull(), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -9977,7 +9977,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
9977
9977
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
9978
9978
|
})();
|
|
9979
9979
|
|
|
9980
|
-
// bazel-out/
|
|
9980
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9981
9981
|
var TcbGenericContextBehavior;
|
|
9982
9982
|
(function(TcbGenericContextBehavior2) {
|
|
9983
9983
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -10773,14 +10773,14 @@ var TcbIfOp = class extends TcbOp {
|
|
|
10773
10773
|
const branchScope = this.getBranchScope(this.scope, branch, index);
|
|
10774
10774
|
return ts41.factory.createBlock(branchScope.render());
|
|
10775
10775
|
}
|
|
10776
|
-
const
|
|
10777
|
-
|
|
10778
|
-
this.expressionScopes.set(branch,
|
|
10779
|
-
let expression = tcbExpression(branch.expression, this.tcb,
|
|
10776
|
+
const outerScope = Scope.forNodes(this.tcb, this.scope, branch, [], null);
|
|
10777
|
+
outerScope.render().forEach((stmt) => this.scope.addStatement(stmt));
|
|
10778
|
+
this.expressionScopes.set(branch, outerScope);
|
|
10779
|
+
let expression = tcbExpression(branch.expression, this.tcb, this.scope);
|
|
10780
10780
|
if (branch.expressionAlias !== null) {
|
|
10781
|
-
expression = ts41.factory.createBinaryExpression(ts41.factory.createParenthesizedExpression(expression), ts41.SyntaxKind.AmpersandAmpersandToken,
|
|
10781
|
+
expression = ts41.factory.createBinaryExpression(ts41.factory.createParenthesizedExpression(expression), ts41.SyntaxKind.AmpersandAmpersandToken, outerScope.resolve(branch.expressionAlias));
|
|
10782
10782
|
}
|
|
10783
|
-
const bodyScope = this.getBranchScope(
|
|
10783
|
+
const bodyScope = this.getBranchScope(outerScope, branch, index);
|
|
10784
10784
|
return ts41.factory.createIfStatement(expression, ts41.factory.createBlock(bodyScope.render()), this.generateBranch(index + 1));
|
|
10785
10785
|
}
|
|
10786
10786
|
getBranchScope(parentScope, branch, index) {
|
|
@@ -10872,7 +10872,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
10872
10872
|
}
|
|
10873
10873
|
const initializer = ts41.factory.createVariableDeclarationList([ts41.factory.createVariableDeclaration(initializerId)], ts41.NodeFlags.Const);
|
|
10874
10874
|
addParseSpanInfo(initializer, this.block.item.keySpan);
|
|
10875
|
-
const expression = ts41.factory.createNonNullExpression(tcbExpression(this.block.expression, this.tcb,
|
|
10875
|
+
const expression = ts41.factory.createNonNullExpression(tcbExpression(this.block.expression, this.tcb, this.scope));
|
|
10876
10876
|
const trackTranslator = new TcbForLoopTrackTranslator(this.tcb, loopScope, this.block);
|
|
10877
10877
|
const trackExpression = trackTranslator.translate(this.block.trackBy);
|
|
10878
10878
|
const statements = [
|
|
@@ -11315,10 +11315,14 @@ var TcbExpressionTranslator = class {
|
|
|
11315
11315
|
resolve(ast) {
|
|
11316
11316
|
if (ast instanceof PropertyRead3 && ast.receiver instanceof ImplicitReceiver2) {
|
|
11317
11317
|
const target = this.tcb.boundTarget.getExpressionTarget(ast);
|
|
11318
|
-
|
|
11319
|
-
|
|
11318
|
+
const targetExpression = target === null ? null : this.getTargetNodeExpression(target, ast);
|
|
11319
|
+
if (target instanceof TmplAstLetDeclaration2 && !this.isValidLetDeclarationAccess(target, ast)) {
|
|
11320
|
+
this.tcb.oobRecorder.letUsedBeforeDefinition(this.tcb.id, ast, target);
|
|
11321
|
+
if (targetExpression !== null) {
|
|
11322
|
+
return ts41.factory.createAsExpression(targetExpression, ts41.factory.createKeywordTypeNode(ts41.SyntaxKind.AnyKeyword));
|
|
11323
|
+
}
|
|
11320
11324
|
}
|
|
11321
|
-
return
|
|
11325
|
+
return targetExpression;
|
|
11322
11326
|
} else if (ast instanceof PropertyWrite2 && ast.receiver instanceof ImplicitReceiver2) {
|
|
11323
11327
|
const target = this.tcb.boundTarget.getExpressionTarget(ast);
|
|
11324
11328
|
if (target === null) {
|
|
@@ -11389,13 +11393,11 @@ var TcbExpressionTranslator = class {
|
|
|
11389
11393
|
addParseSpanInfo(expr, expressionNode.sourceSpan);
|
|
11390
11394
|
return expr;
|
|
11391
11395
|
}
|
|
11392
|
-
|
|
11396
|
+
isValidLetDeclarationAccess(target, ast) {
|
|
11393
11397
|
const targetStart = target.sourceSpan.start.offset;
|
|
11394
11398
|
const targetEnd = target.sourceSpan.end.offset;
|
|
11395
11399
|
const astStart = ast.sourceSpan.start;
|
|
11396
|
-
|
|
11397
|
-
this.tcb.oobRecorder.letUsedBeforeDefinition(this.tcb.id, ast, target);
|
|
11398
|
-
}
|
|
11400
|
+
return targetStart < astStart && astStart > targetEnd || !this.scope.isLocal(target);
|
|
11399
11401
|
}
|
|
11400
11402
|
};
|
|
11401
11403
|
function tcbCallTypeCtor(dir, tcb, inputs) {
|
|
@@ -11539,7 +11541,8 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
|
|
|
11539
11541
|
}
|
|
11540
11542
|
return super.resolve(ast);
|
|
11541
11543
|
}
|
|
11542
|
-
|
|
11544
|
+
isValidLetDeclarationAccess() {
|
|
11545
|
+
return true;
|
|
11543
11546
|
}
|
|
11544
11547
|
};
|
|
11545
11548
|
var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
@@ -11564,7 +11567,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11564
11567
|
}
|
|
11565
11568
|
};
|
|
11566
11569
|
|
|
11567
|
-
// bazel-out/
|
|
11570
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11568
11571
|
import ts42 from "typescript";
|
|
11569
11572
|
var TypeCheckFile = class extends Environment {
|
|
11570
11573
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -11612,7 +11615,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11612
11615
|
}
|
|
11613
11616
|
};
|
|
11614
11617
|
|
|
11615
|
-
// bazel-out/
|
|
11618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11616
11619
|
var InliningMode;
|
|
11617
11620
|
(function(InliningMode2) {
|
|
11618
11621
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -11864,10 +11867,10 @@ var TypeCtorOp = class {
|
|
|
11864
11867
|
}
|
|
11865
11868
|
};
|
|
11866
11869
|
|
|
11867
|
-
// bazel-out/
|
|
11870
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11868
11871
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
11869
11872
|
|
|
11870
|
-
// bazel-out/
|
|
11873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
11871
11874
|
var LF_CHAR = 10;
|
|
11872
11875
|
var CR_CHAR = 13;
|
|
11873
11876
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -11908,7 +11911,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
11908
11911
|
return low - 1;
|
|
11909
11912
|
}
|
|
11910
11913
|
|
|
11911
|
-
// bazel-out/
|
|
11914
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11912
11915
|
var TemplateSource = class {
|
|
11913
11916
|
constructor(mapping, file) {
|
|
11914
11917
|
this.mapping = mapping;
|
|
@@ -11959,7 +11962,7 @@ var TemplateSourceManager = class {
|
|
|
11959
11962
|
}
|
|
11960
11963
|
};
|
|
11961
11964
|
|
|
11962
|
-
// bazel-out/
|
|
11965
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
11963
11966
|
import { AST, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers5, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
11964
11967
|
import ts44 from "typescript";
|
|
11965
11968
|
var SymbolBuilder = class {
|
|
@@ -12533,7 +12536,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12533
12536
|
};
|
|
12534
12537
|
}
|
|
12535
12538
|
|
|
12536
|
-
// bazel-out/
|
|
12539
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12537
12540
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12538
12541
|
var TemplateTypeCheckerImpl = class {
|
|
12539
12542
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -13232,7 +13235,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13232
13235
|
}
|
|
13233
13236
|
};
|
|
13234
13237
|
|
|
13235
|
-
// bazel-out/
|
|
13238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13236
13239
|
var EMPTY_ARRAY2 = [];
|
|
13237
13240
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13238
13241
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -14258,7 +14261,7 @@ function isDefaultImport(node) {
|
|
|
14258
14261
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14259
14262
|
}
|
|
14260
14263
|
|
|
14261
|
-
// bazel-out/
|
|
14264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14262
14265
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14263
14266
|
import ts46 from "typescript";
|
|
14264
14267
|
var InjectableDecoratorHandler = class {
|
|
@@ -14490,7 +14493,7 @@ function getDep(dep, reflector) {
|
|
|
14490
14493
|
return meta;
|
|
14491
14494
|
}
|
|
14492
14495
|
|
|
14493
|
-
// bazel-out/
|
|
14496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
14494
14497
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
14495
14498
|
import ts47 from "typescript";
|
|
14496
14499
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -14718,4 +14721,4 @@ export {
|
|
|
14718
14721
|
* Use of this source code is governed by an MIT-style license that can be
|
|
14719
14722
|
* found in the LICENSE file at https://angular.io/license
|
|
14720
14723
|
*/
|
|
14721
|
-
//# sourceMappingURL=chunk-
|
|
14724
|
+
//# sourceMappingURL=chunk-BKZN6F4B.js.map
|