@angular/compiler-cli 17.1.1 → 17.1.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-LD7OKX22.js → chunk-24NMPW5I.js} +30 -30
- package/bundles/{chunk-WCD6LVCP.js → chunk-2WQIUGOU.js} +7 -7
- package/bundles/{chunk-TQYIA5ZM.js → chunk-5YHUYFQ5.js} +141 -132
- package/bundles/chunk-5YHUYFQ5.js.map +6 -0
- package/bundles/{chunk-R4KQI5XI.js → chunk-64JBPJBS.js} +5 -5
- package/bundles/{chunk-Q5Y7HH3O.js → chunk-6VEEN3ZS.js} +5 -5
- package/bundles/{chunk-QPMYDNZG.js → chunk-DUY2FPLZ.js} +7 -7
- package/bundles/{chunk-TNWTCE6C.js → chunk-GKQNBAG5.js} +74 -74
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-VTJUF2MM.js → chunk-MIB7EGOT.js} +5 -5
- package/bundles/{chunk-22WKDIPL.js → chunk-TFBB265K.js} +36 -36
- package/bundles/{chunk-7MBQJYBK.js → chunk-TKJ4KX5N.js} +6 -6
- 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/bin/ng_xi18n.d.ts +1 -1
- package/src/bin/ngc.d.ts +1 -1
- package/src/ngtsc/typecheck/src/comments.d.ts +2 -1
- package/bundles/chunk-TQYIA5ZM.js.map +0 -6
- /package/bundles/{chunk-LD7OKX22.js.map → chunk-24NMPW5I.js.map} +0 -0
- /package/bundles/{chunk-WCD6LVCP.js.map → chunk-2WQIUGOU.js.map} +0 -0
- /package/bundles/{chunk-R4KQI5XI.js.map → chunk-64JBPJBS.js.map} +0 -0
- /package/bundles/{chunk-Q5Y7HH3O.js.map → chunk-6VEEN3ZS.js.map} +0 -0
- /package/bundles/{chunk-QPMYDNZG.js.map → chunk-DUY2FPLZ.js.map} +0 -0
- /package/bundles/{chunk-TNWTCE6C.js.map → chunk-GKQNBAG5.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-VTJUF2MM.js.map → chunk-MIB7EGOT.js.map} +0 -0
- /package/bundles/{chunk-22WKDIPL.js.map → chunk-TFBB265K.js.map} +0 -0
- /package/bundles/{chunk-7MBQJYBK.js.map → chunk-TKJ4KX5N.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
PotentialImportKind,
|
|
9
9
|
PotentialImportMode,
|
|
10
10
|
SymbolKind
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-6VEEN3ZS.js";
|
|
12
12
|
import {
|
|
13
13
|
CompilationMode,
|
|
14
14
|
ComponentDecoratorHandler,
|
|
@@ -38,7 +38,7 @@ import {
|
|
|
38
38
|
aliasTransformFactory,
|
|
39
39
|
declarationTransformFactory,
|
|
40
40
|
ivyTransformFactory
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-GKQNBAG5.js";
|
|
42
42
|
import {
|
|
43
43
|
AbsoluteModuleStrategy,
|
|
44
44
|
AliasStrategy,
|
|
@@ -86,14 +86,14 @@ import {
|
|
|
86
86
|
toUnredirectedSourceFile,
|
|
87
87
|
translateExpression,
|
|
88
88
|
translateType
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-TFBB265K.js";
|
|
90
90
|
import {
|
|
91
91
|
ActivePerfRecorder,
|
|
92
92
|
DelegatingPerfRecorder,
|
|
93
93
|
PerfCheckpoint,
|
|
94
94
|
PerfEvent,
|
|
95
95
|
PerfPhase
|
|
96
|
-
} from "./chunk-
|
|
96
|
+
} from "./chunk-64JBPJBS.js";
|
|
97
97
|
import {
|
|
98
98
|
LogicalFileSystem,
|
|
99
99
|
absoluteFrom,
|
|
@@ -103,9 +103,9 @@ import {
|
|
|
103
103
|
getSourceFileOrError,
|
|
104
104
|
join,
|
|
105
105
|
resolve
|
|
106
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-DUY2FPLZ.js";
|
|
107
107
|
|
|
108
|
-
// bazel-out/
|
|
108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
109
109
|
var DEFAULT_ERROR_CODE = 100;
|
|
110
110
|
var UNKNOWN_ERROR_CODE = 500;
|
|
111
111
|
var SOURCE = "angular";
|
|
@@ -123,7 +123,7 @@ var EmitFlags;
|
|
|
123
123
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
124
124
|
})(EmitFlags || (EmitFlags = {}));
|
|
125
125
|
|
|
126
|
-
// bazel-out/
|
|
126
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
127
127
|
import ts from "typescript";
|
|
128
128
|
var wrapHostForTest = null;
|
|
129
129
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -133,7 +133,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
133
133
|
return tsHost;
|
|
134
134
|
}
|
|
135
135
|
|
|
136
|
-
// bazel-out/
|
|
136
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
137
137
|
var EntryType;
|
|
138
138
|
(function(EntryType2) {
|
|
139
139
|
EntryType2["Block"] = "block";
|
|
@@ -176,11 +176,11 @@ var MemberTags;
|
|
|
176
176
|
MemberTags2["Inherited"] = "override";
|
|
177
177
|
})(MemberTags || (MemberTags = {}));
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
180
180
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
181
181
|
import ts37 from "typescript";
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
184
184
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
185
185
|
import * as path from "path";
|
|
186
186
|
function i18nGetExtension(formatName) {
|
|
@@ -231,10 +231,10 @@ function getPathNormalizer(basePath) {
|
|
|
231
231
|
};
|
|
232
232
|
}
|
|
233
233
|
|
|
234
|
-
// bazel-out/
|
|
234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
235
235
|
import ts2 from "typescript";
|
|
236
236
|
|
|
237
|
-
// bazel-out/
|
|
237
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
238
238
|
function toNumbers(value) {
|
|
239
239
|
const suffixIndex = value.lastIndexOf("-");
|
|
240
240
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -269,7 +269,7 @@ function compareVersions(v1, v2) {
|
|
|
269
269
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
273
273
|
var MIN_TS_VERSION = "5.2.0";
|
|
274
274
|
var MAX_TS_VERSION = "5.4.0";
|
|
275
275
|
var tsVersion = ts2.version;
|
|
@@ -282,10 +282,10 @@ function verifySupportedTypeScriptVersion() {
|
|
|
282
282
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
283
283
|
}
|
|
284
284
|
|
|
285
|
-
// bazel-out/
|
|
285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
286
286
|
import ts35 from "typescript";
|
|
287
287
|
|
|
288
|
-
// bazel-out/
|
|
288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
289
289
|
var CycleAnalyzer = class {
|
|
290
290
|
constructor(importGraph) {
|
|
291
291
|
this.importGraph = importGraph;
|
|
@@ -356,7 +356,7 @@ var Cycle = class {
|
|
|
356
356
|
}
|
|
357
357
|
};
|
|
358
358
|
|
|
359
|
-
// bazel-out/
|
|
359
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
360
360
|
import ts3 from "typescript";
|
|
361
361
|
var ImportGraph = class {
|
|
362
362
|
constructor(checker, perf) {
|
|
@@ -448,23 +448,23 @@ var Found = class {
|
|
|
448
448
|
}
|
|
449
449
|
};
|
|
450
450
|
|
|
451
|
-
// bazel-out/
|
|
451
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
452
452
|
import ts9 from "typescript";
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
455
455
|
import ts6 from "typescript";
|
|
456
456
|
|
|
457
|
-
// bazel-out/
|
|
457
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
458
458
|
function isAngularPrivateName(name) {
|
|
459
459
|
var _a;
|
|
460
460
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
461
461
|
return firstChar === "\u0275" || firstChar === "_";
|
|
462
462
|
}
|
|
463
463
|
|
|
464
|
-
// bazel-out/
|
|
464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
465
465
|
import ts5 from "typescript";
|
|
466
466
|
|
|
467
|
-
// bazel-out/
|
|
467
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
468
468
|
function extractGenerics(declaration) {
|
|
469
469
|
var _a, _b;
|
|
470
470
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -477,7 +477,7 @@ function extractGenerics(declaration) {
|
|
|
477
477
|
})) != null ? _b : [];
|
|
478
478
|
}
|
|
479
479
|
|
|
480
|
-
// bazel-out/
|
|
480
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
481
481
|
import ts4 from "typescript";
|
|
482
482
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf))/g;
|
|
483
483
|
function extractJsDocTags(node) {
|
|
@@ -521,12 +521,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
521
521
|
return comment.replace(/_NG_AT_/g, "@");
|
|
522
522
|
}
|
|
523
523
|
|
|
524
|
-
// bazel-out/
|
|
524
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
525
525
|
function extractResolvedTypeString(node, checker) {
|
|
526
526
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
527
527
|
}
|
|
528
528
|
|
|
529
|
-
// bazel-out/
|
|
529
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
530
530
|
var FunctionExtractor = class {
|
|
531
531
|
constructor(declaration, typeChecker) {
|
|
532
532
|
this.declaration = declaration;
|
|
@@ -580,7 +580,7 @@ var FunctionExtractor = class {
|
|
|
580
580
|
}
|
|
581
581
|
};
|
|
582
582
|
|
|
583
|
-
// bazel-out/
|
|
583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
584
584
|
var ClassExtractor = class {
|
|
585
585
|
constructor(declaration, typeChecker) {
|
|
586
586
|
this.declaration = declaration;
|
|
@@ -812,7 +812,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
812
812
|
return extractor.extract();
|
|
813
813
|
}
|
|
814
814
|
|
|
815
|
-
// bazel-out/
|
|
815
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
816
816
|
function extractConstant(declaration, typeChecker) {
|
|
817
817
|
const resolvedType = typeChecker.getBaseTypeOfLiteralType(typeChecker.getTypeAtLocation(declaration));
|
|
818
818
|
const variableStatement = declaration.parent.parent;
|
|
@@ -830,7 +830,7 @@ function isSyntheticAngularConstant(declaration) {
|
|
|
830
830
|
return declaration.name.getText() === "USED_FOR_NG_TYPE_CHECKING";
|
|
831
831
|
}
|
|
832
832
|
|
|
833
|
-
// bazel-out/
|
|
833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
834
834
|
import ts7 from "typescript";
|
|
835
835
|
function extractorDecorator(declaration, typeChecker) {
|
|
836
836
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -903,7 +903,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
903
903
|
return callSignature;
|
|
904
904
|
}
|
|
905
905
|
|
|
906
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
907
907
|
import ts8 from "typescript";
|
|
908
908
|
function extractEnum(declaration, typeChecker) {
|
|
909
909
|
return {
|
|
@@ -934,7 +934,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
934
934
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
935
935
|
}
|
|
936
936
|
|
|
937
|
-
// bazel-out/
|
|
937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
938
938
|
function extractTypeAlias(declaration) {
|
|
939
939
|
return {
|
|
940
940
|
name: declaration.name.getText(),
|
|
@@ -946,7 +946,7 @@ function extractTypeAlias(declaration) {
|
|
|
946
946
|
};
|
|
947
947
|
}
|
|
948
948
|
|
|
949
|
-
// bazel-out/
|
|
949
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
950
950
|
var DocsExtractor = class {
|
|
951
951
|
constructor(typeChecker, metadataReader) {
|
|
952
952
|
this.typeChecker = typeChecker;
|
|
@@ -1008,7 +1008,7 @@ function isIgnoredInterface(node) {
|
|
|
1008
1008
|
return node.name.getText().endsWith("Decorator") || isDecoratorOptionsInterface(node);
|
|
1009
1009
|
}
|
|
1010
1010
|
|
|
1011
|
-
// bazel-out/
|
|
1011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1012
1012
|
import ts10 from "typescript";
|
|
1013
1013
|
var FlatIndexGenerator = class {
|
|
1014
1014
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1033,7 +1033,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1033
1033
|
}
|
|
1034
1034
|
};
|
|
1035
1035
|
|
|
1036
|
-
// bazel-out/
|
|
1036
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1037
1037
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1038
1038
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1039
1039
|
let resolvedEntryPoint = null;
|
|
@@ -1049,7 +1049,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1049
1049
|
return resolvedEntryPoint;
|
|
1050
1050
|
}
|
|
1051
1051
|
|
|
1052
|
-
// bazel-out/
|
|
1052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1053
1053
|
import ts11 from "typescript";
|
|
1054
1054
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1055
1055
|
const diagnostics = [];
|
|
@@ -1129,7 +1129,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1129
1129
|
}
|
|
1130
1130
|
}
|
|
1131
1131
|
|
|
1132
|
-
// bazel-out/
|
|
1132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1133
1133
|
var ReferenceGraph = class {
|
|
1134
1134
|
constructor() {
|
|
1135
1135
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1183,7 +1183,7 @@ var ReferenceGraph = class {
|
|
|
1183
1183
|
}
|
|
1184
1184
|
};
|
|
1185
1185
|
|
|
1186
|
-
// bazel-out/
|
|
1186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
|
|
1187
1187
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
1188
1188
|
var UpdateMode;
|
|
1189
1189
|
(function(UpdateMode2) {
|
|
@@ -1191,13 +1191,13 @@ var UpdateMode;
|
|
|
1191
1191
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
1192
1192
|
})(UpdateMode || (UpdateMode = {}));
|
|
1193
1193
|
|
|
1194
|
-
// bazel-out/
|
|
1194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1195
1195
|
import ts13 from "typescript";
|
|
1196
1196
|
|
|
1197
|
-
// bazel-out/
|
|
1197
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1198
1198
|
import ts12 from "typescript";
|
|
1199
1199
|
|
|
1200
|
-
// bazel-out/
|
|
1200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
|
|
1201
1201
|
var NgExtension = Symbol("NgExtension");
|
|
1202
1202
|
function isExtended(sf) {
|
|
1203
1203
|
return sf[NgExtension] !== void 0;
|
|
@@ -1257,13 +1257,13 @@ function retagTsFile(sf) {
|
|
|
1257
1257
|
}
|
|
1258
1258
|
}
|
|
1259
1259
|
|
|
1260
|
-
// bazel-out/
|
|
1260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
|
|
1261
1261
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
1262
1262
|
function makeShimFileName(fileName, suffix) {
|
|
1263
1263
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
1264
1264
|
}
|
|
1265
1265
|
|
|
1266
|
-
// bazel-out/
|
|
1266
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
|
|
1267
1267
|
var ShimAdapter = class {
|
|
1268
1268
|
constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
|
|
1269
1269
|
this.delegate = delegate;
|
|
@@ -1358,7 +1358,7 @@ var ShimAdapter = class {
|
|
|
1358
1358
|
}
|
|
1359
1359
|
};
|
|
1360
1360
|
|
|
1361
|
-
// bazel-out/
|
|
1361
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
|
|
1362
1362
|
var ShimReferenceTagger = class {
|
|
1363
1363
|
constructor(shimExtensions) {
|
|
1364
1364
|
this.tagged = /* @__PURE__ */ new Set();
|
|
@@ -1392,7 +1392,7 @@ var ShimReferenceTagger = class {
|
|
|
1392
1392
|
}
|
|
1393
1393
|
};
|
|
1394
1394
|
|
|
1395
|
-
// bazel-out/
|
|
1395
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
|
|
1396
1396
|
var DelegatingCompilerHost = class {
|
|
1397
1397
|
get jsDocParsingMode() {
|
|
1398
1398
|
return this.delegate.jsDocParsingMode;
|
|
@@ -1511,7 +1511,7 @@ var TsCreateProgramDriver = class {
|
|
|
1511
1511
|
}
|
|
1512
1512
|
};
|
|
1513
1513
|
|
|
1514
|
-
// bazel-out/
|
|
1514
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1515
1515
|
var FileDependencyGraph = class {
|
|
1516
1516
|
constructor() {
|
|
1517
1517
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1578,7 +1578,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1578
1578
|
return false;
|
|
1579
1579
|
}
|
|
1580
1580
|
|
|
1581
|
-
// bazel-out/
|
|
1581
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1582
1582
|
var IncrementalStateKind;
|
|
1583
1583
|
(function(IncrementalStateKind2) {
|
|
1584
1584
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1586,7 +1586,7 @@ var IncrementalStateKind;
|
|
|
1586
1586
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1587
1587
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1588
1588
|
|
|
1589
|
-
// bazel-out/
|
|
1589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1590
1590
|
var PhaseKind;
|
|
1591
1591
|
(function(PhaseKind2) {
|
|
1592
1592
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1787,7 +1787,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1787
1787
|
}
|
|
1788
1788
|
}
|
|
1789
1789
|
|
|
1790
|
-
// bazel-out/
|
|
1790
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1791
1791
|
var TrackedIncrementalBuildStrategy = class {
|
|
1792
1792
|
constructor() {
|
|
1793
1793
|
this.state = null;
|
|
@@ -1823,7 +1823,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1825
1825
|
|
|
1826
|
-
// bazel-out/
|
|
1826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1827
1827
|
var IdentifierKind;
|
|
1828
1828
|
(function(IdentifierKind2) {
|
|
1829
1829
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1841,7 +1841,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1841
1841
|
}
|
|
1842
1842
|
};
|
|
1843
1843
|
|
|
1844
|
-
// bazel-out/
|
|
1844
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1845
1845
|
var IndexingContext = class {
|
|
1846
1846
|
constructor() {
|
|
1847
1847
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1851,10 +1851,10 @@ var IndexingContext = class {
|
|
|
1851
1851
|
}
|
|
1852
1852
|
};
|
|
1853
1853
|
|
|
1854
|
-
// bazel-out/
|
|
1854
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1855
1855
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1856
1856
|
|
|
1857
|
-
// bazel-out/
|
|
1857
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1858
1858
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
|
|
1859
1859
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1860
1860
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2136,7 +2136,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2136
2136
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2137
2137
|
}
|
|
2138
2138
|
|
|
2139
|
-
// bazel-out/
|
|
2139
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2140
2140
|
function generateAnalysis(context) {
|
|
2141
2141
|
const analysis = /* @__PURE__ */ new Map();
|
|
2142
2142
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2172,7 +2172,7 @@ function generateAnalysis(context) {
|
|
|
2172
2172
|
return analysis;
|
|
2173
2173
|
}
|
|
2174
2174
|
|
|
2175
|
-
// bazel-out/
|
|
2175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2176
2176
|
var NgModuleIndexImpl = class {
|
|
2177
2177
|
constructor(metaReader, localReader) {
|
|
2178
2178
|
this.metaReader = metaReader;
|
|
@@ -2261,7 +2261,7 @@ var NgModuleIndexImpl = class {
|
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
2263
|
|
|
2264
|
-
// bazel-out/
|
|
2264
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2265
2265
|
import ts14 from "typescript";
|
|
2266
2266
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2267
2267
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2407,7 +2407,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2407
2407
|
};
|
|
2408
2408
|
}
|
|
2409
2409
|
|
|
2410
|
-
// bazel-out/
|
|
2410
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2411
2411
|
var StandaloneComponentScopeReader = class {
|
|
2412
2412
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2413
2413
|
this.metaReader = metaReader;
|
|
@@ -2503,10 +2503,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2503
2503
|
}
|
|
2504
2504
|
};
|
|
2505
2505
|
|
|
2506
|
-
// bazel-out/
|
|
2506
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
2507
2507
|
import { CssSelector as CssSelector2, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
2508
2508
|
|
|
2509
|
-
// bazel-out/
|
|
2509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
|
|
2510
2510
|
import ts15 from "typescript";
|
|
2511
2511
|
function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
|
|
2512
2512
|
var _a;
|
|
@@ -2613,7 +2613,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
2613
2613
|
return ts15.createSourceFile(fileName, template, ts15.ScriptTarget.Latest, false, ts15.ScriptKind.JSX);
|
|
2614
2614
|
}
|
|
2615
2615
|
|
|
2616
|
-
// bazel-out/
|
|
2616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
|
|
2617
2617
|
var TEMPLATE_ID = Symbol("ngTemplateId");
|
|
2618
2618
|
var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
|
|
2619
2619
|
function getTemplateId(clazz) {
|
|
@@ -2630,11 +2630,11 @@ function allocateTemplateId(sf) {
|
|
|
2630
2630
|
return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
|
|
2631
2631
|
}
|
|
2632
2632
|
|
|
2633
|
-
// bazel-out/
|
|
2633
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
|
|
2634
2634
|
import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
|
|
2635
2635
|
import ts17 from "typescript";
|
|
2636
2636
|
|
|
2637
|
-
// bazel-out/
|
|
2637
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
|
|
2638
2638
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
|
|
2639
2639
|
import ts16 from "typescript";
|
|
2640
2640
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -2661,6 +2661,7 @@ var ExpressionIdentifier;
|
|
|
2661
2661
|
ExpressionIdentifier2["DIRECTIVE"] = "DIR";
|
|
2662
2662
|
ExpressionIdentifier2["COMPONENT_COMPLETION"] = "COMPCOMP";
|
|
2663
2663
|
ExpressionIdentifier2["EVENT_PARAMETER"] = "EP";
|
|
2664
|
+
ExpressionIdentifier2["VARIABLE_AS_EXPRESSION"] = "VAE";
|
|
2664
2665
|
})(ExpressionIdentifier || (ExpressionIdentifier = {}));
|
|
2665
2666
|
function addExpressionIdentifier(node, identifier) {
|
|
2666
2667
|
ts16.addSyntheticTrailingComment(
|
|
@@ -2764,7 +2765,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
2764
2765
|
}) || false;
|
|
2765
2766
|
}
|
|
2766
2767
|
|
|
2767
|
-
// bazel-out/
|
|
2768
|
+
// bazel-out/k8-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/k8-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/k8-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/k8-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/k8-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/k8-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,
|
|
@@ -3047,14 +3048,12 @@ function tsCreateElement(tagName) {
|
|
|
3047
3048
|
);
|
|
3048
3049
|
}
|
|
3049
3050
|
function tsDeclareVariable(id, type) {
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
initializer = ts19.factory.createAsExpression(initializer, ts19.factory.createKeywordTypeNode(ts19.SyntaxKind.BooleanKeyword));
|
|
3053
|
-
}
|
|
3051
|
+
addExpressionIdentifier(type, ExpressionIdentifier.VARIABLE_AS_EXPRESSION);
|
|
3052
|
+
const initializer = ts19.factory.createAsExpression(ts19.factory.createNonNullExpression(ts19.factory.createNull()), type);
|
|
3054
3053
|
const decl = ts19.factory.createVariableDeclaration(
|
|
3055
3054
|
id,
|
|
3056
3055
|
void 0,
|
|
3057
|
-
|
|
3056
|
+
void 0,
|
|
3058
3057
|
initializer
|
|
3059
3058
|
);
|
|
3060
3059
|
return ts19.factory.createVariableStatement(
|
|
@@ -3096,15 +3095,15 @@ function tsNumericExpression(value) {
|
|
|
3096
3095
|
return ts19.factory.createNumericLiteral(value);
|
|
3097
3096
|
}
|
|
3098
3097
|
|
|
3099
|
-
// bazel-out/
|
|
3098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3100
3099
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr } from "@angular/compiler";
|
|
3101
3100
|
import ts22 from "typescript";
|
|
3102
3101
|
|
|
3103
|
-
// bazel-out/
|
|
3102
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3104
3103
|
import { R3Identifiers } from "@angular/compiler";
|
|
3105
3104
|
import ts21 from "typescript";
|
|
3106
3105
|
|
|
3107
|
-
// bazel-out/
|
|
3106
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
|
|
3108
3107
|
import ts20 from "typescript";
|
|
3109
3108
|
var TypeParameterEmitter = class {
|
|
3110
3109
|
constructor(typeParameters, reflector) {
|
|
@@ -3182,7 +3181,7 @@ var TypeParameterEmitter = class {
|
|
|
3182
3181
|
}
|
|
3183
3182
|
};
|
|
3184
3183
|
|
|
3185
|
-
// bazel-out/
|
|
3184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
|
|
3186
3185
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_MODULES = [
|
|
3187
3186
|
R3Identifiers.InputSignalBrandWriteType.moduleName
|
|
3188
3187
|
];
|
|
@@ -3270,7 +3269,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
|
|
|
3270
3269
|
return emitter.canEmit((ref) => env.canReferenceType(ref));
|
|
3271
3270
|
}
|
|
3272
3271
|
|
|
3273
|
-
// bazel-out/
|
|
3272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
|
|
3274
3273
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
3275
3274
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
3276
3275
|
const rawType = ts22.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -3393,7 +3392,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
3393
3392
|
});
|
|
3394
3393
|
}
|
|
3395
3394
|
|
|
3396
|
-
// bazel-out/
|
|
3395
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
|
|
3397
3396
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
3398
3397
|
constructor(config, importManager, refEmitter, reflector, contextFile) {
|
|
3399
3398
|
super(importManager, refEmitter, reflector, contextFile);
|
|
@@ -3468,7 +3467,7 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
3468
3467
|
}
|
|
3469
3468
|
};
|
|
3470
3469
|
|
|
3471
|
-
// bazel-out/
|
|
3470
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
|
|
3472
3471
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstForLoopBlockEmpty } from "@angular/compiler";
|
|
3473
3472
|
import ts24 from "typescript";
|
|
3474
3473
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
@@ -3670,7 +3669,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
|
|
|
3670
3669
|
};
|
|
3671
3670
|
}
|
|
3672
3671
|
|
|
3673
|
-
// bazel-out/
|
|
3672
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
|
|
3674
3673
|
import ts25 from "typescript";
|
|
3675
3674
|
var TypeCheckShimGenerator = class {
|
|
3676
3675
|
constructor() {
|
|
@@ -3688,11 +3687,11 @@ var TypeCheckShimGenerator = class {
|
|
|
3688
3687
|
}
|
|
3689
3688
|
};
|
|
3690
3689
|
|
|
3691
|
-
// bazel-out/
|
|
3690
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
3692
3691
|
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
3692
|
import ts28 from "typescript";
|
|
3694
3693
|
|
|
3695
|
-
// bazel-out/
|
|
3694
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
|
|
3696
3695
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
3697
3696
|
import ts26 from "typescript";
|
|
3698
3697
|
function wrapForDiagnostics(expr) {
|
|
@@ -3738,7 +3737,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
3738
3737
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
3739
3738
|
}
|
|
3740
3739
|
|
|
3741
|
-
// bazel-out/
|
|
3740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
|
|
3742
3741
|
import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
3743
3742
|
import ts27 from "typescript";
|
|
3744
3743
|
var NULL_AS_ANY = ts27.factory.createAsExpression(ts27.factory.createNull(), ts27.factory.createKeywordTypeNode(ts27.SyntaxKind.AnyKeyword));
|
|
@@ -4071,7 +4070,7 @@ var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
|
4071
4070
|
_VeSafeLhsInferenceBugDetector.SINGLETON = new _VeSafeLhsInferenceBugDetector();
|
|
4072
4071
|
})();
|
|
4073
4072
|
|
|
4074
|
-
// bazel-out/
|
|
4073
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
|
|
4075
4074
|
import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
|
|
4076
4075
|
var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
4077
4076
|
constructor(templateId, boundTarget, oob) {
|
|
@@ -4095,7 +4094,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
|
|
|
4095
4094
|
}
|
|
4096
4095
|
};
|
|
4097
4096
|
|
|
4098
|
-
// bazel-out/
|
|
4097
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
|
|
4099
4098
|
var TcbGenericContextBehavior;
|
|
4100
4099
|
(function(TcbGenericContextBehavior2) {
|
|
4101
4100
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -4320,8 +4319,8 @@ var TcbDirectiveTypeOpBase = class extends TcbOp {
|
|
|
4320
4319
|
type = ts28.factory.createTypeReferenceNode(rawType.typeName, typeArguments);
|
|
4321
4320
|
}
|
|
4322
4321
|
const id = this.tcb.allocateId();
|
|
4323
|
-
addExpressionIdentifier(
|
|
4324
|
-
addParseSpanInfo(
|
|
4322
|
+
addExpressionIdentifier(id, ExpressionIdentifier.DIRECTIVE);
|
|
4323
|
+
addParseSpanInfo(id, this.node.startSourceSpan || this.node.sourceSpan);
|
|
4325
4324
|
this.scope.addStatement(tsDeclareVariable(id, type));
|
|
4326
4325
|
return id;
|
|
4327
4326
|
}
|
|
@@ -4558,14 +4557,13 @@ var TcbDomSchemaCheckerOp = class extends TcbOp {
|
|
|
4558
4557
|
this.tcb.domSchemaChecker.checkElement(this.tcb.id, this.element, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
4559
4558
|
}
|
|
4560
4559
|
for (const binding of this.element.inputs) {
|
|
4561
|
-
|
|
4560
|
+
const isPropertyBinding = binding.type === 0 || binding.type === 5;
|
|
4561
|
+
if (isPropertyBinding && this.claimedInputs.has(binding.name)) {
|
|
4562
4562
|
continue;
|
|
4563
4563
|
}
|
|
4564
|
-
if (binding.
|
|
4565
|
-
|
|
4566
|
-
|
|
4567
|
-
this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
4568
|
-
}
|
|
4564
|
+
if (isPropertyBinding && binding.name !== "style" && binding.name !== "class") {
|
|
4565
|
+
const propertyName = (_a = ATTR_TO_PROP.get(binding.name)) != null ? _a : binding.name;
|
|
4566
|
+
this.tcb.domSchemaChecker.checkProperty(this.tcb.id, this.element, propertyName, binding.sourceSpan, this.tcb.schemas, this.tcb.hostIsStandalone);
|
|
4569
4567
|
}
|
|
4570
4568
|
}
|
|
4571
4569
|
return null;
|
|
@@ -4667,11 +4665,12 @@ var TcbUnclaimedInputsOp = class extends TcbOp {
|
|
|
4667
4665
|
var _a;
|
|
4668
4666
|
let elId = null;
|
|
4669
4667
|
for (const binding of this.element.inputs) {
|
|
4670
|
-
|
|
4668
|
+
const isPropertyBinding = binding.type === 0 || binding.type === 5;
|
|
4669
|
+
if (isPropertyBinding && this.claimedInputs.has(binding.name)) {
|
|
4671
4670
|
continue;
|
|
4672
4671
|
}
|
|
4673
4672
|
const expr = widenBinding(tcbExpression(binding.value, this.tcb, this.scope), this.tcb);
|
|
4674
|
-
if (this.tcb.env.config.checkTypeOfDomBindings &&
|
|
4673
|
+
if (this.tcb.env.config.checkTypeOfDomBindings && isPropertyBinding) {
|
|
4675
4674
|
if (binding.name !== "style" && binding.name !== "class") {
|
|
4676
4675
|
if (elId === null) {
|
|
4677
4676
|
elId = this.scope.resolve(this.element);
|
|
@@ -4706,7 +4705,7 @@ var TcbDirectiveOutputsOp = class extends TcbOp {
|
|
|
4706
4705
|
let dirId = null;
|
|
4707
4706
|
const outputs = this.dir.outputs;
|
|
4708
4707
|
for (const output of this.node.outputs) {
|
|
4709
|
-
if (output.type
|
|
4708
|
+
if (output.type === 1 || !outputs.hasBindingPropertyName(output.name)) {
|
|
4710
4709
|
continue;
|
|
4711
4710
|
}
|
|
4712
4711
|
if (this.tcb.env.config.checkTypeOfOutputEvents && output.name.endsWith("Change")) {
|
|
@@ -4814,7 +4813,9 @@ var TcbBlockVariableOp = class extends TcbOp {
|
|
|
4814
4813
|
execute() {
|
|
4815
4814
|
const id = this.tcb.allocateId();
|
|
4816
4815
|
addParseSpanInfo(id, this.variable.keySpan);
|
|
4817
|
-
|
|
4816
|
+
const variable = tsCreateVariable(id, wrapForTypeChecker(this.initializer));
|
|
4817
|
+
addParseSpanInfo(variable.declarationList.declarations[0], this.variable.sourceSpan);
|
|
4818
|
+
this.scope.addStatement(variable);
|
|
4818
4819
|
return id;
|
|
4819
4820
|
}
|
|
4820
4821
|
};
|
|
@@ -4830,7 +4831,9 @@ var TcbBlockImplicitVariableOp = class extends TcbOp {
|
|
|
4830
4831
|
execute() {
|
|
4831
4832
|
const id = this.tcb.allocateId();
|
|
4832
4833
|
addParseSpanInfo(id, this.variable.keySpan);
|
|
4833
|
-
|
|
4834
|
+
const variable = tsDeclareVariable(id, this.type);
|
|
4835
|
+
addParseSpanInfo(variable.declarationList.declarations[0], this.variable.sourceSpan);
|
|
4836
|
+
this.scope.addStatement(variable);
|
|
4834
4837
|
return id;
|
|
4835
4838
|
}
|
|
4836
4839
|
};
|
|
@@ -4966,6 +4969,7 @@ var TcbForOfOp = class extends TcbOp {
|
|
|
4966
4969
|
throw new Error(`Could not resolve for loop variable ${this.block.item.name} to an identifier`);
|
|
4967
4970
|
}
|
|
4968
4971
|
const initializer = ts28.factory.createVariableDeclarationList([ts28.factory.createVariableDeclaration(initializerId)], ts28.NodeFlags.Const);
|
|
4972
|
+
addParseSpanInfo(initializer, this.block.item.keySpan);
|
|
4969
4973
|
const expression = ts28.factory.createNonNullExpression(tcbExpression(this.block.expression, this.tcb, loopScope));
|
|
4970
4974
|
const trackTranslator = new TcbForLoopTrackTranslator(this.tcb, loopScope, this.block);
|
|
4971
4975
|
const trackExpression = trackTranslator.translate(this.block.trackBy);
|
|
@@ -5468,7 +5472,7 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
|
|
|
5468
5472
|
function getBoundAttributes(directive, node) {
|
|
5469
5473
|
const boundInputs = [];
|
|
5470
5474
|
const processAttribute = (attr) => {
|
|
5471
|
-
if (attr instanceof TmplAstBoundAttribute && attr.type !== 0) {
|
|
5475
|
+
if (attr instanceof TmplAstBoundAttribute && attr.type !== 0 && attr.type !== 5) {
|
|
5472
5476
|
return;
|
|
5473
5477
|
}
|
|
5474
5478
|
const inputs = directive.inputs.getByBindingPropertyName(attr.name);
|
|
@@ -5596,7 +5600,7 @@ var TcbForLoopTrackTranslator = class extends TcbExpressionTranslator {
|
|
|
5596
5600
|
}
|
|
5597
5601
|
};
|
|
5598
5602
|
|
|
5599
|
-
// bazel-out/
|
|
5603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
|
|
5600
5604
|
import ts29 from "typescript";
|
|
5601
5605
|
var TypeCheckFile = class extends Environment {
|
|
5602
5606
|
constructor(fileName, config, refEmitter, reflector, compilerHost) {
|
|
@@ -5633,7 +5637,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
5633
5637
|
}
|
|
5634
5638
|
};
|
|
5635
5639
|
|
|
5636
|
-
// bazel-out/
|
|
5640
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
|
|
5637
5641
|
var InliningMode;
|
|
5638
5642
|
(function(InliningMode2) {
|
|
5639
5643
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -5873,10 +5877,10 @@ function splitStringAtPoints(str, points) {
|
|
|
5873
5877
|
return splits;
|
|
5874
5878
|
}
|
|
5875
5879
|
|
|
5876
|
-
// bazel-out/
|
|
5880
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5877
5881
|
import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
|
|
5878
5882
|
|
|
5879
|
-
// bazel-out/
|
|
5883
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
|
|
5880
5884
|
var LF_CHAR = 10;
|
|
5881
5885
|
var CR_CHAR = 13;
|
|
5882
5886
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -5917,7 +5921,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
5917
5921
|
return low - 1;
|
|
5918
5922
|
}
|
|
5919
5923
|
|
|
5920
|
-
// bazel-out/
|
|
5924
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
|
|
5921
5925
|
var TemplateSource = class {
|
|
5922
5926
|
constructor(mapping, file) {
|
|
5923
5927
|
this.mapping = mapping;
|
|
@@ -5968,7 +5972,7 @@ var TemplateSourceManager = class {
|
|
|
5968
5972
|
}
|
|
5969
5973
|
};
|
|
5970
5974
|
|
|
5971
|
-
// bazel-out/
|
|
5975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
|
|
5972
5976
|
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
5977
|
import ts31 from "typescript";
|
|
5974
5978
|
var SymbolBuilder = class {
|
|
@@ -6275,17 +6279,22 @@ var SymbolBuilder = class {
|
|
|
6275
6279
|
}
|
|
6276
6280
|
getSymbolOfVariable(variable) {
|
|
6277
6281
|
const node = findFirstMatchingNode(this.typeCheckBlock, { withSpan: variable.sourceSpan, filter: ts31.isVariableDeclaration });
|
|
6278
|
-
if (node === null
|
|
6282
|
+
if (node === null) {
|
|
6279
6283
|
return null;
|
|
6280
6284
|
}
|
|
6281
|
-
|
|
6282
|
-
if (
|
|
6285
|
+
let nodeValueSymbol = null;
|
|
6286
|
+
if (ts31.isForOfStatement(node.parent.parent)) {
|
|
6287
|
+
nodeValueSymbol = this.getSymbolOfTsNode(node);
|
|
6288
|
+
} else if (node.initializer !== void 0) {
|
|
6289
|
+
nodeValueSymbol = this.getSymbolOfTsNode(node.initializer);
|
|
6290
|
+
}
|
|
6291
|
+
if (nodeValueSymbol === null) {
|
|
6283
6292
|
return null;
|
|
6284
6293
|
}
|
|
6285
6294
|
return {
|
|
6286
|
-
tsType:
|
|
6287
|
-
tsSymbol:
|
|
6288
|
-
initializerLocation:
|
|
6295
|
+
tsType: nodeValueSymbol.tsType,
|
|
6296
|
+
tsSymbol: nodeValueSymbol.tsSymbol,
|
|
6297
|
+
initializerLocation: nodeValueSymbol.tcbLocation,
|
|
6289
6298
|
kind: SymbolKind.Variable,
|
|
6290
6299
|
declaration: variable,
|
|
6291
6300
|
localVarLocation: {
|
|
@@ -6452,7 +6461,7 @@ function sourceSpanEqual(a, b) {
|
|
|
6452
6461
|
return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
|
|
6453
6462
|
}
|
|
6454
6463
|
|
|
6455
|
-
// bazel-out/
|
|
6464
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
|
|
6456
6465
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
6457
6466
|
var TemplateTypeCheckerImpl = class {
|
|
6458
6467
|
constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
|
|
@@ -7149,10 +7158,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
7149
7158
|
}
|
|
7150
7159
|
};
|
|
7151
7160
|
|
|
7152
|
-
// bazel-out/
|
|
7161
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
7153
7162
|
import { Interpolation, PropertyRead as PropertyRead6 } from "@angular/compiler";
|
|
7154
7163
|
|
|
7155
|
-
// bazel-out/
|
|
7164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
7156
7165
|
import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
7157
7166
|
var TemplateCheckWithVisitor = class {
|
|
7158
7167
|
run(ctx, component, template) {
|
|
@@ -7276,7 +7285,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
|
|
|
7276
7285
|
}
|
|
7277
7286
|
};
|
|
7278
7287
|
|
|
7279
|
-
// bazel-out/
|
|
7288
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
7280
7289
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
7281
7290
|
constructor() {
|
|
7282
7291
|
super(...arguments);
|
|
@@ -7313,7 +7322,7 @@ var factory = {
|
|
|
7313
7322
|
create: () => new InterpolatedSignalCheck()
|
|
7314
7323
|
};
|
|
7315
7324
|
|
|
7316
|
-
// bazel-out/
|
|
7325
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
7317
7326
|
import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
7318
7327
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
7319
7328
|
constructor() {
|
|
@@ -7339,7 +7348,7 @@ var factory2 = {
|
|
|
7339
7348
|
create: () => new InvalidBananaInBoxCheck()
|
|
7340
7349
|
};
|
|
7341
7350
|
|
|
7342
|
-
// bazel-out/
|
|
7351
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
7343
7352
|
import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
|
|
7344
7353
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
7345
7354
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -7384,7 +7393,7 @@ var factory3 = {
|
|
|
7384
7393
|
}
|
|
7385
7394
|
};
|
|
7386
7395
|
|
|
7387
|
-
// bazel-out/
|
|
7396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
7388
7397
|
import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
|
|
7389
7398
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
7390
7399
|
constructor() {
|
|
@@ -7417,7 +7426,7 @@ var factory4 = {
|
|
|
7417
7426
|
create: () => new MissingNgForOfLetCheck()
|
|
7418
7427
|
};
|
|
7419
7428
|
|
|
7420
|
-
// bazel-out/
|
|
7429
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
7421
7430
|
import { Binary } from "@angular/compiler";
|
|
7422
7431
|
import ts32 from "typescript";
|
|
7423
7432
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7462,7 +7471,7 @@ var factory5 = {
|
|
|
7462
7471
|
}
|
|
7463
7472
|
};
|
|
7464
7473
|
|
|
7465
|
-
// bazel-out/
|
|
7474
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
7466
7475
|
import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
|
|
7467
7476
|
import ts33 from "typescript";
|
|
7468
7477
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7508,7 +7517,7 @@ var factory6 = {
|
|
|
7508
7517
|
}
|
|
7509
7518
|
};
|
|
7510
7519
|
|
|
7511
|
-
// bazel-out/
|
|
7520
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
7512
7521
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
|
|
7513
7522
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
7514
7523
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -7532,7 +7541,7 @@ var factory7 = {
|
|
|
7532
7541
|
create: () => new SuffixNotSupportedCheck()
|
|
7533
7542
|
};
|
|
7534
7543
|
|
|
7535
|
-
// bazel-out/
|
|
7544
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
7536
7545
|
import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
|
|
7537
7546
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
7538
7547
|
constructor() {
|
|
@@ -7571,10 +7580,10 @@ var factory8 = {
|
|
|
7571
7580
|
create: () => new TextAttributeNotBindingSpec()
|
|
7572
7581
|
};
|
|
7573
7582
|
|
|
7574
|
-
// bazel-out/
|
|
7583
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7575
7584
|
import ts34 from "typescript";
|
|
7576
7585
|
|
|
7577
|
-
// bazel-out/
|
|
7586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
7578
7587
|
var DiagnosticCategoryLabel;
|
|
7579
7588
|
(function(DiagnosticCategoryLabel2) {
|
|
7580
7589
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -7582,7 +7591,7 @@ var DiagnosticCategoryLabel;
|
|
|
7582
7591
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
7583
7592
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
7584
7593
|
|
|
7585
|
-
// bazel-out/
|
|
7594
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
7586
7595
|
var ExtendedTemplateCheckerImpl = class {
|
|
7587
7596
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
7588
7597
|
var _a, _b, _c, _d, _e;
|
|
@@ -7635,7 +7644,7 @@ function assertNever(value) {
|
|
|
7635
7644
|
${value}`);
|
|
7636
7645
|
}
|
|
7637
7646
|
|
|
7638
|
-
// bazel-out/
|
|
7647
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
7639
7648
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
7640
7649
|
factory2,
|
|
7641
7650
|
factory5,
|
|
@@ -7651,7 +7660,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
7651
7660
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory9) => factory9.name)
|
|
7652
7661
|
]);
|
|
7653
7662
|
|
|
7654
|
-
// bazel-out/
|
|
7663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
7655
7664
|
var CompilationTicketKind;
|
|
7656
7665
|
(function(CompilationTicketKind2) {
|
|
7657
7666
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -8416,7 +8425,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
8416
8425
|
return versions;
|
|
8417
8426
|
}
|
|
8418
8427
|
|
|
8419
|
-
// bazel-out/
|
|
8428
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
8420
8429
|
import ts36 from "typescript";
|
|
8421
8430
|
var DelegatingCompilerHost2 = class {
|
|
8422
8431
|
get jsDocParsingMode() {
|
|
@@ -8555,7 +8564,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
|
|
|
8555
8564
|
}
|
|
8556
8565
|
};
|
|
8557
8566
|
|
|
8558
|
-
// bazel-out/
|
|
8567
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
8559
8568
|
var NgtscProgram = class {
|
|
8560
8569
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
8561
8570
|
this.options = options;
|
|
@@ -8782,15 +8791,15 @@ function mergeEmitResults(emitResults) {
|
|
|
8782
8791
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
8783
8792
|
}
|
|
8784
8793
|
|
|
8785
|
-
// bazel-out/
|
|
8794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
8786
8795
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
8787
8796
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
8788
8797
|
}
|
|
8789
8798
|
|
|
8790
|
-
// bazel-out/
|
|
8799
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8791
8800
|
import ts39 from "typescript";
|
|
8792
8801
|
|
|
8793
|
-
// bazel-out/
|
|
8802
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
8794
8803
|
import ts38 from "typescript";
|
|
8795
8804
|
function createMessageDiagnostic(messageText) {
|
|
8796
8805
|
return {
|
|
@@ -8804,7 +8813,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
8804
8813
|
};
|
|
8805
8814
|
}
|
|
8806
8815
|
|
|
8807
|
-
// bazel-out/
|
|
8816
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
8808
8817
|
var defaultFormatHost = {
|
|
8809
8818
|
getCurrentDirectory: () => ts39.sys.getCurrentDirectory(),
|
|
8810
8819
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -9017,4 +9026,4 @@ export {
|
|
|
9017
9026
|
* Use of this source code is governed by an MIT-style license that can be
|
|
9018
9027
|
* found in the LICENSE file at https://angular.io/license
|
|
9019
9028
|
*/
|
|
9020
|
-
//# sourceMappingURL=chunk-
|
|
9029
|
+
//# sourceMappingURL=chunk-5YHUYFQ5.js.map
|