@angular/compiler-cli 15.0.0-rc.4 → 15.1.0-next.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-ZXBCBXWY.js → chunk-22N3RTKA.js} +7 -7
- package/bundles/chunk-22N3RTKA.js.map +6 -0
- package/bundles/{chunk-3KIUHCHT.js → chunk-6TLW4724.js} +41 -41
- package/bundles/chunk-6TLW4724.js.map +6 -0
- package/bundles/{chunk-KGXXQYFO.js → chunk-A6MA5NDQ.js} +384 -169
- package/bundles/chunk-A6MA5NDQ.js.map +6 -0
- package/bundles/{chunk-E7NQQTT7.js → chunk-FPQZA7NP.js} +4 -3
- package/bundles/chunk-FPQZA7NP.js.map +6 -0
- package/bundles/{chunk-GQT3DC2W.js → chunk-GIA6ASYG.js} +19 -9
- package/bundles/chunk-GIA6ASYG.js.map +6 -0
- package/bundles/{chunk-PKFN6ZKR.js → chunk-JY5KP5YT.js} +4 -4
- package/bundles/chunk-JY5KP5YT.js.map +6 -0
- package/bundles/{chunk-SHFEZGDP.js → chunk-JZDWEOSI.js} +151 -76
- package/bundles/chunk-JZDWEOSI.js.map +6 -0
- package/bundles/{chunk-5QCN26YI.js → chunk-KGTNU2UU.js} +5 -5
- package/bundles/chunk-KGTNU2UU.js.map +6 -0
- package/bundles/{chunk-24QFMHYM.js → chunk-LHZD6YT2.js} +31 -31
- package/bundles/chunk-LHZD6YT2.js.map +6 -0
- package/bundles/{chunk-XYNRD7NE.js → chunk-NDREJTCS.js} +5 -2
- package/bundles/{chunk-XYNRD7NE.js.map → chunk-NDREJTCS.js.map} +0 -0
- package/bundles/{chunk-WEEZR5JR.js → chunk-NXGWYLNC.js} +8 -8
- package/bundles/chunk-NXGWYLNC.js.map +6 -0
- package/bundles/{chunk-CYVTLM4Z.js → chunk-OKDR75TI.js} +8 -7
- package/bundles/chunk-OKDR75TI.js.map +6 -0
- package/bundles/{chunk-RSZNB3FD.js → chunk-QKS2XPFG.js} +150 -85
- package/bundles/chunk-QKS2XPFG.js.map +6 -0
- package/bundles/{chunk-JBW3LNWN.js → chunk-TZNP5L2W.js} +55 -31
- package/bundles/chunk-TZNP5L2W.js.map +6 -0
- package/bundles/{chunk-F526PAOI.js → chunk-UUIUKASM.js} +3 -2
- package/bundles/chunk-UUIUKASM.js.map +6 -0
- package/bundles/{chunk-R3C7RFJ4.js → chunk-VOEFUUJH.js} +3 -2
- package/bundles/chunk-VOEFUUJH.js.map +6 -0
- package/bundles/{chunk-2HPI44CB.js → chunk-XVHC4VAO.js} +6 -5
- package/bundles/chunk-XVHC4VAO.js.map +6 -0
- package/bundles/index.js +23 -15
- package/bundles/index.js.map +1 -1
- package/bundles/linker/babel/index.js +14 -14
- package/bundles/linker/babel/index.js.map +2 -2
- package/bundles/linker/index.js +6 -6
- package/bundles/ngcc/index.js +14 -14
- package/bundles/ngcc/index.js.map +1 -1
- package/bundles/ngcc/main-ngcc.js +15 -15
- package/bundles/ngcc/main-ngcc.js.map +1 -1
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +15 -15
- package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +2 -2
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
- package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +1 -1
- package/bundles/private/bazel.js +2 -2
- package/bundles/private/bazel.js.map +2 -2
- package/bundles/private/localize.js +4 -4
- package/bundles/private/localize.js.map +2 -2
- package/bundles/private/migrations.js +7 -7
- package/bundles/private/migrations.js.map +2 -2
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +12 -12
- package/bundles/src/bin/ng_xi18n.js.map +2 -2
- package/bundles/src/bin/ngc.js +10 -10
- package/bundles/src/bin/ngc.js.map +1 -1
- package/bundles_metadata.json +1 -1
- package/ngcc/src/packages/build_marker.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/metadata/src/api.d.ts +1 -1
- package/src/ngtsc/metadata/src/registry.d.ts +2 -2
- package/src/ngtsc/typecheck/api/api.d.ts +2 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +2 -2
- package/src/ngtsc/typecheck/api/scope.d.ts +2 -1
- package/src/ngtsc/typecheck/api/symbols.d.ts +14 -5
- package/src/ngtsc/typecheck/src/checker.d.ts +2 -1
- package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +1 -0
- package/bundles/chunk-24QFMHYM.js.map +0 -6
- package/bundles/chunk-2HPI44CB.js.map +0 -6
- package/bundles/chunk-3KIUHCHT.js.map +0 -6
- package/bundles/chunk-5QCN26YI.js.map +0 -6
- package/bundles/chunk-CYVTLM4Z.js.map +0 -6
- package/bundles/chunk-E7NQQTT7.js.map +0 -6
- package/bundles/chunk-F526PAOI.js.map +0 -6
- package/bundles/chunk-GQT3DC2W.js.map +0 -6
- package/bundles/chunk-JBW3LNWN.js.map +0 -6
- package/bundles/chunk-KGXXQYFO.js.map +0 -6
- package/bundles/chunk-PKFN6ZKR.js.map +0 -6
- package/bundles/chunk-R3C7RFJ4.js.map +0 -6
- package/bundles/chunk-RSZNB3FD.js.map +0 -6
- package/bundles/chunk-SHFEZGDP.js.map +0 -6
- package/bundles/chunk-WEEZR5JR.js.map +0 -6
- package/bundles/chunk-ZXBCBXWY.js.map +0 -6
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
reflectObjectLiteral,
|
|
14
14
|
reflectTypeEntityToDeclaration,
|
|
15
15
|
typeNodeToValueExpr
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-22N3RTKA.js";
|
|
17
17
|
import {
|
|
18
18
|
ErrorCode,
|
|
19
19
|
FatalDiagnosticError,
|
|
@@ -33,7 +33,7 @@ import {
|
|
|
33
33
|
translateExpression,
|
|
34
34
|
translateStatement,
|
|
35
35
|
translateType
|
|
36
|
-
} from "./chunk-
|
|
36
|
+
} from "./chunk-TZNP5L2W.js";
|
|
37
37
|
import {
|
|
38
38
|
combineModifiers,
|
|
39
39
|
createPropertyDeclaration,
|
|
@@ -46,18 +46,18 @@ import {
|
|
|
46
46
|
updateParameterDeclaration,
|
|
47
47
|
updatePropertyDeclaration,
|
|
48
48
|
updateSetAccessorDeclaration
|
|
49
|
-
} from "./chunk-
|
|
49
|
+
} from "./chunk-UUIUKASM.js";
|
|
50
50
|
import {
|
|
51
51
|
absoluteFrom,
|
|
52
52
|
absoluteFromSourceFile,
|
|
53
53
|
relative
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-NXGWYLNC.js";
|
|
55
55
|
import {
|
|
56
56
|
PerfEvent,
|
|
57
57
|
PerfPhase
|
|
58
|
-
} from "./chunk-
|
|
58
|
+
} from "./chunk-XVHC4VAO.js";
|
|
59
59
|
|
|
60
|
-
// bazel-out/
|
|
60
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
61
61
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
62
62
|
import ts from "typescript";
|
|
63
63
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -296,7 +296,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
296
296
|
return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
|
|
297
297
|
}
|
|
298
298
|
|
|
299
|
-
// bazel-out/
|
|
299
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
300
300
|
var DynamicValue = class {
|
|
301
301
|
constructor(node, reason, code) {
|
|
302
302
|
this.node = node;
|
|
@@ -386,10 +386,10 @@ var DynamicValue = class {
|
|
|
386
386
|
}
|
|
387
387
|
};
|
|
388
388
|
|
|
389
|
-
// bazel-out/
|
|
389
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
390
390
|
import ts2 from "typescript";
|
|
391
391
|
|
|
392
|
-
// bazel-out/
|
|
392
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
393
393
|
var ResolvedModule = class {
|
|
394
394
|
constructor(exports, evaluate) {
|
|
395
395
|
this.exports = exports;
|
|
@@ -419,7 +419,7 @@ var EnumValue = class {
|
|
|
419
419
|
var KnownFn = class {
|
|
420
420
|
};
|
|
421
421
|
|
|
422
|
-
// bazel-out/
|
|
422
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
423
423
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
424
424
|
constructor(lhs) {
|
|
425
425
|
super();
|
|
@@ -490,7 +490,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
|
|
|
490
490
|
}
|
|
491
491
|
};
|
|
492
492
|
|
|
493
|
-
// bazel-out/
|
|
493
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
|
|
494
494
|
var AssignHelperFn = class extends ObjectAssignBuiltinFn {
|
|
495
495
|
};
|
|
496
496
|
var SpreadHelperFn = class extends KnownFn {
|
|
@@ -543,7 +543,7 @@ var ReadHelperFn = class extends KnownFn {
|
|
|
543
543
|
}
|
|
544
544
|
};
|
|
545
545
|
|
|
546
|
-
// bazel-out/
|
|
546
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
|
|
547
547
|
var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
|
|
548
548
|
var assignTsHelperFn = new AssignHelperFn();
|
|
549
549
|
var spreadTsHelperFn = new SpreadHelperFn();
|
|
@@ -567,14 +567,14 @@ function resolveKnownDeclaration(decl) {
|
|
|
567
567
|
}
|
|
568
568
|
}
|
|
569
569
|
|
|
570
|
-
// bazel-out/
|
|
570
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
571
571
|
var SyntheticValue = class {
|
|
572
572
|
constructor(value) {
|
|
573
573
|
this.value = value;
|
|
574
574
|
}
|
|
575
575
|
};
|
|
576
576
|
|
|
577
|
-
// bazel-out/
|
|
577
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
578
578
|
function literalBinaryOp(op) {
|
|
579
579
|
return { op, literal: true };
|
|
580
580
|
}
|
|
@@ -1160,7 +1160,7 @@ function owningModule(context, override = null) {
|
|
|
1160
1160
|
}
|
|
1161
1161
|
}
|
|
1162
1162
|
|
|
1163
|
-
// bazel-out/
|
|
1163
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1164
1164
|
var PartialEvaluator = class {
|
|
1165
1165
|
constructor(host, checker, dependencyTracker) {
|
|
1166
1166
|
this.host = host;
|
|
@@ -1180,7 +1180,7 @@ var PartialEvaluator = class {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
};
|
|
1182
1182
|
|
|
1183
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1184
1184
|
import ts3 from "typescript";
|
|
1185
1185
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1186
1186
|
var _a, _b;
|
|
@@ -1310,7 +1310,7 @@ function getContainerNode(node) {
|
|
|
1310
1310
|
return node.getSourceFile();
|
|
1311
1311
|
}
|
|
1312
1312
|
|
|
1313
|
-
// bazel-out/
|
|
1313
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1314
1314
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1315
1315
|
import ts4 from "typescript";
|
|
1316
1316
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1454,10 +1454,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1454
1454
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1455
1455
|
}
|
|
1456
1456
|
|
|
1457
|
-
// bazel-out/
|
|
1457
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1458
1458
|
import ts7 from "typescript";
|
|
1459
1459
|
|
|
1460
|
-
// bazel-out/
|
|
1460
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1461
1461
|
var MetaKind;
|
|
1462
1462
|
(function(MetaKind2) {
|
|
1463
1463
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1470,10 +1470,10 @@ var MatchSource;
|
|
|
1470
1470
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1471
1471
|
})(MatchSource || (MatchSource = {}));
|
|
1472
1472
|
|
|
1473
|
-
// bazel-out/
|
|
1473
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1474
1474
|
import ts6 from "typescript";
|
|
1475
1475
|
|
|
1476
|
-
// bazel-out/
|
|
1476
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1477
1477
|
var ClassPropertyMapping = class {
|
|
1478
1478
|
constructor(forwardMap) {
|
|
1479
1479
|
this.forwardMap = forwardMap;
|
|
@@ -1549,7 +1549,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1549
1549
|
return reverseMap;
|
|
1550
1550
|
}
|
|
1551
1551
|
|
|
1552
|
-
// bazel-out/
|
|
1552
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1553
1553
|
import ts5 from "typescript";
|
|
1554
1554
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1555
1555
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1731,7 +1731,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
1731
1731
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
1732
1732
|
}
|
|
1733
1733
|
|
|
1734
|
-
// bazel-out/
|
|
1734
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1735
1735
|
var DtsMetadataReader = class {
|
|
1736
1736
|
constructor(checker, reflector) {
|
|
1737
1737
|
this.checker = checker;
|
|
@@ -1870,7 +1870,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1870
1870
|
return result.length > 0 ? result : null;
|
|
1871
1871
|
}
|
|
1872
1872
|
|
|
1873
|
-
// bazel-out/
|
|
1873
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1874
1874
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1875
1875
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1876
1876
|
if (topMeta === null) {
|
|
@@ -1928,7 +1928,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1928
1928
|
};
|
|
1929
1929
|
}
|
|
1930
1930
|
|
|
1931
|
-
// bazel-out/
|
|
1931
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1932
1932
|
var LocalMetadataRegistry = class {
|
|
1933
1933
|
constructor() {
|
|
1934
1934
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -1953,8 +1953,15 @@ var LocalMetadataRegistry = class {
|
|
|
1953
1953
|
registerPipeMetadata(meta) {
|
|
1954
1954
|
this.pipes.set(meta.ref.node, meta);
|
|
1955
1955
|
}
|
|
1956
|
-
|
|
1957
|
-
|
|
1956
|
+
getKnown(kind) {
|
|
1957
|
+
switch (kind) {
|
|
1958
|
+
case MetaKind.Directive:
|
|
1959
|
+
return this.directives.keys();
|
|
1960
|
+
case MetaKind.Pipe:
|
|
1961
|
+
return this.pipes.keys();
|
|
1962
|
+
case MetaKind.NgModule:
|
|
1963
|
+
return this.ngModules.keys();
|
|
1964
|
+
}
|
|
1958
1965
|
}
|
|
1959
1966
|
};
|
|
1960
1967
|
var CompoundMetadataRegistry = class {
|
|
@@ -1978,7 +1985,7 @@ var CompoundMetadataRegistry = class {
|
|
|
1978
1985
|
}
|
|
1979
1986
|
};
|
|
1980
1987
|
|
|
1981
|
-
// bazel-out/
|
|
1988
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
1982
1989
|
var ResourceRegistry = class {
|
|
1983
1990
|
constructor() {
|
|
1984
1991
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2043,7 +2050,7 @@ var ResourceRegistry = class {
|
|
|
2043
2050
|
}
|
|
2044
2051
|
};
|
|
2045
2052
|
|
|
2046
|
-
// bazel-out/
|
|
2053
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2047
2054
|
var EMPTY_ARRAY = [];
|
|
2048
2055
|
var HostDirectivesResolver = class {
|
|
2049
2056
|
constructor(metaReader) {
|
|
@@ -2094,7 +2101,7 @@ var HostDirectivesResolver = class {
|
|
|
2094
2101
|
}
|
|
2095
2102
|
};
|
|
2096
2103
|
|
|
2097
|
-
// bazel-out/
|
|
2104
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2098
2105
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
2099
2106
|
const context = [];
|
|
2100
2107
|
for (const decl of data) {
|
|
@@ -2266,7 +2273,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
2266
2273
|
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}.`);
|
|
2267
2274
|
}
|
|
2268
2275
|
|
|
2269
|
-
// bazel-out/
|
|
2276
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
2270
2277
|
import ts8 from "typescript";
|
|
2271
2278
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
2272
2279
|
let resolved = null;
|
|
@@ -2299,7 +2306,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
2299
2306
|
return meta;
|
|
2300
2307
|
}
|
|
2301
2308
|
|
|
2302
|
-
// bazel-out/
|
|
2309
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
2303
2310
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
2304
2311
|
function compileNgFactoryDefField(metadata) {
|
|
2305
2312
|
const res = compileFactoryFunction(metadata);
|
|
@@ -2310,7 +2317,7 @@ function compileDeclareFactory(metadata) {
|
|
|
2310
2317
|
return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
|
|
2311
2318
|
}
|
|
2312
2319
|
|
|
2313
|
-
// bazel-out/
|
|
2320
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
2314
2321
|
var InjectableClassRegistry = class {
|
|
2315
2322
|
constructor(host, isCore) {
|
|
2316
2323
|
this.host = host;
|
|
@@ -2336,7 +2343,7 @@ var InjectableClassRegistry = class {
|
|
|
2336
2343
|
}
|
|
2337
2344
|
};
|
|
2338
2345
|
|
|
2339
|
-
// bazel-out/
|
|
2346
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
2340
2347
|
import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
2341
2348
|
import ts9 from "typescript";
|
|
2342
2349
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -2423,13 +2430,13 @@ function removeIdentifierReferences(node, name) {
|
|
|
2423
2430
|
return result.transformed[0];
|
|
2424
2431
|
}
|
|
2425
2432
|
|
|
2426
|
-
// bazel-out/
|
|
2433
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
2427
2434
|
var NoopReferencesRegistry = class {
|
|
2428
2435
|
add(source, ...references) {
|
|
2429
2436
|
}
|
|
2430
2437
|
};
|
|
2431
2438
|
|
|
2432
|
-
// bazel-out/
|
|
2439
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
2433
2440
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
2434
2441
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
2435
2442
|
const schemas = [];
|
|
@@ -2459,11 +2466,11 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
2459
2466
|
return schemas;
|
|
2460
2467
|
}
|
|
2461
2468
|
|
|
2462
|
-
// bazel-out/
|
|
2469
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
2463
2470
|
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";
|
|
2464
2471
|
import ts24 from "typescript";
|
|
2465
2472
|
|
|
2466
|
-
// bazel-out/
|
|
2473
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
2467
2474
|
import ts10 from "typescript";
|
|
2468
2475
|
var SemanticSymbol = class {
|
|
2469
2476
|
constructor(decl) {
|
|
@@ -2479,7 +2486,7 @@ function getSymbolIdentifier(decl) {
|
|
|
2479
2486
|
return decl.name.text;
|
|
2480
2487
|
}
|
|
2481
2488
|
|
|
2482
|
-
// bazel-out/
|
|
2489
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
2483
2490
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
2484
2491
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
2485
2492
|
isPublicApiAffected() {
|
|
@@ -2622,10 +2629,10 @@ function getImportPath(expr) {
|
|
|
2622
2629
|
}
|
|
2623
2630
|
}
|
|
2624
2631
|
|
|
2625
|
-
// bazel-out/
|
|
2632
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2626
2633
|
import ts11 from "typescript";
|
|
2627
2634
|
|
|
2628
|
-
// bazel-out/
|
|
2635
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
2629
2636
|
function isSymbolEqual(a, b) {
|
|
2630
2637
|
if (a.decl === b.decl) {
|
|
2631
2638
|
return true;
|
|
@@ -2675,7 +2682,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
2675
2682
|
return true;
|
|
2676
2683
|
}
|
|
2677
2684
|
|
|
2678
|
-
// bazel-out/
|
|
2685
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
2679
2686
|
function extractSemanticTypeParameters(node) {
|
|
2680
2687
|
if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
2681
2688
|
return null;
|
|
@@ -2695,14 +2702,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
2695
2702
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
2696
2703
|
}
|
|
2697
2704
|
|
|
2698
|
-
// bazel-out/
|
|
2705
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
2699
2706
|
var ComponentScopeKind;
|
|
2700
2707
|
(function(ComponentScopeKind2) {
|
|
2701
2708
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
2702
2709
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
2703
2710
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
2704
2711
|
|
|
2705
|
-
// bazel-out/
|
|
2712
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
2706
2713
|
var CompoundComponentScopeReader = class {
|
|
2707
2714
|
constructor(readers) {
|
|
2708
2715
|
this.readers = readers;
|
|
@@ -2727,7 +2734,7 @@ var CompoundComponentScopeReader = class {
|
|
|
2727
2734
|
}
|
|
2728
2735
|
};
|
|
2729
2736
|
|
|
2730
|
-
// bazel-out/
|
|
2737
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
2731
2738
|
var MetadataDtsModuleScopeResolver = class {
|
|
2732
2739
|
constructor(dtsMetaReader, aliasingHost) {
|
|
2733
2740
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -2803,11 +2810,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
2803
2810
|
}
|
|
2804
2811
|
};
|
|
2805
2812
|
|
|
2806
|
-
// bazel-out/
|
|
2813
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2807
2814
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
2808
2815
|
import ts12 from "typescript";
|
|
2809
2816
|
|
|
2810
|
-
// bazel-out/
|
|
2817
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
2811
2818
|
function getDiagnosticNode(ref, rawExpr) {
|
|
2812
2819
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
2813
2820
|
}
|
|
@@ -2830,7 +2837,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
2830
2837
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
2831
2838
|
}
|
|
2832
2839
|
|
|
2833
|
-
// bazel-out/
|
|
2840
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
2834
2841
|
var LocalModuleScopeRegistry = class {
|
|
2835
2842
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
2836
2843
|
this.localReader = localReader;
|
|
@@ -3169,7 +3176,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
3169
3176
|
]);
|
|
3170
3177
|
}
|
|
3171
3178
|
|
|
3172
|
-
// bazel-out/
|
|
3179
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
3173
3180
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
3174
3181
|
import ts13 from "typescript";
|
|
3175
3182
|
var TypeCheckScopeRegistry = class {
|
|
@@ -3232,7 +3239,7 @@ var TypeCheckScopeRegistry = class {
|
|
|
3232
3239
|
}
|
|
3233
3240
|
};
|
|
3234
3241
|
|
|
3235
|
-
// bazel-out/
|
|
3242
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
3236
3243
|
var CompilationMode;
|
|
3237
3244
|
(function(CompilationMode2) {
|
|
3238
3245
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -3250,7 +3257,7 @@ var HandlerFlags;
|
|
|
3250
3257
|
HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
|
|
3251
3258
|
})(HandlerFlags || (HandlerFlags = {}));
|
|
3252
3259
|
|
|
3253
|
-
// bazel-out/
|
|
3260
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
3254
3261
|
import ts14 from "typescript";
|
|
3255
3262
|
function aliasTransformFactory(exportStatements) {
|
|
3256
3263
|
return (context) => {
|
|
@@ -3260,7 +3267,13 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3260
3267
|
}
|
|
3261
3268
|
const statements = [...file.statements];
|
|
3262
3269
|
exportStatements.get(file.fileName).forEach(([moduleName, symbolName], aliasName) => {
|
|
3263
|
-
const stmt = ts14.factory.createExportDeclaration(
|
|
3270
|
+
const stmt = ts14.factory.createExportDeclaration(
|
|
3271
|
+
void 0,
|
|
3272
|
+
void 0,
|
|
3273
|
+
false,
|
|
3274
|
+
ts14.createNamedExports([ts14.factory.createExportSpecifier(false, symbolName, aliasName)]),
|
|
3275
|
+
ts14.factory.createStringLiteral(moduleName)
|
|
3276
|
+
);
|
|
3264
3277
|
statements.push(stmt);
|
|
3265
3278
|
});
|
|
3266
3279
|
return ts14.factory.updateSourceFile(file, statements);
|
|
@@ -3268,10 +3281,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
3268
3281
|
};
|
|
3269
3282
|
}
|
|
3270
3283
|
|
|
3271
|
-
// bazel-out/
|
|
3284
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3272
3285
|
import ts15 from "typescript";
|
|
3273
3286
|
|
|
3274
|
-
// bazel-out/
|
|
3287
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
3275
3288
|
var TraitState;
|
|
3276
3289
|
(function(TraitState2) {
|
|
3277
3290
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -3326,7 +3339,7 @@ var TraitImpl = class {
|
|
|
3326
3339
|
}
|
|
3327
3340
|
};
|
|
3328
3341
|
|
|
3329
|
-
// bazel-out/
|
|
3342
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
3330
3343
|
var TraitCompiler = class {
|
|
3331
3344
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
3332
3345
|
this.handlers = handlers;
|
|
@@ -3770,16 +3783,25 @@ function containsErrors(diagnostics) {
|
|
|
3770
3783
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
|
|
3771
3784
|
}
|
|
3772
3785
|
|
|
3773
|
-
// bazel-out/
|
|
3786
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3774
3787
|
import ts17 from "typescript";
|
|
3775
3788
|
|
|
3776
|
-
// bazel-out/
|
|
3789
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
3777
3790
|
import ts16 from "typescript";
|
|
3778
3791
|
function addImports(importManager, sf, extraStatements = []) {
|
|
3779
3792
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
3780
3793
|
const qualifier = ts16.factory.createIdentifier(i.qualifier.text);
|
|
3781
|
-
const importClause = ts16.factory.createImportClause(
|
|
3782
|
-
|
|
3794
|
+
const importClause = ts16.factory.createImportClause(
|
|
3795
|
+
false,
|
|
3796
|
+
void 0,
|
|
3797
|
+
ts16.factory.createNamespaceImport(qualifier)
|
|
3798
|
+
);
|
|
3799
|
+
const decl = ts16.factory.createImportDeclaration(
|
|
3800
|
+
void 0,
|
|
3801
|
+
void 0,
|
|
3802
|
+
importClause,
|
|
3803
|
+
ts16.factory.createStringLiteral(i.specifier)
|
|
3804
|
+
);
|
|
3783
3805
|
ts16.setOriginalNode(i.qualifier, decl);
|
|
3784
3806
|
return decl;
|
|
3785
3807
|
});
|
|
@@ -3801,7 +3823,7 @@ function isImportStatement(stmt) {
|
|
|
3801
3823
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3802
3824
|
}
|
|
3803
3825
|
|
|
3804
|
-
// bazel-out/
|
|
3826
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
3805
3827
|
var DtsTransformRegistry = class {
|
|
3806
3828
|
constructor() {
|
|
3807
3829
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -3885,7 +3907,14 @@ var DtsTransformer = class {
|
|
|
3885
3907
|
}
|
|
3886
3908
|
}
|
|
3887
3909
|
if (elementsChanged && clazz === newClazz) {
|
|
3888
|
-
newClazz = updateClassDeclaration(
|
|
3910
|
+
newClazz = updateClassDeclaration(
|
|
3911
|
+
clazz,
|
|
3912
|
+
clazz.modifiers,
|
|
3913
|
+
clazz.name,
|
|
3914
|
+
clazz.typeParameters,
|
|
3915
|
+
clazz.heritageClauses,
|
|
3916
|
+
elements
|
|
3917
|
+
);
|
|
3889
3918
|
}
|
|
3890
3919
|
return newClazz;
|
|
3891
3920
|
}
|
|
@@ -3916,9 +3945,22 @@ var IvyDeclarationDtsTransform = class {
|
|
|
3916
3945
|
const modifiers = [ts17.factory.createModifier(ts17.SyntaxKind.StaticKeyword)];
|
|
3917
3946
|
const typeRef = translateType(decl.type, imports);
|
|
3918
3947
|
markForEmitAsSingleLine(typeRef);
|
|
3919
|
-
return createPropertyDeclaration(
|
|
3948
|
+
return createPropertyDeclaration(
|
|
3949
|
+
modifiers,
|
|
3950
|
+
decl.name,
|
|
3951
|
+
void 0,
|
|
3952
|
+
typeRef,
|
|
3953
|
+
void 0
|
|
3954
|
+
);
|
|
3920
3955
|
});
|
|
3921
|
-
return updateClassDeclaration(
|
|
3956
|
+
return updateClassDeclaration(
|
|
3957
|
+
clazz,
|
|
3958
|
+
clazz.modifiers,
|
|
3959
|
+
clazz.name,
|
|
3960
|
+
clazz.typeParameters,
|
|
3961
|
+
clazz.heritageClauses,
|
|
3962
|
+
[...members, ...newMembers]
|
|
3963
|
+
);
|
|
3922
3964
|
}
|
|
3923
3965
|
};
|
|
3924
3966
|
function markForEmitAsSingleLine(node) {
|
|
@@ -3926,11 +3968,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
3926
3968
|
ts17.forEachChild(node, markForEmitAsSingleLine);
|
|
3927
3969
|
}
|
|
3928
3970
|
|
|
3929
|
-
// bazel-out/
|
|
3971
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3930
3972
|
import { ConstantPool } from "@angular/compiler";
|
|
3931
3973
|
import ts19 from "typescript";
|
|
3932
3974
|
|
|
3933
|
-
// bazel-out/
|
|
3975
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
3934
3976
|
import ts18 from "typescript";
|
|
3935
3977
|
function visit(node, visitor, context) {
|
|
3936
3978
|
return visitor._visit(node, context);
|
|
@@ -3991,7 +4033,7 @@ var Visitor = class {
|
|
|
3991
4033
|
}
|
|
3992
4034
|
};
|
|
3993
4035
|
|
|
3994
|
-
// bazel-out/
|
|
4036
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
3995
4037
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
3996
4038
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
3997
4039
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -4042,13 +4084,25 @@ var IvyTransformationVisitor = class extends Visitor {
|
|
|
4042
4084
|
const exprNode = translateExpression(field.initializer, this.importManager, translateOptions);
|
|
4043
4085
|
const property = createPropertyDeclaration([ts19.factory.createToken(ts19.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
|
|
4044
4086
|
if (this.isClosureCompilerEnabled) {
|
|
4045
|
-
ts19.addSyntheticLeadingComment(
|
|
4087
|
+
ts19.addSyntheticLeadingComment(
|
|
4088
|
+
property,
|
|
4089
|
+
ts19.SyntaxKind.MultiLineCommentTrivia,
|
|
4090
|
+
"* @nocollapse ",
|
|
4091
|
+
false
|
|
4092
|
+
);
|
|
4046
4093
|
}
|
|
4047
4094
|
field.statements.map((stmt) => translateStatement(stmt, this.importManager, translateOptions)).forEach((stmt) => statements.push(stmt));
|
|
4048
4095
|
members.push(property);
|
|
4049
4096
|
}
|
|
4050
4097
|
const filteredDecorators = maybeFilterDecorator(getDecorators(node), this.compilation.decoratorsFor(node));
|
|
4051
|
-
node = updateClassDeclaration(
|
|
4098
|
+
node = updateClassDeclaration(
|
|
4099
|
+
node,
|
|
4100
|
+
combineModifiers(filteredDecorators, getModifiers(node)),
|
|
4101
|
+
node.name,
|
|
4102
|
+
node.typeParameters,
|
|
4103
|
+
node.heritageClauses || [],
|
|
4104
|
+
members.map((member) => this._stripAngularDecorators(member))
|
|
4105
|
+
);
|
|
4052
4106
|
return { node, after: statements };
|
|
4053
4107
|
}
|
|
4054
4108
|
_angularCoreDecorators(decl) {
|
|
@@ -4179,10 +4233,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
4179
4233
|
return array;
|
|
4180
4234
|
}
|
|
4181
4235
|
|
|
4182
|
-
// bazel-out/
|
|
4236
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4183
4237
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4184
4238
|
|
|
4185
|
-
// bazel-out/
|
|
4239
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4186
4240
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4187
4241
|
import ts20 from "typescript";
|
|
4188
4242
|
var EMPTY_OBJECT = {};
|
|
@@ -4550,7 +4604,11 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
|
|
|
4550
4604
|
const bindings = parseHostBindings(hostMetadata);
|
|
4551
4605
|
const errors = verifyHostBindings(bindings, createSourceSpan(hostExpr));
|
|
4552
4606
|
if (errors.length > 0) {
|
|
4553
|
-
throw new FatalDiagnosticError(
|
|
4607
|
+
throw new FatalDiagnosticError(
|
|
4608
|
+
ErrorCode.HOST_BINDING_PARSE_ERROR,
|
|
4609
|
+
hostExpr,
|
|
4610
|
+
errors.map((error) => error.msg).join("\n")
|
|
4611
|
+
);
|
|
4554
4612
|
}
|
|
4555
4613
|
return bindings;
|
|
4556
4614
|
}
|
|
@@ -4595,7 +4653,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
|
|
|
4595
4653
|
};
|
|
4596
4654
|
}
|
|
4597
4655
|
|
|
4598
|
-
// bazel-out/
|
|
4656
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4599
4657
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4600
4658
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4601
4659
|
super(decl);
|
|
@@ -4672,7 +4730,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
4672
4730
|
return isSymbolEqual(current, previous);
|
|
4673
4731
|
}
|
|
4674
4732
|
|
|
4675
|
-
// bazel-out/
|
|
4733
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4676
4734
|
var FIELD_DECORATORS = [
|
|
4677
4735
|
"Input",
|
|
4678
4736
|
"Output",
|
|
@@ -4831,11 +4889,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
4831
4889
|
}
|
|
4832
4890
|
};
|
|
4833
4891
|
|
|
4834
|
-
// bazel-out/
|
|
4892
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4835
4893
|
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";
|
|
4836
4894
|
import ts22 from "typescript";
|
|
4837
4895
|
|
|
4838
|
-
// bazel-out/
|
|
4896
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
4839
4897
|
import ts21 from "typescript";
|
|
4840
4898
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
4841
4899
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -4902,7 +4960,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
4902
4960
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
4903
4961
|
}
|
|
4904
4962
|
|
|
4905
|
-
// bazel-out/
|
|
4963
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
4906
4964
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
4907
4965
|
constructor() {
|
|
4908
4966
|
super(...arguments);
|
|
@@ -5406,7 +5464,7 @@ function isSyntheticReference(ref) {
|
|
|
5406
5464
|
return ref.synthetic;
|
|
5407
5465
|
}
|
|
5408
5466
|
|
|
5409
|
-
// bazel-out/
|
|
5467
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5410
5468
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5411
5469
|
const name = ref.debugName || "(unknown)";
|
|
5412
5470
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5429,7 +5487,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5429
5487
|
return null;
|
|
5430
5488
|
}
|
|
5431
5489
|
|
|
5432
|
-
// bazel-out/
|
|
5490
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5433
5491
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5434
5492
|
import ts23 from "typescript";
|
|
5435
5493
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5485,7 +5543,14 @@ function extractTemplate(node, template, evaluator, depTracker, resourceLoader,
|
|
|
5485
5543
|
depTracker.addResourceDependency(node.getSourceFile(), absoluteFrom(template.resolvedTemplateUrl));
|
|
5486
5544
|
}
|
|
5487
5545
|
return {
|
|
5488
|
-
...parseExtractedTemplate(
|
|
5546
|
+
...parseExtractedTemplate(
|
|
5547
|
+
template,
|
|
5548
|
+
templateContent,
|
|
5549
|
+
null,
|
|
5550
|
+
false,
|
|
5551
|
+
template.resolvedTemplateUrl,
|
|
5552
|
+
options
|
|
5553
|
+
),
|
|
5489
5554
|
content: templateContent,
|
|
5490
5555
|
sourceMapping: {
|
|
5491
5556
|
type: "external",
|
|
@@ -5735,7 +5800,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
5735
5800
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
5736
5801
|
}
|
|
5737
5802
|
|
|
5738
|
-
// bazel-out/
|
|
5803
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
5739
5804
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
5740
5805
|
constructor() {
|
|
5741
5806
|
super(...arguments);
|
|
@@ -5770,7 +5835,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
5770
5835
|
}
|
|
5771
5836
|
};
|
|
5772
5837
|
|
|
5773
|
-
// bazel-out/
|
|
5838
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
5774
5839
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
5775
5840
|
if (value instanceof Map) {
|
|
5776
5841
|
const name = value.get("name");
|
|
@@ -5846,7 +5911,7 @@ function isLikelyModuleWithProviders(value) {
|
|
|
5846
5911
|
return false;
|
|
5847
5912
|
}
|
|
5848
5913
|
|
|
5849
|
-
// bazel-out/
|
|
5914
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
5850
5915
|
var EMPTY_ARRAY2 = [];
|
|
5851
5916
|
var ComponentDecoratorHandler = class {
|
|
5852
5917
|
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) {
|
|
@@ -6490,7 +6555,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
6490
6555
|
return diagnostics;
|
|
6491
6556
|
}
|
|
6492
6557
|
|
|
6493
|
-
// bazel-out/
|
|
6558
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
6494
6559
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
6495
6560
|
import ts25 from "typescript";
|
|
6496
6561
|
var InjectableDecoratorHandler = class {
|
|
@@ -6707,7 +6772,7 @@ function getDep(dep, reflector) {
|
|
|
6707
6772
|
return meta;
|
|
6708
6773
|
}
|
|
6709
6774
|
|
|
6710
|
-
// bazel-out/
|
|
6775
|
+
// bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
6711
6776
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
6712
6777
|
import ts26 from "typescript";
|
|
6713
6778
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -6902,4 +6967,4 @@ export {
|
|
|
6902
6967
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6903
6968
|
* found in the LICENSE file at https://angular.io/license
|
|
6904
6969
|
*/
|
|
6905
|
-
//# sourceMappingURL=chunk-
|
|
6970
|
+
//# sourceMappingURL=chunk-QKS2XPFG.js.map
|