@angular/compiler-cli 18.1.0-next.1 → 18.1.0-next.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-4HWDU6FJ.js → chunk-C6UWCS4B.js} +79 -76
- package/bundles/chunk-C6UWCS4B.js.map +6 -0
- package/bundles/{chunk-54G5EVKM.js → chunk-EU3OILAK.js} +7 -7
- package/bundles/{chunk-YPERM5UE.js → chunk-JNLETH45.js} +43 -43
- package/bundles/{chunk-CK5W7X4H.js → chunk-LH4HQPYV.js} +13 -13
- package/bundles/{chunk-Z34L7JZH.js → chunk-LTQ7ZO65.js} +31 -31
- package/bundles/{chunk-CWU65S2B.js → chunk-PFBSCCQT.js} +128 -130
- package/bundles/{chunk-CWU65S2B.js.map → chunk-PFBSCCQT.js.map} +1 -1
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-MLEQATX2.js → chunk-YDOWTHQV.js} +5 -5
- package/bundles/index.js +11 -11
- 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 +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +1 -0
- package/bundles/chunk-4HWDU6FJ.js.map +0 -6
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-54G5EVKM.js.map → chunk-EU3OILAK.js.map} +0 -0
- /package/bundles/{chunk-YPERM5UE.js.map → chunk-JNLETH45.js.map} +0 -0
- /package/bundles/{chunk-CK5W7X4H.js.map → chunk-LH4HQPYV.js.map} +0 -0
- /package/bundles/{chunk-Z34L7JZH.js.map → chunk-LTQ7ZO65.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-MLEQATX2.js.map → chunk-YDOWTHQV.js.map} +0 -0
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
retagAllTsFiles,
|
|
48
48
|
tryParseInitializerApi,
|
|
49
49
|
untagAllTsFiles
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-PFBSCCQT.js";
|
|
51
51
|
import {
|
|
52
52
|
AbsoluteModuleStrategy,
|
|
53
53
|
AliasStrategy,
|
|
@@ -83,14 +83,14 @@ import {
|
|
|
83
83
|
relativePathBetween,
|
|
84
84
|
replaceTsWithNgInErrors,
|
|
85
85
|
toUnredirectedSourceFile
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-JNLETH45.js";
|
|
87
87
|
import {
|
|
88
88
|
ActivePerfRecorder,
|
|
89
89
|
DelegatingPerfRecorder,
|
|
90
90
|
PerfCheckpoint,
|
|
91
91
|
PerfEvent,
|
|
92
92
|
PerfPhase
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-AQFTVE7F.js";
|
|
94
94
|
import {
|
|
95
95
|
LogicalFileSystem,
|
|
96
96
|
absoluteFrom,
|
|
@@ -99,9 +99,9 @@ import {
|
|
|
99
99
|
getFileSystem,
|
|
100
100
|
join,
|
|
101
101
|
resolve
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-EU3OILAK.js";
|
|
103
103
|
|
|
104
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
105
105
|
var DEFAULT_ERROR_CODE = 100;
|
|
106
106
|
var UNKNOWN_ERROR_CODE = 500;
|
|
107
107
|
var SOURCE = "angular";
|
|
@@ -119,7 +119,7 @@ var EmitFlags;
|
|
|
119
119
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
120
120
|
})(EmitFlags || (EmitFlags = {}));
|
|
121
121
|
|
|
122
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
123
123
|
import ts from "typescript";
|
|
124
124
|
var wrapHostForTest = null;
|
|
125
125
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -129,7 +129,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
129
129
|
return tsHost;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
// bazel-out/
|
|
132
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
133
133
|
var EntryType;
|
|
134
134
|
(function(EntryType2) {
|
|
135
135
|
EntryType2["Block"] = "block";
|
|
@@ -176,23 +176,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
176
176
|
return "source" in entry;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
180
180
|
import ts10 from "typescript";
|
|
181
181
|
|
|
182
|
-
// bazel-out/
|
|
182
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
183
183
|
import ts5 from "typescript";
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
186
186
|
function isAngularPrivateName(name) {
|
|
187
187
|
var _a;
|
|
188
188
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
189
189
|
return firstChar === "\u0275" || firstChar === "_";
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
193
193
|
import ts3 from "typescript";
|
|
194
194
|
|
|
195
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
196
196
|
function extractGenerics(declaration) {
|
|
197
197
|
var _a, _b;
|
|
198
198
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -205,7 +205,7 @@ function extractGenerics(declaration) {
|
|
|
205
205
|
})) != null ? _b : [];
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
209
209
|
import ts2 from "typescript";
|
|
210
210
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
211
211
|
function extractJsDocTags(node) {
|
|
@@ -249,12 +249,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
249
249
|
return comment.replace(/_NG_AT_/g, "@");
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
// bazel-out/
|
|
252
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
253
253
|
function extractResolvedTypeString(node, checker) {
|
|
254
254
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
258
258
|
var FunctionExtractor = class {
|
|
259
259
|
constructor(name, declaration, typeChecker) {
|
|
260
260
|
this.name = name;
|
|
@@ -262,17 +262,20 @@ var FunctionExtractor = class {
|
|
|
262
262
|
this.typeChecker = typeChecker;
|
|
263
263
|
}
|
|
264
264
|
extract() {
|
|
265
|
+
var _a;
|
|
265
266
|
const signature = this.typeChecker.getSignatureFromDeclaration(this.declaration);
|
|
266
267
|
const returnType = signature ? this.typeChecker.typeToString(this.typeChecker.getReturnTypeOfSignature(signature)) : "unknown";
|
|
268
|
+
const jsdocsTags = extractJsDocTags(this.declaration);
|
|
267
269
|
return {
|
|
268
270
|
params: extractAllParams(this.declaration.parameters, this.typeChecker),
|
|
269
271
|
name: this.name,
|
|
270
272
|
isNewType: ts3.isConstructSignatureDeclaration(this.declaration),
|
|
271
273
|
returnType,
|
|
274
|
+
returnDescription: (_a = jsdocsTags.find((tag) => tag.name === "returns")) == null ? void 0 : _a.comment,
|
|
272
275
|
entryType: EntryType.Function,
|
|
273
276
|
generics: extractGenerics(this.declaration),
|
|
274
277
|
description: extractJsDocDescription(this.declaration),
|
|
275
|
-
jsdocTags:
|
|
278
|
+
jsdocTags: jsdocsTags,
|
|
276
279
|
rawComment: extractRawJsDoc(this.declaration)
|
|
277
280
|
};
|
|
278
281
|
}
|
|
@@ -310,7 +313,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
310
313
|
}));
|
|
311
314
|
}
|
|
312
315
|
|
|
313
|
-
// bazel-out/
|
|
316
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
314
317
|
import ts4 from "typescript";
|
|
315
318
|
function isInternal(member) {
|
|
316
319
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -329,7 +332,7 @@ function hasLeadingInternalComment(member) {
|
|
|
329
332
|
)) != null ? _a : false;
|
|
330
333
|
}
|
|
331
334
|
|
|
332
|
-
// bazel-out/
|
|
335
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
333
336
|
var ClassExtractor = class {
|
|
334
337
|
constructor(declaration, typeChecker) {
|
|
335
338
|
this.declaration = declaration;
|
|
@@ -587,7 +590,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
587
590
|
return extractor.extract();
|
|
588
591
|
}
|
|
589
592
|
|
|
590
|
-
// bazel-out/
|
|
593
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
591
594
|
import ts6 from "typescript";
|
|
592
595
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
593
596
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -645,7 +648,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
645
648
|
});
|
|
646
649
|
}
|
|
647
650
|
|
|
648
|
-
// bazel-out/
|
|
651
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
649
652
|
import ts7 from "typescript";
|
|
650
653
|
function extractorDecorator(declaration, typeChecker) {
|
|
651
654
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -718,7 +721,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
718
721
|
return callSignature;
|
|
719
722
|
}
|
|
720
723
|
|
|
721
|
-
// bazel-out/
|
|
724
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
722
725
|
import ts8 from "typescript";
|
|
723
726
|
function extractEnum(declaration, typeChecker) {
|
|
724
727
|
return {
|
|
@@ -749,7 +752,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
749
752
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
750
753
|
}
|
|
751
754
|
|
|
752
|
-
// bazel-out/
|
|
755
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
753
756
|
import ts9 from "typescript";
|
|
754
757
|
var initializerApiTag = "initializerApiFunction";
|
|
755
758
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -886,7 +889,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
886
889
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
887
890
|
}
|
|
888
891
|
|
|
889
|
-
// bazel-out/
|
|
892
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
890
893
|
function extractTypeAlias(declaration) {
|
|
891
894
|
return {
|
|
892
895
|
name: declaration.name.getText(),
|
|
@@ -898,7 +901,7 @@ function extractTypeAlias(declaration) {
|
|
|
898
901
|
};
|
|
899
902
|
}
|
|
900
903
|
|
|
901
|
-
// bazel-out/
|
|
904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
902
905
|
var DocsExtractor = class {
|
|
903
906
|
constructor(typeChecker, metadataReader) {
|
|
904
907
|
this.typeChecker = typeChecker;
|
|
@@ -982,11 +985,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
982
985
|
return relativePath;
|
|
983
986
|
}
|
|
984
987
|
|
|
985
|
-
// bazel-out/
|
|
988
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
986
989
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
987
990
|
import ts24 from "typescript";
|
|
988
991
|
|
|
989
|
-
// bazel-out/
|
|
992
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
990
993
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
991
994
|
import * as path from "path";
|
|
992
995
|
function i18nGetExtension(formatName) {
|
|
@@ -1037,10 +1040,10 @@ function getPathNormalizer(basePath) {
|
|
|
1037
1040
|
};
|
|
1038
1041
|
}
|
|
1039
1042
|
|
|
1040
|
-
// bazel-out/
|
|
1043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1041
1044
|
import ts11 from "typescript";
|
|
1042
1045
|
|
|
1043
|
-
// bazel-out/
|
|
1046
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1044
1047
|
function toNumbers(value) {
|
|
1045
1048
|
const suffixIndex = value.lastIndexOf("-");
|
|
1046
1049
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1075,7 +1078,7 @@ function compareVersions(v1, v2) {
|
|
|
1075
1078
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1076
1079
|
}
|
|
1077
1080
|
|
|
1078
|
-
// bazel-out/
|
|
1081
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1079
1082
|
var MIN_TS_VERSION = "5.4.0";
|
|
1080
1083
|
var MAX_TS_VERSION = "5.6.0";
|
|
1081
1084
|
var tsVersion = ts11.version;
|
|
@@ -1088,11 +1091,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1088
1091
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1089
1092
|
}
|
|
1090
1093
|
|
|
1091
|
-
// bazel-out/
|
|
1094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1092
1095
|
import { R3Identifiers } from "@angular/compiler";
|
|
1093
1096
|
import ts22 from "typescript";
|
|
1094
1097
|
|
|
1095
|
-
// bazel-out/
|
|
1098
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1096
1099
|
var CycleAnalyzer = class {
|
|
1097
1100
|
constructor(importGraph) {
|
|
1098
1101
|
this.importGraph = importGraph;
|
|
@@ -1163,7 +1166,7 @@ var Cycle = class {
|
|
|
1163
1166
|
}
|
|
1164
1167
|
};
|
|
1165
1168
|
|
|
1166
|
-
// bazel-out/
|
|
1169
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1167
1170
|
import ts12 from "typescript";
|
|
1168
1171
|
var ImportGraph = class {
|
|
1169
1172
|
constructor(checker, perf) {
|
|
@@ -1255,7 +1258,7 @@ var Found = class {
|
|
|
1255
1258
|
}
|
|
1256
1259
|
};
|
|
1257
1260
|
|
|
1258
|
-
// bazel-out/
|
|
1261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1259
1262
|
import ts13 from "typescript";
|
|
1260
1263
|
var FlatIndexGenerator = class {
|
|
1261
1264
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1280,7 +1283,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1280
1283
|
}
|
|
1281
1284
|
};
|
|
1282
1285
|
|
|
1283
|
-
// bazel-out/
|
|
1286
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1284
1287
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1285
1288
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1286
1289
|
let resolvedEntryPoint = null;
|
|
@@ -1296,7 +1299,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1296
1299
|
return resolvedEntryPoint;
|
|
1297
1300
|
}
|
|
1298
1301
|
|
|
1299
|
-
// bazel-out/
|
|
1302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1300
1303
|
import ts14 from "typescript";
|
|
1301
1304
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1302
1305
|
const diagnostics = [];
|
|
@@ -1376,7 +1379,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1376
1379
|
}
|
|
1377
1380
|
}
|
|
1378
1381
|
|
|
1379
|
-
// bazel-out/
|
|
1382
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1380
1383
|
var ReferenceGraph = class {
|
|
1381
1384
|
constructor() {
|
|
1382
1385
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1430,7 +1433,7 @@ var ReferenceGraph = class {
|
|
|
1430
1433
|
}
|
|
1431
1434
|
};
|
|
1432
1435
|
|
|
1433
|
-
// bazel-out/
|
|
1436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1434
1437
|
var FileDependencyGraph = class {
|
|
1435
1438
|
constructor() {
|
|
1436
1439
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1497,7 +1500,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1497
1500
|
return false;
|
|
1498
1501
|
}
|
|
1499
1502
|
|
|
1500
|
-
// bazel-out/
|
|
1503
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1501
1504
|
var IncrementalStateKind;
|
|
1502
1505
|
(function(IncrementalStateKind2) {
|
|
1503
1506
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1505,7 +1508,7 @@ var IncrementalStateKind;
|
|
|
1505
1508
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1506
1509
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1507
1510
|
|
|
1508
|
-
// bazel-out/
|
|
1511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1509
1512
|
var PhaseKind;
|
|
1510
1513
|
(function(PhaseKind2) {
|
|
1511
1514
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1706,7 +1709,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1706
1709
|
}
|
|
1707
1710
|
}
|
|
1708
1711
|
|
|
1709
|
-
// bazel-out/
|
|
1712
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1710
1713
|
var TrackedIncrementalBuildStrategy = class {
|
|
1711
1714
|
constructor() {
|
|
1712
1715
|
this.state = null;
|
|
@@ -1742,7 +1745,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1742
1745
|
};
|
|
1743
1746
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1744
1747
|
|
|
1745
|
-
// bazel-out/
|
|
1748
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1746
1749
|
var IdentifierKind;
|
|
1747
1750
|
(function(IdentifierKind2) {
|
|
1748
1751
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1761,7 +1764,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1761
1764
|
}
|
|
1762
1765
|
};
|
|
1763
1766
|
|
|
1764
|
-
// bazel-out/
|
|
1767
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1765
1768
|
var IndexingContext = class {
|
|
1766
1769
|
constructor() {
|
|
1767
1770
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1771,10 +1774,10 @@ var IndexingContext = class {
|
|
|
1771
1774
|
}
|
|
1772
1775
|
};
|
|
1773
1776
|
|
|
1774
|
-
// bazel-out/
|
|
1777
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1775
1778
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1776
1779
|
|
|
1777
|
-
// bazel-out/
|
|
1780
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1778
1781
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1779
1782
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1780
1783
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2069,7 +2072,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2069
2072
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2070
2073
|
}
|
|
2071
2074
|
|
|
2072
|
-
// bazel-out/
|
|
2075
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2073
2076
|
function generateAnalysis(context) {
|
|
2074
2077
|
const analysis = /* @__PURE__ */ new Map();
|
|
2075
2078
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2105,7 +2108,7 @@ function generateAnalysis(context) {
|
|
|
2105
2108
|
return analysis;
|
|
2106
2109
|
}
|
|
2107
2110
|
|
|
2108
|
-
// bazel-out/
|
|
2111
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2109
2112
|
var NgModuleIndexImpl = class {
|
|
2110
2113
|
constructor(metaReader, localReader) {
|
|
2111
2114
|
this.metaReader = metaReader;
|
|
@@ -2194,7 +2197,7 @@ var NgModuleIndexImpl = class {
|
|
|
2194
2197
|
}
|
|
2195
2198
|
};
|
|
2196
2199
|
|
|
2197
|
-
// bazel-out/
|
|
2200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2198
2201
|
import ts15 from "typescript";
|
|
2199
2202
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2200
2203
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2344,7 +2347,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2344
2347
|
};
|
|
2345
2348
|
}
|
|
2346
2349
|
|
|
2347
|
-
// bazel-out/
|
|
2350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2348
2351
|
var StandaloneComponentScopeReader = class {
|
|
2349
2352
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2350
2353
|
this.metaReader = metaReader;
|
|
@@ -2440,10 +2443,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2440
2443
|
}
|
|
2441
2444
|
};
|
|
2442
2445
|
|
|
2443
|
-
// bazel-out/
|
|
2446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2444
2447
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2445
2448
|
|
|
2446
|
-
// bazel-out/
|
|
2449
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2447
2450
|
import ts16 from "typescript";
|
|
2448
2451
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2449
2452
|
"WritableSignal",
|
|
@@ -2463,7 +2466,7 @@ function isSignalSymbol(symbol) {
|
|
|
2463
2466
|
});
|
|
2464
2467
|
}
|
|
2465
2468
|
|
|
2466
|
-
// bazel-out/
|
|
2469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2467
2470
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2468
2471
|
var TemplateCheckWithVisitor = class {
|
|
2469
2472
|
run(ctx, component, template) {
|
|
@@ -2591,7 +2594,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2591
2594
|
}
|
|
2592
2595
|
};
|
|
2593
2596
|
|
|
2594
|
-
// bazel-out/
|
|
2597
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2595
2598
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2596
2599
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2597
2600
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2643,7 +2646,7 @@ var factory = {
|
|
|
2643
2646
|
create: () => new InterpolatedSignalCheck()
|
|
2644
2647
|
};
|
|
2645
2648
|
|
|
2646
|
-
// bazel-out/
|
|
2649
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2647
2650
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2648
2651
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2649
2652
|
constructor() {
|
|
@@ -2669,7 +2672,7 @@ var factory2 = {
|
|
|
2669
2672
|
create: () => new InvalidBananaInBoxCheck()
|
|
2670
2673
|
};
|
|
2671
2674
|
|
|
2672
|
-
// bazel-out/
|
|
2675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2673
2676
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2674
2677
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2675
2678
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2714,7 +2717,7 @@ var factory3 = {
|
|
|
2714
2717
|
}
|
|
2715
2718
|
};
|
|
2716
2719
|
|
|
2717
|
-
// bazel-out/
|
|
2720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2718
2721
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2719
2722
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2720
2723
|
constructor() {
|
|
@@ -2747,7 +2750,7 @@ var factory4 = {
|
|
|
2747
2750
|
create: () => new MissingNgForOfLetCheck()
|
|
2748
2751
|
};
|
|
2749
2752
|
|
|
2750
|
-
// bazel-out/
|
|
2753
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2751
2754
|
import { Binary } from "@angular/compiler";
|
|
2752
2755
|
import ts17 from "typescript";
|
|
2753
2756
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2792,7 +2795,7 @@ var factory5 = {
|
|
|
2792
2795
|
}
|
|
2793
2796
|
};
|
|
2794
2797
|
|
|
2795
|
-
// bazel-out/
|
|
2798
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2796
2799
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2797
2800
|
import ts18 from "typescript";
|
|
2798
2801
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2838,7 +2841,7 @@ var factory6 = {
|
|
|
2838
2841
|
}
|
|
2839
2842
|
};
|
|
2840
2843
|
|
|
2841
|
-
// bazel-out/
|
|
2844
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2842
2845
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2843
2846
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2844
2847
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2862,7 +2865,7 @@ var factory7 = {
|
|
|
2862
2865
|
create: () => new SuffixNotSupportedCheck()
|
|
2863
2866
|
};
|
|
2864
2867
|
|
|
2865
|
-
// bazel-out/
|
|
2868
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2866
2869
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2867
2870
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2868
2871
|
constructor() {
|
|
@@ -2901,10 +2904,10 @@ var factory8 = {
|
|
|
2901
2904
|
create: () => new TextAttributeNotBindingSpec()
|
|
2902
2905
|
};
|
|
2903
2906
|
|
|
2904
|
-
// bazel-out/
|
|
2907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2905
2908
|
import ts19 from "typescript";
|
|
2906
2909
|
|
|
2907
|
-
// bazel-out/
|
|
2910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
2908
2911
|
var DiagnosticCategoryLabel;
|
|
2909
2912
|
(function(DiagnosticCategoryLabel2) {
|
|
2910
2913
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -2912,7 +2915,7 @@ var DiagnosticCategoryLabel;
|
|
|
2912
2915
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
2913
2916
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
2914
2917
|
|
|
2915
|
-
// bazel-out/
|
|
2918
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2916
2919
|
var ExtendedTemplateCheckerImpl = class {
|
|
2917
2920
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
2918
2921
|
var _a, _b, _c, _d, _e;
|
|
@@ -2965,7 +2968,7 @@ function assertNever(value) {
|
|
|
2965
2968
|
${value}`);
|
|
2966
2969
|
}
|
|
2967
2970
|
|
|
2968
|
-
// bazel-out/
|
|
2971
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
2969
2972
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
2970
2973
|
factory2,
|
|
2971
2974
|
factory5,
|
|
@@ -2981,7 +2984,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
2981
2984
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
2982
2985
|
]);
|
|
2983
2986
|
|
|
2984
|
-
// bazel-out/
|
|
2987
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
2985
2988
|
import { ASTWithSource as ASTWithSource4, ImplicitReceiver as ImplicitReceiver2, ParsedEventType, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent2, TmplAstLetDeclaration, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
2986
2989
|
import ts20 from "typescript";
|
|
2987
2990
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3072,7 +3075,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3072
3075
|
return ast instanceof ASTWithSource4 ? ast.ast : ast;
|
|
3073
3076
|
}
|
|
3074
3077
|
|
|
3075
|
-
// bazel-out/
|
|
3078
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3076
3079
|
import ts21 from "typescript";
|
|
3077
3080
|
var APIS_TO_CHECK = [
|
|
3078
3081
|
INPUT_INITIALIZER_FN,
|
|
@@ -3123,7 +3126,7 @@ var InitializerApiUsageRule = class {
|
|
|
3123
3126
|
}
|
|
3124
3127
|
};
|
|
3125
3128
|
|
|
3126
|
-
// bazel-out/
|
|
3129
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3127
3130
|
var SourceFileValidator = class {
|
|
3128
3131
|
constructor(reflector, importedSymbolsTracker) {
|
|
3129
3132
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -3161,7 +3164,7 @@ var SourceFileValidator = class {
|
|
|
3161
3164
|
}
|
|
3162
3165
|
};
|
|
3163
3166
|
|
|
3164
|
-
// bazel-out/
|
|
3167
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3165
3168
|
function coreHasSymbol(program, symbol) {
|
|
3166
3169
|
const checker = program.getTypeChecker();
|
|
3167
3170
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3180,7 +3183,7 @@ function isMaybeCore(sf) {
|
|
|
3180
3183
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3181
3184
|
}
|
|
3182
3185
|
|
|
3183
|
-
// bazel-out/
|
|
3186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3184
3187
|
import semver from "semver";
|
|
3185
3188
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3186
3189
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3189,7 +3192,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3189
3192
|
return semver.satisfies(coreVersion, minVersion);
|
|
3190
3193
|
}
|
|
3191
3194
|
|
|
3192
|
-
// bazel-out/
|
|
3195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3193
3196
|
var CompilationTicketKind;
|
|
3194
3197
|
(function(CompilationTicketKind2) {
|
|
3195
3198
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -3988,7 +3991,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
3988
3991
|
return versions;
|
|
3989
3992
|
}
|
|
3990
3993
|
|
|
3991
|
-
// bazel-out/
|
|
3994
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
3992
3995
|
import ts23 from "typescript";
|
|
3993
3996
|
var DelegatingCompilerHost = class {
|
|
3994
3997
|
get jsDocParsingMode() {
|
|
@@ -4127,7 +4130,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4127
4130
|
}
|
|
4128
4131
|
};
|
|
4129
4132
|
|
|
4130
|
-
// bazel-out/
|
|
4133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4131
4134
|
var NgtscProgram = class {
|
|
4132
4135
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
4133
4136
|
this.options = options;
|
|
@@ -4354,15 +4357,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4354
4357
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4355
4358
|
}
|
|
4356
4359
|
|
|
4357
|
-
// bazel-out/
|
|
4360
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4358
4361
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4359
4362
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4360
4363
|
}
|
|
4361
4364
|
|
|
4362
|
-
// bazel-out/
|
|
4365
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4363
4366
|
import ts26 from "typescript";
|
|
4364
4367
|
|
|
4365
|
-
// bazel-out/
|
|
4368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4366
4369
|
import ts25 from "typescript";
|
|
4367
4370
|
function createMessageDiagnostic(messageText) {
|
|
4368
4371
|
return {
|
|
@@ -4376,7 +4379,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4376
4379
|
};
|
|
4377
4380
|
}
|
|
4378
4381
|
|
|
4379
|
-
// bazel-out/
|
|
4382
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4380
4383
|
var defaultFormatHost = {
|
|
4381
4384
|
getCurrentDirectory: () => ts26.sys.getCurrentDirectory(),
|
|
4382
4385
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -4607,4 +4610,4 @@ export {
|
|
|
4607
4610
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4608
4611
|
* found in the LICENSE file at https://angular.io/license
|
|
4609
4612
|
*/
|
|
4610
|
-
//# sourceMappingURL=chunk-
|
|
4613
|
+
//# sourceMappingURL=chunk-C6UWCS4B.js.map
|