@angular/compiler-cli 15.2.6 → 15.2.7
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-L644G6CJ.js → chunk-2NLFVEGY.js} +7 -7
- package/bundles/{chunk-RVMGEVUM.js → chunk-7GNUPQOI.js} +31 -31
- package/bundles/{chunk-OFPWZYAK.js → chunk-B57SP4JB.js} +2 -2
- package/bundles/{chunk-6MNQICMO.js → chunk-BGY2CNQJ.js} +73 -71
- package/bundles/{chunk-6MNQICMO.js.map → chunk-BGY2CNQJ.js.map} +1 -1
- package/bundles/{chunk-47T3GLS3.js → chunk-E3MCJFSW.js} +114 -99
- package/bundles/chunk-E3MCJFSW.js.map +6 -0
- package/bundles/{chunk-4EAKVGWO.js → chunk-IJECERTO.js} +10 -10
- package/bundles/{chunk-I7N7PLKQ.js → chunk-IYYB2HTK.js} +21 -21
- package/bundles/{chunk-KXJ5LO4I.js → chunk-JEWI23RF.js} +92 -84
- package/bundles/chunk-JEWI23RF.js.map +6 -0
- package/bundles/{chunk-YSDCIO24.js → chunk-K7P4IHT5.js} +4 -4
- package/bundles/{chunk-CF2CT7RQ.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-JADZF6LG.js → chunk-SU3FU3XQ.js} +5 -5
- package/bundles/{chunk-K2U2VZ7S.js → chunk-TBUSSXUA.js} +7 -7
- package/bundles/{chunk-FXCJCRLE.js → chunk-TYAEIVDA.js} +40 -40
- package/bundles/{chunk-HK36RNP3.js → chunk-YZWN2KWE.js} +5 -5
- package/bundles/{chunk-UPBLAOWL.js → chunk-ZF3IVDQ2.js} +6 -6
- package/bundles/{chunk-XIHAXCJX.js → chunk-ZV3QKZR5.js} +5 -5
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +13 -13
- package/bundles/ngcc/main-ngcc.js +14 -14
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
- 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 -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/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/handler.d.ts +3 -2
- package/src/ngtsc/annotations/directive/src/shared.d.ts +2 -1
- package/bundles/chunk-47T3GLS3.js.map +0 -6
- package/bundles/chunk-KXJ5LO4I.js.map +0 -6
- /package/bundles/{chunk-L644G6CJ.js.map → chunk-2NLFVEGY.js.map} +0 -0
- /package/bundles/{chunk-RVMGEVUM.js.map → chunk-7GNUPQOI.js.map} +0 -0
- /package/bundles/{chunk-OFPWZYAK.js.map → chunk-B57SP4JB.js.map} +0 -0
- /package/bundles/{chunk-4EAKVGWO.js.map → chunk-IJECERTO.js.map} +0 -0
- /package/bundles/{chunk-I7N7PLKQ.js.map → chunk-IYYB2HTK.js.map} +0 -0
- /package/bundles/{chunk-YSDCIO24.js.map → chunk-K7P4IHT5.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-JADZF6LG.js.map → chunk-SU3FU3XQ.js.map} +0 -0
- /package/bundles/{chunk-K2U2VZ7S.js.map → chunk-TBUSSXUA.js.map} +0 -0
- /package/bundles/{chunk-FXCJCRLE.js.map → chunk-TYAEIVDA.js.map} +0 -0
- /package/bundles/{chunk-HK36RNP3.js.map → chunk-YZWN2KWE.js.map} +0 -0
- /package/bundles/{chunk-UPBLAOWL.js.map → chunk-ZF3IVDQ2.js.map} +0 -0
- /package/bundles/{chunk-XIHAXCJX.js.map → chunk-ZV3QKZR5.js.map} +0 -0
|
@@ -12,14 +12,14 @@ import {
|
|
|
12
12
|
reflectObjectLiteral,
|
|
13
13
|
reflectTypeEntityToDeclaration,
|
|
14
14
|
typeNodeToValueExpr
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-ZF3IVDQ2.js";
|
|
16
16
|
import {
|
|
17
17
|
ImportManager,
|
|
18
18
|
createImportDeclaration,
|
|
19
19
|
translateExpression,
|
|
20
20
|
translateStatement,
|
|
21
21
|
translateType
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-IJECERTO.js";
|
|
23
23
|
import {
|
|
24
24
|
ErrorCode,
|
|
25
25
|
FatalDiagnosticError,
|
|
@@ -36,18 +36,18 @@ import {
|
|
|
36
36
|
makeRelatedInformation,
|
|
37
37
|
nodeDebugInfo,
|
|
38
38
|
nodeNameForError
|
|
39
|
-
} from "./chunk-
|
|
39
|
+
} from "./chunk-IYYB2HTK.js";
|
|
40
40
|
import {
|
|
41
41
|
absoluteFrom,
|
|
42
42
|
absoluteFromSourceFile,
|
|
43
43
|
relative
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-TBUSSXUA.js";
|
|
45
45
|
import {
|
|
46
46
|
PerfEvent,
|
|
47
47
|
PerfPhase
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-YZWN2KWE.js";
|
|
49
49
|
|
|
50
|
-
// bazel-out/
|
|
50
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
51
51
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
52
52
|
import ts from "typescript";
|
|
53
53
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -286,7 +286,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
286
286
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
|
|
287
287
|
}
|
|
288
288
|
|
|
289
|
-
// bazel-out/
|
|
289
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
290
290
|
var DynamicValue = class {
|
|
291
291
|
constructor(node, reason, code) {
|
|
292
292
|
this.node = node;
|
|
@@ -376,10 +376,10 @@ var DynamicValue = class {
|
|
|
376
376
|
}
|
|
377
377
|
};
|
|
378
378
|
|
|
379
|
-
// bazel-out/
|
|
379
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
380
380
|
import ts2 from "typescript";
|
|
381
381
|
|
|
382
|
-
// bazel-out/
|
|
382
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
383
383
|
var ResolvedModule = class {
|
|
384
384
|
constructor(exports, evaluate) {
|
|
385
385
|
this.exports = exports;
|
|
@@ -409,7 +409,7 @@ var EnumValue = class {
|
|
|
409
409
|
var KnownFn = class {
|
|
410
410
|
};
|
|
411
411
|
|
|
412
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
413
413
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
414
414
|
constructor(lhs) {
|
|
415
415
|
super();
|
|
@@ -480,7 +480,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
480
480
|
}
|
|
481
481
|
};
|
|
482
482
|
|
|
483
|
-
// bazel-out/
|
|
483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
484
484
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
485
485
|
};
|
|
486
486
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -533,7 +533,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
533
533
|
}
|
|
534
534
|
};
|
|
535
535
|
|
|
536
|
-
// bazel-out/
|
|
536
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
537
537
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
538
538
|
var assignTsHelperFn = new AssignHelperFn();
|
|
539
539
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -557,14 +557,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
557
557
|
}
|
|
558
558
|
}
|
|
559
559
|
|
|
560
|
-
// bazel-out/
|
|
560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
561
561
|
var SyntheticValue = class {
|
|
562
562
|
constructor(value) {
|
|
563
563
|
this.value = value;
|
|
564
564
|
}
|
|
565
565
|
};
|
|
566
566
|
|
|
567
|
-
// bazel-out/
|
|
567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
568
568
|
function literalBinaryOp(op) {
|
|
569
569
|
return { op, literal: true };
|
|
570
570
|
}
|
|
@@ -1165,7 +1165,7 @@ function owningModule(context, override = null) {
|
|
|
1165
1165
|
}
|
|
1166
1166
|
}
|
|
1167
1167
|
|
|
1168
|
-
// bazel-out/
|
|
1168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1169
1169
|
var PartialEvaluator = class {
|
|
1170
1170
|
constructor(host, checker, dependencyTracker) {
|
|
1171
1171
|
this.host = host;
|
|
@@ -1185,7 +1185,7 @@ var PartialEvaluator = class {
|
|
|
1185
1185
|
}
|
|
1186
1186
|
};
|
|
1187
1187
|
|
|
1188
|
-
// bazel-out/
|
|
1188
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1189
1189
|
import ts3 from "typescript";
|
|
1190
1190
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1191
1191
|
var _a, _b;
|
|
@@ -1315,7 +1315,7 @@ function getContainerNode(node) {
|
|
|
1315
1315
|
return node.getSourceFile();
|
|
1316
1316
|
}
|
|
1317
1317
|
|
|
1318
|
-
// bazel-out/
|
|
1318
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1319
1319
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1320
1320
|
import ts4 from "typescript";
|
|
1321
1321
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1459,10 +1459,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1459
1459
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1460
1460
|
}
|
|
1461
1461
|
|
|
1462
|
-
// bazel-out/
|
|
1462
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1463
1463
|
import ts7 from "typescript";
|
|
1464
1464
|
|
|
1465
|
-
// bazel-out/
|
|
1465
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1466
1466
|
var MetaKind;
|
|
1467
1467
|
(function(MetaKind2) {
|
|
1468
1468
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1475,10 +1475,10 @@ var MatchSource;
|
|
|
1475
1475
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1476
1476
|
})(MatchSource || (MatchSource = {}));
|
|
1477
1477
|
|
|
1478
|
-
// bazel-out/
|
|
1478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1479
1479
|
import ts6 from "typescript";
|
|
1480
1480
|
|
|
1481
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1482
1482
|
var ClassPropertyMapping = class {
|
|
1483
1483
|
constructor(forwardMap) {
|
|
1484
1484
|
this.forwardMap = forwardMap;
|
|
@@ -1554,7 +1554,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1554
1554
|
return reverseMap;
|
|
1555
1555
|
}
|
|
1556
1556
|
|
|
1557
|
-
// bazel-out/
|
|
1557
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1558
1558
|
import ts5 from "typescript";
|
|
1559
1559
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1560
1560
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1736,7 +1736,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1736
1736
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1737
1737
|
}
|
|
1738
1738
|
|
|
1739
|
-
// bazel-out/
|
|
1739
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1740
1740
|
var DtsMetadataReader = class {
|
|
1741
1741
|
constructor(checker, reflector) {
|
|
1742
1742
|
this.checker = checker;
|
|
@@ -1875,7 +1875,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1875
1875
|
return result.length > 0 ? result : null;
|
|
1876
1876
|
}
|
|
1877
1877
|
|
|
1878
|
-
// bazel-out/
|
|
1878
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1879
1879
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1880
1880
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1881
1881
|
if (topMeta === null) {
|
|
@@ -1933,7 +1933,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1933
1933
|
};
|
|
1934
1934
|
}
|
|
1935
1935
|
|
|
1936
|
-
// bazel-out/
|
|
1936
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1937
1937
|
var LocalMetadataRegistry = class {
|
|
1938
1938
|
constructor() {
|
|
1939
1939
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -1990,7 +1990,7 @@ var CompoundMetadataRegistry = class {
|
|
|
1990
1990
|
}
|
|
1991
1991
|
};
|
|
1992
1992
|
|
|
1993
|
-
// bazel-out/
|
|
1993
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
1994
1994
|
var ResourceRegistry = class {
|
|
1995
1995
|
constructor() {
|
|
1996
1996
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2055,7 +2055,7 @@ var ResourceRegistry = class {
|
|
|
2055
2055
|
}
|
|
2056
2056
|
};
|
|
2057
2057
|
|
|
2058
|
-
// bazel-out/
|
|
2058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2059
2059
|
var EMPTY_ARRAY = [];
|
|
2060
2060
|
var HostDirectivesResolver = class {
|
|
2061
2061
|
constructor(metaReader) {
|
|
@@ -2106,7 +2106,7 @@ var HostDirectivesResolver = class {
|
|
|
2106
2106
|
}
|
|
2107
2107
|
};
|
|
2108
2108
|
|
|
2109
|
-
// bazel-out/
|
|
2109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2110
2110
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2111
2111
|
const context = [];
|
|
2112
2112
|
for (const decl of data) {
|
|
@@ -2281,7 +2281,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2281
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}.`);
|
|
2282
2282
|
}
|
|
2283
2283
|
|
|
2284
|
-
// bazel-out/
|
|
2284
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2285
2285
|
import ts8 from "typescript";
|
|
2286
2286
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2287
2287
|
let resolved = null;
|
|
@@ -2314,7 +2314,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2314
2314
|
return meta;
|
|
2315
2315
|
}
|
|
2316
2316
|
|
|
2317
|
-
// bazel-out/
|
|
2317
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2318
2318
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2319
2319
|
function compileNgFactoryDefField(metadata) {
|
|
2320
2320
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2325,7 +2325,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2325
2325
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2326
2326
|
}
|
|
2327
2327
|
|
|
2328
|
-
// bazel-out/
|
|
2328
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2329
2329
|
var InjectableClassRegistry = class {
|
|
2330
2330
|
constructor(host, isCore) {
|
|
2331
2331
|
this.host = host;
|
|
@@ -2351,7 +2351,7 @@ var InjectableClassRegistry = class {
|
|
|
2351
2351
|
}
|
|
2352
2352
|
};
|
|
2353
2353
|
|
|
2354
|
-
// bazel-out/
|
|
2354
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2355
2355
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2356
2356
|
import ts9 from "typescript";
|
|
2357
2357
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2438,13 +2438,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2438
2438
|
return result.transformed[0];
|
|
2439
2439
|
}
|
|
2440
2440
|
|
|
2441
|
-
// bazel-out/
|
|
2441
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2442
2442
|
var NoopReferencesRegistry = class {
|
|
2443
2443
|
add(source, ...references) {
|
|
2444
2444
|
}
|
|
2445
2445
|
};
|
|
2446
2446
|
|
|
2447
|
-
// bazel-out/
|
|
2447
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2448
2448
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2449
2449
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2450
2450
|
const schemas = [];
|
|
@@ -2474,11 +2474,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2474
2474
|
return schemas;
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
|
-
// bazel-out/
|
|
2477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2478
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";
|
|
2479
2479
|
import ts24 from "typescript";
|
|
2480
2480
|
|
|
2481
|
-
// bazel-out/
|
|
2481
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2482
2482
|
import ts10 from "typescript";
|
|
2483
2483
|
var SemanticSymbol = class {
|
|
2484
2484
|
constructor(decl) {
|
|
@@ -2494,7 +2494,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2494
2494
|
return decl.name.text;
|
|
2495
2495
|
}
|
|
2496
2496
|
|
|
2497
|
-
// bazel-out/
|
|
2497
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2498
2498
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2499
2499
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2500
2500
|
isPublicApiAffected() {
|
|
@@ -2637,10 +2637,10 @@ function getImportPath(expr) {
|
|
|
2637
2637
|
}
|
|
2638
2638
|
}
|
|
2639
2639
|
|
|
2640
|
-
// bazel-out/
|
|
2640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2641
2641
|
import ts11 from "typescript";
|
|
2642
2642
|
|
|
2643
|
-
// bazel-out/
|
|
2643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2644
2644
|
function isSymbolEqual(a, b) {
|
|
2645
2645
|
if (a.decl === b.decl) {
|
|
2646
2646
|
return true;
|
|
@@ -2690,7 +2690,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2690
2690
|
return true;
|
|
2691
2691
|
}
|
|
2692
2692
|
|
|
2693
|
-
// bazel-out/
|
|
2693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2694
2694
|
function extractSemanticTypeParameters(node) {
|
|
2695
2695
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2696
2696
|
return null;
|
|
@@ -2710,14 +2710,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2710
2710
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2711
2711
|
}
|
|
2712
2712
|
|
|
2713
|
-
// bazel-out/
|
|
2713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2714
2714
|
var ComponentScopeKind;
|
|
2715
2715
|
(function(ComponentScopeKind2) {
|
|
2716
2716
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2717
2717
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2718
2718
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2719
2719
|
|
|
2720
|
-
// bazel-out/
|
|
2720
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2721
2721
|
var CompoundComponentScopeReader = class {
|
|
2722
2722
|
constructor(readers) {
|
|
2723
2723
|
this.readers = readers;
|
|
@@ -2742,7 +2742,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2742
2742
|
}
|
|
2743
2743
|
};
|
|
2744
2744
|
|
|
2745
|
-
// bazel-out/
|
|
2745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2746
2746
|
var MetadataDtsModuleScopeResolver = class {
|
|
2747
2747
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2748
2748
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2818,11 +2818,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2818
2818
|
}
|
|
2819
2819
|
};
|
|
2820
2820
|
|
|
2821
|
-
// bazel-out/
|
|
2821
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2822
2822
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2823
2823
|
import ts12 from "typescript";
|
|
2824
2824
|
|
|
2825
|
-
// bazel-out/
|
|
2825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2826
2826
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2827
2827
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2828
2828
|
}
|
|
@@ -2845,7 +2845,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2845
2845
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2846
2846
|
}
|
|
2847
2847
|
|
|
2848
|
-
// bazel-out/
|
|
2848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2849
2849
|
var LocalModuleScopeRegistry = class {
|
|
2850
2850
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2851
2851
|
this.localReader = localReader;
|
|
@@ -3184,7 +3184,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3184
3184
|
]);
|
|
3185
3185
|
}
|
|
3186
3186
|
|
|
3187
|
-
// bazel-out/
|
|
3187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3188
3188
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3189
3189
|
import ts13 from "typescript";
|
|
3190
3190
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3253,7 +3253,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3253
3253
|
}
|
|
3254
3254
|
};
|
|
3255
3255
|
|
|
3256
|
-
// bazel-out/
|
|
3256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3257
3257
|
var CompilationMode;
|
|
3258
3258
|
(function(CompilationMode2) {
|
|
3259
3259
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3271,7 +3271,7 @@ var HandlerFlags;
|
|
|
3271
3271
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3272
3272
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3273
3273
|
|
|
3274
|
-
// bazel-out/
|
|
3274
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3275
3275
|
import ts14 from "typescript";
|
|
3276
3276
|
function aliasTransformFactory(exportStatements) {
|
|
3277
3277
|
return () => {
|
|
@@ -3294,10 +3294,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3294
3294
|
};
|
|
3295
3295
|
}
|
|
3296
3296
|
|
|
3297
|
-
// bazel-out/
|
|
3297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3298
3298
|
import ts15 from "typescript";
|
|
3299
3299
|
|
|
3300
|
-
// bazel-out/
|
|
3300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3301
3301
|
var TraitState;
|
|
3302
3302
|
(function(TraitState2) {
|
|
3303
3303
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3316,6 +3316,7 @@ var TraitImpl = class {
|
|
|
3316
3316
|
this.resolution = null;
|
|
3317
3317
|
this.analysisDiagnostics = null;
|
|
3318
3318
|
this.resolveDiagnostics = null;
|
|
3319
|
+
this.typeCheckDiagnostics = null;
|
|
3319
3320
|
this.handler = handler;
|
|
3320
3321
|
this.detected = detected;
|
|
3321
3322
|
}
|
|
@@ -3335,6 +3336,7 @@ var TraitImpl = class {
|
|
|
3335
3336
|
this.resolution = resolution;
|
|
3336
3337
|
this.state = TraitState.Resolved;
|
|
3337
3338
|
this.resolveDiagnostics = diagnostics;
|
|
3339
|
+
this.typeCheckDiagnostics = null;
|
|
3338
3340
|
return this;
|
|
3339
3341
|
}
|
|
3340
3342
|
toSkipped() {
|
|
@@ -3352,7 +3354,7 @@ var TraitImpl = class {
|
|
|
3352
3354
|
}
|
|
3353
3355
|
};
|
|
3354
3356
|
|
|
3355
|
-
// bazel-out/
|
|
3357
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3356
3358
|
var TraitCompiler = class {
|
|
3357
3359
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3358
3360
|
this.handlers = handlers;
|
|
@@ -3771,6 +3773,7 @@ var TraitCompiler = class {
|
|
|
3771
3773
|
return decorators;
|
|
3772
3774
|
}
|
|
3773
3775
|
get diagnostics() {
|
|
3776
|
+
var _a;
|
|
3774
3777
|
const diagnostics = [];
|
|
3775
3778
|
for (const clazz of this.classes.keys()) {
|
|
3776
3779
|
const record = this.classes.get(clazz);
|
|
@@ -3781,8 +3784,8 @@ var TraitCompiler = class {
|
|
|
3781
3784
|
if ((trait.state === TraitState.Analyzed || trait.state === TraitState.Resolved) && trait.analysisDiagnostics !== null) {
|
|
3782
3785
|
diagnostics.push(...trait.analysisDiagnostics);
|
|
3783
3786
|
}
|
|
3784
|
-
if (trait.state === TraitState.Resolved
|
|
3785
|
-
diagnostics.push(...trait.resolveDiagnostics);
|
|
3787
|
+
if (trait.state === TraitState.Resolved) {
|
|
3788
|
+
diagnostics.push(...(_a = trait.resolveDiagnostics) != null ? _a : []);
|
|
3786
3789
|
}
|
|
3787
3790
|
}
|
|
3788
3791
|
}
|
|
@@ -3796,10 +3799,10 @@ function containsErrors(diagnostics) {
|
|
|
3796
3799
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3797
3800
|
}
|
|
3798
3801
|
|
|
3799
|
-
// bazel-out/
|
|
3802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3800
3803
|
import ts17 from "typescript";
|
|
3801
3804
|
|
|
3802
|
-
// bazel-out/
|
|
3805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3803
3806
|
import ts16 from "typescript";
|
|
3804
3807
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3805
3808
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3835,7 +3838,7 @@ function isImportStatement(stmt) {
|
|
|
3835
3838
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3836
3839
|
}
|
|
3837
3840
|
|
|
3838
|
-
// bazel-out/
|
|
3841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3839
3842
|
var DtsTransformRegistry = class {
|
|
3840
3843
|
constructor() {
|
|
3841
3844
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3980,11 +3983,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3980
3983
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3981
3984
|
}
|
|
3982
3985
|
|
|
3983
|
-
// bazel-out/
|
|
3986
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3984
3987
|
import { ConstantPool } from "@angular/compiler";
|
|
3985
3988
|
import ts19 from "typescript";
|
|
3986
3989
|
|
|
3987
|
-
// bazel-out/
|
|
3990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3988
3991
|
import ts18 from "typescript";
|
|
3989
3992
|
function visit(node, visitor, context) {
|
|
3990
3993
|
return visitor._visit(node, context);
|
|
@@ -4045,7 +4048,7 @@ var Visitor = class {
|
|
|
4045
4048
|
}
|
|
4046
4049
|
};
|
|
4047
4050
|
|
|
4048
|
-
// bazel-out/
|
|
4051
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
4049
4052
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
4050
4053
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
4051
4054
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4253,10 +4256,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4253
4256
|
return array;
|
|
4254
4257
|
}
|
|
4255
4258
|
|
|
4256
|
-
// bazel-out/
|
|
4259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4257
4260
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4258
4261
|
|
|
4259
|
-
// bazel-out/
|
|
4262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4260
4263
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4261
4264
|
import ts20 from "typescript";
|
|
4262
4265
|
var EMPTY_OBJECT = {};
|
|
@@ -4266,7 +4269,7 @@ var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
|
4266
4269
|
"ViewChild",
|
|
4267
4270
|
"ViewChildren"
|
|
4268
4271
|
]);
|
|
4269
|
-
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, isCore, flags, annotateForClosureCompiler, defaultSelector = null) {
|
|
4272
|
+
function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmitter, referencesRegistry, isCore, flags, annotateForClosureCompiler, defaultSelector = null) {
|
|
4270
4273
|
let directive;
|
|
4271
4274
|
if (decorator === null || decorator.args === null || decorator.args.length === 0) {
|
|
4272
4275
|
directive = /* @__PURE__ */ new Map();
|
|
@@ -4344,6 +4347,9 @@ function extractDirectiveMetadata(clazz, decorator, reflector, evaluator, refEmi
|
|
|
4344
4347
|
const outputs = ClassPropertyMapping.fromMappedObject({ ...outputsFromMeta, ...outputsFromFields });
|
|
4345
4348
|
const rawHostDirectives = directive.get("hostDirectives") || null;
|
|
4346
4349
|
const hostDirectives = rawHostDirectives === null ? null : extractHostDirectives(rawHostDirectives, evaluator);
|
|
4350
|
+
if (hostDirectives !== null) {
|
|
4351
|
+
referencesRegistry.add(clazz, ...hostDirectives.map((hostDir) => hostDir.directive));
|
|
4352
|
+
}
|
|
4347
4353
|
const metadata = {
|
|
4348
4354
|
name: clazz.name.text,
|
|
4349
4355
|
deps: ctorDeps,
|
|
@@ -4673,7 +4679,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4673
4679
|
};
|
|
4674
4680
|
}
|
|
4675
4681
|
|
|
4676
|
-
// bazel-out/
|
|
4682
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4677
4683
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4678
4684
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4679
4685
|
super(decl);
|
|
@@ -4750,7 +4756,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4750
4756
|
return isSymbolEqual(current, previous);
|
|
4751
4757
|
}
|
|
4752
4758
|
|
|
4753
|
-
// bazel-out/
|
|
4759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4754
4760
|
var FIELD_DECORATORS = [
|
|
4755
4761
|
"Input",
|
|
4756
4762
|
"Output",
|
|
@@ -4772,7 +4778,7 @@ var LIFECYCLE_HOOKS = /* @__PURE__ */ new Set([
|
|
|
4772
4778
|
"ngAfterContentChecked"
|
|
4773
4779
|
]);
|
|
4774
4780
|
var DirectiveDecoratorHandler = class {
|
|
4775
|
-
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, compileUndecoratedClassesWithAngularFeatures, perf) {
|
|
4781
|
+
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, compileUndecoratedClassesWithAngularFeatures, perf) {
|
|
4776
4782
|
this.reflector = reflector;
|
|
4777
4783
|
this.evaluator = evaluator;
|
|
4778
4784
|
this.metaRegistry = metaRegistry;
|
|
@@ -4780,6 +4786,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
4780
4786
|
this.metaReader = metaReader;
|
|
4781
4787
|
this.injectableRegistry = injectableRegistry;
|
|
4782
4788
|
this.refEmitter = refEmitter;
|
|
4789
|
+
this.referencesRegistry = referencesRegistry;
|
|
4783
4790
|
this.isCore = isCore;
|
|
4784
4791
|
this.strictCtorDeps = strictCtorDeps;
|
|
4785
4792
|
this.semanticDepGraphUpdater = semanticDepGraphUpdater;
|
|
@@ -4807,7 +4814,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
4807
4814
|
return { diagnostics: [getUndecoratedClassWithAngularFeaturesDiagnostic(node)] };
|
|
4808
4815
|
}
|
|
4809
4816
|
this.perf.eventCount(PerfEvent.AnalyzeDirective);
|
|
4810
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.isCore, flags, this.annotateForClosureCompiler);
|
|
4817
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, flags, this.annotateForClosureCompiler);
|
|
4811
4818
|
if (directiveResult === void 0) {
|
|
4812
4819
|
return {};
|
|
4813
4820
|
}
|
|
@@ -4909,11 +4916,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4909
4916
|
}
|
|
4910
4917
|
};
|
|
4911
4918
|
|
|
4912
|
-
// bazel-out/
|
|
4919
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4913
4920
|
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
4921
|
import ts22 from "typescript";
|
|
4915
4922
|
|
|
4916
|
-
// bazel-out/
|
|
4923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4917
4924
|
import ts21 from "typescript";
|
|
4918
4925
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4919
4926
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4980,7 +4987,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4980
4987
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4981
4988
|
}
|
|
4982
4989
|
|
|
4983
|
-
// bazel-out/
|
|
4990
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4984
4991
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4985
4992
|
constructor() {
|
|
4986
4993
|
super(...arguments);
|
|
@@ -5484,7 +5491,7 @@ function isSyntheticReference(ref) {
|
|
|
5484
5491
|
return ref.synthetic;
|
|
5485
5492
|
}
|
|
5486
5493
|
|
|
5487
|
-
// bazel-out/
|
|
5494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5488
5495
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5489
5496
|
const name = ref.debugName || "(unknown)";
|
|
5490
5497
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5507,7 +5514,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5507
5514
|
return null;
|
|
5508
5515
|
}
|
|
5509
5516
|
|
|
5510
|
-
// bazel-out/
|
|
5517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5511
5518
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5512
5519
|
import ts23 from "typescript";
|
|
5513
5520
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5826,7 +5833,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5826
5833
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5827
5834
|
}
|
|
5828
5835
|
|
|
5829
|
-
// bazel-out/
|
|
5836
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5830
5837
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5831
5838
|
constructor() {
|
|
5832
5839
|
super(...arguments);
|
|
@@ -5861,7 +5868,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5861
5868
|
}
|
|
5862
5869
|
};
|
|
5863
5870
|
|
|
5864
|
-
// bazel-out/
|
|
5871
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5865
5872
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5866
5873
|
if (value instanceof Map) {
|
|
5867
5874
|
const name = value.get("name");
|
|
@@ -5937,10 +5944,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5937
5944
|
return false;
|
|
5938
5945
|
}
|
|
5939
5946
|
|
|
5940
|
-
// bazel-out/
|
|
5947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5941
5948
|
var EMPTY_ARRAY2 = [];
|
|
5942
5949
|
var ComponentDecoratorHandler = class {
|
|
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) {
|
|
5950
|
+
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
|
|
5944
5951
|
this.reflector = reflector;
|
|
5945
5952
|
this.evaluator = evaluator;
|
|
5946
5953
|
this.metaRegistry = metaRegistry;
|
|
@@ -5963,6 +5970,7 @@ var ComponentDecoratorHandler = class {
|
|
|
5963
5970
|
this.cycleAnalyzer = cycleAnalyzer;
|
|
5964
5971
|
this.cycleHandlingStrategy = cycleHandlingStrategy;
|
|
5965
5972
|
this.refEmitter = refEmitter;
|
|
5973
|
+
this.referencesRegistry = referencesRegistry;
|
|
5966
5974
|
this.depTracker = depTracker;
|
|
5967
5975
|
this.injectableRegistry = injectableRegistry;
|
|
5968
5976
|
this.semanticDepGraphUpdater = semanticDepGraphUpdater;
|
|
@@ -6044,7 +6052,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6044
6052
|
this.literalCache.delete(decorator);
|
|
6045
6053
|
let diagnostics;
|
|
6046
6054
|
let isPoisoned = false;
|
|
6047
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.isCore, flags, this.annotateForClosureCompiler, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
6055
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, flags, this.annotateForClosureCompiler, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
6048
6056
|
if (directiveResult === void 0) {
|
|
6049
6057
|
return {};
|
|
6050
6058
|
}
|
|
@@ -6584,7 +6592,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6584
6592
|
return diagnostics;
|
|
6585
6593
|
}
|
|
6586
6594
|
|
|
6587
|
-
// bazel-out/
|
|
6595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6588
6596
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6589
6597
|
import ts25 from "typescript";
|
|
6590
6598
|
var InjectableDecoratorHandler = class {
|
|
@@ -6801,7 +6809,7 @@ function getDep(dep, reflector) {
|
|
|
6801
6809
|
return meta;
|
|
6802
6810
|
}
|
|
6803
6811
|
|
|
6804
|
-
// bazel-out/
|
|
6812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6805
6813
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6806
6814
|
import ts26 from "typescript";
|
|
6807
6815
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6947,14 +6955,14 @@ var PipeDecoratorHandler = class {
|
|
|
6947
6955
|
}
|
|
6948
6956
|
};
|
|
6949
6957
|
|
|
6950
|
-
// bazel-out/
|
|
6958
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
6951
6959
|
var OptimizeFor;
|
|
6952
6960
|
(function(OptimizeFor2) {
|
|
6953
6961
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
6954
6962
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
6955
6963
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
6956
6964
|
|
|
6957
|
-
// bazel-out/
|
|
6965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
6958
6966
|
var PotentialImportKind;
|
|
6959
6967
|
(function(PotentialImportKind2) {
|
|
6960
6968
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -6966,14 +6974,14 @@ var PotentialImportMode;
|
|
|
6966
6974
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
6967
6975
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
6968
6976
|
|
|
6969
|
-
// bazel-out/
|
|
6977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
6970
6978
|
var CompletionKind;
|
|
6971
6979
|
(function(CompletionKind2) {
|
|
6972
6980
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
6973
6981
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
6974
6982
|
})(CompletionKind || (CompletionKind = {}));
|
|
6975
6983
|
|
|
6976
|
-
// bazel-out/
|
|
6984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
6977
6985
|
var SymbolKind;
|
|
6978
6986
|
(function(SymbolKind2) {
|
|
6979
6987
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -7043,4 +7051,4 @@ export {
|
|
|
7043
7051
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7044
7052
|
* found in the LICENSE file at https://angular.io/license
|
|
7045
7053
|
*/
|
|
7046
|
-
//# sourceMappingURL=chunk-
|
|
7054
|
+
//# sourceMappingURL=chunk-JEWI23RF.js.map
|