@angular/compiler-cli 17.3.3 → 17.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/{chunk-JO46TGKL.js → chunk-26Z5EPVF.js} +78 -78
- package/bundles/{chunk-GY5NSBQT.js → chunk-4QPGPZAQ.js} +111 -111
- package/bundles/{chunk-UM6JO3VZ.js → chunk-75YFKYUJ.js} +7 -7
- package/bundles/{chunk-7YTU3VQO.js → chunk-APSXNEXB.js} +5 -5
- package/bundles/{chunk-VHZA6E42.js → chunk-KAFBWQ67.js} +30 -30
- package/bundles/{chunk-ETISX7AF.js → chunk-NDT2FVCM.js} +13 -13
- package/bundles/{chunk-XZRJJDCL.js → chunk-NMMGOE7N.js} +47 -47
- package/bundles/{chunk-XZRJJDCL.js.map → chunk-NMMGOE7N.js.map} +1 -1
- package/bundles/{chunk-64JBPJBS.js → chunk-R4KQI5XI.js} +5 -5
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-2WQIUGOU.js → chunk-WCD6LVCP.js} +7 -7
- package/bundles/{chunk-XIYC7KSQ.js → chunk-YUMIYLNL.js} +5 -5
- package/bundles/index.js +12 -12
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +5 -5
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +10 -10
- package/bundles/src/bin/ngc.js +8 -8
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- /package/bundles/{chunk-JO46TGKL.js.map → chunk-26Z5EPVF.js.map} +0 -0
- /package/bundles/{chunk-GY5NSBQT.js.map → chunk-4QPGPZAQ.js.map} +0 -0
- /package/bundles/{chunk-UM6JO3VZ.js.map → chunk-75YFKYUJ.js.map} +0 -0
- /package/bundles/{chunk-7YTU3VQO.js.map → chunk-APSXNEXB.js.map} +0 -0
- /package/bundles/{chunk-VHZA6E42.js.map → chunk-KAFBWQ67.js.map} +0 -0
- /package/bundles/{chunk-ETISX7AF.js.map → chunk-NDT2FVCM.js.map} +0 -0
- /package/bundles/{chunk-64JBPJBS.js.map → chunk-R4KQI5XI.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-2WQIUGOU.js.map → chunk-WCD6LVCP.js.map} +0 -0
- /package/bundles/{chunk-XIYC7KSQ.js.map → chunk-YUMIYLNL.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-75YFKYUJ.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-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/darwin_arm64-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";
|
|
@@ -106,7 +106,7 @@ var ErrorCode;
|
|
|
106
106
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
107
107
|
})(ErrorCode || (ErrorCode = {}));
|
|
108
108
|
|
|
109
|
-
// bazel-out/
|
|
109
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
110
110
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
111
111
|
function replaceTsWithNgInErrors(errors) {
|
|
112
112
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -115,7 +115,7 @@ function ngErrorCode(code) {
|
|
|
115
115
|
return parseInt("-99" + code);
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
// bazel-out/
|
|
118
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
119
119
|
var FatalDiagnosticError = class extends Error {
|
|
120
120
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
121
121
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -180,7 +180,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
180
180
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
181
181
|
}
|
|
182
182
|
|
|
183
|
-
// bazel-out/
|
|
183
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
184
184
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
185
185
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
186
186
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -192,10 +192,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
192
192
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
193
193
|
]);
|
|
194
194
|
|
|
195
|
-
// bazel-out/
|
|
195
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
196
196
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.io/errors";
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
199
199
|
var ExtendedTemplateDiagnosticName;
|
|
200
200
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
201
201
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -210,10 +210,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
210
210
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
211
211
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
212
212
|
|
|
213
|
-
// bazel-out/
|
|
213
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
214
214
|
import ts5 from "typescript";
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
217
217
|
import ts2 from "typescript";
|
|
218
218
|
function isDecoratorIdentifier(exp) {
|
|
219
219
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -236,7 +236,7 @@ var ClassMemberAccessLevel;
|
|
|
236
236
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
237
237
|
var AmbientImport = {};
|
|
238
238
|
|
|
239
|
-
// bazel-out/
|
|
239
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
240
240
|
import ts3 from "typescript";
|
|
241
241
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
242
242
|
var _a, _b;
|
|
@@ -409,7 +409,7 @@ function extractModuleName(node) {
|
|
|
409
409
|
return node.moduleSpecifier.text;
|
|
410
410
|
}
|
|
411
411
|
|
|
412
|
-
// bazel-out/
|
|
412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
413
413
|
import ts4 from "typescript";
|
|
414
414
|
function isNamedClassDeclaration(node) {
|
|
415
415
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -433,7 +433,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
433
433
|
}
|
|
434
434
|
}
|
|
435
435
|
|
|
436
|
-
// bazel-out/
|
|
436
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
437
437
|
var TypeScriptReflectionHost = class {
|
|
438
438
|
constructor(checker, isLocalCompilation = false) {
|
|
439
439
|
this.checker = checker;
|
|
@@ -921,7 +921,7 @@ function getExportedName(decl, originalId) {
|
|
|
921
921
|
}
|
|
922
922
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
923
923
|
|
|
924
|
-
// bazel-out/
|
|
924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
925
925
|
import ts6 from "typescript";
|
|
926
926
|
var TS = /\.tsx?$/i;
|
|
927
927
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1022,7 +1022,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1022
1022
|
return redirectInfo.unredirected;
|
|
1023
1023
|
}
|
|
1024
1024
|
|
|
1025
|
-
// bazel-out/
|
|
1025
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1026
1026
|
var Reference = class {
|
|
1027
1027
|
constructor(node, bestGuessOwningModule = null) {
|
|
1028
1028
|
this.node = node;
|
|
@@ -1091,14 +1091,14 @@ var Reference = class {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
|
-
// bazel-out/
|
|
1094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1095
1095
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1096
1096
|
|
|
1097
|
-
// bazel-out/
|
|
1097
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1098
1098
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1099
1099
|
import ts7 from "typescript";
|
|
1100
1100
|
|
|
1101
|
-
// bazel-out/
|
|
1101
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1102
1102
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1103
1103
|
const exports = reflector.getExportsOfModule(file);
|
|
1104
1104
|
if (exports === null) {
|
|
@@ -1118,7 +1118,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1118
1118
|
return foundExportName;
|
|
1119
1119
|
}
|
|
1120
1120
|
|
|
1121
|
-
// bazel-out/
|
|
1121
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1122
1122
|
var ImportFlags;
|
|
1123
1123
|
(function(ImportFlags2) {
|
|
1124
1124
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1347,7 +1347,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1347
1347
|
}
|
|
1348
1348
|
};
|
|
1349
1349
|
|
|
1350
|
-
// bazel-out/
|
|
1350
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1351
1351
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1352
1352
|
var UnifiedModulesAliasingHost = class {
|
|
1353
1353
|
constructor(unifiedModulesHost) {
|
|
@@ -1414,7 +1414,7 @@ var AliasStrategy = class {
|
|
|
1414
1414
|
}
|
|
1415
1415
|
};
|
|
1416
1416
|
|
|
1417
|
-
// bazel-out/
|
|
1417
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1418
1418
|
function relativePathBetween(from, to) {
|
|
1419
1419
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1420
1420
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1423,7 +1423,7 @@ function normalizeSeparators(path) {
|
|
|
1423
1423
|
return path.replace(/\\/g, "/");
|
|
1424
1424
|
}
|
|
1425
1425
|
|
|
1426
|
-
// bazel-out/
|
|
1426
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1427
1427
|
var NoopImportRewriter = class {
|
|
1428
1428
|
rewriteSymbol(symbol, specifier) {
|
|
1429
1429
|
return symbol;
|
|
@@ -1476,7 +1476,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1476
1476
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1477
1477
|
}
|
|
1478
1478
|
|
|
1479
|
-
// bazel-out/
|
|
1479
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1480
1480
|
import ts8 from "typescript";
|
|
1481
1481
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1482
1482
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1511,7 +1511,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1511
1511
|
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.");
|
|
1512
1512
|
}
|
|
1513
1513
|
|
|
1514
|
-
// bazel-out/
|
|
1514
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1515
1515
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1516
1516
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1517
1517
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1552,7 +1552,7 @@ var DefaultImportTracker = class {
|
|
|
1552
1552
|
}
|
|
1553
1553
|
};
|
|
1554
1554
|
|
|
1555
|
-
// bazel-out/
|
|
1555
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1556
1556
|
import ts9 from "typescript";
|
|
1557
1557
|
var AssumeEager = "AssumeEager";
|
|
1558
1558
|
var DeferredSymbolTracker = class {
|
|
@@ -1673,7 +1673,7 @@ var DeferredSymbolTracker = class {
|
|
|
1673
1673
|
}
|
|
1674
1674
|
};
|
|
1675
1675
|
|
|
1676
|
-
// bazel-out/
|
|
1676
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1677
1677
|
import ts10 from "typescript";
|
|
1678
1678
|
var ImportedSymbolsTracker = class {
|
|
1679
1679
|
constructor() {
|
|
@@ -1732,7 +1732,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1732
1732
|
}
|
|
1733
1733
|
};
|
|
1734
1734
|
|
|
1735
|
-
// bazel-out/
|
|
1735
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1736
1736
|
import ts11 from "typescript";
|
|
1737
1737
|
var LocalCompilationExtraImportsTracker = class {
|
|
1738
1738
|
constructor(typeChecker) {
|
|
@@ -1779,7 +1779,7 @@ function removeQuotations(s) {
|
|
|
1779
1779
|
return s.substring(1, s.length - 1).trim();
|
|
1780
1780
|
}
|
|
1781
1781
|
|
|
1782
|
-
// bazel-out/
|
|
1782
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1783
1783
|
var ModuleResolver = class {
|
|
1784
1784
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1785
1785
|
this.program = program;
|
|
@@ -1796,10 +1796,10 @@ var ModuleResolver = class {
|
|
|
1796
1796
|
}
|
|
1797
1797
|
};
|
|
1798
1798
|
|
|
1799
|
-
// bazel-out/
|
|
1799
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1800
1800
|
import ts16 from "typescript";
|
|
1801
1801
|
|
|
1802
|
-
// bazel-out/
|
|
1802
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1803
1803
|
import ts12 from "typescript";
|
|
1804
1804
|
function createGenerateUniqueIdentifierHelper() {
|
|
1805
1805
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1823,7 +1823,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1823
1823
|
};
|
|
1824
1824
|
}
|
|
1825
1825
|
|
|
1826
|
-
// bazel-out/
|
|
1826
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1827
1827
|
import ts13 from "typescript";
|
|
1828
1828
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1829
1829
|
return (ctx) => {
|
|
@@ -1881,7 +1881,7 @@ function isImportStatement(stmt) {
|
|
|
1881
1881
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1882
1882
|
}
|
|
1883
1883
|
|
|
1884
|
-
// bazel-out/
|
|
1884
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1885
1885
|
import ts14 from "typescript";
|
|
1886
1886
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1887
1887
|
const requestHash = hashImportRequest(request);
|
|
@@ -1908,7 +1908,7 @@ function hashImportRequest(req) {
|
|
|
1908
1908
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1909
1909
|
}
|
|
1910
1910
|
|
|
1911
|
-
// bazel-out/
|
|
1911
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1912
1912
|
import ts15 from "typescript";
|
|
1913
1913
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1914
1914
|
let candidateImportToBeUpdated = null;
|
|
@@ -1961,7 +1961,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1961
1961
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1962
1962
|
}
|
|
1963
1963
|
|
|
1964
|
-
// bazel-out/
|
|
1964
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1965
1965
|
var presetImportManagerForceNamespaceImports = {
|
|
1966
1966
|
disableOriginalSourceFileReuse: true,
|
|
1967
1967
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -1972,6 +1972,10 @@ var ImportManager = class {
|
|
|
1972
1972
|
this._config = _config;
|
|
1973
1973
|
this.newImports = /* @__PURE__ */ new Map();
|
|
1974
1974
|
this.nextUniqueIndex = 0;
|
|
1975
|
+
this.reuseGeneratedImportsTracker = {
|
|
1976
|
+
directReuseCache: /* @__PURE__ */ new Map(),
|
|
1977
|
+
namespaceImportReuseCache: /* @__PURE__ */ new Map()
|
|
1978
|
+
};
|
|
1975
1979
|
this.config = {
|
|
1976
1980
|
shouldUseSingleQuotes: () => false,
|
|
1977
1981
|
rewriter: null,
|
|
@@ -1986,10 +1990,6 @@ var ImportManager = class {
|
|
|
1986
1990
|
reusedAliasDeclarations: /* @__PURE__ */ new Set(),
|
|
1987
1991
|
updatedImports: /* @__PURE__ */ new Map()
|
|
1988
1992
|
};
|
|
1989
|
-
this.reuseGeneratedImportsTracker = {
|
|
1990
|
-
directReuseCache: /* @__PURE__ */ new Map(),
|
|
1991
|
-
namespaceImportReuseCache: /* @__PURE__ */ new Map()
|
|
1992
|
-
};
|
|
1993
1993
|
}
|
|
1994
1994
|
addSideEffectImport(requestedFile, moduleSpecifier) {
|
|
1995
1995
|
if (this.config.rewriter !== null) {
|
|
@@ -2111,7 +2111,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2111
2111
|
}
|
|
2112
2112
|
}
|
|
2113
2113
|
|
|
2114
|
-
// bazel-out/
|
|
2114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2115
2115
|
var Context = class {
|
|
2116
2116
|
constructor(isStatement) {
|
|
2117
2117
|
this.isStatement = isStatement;
|
|
@@ -2124,7 +2124,7 @@ var Context = class {
|
|
|
2124
2124
|
}
|
|
2125
2125
|
};
|
|
2126
2126
|
|
|
2127
|
-
// bazel-out/
|
|
2127
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2128
2128
|
import * as o from "@angular/compiler";
|
|
2129
2129
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2130
2130
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2370,7 +2370,7 @@ function createRange(span) {
|
|
|
2370
2370
|
};
|
|
2371
2371
|
}
|
|
2372
2372
|
|
|
2373
|
-
// bazel-out/
|
|
2373
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2374
2374
|
import ts17 from "typescript";
|
|
2375
2375
|
var INELIGIBLE = {};
|
|
2376
2376
|
function canEmitType(type, canEmit) {
|
|
@@ -2445,11 +2445,11 @@ var TypeEmitter = class {
|
|
|
2445
2445
|
}
|
|
2446
2446
|
};
|
|
2447
2447
|
|
|
2448
|
-
// bazel-out/
|
|
2448
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2449
2449
|
import * as o2 from "@angular/compiler";
|
|
2450
2450
|
import ts19 from "typescript";
|
|
2451
2451
|
|
|
2452
|
-
// bazel-out/
|
|
2452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2453
2453
|
import ts18 from "typescript";
|
|
2454
2454
|
function tsNumericExpression(value) {
|
|
2455
2455
|
if (value < 0) {
|
|
@@ -2459,7 +2459,7 @@ function tsNumericExpression(value) {
|
|
|
2459
2459
|
return ts18.factory.createNumericLiteral(value);
|
|
2460
2460
|
}
|
|
2461
2461
|
|
|
2462
|
-
// bazel-out/
|
|
2462
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2463
2463
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2464
2464
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2465
2465
|
}
|
|
@@ -2676,7 +2676,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2676
2676
|
}
|
|
2677
2677
|
};
|
|
2678
2678
|
|
|
2679
|
-
// bazel-out/
|
|
2679
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2680
2680
|
import ts20 from "typescript";
|
|
2681
2681
|
var PureAnnotation;
|
|
2682
2682
|
(function(PureAnnotation2) {
|
|
@@ -2873,7 +2873,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2873
2873
|
}
|
|
2874
2874
|
}
|
|
2875
2875
|
|
|
2876
|
-
// bazel-out/
|
|
2876
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2877
2877
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2878
2878
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2879
2879
|
}
|
|
@@ -2970,4 +2970,4 @@ export {
|
|
|
2970
2970
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2971
2971
|
* found in the LICENSE file at https://angular.io/license
|
|
2972
2972
|
*/
|
|
2973
|
-
//# sourceMappingURL=chunk-
|
|
2973
|
+
//# sourceMappingURL=chunk-NMMGOE7N.js.map
|