@angular/compiler-cli 18.0.0-rc.1 → 18.0.0-rc.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-BAS2AOWB.js → chunk-4YZ5DOHQ.js} +5 -5
- package/bundles/{chunk-ZX6BKV7T.js → chunk-6AZ42I2O.js} +5 -5
- package/bundles/{chunk-CFIOLJL4.js → chunk-77CB34BX.js} +43 -43
- package/bundles/{chunk-CFIOLJL4.js.map → chunk-77CB34BX.js.map} +1 -1
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-XAPDG6EU.js → chunk-BKFFZXM2.js} +114 -114
- package/bundles/{chunk-XAPDG6EU.js.map → chunk-BKFFZXM2.js.map} +1 -1
- package/bundles/{chunk-3UXY73FR.js → chunk-BVDVZTEE.js} +31 -31
- package/bundles/{chunk-3ZM5BFEI.js → chunk-LCZH35U2.js} +78 -78
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-5DY7CLVW.js → chunk-UPUMIIZG.js} +13 -13
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +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 +2 -2
- package/src/ngtsc/reflection/src/host.d.ts +1 -4
- /package/bundles/{chunk-BAS2AOWB.js.map → chunk-4YZ5DOHQ.js.map} +0 -0
- /package/bundles/{chunk-ZX6BKV7T.js.map → chunk-6AZ42I2O.js.map} +0 -0
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-3UXY73FR.js.map → chunk-BVDVZTEE.js.map} +0 -0
- /package/bundles/{chunk-3ZM5BFEI.js.map → chunk-LCZH35U2.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-5DY7CLVW.js.map → chunk-UPUMIIZG.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PotentialImportKind,
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
SymbolKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6AZ42I2O.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-LCZH35U2.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-77CB34BX.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-AQFTVE7F.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-XNL3EK5H.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";
|
|
@@ -188,23 +188,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
188
188
|
return "source" in entry;
|
|
189
189
|
}
|
|
190
190
|
|
|
191
|
-
// bazel-out/
|
|
191
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
192
192
|
import ts10 from "typescript";
|
|
193
193
|
|
|
194
|
-
// bazel-out/
|
|
194
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
195
195
|
import ts5 from "typescript";
|
|
196
196
|
|
|
197
|
-
// bazel-out/
|
|
197
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
198
198
|
function isAngularPrivateName(name) {
|
|
199
199
|
var _a;
|
|
200
200
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
201
201
|
return firstChar === "\u0275" || firstChar === "_";
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
205
205
|
import ts3 from "typescript";
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
208
208
|
function extractGenerics(declaration) {
|
|
209
209
|
var _a, _b;
|
|
210
210
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -217,7 +217,7 @@ function extractGenerics(declaration) {
|
|
|
217
217
|
})) != null ? _b : [];
|
|
218
218
|
}
|
|
219
219
|
|
|
220
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
221
221
|
import ts2 from "typescript";
|
|
222
222
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
223
223
|
function extractJsDocTags(node) {
|
|
@@ -261,12 +261,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
261
261
|
return comment.replace(/_NG_AT_/g, "@");
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
// bazel-out/
|
|
264
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
265
265
|
function extractResolvedTypeString(node, checker) {
|
|
266
266
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
267
267
|
}
|
|
268
268
|
|
|
269
|
-
// bazel-out/
|
|
269
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
270
270
|
var FunctionExtractor = class {
|
|
271
271
|
constructor(name, declaration, typeChecker) {
|
|
272
272
|
this.name = name;
|
|
@@ -322,7 +322,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
322
322
|
}));
|
|
323
323
|
}
|
|
324
324
|
|
|
325
|
-
// bazel-out/
|
|
325
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
326
326
|
import ts4 from "typescript";
|
|
327
327
|
function isInternal(member) {
|
|
328
328
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -341,7 +341,7 @@ function hasLeadingInternalComment(member) {
|
|
|
341
341
|
)) != null ? _a : false;
|
|
342
342
|
}
|
|
343
343
|
|
|
344
|
-
// bazel-out/
|
|
344
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
345
345
|
var ClassExtractor = class {
|
|
346
346
|
constructor(declaration, typeChecker) {
|
|
347
347
|
this.declaration = declaration;
|
|
@@ -599,7 +599,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
599
599
|
return extractor.extract();
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
-
// bazel-out/
|
|
602
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
603
603
|
import ts6 from "typescript";
|
|
604
604
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
605
605
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -657,7 +657,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
657
657
|
});
|
|
658
658
|
}
|
|
659
659
|
|
|
660
|
-
// bazel-out/
|
|
660
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
661
661
|
import ts7 from "typescript";
|
|
662
662
|
function extractorDecorator(declaration, typeChecker) {
|
|
663
663
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -730,7 +730,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
730
730
|
return callSignature;
|
|
731
731
|
}
|
|
732
732
|
|
|
733
|
-
// bazel-out/
|
|
733
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
734
734
|
import ts8 from "typescript";
|
|
735
735
|
function extractEnum(declaration, typeChecker) {
|
|
736
736
|
return {
|
|
@@ -761,7 +761,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
761
761
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
762
762
|
}
|
|
763
763
|
|
|
764
|
-
// bazel-out/
|
|
764
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
765
765
|
import ts9 from "typescript";
|
|
766
766
|
var initializerApiTag = "initializerApiFunction";
|
|
767
767
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -898,7 +898,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
898
898
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
899
899
|
}
|
|
900
900
|
|
|
901
|
-
// bazel-out/
|
|
901
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
902
902
|
function extractTypeAlias(declaration) {
|
|
903
903
|
return {
|
|
904
904
|
name: declaration.name.getText(),
|
|
@@ -910,7 +910,7 @@ function extractTypeAlias(declaration) {
|
|
|
910
910
|
};
|
|
911
911
|
}
|
|
912
912
|
|
|
913
|
-
// bazel-out/
|
|
913
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
914
914
|
var DocsExtractor = class {
|
|
915
915
|
constructor(typeChecker, metadataReader) {
|
|
916
916
|
this.typeChecker = typeChecker;
|
|
@@ -994,11 +994,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
994
994
|
return relativePath;
|
|
995
995
|
}
|
|
996
996
|
|
|
997
|
-
// bazel-out/
|
|
997
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
998
998
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
999
999
|
import ts43 from "typescript";
|
|
1000
1000
|
|
|
1001
|
-
// bazel-out/
|
|
1001
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1002
1002
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1003
1003
|
import * as path from "path";
|
|
1004
1004
|
function i18nGetExtension(formatName) {
|
|
@@ -1049,10 +1049,10 @@ function getPathNormalizer(basePath) {
|
|
|
1049
1049
|
};
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1053
1053
|
import ts11 from "typescript";
|
|
1054
1054
|
|
|
1055
|
-
// bazel-out/
|
|
1055
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1056
1056
|
function toNumbers(value) {
|
|
1057
1057
|
const suffixIndex = value.lastIndexOf("-");
|
|
1058
1058
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1087,7 +1087,7 @@ function compareVersions(v1, v2) {
|
|
|
1087
1087
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1088
1088
|
}
|
|
1089
1089
|
|
|
1090
|
-
// bazel-out/
|
|
1090
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1091
1091
|
var MIN_TS_VERSION = "5.4.0";
|
|
1092
1092
|
var MAX_TS_VERSION = "5.5.0";
|
|
1093
1093
|
var tsVersion = ts11.version;
|
|
@@ -1100,11 +1100,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1100
1100
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1101
1101
|
}
|
|
1102
1102
|
|
|
1103
|
-
// bazel-out/
|
|
1103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1104
1104
|
import { R3Identifiers as R3Identifiers5 } from "@angular/compiler";
|
|
1105
1105
|
import ts41 from "typescript";
|
|
1106
1106
|
|
|
1107
|
-
// bazel-out/
|
|
1107
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1108
1108
|
var CycleAnalyzer = class {
|
|
1109
1109
|
constructor(importGraph) {
|
|
1110
1110
|
this.importGraph = importGraph;
|
|
@@ -1175,7 +1175,7 @@ var Cycle = class {
|
|
|
1175
1175
|
}
|
|
1176
1176
|
};
|
|
1177
1177
|
|
|
1178
|
-
// bazel-out/
|
|
1178
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1179
1179
|
import ts12 from "typescript";
|
|
1180
1180
|
var ImportGraph = class {
|
|
1181
1181
|
constructor(checker, perf) {
|
|
@@ -1267,7 +1267,7 @@ var Found = class {
|
|
|
1267
1267
|
}
|
|
1268
1268
|
};
|
|
1269
1269
|
|
|
1270
|
-
// bazel-out/
|
|
1270
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1271
1271
|
import ts13 from "typescript";
|
|
1272
1272
|
var FlatIndexGenerator = class {
|
|
1273
1273
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1292,7 +1292,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1292
1292
|
}
|
|
1293
1293
|
};
|
|
1294
1294
|
|
|
1295
|
-
// bazel-out/
|
|
1295
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1296
1296
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1297
1297
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1298
1298
|
let resolvedEntryPoint = null;
|
|
@@ -1308,7 +1308,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1308
1308
|
return resolvedEntryPoint;
|
|
1309
1309
|
}
|
|
1310
1310
|
|
|
1311
|
-
// bazel-out/
|
|
1311
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1312
1312
|
import ts14 from "typescript";
|
|
1313
1313
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1314
1314
|
const diagnostics = [];
|
|
@@ -1388,7 +1388,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1388
1388
|
}
|
|
1389
1389
|
}
|
|
1390
1390
|
|
|
1391
|
-
// bazel-out/
|
|
1391
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1392
1392
|
var ReferenceGraph = class {
|
|
1393
1393
|
constructor() {
|
|
1394
1394
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1442,7 +1442,7 @@ var ReferenceGraph = class {
|
|
|
1442
1442
|
}
|
|
1443
1443
|
};
|
|
1444
1444
|
|
|
1445
|
-
// bazel-out/
|
|
1445
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1446
1446
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1447
1447
|
var UpdateMode;
|
|
1448
1448
|
(function(UpdateMode2) {
|
|
@@ -1450,13 +1450,13 @@ var UpdateMode;
|
|
|
1450
1450
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1451
1451
|
})(UpdateMode || (UpdateMode = {}));
|
|
1452
1452
|
|
|
1453
|
-
// bazel-out/
|
|
1453
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1454
1454
|
import ts16 from "typescript";
|
|
1455
1455
|
|
|
1456
|
-
// bazel-out/
|
|
1456
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1457
1457
|
import ts15 from "typescript";
|
|
1458
1458
|
|
|
1459
|
-
// bazel-out/
|
|
1459
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1460
1460
|
var NgExtension = Symbol("NgExtension");
|
|
1461
1461
|
function isExtended(sf) {
|
|
1462
1462
|
return sf[NgExtension] !== void 0;
|
|
@@ -1516,13 +1516,13 @@ function retagTsFile(sf) {
|
|
|
1516
1516
|
}
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1520
1520
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1521
1521
|
function makeShimFileName(fileName, suffix) {
|
|
1522
1522
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1523
1523
|
}
|
|
1524
1524
|
|
|
1525
|
-
// bazel-out/
|
|
1525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1526
1526
|
var ShimAdapter = class {
|
|
1527
1527
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1528
1528
|
this.delegate = delegate;
|
|
@@ -1617,7 +1617,7 @@ var ShimAdapter = class {
|
|
|
1617
1617
|
}
|
|
1618
1618
|
};
|
|
1619
1619
|
|
|
1620
|
-
// bazel-out/
|
|
1620
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1621
1621
|
var ShimReferenceTagger = class {
|
|
1622
1622
|
constructor(shimExtensions) {
|
|
1623
1623
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1651,7 +1651,7 @@ var ShimReferenceTagger = class {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
1653
|
|
|
1654
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1655
1655
|
var DelegatingCompilerHost = class {
|
|
1656
1656
|
get jsDocParsingMode() {
|
|
1657
1657
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1770,7 +1770,7 @@ var TsCreateProgramDriver = class {
|
|
|
1770
1770
|
}
|
|
1771
1771
|
};
|
|
1772
1772
|
|
|
1773
|
-
// bazel-out/
|
|
1773
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1774
1774
|
var FileDependencyGraph = class {
|
|
1775
1775
|
constructor() {
|
|
1776
1776
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1837,7 +1837,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1837
1837
|
return false;
|
|
1838
1838
|
}
|
|
1839
1839
|
|
|
1840
|
-
// bazel-out/
|
|
1840
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1841
1841
|
var IncrementalStateKind;
|
|
1842
1842
|
(function(IncrementalStateKind2) {
|
|
1843
1843
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1845,7 +1845,7 @@ var IncrementalStateKind;
|
|
|
1845
1845
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1846
1846
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1847
1847
|
|
|
1848
|
-
// bazel-out/
|
|
1848
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1849
1849
|
var PhaseKind;
|
|
1850
1850
|
(function(PhaseKind2) {
|
|
1851
1851
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -2046,7 +2046,7 @@ function toOriginalSourceFile(sf) {
|
|
|
2046
2046
|
}
|
|
2047
2047
|
}
|
|
2048
2048
|
|
|
2049
|
-
// bazel-out/
|
|
2049
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
2050
2050
|
var TrackedIncrementalBuildStrategy = class {
|
|
2051
2051
|
constructor() {
|
|
2052
2052
|
this.state = null;
|
|
@@ -2082,7 +2082,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
2082
2082
|
};
|
|
2083
2083
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
2084
2084
|
|
|
2085
|
-
// bazel-out/
|
|
2085
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
2086
2086
|
var IdentifierKind;
|
|
2087
2087
|
(function(IdentifierKind2) {
|
|
2088
2088
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -2100,7 +2100,7 @@ var AbsoluteSourceSpan = class {
|
|
|
2100
2100
|
}
|
|
2101
2101
|
};
|
|
2102
2102
|
|
|
2103
|
-
// bazel-out/
|
|
2103
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
2104
2104
|
var IndexingContext = class {
|
|
2105
2105
|
constructor() {
|
|
2106
2106
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -2110,10 +2110,10 @@ var IndexingContext = class {
|
|
|
2110
2110
|
}
|
|
2111
2111
|
};
|
|
2112
2112
|
|
|
2113
|
-
// bazel-out/
|
|
2113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2114
2114
|
import { ParseSourceFile } from "@angular/compiler";
|
|
2115
2115
|
|
|
2116
|
-
// bazel-out/
|
|
2116
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
2117
2117
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
2118
2118
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
2119
2119
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2395,7 +2395,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2395
2395
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2396
2396
|
}
|
|
2397
2397
|
|
|
2398
|
-
// bazel-out/
|
|
2398
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2399
2399
|
function generateAnalysis(context) {
|
|
2400
2400
|
const analysis = /* @__PURE__ */ new Map();
|
|
2401
2401
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2431,7 +2431,7 @@ function generateAnalysis(context) {
|
|
|
2431
2431
|
return analysis;
|
|
2432
2432
|
}
|
|
2433
2433
|
|
|
2434
|
-
// bazel-out/
|
|
2434
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2435
2435
|
var NgModuleIndexImpl = class {
|
|
2436
2436
|
constructor(metaReader, localReader) {
|
|
2437
2437
|
this.metaReader = metaReader;
|
|
@@ -2520,7 +2520,7 @@ var NgModuleIndexImpl = class {
|
|
|
2520
2520
|
}
|
|
2521
2521
|
};
|
|
2522
2522
|
|
|
2523
|
-
// bazel-out/
|
|
2523
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2524
2524
|
import ts17 from "typescript";
|
|
2525
2525
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2526
2526
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2670,7 +2670,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2670
2670
|
};
|
|
2671
2671
|
}
|
|
2672
2672
|
|
|
2673
|
-
// bazel-out/
|
|
2673
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2674
2674
|
var StandaloneComponentScopeReader = class {
|
|
2675
2675
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2676
2676
|
this.metaReader = metaReader;
|
|
@@ -2766,10 +2766,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2766
2766
|
}
|
|
2767
2767
|
};
|
|
2768
2768
|
|
|
2769
|
-
// bazel-out/
|
|
2769
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2770
2770
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2771
2771
|
|
|
2772
|
-
// bazel-out/
|
|
2772
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2773
2773
|
import ts18 from "typescript";
|
|
2774
2774
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2775
2775
|
var _a;
|
|
@@ -2880,7 +2880,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2880
2880
|
);
|
|
2881
2881
|
}
|
|
2882
2882
|
|
|
2883
|
-
// bazel-out/
|
|
2883
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2884
2884
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2885
2885
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2886
2886
|
function getTemplateId(clazz) {
|
|
@@ -2897,11 +2897,11 @@ function allocateTemplateId(sf) {
|
|
|
2897
2897
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2898
2898
|
}
|
|
2899
2899
|
|
|
2900
|
-
// bazel-out/
|
|
2900
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2901
2901
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2902
2902
|
import ts20 from "typescript";
|
|
2903
2903
|
|
|
2904
|
-
// bazel-out/
|
|
2904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2905
2905
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2906
2906
|
import ts19 from "typescript";
|
|
2907
2907
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -3032,7 +3032,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
3032
3032
|
}) || false;
|
|
3033
3033
|
}
|
|
3034
3034
|
|
|
3035
|
-
// bazel-out/
|
|
3035
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
3036
3036
|
var CompletionEngine = class {
|
|
3037
3037
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
3038
3038
|
this.tcb = tcb;
|
|
@@ -4209,10 +4209,10 @@ var MagicString = class {
|
|
|
4209
4209
|
}
|
|
4210
4210
|
};
|
|
4211
4211
|
|
|
4212
|
-
// bazel-out/
|
|
4212
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
4213
4213
|
import ts33 from "typescript";
|
|
4214
4214
|
|
|
4215
|
-
// bazel-out/
|
|
4215
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
4216
4216
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
4217
4217
|
import ts21 from "typescript";
|
|
4218
4218
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -4265,10 +4265,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
4265
4265
|
}
|
|
4266
4266
|
};
|
|
4267
4267
|
|
|
4268
|
-
// bazel-out/
|
|
4268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4269
4269
|
import ts26 from "typescript";
|
|
4270
4270
|
|
|
4271
|
-
// bazel-out/
|
|
4271
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
4272
4272
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
4273
4273
|
var ReferenceEmitEnvironment = class {
|
|
4274
4274
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -4299,7 +4299,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
4299
4299
|
}
|
|
4300
4300
|
};
|
|
4301
4301
|
|
|
4302
|
-
// bazel-out/
|
|
4302
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
4303
4303
|
import ts22 from "typescript";
|
|
4304
4304
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
4305
4305
|
ts22.SyntaxKind.ParenthesizedExpression,
|
|
@@ -4382,15 +4382,15 @@ function tsNumericExpression(value) {
|
|
|
4382
4382
|
return ts22.factory.createNumericLiteral(value);
|
|
4383
4383
|
}
|
|
4384
4384
|
|
|
4385
|
-
// bazel-out/
|
|
4385
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4386
4386
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
4387
4387
|
import ts25 from "typescript";
|
|
4388
4388
|
|
|
4389
|
-
// bazel-out/
|
|
4389
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4390
4390
|
import { R3Identifiers } from "@angular/compiler";
|
|
4391
4391
|
import ts24 from "typescript";
|
|
4392
4392
|
|
|
4393
|
-
// bazel-out/
|
|
4393
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
4394
4394
|
import ts23 from "typescript";
|
|
4395
4395
|
var TypeParameterEmitter = class {
|
|
4396
4396
|
constructor(typeParameters, reflector) {
|
|
@@ -4468,7 +4468,7 @@ var TypeParameterEmitter = class {
|
|
|
4468
4468
|
}
|
|
4469
4469
|
};
|
|
4470
4470
|
|
|
4471
|
-
// bazel-out/
|
|
4471
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
4472
4472
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
4473
4473
|
R3Identifiers.InputSignalBrandWriteType
|
|
4474
4474
|
];
|
|
@@ -4560,7 +4560,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
4560
4560
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
4561
4561
|
}
|
|
4562
4562
|
|
|
4563
|
-
// bazel-out/
|
|
4563
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
4564
4564
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
4565
4565
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
4566
4566
|
const rawType = ts25.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -4683,7 +4683,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
4683
4683
|
});
|
|
4684
4684
|
}
|
|
4685
4685
|
|
|
4686
|
-
// bazel-out/
|
|
4686
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
4687
4687
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
4688
4688
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
4689
4689
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -4755,7 +4755,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
4755
4755
|
}
|
|
4756
4756
|
};
|
|
4757
4757
|
|
|
4758
|
-
// bazel-out/
|
|
4758
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
4759
4759
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2 } from "@angular/compiler";
|
|
4760
4760
|
import ts27 from "typescript";
|
|
4761
4761
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -4938,7 +4938,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
4938
4938
|
};
|
|
4939
4939
|
}
|
|
4940
4940
|
|
|
4941
|
-
// bazel-out/
|
|
4941
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
4942
4942
|
import ts28 from "typescript";
|
|
4943
4943
|
var TypeCheckShimGenerator = class {
|
|
4944
4944
|
constructor() {
|
|
@@ -4956,11 +4956,11 @@ var TypeCheckShimGenerator = class {
|
|
|
4956
4956
|
}
|
|
4957
4957
|
};
|
|
4958
4958
|
|
|
4959
|
-
// bazel-out/
|
|
4959
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4960
4960
|
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";
|
|
4961
4961
|
import ts31 from "typescript";
|
|
4962
4962
|
|
|
4963
|
-
// bazel-out/
|
|
4963
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
4964
4964
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
4965
4965
|
import ts29 from "typescript";
|
|
4966
4966
|
function wrapForDiagnostics(expr) {
|
|
@@ -5016,7 +5016,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
5016
5016
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
5017
5017
|
}
|
|
5018
5018
|
|
|
5019
|
-
// bazel-out/
|
|
5019
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
5020
5020
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
5021
5021
|
import ts30 from "typescript";
|
|
5022
5022
|
var NULL_AS_ANY = ts30.factory.createAsExpression(ts30.factory.createNull(), ts30.factory.createKeywordTypeNode(ts30.SyntaxKind.AnyKeyword));
|
|
@@ -5349,7 +5349,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
5349
5349
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
5350
5350
|
})();
|
|
5351
5351
|
|
|
5352
|
-
// bazel-out/
|
|
5352
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
5353
5353
|
var TcbGenericContextBehavior;
|
|
5354
5354
|
(function(TcbGenericContextBehavior2) {
|
|
5355
5355
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -6870,7 +6870,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
6870
6870
|
}
|
|
6871
6871
|
};
|
|
6872
6872
|
|
|
6873
|
-
// bazel-out/
|
|
6873
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
6874
6874
|
import ts32 from "typescript";
|
|
6875
6875
|
var TypeCheckFile = class extends Environment {
|
|
6876
6876
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -6918,7 +6918,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
6918
6918
|
}
|
|
6919
6919
|
};
|
|
6920
6920
|
|
|
6921
|
-
// bazel-out/
|
|
6921
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
6922
6922
|
var InliningMode;
|
|
6923
6923
|
(function(InliningMode2) {
|
|
6924
6924
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -7170,10 +7170,10 @@ var TypeCtorOp = class {
|
|
|
7170
7170
|
}
|
|
7171
7171
|
};
|
|
7172
7172
|
|
|
7173
|
-
// bazel-out/
|
|
7173
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7174
7174
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
7175
7175
|
|
|
7176
|
-
// bazel-out/
|
|
7176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
7177
7177
|
var LF_CHAR = 10;
|
|
7178
7178
|
var CR_CHAR = 13;
|
|
7179
7179
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -7214,7 +7214,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
7214
7214
|
return low - 1;
|
|
7215
7215
|
}
|
|
7216
7216
|
|
|
7217
|
-
// bazel-out/
|
|
7217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
7218
7218
|
var TemplateSource = class {
|
|
7219
7219
|
constructor(mapping, file) {
|
|
7220
7220
|
this.mapping = mapping;
|
|
@@ -7265,7 +7265,7 @@ var TemplateSourceManager = class {
|
|
|
7265
7265
|
}
|
|
7266
7266
|
};
|
|
7267
7267
|
|
|
7268
|
-
// bazel-out/
|
|
7268
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
7269
7269
|
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";
|
|
7270
7270
|
import ts34 from "typescript";
|
|
7271
7271
|
var SymbolBuilder = class {
|
|
@@ -7807,7 +7807,7 @@ function unwrapSignalInputWriteTAccessor(expr) {
|
|
|
7807
7807
|
};
|
|
7808
7808
|
}
|
|
7809
7809
|
|
|
7810
|
-
// bazel-out/
|
|
7810
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
7811
7811
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
7812
7812
|
var TemplateTypeCheckerImpl = class {
|
|
7813
7813
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -8508,10 +8508,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
8508
8508
|
}
|
|
8509
8509
|
};
|
|
8510
8510
|
|
|
8511
|
-
// bazel-out/
|
|
8511
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8512
8512
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
8513
8513
|
|
|
8514
|
-
// bazel-out/
|
|
8514
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
8515
8515
|
import ts35 from "typescript";
|
|
8516
8516
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
8517
8517
|
"WritableSignal",
|
|
@@ -8531,7 +8531,7 @@ function isSignalSymbol(symbol) {
|
|
|
8531
8531
|
});
|
|
8532
8532
|
}
|
|
8533
8533
|
|
|
8534
|
-
// bazel-out/
|
|
8534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
8535
8535
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
8536
8536
|
var TemplateCheckWithVisitor = class {
|
|
8537
8537
|
run(ctx, component, template) {
|
|
@@ -8656,7 +8656,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
8656
8656
|
}
|
|
8657
8657
|
};
|
|
8658
8658
|
|
|
8659
|
-
// bazel-out/
|
|
8659
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
8660
8660
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
8661
8661
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
8662
8662
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8700,7 +8700,7 @@ var factory = {
|
|
|
8700
8700
|
create: () => new InterpolatedSignalCheck()
|
|
8701
8701
|
};
|
|
8702
8702
|
|
|
8703
|
-
// bazel-out/
|
|
8703
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
8704
8704
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
8705
8705
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
8706
8706
|
constructor() {
|
|
@@ -8726,7 +8726,7 @@ var factory2 = {
|
|
|
8726
8726
|
create: () => new InvalidBananaInBoxCheck()
|
|
8727
8727
|
};
|
|
8728
8728
|
|
|
8729
|
-
// bazel-out/
|
|
8729
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
8730
8730
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
8731
8731
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
8732
8732
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -8771,7 +8771,7 @@ var factory3 = {
|
|
|
8771
8771
|
}
|
|
8772
8772
|
};
|
|
8773
8773
|
|
|
8774
|
-
// bazel-out/
|
|
8774
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
8775
8775
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
8776
8776
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
8777
8777
|
constructor() {
|
|
@@ -8804,7 +8804,7 @@ var factory4 = {
|
|
|
8804
8804
|
create: () => new MissingNgForOfLetCheck()
|
|
8805
8805
|
};
|
|
8806
8806
|
|
|
8807
|
-
// bazel-out/
|
|
8807
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
8808
8808
|
import { Binary } from "@angular/compiler";
|
|
8809
8809
|
import ts36 from "typescript";
|
|
8810
8810
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8849,7 +8849,7 @@ var factory5 = {
|
|
|
8849
8849
|
}
|
|
8850
8850
|
};
|
|
8851
8851
|
|
|
8852
|
-
// bazel-out/
|
|
8852
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
8853
8853
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
8854
8854
|
import ts37 from "typescript";
|
|
8855
8855
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8895,7 +8895,7 @@ var factory6 = {
|
|
|
8895
8895
|
}
|
|
8896
8896
|
};
|
|
8897
8897
|
|
|
8898
|
-
// bazel-out/
|
|
8898
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
8899
8899
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
8900
8900
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
8901
8901
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -8919,7 +8919,7 @@ var factory7 = {
|
|
|
8919
8919
|
create: () => new SuffixNotSupportedCheck()
|
|
8920
8920
|
};
|
|
8921
8921
|
|
|
8922
|
-
// bazel-out/
|
|
8922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
8923
8923
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
8924
8924
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
8925
8925
|
constructor() {
|
|
@@ -8958,10 +8958,10 @@ var factory8 = {
|
|
|
8958
8958
|
create: () => new TextAttributeNotBindingSpec()
|
|
8959
8959
|
};
|
|
8960
8960
|
|
|
8961
|
-
// bazel-out/
|
|
8961
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8962
8962
|
import ts38 from "typescript";
|
|
8963
8963
|
|
|
8964
|
-
// bazel-out/
|
|
8964
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
8965
8965
|
var DiagnosticCategoryLabel;
|
|
8966
8966
|
(function(DiagnosticCategoryLabel2) {
|
|
8967
8967
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -8969,7 +8969,7 @@ var DiagnosticCategoryLabel;
|
|
|
8969
8969
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
8970
8970
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
8971
8971
|
|
|
8972
|
-
// bazel-out/
|
|
8972
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
8973
8973
|
var ExtendedTemplateCheckerImpl = class {
|
|
8974
8974
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
8975
8975
|
var _a, _b, _c, _d, _e;
|
|
@@ -9022,7 +9022,7 @@ function assertNever(value) {
|
|
|
9022
9022
|
${value}`);
|
|
9023
9023
|
}
|
|
9024
9024
|
|
|
9025
|
-
// bazel-out/
|
|
9025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
9026
9026
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
9027
9027
|
factory2,
|
|
9028
9028
|
factory5,
|
|
@@ -9038,7 +9038,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
9038
9038
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
9039
9039
|
]);
|
|
9040
9040
|
|
|
9041
|
-
// bazel-out/
|
|
9041
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
9042
9042
|
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";
|
|
9043
9043
|
import ts39 from "typescript";
|
|
9044
9044
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -9122,7 +9122,7 @@ function unwrapAstWithSource(ast) {
|
|
|
9122
9122
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
9123
9123
|
}
|
|
9124
9124
|
|
|
9125
|
-
// bazel-out/
|
|
9125
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
9126
9126
|
import ts40 from "typescript";
|
|
9127
9127
|
var APIS_TO_CHECK = [
|
|
9128
9128
|
INPUT_INITIALIZER_FN,
|
|
@@ -9173,7 +9173,7 @@ var InitializerApiUsageRule = class {
|
|
|
9173
9173
|
}
|
|
9174
9174
|
};
|
|
9175
9175
|
|
|
9176
|
-
// bazel-out/
|
|
9176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
9177
9177
|
var SourceFileValidator = class {
|
|
9178
9178
|
constructor(reflector, importedSymbolsTracker) {
|
|
9179
9179
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -9211,7 +9211,7 @@ var SourceFileValidator = class {
|
|
|
9211
9211
|
}
|
|
9212
9212
|
};
|
|
9213
9213
|
|
|
9214
|
-
// bazel-out/
|
|
9214
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
9215
9215
|
function coreHasSymbol(program, symbol) {
|
|
9216
9216
|
const checker = program.getTypeChecker();
|
|
9217
9217
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -9230,7 +9230,7 @@ function isMaybeCore(sf) {
|
|
|
9230
9230
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
9231
9231
|
}
|
|
9232
9232
|
|
|
9233
|
-
// bazel-out/
|
|
9233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
9234
9234
|
import semver from "semver";
|
|
9235
9235
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
9236
9236
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -9239,7 +9239,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
9239
9239
|
return semver.satisfies(coreVersion, minVersion);
|
|
9240
9240
|
}
|
|
9241
9241
|
|
|
9242
|
-
// bazel-out/
|
|
9242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
9243
9243
|
var CompilationTicketKind;
|
|
9244
9244
|
(function(CompilationTicketKind2) {
|
|
9245
9245
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -10037,7 +10037,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
10037
10037
|
return versions;
|
|
10038
10038
|
}
|
|
10039
10039
|
|
|
10040
|
-
// bazel-out/
|
|
10040
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
10041
10041
|
import ts42 from "typescript";
|
|
10042
10042
|
var DelegatingCompilerHost2 = class {
|
|
10043
10043
|
get jsDocParsingMode() {
|
|
@@ -10176,7 +10176,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
10176
10176
|
}
|
|
10177
10177
|
};
|
|
10178
10178
|
|
|
10179
|
-
// bazel-out/
|
|
10179
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
10180
10180
|
var NgtscProgram = class {
|
|
10181
10181
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
10182
10182
|
this.options = options;
|
|
@@ -10403,15 +10403,15 @@ function mergeEmitResults(emitResults) {
|
|
|
10403
10403
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
10404
10404
|
}
|
|
10405
10405
|
|
|
10406
|
-
// bazel-out/
|
|
10406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
10407
10407
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
10408
10408
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
10409
10409
|
}
|
|
10410
10410
|
|
|
10411
|
-
// bazel-out/
|
|
10411
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10412
10412
|
import ts45 from "typescript";
|
|
10413
10413
|
|
|
10414
|
-
// bazel-out/
|
|
10414
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
10415
10415
|
import ts44 from "typescript";
|
|
10416
10416
|
function createMessageDiagnostic(messageText) {
|
|
10417
10417
|
return {
|
|
@@ -10425,7 +10425,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
10425
10425
|
};
|
|
10426
10426
|
}
|
|
10427
10427
|
|
|
10428
|
-
// bazel-out/
|
|
10428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
10429
10429
|
var defaultFormatHost = {
|
|
10430
10430
|
getCurrentDirectory: () => ts45.sys.getCurrentDirectory(),
|
|
10431
10431
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -10658,4 +10658,4 @@ export {
|
|
|
10658
10658
|
* Use of this source code is governed by an MIT-style license that can be
|
|
10659
10659
|
* found in the LICENSE file at https://angular.io/license
|
|
10660
10660
|
*/
|
|
10661
|
-
//# sourceMappingURL=chunk-
|
|
10661
|
+
//# sourceMappingURL=chunk-BKFFZXM2.js.map
|