@angular/compiler-cli 19.0.0 → 19.0.2
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-OM3GHCE5.js → chunk-3OT7XV3K.js} +167 -140
- package/bundles/chunk-3OT7XV3K.js.map +6 -0
- package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
- package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
- package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
- package/bundles/{chunk-WLQBAON6.js → chunk-KVOXCH3E.js} +81 -81
- package/bundles/{chunk-RJMMB5HJ.js → chunk-MIHO36SM.js} +12 -12
- package/bundles/{chunk-P6YTDBL7.js → chunk-NQFS66HQ.js} +31 -31
- package/bundles/{chunk-NC4E5UYB.js → chunk-P5OLJFAE.js} +43 -43
- package/bundles/{chunk-F33AEX64.js → chunk-QZ2ASBSY.js} +5 -5
- package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
- package/bundles/{chunk-6RLW23PZ.js → chunk-YCOYUOYB.js} +3 -3
- package/bundles/index.js +12 -12
- 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 +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- 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/annotations/index.d.ts +1 -1
- package/src/ngtsc/hmr/src/{extract_locals.d.ts → extract_dependencies.d.ts} +6 -4
- package/src/ngtsc/imports/src/patch_alias_reference_resolution.d.ts +1 -1
- package/bundles/chunk-OM3GHCE5.js.map +0 -6
- /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
- /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
- /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
- /package/bundles/{chunk-WLQBAON6.js.map → chunk-KVOXCH3E.js.map} +0 -0
- /package/bundles/{chunk-RJMMB5HJ.js.map → chunk-MIHO36SM.js.map} +0 -0
- /package/bundles/{chunk-P6YTDBL7.js.map → chunk-NQFS66HQ.js.map} +0 -0
- /package/bundles/{chunk-NC4E5UYB.js.map → chunk-P5OLJFAE.js.map} +0 -0
- /package/bundles/{chunk-F33AEX64.js.map → chunk-QZ2ASBSY.js.map} +0 -0
- /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
- /package/bundles/{chunk-6RLW23PZ.js.map → chunk-YCOYUOYB.js.map} +0 -0
|
@@ -48,23 +48,23 @@ import {
|
|
|
48
48
|
translateStatement,
|
|
49
49
|
translateType,
|
|
50
50
|
typeNodeToValueExpr
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-P5OLJFAE.js";
|
|
52
52
|
import {
|
|
53
53
|
PerfCheckpoint,
|
|
54
54
|
PerfEvent,
|
|
55
55
|
PerfPhase
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-I6R3GL3L.js";
|
|
57
57
|
import {
|
|
58
58
|
absoluteFrom,
|
|
59
59
|
absoluteFromSourceFile,
|
|
60
60
|
getSourceFileOrError,
|
|
61
61
|
relative
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-STORTTKY.js";
|
|
63
63
|
import {
|
|
64
64
|
__publicField
|
|
65
65
|
} from "./chunk-KPQ72R34.js";
|
|
66
66
|
|
|
67
|
-
// bazel-out/
|
|
67
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
68
68
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
69
69
|
import ts from "typescript";
|
|
70
70
|
var CORE_MODULE = "@angular/core";
|
|
@@ -326,7 +326,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
326
326
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
// bazel-out/
|
|
329
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
330
330
|
var DynamicValue = class {
|
|
331
331
|
node;
|
|
332
332
|
reason;
|
|
@@ -419,10 +419,10 @@ var DynamicValue = class {
|
|
|
419
419
|
}
|
|
420
420
|
};
|
|
421
421
|
|
|
422
|
-
// bazel-out/
|
|
422
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
423
423
|
import ts2 from "typescript";
|
|
424
424
|
|
|
425
|
-
// bazel-out/
|
|
425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
426
426
|
var ResolvedModule = class {
|
|
427
427
|
exports;
|
|
428
428
|
evaluate;
|
|
@@ -457,7 +457,7 @@ var EnumValue = class {
|
|
|
457
457
|
var KnownFn = class {
|
|
458
458
|
};
|
|
459
459
|
|
|
460
|
-
// bazel-out/
|
|
460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
461
461
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
462
462
|
lhs;
|
|
463
463
|
constructor(lhs) {
|
|
@@ -512,7 +512,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
512
512
|
}
|
|
513
513
|
};
|
|
514
514
|
|
|
515
|
-
// bazel-out/
|
|
515
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
516
516
|
var SyntheticValue = class {
|
|
517
517
|
value;
|
|
518
518
|
constructor(value) {
|
|
@@ -520,7 +520,7 @@ var SyntheticValue = class {
|
|
|
520
520
|
}
|
|
521
521
|
};
|
|
522
522
|
|
|
523
|
-
// bazel-out/
|
|
523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
524
524
|
function literalBinaryOp(op) {
|
|
525
525
|
return { op, literal: true };
|
|
526
526
|
}
|
|
@@ -1101,7 +1101,7 @@ function owningModule(context, override = null) {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
}
|
|
1103
1103
|
|
|
1104
|
-
// bazel-out/
|
|
1104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1105
1105
|
var PartialEvaluator = class {
|
|
1106
1106
|
host;
|
|
1107
1107
|
checker;
|
|
@@ -1124,7 +1124,7 @@ var PartialEvaluator = class {
|
|
|
1124
1124
|
}
|
|
1125
1125
|
};
|
|
1126
1126
|
|
|
1127
|
-
// bazel-out/
|
|
1127
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1128
1128
|
import ts3 from "typescript";
|
|
1129
1129
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1130
1130
|
var _a, _b;
|
|
@@ -1259,14 +1259,14 @@ function getContainerNode(node) {
|
|
|
1259
1259
|
return node.getSourceFile();
|
|
1260
1260
|
}
|
|
1261
1261
|
|
|
1262
|
-
// bazel-out/
|
|
1262
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
1263
1263
|
var OptimizeFor;
|
|
1264
1264
|
(function(OptimizeFor2) {
|
|
1265
1265
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
1266
1266
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
1267
1267
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
1268
1268
|
|
|
1269
|
-
// bazel-out/
|
|
1269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
1270
1270
|
var PotentialImportKind;
|
|
1271
1271
|
(function(PotentialImportKind2) {
|
|
1272
1272
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -1278,7 +1278,7 @@ var PotentialImportMode;
|
|
|
1278
1278
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
1279
1279
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
1280
1280
|
|
|
1281
|
-
// bazel-out/
|
|
1281
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
1282
1282
|
var CompletionKind;
|
|
1283
1283
|
(function(CompletionKind2) {
|
|
1284
1284
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -1286,7 +1286,7 @@ var CompletionKind;
|
|
|
1286
1286
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
1287
1287
|
})(CompletionKind || (CompletionKind = {}));
|
|
1288
1288
|
|
|
1289
|
-
// bazel-out/
|
|
1289
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
1290
1290
|
var SymbolKind;
|
|
1291
1291
|
(function(SymbolKind2) {
|
|
1292
1292
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -1303,7 +1303,7 @@ var SymbolKind;
|
|
|
1303
1303
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
1304
1304
|
})(SymbolKind || (SymbolKind = {}));
|
|
1305
1305
|
|
|
1306
|
-
// bazel-out/
|
|
1306
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1307
1307
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1308
1308
|
import ts4 from "typescript";
|
|
1309
1309
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1449,10 +1449,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1449
1449
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1450
1450
|
}
|
|
1451
1451
|
|
|
1452
|
-
// bazel-out/
|
|
1452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1453
1453
|
import ts12 from "typescript";
|
|
1454
1454
|
|
|
1455
|
-
// bazel-out/
|
|
1455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1456
1456
|
var MetaKind;
|
|
1457
1457
|
(function(MetaKind2) {
|
|
1458
1458
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1465,10 +1465,10 @@ var MatchSource;
|
|
|
1465
1465
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1466
1466
|
})(MatchSource || (MatchSource = {}));
|
|
1467
1467
|
|
|
1468
|
-
// bazel-out/
|
|
1468
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1469
1469
|
import ts6 from "typescript";
|
|
1470
1470
|
|
|
1471
|
-
// bazel-out/
|
|
1471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1472
1472
|
var ClassPropertyMapping = class {
|
|
1473
1473
|
forwardMap;
|
|
1474
1474
|
reverseMap;
|
|
@@ -1550,7 +1550,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1550
1550
|
return reverseMap;
|
|
1551
1551
|
}
|
|
1552
1552
|
|
|
1553
|
-
// bazel-out/
|
|
1553
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1554
1554
|
import ts5 from "typescript";
|
|
1555
1555
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1556
1556
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1766,7 +1766,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
1766
1766
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
1767
1767
|
}
|
|
1768
1768
|
|
|
1769
|
-
// bazel-out/
|
|
1769
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1770
1770
|
var DtsMetadataReader = class {
|
|
1771
1771
|
checker;
|
|
1772
1772
|
reflector;
|
|
@@ -1965,7 +1965,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1965
1965
|
return result.length > 0 ? { result, isIncomplete } : null;
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
|
-
// bazel-out/
|
|
1968
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1969
1969
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1970
1970
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1971
1971
|
if (topMeta === null) {
|
|
@@ -2029,7 +2029,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2029
2029
|
};
|
|
2030
2030
|
}
|
|
2031
2031
|
|
|
2032
|
-
// bazel-out/
|
|
2032
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2033
2033
|
var LocalMetadataRegistry = class {
|
|
2034
2034
|
directives = /* @__PURE__ */ new Map();
|
|
2035
2035
|
ngModules = /* @__PURE__ */ new Map();
|
|
@@ -2085,7 +2085,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2085
2085
|
}
|
|
2086
2086
|
};
|
|
2087
2087
|
|
|
2088
|
-
// bazel-out/
|
|
2088
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2089
2089
|
var ResourceRegistry = class {
|
|
2090
2090
|
externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
2091
2091
|
componentToTemplateMap = /* @__PURE__ */ new Map();
|
|
@@ -2148,7 +2148,7 @@ var ResourceRegistry = class {
|
|
|
2148
2148
|
}
|
|
2149
2149
|
};
|
|
2150
2150
|
|
|
2151
|
-
// bazel-out/
|
|
2151
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
2152
2152
|
var ExportedProviderStatusResolver = class {
|
|
2153
2153
|
metaReader;
|
|
2154
2154
|
calculating = /* @__PURE__ */ new Set();
|
|
@@ -2193,7 +2193,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
2193
2193
|
}
|
|
2194
2194
|
};
|
|
2195
2195
|
|
|
2196
|
-
// bazel-out/
|
|
2196
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2197
2197
|
var EMPTY_ARRAY = [];
|
|
2198
2198
|
var HostDirectivesResolver = class {
|
|
2199
2199
|
metaReader;
|
|
@@ -2260,7 +2260,7 @@ function resolveOutput(bindingName) {
|
|
|
2260
2260
|
return bindingName;
|
|
2261
2261
|
}
|
|
2262
2262
|
|
|
2263
|
-
// bazel-out/
|
|
2263
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2264
2264
|
var CompilationMode;
|
|
2265
2265
|
(function(CompilationMode2) {
|
|
2266
2266
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2274,7 +2274,7 @@ var HandlerPrecedence;
|
|
|
2274
2274
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
2275
2275
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
2276
2276
|
|
|
2277
|
-
// bazel-out/
|
|
2277
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2278
2278
|
import ts7 from "typescript";
|
|
2279
2279
|
function aliasTransformFactory(exportStatements) {
|
|
2280
2280
|
return () => {
|
|
@@ -2299,10 +2299,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2299
2299
|
};
|
|
2300
2300
|
}
|
|
2301
2301
|
|
|
2302
|
-
// bazel-out/
|
|
2302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2303
2303
|
import ts8 from "typescript";
|
|
2304
2304
|
|
|
2305
|
-
// bazel-out/
|
|
2305
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2306
2306
|
var TraitState;
|
|
2307
2307
|
(function(TraitState2) {
|
|
2308
2308
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2361,7 +2361,7 @@ var TraitImpl = class {
|
|
|
2361
2361
|
}
|
|
2362
2362
|
};
|
|
2363
2363
|
|
|
2364
|
-
// bazel-out/
|
|
2364
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2365
2365
|
var TraitCompiler = class {
|
|
2366
2366
|
handlers;
|
|
2367
2367
|
reflector;
|
|
@@ -2842,7 +2842,7 @@ function containsErrors(diagnostics) {
|
|
|
2842
2842
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
|
|
2843
2843
|
}
|
|
2844
2844
|
|
|
2845
|
-
// bazel-out/
|
|
2845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
2846
2846
|
import ts9 from "typescript";
|
|
2847
2847
|
var DtsTransformRegistry = class {
|
|
2848
2848
|
ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -2992,11 +2992,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
2992
2992
|
ts9.forEachChild(node, markForEmitAsSingleLine);
|
|
2993
2993
|
}
|
|
2994
2994
|
|
|
2995
|
-
// bazel-out/
|
|
2995
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2996
2996
|
import { ConstantPool } from "@angular/compiler";
|
|
2997
2997
|
import ts11 from "typescript";
|
|
2998
2998
|
|
|
2999
|
-
// bazel-out/
|
|
2999
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3000
3000
|
import ts10 from "typescript";
|
|
3001
3001
|
function visit(node, visitor, context) {
|
|
3002
3002
|
return visitor._visit(node, context);
|
|
@@ -3055,7 +3055,7 @@ var Visitor = class {
|
|
|
3055
3055
|
}
|
|
3056
3056
|
};
|
|
3057
3057
|
|
|
3058
|
-
// bazel-out/
|
|
3058
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3059
3059
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
3060
3060
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
3061
3061
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3301,7 +3301,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
3301
3301
|
return array;
|
|
3302
3302
|
}
|
|
3303
3303
|
|
|
3304
|
-
// bazel-out/
|
|
3304
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3305
3305
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3306
3306
|
const context = [];
|
|
3307
3307
|
for (const decl of data) {
|
|
@@ -3510,7 +3510,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
3510
3510
|
}
|
|
3511
3511
|
}
|
|
3512
3512
|
|
|
3513
|
-
// bazel-out/
|
|
3513
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3514
3514
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3515
3515
|
import ts13 from "typescript";
|
|
3516
3516
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3561,7 +3561,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3561
3561
|
return meta;
|
|
3562
3562
|
}
|
|
3563
3563
|
|
|
3564
|
-
// bazel-out/
|
|
3564
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3565
3565
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3566
3566
|
function compileNgFactoryDefField(metadata) {
|
|
3567
3567
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3584,7 +3584,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3584
3584
|
};
|
|
3585
3585
|
}
|
|
3586
3586
|
|
|
3587
|
-
// bazel-out/
|
|
3587
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3588
3588
|
var InjectableClassRegistry = class {
|
|
3589
3589
|
host;
|
|
3590
3590
|
isCore;
|
|
@@ -3612,7 +3612,7 @@ var InjectableClassRegistry = class {
|
|
|
3612
3612
|
}
|
|
3613
3613
|
};
|
|
3614
3614
|
|
|
3615
|
-
// bazel-out/
|
|
3615
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3616
3616
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3617
3617
|
import ts14 from "typescript";
|
|
3618
3618
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3699,7 +3699,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3699
3699
|
return result.transformed[0];
|
|
3700
3700
|
}
|
|
3701
3701
|
|
|
3702
|
-
// bazel-out/
|
|
3702
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3703
3703
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3704
3704
|
function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
|
|
3705
3705
|
if (!reflection.isClass(clazz)) {
|
|
@@ -3716,13 +3716,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
|
|
|
3716
3716
|
};
|
|
3717
3717
|
}
|
|
3718
3718
|
|
|
3719
|
-
// bazel-out/
|
|
3719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3720
3720
|
var NoopReferencesRegistry = class {
|
|
3721
3721
|
add(source, ...references) {
|
|
3722
3722
|
}
|
|
3723
3723
|
};
|
|
3724
3724
|
|
|
3725
|
-
// bazel-out/
|
|
3725
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3726
3726
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3727
3727
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3728
3728
|
const schemas = [];
|
|
@@ -3752,7 +3752,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3752
3752
|
return schemas;
|
|
3753
3753
|
}
|
|
3754
3754
|
|
|
3755
|
-
// bazel-out/
|
|
3755
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3756
3756
|
import { outputAst } from "@angular/compiler";
|
|
3757
3757
|
function compileInputTransformFields(inputs) {
|
|
3758
3758
|
const extraFields = [];
|
|
@@ -3770,16 +3770,16 @@ function compileInputTransformFields(inputs) {
|
|
|
3770
3770
|
return extraFields;
|
|
3771
3771
|
}
|
|
3772
3772
|
|
|
3773
|
-
// bazel-out/
|
|
3773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
|
|
3774
3774
|
var JitDeclarationRegistry = class {
|
|
3775
3775
|
jitDeclarations = /* @__PURE__ */ new Set();
|
|
3776
3776
|
};
|
|
3777
3777
|
|
|
3778
|
-
// bazel-out/
|
|
3778
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3779
3779
|
import { compileClassDebugInfo, compileHmrInitializer, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, ConstantPool as ConstantPool2, CssSelector as CssSelector4, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr8, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o4, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
|
|
3780
3780
|
import ts47 from "typescript";
|
|
3781
3781
|
|
|
3782
|
-
// bazel-out/
|
|
3782
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3783
3783
|
import ts15 from "typescript";
|
|
3784
3784
|
var SemanticSymbol = class {
|
|
3785
3785
|
decl;
|
|
@@ -3798,7 +3798,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3798
3798
|
return decl.name.text;
|
|
3799
3799
|
}
|
|
3800
3800
|
|
|
3801
|
-
// bazel-out/
|
|
3801
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3802
3802
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3803
3803
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3804
3804
|
isPublicApiAffected() {
|
|
@@ -3940,10 +3940,10 @@ function getImportPath(expr) {
|
|
|
3940
3940
|
}
|
|
3941
3941
|
}
|
|
3942
3942
|
|
|
3943
|
-
// bazel-out/
|
|
3943
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3944
3944
|
import ts16 from "typescript";
|
|
3945
3945
|
|
|
3946
|
-
// bazel-out/
|
|
3946
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3947
3947
|
function isSymbolEqual(a, b) {
|
|
3948
3948
|
if (a.decl === b.decl) {
|
|
3949
3949
|
return true;
|
|
@@ -3993,7 +3993,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3993
3993
|
return true;
|
|
3994
3994
|
}
|
|
3995
3995
|
|
|
3996
|
-
// bazel-out/
|
|
3996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3997
3997
|
function extractSemanticTypeParameters(node) {
|
|
3998
3998
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3999
3999
|
return null;
|
|
@@ -4015,14 +4015,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
4015
4015
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
4016
4016
|
}
|
|
4017
4017
|
|
|
4018
|
-
// bazel-out/
|
|
4018
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
4019
4019
|
var ComponentScopeKind;
|
|
4020
4020
|
(function(ComponentScopeKind2) {
|
|
4021
4021
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
4022
4022
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
4023
4023
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
4024
4024
|
|
|
4025
|
-
// bazel-out/
|
|
4025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
4026
4026
|
var CompoundComponentScopeReader = class {
|
|
4027
4027
|
readers;
|
|
4028
4028
|
constructor(readers) {
|
|
@@ -4048,7 +4048,7 @@ var CompoundComponentScopeReader = class {
|
|
|
4048
4048
|
}
|
|
4049
4049
|
};
|
|
4050
4050
|
|
|
4051
|
-
// bazel-out/
|
|
4051
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
4052
4052
|
var MetadataDtsModuleScopeResolver = class {
|
|
4053
4053
|
dtsMetaReader;
|
|
4054
4054
|
aliasingHost;
|
|
@@ -4126,11 +4126,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4126
4126
|
}
|
|
4127
4127
|
};
|
|
4128
4128
|
|
|
4129
|
-
// bazel-out/
|
|
4129
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4130
4130
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
4131
4131
|
import ts17 from "typescript";
|
|
4132
4132
|
|
|
4133
|
-
// bazel-out/
|
|
4133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
4134
4134
|
function getDiagnosticNode(ref, rawExpr) {
|
|
4135
4135
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
4136
4136
|
}
|
|
@@ -4156,7 +4156,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
4156
4156
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
4157
4157
|
}
|
|
4158
4158
|
|
|
4159
|
-
// bazel-out/
|
|
4159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4160
4160
|
var IN_PROGRESS_RESOLUTION = {};
|
|
4161
4161
|
var LocalModuleScopeRegistry = class {
|
|
4162
4162
|
localReader;
|
|
@@ -4515,7 +4515,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4515
4515
|
]);
|
|
4516
4516
|
}
|
|
4517
4517
|
|
|
4518
|
-
// bazel-out/
|
|
4518
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4519
4519
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4520
4520
|
import ts18 from "typescript";
|
|
4521
4521
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4599,14 +4599,14 @@ var TypeCheckScopeRegistry = class {
|
|
|
4599
4599
|
}
|
|
4600
4600
|
};
|
|
4601
4601
|
|
|
4602
|
-
// bazel-out/
|
|
4602
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4603
4603
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4604
4604
|
|
|
4605
|
-
// bazel-out/
|
|
4606
|
-
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4605
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4606
|
+
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, ParserError, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4607
4607
|
import ts22 from "typescript";
|
|
4608
4608
|
|
|
4609
|
-
// bazel-out/
|
|
4609
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
4610
4610
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
4611
4611
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
4612
4612
|
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)}.`, [
|
|
@@ -4615,7 +4615,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
4615
4615
|
}
|
|
4616
4616
|
}
|
|
4617
4617
|
|
|
4618
|
-
// bazel-out/
|
|
4618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
4619
4619
|
import ts19 from "typescript";
|
|
4620
4620
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
4621
4621
|
if (!ts19.isCallExpression(expression)) {
|
|
@@ -4684,7 +4684,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
4684
4684
|
return { api: matchingApi, apiReference, isRequired };
|
|
4685
4685
|
}
|
|
4686
4686
|
|
|
4687
|
-
// bazel-out/
|
|
4687
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
4688
4688
|
import ts20 from "typescript";
|
|
4689
4689
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
4690
4690
|
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -4702,7 +4702,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
4702
4702
|
return { alias };
|
|
4703
4703
|
}
|
|
4704
4704
|
|
|
4705
|
-
// bazel-out/
|
|
4705
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
4706
4706
|
var INPUT_INITIALIZER_FN = {
|
|
4707
4707
|
functionName: "input",
|
|
4708
4708
|
owningModule: "@angular/core",
|
|
@@ -4734,7 +4734,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
4734
4734
|
};
|
|
4735
4735
|
}
|
|
4736
4736
|
|
|
4737
|
-
// bazel-out/
|
|
4737
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
4738
4738
|
var MODEL_INITIALIZER_FN = {
|
|
4739
4739
|
functionName: "model",
|
|
4740
4740
|
owningModule: "@angular/core",
|
|
@@ -4775,7 +4775,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
4775
4775
|
};
|
|
4776
4776
|
}
|
|
4777
4777
|
|
|
4778
|
-
// bazel-out/
|
|
4778
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
4779
4779
|
var allowedAccessLevels = [
|
|
4780
4780
|
ClassMemberAccessLevel.PublicWritable,
|
|
4781
4781
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -4819,7 +4819,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
4819
4819
|
};
|
|
4820
4820
|
}
|
|
4821
4821
|
|
|
4822
|
-
// bazel-out/
|
|
4822
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
4823
4823
|
import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
|
|
4824
4824
|
import ts21 from "typescript";
|
|
4825
4825
|
var queryFunctionNames = [
|
|
@@ -4904,7 +4904,7 @@ function parseDescendantsOption(value) {
|
|
|
4904
4904
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
4905
4905
|
}
|
|
4906
4906
|
|
|
4907
|
-
// bazel-out/
|
|
4907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4908
4908
|
var EMPTY_OBJECT = {};
|
|
4909
4909
|
var queryDecoratorNames = [
|
|
4910
4910
|
"ViewChild",
|
|
@@ -5628,14 +5628,20 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
|
|
|
5628
5628
|
const bindings = parseHostBindings(hostMetadata);
|
|
5629
5629
|
const errors = verifyHostBindings(bindings, createSourceSpan(hostExpr));
|
|
5630
5630
|
if (errors.length > 0) {
|
|
5631
|
-
throw new FatalDiagnosticError(
|
|
5632
|
-
ErrorCode.HOST_BINDING_PARSE_ERROR,
|
|
5633
|
-
hostExpr,
|
|
5634
|
-
errors.map((error) => error.msg).join("\n")
|
|
5635
|
-
);
|
|
5631
|
+
throw new FatalDiagnosticError(ErrorCode.HOST_BINDING_PARSE_ERROR, getHostBindingErrorNode(errors[0], hostExpr), errors.map((error) => error.msg).join("\n"));
|
|
5636
5632
|
}
|
|
5637
5633
|
return bindings;
|
|
5638
5634
|
}
|
|
5635
|
+
function getHostBindingErrorNode(error, hostExpr) {
|
|
5636
|
+
if (ts22.isObjectLiteralExpression(hostExpr) && error.relatedError instanceof ParserError) {
|
|
5637
|
+
for (const prop of hostExpr.properties) {
|
|
5638
|
+
if (ts22.isPropertyAssignment(prop) && ts22.isStringLiteralLike(prop.initializer) && prop.initializer.text === error.relatedError.input) {
|
|
5639
|
+
return prop.initializer;
|
|
5640
|
+
}
|
|
5641
|
+
}
|
|
5642
|
+
}
|
|
5643
|
+
return hostExpr;
|
|
5644
|
+
}
|
|
5639
5645
|
function extractHostDirectives(rawHostDirectives, evaluator, compilationMode) {
|
|
5640
5646
|
const resolved = evaluator.evaluate(rawHostDirectives, forwardRefResolver);
|
|
5641
5647
|
if (!Array.isArray(resolved)) {
|
|
@@ -5709,7 +5715,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5709
5715
|
};
|
|
5710
5716
|
}
|
|
5711
5717
|
|
|
5712
|
-
// bazel-out/
|
|
5718
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5713
5719
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5714
5720
|
selector;
|
|
5715
5721
|
inputs;
|
|
@@ -5795,7 +5801,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5795
5801
|
return isSymbolEqual(current, previous);
|
|
5796
5802
|
}
|
|
5797
5803
|
|
|
5798
|
-
// bazel-out/
|
|
5804
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5799
5805
|
var FIELD_DECORATORS = [
|
|
5800
5806
|
"Input",
|
|
5801
5807
|
"Output",
|
|
@@ -6015,11 +6021,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
6015
6021
|
}
|
|
6016
6022
|
};
|
|
6017
6023
|
|
|
6018
|
-
// bazel-out/
|
|
6024
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
6019
6025
|
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";
|
|
6020
6026
|
import ts24 from "typescript";
|
|
6021
6027
|
|
|
6022
|
-
// bazel-out/
|
|
6028
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
6023
6029
|
import ts23 from "typescript";
|
|
6024
6030
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
6025
6031
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -6091,7 +6097,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
6091
6097
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
6092
6098
|
}
|
|
6093
6099
|
|
|
6094
|
-
// bazel-out/
|
|
6100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
6095
6101
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
6096
6102
|
hasProviders;
|
|
6097
6103
|
remotelyScopedComponents = [];
|
|
@@ -6731,7 +6737,7 @@ function isSyntheticReference(ref) {
|
|
|
6731
6737
|
return ref.synthetic;
|
|
6732
6738
|
}
|
|
6733
6739
|
|
|
6734
|
-
// bazel-out/
|
|
6740
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6735
6741
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6736
6742
|
const name = ref.debugName || "(unknown)";
|
|
6737
6743
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6754,7 +6760,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6754
6760
|
return null;
|
|
6755
6761
|
}
|
|
6756
6762
|
|
|
6757
|
-
// bazel-out/
|
|
6763
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6758
6764
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6759
6765
|
import ts25 from "typescript";
|
|
6760
6766
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -7092,7 +7098,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
7092
7098
|
}));
|
|
7093
7099
|
}
|
|
7094
7100
|
|
|
7095
|
-
// bazel-out/
|
|
7101
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
7096
7102
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
7097
7103
|
usedDirectives = [];
|
|
7098
7104
|
usedPipes = [];
|
|
@@ -7124,7 +7130,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
7124
7130
|
}
|
|
7125
7131
|
};
|
|
7126
7132
|
|
|
7127
|
-
// bazel-out/
|
|
7133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
7128
7134
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
7129
7135
|
if (value instanceof Map) {
|
|
7130
7136
|
const name = value.get("name");
|
|
@@ -7201,10 +7207,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7201
7207
|
return false;
|
|
7202
7208
|
}
|
|
7203
7209
|
|
|
7204
|
-
// bazel-out/
|
|
7210
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7205
7211
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7206
7212
|
|
|
7207
|
-
// bazel-out/
|
|
7213
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7208
7214
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7209
7215
|
var UpdateMode;
|
|
7210
7216
|
(function(UpdateMode2) {
|
|
@@ -7212,13 +7218,13 @@ var UpdateMode;
|
|
|
7212
7218
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7213
7219
|
})(UpdateMode || (UpdateMode = {}));
|
|
7214
7220
|
|
|
7215
|
-
// bazel-out/
|
|
7221
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7216
7222
|
import ts27 from "typescript";
|
|
7217
7223
|
|
|
7218
|
-
// bazel-out/
|
|
7224
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7219
7225
|
import ts26 from "typescript";
|
|
7220
7226
|
|
|
7221
|
-
// bazel-out/
|
|
7227
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7222
7228
|
var NgExtension = Symbol("NgExtension");
|
|
7223
7229
|
function isExtended(sf) {
|
|
7224
7230
|
return sf[NgExtension] !== void 0;
|
|
@@ -7278,13 +7284,13 @@ function retagTsFile(sf) {
|
|
|
7278
7284
|
}
|
|
7279
7285
|
}
|
|
7280
7286
|
|
|
7281
|
-
// bazel-out/
|
|
7287
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7282
7288
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7283
7289
|
function makeShimFileName(fileName, suffix) {
|
|
7284
7290
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7285
7291
|
}
|
|
7286
7292
|
|
|
7287
|
-
// bazel-out/
|
|
7293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7288
7294
|
var ShimAdapter = class {
|
|
7289
7295
|
delegate;
|
|
7290
7296
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -7381,7 +7387,7 @@ var ShimAdapter = class {
|
|
|
7381
7387
|
}
|
|
7382
7388
|
};
|
|
7383
7389
|
|
|
7384
|
-
// bazel-out/
|
|
7390
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7385
7391
|
var ShimReferenceTagger = class {
|
|
7386
7392
|
suffixes;
|
|
7387
7393
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -7416,7 +7422,7 @@ var ShimReferenceTagger = class {
|
|
|
7416
7422
|
}
|
|
7417
7423
|
};
|
|
7418
7424
|
|
|
7419
|
-
// bazel-out/
|
|
7425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7420
7426
|
var DelegatingCompilerHost = class {
|
|
7421
7427
|
delegate;
|
|
7422
7428
|
createHash;
|
|
@@ -7567,7 +7573,7 @@ var TsCreateProgramDriver = class {
|
|
|
7567
7573
|
}
|
|
7568
7574
|
};
|
|
7569
7575
|
|
|
7570
|
-
// bazel-out/
|
|
7576
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7571
7577
|
import ts28 from "typescript";
|
|
7572
7578
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7573
7579
|
var _a;
|
|
@@ -7678,7 +7684,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7678
7684
|
);
|
|
7679
7685
|
}
|
|
7680
7686
|
|
|
7681
|
-
// bazel-out/
|
|
7687
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7682
7688
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7683
7689
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7684
7690
|
function getTemplateId(clazz) {
|
|
@@ -7695,11 +7701,11 @@ function allocateTemplateId(sf) {
|
|
|
7695
7701
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7696
7702
|
}
|
|
7697
7703
|
|
|
7698
|
-
// bazel-out/
|
|
7704
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7699
7705
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7700
7706
|
import ts30 from "typescript";
|
|
7701
7707
|
|
|
7702
|
-
// bazel-out/
|
|
7708
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7703
7709
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7704
7710
|
import ts29 from "typescript";
|
|
7705
7711
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7830,7 +7836,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7830
7836
|
}) || false;
|
|
7831
7837
|
}
|
|
7832
7838
|
|
|
7833
|
-
// bazel-out/
|
|
7839
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7834
7840
|
var CompletionEngine = class {
|
|
7835
7841
|
tcb;
|
|
7836
7842
|
data;
|
|
@@ -8172,6 +8178,9 @@ var SourceMap = class {
|
|
|
8172
8178
|
if (typeof properties.x_google_ignoreList !== "undefined") {
|
|
8173
8179
|
this.x_google_ignoreList = properties.x_google_ignoreList;
|
|
8174
8180
|
}
|
|
8181
|
+
if (typeof properties.debugId !== "undefined") {
|
|
8182
|
+
this.debugId = properties.debugId;
|
|
8183
|
+
}
|
|
8175
8184
|
}
|
|
8176
8185
|
toString() {
|
|
8177
8186
|
return JSON.stringify(this);
|
|
@@ -9025,10 +9034,10 @@ var MagicString = class {
|
|
|
9025
9034
|
}
|
|
9026
9035
|
};
|
|
9027
9036
|
|
|
9028
|
-
// bazel-out/
|
|
9037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
9029
9038
|
import ts43 from "typescript";
|
|
9030
9039
|
|
|
9031
|
-
// bazel-out/
|
|
9040
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
9032
9041
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
9033
9042
|
import ts31 from "typescript";
|
|
9034
9043
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -9082,10 +9091,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
9082
9091
|
}
|
|
9083
9092
|
};
|
|
9084
9093
|
|
|
9085
|
-
// bazel-out/
|
|
9094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9086
9095
|
import ts36 from "typescript";
|
|
9087
9096
|
|
|
9088
|
-
// bazel-out/
|
|
9097
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
9089
9098
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
9090
9099
|
var ReferenceEmitEnvironment = class {
|
|
9091
9100
|
importManager;
|
|
@@ -9120,7 +9129,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
9120
9129
|
}
|
|
9121
9130
|
};
|
|
9122
9131
|
|
|
9123
|
-
// bazel-out/
|
|
9132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
9124
9133
|
import ts32 from "typescript";
|
|
9125
9134
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
9126
9135
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -9203,15 +9212,15 @@ function tsNumericExpression(value) {
|
|
|
9203
9212
|
return ts32.factory.createNumericLiteral(value);
|
|
9204
9213
|
}
|
|
9205
9214
|
|
|
9206
|
-
// bazel-out/
|
|
9215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9207
9216
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9208
9217
|
import ts35 from "typescript";
|
|
9209
9218
|
|
|
9210
|
-
// bazel-out/
|
|
9219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9211
9220
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9212
9221
|
import ts34 from "typescript";
|
|
9213
9222
|
|
|
9214
|
-
// bazel-out/
|
|
9223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9215
9224
|
import ts33 from "typescript";
|
|
9216
9225
|
var TypeParameterEmitter = class {
|
|
9217
9226
|
typeParameters;
|
|
@@ -9291,7 +9300,7 @@ var TypeParameterEmitter = class {
|
|
|
9291
9300
|
}
|
|
9292
9301
|
};
|
|
9293
9302
|
|
|
9294
|
-
// bazel-out/
|
|
9303
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9295
9304
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9296
9305
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9297
9306
|
];
|
|
@@ -9383,7 +9392,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9383
9392
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9384
9393
|
}
|
|
9385
9394
|
|
|
9386
|
-
// bazel-out/
|
|
9395
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9387
9396
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9388
9397
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9389
9398
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9506,7 +9515,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9506
9515
|
});
|
|
9507
9516
|
}
|
|
9508
9517
|
|
|
9509
|
-
// bazel-out/
|
|
9518
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9510
9519
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9511
9520
|
config;
|
|
9512
9521
|
nextIds = {
|
|
@@ -9579,7 +9588,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9579
9588
|
}
|
|
9580
9589
|
};
|
|
9581
9590
|
|
|
9582
|
-
// bazel-out/
|
|
9591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9583
9592
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9584
9593
|
import ts37 from "typescript";
|
|
9585
9594
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9782,7 +9791,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9782
9791
|
};
|
|
9783
9792
|
}
|
|
9784
9793
|
|
|
9785
|
-
// bazel-out/
|
|
9794
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9786
9795
|
import ts38 from "typescript";
|
|
9787
9796
|
var TypeCheckShimGenerator = class {
|
|
9788
9797
|
extensionPrefix = "ngtypecheck";
|
|
@@ -9798,11 +9807,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9798
9807
|
}
|
|
9799
9808
|
};
|
|
9800
9809
|
|
|
9801
|
-
// bazel-out/
|
|
9810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9802
9811
|
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";
|
|
9803
9812
|
import ts41 from "typescript";
|
|
9804
9813
|
|
|
9805
|
-
// bazel-out/
|
|
9814
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9806
9815
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9807
9816
|
import ts39 from "typescript";
|
|
9808
9817
|
function wrapForDiagnostics(expr) {
|
|
@@ -9858,7 +9867,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9858
9867
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9859
9868
|
}
|
|
9860
9869
|
|
|
9861
|
-
// bazel-out/
|
|
9870
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9862
9871
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9863
9872
|
import ts40 from "typescript";
|
|
9864
9873
|
var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -10200,7 +10209,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
10200
10209
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
10201
10210
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
10202
10211
|
|
|
10203
|
-
// bazel-out/
|
|
10212
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
10204
10213
|
var TcbGenericContextBehavior;
|
|
10205
10214
|
(function(TcbGenericContextBehavior2) {
|
|
10206
10215
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -11887,7 +11896,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11887
11896
|
}
|
|
11888
11897
|
};
|
|
11889
11898
|
|
|
11890
|
-
// bazel-out/
|
|
11899
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11891
11900
|
import ts42 from "typescript";
|
|
11892
11901
|
var TypeCheckFile = class extends Environment {
|
|
11893
11902
|
fileName;
|
|
@@ -11936,7 +11945,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11936
11945
|
}
|
|
11937
11946
|
};
|
|
11938
11947
|
|
|
11939
|
-
// bazel-out/
|
|
11948
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11940
11949
|
var InliningMode;
|
|
11941
11950
|
(function(InliningMode2) {
|
|
11942
11951
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -12204,10 +12213,10 @@ var TypeCtorOp = class {
|
|
|
12204
12213
|
}
|
|
12205
12214
|
};
|
|
12206
12215
|
|
|
12207
|
-
// bazel-out/
|
|
12216
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
12208
12217
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
12209
12218
|
|
|
12210
|
-
// bazel-out/
|
|
12219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
12211
12220
|
var LF_CHAR = 10;
|
|
12212
12221
|
var CR_CHAR = 13;
|
|
12213
12222
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -12248,7 +12257,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
12248
12257
|
return low - 1;
|
|
12249
12258
|
}
|
|
12250
12259
|
|
|
12251
|
-
// bazel-out/
|
|
12260
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
12252
12261
|
var TemplateSource = class {
|
|
12253
12262
|
mapping;
|
|
12254
12263
|
file;
|
|
@@ -12299,7 +12308,7 @@ var TemplateSourceManager = class {
|
|
|
12299
12308
|
}
|
|
12300
12309
|
};
|
|
12301
12310
|
|
|
12302
|
-
// bazel-out/
|
|
12311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
12303
12312
|
import { AST, ASTWithName, 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";
|
|
12304
12313
|
import ts44 from "typescript";
|
|
12305
12314
|
var SymbolBuilder = class {
|
|
@@ -12881,7 +12890,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12881
12890
|
};
|
|
12882
12891
|
}
|
|
12883
12892
|
|
|
12884
|
-
// bazel-out/
|
|
12893
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12885
12894
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12886
12895
|
var TemplateTypeCheckerImpl = class {
|
|
12887
12896
|
originalProgram;
|
|
@@ -13606,13 +13615,13 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13606
13615
|
}
|
|
13607
13616
|
};
|
|
13608
13617
|
|
|
13609
|
-
// bazel-out/
|
|
13618
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
|
|
13610
13619
|
import { outputAst as o3 } from "@angular/compiler";
|
|
13611
13620
|
|
|
13612
|
-
// bazel-out/
|
|
13621
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_dependencies.mjs
|
|
13613
13622
|
import { outputAst as o2 } from "@angular/compiler";
|
|
13614
13623
|
import ts45 from "typescript";
|
|
13615
|
-
function
|
|
13624
|
+
function extractHmrDependencies(node, definition, factory, classMetadata, debugInfo) {
|
|
13616
13625
|
var _a;
|
|
13617
13626
|
const name = ts45.isClassDeclaration(node) && node.name ? node.name.text : null;
|
|
13618
13627
|
const visitor = new PotentialTopLevelReadsVisitor();
|
|
@@ -13624,7 +13633,13 @@ function extractHmrLocals(node, definition, factory, classMetadata, debugInfo) {
|
|
|
13624
13633
|
classMetadata == null ? void 0 : classMetadata.visitStatement(visitor, null);
|
|
13625
13634
|
debugInfo == null ? void 0 : debugInfo.visitStatement(visitor, null);
|
|
13626
13635
|
const availableTopLevel = getTopLevelDeclarationNames(sourceFile);
|
|
13627
|
-
return
|
|
13636
|
+
return {
|
|
13637
|
+
local: Array.from(visitor.allReads).filter((r) => r !== name && availableTopLevel.has(r)),
|
|
13638
|
+
external: Array.from(visitor.namespaceReads, (name2, index) => ({
|
|
13639
|
+
moduleName: name2,
|
|
13640
|
+
assignedName: `\u0275hmr${index}`
|
|
13641
|
+
}))
|
|
13642
|
+
};
|
|
13628
13643
|
}
|
|
13629
13644
|
function getTopLevelDeclarationNames(sourceFile) {
|
|
13630
13645
|
var _a;
|
|
@@ -13680,6 +13695,13 @@ function trackBindingName(node, results) {
|
|
|
13680
13695
|
}
|
|
13681
13696
|
var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
|
|
13682
13697
|
allReads = /* @__PURE__ */ new Set();
|
|
13698
|
+
namespaceReads = /* @__PURE__ */ new Set();
|
|
13699
|
+
visitExternalExpr(ast, context) {
|
|
13700
|
+
if (ast.value.moduleName !== null) {
|
|
13701
|
+
this.namespaceReads.add(ast.value.moduleName);
|
|
13702
|
+
}
|
|
13703
|
+
super.visitExternalExpr(ast, context);
|
|
13704
|
+
}
|
|
13683
13705
|
visitReadVarExpr(ast, context) {
|
|
13684
13706
|
this.allReads.add(ast.name);
|
|
13685
13707
|
super.visitReadVarExpr(ast, context);
|
|
@@ -13727,28 +13749,33 @@ var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
|
|
|
13727
13749
|
}
|
|
13728
13750
|
};
|
|
13729
13751
|
|
|
13730
|
-
// bazel-out/
|
|
13752
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
|
|
13731
13753
|
function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definition, factory, classMetadata, debugInfo) {
|
|
13732
13754
|
if (!reflection.isClass(clazz)) {
|
|
13733
13755
|
return null;
|
|
13734
13756
|
}
|
|
13735
13757
|
const sourceFile = clazz.getSourceFile();
|
|
13736
13758
|
const filePath = getProjectRelativePath(sourceFile, rootDirs, compilerHost) || compilerHost.getCanonicalFileName(sourceFile.fileName);
|
|
13759
|
+
const dependencies = extractHmrDependencies(clazz, definition, factory, classMetadata, debugInfo);
|
|
13737
13760
|
const meta = {
|
|
13738
13761
|
type: new o3.WrappedNodeExpr(clazz.name),
|
|
13739
13762
|
className: clazz.name.text,
|
|
13740
13763
|
filePath,
|
|
13741
|
-
|
|
13742
|
-
|
|
13764
|
+
localDependencies: dependencies.local,
|
|
13765
|
+
namespaceDependencies: dependencies.external
|
|
13743
13766
|
};
|
|
13744
13767
|
return meta;
|
|
13745
13768
|
}
|
|
13746
13769
|
|
|
13747
|
-
// bazel-out/
|
|
13770
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.mjs
|
|
13748
13771
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
13749
13772
|
import ts46 from "typescript";
|
|
13750
13773
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, sourceFile) {
|
|
13751
|
-
const
|
|
13774
|
+
const namespaceSpecifiers = meta.namespaceDependencies.reduce((result, current) => {
|
|
13775
|
+
result.set(current.moduleName, current.assignedName);
|
|
13776
|
+
return result;
|
|
13777
|
+
}, /* @__PURE__ */ new Map());
|
|
13778
|
+
const importRewriter = new HmrModuleImportRewriter(namespaceSpecifiers);
|
|
13752
13779
|
const importManager = new ImportManager({
|
|
13753
13780
|
...presetImportManagerForceNamespaceImports,
|
|
13754
13781
|
rewriter: importRewriter
|
|
@@ -13761,12 +13788,12 @@ function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, s
|
|
|
13761
13788
|
], node.asteriskToken, node.name, node.typeParameters, node.parameters, node.type, node.body);
|
|
13762
13789
|
}
|
|
13763
13790
|
var HmrModuleImportRewriter = class {
|
|
13764
|
-
|
|
13765
|
-
constructor(
|
|
13766
|
-
this.
|
|
13791
|
+
lookup;
|
|
13792
|
+
constructor(lookup) {
|
|
13793
|
+
this.lookup = lookup;
|
|
13767
13794
|
}
|
|
13768
13795
|
rewriteNamespaceImportIdentifier(specifier, moduleName) {
|
|
13769
|
-
return moduleName
|
|
13796
|
+
return this.lookup.has(moduleName) ? this.lookup.get(moduleName) : specifier;
|
|
13770
13797
|
}
|
|
13771
13798
|
rewriteSymbol(symbol) {
|
|
13772
13799
|
return symbol;
|
|
@@ -13776,7 +13803,7 @@ var HmrModuleImportRewriter = class {
|
|
|
13776
13803
|
}
|
|
13777
13804
|
};
|
|
13778
13805
|
|
|
13779
|
-
// bazel-out/
|
|
13806
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13780
13807
|
var EMPTY_ARRAY2 = [];
|
|
13781
13808
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13782
13809
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -14930,7 +14957,7 @@ function isDefaultImport(node) {
|
|
|
14930
14957
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14931
14958
|
}
|
|
14932
14959
|
|
|
14933
|
-
// bazel-out/
|
|
14960
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14934
14961
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14935
14962
|
import ts48 from "typescript";
|
|
14936
14963
|
var InjectableDecoratorHandler = class {
|
|
@@ -15171,7 +15198,7 @@ function getDep(dep, reflector) {
|
|
|
15171
15198
|
return meta;
|
|
15172
15199
|
}
|
|
15173
15200
|
|
|
15174
|
-
// bazel-out/
|
|
15201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
15175
15202
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
15176
15203
|
import ts49 from "typescript";
|
|
15177
15204
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -15419,4 +15446,4 @@ export {
|
|
|
15419
15446
|
* Use of this source code is governed by an MIT-style license that can be
|
|
15420
15447
|
* found in the LICENSE file at https://angular.dev/license
|
|
15421
15448
|
*/
|
|
15422
|
-
//# sourceMappingURL=chunk-
|
|
15449
|
+
//# sourceMappingURL=chunk-3OT7XV3K.js.map
|