@angular/compiler-cli 19.0.0-rc.0 → 19.0.0-rc.1
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-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-V2Z4WDVR.js → chunk-AJPANXTD.js} +3 -3
- package/bundles/{chunk-TQQOHNLL.js → chunk-BQXOZNTE.js} +101 -85
- package/bundles/{chunk-TQQOHNLL.js.map → chunk-BQXOZNTE.js.map} +1 -1
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-4W4CWRSP.js → chunk-FYHKIXOX.js} +5 -5
- package/bundles/{chunk-S2JI2WY5.js → chunk-HIY6A3BW.js} +190 -157
- package/bundles/chunk-HIY6A3BW.js.map +6 -0
- package/bundles/{chunk-PXQLBKVP.js → chunk-IZRNIUQB.js} +31 -31
- package/bundles/{chunk-TRCFFQ47.js → chunk-KFTXE4DT.js} +52 -49
- package/bundles/chunk-KFTXE4DT.js.map +6 -0
- package/bundles/{chunk-NS33RCEE.js → chunk-LZMAR6SN.js} +12 -12
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
- 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 +3 -3
- package/src/ngtsc/metadata/src/api.d.ts +5 -0
- package/src/ngtsc/metadata/src/util.d.ts +5 -2
- package/src/ngtsc/reflection/src/typescript.d.ts +6 -0
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +5 -3
- package/bundles/chunk-S2JI2WY5.js.map +0 -6
- package/bundles/chunk-TRCFFQ47.js.map +0 -6
- /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
- /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
- /package/bundles/{chunk-V2Z4WDVR.js.map → chunk-AJPANXTD.js.map} +0 -0
- /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
- /package/bundles/{chunk-4W4CWRSP.js.map → chunk-FYHKIXOX.js.map} +0 -0
- /package/bundles/{chunk-PXQLBKVP.js.map → chunk-IZRNIUQB.js.map} +0 -0
- /package/bundles/{chunk-NS33RCEE.js.map → chunk-LZMAR6SN.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
|
@@ -12,6 +12,7 @@ import {
|
|
|
12
12
|
ImportManager,
|
|
13
13
|
Reference,
|
|
14
14
|
TypeEmitter,
|
|
15
|
+
TypeEntityToDeclarationError,
|
|
15
16
|
addDiagnosticChain,
|
|
16
17
|
assertSuccessfulReferenceEmit,
|
|
17
18
|
attachDefaultImportDeclaration,
|
|
@@ -46,23 +47,23 @@ import {
|
|
|
46
47
|
translateStatement,
|
|
47
48
|
translateType,
|
|
48
49
|
typeNodeToValueExpr
|
|
49
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-KFTXE4DT.js";
|
|
50
51
|
import {
|
|
51
52
|
PerfCheckpoint,
|
|
52
53
|
PerfEvent,
|
|
53
54
|
PerfPhase
|
|
54
|
-
} from "./chunk-
|
|
55
|
+
} from "./chunk-Q2WE7ECN.js";
|
|
55
56
|
import {
|
|
56
57
|
absoluteFrom,
|
|
57
58
|
absoluteFromSourceFile,
|
|
58
59
|
getSourceFileOrError,
|
|
59
60
|
relative
|
|
60
|
-
} from "./chunk-
|
|
61
|
+
} from "./chunk-37JMVF7H.js";
|
|
61
62
|
import {
|
|
62
63
|
__publicField
|
|
63
64
|
} from "./chunk-KPQ72R34.js";
|
|
64
65
|
|
|
65
|
-
// bazel-out/
|
|
66
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
66
67
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
67
68
|
import ts from "typescript";
|
|
68
69
|
var CORE_MODULE = "@angular/core";
|
|
@@ -324,7 +325,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
324
325
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
325
326
|
}
|
|
326
327
|
|
|
327
|
-
// bazel-out/
|
|
328
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
328
329
|
var DynamicValue = class {
|
|
329
330
|
node;
|
|
330
331
|
reason;
|
|
@@ -417,10 +418,10 @@ var DynamicValue = class {
|
|
|
417
418
|
}
|
|
418
419
|
};
|
|
419
420
|
|
|
420
|
-
// bazel-out/
|
|
421
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
421
422
|
import ts2 from "typescript";
|
|
422
423
|
|
|
423
|
-
// bazel-out/
|
|
424
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
424
425
|
var ResolvedModule = class {
|
|
425
426
|
exports;
|
|
426
427
|
evaluate;
|
|
@@ -455,7 +456,7 @@ var EnumValue = class {
|
|
|
455
456
|
var KnownFn = class {
|
|
456
457
|
};
|
|
457
458
|
|
|
458
|
-
// bazel-out/
|
|
459
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
459
460
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
460
461
|
lhs;
|
|
461
462
|
constructor(lhs) {
|
|
@@ -510,7 +511,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
510
511
|
}
|
|
511
512
|
};
|
|
512
513
|
|
|
513
|
-
// bazel-out/
|
|
514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
514
515
|
var SyntheticValue = class {
|
|
515
516
|
value;
|
|
516
517
|
constructor(value) {
|
|
@@ -518,7 +519,7 @@ var SyntheticValue = class {
|
|
|
518
519
|
}
|
|
519
520
|
};
|
|
520
521
|
|
|
521
|
-
// bazel-out/
|
|
522
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
522
523
|
function literalBinaryOp(op) {
|
|
523
524
|
return { op, literal: true };
|
|
524
525
|
}
|
|
@@ -1099,7 +1100,7 @@ function owningModule(context, override = null) {
|
|
|
1099
1100
|
}
|
|
1100
1101
|
}
|
|
1101
1102
|
|
|
1102
|
-
// bazel-out/
|
|
1103
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1103
1104
|
var PartialEvaluator = class {
|
|
1104
1105
|
host;
|
|
1105
1106
|
checker;
|
|
@@ -1122,7 +1123,7 @@ var PartialEvaluator = class {
|
|
|
1122
1123
|
}
|
|
1123
1124
|
};
|
|
1124
1125
|
|
|
1125
|
-
// bazel-out/
|
|
1126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1126
1127
|
import ts3 from "typescript";
|
|
1127
1128
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1128
1129
|
var _a, _b;
|
|
@@ -1257,14 +1258,14 @@ function getContainerNode(node) {
|
|
|
1257
1258
|
return node.getSourceFile();
|
|
1258
1259
|
}
|
|
1259
1260
|
|
|
1260
|
-
// bazel-out/
|
|
1261
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
1261
1262
|
var OptimizeFor;
|
|
1262
1263
|
(function(OptimizeFor2) {
|
|
1263
1264
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
1264
1265
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
1265
1266
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
1266
1267
|
|
|
1267
|
-
// bazel-out/
|
|
1268
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
1268
1269
|
var PotentialImportKind;
|
|
1269
1270
|
(function(PotentialImportKind2) {
|
|
1270
1271
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -1276,7 +1277,7 @@ var PotentialImportMode;
|
|
|
1276
1277
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
1277
1278
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
1278
1279
|
|
|
1279
|
-
// bazel-out/
|
|
1280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
1280
1281
|
var CompletionKind;
|
|
1281
1282
|
(function(CompletionKind2) {
|
|
1282
1283
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -1284,7 +1285,7 @@ var CompletionKind;
|
|
|
1284
1285
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
1285
1286
|
})(CompletionKind || (CompletionKind = {}));
|
|
1286
1287
|
|
|
1287
|
-
// bazel-out/
|
|
1288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
1288
1289
|
var SymbolKind;
|
|
1289
1290
|
(function(SymbolKind2) {
|
|
1290
1291
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -1301,7 +1302,7 @@ var SymbolKind;
|
|
|
1301
1302
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
1302
1303
|
})(SymbolKind || (SymbolKind = {}));
|
|
1303
1304
|
|
|
1304
|
-
// bazel-out/
|
|
1305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1305
1306
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1306
1307
|
import ts4 from "typescript";
|
|
1307
1308
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1447,10 +1448,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1447
1448
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1448
1449
|
}
|
|
1449
1450
|
|
|
1450
|
-
// bazel-out/
|
|
1451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1451
1452
|
import ts12 from "typescript";
|
|
1452
1453
|
|
|
1453
|
-
// bazel-out/
|
|
1454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1454
1455
|
var MetaKind;
|
|
1455
1456
|
(function(MetaKind2) {
|
|
1456
1457
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1463,10 +1464,10 @@ var MatchSource;
|
|
|
1463
1464
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1464
1465
|
})(MatchSource || (MatchSource = {}));
|
|
1465
1466
|
|
|
1466
|
-
// bazel-out/
|
|
1467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1467
1468
|
import ts6 from "typescript";
|
|
1468
1469
|
|
|
1469
|
-
// bazel-out/
|
|
1470
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1470
1471
|
var ClassPropertyMapping = class {
|
|
1471
1472
|
forwardMap;
|
|
1472
1473
|
reverseMap;
|
|
@@ -1548,22 +1549,41 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1548
1549
|
return reverseMap;
|
|
1549
1550
|
}
|
|
1550
1551
|
|
|
1551
|
-
// bazel-out/
|
|
1552
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1552
1553
|
import ts5 from "typescript";
|
|
1553
1554
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1554
1555
|
if (!ts5.isTupleTypeNode(def)) {
|
|
1555
|
-
return [];
|
|
1556
|
+
return { result: [], isIncomplete: false };
|
|
1556
1557
|
}
|
|
1557
|
-
|
|
1558
|
+
const result = [];
|
|
1559
|
+
let isIncomplete = false;
|
|
1560
|
+
for (const element of def.elements) {
|
|
1558
1561
|
if (!ts5.isTypeQueryNode(element)) {
|
|
1559
1562
|
throw new Error(`Expected TypeQueryNode: ${nodeDebugInfo(element)}`);
|
|
1560
1563
|
}
|
|
1561
|
-
|
|
1562
|
-
|
|
1564
|
+
const ref = extraReferenceFromTypeQuery(checker, element, def, bestGuessOwningModule);
|
|
1565
|
+
if (ref === null) {
|
|
1566
|
+
isIncomplete = true;
|
|
1567
|
+
} else {
|
|
1568
|
+
result.push(ref);
|
|
1569
|
+
}
|
|
1570
|
+
}
|
|
1571
|
+
return { result, isIncomplete };
|
|
1563
1572
|
}
|
|
1564
1573
|
function extraReferenceFromTypeQuery(checker, typeNode, origin, bestGuessOwningModule) {
|
|
1565
1574
|
const type = typeNode.exprName;
|
|
1566
|
-
|
|
1575
|
+
let node;
|
|
1576
|
+
let from;
|
|
1577
|
+
try {
|
|
1578
|
+
const result = reflectTypeEntityToDeclaration(type, checker);
|
|
1579
|
+
node = result.node;
|
|
1580
|
+
from = result.from;
|
|
1581
|
+
} catch (e) {
|
|
1582
|
+
if (e instanceof TypeEntityToDeclarationError) {
|
|
1583
|
+
return null;
|
|
1584
|
+
}
|
|
1585
|
+
throw e;
|
|
1586
|
+
}
|
|
1567
1587
|
if (!isNamedClassDeclaration(node)) {
|
|
1568
1588
|
throw new Error(`Expected named ClassDeclaration: ${nodeDebugInfo(node)}`);
|
|
1569
1589
|
}
|
|
@@ -1745,7 +1765,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
1745
1765
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
1746
1766
|
}
|
|
1747
1767
|
|
|
1748
|
-
// bazel-out/
|
|
1768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1749
1769
|
var DtsMetadataReader = class {
|
|
1750
1770
|
checker;
|
|
1751
1771
|
reflector;
|
|
@@ -1762,12 +1782,17 @@ var DtsMetadataReader = class {
|
|
|
1762
1782
|
return null;
|
|
1763
1783
|
}
|
|
1764
1784
|
const [_, declarationMetadata, importMetadata, exportMetadata] = ngModuleDef.type.typeArguments;
|
|
1785
|
+
const declarations = extractReferencesFromType(this.checker, declarationMetadata, ref.bestGuessOwningModule);
|
|
1786
|
+
const exports = extractReferencesFromType(this.checker, exportMetadata, ref.bestGuessOwningModule);
|
|
1787
|
+
const imports = extractReferencesFromType(this.checker, importMetadata, ref.bestGuessOwningModule);
|
|
1788
|
+
const isPoisoned = exports.isIncomplete;
|
|
1765
1789
|
return {
|
|
1766
1790
|
kind: MetaKind.NgModule,
|
|
1767
1791
|
ref,
|
|
1768
|
-
declarations:
|
|
1769
|
-
|
|
1770
|
-
|
|
1792
|
+
declarations: declarations.result,
|
|
1793
|
+
isPoisoned,
|
|
1794
|
+
exports: exports.result,
|
|
1795
|
+
imports: imports.result,
|
|
1771
1796
|
schemas: [],
|
|
1772
1797
|
rawDeclarations: null,
|
|
1773
1798
|
rawImports: null,
|
|
@@ -1777,7 +1802,7 @@ var DtsMetadataReader = class {
|
|
|
1777
1802
|
};
|
|
1778
1803
|
}
|
|
1779
1804
|
getDirectiveMetadata(ref) {
|
|
1780
|
-
var _a, _b;
|
|
1805
|
+
var _a, _b, _c;
|
|
1781
1806
|
const clazz = ref.node;
|
|
1782
1807
|
const def = this.reflector.getMembersOfClass(clazz).find((field) => field.isStatic && (field.name === "\u0275cmp" || field.name === "\u0275dir"));
|
|
1783
1808
|
if (def === void 0) {
|
|
@@ -1796,6 +1821,7 @@ var DtsMetadataReader = class {
|
|
|
1796
1821
|
const outputs = ClassPropertyMapping.fromMappedObject(readMapType(def.type.typeArguments[4], readStringType));
|
|
1797
1822
|
const hostDirectives = def.type.typeArguments.length > 8 ? readHostDirectivesType(this.checker, def.type.typeArguments[8], ref.bestGuessOwningModule) : null;
|
|
1798
1823
|
const isSignal = def.type.typeArguments.length > 9 && ((_b = readBooleanType(def.type.typeArguments[9])) != null ? _b : false);
|
|
1824
|
+
const isPoisoned = hostDirectives !== null && (hostDirectives == null ? void 0 : hostDirectives.isIncomplete);
|
|
1799
1825
|
return {
|
|
1800
1826
|
kind: MetaKind.Directive,
|
|
1801
1827
|
matchSource: MatchSource.Selector,
|
|
@@ -1806,11 +1832,11 @@ var DtsMetadataReader = class {
|
|
|
1806
1832
|
exportAs: readStringArrayType(def.type.typeArguments[2]),
|
|
1807
1833
|
inputs,
|
|
1808
1834
|
outputs,
|
|
1809
|
-
hostDirectives,
|
|
1835
|
+
hostDirectives: (_c = hostDirectives == null ? void 0 : hostDirectives.result) != null ? _c : null,
|
|
1810
1836
|
queries: readStringArrayType(def.type.typeArguments[5]),
|
|
1811
1837
|
...extractDirectiveTypeCheckMeta(clazz, inputs, this.reflector),
|
|
1812
1838
|
baseClass: readBaseClass2(clazz, this.checker, this.reflector),
|
|
1813
|
-
isPoisoned
|
|
1839
|
+
isPoisoned,
|
|
1814
1840
|
isStructural,
|
|
1815
1841
|
animationTriggerNames: null,
|
|
1816
1842
|
ngContentSelectors,
|
|
@@ -1915,24 +1941,30 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1915
1941
|
return null;
|
|
1916
1942
|
}
|
|
1917
1943
|
const result = [];
|
|
1944
|
+
let isIncomplete = false;
|
|
1918
1945
|
for (const hostDirectiveType of type.elements) {
|
|
1919
1946
|
const { directive, inputs, outputs } = readMapType(hostDirectiveType, (type2) => type2);
|
|
1920
1947
|
if (directive) {
|
|
1921
1948
|
if (!ts6.isTypeQueryNode(directive)) {
|
|
1922
1949
|
throw new Error(`Expected TypeQueryNode: ${nodeDebugInfo(directive)}`);
|
|
1923
1950
|
}
|
|
1951
|
+
const ref = extraReferenceFromTypeQuery(checker, directive, type, bestGuessOwningModule);
|
|
1952
|
+
if (ref === null) {
|
|
1953
|
+
isIncomplete = true;
|
|
1954
|
+
continue;
|
|
1955
|
+
}
|
|
1924
1956
|
result.push({
|
|
1925
|
-
directive:
|
|
1957
|
+
directive: ref,
|
|
1926
1958
|
isForwardReference: false,
|
|
1927
1959
|
inputs: readMapType(inputs, readStringType),
|
|
1928
1960
|
outputs: readMapType(outputs, readStringType)
|
|
1929
1961
|
});
|
|
1930
1962
|
}
|
|
1931
1963
|
}
|
|
1932
|
-
return result.length > 0 ? result : null;
|
|
1964
|
+
return result.length > 0 ? { result, isIncomplete } : null;
|
|
1933
1965
|
}
|
|
1934
1966
|
|
|
1935
|
-
// bazel-out/
|
|
1967
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1936
1968
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1937
1969
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1938
1970
|
if (topMeta === null) {
|
|
@@ -1996,7 +2028,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1996
2028
|
};
|
|
1997
2029
|
}
|
|
1998
2030
|
|
|
1999
|
-
// bazel-out/
|
|
2031
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2000
2032
|
var LocalMetadataRegistry = class {
|
|
2001
2033
|
directives = /* @__PURE__ */ new Map();
|
|
2002
2034
|
ngModules = /* @__PURE__ */ new Map();
|
|
@@ -2052,7 +2084,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2052
2084
|
}
|
|
2053
2085
|
};
|
|
2054
2086
|
|
|
2055
|
-
// bazel-out/
|
|
2087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2056
2088
|
var ResourceRegistry = class {
|
|
2057
2089
|
externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
2058
2090
|
componentToTemplateMap = /* @__PURE__ */ new Map();
|
|
@@ -2115,7 +2147,7 @@ var ResourceRegistry = class {
|
|
|
2115
2147
|
}
|
|
2116
2148
|
};
|
|
2117
2149
|
|
|
2118
|
-
// bazel-out/
|
|
2150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
2119
2151
|
var ExportedProviderStatusResolver = class {
|
|
2120
2152
|
metaReader;
|
|
2121
2153
|
calculating = /* @__PURE__ */ new Set();
|
|
@@ -2160,7 +2192,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
2160
2192
|
}
|
|
2161
2193
|
};
|
|
2162
2194
|
|
|
2163
|
-
// bazel-out/
|
|
2195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2164
2196
|
var EMPTY_ARRAY = [];
|
|
2165
2197
|
var HostDirectivesResolver = class {
|
|
2166
2198
|
metaReader;
|
|
@@ -2227,7 +2259,7 @@ function resolveOutput(bindingName) {
|
|
|
2227
2259
|
return bindingName;
|
|
2228
2260
|
}
|
|
2229
2261
|
|
|
2230
|
-
// bazel-out/
|
|
2262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2231
2263
|
var CompilationMode;
|
|
2232
2264
|
(function(CompilationMode2) {
|
|
2233
2265
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2241,7 +2273,7 @@ var HandlerPrecedence;
|
|
|
2241
2273
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
2242
2274
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
2243
2275
|
|
|
2244
|
-
// bazel-out/
|
|
2276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2245
2277
|
import ts7 from "typescript";
|
|
2246
2278
|
function aliasTransformFactory(exportStatements) {
|
|
2247
2279
|
return () => {
|
|
@@ -2266,10 +2298,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2266
2298
|
};
|
|
2267
2299
|
}
|
|
2268
2300
|
|
|
2269
|
-
// bazel-out/
|
|
2301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2270
2302
|
import ts8 from "typescript";
|
|
2271
2303
|
|
|
2272
|
-
// bazel-out/
|
|
2304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2273
2305
|
var TraitState;
|
|
2274
2306
|
(function(TraitState2) {
|
|
2275
2307
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2328,7 +2360,7 @@ var TraitImpl = class {
|
|
|
2328
2360
|
}
|
|
2329
2361
|
};
|
|
2330
2362
|
|
|
2331
|
-
// bazel-out/
|
|
2363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2332
2364
|
var TraitCompiler = class {
|
|
2333
2365
|
handlers;
|
|
2334
2366
|
reflector;
|
|
@@ -2809,7 +2841,7 @@ function containsErrors(diagnostics) {
|
|
|
2809
2841
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
|
|
2810
2842
|
}
|
|
2811
2843
|
|
|
2812
|
-
// bazel-out/
|
|
2844
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
2813
2845
|
import ts9 from "typescript";
|
|
2814
2846
|
var DtsTransformRegistry = class {
|
|
2815
2847
|
ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -2959,11 +2991,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
2959
2991
|
ts9.forEachChild(node, markForEmitAsSingleLine);
|
|
2960
2992
|
}
|
|
2961
2993
|
|
|
2962
|
-
// bazel-out/
|
|
2994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2963
2995
|
import { ConstantPool } from "@angular/compiler";
|
|
2964
2996
|
import ts11 from "typescript";
|
|
2965
2997
|
|
|
2966
|
-
// bazel-out/
|
|
2998
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2967
2999
|
import ts10 from "typescript";
|
|
2968
3000
|
function visit(node, visitor, context) {
|
|
2969
3001
|
return visitor._visit(node, context);
|
|
@@ -3022,7 +3054,7 @@ var Visitor = class {
|
|
|
3022
3054
|
}
|
|
3023
3055
|
};
|
|
3024
3056
|
|
|
3025
|
-
// bazel-out/
|
|
3057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3026
3058
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
3027
3059
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
3028
3060
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3268,7 +3300,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
3268
3300
|
return array;
|
|
3269
3301
|
}
|
|
3270
3302
|
|
|
3271
|
-
// bazel-out/
|
|
3303
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3272
3304
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3273
3305
|
const context = [];
|
|
3274
3306
|
for (const decl of data) {
|
|
@@ -3477,7 +3509,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
3477
3509
|
}
|
|
3478
3510
|
}
|
|
3479
3511
|
|
|
3480
|
-
// bazel-out/
|
|
3512
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3481
3513
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3482
3514
|
import ts13 from "typescript";
|
|
3483
3515
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3528,7 +3560,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3528
3560
|
return meta;
|
|
3529
3561
|
}
|
|
3530
3562
|
|
|
3531
|
-
// bazel-out/
|
|
3563
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3532
3564
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3533
3565
|
function compileNgFactoryDefField(metadata) {
|
|
3534
3566
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3551,7 +3583,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3551
3583
|
};
|
|
3552
3584
|
}
|
|
3553
3585
|
|
|
3554
|
-
// bazel-out/
|
|
3586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3555
3587
|
var InjectableClassRegistry = class {
|
|
3556
3588
|
host;
|
|
3557
3589
|
isCore;
|
|
@@ -3579,7 +3611,7 @@ var InjectableClassRegistry = class {
|
|
|
3579
3611
|
}
|
|
3580
3612
|
};
|
|
3581
3613
|
|
|
3582
|
-
// bazel-out/
|
|
3614
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3583
3615
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3584
3616
|
import ts14 from "typescript";
|
|
3585
3617
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3666,7 +3698,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3666
3698
|
return result.transformed[0];
|
|
3667
3699
|
}
|
|
3668
3700
|
|
|
3669
|
-
// bazel-out/
|
|
3701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3670
3702
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3671
3703
|
function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
|
|
3672
3704
|
if (!reflection.isClass(clazz)) {
|
|
@@ -3683,13 +3715,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
|
|
|
3683
3715
|
};
|
|
3684
3716
|
}
|
|
3685
3717
|
|
|
3686
|
-
// bazel-out/
|
|
3718
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3687
3719
|
var NoopReferencesRegistry = class {
|
|
3688
3720
|
add(source, ...references) {
|
|
3689
3721
|
}
|
|
3690
3722
|
};
|
|
3691
3723
|
|
|
3692
|
-
// bazel-out/
|
|
3724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3693
3725
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3694
3726
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3695
3727
|
const schemas = [];
|
|
@@ -3719,7 +3751,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3719
3751
|
return schemas;
|
|
3720
3752
|
}
|
|
3721
3753
|
|
|
3722
|
-
// bazel-out/
|
|
3754
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3723
3755
|
import { outputAst } from "@angular/compiler";
|
|
3724
3756
|
function compileInputTransformFields(inputs) {
|
|
3725
3757
|
const extraFields = [];
|
|
@@ -3737,16 +3769,16 @@ function compileInputTransformFields(inputs) {
|
|
|
3737
3769
|
return extraFields;
|
|
3738
3770
|
}
|
|
3739
3771
|
|
|
3740
|
-
// bazel-out/
|
|
3772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
|
|
3741
3773
|
var JitDeclarationRegistry = class {
|
|
3742
3774
|
jitDeclarations = /* @__PURE__ */ new Set();
|
|
3743
3775
|
};
|
|
3744
3776
|
|
|
3745
|
-
// bazel-out/
|
|
3777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3746
3778
|
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";
|
|
3747
3779
|
import ts47 from "typescript";
|
|
3748
3780
|
|
|
3749
|
-
// bazel-out/
|
|
3781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3750
3782
|
import ts15 from "typescript";
|
|
3751
3783
|
var SemanticSymbol = class {
|
|
3752
3784
|
decl;
|
|
@@ -3765,7 +3797,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3765
3797
|
return decl.name.text;
|
|
3766
3798
|
}
|
|
3767
3799
|
|
|
3768
|
-
// bazel-out/
|
|
3800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3769
3801
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3770
3802
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3771
3803
|
isPublicApiAffected() {
|
|
@@ -3907,10 +3939,10 @@ function getImportPath(expr) {
|
|
|
3907
3939
|
}
|
|
3908
3940
|
}
|
|
3909
3941
|
|
|
3910
|
-
// bazel-out/
|
|
3942
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3911
3943
|
import ts16 from "typescript";
|
|
3912
3944
|
|
|
3913
|
-
// bazel-out/
|
|
3945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3914
3946
|
function isSymbolEqual(a, b) {
|
|
3915
3947
|
if (a.decl === b.decl) {
|
|
3916
3948
|
return true;
|
|
@@ -3960,7 +3992,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3960
3992
|
return true;
|
|
3961
3993
|
}
|
|
3962
3994
|
|
|
3963
|
-
// bazel-out/
|
|
3995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3964
3996
|
function extractSemanticTypeParameters(node) {
|
|
3965
3997
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3966
3998
|
return null;
|
|
@@ -3982,14 +4014,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3982
4014
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3983
4015
|
}
|
|
3984
4016
|
|
|
3985
|
-
// bazel-out/
|
|
4017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3986
4018
|
var ComponentScopeKind;
|
|
3987
4019
|
(function(ComponentScopeKind2) {
|
|
3988
4020
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3989
4021
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3990
4022
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3991
4023
|
|
|
3992
|
-
// bazel-out/
|
|
4024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3993
4025
|
var CompoundComponentScopeReader = class {
|
|
3994
4026
|
readers;
|
|
3995
4027
|
constructor(readers) {
|
|
@@ -4015,7 +4047,7 @@ var CompoundComponentScopeReader = class {
|
|
|
4015
4047
|
}
|
|
4016
4048
|
};
|
|
4017
4049
|
|
|
4018
|
-
// bazel-out/
|
|
4050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
4019
4051
|
var MetadataDtsModuleScopeResolver = class {
|
|
4020
4052
|
dtsMetaReader;
|
|
4021
4053
|
aliasingHost;
|
|
@@ -4071,7 +4103,7 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4071
4103
|
const exportScope = {
|
|
4072
4104
|
exported: {
|
|
4073
4105
|
dependencies,
|
|
4074
|
-
isPoisoned:
|
|
4106
|
+
isPoisoned: meta.isPoisoned
|
|
4075
4107
|
}
|
|
4076
4108
|
};
|
|
4077
4109
|
this.cache.set(clazz, exportScope);
|
|
@@ -4093,11 +4125,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4093
4125
|
}
|
|
4094
4126
|
};
|
|
4095
4127
|
|
|
4096
|
-
// bazel-out/
|
|
4128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4097
4129
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
4098
4130
|
import ts17 from "typescript";
|
|
4099
4131
|
|
|
4100
|
-
// bazel-out/
|
|
4132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
4101
4133
|
function getDiagnosticNode(ref, rawExpr) {
|
|
4102
4134
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
4103
4135
|
}
|
|
@@ -4123,7 +4155,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
4123
4155
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
4124
4156
|
}
|
|
4125
4157
|
|
|
4126
|
-
// bazel-out/
|
|
4158
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4127
4159
|
var IN_PROGRESS_RESOLUTION = {};
|
|
4128
4160
|
var LocalModuleScopeRegistry = class {
|
|
4129
4161
|
localReader;
|
|
@@ -4482,7 +4514,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4482
4514
|
]);
|
|
4483
4515
|
}
|
|
4484
4516
|
|
|
4485
|
-
// bazel-out/
|
|
4517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4486
4518
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4487
4519
|
import ts18 from "typescript";
|
|
4488
4520
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4566,14 +4598,14 @@ var TypeCheckScopeRegistry = class {
|
|
|
4566
4598
|
}
|
|
4567
4599
|
};
|
|
4568
4600
|
|
|
4569
|
-
// bazel-out/
|
|
4601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4570
4602
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4571
4603
|
|
|
4572
|
-
// bazel-out/
|
|
4604
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4573
4605
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4574
4606
|
import ts22 from "typescript";
|
|
4575
4607
|
|
|
4576
|
-
// bazel-out/
|
|
4608
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
4577
4609
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
4578
4610
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
4579
4611
|
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)}.`, [
|
|
@@ -4582,7 +4614,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
4582
4614
|
}
|
|
4583
4615
|
}
|
|
4584
4616
|
|
|
4585
|
-
// bazel-out/
|
|
4617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
4586
4618
|
import ts19 from "typescript";
|
|
4587
4619
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
4588
4620
|
if (!ts19.isCallExpression(expression)) {
|
|
@@ -4651,7 +4683,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
4651
4683
|
return { api: matchingApi, apiReference, isRequired };
|
|
4652
4684
|
}
|
|
4653
4685
|
|
|
4654
|
-
// bazel-out/
|
|
4686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
4655
4687
|
import ts20 from "typescript";
|
|
4656
4688
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
4657
4689
|
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -4669,7 +4701,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
4669
4701
|
return { alias };
|
|
4670
4702
|
}
|
|
4671
4703
|
|
|
4672
|
-
// bazel-out/
|
|
4704
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
4673
4705
|
var INPUT_INITIALIZER_FN = {
|
|
4674
4706
|
functionName: "input",
|
|
4675
4707
|
owningModule: "@angular/core",
|
|
@@ -4701,7 +4733,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
4701
4733
|
};
|
|
4702
4734
|
}
|
|
4703
4735
|
|
|
4704
|
-
// bazel-out/
|
|
4736
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
4705
4737
|
var MODEL_INITIALIZER_FN = {
|
|
4706
4738
|
functionName: "model",
|
|
4707
4739
|
owningModule: "@angular/core",
|
|
@@ -4742,7 +4774,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
4742
4774
|
};
|
|
4743
4775
|
}
|
|
4744
4776
|
|
|
4745
|
-
// bazel-out/
|
|
4777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
4746
4778
|
var allowedAccessLevels = [
|
|
4747
4779
|
ClassMemberAccessLevel.PublicWritable,
|
|
4748
4780
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -4786,7 +4818,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
4786
4818
|
};
|
|
4787
4819
|
}
|
|
4788
4820
|
|
|
4789
|
-
// bazel-out/
|
|
4821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
4790
4822
|
import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
|
|
4791
4823
|
import ts21 from "typescript";
|
|
4792
4824
|
var queryFunctionNames = [
|
|
@@ -4871,7 +4903,7 @@ function parseDescendantsOption(value) {
|
|
|
4871
4903
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
4872
4904
|
}
|
|
4873
4905
|
|
|
4874
|
-
// bazel-out/
|
|
4906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4875
4907
|
var EMPTY_OBJECT = {};
|
|
4876
4908
|
var queryDecoratorNames = [
|
|
4877
4909
|
"ViewChild",
|
|
@@ -5676,7 +5708,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5676
5708
|
};
|
|
5677
5709
|
}
|
|
5678
5710
|
|
|
5679
|
-
// bazel-out/
|
|
5711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5680
5712
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5681
5713
|
selector;
|
|
5682
5714
|
inputs;
|
|
@@ -5762,7 +5794,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5762
5794
|
return isSymbolEqual(current, previous);
|
|
5763
5795
|
}
|
|
5764
5796
|
|
|
5765
|
-
// bazel-out/
|
|
5797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5766
5798
|
var FIELD_DECORATORS = [
|
|
5767
5799
|
"Input",
|
|
5768
5800
|
"Output",
|
|
@@ -5982,11 +6014,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5982
6014
|
}
|
|
5983
6015
|
};
|
|
5984
6016
|
|
|
5985
|
-
// bazel-out/
|
|
6017
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5986
6018
|
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";
|
|
5987
6019
|
import ts24 from "typescript";
|
|
5988
6020
|
|
|
5989
|
-
// bazel-out/
|
|
6021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5990
6022
|
import ts23 from "typescript";
|
|
5991
6023
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5992
6024
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -6058,7 +6090,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
6058
6090
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
6059
6091
|
}
|
|
6060
6092
|
|
|
6061
|
-
// bazel-out/
|
|
6093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
6062
6094
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
6063
6095
|
hasProviders;
|
|
6064
6096
|
remotelyScopedComponents = [];
|
|
@@ -6421,7 +6453,8 @@ var NgModuleDecoratorHandler = class {
|
|
|
6421
6453
|
rawImports: analysis.rawImports,
|
|
6422
6454
|
rawExports: analysis.rawExports,
|
|
6423
6455
|
decorator: analysis.decorator,
|
|
6424
|
-
mayDeclareProviders: analysis.providers !== null
|
|
6456
|
+
mayDeclareProviders: analysis.providers !== null,
|
|
6457
|
+
isPoisoned: false
|
|
6425
6458
|
});
|
|
6426
6459
|
this.injectableRegistry.registerInjectable(node, {
|
|
6427
6460
|
ctorDeps: analysis.fac.deps
|
|
@@ -6697,7 +6730,7 @@ function isSyntheticReference(ref) {
|
|
|
6697
6730
|
return ref.synthetic;
|
|
6698
6731
|
}
|
|
6699
6732
|
|
|
6700
|
-
// bazel-out/
|
|
6733
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6701
6734
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6702
6735
|
const name = ref.debugName || "(unknown)";
|
|
6703
6736
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6720,7 +6753,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6720
6753
|
return null;
|
|
6721
6754
|
}
|
|
6722
6755
|
|
|
6723
|
-
// bazel-out/
|
|
6756
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6724
6757
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6725
6758
|
import ts25 from "typescript";
|
|
6726
6759
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -7058,7 +7091,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
7058
7091
|
}));
|
|
7059
7092
|
}
|
|
7060
7093
|
|
|
7061
|
-
// bazel-out/
|
|
7094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
7062
7095
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
7063
7096
|
usedDirectives = [];
|
|
7064
7097
|
usedPipes = [];
|
|
@@ -7090,7 +7123,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
7090
7123
|
}
|
|
7091
7124
|
};
|
|
7092
7125
|
|
|
7093
|
-
// bazel-out/
|
|
7126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
7094
7127
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
7095
7128
|
if (value instanceof Map) {
|
|
7096
7129
|
const name = value.get("name");
|
|
@@ -7167,10 +7200,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7167
7200
|
return false;
|
|
7168
7201
|
}
|
|
7169
7202
|
|
|
7170
|
-
// bazel-out/
|
|
7203
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7171
7204
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7172
7205
|
|
|
7173
|
-
// bazel-out/
|
|
7206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7174
7207
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7175
7208
|
var UpdateMode;
|
|
7176
7209
|
(function(UpdateMode2) {
|
|
@@ -7178,13 +7211,13 @@ var UpdateMode;
|
|
|
7178
7211
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7179
7212
|
})(UpdateMode || (UpdateMode = {}));
|
|
7180
7213
|
|
|
7181
|
-
// bazel-out/
|
|
7214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7182
7215
|
import ts27 from "typescript";
|
|
7183
7216
|
|
|
7184
|
-
// bazel-out/
|
|
7217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7185
7218
|
import ts26 from "typescript";
|
|
7186
7219
|
|
|
7187
|
-
// bazel-out/
|
|
7220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7188
7221
|
var NgExtension = Symbol("NgExtension");
|
|
7189
7222
|
function isExtended(sf) {
|
|
7190
7223
|
return sf[NgExtension] !== void 0;
|
|
@@ -7244,13 +7277,13 @@ function retagTsFile(sf) {
|
|
|
7244
7277
|
}
|
|
7245
7278
|
}
|
|
7246
7279
|
|
|
7247
|
-
// bazel-out/
|
|
7280
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7248
7281
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7249
7282
|
function makeShimFileName(fileName, suffix) {
|
|
7250
7283
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7251
7284
|
}
|
|
7252
7285
|
|
|
7253
|
-
// bazel-out/
|
|
7286
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7254
7287
|
var ShimAdapter = class {
|
|
7255
7288
|
delegate;
|
|
7256
7289
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -7347,7 +7380,7 @@ var ShimAdapter = class {
|
|
|
7347
7380
|
}
|
|
7348
7381
|
};
|
|
7349
7382
|
|
|
7350
|
-
// bazel-out/
|
|
7383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7351
7384
|
var ShimReferenceTagger = class {
|
|
7352
7385
|
suffixes;
|
|
7353
7386
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -7382,7 +7415,7 @@ var ShimReferenceTagger = class {
|
|
|
7382
7415
|
}
|
|
7383
7416
|
};
|
|
7384
7417
|
|
|
7385
|
-
// bazel-out/
|
|
7418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7386
7419
|
var DelegatingCompilerHost = class {
|
|
7387
7420
|
delegate;
|
|
7388
7421
|
createHash;
|
|
@@ -7533,7 +7566,7 @@ var TsCreateProgramDriver = class {
|
|
|
7533
7566
|
}
|
|
7534
7567
|
};
|
|
7535
7568
|
|
|
7536
|
-
// bazel-out/
|
|
7569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7537
7570
|
import ts28 from "typescript";
|
|
7538
7571
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7539
7572
|
var _a;
|
|
@@ -7644,7 +7677,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7644
7677
|
);
|
|
7645
7678
|
}
|
|
7646
7679
|
|
|
7647
|
-
// bazel-out/
|
|
7680
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7648
7681
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7649
7682
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7650
7683
|
function getTemplateId(clazz) {
|
|
@@ -7661,11 +7694,11 @@ function allocateTemplateId(sf) {
|
|
|
7661
7694
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7662
7695
|
}
|
|
7663
7696
|
|
|
7664
|
-
// bazel-out/
|
|
7697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7665
7698
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7666
7699
|
import ts30 from "typescript";
|
|
7667
7700
|
|
|
7668
|
-
// bazel-out/
|
|
7701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7669
7702
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7670
7703
|
import ts29 from "typescript";
|
|
7671
7704
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7796,7 +7829,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7796
7829
|
}) || false;
|
|
7797
7830
|
}
|
|
7798
7831
|
|
|
7799
|
-
// bazel-out/
|
|
7832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7800
7833
|
var CompletionEngine = class {
|
|
7801
7834
|
tcb;
|
|
7802
7835
|
data;
|
|
@@ -8248,22 +8281,6 @@ var Mappings = class {
|
|
|
8248
8281
|
let first = true;
|
|
8249
8282
|
let charInHiresBoundary = false;
|
|
8250
8283
|
while (originalCharIndex < chunk.end) {
|
|
8251
|
-
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
8252
|
-
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
8253
|
-
if (this.hires === "boundary") {
|
|
8254
|
-
if (wordRegex.test(original[originalCharIndex])) {
|
|
8255
|
-
if (!charInHiresBoundary) {
|
|
8256
|
-
this.rawSegments.push(segment);
|
|
8257
|
-
charInHiresBoundary = true;
|
|
8258
|
-
}
|
|
8259
|
-
} else {
|
|
8260
|
-
this.rawSegments.push(segment);
|
|
8261
|
-
charInHiresBoundary = false;
|
|
8262
|
-
}
|
|
8263
|
-
} else {
|
|
8264
|
-
this.rawSegments.push(segment);
|
|
8265
|
-
}
|
|
8266
|
-
}
|
|
8267
8284
|
if (original[originalCharIndex] === "\n") {
|
|
8268
8285
|
loc.line += 1;
|
|
8269
8286
|
loc.column = 0;
|
|
@@ -8272,6 +8289,22 @@ var Mappings = class {
|
|
|
8272
8289
|
this.generatedCodeColumn = 0;
|
|
8273
8290
|
first = true;
|
|
8274
8291
|
} else {
|
|
8292
|
+
if (this.hires || first || sourcemapLocations.has(originalCharIndex)) {
|
|
8293
|
+
const segment = [this.generatedCodeColumn, sourceIndex, loc.line, loc.column];
|
|
8294
|
+
if (this.hires === "boundary") {
|
|
8295
|
+
if (wordRegex.test(original[originalCharIndex])) {
|
|
8296
|
+
if (!charInHiresBoundary) {
|
|
8297
|
+
this.rawSegments.push(segment);
|
|
8298
|
+
charInHiresBoundary = true;
|
|
8299
|
+
}
|
|
8300
|
+
} else {
|
|
8301
|
+
this.rawSegments.push(segment);
|
|
8302
|
+
charInHiresBoundary = false;
|
|
8303
|
+
}
|
|
8304
|
+
} else {
|
|
8305
|
+
this.rawSegments.push(segment);
|
|
8306
|
+
}
|
|
8307
|
+
}
|
|
8275
8308
|
loc.column += 1;
|
|
8276
8309
|
this.generatedCodeColumn += 1;
|
|
8277
8310
|
first = false;
|
|
@@ -8991,10 +9024,10 @@ var MagicString = class {
|
|
|
8991
9024
|
}
|
|
8992
9025
|
};
|
|
8993
9026
|
|
|
8994
|
-
// bazel-out/
|
|
9027
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8995
9028
|
import ts43 from "typescript";
|
|
8996
9029
|
|
|
8997
|
-
// bazel-out/
|
|
9030
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8998
9031
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
8999
9032
|
import ts31 from "typescript";
|
|
9000
9033
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -9048,10 +9081,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
9048
9081
|
}
|
|
9049
9082
|
};
|
|
9050
9083
|
|
|
9051
|
-
// bazel-out/
|
|
9084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9052
9085
|
import ts36 from "typescript";
|
|
9053
9086
|
|
|
9054
|
-
// bazel-out/
|
|
9087
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
9055
9088
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
9056
9089
|
var ReferenceEmitEnvironment = class {
|
|
9057
9090
|
importManager;
|
|
@@ -9086,7 +9119,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
9086
9119
|
}
|
|
9087
9120
|
};
|
|
9088
9121
|
|
|
9089
|
-
// bazel-out/
|
|
9122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
9090
9123
|
import ts32 from "typescript";
|
|
9091
9124
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
9092
9125
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -9169,15 +9202,15 @@ function tsNumericExpression(value) {
|
|
|
9169
9202
|
return ts32.factory.createNumericLiteral(value);
|
|
9170
9203
|
}
|
|
9171
9204
|
|
|
9172
|
-
// bazel-out/
|
|
9205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9173
9206
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9174
9207
|
import ts35 from "typescript";
|
|
9175
9208
|
|
|
9176
|
-
// bazel-out/
|
|
9209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9177
9210
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9178
9211
|
import ts34 from "typescript";
|
|
9179
9212
|
|
|
9180
|
-
// bazel-out/
|
|
9213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9181
9214
|
import ts33 from "typescript";
|
|
9182
9215
|
var TypeParameterEmitter = class {
|
|
9183
9216
|
typeParameters;
|
|
@@ -9257,7 +9290,7 @@ var TypeParameterEmitter = class {
|
|
|
9257
9290
|
}
|
|
9258
9291
|
};
|
|
9259
9292
|
|
|
9260
|
-
// bazel-out/
|
|
9293
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9261
9294
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9262
9295
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9263
9296
|
];
|
|
@@ -9349,7 +9382,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9349
9382
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9350
9383
|
}
|
|
9351
9384
|
|
|
9352
|
-
// bazel-out/
|
|
9385
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9353
9386
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9354
9387
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9355
9388
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9472,7 +9505,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9472
9505
|
});
|
|
9473
9506
|
}
|
|
9474
9507
|
|
|
9475
|
-
// bazel-out/
|
|
9508
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9476
9509
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9477
9510
|
config;
|
|
9478
9511
|
nextIds = {
|
|
@@ -9545,7 +9578,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9545
9578
|
}
|
|
9546
9579
|
};
|
|
9547
9580
|
|
|
9548
|
-
// bazel-out/
|
|
9581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9549
9582
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9550
9583
|
import ts37 from "typescript";
|
|
9551
9584
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9748,7 +9781,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9748
9781
|
};
|
|
9749
9782
|
}
|
|
9750
9783
|
|
|
9751
|
-
// bazel-out/
|
|
9784
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9752
9785
|
import ts38 from "typescript";
|
|
9753
9786
|
var TypeCheckShimGenerator = class {
|
|
9754
9787
|
extensionPrefix = "ngtypecheck";
|
|
@@ -9764,11 +9797,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9764
9797
|
}
|
|
9765
9798
|
};
|
|
9766
9799
|
|
|
9767
|
-
// bazel-out/
|
|
9800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9768
9801
|
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";
|
|
9769
9802
|
import ts41 from "typescript";
|
|
9770
9803
|
|
|
9771
|
-
// bazel-out/
|
|
9804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9772
9805
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9773
9806
|
import ts39 from "typescript";
|
|
9774
9807
|
function wrapForDiagnostics(expr) {
|
|
@@ -9824,7 +9857,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9824
9857
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9825
9858
|
}
|
|
9826
9859
|
|
|
9827
|
-
// bazel-out/
|
|
9860
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9828
9861
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9829
9862
|
import ts40 from "typescript";
|
|
9830
9863
|
var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -10166,7 +10199,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
10166
10199
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
10167
10200
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
10168
10201
|
|
|
10169
|
-
// bazel-out/
|
|
10202
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
10170
10203
|
var TcbGenericContextBehavior;
|
|
10171
10204
|
(function(TcbGenericContextBehavior2) {
|
|
10172
10205
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -11853,7 +11886,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11853
11886
|
}
|
|
11854
11887
|
};
|
|
11855
11888
|
|
|
11856
|
-
// bazel-out/
|
|
11889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11857
11890
|
import ts42 from "typescript";
|
|
11858
11891
|
var TypeCheckFile = class extends Environment {
|
|
11859
11892
|
fileName;
|
|
@@ -11902,7 +11935,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11902
11935
|
}
|
|
11903
11936
|
};
|
|
11904
11937
|
|
|
11905
|
-
// bazel-out/
|
|
11938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11906
11939
|
var InliningMode;
|
|
11907
11940
|
(function(InliningMode2) {
|
|
11908
11941
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -12170,10 +12203,10 @@ var TypeCtorOp = class {
|
|
|
12170
12203
|
}
|
|
12171
12204
|
};
|
|
12172
12205
|
|
|
12173
|
-
// bazel-out/
|
|
12206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
12174
12207
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
12175
12208
|
|
|
12176
|
-
// bazel-out/
|
|
12209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
12177
12210
|
var LF_CHAR = 10;
|
|
12178
12211
|
var CR_CHAR = 13;
|
|
12179
12212
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -12214,7 +12247,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
12214
12247
|
return low - 1;
|
|
12215
12248
|
}
|
|
12216
12249
|
|
|
12217
|
-
// bazel-out/
|
|
12250
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
12218
12251
|
var TemplateSource = class {
|
|
12219
12252
|
mapping;
|
|
12220
12253
|
file;
|
|
@@ -12265,7 +12298,7 @@ var TemplateSourceManager = class {
|
|
|
12265
12298
|
}
|
|
12266
12299
|
};
|
|
12267
12300
|
|
|
12268
|
-
// bazel-out/
|
|
12301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
12269
12302
|
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";
|
|
12270
12303
|
import ts44 from "typescript";
|
|
12271
12304
|
var SymbolBuilder = class {
|
|
@@ -12847,7 +12880,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12847
12880
|
};
|
|
12848
12881
|
}
|
|
12849
12882
|
|
|
12850
|
-
// bazel-out/
|
|
12883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12851
12884
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12852
12885
|
var TemplateTypeCheckerImpl = class {
|
|
12853
12886
|
originalProgram;
|
|
@@ -12887,7 +12920,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
12887
12920
|
this.perf = perf;
|
|
12888
12921
|
}
|
|
12889
12922
|
getTemplate(component, optimizeFor) {
|
|
12890
|
-
const { data } = this.getLatestComponentState(component);
|
|
12923
|
+
const { data } = this.getLatestComponentState(component, optimizeFor);
|
|
12891
12924
|
if (data === null) {
|
|
12892
12925
|
return null;
|
|
12893
12926
|
}
|
|
@@ -13572,10 +13605,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13572
13605
|
}
|
|
13573
13606
|
};
|
|
13574
13607
|
|
|
13575
|
-
// bazel-out/
|
|
13608
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
|
|
13576
13609
|
import { outputAst as o3 } from "@angular/compiler";
|
|
13577
13610
|
|
|
13578
|
-
// bazel-out/
|
|
13611
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_locals.mjs
|
|
13579
13612
|
import { outputAst as o2 } from "@angular/compiler";
|
|
13580
13613
|
import ts45 from "typescript";
|
|
13581
13614
|
function extractHmrLocals(node, definition, factory, classMetadata, debugInfo) {
|
|
@@ -13693,7 +13726,7 @@ var PotentialTopLevelReadsVisitor = class extends o2.RecursiveAstVisitor {
|
|
|
13693
13726
|
}
|
|
13694
13727
|
};
|
|
13695
13728
|
|
|
13696
|
-
// bazel-out/
|
|
13729
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.mjs
|
|
13697
13730
|
function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definition, factory, classMetadata, debugInfo) {
|
|
13698
13731
|
if (!reflection.isClass(clazz)) {
|
|
13699
13732
|
return null;
|
|
@@ -13710,7 +13743,7 @@ function extractHmrMetatadata(clazz, reflection, compilerHost, rootDirs, definit
|
|
|
13710
13743
|
return meta;
|
|
13711
13744
|
}
|
|
13712
13745
|
|
|
13713
|
-
// bazel-out/
|
|
13746
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.mjs
|
|
13714
13747
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
13715
13748
|
import ts46 from "typescript";
|
|
13716
13749
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, sourceFile) {
|
|
@@ -13742,7 +13775,7 @@ var HmrModuleImportRewriter = class {
|
|
|
13742
13775
|
}
|
|
13743
13776
|
};
|
|
13744
13777
|
|
|
13745
|
-
// bazel-out/
|
|
13778
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13746
13779
|
var EMPTY_ARRAY2 = [];
|
|
13747
13780
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13748
13781
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -14896,7 +14929,7 @@ function isDefaultImport(node) {
|
|
|
14896
14929
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14897
14930
|
}
|
|
14898
14931
|
|
|
14899
|
-
// bazel-out/
|
|
14932
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14900
14933
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14901
14934
|
import ts48 from "typescript";
|
|
14902
14935
|
var InjectableDecoratorHandler = class {
|
|
@@ -15137,7 +15170,7 @@ function getDep(dep, reflector) {
|
|
|
15137
15170
|
return meta;
|
|
15138
15171
|
}
|
|
15139
15172
|
|
|
15140
|
-
// bazel-out/
|
|
15173
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
15141
15174
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
15142
15175
|
import ts49 from "typescript";
|
|
15143
15176
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -15385,4 +15418,4 @@ export {
|
|
|
15385
15418
|
* Use of this source code is governed by an MIT-style license that can be
|
|
15386
15419
|
* found in the LICENSE file at https://angular.dev/license
|
|
15387
15420
|
*/
|
|
15388
|
-
//# sourceMappingURL=chunk-
|
|
15421
|
+
//# sourceMappingURL=chunk-HIY6A3BW.js.map
|