@angular/compiler-cli 19.0.0-next.1 → 19.0.0-next.3
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-XNL3EK5H.js → chunk-3W345P4E.js} +7 -7
- package/bundles/{chunk-CNPXFKGI.js → chunk-5EC5IVIP.js} +3 -3
- package/bundles/{chunk-QJ5A7O7J.js → chunk-5LDY2XWV.js} +306 -173
- package/bundles/chunk-5LDY2XWV.js.map +6 -0
- package/bundles/{chunk-B4ZOGV3N.js → chunk-A6N6CPYP.js} +31 -31
- package/bundles/{chunk-UWZBW4E4.js → chunk-DAD6G43L.js} +5 -5
- package/bundles/{chunk-THQF5ZZE.js → chunk-ERN7RQQ7.js} +5 -5
- package/bundles/{chunk-VNKFV2MZ.js → chunk-IYQOLQCE.js} +147 -156
- package/bundles/chunk-IYQOLQCE.js.map +6 -0
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
- package/bundles/{chunk-DK2K5DIA.js → chunk-RRBD35GS.js} +12 -12
- package/bundles/{chunk-5DVL3S3Z.js → chunk-XHCHVVK2.js} +47 -45
- package/bundles/chunk-XHCHVVK2.js.map +6 -0
- 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/src/ngtsc/core/src/compiler.d.ts +6 -1
- package/src/ngtsc/diagnostics/src/error.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
- package/src/ngtsc/docs/src/entities.d.ts +9 -0
- package/src/ngtsc/docs/src/extractor.d.ts +4 -1
- package/src/ngtsc/docs/src/import_extractor.d.ts +14 -0
- package/src/ngtsc/metadata/src/api.d.ts +4 -0
- package/src/ngtsc/program.d.ts +4 -1
- package/src/ngtsc/typecheck/api/api.d.ts +6 -0
- package/src/ngtsc/validation/src/config.d.ts +12 -0
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +23 -0
- package/src/ngtsc/validation/src/source_file_validator.d.ts +2 -1
- package/bundles/chunk-5DVL3S3Z.js.map +0 -6
- package/bundles/chunk-QJ5A7O7J.js.map +0 -6
- package/bundles/chunk-VNKFV2MZ.js.map +0 -6
- /package/bundles/{chunk-XNL3EK5H.js.map → chunk-3W345P4E.js.map} +0 -0
- /package/bundles/{chunk-CNPXFKGI.js.map → chunk-5EC5IVIP.js.map} +0 -0
- /package/bundles/{chunk-B4ZOGV3N.js.map → chunk-A6N6CPYP.js.map} +0 -0
- /package/bundles/{chunk-UWZBW4E4.js.map → chunk-DAD6G43L.js.map} +0 -0
- /package/bundles/{chunk-THQF5ZZE.js.map → chunk-ERN7RQQ7.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
- /package/bundles/{chunk-DK2K5DIA.js.map → chunk-RRBD35GS.js.map} +0 -0
|
@@ -45,20 +45,20 @@ import {
|
|
|
45
45
|
translateStatement,
|
|
46
46
|
translateType,
|
|
47
47
|
typeNodeToValueExpr
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-XHCHVVK2.js";
|
|
49
49
|
import {
|
|
50
50
|
PerfCheckpoint,
|
|
51
51
|
PerfEvent,
|
|
52
52
|
PerfPhase
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-ERN7RQQ7.js";
|
|
54
54
|
import {
|
|
55
55
|
absoluteFrom,
|
|
56
56
|
absoluteFromSourceFile,
|
|
57
57
|
getSourceFileOrError,
|
|
58
58
|
relative
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-3W345P4E.js";
|
|
60
60
|
|
|
61
|
-
// bazel-out/
|
|
61
|
+
// bazel-out/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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;
|
|
@@ -1787,6 +1787,7 @@ var DtsMetadataReader = class {
|
|
|
1787
1787
|
isSignal,
|
|
1788
1788
|
inputFieldNamesFromMetadataArray: null,
|
|
1789
1789
|
imports: null,
|
|
1790
|
+
rawImports: null,
|
|
1790
1791
|
deferredImports: null,
|
|
1791
1792
|
schemas: null,
|
|
1792
1793
|
decorator: null,
|
|
@@ -1900,7 +1901,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1900
1901
|
return result.length > 0 ? result : null;
|
|
1901
1902
|
}
|
|
1902
1903
|
|
|
1903
|
-
// bazel-out/
|
|
1904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1904
1905
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1905
1906
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1906
1907
|
if (topMeta === null) {
|
|
@@ -1964,7 +1965,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1964
1965
|
};
|
|
1965
1966
|
}
|
|
1966
1967
|
|
|
1967
|
-
// bazel-out/
|
|
1968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1968
1969
|
var LocalMetadataRegistry = class {
|
|
1969
1970
|
constructor() {
|
|
1970
1971
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2021,7 +2022,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2021
2022
|
}
|
|
2022
2023
|
};
|
|
2023
2024
|
|
|
2024
|
-
// bazel-out/
|
|
2025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2025
2026
|
var ResourceRegistry = class {
|
|
2026
2027
|
constructor() {
|
|
2027
2028
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2086,7 +2087,7 @@ var ResourceRegistry = class {
|
|
|
2086
2087
|
}
|
|
2087
2088
|
};
|
|
2088
2089
|
|
|
2089
|
-
// bazel-out/
|
|
2090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
2090
2091
|
var ExportedProviderStatusResolver = class {
|
|
2091
2092
|
constructor(metaReader) {
|
|
2092
2093
|
this.metaReader = metaReader;
|
|
@@ -2130,7 +2131,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
2130
2131
|
}
|
|
2131
2132
|
};
|
|
2132
2133
|
|
|
2133
|
-
// bazel-out/
|
|
2134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2134
2135
|
var EMPTY_ARRAY = [];
|
|
2135
2136
|
var HostDirectivesResolver = class {
|
|
2136
2137
|
constructor(metaReader) {
|
|
@@ -2196,7 +2197,7 @@ function resolveOutput(bindingName) {
|
|
|
2196
2197
|
return bindingName;
|
|
2197
2198
|
}
|
|
2198
2199
|
|
|
2199
|
-
// bazel-out/
|
|
2200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2200
2201
|
var CompilationMode;
|
|
2201
2202
|
(function(CompilationMode2) {
|
|
2202
2203
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2210,7 +2211,7 @@ var HandlerPrecedence;
|
|
|
2210
2211
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
2211
2212
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
2212
2213
|
|
|
2213
|
-
// bazel-out/
|
|
2214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2214
2215
|
import ts7 from "typescript";
|
|
2215
2216
|
function aliasTransformFactory(exportStatements) {
|
|
2216
2217
|
return () => {
|
|
@@ -2235,10 +2236,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2235
2236
|
};
|
|
2236
2237
|
}
|
|
2237
2238
|
|
|
2238
|
-
// bazel-out/
|
|
2239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2239
2240
|
import ts8 from "typescript";
|
|
2240
2241
|
|
|
2241
|
-
// bazel-out/
|
|
2242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2242
2243
|
var TraitState;
|
|
2243
2244
|
(function(TraitState2) {
|
|
2244
2245
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2295,7 +2296,7 @@ var TraitImpl = class {
|
|
|
2295
2296
|
}
|
|
2296
2297
|
};
|
|
2297
2298
|
|
|
2298
|
-
// bazel-out/
|
|
2299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2299
2300
|
var TraitCompiler = class {
|
|
2300
2301
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
2301
2302
|
this.handlers = handlers;
|
|
@@ -2754,7 +2755,7 @@ function containsErrors(diagnostics) {
|
|
|
2754
2755
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
|
|
2755
2756
|
}
|
|
2756
2757
|
|
|
2757
|
-
// bazel-out/
|
|
2758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
2758
2759
|
import ts9 from "typescript";
|
|
2759
2760
|
var DtsTransformRegistry = class {
|
|
2760
2761
|
constructor() {
|
|
@@ -2904,11 +2905,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
2904
2905
|
ts9.forEachChild(node, markForEmitAsSingleLine);
|
|
2905
2906
|
}
|
|
2906
2907
|
|
|
2907
|
-
// bazel-out/
|
|
2908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2908
2909
|
import { ConstantPool } from "@angular/compiler";
|
|
2909
2910
|
import ts11 from "typescript";
|
|
2910
2911
|
|
|
2911
|
-
// bazel-out/
|
|
2912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2912
2913
|
import ts10 from "typescript";
|
|
2913
2914
|
function visit(node, visitor, context) {
|
|
2914
2915
|
return visitor._visit(node, context);
|
|
@@ -2969,7 +2970,7 @@ var Visitor = class {
|
|
|
2969
2970
|
}
|
|
2970
2971
|
};
|
|
2971
2972
|
|
|
2972
|
-
// bazel-out/
|
|
2973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2973
2974
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
2974
2975
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
2975
2976
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3205,7 +3206,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
3205
3206
|
return array;
|
|
3206
3207
|
}
|
|
3207
3208
|
|
|
3208
|
-
// bazel-out/
|
|
3209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3209
3210
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3210
3211
|
const context = [];
|
|
3211
3212
|
for (const decl of data) {
|
|
@@ -3414,7 +3415,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
3414
3415
|
}
|
|
3415
3416
|
}
|
|
3416
3417
|
|
|
3417
|
-
// bazel-out/
|
|
3418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3418
3419
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3419
3420
|
import ts13 from "typescript";
|
|
3420
3421
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3465,7 +3466,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3465
3466
|
return meta;
|
|
3466
3467
|
}
|
|
3467
3468
|
|
|
3468
|
-
// bazel-out/
|
|
3469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3469
3470
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3470
3471
|
function compileNgFactoryDefField(metadata) {
|
|
3471
3472
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3488,7 +3489,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3488
3489
|
};
|
|
3489
3490
|
}
|
|
3490
3491
|
|
|
3491
|
-
// bazel-out/
|
|
3492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3492
3493
|
var InjectableClassRegistry = class {
|
|
3493
3494
|
constructor(host, isCore) {
|
|
3494
3495
|
this.host = host;
|
|
@@ -3514,7 +3515,7 @@ var InjectableClassRegistry = class {
|
|
|
3514
3515
|
}
|
|
3515
3516
|
};
|
|
3516
3517
|
|
|
3517
|
-
// bazel-out/
|
|
3518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3518
3519
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3519
3520
|
import ts14 from "typescript";
|
|
3520
3521
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3601,7 +3602,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3601
3602
|
return result.transformed[0];
|
|
3602
3603
|
}
|
|
3603
3604
|
|
|
3604
|
-
// bazel-out/
|
|
3605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3605
3606
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3606
3607
|
import * as path from "path";
|
|
3607
3608
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
@@ -3628,13 +3629,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
3628
3629
|
return null;
|
|
3629
3630
|
}
|
|
3630
3631
|
|
|
3631
|
-
// bazel-out/
|
|
3632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3632
3633
|
var NoopReferencesRegistry = class {
|
|
3633
3634
|
add(source, ...references) {
|
|
3634
3635
|
}
|
|
3635
3636
|
};
|
|
3636
3637
|
|
|
3637
|
-
// bazel-out/
|
|
3638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3638
3639
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3639
3640
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3640
3641
|
const schemas = [];
|
|
@@ -3664,7 +3665,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3664
3665
|
return schemas;
|
|
3665
3666
|
}
|
|
3666
3667
|
|
|
3667
|
-
// bazel-out/
|
|
3668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3668
3669
|
import { outputAst } from "@angular/compiler";
|
|
3669
3670
|
function compileInputTransformFields(inputs) {
|
|
3670
3671
|
const extraFields = [];
|
|
@@ -3682,18 +3683,18 @@ function compileInputTransformFields(inputs) {
|
|
|
3682
3683
|
return extraFields;
|
|
3683
3684
|
}
|
|
3684
3685
|
|
|
3685
|
-
// bazel-out/
|
|
3686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
|
|
3686
3687
|
var JitDeclarationRegistry = class {
|
|
3687
3688
|
constructor() {
|
|
3688
3689
|
this.jitDeclarations = /* @__PURE__ */ new Set();
|
|
3689
3690
|
}
|
|
3690
3691
|
};
|
|
3691
3692
|
|
|
3692
|
-
// bazel-out/
|
|
3693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3693
3694
|
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
3695
|
import ts45 from "typescript";
|
|
3695
3696
|
|
|
3696
|
-
// bazel-out/
|
|
3697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3697
3698
|
import ts15 from "typescript";
|
|
3698
3699
|
var SemanticSymbol = class {
|
|
3699
3700
|
constructor(decl) {
|
|
@@ -3709,7 +3710,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3709
3710
|
return decl.name.text;
|
|
3710
3711
|
}
|
|
3711
3712
|
|
|
3712
|
-
// bazel-out/
|
|
3713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3713
3714
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3714
3715
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3715
3716
|
isPublicApiAffected() {
|
|
@@ -3852,10 +3853,10 @@ function getImportPath(expr) {
|
|
|
3852
3853
|
}
|
|
3853
3854
|
}
|
|
3854
3855
|
|
|
3855
|
-
// bazel-out/
|
|
3856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3856
3857
|
import ts16 from "typescript";
|
|
3857
3858
|
|
|
3858
|
-
// bazel-out/
|
|
3859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3859
3860
|
function isSymbolEqual(a, b) {
|
|
3860
3861
|
if (a.decl === b.decl) {
|
|
3861
3862
|
return true;
|
|
@@ -3905,7 +3906,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3905
3906
|
return true;
|
|
3906
3907
|
}
|
|
3907
3908
|
|
|
3908
|
-
// bazel-out/
|
|
3909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3909
3910
|
function extractSemanticTypeParameters(node) {
|
|
3910
3911
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3911
3912
|
return null;
|
|
@@ -3927,14 +3928,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3927
3928
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3928
3929
|
}
|
|
3929
3930
|
|
|
3930
|
-
// bazel-out/
|
|
3931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3931
3932
|
var ComponentScopeKind;
|
|
3932
3933
|
(function(ComponentScopeKind2) {
|
|
3933
3934
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3934
3935
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3935
3936
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3936
3937
|
|
|
3937
|
-
// bazel-out/
|
|
3938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3938
3939
|
var CompoundComponentScopeReader = class {
|
|
3939
3940
|
constructor(readers) {
|
|
3940
3941
|
this.readers = readers;
|
|
@@ -3959,7 +3960,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3959
3960
|
}
|
|
3960
3961
|
};
|
|
3961
3962
|
|
|
3962
|
-
// bazel-out/
|
|
3963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3963
3964
|
var MetadataDtsModuleScopeResolver = class {
|
|
3964
3965
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3965
3966
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -4035,11 +4036,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4035
4036
|
}
|
|
4036
4037
|
};
|
|
4037
4038
|
|
|
4038
|
-
// bazel-out/
|
|
4039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4039
4040
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
4040
4041
|
import ts17 from "typescript";
|
|
4041
4042
|
|
|
4042
|
-
// bazel-out/
|
|
4043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
4043
4044
|
function getDiagnosticNode(ref, rawExpr) {
|
|
4044
4045
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
4045
4046
|
}
|
|
@@ -4065,7 +4066,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
4065
4066
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
4066
4067
|
}
|
|
4067
4068
|
|
|
4068
|
-
// bazel-out/
|
|
4069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4069
4070
|
var LocalModuleScopeRegistry = class {
|
|
4070
4071
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
4071
4072
|
this.localReader = localReader;
|
|
@@ -4406,7 +4407,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4406
4407
|
]);
|
|
4407
4408
|
}
|
|
4408
4409
|
|
|
4409
|
-
// bazel-out/
|
|
4410
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4410
4411
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4411
4412
|
import ts18 from "typescript";
|
|
4412
4413
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4487,14 +4488,14 @@ var TypeCheckScopeRegistry = class {
|
|
|
4487
4488
|
}
|
|
4488
4489
|
};
|
|
4489
4490
|
|
|
4490
|
-
// bazel-out/
|
|
4491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4491
4492
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4492
4493
|
|
|
4493
|
-
// bazel-out/
|
|
4494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4494
4495
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4495
4496
|
import ts22 from "typescript";
|
|
4496
4497
|
|
|
4497
|
-
// bazel-out/
|
|
4498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
4498
4499
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
4499
4500
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
4500
4501
|
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 +4504,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
4503
4504
|
}
|
|
4504
4505
|
}
|
|
4505
4506
|
|
|
4506
|
-
// bazel-out/
|
|
4507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
4507
4508
|
import ts19 from "typescript";
|
|
4508
4509
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
4509
4510
|
if (!ts19.isCallExpression(expression)) {
|
|
@@ -4572,7 +4573,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
4572
4573
|
return { api: matchingApi, apiReference, isRequired };
|
|
4573
4574
|
}
|
|
4574
4575
|
|
|
4575
|
-
// bazel-out/
|
|
4576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
4576
4577
|
import ts20 from "typescript";
|
|
4577
4578
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
4578
4579
|
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -4590,7 +4591,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
4590
4591
|
return { alias };
|
|
4591
4592
|
}
|
|
4592
4593
|
|
|
4593
|
-
// bazel-out/
|
|
4594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
4594
4595
|
var INPUT_INITIALIZER_FN = {
|
|
4595
4596
|
functionName: "input",
|
|
4596
4597
|
owningModule: "@angular/core",
|
|
@@ -4622,7 +4623,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
4622
4623
|
};
|
|
4623
4624
|
}
|
|
4624
4625
|
|
|
4625
|
-
// bazel-out/
|
|
4626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
4626
4627
|
var MODEL_INITIALIZER_FN = {
|
|
4627
4628
|
functionName: "model",
|
|
4628
4629
|
owningModule: "@angular/core",
|
|
@@ -4663,7 +4664,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
4663
4664
|
};
|
|
4664
4665
|
}
|
|
4665
4666
|
|
|
4666
|
-
// bazel-out/
|
|
4667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
4667
4668
|
var allowedAccessLevels = [
|
|
4668
4669
|
ClassMemberAccessLevel.PublicWritable,
|
|
4669
4670
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -4707,7 +4708,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
4707
4708
|
};
|
|
4708
4709
|
}
|
|
4709
4710
|
|
|
4710
|
-
// bazel-out/
|
|
4711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
4711
4712
|
import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
|
|
4712
4713
|
import ts21 from "typescript";
|
|
4713
4714
|
var queryFunctionNames = [
|
|
@@ -4792,7 +4793,7 @@ function parseDescendantsOption(value) {
|
|
|
4792
4793
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
4793
4794
|
}
|
|
4794
4795
|
|
|
4795
|
-
// bazel-out/
|
|
4796
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4796
4797
|
var EMPTY_OBJECT = {};
|
|
4797
4798
|
var queryDecoratorNames = [
|
|
4798
4799
|
"ViewChild",
|
|
@@ -5594,7 +5595,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5594
5595
|
};
|
|
5595
5596
|
}
|
|
5596
5597
|
|
|
5597
|
-
// bazel-out/
|
|
5598
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5598
5599
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5599
5600
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
5600
5601
|
super(decl);
|
|
@@ -5674,7 +5675,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5674
5675
|
return isSymbolEqual(current, previous);
|
|
5675
5676
|
}
|
|
5676
5677
|
|
|
5677
|
-
// bazel-out/
|
|
5678
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5678
5679
|
var FIELD_DECORATORS = [
|
|
5679
5680
|
"Input",
|
|
5680
5681
|
"Output",
|
|
@@ -5802,6 +5803,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
5802
5803
|
isStandalone: analysis.meta.isStandalone,
|
|
5803
5804
|
isSignal: analysis.meta.isSignal,
|
|
5804
5805
|
imports: null,
|
|
5806
|
+
rawImports: null,
|
|
5805
5807
|
deferredImports: null,
|
|
5806
5808
|
schemas: null,
|
|
5807
5809
|
ngContentSelectors: null,
|
|
@@ -5870,11 +5872,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5870
5872
|
}
|
|
5871
5873
|
};
|
|
5872
5874
|
|
|
5873
|
-
// bazel-out/
|
|
5875
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5874
5876
|
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
5877
|
import ts24 from "typescript";
|
|
5876
5878
|
|
|
5877
|
-
// bazel-out/
|
|
5879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5878
5880
|
import ts23 from "typescript";
|
|
5879
5881
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5880
5882
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5946,7 +5948,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5946
5948
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5947
5949
|
}
|
|
5948
5950
|
|
|
5949
|
-
// bazel-out/
|
|
5951
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5950
5952
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5951
5953
|
constructor(decl, hasProviders) {
|
|
5952
5954
|
super(decl);
|
|
@@ -6565,7 +6567,7 @@ function isSyntheticReference(ref) {
|
|
|
6565
6567
|
return ref.synthetic;
|
|
6566
6568
|
}
|
|
6567
6569
|
|
|
6568
|
-
// bazel-out/
|
|
6570
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6569
6571
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6570
6572
|
const name = ref.debugName || "(unknown)";
|
|
6571
6573
|
const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6588,7 +6590,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6588
6590
|
return null;
|
|
6589
6591
|
}
|
|
6590
6592
|
|
|
6591
|
-
// bazel-out/
|
|
6593
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6592
6594
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6593
6595
|
import ts25 from "typescript";
|
|
6594
6596
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -6674,12 +6676,14 @@ function parseExtractedTemplate(template, sourceStr, sourceParseRange, escapedSt
|
|
|
6674
6676
|
};
|
|
6675
6677
|
const parsedTemplate = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
|
|
6676
6678
|
...commonParseOptions,
|
|
6677
|
-
preserveWhitespaces: template.preserveWhitespaces
|
|
6679
|
+
preserveWhitespaces: template.preserveWhitespaces,
|
|
6680
|
+
preserveSignificantWhitespace: options.preserveSignificantWhitespace
|
|
6678
6681
|
});
|
|
6679
6682
|
const { nodes: diagNodes } = parseTemplate(sourceStr, sourceMapUrl != null ? sourceMapUrl : "", {
|
|
6680
6683
|
...commonParseOptions,
|
|
6681
6684
|
preserveWhitespaces: true,
|
|
6682
6685
|
preserveLineEndings: true,
|
|
6686
|
+
preserveSignificantWhitespace: true,
|
|
6683
6687
|
leadingTriviaChars: []
|
|
6684
6688
|
});
|
|
6685
6689
|
return {
|
|
@@ -6855,7 +6859,7 @@ function extractComponentStyleUrls(evaluator, component) {
|
|
|
6855
6859
|
{
|
|
6856
6860
|
url: styleUrl,
|
|
6857
6861
|
source: 2,
|
|
6858
|
-
|
|
6862
|
+
expression: styleUrlExpr
|
|
6859
6863
|
}
|
|
6860
6864
|
];
|
|
6861
6865
|
}
|
|
@@ -6875,7 +6879,7 @@ function extractStyleUrlsFromExpression(evaluator, styleUrlsExpr) {
|
|
|
6875
6879
|
styleUrls.push({
|
|
6876
6880
|
url: styleUrl,
|
|
6877
6881
|
source: 2,
|
|
6878
|
-
|
|
6882
|
+
expression: styleUrlExpr
|
|
6879
6883
|
});
|
|
6880
6884
|
}
|
|
6881
6885
|
}
|
|
@@ -6888,32 +6892,17 @@ function extractStyleUrlsFromExpression(evaluator, styleUrlsExpr) {
|
|
|
6888
6892
|
styleUrls.push({
|
|
6889
6893
|
url: styleUrl,
|
|
6890
6894
|
source: 2,
|
|
6891
|
-
|
|
6895
|
+
expression: styleUrlsExpr
|
|
6892
6896
|
});
|
|
6893
6897
|
}
|
|
6894
6898
|
}
|
|
6895
6899
|
return styleUrls;
|
|
6896
6900
|
}
|
|
6897
|
-
function
|
|
6901
|
+
function extractInlineStyleResources(component) {
|
|
6898
6902
|
const styles = /* @__PURE__ */ new Set();
|
|
6899
6903
|
function stringLiteralElements(array) {
|
|
6900
6904
|
return array.elements.filter((e) => ts25.isStringLiteralLike(e));
|
|
6901
6905
|
}
|
|
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
6906
|
const stylesExpr = component.get("styles");
|
|
6918
6907
|
if (stylesExpr !== void 0) {
|
|
6919
6908
|
if (ts25.isArrayLiteralExpression(stylesExpr)) {
|
|
@@ -6926,27 +6915,19 @@ function extractStyleResources(resourceLoader, component, containingFile) {
|
|
|
6926
6915
|
}
|
|
6927
6916
|
return styles;
|
|
6928
6917
|
}
|
|
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
6918
|
function _extractTemplateStyleUrls(template) {
|
|
6938
6919
|
if (template.styleUrls === null) {
|
|
6939
6920
|
return [];
|
|
6940
6921
|
}
|
|
6941
|
-
const
|
|
6922
|
+
const expression = getTemplateDeclarationNodeForError(template.declaration);
|
|
6942
6923
|
return template.styleUrls.map((url) => ({
|
|
6943
6924
|
url,
|
|
6944
6925
|
source: 1,
|
|
6945
|
-
|
|
6926
|
+
expression
|
|
6946
6927
|
}));
|
|
6947
6928
|
}
|
|
6948
6929
|
|
|
6949
|
-
// bazel-out/
|
|
6930
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6950
6931
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6951
6932
|
constructor() {
|
|
6952
6933
|
super(...arguments);
|
|
@@ -6981,7 +6962,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6981
6962
|
}
|
|
6982
6963
|
};
|
|
6983
6964
|
|
|
6984
|
-
// bazel-out/
|
|
6965
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6985
6966
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6986
6967
|
if (value instanceof Map) {
|
|
6987
6968
|
const name = value.get("name");
|
|
@@ -7058,10 +7039,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7058
7039
|
return false;
|
|
7059
7040
|
}
|
|
7060
7041
|
|
|
7061
|
-
// bazel-out/
|
|
7042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7062
7043
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7063
7044
|
|
|
7064
|
-
// bazel-out/
|
|
7045
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7065
7046
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7066
7047
|
var UpdateMode;
|
|
7067
7048
|
(function(UpdateMode2) {
|
|
@@ -7069,13 +7050,13 @@ var UpdateMode;
|
|
|
7069
7050
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7070
7051
|
})(UpdateMode || (UpdateMode = {}));
|
|
7071
7052
|
|
|
7072
|
-
// bazel-out/
|
|
7053
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7073
7054
|
import ts27 from "typescript";
|
|
7074
7055
|
|
|
7075
|
-
// bazel-out/
|
|
7056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7076
7057
|
import ts26 from "typescript";
|
|
7077
7058
|
|
|
7078
|
-
// bazel-out/
|
|
7059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7079
7060
|
var NgExtension = Symbol("NgExtension");
|
|
7080
7061
|
function isExtended(sf) {
|
|
7081
7062
|
return sf[NgExtension] !== void 0;
|
|
@@ -7135,13 +7116,13 @@ function retagTsFile(sf) {
|
|
|
7135
7116
|
}
|
|
7136
7117
|
}
|
|
7137
7118
|
|
|
7138
|
-
// bazel-out/
|
|
7119
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7139
7120
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7140
7121
|
function makeShimFileName(fileName, suffix) {
|
|
7141
7122
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7142
7123
|
}
|
|
7143
7124
|
|
|
7144
|
-
// bazel-out/
|
|
7125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7145
7126
|
var ShimAdapter = class {
|
|
7146
7127
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
7147
7128
|
this.delegate = delegate;
|
|
@@ -7236,7 +7217,7 @@ var ShimAdapter = class {
|
|
|
7236
7217
|
}
|
|
7237
7218
|
};
|
|
7238
7219
|
|
|
7239
|
-
// bazel-out/
|
|
7220
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7240
7221
|
var ShimReferenceTagger = class {
|
|
7241
7222
|
constructor(shimExtensions) {
|
|
7242
7223
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -7270,7 +7251,7 @@ var ShimReferenceTagger = class {
|
|
|
7270
7251
|
}
|
|
7271
7252
|
};
|
|
7272
7253
|
|
|
7273
|
-
// bazel-out/
|
|
7254
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7274
7255
|
var DelegatingCompilerHost = class {
|
|
7275
7256
|
get jsDocParsingMode() {
|
|
7276
7257
|
return this.delegate.jsDocParsingMode;
|
|
@@ -7388,7 +7369,7 @@ var TsCreateProgramDriver = class {
|
|
|
7388
7369
|
}
|
|
7389
7370
|
};
|
|
7390
7371
|
|
|
7391
|
-
// bazel-out/
|
|
7372
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7392
7373
|
import ts28 from "typescript";
|
|
7393
7374
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7394
7375
|
var _a;
|
|
@@ -7499,7 +7480,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7499
7480
|
);
|
|
7500
7481
|
}
|
|
7501
7482
|
|
|
7502
|
-
// bazel-out/
|
|
7483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7503
7484
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7504
7485
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7505
7486
|
function getTemplateId(clazz) {
|
|
@@ -7516,11 +7497,11 @@ function allocateTemplateId(sf) {
|
|
|
7516
7497
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7517
7498
|
}
|
|
7518
7499
|
|
|
7519
|
-
// bazel-out/
|
|
7500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7520
7501
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7521
7502
|
import ts30 from "typescript";
|
|
7522
7503
|
|
|
7523
|
-
// bazel-out/
|
|
7504
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7524
7505
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7525
7506
|
import ts29 from "typescript";
|
|
7526
7507
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7651,7 +7632,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7651
7632
|
}) || false;
|
|
7652
7633
|
}
|
|
7653
7634
|
|
|
7654
|
-
// bazel-out/
|
|
7635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7655
7636
|
var CompletionEngine = class {
|
|
7656
7637
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
7657
7638
|
this.tcb = tcb;
|
|
@@ -8841,10 +8822,10 @@ var MagicString = class {
|
|
|
8841
8822
|
}
|
|
8842
8823
|
};
|
|
8843
8824
|
|
|
8844
|
-
// bazel-out/
|
|
8825
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8845
8826
|
import ts43 from "typescript";
|
|
8846
8827
|
|
|
8847
|
-
// bazel-out/
|
|
8828
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8848
8829
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
8849
8830
|
import ts31 from "typescript";
|
|
8850
8831
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -8897,10 +8878,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
8897
8878
|
}
|
|
8898
8879
|
};
|
|
8899
8880
|
|
|
8900
|
-
// bazel-out/
|
|
8881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8901
8882
|
import ts36 from "typescript";
|
|
8902
8883
|
|
|
8903
|
-
// bazel-out/
|
|
8884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
8904
8885
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
8905
8886
|
var ReferenceEmitEnvironment = class {
|
|
8906
8887
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -8931,7 +8912,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
8931
8912
|
}
|
|
8932
8913
|
};
|
|
8933
8914
|
|
|
8934
|
-
// bazel-out/
|
|
8915
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8935
8916
|
import ts32 from "typescript";
|
|
8936
8917
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
8937
8918
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -9014,15 +8995,15 @@ function tsNumericExpression(value) {
|
|
|
9014
8995
|
return ts32.factory.createNumericLiteral(value);
|
|
9015
8996
|
}
|
|
9016
8997
|
|
|
9017
|
-
// bazel-out/
|
|
8998
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9018
8999
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9019
9000
|
import ts35 from "typescript";
|
|
9020
9001
|
|
|
9021
|
-
// bazel-out/
|
|
9002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9022
9003
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9023
9004
|
import ts34 from "typescript";
|
|
9024
9005
|
|
|
9025
|
-
// bazel-out/
|
|
9006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9026
9007
|
import ts33 from "typescript";
|
|
9027
9008
|
var TypeParameterEmitter = class {
|
|
9028
9009
|
constructor(typeParameters, reflector) {
|
|
@@ -9100,7 +9081,7 @@ var TypeParameterEmitter = class {
|
|
|
9100
9081
|
}
|
|
9101
9082
|
};
|
|
9102
9083
|
|
|
9103
|
-
// bazel-out/
|
|
9084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9104
9085
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9105
9086
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9106
9087
|
];
|
|
@@ -9192,7 +9173,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9192
9173
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9193
9174
|
}
|
|
9194
9175
|
|
|
9195
|
-
// bazel-out/
|
|
9176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9196
9177
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9197
9178
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9198
9179
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9315,7 +9296,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9315
9296
|
});
|
|
9316
9297
|
}
|
|
9317
9298
|
|
|
9318
|
-
// bazel-out/
|
|
9299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9319
9300
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9320
9301
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
9321
9302
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -9387,7 +9368,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9387
9368
|
}
|
|
9388
9369
|
};
|
|
9389
9370
|
|
|
9390
|
-
// bazel-out/
|
|
9371
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9391
9372
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9392
9373
|
import ts37 from "typescript";
|
|
9393
9374
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9589,7 +9570,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9589
9570
|
};
|
|
9590
9571
|
}
|
|
9591
9572
|
|
|
9592
|
-
// bazel-out/
|
|
9573
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9593
9574
|
import ts38 from "typescript";
|
|
9594
9575
|
var TypeCheckShimGenerator = class {
|
|
9595
9576
|
constructor() {
|
|
@@ -9607,11 +9588,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9607
9588
|
}
|
|
9608
9589
|
};
|
|
9609
9590
|
|
|
9610
|
-
// bazel-out/
|
|
9591
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9611
9592
|
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
9593
|
import ts41 from "typescript";
|
|
9613
9594
|
|
|
9614
|
-
// bazel-out/
|
|
9595
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9615
9596
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9616
9597
|
import ts39 from "typescript";
|
|
9617
9598
|
function wrapForDiagnostics(expr) {
|
|
@@ -9667,7 +9648,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9667
9648
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9668
9649
|
}
|
|
9669
9650
|
|
|
9670
|
-
// bazel-out/
|
|
9651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9671
9652
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9672
9653
|
import ts40 from "typescript";
|
|
9673
9654
|
var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -10000,7 +9981,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
10000
9981
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
10001
9982
|
})();
|
|
10002
9983
|
|
|
10003
|
-
// bazel-out/
|
|
9984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
10004
9985
|
var TcbGenericContextBehavior;
|
|
10005
9986
|
(function(TcbGenericContextBehavior2) {
|
|
10006
9987
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -11590,7 +11571,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11590
11571
|
}
|
|
11591
11572
|
};
|
|
11592
11573
|
|
|
11593
|
-
// bazel-out/
|
|
11574
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11594
11575
|
import ts42 from "typescript";
|
|
11595
11576
|
var TypeCheckFile = class extends Environment {
|
|
11596
11577
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -11638,7 +11619,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11638
11619
|
}
|
|
11639
11620
|
};
|
|
11640
11621
|
|
|
11641
|
-
// bazel-out/
|
|
11622
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11642
11623
|
var InliningMode;
|
|
11643
11624
|
(function(InliningMode2) {
|
|
11644
11625
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -11890,10 +11871,10 @@ var TypeCtorOp = class {
|
|
|
11890
11871
|
}
|
|
11891
11872
|
};
|
|
11892
11873
|
|
|
11893
|
-
// bazel-out/
|
|
11874
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11894
11875
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
11895
11876
|
|
|
11896
|
-
// bazel-out/
|
|
11877
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
11897
11878
|
var LF_CHAR = 10;
|
|
11898
11879
|
var CR_CHAR = 13;
|
|
11899
11880
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -11934,7 +11915,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
11934
11915
|
return low - 1;
|
|
11935
11916
|
}
|
|
11936
11917
|
|
|
11937
|
-
// bazel-out/
|
|
11918
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11938
11919
|
var TemplateSource = class {
|
|
11939
11920
|
constructor(mapping, file) {
|
|
11940
11921
|
this.mapping = mapping;
|
|
@@ -11985,7 +11966,7 @@ var TemplateSourceManager = class {
|
|
|
11985
11966
|
}
|
|
11986
11967
|
};
|
|
11987
11968
|
|
|
11988
|
-
// bazel-out/
|
|
11969
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
11989
11970
|
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
11971
|
import ts44 from "typescript";
|
|
11991
11972
|
var SymbolBuilder = class {
|
|
@@ -12559,7 +12540,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12559
12540
|
};
|
|
12560
12541
|
}
|
|
12561
12542
|
|
|
12562
|
-
// bazel-out/
|
|
12543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12563
12544
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12564
12545
|
var TemplateTypeCheckerImpl = class {
|
|
12565
12546
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -13258,12 +13239,12 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13258
13239
|
}
|
|
13259
13240
|
};
|
|
13260
13241
|
|
|
13261
|
-
// bazel-out/
|
|
13242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13262
13243
|
var EMPTY_ARRAY2 = [];
|
|
13263
13244
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13264
13245
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
13265
13246
|
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) {
|
|
13247
|
+
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
13248
|
this.reflector = reflector;
|
|
13268
13249
|
this.evaluator = evaluator;
|
|
13269
13250
|
this.metaRegistry = metaRegistry;
|
|
@@ -13302,6 +13283,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13302
13283
|
this.enableLetSyntax = enableLetSyntax;
|
|
13303
13284
|
this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
|
|
13304
13285
|
this.jitDeclarationRegistry = jitDeclarationRegistry;
|
|
13286
|
+
this.i18nPreserveSignificantWhitespace = i18nPreserveSignificantWhitespace;
|
|
13305
13287
|
this.literalCache = /* @__PURE__ */ new Map();
|
|
13306
13288
|
this.elementSchemaRegistry = new DomElementSchemaRegistry3();
|
|
13307
13289
|
this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
|
|
@@ -13313,7 +13295,8 @@ var ComponentDecoratorHandler = class {
|
|
|
13313
13295
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
13314
13296
|
usePoisonedData: this.usePoisonedData,
|
|
13315
13297
|
enableBlockSyntax: this.enableBlockSyntax,
|
|
13316
|
-
enableLetSyntax: this.enableLetSyntax
|
|
13298
|
+
enableLetSyntax: this.enableLetSyntax,
|
|
13299
|
+
preserveSignificantWhitespace: this.i18nPreserveSignificantWhitespace
|
|
13317
13300
|
};
|
|
13318
13301
|
}
|
|
13319
13302
|
detect(node, decorators) {
|
|
@@ -13498,7 +13481,8 @@ var ComponentDecoratorHandler = class {
|
|
|
13498
13481
|
i18nNormalizeLineEndingsInICUs: this.i18nNormalizeLineEndingsInICUs,
|
|
13499
13482
|
usePoisonedData: this.usePoisonedData,
|
|
13500
13483
|
enableBlockSyntax: this.enableBlockSyntax,
|
|
13501
|
-
enableLetSyntax: this.enableLetSyntax
|
|
13484
|
+
enableLetSyntax: this.enableLetSyntax,
|
|
13485
|
+
preserveSignificantWhitespace: this.i18nPreserveSignificantWhitespace
|
|
13502
13486
|
}, this.compilationMode);
|
|
13503
13487
|
if (this.compilationMode === CompilationMode.LOCAL && template.errors && template.errors.length > 0) {
|
|
13504
13488
|
if (diagnostics === void 0) {
|
|
@@ -13516,7 +13500,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13516
13500
|
expression: template.sourceMapping.node
|
|
13517
13501
|
};
|
|
13518
13502
|
let styles = [];
|
|
13519
|
-
const styleResources =
|
|
13503
|
+
const styleResources = extractInlineStyleResources(component);
|
|
13520
13504
|
const styleUrls = [
|
|
13521
13505
|
...extractComponentStyleUrls(this.evaluator, component),
|
|
13522
13506
|
..._extractTemplateStyleUrls(template)
|
|
@@ -13524,6 +13508,12 @@ var ComponentDecoratorHandler = class {
|
|
|
13524
13508
|
for (const styleUrl of styleUrls) {
|
|
13525
13509
|
try {
|
|
13526
13510
|
const resourceUrl = this.resourceLoader.resolve(styleUrl.url, containingFile);
|
|
13511
|
+
if (styleUrl.source === 2 && ts45.isStringLiteralLike(styleUrl.expression)) {
|
|
13512
|
+
styleResources.add({
|
|
13513
|
+
path: absoluteFrom(resourceUrl),
|
|
13514
|
+
expression: styleUrl.expression
|
|
13515
|
+
});
|
|
13516
|
+
}
|
|
13527
13517
|
const resourceStr = this.resourceLoader.load(resourceUrl);
|
|
13528
13518
|
styles.push(resourceStr);
|
|
13529
13519
|
if (this.depTracker !== null) {
|
|
@@ -13537,7 +13527,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13537
13527
|
diagnostics = [];
|
|
13538
13528
|
}
|
|
13539
13529
|
const resourceType = styleUrl.source === 2 ? 2 : 1;
|
|
13540
|
-
diagnostics.push(makeResourceNotFoundError(styleUrl.url, styleUrl.
|
|
13530
|
+
diagnostics.push(makeResourceNotFoundError(styleUrl.url, styleUrl.expression, resourceType).toDiagnostic());
|
|
13541
13531
|
}
|
|
13542
13532
|
}
|
|
13543
13533
|
if (encapsulation === ViewEncapsulation2.ShadowDom && metadata.selector !== null) {
|
|
@@ -13663,6 +13653,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13663
13653
|
isStandalone: analysis.meta.isStandalone,
|
|
13664
13654
|
isSignal: analysis.meta.isSignal,
|
|
13665
13655
|
imports: analysis.resolvedImports,
|
|
13656
|
+
rawImports: analysis.rawImports,
|
|
13666
13657
|
deferredImports: analysis.resolvedDeferredImports,
|
|
13667
13658
|
animationTriggerNames: analysis.animationTriggerNames,
|
|
13668
13659
|
schemas: analysis.schemas,
|
|
@@ -14300,7 +14291,7 @@ function isDefaultImport(node) {
|
|
|
14300
14291
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14301
14292
|
}
|
|
14302
14293
|
|
|
14303
|
-
// bazel-out/
|
|
14294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14304
14295
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14305
14296
|
import ts46 from "typescript";
|
|
14306
14297
|
var InjectableDecoratorHandler = class {
|
|
@@ -14532,7 +14523,7 @@ function getDep(dep, reflector) {
|
|
|
14532
14523
|
return meta;
|
|
14533
14524
|
}
|
|
14534
14525
|
|
|
14535
|
-
// bazel-out/
|
|
14526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
14536
14527
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
14537
14528
|
import ts47 from "typescript";
|
|
14538
14529
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -14762,4 +14753,4 @@ export {
|
|
|
14762
14753
|
* Use of this source code is governed by an MIT-style license that can be
|
|
14763
14754
|
* found in the LICENSE file at https://angular.io/license
|
|
14764
14755
|
*/
|
|
14765
|
-
//# sourceMappingURL=chunk-
|
|
14756
|
+
//# sourceMappingURL=chunk-IYQOLQCE.js.map
|