@angular/compiler-cli 20.1.0-next.1 → 20.1.0-next.3
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-U5SKOFKE.js → chunk-3NKMA2JO.js} +2 -2
- package/bundles/{chunk-CZ5FD3CS.js → chunk-6ECVYRSU.js} +19 -8
- package/bundles/chunk-6ECVYRSU.js.map +6 -0
- package/bundles/{chunk-OVACIG5Q.js → chunk-DI76UIWO.js} +3 -3
- package/bundles/{chunk-N3B6BMGR.js → chunk-FPHHL4UV.js} +45 -34
- package/bundles/{chunk-N3B6BMGR.js.map → chunk-FPHHL4UV.js.map} +1 -1
- package/bundles/{chunk-FPJJEIPU.js → chunk-J27XEXWK.js} +11 -11
- package/bundles/{chunk-UMD7AW7S.js → chunk-JVXFMHZL.js} +316 -223
- package/bundles/chunk-JVXFMHZL.js.map +6 -0
- package/bundles/{chunk-OOYRM3V7.js → chunk-M6L5FWG4.js} +83 -83
- package/bundles/{chunk-OOYRM3V7.js.map → chunk-M6L5FWG4.js.map} +2 -2
- package/bundles/{chunk-NVYT6OPE.js → chunk-PML5JK7B.js} +7 -7
- package/bundles/{chunk-H5Y7P5GQ.js → chunk-SEKYV57I.js} +3 -3
- package/bundles/{chunk-3AHGFMNS.js → chunk-TPEB2IXF.js} +7 -7
- package/bundles/{chunk-CY4WXRF2.js → chunk-YYCGL737.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +25 -14
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +3 -3
- package/bundles/private/localize.js +4 -4
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +6 -6
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/linker/babel/src/ast/babel_ast_factory.d.ts +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/src/ngtsc/annotations/component/src/metadata.d.ts +3 -1
- package/src/ngtsc/perf/src/api.d.ts +12 -8
- package/src/ngtsc/translator/src/api/ast_factory.d.ts +3 -2
- package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -1
- package/src/ngtsc/typecheck/api/checker.d.ts +3 -2
- package/src/ngtsc/typecheck/api/scope.d.ts +24 -2
- package/src/ngtsc/typecheck/src/checker.d.ts +6 -2
- package/src/ngtsc/typecheck/src/oob.d.ts +7 -4
- package/bundles/chunk-CZ5FD3CS.js.map +0 -6
- package/bundles/chunk-UMD7AW7S.js.map +0 -6
- /package/bundles/{chunk-U5SKOFKE.js.map → chunk-3NKMA2JO.js.map} +0 -0
- /package/bundles/{chunk-OVACIG5Q.js.map → chunk-DI76UIWO.js.map} +0 -0
- /package/bundles/{chunk-FPJJEIPU.js.map → chunk-J27XEXWK.js.map} +0 -0
- /package/bundles/{chunk-NVYT6OPE.js.map → chunk-PML5JK7B.js.map} +0 -0
- /package/bundles/{chunk-H5Y7P5GQ.js.map → chunk-SEKYV57I.js.map} +0 -0
- /package/bundles/{chunk-3AHGFMNS.js.map → chunk-TPEB2IXF.js.map} +0 -0
- /package/bundles/{chunk-CY4WXRF2.js.map → chunk-YYCGL737.js.map} +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-6ECVYRSU.js";
|
|
9
9
|
import {
|
|
10
10
|
LogicalProjectPath,
|
|
11
11
|
absoluteFrom,
|
|
@@ -17,12 +17,12 @@ import {
|
|
|
17
17
|
resolve,
|
|
18
18
|
stripExtension,
|
|
19
19
|
toRelativeImport
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-TPEB2IXF.js";
|
|
21
21
|
import {
|
|
22
22
|
__publicField
|
|
23
23
|
} from "./chunk-KPQ72R34.js";
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.js
|
|
26
26
|
var ErrorCode;
|
|
27
27
|
(function(ErrorCode2) {
|
|
28
28
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -129,7 +129,7 @@ var ErrorCode;
|
|
|
129
129
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
130
130
|
})(ErrorCode || (ErrorCode = {}));
|
|
131
131
|
|
|
132
|
-
// bazel-out/
|
|
132
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.js
|
|
133
133
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
134
134
|
function replaceTsWithNgInErrors(errors) {
|
|
135
135
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -138,7 +138,7 @@ function ngErrorCode(code) {
|
|
|
138
138
|
return parseInt("-99" + code);
|
|
139
139
|
}
|
|
140
140
|
|
|
141
|
-
// bazel-out/
|
|
141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.js
|
|
142
142
|
import ts from "typescript";
|
|
143
143
|
var FatalDiagnosticError = class extends Error {
|
|
144
144
|
code;
|
|
@@ -207,7 +207,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
207
207
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
208
208
|
}
|
|
209
209
|
|
|
210
|
-
// bazel-out/
|
|
210
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.js
|
|
211
211
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
212
212
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
213
213
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -219,10 +219,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
219
219
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
220
220
|
]);
|
|
221
221
|
|
|
222
|
-
// bazel-out/
|
|
222
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.js
|
|
223
223
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
224
224
|
|
|
225
|
-
// bazel-out/
|
|
225
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.js
|
|
226
226
|
var ExtendedTemplateDiagnosticName;
|
|
227
227
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
228
228
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -243,10 +243,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
243
243
|
ExtendedTemplateDiagnosticName2["UNPARENTHESIZED_NULLISH_COALESCING"] = "unparenthesizedNullishCoalescing";
|
|
244
244
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
247
247
|
import ts5 from "typescript";
|
|
248
248
|
|
|
249
|
-
// bazel-out/
|
|
249
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.js
|
|
250
250
|
import ts2 from "typescript";
|
|
251
251
|
function isDecoratorIdentifier(exp) {
|
|
252
252
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -269,7 +269,7 @@ var ClassMemberAccessLevel;
|
|
|
269
269
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
270
270
|
var AmbientImport = {};
|
|
271
271
|
|
|
272
|
-
// bazel-out/
|
|
272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.js
|
|
273
273
|
import ts3 from "typescript";
|
|
274
274
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
275
275
|
if (typeNode === null) {
|
|
@@ -452,7 +452,7 @@ function extractModuleName(node) {
|
|
|
452
452
|
return node.moduleSpecifier.text;
|
|
453
453
|
}
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.js
|
|
456
456
|
import ts4 from "typescript";
|
|
457
457
|
function isNamedClassDeclaration(node) {
|
|
458
458
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -476,7 +476,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
476
476
|
}
|
|
477
477
|
}
|
|
478
478
|
|
|
479
|
-
// bazel-out/
|
|
479
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
480
480
|
var TypeScriptReflectionHost = class {
|
|
481
481
|
checker;
|
|
482
482
|
isLocalCompilation;
|
|
@@ -981,7 +981,7 @@ function getExportedName(decl, originalId) {
|
|
|
981
981
|
}
|
|
982
982
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
983
983
|
|
|
984
|
-
// bazel-out/
|
|
984
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.js
|
|
985
985
|
import ts6 from "typescript";
|
|
986
986
|
var TS = /\.tsx?$/i;
|
|
987
987
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1082,7 +1082,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1082
1082
|
return redirectInfo.unredirected;
|
|
1083
1083
|
}
|
|
1084
1084
|
|
|
1085
|
-
// bazel-out/
|
|
1085
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.js
|
|
1086
1086
|
var Reference = class {
|
|
1087
1087
|
node;
|
|
1088
1088
|
bestGuessOwningModule;
|
|
@@ -1154,14 +1154,14 @@ var Reference = class {
|
|
|
1154
1154
|
}
|
|
1155
1155
|
};
|
|
1156
1156
|
|
|
1157
|
-
// bazel-out/
|
|
1157
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1158
1158
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1159
1159
|
|
|
1160
|
-
// bazel-out/
|
|
1160
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1161
1161
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1162
1162
|
import ts7 from "typescript";
|
|
1163
1163
|
|
|
1164
|
-
// bazel-out/
|
|
1164
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.js
|
|
1165
1165
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1166
1166
|
const exports = reflector.getExportsOfModule(file);
|
|
1167
1167
|
if (exports === null) {
|
|
@@ -1181,7 +1181,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1181
1181
|
return foundExportName;
|
|
1182
1182
|
}
|
|
1183
1183
|
|
|
1184
|
-
// bazel-out/
|
|
1184
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1185
1185
|
var ImportFlags;
|
|
1186
1186
|
(function(ImportFlags2) {
|
|
1187
1187
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1428,7 +1428,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1428
1428
|
}
|
|
1429
1429
|
};
|
|
1430
1430
|
|
|
1431
|
-
// bazel-out/
|
|
1431
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1432
1432
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1433
1433
|
var UnifiedModulesAliasingHost = class {
|
|
1434
1434
|
unifiedModulesHost;
|
|
@@ -1497,7 +1497,7 @@ var AliasStrategy = class {
|
|
|
1497
1497
|
}
|
|
1498
1498
|
};
|
|
1499
1499
|
|
|
1500
|
-
// bazel-out/
|
|
1500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.js
|
|
1501
1501
|
function relativePathBetween(from, to) {
|
|
1502
1502
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1503
1503
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1516,7 +1516,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1516
1516
|
return null;
|
|
1517
1517
|
}
|
|
1518
1518
|
|
|
1519
|
-
// bazel-out/
|
|
1519
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.js
|
|
1520
1520
|
var NoopImportRewriter = class {
|
|
1521
1521
|
rewriteSymbol(symbol, specifier) {
|
|
1522
1522
|
return symbol;
|
|
@@ -1576,7 +1576,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1576
1576
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1577
1577
|
}
|
|
1578
1578
|
|
|
1579
|
-
// bazel-out/
|
|
1579
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.js
|
|
1580
1580
|
import ts8 from "typescript";
|
|
1581
1581
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1582
1582
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1614,7 +1614,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1614
1614
|
throw Error("Angular compiler is incompatible with this version of the TypeScript compiler.\n\nIf you recently updated TypeScript and this issue surfaces now, consider downgrading.\n\nPlease report an issue on the Angular repositories when this issue surfaces and you are using a supposedly compatible TypeScript version.");
|
|
1615
1615
|
}
|
|
1616
1616
|
|
|
1617
|
-
// bazel-out/
|
|
1617
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.js
|
|
1618
1618
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1619
1619
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1620
1620
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1652,7 +1652,7 @@ var DefaultImportTracker = class {
|
|
|
1652
1652
|
}
|
|
1653
1653
|
};
|
|
1654
1654
|
|
|
1655
|
-
// bazel-out/
|
|
1655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.js
|
|
1656
1656
|
import ts9 from "typescript";
|
|
1657
1657
|
var AssumeEager = "AssumeEager";
|
|
1658
1658
|
var DeferredSymbolTracker = class {
|
|
@@ -1774,7 +1774,7 @@ var DeferredSymbolTracker = class {
|
|
|
1774
1774
|
}
|
|
1775
1775
|
};
|
|
1776
1776
|
|
|
1777
|
-
// bazel-out/
|
|
1777
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.js
|
|
1778
1778
|
import ts10 from "typescript";
|
|
1779
1779
|
var ImportedSymbolsTracker = class {
|
|
1780
1780
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1840,7 +1840,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1840
1840
|
}
|
|
1841
1841
|
};
|
|
1842
1842
|
|
|
1843
|
-
// bazel-out/
|
|
1843
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.js
|
|
1844
1844
|
import ts11 from "typescript";
|
|
1845
1845
|
var LocalCompilationExtraImportsTracker = class {
|
|
1846
1846
|
typeChecker;
|
|
@@ -1890,7 +1890,7 @@ function removeQuotations(s) {
|
|
|
1890
1890
|
return s.substring(1, s.length - 1).trim();
|
|
1891
1891
|
}
|
|
1892
1892
|
|
|
1893
|
-
// bazel-out/
|
|
1893
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.js
|
|
1894
1894
|
var ModuleResolver = class {
|
|
1895
1895
|
program;
|
|
1896
1896
|
compilerOptions;
|
|
@@ -1911,7 +1911,7 @@ var ModuleResolver = class {
|
|
|
1911
1911
|
}
|
|
1912
1912
|
};
|
|
1913
1913
|
|
|
1914
|
-
// bazel-out/
|
|
1914
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.js
|
|
1915
1915
|
import { ExternalExpr as ExternalExpr3, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1916
1916
|
import ts12 from "typescript";
|
|
1917
1917
|
var CORE_MODULE2 = "@angular/core";
|
|
@@ -2174,7 +2174,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
2174
2174
|
return ts12.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts12.SyntaxKind.AbstractKeyword) : false;
|
|
2175
2175
|
}
|
|
2176
2176
|
|
|
2177
|
-
// bazel-out/
|
|
2177
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.js
|
|
2178
2178
|
var DynamicValue = class {
|
|
2179
2179
|
node;
|
|
2180
2180
|
reason;
|
|
@@ -2267,10 +2267,10 @@ var DynamicValue = class {
|
|
|
2267
2267
|
}
|
|
2268
2268
|
};
|
|
2269
2269
|
|
|
2270
|
-
// bazel-out/
|
|
2270
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2271
2271
|
import ts13 from "typescript";
|
|
2272
2272
|
|
|
2273
|
-
// bazel-out/
|
|
2273
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.js
|
|
2274
2274
|
var ResolvedModule = class {
|
|
2275
2275
|
exports;
|
|
2276
2276
|
evaluate;
|
|
@@ -2305,7 +2305,7 @@ var EnumValue = class {
|
|
|
2305
2305
|
var KnownFn = class {
|
|
2306
2306
|
};
|
|
2307
2307
|
|
|
2308
|
-
// bazel-out/
|
|
2308
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.js
|
|
2309
2309
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2310
2310
|
lhs;
|
|
2311
2311
|
constructor(lhs) {
|
|
@@ -2360,7 +2360,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
2360
2360
|
}
|
|
2361
2361
|
};
|
|
2362
2362
|
|
|
2363
|
-
// bazel-out/
|
|
2363
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.js
|
|
2364
2364
|
var SyntheticValue = class {
|
|
2365
2365
|
value;
|
|
2366
2366
|
constructor(value) {
|
|
@@ -2368,7 +2368,7 @@ var SyntheticValue = class {
|
|
|
2368
2368
|
}
|
|
2369
2369
|
};
|
|
2370
2370
|
|
|
2371
|
-
// bazel-out/
|
|
2371
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2372
2372
|
function literalBinaryOp(op) {
|
|
2373
2373
|
return { op, literal: true };
|
|
2374
2374
|
}
|
|
@@ -2949,7 +2949,7 @@ function owningModule(context, override = null) {
|
|
|
2949
2949
|
}
|
|
2950
2950
|
}
|
|
2951
2951
|
|
|
2952
|
-
// bazel-out/
|
|
2952
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.js
|
|
2953
2953
|
var PartialEvaluator = class {
|
|
2954
2954
|
host;
|
|
2955
2955
|
checker;
|
|
@@ -2972,7 +2972,7 @@ var PartialEvaluator = class {
|
|
|
2972
2972
|
}
|
|
2973
2973
|
};
|
|
2974
2974
|
|
|
2975
|
-
// bazel-out/
|
|
2975
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.js
|
|
2976
2976
|
import ts14 from "typescript";
|
|
2977
2977
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2978
2978
|
if (value === null) {
|
|
@@ -3106,10 +3106,10 @@ function getContainerNode(node) {
|
|
|
3106
3106
|
return node.getSourceFile();
|
|
3107
3107
|
}
|
|
3108
3108
|
|
|
3109
|
-
// bazel-out/
|
|
3109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3110
3110
|
import ts19 from "typescript";
|
|
3111
3111
|
|
|
3112
|
-
// bazel-out/
|
|
3112
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.js
|
|
3113
3113
|
import ts15 from "typescript";
|
|
3114
3114
|
function createGenerateUniqueIdentifierHelper() {
|
|
3115
3115
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -3135,7 +3135,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
3135
3135
|
};
|
|
3136
3136
|
}
|
|
3137
3137
|
|
|
3138
|
-
// bazel-out/
|
|
3138
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.js
|
|
3139
3139
|
import ts16 from "typescript";
|
|
3140
3140
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
3141
3141
|
return (ctx) => {
|
|
@@ -3203,7 +3203,7 @@ function isImportStatement(stmt) {
|
|
|
3203
3203
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3204
3204
|
}
|
|
3205
3205
|
|
|
3206
|
-
// bazel-out/
|
|
3206
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.js
|
|
3207
3207
|
import ts17 from "typescript";
|
|
3208
3208
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
3209
3209
|
const requestHash = hashImportRequest(request);
|
|
@@ -3230,7 +3230,7 @@ function hashImportRequest(req) {
|
|
|
3230
3230
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
3231
3231
|
}
|
|
3232
3232
|
|
|
3233
|
-
// bazel-out/
|
|
3233
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.js
|
|
3234
3234
|
import ts18 from "typescript";
|
|
3235
3235
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
3236
3236
|
let candidateImportToBeUpdated = null;
|
|
@@ -3289,7 +3289,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
3289
3289
|
return fileUniqueAlias ?? propertyName;
|
|
3290
3290
|
}
|
|
3291
3291
|
|
|
3292
|
-
// bazel-out/
|
|
3292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3293
3293
|
var presetImportManagerForceNamespaceImports = {
|
|
3294
3294
|
disableOriginalSourceFileReuse: true,
|
|
3295
3295
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -3507,7 +3507,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
3507
3507
|
}
|
|
3508
3508
|
}
|
|
3509
3509
|
|
|
3510
|
-
// bazel-out/
|
|
3510
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.js
|
|
3511
3511
|
import ts20 from "typescript";
|
|
3512
3512
|
var INELIGIBLE = {};
|
|
3513
3513
|
function canEmitType(type, canEmit) {
|
|
@@ -3583,11 +3583,11 @@ var TypeEmitter = class {
|
|
|
3583
3583
|
}
|
|
3584
3584
|
};
|
|
3585
3585
|
|
|
3586
|
-
// bazel-out/
|
|
3586
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3587
3587
|
import * as o from "@angular/compiler";
|
|
3588
3588
|
import ts22 from "typescript";
|
|
3589
3589
|
|
|
3590
|
-
// bazel-out/
|
|
3590
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.js
|
|
3591
3591
|
import ts21 from "typescript";
|
|
3592
3592
|
function tsNumericExpression(value) {
|
|
3593
3593
|
if (value < 0) {
|
|
@@ -3597,7 +3597,7 @@ function tsNumericExpression(value) {
|
|
|
3597
3597
|
return ts21.factory.createNumericLiteral(value);
|
|
3598
3598
|
}
|
|
3599
3599
|
|
|
3600
|
-
// bazel-out/
|
|
3600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3601
3601
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
3602
3602
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
3603
3603
|
}
|
|
@@ -3821,7 +3821,7 @@ var TypeTranslatorVisitor = class {
|
|
|
3821
3821
|
}
|
|
3822
3822
|
};
|
|
3823
3823
|
|
|
3824
|
-
// bazel-out/
|
|
3824
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.js
|
|
3825
3825
|
import ts23 from "typescript";
|
|
3826
3826
|
var PureAnnotation;
|
|
3827
3827
|
(function(PureAnnotation2) {
|
|
@@ -3853,7 +3853,17 @@ var BINARY_OPERATORS2 = /* @__PURE__ */ (() => ({
|
|
|
3853
3853
|
"||": ts23.SyntaxKind.BarBarToken,
|
|
3854
3854
|
"+": ts23.SyntaxKind.PlusToken,
|
|
3855
3855
|
"??": ts23.SyntaxKind.QuestionQuestionToken,
|
|
3856
|
-
"in": ts23.SyntaxKind.InKeyword
|
|
3856
|
+
"in": ts23.SyntaxKind.InKeyword,
|
|
3857
|
+
"=": ts23.SyntaxKind.EqualsToken,
|
|
3858
|
+
"+=": ts23.SyntaxKind.PlusEqualsToken,
|
|
3859
|
+
"-=": ts23.SyntaxKind.MinusEqualsToken,
|
|
3860
|
+
"*=": ts23.SyntaxKind.AsteriskEqualsToken,
|
|
3861
|
+
"/=": ts23.SyntaxKind.SlashEqualsToken,
|
|
3862
|
+
"%=": ts23.SyntaxKind.PercentEqualsToken,
|
|
3863
|
+
"**=": ts23.SyntaxKind.AsteriskAsteriskEqualsToken,
|
|
3864
|
+
"&&=": ts23.SyntaxKind.AmpersandAmpersandEqualsToken,
|
|
3865
|
+
"||=": ts23.SyntaxKind.BarBarEqualsToken,
|
|
3866
|
+
"??=": ts23.SyntaxKind.QuestionQuestionEqualsToken
|
|
3857
3867
|
}))();
|
|
3858
3868
|
var VAR_TYPES = /* @__PURE__ */ (() => ({
|
|
3859
3869
|
"const": ts23.NodeFlags.Const,
|
|
@@ -3868,8 +3878,8 @@ var TypeScriptAstFactory = class {
|
|
|
3868
3878
|
}
|
|
3869
3879
|
attachComments = attachComments;
|
|
3870
3880
|
createArrayLiteral = ts23.factory.createArrayLiteralExpression;
|
|
3871
|
-
createAssignment(target, value) {
|
|
3872
|
-
return ts23.factory.createBinaryExpression(target,
|
|
3881
|
+
createAssignment(target, operator, value) {
|
|
3882
|
+
return ts23.factory.createBinaryExpression(target, BINARY_OPERATORS2[operator], value);
|
|
3873
3883
|
}
|
|
3874
3884
|
createBinaryExpression(leftOperand, operator, rightOperand) {
|
|
3875
3885
|
return ts23.factory.createBinaryExpression(leftOperand, BINARY_OPERATORS2[operator], rightOperand);
|
|
@@ -4031,7 +4041,7 @@ function attachComments(statement, leadingComments) {
|
|
|
4031
4041
|
}
|
|
4032
4042
|
}
|
|
4033
4043
|
|
|
4034
|
-
// bazel-out/
|
|
4044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.js
|
|
4035
4045
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
4036
4046
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
4037
4047
|
}
|
|
@@ -4039,14 +4049,14 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
4039
4049
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
4040
4050
|
}
|
|
4041
4051
|
|
|
4042
|
-
// bazel-out/
|
|
4052
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.js
|
|
4043
4053
|
var OptimizeFor;
|
|
4044
4054
|
(function(OptimizeFor2) {
|
|
4045
4055
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
4046
4056
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
4047
4057
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
4048
4058
|
|
|
4049
|
-
// bazel-out/
|
|
4059
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.js
|
|
4050
4060
|
var PotentialImportKind;
|
|
4051
4061
|
(function(PotentialImportKind2) {
|
|
4052
4062
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -4058,7 +4068,7 @@ var PotentialImportMode;
|
|
|
4058
4068
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
4059
4069
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
4060
4070
|
|
|
4061
|
-
// bazel-out/
|
|
4071
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.js
|
|
4062
4072
|
var CompletionKind;
|
|
4063
4073
|
(function(CompletionKind2) {
|
|
4064
4074
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -4066,7 +4076,7 @@ var CompletionKind;
|
|
|
4066
4076
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
4067
4077
|
})(CompletionKind || (CompletionKind = {}));
|
|
4068
4078
|
|
|
4069
|
-
// bazel-out/
|
|
4079
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.js
|
|
4070
4080
|
var SymbolKind;
|
|
4071
4081
|
(function(SymbolKind2) {
|
|
4072
4082
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -4085,7 +4095,7 @@ var SymbolKind;
|
|
|
4085
4095
|
SymbolKind2[SymbolKind2["SelectorlessDirective"] = 13] = "SelectorlessDirective";
|
|
4086
4096
|
})(SymbolKind || (SymbolKind = {}));
|
|
4087
4097
|
|
|
4088
|
-
// bazel-out/
|
|
4098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.js
|
|
4089
4099
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
4090
4100
|
import ts24 from "typescript";
|
|
4091
4101
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -4231,10 +4241,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
4231
4241
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
4232
4242
|
}
|
|
4233
4243
|
|
|
4234
|
-
// bazel-out/
|
|
4244
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
4235
4245
|
import ts33 from "typescript";
|
|
4236
4246
|
|
|
4237
|
-
// bazel-out/
|
|
4247
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.js
|
|
4238
4248
|
var MetaKind;
|
|
4239
4249
|
(function(MetaKind2) {
|
|
4240
4250
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -4247,10 +4257,10 @@ var MatchSource;
|
|
|
4247
4257
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
4248
4258
|
})(MatchSource || (MatchSource = {}));
|
|
4249
4259
|
|
|
4250
|
-
// bazel-out/
|
|
4260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4251
4261
|
import ts26 from "typescript";
|
|
4252
4262
|
|
|
4253
|
-
// bazel-out/
|
|
4263
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.js
|
|
4254
4264
|
var ClassPropertyMapping = class {
|
|
4255
4265
|
forwardMap;
|
|
4256
4266
|
reverseMap;
|
|
@@ -4332,7 +4342,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4332
4342
|
return reverseMap;
|
|
4333
4343
|
}
|
|
4334
4344
|
|
|
4335
|
-
// bazel-out/
|
|
4345
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.js
|
|
4336
4346
|
import ts25 from "typescript";
|
|
4337
4347
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4338
4348
|
if (!ts25.isTupleTypeNode(def)) {
|
|
@@ -4547,7 +4557,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
4547
4557
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
4548
4558
|
}
|
|
4549
4559
|
|
|
4550
|
-
// bazel-out/
|
|
4560
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4551
4561
|
var DtsMetadataReader = class {
|
|
4552
4562
|
checker;
|
|
4553
4563
|
reflector;
|
|
@@ -4746,7 +4756,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
4746
4756
|
return result.length > 0 ? { result, isIncomplete } : null;
|
|
4747
4757
|
}
|
|
4748
4758
|
|
|
4749
|
-
// bazel-out/
|
|
4759
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.js
|
|
4750
4760
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4751
4761
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4752
4762
|
if (topMeta === null) {
|
|
@@ -4810,7 +4820,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4810
4820
|
};
|
|
4811
4821
|
}
|
|
4812
4822
|
|
|
4813
|
-
// bazel-out/
|
|
4823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.js
|
|
4814
4824
|
var LocalMetadataRegistry = class {
|
|
4815
4825
|
directives = /* @__PURE__ */ new Map();
|
|
4816
4826
|
ngModules = /* @__PURE__ */ new Map();
|
|
@@ -4866,7 +4876,7 @@ var CompoundMetadataRegistry = class {
|
|
|
4866
4876
|
}
|
|
4867
4877
|
};
|
|
4868
4878
|
|
|
4869
|
-
// bazel-out/
|
|
4879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.js
|
|
4870
4880
|
var ResourceRegistry = class {
|
|
4871
4881
|
externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
4872
4882
|
componentToTemplateMap = /* @__PURE__ */ new Map();
|
|
@@ -4938,7 +4948,7 @@ var ResourceRegistry = class {
|
|
|
4938
4948
|
}
|
|
4939
4949
|
};
|
|
4940
4950
|
|
|
4941
|
-
// bazel-out/
|
|
4951
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.js
|
|
4942
4952
|
var ExportedProviderStatusResolver = class {
|
|
4943
4953
|
metaReader;
|
|
4944
4954
|
calculating = /* @__PURE__ */ new Set();
|
|
@@ -4982,7 +4992,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
4982
4992
|
}
|
|
4983
4993
|
};
|
|
4984
4994
|
|
|
4985
|
-
// bazel-out/
|
|
4995
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.js
|
|
4986
4996
|
var EMPTY_ARRAY = [];
|
|
4987
4997
|
var HostDirectivesResolver = class {
|
|
4988
4998
|
metaReader;
|
|
@@ -5049,7 +5059,7 @@ function resolveOutput(bindingName) {
|
|
|
5049
5059
|
return bindingName;
|
|
5050
5060
|
}
|
|
5051
5061
|
|
|
5052
|
-
// bazel-out/
|
|
5062
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.js
|
|
5053
5063
|
var CompilationMode;
|
|
5054
5064
|
(function(CompilationMode2) {
|
|
5055
5065
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -5063,7 +5073,7 @@ var HandlerPrecedence;
|
|
|
5063
5073
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
5064
5074
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
5065
5075
|
|
|
5066
|
-
// bazel-out/
|
|
5076
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.js
|
|
5067
5077
|
import ts27 from "typescript";
|
|
5068
5078
|
function aliasTransformFactory(exportStatements) {
|
|
5069
5079
|
return () => {
|
|
@@ -5088,10 +5098,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
5088
5098
|
};
|
|
5089
5099
|
}
|
|
5090
5100
|
|
|
5091
|
-
// bazel-out/
|
|
5101
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5092
5102
|
import ts28 from "typescript";
|
|
5093
5103
|
|
|
5094
|
-
// bazel-out/
|
|
5104
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.js
|
|
5095
5105
|
var PerfPhase;
|
|
5096
5106
|
(function(PerfPhase2) {
|
|
5097
5107
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -5119,11 +5129,12 @@ var PerfPhase;
|
|
|
5119
5129
|
PerfPhase2[PerfPhase2["LsComponentLocations"] = 22] = "LsComponentLocations";
|
|
5120
5130
|
PerfPhase2[PerfPhase2["LsSignatureHelp"] = 23] = "LsSignatureHelp";
|
|
5121
5131
|
PerfPhase2[PerfPhase2["OutliningSpans"] = 24] = "OutliningSpans";
|
|
5122
|
-
PerfPhase2[PerfPhase2["
|
|
5123
|
-
PerfPhase2[PerfPhase2["
|
|
5124
|
-
PerfPhase2[PerfPhase2["
|
|
5125
|
-
PerfPhase2[PerfPhase2["
|
|
5126
|
-
PerfPhase2[PerfPhase2["
|
|
5132
|
+
PerfPhase2[PerfPhase2["LsCodeFixes"] = 25] = "LsCodeFixes";
|
|
5133
|
+
PerfPhase2[PerfPhase2["LsCodeFixesAll"] = 26] = "LsCodeFixesAll";
|
|
5134
|
+
PerfPhase2[PerfPhase2["LSComputeApplicableRefactorings"] = 27] = "LSComputeApplicableRefactorings";
|
|
5135
|
+
PerfPhase2[PerfPhase2["LSApplyRefactoring"] = 28] = "LSApplyRefactoring";
|
|
5136
|
+
PerfPhase2[PerfPhase2["LSSemanticClassification"] = 29] = "LSSemanticClassification";
|
|
5137
|
+
PerfPhase2[PerfPhase2["LAST"] = 30] = "LAST";
|
|
5127
5138
|
})(PerfPhase || (PerfPhase = {}));
|
|
5128
5139
|
var PerfEvent;
|
|
5129
5140
|
(function(PerfEvent2) {
|
|
@@ -5161,7 +5172,7 @@ var PerfCheckpoint;
|
|
|
5161
5172
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
5162
5173
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
5163
5174
|
|
|
5164
|
-
// bazel-out/
|
|
5175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.js
|
|
5165
5176
|
var NoopPerfRecorder = class {
|
|
5166
5177
|
eventCount() {
|
|
5167
5178
|
}
|
|
@@ -5178,7 +5189,7 @@ var NoopPerfRecorder = class {
|
|
|
5178
5189
|
};
|
|
5179
5190
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
5180
5191
|
|
|
5181
|
-
// bazel-out/
|
|
5192
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.js
|
|
5182
5193
|
function mark() {
|
|
5183
5194
|
return process.hrtime();
|
|
5184
5195
|
}
|
|
@@ -5187,7 +5198,7 @@ function timeSinceInMicros(mark2) {
|
|
|
5187
5198
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
5188
5199
|
}
|
|
5189
5200
|
|
|
5190
|
-
// bazel-out/
|
|
5201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.js
|
|
5191
5202
|
var ActivePerfRecorder = class {
|
|
5192
5203
|
zeroTime;
|
|
5193
5204
|
counters;
|
|
@@ -5287,7 +5298,7 @@ var DelegatingPerfRecorder = class {
|
|
|
5287
5298
|
}
|
|
5288
5299
|
};
|
|
5289
5300
|
|
|
5290
|
-
// bazel-out/
|
|
5301
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.js
|
|
5291
5302
|
var TraitState;
|
|
5292
5303
|
(function(TraitState2) {
|
|
5293
5304
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -5346,7 +5357,7 @@ var TraitImpl = class {
|
|
|
5346
5357
|
}
|
|
5347
5358
|
};
|
|
5348
5359
|
|
|
5349
|
-
// bazel-out/
|
|
5360
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5350
5361
|
var TraitCompiler = class {
|
|
5351
5362
|
handlers;
|
|
5352
5363
|
reflector;
|
|
@@ -5827,7 +5838,7 @@ function containsErrors(diagnostics) {
|
|
|
5827
5838
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts28.DiagnosticCategory.Error);
|
|
5828
5839
|
}
|
|
5829
5840
|
|
|
5830
|
-
// bazel-out/
|
|
5841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.js
|
|
5831
5842
|
import ts29 from "typescript";
|
|
5832
5843
|
var DtsTransformRegistry = class {
|
|
5833
5844
|
ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -5939,11 +5950,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
5939
5950
|
ts29.forEachChild(node, markForEmitAsSingleLine);
|
|
5940
5951
|
}
|
|
5941
5952
|
|
|
5942
|
-
// bazel-out/
|
|
5953
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
5943
5954
|
import { ConstantPool } from "@angular/compiler";
|
|
5944
5955
|
import ts31 from "typescript";
|
|
5945
5956
|
|
|
5946
|
-
// bazel-out/
|
|
5957
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.js
|
|
5947
5958
|
import ts30 from "typescript";
|
|
5948
5959
|
function visit(node, visitor, context) {
|
|
5949
5960
|
return visitor._visit(node, context);
|
|
@@ -6002,7 +6013,7 @@ var Visitor = class {
|
|
|
6002
6013
|
}
|
|
6003
6014
|
};
|
|
6004
6015
|
|
|
6005
|
-
// bazel-out/
|
|
6016
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
6006
6017
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
6007
6018
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
6008
6019
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled, emitDeclarationOnly) {
|
|
@@ -6251,7 +6262,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
6251
6262
|
return array;
|
|
6252
6263
|
}
|
|
6253
6264
|
|
|
6254
|
-
// bazel-out/
|
|
6265
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/implicit_signal_debug_name_transform.js
|
|
6255
6266
|
import ts32 from "typescript";
|
|
6256
6267
|
function insertDebugNameIntoCallExpression(callExpression, debugName) {
|
|
6257
6268
|
const signalExpressionHasNoArguments = callExpression.arguments.length === 0;
|
|
@@ -6476,7 +6487,7 @@ function signalMetadataTransform(program) {
|
|
|
6476
6487
|
};
|
|
6477
6488
|
}
|
|
6478
6489
|
|
|
6479
|
-
// bazel-out/
|
|
6490
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
6480
6491
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
6481
6492
|
const context = [];
|
|
6482
6493
|
for (const decl of data) {
|
|
@@ -6684,7 +6695,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
6684
6695
|
}
|
|
6685
6696
|
}
|
|
6686
6697
|
|
|
6687
|
-
// bazel-out/
|
|
6698
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.js
|
|
6688
6699
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
6689
6700
|
import ts34 from "typescript";
|
|
6690
6701
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName, isCore) {
|
|
@@ -6735,7 +6746,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
6735
6746
|
return meta;
|
|
6736
6747
|
}
|
|
6737
6748
|
|
|
6738
|
-
// bazel-out/
|
|
6749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.js
|
|
6739
6750
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
6740
6751
|
function compileNgFactoryDefField(metadata) {
|
|
6741
6752
|
const res = compileFactoryFunction(metadata);
|
|
@@ -6758,7 +6769,7 @@ function compileDeclareFactory(metadata) {
|
|
|
6758
6769
|
};
|
|
6759
6770
|
}
|
|
6760
6771
|
|
|
6761
|
-
// bazel-out/
|
|
6772
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.js
|
|
6762
6773
|
var InjectableClassRegistry = class {
|
|
6763
6774
|
host;
|
|
6764
6775
|
isCore;
|
|
@@ -6786,7 +6797,7 @@ var InjectableClassRegistry = class {
|
|
|
6786
6797
|
}
|
|
6787
6798
|
};
|
|
6788
6799
|
|
|
6789
|
-
// bazel-out/
|
|
6800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.js
|
|
6790
6801
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
6791
6802
|
import ts35 from "typescript";
|
|
6792
6803
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -6870,7 +6881,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
6870
6881
|
return result.transformed[0];
|
|
6871
6882
|
}
|
|
6872
6883
|
|
|
6873
|
-
// bazel-out/
|
|
6884
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.js
|
|
6874
6885
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
6875
6886
|
function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
|
|
6876
6887
|
if (!reflection.isClass(clazz)) {
|
|
@@ -6887,13 +6898,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
|
|
|
6887
6898
|
};
|
|
6888
6899
|
}
|
|
6889
6900
|
|
|
6890
|
-
// bazel-out/
|
|
6901
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.js
|
|
6891
6902
|
var NoopReferencesRegistry = class {
|
|
6892
6903
|
add(source, ...references) {
|
|
6893
6904
|
}
|
|
6894
6905
|
};
|
|
6895
6906
|
|
|
6896
|
-
// bazel-out/
|
|
6907
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.js
|
|
6897
6908
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
6898
6909
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
6899
6910
|
const schemas = [];
|
|
@@ -6923,7 +6934,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
6923
6934
|
return schemas;
|
|
6924
6935
|
}
|
|
6925
6936
|
|
|
6926
|
-
// bazel-out/
|
|
6937
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.js
|
|
6927
6938
|
import { outputAst } from "@angular/compiler";
|
|
6928
6939
|
function compileInputTransformFields(inputs) {
|
|
6929
6940
|
const extraFields = [];
|
|
@@ -6941,16 +6952,16 @@ function compileInputTransformFields(inputs) {
|
|
|
6941
6952
|
return extraFields;
|
|
6942
6953
|
}
|
|
6943
6954
|
|
|
6944
|
-
// bazel-out/
|
|
6955
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.js
|
|
6945
6956
|
var JitDeclarationRegistry = class {
|
|
6946
6957
|
jitDeclarations = /* @__PURE__ */ new Set();
|
|
6947
6958
|
};
|
|
6948
6959
|
|
|
6949
|
-
// bazel-out/
|
|
6960
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
6950
6961
|
import { compileClassDebugInfo, compileHmrInitializer, compileComponentClassMetadata, compileComponentDeclareClassMetadata, compileComponentFromMetadata, compileDeclareComponentFromMetadata, compileDeferResolverFunction, ConstantPool as ConstantPool2, CssSelector as CssSelector5, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry as DomElementSchemaRegistry3, ExternalExpr as ExternalExpr10, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser3, outputAst as o5, R3TargetBinder as R3TargetBinder2, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher3, ViewEncapsulation as ViewEncapsulation2, SelectorlessMatcher as SelectorlessMatcher2 } from "@angular/compiler";
|
|
6951
6962
|
import ts73 from "typescript";
|
|
6952
6963
|
|
|
6953
|
-
// bazel-out/
|
|
6964
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.js
|
|
6954
6965
|
import ts36 from "typescript";
|
|
6955
6966
|
var SemanticSymbol = class {
|
|
6956
6967
|
decl;
|
|
@@ -6969,7 +6980,7 @@ function getSymbolIdentifier(decl) {
|
|
|
6969
6980
|
return decl.name.text;
|
|
6970
6981
|
}
|
|
6971
6982
|
|
|
6972
|
-
// bazel-out/
|
|
6983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.js
|
|
6973
6984
|
import { ExternalExpr as ExternalExpr4 } from "@angular/compiler";
|
|
6974
6985
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
6975
6986
|
isPublicApiAffected() {
|
|
@@ -7111,10 +7122,10 @@ function getImportPath(expr) {
|
|
|
7111
7122
|
}
|
|
7112
7123
|
}
|
|
7113
7124
|
|
|
7114
|
-
// bazel-out/
|
|
7125
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
7115
7126
|
import ts37 from "typescript";
|
|
7116
7127
|
|
|
7117
|
-
// bazel-out/
|
|
7128
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.js
|
|
7118
7129
|
function isSymbolEqual(a, b) {
|
|
7119
7130
|
if (a.decl === b.decl) {
|
|
7120
7131
|
return true;
|
|
@@ -7164,7 +7175,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
7164
7175
|
return true;
|
|
7165
7176
|
}
|
|
7166
7177
|
|
|
7167
|
-
// bazel-out/
|
|
7178
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
7168
7179
|
function extractSemanticTypeParameters(node) {
|
|
7169
7180
|
if (!ts37.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
7170
7181
|
return null;
|
|
@@ -7186,7 +7197,7 @@ function isTypeParameterEqual(a, b) {
|
|
|
7186
7197
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
7187
7198
|
}
|
|
7188
7199
|
|
|
7189
|
-
// bazel-out/
|
|
7200
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.js
|
|
7190
7201
|
var ComponentScopeKind;
|
|
7191
7202
|
(function(ComponentScopeKind2) {
|
|
7192
7203
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -7194,7 +7205,7 @@ var ComponentScopeKind;
|
|
|
7194
7205
|
ComponentScopeKind2[ComponentScopeKind2["Selectorless"] = 2] = "Selectorless";
|
|
7195
7206
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
7196
7207
|
|
|
7197
|
-
// bazel-out/
|
|
7208
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.js
|
|
7198
7209
|
var CompoundComponentScopeReader = class {
|
|
7199
7210
|
readers;
|
|
7200
7211
|
constructor(readers) {
|
|
@@ -7220,7 +7231,7 @@ var CompoundComponentScopeReader = class {
|
|
|
7220
7231
|
}
|
|
7221
7232
|
};
|
|
7222
7233
|
|
|
7223
|
-
// bazel-out/
|
|
7234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.js
|
|
7224
7235
|
var MetadataDtsModuleScopeResolver = class {
|
|
7225
7236
|
dtsMetaReader;
|
|
7226
7237
|
aliasingHost;
|
|
@@ -7298,11 +7309,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
7298
7309
|
}
|
|
7299
7310
|
};
|
|
7300
7311
|
|
|
7301
|
-
// bazel-out/
|
|
7312
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
7302
7313
|
import { ExternalExpr as ExternalExpr5 } from "@angular/compiler";
|
|
7303
7314
|
import ts38 from "typescript";
|
|
7304
7315
|
|
|
7305
|
-
// bazel-out/
|
|
7316
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.js
|
|
7306
7317
|
function getDiagnosticNode(ref, rawExpr) {
|
|
7307
7318
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
7308
7319
|
}
|
|
@@ -7328,7 +7339,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
7328
7339
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
7329
7340
|
}
|
|
7330
7341
|
|
|
7331
|
-
// bazel-out/
|
|
7342
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
7332
7343
|
var IN_PROGRESS_RESOLUTION = {};
|
|
7333
7344
|
var LocalModuleScopeRegistry = class {
|
|
7334
7345
|
localReader;
|
|
@@ -7687,7 +7698,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
7687
7698
|
]);
|
|
7688
7699
|
}
|
|
7689
7700
|
|
|
7690
|
-
// bazel-out/
|
|
7701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/selectorless_scope.js
|
|
7691
7702
|
import ts39 from "typescript";
|
|
7692
7703
|
var SelectorlessComponentScopeReader = class {
|
|
7693
7704
|
metaReader;
|
|
@@ -7783,7 +7794,7 @@ var SelectorlessComponentScopeReader = class {
|
|
|
7783
7794
|
}
|
|
7784
7795
|
};
|
|
7785
7796
|
|
|
7786
|
-
// bazel-out/
|
|
7797
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.js
|
|
7787
7798
|
import { CssSelector, SelectorlessMatcher, SelectorMatcher } from "@angular/compiler";
|
|
7788
7799
|
var TypeCheckScopeRegistry = class {
|
|
7789
7800
|
scopeReader;
|
|
@@ -7894,15 +7905,15 @@ var TypeCheckScopeRegistry = class {
|
|
|
7894
7905
|
}
|
|
7895
7906
|
};
|
|
7896
7907
|
|
|
7897
|
-
// bazel-out/
|
|
7908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
7898
7909
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser as makeBindingParser2, R3TargetBinder, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7899
7910
|
import ts65 from "typescript";
|
|
7900
7911
|
|
|
7901
|
-
// bazel-out/
|
|
7902
|
-
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr6, ExternalReference as ExternalReference2, getSafePropertyAccessString, parseHostBindings,
|
|
7912
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7913
|
+
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr6, ExternalReference as ExternalReference2, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
7903
7914
|
import ts43 from "typescript";
|
|
7904
7915
|
|
|
7905
|
-
// bazel-out/
|
|
7916
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.js
|
|
7906
7917
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
7907
7918
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
7908
7919
|
throw new FatalDiagnosticError(ErrorCode.INITIALIZER_API_DISALLOWED_MEMBER_VISIBILITY, call, makeDiagnosticChain(`Cannot use "${api.functionName}" on a class member that is declared as ${classMemberAccessLevelToString(member.accessLevel)}.`, [
|
|
@@ -7911,9 +7922,12 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
7911
7922
|
}
|
|
7912
7923
|
}
|
|
7913
7924
|
|
|
7914
|
-
// bazel-out/
|
|
7925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.js
|
|
7915
7926
|
import ts40 from "typescript";
|
|
7916
7927
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
7928
|
+
if (ts40.isAsExpression(expression) || ts40.isParenthesizedExpression(expression)) {
|
|
7929
|
+
return tryParseInitializerApi(functions, expression.expression, reflector, importTracker);
|
|
7930
|
+
}
|
|
7917
7931
|
if (!ts40.isCallExpression(expression)) {
|
|
7918
7932
|
return null;
|
|
7919
7933
|
}
|
|
@@ -7980,7 +7994,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
7980
7994
|
return { api: matchingApi, apiReference, isRequired };
|
|
7981
7995
|
}
|
|
7982
7996
|
|
|
7983
|
-
// bazel-out/
|
|
7997
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.js
|
|
7984
7998
|
import ts41 from "typescript";
|
|
7985
7999
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
7986
8000
|
if (!ts41.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -7998,7 +8012,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
7998
8012
|
return { alias };
|
|
7999
8013
|
}
|
|
8000
8014
|
|
|
8001
|
-
// bazel-out/
|
|
8015
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.js
|
|
8002
8016
|
var INPUT_INITIALIZER_FN = {
|
|
8003
8017
|
functionName: "input",
|
|
8004
8018
|
owningModule: "@angular/core",
|
|
@@ -8029,7 +8043,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
8029
8043
|
};
|
|
8030
8044
|
}
|
|
8031
8045
|
|
|
8032
|
-
// bazel-out/
|
|
8046
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.js
|
|
8033
8047
|
var MODEL_INITIALIZER_FN = {
|
|
8034
8048
|
functionName: "model",
|
|
8035
8049
|
owningModule: "@angular/core",
|
|
@@ -8069,7 +8083,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
8069
8083
|
};
|
|
8070
8084
|
}
|
|
8071
8085
|
|
|
8072
|
-
// bazel-out/
|
|
8086
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.js
|
|
8073
8087
|
var allowedAccessLevels = [
|
|
8074
8088
|
ClassMemberAccessLevel.PublicWritable,
|
|
8075
8089
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -8112,7 +8126,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
8112
8126
|
};
|
|
8113
8127
|
}
|
|
8114
8128
|
|
|
8115
|
-
// bazel-out/
|
|
8129
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.js
|
|
8116
8130
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
8117
8131
|
import ts42 from "typescript";
|
|
8118
8132
|
var queryFunctionNames = [
|
|
@@ -8197,7 +8211,7 @@ function parseDescendantsOption(value) {
|
|
|
8197
8211
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
8198
8212
|
}
|
|
8199
8213
|
|
|
8200
|
-
// bazel-out/
|
|
8214
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
8201
8215
|
var EMPTY_OBJECT = {};
|
|
8202
8216
|
var queryDecoratorNames = [
|
|
8203
8217
|
"ViewChild",
|
|
@@ -8950,9 +8964,9 @@ function evaluateHostExpressionBindings(hostExpr, evaluator) {
|
|
|
8950
8964
|
return bindings;
|
|
8951
8965
|
}
|
|
8952
8966
|
function getHostBindingErrorNode(error, hostExpr) {
|
|
8953
|
-
if (ts43.isObjectLiteralExpression(hostExpr)
|
|
8967
|
+
if (ts43.isObjectLiteralExpression(hostExpr)) {
|
|
8954
8968
|
for (const prop of hostExpr.properties) {
|
|
8955
|
-
if (ts43.isPropertyAssignment(prop) && ts43.isStringLiteralLike(prop.initializer) && prop.initializer.text
|
|
8969
|
+
if (ts43.isPropertyAssignment(prop) && ts43.isStringLiteralLike(prop.initializer) && error.msg.includes(`[${prop.initializer.text}]`)) {
|
|
8956
8970
|
return prop.initializer;
|
|
8957
8971
|
}
|
|
8958
8972
|
}
|
|
@@ -9064,7 +9078,7 @@ function extractHostBindingResources(nodes) {
|
|
|
9064
9078
|
return result;
|
|
9065
9079
|
}
|
|
9066
9080
|
|
|
9067
|
-
// bazel-out/
|
|
9081
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.js
|
|
9068
9082
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
9069
9083
|
selector;
|
|
9070
9084
|
inputs;
|
|
@@ -9150,11 +9164,11 @@ function isBaseClassEqual(current, previous) {
|
|
|
9150
9164
|
return isSymbolEqual(current, previous);
|
|
9151
9165
|
}
|
|
9152
9166
|
|
|
9153
|
-
// bazel-out/
|
|
9167
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
9154
9168
|
import { CssSelector as CssSelector4, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr8, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
9155
9169
|
import ts64 from "typescript";
|
|
9156
9170
|
|
|
9157
|
-
// bazel-out/
|
|
9171
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.js
|
|
9158
9172
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
9159
9173
|
var UpdateMode;
|
|
9160
9174
|
(function(UpdateMode2) {
|
|
@@ -9162,13 +9176,13 @@ var UpdateMode;
|
|
|
9162
9176
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
9163
9177
|
})(UpdateMode || (UpdateMode = {}));
|
|
9164
9178
|
|
|
9165
|
-
// bazel-out/
|
|
9179
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
9166
9180
|
import ts45 from "typescript";
|
|
9167
9181
|
|
|
9168
|
-
// bazel-out/
|
|
9182
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
9169
9183
|
import ts44 from "typescript";
|
|
9170
9184
|
|
|
9171
|
-
// bazel-out/
|
|
9185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.js
|
|
9172
9186
|
var NgExtension = Symbol("NgExtension");
|
|
9173
9187
|
function isExtended(sf) {
|
|
9174
9188
|
return sf[NgExtension] !== void 0;
|
|
@@ -9228,13 +9242,13 @@ function retagTsFile(sf) {
|
|
|
9228
9242
|
}
|
|
9229
9243
|
}
|
|
9230
9244
|
|
|
9231
|
-
// bazel-out/
|
|
9245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.js
|
|
9232
9246
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
9233
9247
|
function makeShimFileName(fileName, suffix) {
|
|
9234
9248
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
9235
9249
|
}
|
|
9236
9250
|
|
|
9237
|
-
// bazel-out/
|
|
9251
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
9238
9252
|
var ShimAdapter = class {
|
|
9239
9253
|
delegate;
|
|
9240
9254
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -9331,7 +9345,7 @@ var ShimAdapter = class {
|
|
|
9331
9345
|
}
|
|
9332
9346
|
};
|
|
9333
9347
|
|
|
9334
|
-
// bazel-out/
|
|
9348
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.js
|
|
9335
9349
|
var ShimReferenceTagger = class {
|
|
9336
9350
|
suffixes;
|
|
9337
9351
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -9366,7 +9380,7 @@ var ShimReferenceTagger = class {
|
|
|
9366
9380
|
}
|
|
9367
9381
|
};
|
|
9368
9382
|
|
|
9369
|
-
// bazel-out/
|
|
9383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
9370
9384
|
var DelegatingCompilerHost = class {
|
|
9371
9385
|
delegate;
|
|
9372
9386
|
createHash;
|
|
@@ -9517,7 +9531,7 @@ var TsCreateProgramDriver = class {
|
|
|
9517
9531
|
}
|
|
9518
9532
|
};
|
|
9519
9533
|
|
|
9520
|
-
// bazel-out/
|
|
9534
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.js
|
|
9521
9535
|
import ts46 from "typescript";
|
|
9522
9536
|
function makeTemplateDiagnostic(id, mapping, span, category, code, messageText, relatedMessages) {
|
|
9523
9537
|
if (mapping.type === "direct") {
|
|
@@ -9627,7 +9641,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
9627
9641
|
);
|
|
9628
9642
|
}
|
|
9629
9643
|
|
|
9630
|
-
// bazel-out/
|
|
9644
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.js
|
|
9631
9645
|
var TYPE_CHECK_ID_MAP = Symbol("TypeCheckId");
|
|
9632
9646
|
function getTypeCheckId(clazz) {
|
|
9633
9647
|
const sf = clazz.getSourceFile();
|
|
@@ -9640,11 +9654,11 @@ function getTypeCheckId(clazz) {
|
|
|
9640
9654
|
return sf[TYPE_CHECK_ID_MAP].get(clazz);
|
|
9641
9655
|
}
|
|
9642
9656
|
|
|
9643
|
-
// bazel-out/
|
|
9657
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9644
9658
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
9645
9659
|
import ts48 from "typescript";
|
|
9646
9660
|
|
|
9647
|
-
// bazel-out/
|
|
9661
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.js
|
|
9648
9662
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
9649
9663
|
import ts47 from "typescript";
|
|
9650
9664
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -9774,7 +9788,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
9774
9788
|
}) || false;
|
|
9775
9789
|
}
|
|
9776
9790
|
|
|
9777
|
-
// bazel-out/
|
|
9791
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9778
9792
|
var CompletionEngine = class {
|
|
9779
9793
|
tcb;
|
|
9780
9794
|
data;
|
|
@@ -9951,7 +9965,7 @@ var CompletionEngine = class {
|
|
|
9951
9965
|
}
|
|
9952
9966
|
};
|
|
9953
9967
|
|
|
9954
|
-
// bazel-out/
|
|
9968
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
9955
9969
|
import { ParseSourceFile as ParseSourceFile2 } from "@angular/compiler";
|
|
9956
9970
|
|
|
9957
9971
|
// node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -10994,10 +11008,10 @@ var MagicString = class {
|
|
|
10994
11008
|
}
|
|
10995
11009
|
};
|
|
10996
11010
|
|
|
10997
|
-
// bazel-out/
|
|
11011
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
10998
11012
|
import ts62 from "typescript";
|
|
10999
11013
|
|
|
11000
|
-
// bazel-out/
|
|
11014
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.js
|
|
11001
11015
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
11002
11016
|
import ts49 from "typescript";
|
|
11003
11017
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -11063,10 +11077,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
11063
11077
|
}
|
|
11064
11078
|
};
|
|
11065
11079
|
|
|
11066
|
-
// bazel-out/
|
|
11080
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
11067
11081
|
import ts55 from "typescript";
|
|
11068
11082
|
|
|
11069
|
-
// bazel-out/
|
|
11083
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.js
|
|
11070
11084
|
import { ExpressionType, ExternalExpr as ExternalExpr7, TypeModifier } from "@angular/compiler";
|
|
11071
11085
|
var ReferenceEmitEnvironment = class {
|
|
11072
11086
|
importManager;
|
|
@@ -11101,7 +11115,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
11101
11115
|
}
|
|
11102
11116
|
};
|
|
11103
11117
|
|
|
11104
|
-
// bazel-out/
|
|
11118
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.js
|
|
11105
11119
|
import ts50 from "typescript";
|
|
11106
11120
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
11107
11121
|
ts50.SyntaxKind.ParenthesizedExpression,
|
|
@@ -11192,15 +11206,15 @@ function tsNumericExpression2(value) {
|
|
|
11192
11206
|
return ts50.factory.createNumericLiteral(value);
|
|
11193
11207
|
}
|
|
11194
11208
|
|
|
11195
|
-
// bazel-out/
|
|
11209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
11196
11210
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
11197
11211
|
import ts54 from "typescript";
|
|
11198
11212
|
|
|
11199
|
-
// bazel-out/
|
|
11213
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
11200
11214
|
import { R3Identifiers } from "@angular/compiler";
|
|
11201
11215
|
import ts53 from "typescript";
|
|
11202
11216
|
|
|
11203
|
-
// bazel-out/
|
|
11217
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.js
|
|
11204
11218
|
import ts51 from "typescript";
|
|
11205
11219
|
var TypeParameterEmitter = class {
|
|
11206
11220
|
typeParameters;
|
|
@@ -11280,7 +11294,7 @@ var TypeParameterEmitter = class {
|
|
|
11280
11294
|
}
|
|
11281
11295
|
};
|
|
11282
11296
|
|
|
11283
|
-
// bazel-out/
|
|
11297
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/host_bindings.js
|
|
11284
11298
|
import { BindingType, CssSelector as CssSelector2, makeBindingParser, TmplAstBoundAttribute, TmplAstBoundEvent, TmplAstHostElement, AbsoluteSourceSpan as AbsoluteSourceSpan2, ParseSpan, PropertyRead as PropertyRead2, ParsedEventType, Call, ThisReceiver, KeyedRead, LiteralPrimitive, RecursiveAstVisitor, ASTWithName, SafeCall, ImplicitReceiver as ImplicitReceiver2 } from "@angular/compiler";
|
|
11285
11299
|
import ts52 from "typescript";
|
|
11286
11300
|
var GUARD_COMMENT_TEXT = "hostBindingsBlockGuard";
|
|
@@ -11506,7 +11520,7 @@ var ReplaceSpanVisitor = class extends RecursiveAstVisitor {
|
|
|
11506
11520
|
}
|
|
11507
11521
|
};
|
|
11508
11522
|
|
|
11509
|
-
// bazel-out/
|
|
11523
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
11510
11524
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
11511
11525
|
R3Identifiers.InputSignalBrandWriteType
|
|
11512
11526
|
];
|
|
@@ -11628,7 +11642,7 @@ function findNodeInFile(file, predicate) {
|
|
|
11628
11642
|
return ts53.forEachChild(file, visit2) ?? null;
|
|
11629
11643
|
}
|
|
11630
11644
|
|
|
11631
|
-
// bazel-out/
|
|
11645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
11632
11646
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
11633
11647
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
11634
11648
|
const rawType = ts54.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -11751,7 +11765,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
11751
11765
|
});
|
|
11752
11766
|
}
|
|
11753
11767
|
|
|
11754
|
-
// bazel-out/
|
|
11768
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
11755
11769
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
11756
11770
|
config;
|
|
11757
11771
|
nextIds = {
|
|
@@ -11824,13 +11838,28 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
11824
11838
|
}
|
|
11825
11839
|
};
|
|
11826
11840
|
|
|
11827
|
-
// bazel-out/
|
|
11841
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.js
|
|
11828
11842
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstBoundEvent as TmplAstBoundEvent2, TmplAstComponent, TmplAstDirective, TmplAstElement } from "@angular/compiler";
|
|
11829
11843
|
import ts56 from "typescript";
|
|
11830
11844
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
11831
11845
|
resolver;
|
|
11832
11846
|
_diagnostics = [];
|
|
11833
11847
|
recordedPipes = /* @__PURE__ */ new Set();
|
|
11848
|
+
pipeSuggestions = /* @__PURE__ */ new Map([
|
|
11849
|
+
["async", "AsyncPipe"],
|
|
11850
|
+
["uppercase", "UpperCasePipe"],
|
|
11851
|
+
["lowercase", "LowerCasePipe"],
|
|
11852
|
+
["json", "JsonPipe"],
|
|
11853
|
+
["slice", "SlicePipe"],
|
|
11854
|
+
["number", "DecimalPipe"],
|
|
11855
|
+
["percent", "PercentPipe"],
|
|
11856
|
+
["titlecase", "TitleCasePipe"],
|
|
11857
|
+
["currency", "CurrencyPipe"],
|
|
11858
|
+
["date", "DatePipe"],
|
|
11859
|
+
["i18nPlural", "I18nPluralPipe"],
|
|
11860
|
+
["i18nSelect", "I18nSelectPipe"],
|
|
11861
|
+
["keyvalue", "KeyValuePipe"]
|
|
11862
|
+
]);
|
|
11834
11863
|
constructor(resolver) {
|
|
11835
11864
|
this.resolver = resolver;
|
|
11836
11865
|
}
|
|
@@ -11843,16 +11872,27 @@ var OutOfBandDiagnosticRecorderImpl = class {
|
|
|
11843
11872
|
const errorMsg = `No directive found with exportAs '${value}'.`;
|
|
11844
11873
|
this._diagnostics.push(makeTemplateDiagnostic(id, mapping, ref.valueSpan || ref.sourceSpan, ts56.DiagnosticCategory.Error, ngErrorCode(ErrorCode.MISSING_REFERENCE_TARGET), errorMsg));
|
|
11845
11874
|
}
|
|
11846
|
-
missingPipe(id, ast) {
|
|
11875
|
+
missingPipe(id, ast, isStandalone) {
|
|
11847
11876
|
if (this.recordedPipes.has(ast)) {
|
|
11848
11877
|
return;
|
|
11849
11878
|
}
|
|
11850
|
-
const mapping = this.resolver.getTemplateSourceMapping(id);
|
|
11851
|
-
const errorMsg = `No pipe found with name '${ast.name}'.`;
|
|
11852
11879
|
const sourceSpan = this.resolver.toTemplateParseSourceSpan(id, ast.nameSpan);
|
|
11853
11880
|
if (sourceSpan === null) {
|
|
11854
11881
|
throw new Error(`Assertion failure: no SourceLocation found for usage of pipe '${ast.name}'.`);
|
|
11855
11882
|
}
|
|
11883
|
+
const mapping = this.resolver.getTemplateSourceMapping(id);
|
|
11884
|
+
let errorMsg = `No pipe found with name '${ast.name}'.`;
|
|
11885
|
+
if (this.pipeSuggestions.has(ast.name)) {
|
|
11886
|
+
const suggestedClassName = this.pipeSuggestions.get(ast.name);
|
|
11887
|
+
const suggestedImport = "@angular/common";
|
|
11888
|
+
if (isStandalone) {
|
|
11889
|
+
errorMsg += `
|
|
11890
|
+
To fix this, import the "${suggestedClassName}" class from "${suggestedImport}" and add it to the "imports" array of the component.`;
|
|
11891
|
+
} else {
|
|
11892
|
+
errorMsg += `
|
|
11893
|
+
To fix this, import the "${suggestedClassName}" class from "${suggestedImport}" and add it to the "imports" array of the module declaring the component.`;
|
|
11894
|
+
}
|
|
11895
|
+
}
|
|
11856
11896
|
this._diagnostics.push(makeTemplateDiagnostic(id, mapping, sourceSpan, ts56.DiagnosticCategory.Error, ngErrorCode(ErrorCode.MISSING_PIPE), errorMsg));
|
|
11857
11897
|
this.recordedPipes.add(ast);
|
|
11858
11898
|
}
|
|
@@ -12050,7 +12090,7 @@ function makeInlineDiagnostic(id, code, node, messageText, relatedInformation) {
|
|
|
12050
12090
|
};
|
|
12051
12091
|
}
|
|
12052
12092
|
|
|
12053
|
-
// bazel-out/
|
|
12093
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.js
|
|
12054
12094
|
import ts57 from "typescript";
|
|
12055
12095
|
var TypeCheckShimGenerator = class {
|
|
12056
12096
|
extensionPrefix = "ngtypecheck";
|
|
@@ -12066,11 +12106,11 @@ var TypeCheckShimGenerator = class {
|
|
|
12066
12106
|
}
|
|
12067
12107
|
};
|
|
12068
12108
|
|
|
12069
|
-
// bazel-out/
|
|
12109
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
12070
12110
|
import { BindingPipe, BindingType as BindingType2, Call as Call3, createCssSelectorFromNode, CssSelector as CssSelector3, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, ParsedEventType as ParsedEventType2, PropertyRead as PropertyRead4, R3Identifiers as R3Identifiers3, SafeCall as SafeCall2, SafePropertyRead as SafePropertyRead3, SelectorMatcher as SelectorMatcher2, ThisReceiver as ThisReceiver2, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundText, TmplAstContent, TmplAstDeferredBlock, TmplAstElement as TmplAstElement2, TmplAstForLoopBlock, TmplAstIcu, TmplAstIfBlock, TmplAstIfBlockBranch, TmplAstLetDeclaration as TmplAstLetDeclaration2, TmplAstReference as TmplAstReference2, TmplAstSwitchBlock, TmplAstTemplate, TmplAstText, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable, TmplAstHostElement as TmplAstHostElement2, TransplantedType, TmplAstComponent as TmplAstComponent2, TmplAstDirective as TmplAstDirective2, Binary } from "@angular/compiler";
|
|
12071
12111
|
import ts60 from "typescript";
|
|
12072
12112
|
|
|
12073
|
-
// bazel-out/
|
|
12113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.js
|
|
12074
12114
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
12075
12115
|
import ts58 from "typescript";
|
|
12076
12116
|
function wrapForDiagnostics(expr) {
|
|
@@ -12126,7 +12166,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
12126
12166
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
12127
12167
|
}
|
|
12128
12168
|
|
|
12129
|
-
// bazel-out/
|
|
12169
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.js
|
|
12130
12170
|
import { ASTWithSource, Call as Call2, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
12131
12171
|
import ts59 from "typescript";
|
|
12132
12172
|
var ANY_EXPRESSION = ts59.factory.createAsExpression(ts59.factory.createNumericLiteral("0"), ts59.factory.createKeywordTypeNode(ts59.SyntaxKind.AnyKeyword));
|
|
@@ -12156,7 +12196,17 @@ var BINARY_OPS = /* @__PURE__ */ new Map([
|
|
|
12156
12196
|
["&", ts59.SyntaxKind.AmpersandToken],
|
|
12157
12197
|
["|", ts59.SyntaxKind.BarToken],
|
|
12158
12198
|
["??", ts59.SyntaxKind.QuestionQuestionToken],
|
|
12159
|
-
["in", ts59.SyntaxKind.InKeyword]
|
|
12199
|
+
["in", ts59.SyntaxKind.InKeyword],
|
|
12200
|
+
["=", ts59.SyntaxKind.EqualsToken],
|
|
12201
|
+
["+=", ts59.SyntaxKind.PlusEqualsToken],
|
|
12202
|
+
["-=", ts59.SyntaxKind.MinusEqualsToken],
|
|
12203
|
+
["*=", ts59.SyntaxKind.AsteriskEqualsToken],
|
|
12204
|
+
["/=", ts59.SyntaxKind.SlashEqualsToken],
|
|
12205
|
+
["%=", ts59.SyntaxKind.PercentEqualsToken],
|
|
12206
|
+
["**=", ts59.SyntaxKind.AsteriskAsteriskEqualsToken],
|
|
12207
|
+
["&&=", ts59.SyntaxKind.AmpersandAmpersandEqualsToken],
|
|
12208
|
+
["||=", ts59.SyntaxKind.BarBarEqualsToken],
|
|
12209
|
+
["??=", ts59.SyntaxKind.QuestionQuestionEqualsToken]
|
|
12160
12210
|
]);
|
|
12161
12211
|
function astToTypescript(ast, maybeResolve, config) {
|
|
12162
12212
|
const translator = new AstTranslator(maybeResolve, config);
|
|
@@ -12496,7 +12546,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
12496
12546
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
12497
12547
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
12498
12548
|
|
|
12499
|
-
// bazel-out/
|
|
12549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
12500
12550
|
var TcbGenericContextBehavior;
|
|
12501
12551
|
(function(TcbGenericContextBehavior2) {
|
|
12502
12552
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -14146,7 +14196,7 @@ var TcbExpressionTranslator = class {
|
|
|
14146
14196
|
}
|
|
14147
14197
|
}
|
|
14148
14198
|
return targetExpression;
|
|
14149
|
-
} else if (ast instanceof Binary && ast.operation
|
|
14199
|
+
} else if (ast instanceof Binary && Binary.isAssignmentOperation(ast.operation) && ast.left instanceof PropertyRead4 && ast.left.receiver instanceof ImplicitReceiver3) {
|
|
14150
14200
|
const read = ast.left;
|
|
14151
14201
|
const target = this.tcb.boundTarget.getExpressionTarget(read);
|
|
14152
14202
|
if (target === null) {
|
|
@@ -14168,7 +14218,7 @@ var TcbExpressionTranslator = class {
|
|
|
14168
14218
|
const pipeMeta = this.tcb.getPipeByName(ast.name);
|
|
14169
14219
|
let pipe;
|
|
14170
14220
|
if (pipeMeta === null) {
|
|
14171
|
-
this.tcb.oobRecorder.missingPipe(this.tcb.id, ast);
|
|
14221
|
+
this.tcb.oobRecorder.missingPipe(this.tcb.id, ast, this.tcb.hostIsStandalone);
|
|
14172
14222
|
pipe = ANY_EXPRESSION;
|
|
14173
14223
|
} else if (pipeMeta.isExplicitlyDeferred && this.tcb.boundTarget.getEagerlyUsedPipes().includes(ast.name)) {
|
|
14174
14224
|
this.tcb.oobRecorder.deferredPipeUsedEagerly(this.tcb.id, ast);
|
|
@@ -14403,7 +14453,7 @@ function getComponentTagName(node) {
|
|
|
14403
14453
|
return node.tagName || "ng-component";
|
|
14404
14454
|
}
|
|
14405
14455
|
|
|
14406
|
-
// bazel-out/
|
|
14456
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.js
|
|
14407
14457
|
import ts61 from "typescript";
|
|
14408
14458
|
var TypeCheckFile = class extends Environment {
|
|
14409
14459
|
fileName;
|
|
@@ -14452,7 +14502,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
14452
14502
|
}
|
|
14453
14503
|
};
|
|
14454
14504
|
|
|
14455
|
-
// bazel-out/
|
|
14505
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
14456
14506
|
var InliningMode;
|
|
14457
14507
|
(function(InliningMode2) {
|
|
14458
14508
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -14736,10 +14786,10 @@ var TypeCtorOp = class {
|
|
|
14736
14786
|
}
|
|
14737
14787
|
};
|
|
14738
14788
|
|
|
14739
|
-
// bazel-out/
|
|
14789
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14740
14790
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
14741
14791
|
|
|
14742
|
-
// bazel-out/
|
|
14792
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.js
|
|
14743
14793
|
var LF_CHAR = 10;
|
|
14744
14794
|
var CR_CHAR = 13;
|
|
14745
14795
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -14780,7 +14830,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
14780
14830
|
return low - 1;
|
|
14781
14831
|
}
|
|
14782
14832
|
|
|
14783
|
-
// bazel-out/
|
|
14833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14784
14834
|
var Source = class {
|
|
14785
14835
|
mapping;
|
|
14786
14836
|
file;
|
|
@@ -14846,7 +14896,7 @@ var DirectiveSourceManager = class {
|
|
|
14846
14896
|
}
|
|
14847
14897
|
};
|
|
14848
14898
|
|
|
14849
|
-
// bazel-out/
|
|
14899
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.js
|
|
14850
14900
|
import { AST, ASTWithName as ASTWithName2, ASTWithSource as ASTWithSource2, Binary as Binary2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, R3Identifiers as R3Identifiers4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstComponent as TmplAstComponent3, TmplAstDirective as TmplAstDirective3, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
14851
14901
|
import ts63 from "typescript";
|
|
14852
14902
|
var SymbolBuilder = class {
|
|
@@ -14985,7 +15035,7 @@ var SymbolBuilder = class {
|
|
|
14985
15035
|
isStructural: meta.isStructural,
|
|
14986
15036
|
isInScope: true,
|
|
14987
15037
|
isHostDirective: false,
|
|
14988
|
-
|
|
15038
|
+
tsCompletionEntryInfos: null
|
|
14989
15039
|
};
|
|
14990
15040
|
symbols.push(directiveSymbol);
|
|
14991
15041
|
seenDirectives.add(declaration);
|
|
@@ -15021,7 +15071,7 @@ var SymbolBuilder = class {
|
|
|
15021
15071
|
kind: SymbolKind.Directive,
|
|
15022
15072
|
isStructural: meta.isStructural,
|
|
15023
15073
|
isInScope: true,
|
|
15024
|
-
|
|
15074
|
+
tsCompletionEntryInfos: null
|
|
15025
15075
|
};
|
|
15026
15076
|
symbols.push(directiveSymbol);
|
|
15027
15077
|
seenDirectives.add(node);
|
|
@@ -15243,7 +15293,7 @@ var SymbolBuilder = class {
|
|
|
15243
15293
|
ngModule,
|
|
15244
15294
|
isHostDirective: false,
|
|
15245
15295
|
isInScope: true,
|
|
15246
|
-
|
|
15296
|
+
tsCompletionEntryInfos: null
|
|
15247
15297
|
};
|
|
15248
15298
|
}
|
|
15249
15299
|
getSymbolOfVariable(variable) {
|
|
@@ -15387,7 +15437,7 @@ var SymbolBuilder = class {
|
|
|
15387
15437
|
return this.getSymbol(expressionTarget);
|
|
15388
15438
|
}
|
|
15389
15439
|
let withSpan = expression.sourceSpan;
|
|
15390
|
-
if (expression instanceof Binary2 && expression.operation
|
|
15440
|
+
if (expression instanceof Binary2 && Binary2.isAssignmentOperation(expression.operation) && expression.left instanceof PropertyRead5) {
|
|
15391
15441
|
withSpan = expression.left.nameSpan;
|
|
15392
15442
|
} else if (expression instanceof ASTWithName2 && !(expression instanceof SafePropertyRead4)) {
|
|
15393
15443
|
withSpan = expression.nameSpan;
|
|
@@ -15500,7 +15550,7 @@ function collectClassesWithName(sourceFile, className) {
|
|
|
15500
15550
|
return classes;
|
|
15501
15551
|
}
|
|
15502
15552
|
|
|
15503
|
-
// bazel-out/
|
|
15553
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
15504
15554
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
15505
15555
|
var TemplateTypeCheckerImpl = class {
|
|
15506
15556
|
originalProgram;
|
|
@@ -16006,7 +16056,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16006
16056
|
return {
|
|
16007
16057
|
...withScope,
|
|
16008
16058
|
isInScope,
|
|
16009
|
-
tsCompletionEntryInfo
|
|
16059
|
+
tsCompletionEntryInfos: tsCompletionEntryInfo !== null ? [tsCompletionEntryInfo] : null
|
|
16010
16060
|
};
|
|
16011
16061
|
}
|
|
16012
16062
|
getElementsInFileScope(component) {
|
|
@@ -16042,7 +16092,8 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16042
16092
|
const currentComponentFileName = component.getSourceFile().fileName;
|
|
16043
16093
|
for (const { symbol, data } of entries ?? []) {
|
|
16044
16094
|
const symbolFileName = symbol?.declarations?.[0]?.getSourceFile().fileName;
|
|
16045
|
-
|
|
16095
|
+
const symbolName = symbol?.name;
|
|
16096
|
+
if (symbolFileName === void 0 || symbolName === void 0) {
|
|
16046
16097
|
continue;
|
|
16047
16098
|
}
|
|
16048
16099
|
if (symbolFileName === currentComponentFileName) {
|
|
@@ -16061,23 +16112,22 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16061
16112
|
ref
|
|
16062
16113
|
});
|
|
16063
16114
|
} else {
|
|
16064
|
-
const
|
|
16065
|
-
|
|
16066
|
-
continue;
|
|
16067
|
-
}
|
|
16068
|
-
for (const moduleExports of ngModuleMeta.exports) {
|
|
16069
|
-
const directiveMeta2 = this.metaReader.getDirectiveMetadata(moduleExports);
|
|
16070
|
-
if (directiveMeta2 === null) {
|
|
16071
|
-
continue;
|
|
16072
|
-
}
|
|
16073
|
-
directiveDecls.push({
|
|
16074
|
-
meta: directiveMeta2,
|
|
16075
|
-
ref: moduleExports
|
|
16076
|
-
});
|
|
16077
|
-
}
|
|
16115
|
+
const directiveDeclsForNgModule = this.getDirectiveDeclsForNgModule(ref);
|
|
16116
|
+
directiveDecls.push(...directiveDeclsForNgModule);
|
|
16078
16117
|
}
|
|
16079
16118
|
for (const directiveDecl of directiveDecls) {
|
|
16119
|
+
const cachedCompletionEntryInfos = resultingDirectives.get(directiveDecl.ref.node)?.tsCompletionEntryInfos ?? [];
|
|
16120
|
+
cachedCompletionEntryInfos.push({
|
|
16121
|
+
tsCompletionEntryData: data,
|
|
16122
|
+
tsCompletionEntrySymbolFileName: symbolFileName,
|
|
16123
|
+
tsCompletionEntrySymbolName: symbolName
|
|
16124
|
+
});
|
|
16080
16125
|
if (resultingDirectives.has(directiveDecl.ref.node)) {
|
|
16126
|
+
const directiveInfo = resultingDirectives.get(directiveDecl.ref.node);
|
|
16127
|
+
resultingDirectives.set(directiveDecl.ref.node, {
|
|
16128
|
+
...directiveInfo,
|
|
16129
|
+
tsCompletionEntryInfos: cachedCompletionEntryInfos
|
|
16130
|
+
});
|
|
16081
16131
|
continue;
|
|
16082
16132
|
}
|
|
16083
16133
|
const withScope = this.scopeDataOfDirectiveMeta(typeChecker, directiveDecl.meta);
|
|
@@ -16087,15 +16137,36 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16087
16137
|
resultingDirectives.set(directiveDecl.ref.node, {
|
|
16088
16138
|
...withScope,
|
|
16089
16139
|
isInScope: false,
|
|
16090
|
-
|
|
16091
|
-
tsCompletionEntryData: data,
|
|
16092
|
-
tsCompletionEntrySymbolFileName: symbolFileName
|
|
16093
|
-
}
|
|
16140
|
+
tsCompletionEntryInfos: cachedCompletionEntryInfos
|
|
16094
16141
|
});
|
|
16095
16142
|
}
|
|
16096
16143
|
}
|
|
16097
16144
|
return Array.from(resultingDirectives.values());
|
|
16098
16145
|
}
|
|
16146
|
+
getDirectiveDeclsForNgModule(ref) {
|
|
16147
|
+
const ngModuleMeta = this.metaReader.getNgModuleMetadata(ref);
|
|
16148
|
+
if (ngModuleMeta === null) {
|
|
16149
|
+
return [];
|
|
16150
|
+
}
|
|
16151
|
+
const directiveDecls = [];
|
|
16152
|
+
for (const moduleExports of ngModuleMeta.exports) {
|
|
16153
|
+
const directiveMeta = this.metaReader.getDirectiveMetadata(moduleExports);
|
|
16154
|
+
if (directiveMeta !== null) {
|
|
16155
|
+
directiveDecls.push({
|
|
16156
|
+
meta: directiveMeta,
|
|
16157
|
+
ref: moduleExports
|
|
16158
|
+
});
|
|
16159
|
+
} else {
|
|
16160
|
+
const ngModuleMeta2 = this.metaReader.getNgModuleMetadata(moduleExports);
|
|
16161
|
+
if (ngModuleMeta2 === null) {
|
|
16162
|
+
continue;
|
|
16163
|
+
}
|
|
16164
|
+
const nestedDirectiveDecls = this.getDirectiveDeclsForNgModule(moduleExports);
|
|
16165
|
+
directiveDecls.push(...nestedDirectiveDecls);
|
|
16166
|
+
}
|
|
16167
|
+
}
|
|
16168
|
+
return directiveDecls;
|
|
16169
|
+
}
|
|
16099
16170
|
getPotentialElementTags(component, tsLs, options) {
|
|
16100
16171
|
if (this.elementTagCache.has(component)) {
|
|
16101
16172
|
return this.elementTagCache.get(component);
|
|
@@ -16191,27 +16262,42 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16191
16262
|
}
|
|
16192
16263
|
return null;
|
|
16193
16264
|
}
|
|
16194
|
-
getPotentialImportsFor(toImport, inContext, importMode) {
|
|
16265
|
+
getPotentialImportsFor(toImport, inContext, importMode, potentialDirectiveModuleSpecifierResolver) {
|
|
16195
16266
|
const imports = [];
|
|
16196
16267
|
const meta = this.metaReader.getDirectiveMetadata(toImport) ?? this.metaReader.getPipeMetadata(toImport);
|
|
16197
16268
|
if (meta === null) {
|
|
16198
16269
|
return imports;
|
|
16199
16270
|
}
|
|
16271
|
+
let highestImportPriority = -1;
|
|
16272
|
+
const collectImports = (emit, moduleSpecifier) => {
|
|
16273
|
+
if (emit === null) {
|
|
16274
|
+
return;
|
|
16275
|
+
}
|
|
16276
|
+
imports.push({
|
|
16277
|
+
...emit,
|
|
16278
|
+
moduleSpecifier: moduleSpecifier ?? emit.moduleSpecifier
|
|
16279
|
+
});
|
|
16280
|
+
if (moduleSpecifier !== void 0 && highestImportPriority === -1) {
|
|
16281
|
+
highestImportPriority = imports.length - 1;
|
|
16282
|
+
}
|
|
16283
|
+
};
|
|
16200
16284
|
if (meta.isStandalone || importMode === PotentialImportMode.ForceDirect) {
|
|
16201
16285
|
const emitted = this.emit(PotentialImportKind.Standalone, toImport, inContext);
|
|
16202
|
-
|
|
16203
|
-
|
|
16204
|
-
}
|
|
16286
|
+
const moduleSpecifier = potentialDirectiveModuleSpecifierResolver?.resolve(toImport, inContext);
|
|
16287
|
+
collectImports(emitted, moduleSpecifier);
|
|
16205
16288
|
}
|
|
16206
16289
|
const exportingNgModules = this.ngModuleIndex.getNgModulesExporting(meta.ref.node);
|
|
16207
16290
|
if (exportingNgModules !== null) {
|
|
16208
16291
|
for (const exporter of exportingNgModules) {
|
|
16209
16292
|
const emittedRef = this.emit(PotentialImportKind.NgModule, exporter, inContext);
|
|
16210
|
-
|
|
16211
|
-
|
|
16212
|
-
}
|
|
16293
|
+
const moduleSpecifier = potentialDirectiveModuleSpecifierResolver?.resolve(exporter, inContext);
|
|
16294
|
+
collectImports(emittedRef, moduleSpecifier);
|
|
16213
16295
|
}
|
|
16214
16296
|
}
|
|
16297
|
+
if (highestImportPriority > 0) {
|
|
16298
|
+
const highImport = imports.splice(highestImportPriority, 1)[0];
|
|
16299
|
+
imports.unshift(highImport);
|
|
16300
|
+
}
|
|
16215
16301
|
return imports;
|
|
16216
16302
|
}
|
|
16217
16303
|
getComponentScope(component) {
|
|
@@ -16267,7 +16353,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16267
16353
|
selector: dep.selector,
|
|
16268
16354
|
tsSymbol,
|
|
16269
16355
|
ngModule,
|
|
16270
|
-
|
|
16356
|
+
tsCompletionEntryInfos: null
|
|
16271
16357
|
};
|
|
16272
16358
|
}
|
|
16273
16359
|
scopeDataOfPipeMeta(typeChecker, dep) {
|
|
@@ -16279,7 +16365,7 @@ var TemplateTypeCheckerImpl = class {
|
|
|
16279
16365
|
ref: dep.ref,
|
|
16280
16366
|
name: dep.name,
|
|
16281
16367
|
tsSymbol,
|
|
16282
|
-
|
|
16368
|
+
tsCompletionEntryInfos: null
|
|
16283
16369
|
};
|
|
16284
16370
|
}
|
|
16285
16371
|
};
|
|
@@ -16396,7 +16482,7 @@ function getClassDeclFromSymbol(symbol, checker) {
|
|
|
16396
16482
|
return null;
|
|
16397
16483
|
}
|
|
16398
16484
|
|
|
16399
|
-
// bazel-out/
|
|
16485
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
16400
16486
|
var FIELD_DECORATORS = [
|
|
16401
16487
|
"Input",
|
|
16402
16488
|
"Output",
|
|
@@ -16659,11 +16745,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
16659
16745
|
}
|
|
16660
16746
|
};
|
|
16661
16747
|
|
|
16662
|
-
// bazel-out/
|
|
16748
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
16663
16749
|
import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr9, FactoryTarget as FactoryTarget2, FunctionExpr, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers as R3Identifiers5, R3NgModuleMetadataKind, R3SelectorScopeMode, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr10 } from "@angular/compiler";
|
|
16664
16750
|
import ts67 from "typescript";
|
|
16665
16751
|
|
|
16666
|
-
// bazel-out/
|
|
16752
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.js
|
|
16667
16753
|
import ts66 from "typescript";
|
|
16668
16754
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
16669
16755
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -16734,7 +16820,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
16734
16820
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
16735
16821
|
}
|
|
16736
16822
|
|
|
16737
|
-
// bazel-out/
|
|
16823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
16738
16824
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
16739
16825
|
hasProviders;
|
|
16740
16826
|
remotelyScopedComponents = [];
|
|
@@ -17389,7 +17475,7 @@ function isSyntheticReference(ref) {
|
|
|
17389
17475
|
return ref.synthetic;
|
|
17390
17476
|
}
|
|
17391
17477
|
|
|
17392
|
-
// bazel-out/
|
|
17478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.js
|
|
17393
17479
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
17394
17480
|
const name = ref.debugName || "(unknown)";
|
|
17395
17481
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -17412,7 +17498,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
17412
17498
|
return null;
|
|
17413
17499
|
}
|
|
17414
17500
|
|
|
17415
|
-
// bazel-out/
|
|
17501
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.js
|
|
17416
17502
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile3, parseTemplate } from "@angular/compiler";
|
|
17417
17503
|
import ts68 from "typescript";
|
|
17418
17504
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -17787,7 +17873,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
17787
17873
|
}));
|
|
17788
17874
|
}
|
|
17789
17875
|
|
|
17790
|
-
// bazel-out/
|
|
17876
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.js
|
|
17791
17877
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
17792
17878
|
usedDirectives = [];
|
|
17793
17879
|
usedPipes = [];
|
|
@@ -17819,7 +17905,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
17819
17905
|
}
|
|
17820
17906
|
};
|
|
17821
17907
|
|
|
17822
|
-
// bazel-out/
|
|
17908
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.js
|
|
17823
17909
|
import ts69 from "typescript";
|
|
17824
17910
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
17825
17911
|
if (value instanceof Map) {
|
|
@@ -17910,10 +17996,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
17910
17996
|
return false;
|
|
17911
17997
|
}
|
|
17912
17998
|
|
|
17913
|
-
// bazel-out/
|
|
17999
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17914
18000
|
import { outputAst as o4 } from "@angular/compiler";
|
|
17915
18001
|
|
|
17916
|
-
// bazel-out/
|
|
18002
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_dependencies.js
|
|
17917
18003
|
import { outputAst as o3 } from "@angular/compiler";
|
|
17918
18004
|
import ts70 from "typescript";
|
|
17919
18005
|
function extractHmrDependencies(node, definition, factory, deferBlockMetadata, classMetadata, debugInfo, reflection, evaluator) {
|
|
@@ -18123,7 +18209,7 @@ function isConstEnumReference(node, reflection) {
|
|
|
18123
18209
|
return declaration !== null && ts70.isEnumDeclaration(declaration.node) && !!declaration.node.modifiers?.some((m) => m.kind === ts70.SyntaxKind.ConstKeyword);
|
|
18124
18210
|
}
|
|
18125
18211
|
|
|
18126
|
-
// bazel-out/
|
|
18212
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
18127
18213
|
import ts71 from "typescript";
|
|
18128
18214
|
function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDirs, definition, factory, deferBlockMetadata, classMetadata, debugInfo) {
|
|
18129
18215
|
if (!reflection.isClass(clazz)) {
|
|
@@ -18145,7 +18231,7 @@ function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDi
|
|
|
18145
18231
|
return meta;
|
|
18146
18232
|
}
|
|
18147
18233
|
|
|
18148
|
-
// bazel-out/
|
|
18234
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.js
|
|
18149
18235
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
18150
18236
|
import ts72 from "typescript";
|
|
18151
18237
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, declaration) {
|
|
@@ -18182,7 +18268,7 @@ var HmrModuleImportRewriter = class {
|
|
|
18182
18268
|
}
|
|
18183
18269
|
};
|
|
18184
18270
|
|
|
18185
|
-
// bazel-out/
|
|
18271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/selectorless.js
|
|
18186
18272
|
import { BindingPipe as BindingPipe3, CombinedRecursiveAstVisitor, tmplAstVisitAll, BindingPipeType } from "@angular/compiler";
|
|
18187
18273
|
function analyzeTemplateForSelectorless(template) {
|
|
18188
18274
|
const analyzer = new SelectorlessDirectivesAnalyzer();
|
|
@@ -18213,7 +18299,7 @@ var SelectorlessDirectivesAnalyzer = class extends CombinedRecursiveAstVisitor {
|
|
|
18213
18299
|
}
|
|
18214
18300
|
};
|
|
18215
18301
|
|
|
18216
|
-
// bazel-out/
|
|
18302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
18217
18303
|
var EMPTY_ARRAY2 = [];
|
|
18218
18304
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
18219
18305
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -18836,7 +18922,8 @@ var ComponentDecoratorHandler = class {
|
|
|
18836
18922
|
deferPerBlockDependencies: this.locateDeferBlocksWithoutScope(analysis.template),
|
|
18837
18923
|
deferBlockDepsEmitMode: 1,
|
|
18838
18924
|
deferrableDeclToImportDecl: /* @__PURE__ */ new Map(),
|
|
18839
|
-
deferPerComponentDependencies: analysis.explicitlyDeferredTypes ?? []
|
|
18925
|
+
deferPerComponentDependencies: analysis.explicitlyDeferredTypes ?? [],
|
|
18926
|
+
hasDirectiveDependencies: true
|
|
18840
18927
|
};
|
|
18841
18928
|
if (this.localCompilationExtraImportsTracker === null) {
|
|
18842
18929
|
return { data };
|
|
@@ -18848,7 +18935,8 @@ var ComponentDecoratorHandler = class {
|
|
|
18848
18935
|
deferPerBlockDependencies: /* @__PURE__ */ new Map(),
|
|
18849
18936
|
deferBlockDepsEmitMode: 0,
|
|
18850
18937
|
deferrableDeclToImportDecl: /* @__PURE__ */ new Map(),
|
|
18851
|
-
deferPerComponentDependencies: []
|
|
18938
|
+
deferPerComponentDependencies: [],
|
|
18939
|
+
hasDirectiveDependencies: true
|
|
18852
18940
|
};
|
|
18853
18941
|
}
|
|
18854
18942
|
if (this.semanticDepGraphUpdater !== null && analysis.baseClass instanceof Reference) {
|
|
@@ -18870,6 +18958,11 @@ var ComponentDecoratorHandler = class {
|
|
|
18870
18958
|
}
|
|
18871
18959
|
if (this.compilationMode !== CompilationMode.LOCAL) {
|
|
18872
18960
|
this.resolveDeferBlocks(node, scope, deferBlocks, declarations, data, analysis, eagerlyUsed);
|
|
18961
|
+
data.hasDirectiveDependencies = !analysis.meta.isStandalone || allDependencies.some(({ kind, ref }) => {
|
|
18962
|
+
return (kind === MetaKind.Directive || kind === MetaKind.NgModule) && wholeTemplateUsed.has(ref.node);
|
|
18963
|
+
});
|
|
18964
|
+
} else {
|
|
18965
|
+
data.hasDirectiveDependencies = true;
|
|
18873
18966
|
}
|
|
18874
18967
|
this.handleDependencyCycles(node, context, scope, data, analysis, metadata, declarations, eagerlyUsed, symbol);
|
|
18875
18968
|
}
|
|
@@ -19486,7 +19579,7 @@ function isDefaultImport(node) {
|
|
|
19486
19579
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
19487
19580
|
}
|
|
19488
19581
|
|
|
19489
|
-
// bazel-out/
|
|
19582
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.js
|
|
19490
19583
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr11 } from "@angular/compiler";
|
|
19491
19584
|
import ts74 from "typescript";
|
|
19492
19585
|
var InjectableDecoratorHandler = class {
|
|
@@ -19727,7 +19820,7 @@ function getDep(dep, reflector) {
|
|
|
19727
19820
|
return meta;
|
|
19728
19821
|
}
|
|
19729
19822
|
|
|
19730
|
-
// bazel-out/
|
|
19823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.js
|
|
19731
19824
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
19732
19825
|
import ts75 from "typescript";
|
|
19733
19826
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -20024,4 +20117,4 @@ export {
|
|
|
20024
20117
|
* Use of this source code is governed by an MIT-style license that can be
|
|
20025
20118
|
* found in the LICENSE file at https://angular.dev/license
|
|
20026
20119
|
*/
|
|
20027
|
-
//# sourceMappingURL=chunk-
|
|
20120
|
+
//# sourceMappingURL=chunk-JVXFMHZL.js.map
|