@angular/compiler-cli 18.1.3 → 18.1.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-XNL3EK5H.js → chunk-3W345P4E.js} +7 -7
- package/bundles/{chunk-TBAJ5CD6.js → chunk-724GY53E.js} +5 -5
- package/bundles/{chunk-NJYMXRLX.js → chunk-DIIOELYC.js} +78 -78
- package/bundles/{chunk-NJYMXRLX.js.map → chunk-DIIOELYC.js.map} +1 -1
- package/bundles/{chunk-BVJL3UL2.js → chunk-GD2SCRZ6.js} +19 -22
- package/bundles/{chunk-BVJL3UL2.js.map → chunk-GD2SCRZ6.js.map} +1 -1
- package/bundles/{chunk-AQFTVE7F.js → chunk-JZQHA4E7.js} +5 -5
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-E7DMD7OM.js → chunk-Q72OGISC.js} +128 -128
- package/bundles/{chunk-E7DMD7OM.js.map → chunk-Q72OGISC.js.map} +1 -1
- package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
- package/bundles/{chunk-HXUTQSG7.js → chunk-TNEE4FUS.js} +31 -31
- package/bundles/{chunk-AOEZR223.js → chunk-WTQ7UQOL.js} +43 -43
- package/bundles/index.js +11 -11
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/typecheck/src/expression.d.ts +12 -1
- package/src/transformers/jit_transforms/initializer_api_transforms/transform_api.d.ts +1 -1
- /package/bundles/{chunk-XNL3EK5H.js.map → chunk-3W345P4E.js.map} +0 -0
- /package/bundles/{chunk-TBAJ5CD6.js.map → chunk-724GY53E.js.map} +0 -0
- /package/bundles/{chunk-AQFTVE7F.js.map → chunk-JZQHA4E7.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
- /package/bundles/{chunk-HXUTQSG7.js.map → chunk-TNEE4FUS.js.map} +0 -0
- /package/bundles/{chunk-AOEZR223.js.map → chunk-WTQ7UQOL.js.map} +0 -0
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
retagAllTsFiles,
|
|
48
48
|
tryParseInitializerApi,
|
|
49
49
|
untagAllTsFiles
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-Q72OGISC.js";
|
|
51
51
|
import {
|
|
52
52
|
AbsoluteModuleStrategy,
|
|
53
53
|
AliasStrategy,
|
|
@@ -83,14 +83,14 @@ import {
|
|
|
83
83
|
relativePathBetween,
|
|
84
84
|
replaceTsWithNgInErrors,
|
|
85
85
|
toUnredirectedSourceFile
|
|
86
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-WTQ7UQOL.js";
|
|
87
87
|
import {
|
|
88
88
|
ActivePerfRecorder,
|
|
89
89
|
DelegatingPerfRecorder,
|
|
90
90
|
PerfCheckpoint,
|
|
91
91
|
PerfEvent,
|
|
92
92
|
PerfPhase
|
|
93
|
-
} from "./chunk-
|
|
93
|
+
} from "./chunk-JZQHA4E7.js";
|
|
94
94
|
import {
|
|
95
95
|
LogicalFileSystem,
|
|
96
96
|
absoluteFrom,
|
|
@@ -99,9 +99,9 @@ import {
|
|
|
99
99
|
getFileSystem,
|
|
100
100
|
join,
|
|
101
101
|
resolve
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-3W345P4E.js";
|
|
103
103
|
|
|
104
|
-
// bazel-out/
|
|
104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
|
|
105
105
|
var DEFAULT_ERROR_CODE = 100;
|
|
106
106
|
var UNKNOWN_ERROR_CODE = 500;
|
|
107
107
|
var SOURCE = "angular";
|
|
@@ -119,7 +119,7 @@ var EmitFlags;
|
|
|
119
119
|
EmitFlags2[EmitFlags2["All"] = 31] = "All";
|
|
120
120
|
})(EmitFlags || (EmitFlags = {}));
|
|
121
121
|
|
|
122
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
|
|
123
123
|
import ts from "typescript";
|
|
124
124
|
var wrapHostForTest = null;
|
|
125
125
|
function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
|
|
@@ -129,7 +129,7 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
|
|
|
129
129
|
return tsHost;
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
// bazel-out/
|
|
132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/entities.mjs
|
|
133
133
|
var EntryType;
|
|
134
134
|
(function(EntryType2) {
|
|
135
135
|
EntryType2["Block"] = "block";
|
|
@@ -176,23 +176,23 @@ function isDocEntryWithSourceInfo(entry) {
|
|
|
176
176
|
return "source" in entry;
|
|
177
177
|
}
|
|
178
178
|
|
|
179
|
-
// bazel-out/
|
|
179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
180
180
|
import ts10 from "typescript";
|
|
181
181
|
|
|
182
|
-
// bazel-out/
|
|
182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
183
183
|
import ts5 from "typescript";
|
|
184
184
|
|
|
185
|
-
// bazel-out/
|
|
185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/filters.mjs
|
|
186
186
|
function isAngularPrivateName(name) {
|
|
187
187
|
var _a;
|
|
188
188
|
const firstChar = (_a = name[0]) != null ? _a : "";
|
|
189
189
|
return firstChar === "\u0275" || firstChar === "_";
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
193
193
|
import ts3 from "typescript";
|
|
194
194
|
|
|
195
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/generics_extractor.mjs
|
|
196
196
|
function extractGenerics(declaration) {
|
|
197
197
|
var _a, _b;
|
|
198
198
|
return (_b = (_a = declaration.typeParameters) == null ? void 0 : _a.map((typeParam) => {
|
|
@@ -205,7 +205,7 @@ function extractGenerics(declaration) {
|
|
|
205
205
|
})) != null ? _b : [];
|
|
206
206
|
}
|
|
207
207
|
|
|
208
|
-
// bazel-out/
|
|
208
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/jsdoc_extractor.mjs
|
|
209
209
|
import ts2 from "typescript";
|
|
210
210
|
var decoratorExpression = /@(?=(Injectable|Component|Directive|Pipe|NgModule|Input|Output|HostBinding|HostListener|Inject|Optional|Self|Host|SkipSelf|ViewChild|ViewChildren|ContentChild|ContentChildren))/g;
|
|
211
211
|
function extractJsDocTags(node) {
|
|
@@ -249,12 +249,12 @@ function unescapeAngularDecorators(comment) {
|
|
|
249
249
|
return comment.replace(/_NG_AT_/g, "@");
|
|
250
250
|
}
|
|
251
251
|
|
|
252
|
-
// bazel-out/
|
|
252
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_extractor.mjs
|
|
253
253
|
function extractResolvedTypeString(node, checker) {
|
|
254
254
|
return checker.typeToString(checker.getTypeAtLocation(node));
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
// bazel-out/
|
|
257
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/function_extractor.mjs
|
|
258
258
|
var FunctionExtractor = class {
|
|
259
259
|
constructor(name, declaration, typeChecker) {
|
|
260
260
|
this.name = name;
|
|
@@ -317,7 +317,7 @@ function extractAllParams(params, typeChecker) {
|
|
|
317
317
|
}));
|
|
318
318
|
}
|
|
319
319
|
|
|
320
|
-
// bazel-out/
|
|
320
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/internal.mjs
|
|
321
321
|
import ts4 from "typescript";
|
|
322
322
|
function isInternal(member) {
|
|
323
323
|
return extractJsDocTags(member).some((tag) => tag.name === "internal") || hasLeadingInternalComment(member);
|
|
@@ -336,7 +336,7 @@ function hasLeadingInternalComment(member) {
|
|
|
336
336
|
)) != null ? _a : false;
|
|
337
337
|
}
|
|
338
338
|
|
|
339
|
-
// bazel-out/
|
|
339
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/class_extractor.mjs
|
|
340
340
|
var ClassExtractor = class {
|
|
341
341
|
constructor(declaration, typeChecker) {
|
|
342
342
|
this.declaration = declaration;
|
|
@@ -600,7 +600,7 @@ function extractInterface(declaration, typeChecker) {
|
|
|
600
600
|
return extractor.extract();
|
|
601
601
|
}
|
|
602
602
|
|
|
603
|
-
// bazel-out/
|
|
603
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/constant_extractor.mjs
|
|
604
604
|
import ts6 from "typescript";
|
|
605
605
|
var LITERAL_AS_ENUM_TAG = "object-literal-as-enum";
|
|
606
606
|
function extractConstant(declaration, typeChecker) {
|
|
@@ -658,7 +658,7 @@ function extractLiteralPropertiesAsEnumMembers(declaration) {
|
|
|
658
658
|
});
|
|
659
659
|
}
|
|
660
660
|
|
|
661
|
-
// bazel-out/
|
|
661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/decorator_extractor.mjs
|
|
662
662
|
import ts7 from "typescript";
|
|
663
663
|
function extractorDecorator(declaration, typeChecker) {
|
|
664
664
|
const documentedNode = getDecoratorJsDocNode(declaration);
|
|
@@ -731,7 +731,7 @@ function getDecoratorJsDocNode(declaration) {
|
|
|
731
731
|
return callSignature;
|
|
732
732
|
}
|
|
733
733
|
|
|
734
|
-
// bazel-out/
|
|
734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/enum_extractor.mjs
|
|
735
735
|
import ts8 from "typescript";
|
|
736
736
|
function extractEnum(declaration, typeChecker) {
|
|
737
737
|
return {
|
|
@@ -762,7 +762,7 @@ function getEnumMemberValue(memberNode) {
|
|
|
762
762
|
return (_a = literal == null ? void 0 : literal.getText()) != null ? _a : "";
|
|
763
763
|
}
|
|
764
764
|
|
|
765
|
-
// bazel-out/
|
|
765
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/initializer_api_function_extractor.mjs
|
|
766
766
|
import ts9 from "typescript";
|
|
767
767
|
var initializerApiTag = "initializerApiFunction";
|
|
768
768
|
function isInitializerApiFunction(node, typeChecker) {
|
|
@@ -903,7 +903,7 @@ function findImplementationOfFunction(node, typeChecker) {
|
|
|
903
903
|
return (_a = symbol == null ? void 0 : symbol.declarations) == null ? void 0 : _a.find((s) => ts9.isFunctionDeclaration(s) && s.body !== void 0);
|
|
904
904
|
}
|
|
905
905
|
|
|
906
|
-
// bazel-out/
|
|
906
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/type_alias_extractor.mjs
|
|
907
907
|
function extractTypeAlias(declaration) {
|
|
908
908
|
return {
|
|
909
909
|
name: declaration.name.getText(),
|
|
@@ -915,7 +915,7 @@ function extractTypeAlias(declaration) {
|
|
|
915
915
|
};
|
|
916
916
|
}
|
|
917
917
|
|
|
918
|
-
// bazel-out/
|
|
918
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/docs/src/extractor.mjs
|
|
919
919
|
var DocsExtractor = class {
|
|
920
920
|
constructor(typeChecker, metadataReader) {
|
|
921
921
|
this.typeChecker = typeChecker;
|
|
@@ -999,11 +999,11 @@ function getRelativeFilePath(sourceFile, rootDir) {
|
|
|
999
999
|
return relativePath;
|
|
1000
1000
|
}
|
|
1001
1001
|
|
|
1002
|
-
// bazel-out/
|
|
1002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
1003
1003
|
import { HtmlParser, MessageBundle } from "@angular/compiler";
|
|
1004
1004
|
import ts24 from "typescript";
|
|
1005
1005
|
|
|
1006
|
-
// bazel-out/
|
|
1006
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
|
|
1007
1007
|
import { Xliff, Xliff2, Xmb } from "@angular/compiler";
|
|
1008
1008
|
import * as path from "path";
|
|
1009
1009
|
function i18nGetExtension(formatName) {
|
|
@@ -1054,10 +1054,10 @@ function getPathNormalizer(basePath) {
|
|
|
1054
1054
|
};
|
|
1055
1055
|
}
|
|
1056
1056
|
|
|
1057
|
-
// bazel-out/
|
|
1057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1058
1058
|
import ts11 from "typescript";
|
|
1059
1059
|
|
|
1060
|
-
// bazel-out/
|
|
1060
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
|
|
1061
1061
|
function toNumbers(value) {
|
|
1062
1062
|
const suffixIndex = value.lastIndexOf("-");
|
|
1063
1063
|
return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
|
|
@@ -1092,7 +1092,7 @@ function compareVersions(v1, v2) {
|
|
|
1092
1092
|
return compareNumbers(toNumbers(v1), toNumbers(v2));
|
|
1093
1093
|
}
|
|
1094
1094
|
|
|
1095
|
-
// bazel-out/
|
|
1095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
|
|
1096
1096
|
var MIN_TS_VERSION = "5.4.0";
|
|
1097
1097
|
var MAX_TS_VERSION = "5.6.0";
|
|
1098
1098
|
var tsVersion = ts11.version;
|
|
@@ -1105,11 +1105,11 @@ function verifySupportedTypeScriptVersion() {
|
|
|
1105
1105
|
checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
|
|
1106
1106
|
}
|
|
1107
1107
|
|
|
1108
|
-
// bazel-out/
|
|
1108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
1109
1109
|
import { R3Identifiers } from "@angular/compiler";
|
|
1110
1110
|
import ts22 from "typescript";
|
|
1111
1111
|
|
|
1112
|
-
// bazel-out/
|
|
1112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
|
|
1113
1113
|
var CycleAnalyzer = class {
|
|
1114
1114
|
constructor(importGraph) {
|
|
1115
1115
|
this.importGraph = importGraph;
|
|
@@ -1180,7 +1180,7 @@ var Cycle = class {
|
|
|
1180
1180
|
}
|
|
1181
1181
|
};
|
|
1182
1182
|
|
|
1183
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
|
|
1184
1184
|
import ts12 from "typescript";
|
|
1185
1185
|
var ImportGraph = class {
|
|
1186
1186
|
constructor(checker, perf) {
|
|
@@ -1272,7 +1272,7 @@ var Found = class {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
};
|
|
1274
1274
|
|
|
1275
|
-
// bazel-out/
|
|
1275
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
|
|
1276
1276
|
import ts13 from "typescript";
|
|
1277
1277
|
var FlatIndexGenerator = class {
|
|
1278
1278
|
constructor(entryPoint, relativeFlatIndexPath, moduleName) {
|
|
@@ -1297,7 +1297,7 @@ export * from '${relativeEntryPoint}';
|
|
|
1297
1297
|
}
|
|
1298
1298
|
};
|
|
1299
1299
|
|
|
1300
|
-
// bazel-out/
|
|
1300
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
|
|
1301
1301
|
function findFlatIndexEntryPoint(rootFiles) {
|
|
1302
1302
|
const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
|
|
1303
1303
|
let resolvedEntryPoint = null;
|
|
@@ -1313,7 +1313,7 @@ function findFlatIndexEntryPoint(rootFiles) {
|
|
|
1313
1313
|
return resolvedEntryPoint;
|
|
1314
1314
|
}
|
|
1315
1315
|
|
|
1316
|
-
// bazel-out/
|
|
1316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
|
|
1317
1317
|
import ts14 from "typescript";
|
|
1318
1318
|
function checkForPrivateExports(entryPoint, checker, refGraph) {
|
|
1319
1319
|
const diagnostics = [];
|
|
@@ -1393,7 +1393,7 @@ function getDescriptorOfDeclaration(decl) {
|
|
|
1393
1393
|
}
|
|
1394
1394
|
}
|
|
1395
1395
|
|
|
1396
|
-
// bazel-out/
|
|
1396
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
|
|
1397
1397
|
var ReferenceGraph = class {
|
|
1398
1398
|
constructor() {
|
|
1399
1399
|
this.references = /* @__PURE__ */ new Map();
|
|
@@ -1447,7 +1447,7 @@ var ReferenceGraph = class {
|
|
|
1447
1447
|
}
|
|
1448
1448
|
};
|
|
1449
1449
|
|
|
1450
|
-
// bazel-out/
|
|
1450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
|
|
1451
1451
|
var FileDependencyGraph = class {
|
|
1452
1452
|
constructor() {
|
|
1453
1453
|
this.nodes = /* @__PURE__ */ new Map();
|
|
@@ -1514,7 +1514,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
|
|
|
1514
1514
|
return false;
|
|
1515
1515
|
}
|
|
1516
1516
|
|
|
1517
|
-
// bazel-out/
|
|
1517
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
|
|
1518
1518
|
var IncrementalStateKind;
|
|
1519
1519
|
(function(IncrementalStateKind2) {
|
|
1520
1520
|
IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -1522,7 +1522,7 @@ var IncrementalStateKind;
|
|
|
1522
1522
|
IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
|
|
1523
1523
|
})(IncrementalStateKind || (IncrementalStateKind = {}));
|
|
1524
1524
|
|
|
1525
|
-
// bazel-out/
|
|
1525
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
|
|
1526
1526
|
var PhaseKind;
|
|
1527
1527
|
(function(PhaseKind2) {
|
|
1528
1528
|
PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
|
|
@@ -1723,7 +1723,7 @@ function toOriginalSourceFile(sf) {
|
|
|
1723
1723
|
}
|
|
1724
1724
|
}
|
|
1725
1725
|
|
|
1726
|
-
// bazel-out/
|
|
1726
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
|
|
1727
1727
|
var TrackedIncrementalBuildStrategy = class {
|
|
1728
1728
|
constructor() {
|
|
1729
1729
|
this.state = null;
|
|
@@ -1759,7 +1759,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
|
|
|
1759
1759
|
};
|
|
1760
1760
|
var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
|
|
1761
1761
|
|
|
1762
|
-
// bazel-out/
|
|
1762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
|
|
1763
1763
|
var IdentifierKind;
|
|
1764
1764
|
(function(IdentifierKind2) {
|
|
1765
1765
|
IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
|
|
@@ -1778,7 +1778,7 @@ var AbsoluteSourceSpan = class {
|
|
|
1778
1778
|
}
|
|
1779
1779
|
};
|
|
1780
1780
|
|
|
1781
|
-
// bazel-out/
|
|
1781
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
|
|
1782
1782
|
var IndexingContext = class {
|
|
1783
1783
|
constructor() {
|
|
1784
1784
|
this.components = /* @__PURE__ */ new Set();
|
|
@@ -1788,10 +1788,10 @@ var IndexingContext = class {
|
|
|
1788
1788
|
}
|
|
1789
1789
|
};
|
|
1790
1790
|
|
|
1791
|
-
// bazel-out/
|
|
1791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
1792
1792
|
import { ParseSourceFile } from "@angular/compiler";
|
|
1793
1793
|
|
|
1794
|
-
// bazel-out/
|
|
1794
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
|
|
1795
1795
|
import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstBoundDeferredTrigger, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate, TmplAstVariable } from "@angular/compiler";
|
|
1796
1796
|
var ExpressionVisitor = class extends RecursiveAstVisitor {
|
|
1797
1797
|
constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
|
|
@@ -2086,7 +2086,7 @@ function getTemplateIdentifiers(boundTemplate) {
|
|
|
2086
2086
|
return { identifiers: visitor.identifiers, errors: visitor.errors };
|
|
2087
2087
|
}
|
|
2088
2088
|
|
|
2089
|
-
// bazel-out/
|
|
2089
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
|
|
2090
2090
|
function generateAnalysis(context) {
|
|
2091
2091
|
const analysis = /* @__PURE__ */ new Map();
|
|
2092
2092
|
context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
|
|
@@ -2122,7 +2122,7 @@ function generateAnalysis(context) {
|
|
|
2122
2122
|
return analysis;
|
|
2123
2123
|
}
|
|
2124
2124
|
|
|
2125
|
-
// bazel-out/
|
|
2125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
|
|
2126
2126
|
var NgModuleIndexImpl = class {
|
|
2127
2127
|
constructor(metaReader, localReader) {
|
|
2128
2128
|
this.metaReader = metaReader;
|
|
@@ -2211,7 +2211,7 @@ var NgModuleIndexImpl = class {
|
|
|
2211
2211
|
}
|
|
2212
2212
|
};
|
|
2213
2213
|
|
|
2214
|
-
// bazel-out/
|
|
2214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
|
|
2215
2215
|
import ts15 from "typescript";
|
|
2216
2216
|
var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
|
|
2217
2217
|
var RESOURCE_MARKER = ".$ngresource$";
|
|
@@ -2361,7 +2361,7 @@ function createLookupResolutionHost(adapter) {
|
|
|
2361
2361
|
};
|
|
2362
2362
|
}
|
|
2363
2363
|
|
|
2364
|
-
// bazel-out/
|
|
2364
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
|
|
2365
2365
|
var StandaloneComponentScopeReader = class {
|
|
2366
2366
|
constructor(metaReader, localModuleReader, dtsModuleReader) {
|
|
2367
2367
|
this.metaReader = metaReader;
|
|
@@ -2457,10 +2457,10 @@ var StandaloneComponentScopeReader = class {
|
|
|
2457
2457
|
}
|
|
2458
2458
|
};
|
|
2459
2459
|
|
|
2460
|
-
// bazel-out/
|
|
2460
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2461
2461
|
import { ASTWithSource as ASTWithSource3, BindingType, Interpolation, PropertyRead as PropertyRead2, TmplAstBoundAttribute } from "@angular/compiler";
|
|
2462
2462
|
|
|
2463
|
-
// bazel-out/
|
|
2463
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/symbol_util.mjs
|
|
2464
2464
|
import ts16 from "typescript";
|
|
2465
2465
|
var SIGNAL_FNS = /* @__PURE__ */ new Set([
|
|
2466
2466
|
"WritableSignal",
|
|
@@ -2480,7 +2480,7 @@ function isSignalSymbol(symbol) {
|
|
|
2480
2480
|
});
|
|
2481
2481
|
}
|
|
2482
2482
|
|
|
2483
|
-
// bazel-out/
|
|
2483
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
|
|
2484
2484
|
import { ASTWithSource as ASTWithSource2, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstBoundDeferredTrigger as TmplAstBoundDeferredTrigger2 } from "@angular/compiler";
|
|
2485
2485
|
var TemplateCheckWithVisitor = class {
|
|
2486
2486
|
run(ctx, component, template) {
|
|
@@ -2608,7 +2608,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor2 {
|
|
|
2608
2608
|
}
|
|
2609
2609
|
};
|
|
2610
2610
|
|
|
2611
|
-
// bazel-out/
|
|
2611
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/interpolated_signal_not_invoked/index.mjs
|
|
2612
2612
|
var SIGNAL_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["set", "update", "asReadonly"]);
|
|
2613
2613
|
var FUNCTION_INSTANCE_PROPERTIES = /* @__PURE__ */ new Set(["name", "length", "prototype"]);
|
|
2614
2614
|
var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2620,8 +2620,8 @@ var InterpolatedSignalCheck = class extends TemplateCheckWithVisitor {
|
|
|
2620
2620
|
if (node instanceof Interpolation) {
|
|
2621
2621
|
return node.expressions.filter((item) => item instanceof PropertyRead2).flatMap((item) => buildDiagnosticForSignal(ctx, item, component));
|
|
2622
2622
|
} else if (node instanceof TmplAstBoundAttribute) {
|
|
2623
|
-
const
|
|
2624
|
-
if (
|
|
2623
|
+
const usedDirectives = ctx.templateTypeChecker.getUsedDirectives(component);
|
|
2624
|
+
if (usedDirectives !== null && usedDirectives.some((dir) => dir.inputs.getByBindingPropertyName(node.name) !== null)) {
|
|
2625
2625
|
return [];
|
|
2626
2626
|
}
|
|
2627
2627
|
if ((node.type === BindingType.Property || node.type === BindingType.Class || node.type === BindingType.Style || node.type === BindingType.Attribute || node.type === BindingType.Animation) && node.value instanceof ASTWithSource3 && node.value.ast instanceof PropertyRead2) {
|
|
@@ -2660,7 +2660,7 @@ var factory = {
|
|
|
2660
2660
|
create: () => new InterpolatedSignalCheck()
|
|
2661
2661
|
};
|
|
2662
2662
|
|
|
2663
|
-
// bazel-out/
|
|
2663
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
|
|
2664
2664
|
import { TmplAstBoundEvent } from "@angular/compiler";
|
|
2665
2665
|
var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
|
|
2666
2666
|
constructor() {
|
|
@@ -2686,7 +2686,7 @@ var factory2 = {
|
|
|
2686
2686
|
create: () => new InvalidBananaInBoxCheck()
|
|
2687
2687
|
};
|
|
2688
2688
|
|
|
2689
|
-
// bazel-out/
|
|
2689
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
|
|
2690
2690
|
import { TmplAstTemplate as TmplAstTemplate2 } from "@angular/compiler";
|
|
2691
2691
|
var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
|
|
2692
2692
|
["ngIf", { directive: "NgIf", builtIn: "@if" }],
|
|
@@ -2731,7 +2731,7 @@ var factory3 = {
|
|
|
2731
2731
|
}
|
|
2732
2732
|
};
|
|
2733
2733
|
|
|
2734
|
-
// bazel-out/
|
|
2734
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
|
|
2735
2735
|
import { TmplAstTemplate as TmplAstTemplate3 } from "@angular/compiler";
|
|
2736
2736
|
var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
|
|
2737
2737
|
constructor() {
|
|
@@ -2764,7 +2764,7 @@ var factory4 = {
|
|
|
2764
2764
|
create: () => new MissingNgForOfLetCheck()
|
|
2765
2765
|
};
|
|
2766
2766
|
|
|
2767
|
-
// bazel-out/
|
|
2767
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
|
|
2768
2768
|
import { Binary } from "@angular/compiler";
|
|
2769
2769
|
import ts17 from "typescript";
|
|
2770
2770
|
var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2809,7 +2809,7 @@ var factory5 = {
|
|
|
2809
2809
|
}
|
|
2810
2810
|
};
|
|
2811
2811
|
|
|
2812
|
-
// bazel-out/
|
|
2812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
|
|
2813
2813
|
import { SafeCall, SafeKeyedRead, SafePropertyRead } from "@angular/compiler";
|
|
2814
2814
|
import ts18 from "typescript";
|
|
2815
2815
|
var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2855,7 +2855,7 @@ var factory6 = {
|
|
|
2855
2855
|
}
|
|
2856
2856
|
};
|
|
2857
2857
|
|
|
2858
|
-
// bazel-out/
|
|
2858
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
|
|
2859
2859
|
import { TmplAstBoundAttribute as TmplAstBoundAttribute2 } from "@angular/compiler";
|
|
2860
2860
|
var STYLE_SUFFIXES = ["px", "%", "em"];
|
|
2861
2861
|
var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
|
|
@@ -2879,7 +2879,7 @@ var factory7 = {
|
|
|
2879
2879
|
create: () => new SuffixNotSupportedCheck()
|
|
2880
2880
|
};
|
|
2881
2881
|
|
|
2882
|
-
// bazel-out/
|
|
2882
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
|
|
2883
2883
|
import { TmplAstTextAttribute } from "@angular/compiler";
|
|
2884
2884
|
var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2885
2885
|
constructor() {
|
|
@@ -2918,7 +2918,7 @@ var factory8 = {
|
|
|
2918
2918
|
create: () => new TextAttributeNotBindingSpec()
|
|
2919
2919
|
};
|
|
2920
2920
|
|
|
2921
|
-
// bazel-out/
|
|
2921
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/uninvoked_function_in_event_binding/index.mjs
|
|
2922
2922
|
import { ASTWithSource as ASTWithSource4, Call, Chain, Conditional, ParsedEventType, PropertyRead as PropertyRead3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead2, TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
|
|
2923
2923
|
var UninvokedFunctionInEventBindingSpec = class extends TemplateCheckWithVisitor {
|
|
2924
2924
|
constructor() {
|
|
@@ -2970,10 +2970,10 @@ var factory9 = {
|
|
|
2970
2970
|
create: () => new UninvokedFunctionInEventBindingSpec()
|
|
2971
2971
|
};
|
|
2972
2972
|
|
|
2973
|
-
// bazel-out/
|
|
2973
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2974
2974
|
import ts19 from "typescript";
|
|
2975
2975
|
|
|
2976
|
-
// bazel-out/
|
|
2976
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
|
|
2977
2977
|
var DiagnosticCategoryLabel;
|
|
2978
2978
|
(function(DiagnosticCategoryLabel2) {
|
|
2979
2979
|
DiagnosticCategoryLabel2["Warning"] = "warning";
|
|
@@ -2981,7 +2981,7 @@ var DiagnosticCategoryLabel;
|
|
|
2981
2981
|
DiagnosticCategoryLabel2["Suppress"] = "suppress";
|
|
2982
2982
|
})(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
|
|
2983
2983
|
|
|
2984
|
-
// bazel-out/
|
|
2984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
|
|
2985
2985
|
var ExtendedTemplateCheckerImpl = class {
|
|
2986
2986
|
constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
|
|
2987
2987
|
var _a, _b, _c, _d, _e;
|
|
@@ -3034,7 +3034,7 @@ function assertNever(value) {
|
|
|
3034
3034
|
${value}`);
|
|
3035
3035
|
}
|
|
3036
3036
|
|
|
3037
|
-
// bazel-out/
|
|
3037
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
|
|
3038
3038
|
var ALL_DIAGNOSTIC_FACTORIES = [
|
|
3039
3039
|
factory2,
|
|
3040
3040
|
factory5,
|
|
@@ -3051,7 +3051,7 @@ var SUPPORTED_DIAGNOSTIC_NAMES = /* @__PURE__ */ new Set([
|
|
|
3051
3051
|
...ALL_DIAGNOSTIC_FACTORIES.map((factory10) => factory10.name)
|
|
3052
3052
|
]);
|
|
3053
3053
|
|
|
3054
|
-
// bazel-out/
|
|
3054
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/template_semantics/src/template_semantics_checker.mjs
|
|
3055
3055
|
import { ASTWithSource as ASTWithSource5, ImplicitReceiver as ImplicitReceiver2, ParsedEventType as ParsedEventType2, RecursiveAstVisitor as RecursiveAstVisitor3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstLetDeclaration, TmplAstRecursiveVisitor as TmplAstRecursiveVisitor2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
3056
3056
|
import ts20 from "typescript";
|
|
3057
3057
|
var TemplateSemanticsCheckerImpl = class {
|
|
@@ -3142,7 +3142,7 @@ function unwrapAstWithSource(ast) {
|
|
|
3142
3142
|
return ast instanceof ASTWithSource5 ? ast.ast : ast;
|
|
3143
3143
|
}
|
|
3144
3144
|
|
|
3145
|
-
// bazel-out/
|
|
3145
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/rules/initializer_api_usage_rule.mjs
|
|
3146
3146
|
import ts21 from "typescript";
|
|
3147
3147
|
var APIS_TO_CHECK = [
|
|
3148
3148
|
INPUT_INITIALIZER_FN,
|
|
@@ -3193,7 +3193,7 @@ var InitializerApiUsageRule = class {
|
|
|
3193
3193
|
}
|
|
3194
3194
|
};
|
|
3195
3195
|
|
|
3196
|
-
// bazel-out/
|
|
3196
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/validation/src/source_file_validator.mjs
|
|
3197
3197
|
var SourceFileValidator = class {
|
|
3198
3198
|
constructor(reflector, importedSymbolsTracker) {
|
|
3199
3199
|
this.rules = [new InitializerApiUsageRule(reflector, importedSymbolsTracker)];
|
|
@@ -3231,7 +3231,7 @@ var SourceFileValidator = class {
|
|
|
3231
3231
|
}
|
|
3232
3232
|
};
|
|
3233
3233
|
|
|
3234
|
-
// bazel-out/
|
|
3234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/core_version.mjs
|
|
3235
3235
|
function coreHasSymbol(program, symbol) {
|
|
3236
3236
|
const checker = program.getTypeChecker();
|
|
3237
3237
|
for (const sf of program.getSourceFiles().filter(isMaybeCore)) {
|
|
@@ -3250,7 +3250,7 @@ function isMaybeCore(sf) {
|
|
|
3250
3250
|
return sf.isDeclarationFile && sf.fileName.includes("@angular/core") && sf.fileName.endsWith("index.d.ts");
|
|
3251
3251
|
}
|
|
3252
3252
|
|
|
3253
|
-
// bazel-out/
|
|
3253
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/feature_detection.mjs
|
|
3254
3254
|
import semver from "semver";
|
|
3255
3255
|
function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
3256
3256
|
if (coreVersion === `0.0.0-${"PLACEHOLDER"}`) {
|
|
@@ -3259,7 +3259,7 @@ function coreVersionSupportsFeature(coreVersion, minVersion) {
|
|
|
3259
3259
|
return semver.satisfies(coreVersion, minVersion);
|
|
3260
3260
|
}
|
|
3261
3261
|
|
|
3262
|
-
// bazel-out/
|
|
3262
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
|
|
3263
3263
|
var CompilationTicketKind;
|
|
3264
3264
|
(function(CompilationTicketKind2) {
|
|
3265
3265
|
CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
|
|
@@ -4059,7 +4059,7 @@ function versionMapFromProgram(program, driver) {
|
|
|
4059
4059
|
return versions;
|
|
4060
4060
|
}
|
|
4061
4061
|
|
|
4062
|
-
// bazel-out/
|
|
4062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
|
|
4063
4063
|
import ts23 from "typescript";
|
|
4064
4064
|
var DelegatingCompilerHost = class {
|
|
4065
4065
|
get jsDocParsingMode() {
|
|
@@ -4198,7 +4198,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost {
|
|
|
4198
4198
|
}
|
|
4199
4199
|
};
|
|
4200
4200
|
|
|
4201
|
-
// bazel-out/
|
|
4201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
|
|
4202
4202
|
var NgtscProgram = class {
|
|
4203
4203
|
constructor(rootNames, options, delegateHost, oldProgram) {
|
|
4204
4204
|
this.options = options;
|
|
@@ -4424,15 +4424,15 @@ function mergeEmitResults(emitResults) {
|
|
|
4424
4424
|
return { diagnostics, emitSkipped, emittedFiles };
|
|
4425
4425
|
}
|
|
4426
4426
|
|
|
4427
|
-
// bazel-out/
|
|
4427
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
|
|
4428
4428
|
function createProgram({ rootNames, options, host, oldProgram }) {
|
|
4429
4429
|
return new NgtscProgram(rootNames, options, host, oldProgram);
|
|
4430
4430
|
}
|
|
4431
4431
|
|
|
4432
|
-
// bazel-out/
|
|
4432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4433
4433
|
import ts26 from "typescript";
|
|
4434
4434
|
|
|
4435
|
-
// bazel-out/
|
|
4435
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
|
|
4436
4436
|
import ts25 from "typescript";
|
|
4437
4437
|
function createMessageDiagnostic(messageText) {
|
|
4438
4438
|
return {
|
|
@@ -4446,7 +4446,7 @@ function createMessageDiagnostic(messageText) {
|
|
|
4446
4446
|
};
|
|
4447
4447
|
}
|
|
4448
4448
|
|
|
4449
|
-
// bazel-out/
|
|
4449
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
|
|
4450
4450
|
var defaultFormatHost = {
|
|
4451
4451
|
getCurrentDirectory: () => ts26.sys.getCurrentDirectory(),
|
|
4452
4452
|
getCanonicalFileName: (fileName) => fileName,
|
|
@@ -4677,4 +4677,4 @@ export {
|
|
|
4677
4677
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4678
4678
|
* found in the LICENSE file at https://angular.io/license
|
|
4679
4679
|
*/
|
|
4680
|
-
//# sourceMappingURL=chunk-
|
|
4680
|
+
//# sourceMappingURL=chunk-DIIOELYC.js.map
|