@angular/compiler-cli 13.2.2 → 13.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-XXMNTCYN.js → chunk-7PY7XEFH.js} +6 -6
- package/bundles/{chunk-XXMNTCYN.js.map → chunk-7PY7XEFH.js.map} +0 -0
- package/bundles/{chunk-RNVIUKDY.js → chunk-A5PL3TE6.js} +6 -6
- package/bundles/{chunk-RNVIUKDY.js.map → chunk-A5PL3TE6.js.map} +0 -0
- package/bundles/{chunk-VXXCHVAH.js → chunk-ALKVYGAK.js} +31 -31
- package/bundles/{chunk-VXXCHVAH.js.map → chunk-ALKVYGAK.js.map} +0 -0
- package/bundles/{chunk-OSTNYZ2E.js → chunk-CTSDWZWQ.js} +40 -40
- package/bundles/{chunk-OSTNYZ2E.js.map → chunk-CTSDWZWQ.js.map} +0 -0
- package/bundles/{chunk-QZBA4KSX.js → chunk-FXU7FMZC.js} +7 -7
- package/bundles/{chunk-QZBA4KSX.js.map → chunk-FXU7FMZC.js.map} +0 -0
- package/bundles/{chunk-J6CW3T62.js → chunk-GLCRIILX.js} +5 -5
- package/bundles/{chunk-J6CW3T62.js.map → chunk-GLCRIILX.js.map} +0 -0
- package/bundles/{chunk-VMLZST3Q.js → chunk-IUG2QCU2.js} +70 -70
- package/bundles/{chunk-VMLZST3Q.js.map → chunk-IUG2QCU2.js.map} +0 -0
- package/bundles/{chunk-3WNAIXKA.js → chunk-K2Z44JHH.js} +7 -7
- package/bundles/{chunk-3WNAIXKA.js.map → chunk-K2Z44JHH.js.map} +0 -0
- package/bundles/{chunk-5ABOWRRP.js → chunk-NC7BJDOB.js} +75 -58
- package/bundles/chunk-NC7BJDOB.js.map +6 -0
- package/bundles/{chunk-BPCUCINV.js → chunk-QDWL7SZJ.js} +2 -2
- package/bundles/{chunk-BPCUCINV.js.map → chunk-QDWL7SZJ.js.map} +0 -0
- package/bundles/{chunk-JTYUTYS2.js → chunk-SKBLJA43.js} +3 -3
- package/bundles/{chunk-JTYUTYS2.js.map → chunk-SKBLJA43.js.map} +0 -0
- package/bundles/{chunk-B5DWKBQ7.js → chunk-VBVBCYZP.js} +5 -5
- package/bundles/{chunk-B5DWKBQ7.js.map → chunk-VBVBCYZP.js.map} +0 -0
- package/bundles/{chunk-6ESPQED7.js → chunk-XNYP2SFR.js} +26 -26
- package/bundles/{chunk-6ESPQED7.js.map → chunk-XNYP2SFR.js.map} +0 -0
- package/bundles/{chunk-5XSC4B4W.js → chunk-XRCD4VXD.js} +85 -85
- package/bundles/{chunk-5XSC4B4W.js.map → chunk-XRCD4VXD.js.map} +0 -0
- package/bundles/{chunk-LL4S3DRM.js → chunk-Z2HS4HDG.js} +4 -4
- package/bundles/{chunk-LL4S3DRM.js.map → chunk-Z2HS4HDG.js.map} +0 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +18 -18
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +12 -12
- package/bundles/ngcc/main-ngcc.js +13 -13
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +13 -13
- 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 +5 -5
- package/bundles/private/tooling.js +2 -2
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/babel/src/babel_core.d.ts +1 -0
- package/linker/babel/src/babel_declaration_scope.d.ts +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +3 -3
- package/private/babel.d.ts +42 -0
- package/src/ngtsc/annotations/src/util.d.ts +2 -0
- package/bundles/chunk-5ABOWRRP.js.map +0 -6
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
reflectObjectLiteral,
|
|
14
14
|
reflectTypeEntityToDeclaration,
|
|
15
15
|
typeNodeToValueExpr
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-7PY7XEFH.js";
|
|
17
17
|
import {
|
|
18
18
|
ErrorCode,
|
|
19
19
|
FatalDiagnosticError,
|
|
@@ -35,23 +35,23 @@ import {
|
|
|
35
35
|
translateExpression,
|
|
36
36
|
translateStatement,
|
|
37
37
|
translateType
|
|
38
|
-
} from "./chunk-
|
|
38
|
+
} from "./chunk-XNYP2SFR.js";
|
|
39
39
|
import {
|
|
40
40
|
absoluteFrom,
|
|
41
41
|
absoluteFromSourceFile,
|
|
42
42
|
basename,
|
|
43
43
|
relative
|
|
44
|
-
} from "./chunk-
|
|
44
|
+
} from "./chunk-FXU7FMZC.js";
|
|
45
45
|
import {
|
|
46
46
|
PerfEvent,
|
|
47
47
|
PerfPhase
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-GLCRIILX.js";
|
|
49
49
|
import {
|
|
50
50
|
__spreadProps,
|
|
51
51
|
__spreadValues
|
|
52
52
|
} from "./chunk-WQ3TNYTD.js";
|
|
53
53
|
|
|
54
|
-
// bazel-out/
|
|
54
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
55
55
|
var DynamicValue = class {
|
|
56
56
|
constructor(node, reason, code) {
|
|
57
57
|
this.node = node;
|
|
@@ -136,10 +136,10 @@ var DynamicValue = class {
|
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
-
// bazel-out/
|
|
139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
140
140
|
import ts from "typescript";
|
|
141
141
|
|
|
142
|
-
// bazel-out/
|
|
142
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
143
143
|
var ResolvedModule = class {
|
|
144
144
|
constructor(exports, evaluate) {
|
|
145
145
|
this.exports = exports;
|
|
@@ -169,7 +169,7 @@ var EnumValue = class {
|
|
|
169
169
|
var KnownFn = class {
|
|
170
170
|
};
|
|
171
171
|
|
|
172
|
-
// bazel-out/
|
|
172
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
173
173
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
174
174
|
constructor(lhs) {
|
|
175
175
|
super();
|
|
@@ -240,7 +240,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
240
240
|
}
|
|
241
241
|
};
|
|
242
242
|
|
|
243
|
-
// bazel-out/
|
|
243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
244
244
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
245
245
|
};
|
|
246
246
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -293,7 +293,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
293
293
|
}
|
|
294
294
|
};
|
|
295
295
|
|
|
296
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
297
297
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
298
298
|
var assignTsHelperFn = new AssignHelperFn();
|
|
299
299
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -317,7 +317,7 @@ function resolveKnownDeclaration(decl) {
|
|
|
317
317
|
}
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
321
321
|
function literalBinaryOp(op) {
|
|
322
322
|
return { op, literal: true };
|
|
323
323
|
}
|
|
@@ -904,7 +904,7 @@ function owningModule(context, override = null) {
|
|
|
904
904
|
}
|
|
905
905
|
}
|
|
906
906
|
|
|
907
|
-
// bazel-out/
|
|
907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
908
908
|
var PartialEvaluator = class {
|
|
909
909
|
constructor(host, checker, dependencyTracker) {
|
|
910
910
|
this.host = host;
|
|
@@ -924,7 +924,7 @@ var PartialEvaluator = class {
|
|
|
924
924
|
}
|
|
925
925
|
};
|
|
926
926
|
|
|
927
|
-
// bazel-out/
|
|
927
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
928
928
|
import ts2 from "typescript";
|
|
929
929
|
function describeResolvedType(value, maxDepth = 1) {
|
|
930
930
|
var _a, _b;
|
|
@@ -1051,7 +1051,7 @@ function getContainerNode(node) {
|
|
|
1051
1051
|
return node.getSourceFile();
|
|
1052
1052
|
}
|
|
1053
1053
|
|
|
1054
|
-
// bazel-out/
|
|
1054
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/util.mjs
|
|
1055
1055
|
import { ExternalExpr, LiteralExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
1056
1056
|
import ts3 from "typescript";
|
|
1057
1057
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1414,12 +1414,29 @@ function toFactoryMetadata(meta, target) {
|
|
|
1414
1414
|
target
|
|
1415
1415
|
};
|
|
1416
1416
|
}
|
|
1417
|
+
function isAngularAnimationsReference(reference, symbolName) {
|
|
1418
|
+
return reference.ownedByModuleGuess === "@angular/animations" && reference.debugName === symbolName;
|
|
1419
|
+
}
|
|
1420
|
+
var animationTriggerResolver = (ref, args) => {
|
|
1421
|
+
const animationTriggerMethodName = "trigger";
|
|
1422
|
+
if (!isAngularAnimationsReference(ref, animationTriggerMethodName)) {
|
|
1423
|
+
return null;
|
|
1424
|
+
}
|
|
1425
|
+
const triggerNameExpression = args[0];
|
|
1426
|
+
if (!triggerNameExpression) {
|
|
1427
|
+
return null;
|
|
1428
|
+
}
|
|
1429
|
+
const factory = ts3.factory;
|
|
1430
|
+
return factory.createObjectLiteralExpression([
|
|
1431
|
+
factory.createPropertyAssignment(factory.createIdentifier("name"), triggerNameExpression)
|
|
1432
|
+
], true);
|
|
1433
|
+
};
|
|
1417
1434
|
|
|
1418
|
-
// bazel-out/
|
|
1435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
1419
1436
|
import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector, DEFAULT_INTERPOLATION_CONFIG, DomElementSchemaRegistry, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget3, InterpolationConfig, makeBindingParser as makeBindingParser2, ParseSourceFile as ParseSourceFile2, parseTemplate, R3TargetBinder, SelectorMatcher, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
1420
1437
|
import ts21 from "typescript";
|
|
1421
1438
|
|
|
1422
|
-
// bazel-out/
|
|
1439
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
1423
1440
|
import ts4 from "typescript";
|
|
1424
1441
|
var SemanticSymbol = class {
|
|
1425
1442
|
constructor(decl) {
|
|
@@ -1435,7 +1452,7 @@ function getSymbolIdentifier(decl) {
|
|
|
1435
1452
|
return decl.name.text;
|
|
1436
1453
|
}
|
|
1437
1454
|
|
|
1438
|
-
// bazel-out/
|
|
1455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
1439
1456
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1440
1457
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
1441
1458
|
isPublicApiAffected() {
|
|
@@ -1578,10 +1595,10 @@ function getImportPath(expr) {
|
|
|
1578
1595
|
}
|
|
1579
1596
|
}
|
|
1580
1597
|
|
|
1581
|
-
// bazel-out/
|
|
1598
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1582
1599
|
import ts5 from "typescript";
|
|
1583
1600
|
|
|
1584
|
-
// bazel-out/
|
|
1601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
1585
1602
|
function isSymbolEqual(a, b) {
|
|
1586
1603
|
if (a.decl === b.decl) {
|
|
1587
1604
|
return true;
|
|
@@ -1631,7 +1648,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
1631
1648
|
return true;
|
|
1632
1649
|
}
|
|
1633
1650
|
|
|
1634
|
-
// bazel-out/
|
|
1651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1635
1652
|
function extractSemanticTypeParameters(node) {
|
|
1636
1653
|
if (!ts5.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
1637
1654
|
return null;
|
|
@@ -1651,17 +1668,17 @@ function isTypeParameterEqual(a, b) {
|
|
|
1651
1668
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
1652
1669
|
}
|
|
1653
1670
|
|
|
1654
|
-
// bazel-out/
|
|
1671
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1655
1672
|
var MetaType;
|
|
1656
1673
|
(function(MetaType2) {
|
|
1657
1674
|
MetaType2[MetaType2["Pipe"] = 0] = "Pipe";
|
|
1658
1675
|
MetaType2[MetaType2["Directive"] = 1] = "Directive";
|
|
1659
1676
|
})(MetaType || (MetaType = {}));
|
|
1660
1677
|
|
|
1661
|
-
// bazel-out/
|
|
1678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1662
1679
|
import ts7 from "typescript";
|
|
1663
1680
|
|
|
1664
|
-
// bazel-out/
|
|
1681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1665
1682
|
var ClassPropertyMapping = class {
|
|
1666
1683
|
constructor(forwardMap) {
|
|
1667
1684
|
this.forwardMap = forwardMap;
|
|
@@ -1737,7 +1754,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1737
1754
|
return reverseMap;
|
|
1738
1755
|
}
|
|
1739
1756
|
|
|
1740
|
-
// bazel-out/
|
|
1757
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1741
1758
|
import ts6 from "typescript";
|
|
1742
1759
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1743
1760
|
if (!ts6.isTupleTypeNode(def)) {
|
|
@@ -1904,7 +1921,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1904
1921
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1905
1922
|
}
|
|
1906
1923
|
|
|
1907
|
-
// bazel-out/
|
|
1924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1908
1925
|
var DtsMetadataReader = class {
|
|
1909
1926
|
constructor(checker, reflector) {
|
|
1910
1927
|
this.checker = checker;
|
|
@@ -2005,7 +2022,7 @@ function readBaseClass2(clazz, checker, reflector) {
|
|
|
2005
2022
|
return null;
|
|
2006
2023
|
}
|
|
2007
2024
|
|
|
2008
|
-
// bazel-out/
|
|
2025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2009
2026
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2010
2027
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2011
2028
|
if (topMeta === null) {
|
|
@@ -2062,7 +2079,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2062
2079
|
});
|
|
2063
2080
|
}
|
|
2064
2081
|
|
|
2065
|
-
// bazel-out/
|
|
2082
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2066
2083
|
var LocalMetadataRegistry = class {
|
|
2067
2084
|
constructor() {
|
|
2068
2085
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2121,7 +2138,7 @@ var InjectableClassRegistry = class {
|
|
|
2121
2138
|
}
|
|
2122
2139
|
};
|
|
2123
2140
|
|
|
2124
|
-
// bazel-out/
|
|
2141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2125
2142
|
var ResourceRegistry = class {
|
|
2126
2143
|
constructor() {
|
|
2127
2144
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2186,7 +2203,7 @@ var ResourceRegistry = class {
|
|
|
2186
2203
|
}
|
|
2187
2204
|
};
|
|
2188
2205
|
|
|
2189
|
-
// bazel-out/
|
|
2206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2190
2207
|
var CompilationMode;
|
|
2191
2208
|
(function(CompilationMode2) {
|
|
2192
2209
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2204,7 +2221,7 @@ var HandlerFlags;
|
|
|
2204
2221
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
2205
2222
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
2206
2223
|
|
|
2207
|
-
// bazel-out/
|
|
2224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2208
2225
|
import ts8 from "typescript";
|
|
2209
2226
|
function aliasTransformFactory(exportStatements) {
|
|
2210
2227
|
return (context) => {
|
|
@@ -2222,13 +2239,13 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2222
2239
|
};
|
|
2223
2240
|
}
|
|
2224
2241
|
|
|
2225
|
-
// bazel-out/
|
|
2242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2226
2243
|
import ts12 from "typescript";
|
|
2227
2244
|
|
|
2228
|
-
// bazel-out/
|
|
2245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
2229
2246
|
import ts9 from "typescript";
|
|
2230
2247
|
|
|
2231
|
-
// bazel-out/
|
|
2248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
2232
2249
|
var NgExtension = Symbol("NgExtension");
|
|
2233
2250
|
function isExtended(sf) {
|
|
2234
2251
|
return sf[NgExtension] !== void 0;
|
|
@@ -2288,7 +2305,7 @@ function retagTsFile(sf) {
|
|
|
2288
2305
|
}
|
|
2289
2306
|
}
|
|
2290
2307
|
|
|
2291
|
-
// bazel-out/
|
|
2308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
2292
2309
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
2293
2310
|
function makeShimFileName(fileName, suffix) {
|
|
2294
2311
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
@@ -2303,7 +2320,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
|
|
|
2303
2320
|
return moduleName;
|
|
2304
2321
|
}
|
|
2305
2322
|
|
|
2306
|
-
// bazel-out/
|
|
2323
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
2307
2324
|
var ShimAdapter = class {
|
|
2308
2325
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
2309
2326
|
this.delegate = delegate;
|
|
@@ -2400,7 +2417,7 @@ var ShimAdapter = class {
|
|
|
2400
2417
|
}
|
|
2401
2418
|
};
|
|
2402
2419
|
|
|
2403
|
-
// bazel-out/
|
|
2420
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
|
|
2404
2421
|
import ts10 from "typescript";
|
|
2405
2422
|
var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
|
|
2406
2423
|
var STRIP_NG_FACTORY = /(.*)NgFactory$/;
|
|
@@ -2549,7 +2566,7 @@ function updateInitializers(stmt, update) {
|
|
|
2549
2566
|
return ts10.updateVariableStatement(stmt, stmt.modifiers, ts10.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts10.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
|
|
2550
2567
|
}
|
|
2551
2568
|
|
|
2552
|
-
// bazel-out/
|
|
2569
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
2553
2570
|
var ShimReferenceTagger = class {
|
|
2554
2571
|
constructor(shimExtensions) {
|
|
2555
2572
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -2583,7 +2600,7 @@ var ShimReferenceTagger = class {
|
|
|
2583
2600
|
}
|
|
2584
2601
|
};
|
|
2585
2602
|
|
|
2586
|
-
// bazel-out/
|
|
2603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
|
|
2587
2604
|
import ts11 from "typescript";
|
|
2588
2605
|
var SummaryGenerator = class {
|
|
2589
2606
|
constructor() {
|
|
@@ -2623,7 +2640,7 @@ function isExported2(decl) {
|
|
|
2623
2640
|
return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts11.SyntaxKind.ExportKeyword);
|
|
2624
2641
|
}
|
|
2625
2642
|
|
|
2626
|
-
// bazel-out/
|
|
2643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2627
2644
|
var TraitState;
|
|
2628
2645
|
(function(TraitState2) {
|
|
2629
2646
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2678,7 +2695,7 @@ var TraitImpl = class {
|
|
|
2678
2695
|
}
|
|
2679
2696
|
};
|
|
2680
2697
|
|
|
2681
|
-
// bazel-out/
|
|
2698
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2682
2699
|
var TraitCompiler = class {
|
|
2683
2700
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater) {
|
|
2684
2701
|
this.handlers = handlers;
|
|
@@ -3118,10 +3135,10 @@ var TraitCompiler = class {
|
|
|
3118
3135
|
}
|
|
3119
3136
|
};
|
|
3120
3137
|
|
|
3121
|
-
// bazel-out/
|
|
3138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3122
3139
|
import ts14 from "typescript";
|
|
3123
3140
|
|
|
3124
|
-
// bazel-out/
|
|
3141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3125
3142
|
import ts13 from "typescript";
|
|
3126
3143
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3127
3144
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3149,7 +3166,7 @@ function isImportStatement(stmt) {
|
|
|
3149
3166
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
3150
3167
|
}
|
|
3151
3168
|
|
|
3152
|
-
// bazel-out/
|
|
3169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3153
3170
|
var DtsTransformRegistry = class {
|
|
3154
3171
|
constructor() {
|
|
3155
3172
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3274,11 +3291,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3274
3291
|
ts14.forEachChild(node, markForEmitAsSingleLine);
|
|
3275
3292
|
}
|
|
3276
3293
|
|
|
3277
|
-
// bazel-out/
|
|
3294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3278
3295
|
import { ConstantPool } from "@angular/compiler";
|
|
3279
3296
|
import ts16 from "typescript";
|
|
3280
3297
|
|
|
3281
|
-
// bazel-out/
|
|
3298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3282
3299
|
import ts15 from "typescript";
|
|
3283
3300
|
function visit(node, visitor, context) {
|
|
3284
3301
|
return visitor._visit(node, context);
|
|
@@ -3340,7 +3357,7 @@ function hasStatements(node) {
|
|
|
3340
3357
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
3341
3358
|
}
|
|
3342
3359
|
|
|
3343
|
-
// bazel-out/
|
|
3360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3344
3361
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
3345
3362
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
3346
3363
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3521,7 +3538,7 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
3521
3538
|
};
|
|
3522
3539
|
}
|
|
3523
3540
|
|
|
3524
|
-
// bazel-out/
|
|
3541
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/diagnostics.mjs
|
|
3525
3542
|
import ts17 from "typescript";
|
|
3526
3543
|
function createValueHasWrongTypeError(node, value, messageText) {
|
|
3527
3544
|
var _a;
|
|
@@ -3618,11 +3635,11 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
3618
3635
|
return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${dirOrComp.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 @Directive decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
|
|
3619
3636
|
}
|
|
3620
3637
|
|
|
3621
|
-
// bazel-out/
|
|
3638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
3622
3639
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr3, FactoryTarget, getSafePropertyAccessString, makeBindingParser, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3623
3640
|
import ts19 from "typescript";
|
|
3624
3641
|
|
|
3625
|
-
// bazel-out/
|
|
3642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/factory.mjs
|
|
3626
3643
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3627
3644
|
function compileNgFactoryDefField(metadata) {
|
|
3628
3645
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3633,7 +3650,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3633
3650
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
3634
3651
|
}
|
|
3635
3652
|
|
|
3636
|
-
// bazel-out/
|
|
3653
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/metadata.mjs
|
|
3637
3654
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
3638
3655
|
import ts18 from "typescript";
|
|
3639
3656
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3721,7 +3738,7 @@ function removeIdentifierReferences(node, name) {
|
|
|
3721
3738
|
return result.transformed[0];
|
|
3722
3739
|
}
|
|
3723
3740
|
|
|
3724
|
-
// bazel-out/
|
|
3741
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/directive.mjs
|
|
3725
3742
|
var EMPTY_OBJECT = {};
|
|
3726
3743
|
var FIELD_DECORATORS = [
|
|
3727
3744
|
"Input",
|
|
@@ -4284,7 +4301,7 @@ var QUERY_TYPES = /* @__PURE__ */ new Set([
|
|
|
4284
4301
|
"ViewChildren"
|
|
4285
4302
|
]);
|
|
4286
4303
|
|
|
4287
|
-
// bazel-out/
|
|
4304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/ng_module.mjs
|
|
4288
4305
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, CUSTOM_ELEMENTS_SCHEMA, ExternalExpr as ExternalExpr4, FactoryTarget as FactoryTarget2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, NO_ERRORS_SCHEMA, R3Identifiers, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4289
4306
|
import ts20 from "typescript";
|
|
4290
4307
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
@@ -4730,7 +4747,7 @@ function isNgModule(node, compilation) {
|
|
|
4730
4747
|
return !compilation.directives.some((directive) => directive.ref.node === node) && !compilation.pipes.some((pipe) => pipe.ref.node === node);
|
|
4731
4748
|
}
|
|
4732
4749
|
|
|
4733
|
-
// bazel-out/
|
|
4750
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/component.mjs
|
|
4734
4751
|
var EMPTY_MAP = /* @__PURE__ */ new Map();
|
|
4735
4752
|
var EMPTY_ARRAY = [];
|
|
4736
4753
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
@@ -4874,7 +4891,7 @@ var ComponentDecoratorHandler = class {
|
|
|
4874
4891
|
let animationTriggerNames = null;
|
|
4875
4892
|
if (component.has("animations")) {
|
|
4876
4893
|
animations = new WrappedNodeExpr5(component.get("animations"));
|
|
4877
|
-
const animationsValue = this.evaluator.evaluate(component.get("animations"));
|
|
4894
|
+
const animationsValue = this.evaluator.evaluate(component.get("animations"), animationTriggerResolver);
|
|
4878
4895
|
animationTriggerNames = { includesDynamicAnimations: false, staticTriggerNames: [] };
|
|
4879
4896
|
collectAnimationNames(animationsValue, animationTriggerNames);
|
|
4880
4897
|
}
|
|
@@ -5638,7 +5655,7 @@ function collectAnimationNames(value, animationTriggerNames) {
|
|
|
5638
5655
|
}
|
|
5639
5656
|
}
|
|
5640
5657
|
|
|
5641
|
-
// bazel-out/
|
|
5658
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
5642
5659
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
5643
5660
|
import ts22 from "typescript";
|
|
5644
5661
|
var InjectableDecoratorHandler = class {
|
|
@@ -5838,7 +5855,7 @@ function getDep(dep, reflector) {
|
|
|
5838
5855
|
return meta;
|
|
5839
5856
|
}
|
|
5840
5857
|
|
|
5841
|
-
// bazel-out/
|
|
5858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
5842
5859
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
5843
5860
|
import ts23 from "typescript";
|
|
5844
5861
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -5963,7 +5980,7 @@ var PipeDecoratorHandler = class {
|
|
|
5963
5980
|
}
|
|
5964
5981
|
};
|
|
5965
5982
|
|
|
5966
|
-
// bazel-out/
|
|
5983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/references_registry.mjs
|
|
5967
5984
|
var NoopReferencesRegistry = class {
|
|
5968
5985
|
add(source, ...references) {
|
|
5969
5986
|
}
|
|
@@ -6015,4 +6032,4 @@ export {
|
|
|
6015
6032
|
* found in the LICENSE file at https://angular.io/license
|
|
6016
6033
|
*/
|
|
6017
6034
|
// Closure Compiler ignores @suppress and similar if the comment contains @license.
|
|
6018
|
-
//# sourceMappingURL=chunk-
|
|
6035
|
+
//# sourceMappingURL=chunk-NC7BJDOB.js.map
|