@angular/compiler-cli 15.2.0-rc.0 → 15.2.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-6ZJFIQBG.js → chunk-2NLFVEGY.js} +7 -7
- package/bundles/{chunk-ZB4CDKOH.js → chunk-5WBIJMZH.js} +5 -5
- package/bundles/{chunk-64X67E3N.js → chunk-7GNUPQOI.js} +31 -31
- package/bundles/{chunk-7DUI3BSX.js → chunk-B57SP4JB.js} +2 -2
- package/bundles/chunk-IJECERTO.js +714 -0
- package/bundles/chunk-IJECERTO.js.map +6 -0
- package/bundles/chunk-IYYB2HTK.js +877 -0
- package/bundles/chunk-IYYB2HTK.js.map +6 -0
- package/bundles/{chunk-YRDMG3GM.js → chunk-K7P4IHT5.js} +4 -4
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-JYL7IHZC.js → chunk-P5LISIUG.js} +97 -86
- package/bundles/chunk-P5LISIUG.js.map +6 -0
- package/bundles/{chunk-BEXFRTBC.js → chunk-PKXB2WOZ.js} +40 -40
- package/bundles/{chunk-HYFCMILZ.js → chunk-RMPM4VAI.js} +102 -100
- package/bundles/chunk-RMPM4VAI.js.map +6 -0
- package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-Q6W3UCXI.js → chunk-TGEKDMUX.js} +94 -127
- package/bundles/chunk-TGEKDMUX.js.map +6 -0
- package/bundles/{chunk-OAZD7RII.js → chunk-WN75SNW4.js} +75 -73
- package/bundles/chunk-WN75SNW4.js.map +6 -0
- package/bundles/{chunk-NJMZRTB6.js → chunk-YZWN2KWE.js} +5 -5
- package/bundles/{chunk-O4JLZZWJ.js → chunk-ZF3IVDQ2.js} +6 -6
- package/bundles/index.js +13 -12
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +13 -12
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +5 -4
- package/bundles/ngcc/index.js +13 -12
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +14 -13
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +4 -4
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -5
- package/bundles/private/tooling.js +4 -2
- package/bundles/src/bin/ng_xi18n.js +11 -10
- package/bundles/src/bin/ng_xi18n.js.map +1 -1
- package/bundles/src/bin/ngc.js +9 -8
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -1
- package/src/ngtsc/imports/index.d.ts +1 -0
- package/src/ngtsc/imports/src/default.d.ts +6 -10
- package/src/ngtsc/imports/src/patch_alias_reference_resolution.d.ts +61 -0
- package/bundles/chunk-HYFCMILZ.js.map +0 -6
- package/bundles/chunk-JYL7IHZC.js.map +0 -6
- package/bundles/chunk-OAZD7RII.js.map +0 -6
- package/bundles/chunk-Q6W3UCXI.js.map +0 -6
- package/bundles/chunk-Z534TW2O.js +0 -1540
- package/bundles/chunk-Z534TW2O.js.map +0 -6
- package/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.d.ts +0 -14
- /package/bundles/{chunk-6ZJFIQBG.js.map → chunk-2NLFVEGY.js.map} +0 -0
- /package/bundles/{chunk-ZB4CDKOH.js.map → chunk-5WBIJMZH.js.map} +0 -0
- /package/bundles/{chunk-64X67E3N.js.map → chunk-7GNUPQOI.js.map} +0 -0
- /package/bundles/{chunk-7DUI3BSX.js.map → chunk-B57SP4JB.js.map} +0 -0
- /package/bundles/{chunk-YRDMG3GM.js.map → chunk-K7P4IHT5.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-BEXFRTBC.js.map → chunk-PKXB2WOZ.js.map} +0 -0
- /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-NJMZRTB6.js.map → chunk-YZWN2KWE.js.map} +0 -0
- /package/bundles/{chunk-O4JLZZWJ.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
|
@@ -12,16 +12,21 @@ import {
|
|
|
12
12
|
reflectObjectLiteral,
|
|
13
13
|
reflectTypeEntityToDeclaration,
|
|
14
14
|
typeNodeToValueExpr
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZF3IVDQ2.js";
|
|
16
|
+
import {
|
|
17
|
+
ImportManager,
|
|
18
|
+
createImportDeclaration,
|
|
19
|
+
translateExpression,
|
|
20
|
+
translateStatement,
|
|
21
|
+
translateType
|
|
22
|
+
} from "./chunk-IJECERTO.js";
|
|
16
23
|
import {
|
|
17
24
|
ErrorCode,
|
|
18
25
|
FatalDiagnosticError,
|
|
19
26
|
ImportFlags,
|
|
20
|
-
ImportManager,
|
|
21
27
|
Reference,
|
|
22
28
|
assertSuccessfulReferenceEmit,
|
|
23
29
|
attachDefaultImportDeclaration,
|
|
24
|
-
createImportDeclaration,
|
|
25
30
|
getDefaultImportDeclaration,
|
|
26
31
|
getSourceFile,
|
|
27
32
|
identifierOfNode,
|
|
@@ -30,22 +35,19 @@ import {
|
|
|
30
35
|
makeDiagnostic,
|
|
31
36
|
makeRelatedInformation,
|
|
32
37
|
nodeDebugInfo,
|
|
33
|
-
nodeNameForError
|
|
34
|
-
|
|
35
|
-
translateStatement,
|
|
36
|
-
translateType
|
|
37
|
-
} from "./chunk-Z534TW2O.js";
|
|
38
|
+
nodeNameForError
|
|
39
|
+
} from "./chunk-IYYB2HTK.js";
|
|
38
40
|
import {
|
|
39
41
|
absoluteFrom,
|
|
40
42
|
absoluteFromSourceFile,
|
|
41
43
|
relative
|
|
42
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TBUSSXUA.js";
|
|
43
45
|
import {
|
|
44
46
|
PerfEvent,
|
|
45
47
|
PerfPhase
|
|
46
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YZWN2KWE.js";
|
|
47
49
|
|
|
48
|
-
// bazel-out/
|
|
50
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
49
51
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
50
52
|
import ts from "typescript";
|
|
51
53
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -284,7 +286,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
284
286
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
|
|
285
287
|
}
|
|
286
288
|
|
|
287
|
-
// bazel-out/
|
|
289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
288
290
|
var DynamicValue = class {
|
|
289
291
|
constructor(node, reason, code) {
|
|
290
292
|
this.node = node;
|
|
@@ -374,10 +376,10 @@ var DynamicValue = class {
|
|
|
374
376
|
}
|
|
375
377
|
};
|
|
376
378
|
|
|
377
|
-
// bazel-out/
|
|
379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
378
380
|
import ts2 from "typescript";
|
|
379
381
|
|
|
380
|
-
// bazel-out/
|
|
382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
381
383
|
var ResolvedModule = class {
|
|
382
384
|
constructor(exports, evaluate) {
|
|
383
385
|
this.exports = exports;
|
|
@@ -407,7 +409,7 @@ var EnumValue = class {
|
|
|
407
409
|
var KnownFn = class {
|
|
408
410
|
};
|
|
409
411
|
|
|
410
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
411
413
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
412
414
|
constructor(lhs) {
|
|
413
415
|
super();
|
|
@@ -478,7 +480,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
478
480
|
}
|
|
479
481
|
};
|
|
480
482
|
|
|
481
|
-
// bazel-out/
|
|
483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
482
484
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
483
485
|
};
|
|
484
486
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -531,7 +533,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
531
533
|
}
|
|
532
534
|
};
|
|
533
535
|
|
|
534
|
-
// bazel-out/
|
|
536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
535
537
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
536
538
|
var assignTsHelperFn = new AssignHelperFn();
|
|
537
539
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -555,14 +557,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
555
557
|
}
|
|
556
558
|
}
|
|
557
559
|
|
|
558
|
-
// bazel-out/
|
|
560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
559
561
|
var SyntheticValue = class {
|
|
560
562
|
constructor(value) {
|
|
561
563
|
this.value = value;
|
|
562
564
|
}
|
|
563
565
|
};
|
|
564
566
|
|
|
565
|
-
// bazel-out/
|
|
567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
566
568
|
function literalBinaryOp(op) {
|
|
567
569
|
return { op, literal: true };
|
|
568
570
|
}
|
|
@@ -1163,7 +1165,7 @@ function owningModule(context, override = null) {
|
|
|
1163
1165
|
}
|
|
1164
1166
|
}
|
|
1165
1167
|
|
|
1166
|
-
// bazel-out/
|
|
1168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1167
1169
|
var PartialEvaluator = class {
|
|
1168
1170
|
constructor(host, checker, dependencyTracker) {
|
|
1169
1171
|
this.host = host;
|
|
@@ -1183,7 +1185,7 @@ var PartialEvaluator = class {
|
|
|
1183
1185
|
}
|
|
1184
1186
|
};
|
|
1185
1187
|
|
|
1186
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1187
1189
|
import ts3 from "typescript";
|
|
1188
1190
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1189
1191
|
var _a, _b;
|
|
@@ -1313,7 +1315,7 @@ function getContainerNode(node) {
|
|
|
1313
1315
|
return node.getSourceFile();
|
|
1314
1316
|
}
|
|
1315
1317
|
|
|
1316
|
-
// bazel-out/
|
|
1318
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1317
1319
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1318
1320
|
import ts4 from "typescript";
|
|
1319
1321
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1457,10 +1459,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1457
1459
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1458
1460
|
}
|
|
1459
1461
|
|
|
1460
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1461
1463
|
import ts7 from "typescript";
|
|
1462
1464
|
|
|
1463
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1464
1466
|
var MetaKind;
|
|
1465
1467
|
(function(MetaKind2) {
|
|
1466
1468
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1473,10 +1475,10 @@ var MatchSource;
|
|
|
1473
1475
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1474
1476
|
})(MatchSource || (MatchSource = {}));
|
|
1475
1477
|
|
|
1476
|
-
// bazel-out/
|
|
1478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1477
1479
|
import ts6 from "typescript";
|
|
1478
1480
|
|
|
1479
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1480
1482
|
var ClassPropertyMapping = class {
|
|
1481
1483
|
constructor(forwardMap) {
|
|
1482
1484
|
this.forwardMap = forwardMap;
|
|
@@ -1552,7 +1554,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1552
1554
|
return reverseMap;
|
|
1553
1555
|
}
|
|
1554
1556
|
|
|
1555
|
-
// bazel-out/
|
|
1557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1556
1558
|
import ts5 from "typescript";
|
|
1557
1559
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1558
1560
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1734,7 +1736,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1734
1736
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1735
1737
|
}
|
|
1736
1738
|
|
|
1737
|
-
// bazel-out/
|
|
1739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1738
1740
|
var DtsMetadataReader = class {
|
|
1739
1741
|
constructor(checker, reflector) {
|
|
1740
1742
|
this.checker = checker;
|
|
@@ -1873,7 +1875,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1873
1875
|
return result.length > 0 ? result : null;
|
|
1874
1876
|
}
|
|
1875
1877
|
|
|
1876
|
-
// bazel-out/
|
|
1878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1877
1879
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1878
1880
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1879
1881
|
if (topMeta === null) {
|
|
@@ -1931,7 +1933,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1931
1933
|
};
|
|
1932
1934
|
}
|
|
1933
1935
|
|
|
1934
|
-
// bazel-out/
|
|
1936
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1935
1937
|
var LocalMetadataRegistry = class {
|
|
1936
1938
|
constructor() {
|
|
1937
1939
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -1988,7 +1990,7 @@ var CompoundMetadataRegistry = class {
|
|
|
1988
1990
|
}
|
|
1989
1991
|
};
|
|
1990
1992
|
|
|
1991
|
-
// bazel-out/
|
|
1993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
1992
1994
|
var ResourceRegistry = class {
|
|
1993
1995
|
constructor() {
|
|
1994
1996
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2053,7 +2055,7 @@ var ResourceRegistry = class {
|
|
|
2053
2055
|
}
|
|
2054
2056
|
};
|
|
2055
2057
|
|
|
2056
|
-
// bazel-out/
|
|
2058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2057
2059
|
var EMPTY_ARRAY = [];
|
|
2058
2060
|
var HostDirectivesResolver = class {
|
|
2059
2061
|
constructor(metaReader) {
|
|
@@ -2104,7 +2106,7 @@ var HostDirectivesResolver = class {
|
|
|
2104
2106
|
}
|
|
2105
2107
|
};
|
|
2106
2108
|
|
|
2107
|
-
// bazel-out/
|
|
2109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2108
2110
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2109
2111
|
const context = [];
|
|
2110
2112
|
for (const decl of data) {
|
|
@@ -2279,7 +2281,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2279
2281
|
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}.`);
|
|
2280
2282
|
}
|
|
2281
2283
|
|
|
2282
|
-
// bazel-out/
|
|
2284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2283
2285
|
import ts8 from "typescript";
|
|
2284
2286
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2285
2287
|
let resolved = null;
|
|
@@ -2312,7 +2314,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2312
2314
|
return meta;
|
|
2313
2315
|
}
|
|
2314
2316
|
|
|
2315
|
-
// bazel-out/
|
|
2317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2316
2318
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2317
2319
|
function compileNgFactoryDefField(metadata) {
|
|
2318
2320
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2323,7 +2325,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2323
2325
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2324
2326
|
}
|
|
2325
2327
|
|
|
2326
|
-
// bazel-out/
|
|
2328
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2327
2329
|
var InjectableClassRegistry = class {
|
|
2328
2330
|
constructor(host, isCore) {
|
|
2329
2331
|
this.host = host;
|
|
@@ -2349,7 +2351,7 @@ var InjectableClassRegistry = class {
|
|
|
2349
2351
|
}
|
|
2350
2352
|
};
|
|
2351
2353
|
|
|
2352
|
-
// bazel-out/
|
|
2354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2353
2355
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2354
2356
|
import ts9 from "typescript";
|
|
2355
2357
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2436,13 +2438,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2436
2438
|
return result.transformed[0];
|
|
2437
2439
|
}
|
|
2438
2440
|
|
|
2439
|
-
// bazel-out/
|
|
2441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2440
2442
|
var NoopReferencesRegistry = class {
|
|
2441
2443
|
add(source, ...references) {
|
|
2442
2444
|
}
|
|
2443
2445
|
};
|
|
2444
2446
|
|
|
2445
|
-
// bazel-out/
|
|
2447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2446
2448
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2447
2449
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2448
2450
|
const schemas = [];
|
|
@@ -2472,11 +2474,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2472
2474
|
return schemas;
|
|
2473
2475
|
}
|
|
2474
2476
|
|
|
2475
|
-
// bazel-out/
|
|
2477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2476
2478
|
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";
|
|
2477
2479
|
import ts24 from "typescript";
|
|
2478
2480
|
|
|
2479
|
-
// bazel-out/
|
|
2481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2480
2482
|
import ts10 from "typescript";
|
|
2481
2483
|
var SemanticSymbol = class {
|
|
2482
2484
|
constructor(decl) {
|
|
@@ -2492,7 +2494,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2492
2494
|
return decl.name.text;
|
|
2493
2495
|
}
|
|
2494
2496
|
|
|
2495
|
-
// bazel-out/
|
|
2497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2496
2498
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2497
2499
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2498
2500
|
isPublicApiAffected() {
|
|
@@ -2635,10 +2637,10 @@ function getImportPath(expr) {
|
|
|
2635
2637
|
}
|
|
2636
2638
|
}
|
|
2637
2639
|
|
|
2638
|
-
// bazel-out/
|
|
2640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2639
2641
|
import ts11 from "typescript";
|
|
2640
2642
|
|
|
2641
|
-
// bazel-out/
|
|
2643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2642
2644
|
function isSymbolEqual(a, b) {
|
|
2643
2645
|
if (a.decl === b.decl) {
|
|
2644
2646
|
return true;
|
|
@@ -2688,7 +2690,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2688
2690
|
return true;
|
|
2689
2691
|
}
|
|
2690
2692
|
|
|
2691
|
-
// bazel-out/
|
|
2693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2692
2694
|
function extractSemanticTypeParameters(node) {
|
|
2693
2695
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2694
2696
|
return null;
|
|
@@ -2708,14 +2710,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2708
2710
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2709
2711
|
}
|
|
2710
2712
|
|
|
2711
|
-
// bazel-out/
|
|
2713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2712
2714
|
var ComponentScopeKind;
|
|
2713
2715
|
(function(ComponentScopeKind2) {
|
|
2714
2716
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2715
2717
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2716
2718
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2717
2719
|
|
|
2718
|
-
// bazel-out/
|
|
2720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2719
2721
|
var CompoundComponentScopeReader = class {
|
|
2720
2722
|
constructor(readers) {
|
|
2721
2723
|
this.readers = readers;
|
|
@@ -2740,7 +2742,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2740
2742
|
}
|
|
2741
2743
|
};
|
|
2742
2744
|
|
|
2743
|
-
// bazel-out/
|
|
2745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2744
2746
|
var MetadataDtsModuleScopeResolver = class {
|
|
2745
2747
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2746
2748
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2816,11 +2818,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2816
2818
|
}
|
|
2817
2819
|
};
|
|
2818
2820
|
|
|
2819
|
-
// bazel-out/
|
|
2821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2820
2822
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2821
2823
|
import ts12 from "typescript";
|
|
2822
2824
|
|
|
2823
|
-
// bazel-out/
|
|
2825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2824
2826
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2825
2827
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2826
2828
|
}
|
|
@@ -2843,7 +2845,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2843
2845
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2844
2846
|
}
|
|
2845
2847
|
|
|
2846
|
-
// bazel-out/
|
|
2848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2847
2849
|
var LocalModuleScopeRegistry = class {
|
|
2848
2850
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2849
2851
|
this.localReader = localReader;
|
|
@@ -3182,7 +3184,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3182
3184
|
]);
|
|
3183
3185
|
}
|
|
3184
3186
|
|
|
3185
|
-
// bazel-out/
|
|
3187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3186
3188
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3187
3189
|
import ts13 from "typescript";
|
|
3188
3190
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3251,7 +3253,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3251
3253
|
}
|
|
3252
3254
|
};
|
|
3253
3255
|
|
|
3254
|
-
// bazel-out/
|
|
3256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3255
3257
|
var CompilationMode;
|
|
3256
3258
|
(function(CompilationMode2) {
|
|
3257
3259
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3269,7 +3271,7 @@ var HandlerFlags;
|
|
|
3269
3271
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3270
3272
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3271
3273
|
|
|
3272
|
-
// bazel-out/
|
|
3274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3273
3275
|
import ts14 from "typescript";
|
|
3274
3276
|
function aliasTransformFactory(exportStatements) {
|
|
3275
3277
|
return () => {
|
|
@@ -3292,10 +3294,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3292
3294
|
};
|
|
3293
3295
|
}
|
|
3294
3296
|
|
|
3295
|
-
// bazel-out/
|
|
3297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3296
3298
|
import ts15 from "typescript";
|
|
3297
3299
|
|
|
3298
|
-
// bazel-out/
|
|
3300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3299
3301
|
var TraitState;
|
|
3300
3302
|
(function(TraitState2) {
|
|
3301
3303
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3350,7 +3352,7 @@ var TraitImpl = class {
|
|
|
3350
3352
|
}
|
|
3351
3353
|
};
|
|
3352
3354
|
|
|
3353
|
-
// bazel-out/
|
|
3355
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3354
3356
|
var TraitCompiler = class {
|
|
3355
3357
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3356
3358
|
this.handlers = handlers;
|
|
@@ -3794,10 +3796,10 @@ function containsErrors(diagnostics) {
|
|
|
3794
3796
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3795
3797
|
}
|
|
3796
3798
|
|
|
3797
|
-
// bazel-out/
|
|
3799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3798
3800
|
import ts17 from "typescript";
|
|
3799
3801
|
|
|
3800
|
-
// bazel-out/
|
|
3802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3801
3803
|
import ts16 from "typescript";
|
|
3802
3804
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3803
3805
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3833,7 +3835,7 @@ function isImportStatement(stmt) {
|
|
|
3833
3835
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3834
3836
|
}
|
|
3835
3837
|
|
|
3836
|
-
// bazel-out/
|
|
3838
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3837
3839
|
var DtsTransformRegistry = class {
|
|
3838
3840
|
constructor() {
|
|
3839
3841
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3978,11 +3980,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3978
3980
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3979
3981
|
}
|
|
3980
3982
|
|
|
3981
|
-
// bazel-out/
|
|
3983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3982
3984
|
import { ConstantPool } from "@angular/compiler";
|
|
3983
3985
|
import ts19 from "typescript";
|
|
3984
3986
|
|
|
3985
|
-
// bazel-out/
|
|
3987
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3986
3988
|
import ts18 from "typescript";
|
|
3987
3989
|
function visit(node, visitor, context) {
|
|
3988
3990
|
return visitor._visit(node, context);
|
|
@@ -4043,7 +4045,7 @@ var Visitor = class {
|
|
|
4043
4045
|
}
|
|
4044
4046
|
};
|
|
4045
4047
|
|
|
4046
|
-
// bazel-out/
|
|
4048
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4047
4049
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
4048
4050
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
4049
4051
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4251,10 +4253,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4251
4253
|
return array;
|
|
4252
4254
|
}
|
|
4253
4255
|
|
|
4254
|
-
// bazel-out/
|
|
4256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4255
4257
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4256
4258
|
|
|
4257
|
-
// bazel-out/
|
|
4259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4258
4260
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4259
4261
|
import ts20 from "typescript";
|
|
4260
4262
|
var EMPTY_OBJECT = {};
|
|
@@ -4671,7 +4673,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4671
4673
|
};
|
|
4672
4674
|
}
|
|
4673
4675
|
|
|
4674
|
-
// bazel-out/
|
|
4676
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4675
4677
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4676
4678
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4677
4679
|
super(decl);
|
|
@@ -4748,7 +4750,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4748
4750
|
return isSymbolEqual(current, previous);
|
|
4749
4751
|
}
|
|
4750
4752
|
|
|
4751
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4752
4754
|
var FIELD_DECORATORS = [
|
|
4753
4755
|
"Input",
|
|
4754
4756
|
"Output",
|
|
@@ -4907,11 +4909,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4907
4909
|
}
|
|
4908
4910
|
};
|
|
4909
4911
|
|
|
4910
|
-
// bazel-out/
|
|
4912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4911
4913
|
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";
|
|
4912
4914
|
import ts22 from "typescript";
|
|
4913
4915
|
|
|
4914
|
-
// bazel-out/
|
|
4916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4915
4917
|
import ts21 from "typescript";
|
|
4916
4918
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4917
4919
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4978,7 +4980,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4978
4980
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4979
4981
|
}
|
|
4980
4982
|
|
|
4981
|
-
// bazel-out/
|
|
4983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4982
4984
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4983
4985
|
constructor() {
|
|
4984
4986
|
super(...arguments);
|
|
@@ -5482,7 +5484,7 @@ function isSyntheticReference(ref) {
|
|
|
5482
5484
|
return ref.synthetic;
|
|
5483
5485
|
}
|
|
5484
5486
|
|
|
5485
|
-
// bazel-out/
|
|
5487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5486
5488
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5487
5489
|
const name = ref.debugName || "(unknown)";
|
|
5488
5490
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5505,7 +5507,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5505
5507
|
return null;
|
|
5506
5508
|
}
|
|
5507
5509
|
|
|
5508
|
-
// bazel-out/
|
|
5510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5509
5511
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5510
5512
|
import ts23 from "typescript";
|
|
5511
5513
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5609,7 +5611,7 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
5609
5611
|
file: new ParseSourceFile2(sourceStr, sourceMapUrl != null ? sourceMapUrl : "")
|
|
5610
5612
|
};
|
|
5611
5613
|
}
|
|
5612
|
-
function parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces) {
|
|
5614
|
+
function parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces) {
|
|
5613
5615
|
let preserveWhitespaces = defaultPreserveWhitespaces;
|
|
5614
5616
|
if (component.has("preserveWhitespaces")) {
|
|
5615
5617
|
const expr = component.get("preserveWhitespaces");
|
|
@@ -5645,6 +5647,9 @@ function parseTemplateDeclaration(decorator, component, containingFile, evaluato
|
|
|
5645
5647
|
resolvedTemplateUrl: resourceUrl
|
|
5646
5648
|
};
|
|
5647
5649
|
} catch (e) {
|
|
5650
|
+
if (depTracker !== null) {
|
|
5651
|
+
depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
5652
|
+
}
|
|
5648
5653
|
throw makeResourceNotFoundError(templateUrl, templateUrlExpr, 0);
|
|
5649
5654
|
}
|
|
5650
5655
|
} else if (component.has("template")) {
|
|
@@ -5672,7 +5677,7 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
|
|
|
5672
5677
|
const templatePromise = resourceLoader.preload(resourceUrl, { type: "template", containingFile });
|
|
5673
5678
|
if (templatePromise !== void 0) {
|
|
5674
5679
|
return templatePromise.then(() => {
|
|
5675
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces);
|
|
5680
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
|
|
5676
5681
|
const template = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
|
|
5677
5682
|
preanalyzeTemplateCache.set(node, template);
|
|
5678
5683
|
return template;
|
|
@@ -5681,10 +5686,13 @@ function preloadAndParseTemplate(evaluator, resourceLoader, depTracker, preanaly
|
|
|
5681
5686
|
return Promise.resolve(null);
|
|
5682
5687
|
}
|
|
5683
5688
|
} catch (e) {
|
|
5689
|
+
if (depTracker !== null) {
|
|
5690
|
+
depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
5691
|
+
}
|
|
5684
5692
|
throw makeResourceNotFoundError(templateUrl, templateUrlExpr, 0);
|
|
5685
5693
|
}
|
|
5686
5694
|
} else {
|
|
5687
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, evaluator, resourceLoader, defaultPreserveWhitespaces);
|
|
5695
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, evaluator, depTracker, resourceLoader, defaultPreserveWhitespaces);
|
|
5688
5696
|
const template = extractTemplate(node, templateDecl, evaluator, depTracker, resourceLoader, options);
|
|
5689
5697
|
preanalyzeTemplateCache.set(node, template);
|
|
5690
5698
|
return Promise.resolve(template);
|
|
@@ -5818,7 +5826,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5818
5826
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5819
5827
|
}
|
|
5820
5828
|
|
|
5821
|
-
// bazel-out/
|
|
5829
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5822
5830
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5823
5831
|
constructor() {
|
|
5824
5832
|
super(...arguments);
|
|
@@ -5853,7 +5861,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5853
5861
|
}
|
|
5854
5862
|
};
|
|
5855
5863
|
|
|
5856
|
-
// bazel-out/
|
|
5864
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5857
5865
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5858
5866
|
if (value instanceof Map) {
|
|
5859
5867
|
const name = value.get("name");
|
|
@@ -5929,7 +5937,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5929
5937
|
return false;
|
|
5930
5938
|
}
|
|
5931
5939
|
|
|
5932
|
-
// bazel-out/
|
|
5940
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5933
5941
|
var EMPTY_ARRAY2 = [];
|
|
5934
5942
|
var ComponentDecoratorHandler = class {
|
|
5935
5943
|
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) {
|
|
@@ -6114,7 +6122,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6114
6122
|
this.preanalyzeTemplateCache.delete(node);
|
|
6115
6123
|
template = preanalyzed;
|
|
6116
6124
|
} else {
|
|
6117
|
-
const templateDecl = parseTemplateDeclaration(decorator, component, containingFile, this.evaluator, this.resourceLoader, this.defaultPreserveWhitespaces);
|
|
6125
|
+
const templateDecl = parseTemplateDeclaration(node, decorator, component, containingFile, this.evaluator, this.depTracker, this.resourceLoader, this.defaultPreserveWhitespaces);
|
|
6118
6126
|
template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
|
|
6119
6127
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
6120
6128
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
@@ -6140,6 +6148,9 @@ var ComponentDecoratorHandler = class {
|
|
|
6140
6148
|
this.depTracker.addResourceDependency(node.getSourceFile(), absoluteFrom(resourceUrl));
|
|
6141
6149
|
}
|
|
6142
6150
|
} catch {
|
|
6151
|
+
if (this.depTracker !== null) {
|
|
6152
|
+
this.depTracker.recordDependencyAnalysisFailure(node.getSourceFile());
|
|
6153
|
+
}
|
|
6143
6154
|
if (diagnostics === void 0) {
|
|
6144
6155
|
diagnostics = [];
|
|
6145
6156
|
}
|
|
@@ -6573,7 +6584,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6573
6584
|
return diagnostics;
|
|
6574
6585
|
}
|
|
6575
6586
|
|
|
6576
|
-
// bazel-out/
|
|
6587
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6577
6588
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6578
6589
|
import ts25 from "typescript";
|
|
6579
6590
|
var InjectableDecoratorHandler = class {
|
|
@@ -6790,7 +6801,7 @@ function getDep(dep, reflector) {
|
|
|
6790
6801
|
return meta;
|
|
6791
6802
|
}
|
|
6792
6803
|
|
|
6793
|
-
// bazel-out/
|
|
6804
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6794
6805
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6795
6806
|
import ts26 from "typescript";
|
|
6796
6807
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6936,14 +6947,14 @@ var PipeDecoratorHandler = class {
|
|
|
6936
6947
|
}
|
|
6937
6948
|
};
|
|
6938
6949
|
|
|
6939
|
-
// bazel-out/
|
|
6950
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
6940
6951
|
var OptimizeFor;
|
|
6941
6952
|
(function(OptimizeFor2) {
|
|
6942
6953
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
6943
6954
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
6944
6955
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
6945
6956
|
|
|
6946
|
-
// bazel-out/
|
|
6957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
6947
6958
|
var PotentialImportKind;
|
|
6948
6959
|
(function(PotentialImportKind2) {
|
|
6949
6960
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -6955,14 +6966,14 @@ var PotentialImportMode;
|
|
|
6955
6966
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
6956
6967
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
6957
6968
|
|
|
6958
|
-
// bazel-out/
|
|
6969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
6959
6970
|
var CompletionKind;
|
|
6960
6971
|
(function(CompletionKind2) {
|
|
6961
6972
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
6962
6973
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
6963
6974
|
})(CompletionKind || (CompletionKind = {}));
|
|
6964
6975
|
|
|
6965
|
-
// bazel-out/
|
|
6976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
6966
6977
|
var SymbolKind;
|
|
6967
6978
|
(function(SymbolKind2) {
|
|
6968
6979
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -7032,4 +7043,4 @@ export {
|
|
|
7032
7043
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7033
7044
|
* found in the LICENSE file at https://angular.io/license
|
|
7034
7045
|
*/
|
|
7035
|
-
//# sourceMappingURL=chunk-
|
|
7046
|
+
//# sourceMappingURL=chunk-P5LISIUG.js.map
|