@angular/compiler-cli 19.0.0-next.7 → 19.0.0-next.8
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-AOL33GUJ.js → chunk-2TSCCC7T.js} +31 -31
- package/bundles/{chunk-FMA7PJT3.js → chunk-3Z25BX6N.js} +7 -7
- package/bundles/{chunk-6YYOILZF.js → chunk-6JG6NFJ7.js} +141 -129
- package/bundles/chunk-6JG6NFJ7.js.map +6 -0
- package/bundles/{chunk-4SDD6AUK.js → chunk-IXNIFZCK.js} +103 -88
- package/bundles/{chunk-4SDD6AUK.js.map → chunk-IXNIFZCK.js.map} +1 -1
- package/bundles/{chunk-IF37SPTA.js → chunk-IXRL26J5.js} +44 -43
- package/bundles/chunk-IXRL26J5.js.map +6 -0
- package/bundles/{chunk-XMNIXGGD.js → chunk-KICABBHP.js} +3 -3
- package/bundles/{chunk-24RAQD7D.js → chunk-LG56S2LO.js} +5 -5
- package/bundles/{chunk-EWRID7KM.js → chunk-OY6IBSDB.js} +12 -12
- package/bundles/{chunk-EH5E5HQO.js → chunk-RT2QTF73.js} +3 -3
- package/bundles/{chunk-MTBZ3GX2.js → chunk-UJ2J6WV4.js} +8 -8
- package/bundles/{chunk-UQPYSPIX.js → chunk-XSNUHRLJ.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 +2 -2
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/directive/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -1
- package/src/ngtsc/annotations/src/pipe.d.ts +2 -1
- package/src/ngtsc/core/api/src/public_options.d.ts +4 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
- package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +6 -0
- package/bundles/chunk-6YYOILZF.js.map +0 -6
- package/bundles/chunk-IF37SPTA.js.map +0 -6
- /package/bundles/{chunk-AOL33GUJ.js.map → chunk-2TSCCC7T.js.map} +0 -0
- /package/bundles/{chunk-FMA7PJT3.js.map → chunk-3Z25BX6N.js.map} +0 -0
- /package/bundles/{chunk-XMNIXGGD.js.map → chunk-KICABBHP.js.map} +0 -0
- /package/bundles/{chunk-24RAQD7D.js.map → chunk-LG56S2LO.js.map} +0 -0
- /package/bundles/{chunk-EWRID7KM.js.map → chunk-OY6IBSDB.js.map} +0 -0
- /package/bundles/{chunk-EH5E5HQO.js.map → chunk-RT2QTF73.js.map} +0 -0
- /package/bundles/{chunk-MTBZ3GX2.js.map → chunk-UJ2J6WV4.js.map} +0 -0
- /package/bundles/{chunk-UQPYSPIX.js.map → chunk-XSNUHRLJ.js.map} +0 -0
|
@@ -45,20 +45,20 @@ import {
|
|
|
45
45
|
translateStatement,
|
|
46
46
|
translateType,
|
|
47
47
|
typeNodeToValueExpr
|
|
48
|
-
} from "./chunk-
|
|
48
|
+
} from "./chunk-IXRL26J5.js";
|
|
49
49
|
import {
|
|
50
50
|
PerfCheckpoint,
|
|
51
51
|
PerfEvent,
|
|
52
52
|
PerfPhase
|
|
53
|
-
} from "./chunk-
|
|
53
|
+
} from "./chunk-XSNUHRLJ.js";
|
|
54
54
|
import {
|
|
55
55
|
absoluteFrom,
|
|
56
56
|
absoluteFromSourceFile,
|
|
57
57
|
getSourceFileOrError,
|
|
58
58
|
relative
|
|
59
|
-
} from "./chunk-
|
|
59
|
+
} from "./chunk-UJ2J6WV4.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;
|
|
@@ -1901,7 +1901,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
1901
1901
|
return result.length > 0 ? result : null;
|
|
1902
1902
|
}
|
|
1903
1903
|
|
|
1904
|
-
// bazel-out/
|
|
1904
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
|
|
1905
1905
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
1906
1906
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
1907
1907
|
if (topMeta === null) {
|
|
@@ -1965,7 +1965,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
1965
1965
|
};
|
|
1966
1966
|
}
|
|
1967
1967
|
|
|
1968
|
-
// bazel-out/
|
|
1968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
|
|
1969
1969
|
var LocalMetadataRegistry = class {
|
|
1970
1970
|
constructor() {
|
|
1971
1971
|
this.directives = /* @__PURE__ */ new Map();
|
|
@@ -2022,7 +2022,7 @@ var CompoundMetadataRegistry = class {
|
|
|
2022
2022
|
}
|
|
2023
2023
|
};
|
|
2024
2024
|
|
|
2025
|
-
// bazel-out/
|
|
2025
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
|
|
2026
2026
|
var ResourceRegistry = class {
|
|
2027
2027
|
constructor() {
|
|
2028
2028
|
this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
@@ -2087,7 +2087,7 @@ var ResourceRegistry = class {
|
|
|
2087
2087
|
}
|
|
2088
2088
|
};
|
|
2089
2089
|
|
|
2090
|
-
// bazel-out/
|
|
2090
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.mjs
|
|
2091
2091
|
var ExportedProviderStatusResolver = class {
|
|
2092
2092
|
constructor(metaReader) {
|
|
2093
2093
|
this.metaReader = metaReader;
|
|
@@ -2131,7 +2131,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
2131
2131
|
}
|
|
2132
2132
|
};
|
|
2133
2133
|
|
|
2134
|
-
// bazel-out/
|
|
2134
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
|
|
2135
2135
|
var EMPTY_ARRAY = [];
|
|
2136
2136
|
var HostDirectivesResolver = class {
|
|
2137
2137
|
constructor(metaReader) {
|
|
@@ -2197,7 +2197,7 @@ function resolveOutput(bindingName) {
|
|
|
2197
2197
|
return bindingName;
|
|
2198
2198
|
}
|
|
2199
2199
|
|
|
2200
|
-
// bazel-out/
|
|
2200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
|
|
2201
2201
|
var CompilationMode;
|
|
2202
2202
|
(function(CompilationMode2) {
|
|
2203
2203
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -2211,7 +2211,7 @@ var HandlerPrecedence;
|
|
|
2211
2211
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
2212
2212
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
2213
2213
|
|
|
2214
|
-
// bazel-out/
|
|
2214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
|
|
2215
2215
|
import ts7 from "typescript";
|
|
2216
2216
|
function aliasTransformFactory(exportStatements) {
|
|
2217
2217
|
return () => {
|
|
@@ -2236,10 +2236,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
2236
2236
|
};
|
|
2237
2237
|
}
|
|
2238
2238
|
|
|
2239
|
-
// bazel-out/
|
|
2239
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2240
2240
|
import ts8 from "typescript";
|
|
2241
2241
|
|
|
2242
|
-
// bazel-out/
|
|
2242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
|
|
2243
2243
|
var TraitState;
|
|
2244
2244
|
(function(TraitState2) {
|
|
2245
2245
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -2296,7 +2296,7 @@ var TraitImpl = class {
|
|
|
2296
2296
|
}
|
|
2297
2297
|
};
|
|
2298
2298
|
|
|
2299
|
-
// bazel-out/
|
|
2299
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
|
|
2300
2300
|
var TraitCompiler = class {
|
|
2301
2301
|
constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
|
|
2302
2302
|
this.handlers = handlers;
|
|
@@ -2755,7 +2755,7 @@ function containsErrors(diagnostics) {
|
|
|
2755
2755
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts8.DiagnosticCategory.Error);
|
|
2756
2756
|
}
|
|
2757
2757
|
|
|
2758
|
-
// bazel-out/
|
|
2758
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
|
|
2759
2759
|
import ts9 from "typescript";
|
|
2760
2760
|
var DtsTransformRegistry = class {
|
|
2761
2761
|
constructor() {
|
|
@@ -2905,11 +2905,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
2905
2905
|
ts9.forEachChild(node, markForEmitAsSingleLine);
|
|
2906
2906
|
}
|
|
2907
2907
|
|
|
2908
|
-
// bazel-out/
|
|
2908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2909
2909
|
import { ConstantPool } from "@angular/compiler";
|
|
2910
2910
|
import ts11 from "typescript";
|
|
2911
2911
|
|
|
2912
|
-
// bazel-out/
|
|
2912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
|
|
2913
2913
|
import ts10 from "typescript";
|
|
2914
2914
|
function visit(node, visitor, context) {
|
|
2915
2915
|
return visitor._visit(node, context);
|
|
@@ -2970,7 +2970,7 @@ var Visitor = class {
|
|
|
2970
2970
|
}
|
|
2971
2971
|
};
|
|
2972
2972
|
|
|
2973
|
-
// bazel-out/
|
|
2973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
|
|
2974
2974
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
2975
2975
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
2976
2976
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -3206,7 +3206,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
3206
3206
|
return array;
|
|
3207
3207
|
}
|
|
3208
3208
|
|
|
3209
|
-
// bazel-out/
|
|
3209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
|
|
3210
3210
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
3211
3211
|
const context = [];
|
|
3212
3212
|
for (const decl of data) {
|
|
@@ -3415,7 +3415,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
3415
3415
|
}
|
|
3416
3416
|
}
|
|
3417
3417
|
|
|
3418
|
-
// bazel-out/
|
|
3418
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
|
|
3419
3419
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
3420
3420
|
import ts13 from "typescript";
|
|
3421
3421
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
|
|
@@ -3466,7 +3466,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
3466
3466
|
return meta;
|
|
3467
3467
|
}
|
|
3468
3468
|
|
|
3469
|
-
// bazel-out/
|
|
3469
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
|
|
3470
3470
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
3471
3471
|
function compileNgFactoryDefField(metadata) {
|
|
3472
3472
|
const res = compileFactoryFunction(metadata);
|
|
@@ -3489,7 +3489,7 @@ function compileDeclareFactory(metadata) {
|
|
|
3489
3489
|
};
|
|
3490
3490
|
}
|
|
3491
3491
|
|
|
3492
|
-
// bazel-out/
|
|
3492
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
|
|
3493
3493
|
var InjectableClassRegistry = class {
|
|
3494
3494
|
constructor(host, isCore) {
|
|
3495
3495
|
this.host = host;
|
|
@@ -3515,7 +3515,7 @@ var InjectableClassRegistry = class {
|
|
|
3515
3515
|
}
|
|
3516
3516
|
};
|
|
3517
3517
|
|
|
3518
|
-
// bazel-out/
|
|
3518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
|
|
3519
3519
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
3520
3520
|
import ts14 from "typescript";
|
|
3521
3521
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -3602,7 +3602,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
3602
3602
|
return result.transformed[0];
|
|
3603
3603
|
}
|
|
3604
3604
|
|
|
3605
|
-
// bazel-out/
|
|
3605
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.mjs
|
|
3606
3606
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
3607
3607
|
import * as path from "path";
|
|
3608
3608
|
function extractClassDebugInfo(clazz, reflection, rootDirs, forbidOrphanRendering) {
|
|
@@ -3629,13 +3629,13 @@ function computeRelativePathIfPossible(filePath, rootDirs) {
|
|
|
3629
3629
|
return null;
|
|
3630
3630
|
}
|
|
3631
3631
|
|
|
3632
|
-
// bazel-out/
|
|
3632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
|
|
3633
3633
|
var NoopReferencesRegistry = class {
|
|
3634
3634
|
add(source, ...references) {
|
|
3635
3635
|
}
|
|
3636
3636
|
};
|
|
3637
3637
|
|
|
3638
|
-
// bazel-out/
|
|
3638
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
|
|
3639
3639
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
3640
3640
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
3641
3641
|
const schemas = [];
|
|
@@ -3665,7 +3665,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
3665
3665
|
return schemas;
|
|
3666
3666
|
}
|
|
3667
3667
|
|
|
3668
|
-
// bazel-out/
|
|
3668
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.mjs
|
|
3669
3669
|
import { outputAst } from "@angular/compiler";
|
|
3670
3670
|
function compileInputTransformFields(inputs) {
|
|
3671
3671
|
const extraFields = [];
|
|
@@ -3683,18 +3683,18 @@ function compileInputTransformFields(inputs) {
|
|
|
3683
3683
|
return extraFields;
|
|
3684
3684
|
}
|
|
3685
3685
|
|
|
3686
|
-
// bazel-out/
|
|
3686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.mjs
|
|
3687
3687
|
var JitDeclarationRegistry = class {
|
|
3688
3688
|
constructor() {
|
|
3689
3689
|
this.jitDeclarations = /* @__PURE__ */ new Set();
|
|
3690
3690
|
}
|
|
3691
3691
|
};
|
|
3692
3692
|
|
|
3693
|
-
// bazel-out/
|
|
3693
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
3694
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";
|
|
3695
3695
|
import ts45 from "typescript";
|
|
3696
3696
|
|
|
3697
|
-
// bazel-out/
|
|
3697
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
|
|
3698
3698
|
import ts15 from "typescript";
|
|
3699
3699
|
var SemanticSymbol = class {
|
|
3700
3700
|
constructor(decl) {
|
|
@@ -3710,7 +3710,7 @@ function getSymbolIdentifier(decl) {
|
|
|
3710
3710
|
return decl.name.text;
|
|
3711
3711
|
}
|
|
3712
3712
|
|
|
3713
|
-
// bazel-out/
|
|
3713
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
|
|
3714
3714
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
3715
3715
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
3716
3716
|
isPublicApiAffected() {
|
|
@@ -3853,10 +3853,10 @@ function getImportPath(expr) {
|
|
|
3853
3853
|
}
|
|
3854
3854
|
}
|
|
3855
3855
|
|
|
3856
|
-
// bazel-out/
|
|
3856
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3857
3857
|
import ts16 from "typescript";
|
|
3858
3858
|
|
|
3859
|
-
// bazel-out/
|
|
3859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
|
|
3860
3860
|
function isSymbolEqual(a, b) {
|
|
3861
3861
|
if (a.decl === b.decl) {
|
|
3862
3862
|
return true;
|
|
@@ -3906,7 +3906,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
3906
3906
|
return true;
|
|
3907
3907
|
}
|
|
3908
3908
|
|
|
3909
|
-
// bazel-out/
|
|
3909
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
|
|
3910
3910
|
function extractSemanticTypeParameters(node) {
|
|
3911
3911
|
if (!ts16.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
3912
3912
|
return null;
|
|
@@ -3928,14 +3928,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
3928
3928
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
3929
3929
|
}
|
|
3930
3930
|
|
|
3931
|
-
// bazel-out/
|
|
3931
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
|
|
3932
3932
|
var ComponentScopeKind;
|
|
3933
3933
|
(function(ComponentScopeKind2) {
|
|
3934
3934
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
3935
3935
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
3936
3936
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
3937
3937
|
|
|
3938
|
-
// bazel-out/
|
|
3938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
|
|
3939
3939
|
var CompoundComponentScopeReader = class {
|
|
3940
3940
|
constructor(readers) {
|
|
3941
3941
|
this.readers = readers;
|
|
@@ -3960,7 +3960,7 @@ var CompoundComponentScopeReader = class {
|
|
|
3960
3960
|
}
|
|
3961
3961
|
};
|
|
3962
3962
|
|
|
3963
|
-
// bazel-out/
|
|
3963
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
|
|
3964
3964
|
var MetadataDtsModuleScopeResolver = class {
|
|
3965
3965
|
constructor(dtsMetaReader, aliasingHost) {
|
|
3966
3966
|
this.dtsMetaReader = dtsMetaReader;
|
|
@@ -4036,11 +4036,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
4036
4036
|
}
|
|
4037
4037
|
};
|
|
4038
4038
|
|
|
4039
|
-
// bazel-out/
|
|
4039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4040
4040
|
import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
|
|
4041
4041
|
import ts17 from "typescript";
|
|
4042
4042
|
|
|
4043
|
-
// bazel-out/
|
|
4043
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
|
|
4044
4044
|
function getDiagnosticNode(ref, rawExpr) {
|
|
4045
4045
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
4046
4046
|
}
|
|
@@ -4066,7 +4066,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
4066
4066
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
4067
4067
|
}
|
|
4068
4068
|
|
|
4069
|
-
// bazel-out/
|
|
4069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
|
|
4070
4070
|
var LocalModuleScopeRegistry = class {
|
|
4071
4071
|
constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
|
|
4072
4072
|
this.localReader = localReader;
|
|
@@ -4407,7 +4407,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
4407
4407
|
]);
|
|
4408
4408
|
}
|
|
4409
4409
|
|
|
4410
|
-
// bazel-out/
|
|
4410
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
|
|
4411
4411
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
4412
4412
|
import ts18 from "typescript";
|
|
4413
4413
|
var TypeCheckScopeRegistry = class {
|
|
@@ -4488,14 +4488,14 @@ var TypeCheckScopeRegistry = class {
|
|
|
4488
4488
|
}
|
|
4489
4489
|
};
|
|
4490
4490
|
|
|
4491
|
-
// bazel-out/
|
|
4491
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
4492
4492
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
4493
4493
|
|
|
4494
|
-
// bazel-out/
|
|
4494
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4495
4495
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
4496
4496
|
import ts22 from "typescript";
|
|
4497
4497
|
|
|
4498
|
-
// bazel-out/
|
|
4498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.mjs
|
|
4499
4499
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
4500
4500
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
4501
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)}.`, [
|
|
@@ -4504,7 +4504,7 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
4504
4504
|
}
|
|
4505
4505
|
}
|
|
4506
4506
|
|
|
4507
|
-
// bazel-out/
|
|
4507
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.mjs
|
|
4508
4508
|
import ts19 from "typescript";
|
|
4509
4509
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
4510
4510
|
if (!ts19.isCallExpression(expression)) {
|
|
@@ -4573,7 +4573,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
4573
4573
|
return { api: matchingApi, apiReference, isRequired };
|
|
4574
4574
|
}
|
|
4575
4575
|
|
|
4576
|
-
// bazel-out/
|
|
4576
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.mjs
|
|
4577
4577
|
import ts20 from "typescript";
|
|
4578
4578
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
4579
4579
|
if (!ts20.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -4591,7 +4591,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
4591
4591
|
return { alias };
|
|
4592
4592
|
}
|
|
4593
4593
|
|
|
4594
|
-
// bazel-out/
|
|
4594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.mjs
|
|
4595
4595
|
var INPUT_INITIALIZER_FN = {
|
|
4596
4596
|
functionName: "input",
|
|
4597
4597
|
owningModule: "@angular/core",
|
|
@@ -4623,7 +4623,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
4623
4623
|
};
|
|
4624
4624
|
}
|
|
4625
4625
|
|
|
4626
|
-
// bazel-out/
|
|
4626
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.mjs
|
|
4627
4627
|
var MODEL_INITIALIZER_FN = {
|
|
4628
4628
|
functionName: "model",
|
|
4629
4629
|
owningModule: "@angular/core",
|
|
@@ -4664,7 +4664,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
4664
4664
|
};
|
|
4665
4665
|
}
|
|
4666
4666
|
|
|
4667
|
-
// bazel-out/
|
|
4667
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.mjs
|
|
4668
4668
|
var allowedAccessLevels = [
|
|
4669
4669
|
ClassMemberAccessLevel.PublicWritable,
|
|
4670
4670
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -4708,7 +4708,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
4708
4708
|
};
|
|
4709
4709
|
}
|
|
4710
4710
|
|
|
4711
|
-
// bazel-out/
|
|
4711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.mjs
|
|
4712
4712
|
import { createMayBeForwardRefExpression, outputAst as o } from "@angular/compiler";
|
|
4713
4713
|
import ts21 from "typescript";
|
|
4714
4714
|
var queryFunctionNames = [
|
|
@@ -4793,7 +4793,7 @@ function parseDescendantsOption(value) {
|
|
|
4793
4793
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
4794
4794
|
}
|
|
4795
4795
|
|
|
4796
|
-
// bazel-out/
|
|
4796
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
|
|
4797
4797
|
var EMPTY_OBJECT = {};
|
|
4798
4798
|
var queryDecoratorNames = [
|
|
4799
4799
|
"ViewChild",
|
|
@@ -4802,7 +4802,7 @@ var queryDecoratorNames = [
|
|
|
4802
4802
|
"ContentChildren"
|
|
4803
4803
|
];
|
|
4804
4804
|
var QUERY_TYPES = new Set(queryDecoratorNames);
|
|
4805
|
-
function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, evaluator, refEmitter, referencesRegistry, isCore, annotateForClosureCompiler, compilationMode, defaultSelector) {
|
|
4805
|
+
function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, evaluator, refEmitter, referencesRegistry, isCore, annotateForClosureCompiler, compilationMode, defaultSelector, strictStandalone) {
|
|
4806
4806
|
let directive;
|
|
4807
4807
|
if (decorator.args === null || decorator.args.length === 0) {
|
|
4808
4808
|
directive = /* @__PURE__ */ new Map();
|
|
@@ -4877,6 +4877,9 @@ function extractDirectiveMetadata(clazz, decorator, reflector, importTracker, ev
|
|
|
4877
4877
|
throw createValueHasWrongTypeError(expr, resolved, `standalone flag must be a boolean`);
|
|
4878
4878
|
}
|
|
4879
4879
|
isStandalone = resolved;
|
|
4880
|
+
if (!isStandalone && strictStandalone) {
|
|
4881
|
+
throw new FatalDiagnosticError(ErrorCode.NON_STANDALONE_NOT_ALLOWED, expr, `Only standalone components/directives are allowed when 'strictStandalone' is enabled.`);
|
|
4882
|
+
}
|
|
4880
4883
|
}
|
|
4881
4884
|
let isSignal = false;
|
|
4882
4885
|
if (directive.has("signals")) {
|
|
@@ -5595,7 +5598,7 @@ function toR3InputMetadata(mapping) {
|
|
|
5595
5598
|
};
|
|
5596
5599
|
}
|
|
5597
5600
|
|
|
5598
|
-
// bazel-out/
|
|
5601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
|
|
5599
5602
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
5600
5603
|
constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
|
|
5601
5604
|
super(decl);
|
|
@@ -5675,7 +5678,7 @@ function isBaseClassEqual(current, previous) {
|
|
|
5675
5678
|
return isSymbolEqual(current, previous);
|
|
5676
5679
|
}
|
|
5677
5680
|
|
|
5678
|
-
// bazel-out/
|
|
5681
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
|
|
5679
5682
|
var FIELD_DECORATORS = [
|
|
5680
5683
|
"Input",
|
|
5681
5684
|
"Output",
|
|
@@ -5697,7 +5700,7 @@ var LIFECYCLE_HOOKS = /* @__PURE__ */ new Set([
|
|
|
5697
5700
|
"ngAfterContentChecked"
|
|
5698
5701
|
]);
|
|
5699
5702
|
var DirectiveDecoratorHandler = class {
|
|
5700
|
-
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, perf, importTracker, includeClassMetadata, compilationMode, jitDeclarationRegistry) {
|
|
5703
|
+
constructor(reflector, evaluator, metaRegistry, scopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, annotateForClosureCompiler, perf, importTracker, includeClassMetadata, compilationMode, jitDeclarationRegistry, strictStandalone) {
|
|
5701
5704
|
this.reflector = reflector;
|
|
5702
5705
|
this.evaluator = evaluator;
|
|
5703
5706
|
this.metaRegistry = metaRegistry;
|
|
@@ -5715,6 +5718,7 @@ var DirectiveDecoratorHandler = class {
|
|
|
5715
5718
|
this.includeClassMetadata = includeClassMetadata;
|
|
5716
5719
|
this.compilationMode = compilationMode;
|
|
5717
5720
|
this.jitDeclarationRegistry = jitDeclarationRegistry;
|
|
5721
|
+
this.strictStandalone = strictStandalone;
|
|
5718
5722
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
5719
5723
|
this.name = "DirectiveDecoratorHandler";
|
|
5720
5724
|
}
|
|
@@ -5747,7 +5751,8 @@ var DirectiveDecoratorHandler = class {
|
|
|
5747
5751
|
this.isCore,
|
|
5748
5752
|
this.annotateForClosureCompiler,
|
|
5749
5753
|
this.compilationMode,
|
|
5750
|
-
null
|
|
5754
|
+
null,
|
|
5755
|
+
this.strictStandalone
|
|
5751
5756
|
);
|
|
5752
5757
|
if (directiveResult.jitForced) {
|
|
5753
5758
|
this.jitDeclarationRegistry.jitDeclarations.add(node);
|
|
@@ -5872,11 +5877,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
5872
5877
|
}
|
|
5873
5878
|
};
|
|
5874
5879
|
|
|
5875
|
-
// bazel-out/
|
|
5880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5876
5881
|
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";
|
|
5877
5882
|
import ts24 from "typescript";
|
|
5878
5883
|
|
|
5879
|
-
// bazel-out/
|
|
5884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
|
|
5880
5885
|
import ts23 from "typescript";
|
|
5881
5886
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
5882
5887
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -5948,7 +5953,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
5948
5953
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
5949
5954
|
}
|
|
5950
5955
|
|
|
5951
|
-
// bazel-out/
|
|
5956
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
|
|
5952
5957
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
5953
5958
|
constructor(decl, hasProviders) {
|
|
5954
5959
|
super(decl);
|
|
@@ -6567,7 +6572,7 @@ function isSyntheticReference(ref) {
|
|
|
6567
6572
|
return ref.synthetic;
|
|
6568
6573
|
}
|
|
6569
6574
|
|
|
6570
|
-
// bazel-out/
|
|
6575
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
|
|
6571
6576
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
6572
6577
|
const name = ref.debugName || "(unknown)";
|
|
6573
6578
|
const path2 = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -6590,7 +6595,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
6590
6595
|
return null;
|
|
6591
6596
|
}
|
|
6592
6597
|
|
|
6593
|
-
// bazel-out/
|
|
6598
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
|
|
6594
6599
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
|
|
6595
6600
|
import ts25 from "typescript";
|
|
6596
6601
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -6927,7 +6932,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
6927
6932
|
}));
|
|
6928
6933
|
}
|
|
6929
6934
|
|
|
6930
|
-
// bazel-out/
|
|
6935
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
|
|
6931
6936
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
6932
6937
|
constructor() {
|
|
6933
6938
|
super(...arguments);
|
|
@@ -6962,7 +6967,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
6962
6967
|
}
|
|
6963
6968
|
};
|
|
6964
6969
|
|
|
6965
|
-
// bazel-out/
|
|
6970
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
|
|
6966
6971
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
6967
6972
|
if (value instanceof Map) {
|
|
6968
6973
|
const name = value.get("name");
|
|
@@ -7039,10 +7044,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
7039
7044
|
return false;
|
|
7040
7045
|
}
|
|
7041
7046
|
|
|
7042
|
-
// bazel-out/
|
|
7047
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7043
7048
|
import { CssSelector as CssSelector3, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr7, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7044
7049
|
|
|
7045
|
-
// bazel-out/
|
|
7050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
7046
7051
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
7047
7052
|
var UpdateMode;
|
|
7048
7053
|
(function(UpdateMode2) {
|
|
@@ -7050,13 +7055,13 @@ var UpdateMode;
|
|
|
7050
7055
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
7051
7056
|
})(UpdateMode || (UpdateMode = {}));
|
|
7052
7057
|
|
|
7053
|
-
// bazel-out/
|
|
7058
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7054
7059
|
import ts27 from "typescript";
|
|
7055
7060
|
|
|
7056
|
-
// bazel-out/
|
|
7061
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7057
7062
|
import ts26 from "typescript";
|
|
7058
7063
|
|
|
7059
|
-
// bazel-out/
|
|
7064
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
7060
7065
|
var NgExtension = Symbol("NgExtension");
|
|
7061
7066
|
function isExtended(sf) {
|
|
7062
7067
|
return sf[NgExtension] !== void 0;
|
|
@@ -7116,13 +7121,13 @@ function retagTsFile(sf) {
|
|
|
7116
7121
|
}
|
|
7117
7122
|
}
|
|
7118
7123
|
|
|
7119
|
-
// bazel-out/
|
|
7124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
7120
7125
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
7121
7126
|
function makeShimFileName(fileName, suffix) {
|
|
7122
7127
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
7123
7128
|
}
|
|
7124
7129
|
|
|
7125
|
-
// bazel-out/
|
|
7130
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
7126
7131
|
var ShimAdapter = class {
|
|
7127
7132
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
7128
7133
|
this.delegate = delegate;
|
|
@@ -7217,7 +7222,7 @@ var ShimAdapter = class {
|
|
|
7217
7222
|
}
|
|
7218
7223
|
};
|
|
7219
7224
|
|
|
7220
|
-
// bazel-out/
|
|
7225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
7221
7226
|
var ShimReferenceTagger = class {
|
|
7222
7227
|
constructor(shimExtensions) {
|
|
7223
7228
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -7251,7 +7256,7 @@ var ShimReferenceTagger = class {
|
|
|
7251
7256
|
}
|
|
7252
7257
|
};
|
|
7253
7258
|
|
|
7254
|
-
// bazel-out/
|
|
7259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
7255
7260
|
var DelegatingCompilerHost = class {
|
|
7256
7261
|
get jsDocParsingMode() {
|
|
7257
7262
|
return this.delegate.jsDocParsingMode;
|
|
@@ -7369,7 +7374,7 @@ var TsCreateProgramDriver = class {
|
|
|
7369
7374
|
}
|
|
7370
7375
|
};
|
|
7371
7376
|
|
|
7372
|
-
// bazel-out/
|
|
7377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
7373
7378
|
import ts28 from "typescript";
|
|
7374
7379
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
7375
7380
|
var _a;
|
|
@@ -7480,7 +7485,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
7480
7485
|
);
|
|
7481
7486
|
}
|
|
7482
7487
|
|
|
7483
|
-
// bazel-out/
|
|
7488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
7484
7489
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
7485
7490
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
7486
7491
|
function getTemplateId(clazz) {
|
|
@@ -7497,11 +7502,11 @@ function allocateTemplateId(sf) {
|
|
|
7497
7502
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
7498
7503
|
}
|
|
7499
7504
|
|
|
7500
|
-
// bazel-out/
|
|
7505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7501
7506
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
7502
7507
|
import ts30 from "typescript";
|
|
7503
7508
|
|
|
7504
|
-
// bazel-out/
|
|
7509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
7505
7510
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
7506
7511
|
import ts29 from "typescript";
|
|
7507
7512
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -7632,7 +7637,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
7632
7637
|
}) || false;
|
|
7633
7638
|
}
|
|
7634
7639
|
|
|
7635
|
-
// bazel-out/
|
|
7640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
7636
7641
|
var CompletionEngine = class {
|
|
7637
7642
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
7638
7643
|
this.tcb = tcb;
|
|
@@ -8822,10 +8827,10 @@ var MagicString = class {
|
|
|
8822
8827
|
}
|
|
8823
8828
|
};
|
|
8824
8829
|
|
|
8825
|
-
// bazel-out/
|
|
8830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
8826
8831
|
import ts43 from "typescript";
|
|
8827
8832
|
|
|
8828
|
-
// bazel-out/
|
|
8833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
8829
8834
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
8830
8835
|
import ts31 from "typescript";
|
|
8831
8836
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -8878,10 +8883,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
8878
8883
|
}
|
|
8879
8884
|
};
|
|
8880
8885
|
|
|
8881
|
-
// bazel-out/
|
|
8886
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
8882
8887
|
import ts36 from "typescript";
|
|
8883
8888
|
|
|
8884
|
-
// bazel-out/
|
|
8889
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
8885
8890
|
import { ExpressionType, ExternalExpr as ExternalExpr6, TypeModifier } from "@angular/compiler";
|
|
8886
8891
|
var ReferenceEmitEnvironment = class {
|
|
8887
8892
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -8912,7 +8917,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
8912
8917
|
}
|
|
8913
8918
|
};
|
|
8914
8919
|
|
|
8915
|
-
// bazel-out/
|
|
8920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
8916
8921
|
import ts32 from "typescript";
|
|
8917
8922
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
8918
8923
|
ts32.SyntaxKind.ParenthesizedExpression,
|
|
@@ -8995,15 +9000,15 @@ function tsNumericExpression(value) {
|
|
|
8995
9000
|
return ts32.factory.createNumericLiteral(value);
|
|
8996
9001
|
}
|
|
8997
9002
|
|
|
8998
|
-
// bazel-out/
|
|
9003
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
8999
9004
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9000
9005
|
import ts35 from "typescript";
|
|
9001
9006
|
|
|
9002
|
-
// bazel-out/
|
|
9007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9003
9008
|
import { R3Identifiers as R3Identifiers2 } from "@angular/compiler";
|
|
9004
9009
|
import ts34 from "typescript";
|
|
9005
9010
|
|
|
9006
|
-
// bazel-out/
|
|
9011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
9007
9012
|
import ts33 from "typescript";
|
|
9008
9013
|
var TypeParameterEmitter = class {
|
|
9009
9014
|
constructor(typeParameters, reflector) {
|
|
@@ -9081,7 +9086,7 @@ var TypeParameterEmitter = class {
|
|
|
9081
9086
|
}
|
|
9082
9087
|
};
|
|
9083
9088
|
|
|
9084
|
-
// bazel-out/
|
|
9089
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
9085
9090
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
9086
9091
|
R3Identifiers2.InputSignalBrandWriteType
|
|
9087
9092
|
];
|
|
@@ -9173,7 +9178,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
9173
9178
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
9174
9179
|
}
|
|
9175
9180
|
|
|
9176
|
-
// bazel-out/
|
|
9181
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
9177
9182
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
9178
9183
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
9179
9184
|
const rawType = ts35.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -9296,7 +9301,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
9296
9301
|
});
|
|
9297
9302
|
}
|
|
9298
9303
|
|
|
9299
|
-
// bazel-out/
|
|
9304
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
9300
9305
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
9301
9306
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
9302
9307
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -9368,7 +9373,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
9368
9373
|
}
|
|
9369
9374
|
};
|
|
9370
9375
|
|
|
9371
|
-
// bazel-out/
|
|
9376
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
9372
9377
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2, TmplAstElement } from "@angular/compiler";
|
|
9373
9378
|
import ts37 from "typescript";
|
|
9374
9379
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -9570,7 +9575,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
9570
9575
|
};
|
|
9571
9576
|
}
|
|
9572
9577
|
|
|
9573
|
-
// bazel-out/
|
|
9578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
9574
9579
|
import ts38 from "typescript";
|
|
9575
9580
|
var TypeCheckShimGenerator = class {
|
|
9576
9581
|
constructor() {
|
|
@@ -9588,11 +9593,11 @@ var TypeCheckShimGenerator = class {
|
|
|
9588
9593
|
}
|
|
9589
9594
|
};
|
|
9590
9595
|
|
|
9591
|
-
// bazel-out/
|
|
9596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9592
9597
|
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";
|
|
9593
9598
|
import ts41 from "typescript";
|
|
9594
9599
|
|
|
9595
|
-
// bazel-out/
|
|
9600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
9596
9601
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
|
|
9597
9602
|
import ts39 from "typescript";
|
|
9598
9603
|
function wrapForDiagnostics(expr) {
|
|
@@ -9648,7 +9653,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
9648
9653
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
9649
9654
|
}
|
|
9650
9655
|
|
|
9651
|
-
// bazel-out/
|
|
9656
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
9652
9657
|
import { ASTWithSource, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead2, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
9653
9658
|
import ts40 from "typescript";
|
|
9654
9659
|
var ANY_EXPRESSION = ts40.factory.createAsExpression(ts40.factory.createNumericLiteral("0"), ts40.factory.createKeywordTypeNode(ts40.SyntaxKind.AnyKeyword));
|
|
@@ -9981,7 +9986,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
9981
9986
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
9982
9987
|
})();
|
|
9983
9988
|
|
|
9984
|
-
// bazel-out/
|
|
9989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
9985
9990
|
var TcbGenericContextBehavior;
|
|
9986
9991
|
(function(TcbGenericContextBehavior2) {
|
|
9987
9992
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -11574,7 +11579,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
11574
11579
|
}
|
|
11575
11580
|
};
|
|
11576
11581
|
|
|
11577
|
-
// bazel-out/
|
|
11582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
11578
11583
|
import ts42 from "typescript";
|
|
11579
11584
|
var TypeCheckFile = class extends Environment {
|
|
11580
11585
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -11622,7 +11627,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
11622
11627
|
}
|
|
11623
11628
|
};
|
|
11624
11629
|
|
|
11625
|
-
// bazel-out/
|
|
11630
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
11626
11631
|
var InliningMode;
|
|
11627
11632
|
(function(InliningMode2) {
|
|
11628
11633
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -11874,10 +11879,10 @@ var TypeCtorOp = class {
|
|
|
11874
11879
|
}
|
|
11875
11880
|
};
|
|
11876
11881
|
|
|
11877
|
-
// bazel-out/
|
|
11882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11878
11883
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
11879
11884
|
|
|
11880
|
-
// bazel-out/
|
|
11885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
11881
11886
|
var LF_CHAR = 10;
|
|
11882
11887
|
var CR_CHAR = 13;
|
|
11883
11888
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -11918,7 +11923,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
11918
11923
|
return low - 1;
|
|
11919
11924
|
}
|
|
11920
11925
|
|
|
11921
|
-
// bazel-out/
|
|
11926
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
11922
11927
|
var TemplateSource = class {
|
|
11923
11928
|
constructor(mapping, file) {
|
|
11924
11929
|
this.mapping = mapping;
|
|
@@ -11969,8 +11974,8 @@ var TemplateSourceManager = class {
|
|
|
11969
11974
|
}
|
|
11970
11975
|
};
|
|
11971
11976
|
|
|
11972
|
-
// bazel-out/
|
|
11973
|
-
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";
|
|
11977
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
11978
|
+
import { AST, ASTWithName, 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";
|
|
11974
11979
|
import ts44 from "typescript";
|
|
11975
11980
|
var SymbolBuilder = class {
|
|
11976
11981
|
constructor(tcbPath, tcbIsShim, typeCheckBlock, templateData, componentScopeReader, getTypeChecker) {
|
|
@@ -12450,7 +12455,7 @@ var SymbolBuilder = class {
|
|
|
12450
12455
|
return this.getSymbol(expressionTarget);
|
|
12451
12456
|
}
|
|
12452
12457
|
let withSpan = expression.sourceSpan;
|
|
12453
|
-
if (expression instanceof PropertyWrite3) {
|
|
12458
|
+
if (expression instanceof PropertyWrite3 || expression instanceof ASTWithName && !(expression instanceof SafePropertyRead4)) {
|
|
12454
12459
|
withSpan = expression.nameSpan;
|
|
12455
12460
|
}
|
|
12456
12461
|
let node = null;
|
|
@@ -12492,6 +12497,8 @@ var SymbolBuilder = class {
|
|
|
12492
12497
|
let tsSymbol;
|
|
12493
12498
|
if (ts44.isPropertyAccessExpression(node)) {
|
|
12494
12499
|
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.name);
|
|
12500
|
+
} else if (ts44.isCallExpression(node)) {
|
|
12501
|
+
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node.expression);
|
|
12495
12502
|
} else {
|
|
12496
12503
|
tsSymbol = this.getTypeChecker().getSymbolAtLocation(node);
|
|
12497
12504
|
}
|
|
@@ -12543,7 +12550,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
12543
12550
|
};
|
|
12544
12551
|
}
|
|
12545
12552
|
|
|
12546
|
-
// bazel-out/
|
|
12553
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
12547
12554
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
12548
12555
|
var TemplateTypeCheckerImpl = class {
|
|
12549
12556
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -13242,12 +13249,12 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
13242
13249
|
}
|
|
13243
13250
|
};
|
|
13244
13251
|
|
|
13245
|
-
// bazel-out/
|
|
13252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
|
|
13246
13253
|
var EMPTY_ARRAY2 = [];
|
|
13247
13254
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
13248
13255
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
13249
13256
|
var ComponentDecoratorHandler = class {
|
|
13250
|
-
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) {
|
|
13257
|
+
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, strictStandalone) {
|
|
13251
13258
|
this.reflector = reflector;
|
|
13252
13259
|
this.evaluator = evaluator;
|
|
13253
13260
|
this.metaRegistry = metaRegistry;
|
|
@@ -13287,6 +13294,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13287
13294
|
this.localCompilationExtraImportsTracker = localCompilationExtraImportsTracker;
|
|
13288
13295
|
this.jitDeclarationRegistry = jitDeclarationRegistry;
|
|
13289
13296
|
this.i18nPreserveSignificantWhitespace = i18nPreserveSignificantWhitespace;
|
|
13297
|
+
this.strictStandalone = strictStandalone;
|
|
13290
13298
|
this.literalCache = /* @__PURE__ */ new Map();
|
|
13291
13299
|
this.elementSchemaRegistry = new DomElementSchemaRegistry3();
|
|
13292
13300
|
this.preanalyzeTemplateCache = /* @__PURE__ */ new Map();
|
|
@@ -13377,7 +13385,7 @@ var ComponentDecoratorHandler = class {
|
|
|
13377
13385
|
this.literalCache.delete(decorator);
|
|
13378
13386
|
let diagnostics;
|
|
13379
13387
|
let isPoisoned = false;
|
|
13380
|
-
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.importTracker, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, this.annotateForClosureCompiler, this.compilationMode, this.elementSchemaRegistry.getDefaultComponentElementName());
|
|
13388
|
+
const directiveResult = extractDirectiveMetadata(node, decorator, this.reflector, this.importTracker, this.evaluator, this.refEmitter, this.referencesRegistry, this.isCore, this.annotateForClosureCompiler, this.compilationMode, this.elementSchemaRegistry.getDefaultComponentElementName(), this.strictStandalone);
|
|
13381
13389
|
if (directiveResult.jitForced) {
|
|
13382
13390
|
this.jitDeclarationRegistry.jitDeclarations.add(node);
|
|
13383
13391
|
return {};
|
|
@@ -14294,7 +14302,7 @@ function isDefaultImport(node) {
|
|
|
14294
14302
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
14295
14303
|
}
|
|
14296
14304
|
|
|
14297
|
-
// bazel-out/
|
|
14305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
|
|
14298
14306
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
14299
14307
|
import ts46 from "typescript";
|
|
14300
14308
|
var InjectableDecoratorHandler = class {
|
|
@@ -14526,7 +14534,7 @@ function getDep(dep, reflector) {
|
|
|
14526
14534
|
return meta;
|
|
14527
14535
|
}
|
|
14528
14536
|
|
|
14529
|
-
// bazel-out/
|
|
14537
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
|
|
14530
14538
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
14531
14539
|
import ts47 from "typescript";
|
|
14532
14540
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -14545,7 +14553,7 @@ var PipeSymbol = class extends SemanticSymbol {
|
|
|
14545
14553
|
}
|
|
14546
14554
|
};
|
|
14547
14555
|
var PipeDecoratorHandler = class {
|
|
14548
|
-
constructor(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, perf, includeClassMetadata, compilationMode, generateExtraImportsInLocalMode) {
|
|
14556
|
+
constructor(reflector, evaluator, metaRegistry, scopeRegistry, injectableRegistry, isCore, perf, includeClassMetadata, compilationMode, generateExtraImportsInLocalMode, strictStandalone) {
|
|
14549
14557
|
this.reflector = reflector;
|
|
14550
14558
|
this.evaluator = evaluator;
|
|
14551
14559
|
this.metaRegistry = metaRegistry;
|
|
@@ -14556,6 +14564,7 @@ var PipeDecoratorHandler = class {
|
|
|
14556
14564
|
this.includeClassMetadata = includeClassMetadata;
|
|
14557
14565
|
this.compilationMode = compilationMode;
|
|
14558
14566
|
this.generateExtraImportsInLocalMode = generateExtraImportsInLocalMode;
|
|
14567
|
+
this.strictStandalone = strictStandalone;
|
|
14559
14568
|
this.precedence = HandlerPrecedence.PRIMARY;
|
|
14560
14569
|
this.name = "PipeDecoratorHandler";
|
|
14561
14570
|
}
|
|
@@ -14615,6 +14624,9 @@ var PipeDecoratorHandler = class {
|
|
|
14615
14624
|
throw createValueHasWrongTypeError(expr, resolved, `standalone flag must be a boolean`);
|
|
14616
14625
|
}
|
|
14617
14626
|
isStandalone = resolved;
|
|
14627
|
+
if (!isStandalone && this.strictStandalone) {
|
|
14628
|
+
throw new FatalDiagnosticError(ErrorCode.NON_STANDALONE_NOT_ALLOWED, expr, `Only standalone pipes are allowed when 'strictStandalone' is enabled.`);
|
|
14629
|
+
}
|
|
14618
14630
|
}
|
|
14619
14631
|
return {
|
|
14620
14632
|
analysis: {
|
|
@@ -14756,4 +14768,4 @@ export {
|
|
|
14756
14768
|
* Use of this source code is governed by an MIT-style license that can be
|
|
14757
14769
|
* found in the LICENSE file at https://angular.dev/license
|
|
14758
14770
|
*/
|
|
14759
|
-
//# sourceMappingURL=chunk-
|
|
14771
|
+
//# sourceMappingURL=chunk-6JG6NFJ7.js.map
|