@angular/compiler-cli 18.1.0-next.2 → 18.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-EU3OILAK.js → chunk-54G5EVKM.js} +7 -7
- package/bundles/{chunk-LTQ7ZO65.js → chunk-BRUTQYO2.js} +34 -32
- package/bundles/{chunk-LTQ7ZO65.js.map → chunk-BRUTQYO2.js.map} +1 -1
- package/bundles/{chunk-JNLETH45.js → chunk-C5LPGSDY.js} +48 -46
- package/bundles/{chunk-JNLETH45.js.map → chunk-C5LPGSDY.js.map} +1 -1
- package/bundles/{chunk-PFBSCCQT.js → chunk-F7RSDLI3.js} +120 -120
- package/bundles/{chunk-YDOWTHQV.js → chunk-HLA6H3PC.js} +5 -5
- package/bundles/{chunk-AQFTVE7F.js → chunk-JZQHA4E7.js} +5 -5
- package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
- package/bundles/{chunk-C6UWCS4B.js → chunk-QL7ORWNN.js} +75 -75
- package/bundles/{chunk-C6UWCS4B.js.map → chunk-QL7ORWNN.js.map} +1 -1
- package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
- package/bundles/{chunk-LH4HQPYV.js → chunk-VBH4SN7I.js} +13 -13
- package/bundles/index.js +11 -11
- package/bundles/linker/babel/index.js +15 -15
- package/bundles/linker/babel/index.js.map +1 -1
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- /package/bundles/{chunk-EU3OILAK.js.map → chunk-54G5EVKM.js.map} +0 -0
- /package/bundles/{chunk-PFBSCCQT.js.map → chunk-F7RSDLI3.js.map} +0 -0
- /package/bundles/{chunk-YDOWTHQV.js.map → chunk-HLA6H3PC.js.map} +0 -0
- /package/bundles/{chunk-AQFTVE7F.js.map → chunk-JZQHA4E7.js.map} +0 -0
- /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
- /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
- /package/bundles/{chunk-LH4HQPYV.js.map → chunk-VBH4SN7I.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-54G5EVKM.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
18
18
|
import ts from "typescript";
|
|
19
19
|
|
|
20
|
-
// bazel-out/
|
|
20
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
21
21
|
var ErrorCode;
|
|
22
22
|
(function(ErrorCode2) {
|
|
23
23
|
ErrorCode2[ErrorCode2["DECORATOR_ARG_NOT_LITERAL"] = 1001] = "DECORATOR_ARG_NOT_LITERAL";
|
|
@@ -110,7 +110,7 @@ var ErrorCode;
|
|
|
110
110
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
111
111
|
})(ErrorCode || (ErrorCode = {}));
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
114
114
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
115
115
|
function replaceTsWithNgInErrors(errors) {
|
|
116
116
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -119,7 +119,7 @@ function ngErrorCode(code) {
|
|
|
119
119
|
return parseInt("-99" + code);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
123
123
|
var FatalDiagnosticError = class extends Error {
|
|
124
124
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
125
125
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -183,7 +183,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
183
183
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
187
187
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
188
188
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
189
189
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -195,10 +195,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
195
195
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
196
196
|
]);
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
199
199
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
200
200
|
|
|
201
|
-
// bazel-out/
|
|
201
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
202
202
|
var ExtendedTemplateDiagnosticName;
|
|
203
203
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
204
204
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -213,10 +213,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
213
213
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
214
214
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
217
217
|
import ts5 from "typescript";
|
|
218
218
|
|
|
219
|
-
// bazel-out/
|
|
219
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
220
220
|
import ts2 from "typescript";
|
|
221
221
|
function isDecoratorIdentifier(exp) {
|
|
222
222
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -239,7 +239,7 @@ var ClassMemberAccessLevel;
|
|
|
239
239
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
240
240
|
var AmbientImport = {};
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
243
243
|
import ts3 from "typescript";
|
|
244
244
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
245
245
|
var _a, _b;
|
|
@@ -423,7 +423,7 @@ function extractModuleName(node) {
|
|
|
423
423
|
return node.moduleSpecifier.text;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
// bazel-out/
|
|
426
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
427
427
|
import ts4 from "typescript";
|
|
428
428
|
function isNamedClassDeclaration(node) {
|
|
429
429
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -447,7 +447,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
// bazel-out/
|
|
450
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
451
451
|
var TypeScriptReflectionHost = class {
|
|
452
452
|
constructor(checker, isLocalCompilation = false) {
|
|
453
453
|
this.checker = checker;
|
|
@@ -935,7 +935,7 @@ function getExportedName(decl, originalId) {
|
|
|
935
935
|
}
|
|
936
936
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
937
937
|
|
|
938
|
-
// bazel-out/
|
|
938
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
939
939
|
import ts6 from "typescript";
|
|
940
940
|
var TS = /\.tsx?$/i;
|
|
941
941
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1036,7 +1036,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1036
1036
|
return redirectInfo.unredirected;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
|
-
// bazel-out/
|
|
1039
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1040
1040
|
var Reference = class {
|
|
1041
1041
|
constructor(node, bestGuessOwningModule = null) {
|
|
1042
1042
|
this.node = node;
|
|
@@ -1105,14 +1105,14 @@ var Reference = class {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
};
|
|
1107
1107
|
|
|
1108
|
-
// bazel-out/
|
|
1108
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1109
1109
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1110
1110
|
|
|
1111
|
-
// bazel-out/
|
|
1111
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1112
1112
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1113
1113
|
import ts7 from "typescript";
|
|
1114
1114
|
|
|
1115
|
-
// bazel-out/
|
|
1115
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1116
1116
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1117
1117
|
const exports = reflector.getExportsOfModule(file);
|
|
1118
1118
|
if (exports === null) {
|
|
@@ -1132,7 +1132,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1132
1132
|
return foundExportName;
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
1135
|
-
// bazel-out/
|
|
1135
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1136
1136
|
var ImportFlags;
|
|
1137
1137
|
(function(ImportFlags2) {
|
|
1138
1138
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1363,7 +1363,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
};
|
|
1365
1365
|
|
|
1366
|
-
// bazel-out/
|
|
1366
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1367
1367
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1368
1368
|
var UnifiedModulesAliasingHost = class {
|
|
1369
1369
|
constructor(unifiedModulesHost) {
|
|
@@ -1430,7 +1430,7 @@ var AliasStrategy = class {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
};
|
|
1432
1432
|
|
|
1433
|
-
// bazel-out/
|
|
1433
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1434
1434
|
function relativePathBetween(from, to) {
|
|
1435
1435
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1436
1436
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1439,7 +1439,7 @@ function normalizeSeparators(path) {
|
|
|
1439
1439
|
return path.replace(/\\/g, "/");
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
|
-
// bazel-out/
|
|
1442
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1443
1443
|
var NoopImportRewriter = class {
|
|
1444
1444
|
rewriteSymbol(symbol, specifier) {
|
|
1445
1445
|
return symbol;
|
|
@@ -1492,7 +1492,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1492
1492
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1493
1493
|
}
|
|
1494
1494
|
|
|
1495
|
-
// bazel-out/
|
|
1495
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1496
1496
|
import ts8 from "typescript";
|
|
1497
1497
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1498
1498
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1527,7 +1527,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1527
1527
|
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.");
|
|
1528
1528
|
}
|
|
1529
1529
|
|
|
1530
|
-
// bazel-out/
|
|
1530
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1531
1531
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1532
1532
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1533
1533
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1568,7 +1568,7 @@ var DefaultImportTracker = class {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
};
|
|
1570
1570
|
|
|
1571
|
-
// bazel-out/
|
|
1571
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1572
1572
|
import ts9 from "typescript";
|
|
1573
1573
|
var AssumeEager = "AssumeEager";
|
|
1574
1574
|
var DeferredSymbolTracker = class {
|
|
@@ -1689,7 +1689,7 @@ var DeferredSymbolTracker = class {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
|
-
// bazel-out/
|
|
1692
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1693
1693
|
import ts10 from "typescript";
|
|
1694
1694
|
var ImportedSymbolsTracker = class {
|
|
1695
1695
|
constructor() {
|
|
@@ -1759,7 +1759,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
};
|
|
1761
1761
|
|
|
1762
|
-
// bazel-out/
|
|
1762
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1763
1763
|
import ts11 from "typescript";
|
|
1764
1764
|
var LocalCompilationExtraImportsTracker = class {
|
|
1765
1765
|
constructor(typeChecker) {
|
|
@@ -1810,7 +1810,7 @@ function removeQuotations(s) {
|
|
|
1810
1810
|
return s.substring(1, s.length - 1).trim();
|
|
1811
1811
|
}
|
|
1812
1812
|
|
|
1813
|
-
// bazel-out/
|
|
1813
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1814
1814
|
var ModuleResolver = class {
|
|
1815
1815
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1816
1816
|
this.program = program;
|
|
@@ -1827,21 +1827,23 @@ var ModuleResolver = class {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
// bazel-out/
|
|
1830
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1831
1831
|
import ts16 from "typescript";
|
|
1832
1832
|
|
|
1833
|
-
// bazel-out/
|
|
1833
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1834
1834
|
import ts12 from "typescript";
|
|
1835
1835
|
function createGenerateUniqueIdentifierHelper() {
|
|
1836
1836
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
1837
|
+
const isGeneratedIdentifier = (sf, identifierName) => generatedIdentifiers.has(`${sf.fileName}@@${identifierName}`);
|
|
1838
|
+
const markIdentifierAsGenerated = (sf, identifierName) => generatedIdentifiers.add(`${sf.fileName}@@${identifierName}`);
|
|
1837
1839
|
return (sourceFile, symbolName) => {
|
|
1838
1840
|
const sf = sourceFile;
|
|
1839
1841
|
if (sf.identifiers === void 0) {
|
|
1840
1842
|
throw new Error("Source file unexpectedly lacks map of parsed `identifiers`.");
|
|
1841
1843
|
}
|
|
1842
|
-
const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !
|
|
1844
|
+
const isUniqueIdentifier = (name2) => !sf.identifiers.has(name2) && !isGeneratedIdentifier(sf, name2);
|
|
1843
1845
|
if (isUniqueIdentifier(symbolName)) {
|
|
1844
|
-
|
|
1846
|
+
markIdentifierAsGenerated(sf, symbolName);
|
|
1845
1847
|
return null;
|
|
1846
1848
|
}
|
|
1847
1849
|
let name = null;
|
|
@@ -1849,12 +1851,12 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1849
1851
|
do {
|
|
1850
1852
|
name = `${symbolName}_${counter++}`;
|
|
1851
1853
|
} while (!isUniqueIdentifier(name));
|
|
1852
|
-
|
|
1854
|
+
markIdentifierAsGenerated(sf, name);
|
|
1853
1855
|
return ts12.factory.createUniqueName(name, ts12.GeneratedIdentifierFlags.Optimistic);
|
|
1854
1856
|
};
|
|
1855
1857
|
}
|
|
1856
1858
|
|
|
1857
|
-
// bazel-out/
|
|
1859
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1858
1860
|
import ts13 from "typescript";
|
|
1859
1861
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1860
1862
|
return (ctx) => {
|
|
@@ -1915,7 +1917,7 @@ function isImportStatement(stmt) {
|
|
|
1915
1917
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1916
1918
|
}
|
|
1917
1919
|
|
|
1918
|
-
// bazel-out/
|
|
1920
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1919
1921
|
import ts14 from "typescript";
|
|
1920
1922
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1921
1923
|
const requestHash = hashImportRequest(request);
|
|
@@ -1942,7 +1944,7 @@ function hashImportRequest(req) {
|
|
|
1942
1944
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1943
1945
|
}
|
|
1944
1946
|
|
|
1945
|
-
// bazel-out/
|
|
1947
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1946
1948
|
import ts15 from "typescript";
|
|
1947
1949
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1948
1950
|
let candidateImportToBeUpdated = null;
|
|
@@ -1995,7 +1997,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1995
1997
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1996
1998
|
}
|
|
1997
1999
|
|
|
1998
|
-
// bazel-out/
|
|
2000
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1999
2001
|
var presetImportManagerForceNamespaceImports = {
|
|
2000
2002
|
disableOriginalSourceFileReuse: true,
|
|
2001
2003
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2145,7 +2147,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2145
2147
|
}
|
|
2146
2148
|
}
|
|
2147
2149
|
|
|
2148
|
-
// bazel-out/
|
|
2150
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2149
2151
|
var Context = class {
|
|
2150
2152
|
constructor(isStatement) {
|
|
2151
2153
|
this.isStatement = isStatement;
|
|
@@ -2158,7 +2160,7 @@ var Context = class {
|
|
|
2158
2160
|
}
|
|
2159
2161
|
};
|
|
2160
2162
|
|
|
2161
|
-
// bazel-out/
|
|
2163
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2162
2164
|
import * as o from "@angular/compiler";
|
|
2163
2165
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2164
2166
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2404,7 +2406,7 @@ function createRange(span) {
|
|
|
2404
2406
|
};
|
|
2405
2407
|
}
|
|
2406
2408
|
|
|
2407
|
-
// bazel-out/
|
|
2409
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2408
2410
|
import ts17 from "typescript";
|
|
2409
2411
|
var INELIGIBLE = {};
|
|
2410
2412
|
function canEmitType(type, canEmit) {
|
|
@@ -2479,11 +2481,11 @@ var TypeEmitter = class {
|
|
|
2479
2481
|
}
|
|
2480
2482
|
};
|
|
2481
2483
|
|
|
2482
|
-
// bazel-out/
|
|
2484
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2483
2485
|
import * as o2 from "@angular/compiler";
|
|
2484
2486
|
import ts19 from "typescript";
|
|
2485
2487
|
|
|
2486
|
-
// bazel-out/
|
|
2488
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2487
2489
|
import ts18 from "typescript";
|
|
2488
2490
|
function tsNumericExpression(value) {
|
|
2489
2491
|
if (value < 0) {
|
|
@@ -2493,7 +2495,7 @@ function tsNumericExpression(value) {
|
|
|
2493
2495
|
return ts18.factory.createNumericLiteral(value);
|
|
2494
2496
|
}
|
|
2495
2497
|
|
|
2496
|
-
// bazel-out/
|
|
2498
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2497
2499
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2498
2500
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2499
2501
|
}
|
|
@@ -2710,7 +2712,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2710
2712
|
}
|
|
2711
2713
|
};
|
|
2712
2714
|
|
|
2713
|
-
// bazel-out/
|
|
2715
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2714
2716
|
import ts20 from "typescript";
|
|
2715
2717
|
var PureAnnotation;
|
|
2716
2718
|
(function(PureAnnotation2) {
|
|
@@ -2913,7 +2915,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2913
2915
|
}
|
|
2914
2916
|
}
|
|
2915
2917
|
|
|
2916
|
-
// bazel-out/
|
|
2918
|
+
// bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2917
2919
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2918
2920
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2919
2921
|
}
|
|
@@ -3010,4 +3012,4 @@ export {
|
|
|
3010
3012
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3011
3013
|
* found in the LICENSE file at https://angular.io/license
|
|
3012
3014
|
*/
|
|
3013
|
-
//# sourceMappingURL=chunk-
|
|
3015
|
+
//# sourceMappingURL=chunk-C5LPGSDY.js.map
|