@angular/compiler-cli 20.0.0-next.7 → 20.0.0-next.9
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-K6NOY73Y.js → chunk-2F5IGGXH.js} +12 -12
- package/bundles/{chunk-STORTTKY.js → chunk-37JMVF7H.js} +8 -8
- package/bundles/{chunk-BNQ3VNZP.js → chunk-5HL3AR4R.js} +180 -120
- package/bundles/chunk-5HL3AR4R.js.map +6 -0
- package/bundles/{chunk-5UDS2TPQ.js → chunk-77D5CI2U.js} +7 -7
- package/bundles/{chunk-GBKXY6BH.js → chunk-FKXFEX7K.js} +3 -3
- package/bundles/{chunk-BOV3QCZL.js → chunk-KIC4TVVW.js} +47 -41
- package/bundles/chunk-KIC4TVVW.js.map +6 -0
- package/bundles/{chunk-I6R3GL3L.js → chunk-Q2WE7ECN.js} +5 -5
- package/bundles/{chunk-OBDNP2CK.js → chunk-Q6YAKOMH.js} +5 -5
- package/bundles/{chunk-BFF3JTCC.js → chunk-SBWQVXJA.js} +51 -44
- package/bundles/chunk-SBWQVXJA.js.map +6 -0
- package/bundles/{chunk-5AFVNN25.js → chunk-UTYYMB4Z.js} +3 -3
- package/bundles/{chunk-QDS4K6PQ.js → chunk-WNWOEBZS.js} +647 -416
- package/bundles/chunk-WNWOEBZS.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/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 +16 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +1 -0
- package/src/ngtsc/core/src/compiler.d.ts +1 -0
- package/src/ngtsc/diagnostics/src/error_code.d.ts +18 -0
- package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +1 -0
- package/src/ngtsc/docs/src/entities.d.ts +2 -0
- package/src/ngtsc/metadata/src/api.d.ts +1 -0
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +1 -1
- package/src/ngtsc/typecheck/extended/checks/missing_structural_directive/index.d.ts +16 -0
- package/src/ngtsc/typecheck/src/dom.d.ts +11 -11
- package/src/ngtsc/typecheck/src/oob.d.ts +27 -3
- package/src/ngtsc/typecheck/src/tcb_util.d.ts +2 -0
- package/src/ngtsc/typecheck/src/type_check_block.d.ts +14 -5
- package/bundles/chunk-BFF3JTCC.js.map +0 -6
- package/bundles/chunk-BNQ3VNZP.js.map +0 -6
- package/bundles/chunk-BOV3QCZL.js.map +0 -6
- package/bundles/chunk-QDS4K6PQ.js.map +0 -6
- /package/bundles/{chunk-K6NOY73Y.js.map → chunk-2F5IGGXH.js.map} +0 -0
- /package/bundles/{chunk-STORTTKY.js.map → chunk-37JMVF7H.js.map} +0 -0
- /package/bundles/{chunk-5UDS2TPQ.js.map → chunk-77D5CI2U.js.map} +0 -0
- /package/bundles/{chunk-GBKXY6BH.js.map → chunk-FKXFEX7K.js.map} +0 -0
- /package/bundles/{chunk-I6R3GL3L.js.map → chunk-Q2WE7ECN.js.map} +0 -0
- /package/bundles/{chunk-OBDNP2CK.js.map → chunk-Q6YAKOMH.js.map} +0 -0
- /package/bundles/{chunk-5AFVNN25.js.map → chunk-UTYYMB4Z.js.map} +0 -0
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-2F5IGGXH.js";
|
|
8
8
|
import {
|
|
9
9
|
CompilationMode,
|
|
10
10
|
ComponentDecoratorHandler,
|
|
@@ -51,7 +51,7 @@ import {
|
|
|
51
51
|
retagAllTsFiles,
|
|
52
52
|
tryParseInitializerApi,
|
|
53
53
|
untagAllTsFiles
|
|
54
|
-
} from "./chunk-
|
|
54
|
+
} from "./chunk-WNWOEBZS.js";
|
|
55
55
|
import {
|
|
56
56
|
AbsoluteModuleStrategy,
|
|
57
57
|
AliasStrategy,
|
|
@@ -87,14 +87,14 @@ import {
|
|
|
87
87
|
relativePathBetween,
|
|
88
88
|
replaceTsWithNgInErrors,
|
|
89
89
|
toUnredirectedSourceFile
|
|
90
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-SBWQVXJA.js";
|
|
91
91
|
import {
|
|
92
92
|
ActivePerfRecorder,
|
|
93
93
|
DelegatingPerfRecorder,
|
|
94
94
|
PerfCheckpoint,
|
|
95
95
|
PerfEvent,
|
|
96
96
|
PerfPhase
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-Q2WE7ECN.js";
|
|
98
98
|
import {
|
|
99
99
|
LogicalFileSystem,
|
|
100
100
|
absoluteFrom,
|
|
@@ -104,9 +104,9 @@ import {
|
|
|
104
104
|
getFileSystem,
|
|
105
105
|
join,
|
|
106
106
|
resolve
|
|
107
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-37JMVF7H.js";
|
|
108
108
|
|
|
109
|
-
// bazel-out/
|
|
109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
110
110
|
var DEFAULT_ERROR_CODE = 100;
|
|
111
111
|
var UNKNOWN_ERROR_CODE = 500;
|
|
112
112
|
var SOURCE = "angular";
|
|
@@ -124,7 +124,7 @@ var EmitFlags;
|
|
|
124
124
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
125
125
|
})(EmitFlags || (EmitFlags = {}));
|
|
126
126
|
|
|
127
|
-
// bazel-out/
|
|
127
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
128
128
|
import ts from "typescript";
|
|
129
129
|
var wrapHostForTest = null;
|
|
130
130
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -134,7 +134,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
134
134
|
return tsHost;
|
|
135
135
|
}
|
|
136
136
|
|
|
137
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
138
138
|
var EntryType;
|
|
139
139
|
(function(EntryType2) {
|
|
140
140
|
EntryType2["Block"] = "block";
|
|
@@ -181,23 +181,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
181
181
|
return "source" in entry;
|
|
182
182
|
}
|
|
183
183
|
|
|
184
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
185
185
|
import ts12 from "typescript";
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
188
188
|
import ts6 from "typescript";
|
|
189
189
|
|
|
190
|
-
// bazel-out/
|
|
190
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
191
191
|
function isAngularPrivateName(name) {
|
|
192
192
|
var _a;
|
|
193
193
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
194
194
|
return firstChar === "\u0275" || firstChar === "_";
|
|
195
195
|
}
|
|
196
196
|
|
|
197
|
-
// bazel-out/
|
|
197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
198
198
|
import ts4 from "typescript";
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
201
201
|
function extractGenerics(declaration) {
|
|
202
202
|
var _a, _b;
|
|
203
203
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -210,7 +210,7 @@ function extractGenerics(declaration) {
|
|
|
210
210
|
})) != null ? _b : [];
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
214
214
|
import ts2 from "typescript";
|
|
215
215
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
216
216
|
function extractJsDocTags(node) {
|
|
@@ -254,13 +254,13 @@ function unescapeAngularDecorators(comment) {
|
|
|
254
254
|
return comment.replace(/_NG_AT_/g, "@");
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
258
258
|
import ts3 from "typescript";
|
|
259
259
|
function extractResolvedTypeString(node, checker) {
|
|
260
260
|
return checker.typeToString(checker.getTypeAtLocation(node), void 0, ts3.TypeFormatFlags.NoTruncation);
|
|
261
261
|
}
|
|
262
262
|
|
|
263
|
-
// bazel-out/
|
|
263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
264
264
|
var FunctionExtractor = class {
|
|
265
265
|
name;
|
|
266
266
|
exportDeclaration;
|
|
@@ -273,11 +273,7 @@ var FunctionExtractor = class {
|
|
|
273
273
|
extract() {
|
|
274
274
|
var _a, _b;
|
|
275
275
|
const signature = this.typeChecker.getSignatureFromDeclaration(this.exportDeclaration);
|
|
276
|
-
const returnType = signature ? this.typeChecker
|
|
277
|
-
this.typeChecker.getReturnTypeOfSignature(signature),
|
|
278
|
-
void 0,
|
|
279
|
-
ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
|
|
280
|
-
) : "unknown";
|
|
276
|
+
const returnType = signature ? extractReturnType(signature, this.typeChecker) : "unknown";
|
|
281
277
|
const implementation = (_a = findImplementationOfFunction(this.exportDeclaration, this.typeChecker)) != null ? _a : this.exportDeclaration;
|
|
282
278
|
const type = this.typeChecker.getTypeAtLocation(this.exportDeclaration);
|
|
283
279
|
const overloads = ts4.isConstructorDeclaration(this.exportDeclaration) ? constructorOverloads(this.exportDeclaration, this.typeChecker) : extractCallSignatures(this.name, this.typeChecker, type);
|
|
@@ -354,13 +350,20 @@ function extractCallSignatures(name, typeChecker, type) {
|
|
|
354
350
|
jsdocTags: extractJsDocTags(decl),
|
|
355
351
|
params: extractAllParams(decl.parameters, typeChecker),
|
|
356
352
|
rawComment: extractRawJsDoc(decl),
|
|
357
|
-
returnType: typeChecker
|
|
358
|
-
typeChecker.getReturnTypeOfSignature(signature),
|
|
359
|
-
void 0,
|
|
360
|
-
ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
|
|
361
|
-
)
|
|
353
|
+
returnType: extractReturnType(signature, typeChecker)
|
|
362
354
|
}));
|
|
363
355
|
}
|
|
356
|
+
function extractReturnType(signature, typeChecker) {
|
|
357
|
+
var _a;
|
|
358
|
+
if (((_a = signature == null ? void 0 : signature.declaration) == null ? void 0 : _a.type) && ts4.isTypePredicateNode(signature.declaration.type)) {
|
|
359
|
+
return signature.declaration.type.getText();
|
|
360
|
+
}
|
|
361
|
+
return typeChecker.typeToString(
|
|
362
|
+
typeChecker.getReturnTypeOfSignature(signature),
|
|
363
|
+
void 0,
|
|
364
|
+
ts4.TypeFormatFlags.NoTypeReduction | ts4.TypeFormatFlags.NoTruncation
|
|
365
|
+
);
|
|
366
|
+
}
|
|
364
367
|
function findImplementationOfFunction(node, typeChecker) {
|
|
365
368
|
var _a;
|
|
366
369
|
if (node.body !== void 0 || node.name === void 0) {
|
|
@@ -371,7 +374,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
371
374
|
return implementation;
|
|
372
375
|
}
|
|
373
376
|
|
|
374
|
-
// bazel-out/
|
|
377
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
375
378
|
import ts5 from "typescript";
|
|
376
379
|
function isInternal(member) {
|
|
377
380
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -390,7 +393,7 @@ function hasLeadingInternalComment(member) {
|
|
|
390
393
|
)) != null ? _a : false;
|
|
391
394
|
}
|
|
392
395
|
|
|
393
|
-
// bazel-out/
|
|
396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
394
397
|
var ClassExtractor = class {
|
|
395
398
|
declaration;
|
|
396
399
|
typeChecker;
|
|
@@ -431,7 +434,7 @@ var ClassExtractor = class {
|
|
|
431
434
|
return this.extractClassProperty(memberDeclaration);
|
|
432
435
|
} else if (ts6.isAccessor(memberDeclaration)) {
|
|
433
436
|
return this.extractGetterSetter(memberDeclaration);
|
|
434
|
-
} else if (ts6.isConstructorDeclaration(memberDeclaration)) {
|
|
437
|
+
} else if (ts6.isConstructorDeclaration(memberDeclaration) && memberDeclaration.parameters.length > 0) {
|
|
435
438
|
return this.extractConstructor(memberDeclaration);
|
|
436
439
|
}
|
|
437
440
|
return void 0;
|
|
@@ -665,7 +668,9 @@ var PipeExtractor = class extends ClassExtractor {
|
|
|
665
668
|
...super.extract(),
|
|
666
669
|
pipeName: this.metadata.name,
|
|
667
670
|
entryType: EntryType.Pipe,
|
|
668
|
-
isStandalone: this.metadata.isStandalone
|
|
671
|
+
isStandalone: this.metadata.isStandalone,
|
|
672
|
+
usage: extractPipeSyntax(this.metadata, this.declaration),
|
|
673
|
+
isPure: this.metadata.isPure
|
|
669
674
|
};
|
|
670
675
|
}
|
|
671
676
|
};
|
|
@@ -705,8 +710,17 @@ function extractInterface(declaration, typeChecker) {
|
|
|
705
710
|
const extractor = new ClassExtractor(declaration, typeChecker);
|
|
706
711
|
return extractor.extract();
|
|
707
712
|
}
|
|
713
|
+
function extractPipeSyntax(metadata, classDeclaration) {
|
|
714
|
+
const transformParams = classDeclaration.members.find((member) => {
|
|
715
|
+
return ts6.isMethodDeclaration(member) && member.name && ts6.isIdentifier(member.name) && member.name.getText() === "transform";
|
|
716
|
+
});
|
|
717
|
+
let paramNames = transformParams.parameters.slice(1).map((param) => {
|
|
718
|
+
return param.name.getText();
|
|
719
|
+
});
|
|
720
|
+
return `{{ value_expression | ${metadata.name}${paramNames.length ? ":" + paramNames.join(":") : ""} }}`;
|
|
721
|
+
}
|
|
708
722
|
|
|
709
|
-
// bazel-out/
|
|
723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
710
724
|
import ts7 from "typescript";
|
|
711
725
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
712
726
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -764,7 +778,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
764
778
|
});
|
|
765
779
|
}
|
|
766
780
|
|
|
767
|
-
// bazel-out/
|
|
781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
768
782
|
import ts8 from "typescript";
|
|
769
783
|
function extractorDecorator(declaration, typeChecker) {
|
|
770
784
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -837,7 +851,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
837
851
|
return callSignature;
|
|
838
852
|
}
|
|
839
853
|
|
|
840
|
-
// bazel-out/
|
|
854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
841
855
|
import ts9 from "typescript";
|
|
842
856
|
function extractEnum(declaration, typeChecker) {
|
|
843
857
|
return {
|
|
@@ -868,7 +882,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
868
882
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
869
883
|
}
|
|
870
884
|
|
|
871
|
-
// bazel-out/
|
|
885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
872
886
|
import ts10 from "typescript";
|
|
873
887
|
var initializerApiTag = "initializerApiFunction";
|
|
874
888
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -977,7 +991,7 @@ function extractFunctionWithOverloads(name, type, typeChecker) {
|
|
|
977
991
|
};
|
|
978
992
|
}
|
|
979
993
|
|
|
980
|
-
// bazel-out/
|
|
994
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
981
995
|
function extractTypeAlias(declaration) {
|
|
982
996
|
return {
|
|
983
997
|
name: declaration.name.getText(),
|
|
@@ -990,7 +1004,7 @@ function extractTypeAlias(declaration) {
|
|
|
990
1004
|
};
|
|
991
1005
|
}
|
|
992
1006
|
|
|
993
|
-
// bazel-out/
|
|
1007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/import_extractor.mjs
|
|
994
1008
|
import ts11 from "typescript";
|
|
995
1009
|
function getImportedSymbols(sourceFile) {
|
|
996
1010
|
const importSpecifiers = /* @__PURE__ */ new Map();
|
|
@@ -1015,7 +1029,7 @@ function getImportedSymbols(sourceFile) {
|
|
|
1015
1029
|
return importSpecifiers;
|
|
1016
1030
|
}
|
|
1017
1031
|
|
|
1018
|
-
// bazel-out/
|
|
1032
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
1019
1033
|
var DocsExtractor = class {
|
|
1020
1034
|
typeChecker;
|
|
1021
1035
|
metadataReader;
|
|
@@ -1103,11 +1117,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
1103
1117
|
return relativePath;
|
|
1104
1118
|
}
|
|
1105
1119
|
|
|
1106
|
-
// bazel-out/
|
|
1120
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
1107
1121
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
1108
1122
|
import ts27 from "typescript";
|
|
1109
1123
|
|
|
1110
|
-
// bazel-out/
|
|
1124
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1111
1125
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1112
1126
|
import * as path from "path";
|
|
1113
1127
|
function i18nGetExtension(formatName) {
|
|
@@ -1158,10 +1172,10 @@ function getPathNormalizer(basePath) {
|
|
|
1158
1172
|
};
|
|
1159
1173
|
}
|
|
1160
1174
|
|
|
1161
|
-
// bazel-out/
|
|
1175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1162
1176
|
import ts13 from "typescript";
|
|
1163
1177
|
|
|
1164
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1165
1179
|
function toNumbers(value) {
|
|
1166
1180
|
const suffixIndex = value.lastIndexOf("-");
|
|
1167
1181
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1196,7 +1210,7 @@ function compareVersions(v1, v2) {
|
|
|
1196
1210
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1197
1211
|
}
|
|
1198
1212
|
|
|
1199
|
-
// bazel-out/
|
|
1213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1200
1214
|
var MIN_TS_VERSION = "5.8.0";
|
|
1201
1215
|
var MAX_TS_VERSION = "5.9.0";
|
|
1202
1216
|
var tsVersion = ts13.version;
|
|
@@ -1209,10 +1223,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1209
1223
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1210
1224
|
}
|
|
1211
1225
|
|
|
1212
|
-
// bazel-out/
|
|
1226
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1213
1227
|
import ts25 from "typescript";
|
|
1214
1228
|
|
|
1215
|
-
// bazel-out/
|
|
1229
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1216
1230
|
var CycleAnalyzer = class {
|
|
1217
1231
|
importGraph;
|
|
1218
1232
|
cachedResults = null;
|
|
@@ -1289,7 +1303,7 @@ var Cycle = class {
|
|
|
1289
1303
|
}
|
|
1290
1304
|
};
|
|
1291
1305
|
|
|
1292
|
-
// bazel-out/
|
|
1306
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1293
1307
|
import ts14 from "typescript";
|
|
1294
1308
|
var ImportGraph = class {
|
|
1295
1309
|
checker;
|
|
@@ -1385,7 +1399,7 @@ var Found = class {
|
|
|
1385
1399
|
}
|
|
1386
1400
|
};
|
|
1387
1401
|
|
|
1388
|
-
// bazel-out/
|
|
1402
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1389
1403
|
import ts15 from "typescript";
|
|
1390
1404
|
var FlatIndexGenerator = class {
|
|
1391
1405
|
entryPoint;
|
|
@@ -1413,7 +1427,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1413
1427
|
}
|
|
1414
1428
|
};
|
|
1415
1429
|
|
|
1416
|
-
// bazel-out/
|
|
1430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1417
1431
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1418
1432
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1419
1433
|
let resolvedEntryPoint = null;
|
|
@@ -1429,7 +1443,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1429
1443
|
return resolvedEntryPoint;
|
|
1430
1444
|
}
|
|
1431
1445
|
|
|
1432
|
-
// bazel-out/
|
|
1446
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1433
1447
|
import ts16 from "typescript";
|
|
1434
1448
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1435
1449
|
const diagnostics = [];
|
|
@@ -1509,7 +1523,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1509
1523
|
}
|
|
1510
1524
|
}
|
|
1511
1525
|
|
|
1512
|
-
// bazel-out/
|
|
1526
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1513
1527
|
var ReferenceGraph = class {
|
|
1514
1528
|
references = /* @__PURE__ */ new Map();
|
|
1515
1529
|
add(from, to) {
|
|
@@ -1561,7 +1575,7 @@ var ReferenceGraph = class {
|
|
|
1561
1575
|
}
|
|
1562
1576
|
};
|
|
1563
1577
|
|
|
1564
|
-
// bazel-out/
|
|
1578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1565
1579
|
var FileDependencyGraph = class {
|
|
1566
1580
|
nodes = /* @__PURE__ */ new Map();
|
|
1567
1581
|
addDependency(from, on) {
|
|
@@ -1626,7 +1640,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1626
1640
|
return false;
|
|
1627
1641
|
}
|
|
1628
1642
|
|
|
1629
|
-
// bazel-out/
|
|
1643
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1630
1644
|
var IncrementalStateKind;
|
|
1631
1645
|
(function(IncrementalStateKind2) {
|
|
1632
1646
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1634,7 +1648,7 @@ var IncrementalStateKind;
|
|
|
1634
1648
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1635
1649
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1636
1650
|
|
|
1637
|
-
// bazel-out/
|
|
1651
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1638
1652
|
var PhaseKind;
|
|
1639
1653
|
(function(PhaseKind2) {
|
|
1640
1654
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1840,7 +1854,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1840
1854
|
}
|
|
1841
1855
|
}
|
|
1842
1856
|
|
|
1843
|
-
// bazel-out/
|
|
1857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1844
1858
|
var TrackedIncrementalBuildStrategy = class {
|
|
1845
1859
|
state = null;
|
|
1846
1860
|
isSet = false;
|
|
@@ -1874,7 +1888,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1874
1888
|
};
|
|
1875
1889
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1876
1890
|
|
|
1877
|
-
// bazel-out/
|
|
1891
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1878
1892
|
var IdentifierKind;
|
|
1879
1893
|
(function(IdentifierKind2) {
|
|
1880
1894
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1895,7 +1909,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1895
1909
|
}
|
|
1896
1910
|
};
|
|
1897
1911
|
|
|
1898
|
-
// bazel-out/
|
|
1912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1899
1913
|
var IndexingContext = class {
|
|
1900
1914
|
components = /* @__PURE__ */ new Set();
|
|
1901
1915
|
addComponent(info) {
|
|
@@ -1903,11 +1917,11 @@ var IndexingContext = class {
|
|
|
1903
1917
|
}
|
|
1904
1918
|
};
|
|
1905
1919
|
|
|
1906
|
-
// bazel-out/
|
|
1920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1907
1921
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1908
1922
|
|
|
1909
|
-
// bazel-out/
|
|
1910
|
-
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1923
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1924
|
+
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstComponent, TmplAstDirective, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1911
1925
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1912
1926
|
expressionStr;
|
|
1913
1927
|
absoluteOffset;
|
|
@@ -2091,6 +2105,9 @@ var TemplateVisitor = class extends TmplAstRecursiveVisitor {
|
|
|
2091
2105
|
}
|
|
2092
2106
|
elementOrTemplateToIdentifier(node) {
|
|
2093
2107
|
var _a;
|
|
2108
|
+
if (node instanceof TmplAstComponent || node instanceof TmplAstDirective) {
|
|
2109
|
+
throw new Error("TODO");
|
|
2110
|
+
}
|
|
2094
2111
|
if (this.elementAndTemplateIdentifierCache.has(node)) {
|
|
2095
2112
|
return this.elementAndTemplateIdentifierCache.get(node);
|
|
2096
2113
|
}
|
|
@@ -2152,7 +2169,7 @@ var TemplateVisitor = class extends TmplAstRecursiveVisitor {
|
|
|
2152
2169
|
if (refTarget) {
|
|
2153
2170
|
let node2 = null;
|
|
2154
2171
|
let directive = null;
|
|
2155
|
-
if (refTarget instanceof TmplAstElement || refTarget instanceof TmplAstTemplate) {
|
|
2172
|
+
if (refTarget instanceof TmplAstElement || refTarget instanceof TmplAstTemplate || refTarget instanceof TmplAstComponent || refTarget instanceof TmplAstDirective) {
|
|
2156
2173
|
node2 = this.elementOrTemplateToIdentifier(refTarget);
|
|
2157
2174
|
} else {
|
|
2158
2175
|
node2 = this.elementOrTemplateToIdentifier(refTarget.node);
|
|
@@ -2214,7 +2231,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2214
2231
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2215
2232
|
}
|
|
2216
2233
|
|
|
2217
|
-
// bazel-out/
|
|
2234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2218
2235
|
function generateAnalysis(context) {
|
|
2219
2236
|
const analysis = /* @__PURE__ */ new Map();
|
|
2220
2237
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2250,7 +2267,7 @@ function generateAnalysis(context) {
|
|
|
2250
2267
|
return analysis;
|
|
2251
2268
|
}
|
|
2252
2269
|
|
|
2253
|
-
// bazel-out/
|
|
2270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2254
2271
|
var NgModuleIndexImpl = class {
|
|
2255
2272
|
metaReader;
|
|
2256
2273
|
localReader;
|
|
@@ -2341,7 +2358,7 @@ var NgModuleIndexImpl = class {
|
|
|
2341
2358
|
}
|
|
2342
2359
|
};
|
|
2343
2360
|
|
|
2344
|
-
// bazel-out/
|
|
2361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2345
2362
|
import ts17 from "typescript";
|
|
2346
2363
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2347
2364
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2499,7 +2516,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2499
2516
|
};
|
|
2500
2517
|
}
|
|
2501
2518
|
|
|
2502
|
-
// bazel-out/
|
|
2519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2503
2520
|
var StandaloneComponentScopeReader = class {
|
|
2504
2521
|
metaReader;
|
|
2505
2522
|
localModuleReader;
|
|
@@ -2598,10 +2615,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2598
2615
|
}
|
|
2599
2616
|
};
|
|
2600
2617
|
|
|
2601
|
-
// bazel-out/
|
|
2618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2602
2619
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2603
2620
|
|
|
2604
|
-
// bazel-out/
|
|
2621
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2605
2622
|
import ts18 from "typescript";
|
|
2606
2623
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2607
2624
|
"WritableSignal",
|
|
@@ -2617,11 +2634,11 @@ function isSignalSymbol(symbol) {
|
|
|
2617
2634
|
const declarations = symbol.getDeclarations();
|
|
2618
2635
|
return declarations !== void 0 && declarations.some((decl) => {
|
|
2619
2636
|
const fileName = decl.getSourceFile().fileName;
|
|
2620
|
-
return (ts18.isInterfaceDeclaration(decl) || ts18.isTypeAliasDeclaration(decl)) && SIGNAL_FNS.has(decl.name.text) && (fileName.includes("@angular/core") || fileName.includes("angular2/rc/packages/core"));
|
|
2637
|
+
return (ts18.isInterfaceDeclaration(decl) || ts18.isTypeAliasDeclaration(decl)) && SIGNAL_FNS.has(decl.name.text) && (fileName.includes("@angular/core") || fileName.includes("angular2/rc/packages/core") || fileName.includes("bin/packages/core"));
|
|
2621
2638
|
});
|
|
2622
2639
|
}
|
|
2623
2640
|
|
|
2624
|
-
// bazel-out/
|
|
2641
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2625
2642
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2626
2643
|
var TemplateCheckWithVisitor = class {
|
|
2627
2644
|
canVisitStructuralAttributes = true;
|
|
@@ -2774,7 +2791,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2774
2791
|
}
|
|
2775
2792
|
};
|
|
2776
2793
|
|
|
2777
|
-
// bazel-out/
|
|
2794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2778
2795
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2779
2796
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2780
2797
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2823,7 +2840,7 @@ var factory = {
|
|
|
2823
2840
|
create: () => new InterpolatedSignalCheck()
|
|
2824
2841
|
};
|
|
2825
2842
|
|
|
2826
|
-
// bazel-out/
|
|
2843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2827
2844
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2828
2845
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2829
2846
|
code = ErrorCode.INVALID_BANANA_IN_BOX;
|
|
@@ -2846,7 +2863,7 @@ var factory2 = {
|
|
|
2846
2863
|
create: () => new InvalidBananaInBoxCheck()
|
|
2847
2864
|
};
|
|
2848
2865
|
|
|
2849
|
-
// bazel-out/
|
|
2866
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2850
2867
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2851
2868
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2852
2869
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2888,7 +2905,7 @@ var factory3 = {
|
|
|
2888
2905
|
}
|
|
2889
2906
|
};
|
|
2890
2907
|
|
|
2891
|
-
// bazel-out/
|
|
2908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2892
2909
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2893
2910
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2894
2911
|
code = ErrorCode.MISSING_NGFOROF_LET;
|
|
@@ -2918,7 +2935,47 @@ var factory4 = {
|
|
|
2918
2935
|
create: () => new MissingNgForOfLetCheck()
|
|
2919
2936
|
};
|
|
2920
2937
|
|
|
2921
|
-
// bazel-out/
|
|
2938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_structural_directive/index.mjs
|
|
2939
|
+
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
2940
|
+
var KNOWN_CONTROL_FLOW_DIRECTIVES2 = /* @__PURE__ */ new Set([
|
|
2941
|
+
"ngIf",
|
|
2942
|
+
"ngFor",
|
|
2943
|
+
"ngForOf",
|
|
2944
|
+
"ngForTrackBy",
|
|
2945
|
+
"ngSwitchCase",
|
|
2946
|
+
"ngSwitchDefault"
|
|
2947
|
+
]);
|
|
2948
|
+
var MissingStructuralDirectiveCheck = class extends TemplateCheckWithVisitor {
|
|
2949
|
+
code = ErrorCode.MISSING_STRUCTURAL_DIRECTIVE;
|
|
2950
|
+
run(ctx, component, template) {
|
|
2951
|
+
const componentMetadata = ctx.templateTypeChecker.getDirectiveMetadata(component);
|
|
2952
|
+
if (!componentMetadata || !componentMetadata.isStandalone) {
|
|
2953
|
+
return [];
|
|
2954
|
+
}
|
|
2955
|
+
return super.run(ctx, component, template);
|
|
2956
|
+
}
|
|
2957
|
+
visitNode(ctx, component, node) {
|
|
2958
|
+
if (!(node instanceof TmplAstTemplate4))
|
|
2959
|
+
return [];
|
|
2960
|
+
const customStructuralDirective = node.templateAttrs.find((attr) => !KNOWN_CONTROL_FLOW_DIRECTIVES2.has(attr.name));
|
|
2961
|
+
if (!customStructuralDirective)
|
|
2962
|
+
return [];
|
|
2963
|
+
const symbol = ctx.templateTypeChecker.getSymbolOfNode(node, component);
|
|
2964
|
+
if (symbol == null ? void 0 : symbol.directives.length) {
|
|
2965
|
+
return [];
|
|
2966
|
+
}
|
|
2967
|
+
const sourceSpan = customStructuralDirective.keySpan || customStructuralDirective.sourceSpan;
|
|
2968
|
+
const errorMessage = `A structural directive \`${customStructuralDirective.name}\` was used in the template without a corresponding import in the component. Make sure that the directive is included in the \`@Component.imports\` array of this component.`;
|
|
2969
|
+
return [ctx.makeTemplateDiagnostic(sourceSpan, errorMessage)];
|
|
2970
|
+
}
|
|
2971
|
+
};
|
|
2972
|
+
var factory5 = {
|
|
2973
|
+
code: ErrorCode.MISSING_STRUCTURAL_DIRECTIVE,
|
|
2974
|
+
name: ExtendedTemplateDiagnosticName.MISSING_STRUCTURAL_DIRECTIVE,
|
|
2975
|
+
create: () => new MissingStructuralDirectiveCheck()
|
|
2976
|
+
};
|
|
2977
|
+
|
|
2978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2922
2979
|
import { Binary } from "@angular/compiler";
|
|
2923
2980
|
import ts19 from "typescript";
|
|
2924
2981
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2949,7 +3006,7 @@ var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
2949
3006
|
return [diagnostic];
|
|
2950
3007
|
}
|
|
2951
3008
|
};
|
|
2952
|
-
var
|
|
3009
|
+
var factory6 = {
|
|
2953
3010
|
code: ErrorCode.NULLISH_COALESCING_NOT_NULLABLE,
|
|
2954
3011
|
name: ExtendedTemplateDiagnosticName.NULLISH_COALESCING_NOT_NULLABLE,
|
|
2955
3012
|
create: (options) => {
|
|
@@ -2961,7 +3018,7 @@ var factory5 = {
|
|
|
2961
3018
|
}
|
|
2962
3019
|
};
|
|
2963
3020
|
|
|
2964
|
-
// bazel-out/
|
|
3021
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2965
3022
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2966
3023
|
import ts20 from "typescript";
|
|
2967
3024
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2993,7 +3050,7 @@ var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
|
2993
3050
|
return [diagnostic];
|
|
2994
3051
|
}
|
|
2995
3052
|
};
|
|
2996
|
-
var
|
|
3053
|
+
var factory7 = {
|
|
2997
3054
|
code: ErrorCode.OPTIONAL_CHAIN_NOT_NULLABLE,
|
|
2998
3055
|
name: ExtendedTemplateDiagnosticName.OPTIONAL_CHAIN_NOT_NULLABLE,
|
|
2999
3056
|
create: (options) => {
|
|
@@ -3005,7 +3062,7 @@ var factory6 = {
|
|
|
3005
3062
|
}
|
|
3006
3063
|
};
|
|
3007
3064
|
|
|
3008
|
-
// bazel-out/
|
|
3065
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/skip_hydration_not_static/index.mjs
|
|
3009
3066
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstTextAttribute } from "@angular/compiler";
|
|
3010
3067
|
var NG_SKIP_HYDRATION_ATTR_NAME = "ngSkipHydration";
|
|
3011
3068
|
var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
|
|
@@ -3025,13 +3082,13 @@ var NgSkipHydrationSpec = class extends TemplateCheckWithVisitor {
|
|
|
3025
3082
|
return [];
|
|
3026
3083
|
}
|
|
3027
3084
|
};
|
|
3028
|
-
var
|
|
3085
|
+
var factory8 = {
|
|
3029
3086
|
code: ErrorCode.SKIP_HYDRATION_NOT_STATIC,
|
|
3030
3087
|
name: ExtendedTemplateDiagnosticName.SKIP_HYDRATION_NOT_STATIC,
|
|
3031
3088
|
create: () => new NgSkipHydrationSpec()
|
|
3032
3089
|
};
|
|
3033
3090
|
|
|
3034
|
-
// bazel-out/
|
|
3091
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
3035
3092
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
3036
3093
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
3037
3094
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -3046,13 +3103,13 @@ var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
|
3046
3103
|
return [diagnostic];
|
|
3047
3104
|
}
|
|
3048
3105
|
};
|
|
3049
|
-
var
|
|
3106
|
+
var factory9 = {
|
|
3050
3107
|
code: ErrorCode.SUFFIX_NOT_SUPPORTED,
|
|
3051
3108
|
name: ExtendedTemplateDiagnosticName.SUFFIX_NOT_SUPPORTED,
|
|
3052
3109
|
create: () => new SuffixNotSupportedCheck()
|
|
3053
3110
|
};
|
|
3054
3111
|
|
|
3055
|
-
// bazel-out/
|
|
3112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
3056
3113
|
import { TmplAstTextAttribute as TmplAstTextAttribute2 } from "@angular/compiler";
|
|
3057
3114
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
3058
3115
|
code = ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING;
|
|
@@ -3082,13 +3139,13 @@ var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
|
3082
3139
|
return [diagnostic];
|
|
3083
3140
|
}
|
|
3084
3141
|
};
|
|
3085
|
-
var
|
|
3142
|
+
var factory10 = {
|
|
3086
3143
|
code: ErrorCode.TEXT_ATTRIBUTE_NOT_BINDING,
|
|
3087
3144
|
name: ExtendedTemplateDiagnosticName.TEXT_ATTRIBUTE_NOT_BINDING,
|
|
3088
3145
|
create: () => new TextAttributeNotBindingSpec()
|
|
3089
3146
|
};
|
|
3090
3147
|
|
|
3091
|
-
// bazel-out/
|
|
3148
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
3092
3149
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
3093
3150
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
3094
3151
|
code = ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING;
|
|
@@ -3131,13 +3188,13 @@ function assertExpressionInvoked(expression, component, node, expressionText, ct
|
|
|
3131
3188
|
function generateStringFromExpression(expression, source) {
|
|
3132
3189
|
return source.substring(expression.span.start, expression.span.end);
|
|
3133
3190
|
}
|
|
3134
|
-
var
|
|
3191
|
+
var factory11 = {
|
|
3135
3192
|
code: ErrorCode.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
|
|
3136
3193
|
name: ExtendedTemplateDiagnosticName.UNINVOKED_FUNCTION_IN_EVENT_BINDING,
|
|
3137
3194
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
3138
3195
|
};
|
|
3139
3196
|
|
|
3140
|
-
// bazel-out/
|
|
3197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unparenthesized_nullish_coalescing/index.mjs
|
|
3141
3198
|
import { Binary as Binary2 } from "@angular/compiler";
|
|
3142
3199
|
var UnparenthesizedNullishCoalescing = class extends TemplateCheckWithVisitor {
|
|
3143
3200
|
code = ErrorCode.UNPARENTHESIZED_NULLISH_COALESCING;
|
|
@@ -3161,13 +3218,13 @@ var UnparenthesizedNullishCoalescing = class extends TemplateCheckWithVisitor {
|
|
|
3161
3218
|
return [];
|
|
3162
3219
|
}
|
|
3163
3220
|
};
|
|
3164
|
-
var
|
|
3221
|
+
var factory12 = {
|
|
3165
3222
|
code: ErrorCode.UNPARENTHESIZED_NULLISH_COALESCING,
|
|
3166
3223
|
name: ExtendedTemplateDiagnosticName.UNPARENTHESIZED_NULLISH_COALESCING,
|
|
3167
3224
|
create: () => new UnparenthesizedNullishCoalescing()
|
|
3168
3225
|
};
|
|
3169
3226
|
|
|
3170
|
-
// bazel-out/
|
|
3227
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/unused_let_declaration/index.mjs
|
|
3171
3228
|
import { AST, ASTWithSource as ASTWithSource5, TmplAstLetDeclaration } from "@angular/compiler";
|
|
3172
3229
|
var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
3173
3230
|
code = ErrorCode.UNUSED_LET_DECLARATION;
|
|
@@ -3203,13 +3260,13 @@ var UnusedLetDeclarationCheck = class extends TemplateCheckWithVisitor {
|
|
|
3203
3260
|
return this.analysis.get(node);
|
|
3204
3261
|
}
|
|
3205
3262
|
};
|
|
3206
|
-
var
|
|
3263
|
+
var factory13 = {
|
|
3207
3264
|
code: ErrorCode.UNUSED_LET_DECLARATION,
|
|
3208
3265
|
name: ExtendedTemplateDiagnosticName.UNUSED_LET_DECLARATION,
|
|
3209
3266
|
create: () => new UnusedLetDeclarationCheck()
|
|
3210
3267
|
};
|
|
3211
3268
|
|
|
3212
|
-
// bazel-out/
|
|
3269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_track_function/index.mjs
|
|
3213
3270
|
import { Call as Call2, PropertyRead as PropertyRead4, SafeCall as SafeCall3, SafePropertyRead as SafePropertyRead3, TmplAstForLoopBlock } from "@angular/compiler";
|
|
3214
3271
|
var UninvokedTrackFunctionCheck = class extends TemplateCheckWithVisitor {
|
|
3215
3272
|
code = ErrorCode.UNINVOKED_TRACK_FUNCTION;
|
|
@@ -3236,16 +3293,16 @@ var UninvokedTrackFunctionCheck = class extends TemplateCheckWithVisitor {
|
|
|
3236
3293
|
function generateStringFromExpression2(expression, source) {
|
|
3237
3294
|
return source.substring(expression.span.start, expression.span.end);
|
|
3238
3295
|
}
|
|
3239
|
-
var
|
|
3296
|
+
var factory14 = {
|
|
3240
3297
|
code: ErrorCode.UNINVOKED_TRACK_FUNCTION,
|
|
3241
3298
|
name: ExtendedTemplateDiagnosticName.UNINVOKED_TRACK_FUNCTION,
|
|
3242
3299
|
create: () => new UninvokedTrackFunctionCheck()
|
|
3243
3300
|
};
|
|
3244
3301
|
|
|
3245
|
-
// bazel-out/
|
|
3302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3246
3303
|
import ts21 from "typescript";
|
|
3247
3304
|
|
|
3248
|
-
// bazel-out/
|
|
3305
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
3249
3306
|
var DiagnosticCategoryLabel;
|
|
3250
3307
|
(function(DiagnosticCategoryLabel2) {
|
|
3251
3308
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -3253,7 +3310,7 @@ var DiagnosticCategoryLabel;
|
|
|
3253
3310
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
3254
3311
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
3255
3312
|
|
|
3256
|
-
// bazel-out/
|
|
3313
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
3257
3314
|
var ExtendedTemplateCheckerImpl = class {
|
|
3258
3315
|
partialCtx;
|
|
3259
3316
|
templateChecks;
|
|
@@ -3261,12 +3318,12 @@ var ExtendedTemplateCheckerImpl = class {
|
|
|
3261
3318
|
var _a, _b, _c, _d, _e;
|
|
3262
3319
|
this.partialCtx = { templateTypeChecker, typeChecker };
|
|
3263
3320
|
this.templateChecks = /* @__PURE__ */ new Map();
|
|
3264
|
-
for (const
|
|
3265
|
-
const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[
|
|
3321
|
+
for (const factory15 of templateCheckFactories) {
|
|
3322
|
+
const category = diagnosticLabelToCategory((_e = (_d = (_b = (_a = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _a.checks) == null ? void 0 : _b[factory15.name]) != null ? _d : (_c = options == null ? void 0 : options.extendedDiagnostics) == null ? void 0 : _c.defaultCategory) != null ? _e : DiagnosticCategoryLabel.Warning);
|
|
3266
3323
|
if (category === null) {
|
|
3267
3324
|
continue;
|
|
3268
3325
|
}
|
|
3269
|
-
const check =
|
|
3326
|
+
const check = factory15.create(options);
|
|
3270
3327
|
if (check === null) {
|
|
3271
3328
|
continue;
|
|
3272
3329
|
}
|
|
@@ -3308,29 +3365,30 @@ function assertNever(value) {
|
|
|
3308
3365
|
${value}`);
|
|
3309
3366
|
}
|
|
3310
3367
|
|
|
3311
|
-
// bazel-out/
|
|
3368
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3312
3369
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3313
3370
|
factory2,
|
|
3314
|
-
factory5,
|
|
3315
3371
|
factory6,
|
|
3372
|
+
factory7,
|
|
3316
3373
|
factory3,
|
|
3317
|
-
|
|
3374
|
+
factory10,
|
|
3318
3375
|
factory4,
|
|
3319
|
-
|
|
3376
|
+
factory5,
|
|
3377
|
+
factory9,
|
|
3320
3378
|
factory,
|
|
3321
|
-
factory10,
|
|
3322
|
-
factory12,
|
|
3323
|
-
factory7,
|
|
3324
3379
|
factory11,
|
|
3325
|
-
factory13
|
|
3380
|
+
factory13,
|
|
3381
|
+
factory8,
|
|
3382
|
+
factory12,
|
|
3383
|
+
factory14
|
|
3326
3384
|
];
|
|
3327
3385
|
var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
3328
3386
|
ExtendedTemplateDiagnosticName.CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION,
|
|
3329
3387
|
ExtendedTemplateDiagnosticName.UNUSED_STANDALONE_IMPORTS,
|
|
3330
|
-
...ALL_DIAGNOSTIC_FACTORIES.map((
|
|
3388
|
+
...ALL_DIAGNOSTIC_FACTORIES.map((factory15) => factory15.name)
|
|
3331
3389
|
]);
|
|
3332
3390
|
|
|
3333
|
-
// bazel-out/
|
|
3391
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3334
3392
|
import { ASTWithSource as ASTWithSource6, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
3335
3393
|
import ts22 from "typescript";
|
|
3336
3394
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3426,7 +3484,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3426
3484
|
return ast instanceof ASTWithSource6 ? ast.ast : ast;
|
|
3427
3485
|
}
|
|
3428
3486
|
|
|
3429
|
-
// bazel-out/
|
|
3487
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3430
3488
|
import ts23 from "typescript";
|
|
3431
3489
|
var APIS_TO_CHECK = [
|
|
3432
3490
|
INPUT_INITIALIZER_FN,
|
|
@@ -3479,7 +3537,7 @@ var InitializerApiUsageRule = class {
|
|
|
3479
3537
|
}
|
|
3480
3538
|
};
|
|
3481
3539
|
|
|
3482
|
-
// bazel-out/
|
|
3540
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.mjs
|
|
3483
3541
|
import ts24 from "typescript";
|
|
3484
3542
|
var UnusedStandaloneImportsRule = class {
|
|
3485
3543
|
templateTypeChecker;
|
|
@@ -3571,10 +3629,10 @@ function closestNode(start, predicate) {
|
|
|
3571
3629
|
return null;
|
|
3572
3630
|
}
|
|
3573
3631
|
|
|
3574
|
-
// bazel-out/
|
|
3632
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/config.mjs
|
|
3575
3633
|
var UNUSED_STANDALONE_IMPORTS_RULE_ENABLED = true;
|
|
3576
3634
|
|
|
3577
|
-
// bazel-out/
|
|
3635
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3578
3636
|
var SourceFileValidator = class {
|
|
3579
3637
|
rules;
|
|
3580
3638
|
constructor(reflector, importedSymbolsTracker, templateTypeChecker, typeCheckingConfig) {
|
|
@@ -3616,7 +3674,7 @@ var SourceFileValidator = class {
|
|
|
3616
3674
|
}
|
|
3617
3675
|
};
|
|
3618
3676
|
|
|
3619
|
-
// bazel-out/
|
|
3677
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3620
3678
|
import semver from "semver";
|
|
3621
3679
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3622
3680
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3625,7 +3683,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3625
3683
|
return semver.satisfies(coreVersion, minVersion, { includePrerelease: true });
|
|
3626
3684
|
}
|
|
3627
3685
|
|
|
3628
|
-
// bazel-out/
|
|
3686
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3629
3687
|
var CompilationTicketKind;
|
|
3630
3688
|
(function(CompilationTicketKind2) {
|
|
3631
3689
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -3709,6 +3767,7 @@ var NgCompiler = class {
|
|
|
3709
3767
|
angularCoreVersion;
|
|
3710
3768
|
enableHmr;
|
|
3711
3769
|
implicitStandaloneValue;
|
|
3770
|
+
enableSelectorless;
|
|
3712
3771
|
delegatingPerfRecorder;
|
|
3713
3772
|
static fromTicket(ticket, adapter) {
|
|
3714
3773
|
switch (ticket.kind) {
|
|
@@ -3723,7 +3782,7 @@ var NgCompiler = class {
|
|
|
3723
3782
|
}
|
|
3724
3783
|
}
|
|
3725
3784
|
constructor(adapter, options, inputProgram, programDriver, incrementalStrategy, incrementalCompilation, enableTemplateTypeChecker, usePoisonedData, livePerfRecorder) {
|
|
3726
|
-
var _a, _b, _c;
|
|
3785
|
+
var _a, _b, _c, _d;
|
|
3727
3786
|
this.adapter = adapter;
|
|
3728
3787
|
this.options = options;
|
|
3729
3788
|
this.inputProgram = inputProgram;
|
|
@@ -3738,6 +3797,7 @@ var NgCompiler = class {
|
|
|
3738
3797
|
this.enableTemplateTypeChecker = enableTemplateTypeChecker || !!options._enableTemplateTypeChecker;
|
|
3739
3798
|
this.enableBlockSyntax = (_b = options["_enableBlockSyntax"]) != null ? _b : true;
|
|
3740
3799
|
this.enableLetSyntax = (_c = options["_enableLetSyntax"]) != null ? _c : true;
|
|
3800
|
+
this.enableSelectorless = (_d = options["_enableSelectorless"]) != null ? _d : false;
|
|
3741
3801
|
this.implicitStandaloneValue = this.angularCoreVersion === null || coreVersionSupportsFeature(this.angularCoreVersion, ">= 19.0.0");
|
|
3742
3802
|
this.enableHmr = !!options["_enableHmr"];
|
|
3743
3803
|
this.constructionDiagnostics.push(...this.adapter.constructionDiagnostics, ...verifyCompatibleTypeCheckOptions(this.options));
|
|
@@ -4306,7 +4366,7 @@ var NgCompiler = class {
|
|
|
4306
4366
|
}
|
|
4307
4367
|
const jitDeclarationRegistry = new JitDeclarationRegistry();
|
|
4308
4368
|
const handlers = [
|
|
4309
|
-
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, this.adapter, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_g = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _g : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue, typeCheckHostBindings),
|
|
4369
|
+
new ComponentDecoratorHandler(reflector, evaluator, metaRegistry, metaReader, scopeReader, this.adapter, ngModuleScopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, this.resourceManager, this.adapter.rootDirs, this.options.preserveWhitespaces || false, this.options.i18nUseExternalIds !== false, this.options.enableI18nLegacyMessageIdFormat !== false, this.usePoisonedData, this.options.i18nNormalizeLineEndingsInICUs === true, this.moduleResolver, this.cycleAnalyzer, cycleHandlingStrategy, refEmitter, referencesRegistry, this.incrementalCompilation.depGraph, injectableRegistry, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, hostDirectivesResolver, importTracker, supportTestBed, compilationMode, deferredSymbolsTracker, !!this.options.forbidOrphanComponents, this.enableBlockSyntax, this.enableLetSyntax, externalRuntimeStyles, localCompilationExtraImportsTracker, jitDeclarationRegistry, (_g = this.options.i18nPreserveWhitespaceForLegacyExtraction) != null ? _g : true, !!this.options.strictStandalone, this.enableHmr, this.implicitStandaloneValue, typeCheckHostBindings, this.enableSelectorless),
|
|
4310
4370
|
new DirectiveDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, metaReader, injectableRegistry, refEmitter, referencesRegistry, isCore, strictCtorDeps, semanticDepGraphUpdater, this.closureCompilerEnabled, this.delegatingPerfRecorder, importTracker, supportTestBed, typeCheckScopeRegistry, compilationMode, jitDeclarationRegistry, resourceRegistry, !!this.options.strictStandalone, this.implicitStandaloneValue, this.usePoisonedData, typeCheckHostBindings),
|
|
4311
4371
|
new PipeDecoratorHandler(reflector, evaluator, metaRegistry, ngModuleScopeRegistry, injectableRegistry, isCore, this.delegatingPerfRecorder, supportTestBed, compilationMode, !!this.options.generateExtraImportsInLocalMode, !!this.options.strictStandalone, this.implicitStandaloneValue),
|
|
4312
4372
|
new InjectableDecoratorHandler(reflector, evaluator, isCore, strictCtorDeps, injectableRegistry, this.delegatingPerfRecorder, supportTestBed, compilationMode),
|
|
@@ -4508,7 +4568,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4508
4568
|
return versions;
|
|
4509
4569
|
}
|
|
4510
4570
|
|
|
4511
|
-
// bazel-out/
|
|
4571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4512
4572
|
import ts26 from "typescript";
|
|
4513
4573
|
var DelegatingCompilerHost = class {
|
|
4514
4574
|
delegate;
|
|
@@ -4682,7 +4742,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4682
4742
|
}
|
|
4683
4743
|
};
|
|
4684
4744
|
|
|
4685
|
-
// bazel-out/
|
|
4745
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4686
4746
|
var NgtscProgram = class {
|
|
4687
4747
|
options;
|
|
4688
4748
|
compiler;
|
|
@@ -4913,15 +4973,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4913
4973
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4914
4974
|
}
|
|
4915
4975
|
|
|
4916
|
-
// bazel-out/
|
|
4976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4917
4977
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4918
4978
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4919
4979
|
}
|
|
4920
4980
|
|
|
4921
|
-
// bazel-out/
|
|
4981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4922
4982
|
import ts29 from "typescript";
|
|
4923
4983
|
|
|
4924
|
-
// bazel-out/
|
|
4984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4925
4985
|
import ts28 from "typescript";
|
|
4926
4986
|
function createMessageDiagnostic(messageText) {
|
|
4927
4987
|
return {
|
|
@@ -4935,7 +4995,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4935
4995
|
};
|
|
4936
4996
|
}
|
|
4937
4997
|
|
|
4938
|
-
// bazel-out/
|
|
4998
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4939
4999
|
var defaultFormatHost = {
|
|
4940
5000
|
getCurrentDirectory: () => ts29.sys.getCurrentDirectory(),
|
|
4941
5001
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -5168,4 +5228,4 @@ export {
|
|
|
5168
5228
|
* Use of this source code is governed by an MIT-style license that can be
|
|
5169
5229
|
* found in the LICENSE file at https://angular.dev/license
|
|
5170
5230
|
*/
|
|
5171
|
-
//# sourceMappingURL=chunk-
|
|
5231
|
+
//# sourceMappingURL=chunk-5HL3AR4R.js.map
|