@angular/compiler-cli 17.1.0 → 17.2.0-next.0
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-MLI2QFE3.js → chunk-455YOO3E.js} +7 -7
- package/bundles/{chunk-MLI2QFE3.js.map → chunk-455YOO3E.js.map} +1 -1
- package/bundles/{chunk-P34DHQ65.js → chunk-6RVHVK7X.js} +32 -31
- package/bundles/chunk-6RVHVK7X.js.map +6 -0
- package/bundles/{chunk-TGR3NXO6.js → chunk-Q5Y7HH3O.js} +5 -5
- package/bundles/{chunk-I3M5LXMW.js → chunk-QPMYDNZG.js} +7 -7
- package/bundles/{chunk-JOIB3454.js → chunk-R4KQI5XI.js} +5 -5
- package/bundles/{chunk-CF2CT7RQ.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-5KZ4IU2X.js → chunk-SIMT2UHI.js} +5 -5
- package/bundles/{chunk-3WRR7A6G.js → chunk-U6M6KQUQ.js} +40 -39
- package/bundles/chunk-U6M6KQUQ.js.map +6 -0
- package/bundles/{chunk-YFIBJR5K.js → chunk-VYUC5NTT.js} +116 -110
- package/bundles/chunk-VYUC5NTT.js.map +6 -0
- package/bundles/{chunk-WMUBJYYX.js → chunk-WCD6LVCP.js} +7 -7
- package/bundles/{chunk-GM44CTB7.js → chunk-YJ2WTOVI.js} +403 -224
- package/bundles/chunk-YJ2WTOVI.js.map +6 -0
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/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/bin/ng_xi18n.d.ts +0 -1
- package/src/bin/ngc.d.ts +0 -1
- package/src/ngtsc/annotations/common/src/util.d.ts +5 -2
- package/src/ngtsc/annotations/directive/src/initializer_functions.d.ts +44 -0
- package/src/ngtsc/annotations/directive/src/input_function.d.ts +1 -1
- package/src/ngtsc/annotations/directive/src/query_functions.d.ts +26 -0
- package/src/ngtsc/annotations/directive/src/shared.d.ts +1 -1
- package/src/ngtsc/diagnostics/src/error_code.d.ts +24 -7
- package/src/ngtsc/metadata/index.d.ts +1 -1
- package/src/ngtsc/metadata/src/api.d.ts +23 -3
- package/src/ngtsc/metadata/src/util.d.ts +2 -1
- package/bundles/chunk-3WRR7A6G.js.map +0 -6
- package/bundles/chunk-GM44CTB7.js.map +0 -6
- package/bundles/chunk-P34DHQ65.js.map +0 -6
- package/bundles/chunk-YFIBJR5K.js.map +0 -6
- /package/bundles/{chunk-TGR3NXO6.js.map → chunk-Q5Y7HH3O.js.map} +0 -0
- /package/bundles/{chunk-I3M5LXMW.js.map → chunk-QPMYDNZG.js.map} +0 -0
- /package/bundles/{chunk-JOIB3454.js.map → chunk-R4KQI5XI.js.map} +0 -0
- /package/bundles/{chunk-CF2CT7RQ.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-5KZ4IU2X.js.map → chunk-SIMT2UHI.js.map} +0 -0
- /package/bundles/{chunk-WMUBJYYX.js.map → chunk-WCD6LVCP.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PotentialImportKind,
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
SymbolKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-Q5Y7HH3O.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -37,8 +37,9 @@ import {
|
|
|
37
37
|
TypeCheckScopeRegistry,
|
|
38
38
|
aliasTransformFactory,
|
|
39
39
|
declarationTransformFactory,
|
|
40
|
+
isHostDirectiveMetaForGlobalMode,
|
|
40
41
|
ivyTransformFactory
|
|
41
|
-
} from "./chunk-
|
|
42
|
+
} from "./chunk-YJ2WTOVI.js";
|
|
42
43
|
import {
|
|
43
44
|
AbsoluteModuleStrategy,
|
|
44
45
|
AliasStrategy,
|
|
@@ -86,14 +87,14 @@ import {
|
|
|
86
87
|
toUnredirectedSourceFile,
|
|
87
88
|
translateExpression,
|
|
88
89
|
translateType
|
|
89
|
-
} from "./chunk-
|
|
90
|
+
} from "./chunk-U6M6KQUQ.js";
|
|
90
91
|
import {
|
|
91
92
|
ActivePerfRecorder,
|
|
92
93
|
DelegatingPerfRecorder,
|
|
93
94
|
PerfCheckpoint,
|
|
94
95
|
PerfEvent,
|
|
95
96
|
PerfPhase
|
|
96
|
-
} from "./chunk-
|
|
97
|
+
} from "./chunk-R4KQI5XI.js";
|
|
97
98
|
import {
|
|
98
99
|
LogicalFileSystem,
|
|
99
100
|
absoluteFrom,
|
|
@@ -103,9 +104,9 @@ import {
|
|
|
103
104
|
getSourceFileOrError,
|
|
104
105
|
join,
|
|
105
106
|
resolve
|
|
106
|
-
} from "./chunk-
|
|
107
|
+
} from "./chunk-QPMYDNZG.js";
|
|
107
108
|
|
|
108
|
-
// bazel-out/
|
|
109
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
109
110
|
var DEFAULT_ERROR_CODE = 100;
|
|
110
111
|
var UNKNOWN_ERROR_CODE = 500;
|
|
111
112
|
var SOURCE = "angular";
|
|
@@ -123,7 +124,7 @@ var EmitFlags;
|
|
|
123
124
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
124
125
|
})(EmitFlags || (EmitFlags = {}));
|
|
125
126
|
|
|
126
|
-
// bazel-out/
|
|
127
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
127
128
|
import ts from "typescript";
|
|
128
129
|
var wrapHostForTest = null;
|
|
129
130
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -133,7 +134,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
133
134
|
return tsHost;
|
|
134
135
|
}
|
|
135
136
|
|
|
136
|
-
// bazel-out/
|
|
137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
137
138
|
var EntryType;
|
|
138
139
|
(function(EntryType2) {
|
|
139
140
|
EntryType2["Block"] = "block";
|
|
@@ -176,11 +177,11 @@ var MemberTags;
|
|
|
176
177
|
MemberTags2["Inherited"] = "override";
|
|
177
178
|
})(MemberTags || (MemberTags = {}));
|
|
178
179
|
|
|
179
|
-
// bazel-out/
|
|
180
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
180
181
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
181
182
|
import ts37 from "typescript";
|
|
182
183
|
|
|
183
|
-
// bazel-out/
|
|
184
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
184
185
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
185
186
|
import * as path from "path";
|
|
186
187
|
function i18nGetExtension(formatName) {
|
|
@@ -231,10 +232,10 @@ function getPathNormalizer(basePath) {
|
|
|
231
232
|
};
|
|
232
233
|
}
|
|
233
234
|
|
|
234
|
-
// bazel-out/
|
|
235
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
235
236
|
import ts2 from "typescript";
|
|
236
237
|
|
|
237
|
-
// bazel-out/
|
|
238
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
238
239
|
function toNumbers(value) {
|
|
239
240
|
const suffixIndex = value.lastIndexOf("-");
|
|
240
241
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -269,7 +270,7 @@ function compareVersions(v1, v2) {
|
|
|
269
270
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
270
271
|
}
|
|
271
272
|
|
|
272
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
273
274
|
var MIN_TS_VERSION = "5.2.0";
|
|
274
275
|
var MAX_TS_VERSION = "5.4.0";
|
|
275
276
|
var tsVersion = ts2.version;
|
|
@@ -282,10 +283,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
282
283
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
283
284
|
}
|
|
284
285
|
|
|
285
|
-
// bazel-out/
|
|
286
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
286
287
|
import ts35 from "typescript";
|
|
287
288
|
|
|
288
|
-
// bazel-out/
|
|
289
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
289
290
|
var CycleAnalyzer = class {
|
|
290
291
|
constructor(importGraph) {
|
|
291
292
|
this.importGraph = importGraph;
|
|
@@ -356,7 +357,7 @@ var Cycle = class {
|
|
|
356
357
|
}
|
|
357
358
|
};
|
|
358
359
|
|
|
359
|
-
// bazel-out/
|
|
360
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
360
361
|
import ts3 from "typescript";
|
|
361
362
|
var ImportGraph = class {
|
|
362
363
|
constructor(checker, perf) {
|
|
@@ -448,23 +449,23 @@ var Found = class {
|
|
|
448
449
|
}
|
|
449
450
|
};
|
|
450
451
|
|
|
451
|
-
// bazel-out/
|
|
452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
452
453
|
import ts9 from "typescript";
|
|
453
454
|
|
|
454
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
455
456
|
import ts6 from "typescript";
|
|
456
457
|
|
|
457
|
-
// bazel-out/
|
|
458
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
458
459
|
function isAngularPrivateName(name) {
|
|
459
460
|
var _a;
|
|
460
461
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
461
462
|
return firstChar === "\u0275" || firstChar === "_";
|
|
462
463
|
}
|
|
463
464
|
|
|
464
|
-
// bazel-out/
|
|
465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
465
466
|
import ts5 from "typescript";
|
|
466
467
|
|
|
467
|
-
// bazel-out/
|
|
468
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
468
469
|
function extractGenerics(declaration) {
|
|
469
470
|
var _a, _b;
|
|
470
471
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -477,7 +478,7 @@ function extractGenerics(declaration) {
|
|
|
477
478
|
})) != null ? _b : [];
|
|
478
479
|
}
|
|
479
480
|
|
|
480
|
-
// bazel-out/
|
|
481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
481
482
|
import ts4 from "typescript";
|
|
482
483
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
483
484
|
function extractJsDocTags(node) {
|
|
@@ -521,12 +522,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
521
522
|
return comment.replace(/_NG_AT_/g, "@");
|
|
522
523
|
}
|
|
523
524
|
|
|
524
|
-
// bazel-out/
|
|
525
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
525
526
|
function extractResolvedTypeString(node, checker) {
|
|
526
527
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
527
528
|
}
|
|
528
529
|
|
|
529
|
-
// bazel-out/
|
|
530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
530
531
|
var FunctionExtractor = class {
|
|
531
532
|
constructor(declaration, typeChecker) {
|
|
532
533
|
this.declaration = declaration;
|
|
@@ -580,7 +581,7 @@ var FunctionExtractor = class {
|
|
|
580
581
|
}
|
|
581
582
|
};
|
|
582
583
|
|
|
583
|
-
// bazel-out/
|
|
584
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
584
585
|
var ClassExtractor = class {
|
|
585
586
|
constructor(declaration, typeChecker) {
|
|
586
587
|
this.declaration = declaration;
|
|
@@ -812,7 +813,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
812
813
|
return extractor.extract();
|
|
813
814
|
}
|
|
814
815
|
|
|
815
|
-
// bazel-out/
|
|
816
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
816
817
|
function extractConstant(declaration, typeChecker) {
|
|
817
818
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
818
819
|
const variableStatement = declaration.parent.parent;
|
|
@@ -830,7 +831,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
830
831
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
831
832
|
}
|
|
832
833
|
|
|
833
|
-
// bazel-out/
|
|
834
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
834
835
|
import ts7 from "typescript";
|
|
835
836
|
function extractorDecorator(declaration, typeChecker) {
|
|
836
837
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -903,7 +904,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
903
904
|
return callSignature;
|
|
904
905
|
}
|
|
905
906
|
|
|
906
|
-
// bazel-out/
|
|
907
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
907
908
|
import ts8 from "typescript";
|
|
908
909
|
function extractEnum(declaration, typeChecker) {
|
|
909
910
|
return {
|
|
@@ -934,7 +935,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
934
935
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
935
936
|
}
|
|
936
937
|
|
|
937
|
-
// bazel-out/
|
|
938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
938
939
|
function extractTypeAlias(declaration) {
|
|
939
940
|
return {
|
|
940
941
|
name: declaration.name.getText(),
|
|
@@ -946,7 +947,7 @@ function extractTypeAlias(declaration) {
|
|
|
946
947
|
};
|
|
947
948
|
}
|
|
948
949
|
|
|
949
|
-
// bazel-out/
|
|
950
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
950
951
|
var DocsExtractor = class {
|
|
951
952
|
constructor(typeChecker, metadataReader) {
|
|
952
953
|
this.typeChecker = typeChecker;
|
|
@@ -1008,7 +1009,7 @@ function isIgnoredInterface(node) {
|
|
|
1008
1009
|
return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
|
|
1009
1010
|
}
|
|
1010
1011
|
|
|
1011
|
-
// bazel-out/
|
|
1012
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1012
1013
|
import ts10 from "typescript";
|
|
1013
1014
|
var FlatIndexGenerator = class {
|
|
1014
1015
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1033,7 +1034,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1033
1034
|
}
|
|
1034
1035
|
};
|
|
1035
1036
|
|
|
1036
|
-
// bazel-out/
|
|
1037
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1037
1038
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1038
1039
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1039
1040
|
let resolvedEntryPoint = null;
|
|
@@ -1049,7 +1050,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1049
1050
|
return resolvedEntryPoint;
|
|
1050
1051
|
}
|
|
1051
1052
|
|
|
1052
|
-
// bazel-out/
|
|
1053
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1053
1054
|
import ts11 from "typescript";
|
|
1054
1055
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1055
1056
|
const diagnostics = [];
|
|
@@ -1129,7 +1130,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1129
1130
|
}
|
|
1130
1131
|
}
|
|
1131
1132
|
|
|
1132
|
-
// bazel-out/
|
|
1133
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1133
1134
|
var ReferenceGraph = class {
|
|
1134
1135
|
constructor() {
|
|
1135
1136
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1183,7 +1184,7 @@ var ReferenceGraph = class {
|
|
|
1183
1184
|
}
|
|
1184
1185
|
};
|
|
1185
1186
|
|
|
1186
|
-
// bazel-out/
|
|
1187
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1187
1188
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1188
1189
|
var UpdateMode;
|
|
1189
1190
|
(function(UpdateMode2) {
|
|
@@ -1191,13 +1192,13 @@ var UpdateMode;
|
|
|
1191
1192
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1192
1193
|
})(UpdateMode || (UpdateMode = {}));
|
|
1193
1194
|
|
|
1194
|
-
// bazel-out/
|
|
1195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1195
1196
|
import ts13 from "typescript";
|
|
1196
1197
|
|
|
1197
|
-
// bazel-out/
|
|
1198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1198
1199
|
import ts12 from "typescript";
|
|
1199
1200
|
|
|
1200
|
-
// bazel-out/
|
|
1201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1201
1202
|
var NgExtension = Symbol("NgExtension");
|
|
1202
1203
|
function isExtended(sf) {
|
|
1203
1204
|
return sf[NgExtension] !== void 0;
|
|
@@ -1257,13 +1258,13 @@ function retagTsFile(sf) {
|
|
|
1257
1258
|
}
|
|
1258
1259
|
}
|
|
1259
1260
|
|
|
1260
|
-
// bazel-out/
|
|
1261
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1261
1262
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1262
1263
|
function makeShimFileName(fileName, suffix) {
|
|
1263
1264
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1264
1265
|
}
|
|
1265
1266
|
|
|
1266
|
-
// bazel-out/
|
|
1267
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1267
1268
|
var ShimAdapter = class {
|
|
1268
1269
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1269
1270
|
this.delegate = delegate;
|
|
@@ -1358,7 +1359,7 @@ var ShimAdapter = class {
|
|
|
1358
1359
|
}
|
|
1359
1360
|
};
|
|
1360
1361
|
|
|
1361
|
-
// bazel-out/
|
|
1362
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1362
1363
|
var ShimReferenceTagger = class {
|
|
1363
1364
|
constructor(shimExtensions) {
|
|
1364
1365
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1392,7 +1393,7 @@ var ShimReferenceTagger = class {
|
|
|
1392
1393
|
}
|
|
1393
1394
|
};
|
|
1394
1395
|
|
|
1395
|
-
// bazel-out/
|
|
1396
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1396
1397
|
var DelegatingCompilerHost = class {
|
|
1397
1398
|
get jsDocParsingMode() {
|
|
1398
1399
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1511,7 +1512,7 @@ var TsCreateProgramDriver = class {
|
|
|
1511
1512
|
}
|
|
1512
1513
|
};
|
|
1513
1514
|
|
|
1514
|
-
// bazel-out/
|
|
1515
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1515
1516
|
var FileDependencyGraph = class {
|
|
1516
1517
|
constructor() {
|
|
1517
1518
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1578,7 +1579,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1578
1579
|
return false;
|
|
1579
1580
|
}
|
|
1580
1581
|
|
|
1581
|
-
// bazel-out/
|
|
1582
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1582
1583
|
var IncrementalStateKind;
|
|
1583
1584
|
(function(IncrementalStateKind2) {
|
|
1584
1585
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1586,7 +1587,7 @@ var IncrementalStateKind;
|
|
|
1586
1587
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1587
1588
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1588
1589
|
|
|
1589
|
-
// bazel-out/
|
|
1590
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1590
1591
|
var PhaseKind;
|
|
1591
1592
|
(function(PhaseKind2) {
|
|
1592
1593
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1787,7 +1788,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1787
1788
|
}
|
|
1788
1789
|
}
|
|
1789
1790
|
|
|
1790
|
-
// bazel-out/
|
|
1791
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1791
1792
|
var TrackedIncrementalBuildStrategy = class {
|
|
1792
1793
|
constructor() {
|
|
1793
1794
|
this.state = null;
|
|
@@ -1823,7 +1824,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1823
1824
|
};
|
|
1824
1825
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1825
1826
|
|
|
1826
|
-
// bazel-out/
|
|
1827
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1827
1828
|
var IdentifierKind;
|
|
1828
1829
|
(function(IdentifierKind2) {
|
|
1829
1830
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1841,7 +1842,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1841
1842
|
}
|
|
1842
1843
|
};
|
|
1843
1844
|
|
|
1844
|
-
// bazel-out/
|
|
1845
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1845
1846
|
var IndexingContext = class {
|
|
1846
1847
|
constructor() {
|
|
1847
1848
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1851,10 +1852,10 @@ var IndexingContext = class {
|
|
|
1851
1852
|
}
|
|
1852
1853
|
};
|
|
1853
1854
|
|
|
1854
|
-
// bazel-out/
|
|
1855
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1855
1856
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1856
1857
|
|
|
1857
|
-
// bazel-out/
|
|
1858
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1858
1859
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1859
1860
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1860
1861
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2136,7 +2137,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2136
2137
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2137
2138
|
}
|
|
2138
2139
|
|
|
2139
|
-
// bazel-out/
|
|
2140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2140
2141
|
function generateAnalysis(context) {
|
|
2141
2142
|
const analysis = /* @__PURE__ */ new Map();
|
|
2142
2143
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2172,7 +2173,7 @@ function generateAnalysis(context) {
|
|
|
2172
2173
|
return analysis;
|
|
2173
2174
|
}
|
|
2174
2175
|
|
|
2175
|
-
// bazel-out/
|
|
2176
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2176
2177
|
var NgModuleIndexImpl = class {
|
|
2177
2178
|
constructor(metaReader, localReader) {
|
|
2178
2179
|
this.metaReader = metaReader;
|
|
@@ -2261,7 +2262,7 @@ var NgModuleIndexImpl = class {
|
|
|
2261
2262
|
}
|
|
2262
2263
|
};
|
|
2263
2264
|
|
|
2264
|
-
// bazel-out/
|
|
2265
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2265
2266
|
import ts14 from "typescript";
|
|
2266
2267
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2267
2268
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2407,7 +2408,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2407
2408
|
};
|
|
2408
2409
|
}
|
|
2409
2410
|
|
|
2410
|
-
// bazel-out/
|
|
2411
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2411
2412
|
var StandaloneComponentScopeReader = class {
|
|
2412
2413
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2413
2414
|
this.metaReader = metaReader;
|
|
@@ -2503,10 +2504,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2503
2504
|
}
|
|
2504
2505
|
};
|
|
2505
2506
|
|
|
2506
|
-
// bazel-out/
|
|
2507
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2507
2508
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2508
2509
|
|
|
2509
|
-
// bazel-out/
|
|
2510
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2510
2511
|
import ts15 from "typescript";
|
|
2511
2512
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2512
2513
|
var _a;
|
|
@@ -2613,7 +2614,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2613
2614
|
return ts15.createSourceFile(fileName, template, ts15.ScriptTarget.Latest, false, ts15.ScriptKind.JSX);
|
|
2614
2615
|
}
|
|
2615
2616
|
|
|
2616
|
-
// bazel-out/
|
|
2617
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2617
2618
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2618
2619
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2619
2620
|
function getTemplateId(clazz) {
|
|
@@ -2630,11 +2631,11 @@ function allocateTemplateId(sf) {
|
|
|
2630
2631
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2631
2632
|
}
|
|
2632
2633
|
|
|
2633
|
-
// bazel-out/
|
|
2634
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2634
2635
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2635
2636
|
import ts17 from "typescript";
|
|
2636
2637
|
|
|
2637
|
-
// bazel-out/
|
|
2638
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2638
2639
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2639
2640
|
import ts16 from "typescript";
|
|
2640
2641
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2764,7 +2765,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2764
2765
|
}) || false;
|
|
2765
2766
|
}
|
|
2766
2767
|
|
|
2767
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2768
2769
|
var CompletionEngine = class {
|
|
2769
2770
|
constructor(tcb, data, tcbPath, tcbIsShim) {
|
|
2770
2771
|
this.tcb = tcb;
|
|
@@ -2921,10 +2922,10 @@ var CompletionEngine = class {
|
|
|
2921
2922
|
}
|
|
2922
2923
|
};
|
|
2923
2924
|
|
|
2924
|
-
// bazel-out/
|
|
2925
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
2925
2926
|
import ts30 from "typescript";
|
|
2926
2927
|
|
|
2927
|
-
// bazel-out/
|
|
2928
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
|
|
2928
2929
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
2929
2930
|
import ts18 from "typescript";
|
|
2930
2931
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -2977,10 +2978,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
2977
2978
|
}
|
|
2978
2979
|
};
|
|
2979
2980
|
|
|
2980
|
-
// bazel-out/
|
|
2981
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
2981
2982
|
import ts23 from "typescript";
|
|
2982
2983
|
|
|
2983
|
-
// bazel-out/
|
|
2984
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.mjs
|
|
2984
2985
|
import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
|
|
2985
2986
|
var ReferenceEmitEnvironment = class {
|
|
2986
2987
|
constructor(importManager, refEmitter, reflector, contextFile) {
|
|
@@ -3011,7 +3012,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
3011
3012
|
}
|
|
3012
3013
|
};
|
|
3013
3014
|
|
|
3014
|
-
// bazel-out/
|
|
3015
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
|
|
3015
3016
|
import ts19 from "typescript";
|
|
3016
3017
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
3017
3018
|
ts19.SyntaxKind.ParenthesizedExpression,
|
|
@@ -3096,15 +3097,15 @@ function tsNumericExpression(value) {
|
|
|
3096
3097
|
return ts19.factory.createNumericLiteral(value);
|
|
3097
3098
|
}
|
|
3098
3099
|
|
|
3099
|
-
// bazel-out/
|
|
3100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3100
3101
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
3101
3102
|
import ts22 from "typescript";
|
|
3102
3103
|
|
|
3103
|
-
// bazel-out/
|
|
3104
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3104
3105
|
import { R3Identifiers } from "@angular/compiler";
|
|
3105
3106
|
import ts21 from "typescript";
|
|
3106
3107
|
|
|
3107
|
-
// bazel-out/
|
|
3108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
3108
3109
|
import ts20 from "typescript";
|
|
3109
3110
|
var TypeParameterEmitter = class {
|
|
3110
3111
|
constructor(typeParameters, reflector) {
|
|
@@ -3182,7 +3183,7 @@ var TypeParameterEmitter = class {
|
|
|
3182
3183
|
}
|
|
3183
3184
|
};
|
|
3184
3185
|
|
|
3185
|
-
// bazel-out/
|
|
3186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3186
3187
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_MODULES = [
|
|
3187
3188
|
R3Identifiers.InputSignalBrandWriteType.moduleName
|
|
3188
3189
|
];
|
|
@@ -3270,7 +3271,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
3270
3271
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
3271
3272
|
}
|
|
3272
3273
|
|
|
3273
|
-
// bazel-out/
|
|
3274
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3274
3275
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
3275
3276
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
3276
3277
|
const rawType = ts22.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -3393,7 +3394,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
3393
3394
|
});
|
|
3394
3395
|
}
|
|
3395
3396
|
|
|
3396
|
-
// bazel-out/
|
|
3397
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
3397
3398
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
3398
3399
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
3399
3400
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -3468,7 +3469,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
3468
3469
|
}
|
|
3469
3470
|
};
|
|
3470
3471
|
|
|
3471
|
-
// bazel-out/
|
|
3472
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3472
3473
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstForLoopBlockEmpty } from "@angular/compiler";
|
|
3473
3474
|
import ts24 from "typescript";
|
|
3474
3475
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3670,7 +3671,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3670
3671
|
};
|
|
3671
3672
|
}
|
|
3672
3673
|
|
|
3673
|
-
// bazel-out/
|
|
3674
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3674
3675
|
import ts25 from "typescript";
|
|
3675
3676
|
var TypeCheckShimGenerator = class {
|
|
3676
3677
|
constructor() {
|
|
@@ -3688,11 +3689,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3688
3689
|
}
|
|
3689
3690
|
};
|
|
3690
3691
|
|
|
3691
|
-
// bazel-out/
|
|
3692
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3692
3693
|
import { BindingPipe, Call as Call2, createCssSelectorFromNode, CssSelector, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers3, SafeCall, SafePropertyRead as SafePropertyRead3, SelectorMatcher, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstDeferredBlock, TmplAstElement as TmplAstElement3, TmplAstForLoopBlock as TmplAstForLoopBlock2, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstReference as TmplAstReference3, TmplAstSwitchBlock, TmplAstTemplate as TmplAstTemplate2, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2, TransplantedType } from "@angular/compiler";
|
|
3693
3694
|
import ts28 from "typescript";
|
|
3694
3695
|
|
|
3695
|
-
// bazel-out/
|
|
3696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3696
3697
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
3697
3698
|
import ts26 from "typescript";
|
|
3698
3699
|
function wrapForDiagnostics(expr) {
|
|
@@ -3738,7 +3739,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3738
3739
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3739
3740
|
}
|
|
3740
3741
|
|
|
3741
|
-
// bazel-out/
|
|
3742
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3742
3743
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3743
3744
|
import ts27 from "typescript";
|
|
3744
3745
|
var NULL_AS_ANY = ts27.factory.createAsExpression(ts27.factory.createNull(), ts27.factory.createKeywordTypeNode(ts27.SyntaxKind.AnyKeyword));
|
|
@@ -4071,7 +4072,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
4071
4072
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
4072
4073
|
})();
|
|
4073
4074
|
|
|
4074
|
-
// bazel-out/
|
|
4075
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
4075
4076
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
4076
4077
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
4077
4078
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -4095,7 +4096,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
4095
4096
|
}
|
|
4096
4097
|
};
|
|
4097
4098
|
|
|
4098
|
-
// bazel-out/
|
|
4099
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4099
4100
|
var TcbGenericContextBehavior;
|
|
4100
4101
|
(function(TcbGenericContextBehavior2) {
|
|
4101
4102
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -5596,7 +5597,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
5596
5597
|
}
|
|
5597
5598
|
};
|
|
5598
5599
|
|
|
5599
|
-
// bazel-out/
|
|
5600
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
5600
5601
|
import ts29 from "typescript";
|
|
5601
5602
|
var TypeCheckFile = class extends Environment {
|
|
5602
5603
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -5633,7 +5634,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
5633
5634
|
}
|
|
5634
5635
|
};
|
|
5635
5636
|
|
|
5636
|
-
// bazel-out/
|
|
5637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
5637
5638
|
var InliningMode;
|
|
5638
5639
|
(function(InliningMode2) {
|
|
5639
5640
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -5873,10 +5874,10 @@ function splitStringAtPoints(str, points) {
|
|
|
5873
5874
|
return splits;
|
|
5874
5875
|
}
|
|
5875
5876
|
|
|
5876
|
-
// bazel-out/
|
|
5877
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5877
5878
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
5878
5879
|
|
|
5879
|
-
// bazel-out/
|
|
5880
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
5880
5881
|
var LF_CHAR = 10;
|
|
5881
5882
|
var CR_CHAR = 13;
|
|
5882
5883
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5917,7 +5918,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5917
5918
|
return low - 1;
|
|
5918
5919
|
}
|
|
5919
5920
|
|
|
5920
|
-
// bazel-out/
|
|
5921
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5921
5922
|
var TemplateSource = class {
|
|
5922
5923
|
constructor(mapping, file) {
|
|
5923
5924
|
this.mapping = mapping;
|
|
@@ -5968,7 +5969,7 @@ var TemplateSourceManager = class {
|
|
|
5968
5969
|
}
|
|
5969
5970
|
};
|
|
5970
5971
|
|
|
5971
|
-
// bazel-out/
|
|
5972
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5972
5973
|
import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
|
|
5973
5974
|
import ts31 from "typescript";
|
|
5974
5975
|
var SymbolBuilder = class {
|
|
@@ -6067,6 +6068,9 @@ var SymbolBuilder = class {
|
|
|
6067
6068
|
}
|
|
6068
6069
|
addHostDirectiveSymbols(host, hostDirectives, symbols) {
|
|
6069
6070
|
for (const current of hostDirectives) {
|
|
6071
|
+
if (!isHostDirectiveMetaForGlobalMode(current)) {
|
|
6072
|
+
throw new Error("Impossible state: typecheck code path in local compilation mode.");
|
|
6073
|
+
}
|
|
6070
6074
|
if (!ts31.isClassDeclaration(current.directive.node)) {
|
|
6071
6075
|
continue;
|
|
6072
6076
|
}
|
|
@@ -6452,7 +6456,7 @@ function sourceSpanEqual(a, b) {
|
|
|
6452
6456
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
6453
6457
|
}
|
|
6454
6458
|
|
|
6455
|
-
// bazel-out/
|
|
6459
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
6456
6460
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
6457
6461
|
var TemplateTypeCheckerImpl = class {
|
|
6458
6462
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -7149,10 +7153,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
7149
7153
|
}
|
|
7150
7154
|
};
|
|
7151
7155
|
|
|
7152
|
-
// bazel-out/
|
|
7156
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
7153
7157
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
7154
7158
|
|
|
7155
|
-
// bazel-out/
|
|
7159
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
7156
7160
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
7157
7161
|
var TemplateCheckWithVisitor = class {
|
|
7158
7162
|
run(ctx, component, template) {
|
|
@@ -7276,7 +7280,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
7276
7280
|
}
|
|
7277
7281
|
};
|
|
7278
7282
|
|
|
7279
|
-
// bazel-out/
|
|
7283
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
7280
7284
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
7281
7285
|
constructor() {
|
|
7282
7286
|
super(...arguments);
|
|
@@ -7313,7 +7317,7 @@ var factory = {
|
|
|
7313
7317
|
create: () => new InterpolatedSignalCheck()
|
|
7314
7318
|
};
|
|
7315
7319
|
|
|
7316
|
-
// bazel-out/
|
|
7320
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
7317
7321
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
7318
7322
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
7319
7323
|
constructor() {
|
|
@@ -7339,7 +7343,7 @@ var factory2 = {
|
|
|
7339
7343
|
create: () => new InvalidBananaInBoxCheck()
|
|
7340
7344
|
};
|
|
7341
7345
|
|
|
7342
|
-
// bazel-out/
|
|
7346
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
7343
7347
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
7344
7348
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
7345
7349
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -7384,7 +7388,7 @@ var factory3 = {
|
|
|
7384
7388
|
}
|
|
7385
7389
|
};
|
|
7386
7390
|
|
|
7387
|
-
// bazel-out/
|
|
7391
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
7388
7392
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
7389
7393
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
7390
7394
|
constructor() {
|
|
@@ -7417,7 +7421,7 @@ var factory4 = {
|
|
|
7417
7421
|
create: () => new MissingNgForOfLetCheck()
|
|
7418
7422
|
};
|
|
7419
7423
|
|
|
7420
|
-
// bazel-out/
|
|
7424
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
7421
7425
|
import { Binary } from "@angular/compiler";
|
|
7422
7426
|
import ts32 from "typescript";
|
|
7423
7427
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7462,7 +7466,7 @@ var factory5 = {
|
|
|
7462
7466
|
}
|
|
7463
7467
|
};
|
|
7464
7468
|
|
|
7465
|
-
// bazel-out/
|
|
7469
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
7466
7470
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
7467
7471
|
import ts33 from "typescript";
|
|
7468
7472
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7508,7 +7512,7 @@ var factory6 = {
|
|
|
7508
7512
|
}
|
|
7509
7513
|
};
|
|
7510
7514
|
|
|
7511
|
-
// bazel-out/
|
|
7515
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
7512
7516
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
7513
7517
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
7514
7518
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7532,7 +7536,7 @@ var factory7 = {
|
|
|
7532
7536
|
create: () => new SuffixNotSupportedCheck()
|
|
7533
7537
|
};
|
|
7534
7538
|
|
|
7535
|
-
// bazel-out/
|
|
7539
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
7536
7540
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
7537
7541
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
7538
7542
|
constructor() {
|
|
@@ -7571,10 +7575,10 @@ var factory8 = {
|
|
|
7571
7575
|
create: () => new TextAttributeNotBindingSpec()
|
|
7572
7576
|
};
|
|
7573
7577
|
|
|
7574
|
-
// bazel-out/
|
|
7578
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7575
7579
|
import ts34 from "typescript";
|
|
7576
7580
|
|
|
7577
|
-
// bazel-out/
|
|
7581
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
7578
7582
|
var DiagnosticCategoryLabel;
|
|
7579
7583
|
(function(DiagnosticCategoryLabel2) {
|
|
7580
7584
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -7582,7 +7586,7 @@ var DiagnosticCategoryLabel;
|
|
|
7582
7586
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
7583
7587
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
7584
7588
|
|
|
7585
|
-
// bazel-out/
|
|
7589
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7586
7590
|
var ExtendedTemplateCheckerImpl = class {
|
|
7587
7591
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
7588
7592
|
var _a, _b, _c, _d, _e;
|
|
@@ -7635,7 +7639,7 @@ function assertNever(value) {
|
|
|
7635
7639
|
${value}`);
|
|
7636
7640
|
}
|
|
7637
7641
|
|
|
7638
|
-
// bazel-out/
|
|
7642
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
7639
7643
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
7640
7644
|
factory2,
|
|
7641
7645
|
factory5,
|
|
@@ -7651,7 +7655,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
7651
7655
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
7652
7656
|
]);
|
|
7653
7657
|
|
|
7654
|
-
// bazel-out/
|
|
7658
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
7655
7659
|
var CompilationTicketKind;
|
|
7656
7660
|
(function(CompilationTicketKind2) {
|
|
7657
7661
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8162,7 +8166,7 @@ var NgCompiler = class {
|
|
|
8162
8166
|
const reflector = new TypeScriptReflectionHost(checker, compilationMode === CompilationMode.LOCAL);
|
|
8163
8167
|
let refEmitter;
|
|
8164
8168
|
let aliasingHost = null;
|
|
8165
|
-
if (this.adapter.unifiedModulesHost === null || !this.options["_useHostForImportGeneration"]) {
|
|
8169
|
+
if (this.adapter.unifiedModulesHost === null || !this.options["_useHostForImportGeneration"] && !this.options["_useHostForImportAndAliasGeneration"]) {
|
|
8166
8170
|
let localImportStrategy;
|
|
8167
8171
|
if (this.options.rootDir !== void 0 || this.options.rootDirs !== void 0 && this.options.rootDirs.length > 0) {
|
|
8168
8172
|
localImportStrategy = new LogicalProjectStrategy(reflector, new LogicalFileSystem([...this.adapter.rootDirs], this.adapter));
|
|
@@ -8180,10 +8184,12 @@ var NgCompiler = class {
|
|
|
8180
8184
|
} else {
|
|
8181
8185
|
refEmitter = new ReferenceEmitter([
|
|
8182
8186
|
new LocalIdentifierStrategy(),
|
|
8183
|
-
new AliasStrategy(),
|
|
8187
|
+
...this.options["_useHostForImportAndAliasGeneration"] ? [new AliasStrategy()] : [],
|
|
8184
8188
|
new UnifiedModulesStrategy(reflector, this.adapter.unifiedModulesHost)
|
|
8185
8189
|
]);
|
|
8186
|
-
|
|
8190
|
+
if (this.options["_useHostForImportAndAliasGeneration"]) {
|
|
8191
|
+
aliasingHost = new UnifiedModulesAliasingHost(this.adapter.unifiedModulesHost);
|
|
8192
|
+
}
|
|
8187
8193
|
}
|
|
8188
8194
|
const evaluator = new PartialEvaluator(reflector, checker, this.incrementalCompilation.depGraph);
|
|
8189
8195
|
const dtsReader = new DtsMetadataReader(checker, reflector);
|
|
@@ -8416,7 +8422,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
8416
8422
|
return versions;
|
|
8417
8423
|
}
|
|
8418
8424
|
|
|
8419
|
-
// bazel-out/
|
|
8425
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8420
8426
|
import ts36 from "typescript";
|
|
8421
8427
|
var DelegatingCompilerHost2 = class {
|
|
8422
8428
|
get jsDocParsingMode() {
|
|
@@ -8555,7 +8561,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
8555
8561
|
}
|
|
8556
8562
|
};
|
|
8557
8563
|
|
|
8558
|
-
// bazel-out/
|
|
8564
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8559
8565
|
var NgtscProgram = class {
|
|
8560
8566
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
8561
8567
|
this.options = options;
|
|
@@ -8782,15 +8788,15 @@ function mergeEmitResults(emitResults) {
|
|
|
8782
8788
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
8783
8789
|
}
|
|
8784
8790
|
|
|
8785
|
-
// bazel-out/
|
|
8791
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8786
8792
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
8787
8793
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
8788
8794
|
}
|
|
8789
8795
|
|
|
8790
|
-
// bazel-out/
|
|
8796
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8791
8797
|
import ts39 from "typescript";
|
|
8792
8798
|
|
|
8793
|
-
// bazel-out/
|
|
8799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
8794
8800
|
import ts38 from "typescript";
|
|
8795
8801
|
function createMessageDiagnostic(messageText) {
|
|
8796
8802
|
return {
|
|
@@ -8804,7 +8810,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
8804
8810
|
};
|
|
8805
8811
|
}
|
|
8806
8812
|
|
|
8807
|
-
// bazel-out/
|
|
8813
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8808
8814
|
var defaultFormatHost = {
|
|
8809
8815
|
getCurrentDirectory: () => ts39.sys.getCurrentDirectory(),
|
|
8810
8816
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -9017,4 +9023,4 @@ export {
|
|
|
9017
9023
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9018
9024
|
* found in the LICENSE file at https://angular.io/license
|
|
9019
9025
|
*/
|
|
9020
|
-
//# sourceMappingURL=chunk-
|
|
9026
|
+
//# sourceMappingURL=chunk-VYUC5NTT.js.map
|