@angular/compiler-cli 19.0.3 → 19.0.5
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-YCOYUOYB.js → chunk-2EUHS5W2.js} +3 -3
- package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-NQFS66HQ.js → chunk-3QLTO5T6.js} +31 -31
- package/bundles/{chunk-QZ2ASBSY.js → chunk-6VG7S77X.js} +5 -5
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-KVOXCH3E.js → chunk-MCOVWS4E.js} +86 -86
- package/bundles/{chunk-KVOXCH3E.js.map → chunk-MCOVWS4E.js.map} +1 -1
- package/bundles/{chunk-P5OLJFAE.js → chunk-ML6KK252.js} +47 -43
- package/bundles/chunk-ML6KK252.js.map +6 -0
- package/bundles/{chunk-MIHO36SM.js → chunk-N5FRAJVF.js} +12 -12
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
- package/bundles/{chunk-3OT7XV3K.js → chunk-UFF4IQHB.js} +147 -138
- package/bundles/{chunk-3OT7XV3K.js.map → chunk-UFF4IQHB.js.map} +1 -1
- 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/partial_evaluator/src/interpreter.d.ts +1 -1
- package/src/ngtsc/reflection/src/typescript.d.ts +1 -0
- package/bundles/chunk-P5OLJFAE.js.map +0 -6
- /package/bundles/{chunk-YCOYUOYB.js.map → chunk-2EUHS5W2.js.map} +0 -0
- /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
- /package/bundles/{chunk-NQFS66HQ.js.map → chunk-3QLTO5T6.js.map} +0 -0
- /package/bundles/{chunk-QZ2ASBSY.js.map → chunk-6VG7S77X.js.map} +0 -0
- /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
- /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
- /package/bundles/{chunk-MIHO36SM.js.map → chunk-N5FRAJVF.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
|
@@ -48,23 +48,23 @@ import {
|
|
|
48
48
|
translateStatement,
|
|
49
49
|
translateType,
|
|
50
50
|
typeNodeToValueExpr
|
|
51
|
-
} from "./chunk-
|
|
51
|
+
} from "./chunk-ML6KK252.js";
|
|
52
52
|
import {
|
|
53
53
|
PerfCheckpoint,
|
|
54
54
|
PerfEvent,
|
|
55
55
|
PerfPhase
|
|
56
|
-
} from "./chunk-
|
|
56
|
+
} from "./chunk-Q2WE7ECN.js";
|
|
57
57
|
import {
|
|
58
58
|
absoluteFrom,
|
|
59
59
|
absoluteFromSourceFile,
|
|
60
60
|
getSourceFileOrError,
|
|
61
61
|
relative
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-37JMVF7H.js";
|
|
63
63
|
import {
|
|
64
64
|
__publicField
|
|
65
65
|
} from "./chunk-KPQ72R34.js";
|
|
66
66
|
|
|
67
|
-
// bazel-out/
|
|
67
|
+
// bazel-out/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/
|
|
4605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4606
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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4908
4908
|
var EMPTY_OBJECT = {};
|
|
4909
4909
|
var queryDecoratorNames = [
|
|
4910
4910
|
"ViewChild",
|
|
@@ -5715,7 +5715,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5715
5715
|
};
|
|
5716
5716
|
}
|
|
5717
5717
|
|
|
5718
|
-
// bazel-out/
|
|
5718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5719
5719
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5720
5720
|
selector;
|
|
5721
5721
|
inputs;
|
|
@@ -5801,7 +5801,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5801
5801
|
return isSymbolEqual(current, previous);
|
|
5802
5802
|
}
|
|
5803
5803
|
|
|
5804
|
-
// bazel-out/
|
|
5804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5805
5805
|
var FIELD_DECORATORS = [
|
|
5806
5806
|
"Input",
|
|
5807
5807
|
"Output",
|
|
@@ -6021,11 +6021,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
6021
6021
|
}
|
|
6022
6022
|
};
|
|
6023
6023
|
|
|
6024
|
-
// bazel-out/
|
|
6024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
6025
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";
|
|
6026
6026
|
import ts24 from "typescript";
|
|
6027
6027
|
|
|
6028
|
-
// bazel-out/
|
|
6028
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
6029
6029
|
import ts23 from "typescript";
|
|
6030
6030
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
6031
6031
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -6097,7 +6097,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
6097
6097
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
6098
6098
|
}
|
|
6099
6099
|
|
|
6100
|
-
// bazel-out/
|
|
6100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
6101
6101
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
6102
6102
|
hasProviders;
|
|
6103
6103
|
remotelyScopedComponents = [];
|
|
@@ -6737,7 +6737,7 @@ function isSyntheticReference(ref) {
|
|
|
6737
6737
|
return ref.synthetic;
|
|
6738
6738
|
}
|
|
6739
6739
|
|
|
6740
|
-
// bazel-out/
|
|
6740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6741
6741
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6742
6742
|
const name = ref.debugName || "(unknown)";
|
|
6743
6743
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6760,7 +6760,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6760
6760
|
return null;
|
|
6761
6761
|
}
|
|
6762
6762
|
|
|
6763
|
-
// bazel-out/
|
|
6763
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6764
6764
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6765
6765
|
import ts25 from "typescript";
|
|
6766
6766
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -7098,7 +7098,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
7098
7098
|
}));
|
|
7099
7099
|
}
|
|
7100
7100
|
|
|
7101
|
-
// bazel-out/
|
|
7101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
7102
7102
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
7103
7103
|
usedDirectives = [];
|
|
7104
7104
|
usedPipes = [];
|
|
@@ -7130,7 +7130,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
7130
7130
|
}
|
|
7131
7131
|
};
|
|
7132
7132
|
|
|
7133
|
-
// bazel-out/
|
|
7133
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
7134
7134
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
7135
7135
|
if (value instanceof Map) {
|
|
7136
7136
|
const name = value.get("name");
|
|
@@ -7207,10 +7207,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7207
7207
|
return false;
|
|
7208
7208
|
}
|
|
7209
7209
|
|
|
7210
|
-
// bazel-out/
|
|
7210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7211
7211
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7212
7212
|
|
|
7213
|
-
// bazel-out/
|
|
7213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7214
7214
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7215
7215
|
var UpdateMode;
|
|
7216
7216
|
(function(UpdateMode2) {
|
|
@@ -7218,13 +7218,13 @@ var UpdateMode;
|
|
|
7218
7218
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7219
7219
|
})(UpdateMode || (UpdateMode = {}));
|
|
7220
7220
|
|
|
7221
|
-
// bazel-out/
|
|
7221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7222
7222
|
import ts27 from "typescript";
|
|
7223
7223
|
|
|
7224
|
-
// bazel-out/
|
|
7224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7225
7225
|
import ts26 from "typescript";
|
|
7226
7226
|
|
|
7227
|
-
// bazel-out/
|
|
7227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7228
7228
|
var NgExtension = Symbol("NgExtension");
|
|
7229
7229
|
function isExtended(sf) {
|
|
7230
7230
|
return sf[NgExtension] !== void 0;
|
|
@@ -7284,13 +7284,13 @@ function retagTsFile(sf) {
|
|
|
7284
7284
|
}
|
|
7285
7285
|
}
|
|
7286
7286
|
|
|
7287
|
-
// bazel-out/
|
|
7287
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7288
7288
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7289
7289
|
function makeShimFileName(fileName, suffix) {
|
|
7290
7290
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7291
7291
|
}
|
|
7292
7292
|
|
|
7293
|
-
// bazel-out/
|
|
7293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7294
7294
|
var ShimAdapter = class {
|
|
7295
7295
|
delegate;
|
|
7296
7296
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -7387,7 +7387,7 @@ var ShimAdapter = class {
|
|
|
7387
7387
|
}
|
|
7388
7388
|
};
|
|
7389
7389
|
|
|
7390
|
-
// bazel-out/
|
|
7390
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7391
7391
|
var ShimReferenceTagger = class {
|
|
7392
7392
|
suffixes;
|
|
7393
7393
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -7422,7 +7422,7 @@ var ShimReferenceTagger = class {
|
|
|
7422
7422
|
}
|
|
7423
7423
|
};
|
|
7424
7424
|
|
|
7425
|
-
// bazel-out/
|
|
7425
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7426
7426
|
var DelegatingCompilerHost = class {
|
|
7427
7427
|
delegate;
|
|
7428
7428
|
createHash;
|
|
@@ -7573,7 +7573,7 @@ var TsCreateProgramDriver = class {
|
|
|
7573
7573
|
}
|
|
7574
7574
|
};
|
|
7575
7575
|
|
|
7576
|
-
// bazel-out/
|
|
7576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7577
7577
|
import ts28 from "typescript";
|
|
7578
7578
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7579
7579
|
var _a;
|
|
@@ -7684,7 +7684,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7684
7684
|
);
|
|
7685
7685
|
}
|
|
7686
7686
|
|
|
7687
|
-
// bazel-out/
|
|
7687
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7688
7688
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7689
7689
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7690
7690
|
function getTemplateId(clazz) {
|
|
@@ -7701,11 +7701,11 @@ function allocateTemplateId(sf) {
|
|
|
7701
7701
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7702
7702
|
}
|
|
7703
7703
|
|
|
7704
|
-
// bazel-out/
|
|
7704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7705
7705
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7706
7706
|
import ts30 from "typescript";
|
|
7707
7707
|
|
|
7708
|
-
// bazel-out/
|
|
7708
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7709
7709
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7710
7710
|
import ts29 from "typescript";
|
|
7711
7711
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7836,7 +7836,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7836
7836
|
}) || false;
|
|
7837
7837
|
}
|
|
7838
7838
|
|
|
7839
|
-
// bazel-out/
|
|
7839
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7840
7840
|
var CompletionEngine = class {
|
|
7841
7841
|
tcb;
|
|
7842
7842
|
data;
|
|
@@ -8298,6 +8298,7 @@ var Mappings = class {
|
|
|
8298
8298
|
this.raw[this.generatedCodeLine] = this.rawSegments = [];
|
|
8299
8299
|
this.generatedCodeColumn = 0;
|
|
8300
8300
|
first = true;
|
|
8301
|
+
charInHiresBoundary = false;
|
|
8301
8302
|
} else {
|
|
8302
8303
|
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
8303
8304
|
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
@@ -8360,7 +8361,8 @@ var MagicString = class {
|
|
|
8360
8361
|
sourcemapLocations: { writable: true, value: new BitSet() },
|
|
8361
8362
|
storedNames: { writable: true, value: {} },
|
|
8362
8363
|
indentStr: { writable: true, value: void 0 },
|
|
8363
|
-
ignoreList: { writable: true, value: options.ignoreList }
|
|
8364
|
+
ignoreList: { writable: true, value: options.ignoreList },
|
|
8365
|
+
offset: { writable: true, value: options.offset || 0 }
|
|
8364
8366
|
});
|
|
8365
8367
|
this.byStart[0] = chunk;
|
|
8366
8368
|
this.byEnd[string.length] = chunk;
|
|
@@ -8375,6 +8377,7 @@ var MagicString = class {
|
|
|
8375
8377
|
return this;
|
|
8376
8378
|
}
|
|
8377
8379
|
appendLeft(index, content) {
|
|
8380
|
+
index = index + this.offset;
|
|
8378
8381
|
if (typeof content !== "string")
|
|
8379
8382
|
throw new TypeError("inserted content must be a string");
|
|
8380
8383
|
this._split(index);
|
|
@@ -8387,6 +8390,7 @@ var MagicString = class {
|
|
|
8387
8390
|
return this;
|
|
8388
8391
|
}
|
|
8389
8392
|
appendRight(index, content) {
|
|
8393
|
+
index = index + this.offset;
|
|
8390
8394
|
if (typeof content !== "string")
|
|
8391
8395
|
throw new TypeError("inserted content must be a string");
|
|
8392
8396
|
this._split(index);
|
|
@@ -8399,7 +8403,7 @@ var MagicString = class {
|
|
|
8399
8403
|
return this;
|
|
8400
8404
|
}
|
|
8401
8405
|
clone() {
|
|
8402
|
-
const cloned = new MagicString(this.original, { filename: this.filename });
|
|
8406
|
+
const cloned = new MagicString(this.original, { filename: this.filename, offset: this.offset });
|
|
8403
8407
|
let originalChunk = this.firstChunk;
|
|
8404
8408
|
let clonedChunk = cloned.firstChunk = cloned.lastSearchedChunk = originalChunk.clone();
|
|
8405
8409
|
while (originalChunk) {
|
|
@@ -8568,6 +8572,9 @@ var MagicString = class {
|
|
|
8568
8572
|
return this.prependRight(index, content);
|
|
8569
8573
|
}
|
|
8570
8574
|
move(start, end, index) {
|
|
8575
|
+
start = start + this.offset;
|
|
8576
|
+
end = end + this.offset;
|
|
8577
|
+
index = index + this.offset;
|
|
8571
8578
|
if (index >= start && index <= end)
|
|
8572
8579
|
throw new Error("Cannot move a selection inside itself");
|
|
8573
8580
|
this._split(start);
|
|
@@ -8608,6 +8615,8 @@ var MagicString = class {
|
|
|
8608
8615
|
return this.update(start, end, content, { ...options, overwrite: !options.contentOnly });
|
|
8609
8616
|
}
|
|
8610
8617
|
update(start, end, content, options) {
|
|
8618
|
+
start = start + this.offset;
|
|
8619
|
+
end = end + this.offset;
|
|
8611
8620
|
if (typeof content !== "string")
|
|
8612
8621
|
throw new TypeError("replacement content must be a string");
|
|
8613
8622
|
if (this.original.length !== 0) {
|
|
@@ -8669,6 +8678,7 @@ var MagicString = class {
|
|
|
8669
8678
|
return this;
|
|
8670
8679
|
}
|
|
8671
8680
|
prependLeft(index, content) {
|
|
8681
|
+
index = index + this.offset;
|
|
8672
8682
|
if (typeof content !== "string")
|
|
8673
8683
|
throw new TypeError("inserted content must be a string");
|
|
8674
8684
|
this._split(index);
|
|
@@ -8681,6 +8691,7 @@ var MagicString = class {
|
|
|
8681
8691
|
return this;
|
|
8682
8692
|
}
|
|
8683
8693
|
prependRight(index, content) {
|
|
8694
|
+
index = index + this.offset;
|
|
8684
8695
|
if (typeof content !== "string")
|
|
8685
8696
|
throw new TypeError("inserted content must be a string");
|
|
8686
8697
|
this._split(index);
|
|
@@ -8693,6 +8704,8 @@ var MagicString = class {
|
|
|
8693
8704
|
return this;
|
|
8694
8705
|
}
|
|
8695
8706
|
remove(start, end) {
|
|
8707
|
+
start = start + this.offset;
|
|
8708
|
+
end = end + this.offset;
|
|
8696
8709
|
if (this.original.length !== 0) {
|
|
8697
8710
|
while (start < 0)
|
|
8698
8711
|
start += this.original.length;
|
|
@@ -8717,6 +8730,8 @@ var MagicString = class {
|
|
|
8717
8730
|
return this;
|
|
8718
8731
|
}
|
|
8719
8732
|
reset(start, end) {
|
|
8733
|
+
start = start + this.offset;
|
|
8734
|
+
end = end + this.offset;
|
|
8720
8735
|
if (this.original.length !== 0) {
|
|
8721
8736
|
while (start < 0)
|
|
8722
8737
|
start += this.original.length;
|
|
@@ -8785,7 +8800,9 @@ var MagicString = class {
|
|
|
8785
8800
|
return this.intro.substr(lineIndex + 1) + lineStr;
|
|
8786
8801
|
return this.intro + lineStr;
|
|
8787
8802
|
}
|
|
8788
|
-
slice(start = 0, end = this.original.length) {
|
|
8803
|
+
slice(start = 0, end = this.original.length - this.offset) {
|
|
8804
|
+
start = start + this.offset;
|
|
8805
|
+
end = end + this.offset;
|
|
8789
8806
|
if (this.original.length !== 0) {
|
|
8790
8807
|
while (start < 0)
|
|
8791
8808
|
start += this.original.length;
|
|
@@ -8974,11 +8991,7 @@ var MagicString = class {
|
|
|
8974
8991
|
if (match.index != null) {
|
|
8975
8992
|
const replacement2 = getReplacement(match, this.original);
|
|
8976
8993
|
if (replacement2 !== match[0]) {
|
|
8977
|
-
this.overwrite(
|
|
8978
|
-
match.index,
|
|
8979
|
-
match.index + match[0].length,
|
|
8980
|
-
replacement2
|
|
8981
|
-
);
|
|
8994
|
+
this.overwrite(match.index, match.index + match[0].length, replacement2);
|
|
8982
8995
|
}
|
|
8983
8996
|
}
|
|
8984
8997
|
});
|
|
@@ -8987,11 +9000,7 @@ var MagicString = class {
|
|
|
8987
9000
|
if (match && match.index != null) {
|
|
8988
9001
|
const replacement2 = getReplacement(match, this.original);
|
|
8989
9002
|
if (replacement2 !== match[0]) {
|
|
8990
|
-
this.overwrite(
|
|
8991
|
-
match.index,
|
|
8992
|
-
match.index + match[0].length,
|
|
8993
|
-
replacement2
|
|
8994
|
-
);
|
|
9003
|
+
this.overwrite(match.index, match.index + match[0].length, replacement2);
|
|
8995
9004
|
}
|
|
8996
9005
|
}
|
|
8997
9006
|
}
|
|
@@ -9034,10 +9043,10 @@ var MagicString = class {
|
|
|
9034
9043
|
}
|
|
9035
9044
|
};
|
|
9036
9045
|
|
|
9037
|
-
// bazel-out/
|
|
9046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
9038
9047
|
import ts43 from "typescript";
|
|
9039
9048
|
|
|
9040
|
-
// bazel-out/
|
|
9049
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
9041
9050
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
9042
9051
|
import ts31 from "typescript";
|
|
9043
9052
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -9091,10 +9100,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
9091
9100
|
}
|
|
9092
9101
|
};
|
|
9093
9102
|
|
|
9094
|
-
// bazel-out/
|
|
9103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9095
9104
|
import ts36 from "typescript";
|
|
9096
9105
|
|
|
9097
|
-
// bazel-out/
|
|
9106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
9098
9107
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
9099
9108
|
var ReferenceEmitEnvironment = class {
|
|
9100
9109
|
importManager;
|
|
@@ -9129,7 +9138,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
9129
9138
|
}
|
|
9130
9139
|
};
|
|
9131
9140
|
|
|
9132
|
-
// bazel-out/
|
|
9141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
9133
9142
|
import ts32 from "typescript";
|
|
9134
9143
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
9135
9144
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -9212,15 +9221,15 @@ function tsNumericExpression(value) {
|
|
|
9212
9221
|
return ts32.factory.createNumericLiteral(value);
|
|
9213
9222
|
}
|
|
9214
9223
|
|
|
9215
|
-
// bazel-out/
|
|
9224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9216
9225
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9217
9226
|
import ts35 from "typescript";
|
|
9218
9227
|
|
|
9219
|
-
// bazel-out/
|
|
9228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9220
9229
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9221
9230
|
import ts34 from "typescript";
|
|
9222
9231
|
|
|
9223
|
-
// bazel-out/
|
|
9232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9224
9233
|
import ts33 from "typescript";
|
|
9225
9234
|
var TypeParameterEmitter = class {
|
|
9226
9235
|
typeParameters;
|
|
@@ -9300,7 +9309,7 @@ var TypeParameterEmitter = class {
|
|
|
9300
9309
|
}
|
|
9301
9310
|
};
|
|
9302
9311
|
|
|
9303
|
-
// bazel-out/
|
|
9312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9304
9313
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9305
9314
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9306
9315
|
];
|
|
@@ -9392,7 +9401,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9392
9401
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9393
9402
|
}
|
|
9394
9403
|
|
|
9395
|
-
// bazel-out/
|
|
9404
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9396
9405
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9397
9406
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9398
9407
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9515,7 +9524,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9515
9524
|
});
|
|
9516
9525
|
}
|
|
9517
9526
|
|
|
9518
|
-
// bazel-out/
|
|
9527
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9519
9528
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9520
9529
|
config;
|
|
9521
9530
|
nextIds = {
|
|
@@ -9588,7 +9597,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9588
9597
|
}
|
|
9589
9598
|
};
|
|
9590
9599
|
|
|
9591
|
-
// bazel-out/
|
|
9600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9592
9601
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9593
9602
|
import ts37 from "typescript";
|
|
9594
9603
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9791,7 +9800,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9791
9800
|
};
|
|
9792
9801
|
}
|
|
9793
9802
|
|
|
9794
|
-
// bazel-out/
|
|
9803
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9795
9804
|
import ts38 from "typescript";
|
|
9796
9805
|
var TypeCheckShimGenerator = class {
|
|
9797
9806
|
extensionPrefix = "ngtypecheck";
|
|
@@ -9807,11 +9816,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9807
9816
|
}
|
|
9808
9817
|
};
|
|
9809
9818
|
|
|
9810
|
-
// bazel-out/
|
|
9819
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9811
9820
|
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";
|
|
9812
9821
|
import ts41 from "typescript";
|
|
9813
9822
|
|
|
9814
|
-
// bazel-out/
|
|
9823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9815
9824
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9816
9825
|
import ts39 from "typescript";
|
|
9817
9826
|
function wrapForDiagnostics(expr) {
|
|
@@ -9867,7 +9876,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9867
9876
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9868
9877
|
}
|
|
9869
9878
|
|
|
9870
|
-
// bazel-out/
|
|
9879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9871
9880
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9872
9881
|
import ts40 from "typescript";
|
|
9873
9882
|
var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -10209,7 +10218,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
10209
10218
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
10210
10219
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
10211
10220
|
|
|
10212
|
-
// bazel-out/
|
|
10221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
10213
10222
|
var TcbGenericContextBehavior;
|
|
10214
10223
|
(function(TcbGenericContextBehavior2) {
|
|
10215
10224
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -11896,7 +11905,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11896
11905
|
}
|
|
11897
11906
|
};
|
|
11898
11907
|
|
|
11899
|
-
// bazel-out/
|
|
11908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11900
11909
|
import ts42 from "typescript";
|
|
11901
11910
|
var TypeCheckFile = class extends Environment {
|
|
11902
11911
|
fileName;
|
|
@@ -11945,7 +11954,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11945
11954
|
}
|
|
11946
11955
|
};
|
|
11947
11956
|
|
|
11948
|
-
// bazel-out/
|
|
11957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11949
11958
|
var InliningMode;
|
|
11950
11959
|
(function(InliningMode2) {
|
|
11951
11960
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -12213,10 +12222,10 @@ var TypeCtorOp = class {
|
|
|
12213
12222
|
}
|
|
12214
12223
|
};
|
|
12215
12224
|
|
|
12216
|
-
// bazel-out/
|
|
12225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
12217
12226
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
12218
12227
|
|
|
12219
|
-
// bazel-out/
|
|
12228
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
12220
12229
|
var LF_CHAR = 10;
|
|
12221
12230
|
var CR_CHAR = 13;
|
|
12222
12231
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -12257,7 +12266,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
12257
12266
|
return low - 1;
|
|
12258
12267
|
}
|
|
12259
12268
|
|
|
12260
|
-
// bazel-out/
|
|
12269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
12261
12270
|
var TemplateSource = class {
|
|
12262
12271
|
mapping;
|
|
12263
12272
|
file;
|
|
@@ -12308,7 +12317,7 @@ var TemplateSourceManager = class {
|
|
|
12308
12317
|
}
|
|
12309
12318
|
};
|
|
12310
12319
|
|
|
12311
|
-
// bazel-out/
|
|
12320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
12312
12321
|
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";
|
|
12313
12322
|
import ts44 from "typescript";
|
|
12314
12323
|
var SymbolBuilder = class {
|
|
@@ -12890,7 +12899,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12890
12899
|
};
|
|
12891
12900
|
}
|
|
12892
12901
|
|
|
12893
|
-
// bazel-out/
|
|
12902
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12894
12903
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12895
12904
|
var TemplateTypeCheckerImpl = class {
|
|
12896
12905
|
originalProgram;
|
|
@@ -13615,10 +13624,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13615
13624
|
}
|
|
13616
13625
|
};
|
|
13617
13626
|
|
|
13618
|
-
// bazel-out/
|
|
13627
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
|
|
13619
13628
|
import { outputAst as o3 } from "@angular/compiler";
|
|
13620
13629
|
|
|
13621
|
-
// bazel-out/
|
|
13630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_dependencies.mjs
|
|
13622
13631
|
import { outputAst as o2 } from "@angular/compiler";
|
|
13623
13632
|
import ts45 from "typescript";
|
|
13624
13633
|
function extractHmrDependencies(node, definition, factory, classMetadata, debugInfo) {
|
|
@@ -13749,7 +13758,7 @@ var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
|
|
|
13749
13758
|
}
|
|
13750
13759
|
};
|
|
13751
13760
|
|
|
13752
|
-
// bazel-out/
|
|
13761
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
|
|
13753
13762
|
function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definition, factory, classMetadata, debugInfo) {
|
|
13754
13763
|
if (!reflection.isClass(clazz)) {
|
|
13755
13764
|
return null;
|
|
@@ -13767,7 +13776,7 @@ function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definit
|
|
|
13767
13776
|
return meta;
|
|
13768
13777
|
}
|
|
13769
13778
|
|
|
13770
|
-
// bazel-out/
|
|
13779
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.mjs
|
|
13771
13780
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
13772
13781
|
import ts46 from "typescript";
|
|
13773
13782
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, sourceFile) {
|
|
@@ -13803,7 +13812,7 @@ var HmrModuleImportRewriter = class {
|
|
|
13803
13812
|
}
|
|
13804
13813
|
};
|
|
13805
13814
|
|
|
13806
|
-
// bazel-out/
|
|
13815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13807
13816
|
var EMPTY_ARRAY2 = [];
|
|
13808
13817
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13809
13818
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -14957,7 +14966,7 @@ function isDefaultImport(node) {
|
|
|
14957
14966
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14958
14967
|
}
|
|
14959
14968
|
|
|
14960
|
-
// bazel-out/
|
|
14969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14961
14970
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14962
14971
|
import ts48 from "typescript";
|
|
14963
14972
|
var InjectableDecoratorHandler = class {
|
|
@@ -15198,7 +15207,7 @@ function getDep(dep, reflector) {
|
|
|
15198
15207
|
return meta;
|
|
15199
15208
|
}
|
|
15200
15209
|
|
|
15201
|
-
// bazel-out/
|
|
15210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
15202
15211
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
15203
15212
|
import ts49 from "typescript";
|
|
15204
15213
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -15446,4 +15455,4 @@ export {
|
|
|
15446
15455
|
* Use of this source code is governed by an MIT-style license that can be
|
|
15447
15456
|
* found in the LICENSE file at https://angular.dev/license
|
|
15448
15457
|
*/
|
|
15449
|
-
//# sourceMappingURL=chunk-
|
|
15458
|
+
//# sourceMappingURL=chunk-UFF4IQHB.js.map
|