@angular/compiler-cli 17.0.0-next.6 → 17.0.0-next.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-DQ4T2KWL.js → chunk-3NXCUQ44.js} +8 -8
- package/bundles/{chunk-YPVFT2MR.js → chunk-C4TR4DIO.js} +4 -4
- package/bundles/{chunk-W653LDC7.js → chunk-CSOLWS7O.js} +7 -7
- package/bundles/{chunk-OULZQUKT.js → chunk-GYHDNUIK.js} +7 -7
- package/bundles/{chunk-URH5LEAG.js → chunk-HJOPJLIM.js} +5 -5
- package/bundles/{chunk-6MV5LVGW.js → chunk-I3FLXBLP.js} +84 -88
- package/bundles/{chunk-6MV5LVGW.js.map → chunk-I3FLXBLP.js.map} +1 -1
- package/bundles/{chunk-7HFK25CM.js → chunk-PAPUMJUA.js} +27 -27
- package/bundles/{chunk-7YXJWQNF.js → chunk-PBDWVP2J.js} +158 -138
- package/bundles/chunk-PBDWVP2J.js.map +6 -0
- package/bundles/{chunk-HICXNP7M.js → chunk-PYIYPY3X.js} +44 -40
- package/bundles/chunk-PYIYPY3X.js.map +6 -0
- package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-3O3O4L34.js → chunk-UHYH6BYB.js} +1 -1
- package/bundles/{chunk-T6QZTHEE.js → chunk-W3AMRN7J.js} +5 -5
- package/bundles/index.js +13 -13
- package/bundles/linker/babel/index.js +13 -13
- package/bundles/linker/index.js +5 -5
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +6 -6
- package/bundles/private/tooling.js +4 -4
- package/bundles/src/bin/ng_xi18n.js +11 -11
- package/bundles/src/bin/ngc.js +9 -9
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/partial_linker.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -0
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +1 -2
- package/src/ngtsc/annotations/component/src/resources.d.ts +0 -1
- package/src/ngtsc/core/src/compiler.d.ts +0 -1
- package/src/ngtsc/docs/src/class_extractor.d.ts +3 -1
- package/src/ngtsc/docs/src/entities.d.ts +2 -0
- package/src/ngtsc/docs/src/function_extractor.d.ts +1 -1
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +5 -4
- package/bundles/chunk-7YXJWQNF.js.map +0 -6
- package/bundles/chunk-HICXNP7M.js.map +0 -6
- /package/bundles/{chunk-DQ4T2KWL.js.map → chunk-3NXCUQ44.js.map} +0 -0
- /package/bundles/{chunk-YPVFT2MR.js.map → chunk-C4TR4DIO.js.map} +0 -0
- /package/bundles/{chunk-W653LDC7.js.map → chunk-CSOLWS7O.js.map} +0 -0
- /package/bundles/{chunk-OULZQUKT.js.map → chunk-GYHDNUIK.js.map} +0 -0
- /package/bundles/{chunk-URH5LEAG.js.map → chunk-HJOPJLIM.js.map} +0 -0
- /package/bundles/{chunk-7HFK25CM.js.map → chunk-PAPUMJUA.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-3O3O4L34.js.map → chunk-UHYH6BYB.js.map} +0 -0
- /package/bundles/{chunk-T6QZTHEE.js.map → chunk-W3AMRN7J.js.map} +0 -0
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
translateExpression,
|
|
8
8
|
translateStatement,
|
|
9
9
|
translateType
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3NXCUQ44.js";
|
|
11
11
|
import {
|
|
12
12
|
ClassMemberKind,
|
|
13
13
|
ErrorCode,
|
|
@@ -30,18 +30,18 @@ import {
|
|
|
30
30
|
reflectObjectLiteral,
|
|
31
31
|
reflectTypeEntityToDeclaration,
|
|
32
32
|
typeNodeToValueExpr
|
|
33
|
-
} from "./chunk-
|
|
33
|
+
} from "./chunk-PAPUMJUA.js";
|
|
34
34
|
import {
|
|
35
35
|
PerfEvent,
|
|
36
36
|
PerfPhase
|
|
37
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-HJOPJLIM.js";
|
|
38
38
|
import {
|
|
39
39
|
absoluteFrom,
|
|
40
40
|
absoluteFromSourceFile,
|
|
41
41
|
relative
|
|
42
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-CSOLWS7O.js";
|
|
43
43
|
|
|
44
|
-
// bazel-out/
|
|
44
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
45
45
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
46
46
|
import ts from "typescript";
|
|
47
47
|
function valueReferenceToExpression(valueRef) {
|
|
@@ -283,7 +283,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
283
283
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
284
284
|
}
|
|
285
285
|
|
|
286
|
-
// bazel-out/
|
|
286
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
287
287
|
var DynamicValue = class {
|
|
288
288
|
constructor(node, reason, code) {
|
|
289
289
|
this.node = node;
|
|
@@ -373,10 +373,10 @@ var DynamicValue = class {
|
|
|
373
373
|
}
|
|
374
374
|
};
|
|
375
375
|
|
|
376
|
-
// bazel-out/
|
|
376
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
377
377
|
import ts2 from "typescript";
|
|
378
378
|
|
|
379
|
-
// bazel-out/
|
|
379
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
380
380
|
var ResolvedModule = class {
|
|
381
381
|
constructor(exports, evaluate) {
|
|
382
382
|
this.exports = exports;
|
|
@@ -406,7 +406,7 @@ var EnumValue = class {
|
|
|
406
406
|
var KnownFn = class {
|
|
407
407
|
};
|
|
408
408
|
|
|
409
|
-
// bazel-out/
|
|
409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
410
410
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
411
411
|
constructor(lhs) {
|
|
412
412
|
super();
|
|
@@ -458,14 +458,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
458
458
|
}
|
|
459
459
|
};
|
|
460
460
|
|
|
461
|
-
// bazel-out/
|
|
461
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
462
462
|
var SyntheticValue = class {
|
|
463
463
|
constructor(value) {
|
|
464
464
|
this.value = value;
|
|
465
465
|
}
|
|
466
466
|
};
|
|
467
467
|
|
|
468
|
-
// bazel-out/
|
|
468
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
469
469
|
function literalBinaryOp(op) {
|
|
470
470
|
return { op, literal: true };
|
|
471
471
|
}
|
|
@@ -1046,7 +1046,7 @@ function getOriginalKeywordKind(identifier) {
|
|
|
1046
1046
|
return typeof ts2.identifierToKeywordKind === "function" ? ts2.identifierToKeywordKind(identifier) : identifier.originalKeywordKind;
|
|
1047
1047
|
}
|
|
1048
1048
|
|
|
1049
|
-
// bazel-out/
|
|
1049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1050
1050
|
var PartialEvaluator = class {
|
|
1051
1051
|
constructor(host, checker, dependencyTracker) {
|
|
1052
1052
|
this.host = host;
|
|
@@ -1066,7 +1066,7 @@ var PartialEvaluator = class {
|
|
|
1066
1066
|
}
|
|
1067
1067
|
};
|
|
1068
1068
|
|
|
1069
|
-
// bazel-out/
|
|
1069
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1070
1070
|
import ts3 from "typescript";
|
|
1071
1071
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1072
1072
|
var _a, _b;
|
|
@@ -1196,11 +1196,11 @@ function getContainerNode(node) {
|
|
|
1196
1196
|
return node.getSourceFile();
|
|
1197
1197
|
}
|
|
1198
1198
|
|
|
1199
|
-
// bazel-out/
|
|
1199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1200
1200
|
import { LiteralExpr, ReadPropExpr as ReadPropExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1201
1201
|
import ts10 from "typescript";
|
|
1202
1202
|
|
|
1203
|
-
// bazel-out/
|
|
1203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
1204
1204
|
var CompilationMode;
|
|
1205
1205
|
(function(CompilationMode2) {
|
|
1206
1206
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -1214,7 +1214,7 @@ var HandlerPrecedence;
|
|
|
1214
1214
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
1215
1215
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
1216
1216
|
|
|
1217
|
-
// bazel-out/
|
|
1217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
1218
1218
|
import ts4 from "typescript";
|
|
1219
1219
|
function aliasTransformFactory(exportStatements) {
|
|
1220
1220
|
return () => {
|
|
@@ -1237,10 +1237,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
1237
1237
|
};
|
|
1238
1238
|
}
|
|
1239
1239
|
|
|
1240
|
-
// bazel-out/
|
|
1240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
1241
1241
|
import ts5 from "typescript";
|
|
1242
1242
|
|
|
1243
|
-
// bazel-out/
|
|
1243
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
1244
1244
|
var TraitState;
|
|
1245
1245
|
(function(TraitState2) {
|
|
1246
1246
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -1297,7 +1297,7 @@ var TraitImpl = class {
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
-
// bazel-out/
|
|
1300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
1301
1301
|
var TraitCompiler = class {
|
|
1302
1302
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
1303
1303
|
this.handlers = handlers;
|
|
@@ -1745,10 +1745,10 @@ function containsErrors(diagnostics) {
|
|
|
1745
1745
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts5.DiagnosticCategory.Error);
|
|
1746
1746
|
}
|
|
1747
1747
|
|
|
1748
|
-
// bazel-out/
|
|
1748
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
1749
1749
|
import ts7 from "typescript";
|
|
1750
1750
|
|
|
1751
|
-
// bazel-out/
|
|
1751
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
|
|
1752
1752
|
import ts6 from "typescript";
|
|
1753
1753
|
function addImports(importManager, sf, extraStatements = []) {
|
|
1754
1754
|
const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
|
|
@@ -1784,7 +1784,7 @@ function isImportStatement(stmt) {
|
|
|
1784
1784
|
return ts6.isImportDeclaration(stmt) || ts6.isImportEqualsDeclaration(stmt) || ts6.isNamespaceImport(stmt);
|
|
1785
1785
|
}
|
|
1786
1786
|
|
|
1787
|
-
// bazel-out/
|
|
1787
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
1788
1788
|
var DtsTransformRegistry = class {
|
|
1789
1789
|
constructor() {
|
|
1790
1790
|
this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -1931,11 +1931,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
1931
1931
|
ts7.forEachChild(node, markForEmitAsSingleLine);
|
|
1932
1932
|
}
|
|
1933
1933
|
|
|
1934
|
-
// bazel-out/
|
|
1934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
1935
1935
|
import { ConstantPool } from "@angular/compiler";
|
|
1936
1936
|
import ts9 from "typescript";
|
|
1937
1937
|
|
|
1938
|
-
// bazel-out/
|
|
1938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
1939
1939
|
import ts8 from "typescript";
|
|
1940
1940
|
function visit(node, visitor, context) {
|
|
1941
1941
|
return visitor._visit(node, context);
|
|
@@ -1996,7 +1996,7 @@ var Visitor = class {
|
|
|
1996
1996
|
}
|
|
1997
1997
|
};
|
|
1998
1998
|
|
|
1999
|
-
// bazel-out/
|
|
1999
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2000
2000
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
2001
2001
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
2002
2002
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -2220,7 +2220,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
2220
2220
|
return array;
|
|
2221
2221
|
}
|
|
2222
2222
|
|
|
2223
|
-
// bazel-out/
|
|
2223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
2224
2224
|
function getConstructorDependencies(clazz, reflector, isCore, compilationMode) {
|
|
2225
2225
|
const deps = [];
|
|
2226
2226
|
const errors = [];
|
|
@@ -2377,10 +2377,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
2377
2377
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
2378
2378
|
}
|
|
2379
2379
|
|
|
2380
|
-
// bazel-out/
|
|
2380
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
2381
2381
|
import ts13 from "typescript";
|
|
2382
2382
|
|
|
2383
|
-
// bazel-out/
|
|
2383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
2384
2384
|
var MetaKind;
|
|
2385
2385
|
(function(MetaKind2) {
|
|
2386
2386
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -2393,10 +2393,10 @@ var MatchSource;
|
|
|
2393
2393
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
2394
2394
|
})(MatchSource || (MatchSource = {}));
|
|
2395
2395
|
|
|
2396
|
-
// bazel-out/
|
|
2396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2397
2397
|
import ts12 from "typescript";
|
|
2398
2398
|
|
|
2399
|
-
// bazel-out/
|
|
2399
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
2400
2400
|
var ClassPropertyMapping = class {
|
|
2401
2401
|
constructor(forwardMap) {
|
|
2402
2402
|
this.forwardMap = forwardMap;
|
|
@@ -2474,7 +2474,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
2474
2474
|
return reverseMap;
|
|
2475
2475
|
}
|
|
2476
2476
|
|
|
2477
|
-
// bazel-out/
|
|
2477
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
2478
2478
|
import ts11 from "typescript";
|
|
2479
2479
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
2480
2480
|
if (!ts11.isTupleTypeNode(def)) {
|
|
@@ -2658,7 +2658,7 @@ function hasInjectableFields(clazz, host) {
|
|
|
2658
2658
|
return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
|
|
2659
2659
|
}
|
|
2660
2660
|
|
|
2661
|
-
// bazel-out/
|
|
2661
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
2662
2662
|
var DtsMetadataReader = class {
|
|
2663
2663
|
constructor(checker, reflector) {
|
|
2664
2664
|
this.checker = checker;
|
|
@@ -2833,7 +2833,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
2833
2833
|
return result.length > 0 ? result : null;
|
|
2834
2834
|
}
|
|
2835
2835
|
|
|
2836
|
-
// bazel-out/
|
|
2836
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
2837
2837
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
2838
2838
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
2839
2839
|
if (topMeta === null) {
|
|
@@ -2891,7 +2891,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
2891
2891
|
};
|
|
2892
2892
|
}
|
|
2893
2893
|
|
|
2894
|
-
// bazel-out/
|
|
2894
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
2895
2895
|
var LocalMetadataRegistry = class {
|
|
2896
2896
|
constructor() {
|
|
2897
2897
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2948,7 +2948,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2948
2948
|
}
|
|
2949
2949
|
};
|
|
2950
2950
|
|
|
2951
|
-
// bazel-out/
|
|
2951
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2952
2952
|
var ResourceRegistry = class {
|
|
2953
2953
|
constructor() {
|
|
2954
2954
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -3013,7 +3013,7 @@ var ResourceRegistry = class {
|
|
|
3013
3013
|
}
|
|
3014
3014
|
};
|
|
3015
3015
|
|
|
3016
|
-
// bazel-out/
|
|
3016
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
3017
3017
|
var ExportedProviderStatusResolver = class {
|
|
3018
3018
|
constructor(metaReader) {
|
|
3019
3019
|
this.metaReader = metaReader;
|
|
@@ -3057,7 +3057,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
3057
3057
|
}
|
|
3058
3058
|
};
|
|
3059
3059
|
|
|
3060
|
-
// bazel-out/
|
|
3060
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
3061
3061
|
var EMPTY_ARRAY = [];
|
|
3062
3062
|
var HostDirectivesResolver = class {
|
|
3063
3063
|
constructor(metaReader) {
|
|
@@ -3119,7 +3119,7 @@ function resolveOutput(bindingName) {
|
|
|
3119
3119
|
return bindingName;
|
|
3120
3120
|
}
|
|
3121
3121
|
|
|
3122
|
-
// bazel-out/
|
|
3122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3123
3123
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3124
3124
|
const context = [];
|
|
3125
3125
|
for (const decl of data) {
|
|
@@ -3315,7 +3315,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
|
|
|
3315
3315
|
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}.`);
|
|
3316
3316
|
}
|
|
3317
3317
|
|
|
3318
|
-
// bazel-out/
|
|
3318
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3319
3319
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3320
3320
|
import ts14 from "typescript";
|
|
3321
3321
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3366,7 +3366,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3366
3366
|
return meta;
|
|
3367
3367
|
}
|
|
3368
3368
|
|
|
3369
|
-
// bazel-out/
|
|
3369
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3370
3370
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3371
3371
|
function compileNgFactoryDefField(metadata) {
|
|
3372
3372
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3389,7 +3389,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3389
3389
|
};
|
|
3390
3390
|
}
|
|
3391
3391
|
|
|
3392
|
-
// bazel-out/
|
|
3392
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3393
3393
|
var InjectableClassRegistry = class {
|
|
3394
3394
|
constructor(host, isCore) {
|
|
3395
3395
|
this.host = host;
|
|
@@ -3415,7 +3415,7 @@ var InjectableClassRegistry = class {
|
|
|
3415
3415
|
}
|
|
3416
3416
|
};
|
|
3417
3417
|
|
|
3418
|
-
// bazel-out/
|
|
3418
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3419
3419
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3420
3420
|
import ts15 from "typescript";
|
|
3421
3421
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3500,13 +3500,13 @@ function removeIdentifierReferences(node, names) {
|
|
|
3500
3500
|
return result.transformed[0];
|
|
3501
3501
|
}
|
|
3502
3502
|
|
|
3503
|
-
// bazel-out/
|
|
3503
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3504
3504
|
var NoopReferencesRegistry = class {
|
|
3505
3505
|
add(source, ...references) {
|
|
3506
3506
|
}
|
|
3507
3507
|
};
|
|
3508
3508
|
|
|
3509
|
-
// bazel-out/
|
|
3509
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3510
3510
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3511
3511
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3512
3512
|
const schemas = [];
|
|
@@ -3536,7 +3536,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3536
3536
|
return schemas;
|
|
3537
3537
|
}
|
|
3538
3538
|
|
|
3539
|
-
// bazel-out/
|
|
3539
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3540
3540
|
import { outputAst } from "@angular/compiler";
|
|
3541
3541
|
function compileInputTransformFields(inputs) {
|
|
3542
3542
|
const extraFields = [];
|
|
@@ -3554,11 +3554,11 @@ function compileInputTransformFields(inputs) {
|
|
|
3554
3554
|
return extraFields;
|
|
3555
3555
|
}
|
|
3556
3556
|
|
|
3557
|
-
// bazel-out/
|
|
3557
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3558
3558
|
import { compileClassMetadata as compileClassMetadata3, compileComponentClassMetadata, 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 as ViewEncapsulation2, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
3559
3559
|
import ts24 from "typescript";
|
|
3560
3560
|
|
|
3561
|
-
// bazel-out/
|
|
3561
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3562
3562
|
import ts16 from "typescript";
|
|
3563
3563
|
var SemanticSymbol = class {
|
|
3564
3564
|
constructor(decl) {
|
|
@@ -3574,7 +3574,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3574
3574
|
return decl.name.text;
|
|
3575
3575
|
}
|
|
3576
3576
|
|
|
3577
|
-
// bazel-out/
|
|
3577
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3578
3578
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3579
3579
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3580
3580
|
isPublicApiAffected() {
|
|
@@ -3717,10 +3717,10 @@ function getImportPath(expr) {
|
|
|
3717
3717
|
}
|
|
3718
3718
|
}
|
|
3719
3719
|
|
|
3720
|
-
// bazel-out/
|
|
3720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3721
3721
|
import ts17 from "typescript";
|
|
3722
3722
|
|
|
3723
|
-
// bazel-out/
|
|
3723
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3724
3724
|
function isSymbolEqual(a, b) {
|
|
3725
3725
|
if (a.decl === b.decl) {
|
|
3726
3726
|
return true;
|
|
@@ -3770,7 +3770,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3770
3770
|
return true;
|
|
3771
3771
|
}
|
|
3772
3772
|
|
|
3773
|
-
// bazel-out/
|
|
3773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3774
3774
|
function extractSemanticTypeParameters(node) {
|
|
3775
3775
|
if (!ts17.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3776
3776
|
return null;
|
|
@@ -3790,14 +3790,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3790
3790
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3791
3791
|
}
|
|
3792
3792
|
|
|
3793
|
-
// bazel-out/
|
|
3793
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3794
3794
|
var ComponentScopeKind;
|
|
3795
3795
|
(function(ComponentScopeKind2) {
|
|
3796
3796
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3797
3797
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3798
3798
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3799
3799
|
|
|
3800
|
-
// bazel-out/
|
|
3800
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3801
3801
|
var CompoundComponentScopeReader = class {
|
|
3802
3802
|
constructor(readers) {
|
|
3803
3803
|
this.readers = readers;
|
|
@@ -3822,7 +3822,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
};
|
|
3824
3824
|
|
|
3825
|
-
// bazel-out/
|
|
3825
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3826
3826
|
var MetadataDtsModuleScopeResolver = class {
|
|
3827
3827
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3828
3828
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -3898,11 +3898,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
3898
3898
|
}
|
|
3899
3899
|
};
|
|
3900
3900
|
|
|
3901
|
-
// bazel-out/
|
|
3901
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
3902
3902
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
3903
3903
|
import ts18 from "typescript";
|
|
3904
3904
|
|
|
3905
|
-
// bazel-out/
|
|
3905
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
3906
3906
|
function getDiagnosticNode(ref, rawExpr) {
|
|
3907
3907
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
3908
3908
|
}
|
|
@@ -3925,7 +3925,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
|
|
|
3925
3925
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
|
|
3926
3926
|
}
|
|
3927
3927
|
|
|
3928
|
-
// bazel-out/
|
|
3928
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
3929
3929
|
var LocalModuleScopeRegistry = class {
|
|
3930
3930
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
3931
3931
|
this.localReader = localReader;
|
|
@@ -4264,7 +4264,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4264
4264
|
]);
|
|
4265
4265
|
}
|
|
4266
4266
|
|
|
4267
|
-
// bazel-out/
|
|
4267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4268
4268
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4269
4269
|
import ts19 from "typescript";
|
|
4270
4270
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4333,10 +4333,10 @@ var TypeCheckScopeRegistry = class {
|
|
|
4333
4333
|
}
|
|
4334
4334
|
};
|
|
4335
4335
|
|
|
4336
|
-
// bazel-out/
|
|
4336
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4337
4337
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4338
4338
|
|
|
4339
|
-
// bazel-out/
|
|
4339
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4340
4340
|
import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
4341
4341
|
import ts20 from "typescript";
|
|
4342
4342
|
var EMPTY_OBJECT = {};
|
|
@@ -4925,7 +4925,7 @@ function toR3InputMetadata(mapping) {
|
|
|
4925
4925
|
};
|
|
4926
4926
|
}
|
|
4927
4927
|
|
|
4928
|
-
// bazel-out/
|
|
4928
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
4929
4929
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
4930
4930
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
4931
4931
|
super(decl);
|
|
@@ -5005,7 +5005,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5005
5005
|
return isSymbolEqual(current, previous);
|
|
5006
5006
|
}
|
|
5007
5007
|
|
|
5008
|
-
// bazel-out/
|
|
5008
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5009
5009
|
var FIELD_DECORATORS = [
|
|
5010
5010
|
"Input",
|
|
5011
5011
|
"Output",
|
|
@@ -5177,11 +5177,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5177
5177
|
}
|
|
5178
5178
|
};
|
|
5179
5179
|
|
|
5180
|
-
// bazel-out/
|
|
5180
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5181
5181
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
5182
5182
|
import ts22 from "typescript";
|
|
5183
5183
|
|
|
5184
|
-
// bazel-out/
|
|
5184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5185
5185
|
import ts21 from "typescript";
|
|
5186
5186
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5187
5187
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5248,7 +5248,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5248
5248
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5249
5249
|
}
|
|
5250
5250
|
|
|
5251
|
-
// bazel-out/
|
|
5251
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5252
5252
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5253
5253
|
constructor(decl, hasProviders) {
|
|
5254
5254
|
super(decl);
|
|
@@ -5817,7 +5817,7 @@ function isSyntheticReference(ref) {
|
|
|
5817
5817
|
return ref.synthetic;
|
|
5818
5818
|
}
|
|
5819
5819
|
|
|
5820
|
-
// bazel-out/
|
|
5820
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
5821
5821
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
5822
5822
|
const name = ref.debugName || "(unknown)";
|
|
5823
5823
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -5840,7 +5840,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
5840
5840
|
return null;
|
|
5841
5841
|
}
|
|
5842
5842
|
|
|
5843
|
-
// bazel-out/
|
|
5843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
5844
5844
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
5845
5845
|
import ts23 from "typescript";
|
|
5846
5846
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -5929,8 +5929,7 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
5929
5929
|
escapedString,
|
|
5930
5930
|
enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
|
|
5931
5931
|
i18nNormalizeLineEndingsInICUs,
|
|
5932
|
-
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
|
|
5933
|
-
enabledBlockTypes: options.enabledBlockTypes
|
|
5932
|
+
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
|
|
5934
5933
|
});
|
|
5935
5934
|
const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
|
|
5936
5935
|
preserveWhitespaces: true,
|
|
@@ -5941,8 +5940,7 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
5941
5940
|
enableI18nLegacyMessageIdFormat: options.enableI18nLegacyMessageIdFormat,
|
|
5942
5941
|
i18nNormalizeLineEndingsInICUs,
|
|
5943
5942
|
leadingTriviaChars: [],
|
|
5944
|
-
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
|
|
5945
|
-
enabledBlockTypes: options.enabledBlockTypes
|
|
5943
|
+
alwaysAttemptHtmlToR3AstConversion: options.usePoisonedData
|
|
5946
5944
|
});
|
|
5947
5945
|
return {
|
|
5948
5946
|
...parsedTemplate,
|
|
@@ -6199,7 +6197,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
6199
6197
|
return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
|
|
6200
6198
|
}
|
|
6201
6199
|
|
|
6202
|
-
// bazel-out/
|
|
6200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6203
6201
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6204
6202
|
constructor() {
|
|
6205
6203
|
super(...arguments);
|
|
@@ -6234,7 +6232,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6234
6232
|
}
|
|
6235
6233
|
};
|
|
6236
6234
|
|
|
6237
|
-
// bazel-out/
|
|
6235
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6238
6236
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6239
6237
|
if (value instanceof Map) {
|
|
6240
6238
|
const name = value.get("name");
|
|
@@ -6310,12 +6308,12 @@ function isLikelyModuleWithProviders(value) {
|
|
|
6310
6308
|
return false;
|
|
6311
6309
|
}
|
|
6312
6310
|
|
|
6313
|
-
// bazel-out/
|
|
6311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
6314
6312
|
var EMPTY_ARRAY2 = [];
|
|
6315
6313
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
6316
6314
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
6317
6315
|
var ComponentDecoratorHandler = class {
|
|
6318
|
-
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs,
|
|
6316
|
+
constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver, includeClassMetadata, compilationMode, deferredSymbolTracker) {
|
|
6319
6317
|
this.reflector = reflector;
|
|
6320
6318
|
this.evaluator = evaluator;
|
|
6321
6319
|
this.metaRegistry = metaRegistry;
|
|
@@ -6334,7 +6332,6 @@ var ComponentDecoratorHandler = class {
|
|
|
6334
6332
|
this.enableI18nLegacyMessageIdFormat = enableI18nLegacyMessageIdFormat;
|
|
6335
6333
|
this.usePoisonedData = usePoisonedData;
|
|
6336
6334
|
this.i18nNormalizeLineEndingsInICUs = i18nNormalizeLineEndingsInICUs;
|
|
6337
|
-
this.enabledBlockTypes = enabledBlockTypes;
|
|
6338
6335
|
this.moduleResolver = moduleResolver;
|
|
6339
6336
|
this.cycleAnalyzer = cycleAnalyzer;
|
|
6340
6337
|
this.cycleHandlingStrategy = cycleHandlingStrategy;
|
|
@@ -6358,8 +6355,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6358
6355
|
this.extractTemplateOptions = {
|
|
6359
6356
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
6360
6357
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
6361
|
-
usePoisonedData: this.usePoisonedData
|
|
6362
|
-
enabledBlockTypes: this.enabledBlockTypes
|
|
6358
|
+
usePoisonedData: this.usePoisonedData
|
|
6363
6359
|
};
|
|
6364
6360
|
}
|
|
6365
6361
|
detect(node, decorators) {
|
|
@@ -6512,8 +6508,7 @@ var ComponentDecoratorHandler = class {
|
|
|
6512
6508
|
template = extractTemplate(node, templateDecl, this.evaluator, this.depTracker, this.resourceLoader, {
|
|
6513
6509
|
enableI18nLegacyMessageIdFormat: this.enableI18nLegacyMessageIdFormat,
|
|
6514
6510
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
6515
|
-
usePoisonedData: this.usePoisonedData
|
|
6516
|
-
enabledBlockTypes: this.enabledBlockTypes
|
|
6511
|
+
usePoisonedData: this.usePoisonedData
|
|
6517
6512
|
}, this.compilationMode);
|
|
6518
6513
|
}
|
|
6519
6514
|
const templateResource = template.declaration.isInline ? { path: null, expression: component.get("template") } : {
|
|
@@ -7042,7 +7037,8 @@ var ComponentDecoratorHandler = class {
|
|
|
7042
7037
|
resolutionData.deferBlocks.set(deferBlock, { deps, triggerElements });
|
|
7043
7038
|
}
|
|
7044
7039
|
if (analysisData.meta.isStandalone && analysisData.rawImports !== null && ts24.isArrayLiteralExpression(analysisData.rawImports)) {
|
|
7045
|
-
for (const
|
|
7040
|
+
for (const element of analysisData.rawImports.elements) {
|
|
7041
|
+
const node = tryUnwrapForwardRef(element, this.reflector) || element;
|
|
7046
7042
|
if (!ts24.isIdentifier(node)) {
|
|
7047
7043
|
continue;
|
|
7048
7044
|
}
|
|
@@ -7112,7 +7108,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
|
|
|
7112
7108
|
return diagnostics;
|
|
7113
7109
|
}
|
|
7114
7110
|
|
|
7115
|
-
// bazel-out/
|
|
7111
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
7116
7112
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
7117
7113
|
import ts25 from "typescript";
|
|
7118
7114
|
var InjectableDecoratorHandler = class {
|
|
@@ -7338,7 +7334,7 @@ function getDep(dep, reflector) {
|
|
|
7338
7334
|
return meta;
|
|
7339
7335
|
}
|
|
7340
7336
|
|
|
7341
|
-
// bazel-out/
|
|
7337
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
7342
7338
|
import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
7343
7339
|
import ts26 from "typescript";
|
|
7344
7340
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -7490,14 +7486,14 @@ var PipeDecoratorHandler = class {
|
|
|
7490
7486
|
}
|
|
7491
7487
|
};
|
|
7492
7488
|
|
|
7493
|
-
// bazel-out/
|
|
7489
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
7494
7490
|
var OptimizeFor;
|
|
7495
7491
|
(function(OptimizeFor2) {
|
|
7496
7492
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
7497
7493
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
7498
7494
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
7499
7495
|
|
|
7500
|
-
// bazel-out/
|
|
7496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
7501
7497
|
var PotentialImportKind;
|
|
7502
7498
|
(function(PotentialImportKind2) {
|
|
7503
7499
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -7509,14 +7505,14 @@ var PotentialImportMode;
|
|
|
7509
7505
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
7510
7506
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
7511
7507
|
|
|
7512
|
-
// bazel-out/
|
|
7508
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
7513
7509
|
var CompletionKind;
|
|
7514
7510
|
(function(CompletionKind2) {
|
|
7515
7511
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
7516
7512
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
7517
7513
|
})(CompletionKind || (CompletionKind = {}));
|
|
7518
7514
|
|
|
7519
|
-
// bazel-out/
|
|
7515
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
7520
7516
|
var SymbolKind;
|
|
7521
7517
|
(function(SymbolKind2) {
|
|
7522
7518
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -7584,4 +7580,4 @@ export {
|
|
|
7584
7580
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7585
7581
|
* found in the LICENSE file at https://angular.io/license
|
|
7586
7582
|
*/
|
|
7587
|
-
//# sourceMappingURL=chunk-
|
|
7583
|
+
//# sourceMappingURL=chunk-I3FLXBLP.js.map
|