@angular/compiler-cli 14.2.0-next.1 → 14.2.0-rc.0
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-IJA2BQQH.js → chunk-3GWIAJ6N.js} +28 -14
- package/bundles/chunk-3GWIAJ6N.js.map +6 -0
- package/bundles/{chunk-S4JINNFN.js → chunk-4NRCP3Y6.js} +7 -7
- package/bundles/{chunk-S4JINNFN.js.map → chunk-4NRCP3Y6.js.map} +0 -0
- package/bundles/{chunk-I34YWN6W.js → chunk-4OBZ37XJ.js} +115 -110
- package/bundles/chunk-4OBZ37XJ.js.map +6 -0
- package/bundles/{chunk-Z57D3OKU.js → chunk-56O2PTWU.js} +7 -7
- package/bundles/{chunk-Z57D3OKU.js.map → chunk-56O2PTWU.js.map} +0 -0
- package/bundles/{chunk-HZ5F54TQ.js → chunk-5D4YK7IY.js} +5 -5
- package/bundles/{chunk-HZ5F54TQ.js.map → chunk-5D4YK7IY.js.map} +0 -0
- package/bundles/{chunk-4SINIALN.js → chunk-5FZBUSFV.js} +3 -3
- package/bundles/{chunk-4SINIALN.js.map → chunk-5FZBUSFV.js.map} +0 -0
- package/bundles/{chunk-TXUURHQE.js → chunk-B7JAY2ME.js} +40 -40
- package/bundles/{chunk-TXUURHQE.js.map → chunk-B7JAY2ME.js.map} +0 -0
- package/bundles/chunk-CLRZAXXE.js +89 -0
- package/bundles/chunk-CLRZAXXE.js.map +6 -0
- package/bundles/{chunk-GQHLKW4T.js → chunk-DEPZI7L5.js} +31 -31
- package/bundles/{chunk-GQHLKW4T.js.map → chunk-DEPZI7L5.js.map} +0 -0
- package/bundles/{chunk-WJ34B4FT.js → chunk-F25ME2LE.js} +75 -71
- package/bundles/chunk-F25ME2LE.js.map +6 -0
- package/bundles/{chunk-SJL5HBUW.js → chunk-HMWNYAAE.js} +2 -2
- package/bundles/{chunk-SJL5HBUW.js.map → chunk-HMWNYAAE.js.map} +0 -0
- package/bundles/{chunk-N2MCMY3J.js → chunk-ICPLY7FO.js} +4 -4
- package/bundles/{chunk-N2MCMY3J.js.map → chunk-ICPLY7FO.js.map} +0 -0
- package/bundles/{chunk-ZSQCUET7.js → chunk-KL7KPCG5.js} +116 -95
- package/bundles/chunk-KL7KPCG5.js.map +6 -0
- package/bundles/{chunk-AMYIDAXN.js → chunk-NJ2FQOJT.js} +17 -12
- package/bundles/chunk-NJ2FQOJT.js.map +6 -0
- package/bundles/{chunk-CTEVZGOM.js → chunk-RCXOJZDO.js} +5 -5
- package/bundles/{chunk-CTEVZGOM.js.map → chunk-RCXOJZDO.js.map} +0 -0
- package/bundles/{chunk-AHYRDQYO.js → chunk-XR6BVLNN.js} +26 -26
- package/bundles/{chunk-AHYRDQYO.js.map → chunk-XR6BVLNN.js.map} +1 -1
- 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/migrations.js.map +1 -1
- package/bundles/private/tooling.js +3 -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 +3 -3
- package/src/ngtsc/ts_compatibility/index.d.ts +9 -0
- package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +127 -0
- package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -7
- package/bundles/chunk-AMYIDAXN.js.map +0 -6
- package/bundles/chunk-I34YWN6W.js.map +0 -6
- package/bundles/chunk-IJA2BQQH.js.map +0 -6
- package/bundles/chunk-WJ34B4FT.js.map +0 -6
- package/bundles/chunk-ZSQCUET7.js.map +0 -6
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
reflectObjectLiteral,
|
|
14
14
|
reflectTypeEntityToDeclaration,
|
|
15
15
|
typeNodeToValueExpr
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-NJ2FQOJT.js";
|
|
17
17
|
import {
|
|
18
18
|
ErrorCode,
|
|
19
19
|
FatalDiagnosticError,
|
|
@@ -33,18 +33,31 @@ import {
|
|
|
33
33
|
translateExpression,
|
|
34
34
|
translateStatement,
|
|
35
35
|
translateType
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-XR6BVLNN.js";
|
|
37
|
+
import {
|
|
38
|
+
combineModifiers,
|
|
39
|
+
createPropertyDeclaration,
|
|
40
|
+
getDecorators,
|
|
41
|
+
getModifiers,
|
|
42
|
+
updateClassDeclaration,
|
|
43
|
+
updateConstructorDeclaration,
|
|
44
|
+
updateGetAccessorDeclaration,
|
|
45
|
+
updateMethodDeclaration,
|
|
46
|
+
updateParameterDeclaration,
|
|
47
|
+
updatePropertyDeclaration,
|
|
48
|
+
updateSetAccessorDeclaration
|
|
49
|
+
} from "./chunk-CLRZAXXE.js";
|
|
37
50
|
import {
|
|
38
51
|
absoluteFrom,
|
|
39
52
|
absoluteFromSourceFile,
|
|
40
53
|
relative
|
|
41
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-4NRCP3Y6.js";
|
|
42
55
|
import {
|
|
43
56
|
PerfEvent,
|
|
44
57
|
PerfPhase
|
|
45
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-RCXOJZDO.js";
|
|
46
59
|
|
|
47
|
-
// bazel-out/
|
|
60
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
48
61
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
49
62
|
import ts from "typescript";
|
|
50
63
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -280,7 +293,7 @@ function getOriginNodeForDiagnostics(expr, container) {
|
|
|
280
293
|
}
|
|
281
294
|
}
|
|
282
295
|
|
|
283
|
-
// bazel-out/
|
|
296
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
284
297
|
var DynamicValue = class {
|
|
285
298
|
constructor(node, reason, code) {
|
|
286
299
|
this.node = node;
|
|
@@ -370,10 +383,10 @@ var DynamicValue = class {
|
|
|
370
383
|
}
|
|
371
384
|
};
|
|
372
385
|
|
|
373
|
-
// bazel-out/
|
|
386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
374
387
|
import ts2 from "typescript";
|
|
375
388
|
|
|
376
|
-
// bazel-out/
|
|
389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
377
390
|
var ResolvedModule = class {
|
|
378
391
|
constructor(exports, evaluate) {
|
|
379
392
|
this.exports = exports;
|
|
@@ -403,7 +416,7 @@ var EnumValue = class {
|
|
|
403
416
|
var KnownFn = class {
|
|
404
417
|
};
|
|
405
418
|
|
|
406
|
-
// bazel-out/
|
|
419
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
407
420
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
408
421
|
constructor(lhs) {
|
|
409
422
|
super();
|
|
@@ -474,7 +487,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
474
487
|
}
|
|
475
488
|
};
|
|
476
489
|
|
|
477
|
-
// bazel-out/
|
|
490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
478
491
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
479
492
|
};
|
|
480
493
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -527,7 +540,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
527
540
|
}
|
|
528
541
|
};
|
|
529
542
|
|
|
530
|
-
// bazel-out/
|
|
543
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
531
544
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
532
545
|
var assignTsHelperFn = new AssignHelperFn();
|
|
533
546
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -551,14 +564,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
551
564
|
}
|
|
552
565
|
}
|
|
553
566
|
|
|
554
|
-
// bazel-out/
|
|
567
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
555
568
|
var SyntheticValue = class {
|
|
556
569
|
constructor(value) {
|
|
557
570
|
this.value = value;
|
|
558
571
|
}
|
|
559
572
|
};
|
|
560
573
|
|
|
561
|
-
// bazel-out/
|
|
574
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
562
575
|
function literalBinaryOp(op) {
|
|
563
576
|
return { op, literal: true };
|
|
564
577
|
}
|
|
@@ -1115,7 +1128,8 @@ function isVariableDeclarationDeclared(node) {
|
|
|
1115
1128
|
return false;
|
|
1116
1129
|
}
|
|
1117
1130
|
const varStmt = declList.parent;
|
|
1118
|
-
|
|
1131
|
+
const modifiers = getModifiers(varStmt);
|
|
1132
|
+
return modifiers !== void 0 && modifiers.some((mod) => mod.kind === ts2.SyntaxKind.DeclareKeyword);
|
|
1119
1133
|
}
|
|
1120
1134
|
var EMPTY = {};
|
|
1121
1135
|
function joinModuleContext(existing, node, decl) {
|
|
@@ -1143,7 +1157,7 @@ function owningModule(context, override = null) {
|
|
|
1143
1157
|
}
|
|
1144
1158
|
}
|
|
1145
1159
|
|
|
1146
|
-
// bazel-out/
|
|
1160
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1147
1161
|
var PartialEvaluator = class {
|
|
1148
1162
|
constructor(host, checker, dependencyTracker) {
|
|
1149
1163
|
this.host = host;
|
|
@@ -1163,7 +1177,7 @@ var PartialEvaluator = class {
|
|
|
1163
1177
|
}
|
|
1164
1178
|
};
|
|
1165
1179
|
|
|
1166
|
-
// bazel-out/
|
|
1180
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1167
1181
|
import ts3 from "typescript";
|
|
1168
1182
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1169
1183
|
var _a, _b;
|
|
@@ -1293,7 +1307,7 @@ function getContainerNode(node) {
|
|
|
1293
1307
|
return node.getSourceFile();
|
|
1294
1308
|
}
|
|
1295
1309
|
|
|
1296
|
-
// bazel-out/
|
|
1310
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1297
1311
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1298
1312
|
import ts4 from "typescript";
|
|
1299
1313
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1437,7 +1451,7 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1437
1451
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1438
1452
|
}
|
|
1439
1453
|
|
|
1440
|
-
// bazel-out/
|
|
1454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1441
1455
|
import ts5 from "typescript";
|
|
1442
1456
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
1443
1457
|
const context = [];
|
|
@@ -1545,7 +1559,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, reader) {
|
|
|
1545
1559
|
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}.`);
|
|
1546
1560
|
}
|
|
1547
1561
|
|
|
1548
|
-
// bazel-out/
|
|
1562
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
1549
1563
|
import ts6 from "typescript";
|
|
1550
1564
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
1551
1565
|
let resolved = null;
|
|
@@ -1578,7 +1592,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
1578
1592
|
return meta;
|
|
1579
1593
|
}
|
|
1580
1594
|
|
|
1581
|
-
// bazel-out/
|
|
1595
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
1582
1596
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
1583
1597
|
function compileNgFactoryDefField(metadata) {
|
|
1584
1598
|
const res = compileFactoryFunction(metadata);
|
|
@@ -1589,7 +1603,7 @@ function compileDeclareFactory(metadata) {
|
|
|
1589
1603
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
1590
1604
|
}
|
|
1591
1605
|
|
|
1592
|
-
// bazel-out/
|
|
1606
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
1593
1607
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
1594
1608
|
import ts7 from "typescript";
|
|
1595
1609
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -1677,13 +1691,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
1677
1691
|
return result.transformed[0];
|
|
1678
1692
|
}
|
|
1679
1693
|
|
|
1680
|
-
// bazel-out/
|
|
1694
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
1681
1695
|
var NoopReferencesRegistry = class {
|
|
1682
1696
|
add(source, ...references) {
|
|
1683
1697
|
}
|
|
1684
1698
|
};
|
|
1685
1699
|
|
|
1686
|
-
// bazel-out/
|
|
1700
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
1687
1701
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
1688
1702
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
1689
1703
|
const schemas = [];
|
|
@@ -1713,11 +1727,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
1713
1727
|
return schemas;
|
|
1714
1728
|
}
|
|
1715
1729
|
|
|
1716
|
-
// bazel-out/
|
|
1730
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
1717
1731
|
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";
|
|
1718
1732
|
import ts24 from "typescript";
|
|
1719
1733
|
|
|
1720
|
-
// bazel-out/
|
|
1734
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
1721
1735
|
import ts8 from "typescript";
|
|
1722
1736
|
var SemanticSymbol = class {
|
|
1723
1737
|
constructor(decl) {
|
|
@@ -1733,7 +1747,7 @@ function getSymbolIdentifier(decl) {
|
|
|
1733
1747
|
return decl.name.text;
|
|
1734
1748
|
}
|
|
1735
1749
|
|
|
1736
|
-
// bazel-out/
|
|
1750
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
1737
1751
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1738
1752
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
1739
1753
|
isPublicApiAffected() {
|
|
@@ -1876,10 +1890,10 @@ function getImportPath(expr) {
|
|
|
1876
1890
|
}
|
|
1877
1891
|
}
|
|
1878
1892
|
|
|
1879
|
-
// bazel-out/
|
|
1893
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1880
1894
|
import ts9 from "typescript";
|
|
1881
1895
|
|
|
1882
|
-
// bazel-out/
|
|
1896
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
1883
1897
|
function isSymbolEqual(a, b) {
|
|
1884
1898
|
if (a.decl === b.decl) {
|
|
1885
1899
|
return true;
|
|
@@ -1929,7 +1943,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
1929
1943
|
return true;
|
|
1930
1944
|
}
|
|
1931
1945
|
|
|
1932
|
-
// bazel-out/
|
|
1946
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
1933
1947
|
function extractSemanticTypeParameters(node) {
|
|
1934
1948
|
if (!ts9.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
1935
1949
|
return null;
|
|
@@ -1949,7 +1963,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
1949
1963
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
1950
1964
|
}
|
|
1951
1965
|
|
|
1952
|
-
// bazel-out/
|
|
1966
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1953
1967
|
var MetaKind;
|
|
1954
1968
|
(function(MetaKind2) {
|
|
1955
1969
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1957,10 +1971,10 @@ var MetaKind;
|
|
|
1957
1971
|
MetaKind2[MetaKind2["NgModule"] = 2] = "NgModule";
|
|
1958
1972
|
})(MetaKind || (MetaKind = {}));
|
|
1959
1973
|
|
|
1960
|
-
// bazel-out/
|
|
1974
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1961
1975
|
import ts11 from "typescript";
|
|
1962
1976
|
|
|
1963
|
-
// bazel-out/
|
|
1977
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1964
1978
|
var ClassPropertyMapping = class {
|
|
1965
1979
|
constructor(forwardMap) {
|
|
1966
1980
|
this.forwardMap = forwardMap;
|
|
@@ -2036,7 +2050,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
2036
2050
|
return reverseMap;
|
|
2037
2051
|
}
|
|
2038
2052
|
|
|
2039
|
-
// bazel-out/
|
|
2053
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
2040
2054
|
import ts10 from "typescript";
|
|
2041
2055
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
2042
2056
|
if (!ts10.isTupleTypeNode(def)) {
|
|
@@ -2141,10 +2155,10 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
|
|
|
2141
2155
|
};
|
|
2142
2156
|
}
|
|
2143
2157
|
function isRestricted(node) {
|
|
2144
|
-
|
|
2145
|
-
|
|
2146
|
-
|
|
2147
|
-
|
|
2158
|
+
const modifiers = getModifiers(node);
|
|
2159
|
+
return modifiers !== void 0 && modifiers.some(({ kind }) => {
|
|
2160
|
+
return kind === ts10.SyntaxKind.PrivateKeyword || kind === ts10.SyntaxKind.ProtectedKeyword || kind === ts10.SyntaxKind.ReadonlyKeyword;
|
|
2161
|
+
});
|
|
2148
2162
|
}
|
|
2149
2163
|
function extractTemplateGuard(member) {
|
|
2150
2164
|
if (!member.name.startsWith("ngTemplateGuard_")) {
|
|
@@ -2216,7 +2230,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
2216
2230
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
2217
2231
|
}
|
|
2218
2232
|
|
|
2219
|
-
// bazel-out/
|
|
2233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2220
2234
|
var DtsMetadataReader = class {
|
|
2221
2235
|
constructor(checker, reflector) {
|
|
2222
2236
|
this.checker = checker;
|
|
@@ -2328,7 +2342,7 @@ function readBaseClass2(clazz, checker, reflector) {
|
|
|
2328
2342
|
return null;
|
|
2329
2343
|
}
|
|
2330
2344
|
|
|
2331
|
-
// bazel-out/
|
|
2345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2332
2346
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2333
2347
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2334
2348
|
if (topMeta === null) {
|
|
@@ -2386,7 +2400,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2386
2400
|
};
|
|
2387
2401
|
}
|
|
2388
2402
|
|
|
2389
|
-
// bazel-out/
|
|
2403
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2390
2404
|
var LocalMetadataRegistry = class {
|
|
2391
2405
|
constructor() {
|
|
2392
2406
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2445,7 +2459,7 @@ var InjectableClassRegistry = class {
|
|
|
2445
2459
|
}
|
|
2446
2460
|
};
|
|
2447
2461
|
|
|
2448
|
-
// bazel-out/
|
|
2462
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2449
2463
|
var ResourceRegistry = class {
|
|
2450
2464
|
constructor() {
|
|
2451
2465
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2510,14 +2524,14 @@ var ResourceRegistry = class {
|
|
|
2510
2524
|
}
|
|
2511
2525
|
};
|
|
2512
2526
|
|
|
2513
|
-
// bazel-out/
|
|
2527
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2514
2528
|
var ComponentScopeKind;
|
|
2515
2529
|
(function(ComponentScopeKind2) {
|
|
2516
2530
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2517
2531
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2518
2532
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2519
2533
|
|
|
2520
|
-
// bazel-out/
|
|
2534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2521
2535
|
var CompoundComponentScopeReader = class {
|
|
2522
2536
|
constructor(readers) {
|
|
2523
2537
|
this.readers = readers;
|
|
@@ -2542,7 +2556,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2542
2556
|
}
|
|
2543
2557
|
};
|
|
2544
2558
|
|
|
2545
|
-
// bazel-out/
|
|
2559
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2546
2560
|
var MetadataDtsModuleScopeResolver = class {
|
|
2547
2561
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2548
2562
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2618,11 +2632,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2618
2632
|
}
|
|
2619
2633
|
};
|
|
2620
2634
|
|
|
2621
|
-
// bazel-out/
|
|
2635
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2622
2636
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2623
2637
|
import ts12 from "typescript";
|
|
2624
2638
|
|
|
2625
|
-
// bazel-out/
|
|
2639
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2626
2640
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2627
2641
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2628
2642
|
}
|
|
@@ -2645,7 +2659,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2645
2659
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2646
2660
|
}
|
|
2647
2661
|
|
|
2648
|
-
// bazel-out/
|
|
2662
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2649
2663
|
var LocalModuleScopeRegistry = class {
|
|
2650
2664
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2651
2665
|
this.localReader = localReader;
|
|
@@ -2984,7 +2998,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
2984
2998
|
]);
|
|
2985
2999
|
}
|
|
2986
3000
|
|
|
2987
|
-
// bazel-out/
|
|
3001
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
2988
3002
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
2989
3003
|
import ts13 from "typescript";
|
|
2990
3004
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3046,7 +3060,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3046
3060
|
}
|
|
3047
3061
|
};
|
|
3048
3062
|
|
|
3049
|
-
// bazel-out/
|
|
3063
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3050
3064
|
var CompilationMode;
|
|
3051
3065
|
(function(CompilationMode2) {
|
|
3052
3066
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3064,7 +3078,7 @@ var HandlerFlags;
|
|
|
3064
3078
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3065
3079
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3066
3080
|
|
|
3067
|
-
// bazel-out/
|
|
3081
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3068
3082
|
import ts14 from "typescript";
|
|
3069
3083
|
function aliasTransformFactory(exportStatements) {
|
|
3070
3084
|
return (context) => {
|
|
@@ -3082,10 +3096,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3082
3096
|
};
|
|
3083
3097
|
}
|
|
3084
3098
|
|
|
3085
|
-
// bazel-out/
|
|
3099
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3086
3100
|
import ts15 from "typescript";
|
|
3087
3101
|
|
|
3088
|
-
// bazel-out/
|
|
3102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3089
3103
|
var TraitState;
|
|
3090
3104
|
(function(TraitState2) {
|
|
3091
3105
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3140,7 +3154,7 @@ var TraitImpl = class {
|
|
|
3140
3154
|
}
|
|
3141
3155
|
};
|
|
3142
3156
|
|
|
3143
|
-
// bazel-out/
|
|
3157
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3144
3158
|
var TraitCompiler = class {
|
|
3145
3159
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3146
3160
|
this.handlers = handlers;
|
|
@@ -3584,10 +3598,10 @@ function containsErrors(diagnostics) {
|
|
|
3584
3598
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3585
3599
|
}
|
|
3586
3600
|
|
|
3587
|
-
// bazel-out/
|
|
3601
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3588
3602
|
import ts17 from "typescript";
|
|
3589
3603
|
|
|
3590
|
-
// bazel-out/
|
|
3604
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3591
3605
|
import ts16 from "typescript";
|
|
3592
3606
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3593
3607
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -3615,7 +3629,7 @@ function isImportStatement(stmt) {
|
|
|
3615
3629
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3616
3630
|
}
|
|
3617
3631
|
|
|
3618
|
-
// bazel-out/
|
|
3632
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3619
3633
|
var DtsTransformRegistry = class {
|
|
3620
3634
|
constructor() {
|
|
3621
3635
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3699,7 +3713,7 @@ var DtsTransformer = class {
|
|
|
3699
3713
|
}
|
|
3700
3714
|
}
|
|
3701
3715
|
if (elementsChanged && clazz === newClazz) {
|
|
3702
|
-
newClazz =
|
|
3716
|
+
newClazz = updateClassDeclaration(clazz, clazz.modifiers, clazz.name, clazz.typeParameters, clazz.heritageClauses, elements);
|
|
3703
3717
|
}
|
|
3704
3718
|
return newClazz;
|
|
3705
3719
|
}
|
|
@@ -3730,9 +3744,9 @@ var IvyDeclarationDtsTransform = class {
|
|
|
3730
3744
|
const modifiers = [ts17.factory.createModifier(ts17.SyntaxKind.StaticKeyword)];
|
|
3731
3745
|
const typeRef = translateType(decl.type, imports);
|
|
3732
3746
|
markForEmitAsSingleLine(typeRef);
|
|
3733
|
-
return
|
|
3747
|
+
return createPropertyDeclaration(modifiers, decl.name, void 0, typeRef, void 0);
|
|
3734
3748
|
});
|
|
3735
|
-
return
|
|
3749
|
+
return updateClassDeclaration(clazz, clazz.modifiers, clazz.name, clazz.typeParameters, clazz.heritageClauses, [...members, ...newMembers]);
|
|
3736
3750
|
}
|
|
3737
3751
|
};
|
|
3738
3752
|
function markForEmitAsSingleLine(node) {
|
|
@@ -3740,11 +3754,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3740
3754
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3741
3755
|
}
|
|
3742
3756
|
|
|
3743
|
-
// bazel-out/
|
|
3757
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3744
3758
|
import { ConstantPool } from "@angular/compiler";
|
|
3745
3759
|
import ts19 from "typescript";
|
|
3746
3760
|
|
|
3747
|
-
// bazel-out/
|
|
3761
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3748
3762
|
import ts18 from "typescript";
|
|
3749
3763
|
function visit(node, visitor, context) {
|
|
3750
3764
|
return visitor._visit(node, context);
|
|
@@ -3806,7 +3820,7 @@ function hasStatements(node) {
|
|
|
3806
3820
|
return block.statements !== void 0 && Array.isArray(block.statements);
|
|
3807
3821
|
}
|
|
3808
3822
|
|
|
3809
|
-
// bazel-out/
|
|
3823
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3810
3824
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
3811
3825
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
3812
3826
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3855,14 +3869,15 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
3855
3869
|
const members = [...node.members];
|
|
3856
3870
|
for (const field of this.classCompilationMap.get(node)) {
|
|
3857
3871
|
const exprNode = translateExpression(field.initializer, this.importManager, translateOptions);
|
|
3858
|
-
const property =
|
|
3872
|
+
const property = createPropertyDeclaration([ts19.factory.createToken(ts19.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
|
|
3859
3873
|
if (this.isClosureCompilerEnabled) {
|
|
3860
3874
|
ts19.addSyntheticLeadingComment(property, ts19.SyntaxKind.MultiLineCommentTrivia, "* @nocollapse ", false);
|
|
3861
3875
|
}
|
|
3862
3876
|
field.statements.map((stmt) => translateStatement(stmt, this.importManager, translateOptions)).forEach((stmt) => statements.push(stmt));
|
|
3863
3877
|
members.push(property);
|
|
3864
3878
|
}
|
|
3865
|
-
|
|
3879
|
+
const filteredDecorators = maybeFilterDecorator(getDecorators(node), this.compilation.decoratorsFor(node));
|
|
3880
|
+
node = updateClassDeclaration(node, combineModifiers(filteredDecorators, getModifiers(node)), node.name, node.typeParameters, node.heritageClauses || [], members.map((member) => this._stripAngularDecorators(member)));
|
|
3866
3881
|
return { node, after: statements };
|
|
3867
3882
|
}
|
|
3868
3883
|
_angularCoreDecorators(decl) {
|
|
@@ -3878,38 +3893,36 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
3878
3893
|
}
|
|
3879
3894
|
}
|
|
3880
3895
|
_nonCoreDecoratorsOnly(node) {
|
|
3881
|
-
|
|
3896
|
+
const decorators = getDecorators(node);
|
|
3897
|
+
if (decorators === void 0) {
|
|
3882
3898
|
return void 0;
|
|
3883
3899
|
}
|
|
3884
3900
|
const coreDecorators = this._angularCoreDecorators(node);
|
|
3885
|
-
if (coreDecorators.size ===
|
|
3901
|
+
if (coreDecorators.size === decorators.length) {
|
|
3886
3902
|
return void 0;
|
|
3887
3903
|
} else if (coreDecorators.size === 0) {
|
|
3888
|
-
return
|
|
3904
|
+
return nodeArrayFromDecoratorsArray(decorators);
|
|
3889
3905
|
}
|
|
3890
|
-
const filtered =
|
|
3906
|
+
const filtered = decorators.filter((dec) => !coreDecorators.has(dec));
|
|
3891
3907
|
if (filtered.length === 0) {
|
|
3892
3908
|
return void 0;
|
|
3893
3909
|
}
|
|
3894
|
-
|
|
3895
|
-
array.pos = node.decorators.pos;
|
|
3896
|
-
array.end = node.decorators.end;
|
|
3897
|
-
return array;
|
|
3910
|
+
return nodeArrayFromDecoratorsArray(filtered);
|
|
3898
3911
|
}
|
|
3899
3912
|
_stripAngularDecorators(node) {
|
|
3900
3913
|
if (ts19.isParameter(node)) {
|
|
3901
|
-
node =
|
|
3902
|
-
} else if (ts19.isMethodDeclaration(node) && node
|
|
3903
|
-
node =
|
|
3904
|
-
} else if (ts19.isPropertyDeclaration(node) && node
|
|
3905
|
-
node =
|
|
3914
|
+
node = updateParameterDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer);
|
|
3915
|
+
} else if (ts19.isMethodDeclaration(node) && getDecorators(node) !== void 0) {
|
|
3916
|
+
node = updateMethodDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body);
|
|
3917
|
+
} else if (ts19.isPropertyDeclaration(node) && getDecorators(node) !== void 0) {
|
|
3918
|
+
node = updatePropertyDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.name, node.questionToken, node.type, node.initializer);
|
|
3906
3919
|
} else if (ts19.isGetAccessor(node)) {
|
|
3907
|
-
node =
|
|
3920
|
+
node = updateGetAccessorDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.name, node.parameters, node.type, node.body);
|
|
3908
3921
|
} else if (ts19.isSetAccessor(node)) {
|
|
3909
|
-
node =
|
|
3922
|
+
node = updateSetAccessorDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.name, node.parameters, node.body);
|
|
3910
3923
|
} else if (ts19.isConstructorDeclaration(node)) {
|
|
3911
3924
|
const parameters = node.parameters.map((param) => this._stripAngularDecorators(param));
|
|
3912
|
-
node =
|
|
3925
|
+
node = updateConstructorDeclaration(node, getModifiers(node), parameters, node.body);
|
|
3913
3926
|
}
|
|
3914
3927
|
return node;
|
|
3915
3928
|
}
|
|
@@ -3986,11 +3999,19 @@ function createRecorderFn(defaultImportTracker) {
|
|
|
3986
3999
|
}
|
|
3987
4000
|
};
|
|
3988
4001
|
}
|
|
4002
|
+
function nodeArrayFromDecoratorsArray(decorators) {
|
|
4003
|
+
const array = ts19.factory.createNodeArray(decorators);
|
|
4004
|
+
if (array.length > 0) {
|
|
4005
|
+
array.pos = decorators[0].pos;
|
|
4006
|
+
array.end = decorators[decorators.length - 1].end;
|
|
4007
|
+
}
|
|
4008
|
+
return array;
|
|
4009
|
+
}
|
|
3989
4010
|
|
|
3990
|
-
// bazel-out/
|
|
4011
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
3991
4012
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
3992
4013
|
|
|
3993
|
-
// bazel-out/
|
|
4014
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
3994
4015
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3995
4016
|
import ts20 from "typescript";
|
|
3996
4017
|
var EMPTY_OBJECT = {};
|
|
@@ -4354,7 +4375,7 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
|
|
|
4354
4375
|
return bindings;
|
|
4355
4376
|
}
|
|
4356
4377
|
|
|
4357
|
-
// bazel-out/
|
|
4378
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4358
4379
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4359
4380
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4360
4381
|
super(decl);
|
|
@@ -4431,7 +4452,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4431
4452
|
return isSymbolEqual(current, previous);
|
|
4432
4453
|
}
|
|
4433
4454
|
|
|
4434
|
-
// bazel-out/
|
|
4455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4435
4456
|
var FIELD_DECORATORS = [
|
|
4436
4457
|
"Input",
|
|
4437
4458
|
"Output",
|
|
@@ -4575,11 +4596,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4575
4596
|
}
|
|
4576
4597
|
};
|
|
4577
4598
|
|
|
4578
|
-
// bazel-out/
|
|
4599
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4579
4600
|
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";
|
|
4580
4601
|
import ts22 from "typescript";
|
|
4581
4602
|
|
|
4582
|
-
// bazel-out/
|
|
4603
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4583
4604
|
import ts21 from "typescript";
|
|
4584
4605
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4585
4606
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4646,7 +4667,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4646
4667
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4647
4668
|
}
|
|
4648
4669
|
|
|
4649
|
-
// bazel-out/
|
|
4670
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4650
4671
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4651
4672
|
constructor() {
|
|
4652
4673
|
super(...arguments);
|
|
@@ -5145,7 +5166,7 @@ function isSyntheticReference(ref) {
|
|
|
5145
5166
|
return ref.synthetic;
|
|
5146
5167
|
}
|
|
5147
5168
|
|
|
5148
|
-
// bazel-out/
|
|
5169
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5149
5170
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5150
5171
|
const name = ref.debugName || "(unknown)";
|
|
5151
5172
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5168,7 +5189,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5168
5189
|
return null;
|
|
5169
5190
|
}
|
|
5170
5191
|
|
|
5171
|
-
// bazel-out/
|
|
5192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5172
5193
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5173
5194
|
import ts23 from "typescript";
|
|
5174
5195
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5474,7 +5495,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5474
5495
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5475
5496
|
}
|
|
5476
5497
|
|
|
5477
|
-
// bazel-out/
|
|
5498
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5478
5499
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5479
5500
|
constructor() {
|
|
5480
5501
|
super(...arguments);
|
|
@@ -5509,7 +5530,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5509
5530
|
}
|
|
5510
5531
|
};
|
|
5511
5532
|
|
|
5512
|
-
// bazel-out/
|
|
5533
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5513
5534
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5514
5535
|
if (value instanceof Map) {
|
|
5515
5536
|
const name = value.get("name");
|
|
@@ -5585,7 +5606,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5585
5606
|
return false;
|
|
5586
5607
|
}
|
|
5587
5608
|
|
|
5588
|
-
// bazel-out/
|
|
5609
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5589
5610
|
var EMPTY_ARRAY = [];
|
|
5590
5611
|
var ComponentDecoratorHandler = class {
|
|
5591
5612
|
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf) {
|
|
@@ -6215,7 +6236,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6215
6236
|
return diagnostics;
|
|
6216
6237
|
}
|
|
6217
6238
|
|
|
6218
|
-
// bazel-out/
|
|
6239
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6219
6240
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6220
6241
|
import ts25 from "typescript";
|
|
6221
6242
|
var InjectableDecoratorHandler = class {
|
|
@@ -6415,7 +6436,7 @@ function getDep(dep, reflector) {
|
|
|
6415
6436
|
return meta;
|
|
6416
6437
|
}
|
|
6417
6438
|
|
|
6418
|
-
// bazel-out/
|
|
6439
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6419
6440
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6420
6441
|
import ts26 from "typescript";
|
|
6421
6442
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6597,4 +6618,4 @@ export {
|
|
|
6597
6618
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6598
6619
|
* found in the LICENSE file at https://angular.io/license
|
|
6599
6620
|
*/
|
|
6600
|
-
//# sourceMappingURL=chunk-
|
|
6621
|
+
//# sourceMappingURL=chunk-KL7KPCG5.js.map
|