@angular/compiler-cli 20.0.4 → 20.0.6
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-EBPHWYDC.js → chunk-7FGS2TFN.js} +11 -11
- package/bundles/{chunk-M3WWDK6S.js → chunk-LMRFLQ2K.js} +3 -3
- package/bundles/{chunk-TDMVX35I.js → chunk-LYJARAHL.js} +31 -31
- package/bundles/{chunk-QZKYZIEQ.js → chunk-M7MXAQMK.js} +3 -3
- package/bundles/{chunk-NVYT6OPE.js → chunk-PML5JK7B.js} +7 -7
- package/bundles/{chunk-ZZUFYJIW.js → chunk-RYBZ5OMY.js} +5 -5
- package/bundles/{chunk-H5Y7P5GQ.js → chunk-SEKYV57I.js} +3 -3
- package/bundles/{chunk-NPUFVONQ.js → chunk-SILQIVD4.js} +201 -172
- package/bundles/chunk-SILQIVD4.js.map +6 -0
- package/bundles/{chunk-3AHGFMNS.js → chunk-TPEB2IXF.js} +7 -7
- package/bundles/{chunk-2L4O4UIG.js → chunk-ZWSVOOGU.js} +81 -81
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- 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/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/typecheck/src/oob.d.ts +7 -4
- package/bundles/chunk-NPUFVONQ.js.map +0 -6
- /package/bundles/{chunk-U5SKOFKE.js.map → chunk-3NKMA2JO.js.map} +0 -0
- /package/bundles/{chunk-EBPHWYDC.js.map → chunk-7FGS2TFN.js.map} +0 -0
- /package/bundles/{chunk-M3WWDK6S.js.map → chunk-LMRFLQ2K.js.map} +0 -0
- /package/bundles/{chunk-TDMVX35I.js.map → chunk-LYJARAHL.js.map} +0 -0
- /package/bundles/{chunk-QZKYZIEQ.js.map → chunk-M7MXAQMK.js.map} +0 -0
- /package/bundles/{chunk-NVYT6OPE.js.map → chunk-PML5JK7B.js.map} +0 -0
- /package/bundles/{chunk-ZZUFYJIW.js.map → chunk-RYBZ5OMY.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-2L4O4UIG.js.map → chunk-ZWSVOOGU.js.map} +0 -0
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-LMRFLQ2K.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";
|
|
@@ -128,7 +128,7 @@ var ErrorCode;
|
|
|
128
128
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
129
129
|
})(ErrorCode || (ErrorCode = {}));
|
|
130
130
|
|
|
131
|
-
// bazel-out/
|
|
131
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.js
|
|
132
132
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
133
133
|
function replaceTsWithNgInErrors(errors) {
|
|
134
134
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -137,7 +137,7 @@ function ngErrorCode(code) {
|
|
|
137
137
|
return parseInt("-99" + code);
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
// bazel-out/
|
|
140
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.js
|
|
141
141
|
import ts from "typescript";
|
|
142
142
|
var FatalDiagnosticError = class extends Error {
|
|
143
143
|
code;
|
|
@@ -206,7 +206,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
206
206
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
207
207
|
}
|
|
208
208
|
|
|
209
|
-
// bazel-out/
|
|
209
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.js
|
|
210
210
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
211
211
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
212
212
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -218,10 +218,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
218
218
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
219
219
|
]);
|
|
220
220
|
|
|
221
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.js
|
|
222
222
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
223
223
|
|
|
224
|
-
// bazel-out/
|
|
224
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.js
|
|
225
225
|
var ExtendedTemplateDiagnosticName;
|
|
226
226
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
227
227
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -242,10 +242,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
242
242
|
ExtendedTemplateDiagnosticName2["UNPARENTHESIZED_NULLISH_COALESCING"] = "unparenthesizedNullishCoalescing";
|
|
243
243
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
244
244
|
|
|
245
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
246
246
|
import ts5 from "typescript";
|
|
247
247
|
|
|
248
|
-
// bazel-out/
|
|
248
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.js
|
|
249
249
|
import ts2 from "typescript";
|
|
250
250
|
function isDecoratorIdentifier(exp) {
|
|
251
251
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -268,7 +268,7 @@ var ClassMemberAccessLevel;
|
|
|
268
268
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
269
269
|
var AmbientImport = {};
|
|
270
270
|
|
|
271
|
-
// bazel-out/
|
|
271
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.js
|
|
272
272
|
import ts3 from "typescript";
|
|
273
273
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
274
274
|
if (typeNode === null) {
|
|
@@ -451,7 +451,7 @@ function extractModuleName(node) {
|
|
|
451
451
|
return node.moduleSpecifier.text;
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.js
|
|
455
455
|
import ts4 from "typescript";
|
|
456
456
|
function isNamedClassDeclaration(node) {
|
|
457
457
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -475,7 +475,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
|
|
478
|
-
// bazel-out/
|
|
478
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.js
|
|
479
479
|
var TypeScriptReflectionHost = class {
|
|
480
480
|
checker;
|
|
481
481
|
isLocalCompilation;
|
|
@@ -980,7 +980,7 @@ function getExportedName(decl, originalId) {
|
|
|
980
980
|
}
|
|
981
981
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
982
982
|
|
|
983
|
-
// bazel-out/
|
|
983
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.js
|
|
984
984
|
import ts6 from "typescript";
|
|
985
985
|
var TS = /\.tsx?$/i;
|
|
986
986
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1081,7 +1081,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1081
1081
|
return redirectInfo.unredirected;
|
|
1082
1082
|
}
|
|
1083
1083
|
|
|
1084
|
-
// bazel-out/
|
|
1084
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.js
|
|
1085
1085
|
var Reference = class {
|
|
1086
1086
|
node;
|
|
1087
1087
|
bestGuessOwningModule;
|
|
@@ -1153,14 +1153,14 @@ var Reference = class {
|
|
|
1153
1153
|
}
|
|
1154
1154
|
};
|
|
1155
1155
|
|
|
1156
|
-
// bazel-out/
|
|
1156
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1157
1157
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1158
1158
|
|
|
1159
|
-
// bazel-out/
|
|
1159
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1160
1160
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1161
1161
|
import ts7 from "typescript";
|
|
1162
1162
|
|
|
1163
|
-
// bazel-out/
|
|
1163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.js
|
|
1164
1164
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1165
1165
|
const exports = reflector.getExportsOfModule(file);
|
|
1166
1166
|
if (exports === null) {
|
|
@@ -1180,7 +1180,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1180
1180
|
return foundExportName;
|
|
1181
1181
|
}
|
|
1182
1182
|
|
|
1183
|
-
// bazel-out/
|
|
1183
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.js
|
|
1184
1184
|
var ImportFlags;
|
|
1185
1185
|
(function(ImportFlags2) {
|
|
1186
1186
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1427,7 +1427,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1427
1427
|
}
|
|
1428
1428
|
};
|
|
1429
1429
|
|
|
1430
|
-
// bazel-out/
|
|
1430
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.js
|
|
1431
1431
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1432
1432
|
var UnifiedModulesAliasingHost = class {
|
|
1433
1433
|
unifiedModulesHost;
|
|
@@ -1496,7 +1496,7 @@ var AliasStrategy = class {
|
|
|
1496
1496
|
}
|
|
1497
1497
|
};
|
|
1498
1498
|
|
|
1499
|
-
// bazel-out/
|
|
1499
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.js
|
|
1500
1500
|
function relativePathBetween(from, to) {
|
|
1501
1501
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1502
1502
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1515,7 +1515,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1515
1515
|
return null;
|
|
1516
1516
|
}
|
|
1517
1517
|
|
|
1518
|
-
// bazel-out/
|
|
1518
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.js
|
|
1519
1519
|
var NoopImportRewriter = class {
|
|
1520
1520
|
rewriteSymbol(symbol, specifier) {
|
|
1521
1521
|
return symbol;
|
|
@@ -1575,7 +1575,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1575
1575
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1576
1576
|
}
|
|
1577
1577
|
|
|
1578
|
-
// bazel-out/
|
|
1578
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.js
|
|
1579
1579
|
import ts8 from "typescript";
|
|
1580
1580
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1581
1581
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1613,7 +1613,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1613
1613
|
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.");
|
|
1614
1614
|
}
|
|
1615
1615
|
|
|
1616
|
-
// bazel-out/
|
|
1616
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.js
|
|
1617
1617
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1618
1618
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1619
1619
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1651,7 +1651,7 @@ var DefaultImportTracker = class {
|
|
|
1651
1651
|
}
|
|
1652
1652
|
};
|
|
1653
1653
|
|
|
1654
|
-
// bazel-out/
|
|
1654
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.js
|
|
1655
1655
|
import ts9 from "typescript";
|
|
1656
1656
|
var AssumeEager = "AssumeEager";
|
|
1657
1657
|
var DeferredSymbolTracker = class {
|
|
@@ -1773,7 +1773,7 @@ var DeferredSymbolTracker = class {
|
|
|
1773
1773
|
}
|
|
1774
1774
|
};
|
|
1775
1775
|
|
|
1776
|
-
// bazel-out/
|
|
1776
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.js
|
|
1777
1777
|
import ts10 from "typescript";
|
|
1778
1778
|
var ImportedSymbolsTracker = class {
|
|
1779
1779
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1839,7 +1839,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1839
1839
|
}
|
|
1840
1840
|
};
|
|
1841
1841
|
|
|
1842
|
-
// bazel-out/
|
|
1842
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.js
|
|
1843
1843
|
import ts11 from "typescript";
|
|
1844
1844
|
var LocalCompilationExtraImportsTracker = class {
|
|
1845
1845
|
typeChecker;
|
|
@@ -1889,7 +1889,7 @@ function removeQuotations(s) {
|
|
|
1889
1889
|
return s.substring(1, s.length - 1).trim();
|
|
1890
1890
|
}
|
|
1891
1891
|
|
|
1892
|
-
// bazel-out/
|
|
1892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.js
|
|
1893
1893
|
var ModuleResolver = class {
|
|
1894
1894
|
program;
|
|
1895
1895
|
compilerOptions;
|
|
@@ -1910,7 +1910,7 @@ var ModuleResolver = class {
|
|
|
1910
1910
|
}
|
|
1911
1911
|
};
|
|
1912
1912
|
|
|
1913
|
-
// bazel-out/
|
|
1913
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.js
|
|
1914
1914
|
import { ExternalExpr as ExternalExpr3, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
|
|
1915
1915
|
import ts12 from "typescript";
|
|
1916
1916
|
var CORE_MODULE2 = "@angular/core";
|
|
@@ -2173,7 +2173,7 @@ function isAbstractClassDeclaration(clazz) {
|
|
|
2173
2173
|
return ts12.canHaveModifiers(clazz) && clazz.modifiers !== void 0 ? clazz.modifiers.some((mod) => mod.kind === ts12.SyntaxKind.AbstractKeyword) : false;
|
|
2174
2174
|
}
|
|
2175
2175
|
|
|
2176
|
-
// bazel-out/
|
|
2176
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.js
|
|
2177
2177
|
var DynamicValue = class {
|
|
2178
2178
|
node;
|
|
2179
2179
|
reason;
|
|
@@ -2266,10 +2266,10 @@ var DynamicValue = class {
|
|
|
2266
2266
|
}
|
|
2267
2267
|
};
|
|
2268
2268
|
|
|
2269
|
-
// bazel-out/
|
|
2269
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2270
2270
|
import ts13 from "typescript";
|
|
2271
2271
|
|
|
2272
|
-
// bazel-out/
|
|
2272
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.js
|
|
2273
2273
|
var ResolvedModule = class {
|
|
2274
2274
|
exports;
|
|
2275
2275
|
evaluate;
|
|
@@ -2304,7 +2304,7 @@ var EnumValue = class {
|
|
|
2304
2304
|
var KnownFn = class {
|
|
2305
2305
|
};
|
|
2306
2306
|
|
|
2307
|
-
// bazel-out/
|
|
2307
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.js
|
|
2308
2308
|
var ArraySliceBuiltinFn = class extends KnownFn {
|
|
2309
2309
|
lhs;
|
|
2310
2310
|
constructor(lhs) {
|
|
@@ -2359,7 +2359,7 @@ var StringConcatBuiltinFn = class extends KnownFn {
|
|
|
2359
2359
|
}
|
|
2360
2360
|
};
|
|
2361
2361
|
|
|
2362
|
-
// bazel-out/
|
|
2362
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.js
|
|
2363
2363
|
var SyntheticValue = class {
|
|
2364
2364
|
value;
|
|
2365
2365
|
constructor(value) {
|
|
@@ -2367,7 +2367,7 @@ var SyntheticValue = class {
|
|
|
2367
2367
|
}
|
|
2368
2368
|
};
|
|
2369
2369
|
|
|
2370
|
-
// bazel-out/
|
|
2370
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.js
|
|
2371
2371
|
function literalBinaryOp(op) {
|
|
2372
2372
|
return { op, literal: true };
|
|
2373
2373
|
}
|
|
@@ -2948,7 +2948,7 @@ function owningModule(context, override = null) {
|
|
|
2948
2948
|
}
|
|
2949
2949
|
}
|
|
2950
2950
|
|
|
2951
|
-
// bazel-out/
|
|
2951
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.js
|
|
2952
2952
|
var PartialEvaluator = class {
|
|
2953
2953
|
host;
|
|
2954
2954
|
checker;
|
|
@@ -2971,7 +2971,7 @@ var PartialEvaluator = class {
|
|
|
2971
2971
|
}
|
|
2972
2972
|
};
|
|
2973
2973
|
|
|
2974
|
-
// bazel-out/
|
|
2974
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.js
|
|
2975
2975
|
import ts14 from "typescript";
|
|
2976
2976
|
function describeResolvedType(value, maxDepth = 1) {
|
|
2977
2977
|
if (value === null) {
|
|
@@ -3105,10 +3105,10 @@ function getContainerNode(node) {
|
|
|
3105
3105
|
return node.getSourceFile();
|
|
3106
3106
|
}
|
|
3107
3107
|
|
|
3108
|
-
// bazel-out/
|
|
3108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3109
3109
|
import ts19 from "typescript";
|
|
3110
3110
|
|
|
3111
|
-
// bazel-out/
|
|
3111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.js
|
|
3112
3112
|
import ts15 from "typescript";
|
|
3113
3113
|
function createGenerateUniqueIdentifierHelper() {
|
|
3114
3114
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -3134,7 +3134,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
3134
3134
|
};
|
|
3135
3135
|
}
|
|
3136
3136
|
|
|
3137
|
-
// bazel-out/
|
|
3137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.js
|
|
3138
3138
|
import ts16 from "typescript";
|
|
3139
3139
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
3140
3140
|
return (ctx) => {
|
|
@@ -3202,7 +3202,7 @@ function isImportStatement(stmt) {
|
|
|
3202
3202
|
return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
|
|
3203
3203
|
}
|
|
3204
3204
|
|
|
3205
|
-
// bazel-out/
|
|
3205
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.js
|
|
3206
3206
|
import ts17 from "typescript";
|
|
3207
3207
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
3208
3208
|
const requestHash = hashImportRequest(request);
|
|
@@ -3229,7 +3229,7 @@ function hashImportRequest(req) {
|
|
|
3229
3229
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
3230
3230
|
}
|
|
3231
3231
|
|
|
3232
|
-
// bazel-out/
|
|
3232
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.js
|
|
3233
3233
|
import ts18 from "typescript";
|
|
3234
3234
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
3235
3235
|
let candidateImportToBeUpdated = null;
|
|
@@ -3288,7 +3288,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
3288
3288
|
return fileUniqueAlias ?? propertyName;
|
|
3289
3289
|
}
|
|
3290
3290
|
|
|
3291
|
-
// bazel-out/
|
|
3291
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.js
|
|
3292
3292
|
var presetImportManagerForceNamespaceImports = {
|
|
3293
3293
|
disableOriginalSourceFileReuse: true,
|
|
3294
3294
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -3506,7 +3506,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
3506
3506
|
}
|
|
3507
3507
|
}
|
|
3508
3508
|
|
|
3509
|
-
// bazel-out/
|
|
3509
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.js
|
|
3510
3510
|
import ts20 from "typescript";
|
|
3511
3511
|
var INELIGIBLE = {};
|
|
3512
3512
|
function canEmitType(type, canEmit) {
|
|
@@ -3582,11 +3582,11 @@ var TypeEmitter = class {
|
|
|
3582
3582
|
}
|
|
3583
3583
|
};
|
|
3584
3584
|
|
|
3585
|
-
// bazel-out/
|
|
3585
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3586
3586
|
import * as o from "@angular/compiler";
|
|
3587
3587
|
import ts22 from "typescript";
|
|
3588
3588
|
|
|
3589
|
-
// bazel-out/
|
|
3589
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.js
|
|
3590
3590
|
import ts21 from "typescript";
|
|
3591
3591
|
function tsNumericExpression(value) {
|
|
3592
3592
|
if (value < 0) {
|
|
@@ -3596,7 +3596,7 @@ function tsNumericExpression(value) {
|
|
|
3596
3596
|
return ts21.factory.createNumericLiteral(value);
|
|
3597
3597
|
}
|
|
3598
3598
|
|
|
3599
|
-
// bazel-out/
|
|
3599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.js
|
|
3600
3600
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
3601
3601
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
3602
3602
|
}
|
|
@@ -3829,7 +3829,7 @@ var TypeTranslatorVisitor = class {
|
|
|
3829
3829
|
}
|
|
3830
3830
|
};
|
|
3831
3831
|
|
|
3832
|
-
// bazel-out/
|
|
3832
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.js
|
|
3833
3833
|
import ts23 from "typescript";
|
|
3834
3834
|
var PureAnnotation;
|
|
3835
3835
|
(function(PureAnnotation2) {
|
|
@@ -4039,7 +4039,7 @@ function attachComments(statement, leadingComments) {
|
|
|
4039
4039
|
}
|
|
4040
4040
|
}
|
|
4041
4041
|
|
|
4042
|
-
// bazel-out/
|
|
4042
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.js
|
|
4043
4043
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
4044
4044
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
4045
4045
|
}
|
|
@@ -4047,14 +4047,14 @@ function translateStatement(contextFile, statement, imports, options = {}) {
|
|
|
4047
4047
|
return statement.visitStatement(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(true));
|
|
4048
4048
|
}
|
|
4049
4049
|
|
|
4050
|
-
// bazel-out/
|
|
4050
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.js
|
|
4051
4051
|
var OptimizeFor;
|
|
4052
4052
|
(function(OptimizeFor2) {
|
|
4053
4053
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
4054
4054
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
4055
4055
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
4056
4056
|
|
|
4057
|
-
// bazel-out/
|
|
4057
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.js
|
|
4058
4058
|
var PotentialImportKind;
|
|
4059
4059
|
(function(PotentialImportKind2) {
|
|
4060
4060
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -4066,7 +4066,7 @@ var PotentialImportMode;
|
|
|
4066
4066
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
4067
4067
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
4068
4068
|
|
|
4069
|
-
// bazel-out/
|
|
4069
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.js
|
|
4070
4070
|
var CompletionKind;
|
|
4071
4071
|
(function(CompletionKind2) {
|
|
4072
4072
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
@@ -4074,7 +4074,7 @@ var CompletionKind;
|
|
|
4074
4074
|
CompletionKind2[CompletionKind2["LetDeclaration"] = 2] = "LetDeclaration";
|
|
4075
4075
|
})(CompletionKind || (CompletionKind = {}));
|
|
4076
4076
|
|
|
4077
|
-
// bazel-out/
|
|
4077
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.js
|
|
4078
4078
|
var SymbolKind;
|
|
4079
4079
|
(function(SymbolKind2) {
|
|
4080
4080
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -4091,7 +4091,7 @@ var SymbolKind;
|
|
|
4091
4091
|
SymbolKind2[SymbolKind2["LetDeclaration"] = 11] = "LetDeclaration";
|
|
4092
4092
|
})(SymbolKind || (SymbolKind = {}));
|
|
4093
4093
|
|
|
4094
|
-
// bazel-out/
|
|
4094
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.js
|
|
4095
4095
|
import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
|
|
4096
4096
|
import ts24 from "typescript";
|
|
4097
4097
|
function getConstructorDependencies(clazz, reflector, isCore) {
|
|
@@ -4237,10 +4237,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
|
|
|
4237
4237
|
return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
|
|
4238
4238
|
}
|
|
4239
4239
|
|
|
4240
|
-
// bazel-out/
|
|
4240
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
4241
4241
|
import ts32 from "typescript";
|
|
4242
4242
|
|
|
4243
|
-
// bazel-out/
|
|
4243
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.js
|
|
4244
4244
|
var MetaKind;
|
|
4245
4245
|
(function(MetaKind2) {
|
|
4246
4246
|
MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
|
|
@@ -4253,10 +4253,10 @@ var MatchSource;
|
|
|
4253
4253
|
MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
|
|
4254
4254
|
})(MatchSource || (MatchSource = {}));
|
|
4255
4255
|
|
|
4256
|
-
// bazel-out/
|
|
4256
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4257
4257
|
import ts26 from "typescript";
|
|
4258
4258
|
|
|
4259
|
-
// bazel-out/
|
|
4259
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.js
|
|
4260
4260
|
var ClassPropertyMapping = class {
|
|
4261
4261
|
forwardMap;
|
|
4262
4262
|
reverseMap;
|
|
@@ -4338,7 +4338,7 @@ function reverseMapFromForwardMap(forwardMap) {
|
|
|
4338
4338
|
return reverseMap;
|
|
4339
4339
|
}
|
|
4340
4340
|
|
|
4341
|
-
// bazel-out/
|
|
4341
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.js
|
|
4342
4342
|
import ts25 from "typescript";
|
|
4343
4343
|
function extractReferencesFromType(checker, def, bestGuessOwningModule) {
|
|
4344
4344
|
if (!ts25.isTupleTypeNode(def)) {
|
|
@@ -4553,7 +4553,7 @@ function isHostDirectiveMetaForGlobalMode(hostDirectiveMeta) {
|
|
|
4553
4553
|
return hostDirectiveMeta.directive instanceof Reference;
|
|
4554
4554
|
}
|
|
4555
4555
|
|
|
4556
|
-
// bazel-out/
|
|
4556
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.js
|
|
4557
4557
|
var DtsMetadataReader = class {
|
|
4558
4558
|
checker;
|
|
4559
4559
|
reflector;
|
|
@@ -4750,7 +4750,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
|
|
|
4750
4750
|
return result.length > 0 ? { result, isIncomplete } : null;
|
|
4751
4751
|
}
|
|
4752
4752
|
|
|
4753
|
-
// bazel-out/
|
|
4753
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.js
|
|
4754
4754
|
function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
4755
4755
|
const topMeta = reader.getDirectiveMetadata(dir);
|
|
4756
4756
|
if (topMeta === null) {
|
|
@@ -4814,7 +4814,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
|
|
|
4814
4814
|
};
|
|
4815
4815
|
}
|
|
4816
4816
|
|
|
4817
|
-
// bazel-out/
|
|
4817
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.js
|
|
4818
4818
|
var LocalMetadataRegistry = class {
|
|
4819
4819
|
directives = /* @__PURE__ */ new Map();
|
|
4820
4820
|
ngModules = /* @__PURE__ */ new Map();
|
|
@@ -4870,7 +4870,7 @@ var CompoundMetadataRegistry = class {
|
|
|
4870
4870
|
}
|
|
4871
4871
|
};
|
|
4872
4872
|
|
|
4873
|
-
// bazel-out/
|
|
4873
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.js
|
|
4874
4874
|
var ResourceRegistry = class {
|
|
4875
4875
|
externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
|
|
4876
4876
|
componentToTemplateMap = /* @__PURE__ */ new Map();
|
|
@@ -4942,7 +4942,7 @@ var ResourceRegistry = class {
|
|
|
4942
4942
|
}
|
|
4943
4943
|
};
|
|
4944
4944
|
|
|
4945
|
-
// bazel-out/
|
|
4945
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/providers.js
|
|
4946
4946
|
var ExportedProviderStatusResolver = class {
|
|
4947
4947
|
metaReader;
|
|
4948
4948
|
calculating = /* @__PURE__ */ new Set();
|
|
@@ -4986,7 +4986,7 @@ var ExportedProviderStatusResolver = class {
|
|
|
4986
4986
|
}
|
|
4987
4987
|
};
|
|
4988
4988
|
|
|
4989
|
-
// bazel-out/
|
|
4989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.js
|
|
4990
4990
|
var EMPTY_ARRAY = [];
|
|
4991
4991
|
var HostDirectivesResolver = class {
|
|
4992
4992
|
metaReader;
|
|
@@ -5053,7 +5053,7 @@ function resolveOutput(bindingName) {
|
|
|
5053
5053
|
return bindingName;
|
|
5054
5054
|
}
|
|
5055
5055
|
|
|
5056
|
-
// bazel-out/
|
|
5056
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.js
|
|
5057
5057
|
var CompilationMode;
|
|
5058
5058
|
(function(CompilationMode2) {
|
|
5059
5059
|
CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
|
|
@@ -5067,7 +5067,7 @@ var HandlerPrecedence;
|
|
|
5067
5067
|
HandlerPrecedence2[HandlerPrecedence2["WEAK"] = 2] = "WEAK";
|
|
5068
5068
|
})(HandlerPrecedence || (HandlerPrecedence = {}));
|
|
5069
5069
|
|
|
5070
|
-
// bazel-out/
|
|
5070
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.js
|
|
5071
5071
|
import ts27 from "typescript";
|
|
5072
5072
|
function aliasTransformFactory(exportStatements) {
|
|
5073
5073
|
return () => {
|
|
@@ -5092,10 +5092,10 @@ function aliasTransformFactory(exportStatements) {
|
|
|
5092
5092
|
};
|
|
5093
5093
|
}
|
|
5094
5094
|
|
|
5095
|
-
// bazel-out/
|
|
5095
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5096
5096
|
import ts28 from "typescript";
|
|
5097
5097
|
|
|
5098
|
-
// bazel-out/
|
|
5098
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.js
|
|
5099
5099
|
var PerfPhase;
|
|
5100
5100
|
(function(PerfPhase2) {
|
|
5101
5101
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -5165,7 +5165,7 @@ var PerfCheckpoint;
|
|
|
5165
5165
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
5166
5166
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
5167
5167
|
|
|
5168
|
-
// bazel-out/
|
|
5168
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.js
|
|
5169
5169
|
var NoopPerfRecorder = class {
|
|
5170
5170
|
eventCount() {
|
|
5171
5171
|
}
|
|
@@ -5182,7 +5182,7 @@ var NoopPerfRecorder = class {
|
|
|
5182
5182
|
};
|
|
5183
5183
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
5184
5184
|
|
|
5185
|
-
// bazel-out/
|
|
5185
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.js
|
|
5186
5186
|
function mark() {
|
|
5187
5187
|
return process.hrtime();
|
|
5188
5188
|
}
|
|
@@ -5191,7 +5191,7 @@ function timeSinceInMicros(mark2) {
|
|
|
5191
5191
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
5192
5192
|
}
|
|
5193
5193
|
|
|
5194
|
-
// bazel-out/
|
|
5194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.js
|
|
5195
5195
|
var ActivePerfRecorder = class {
|
|
5196
5196
|
zeroTime;
|
|
5197
5197
|
counters;
|
|
@@ -5291,7 +5291,7 @@ var DelegatingPerfRecorder = class {
|
|
|
5291
5291
|
}
|
|
5292
5292
|
};
|
|
5293
5293
|
|
|
5294
|
-
// bazel-out/
|
|
5294
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.js
|
|
5295
5295
|
var TraitState;
|
|
5296
5296
|
(function(TraitState2) {
|
|
5297
5297
|
TraitState2[TraitState2["Pending"] = 0] = "Pending";
|
|
@@ -5350,7 +5350,7 @@ var TraitImpl = class {
|
|
|
5350
5350
|
}
|
|
5351
5351
|
};
|
|
5352
5352
|
|
|
5353
|
-
// bazel-out/
|
|
5353
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.js
|
|
5354
5354
|
var TraitCompiler = class {
|
|
5355
5355
|
handlers;
|
|
5356
5356
|
reflector;
|
|
@@ -5828,7 +5828,7 @@ function containsErrors(diagnostics) {
|
|
|
5828
5828
|
return diagnostics !== null && diagnostics.some((diag) => diag.category === ts28.DiagnosticCategory.Error);
|
|
5829
5829
|
}
|
|
5830
5830
|
|
|
5831
|
-
// bazel-out/
|
|
5831
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.js
|
|
5832
5832
|
import ts29 from "typescript";
|
|
5833
5833
|
var DtsTransformRegistry = class {
|
|
5834
5834
|
ivyDeclarationTransforms = /* @__PURE__ */ new Map();
|
|
@@ -5978,11 +5978,11 @@ function markForEmitAsSingleLine(node) {
|
|
|
5978
5978
|
ts29.forEachChild(node, markForEmitAsSingleLine);
|
|
5979
5979
|
}
|
|
5980
5980
|
|
|
5981
|
-
// bazel-out/
|
|
5981
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
5982
5982
|
import { ConstantPool } from "@angular/compiler";
|
|
5983
5983
|
import ts31 from "typescript";
|
|
5984
5984
|
|
|
5985
|
-
// bazel-out/
|
|
5985
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.js
|
|
5986
5986
|
import ts30 from "typescript";
|
|
5987
5987
|
function visit(node, visitor, context) {
|
|
5988
5988
|
return visitor._visit(node, context);
|
|
@@ -6041,7 +6041,7 @@ var Visitor = class {
|
|
|
6041
6041
|
}
|
|
6042
6042
|
};
|
|
6043
6043
|
|
|
6044
|
-
// bazel-out/
|
|
6044
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.js
|
|
6045
6045
|
var NO_DECORATORS = /* @__PURE__ */ new Set();
|
|
6046
6046
|
var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
|
|
6047
6047
|
function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, localCompilationExtraImportsTracker, perf, isCore, isClosureCompilerEnabled) {
|
|
@@ -6287,7 +6287,7 @@ function nodeArrayFromDecoratorsArray(decorators) {
|
|
|
6287
6287
|
return array;
|
|
6288
6288
|
}
|
|
6289
6289
|
|
|
6290
|
-
// bazel-out/
|
|
6290
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.js
|
|
6291
6291
|
function makeDuplicateDeclarationError(node, data, kind) {
|
|
6292
6292
|
const context = [];
|
|
6293
6293
|
for (const decl of data) {
|
|
@@ -6495,7 +6495,7 @@ function assertLocalCompilationUnresolvedConst(compilationMode, value, nodeToHig
|
|
|
6495
6495
|
}
|
|
6496
6496
|
}
|
|
6497
6497
|
|
|
6498
|
-
// bazel-out/
|
|
6498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.js
|
|
6499
6499
|
import { ViewEncapsulation } from "@angular/compiler";
|
|
6500
6500
|
import ts33 from "typescript";
|
|
6501
6501
|
function resolveEnumValue(evaluator, metadata, field, enumSymbolName, isCore) {
|
|
@@ -6546,7 +6546,7 @@ function resolveLiteral(decorator, literalCache) {
|
|
|
6546
6546
|
return meta;
|
|
6547
6547
|
}
|
|
6548
6548
|
|
|
6549
|
-
// bazel-out/
|
|
6549
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.js
|
|
6550
6550
|
import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
|
|
6551
6551
|
function compileNgFactoryDefField(metadata) {
|
|
6552
6552
|
const res = compileFactoryFunction(metadata);
|
|
@@ -6569,7 +6569,7 @@ function compileDeclareFactory(metadata) {
|
|
|
6569
6569
|
};
|
|
6570
6570
|
}
|
|
6571
6571
|
|
|
6572
|
-
// bazel-out/
|
|
6572
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.js
|
|
6573
6573
|
var InjectableClassRegistry = class {
|
|
6574
6574
|
host;
|
|
6575
6575
|
isCore;
|
|
@@ -6597,7 +6597,7 @@ var InjectableClassRegistry = class {
|
|
|
6597
6597
|
}
|
|
6598
6598
|
};
|
|
6599
6599
|
|
|
6600
|
-
// bazel-out/
|
|
6600
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.js
|
|
6601
6601
|
import { ArrowFunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
|
|
6602
6602
|
import ts34 from "typescript";
|
|
6603
6603
|
function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
|
|
@@ -6681,7 +6681,7 @@ function removeIdentifierReferences(node, names) {
|
|
|
6681
6681
|
return result.transformed[0];
|
|
6682
6682
|
}
|
|
6683
6683
|
|
|
6684
|
-
// bazel-out/
|
|
6684
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/debug_info.js
|
|
6685
6685
|
import { literal as literal2, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
|
|
6686
6686
|
function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbidOrphanRendering) {
|
|
6687
6687
|
if (!reflection.isClass(clazz)) {
|
|
@@ -6698,13 +6698,13 @@ function extractClassDebugInfo(clazz, reflection, compilerHost, rootDirs, forbid
|
|
|
6698
6698
|
};
|
|
6699
6699
|
}
|
|
6700
6700
|
|
|
6701
|
-
// bazel-out/
|
|
6701
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.js
|
|
6702
6702
|
var NoopReferencesRegistry = class {
|
|
6703
6703
|
add(source, ...references) {
|
|
6704
6704
|
}
|
|
6705
6705
|
};
|
|
6706
6706
|
|
|
6707
|
-
// bazel-out/
|
|
6707
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.js
|
|
6708
6708
|
import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
|
|
6709
6709
|
function extractSchemas(rawExpr, evaluator, context) {
|
|
6710
6710
|
const schemas = [];
|
|
@@ -6734,7 +6734,7 @@ function extractSchemas(rawExpr, evaluator, context) {
|
|
|
6734
6734
|
return schemas;
|
|
6735
6735
|
}
|
|
6736
6736
|
|
|
6737
|
-
// bazel-out/
|
|
6737
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/input_transforms.js
|
|
6738
6738
|
import { outputAst } from "@angular/compiler";
|
|
6739
6739
|
function compileInputTransformFields(inputs) {
|
|
6740
6740
|
const extraFields = [];
|
|
@@ -6752,16 +6752,16 @@ function compileInputTransformFields(inputs) {
|
|
|
6752
6752
|
return extraFields;
|
|
6753
6753
|
}
|
|
6754
6754
|
|
|
6755
|
-
// bazel-out/
|
|
6755
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/jit_declaration_registry.js
|
|
6756
6756
|
var JitDeclarationRegistry = class {
|
|
6757
6757
|
jitDeclarations = /* @__PURE__ */ new Set();
|
|
6758
6758
|
};
|
|
6759
6759
|
|
|
6760
|
-
// bazel-out/
|
|
6760
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
6761
6761
|
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 } from "@angular/compiler";
|
|
6762
6762
|
import ts71 from "typescript";
|
|
6763
6763
|
|
|
6764
|
-
// bazel-out/
|
|
6764
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.js
|
|
6765
6765
|
import ts35 from "typescript";
|
|
6766
6766
|
var SemanticSymbol = class {
|
|
6767
6767
|
decl;
|
|
@@ -6780,7 +6780,7 @@ function getSymbolIdentifier(decl) {
|
|
|
6780
6780
|
return decl.name.text;
|
|
6781
6781
|
}
|
|
6782
6782
|
|
|
6783
|
-
// bazel-out/
|
|
6783
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.js
|
|
6784
6784
|
import { ExternalExpr as ExternalExpr4 } from "@angular/compiler";
|
|
6785
6785
|
var OpaqueSymbol = class extends SemanticSymbol {
|
|
6786
6786
|
isPublicApiAffected() {
|
|
@@ -6922,10 +6922,10 @@ function getImportPath(expr) {
|
|
|
6922
6922
|
}
|
|
6923
6923
|
}
|
|
6924
6924
|
|
|
6925
|
-
// bazel-out/
|
|
6925
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
6926
6926
|
import ts36 from "typescript";
|
|
6927
6927
|
|
|
6928
|
-
// bazel-out/
|
|
6928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.js
|
|
6929
6929
|
function isSymbolEqual(a, b) {
|
|
6930
6930
|
if (a.decl === b.decl) {
|
|
6931
6931
|
return true;
|
|
@@ -6975,7 +6975,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
|
|
|
6975
6975
|
return true;
|
|
6976
6976
|
}
|
|
6977
6977
|
|
|
6978
|
-
// bazel-out/
|
|
6978
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.js
|
|
6979
6979
|
function extractSemanticTypeParameters(node) {
|
|
6980
6980
|
if (!ts36.isClassDeclaration(node) || node.typeParameters === void 0) {
|
|
6981
6981
|
return null;
|
|
@@ -6997,14 +6997,14 @@ function isTypeParameterEqual(a, b) {
|
|
|
6997
6997
|
return a.hasGenericTypeBound === b.hasGenericTypeBound;
|
|
6998
6998
|
}
|
|
6999
6999
|
|
|
7000
|
-
// bazel-out/
|
|
7000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.js
|
|
7001
7001
|
var ComponentScopeKind;
|
|
7002
7002
|
(function(ComponentScopeKind2) {
|
|
7003
7003
|
ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
|
|
7004
7004
|
ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
|
|
7005
7005
|
})(ComponentScopeKind || (ComponentScopeKind = {}));
|
|
7006
7006
|
|
|
7007
|
-
// bazel-out/
|
|
7007
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.js
|
|
7008
7008
|
var CompoundComponentScopeReader = class {
|
|
7009
7009
|
readers;
|
|
7010
7010
|
constructor(readers) {
|
|
@@ -7030,7 +7030,7 @@ var CompoundComponentScopeReader = class {
|
|
|
7030
7030
|
}
|
|
7031
7031
|
};
|
|
7032
7032
|
|
|
7033
|
-
// bazel-out/
|
|
7033
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.js
|
|
7034
7034
|
var MetadataDtsModuleScopeResolver = class {
|
|
7035
7035
|
dtsMetaReader;
|
|
7036
7036
|
aliasingHost;
|
|
@@ -7108,11 +7108,11 @@ var MetadataDtsModuleScopeResolver = class {
|
|
|
7108
7108
|
}
|
|
7109
7109
|
};
|
|
7110
7110
|
|
|
7111
|
-
// bazel-out/
|
|
7111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
7112
7112
|
import { ExternalExpr as ExternalExpr5 } from "@angular/compiler";
|
|
7113
7113
|
import ts37 from "typescript";
|
|
7114
7114
|
|
|
7115
|
-
// bazel-out/
|
|
7115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.js
|
|
7116
7116
|
function getDiagnosticNode(ref, rawExpr) {
|
|
7117
7117
|
return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
|
|
7118
7118
|
}
|
|
@@ -7138,7 +7138,7 @@ function makeUnknownComponentDeferredImportDiagnostic(ref, rawExpr) {
|
|
|
7138
7138
|
return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_DEFERRED_IMPORT, getDiagnosticNode(ref, rawExpr), `Component deferred imports must be standalone components, directives or pipes.`);
|
|
7139
7139
|
}
|
|
7140
7140
|
|
|
7141
|
-
// bazel-out/
|
|
7141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.js
|
|
7142
7142
|
var IN_PROGRESS_RESOLUTION = {};
|
|
7143
7143
|
var LocalModuleScopeRegistry = class {
|
|
7144
7144
|
localReader;
|
|
@@ -7497,7 +7497,7 @@ function reexportCollision(module, refA, refB) {
|
|
|
7497
7497
|
]);
|
|
7498
7498
|
}
|
|
7499
7499
|
|
|
7500
|
-
// bazel-out/
|
|
7500
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.js
|
|
7501
7501
|
import { CssSelector, SelectorMatcher } from "@angular/compiler";
|
|
7502
7502
|
import ts38 from "typescript";
|
|
7503
7503
|
var TypeCheckScopeRegistry = class {
|
|
@@ -7581,15 +7581,15 @@ var TypeCheckScopeRegistry = class {
|
|
|
7581
7581
|
}
|
|
7582
7582
|
};
|
|
7583
7583
|
|
|
7584
|
-
// bazel-out/
|
|
7584
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
7585
7585
|
import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser as makeBindingParser2, R3TargetBinder, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
|
|
7586
7586
|
import ts63 from "typescript";
|
|
7587
7587
|
|
|
7588
|
-
// bazel-out/
|
|
7588
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7589
7589
|
import { createMayBeForwardRefExpression as createMayBeForwardRefExpression2, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr6, getSafePropertyAccessString, parseHostBindings, ParserError, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
|
|
7590
7590
|
import ts42 from "typescript";
|
|
7591
7591
|
|
|
7592
|
-
// bazel-out/
|
|
7592
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_function_access.js
|
|
7593
7593
|
function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
7594
7594
|
if (!api.allowedAccessLevels.includes(member.accessLevel)) {
|
|
7595
7595
|
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)}.`, [
|
|
@@ -7598,9 +7598,12 @@ function validateAccessOfInitializerApiMember({ api, call }, member) {
|
|
|
7598
7598
|
}
|
|
7599
7599
|
}
|
|
7600
7600
|
|
|
7601
|
-
// bazel-out/
|
|
7601
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/initializer_functions.js
|
|
7602
7602
|
import ts39 from "typescript";
|
|
7603
7603
|
function tryParseInitializerApi(functions, expression, reflector, importTracker) {
|
|
7604
|
+
if (ts39.isAsExpression(expression) || ts39.isParenthesizedExpression(expression)) {
|
|
7605
|
+
return tryParseInitializerApi(functions, expression.expression, reflector, importTracker);
|
|
7606
|
+
}
|
|
7604
7607
|
if (!ts39.isCallExpression(expression)) {
|
|
7605
7608
|
return null;
|
|
7606
7609
|
}
|
|
@@ -7667,7 +7670,7 @@ function parseTopLevelCallFromNamespace(call, functions, importTracker) {
|
|
|
7667
7670
|
return { api: matchingApi, apiReference, isRequired };
|
|
7668
7671
|
}
|
|
7669
7672
|
|
|
7670
|
-
// bazel-out/
|
|
7673
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_output_parse_options.js
|
|
7671
7674
|
import ts40 from "typescript";
|
|
7672
7675
|
function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
7673
7676
|
if (!ts40.isObjectLiteralExpression(optionsNode)) {
|
|
@@ -7685,7 +7688,7 @@ function parseAndValidateInputAndOutputOptions(optionsNode) {
|
|
|
7685
7688
|
return { alias };
|
|
7686
7689
|
}
|
|
7687
7690
|
|
|
7688
|
-
// bazel-out/
|
|
7691
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/input_function.js
|
|
7689
7692
|
var INPUT_INITIALIZER_FN = {
|
|
7690
7693
|
functionName: "input",
|
|
7691
7694
|
owningModule: "@angular/core",
|
|
@@ -7716,7 +7719,7 @@ function tryParseSignalInputMapping(member, reflector, importTracker) {
|
|
|
7716
7719
|
};
|
|
7717
7720
|
}
|
|
7718
7721
|
|
|
7719
|
-
// bazel-out/
|
|
7722
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/model_function.js
|
|
7720
7723
|
var MODEL_INITIALIZER_FN = {
|
|
7721
7724
|
functionName: "model",
|
|
7722
7725
|
owningModule: "@angular/core",
|
|
@@ -7756,7 +7759,7 @@ function tryParseSignalModelMapping(member, reflector, importTracker) {
|
|
|
7756
7759
|
};
|
|
7757
7760
|
}
|
|
7758
7761
|
|
|
7759
|
-
// bazel-out/
|
|
7762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/output_function.js
|
|
7760
7763
|
var allowedAccessLevels = [
|
|
7761
7764
|
ClassMemberAccessLevel.PublicWritable,
|
|
7762
7765
|
ClassMemberAccessLevel.PublicReadonly,
|
|
@@ -7799,7 +7802,7 @@ function tryParseInitializerBasedOutput(member, reflector, importTracker) {
|
|
|
7799
7802
|
};
|
|
7800
7803
|
}
|
|
7801
7804
|
|
|
7802
|
-
// bazel-out/
|
|
7805
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/query_functions.js
|
|
7803
7806
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
7804
7807
|
import ts41 from "typescript";
|
|
7805
7808
|
var queryFunctionNames = [
|
|
@@ -7884,7 +7887,7 @@ function parseDescendantsOption(value) {
|
|
|
7884
7887
|
throw new FatalDiagnosticError(ErrorCode.VALUE_HAS_WRONG_TYPE, value, `Expected "descendants" option to be a boolean literal.`);
|
|
7885
7888
|
}
|
|
7886
7889
|
|
|
7887
|
-
// bazel-out/
|
|
7890
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.js
|
|
7888
7891
|
var EMPTY_OBJECT = {};
|
|
7889
7892
|
var queryDecoratorNames = [
|
|
7890
7893
|
"ViewChild",
|
|
@@ -8717,7 +8720,7 @@ function extractHostBindingResources(nodes) {
|
|
|
8717
8720
|
return result;
|
|
8718
8721
|
}
|
|
8719
8722
|
|
|
8720
|
-
// bazel-out/
|
|
8723
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.js
|
|
8721
8724
|
var DirectiveSymbol = class extends SemanticSymbol {
|
|
8722
8725
|
selector;
|
|
8723
8726
|
inputs;
|
|
@@ -8803,10 +8806,10 @@ function isBaseClassEqual(current, previous) {
|
|
|
8803
8806
|
return isSymbolEqual(current, previous);
|
|
8804
8807
|
}
|
|
8805
8808
|
|
|
8806
|
-
// bazel-out/
|
|
8809
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
8807
8810
|
import { CssSelector as CssSelector4, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr8, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
|
|
8808
8811
|
|
|
8809
|
-
// bazel-out/
|
|
8812
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.js
|
|
8810
8813
|
var NgOriginalFile = Symbol("NgOriginalFile");
|
|
8811
8814
|
var UpdateMode;
|
|
8812
8815
|
(function(UpdateMode2) {
|
|
@@ -8814,13 +8817,13 @@ var UpdateMode;
|
|
|
8814
8817
|
UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
|
|
8815
8818
|
})(UpdateMode || (UpdateMode = {}));
|
|
8816
8819
|
|
|
8817
|
-
// bazel-out/
|
|
8820
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
8818
8821
|
import ts44 from "typescript";
|
|
8819
8822
|
|
|
8820
|
-
// bazel-out/
|
|
8823
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
8821
8824
|
import ts43 from "typescript";
|
|
8822
8825
|
|
|
8823
|
-
// bazel-out/
|
|
8826
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.js
|
|
8824
8827
|
var NgExtension = Symbol("NgExtension");
|
|
8825
8828
|
function isExtended(sf) {
|
|
8826
8829
|
return sf[NgExtension] !== void 0;
|
|
@@ -8880,13 +8883,13 @@ function retagTsFile(sf) {
|
|
|
8880
8883
|
}
|
|
8881
8884
|
}
|
|
8882
8885
|
|
|
8883
|
-
// bazel-out/
|
|
8886
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.js
|
|
8884
8887
|
var TS_EXTENSIONS = /\.tsx?$/i;
|
|
8885
8888
|
function makeShimFileName(fileName, suffix) {
|
|
8886
8889
|
return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
|
|
8887
8890
|
}
|
|
8888
8891
|
|
|
8889
|
-
// bazel-out/
|
|
8892
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.js
|
|
8890
8893
|
var ShimAdapter = class {
|
|
8891
8894
|
delegate;
|
|
8892
8895
|
shims = /* @__PURE__ */ new Map();
|
|
@@ -8983,7 +8986,7 @@ var ShimAdapter = class {
|
|
|
8983
8986
|
}
|
|
8984
8987
|
};
|
|
8985
8988
|
|
|
8986
|
-
// bazel-out/
|
|
8989
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.js
|
|
8987
8990
|
var ShimReferenceTagger = class {
|
|
8988
8991
|
suffixes;
|
|
8989
8992
|
tagged = /* @__PURE__ */ new Set();
|
|
@@ -9018,7 +9021,7 @@ var ShimReferenceTagger = class {
|
|
|
9018
9021
|
}
|
|
9019
9022
|
};
|
|
9020
9023
|
|
|
9021
|
-
// bazel-out/
|
|
9024
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.js
|
|
9022
9025
|
var DelegatingCompilerHost = class {
|
|
9023
9026
|
delegate;
|
|
9024
9027
|
createHash;
|
|
@@ -9169,7 +9172,7 @@ var TsCreateProgramDriver = class {
|
|
|
9169
9172
|
}
|
|
9170
9173
|
};
|
|
9171
9174
|
|
|
9172
|
-
// bazel-out/
|
|
9175
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.js
|
|
9173
9176
|
import ts45 from "typescript";
|
|
9174
9177
|
function makeTemplateDiagnostic(id, mapping, span, category, code, messageText, relatedMessages) {
|
|
9175
9178
|
if (mapping.type === "direct") {
|
|
@@ -9279,7 +9282,7 @@ function parseTemplateAsSourceFile(fileName, template) {
|
|
|
9279
9282
|
);
|
|
9280
9283
|
}
|
|
9281
9284
|
|
|
9282
|
-
// bazel-out/
|
|
9285
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.js
|
|
9283
9286
|
var TYPE_CHECK_ID_MAP = Symbol("TypeCheckId");
|
|
9284
9287
|
function getTypeCheckId(clazz) {
|
|
9285
9288
|
const sf = clazz.getSourceFile();
|
|
@@ -9292,11 +9295,11 @@ function getTypeCheckId(clazz) {
|
|
|
9292
9295
|
return sf[TYPE_CHECK_ID_MAP].get(clazz);
|
|
9293
9296
|
}
|
|
9294
9297
|
|
|
9295
|
-
// bazel-out/
|
|
9298
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9296
9299
|
import { EmptyExpr, ImplicitReceiver, PropertyRead, PropertyWrite, SafePropertyRead, TmplAstLetDeclaration, TmplAstReference, TmplAstTextAttribute } from "@angular/compiler";
|
|
9297
9300
|
import ts47 from "typescript";
|
|
9298
9301
|
|
|
9299
|
-
// bazel-out/
|
|
9302
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.js
|
|
9300
9303
|
import { AbsoluteSourceSpan } from "@angular/compiler";
|
|
9301
9304
|
import ts46 from "typescript";
|
|
9302
9305
|
var parseSpanComment = /^(\d+),(\d+)$/;
|
|
@@ -9426,7 +9429,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
|
|
|
9426
9429
|
}) || false;
|
|
9427
9430
|
}
|
|
9428
9431
|
|
|
9429
|
-
// bazel-out/
|
|
9432
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.js
|
|
9430
9433
|
var CompletionEngine = class {
|
|
9431
9434
|
tcb;
|
|
9432
9435
|
data;
|
|
@@ -9593,7 +9596,7 @@ var CompletionEngine = class {
|
|
|
9593
9596
|
}
|
|
9594
9597
|
};
|
|
9595
9598
|
|
|
9596
|
-
// bazel-out/
|
|
9599
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
9597
9600
|
import { ParseSourceFile as ParseSourceFile2 } from "@angular/compiler";
|
|
9598
9601
|
|
|
9599
9602
|
// node_modules/magic-string/dist/magic-string.es.mjs
|
|
@@ -10636,10 +10639,10 @@ var MagicString = class {
|
|
|
10636
10639
|
}
|
|
10637
10640
|
};
|
|
10638
10641
|
|
|
10639
|
-
// bazel-out/
|
|
10642
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
10640
10643
|
import ts61 from "typescript";
|
|
10641
10644
|
|
|
10642
|
-
// bazel-out/
|
|
10645
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.js
|
|
10643
10646
|
import { DomElementSchemaRegistry } from "@angular/compiler";
|
|
10644
10647
|
import ts48 from "typescript";
|
|
10645
10648
|
var REGISTRY = new DomElementSchemaRegistry();
|
|
@@ -10705,10 +10708,10 @@ var RegistryDomSchemaChecker = class {
|
|
|
10705
10708
|
}
|
|
10706
10709
|
};
|
|
10707
10710
|
|
|
10708
|
-
// bazel-out/
|
|
10711
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
10709
10712
|
import ts54 from "typescript";
|
|
10710
10713
|
|
|
10711
|
-
// bazel-out/
|
|
10714
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/reference_emit_environment.js
|
|
10712
10715
|
import { ExpressionType, ExternalExpr as ExternalExpr7, TypeModifier } from "@angular/compiler";
|
|
10713
10716
|
var ReferenceEmitEnvironment = class {
|
|
10714
10717
|
importManager;
|
|
@@ -10743,7 +10746,7 @@ var ReferenceEmitEnvironment = class {
|
|
|
10743
10746
|
}
|
|
10744
10747
|
};
|
|
10745
10748
|
|
|
10746
|
-
// bazel-out/
|
|
10749
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.js
|
|
10747
10750
|
import ts49 from "typescript";
|
|
10748
10751
|
var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
|
|
10749
10752
|
ts49.SyntaxKind.ParenthesizedExpression,
|
|
@@ -10834,15 +10837,15 @@ function tsNumericExpression2(value) {
|
|
|
10834
10837
|
return ts49.factory.createNumericLiteral(value);
|
|
10835
10838
|
}
|
|
10836
10839
|
|
|
10837
|
-
// bazel-out/
|
|
10840
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
10838
10841
|
import { ExpressionType as ExpressionType2, R3Identifiers as R3Identifiers2, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
|
|
10839
10842
|
import ts53 from "typescript";
|
|
10840
10843
|
|
|
10841
|
-
// bazel-out/
|
|
10844
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
10842
10845
|
import { R3Identifiers } from "@angular/compiler";
|
|
10843
10846
|
import ts52 from "typescript";
|
|
10844
10847
|
|
|
10845
|
-
// bazel-out/
|
|
10848
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.js
|
|
10846
10849
|
import ts50 from "typescript";
|
|
10847
10850
|
var TypeParameterEmitter = class {
|
|
10848
10851
|
typeParameters;
|
|
@@ -10922,7 +10925,7 @@ var TypeParameterEmitter = class {
|
|
|
10922
10925
|
}
|
|
10923
10926
|
};
|
|
10924
10927
|
|
|
10925
|
-
// bazel-out/
|
|
10928
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/host_bindings.js
|
|
10926
10929
|
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";
|
|
10927
10930
|
import ts51 from "typescript";
|
|
10928
10931
|
var GUARD_COMMENT_TEXT = "hostBindingsBlockGuard";
|
|
@@ -11148,7 +11151,7 @@ var ReplaceSpanVisitor = class extends RecursiveAstVisitor {
|
|
|
11148
11151
|
}
|
|
11149
11152
|
};
|
|
11150
11153
|
|
|
11151
|
-
// bazel-out/
|
|
11154
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.js
|
|
11152
11155
|
var TCB_FILE_IMPORT_GRAPH_PREPARE_IDENTIFIERS = [
|
|
11153
11156
|
R3Identifiers.InputSignalBrandWriteType
|
|
11154
11157
|
];
|
|
@@ -11270,7 +11273,7 @@ function findNodeInFile(file, predicate) {
|
|
|
11270
11273
|
return ts52.forEachChild(file, visit2) ?? null;
|
|
11271
11274
|
}
|
|
11272
11275
|
|
|
11273
|
-
// bazel-out/
|
|
11276
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.js
|
|
11274
11277
|
function generateTypeCtorDeclarationFn(env, meta, nodeTypeRef, typeParams) {
|
|
11275
11278
|
const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
|
|
11276
11279
|
const rawType = ts53.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
|
|
@@ -11393,7 +11396,7 @@ function typeParametersWithDefaultTypes(params) {
|
|
|
11393
11396
|
});
|
|
11394
11397
|
}
|
|
11395
11398
|
|
|
11396
|
-
// bazel-out/
|
|
11399
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.js
|
|
11397
11400
|
var Environment = class extends ReferenceEmitEnvironment {
|
|
11398
11401
|
config;
|
|
11399
11402
|
nextIds = {
|
|
@@ -11466,13 +11469,28 @@ var Environment = class extends ReferenceEmitEnvironment {
|
|
|
11466
11469
|
}
|
|
11467
11470
|
};
|
|
11468
11471
|
|
|
11469
|
-
// bazel-out/
|
|
11472
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.js
|
|
11470
11473
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan3, TmplAstBoundEvent as TmplAstBoundEvent2, TmplAstComponent, TmplAstDirective, TmplAstElement } from "@angular/compiler";
|
|
11471
11474
|
import ts55 from "typescript";
|
|
11472
11475
|
var OutOfBandDiagnosticRecorderImpl = class {
|
|
11473
11476
|
resolver;
|
|
11474
11477
|
_diagnostics = [];
|
|
11475
11478
|
recordedPipes = /* @__PURE__ */ new Set();
|
|
11479
|
+
pipeSuggestions = /* @__PURE__ */ new Map([
|
|
11480
|
+
["async", "AsyncPipe"],
|
|
11481
|
+
["uppercase", "UpperCasePipe"],
|
|
11482
|
+
["lowercase", "LowerCasePipe"],
|
|
11483
|
+
["json", "JsonPipe"],
|
|
11484
|
+
["slice", "SlicePipe"],
|
|
11485
|
+
["number", "DecimalPipe"],
|
|
11486
|
+
["percent", "PercentPipe"],
|
|
11487
|
+
["titlecase", "TitleCasePipe"],
|
|
11488
|
+
["currency", "CurrencyPipe"],
|
|
11489
|
+
["date", "DatePipe"],
|
|
11490
|
+
["i18nPlural", "I18nPluralPipe"],
|
|
11491
|
+
["i18nSelect", "I18nSelectPipe"],
|
|
11492
|
+
["keyvalue", "KeyValuePipe"]
|
|
11493
|
+
]);
|
|
11476
11494
|
constructor(resolver) {
|
|
11477
11495
|
this.resolver = resolver;
|
|
11478
11496
|
}
|
|
@@ -11485,16 +11503,27 @@ var OutOfBandDiagnosticRecorderImpl = class {
|
|
|
11485
11503
|
const errorMsg = `No directive found with exportAs '${value}'.`;
|
|
11486
11504
|
this._diagnostics.push(makeTemplateDiagnostic(id, mapping, ref.valueSpan || ref.sourceSpan, ts55.DiagnosticCategory.Error, ngErrorCode(ErrorCode.MISSING_REFERENCE_TARGET), errorMsg));
|
|
11487
11505
|
}
|
|
11488
|
-
missingPipe(id, ast) {
|
|
11506
|
+
missingPipe(id, ast, isStandalone) {
|
|
11489
11507
|
if (this.recordedPipes.has(ast)) {
|
|
11490
11508
|
return;
|
|
11491
11509
|
}
|
|
11492
|
-
const mapping = this.resolver.getTemplateSourceMapping(id);
|
|
11493
|
-
const errorMsg = `No pipe found with name '${ast.name}'.`;
|
|
11494
11510
|
const sourceSpan = this.resolver.toTemplateParseSourceSpan(id, ast.nameSpan);
|
|
11495
11511
|
if (sourceSpan === null) {
|
|
11496
11512
|
throw new Error(`Assertion failure: no SourceLocation found for usage of pipe '${ast.name}'.`);
|
|
11497
11513
|
}
|
|
11514
|
+
const mapping = this.resolver.getTemplateSourceMapping(id);
|
|
11515
|
+
let errorMsg = `No pipe found with name '${ast.name}'.`;
|
|
11516
|
+
if (this.pipeSuggestions.has(ast.name)) {
|
|
11517
|
+
const suggestedClassName = this.pipeSuggestions.get(ast.name);
|
|
11518
|
+
const suggestedImport = "@angular/common";
|
|
11519
|
+
if (isStandalone) {
|
|
11520
|
+
errorMsg += `
|
|
11521
|
+
To fix this, import the "${suggestedClassName}" class from "${suggestedImport}" and add it to the "imports" array of the component.`;
|
|
11522
|
+
} else {
|
|
11523
|
+
errorMsg += `
|
|
11524
|
+
To fix this, import the "${suggestedClassName}" class from "${suggestedImport}" and add it to the "imports" array of the module declaring the component.`;
|
|
11525
|
+
}
|
|
11526
|
+
}
|
|
11498
11527
|
this._diagnostics.push(makeTemplateDiagnostic(id, mapping, sourceSpan, ts55.DiagnosticCategory.Error, ngErrorCode(ErrorCode.MISSING_PIPE), errorMsg));
|
|
11499
11528
|
this.recordedPipes.add(ast);
|
|
11500
11529
|
}
|
|
@@ -11692,7 +11721,7 @@ function makeInlineDiagnostic(id, code, node, messageText, relatedInformation) {
|
|
|
11692
11721
|
};
|
|
11693
11722
|
}
|
|
11694
11723
|
|
|
11695
|
-
// bazel-out/
|
|
11724
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.js
|
|
11696
11725
|
import ts56 from "typescript";
|
|
11697
11726
|
var TypeCheckShimGenerator = class {
|
|
11698
11727
|
extensionPrefix = "ngtypecheck";
|
|
@@ -11708,11 +11737,11 @@ var TypeCheckShimGenerator = class {
|
|
|
11708
11737
|
}
|
|
11709
11738
|
};
|
|
11710
11739
|
|
|
11711
|
-
// bazel-out/
|
|
11740
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
11712
11741
|
import { BindingPipe, BindingType as BindingType2, Call as Call3, createCssSelectorFromNode, CssSelector as CssSelector3, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver3, ParsedEventType as ParsedEventType2, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite2, 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 } from "@angular/compiler";
|
|
11713
11742
|
import ts59 from "typescript";
|
|
11714
11743
|
|
|
11715
|
-
// bazel-out/
|
|
11744
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.js
|
|
11716
11745
|
import { AbsoluteSourceSpan as AbsoluteSourceSpan4 } from "@angular/compiler";
|
|
11717
11746
|
import ts57 from "typescript";
|
|
11718
11747
|
function wrapForDiagnostics(expr) {
|
|
@@ -11768,7 +11797,7 @@ function translateDiagnostic(diagnostic, resolver) {
|
|
|
11768
11797
|
return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
|
|
11769
11798
|
}
|
|
11770
11799
|
|
|
11771
|
-
// bazel-out/
|
|
11800
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.js
|
|
11772
11801
|
import { ASTWithSource, Call as Call2, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
|
|
11773
11802
|
import ts58 from "typescript";
|
|
11774
11803
|
var ANY_EXPRESSION = ts58.factory.createAsExpression(ts58.factory.createNumericLiteral("0"), ts58.factory.createKeywordTypeNode(ts58.SyntaxKind.AnyKeyword));
|
|
@@ -12162,7 +12191,7 @@ var _VeSafeLhsInferenceBugDetector = class {
|
|
|
12162
12191
|
var VeSafeLhsInferenceBugDetector = _VeSafeLhsInferenceBugDetector;
|
|
12163
12192
|
__publicField(VeSafeLhsInferenceBugDetector, "SINGLETON", new _VeSafeLhsInferenceBugDetector());
|
|
12164
12193
|
|
|
12165
|
-
// bazel-out/
|
|
12194
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.js
|
|
12166
12195
|
var TcbGenericContextBehavior;
|
|
12167
12196
|
(function(TcbGenericContextBehavior2) {
|
|
12168
12197
|
TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
|
|
@@ -13833,7 +13862,7 @@ var TcbExpressionTranslator = class {
|
|
|
13833
13862
|
const pipeMeta = this.tcb.getPipeByName(ast.name);
|
|
13834
13863
|
let pipe;
|
|
13835
13864
|
if (pipeMeta === null) {
|
|
13836
|
-
this.tcb.oobRecorder.missingPipe(this.tcb.id, ast);
|
|
13865
|
+
this.tcb.oobRecorder.missingPipe(this.tcb.id, ast, this.tcb.hostIsStandalone);
|
|
13837
13866
|
pipe = ANY_EXPRESSION;
|
|
13838
13867
|
} else if (pipeMeta.isExplicitlyDeferred && this.tcb.boundTarget.getEagerlyUsedPipes().includes(ast.name)) {
|
|
13839
13868
|
this.tcb.oobRecorder.deferredPipeUsedEagerly(this.tcb.id, ast);
|
|
@@ -14068,7 +14097,7 @@ function getComponentTagName(node) {
|
|
|
14068
14097
|
return node.tagName || "ng-component";
|
|
14069
14098
|
}
|
|
14070
14099
|
|
|
14071
|
-
// bazel-out/
|
|
14100
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.js
|
|
14072
14101
|
import ts60 from "typescript";
|
|
14073
14102
|
var TypeCheckFile = class extends Environment {
|
|
14074
14103
|
fileName;
|
|
@@ -14117,7 +14146,7 @@ var TypeCheckFile = class extends Environment {
|
|
|
14117
14146
|
}
|
|
14118
14147
|
};
|
|
14119
14148
|
|
|
14120
|
-
// bazel-out/
|
|
14149
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.js
|
|
14121
14150
|
var InliningMode;
|
|
14122
14151
|
(function(InliningMode2) {
|
|
14123
14152
|
InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
|
|
@@ -14401,10 +14430,10 @@ var TypeCtorOp = class {
|
|
|
14401
14430
|
}
|
|
14402
14431
|
};
|
|
14403
14432
|
|
|
14404
|
-
// bazel-out/
|
|
14433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14405
14434
|
import { ParseLocation as ParseLocation2, ParseSourceSpan as ParseSourceSpan2 } from "@angular/compiler";
|
|
14406
14435
|
|
|
14407
|
-
// bazel-out/
|
|
14436
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.js
|
|
14408
14437
|
var LF_CHAR = 10;
|
|
14409
14438
|
var CR_CHAR = 13;
|
|
14410
14439
|
var LINE_SEP_CHAR = 8232;
|
|
@@ -14445,7 +14474,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
|
|
|
14445
14474
|
return low - 1;
|
|
14446
14475
|
}
|
|
14447
14476
|
|
|
14448
|
-
// bazel-out/
|
|
14477
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.js
|
|
14449
14478
|
var Source = class {
|
|
14450
14479
|
mapping;
|
|
14451
14480
|
file;
|
|
@@ -14511,7 +14540,7 @@ var DirectiveSourceManager = class {
|
|
|
14511
14540
|
}
|
|
14512
14541
|
};
|
|
14513
14542
|
|
|
14514
|
-
// bazel-out/
|
|
14543
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.js
|
|
14515
14544
|
import { AST, ASTWithName as ASTWithName2, ASTWithSource as ASTWithSource2, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite3, R3Identifiers as R3Identifiers4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute3, TmplAstBoundEvent as TmplAstBoundEvent3, TmplAstElement as TmplAstElement3, TmplAstLetDeclaration as TmplAstLetDeclaration3, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
|
|
14516
14545
|
import ts62 from "typescript";
|
|
14517
14546
|
var SymbolBuilder = class {
|
|
@@ -15119,7 +15148,7 @@ function collectClassesWithName(sourceFile, className) {
|
|
|
15119
15148
|
return classes;
|
|
15120
15149
|
}
|
|
15121
15150
|
|
|
15122
|
-
// bazel-out/
|
|
15151
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.js
|
|
15123
15152
|
var REGISTRY2 = new DomElementSchemaRegistry2();
|
|
15124
15153
|
var TemplateTypeCheckerImpl = class {
|
|
15125
15154
|
originalProgram;
|
|
@@ -15847,7 +15876,7 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
|
|
|
15847
15876
|
}
|
|
15848
15877
|
};
|
|
15849
15878
|
|
|
15850
|
-
// bazel-out/
|
|
15879
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.js
|
|
15851
15880
|
var FIELD_DECORATORS = [
|
|
15852
15881
|
"Input",
|
|
15853
15882
|
"Output",
|
|
@@ -16105,11 +16134,11 @@ var DirectiveDecoratorHandler = class {
|
|
|
16105
16134
|
}
|
|
16106
16135
|
};
|
|
16107
16136
|
|
|
16108
|
-
// bazel-out/
|
|
16137
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
16109
16138
|
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";
|
|
16110
16139
|
import ts65 from "typescript";
|
|
16111
16140
|
|
|
16112
|
-
// bazel-out/
|
|
16141
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.js
|
|
16113
16142
|
import ts64 from "typescript";
|
|
16114
16143
|
function createModuleWithProvidersResolver(reflector, isCore) {
|
|
16115
16144
|
function _reflectModuleFromTypeParam(type, node) {
|
|
@@ -16180,7 +16209,7 @@ function isResolvedModuleWithProviders(sv) {
|
|
|
16180
16209
|
return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
|
|
16181
16210
|
}
|
|
16182
16211
|
|
|
16183
|
-
// bazel-out/
|
|
16212
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.js
|
|
16184
16213
|
var NgModuleSymbol = class extends SemanticSymbol {
|
|
16185
16214
|
hasProviders;
|
|
16186
16215
|
remotelyScopedComponents = [];
|
|
@@ -16830,7 +16859,7 @@ function isSyntheticReference(ref) {
|
|
|
16830
16859
|
return ref.synthetic;
|
|
16831
16860
|
}
|
|
16832
16861
|
|
|
16833
|
-
// bazel-out/
|
|
16862
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.js
|
|
16834
16863
|
function makeCyclicImportInfo(ref, type, cycle) {
|
|
16835
16864
|
const name = ref.debugName || "(unknown)";
|
|
16836
16865
|
const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
|
|
@@ -16853,7 +16882,7 @@ function checkCustomElementSelectorForErrors(selector) {
|
|
|
16853
16882
|
return null;
|
|
16854
16883
|
}
|
|
16855
16884
|
|
|
16856
|
-
// bazel-out/
|
|
16885
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.js
|
|
16857
16886
|
import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile3, parseTemplate } from "@angular/compiler";
|
|
16858
16887
|
import ts66 from "typescript";
|
|
16859
16888
|
function getTemplateDeclarationNodeForError(declaration) {
|
|
@@ -17228,7 +17257,7 @@ function _extractTemplateStyleUrls(template) {
|
|
|
17228
17257
|
}));
|
|
17229
17258
|
}
|
|
17230
17259
|
|
|
17231
|
-
// bazel-out/
|
|
17260
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.js
|
|
17232
17261
|
var ComponentSymbol = class extends DirectiveSymbol {
|
|
17233
17262
|
usedDirectives = [];
|
|
17234
17263
|
usedPipes = [];
|
|
@@ -17260,7 +17289,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
|
|
|
17260
17289
|
}
|
|
17261
17290
|
};
|
|
17262
17291
|
|
|
17263
|
-
// bazel-out/
|
|
17292
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.js
|
|
17264
17293
|
import ts67 from "typescript";
|
|
17265
17294
|
function collectAnimationNames(value, animationTriggerNames) {
|
|
17266
17295
|
if (value instanceof Map) {
|
|
@@ -17351,10 +17380,10 @@ function isLikelyModuleWithProviders(value) {
|
|
|
17351
17380
|
return false;
|
|
17352
17381
|
}
|
|
17353
17382
|
|
|
17354
|
-
// bazel-out/
|
|
17383
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17355
17384
|
import { outputAst as o4 } from "@angular/compiler";
|
|
17356
17385
|
|
|
17357
|
-
// bazel-out/
|
|
17386
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/extract_dependencies.js
|
|
17358
17387
|
import { outputAst as o3 } from "@angular/compiler";
|
|
17359
17388
|
import ts68 from "typescript";
|
|
17360
17389
|
function extractHmrDependencies(node, definition, factory, deferBlockMetadata, classMetadata, debugInfo, reflection, evaluator) {
|
|
@@ -17564,7 +17593,7 @@ function isConstEnumReference(node, reflection) {
|
|
|
17564
17593
|
return declaration !== null && ts68.isEnumDeclaration(declaration.node) && !!declaration.node.modifiers?.some((m) => m.kind === ts68.SyntaxKind.ConstKeyword);
|
|
17565
17594
|
}
|
|
17566
17595
|
|
|
17567
|
-
// bazel-out/
|
|
17596
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/metadata.js
|
|
17568
17597
|
import ts69 from "typescript";
|
|
17569
17598
|
function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDirs, definition, factory, deferBlockMetadata, classMetadata, debugInfo) {
|
|
17570
17599
|
if (!reflection.isClass(clazz)) {
|
|
@@ -17586,7 +17615,7 @@ function extractHmrMetatadata(clazz, reflection, evaluator, compilerHost, rootDi
|
|
|
17586
17615
|
return meta;
|
|
17587
17616
|
}
|
|
17588
17617
|
|
|
17589
|
-
// bazel-out/
|
|
17618
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/hmr/src/update_declaration.js
|
|
17590
17619
|
import { compileHmrUpdateCallback } from "@angular/compiler";
|
|
17591
17620
|
import ts70 from "typescript";
|
|
17592
17621
|
function getHmrUpdateDeclaration(compilationResults, constantStatements, meta, declaration) {
|
|
@@ -17623,7 +17652,7 @@ var HmrModuleImportRewriter = class {
|
|
|
17623
17652
|
}
|
|
17624
17653
|
};
|
|
17625
17654
|
|
|
17626
|
-
// bazel-out/
|
|
17655
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.js
|
|
17627
17656
|
var EMPTY_ARRAY2 = [];
|
|
17628
17657
|
var isUsedDirective = (decl) => decl.kind === R3TemplateDependencyKind.Directive;
|
|
17629
17658
|
var isUsedPipe = (decl) => decl.kind === R3TemplateDependencyKind.Pipe;
|
|
@@ -18849,7 +18878,7 @@ function isDefaultImport(node) {
|
|
|
18849
18878
|
return node.importClause !== void 0 && node.importClause.namedBindings === void 0;
|
|
18850
18879
|
}
|
|
18851
18880
|
|
|
18852
|
-
// bazel-out/
|
|
18881
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.js
|
|
18853
18882
|
import { compileClassMetadata as compileClassMetadata3, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression3, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr11 } from "@angular/compiler";
|
|
18854
18883
|
import ts72 from "typescript";
|
|
18855
18884
|
var InjectableDecoratorHandler = class {
|
|
@@ -19090,7 +19119,7 @@ function getDep(dep, reflector) {
|
|
|
19090
19119
|
return meta;
|
|
19091
19120
|
}
|
|
19092
19121
|
|
|
19093
|
-
// bazel-out/
|
|
19122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.js
|
|
19094
19123
|
import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5 } from "@angular/compiler";
|
|
19095
19124
|
import ts73 from "typescript";
|
|
19096
19125
|
var PipeSymbol = class extends SemanticSymbol {
|
|
@@ -19383,4 +19412,4 @@ export {
|
|
|
19383
19412
|
* Use of this source code is governed by an MIT-style license that can be
|
|
19384
19413
|
* found in the LICENSE file at https://angular.dev/license
|
|
19385
19414
|
*/
|
|
19386
|
-
//# sourceMappingURL=chunk-
|
|
19415
|
+
//# sourceMappingURL=chunk-SILQIVD4.js.map
|