@angular/compiler-cli 18.0.0-next.3 → 18.0.0-next.5
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-UM6JO3VZ.js → chunk-75YFKYUJ.js} +7 -7
- package/bundles/{chunk-75Z2LUBT.js → chunk-AO7Q5KNS.js} +157 -131
- package/bundles/chunk-AO7Q5KNS.js.map +6 -0
- package/bundles/{chunk-QA6MINWF.js → chunk-DZJYWOMD.js} +13 -13
- package/bundles/{chunk-RUNTWSSX.js → chunk-GWZTRBUN.js} +47 -47
- package/bundles/{chunk-RUNTWSSX.js.map → chunk-GWZTRBUN.js.map} +1 -1
- package/bundles/{chunk-45SUUHP7.js → chunk-IEQXFDXI.js} +31 -31
- package/bundles/{chunk-KVMNPNPQ.js → chunk-QFI3O2MX.js} +5 -5
- package/bundles/{chunk-UYDKSYFP.js → chunk-QT2OXMUI.js} +78 -78
- package/bundles/{chunk-64JBPJBS.js → chunk-R4KQI5XI.js} +5 -5
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-2WQIUGOU.js → chunk-WCD6LVCP.js} +7 -7
- package/bundles/{chunk-XIYC7KSQ.js → chunk-YUMIYLNL.js} +5 -5
- package/bundles/index.js +14 -12
- package/bundles/index.js.map +1 -1
- 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 +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +9 -0
- package/src/ngtsc/docs/src/extractor.d.ts +1 -1
- package/src/ngtsc/metadata/src/api.d.ts +1 -1
- package/bundles/chunk-75Z2LUBT.js.map +0 -6
- /package/bundles/{chunk-UM6JO3VZ.js.map → chunk-75YFKYUJ.js.map} +0 -0
- /package/bundles/{chunk-QA6MINWF.js.map → chunk-DZJYWOMD.js.map} +0 -0
- /package/bundles/{chunk-45SUUHP7.js.map → chunk-IEQXFDXI.js.map} +0 -0
- /package/bundles/{chunk-KVMNPNPQ.js.map → chunk-QFI3O2MX.js.map} +0 -0
- /package/bundles/{chunk-UYDKSYFP.js.map → chunk-QT2OXMUI.js.map} +0 -0
- /package/bundles/{chunk-64JBPJBS.js.map → chunk-R4KQI5XI.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-2WQIUGOU.js.map → chunk-WCD6LVCP.js.map} +0 -0
- /package/bundles/{chunk-XIYC7KSQ.js.map → chunk-YUMIYLNL.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PotentialImportKind,
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
SymbolKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-YUMIYLNL.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -44,7 +44,7 @@ import {
|
|
|
44
44
|
isHostDirectiveMetaForGlobalMode,
|
|
45
45
|
ivyTransformFactory,
|
|
46
46
|
tryParseInitializerApi
|
|
47
|
-
} from "./chunk-
|
|
47
|
+
} from "./chunk-QT2OXMUI.js";
|
|
48
48
|
import {
|
|
49
49
|
AbsoluteModuleStrategy,
|
|
50
50
|
AliasStrategy,
|
|
@@ -94,14 +94,14 @@ import {
|
|
|
94
94
|
toUnredirectedSourceFile,
|
|
95
95
|
translateExpression,
|
|
96
96
|
translateType
|
|
97
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-GWZTRBUN.js";
|
|
98
98
|
import {
|
|
99
99
|
ActivePerfRecorder,
|
|
100
100
|
DelegatingPerfRecorder,
|
|
101
101
|
PerfCheckpoint,
|
|
102
102
|
PerfEvent,
|
|
103
103
|
PerfPhase
|
|
104
|
-
} from "./chunk-
|
|
104
|
+
} from "./chunk-R4KQI5XI.js";
|
|
105
105
|
import {
|
|
106
106
|
LogicalFileSystem,
|
|
107
107
|
absoluteFrom,
|
|
@@ -111,9 +111,9 @@ import {
|
|
|
111
111
|
getSourceFileOrError,
|
|
112
112
|
join,
|
|
113
113
|
resolve
|
|
114
|
-
} from "./chunk-
|
|
114
|
+
} from "./chunk-75YFKYUJ.js";
|
|
115
115
|
|
|
116
|
-
// bazel-out/
|
|
116
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
117
117
|
var DEFAULT_ERROR_CODE = 100;
|
|
118
118
|
var UNKNOWN_ERROR_CODE = 500;
|
|
119
119
|
var SOURCE = "angular";
|
|
@@ -131,7 +131,7 @@ var EmitFlags;
|
|
|
131
131
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
132
132
|
})(EmitFlags || (EmitFlags = {}));
|
|
133
133
|
|
|
134
|
-
// bazel-out/
|
|
134
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
135
135
|
import ts from "typescript";
|
|
136
136
|
var wrapHostForTest = null;
|
|
137
137
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -141,7 +141,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
141
141
|
return tsHost;
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
// bazel-out/
|
|
144
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
145
145
|
var EntryType;
|
|
146
146
|
(function(EntryType2) {
|
|
147
147
|
EntryType2["Block"] = "block";
|
|
@@ -184,24 +184,27 @@ var MemberTags;
|
|
|
184
184
|
MemberTags2["Output"] = "output";
|
|
185
185
|
MemberTags2["Inherited"] = "override";
|
|
186
186
|
})(MemberTags || (MemberTags = {}));
|
|
187
|
+
function isDocEntryWithSourceInfo(entry) {
|
|
188
|
+
return "source" in entry;
|
|
189
|
+
}
|
|
187
190
|
|
|
188
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
189
192
|
import ts10 from "typescript";
|
|
190
193
|
|
|
191
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
192
195
|
import ts5 from "typescript";
|
|
193
196
|
|
|
194
|
-
// bazel-out/
|
|
197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
195
198
|
function isAngularPrivateName(name) {
|
|
196
199
|
var _a;
|
|
197
200
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
198
201
|
return firstChar === "\u0275" || firstChar === "_";
|
|
199
202
|
}
|
|
200
203
|
|
|
201
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
202
205
|
import ts3 from "typescript";
|
|
203
206
|
|
|
204
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
205
208
|
function extractGenerics(declaration) {
|
|
206
209
|
var _a, _b;
|
|
207
210
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -214,7 +217,7 @@ function extractGenerics(declaration) {
|
|
|
214
217
|
})) != null ? _b : [];
|
|
215
218
|
}
|
|
216
219
|
|
|
217
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
218
221
|
import ts2 from "typescript";
|
|
219
222
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
220
223
|
function extractJsDocTags(node) {
|
|
@@ -258,12 +261,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
258
261
|
return comment.replace(/_NG_AT_/g, "@");
|
|
259
262
|
}
|
|
260
263
|
|
|
261
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
262
265
|
function extractResolvedTypeString(node, checker) {
|
|
263
266
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
264
267
|
}
|
|
265
268
|
|
|
266
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
267
270
|
var FunctionExtractor = class {
|
|
268
271
|
constructor(name, declaration, typeChecker) {
|
|
269
272
|
this.name = name;
|
|
@@ -319,7 +322,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
319
322
|
}));
|
|
320
323
|
}
|
|
321
324
|
|
|
322
|
-
// bazel-out/
|
|
325
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
323
326
|
import ts4 from "typescript";
|
|
324
327
|
function isInternal(member) {
|
|
325
328
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -338,7 +341,7 @@ function hasLeadingInternalComment(member) {
|
|
|
338
341
|
)) != null ? _a : false;
|
|
339
342
|
}
|
|
340
343
|
|
|
341
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
342
345
|
var ClassExtractor = class {
|
|
343
346
|
constructor(declaration, typeChecker) {
|
|
344
347
|
this.declaration = declaration;
|
|
@@ -596,7 +599,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
596
599
|
return extractor.extract();
|
|
597
600
|
}
|
|
598
601
|
|
|
599
|
-
// bazel-out/
|
|
602
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
600
603
|
import ts6 from "typescript";
|
|
601
604
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
602
605
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -654,7 +657,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
654
657
|
});
|
|
655
658
|
}
|
|
656
659
|
|
|
657
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
658
661
|
import ts7 from "typescript";
|
|
659
662
|
function extractorDecorator(declaration, typeChecker) {
|
|
660
663
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -727,7 +730,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
727
730
|
return callSignature;
|
|
728
731
|
}
|
|
729
732
|
|
|
730
|
-
// bazel-out/
|
|
733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
731
734
|
import ts8 from "typescript";
|
|
732
735
|
function extractEnum(declaration, typeChecker) {
|
|
733
736
|
return {
|
|
@@ -758,7 +761,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
758
761
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
759
762
|
}
|
|
760
763
|
|
|
761
|
-
// bazel-out/
|
|
764
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
762
765
|
import ts9 from "typescript";
|
|
763
766
|
var initializerApiTag = "initializerApiFunction";
|
|
764
767
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -895,7 +898,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
895
898
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
896
899
|
}
|
|
897
900
|
|
|
898
|
-
// bazel-out/
|
|
901
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
899
902
|
function extractTypeAlias(declaration) {
|
|
900
903
|
return {
|
|
901
904
|
name: declaration.name.getText(),
|
|
@@ -907,13 +910,13 @@ function extractTypeAlias(declaration) {
|
|
|
907
910
|
};
|
|
908
911
|
}
|
|
909
912
|
|
|
910
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
911
914
|
var DocsExtractor = class {
|
|
912
915
|
constructor(typeChecker, metadataReader) {
|
|
913
916
|
this.typeChecker = typeChecker;
|
|
914
917
|
this.metadataReader = metadataReader;
|
|
915
918
|
}
|
|
916
|
-
extractAll(sourceFile) {
|
|
919
|
+
extractAll(sourceFile, rootDir) {
|
|
917
920
|
const entries = [];
|
|
918
921
|
const exportedDeclarations = this.getExportedDeclarations(sourceFile);
|
|
919
922
|
for (const [exportName, node] of exportedDeclarations) {
|
|
@@ -922,6 +925,12 @@ var DocsExtractor = class {
|
|
|
922
925
|
}
|
|
923
926
|
const entry = this.extractDeclaration(node);
|
|
924
927
|
if (entry && !isIgnoredDocEntry(entry)) {
|
|
928
|
+
const realSourceFile = node.getSourceFile();
|
|
929
|
+
entry.source = {
|
|
930
|
+
filePath: getRelativeFilePath(realSourceFile, rootDir),
|
|
931
|
+
startLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getFullStart()).line,
|
|
932
|
+
endLine: ts10.getLineAndCharacterOfPosition(realSourceFile, node.getEnd()).line
|
|
933
|
+
};
|
|
925
934
|
entries.push({ ...entry, name: exportName });
|
|
926
935
|
}
|
|
927
936
|
}
|
|
@@ -979,12 +988,17 @@ function isIgnoredDocEntry(entry) {
|
|
|
979
988
|
}
|
|
980
989
|
return isDocsPrivate !== void 0;
|
|
981
990
|
}
|
|
991
|
+
function getRelativeFilePath(sourceFile, rootDir) {
|
|
992
|
+
const fullPath = sourceFile.fileName;
|
|
993
|
+
const relativePath = fullPath.replace(rootDir, "");
|
|
994
|
+
return relativePath;
|
|
995
|
+
}
|
|
982
996
|
|
|
983
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
984
998
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
985
999
|
import ts43 from "typescript";
|
|
986
1000
|
|
|
987
|
-
// bazel-out/
|
|
1001
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
988
1002
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
989
1003
|
import * as path from "path";
|
|
990
1004
|
function i18nGetExtension(formatName) {
|
|
@@ -1035,10 +1049,10 @@ function getPathNormalizer(basePath) {
|
|
|
1035
1049
|
};
|
|
1036
1050
|
}
|
|
1037
1051
|
|
|
1038
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1039
1053
|
import ts11 from "typescript";
|
|
1040
1054
|
|
|
1041
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1042
1056
|
function toNumbers(value) {
|
|
1043
1057
|
const suffixIndex = value.lastIndexOf("-");
|
|
1044
1058
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1073,7 +1087,7 @@ function compareVersions(v1, v2) {
|
|
|
1073
1087
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1074
1088
|
}
|
|
1075
1089
|
|
|
1076
|
-
// bazel-out/
|
|
1090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1077
1091
|
var MIN_TS_VERSION = "5.4.0";
|
|
1078
1092
|
var MAX_TS_VERSION = "5.5.0";
|
|
1079
1093
|
var tsVersion = ts11.version;
|
|
@@ -1086,11 +1100,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1086
1100
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1087
1101
|
}
|
|
1088
1102
|
|
|
1089
|
-
// bazel-out/
|
|
1103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1090
1104
|
import { R3Identifiers as R3Identifiers5 } from "@angular/compiler";
|
|
1091
1105
|
import ts41 from "typescript";
|
|
1092
1106
|
|
|
1093
|
-
// bazel-out/
|
|
1107
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1094
1108
|
var CycleAnalyzer = class {
|
|
1095
1109
|
constructor(importGraph) {
|
|
1096
1110
|
this.importGraph = importGraph;
|
|
@@ -1161,7 +1175,7 @@ var Cycle = class {
|
|
|
1161
1175
|
}
|
|
1162
1176
|
};
|
|
1163
1177
|
|
|
1164
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1165
1179
|
import ts12 from "typescript";
|
|
1166
1180
|
var ImportGraph = class {
|
|
1167
1181
|
constructor(checker, perf) {
|
|
@@ -1253,7 +1267,7 @@ var Found = class {
|
|
|
1253
1267
|
}
|
|
1254
1268
|
};
|
|
1255
1269
|
|
|
1256
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1257
1271
|
import ts13 from "typescript";
|
|
1258
1272
|
var FlatIndexGenerator = class {
|
|
1259
1273
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1278,7 +1292,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1278
1292
|
}
|
|
1279
1293
|
};
|
|
1280
1294
|
|
|
1281
|
-
// bazel-out/
|
|
1295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1282
1296
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1283
1297
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1284
1298
|
let resolvedEntryPoint = null;
|
|
@@ -1294,7 +1308,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1294
1308
|
return resolvedEntryPoint;
|
|
1295
1309
|
}
|
|
1296
1310
|
|
|
1297
|
-
// bazel-out/
|
|
1311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1298
1312
|
import ts14 from "typescript";
|
|
1299
1313
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1300
1314
|
const diagnostics = [];
|
|
@@ -1374,7 +1388,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1374
1388
|
}
|
|
1375
1389
|
}
|
|
1376
1390
|
|
|
1377
|
-
// bazel-out/
|
|
1391
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1378
1392
|
var ReferenceGraph = class {
|
|
1379
1393
|
constructor() {
|
|
1380
1394
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1428,7 +1442,7 @@ var ReferenceGraph = class {
|
|
|
1428
1442
|
}
|
|
1429
1443
|
};
|
|
1430
1444
|
|
|
1431
|
-
// bazel-out/
|
|
1445
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1432
1446
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1433
1447
|
var UpdateMode;
|
|
1434
1448
|
(function(UpdateMode2) {
|
|
@@ -1436,13 +1450,13 @@ var UpdateMode;
|
|
|
1436
1450
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1437
1451
|
})(UpdateMode || (UpdateMode = {}));
|
|
1438
1452
|
|
|
1439
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1440
1454
|
import ts16 from "typescript";
|
|
1441
1455
|
|
|
1442
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1443
1457
|
import ts15 from "typescript";
|
|
1444
1458
|
|
|
1445
|
-
// bazel-out/
|
|
1459
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1446
1460
|
var NgExtension = Symbol("NgExtension");
|
|
1447
1461
|
function isExtended(sf) {
|
|
1448
1462
|
return sf[NgExtension] !== void 0;
|
|
@@ -1502,13 +1516,13 @@ function retagTsFile(sf) {
|
|
|
1502
1516
|
}
|
|
1503
1517
|
}
|
|
1504
1518
|
|
|
1505
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1506
1520
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1507
1521
|
function makeShimFileName(fileName, suffix) {
|
|
1508
1522
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1509
1523
|
}
|
|
1510
1524
|
|
|
1511
|
-
// bazel-out/
|
|
1525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1512
1526
|
var ShimAdapter = class {
|
|
1513
1527
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1514
1528
|
this.delegate = delegate;
|
|
@@ -1603,7 +1617,7 @@ var ShimAdapter = class {
|
|
|
1603
1617
|
}
|
|
1604
1618
|
};
|
|
1605
1619
|
|
|
1606
|
-
// bazel-out/
|
|
1620
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1607
1621
|
var ShimReferenceTagger = class {
|
|
1608
1622
|
constructor(shimExtensions) {
|
|
1609
1623
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1637,7 +1651,7 @@ var ShimReferenceTagger = class {
|
|
|
1637
1651
|
}
|
|
1638
1652
|
};
|
|
1639
1653
|
|
|
1640
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1641
1655
|
var DelegatingCompilerHost = class {
|
|
1642
1656
|
get jsDocParsingMode() {
|
|
1643
1657
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1756,7 +1770,7 @@ var TsCreateProgramDriver = class {
|
|
|
1756
1770
|
}
|
|
1757
1771
|
};
|
|
1758
1772
|
|
|
1759
|
-
// bazel-out/
|
|
1773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1760
1774
|
var FileDependencyGraph = class {
|
|
1761
1775
|
constructor() {
|
|
1762
1776
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1823,7 +1837,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1823
1837
|
return false;
|
|
1824
1838
|
}
|
|
1825
1839
|
|
|
1826
|
-
// bazel-out/
|
|
1840
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1827
1841
|
var IncrementalStateKind;
|
|
1828
1842
|
(function(IncrementalStateKind2) {
|
|
1829
1843
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1831,7 +1845,7 @@ var IncrementalStateKind;
|
|
|
1831
1845
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1832
1846
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1833
1847
|
|
|
1834
|
-
// bazel-out/
|
|
1848
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1835
1849
|
var PhaseKind;
|
|
1836
1850
|
(function(PhaseKind2) {
|
|
1837
1851
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -2032,7 +2046,7 @@ function toOriginalSourceFile(sf) {
|
|
|
2032
2046
|
}
|
|
2033
2047
|
}
|
|
2034
2048
|
|
|
2035
|
-
// bazel-out/
|
|
2049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
2036
2050
|
var TrackedIncrementalBuildStrategy = class {
|
|
2037
2051
|
constructor() {
|
|
2038
2052
|
this.state = null;
|
|
@@ -2068,7 +2082,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
2068
2082
|
};
|
|
2069
2083
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
2070
2084
|
|
|
2071
|
-
// bazel-out/
|
|
2085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
2072
2086
|
var IdentifierKind;
|
|
2073
2087
|
(function(IdentifierKind2) {
|
|
2074
2088
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -2086,7 +2100,7 @@ var AbsoluteSourceSpan = class {
|
|
|
2086
2100
|
}
|
|
2087
2101
|
};
|
|
2088
2102
|
|
|
2089
|
-
// bazel-out/
|
|
2103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
2090
2104
|
var IndexingContext = class {
|
|
2091
2105
|
constructor() {
|
|
2092
2106
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -2096,10 +2110,10 @@ var IndexingContext = class {
|
|
|
2096
2110
|
}
|
|
2097
2111
|
};
|
|
2098
2112
|
|
|
2099
|
-
// bazel-out/
|
|
2113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2100
2114
|
import { ParseSourceFile } from "@angular/compiler";
|
|
2101
2115
|
|
|
2102
|
-
// bazel-out/
|
|
2116
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
2103
2117
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
2104
2118
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
2105
2119
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2381,7 +2395,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2381
2395
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2382
2396
|
}
|
|
2383
2397
|
|
|
2384
|
-
// bazel-out/
|
|
2398
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2385
2399
|
function generateAnalysis(context) {
|
|
2386
2400
|
const analysis = /* @__PURE__ */ new Map();
|
|
2387
2401
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2417,7 +2431,7 @@ function generateAnalysis(context) {
|
|
|
2417
2431
|
return analysis;
|
|
2418
2432
|
}
|
|
2419
2433
|
|
|
2420
|
-
// bazel-out/
|
|
2434
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2421
2435
|
var NgModuleIndexImpl = class {
|
|
2422
2436
|
constructor(metaReader, localReader) {
|
|
2423
2437
|
this.metaReader = metaReader;
|
|
@@ -2506,7 +2520,7 @@ var NgModuleIndexImpl = class {
|
|
|
2506
2520
|
}
|
|
2507
2521
|
};
|
|
2508
2522
|
|
|
2509
|
-
// bazel-out/
|
|
2523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2510
2524
|
import ts17 from "typescript";
|
|
2511
2525
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2512
2526
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2652,7 +2666,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2652
2666
|
};
|
|
2653
2667
|
}
|
|
2654
2668
|
|
|
2655
|
-
// bazel-out/
|
|
2669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2656
2670
|
var StandaloneComponentScopeReader = class {
|
|
2657
2671
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2658
2672
|
this.metaReader = metaReader;
|
|
@@ -2748,10 +2762,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2748
2762
|
}
|
|
2749
2763
|
};
|
|
2750
2764
|
|
|
2751
|
-
// bazel-out/
|
|
2765
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2752
2766
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2753
2767
|
|
|
2754
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2755
2769
|
import ts18 from "typescript";
|
|
2756
2770
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2757
2771
|
var _a;
|
|
@@ -2858,7 +2872,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2858
2872
|
return ts18.createSourceFile(fileName, template, ts18.ScriptTarget.Latest, false, ts18.ScriptKind.JSX);
|
|
2859
2873
|
}
|
|
2860
2874
|
|
|
2861
|
-
// bazel-out/
|
|
2875
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2862
2876
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2863
2877
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2864
2878
|
function getTemplateId(clazz) {
|
|
@@ -2875,11 +2889,11 @@ function allocateTemplateId(sf) {
|
|
|
2875
2889
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2876
2890
|
}
|
|
2877
2891
|
|
|
2878
|
-
// bazel-out/
|
|
2892
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2879
2893
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2880
2894
|
import ts20 from "typescript";
|
|
2881
2895
|
|
|
2882
|
-
// bazel-out/
|
|
2896
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2883
2897
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2884
2898
|
import ts19 from "typescript";
|
|
2885
2899
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -3010,7 +3024,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
3010
3024
|
}) || false;
|
|
3011
3025
|
}
|
|
3012
3026
|
|
|
3013
|
-
// bazel-out/
|
|
3027
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
3014
3028
|
var CompletionEngine = class {
|
|
3015
3029
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
3016
3030
|
this.tcb = tcb;
|
|
@@ -4124,21 +4138,29 @@ var MagicString = class {
|
|
|
4124
4138
|
if (searchValue.global) {
|
|
4125
4139
|
const matches = matchAll(searchValue, this.original);
|
|
4126
4140
|
matches.forEach((match) => {
|
|
4127
|
-
if (match.index != null)
|
|
4141
|
+
if (match.index != null) {
|
|
4142
|
+
const replacement2 = getReplacement(match, this.original);
|
|
4143
|
+
if (replacement2 !== match[0]) {
|
|
4144
|
+
this.overwrite(
|
|
4145
|
+
match.index,
|
|
4146
|
+
match.index + match[0].length,
|
|
4147
|
+
replacement2
|
|
4148
|
+
);
|
|
4149
|
+
}
|
|
4150
|
+
}
|
|
4151
|
+
});
|
|
4152
|
+
} else {
|
|
4153
|
+
const match = this.original.match(searchValue);
|
|
4154
|
+
if (match && match.index != null) {
|
|
4155
|
+
const replacement2 = getReplacement(match, this.original);
|
|
4156
|
+
if (replacement2 !== match[0]) {
|
|
4128
4157
|
this.overwrite(
|
|
4129
4158
|
match.index,
|
|
4130
4159
|
match.index + match[0].length,
|
|
4131
|
-
|
|
4160
|
+
replacement2
|
|
4132
4161
|
);
|
|
4133
|
-
|
|
4134
|
-
|
|
4135
|
-
const match = this.original.match(searchValue);
|
|
4136
|
-
if (match && match.index != null)
|
|
4137
|
-
this.overwrite(
|
|
4138
|
-
match.index,
|
|
4139
|
-
match.index + match[0].length,
|
|
4140
|
-
getReplacement(match, this.original)
|
|
4141
|
-
);
|
|
4162
|
+
}
|
|
4163
|
+
}
|
|
4142
4164
|
}
|
|
4143
4165
|
return this;
|
|
4144
4166
|
}
|
|
@@ -4160,7 +4182,9 @@ var MagicString = class {
|
|
|
4160
4182
|
const { original } = this;
|
|
4161
4183
|
const stringLength = string.length;
|
|
4162
4184
|
for (let index = original.indexOf(string); index !== -1; index = original.indexOf(string, index + stringLength)) {
|
|
4163
|
-
|
|
4185
|
+
const previous = original.slice(index, index + stringLength);
|
|
4186
|
+
if (previous !== replacement)
|
|
4187
|
+
this.overwrite(index, index + stringLength, replacement);
|
|
4164
4188
|
}
|
|
4165
4189
|
return this;
|
|
4166
4190
|
}
|
|
@@ -4177,10 +4201,10 @@ var MagicString = class {
|
|
|
4177
4201
|
}
|
|
4178
4202
|
};
|
|
4179
4203
|
|
|
4180
|
-
// bazel-out/
|
|
4204
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4181
4205
|
import ts33 from "typescript";
|
|
4182
4206
|
|
|
4183
|
-
// bazel-out/
|
|
4207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
4184
4208
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
4185
4209
|
import ts21 from "typescript";
|
|
4186
4210
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -4233,10 +4257,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
4233
4257
|
}
|
|
4234
4258
|
};
|
|
4235
4259
|
|
|
4236
|
-
// bazel-out/
|
|
4260
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4237
4261
|
import ts26 from "typescript";
|
|
4238
4262
|
|
|
4239
|
-
// bazel-out/
|
|
4263
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
4240
4264
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
4241
4265
|
var ReferenceEmitEnvironment = class {
|
|
4242
4266
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -4267,7 +4291,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
4267
4291
|
}
|
|
4268
4292
|
};
|
|
4269
4293
|
|
|
4270
|
-
// bazel-out/
|
|
4294
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
4271
4295
|
import ts22 from "typescript";
|
|
4272
4296
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
4273
4297
|
ts22.SyntaxKind.ParenthesizedExpression,
|
|
@@ -4350,15 +4374,15 @@ function tsNumericExpression(value) {
|
|
|
4350
4374
|
return ts22.factory.createNumericLiteral(value);
|
|
4351
4375
|
}
|
|
4352
4376
|
|
|
4353
|
-
// bazel-out/
|
|
4377
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4354
4378
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
4355
4379
|
import ts25 from "typescript";
|
|
4356
4380
|
|
|
4357
|
-
// bazel-out/
|
|
4381
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4358
4382
|
import { R3Identifiers } from "@angular/compiler";
|
|
4359
4383
|
import ts24 from "typescript";
|
|
4360
4384
|
|
|
4361
|
-
// bazel-out/
|
|
4385
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
4362
4386
|
import ts23 from "typescript";
|
|
4363
4387
|
var TypeParameterEmitter = class {
|
|
4364
4388
|
constructor(typeParameters, reflector) {
|
|
@@ -4436,7 +4460,7 @@ var TypeParameterEmitter = class {
|
|
|
4436
4460
|
}
|
|
4437
4461
|
};
|
|
4438
4462
|
|
|
4439
|
-
// bazel-out/
|
|
4463
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4440
4464
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
4441
4465
|
R3Identifiers.InputSignalBrandWriteType
|
|
4442
4466
|
];
|
|
@@ -4528,7 +4552,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
4528
4552
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
4529
4553
|
}
|
|
4530
4554
|
|
|
4531
|
-
// bazel-out/
|
|
4555
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4532
4556
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
4533
4557
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
4534
4558
|
const rawType = ts25.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -4651,7 +4675,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
4651
4675
|
});
|
|
4652
4676
|
}
|
|
4653
4677
|
|
|
4654
|
-
// bazel-out/
|
|
4678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4655
4679
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
4656
4680
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
4657
4681
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -4726,7 +4750,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
4726
4750
|
}
|
|
4727
4751
|
};
|
|
4728
4752
|
|
|
4729
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
4730
4754
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
4731
4755
|
import ts27 from "typescript";
|
|
4732
4756
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -4828,7 +4852,7 @@ Consider enabling the 'strictTemplates' option in your tsconfig.json for better
|
|
|
4828
4852
|
splitTwoWayBinding(templateId, input, output, inputConsumer, outputConsumer) {
|
|
4829
4853
|
const mapping = this.resolver.getSourceMapping(templateId);
|
|
4830
4854
|
const errorMsg = `The property and event halves of the two-way binding '${input.name}' are not bound to the same target.
|
|
4831
|
-
Find more at https://angular.
|
|
4855
|
+
Find more at https://angular.dev/guide/templates/two-way-binding#how-two-way-binding-works`;
|
|
4832
4856
|
const relatedMessages = [];
|
|
4833
4857
|
relatedMessages.push({
|
|
4834
4858
|
text: `The property half of the binding is to the '${inputConsumer.name.text}' component.`,
|
|
@@ -4907,7 +4931,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
4907
4931
|
};
|
|
4908
4932
|
}
|
|
4909
4933
|
|
|
4910
|
-
// bazel-out/
|
|
4934
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
4911
4935
|
import ts28 from "typescript";
|
|
4912
4936
|
var TypeCheckShimGenerator = class {
|
|
4913
4937
|
constructor() {
|
|
@@ -4925,11 +4949,11 @@ var TypeCheckShimGenerator = class {
|
|
|
4925
4949
|
}
|
|
4926
4950
|
};
|
|
4927
4951
|
|
|
4928
|
-
// bazel-out/
|
|
4952
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4929
4953
|
import { BindingPipe, BindingType, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, ParsedEventType, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TransplantedType } from "@angular/compiler";
|
|
4930
4954
|
import ts31 from "typescript";
|
|
4931
4955
|
|
|
4932
|
-
// bazel-out/
|
|
4956
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
4933
4957
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
4934
4958
|
import ts29 from "typescript";
|
|
4935
4959
|
function wrapForDiagnostics(expr) {
|
|
@@ -4975,7 +4999,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
4975
4999
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
4976
5000
|
}
|
|
4977
5001
|
|
|
4978
|
-
// bazel-out/
|
|
5002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
4979
5003
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
4980
5004
|
import ts30 from "typescript";
|
|
4981
5005
|
var NULL_AS_ANY = ts30.factory.createAsExpression(ts30.factory.createNull(), ts30.factory.createKeywordTypeNode(ts30.SyntaxKind.AnyKeyword));
|
|
@@ -5308,7 +5332,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
5308
5332
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
5309
5333
|
})();
|
|
5310
5334
|
|
|
5311
|
-
// bazel-out/
|
|
5335
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
5312
5336
|
var TcbGenericContextBehavior;
|
|
5313
5337
|
(function(TcbGenericContextBehavior2) {
|
|
5314
5338
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -6816,7 +6840,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
6816
6840
|
}
|
|
6817
6841
|
};
|
|
6818
6842
|
|
|
6819
|
-
// bazel-out/
|
|
6843
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
6820
6844
|
import ts32 from "typescript";
|
|
6821
6845
|
var TypeCheckFile = class extends Environment {
|
|
6822
6846
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -6864,7 +6888,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
6864
6888
|
}
|
|
6865
6889
|
};
|
|
6866
6890
|
|
|
6867
|
-
// bazel-out/
|
|
6891
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
6868
6892
|
var InliningMode;
|
|
6869
6893
|
(function(InliningMode2) {
|
|
6870
6894
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -7116,10 +7140,10 @@ var TypeCtorOp = class {
|
|
|
7116
7140
|
}
|
|
7117
7141
|
};
|
|
7118
7142
|
|
|
7119
|
-
// bazel-out/
|
|
7143
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7120
7144
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
7121
7145
|
|
|
7122
|
-
// bazel-out/
|
|
7146
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
7123
7147
|
var LF_CHAR = 10;
|
|
7124
7148
|
var CR_CHAR = 13;
|
|
7125
7149
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -7160,7 +7184,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
7160
7184
|
return low - 1;
|
|
7161
7185
|
}
|
|
7162
7186
|
|
|
7163
|
-
// bazel-out/
|
|
7187
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7164
7188
|
var TemplateSource = class {
|
|
7165
7189
|
constructor(mapping, file) {
|
|
7166
7190
|
this.mapping = mapping;
|
|
@@ -7211,7 +7235,7 @@ var TemplateSourceManager = class {
|
|
|
7211
7235
|
}
|
|
7212
7236
|
};
|
|
7213
7237
|
|
|
7214
|
-
// bazel-out/
|
|
7238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
7215
7239
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, R3Identifiers as R3Identifiers4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
7216
7240
|
import ts34 from "typescript";
|
|
7217
7241
|
var SymbolBuilder = class {
|
|
@@ -7729,7 +7753,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
7729
7753
|
};
|
|
7730
7754
|
}
|
|
7731
7755
|
|
|
7732
|
-
// bazel-out/
|
|
7756
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7733
7757
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
7734
7758
|
var TemplateTypeCheckerImpl = class {
|
|
7735
7759
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -8430,10 +8454,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
8430
8454
|
}
|
|
8431
8455
|
};
|
|
8432
8456
|
|
|
8433
|
-
// bazel-out/
|
|
8457
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8434
8458
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
8435
8459
|
|
|
8436
|
-
// bazel-out/
|
|
8460
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
8437
8461
|
import ts35 from "typescript";
|
|
8438
8462
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
8439
8463
|
"WritableSignal",
|
|
@@ -8453,7 +8477,7 @@ function isSignalSymbol(symbol) {
|
|
|
8453
8477
|
});
|
|
8454
8478
|
}
|
|
8455
8479
|
|
|
8456
|
-
// bazel-out/
|
|
8480
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8457
8481
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
8458
8482
|
var TemplateCheckWithVisitor = class {
|
|
8459
8483
|
run(ctx, component, template) {
|
|
@@ -8578,7 +8602,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
8578
8602
|
}
|
|
8579
8603
|
};
|
|
8580
8604
|
|
|
8581
|
-
// bazel-out/
|
|
8605
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8582
8606
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
8583
8607
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
8584
8608
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8622,7 +8646,7 @@ var factory = {
|
|
|
8622
8646
|
create: () => new InterpolatedSignalCheck()
|
|
8623
8647
|
};
|
|
8624
8648
|
|
|
8625
|
-
// bazel-out/
|
|
8649
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8626
8650
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8627
8651
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
8628
8652
|
constructor() {
|
|
@@ -8638,7 +8662,7 @@ var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
|
8638
8662
|
const boundSyntax = node.sourceSpan.toString();
|
|
8639
8663
|
const expectedBoundSyntax = boundSyntax.replace(`(${name})`, `[(${name.slice(1, -1)})]`);
|
|
8640
8664
|
const diagnostic = ctx.makeTemplateDiagnostic(node.sourceSpan, `In the two-way binding syntax the parentheses should be inside the brackets, ex. '${expectedBoundSyntax}'.
|
|
8641
|
-
Find more at https://angular.
|
|
8665
|
+
Find more at https://angular.dev/guide/templates/two-way-binding`);
|
|
8642
8666
|
return [diagnostic];
|
|
8643
8667
|
}
|
|
8644
8668
|
};
|
|
@@ -8648,7 +8672,7 @@ var factory2 = {
|
|
|
8648
8672
|
create: () => new InvalidBananaInBoxCheck()
|
|
8649
8673
|
};
|
|
8650
8674
|
|
|
8651
|
-
// bazel-out/
|
|
8675
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
8652
8676
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
8653
8677
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
8654
8678
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -8693,7 +8717,7 @@ var factory3 = {
|
|
|
8693
8717
|
}
|
|
8694
8718
|
};
|
|
8695
8719
|
|
|
8696
|
-
// bazel-out/
|
|
8720
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
8697
8721
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
8698
8722
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
8699
8723
|
constructor() {
|
|
@@ -8726,7 +8750,7 @@ var factory4 = {
|
|
|
8726
8750
|
create: () => new MissingNgForOfLetCheck()
|
|
8727
8751
|
};
|
|
8728
8752
|
|
|
8729
|
-
// bazel-out/
|
|
8753
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8730
8754
|
import { Binary } from "@angular/compiler";
|
|
8731
8755
|
import ts36 from "typescript";
|
|
8732
8756
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8771,7 +8795,7 @@ var factory5 = {
|
|
|
8771
8795
|
}
|
|
8772
8796
|
};
|
|
8773
8797
|
|
|
8774
|
-
// bazel-out/
|
|
8798
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
8775
8799
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
8776
8800
|
import ts37 from "typescript";
|
|
8777
8801
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8817,7 +8841,7 @@ var factory6 = {
|
|
|
8817
8841
|
}
|
|
8818
8842
|
};
|
|
8819
8843
|
|
|
8820
|
-
// bazel-out/
|
|
8844
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
8821
8845
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
8822
8846
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
8823
8847
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8841,7 +8865,7 @@ var factory7 = {
|
|
|
8841
8865
|
create: () => new SuffixNotSupportedCheck()
|
|
8842
8866
|
};
|
|
8843
8867
|
|
|
8844
|
-
// bazel-out/
|
|
8868
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
8845
8869
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
8846
8870
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
8847
8871
|
constructor() {
|
|
@@ -8880,10 +8904,10 @@ var factory8 = {
|
|
|
8880
8904
|
create: () => new TextAttributeNotBindingSpec()
|
|
8881
8905
|
};
|
|
8882
8906
|
|
|
8883
|
-
// bazel-out/
|
|
8907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8884
8908
|
import ts38 from "typescript";
|
|
8885
8909
|
|
|
8886
|
-
// bazel-out/
|
|
8910
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
8887
8911
|
var DiagnosticCategoryLabel;
|
|
8888
8912
|
(function(DiagnosticCategoryLabel2) {
|
|
8889
8913
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -8891,7 +8915,7 @@ var DiagnosticCategoryLabel;
|
|
|
8891
8915
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
8892
8916
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
8893
8917
|
|
|
8894
|
-
// bazel-out/
|
|
8918
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8895
8919
|
var ExtendedTemplateCheckerImpl = class {
|
|
8896
8920
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
8897
8921
|
var _a, _b, _c, _d, _e;
|
|
@@ -8944,7 +8968,7 @@ function assertNever(value) {
|
|
|
8944
8968
|
${value}`);
|
|
8945
8969
|
}
|
|
8946
8970
|
|
|
8947
|
-
// bazel-out/
|
|
8971
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
8948
8972
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
8949
8973
|
factory2,
|
|
8950
8974
|
factory5,
|
|
@@ -8960,7 +8984,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
8960
8984
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
8961
8985
|
]);
|
|
8962
8986
|
|
|
8963
|
-
// bazel-out/
|
|
8987
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
8964
8988
|
import { ASTWithSource as ASTWithSource5, ImplicitReceiver as ImplicitReceiver4, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
8965
8989
|
import ts39 from "typescript";
|
|
8966
8990
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -9042,7 +9066,7 @@ function unwrapAstWithSource(ast) {
|
|
|
9042
9066
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
9043
9067
|
}
|
|
9044
9068
|
|
|
9045
|
-
// bazel-out/
|
|
9069
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
9046
9070
|
import ts40 from "typescript";
|
|
9047
9071
|
var APIS_TO_CHECK = [
|
|
9048
9072
|
INPUT_INITIALIZER_FN,
|
|
@@ -9093,7 +9117,7 @@ var InitializerApiUsageRule = class {
|
|
|
9093
9117
|
}
|
|
9094
9118
|
};
|
|
9095
9119
|
|
|
9096
|
-
// bazel-out/
|
|
9120
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
9097
9121
|
var SourceFileValidator = class {
|
|
9098
9122
|
constructor(reflector, importedSymbolsTracker) {
|
|
9099
9123
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -9131,7 +9155,7 @@ var SourceFileValidator = class {
|
|
|
9131
9155
|
}
|
|
9132
9156
|
};
|
|
9133
9157
|
|
|
9134
|
-
// bazel-out/
|
|
9158
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
9135
9159
|
function coreHasSymbol(program, symbol) {
|
|
9136
9160
|
const checker = program.getTypeChecker();
|
|
9137
9161
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -9150,7 +9174,7 @@ function isMaybeCore(sf) {
|
|
|
9150
9174
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
9151
9175
|
}
|
|
9152
9176
|
|
|
9153
|
-
// bazel-out/
|
|
9177
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
9154
9178
|
import semver from "semver";
|
|
9155
9179
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
9156
9180
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -9159,7 +9183,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
9159
9183
|
return semver.satisfies(coreVersion, minVersion);
|
|
9160
9184
|
}
|
|
9161
9185
|
|
|
9162
|
-
// bazel-out/
|
|
9186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
9163
9187
|
var CompilationTicketKind;
|
|
9164
9188
|
(function(CompilationTicketKind2) {
|
|
9165
9189
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -9470,7 +9494,8 @@ var NgCompiler = class {
|
|
|
9470
9494
|
if (!entryPointSourceFile) {
|
|
9471
9495
|
throw new Error(`Entry point "${entryPoint}" not found in program sources.`);
|
|
9472
9496
|
}
|
|
9473
|
-
|
|
9497
|
+
const rootDir = this.inputProgram.getCurrentDirectory();
|
|
9498
|
+
return docsExtractor.extractAll(entryPointSourceFile, rootDir);
|
|
9474
9499
|
}
|
|
9475
9500
|
xi18n(ctx) {
|
|
9476
9501
|
const compilation = this.ensureAnalyzed();
|
|
@@ -9835,7 +9860,7 @@ One of the following actions is required:
|
|
|
9835
9860
|
2. Remove "strictTemplates" or set it to 'false'.
|
|
9836
9861
|
|
|
9837
9862
|
More information about the template type checking compiler options can be found in the documentation:
|
|
9838
|
-
https://angular.
|
|
9863
|
+
https://angular.dev/tools/cli/template-typecheck
|
|
9839
9864
|
`.trim()
|
|
9840
9865
|
});
|
|
9841
9866
|
}
|
|
@@ -9951,7 +9976,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
9951
9976
|
return versions;
|
|
9952
9977
|
}
|
|
9953
9978
|
|
|
9954
|
-
// bazel-out/
|
|
9979
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
9955
9980
|
import ts42 from "typescript";
|
|
9956
9981
|
var DelegatingCompilerHost2 = class {
|
|
9957
9982
|
get jsDocParsingMode() {
|
|
@@ -10090,7 +10115,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
10090
10115
|
}
|
|
10091
10116
|
};
|
|
10092
10117
|
|
|
10093
|
-
// bazel-out/
|
|
10118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
10094
10119
|
var NgtscProgram = class {
|
|
10095
10120
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
10096
10121
|
this.options = options;
|
|
@@ -10317,15 +10342,15 @@ function mergeEmitResults(emitResults) {
|
|
|
10317
10342
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
10318
10343
|
}
|
|
10319
10344
|
|
|
10320
|
-
// bazel-out/
|
|
10345
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
10321
10346
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
10322
10347
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
10323
10348
|
}
|
|
10324
10349
|
|
|
10325
|
-
// bazel-out/
|
|
10350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10326
10351
|
import ts45 from "typescript";
|
|
10327
10352
|
|
|
10328
|
-
// bazel-out/
|
|
10353
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
10329
10354
|
import ts44 from "typescript";
|
|
10330
10355
|
function createMessageDiagnostic(messageText) {
|
|
10331
10356
|
return {
|
|
@@ -10339,7 +10364,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
10339
10364
|
};
|
|
10340
10365
|
}
|
|
10341
10366
|
|
|
10342
|
-
// bazel-out/
|
|
10367
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10343
10368
|
var defaultFormatHost = {
|
|
10344
10369
|
getCurrentDirectory: () => ts45.sys.getCurrentDirectory(),
|
|
10345
10370
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -10528,6 +10553,7 @@ export {
|
|
|
10528
10553
|
MemberType,
|
|
10529
10554
|
DecoratorType,
|
|
10530
10555
|
MemberTags,
|
|
10556
|
+
isDocEntryWithSourceInfo,
|
|
10531
10557
|
DocsExtractor,
|
|
10532
10558
|
untagAllTsFiles,
|
|
10533
10559
|
TsCreateProgramDriver,
|
|
@@ -10560,4 +10586,4 @@ export {
|
|
|
10560
10586
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10561
10587
|
* found in the LICENSE file at https://angular.io/license
|
|
10562
10588
|
*/
|
|
10563
|
-
//# sourceMappingURL=chunk-
|
|
10589
|
+
//# sourceMappingURL=chunk-AO7Q5KNS.js.map
|