@angular/compiler-cli 19.0.0-next.0 → 19.0.0-next.2
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-JA5OGHV4.js → chunk-4R27633S.js} +3 -3
- package/bundles/{chunk-WYWH4ABE.js → chunk-5DVL3S3Z.js} +43 -43
- package/bundles/{chunk-KCKRBU6N.js → chunk-B4ZOGV3N.js} +31 -31
- package/bundles/{chunk-TOHNTVMY.js → chunk-LYN2P66H.js} +86 -84
- package/bundles/chunk-LYN2P66H.js.map +6 -0
- package/bundles/{chunk-2SSA4Y5F.js → chunk-R3PIQMGX.js} +178 -178
- package/bundles/chunk-R3PIQMGX.js.map +6 -0
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-ERN7RQQ7.js → chunk-THQF5ZZE.js} +5 -5
- package/bundles/{chunk-ZHNORXPH.js → chunk-W4UV2VRG.js} +12 -12
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/{chunk-QTQ6EDMV.js → chunk-YFWSLIDV.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- 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 +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +4 -3
- package/src/ngtsc/core/api/src/public_options.d.ts +7 -0
- package/bundles/chunk-2SSA4Y5F.js.map +0 -6
- package/bundles/chunk-TOHNTVMY.js.map +0 -6
- /package/bundles/{chunk-JA5OGHV4.js.map → chunk-4R27633S.js.map} +0 -0
- /package/bundles/{chunk-WYWH4ABE.js.map → chunk-5DVL3S3Z.js.map} +0 -0
- /package/bundles/{chunk-KCKRBU6N.js.map → chunk-B4ZOGV3N.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-ERN7RQQ7.js.map → chunk-THQF5ZZE.js.map} +0 -0
- /package/bundles/{chunk-ZHNORXPH.js.map → chunk-W4UV2VRG.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
- /package/bundles/{chunk-QTQ6EDMV.js.map → chunk-YFWSLIDV.js.map} +0 -0
|
@@ -45,20 +45,20 @@ import {
|
|
|
45
45
|
translateStatement,
|
|
46
46
|
translateType,
|
|
47
47
|
typeNodeToValueExpr
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-5DVL3S3Z.js";
|
|
49
49
|
import {
|
|
50
50
|
PerfCheckpoint,
|
|
51
51
|
PerfEvent,
|
|
52
52
|
PerfPhase
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-THQF5ZZE.js";
|
|
54
54
|
import {
|
|
55
55
|
absoluteFrom,
|
|
56
56
|
absoluteFromSourceFile,
|
|
57
57
|
getSourceFileOrError,
|
|
58
58
|
relative
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-XNL3EK5H.js";
|
|
60
60
|
|
|
61
|
-
// bazel-out/
|
|
61
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
|
|
62
62
|
import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
|
|
63
63
|
import ts from "typescript";
|
|
64
64
|
var CORE_MODULE = "@angular/core";
|
|
@@ -317,7 +317,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
317
317
|
return ts.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword) : false;
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
|
|
321
321
|
var DynamicValue = class {
|
|
322
322
|
constructor(node, reason, code) {
|
|
323
323
|
this.node = node;
|
|
@@ -407,10 +407,10 @@ var DynamicValue = class {
|
|
|
407
407
|
}
|
|
408
408
|
};
|
|
409
409
|
|
|
410
|
-
// bazel-out/
|
|
410
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
411
411
|
import ts2 from "typescript";
|
|
412
412
|
|
|
413
|
-
// bazel-out/
|
|
413
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
|
|
414
414
|
var ResolvedModule = class {
|
|
415
415
|
constructor(exports, evaluate) {
|
|
416
416
|
this.exports = exports;
|
|
@@ -440,7 +440,7 @@ var EnumValue = class {
|
|
|
440
440
|
var KnownFn = class {
|
|
441
441
|
};
|
|
442
442
|
|
|
443
|
-
// bazel-out/
|
|
443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
|
|
444
444
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
445
445
|
constructor(lhs) {
|
|
446
446
|
super();
|
|
@@ -492,14 +492,14 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
492
492
|
}
|
|
493
493
|
};
|
|
494
494
|
|
|
495
|
-
// bazel-out/
|
|
495
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
|
|
496
496
|
var SyntheticValue = class {
|
|
497
497
|
constructor(value) {
|
|
498
498
|
this.value = value;
|
|
499
499
|
}
|
|
500
500
|
};
|
|
501
501
|
|
|
502
|
-
// bazel-out/
|
|
502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
|
|
503
503
|
function literalBinaryOp(op) {
|
|
504
504
|
return { op, literal: true };
|
|
505
505
|
}
|
|
@@ -1077,7 +1077,7 @@ function owningModule(context, override = null) {
|
|
|
1077
1077
|
}
|
|
1078
1078
|
}
|
|
1079
1079
|
|
|
1080
|
-
// bazel-out/
|
|
1080
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
|
|
1081
1081
|
var PartialEvaluator = class {
|
|
1082
1082
|
constructor(host, checker, dependencyTracker) {
|
|
1083
1083
|
this.host = host;
|
|
@@ -1097,7 +1097,7 @@ var PartialEvaluator = class {
|
|
|
1097
1097
|
}
|
|
1098
1098
|
};
|
|
1099
1099
|
|
|
1100
|
-
// bazel-out/
|
|
1100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
|
|
1101
1101
|
import ts3 from "typescript";
|
|
1102
1102
|
function describeResolvedType(value, maxDepth = 1) {
|
|
1103
1103
|
var _a, _b;
|
|
@@ -1231,14 +1231,14 @@ function getContainerNode(node) {
|
|
|
1231
1231
|
return node.getSourceFile();
|
|
1232
1232
|
}
|
|
1233
1233
|
|
|
1234
|
-
// bazel-out/
|
|
1234
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
|
|
1235
1235
|
var OptimizeFor;
|
|
1236
1236
|
(function(OptimizeFor2) {
|
|
1237
1237
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
1238
1238
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
1239
1239
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
1240
1240
|
|
|
1241
|
-
// bazel-out/
|
|
1241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
1242
1242
|
var PotentialImportKind;
|
|
1243
1243
|
(function(PotentialImportKind2) {
|
|
1244
1244
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -1250,7 +1250,7 @@ var PotentialImportMode;
|
|
|
1250
1250
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
1251
1251
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
1252
1252
|
|
|
1253
|
-
// bazel-out/
|
|
1253
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
1254
1254
|
var CompletionKind;
|
|
1255
1255
|
(function(CompletionKind2) {
|
|
1256
1256
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -1258,7 +1258,7 @@ var CompletionKind;
|
|
|
1258
1258
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
1259
1259
|
})(CompletionKind || (CompletionKind = {}));
|
|
1260
1260
|
|
|
1261
|
-
// bazel-out/
|
|
1261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
1262
1262
|
var SymbolKind;
|
|
1263
1263
|
(function(SymbolKind2) {
|
|
1264
1264
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -1275,7 +1275,7 @@ var SymbolKind;
|
|
|
1275
1275
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
1276
1276
|
})(SymbolKind || (SymbolKind = {}));
|
|
1277
1277
|
|
|
1278
|
-
// bazel-out/
|
|
1278
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
|
|
1279
1279
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1280
1280
|
import ts4 from "typescript";
|
|
1281
1281
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -1421,10 +1421,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
1421
1421
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
1422
1422
|
}
|
|
1423
1423
|
|
|
1424
|
-
// bazel-out/
|
|
1424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
1425
1425
|
import ts12 from "typescript";
|
|
1426
1426
|
|
|
1427
|
-
// bazel-out/
|
|
1427
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
|
|
1428
1428
|
var MetaKind;
|
|
1429
1429
|
(function(MetaKind2) {
|
|
1430
1430
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -1437,10 +1437,10 @@ var MatchSource;
|
|
|
1437
1437
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
1438
1438
|
})(MatchSource || (MatchSource = {}));
|
|
1439
1439
|
|
|
1440
|
-
// bazel-out/
|
|
1440
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1441
1441
|
import ts6 from "typescript";
|
|
1442
1442
|
|
|
1443
|
-
// bazel-out/
|
|
1443
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
|
|
1444
1444
|
var ClassPropertyMapping = class {
|
|
1445
1445
|
constructor(forwardMap) {
|
|
1446
1446
|
this.forwardMap = forwardMap;
|
|
@@ -1520,7 +1520,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
1520
1520
|
return reverseMap;
|
|
1521
1521
|
}
|
|
1522
1522
|
|
|
1523
|
-
// bazel-out/
|
|
1523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
|
|
1524
1524
|
import ts5 from "typescript";
|
|
1525
1525
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
1526
1526
|
if (!ts5.isTupleTypeNode(def)) {
|
|
@@ -1716,7 +1716,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
1716
1716
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
1717
1717
|
}
|
|
1718
1718
|
|
|
1719
|
-
// bazel-out/
|
|
1719
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
|
|
1720
1720
|
var DtsMetadataReader = class {
|
|
1721
1721
|
constructor(checker, reflector) {
|
|
1722
1722
|
this.checker = checker;
|
|
@@ -1900,7 +1900,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1900
1900
|
return result.length > 0 ? result : null;
|
|
1901
1901
|
}
|
|
1902
1902
|
|
|
1903
|
-
// bazel-out/
|
|
1903
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1904
1904
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1905
1905
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1906
1906
|
if (topMeta === null) {
|
|
@@ -1964,7 +1964,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1964
1964
|
};
|
|
1965
1965
|
}
|
|
1966
1966
|
|
|
1967
|
-
// bazel-out/
|
|
1967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1968
1968
|
var LocalMetadataRegistry = class {
|
|
1969
1969
|
constructor() {
|
|
1970
1970
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2021,7 +2021,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2021
2021
|
}
|
|
2022
2022
|
};
|
|
2023
2023
|
|
|
2024
|
-
// bazel-out/
|
|
2024
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2025
2025
|
var ResourceRegistry = class {
|
|
2026
2026
|
constructor() {
|
|
2027
2027
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2086,7 +2086,7 @@ var ResourceRegistry = class {
|
|
|
2086
2086
|
}
|
|
2087
2087
|
};
|
|
2088
2088
|
|
|
2089
|
-
// bazel-out/
|
|
2089
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
2090
2090
|
var ExportedProviderStatusResolver = class {
|
|
2091
2091
|
constructor(metaReader) {
|
|
2092
2092
|
this.metaReader = metaReader;
|
|
@@ -2130,7 +2130,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
2130
2130
|
}
|
|
2131
2131
|
};
|
|
2132
2132
|
|
|
2133
|
-
// bazel-out/
|
|
2133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2134
2134
|
var EMPTY_ARRAY = [];
|
|
2135
2135
|
var HostDirectivesResolver = class {
|
|
2136
2136
|
constructor(metaReader) {
|
|
@@ -2196,7 +2196,7 @@ function resolveOutput(bindingName) {
|
|
|
2196
2196
|
return bindingName;
|
|
2197
2197
|
}
|
|
2198
2198
|
|
|
2199
|
-
// bazel-out/
|
|
2199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2200
2200
|
var CompilationMode;
|
|
2201
2201
|
(function(CompilationMode2) {
|
|
2202
2202
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2210,7 +2210,7 @@ var HandlerPrecedence;
|
|
|
2210
2210
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
2211
2211
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
2212
2212
|
|
|
2213
|
-
// bazel-out/
|
|
2213
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2214
2214
|
import ts7 from "typescript";
|
|
2215
2215
|
function aliasTransformFactory(exportStatements) {
|
|
2216
2216
|
return () => {
|
|
@@ -2235,10 +2235,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2235
2235
|
};
|
|
2236
2236
|
}
|
|
2237
2237
|
|
|
2238
|
-
// bazel-out/
|
|
2238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2239
2239
|
import ts8 from "typescript";
|
|
2240
2240
|
|
|
2241
|
-
// bazel-out/
|
|
2241
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2242
2242
|
var TraitState;
|
|
2243
2243
|
(function(TraitState2) {
|
|
2244
2244
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2295,7 +2295,7 @@ var TraitImpl = class {
|
|
|
2295
2295
|
}
|
|
2296
2296
|
};
|
|
2297
2297
|
|
|
2298
|
-
// bazel-out/
|
|
2298
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2299
2299
|
var TraitCompiler = class {
|
|
2300
2300
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
2301
2301
|
this.handlers = handlers;
|
|
@@ -2754,7 +2754,7 @@ function containsErrors(diagnostics) {
|
|
|
2754
2754
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
|
|
2755
2755
|
}
|
|
2756
2756
|
|
|
2757
|
-
// bazel-out/
|
|
2757
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
2758
2758
|
import ts9 from "typescript";
|
|
2759
2759
|
var DtsTransformRegistry = class {
|
|
2760
2760
|
constructor() {
|
|
@@ -2904,11 +2904,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
2904
2904
|
ts9.forEachChild(node, markForEmitAsSingleLine);
|
|
2905
2905
|
}
|
|
2906
2906
|
|
|
2907
|
-
// bazel-out/
|
|
2907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2908
2908
|
import { ConstantPool } from "@angular/compiler";
|
|
2909
2909
|
import ts11 from "typescript";
|
|
2910
2910
|
|
|
2911
|
-
// bazel-out/
|
|
2911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2912
2912
|
import ts10 from "typescript";
|
|
2913
2913
|
function visit(node, visitor, context) {
|
|
2914
2914
|
return visitor._visit(node, context);
|
|
@@ -2969,7 +2969,7 @@ var Visitor = class {
|
|
|
2969
2969
|
}
|
|
2970
2970
|
};
|
|
2971
2971
|
|
|
2972
|
-
// bazel-out/
|
|
2972
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2973
2973
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
2974
2974
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
2975
2975
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3205,7 +3205,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
3205
3205
|
return array;
|
|
3206
3206
|
}
|
|
3207
3207
|
|
|
3208
|
-
// bazel-out/
|
|
3208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3209
3209
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3210
3210
|
const context = [];
|
|
3211
3211
|
for (const decl of data) {
|
|
@@ -3414,7 +3414,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
3414
3414
|
}
|
|
3415
3415
|
}
|
|
3416
3416
|
|
|
3417
|
-
// bazel-out/
|
|
3417
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3418
3418
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3419
3419
|
import ts13 from "typescript";
|
|
3420
3420
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3465,7 +3465,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3465
3465
|
return meta;
|
|
3466
3466
|
}
|
|
3467
3467
|
|
|
3468
|
-
// bazel-out/
|
|
3468
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3469
3469
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3470
3470
|
function compileNgFactoryDefField(metadata) {
|
|
3471
3471
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3488,7 +3488,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3488
3488
|
};
|
|
3489
3489
|
}
|
|
3490
3490
|
|
|
3491
|
-
// bazel-out/
|
|
3491
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3492
3492
|
var InjectableClassRegistry = class {
|
|
3493
3493
|
constructor(host, isCore) {
|
|
3494
3494
|
this.host = host;
|
|
@@ -3514,7 +3514,7 @@ var InjectableClassRegistry = class {
|
|
|
3514
3514
|
}
|
|
3515
3515
|
};
|
|
3516
3516
|
|
|
3517
|
-
// bazel-out/
|
|
3517
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3518
3518
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3519
3519
|
import ts14 from "typescript";
|
|
3520
3520
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3601,7 +3601,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3601
3601
|
return result.transformed[0];
|
|
3602
3602
|
}
|
|
3603
3603
|
|
|
3604
|
-
// bazel-out/
|
|
3604
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3605
3605
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3606
3606
|
import * as path from "path";
|
|
3607
3607
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
@@ -3628,13 +3628,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
3628
3628
|
return null;
|
|
3629
3629
|
}
|
|
3630
3630
|
|
|
3631
|
-
// bazel-out/
|
|
3631
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3632
3632
|
var NoopReferencesRegistry = class {
|
|
3633
3633
|
add(source, ...references) {
|
|
3634
3634
|
}
|
|
3635
3635
|
};
|
|
3636
3636
|
|
|
3637
|
-
// bazel-out/
|
|
3637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3638
3638
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3639
3639
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3640
3640
|
const schemas = [];
|
|
@@ -3664,7 +3664,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3664
3664
|
return schemas;
|
|
3665
3665
|
}
|
|
3666
3666
|
|
|
3667
|
-
// bazel-out/
|
|
3667
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3668
3668
|
import { outputAst } from "@angular/compiler";
|
|
3669
3669
|
function compileInputTransformFields(inputs) {
|
|
3670
3670
|
const extraFields = [];
|
|
@@ -3682,18 +3682,18 @@ function compileInputTransformFields(inputs) {
|
|
|
3682
3682
|
return extraFields;
|
|
3683
3683
|
}
|
|
3684
3684
|
|
|
3685
|
-
// bazel-out/
|
|
3685
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
|
|
3686
3686
|
var JitDeclarationRegistry = class {
|
|
3687
3687
|
constructor() {
|
|
3688
3688
|
this.jitDeclarations = /* @__PURE__ */ new Set();
|
|
3689
3689
|
}
|
|
3690
3690
|
};
|
|
3691
3691
|
|
|
3692
|
-
// bazel-out/
|
|
3692
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3693
3693
|
import { compileClassDebugInfo, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, CssSelector as CssSelector4, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr8, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, outputAst as o2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2 } from "@angular/compiler";
|
|
3694
3694
|
import ts45 from "typescript";
|
|
3695
3695
|
|
|
3696
|
-
// bazel-out/
|
|
3696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3697
3697
|
import ts15 from "typescript";
|
|
3698
3698
|
var SemanticSymbol = class {
|
|
3699
3699
|
constructor(decl) {
|
|
@@ -3709,7 +3709,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3709
3709
|
return decl.name.text;
|
|
3710
3710
|
}
|
|
3711
3711
|
|
|
3712
|
-
// bazel-out/
|
|
3712
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3713
3713
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3714
3714
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3715
3715
|
isPublicApiAffected() {
|
|
@@ -3852,10 +3852,10 @@ function getImportPath(expr) {
|
|
|
3852
3852
|
}
|
|
3853
3853
|
}
|
|
3854
3854
|
|
|
3855
|
-
// bazel-out/
|
|
3855
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3856
3856
|
import ts16 from "typescript";
|
|
3857
3857
|
|
|
3858
|
-
// bazel-out/
|
|
3858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3859
3859
|
function isSymbolEqual(a, b) {
|
|
3860
3860
|
if (a.decl === b.decl) {
|
|
3861
3861
|
return true;
|
|
@@ -3905,7 +3905,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3905
3905
|
return true;
|
|
3906
3906
|
}
|
|
3907
3907
|
|
|
3908
|
-
// bazel-out/
|
|
3908
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3909
3909
|
function extractSemanticTypeParameters(node) {
|
|
3910
3910
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3911
3911
|
return null;
|
|
@@ -3927,14 +3927,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3927
3927
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3928
3928
|
}
|
|
3929
3929
|
|
|
3930
|
-
// bazel-out/
|
|
3930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3931
3931
|
var ComponentScopeKind;
|
|
3932
3932
|
(function(ComponentScopeKind2) {
|
|
3933
3933
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3934
3934
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3935
3935
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3936
3936
|
|
|
3937
|
-
// bazel-out/
|
|
3937
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3938
3938
|
var CompoundComponentScopeReader = class {
|
|
3939
3939
|
constructor(readers) {
|
|
3940
3940
|
this.readers = readers;
|
|
@@ -3959,7 +3959,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3959
3959
|
}
|
|
3960
3960
|
};
|
|
3961
3961
|
|
|
3962
|
-
// bazel-out/
|
|
3962
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3963
3963
|
var MetadataDtsModuleScopeResolver = class {
|
|
3964
3964
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3965
3965
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -4035,11 +4035,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4035
4035
|
}
|
|
4036
4036
|
};
|
|
4037
4037
|
|
|
4038
|
-
// bazel-out/
|
|
4038
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4039
4039
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
4040
4040
|
import ts17 from "typescript";
|
|
4041
4041
|
|
|
4042
|
-
// bazel-out/
|
|
4042
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
4043
4043
|
function getDiagnosticNode(ref, rawExpr) {
|
|
4044
4044
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
4045
4045
|
}
|
|
@@ -4065,7 +4065,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
4065
4065
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
4066
4066
|
}
|
|
4067
4067
|
|
|
4068
|
-
// bazel-out/
|
|
4068
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4069
4069
|
var LocalModuleScopeRegistry = class {
|
|
4070
4070
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
4071
4071
|
this.localReader = localReader;
|
|
@@ -4406,7 +4406,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4406
4406
|
]);
|
|
4407
4407
|
}
|
|
4408
4408
|
|
|
4409
|
-
// bazel-out/
|
|
4409
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4410
4410
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4411
4411
|
import ts18 from "typescript";
|
|
4412
4412
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4487,14 +4487,14 @@ var TypeCheckScopeRegistry = class {
|
|
|
4487
4487
|
}
|
|
4488
4488
|
};
|
|
4489
4489
|
|
|
4490
|
-
// bazel-out/
|
|
4490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4491
4491
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4492
4492
|
|
|
4493
|
-
// bazel-out/
|
|
4493
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4494
4494
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4495
4495
|
import ts22 from "typescript";
|
|
4496
4496
|
|
|
4497
|
-
// bazel-out/
|
|
4497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
4498
4498
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
4499
4499
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
4500
4500
|
throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
|
|
@@ -4503,7 +4503,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
4503
4503
|
}
|
|
4504
4504
|
}
|
|
4505
4505
|
|
|
4506
|
-
// bazel-out/
|
|
4506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
4507
4507
|
import ts19 from "typescript";
|
|
4508
4508
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
4509
4509
|
if (!ts19.isCallExpression(expression)) {
|
|
@@ -4572,7 +4572,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
4572
4572
|
return { api: matchingApi, apiReference, isRequired };
|
|
4573
4573
|
}
|
|
4574
4574
|
|
|
4575
|
-
// bazel-out/
|
|
4575
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
4576
4576
|
import ts20 from "typescript";
|
|
4577
4577
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
4578
4578
|
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -4590,7 +4590,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
4590
4590
|
return { alias };
|
|
4591
4591
|
}
|
|
4592
4592
|
|
|
4593
|
-
// bazel-out/
|
|
4593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
4594
4594
|
var INPUT_INITIALIZER_FN = {
|
|
4595
4595
|
functionName: "input",
|
|
4596
4596
|
owningModule: "@angular/core",
|
|
@@ -4622,7 +4622,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
4622
4622
|
};
|
|
4623
4623
|
}
|
|
4624
4624
|
|
|
4625
|
-
// bazel-out/
|
|
4625
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
4626
4626
|
var MODEL_INITIALIZER_FN = {
|
|
4627
4627
|
functionName: "model",
|
|
4628
4628
|
owningModule: "@angular/core",
|
|
@@ -4663,7 +4663,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
4663
4663
|
};
|
|
4664
4664
|
}
|
|
4665
4665
|
|
|
4666
|
-
// bazel-out/
|
|
4666
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
4667
4667
|
var allowedAccessLevels = [
|
|
4668
4668
|
ClassMemberAccessLevel.PublicWritable,
|
|
4669
4669
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -4707,7 +4707,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
4707
4707
|
};
|
|
4708
4708
|
}
|
|
4709
4709
|
|
|
4710
|
-
// bazel-out/
|
|
4710
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
4711
4711
|
import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
|
|
4712
4712
|
import ts21 from "typescript";
|
|
4713
4713
|
var queryFunctionNames = [
|
|
@@ -4792,7 +4792,7 @@ function parseDescendantsOption(value) {
|
|
|
4792
4792
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
4793
4793
|
}
|
|
4794
4794
|
|
|
4795
|
-
// bazel-out/
|
|
4795
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4796
4796
|
var EMPTY_OBJECT = {};
|
|
4797
4797
|
var queryDecoratorNames = [
|
|
4798
4798
|
"ViewChild",
|
|
@@ -5594,7 +5594,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5594
5594
|
};
|
|
5595
5595
|
}
|
|
5596
5596
|
|
|
5597
|
-
// bazel-out/
|
|
5597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5598
5598
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5599
5599
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
5600
5600
|
super(decl);
|
|
@@ -5674,7 +5674,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5674
5674
|
return isSymbolEqual(current, previous);
|
|
5675
5675
|
}
|
|
5676
5676
|
|
|
5677
|
-
// bazel-out/
|
|
5677
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5678
5678
|
var FIELD_DECORATORS = [
|
|
5679
5679
|
"Input",
|
|
5680
5680
|
"Output",
|
|
@@ -5870,11 +5870,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5870
5870
|
}
|
|
5871
5871
|
};
|
|
5872
5872
|
|
|
5873
|
-
// bazel-out/
|
|
5873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5874
5874
|
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 WrappedNodeExpr7 } from "@angular/compiler";
|
|
5875
5875
|
import ts24 from "typescript";
|
|
5876
5876
|
|
|
5877
|
-
// bazel-out/
|
|
5877
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5878
5878
|
import ts23 from "typescript";
|
|
5879
5879
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5880
5880
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5946,7 +5946,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5946
5946
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5947
5947
|
}
|
|
5948
5948
|
|
|
5949
|
-
// bazel-out/
|
|
5949
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5950
5950
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5951
5951
|
constructor(decl, hasProviders) {
|
|
5952
5952
|
super(decl);
|
|
@@ -6565,7 +6565,7 @@ function isSyntheticReference(ref) {
|
|
|
6565
6565
|
return ref.synthetic;
|
|
6566
6566
|
}
|
|
6567
6567
|
|
|
6568
|
-
// bazel-out/
|
|
6568
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6569
6569
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6570
6570
|
const name = ref.debugName || "(unknown)";
|
|
6571
6571
|
const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6588,7 +6588,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6588
6588
|
return null;
|
|
6589
6589
|
}
|
|
6590
6590
|
|
|
6591
|
-
// bazel-out/
|
|
6591
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6592
6592
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6593
6593
|
import ts25 from "typescript";
|
|
6594
6594
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -6674,12 +6674,14 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
6674
6674
|
};
|
|
6675
6675
|
const parsedTemplate = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
|
|
6676
6676
|
...commonParseOptions,
|
|
6677
|
-
preserveWhitespaces: template.preserveWhitespaces
|
|
6677
|
+
preserveWhitespaces: template.preserveWhitespaces,
|
|
6678
|
+
preserveSignificantWhitespace: options.preserveSignificantWhitespace
|
|
6678
6679
|
});
|
|
6679
6680
|
const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
|
|
6680
6681
|
...commonParseOptions,
|
|
6681
6682
|
preserveWhitespaces: true,
|
|
6682
6683
|
preserveLineEndings: true,
|
|
6684
|
+
preserveSignificantWhitespace: true,
|
|
6683
6685
|
leadingTriviaChars: []
|
|
6684
6686
|
});
|
|
6685
6687
|
return {
|
|
@@ -6855,7 +6857,7 @@ function extractComponentStyleUrls(evaluator, component) {
|
|
|
6855
6857
|
{
|
|
6856
6858
|
url: styleUrl,
|
|
6857
6859
|
source: 2,
|
|
6858
|
-
|
|
6860
|
+
expression: styleUrlExpr
|
|
6859
6861
|
}
|
|
6860
6862
|
];
|
|
6861
6863
|
}
|
|
@@ -6875,7 +6877,7 @@ function extractStyleUrlsFromExpression(evaluator, styleUrlsExpr) {
|
|
|
6875
6877
|
styleUrls.push({
|
|
6876
6878
|
url: styleUrl,
|
|
6877
6879
|
source: 2,
|
|
6878
|
-
|
|
6880
|
+
expression: styleUrlExpr
|
|
6879
6881
|
});
|
|
6880
6882
|
}
|
|
6881
6883
|
}
|
|
@@ -6888,32 +6890,17 @@ function extractStyleUrlsFromExpression(evaluator, styleUrlsExpr) {
|
|
|
6888
6890
|
styleUrls.push({
|
|
6889
6891
|
url: styleUrl,
|
|
6890
6892
|
source: 2,
|
|
6891
|
-
|
|
6893
|
+
expression: styleUrlsExpr
|
|
6892
6894
|
});
|
|
6893
6895
|
}
|
|
6894
6896
|
}
|
|
6895
6897
|
return styleUrls;
|
|
6896
6898
|
}
|
|
6897
|
-
function
|
|
6899
|
+
function extractInlineStyleResources(component) {
|
|
6898
6900
|
const styles = /* @__PURE__ */ new Set();
|
|
6899
6901
|
function stringLiteralElements(array) {
|
|
6900
6902
|
return array.elements.filter((e) => ts25.isStringLiteralLike(e));
|
|
6901
6903
|
}
|
|
6902
|
-
const styleUrlExpr = component.get("styleUrl");
|
|
6903
|
-
const styleUrlsExpr = component.get("styleUrls");
|
|
6904
|
-
if (styleUrlsExpr !== void 0 && ts25.isArrayLiteralExpression(styleUrlsExpr)) {
|
|
6905
|
-
for (const expression of stringLiteralElements(styleUrlsExpr)) {
|
|
6906
|
-
const resource = stringLiteralUrlToResource(resourceLoader, expression, containingFile);
|
|
6907
|
-
if (resource !== null) {
|
|
6908
|
-
styles.add(resource);
|
|
6909
|
-
}
|
|
6910
|
-
}
|
|
6911
|
-
} else if (styleUrlExpr !== void 0 && ts25.isStringLiteralLike(styleUrlExpr)) {
|
|
6912
|
-
const resource = stringLiteralUrlToResource(resourceLoader, styleUrlExpr, containingFile);
|
|
6913
|
-
if (resource !== null) {
|
|
6914
|
-
styles.add(resource);
|
|
6915
|
-
}
|
|
6916
|
-
}
|
|
6917
6904
|
const stylesExpr = component.get("styles");
|
|
6918
6905
|
if (stylesExpr !== void 0) {
|
|
6919
6906
|
if (ts25.isArrayLiteralExpression(stylesExpr)) {
|
|
@@ -6926,27 +6913,19 @@ function extractStyleResources(resourceLoader, component, containingFile) {
|
|
|
6926
6913
|
}
|
|
6927
6914
|
return styles;
|
|
6928
6915
|
}
|
|
6929
|
-
function stringLiteralUrlToResource(resourceLoader, expression, containingFile) {
|
|
6930
|
-
try {
|
|
6931
|
-
const resourceUrl = resourceLoader.resolve(expression.text, containingFile);
|
|
6932
|
-
return { path: absoluteFrom(resourceUrl), expression };
|
|
6933
|
-
} catch {
|
|
6934
|
-
return null;
|
|
6935
|
-
}
|
|
6936
|
-
}
|
|
6937
6916
|
function _extractTemplateStyleUrls(template) {
|
|
6938
6917
|
if (template.styleUrls === null) {
|
|
6939
6918
|
return [];
|
|
6940
6919
|
}
|
|
6941
|
-
const
|
|
6920
|
+
const expression = getTemplateDeclarationNodeForError(template.declaration);
|
|
6942
6921
|
return template.styleUrls.map((url) => ({
|
|
6943
6922
|
url,
|
|
6944
6923
|
source: 1,
|
|
6945
|
-
|
|
6924
|
+
expression
|
|
6946
6925
|
}));
|
|
6947
6926
|
}
|
|
6948
6927
|
|
|
6949
|
-
// bazel-out/
|
|
6928
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6950
6929
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6951
6930
|
constructor() {
|
|
6952
6931
|
super(...arguments);
|
|
@@ -6981,7 +6960,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6981
6960
|
}
|
|
6982
6961
|
};
|
|
6983
6962
|
|
|
6984
|
-
// bazel-out/
|
|
6963
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6985
6964
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6986
6965
|
if (value instanceof Map) {
|
|
6987
6966
|
const name = value.get("name");
|
|
@@ -7058,10 +7037,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7058
7037
|
return false;
|
|
7059
7038
|
}
|
|
7060
7039
|
|
|
7061
|
-
// bazel-out/
|
|
7040
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7062
7041
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7063
7042
|
|
|
7064
|
-
// bazel-out/
|
|
7043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7065
7044
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7066
7045
|
var UpdateMode;
|
|
7067
7046
|
(function(UpdateMode2) {
|
|
@@ -7069,13 +7048,13 @@ var UpdateMode;
|
|
|
7069
7048
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7070
7049
|
})(UpdateMode || (UpdateMode = {}));
|
|
7071
7050
|
|
|
7072
|
-
// bazel-out/
|
|
7051
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7073
7052
|
import ts27 from "typescript";
|
|
7074
7053
|
|
|
7075
|
-
// bazel-out/
|
|
7054
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7076
7055
|
import ts26 from "typescript";
|
|
7077
7056
|
|
|
7078
|
-
// bazel-out/
|
|
7057
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7079
7058
|
var NgExtension = Symbol("NgExtension");
|
|
7080
7059
|
function isExtended(sf) {
|
|
7081
7060
|
return sf[NgExtension] !== void 0;
|
|
@@ -7135,13 +7114,13 @@ function retagTsFile(sf) {
|
|
|
7135
7114
|
}
|
|
7136
7115
|
}
|
|
7137
7116
|
|
|
7138
|
-
// bazel-out/
|
|
7117
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7139
7118
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7140
7119
|
function makeShimFileName(fileName, suffix) {
|
|
7141
7120
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7142
7121
|
}
|
|
7143
7122
|
|
|
7144
|
-
// bazel-out/
|
|
7123
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7145
7124
|
var ShimAdapter = class {
|
|
7146
7125
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
7147
7126
|
this.delegate = delegate;
|
|
@@ -7236,7 +7215,7 @@ var ShimAdapter = class {
|
|
|
7236
7215
|
}
|
|
7237
7216
|
};
|
|
7238
7217
|
|
|
7239
|
-
// bazel-out/
|
|
7218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7240
7219
|
var ShimReferenceTagger = class {
|
|
7241
7220
|
constructor(shimExtensions) {
|
|
7242
7221
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -7270,7 +7249,7 @@ var ShimReferenceTagger = class {
|
|
|
7270
7249
|
}
|
|
7271
7250
|
};
|
|
7272
7251
|
|
|
7273
|
-
// bazel-out/
|
|
7252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7274
7253
|
var DelegatingCompilerHost = class {
|
|
7275
7254
|
get jsDocParsingMode() {
|
|
7276
7255
|
return this.delegate.jsDocParsingMode;
|
|
@@ -7388,7 +7367,7 @@ var TsCreateProgramDriver = class {
|
|
|
7388
7367
|
}
|
|
7389
7368
|
};
|
|
7390
7369
|
|
|
7391
|
-
// bazel-out/
|
|
7370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7392
7371
|
import ts28 from "typescript";
|
|
7393
7372
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7394
7373
|
var _a;
|
|
@@ -7499,7 +7478,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7499
7478
|
);
|
|
7500
7479
|
}
|
|
7501
7480
|
|
|
7502
|
-
// bazel-out/
|
|
7481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7503
7482
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7504
7483
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7505
7484
|
function getTemplateId(clazz) {
|
|
@@ -7516,11 +7495,11 @@ function allocateTemplateId(sf) {
|
|
|
7516
7495
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7517
7496
|
}
|
|
7518
7497
|
|
|
7519
|
-
// bazel-out/
|
|
7498
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7520
7499
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7521
7500
|
import ts30 from "typescript";
|
|
7522
7501
|
|
|
7523
|
-
// bazel-out/
|
|
7502
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7524
7503
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7525
7504
|
import ts29 from "typescript";
|
|
7526
7505
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7651,7 +7630,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7651
7630
|
}) || false;
|
|
7652
7631
|
}
|
|
7653
7632
|
|
|
7654
|
-
// bazel-out/
|
|
7633
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7655
7634
|
var CompletionEngine = class {
|
|
7656
7635
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
7657
7636
|
this.tcb = tcb;
|
|
@@ -8841,10 +8820,10 @@ var MagicString = class {
|
|
|
8841
8820
|
}
|
|
8842
8821
|
};
|
|
8843
8822
|
|
|
8844
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8845
8824
|
import ts43 from "typescript";
|
|
8846
8825
|
|
|
8847
|
-
// bazel-out/
|
|
8826
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8848
8827
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
8849
8828
|
import ts31 from "typescript";
|
|
8850
8829
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -8897,10 +8876,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
8897
8876
|
}
|
|
8898
8877
|
};
|
|
8899
8878
|
|
|
8900
|
-
// bazel-out/
|
|
8879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8901
8880
|
import ts36 from "typescript";
|
|
8902
8881
|
|
|
8903
|
-
// bazel-out/
|
|
8882
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
8904
8883
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
8905
8884
|
var ReferenceEmitEnvironment = class {
|
|
8906
8885
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -8931,7 +8910,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
8931
8910
|
}
|
|
8932
8911
|
};
|
|
8933
8912
|
|
|
8934
|
-
// bazel-out/
|
|
8913
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8935
8914
|
import ts32 from "typescript";
|
|
8936
8915
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
8937
8916
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -9014,15 +8993,15 @@ function tsNumericExpression(value) {
|
|
|
9014
8993
|
return ts32.factory.createNumericLiteral(value);
|
|
9015
8994
|
}
|
|
9016
8995
|
|
|
9017
|
-
// bazel-out/
|
|
8996
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9018
8997
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9019
8998
|
import ts35 from "typescript";
|
|
9020
8999
|
|
|
9021
|
-
// bazel-out/
|
|
9000
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9022
9001
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9023
9002
|
import ts34 from "typescript";
|
|
9024
9003
|
|
|
9025
|
-
// bazel-out/
|
|
9004
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9026
9005
|
import ts33 from "typescript";
|
|
9027
9006
|
var TypeParameterEmitter = class {
|
|
9028
9007
|
constructor(typeParameters, reflector) {
|
|
@@ -9100,7 +9079,7 @@ var TypeParameterEmitter = class {
|
|
|
9100
9079
|
}
|
|
9101
9080
|
};
|
|
9102
9081
|
|
|
9103
|
-
// bazel-out/
|
|
9082
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9104
9083
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9105
9084
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9106
9085
|
];
|
|
@@ -9192,7 +9171,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9192
9171
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9193
9172
|
}
|
|
9194
9173
|
|
|
9195
|
-
// bazel-out/
|
|
9174
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9196
9175
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9197
9176
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9198
9177
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9315,7 +9294,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9315
9294
|
});
|
|
9316
9295
|
}
|
|
9317
9296
|
|
|
9318
|
-
// bazel-out/
|
|
9297
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9319
9298
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9320
9299
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
9321
9300
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -9387,7 +9366,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9387
9366
|
}
|
|
9388
9367
|
};
|
|
9389
9368
|
|
|
9390
|
-
// bazel-out/
|
|
9369
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9391
9370
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9392
9371
|
import ts37 from "typescript";
|
|
9393
9372
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9589,7 +9568,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9589
9568
|
};
|
|
9590
9569
|
}
|
|
9591
9570
|
|
|
9592
|
-
// bazel-out/
|
|
9571
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9593
9572
|
import ts38 from "typescript";
|
|
9594
9573
|
var TypeCheckShimGenerator = class {
|
|
9595
9574
|
constructor() {
|
|
@@ -9607,11 +9586,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9607
9586
|
}
|
|
9608
9587
|
};
|
|
9609
9588
|
|
|
9610
|
-
// bazel-out/
|
|
9589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9611
9590
|
import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector as CssSelector2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver2, ParsedEventType, PropertyRead as PropertyRead3, PropertyWrite as PropertyWrite2, R3Identifiers as R3Identifiers4, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher as SelectorMatcher2, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstReference as TmplAstReference2, TmplAstSwitchBlock, TmplAstTemplate, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
|
|
9612
9591
|
import ts41 from "typescript";
|
|
9613
9592
|
|
|
9614
|
-
// bazel-out/
|
|
9593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9615
9594
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9616
9595
|
import ts39 from "typescript";
|
|
9617
9596
|
function wrapForDiagnostics(expr) {
|
|
@@ -9667,7 +9646,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9667
9646
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9668
9647
|
}
|
|
9669
9648
|
|
|
9670
|
-
// bazel-out/
|
|
9649
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9671
9650
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9672
9651
|
import ts40 from "typescript";
|
|
9673
9652
|
var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -10000,7 +9979,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
10000
9979
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
10001
9980
|
})();
|
|
10002
9981
|
|
|
10003
|
-
// bazel-out/
|
|
9982
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
10004
9983
|
var TcbGenericContextBehavior;
|
|
10005
9984
|
(function(TcbGenericContextBehavior2) {
|
|
10006
9985
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -11590,7 +11569,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11590
11569
|
}
|
|
11591
11570
|
};
|
|
11592
11571
|
|
|
11593
|
-
// bazel-out/
|
|
11572
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11594
11573
|
import ts42 from "typescript";
|
|
11595
11574
|
var TypeCheckFile = class extends Environment {
|
|
11596
11575
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -11638,7 +11617,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11638
11617
|
}
|
|
11639
11618
|
};
|
|
11640
11619
|
|
|
11641
|
-
// bazel-out/
|
|
11620
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11642
11621
|
var InliningMode;
|
|
11643
11622
|
(function(InliningMode2) {
|
|
11644
11623
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -11890,10 +11869,10 @@ var TypeCtorOp = class {
|
|
|
11890
11869
|
}
|
|
11891
11870
|
};
|
|
11892
11871
|
|
|
11893
|
-
// bazel-out/
|
|
11872
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11894
11873
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
11895
11874
|
|
|
11896
|
-
// bazel-out/
|
|
11875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
11897
11876
|
var LF_CHAR = 10;
|
|
11898
11877
|
var CR_CHAR = 13;
|
|
11899
11878
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -11934,7 +11913,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
11934
11913
|
return low - 1;
|
|
11935
11914
|
}
|
|
11936
11915
|
|
|
11937
|
-
// bazel-out/
|
|
11916
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11938
11917
|
var TemplateSource = class {
|
|
11939
11918
|
constructor(mapping, file) {
|
|
11940
11919
|
this.mapping = mapping;
|
|
@@ -11985,7 +11964,7 @@ var TemplateSourceManager = class {
|
|
|
11985
11964
|
}
|
|
11986
11965
|
};
|
|
11987
11966
|
|
|
11988
|
-
// bazel-out/
|
|
11967
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
11989
11968
|
import { AST, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers5, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
11990
11969
|
import ts44 from "typescript";
|
|
11991
11970
|
var SymbolBuilder = class {
|
|
@@ -12559,7 +12538,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12559
12538
|
};
|
|
12560
12539
|
}
|
|
12561
12540
|
|
|
12562
|
-
// bazel-out/
|
|
12541
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12563
12542
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12564
12543
|
var TemplateTypeCheckerImpl = class {
|
|
12565
12544
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -13258,12 +13237,12 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13258
13237
|
}
|
|
13259
13238
|
};
|
|
13260
13239
|
|
|
13261
|
-
// bazel-out/
|
|
13240
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13262
13241
|
var EMPTY_ARRAY2 = [];
|
|
13263
13242
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13264
13243
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
13265
13244
|
var ComponentDecoratorHandler = class {
|
|
13266
|
-
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, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry) {
|
|
13245
|
+
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, importTracker, includeClassMetadata, compilationMode, deferredSymbolTracker, forbidOrphanRendering, enableBlockSyntax, enableLetSyntax, localCompilationExtraImportsTracker, jitDeclarationRegistry, i18nPreserveSignificantWhitespace) {
|
|
13267
13246
|
this.reflector = reflector;
|
|
13268
13247
|
this.evaluator = evaluator;
|
|
13269
13248
|
this.metaRegistry = metaRegistry;
|
|
@@ -13302,6 +13281,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13302
13281
|
this.enableLetSyntax = enableLetSyntax;
|
|
13303
13282
|
this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
|
|
13304
13283
|
this.jitDeclarationRegistry = jitDeclarationRegistry;
|
|
13284
|
+
this.i18nPreserveSignificantWhitespace = i18nPreserveSignificantWhitespace;
|
|
13305
13285
|
this.literalCache = /* @__PURE__ */ new Map();
|
|
13306
13286
|
this.elementSchemaRegistry = new DomElementSchemaRegistry3();
|
|
13307
13287
|
this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
|
|
@@ -13313,7 +13293,8 @@ var ComponentDecoratorHandler = class {
|
|
|
13313
13293
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
13314
13294
|
usePoisonedData: this.usePoisonedData,
|
|
13315
13295
|
enableBlockSyntax: this.enableBlockSyntax,
|
|
13316
|
-
enableLetSyntax: this.enableLetSyntax
|
|
13296
|
+
enableLetSyntax: this.enableLetSyntax,
|
|
13297
|
+
preserveSignificantWhitespace: this.i18nPreserveSignificantWhitespace
|
|
13317
13298
|
};
|
|
13318
13299
|
}
|
|
13319
13300
|
detect(node, decorators) {
|
|
@@ -13348,29 +13329,41 @@ var ComponentDecoratorHandler = class {
|
|
|
13348
13329
|
};
|
|
13349
13330
|
const templateAndTemplateStyleResources = preloadAndParseTemplate(this.evaluator, this.resourceLoader, this.depTracker, this.preanalyzeTemplateCache, node, decorator, component, containingFile, this.defaultPreserveWhitespaces, this.extractTemplateOptions, this.compilationMode).then((template) => {
|
|
13350
13331
|
if (template === null) {
|
|
13351
|
-
return
|
|
13332
|
+
return { templateStyles: [], templateStyleUrls: [] };
|
|
13352
13333
|
}
|
|
13353
|
-
|
|
13334
|
+
let templateUrl;
|
|
13335
|
+
if (template.sourceMapping.type === "external") {
|
|
13336
|
+
templateUrl = template.sourceMapping.templateUrl;
|
|
13337
|
+
}
|
|
13338
|
+
return {
|
|
13339
|
+
templateUrl,
|
|
13340
|
+
templateStyles: template.styles,
|
|
13341
|
+
templateStyleUrls: template.styleUrls
|
|
13342
|
+
};
|
|
13354
13343
|
});
|
|
13355
13344
|
const componentStyleUrls = extractComponentStyleUrls(this.evaluator, component);
|
|
13356
|
-
|
|
13357
|
-
|
|
13358
|
-
const
|
|
13359
|
-
if (
|
|
13360
|
-
this.
|
|
13361
|
-
}
|
|
13362
|
-
|
|
13363
|
-
|
|
13364
|
-
|
|
13345
|
+
return templateAndTemplateStyleResources.then(async (templateInfo) => {
|
|
13346
|
+
let styles = null;
|
|
13347
|
+
const rawStyles = parseDirectiveStyles(component, this.evaluator, this.compilationMode);
|
|
13348
|
+
if (rawStyles == null ? void 0 : rawStyles.length) {
|
|
13349
|
+
styles = await Promise.all(rawStyles.map((style) => this.resourceLoader.preprocessInline(style, { type: "style", containingFile })));
|
|
13350
|
+
}
|
|
13351
|
+
if (templateInfo.templateStyles) {
|
|
13352
|
+
styles != null ? styles : styles = [];
|
|
13353
|
+
styles.push(...await Promise.all(templateInfo.templateStyles.map((style) => {
|
|
13354
|
+
var _a;
|
|
13355
|
+
return this.resourceLoader.preprocessInline(style, {
|
|
13356
|
+
type: "style",
|
|
13357
|
+
containingFile: (_a = templateInfo.templateUrl) != null ? _a : containingFile
|
|
13358
|
+
});
|
|
13359
|
+
})));
|
|
13365
13360
|
}
|
|
13366
|
-
|
|
13367
|
-
|
|
13368
|
-
|
|
13369
|
-
|
|
13370
|
-
|
|
13371
|
-
|
|
13372
|
-
...componentStyleUrls.map((styleUrl) => resolveStyleUrl(styleUrl.url))
|
|
13373
|
-
]).then(() => void 0);
|
|
13361
|
+
this.preanalyzeStylesCache.set(node, styles);
|
|
13362
|
+
await Promise.all([
|
|
13363
|
+
...componentStyleUrls.map((styleUrl) => resolveStyleUrl(styleUrl.url)),
|
|
13364
|
+
...templateInfo.templateStyleUrls.map((url) => resolveStyleUrl(url))
|
|
13365
|
+
]);
|
|
13366
|
+
});
|
|
13374
13367
|
}
|
|
13375
13368
|
analyze(node, decorator) {
|
|
13376
13369
|
var _a, _b, _c, _d, _e;
|
|
@@ -13486,7 +13479,8 @@ var ComponentDecoratorHandler = class {
|
|
|
13486
13479
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
13487
13480
|
usePoisonedData: this.usePoisonedData,
|
|
13488
13481
|
enableBlockSyntax: this.enableBlockSyntax,
|
|
13489
|
-
enableLetSyntax: this.enableLetSyntax
|
|
13482
|
+
enableLetSyntax: this.enableLetSyntax,
|
|
13483
|
+
preserveSignificantWhitespace: this.i18nPreserveSignificantWhitespace
|
|
13490
13484
|
}, this.compilationMode);
|
|
13491
13485
|
if (this.compilationMode === CompilationMode.LOCAL && template.errors && template.errors.length > 0) {
|
|
13492
13486
|
if (diagnostics === void 0) {
|
|
@@ -13504,7 +13498,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13504
13498
|
expression: template.sourceMapping.node
|
|
13505
13499
|
};
|
|
13506
13500
|
let styles = [];
|
|
13507
|
-
const styleResources =
|
|
13501
|
+
const styleResources = extractInlineStyleResources(component);
|
|
13508
13502
|
const styleUrls = [
|
|
13509
13503
|
...extractComponentStyleUrls(this.evaluator, component),
|
|
13510
13504
|
..._extractTemplateStyleUrls(template)
|
|
@@ -13512,6 +13506,12 @@ var ComponentDecoratorHandler = class {
|
|
|
13512
13506
|
for (const styleUrl of styleUrls) {
|
|
13513
13507
|
try {
|
|
13514
13508
|
const resourceUrl = this.resourceLoader.resolve(styleUrl.url, containingFile);
|
|
13509
|
+
if (styleUrl.source === 2 && ts45.isStringLiteralLike(styleUrl.expression)) {
|
|
13510
|
+
styleResources.add({
|
|
13511
|
+
path: absoluteFrom(resourceUrl),
|
|
13512
|
+
expression: styleUrl.expression
|
|
13513
|
+
});
|
|
13514
|
+
}
|
|
13515
13515
|
const resourceStr = this.resourceLoader.load(resourceUrl);
|
|
13516
13516
|
styles.push(resourceStr);
|
|
13517
13517
|
if (this.depTracker !== null) {
|
|
@@ -13525,7 +13525,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13525
13525
|
diagnostics = [];
|
|
13526
13526
|
}
|
|
13527
13527
|
const resourceType = styleUrl.source === 2 ? 2 : 1;
|
|
13528
|
-
diagnostics.push(makeResourceNotFoundError(styleUrl.url, styleUrl.
|
|
13528
|
+
diagnostics.push(makeResourceNotFoundError(styleUrl.url, styleUrl.expression, resourceType).toDiagnostic());
|
|
13529
13529
|
}
|
|
13530
13530
|
}
|
|
13531
13531
|
if (encapsulation === ViewEncapsulation2.ShadowDom && metadata.selector !== null) {
|
|
@@ -13555,9 +13555,9 @@ var ComponentDecoratorHandler = class {
|
|
|
13555
13555
|
styles.push(...litStyles);
|
|
13556
13556
|
}
|
|
13557
13557
|
}
|
|
13558
|
-
|
|
13559
|
-
|
|
13560
|
-
|
|
13558
|
+
if (template.styles.length > 0) {
|
|
13559
|
+
styles.push(...template.styles);
|
|
13560
|
+
}
|
|
13561
13561
|
}
|
|
13562
13562
|
let explicitlyDeferredTypes = null;
|
|
13563
13563
|
if (metadata.isStandalone && rawDeferredImports !== null) {
|
|
@@ -14288,7 +14288,7 @@ function isDefaultImport(node) {
|
|
|
14288
14288
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14289
14289
|
}
|
|
14290
14290
|
|
|
14291
|
-
// bazel-out/
|
|
14291
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14292
14292
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14293
14293
|
import ts46 from "typescript";
|
|
14294
14294
|
var InjectableDecoratorHandler = class {
|
|
@@ -14520,7 +14520,7 @@ function getDep(dep, reflector) {
|
|
|
14520
14520
|
return meta;
|
|
14521
14521
|
}
|
|
14522
14522
|
|
|
14523
|
-
// bazel-out/
|
|
14523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
14524
14524
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
14525
14525
|
import ts47 from "typescript";
|
|
14526
14526
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -14750,4 +14750,4 @@ export {
|
|
|
14750
14750
|
* Use of this source code is governed by an MIT-style license that can be
|
|
14751
14751
|
* found in the LICENSE file at https://angular.io/license
|
|
14752
14752
|
*/
|
|
14753
|
-
//# sourceMappingURL=chunk-
|
|
14753
|
+
//# sourceMappingURL=chunk-R3PIQMGX.js.map
|