@angular/compiler-cli 16.0.0-next.0 → 16.0.0-next.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-PSGRCFPQ.js → chunk-6PDKXFWN.js} +116 -158
- package/bundles/chunk-6PDKXFWN.js.map +6 -0
- package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
- package/bundles/{chunk-IS6KZYEA.js → chunk-IE2WWKOE.js} +111 -104
- package/bundles/chunk-IE2WWKOE.js.map +6 -0
- package/bundles/{chunk-6CARGXRJ.js → chunk-JEQIMWEA.js} +31 -31
- package/bundles/{chunk-JHMH3CX2.js → chunk-JKV3J53A.js} +5 -5
- package/bundles/{chunk-JHMH3CX2.js.map → chunk-JKV3J53A.js.map} +1 -1
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-54RHUHYB.js → chunk-N6MSUQVH.js} +5 -5
- package/bundles/{chunk-4TCRZYAK.js → chunk-Q2TY6LB3.js} +5 -5
- package/bundles/{chunk-EDWIBG7R.js → chunk-QQGJEWBQ.js} +6 -6
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-K2A5WD7L.js → chunk-TK3GHMT6.js} +21 -21
- package/bundles/{chunk-2DMH5JXJ.js → chunk-XS6XKZQP.js} +93 -85
- package/bundles/chunk-XS6XKZQP.js.map +6 -0
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/package.json +4 -4
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
- package/src/ngtsc/core/src/host.d.ts +3 -1
- package/src/ngtsc/incremental/semantic_graph/src/graph.d.ts +1 -1
- package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +3 -1
- package/src/ngtsc/transform/src/compilation.d.ts +1 -1
- package/bundles/chunk-2DMH5JXJ.js.map +0 -6
- package/bundles/chunk-IS6KZYEA.js.map +0 -6
- package/bundles/chunk-PSGRCFPQ.js.map +0 -6
- package/src/ngtsc/ts_compatibility/index.d.ts +0 -8
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +0 -45
- /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
- /package/bundles/{chunk-6CARGXRJ.js.map → chunk-JEQIMWEA.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-54RHUHYB.js.map → chunk-N6MSUQVH.js.map} +0 -0
- /package/bundles/{chunk-4TCRZYAK.js.map → chunk-Q2TY6LB3.js.map} +0 -0
- /package/bundles/{chunk-EDWIBG7R.js.map → chunk-QQGJEWBQ.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-K2A5WD7L.js.map → chunk-TK3GHMT6.js.map} +0 -0
|
@@ -12,14 +12,13 @@ import {
|
|
|
12
12
|
reflectObjectLiteral,
|
|
13
13
|
reflectTypeEntityToDeclaration,
|
|
14
14
|
typeNodeToValueExpr
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-QQGJEWBQ.js";
|
|
16
16
|
import {
|
|
17
17
|
ImportManager,
|
|
18
|
-
createImportDeclaration,
|
|
19
18
|
translateExpression,
|
|
20
19
|
translateStatement,
|
|
21
20
|
translateType
|
|
22
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-6PDKXFWN.js";
|
|
23
22
|
import {
|
|
24
23
|
ErrorCode,
|
|
25
24
|
FatalDiagnosticError,
|
|
@@ -36,18 +35,18 @@ import {
|
|
|
36
35
|
makeRelatedInformation,
|
|
37
36
|
nodeDebugInfo,
|
|
38
37
|
nodeNameForError
|
|
39
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-TK3GHMT6.js";
|
|
40
39
|
import {
|
|
41
40
|
PerfEvent,
|
|
42
41
|
PerfPhase
|
|
43
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-N6MSUQVH.js";
|
|
44
43
|
import {
|
|
45
44
|
absoluteFrom,
|
|
46
45
|
absoluteFromSourceFile,
|
|
47
46
|
relative
|
|
48
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-TBUSSXUA.js";
|
|
49
48
|
|
|
50
|
-
// bazel-out/
|
|
49
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
51
50
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
52
51
|
import ts from "typescript";
|
|
53
52
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -283,10 +282,10 @@ function getOriginNodeForDiagnostics(expr, container) {
|
|
|
283
282
|
}
|
|
284
283
|
}
|
|
285
284
|
function isAbstractClassDeclaration(clazz) {
|
|
286
|
-
return clazz.modifiers !== void 0
|
|
285
|
+
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
287
286
|
}
|
|
288
287
|
|
|
289
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
290
289
|
var DynamicValue = class {
|
|
291
290
|
constructor(node, reason, code) {
|
|
292
291
|
this.node = node;
|
|
@@ -376,10 +375,10 @@ var DynamicValue = class {
|
|
|
376
375
|
}
|
|
377
376
|
};
|
|
378
377
|
|
|
379
|
-
// bazel-out/
|
|
378
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
380
379
|
import ts2 from "typescript";
|
|
381
380
|
|
|
382
|
-
// bazel-out/
|
|
381
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
383
382
|
var ResolvedModule = class {
|
|
384
383
|
constructor(exports, evaluate) {
|
|
385
384
|
this.exports = exports;
|
|
@@ -409,7 +408,7 @@ var EnumValue = class {
|
|
|
409
408
|
var KnownFn = class {
|
|
410
409
|
};
|
|
411
410
|
|
|
412
|
-
// bazel-out/
|
|
411
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
413
412
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
414
413
|
constructor(lhs) {
|
|
415
414
|
super();
|
|
@@ -480,7 +479,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
480
479
|
}
|
|
481
480
|
};
|
|
482
481
|
|
|
483
|
-
// bazel-out/
|
|
482
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
484
483
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
485
484
|
};
|
|
486
485
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -533,7 +532,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
533
532
|
}
|
|
534
533
|
};
|
|
535
534
|
|
|
536
|
-
// bazel-out/
|
|
535
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
537
536
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
538
537
|
var assignTsHelperFn = new AssignHelperFn();
|
|
539
538
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -557,14 +556,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
557
556
|
}
|
|
558
557
|
}
|
|
559
558
|
|
|
560
|
-
// bazel-out/
|
|
559
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
561
560
|
var SyntheticValue = class {
|
|
562
561
|
constructor(value) {
|
|
563
562
|
this.value = value;
|
|
564
563
|
}
|
|
565
564
|
};
|
|
566
565
|
|
|
567
|
-
// bazel-out/
|
|
566
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
568
567
|
function literalBinaryOp(op) {
|
|
569
568
|
return { op, literal: true };
|
|
570
569
|
}
|
|
@@ -1165,7 +1164,7 @@ function owningModule(context, override = null) {
|
|
|
1165
1164
|
}
|
|
1166
1165
|
}
|
|
1167
1166
|
|
|
1168
|
-
// bazel-out/
|
|
1167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1169
1168
|
var PartialEvaluator = class {
|
|
1170
1169
|
constructor(host, checker, dependencyTracker) {
|
|
1171
1170
|
this.host = host;
|
|
@@ -1185,7 +1184,7 @@ var PartialEvaluator = class {
|
|
|
1185
1184
|
}
|
|
1186
1185
|
};
|
|
1187
1186
|
|
|
1188
|
-
// bazel-out/
|
|
1187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1189
1188
|
import ts3 from "typescript";
|
|
1190
1189
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1191
1190
|
var _a, _b;
|
|
@@ -1315,7 +1314,7 @@ function getContainerNode(node) {
|
|
|
1315
1314
|
return node.getSourceFile();
|
|
1316
1315
|
}
|
|
1317
1316
|
|
|
1318
|
-
// bazel-out/
|
|
1317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1319
1318
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1320
1319
|
import ts4 from "typescript";
|
|
1321
1320
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1459,10 +1458,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1459
1458
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1460
1459
|
}
|
|
1461
1460
|
|
|
1462
|
-
// bazel-out/
|
|
1461
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1463
1462
|
import ts7 from "typescript";
|
|
1464
1463
|
|
|
1465
|
-
// bazel-out/
|
|
1464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1466
1465
|
var MetaKind;
|
|
1467
1466
|
(function(MetaKind2) {
|
|
1468
1467
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1475,10 +1474,10 @@ var MatchSource;
|
|
|
1475
1474
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1476
1475
|
})(MatchSource || (MatchSource = {}));
|
|
1477
1476
|
|
|
1478
|
-
// bazel-out/
|
|
1477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1479
1478
|
import ts6 from "typescript";
|
|
1480
1479
|
|
|
1481
|
-
// bazel-out/
|
|
1480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1482
1481
|
var ClassPropertyMapping = class {
|
|
1483
1482
|
constructor(forwardMap) {
|
|
1484
1483
|
this.forwardMap = forwardMap;
|
|
@@ -1554,7 +1553,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1554
1553
|
return reverseMap;
|
|
1555
1554
|
}
|
|
1556
1555
|
|
|
1557
|
-
// bazel-out/
|
|
1556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1558
1557
|
import ts5 from "typescript";
|
|
1559
1558
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1560
1559
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1736,7 +1735,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1736
1735
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1737
1736
|
}
|
|
1738
1737
|
|
|
1739
|
-
// bazel-out/
|
|
1738
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1740
1739
|
var DtsMetadataReader = class {
|
|
1741
1740
|
constructor(checker, reflector) {
|
|
1742
1741
|
this.checker = checker;
|
|
@@ -1875,7 +1874,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1875
1874
|
return result.length > 0 ? result : null;
|
|
1876
1875
|
}
|
|
1877
1876
|
|
|
1878
|
-
// bazel-out/
|
|
1877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1879
1878
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1880
1879
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1881
1880
|
if (topMeta === null) {
|
|
@@ -1933,7 +1932,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1933
1932
|
};
|
|
1934
1933
|
}
|
|
1935
1934
|
|
|
1936
|
-
// bazel-out/
|
|
1935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1937
1936
|
var LocalMetadataRegistry = class {
|
|
1938
1937
|
constructor() {
|
|
1939
1938
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -1990,7 +1989,7 @@ var CompoundMetadataRegistry = class {
|
|
|
1990
1989
|
}
|
|
1991
1990
|
};
|
|
1992
1991
|
|
|
1993
|
-
// bazel-out/
|
|
1992
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
1994
1993
|
var ResourceRegistry = class {
|
|
1995
1994
|
constructor() {
|
|
1996
1995
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2055,7 +2054,7 @@ var ResourceRegistry = class {
|
|
|
2055
2054
|
}
|
|
2056
2055
|
};
|
|
2057
2056
|
|
|
2058
|
-
// bazel-out/
|
|
2057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2059
2058
|
var EMPTY_ARRAY = [];
|
|
2060
2059
|
var HostDirectivesResolver = class {
|
|
2061
2060
|
constructor(metaReader) {
|
|
@@ -2106,7 +2105,7 @@ var HostDirectivesResolver = class {
|
|
|
2106
2105
|
}
|
|
2107
2106
|
};
|
|
2108
2107
|
|
|
2109
|
-
// bazel-out/
|
|
2108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2110
2109
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2111
2110
|
const context = [];
|
|
2112
2111
|
for (const decl of data) {
|
|
@@ -2281,7 +2280,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2281
2280
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
2282
2281
|
}
|
|
2283
2282
|
|
|
2284
|
-
// bazel-out/
|
|
2283
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2285
2284
|
import ts8 from "typescript";
|
|
2286
2285
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2287
2286
|
let resolved = null;
|
|
@@ -2314,7 +2313,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2314
2313
|
return meta;
|
|
2315
2314
|
}
|
|
2316
2315
|
|
|
2317
|
-
// bazel-out/
|
|
2316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2318
2317
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2319
2318
|
function compileNgFactoryDefField(metadata) {
|
|
2320
2319
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2325,7 +2324,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2325
2324
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2326
2325
|
}
|
|
2327
2326
|
|
|
2328
|
-
// bazel-out/
|
|
2327
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2329
2328
|
var InjectableClassRegistry = class {
|
|
2330
2329
|
constructor(host, isCore) {
|
|
2331
2330
|
this.host = host;
|
|
@@ -2351,7 +2350,7 @@ var InjectableClassRegistry = class {
|
|
|
2351
2350
|
}
|
|
2352
2351
|
};
|
|
2353
2352
|
|
|
2354
|
-
// bazel-out/
|
|
2353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2355
2354
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2356
2355
|
import ts9 from "typescript";
|
|
2357
2356
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2438,13 +2437,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2438
2437
|
return result.transformed[0];
|
|
2439
2438
|
}
|
|
2440
2439
|
|
|
2441
|
-
// bazel-out/
|
|
2440
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2442
2441
|
var NoopReferencesRegistry = class {
|
|
2443
2442
|
add(source, ...references) {
|
|
2444
2443
|
}
|
|
2445
2444
|
};
|
|
2446
2445
|
|
|
2447
|
-
// bazel-out/
|
|
2446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2448
2447
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2449
2448
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2450
2449
|
const schemas = [];
|
|
@@ -2474,11 +2473,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2474
2473
|
return schemas;
|
|
2475
2474
|
}
|
|
2476
2475
|
|
|
2477
|
-
// bazel-out/
|
|
2476
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2478
2477
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
2479
2478
|
import ts24 from "typescript";
|
|
2480
2479
|
|
|
2481
|
-
// bazel-out/
|
|
2480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2482
2481
|
import ts10 from "typescript";
|
|
2483
2482
|
var SemanticSymbol = class {
|
|
2484
2483
|
constructor(decl) {
|
|
@@ -2494,7 +2493,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2494
2493
|
return decl.name.text;
|
|
2495
2494
|
}
|
|
2496
2495
|
|
|
2497
|
-
// bazel-out/
|
|
2496
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2498
2497
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2499
2498
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2500
2499
|
isPublicApiAffected() {
|
|
@@ -2637,10 +2636,10 @@ function getImportPath(expr) {
|
|
|
2637
2636
|
}
|
|
2638
2637
|
}
|
|
2639
2638
|
|
|
2640
|
-
// bazel-out/
|
|
2639
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2641
2640
|
import ts11 from "typescript";
|
|
2642
2641
|
|
|
2643
|
-
// bazel-out/
|
|
2642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2644
2643
|
function isSymbolEqual(a, b) {
|
|
2645
2644
|
if (a.decl === b.decl) {
|
|
2646
2645
|
return true;
|
|
@@ -2690,7 +2689,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2690
2689
|
return true;
|
|
2691
2690
|
}
|
|
2692
2691
|
|
|
2693
|
-
// bazel-out/
|
|
2692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2694
2693
|
function extractSemanticTypeParameters(node) {
|
|
2695
2694
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2696
2695
|
return null;
|
|
@@ -2710,14 +2709,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2710
2709
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2711
2710
|
}
|
|
2712
2711
|
|
|
2713
|
-
// bazel-out/
|
|
2712
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2714
2713
|
var ComponentScopeKind;
|
|
2715
2714
|
(function(ComponentScopeKind2) {
|
|
2716
2715
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2717
2716
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2718
2717
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2719
2718
|
|
|
2720
|
-
// bazel-out/
|
|
2719
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2721
2720
|
var CompoundComponentScopeReader = class {
|
|
2722
2721
|
constructor(readers) {
|
|
2723
2722
|
this.readers = readers;
|
|
@@ -2742,7 +2741,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2742
2741
|
}
|
|
2743
2742
|
};
|
|
2744
2743
|
|
|
2745
|
-
// bazel-out/
|
|
2744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2746
2745
|
var MetadataDtsModuleScopeResolver = class {
|
|
2747
2746
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2748
2747
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2818,11 +2817,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2818
2817
|
}
|
|
2819
2818
|
};
|
|
2820
2819
|
|
|
2821
|
-
// bazel-out/
|
|
2820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2822
2821
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2823
2822
|
import ts12 from "typescript";
|
|
2824
2823
|
|
|
2825
|
-
// bazel-out/
|
|
2824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2826
2825
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2827
2826
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2828
2827
|
}
|
|
@@ -2845,7 +2844,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2845
2844
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2846
2845
|
}
|
|
2847
2846
|
|
|
2848
|
-
// bazel-out/
|
|
2847
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2849
2848
|
var LocalModuleScopeRegistry = class {
|
|
2850
2849
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2851
2850
|
this.localReader = localReader;
|
|
@@ -3184,7 +3183,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3184
3183
|
]);
|
|
3185
3184
|
}
|
|
3186
3185
|
|
|
3187
|
-
// bazel-out/
|
|
3186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3188
3187
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3189
3188
|
import ts13 from "typescript";
|
|
3190
3189
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3253,7 +3252,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3253
3252
|
}
|
|
3254
3253
|
};
|
|
3255
3254
|
|
|
3256
|
-
// bazel-out/
|
|
3255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3257
3256
|
var CompilationMode;
|
|
3258
3257
|
(function(CompilationMode2) {
|
|
3259
3258
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3271,7 +3270,7 @@ var HandlerFlags;
|
|
|
3271
3270
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3272
3271
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3273
3272
|
|
|
3274
|
-
// bazel-out/
|
|
3273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3275
3274
|
import ts14 from "typescript";
|
|
3276
3275
|
function aliasTransformFactory(exportStatements) {
|
|
3277
3276
|
return () => {
|
|
@@ -3294,10 +3293,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3294
3293
|
};
|
|
3295
3294
|
}
|
|
3296
3295
|
|
|
3297
|
-
// bazel-out/
|
|
3296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3298
3297
|
import ts15 from "typescript";
|
|
3299
3298
|
|
|
3300
|
-
// bazel-out/
|
|
3299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3301
3300
|
var TraitState;
|
|
3302
3301
|
(function(TraitState2) {
|
|
3303
3302
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3352,7 +3351,7 @@ var TraitImpl = class {
|
|
|
3352
3351
|
}
|
|
3353
3352
|
};
|
|
3354
3353
|
|
|
3355
|
-
// bazel-out/
|
|
3354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3356
3355
|
var TraitCompiler = class {
|
|
3357
3356
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3358
3357
|
this.handlers = handlers;
|
|
@@ -3796,10 +3795,10 @@ function containsErrors(diagnostics) {
|
|
|
3796
3795
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3797
3796
|
}
|
|
3798
3797
|
|
|
3799
|
-
// bazel-out/
|
|
3798
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3800
3799
|
import ts17 from "typescript";
|
|
3801
3800
|
|
|
3802
|
-
// bazel-out/
|
|
3801
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3803
3802
|
import ts16 from "typescript";
|
|
3804
3803
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3805
3804
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3809,7 +3808,7 @@ function addImports(importManager, sf, extraStatements = []) {
|
|
|
3809
3808
|
void 0,
|
|
3810
3809
|
ts16.factory.createNamespaceImport(qualifier)
|
|
3811
3810
|
);
|
|
3812
|
-
const decl = createImportDeclaration(
|
|
3811
|
+
const decl = ts16.factory.createImportDeclaration(
|
|
3813
3812
|
void 0,
|
|
3814
3813
|
importClause,
|
|
3815
3814
|
ts16.factory.createStringLiteral(i.specifier)
|
|
@@ -3835,7 +3834,7 @@ function isImportStatement(stmt) {
|
|
|
3835
3834
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3836
3835
|
}
|
|
3837
3836
|
|
|
3838
|
-
// bazel-out/
|
|
3837
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3839
3838
|
var DtsTransformRegistry = class {
|
|
3840
3839
|
constructor() {
|
|
3841
3840
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3891,7 +3890,7 @@ var DtsTransformer = class {
|
|
|
3891
3890
|
return ts17.visitEachChild(node, visitor, this.ctx);
|
|
3892
3891
|
}
|
|
3893
3892
|
};
|
|
3894
|
-
sf = ts17.visitNode(sf, visitor);
|
|
3893
|
+
sf = ts17.visitNode(sf, visitor, ts17.isSourceFile) || sf;
|
|
3895
3894
|
return addImports(imports, sf);
|
|
3896
3895
|
}
|
|
3897
3896
|
transformClassDeclaration(clazz, transforms, imports) {
|
|
@@ -3980,11 +3979,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3980
3979
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3981
3980
|
}
|
|
3982
3981
|
|
|
3983
|
-
// bazel-out/
|
|
3982
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3984
3983
|
import { ConstantPool } from "@angular/compiler";
|
|
3985
3984
|
import ts19 from "typescript";
|
|
3986
3985
|
|
|
3987
|
-
// bazel-out/
|
|
3986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3988
3987
|
import ts18 from "typescript";
|
|
3989
3988
|
function visit(node, visitor, context) {
|
|
3990
3989
|
return visitor._visit(node, context);
|
|
@@ -4045,7 +4044,7 @@ var Visitor = class {
|
|
|
4045
4044
|
}
|
|
4046
4045
|
};
|
|
4047
4046
|
|
|
4048
|
-
// bazel-out/
|
|
4047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4049
4048
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
4050
4049
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
4051
4050
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4253,10 +4252,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4253
4252
|
return array;
|
|
4254
4253
|
}
|
|
4255
4254
|
|
|
4256
|
-
// bazel-out/
|
|
4255
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4257
4256
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4258
4257
|
|
|
4259
|
-
// bazel-out/
|
|
4258
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4260
4259
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4261
4260
|
import ts20 from "typescript";
|
|
4262
4261
|
var EMPTY_OBJECT = {};
|
|
@@ -4673,7 +4672,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4673
4672
|
};
|
|
4674
4673
|
}
|
|
4675
4674
|
|
|
4676
|
-
// bazel-out/
|
|
4675
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4677
4676
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4678
4677
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4679
4678
|
super(decl);
|
|
@@ -4750,7 +4749,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4750
4749
|
return isSymbolEqual(current, previous);
|
|
4751
4750
|
}
|
|
4752
4751
|
|
|
4753
|
-
// bazel-out/
|
|
4752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4754
4753
|
var FIELD_DECORATORS = [
|
|
4755
4754
|
"Input",
|
|
4756
4755
|
"Output",
|
|
@@ -4909,11 +4908,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4909
4908
|
}
|
|
4910
4909
|
};
|
|
4911
4910
|
|
|
4912
|
-
// bazel-out/
|
|
4911
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4913
4912
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr as FunctionExpr2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4914
4913
|
import ts22 from "typescript";
|
|
4915
4914
|
|
|
4916
|
-
// bazel-out/
|
|
4915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4917
4916
|
import ts21 from "typescript";
|
|
4918
4917
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4919
4918
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4980,7 +4979,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4980
4979
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4981
4980
|
}
|
|
4982
4981
|
|
|
4983
|
-
// bazel-out/
|
|
4982
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4984
4983
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4985
4984
|
constructor() {
|
|
4986
4985
|
super(...arguments);
|
|
@@ -5478,7 +5477,7 @@ function isSyntheticReference(ref) {
|
|
|
5478
5477
|
return ref.synthetic;
|
|
5479
5478
|
}
|
|
5480
5479
|
|
|
5481
|
-
// bazel-out/
|
|
5480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5482
5481
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5483
5482
|
const name = ref.debugName || "(unknown)";
|
|
5484
5483
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5501,7 +5500,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5501
5500
|
return null;
|
|
5502
5501
|
}
|
|
5503
5502
|
|
|
5504
|
-
// bazel-out/
|
|
5503
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5505
5504
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5506
5505
|
import ts23 from "typescript";
|
|
5507
5506
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5605,7 +5604,7 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
5605
5604
|
file: new ParseSourceFile2(sourceStr, sourceMapUrl != null ? sourceMapUrl : "")
|
|
5606
5605
|
};
|
|
5607
5606
|
}
|
|
5608
|
-
function parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces) {
|
|
5607
|
+
function parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces) {
|
|
5609
5608
|
let preserveWhitespaces = defaultPreserveWhitespaces;
|
|
5610
5609
|
if (component.has("preserveWhitespaces")) {
|
|
5611
5610
|
const expr = component.get("preserveWhitespaces");
|
|
@@ -5641,6 +5640,9 @@ function parseTemplateDeclaration(decorator, component, containingFile, evaluato
|
|
|
5641
5640
|
resolvedTemplateUrl: resourceUrl
|
|
5642
5641
|
};
|
|
5643
5642
|
} catch (e) {
|
|
5643
|
+
if (depTracker !== null) {
|
|
5644
|
+
depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
5645
|
+
}
|
|
5644
5646
|
throw makeResourceNotFoundError(templateUrl, templateUrlExpr, 0);
|
|
5645
5647
|
}
|
|
5646
5648
|
} else if (component.has("template")) {
|
|
@@ -5668,7 +5670,7 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
|
|
|
5668
5670
|
const templatePromise = resourceLoader.preload(resourceUrl, { type: "template", containingFile });
|
|
5669
5671
|
if (templatePromise !== void 0) {
|
|
5670
5672
|
return templatePromise.then(() => {
|
|
5671
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces);
|
|
5673
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
|
|
5672
5674
|
const template = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
|
|
5673
5675
|
preanalyzeTemplateCache.set(node, template);
|
|
5674
5676
|
return template;
|
|
@@ -5677,10 +5679,13 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
|
|
|
5677
5679
|
return Promise.resolve(null);
|
|
5678
5680
|
}
|
|
5679
5681
|
} catch (e) {
|
|
5682
|
+
if (depTracker !== null) {
|
|
5683
|
+
depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
5684
|
+
}
|
|
5680
5685
|
throw makeResourceNotFoundError(templateUrl, templateUrlExpr, 0);
|
|
5681
5686
|
}
|
|
5682
5687
|
} else {
|
|
5683
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces);
|
|
5688
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
|
|
5684
5689
|
const template = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
|
|
5685
5690
|
preanalyzeTemplateCache.set(node, template);
|
|
5686
5691
|
return Promise.resolve(template);
|
|
@@ -5814,7 +5819,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5814
5819
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5815
5820
|
}
|
|
5816
5821
|
|
|
5817
|
-
// bazel-out/
|
|
5822
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5818
5823
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5819
5824
|
constructor() {
|
|
5820
5825
|
super(...arguments);
|
|
@@ -5849,7 +5854,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5849
5854
|
}
|
|
5850
5855
|
};
|
|
5851
5856
|
|
|
5852
|
-
// bazel-out/
|
|
5857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5853
5858
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5854
5859
|
if (value instanceof Map) {
|
|
5855
5860
|
const name = value.get("name");
|
|
@@ -5925,7 +5930,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5925
5930
|
return false;
|
|
5926
5931
|
}
|
|
5927
5932
|
|
|
5928
|
-
// bazel-out/
|
|
5933
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5929
5934
|
var EMPTY_ARRAY2 = [];
|
|
5930
5935
|
var ComponentDecoratorHandler = class {
|
|
5931
5936
|
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
@@ -6110,7 +6115,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6110
6115
|
this.preanalyzeTemplateCache.delete(node);
|
|
6111
6116
|
template = preanalyzed;
|
|
6112
6117
|
} else {
|
|
6113
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, this.evaluator, this.resourceLoader, this.defaultPreserveWhitespaces);
|
|
6118
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, this.evaluator, this.depTracker, this.resourceLoader, this.defaultPreserveWhitespaces);
|
|
6114
6119
|
template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
|
|
6115
6120
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
6116
6121
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
@@ -6136,6 +6141,9 @@ var ComponentDecoratorHandler = class {
|
|
|
6136
6141
|
this.depTracker.addResourceDependency(node.getSourceFile(), absoluteFrom(resourceUrl));
|
|
6137
6142
|
}
|
|
6138
6143
|
} catch {
|
|
6144
|
+
if (this.depTracker !== null) {
|
|
6145
|
+
this.depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
6146
|
+
}
|
|
6139
6147
|
if (diagnostics === void 0) {
|
|
6140
6148
|
diagnostics = [];
|
|
6141
6149
|
}
|
|
@@ -6569,7 +6577,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6569
6577
|
return diagnostics;
|
|
6570
6578
|
}
|
|
6571
6579
|
|
|
6572
|
-
// bazel-out/
|
|
6580
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6573
6581
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6574
6582
|
import ts25 from "typescript";
|
|
6575
6583
|
var InjectableDecoratorHandler = class {
|
|
@@ -6786,7 +6794,7 @@ function getDep(dep, reflector) {
|
|
|
6786
6794
|
return meta;
|
|
6787
6795
|
}
|
|
6788
6796
|
|
|
6789
|
-
// bazel-out/
|
|
6797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6790
6798
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6791
6799
|
import ts26 from "typescript";
|
|
6792
6800
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6932,14 +6940,14 @@ var PipeDecoratorHandler = class {
|
|
|
6932
6940
|
}
|
|
6933
6941
|
};
|
|
6934
6942
|
|
|
6935
|
-
// bazel-out/
|
|
6943
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
6936
6944
|
var OptimizeFor;
|
|
6937
6945
|
(function(OptimizeFor2) {
|
|
6938
6946
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
6939
6947
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
6940
6948
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
6941
6949
|
|
|
6942
|
-
// bazel-out/
|
|
6950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
6943
6951
|
var PotentialImportKind;
|
|
6944
6952
|
(function(PotentialImportKind2) {
|
|
6945
6953
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -6951,14 +6959,14 @@ var PotentialImportMode;
|
|
|
6951
6959
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
6952
6960
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
6953
6961
|
|
|
6954
|
-
// bazel-out/
|
|
6962
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
6955
6963
|
var CompletionKind;
|
|
6956
6964
|
(function(CompletionKind2) {
|
|
6957
6965
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
6958
6966
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
6959
6967
|
})(CompletionKind || (CompletionKind = {}));
|
|
6960
6968
|
|
|
6961
|
-
// bazel-out/
|
|
6969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
6962
6970
|
var SymbolKind;
|
|
6963
6971
|
(function(SymbolKind2) {
|
|
6964
6972
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -7025,4 +7033,4 @@ export {
|
|
|
7025
7033
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7026
7034
|
* found in the LICENSE file at https://angular.io/license
|
|
7027
7035
|
*/
|
|
7028
|
-
//# sourceMappingURL=chunk-
|
|
7036
|
+
//# sourceMappingURL=chunk-XS6XKZQP.js.map
|