@angular/compiler-cli 18.1.0-rc.0 → 18.1.0
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-WTQ7UQOL.js → chunk-AOEZR223.js} +43 -43
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-S6XWL3LN.js → chunk-BKZN6F4B.js} +138 -135
- package/bundles/{chunk-S6XWL3LN.js.map → chunk-BKZN6F4B.js.map} +1 -1
- package/bundles/{chunk-TNEE4FUS.js → chunk-HXUTQSG7.js} +31 -31
- package/bundles/{chunk-OZ2N4CUX.js → chunk-JQI7OB4Q.js} +94 -86
- package/bundles/chunk-JQI7OB4Q.js.map +6 -0
- package/bundles/{chunk-LM7LLDVD.js → chunk-MLBHTW5L.js} +5 -5
- package/bundles/{chunk-2T3WTZXW.js → chunk-N6GPWJA3.js} +13 -13
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/index.js +11 -11
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +2 -2
- package/bundles/chunk-OZ2N4CUX.js.map +0 -6
- /package/bundles/{chunk-WTQ7UQOL.js.map → chunk-AOEZR223.js.map} +0 -0
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-TNEE4FUS.js.map → chunk-HXUTQSG7.js.map} +0 -0
- /package/bundles/{chunk-LM7LLDVD.js.map → chunk-MLBHTW5L.js.map} +0 -0
- /package/bundles/{chunk-2T3WTZXW.js.map → chunk-N6GPWJA3.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-3W345P4E.js.map → chunk-XNL3EK5H.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-XNL3EK5H.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";
|
|
@@ -111,7 +111,7 @@ var ErrorCode;
|
|
|
111
111
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
112
112
|
})(ErrorCode || (ErrorCode = {}));
|
|
113
113
|
|
|
114
|
-
// bazel-out/
|
|
114
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
115
115
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
116
116
|
function replaceTsWithNgInErrors(errors) {
|
|
117
117
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -120,7 +120,7 @@ function ngErrorCode(code) {
|
|
|
120
120
|
return parseInt("-99" + code);
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
// bazel-out/
|
|
123
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
124
124
|
var FatalDiagnosticError = class extends Error {
|
|
125
125
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
126
126
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -184,7 +184,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
184
184
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
185
185
|
}
|
|
186
186
|
|
|
187
|
-
// bazel-out/
|
|
187
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
188
188
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
189
189
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
190
190
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -196,10 +196,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
196
196
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
197
197
|
]);
|
|
198
198
|
|
|
199
|
-
// bazel-out/
|
|
199
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
200
200
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
201
201
|
|
|
202
|
-
// bazel-out/
|
|
202
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
203
203
|
var ExtendedTemplateDiagnosticName;
|
|
204
204
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
205
205
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -215,10 +215,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
215
215
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
216
216
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
217
217
|
|
|
218
|
-
// bazel-out/
|
|
218
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
219
219
|
import ts5 from "typescript";
|
|
220
220
|
|
|
221
|
-
// bazel-out/
|
|
221
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
222
222
|
import ts2 from "typescript";
|
|
223
223
|
function isDecoratorIdentifier(exp) {
|
|
224
224
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -241,7 +241,7 @@ var ClassMemberAccessLevel;
|
|
|
241
241
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
242
242
|
var AmbientImport = {};
|
|
243
243
|
|
|
244
|
-
// bazel-out/
|
|
244
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
245
245
|
import ts3 from "typescript";
|
|
246
246
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
247
247
|
var _a, _b;
|
|
@@ -425,7 +425,7 @@ function extractModuleName(node) {
|
|
|
425
425
|
return node.moduleSpecifier.text;
|
|
426
426
|
}
|
|
427
427
|
|
|
428
|
-
// bazel-out/
|
|
428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
429
429
|
import ts4 from "typescript";
|
|
430
430
|
function isNamedClassDeclaration(node) {
|
|
431
431
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -449,7 +449,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
449
449
|
}
|
|
450
450
|
}
|
|
451
451
|
|
|
452
|
-
// bazel-out/
|
|
452
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
453
453
|
var TypeScriptReflectionHost = class {
|
|
454
454
|
constructor(checker, isLocalCompilation = false) {
|
|
455
455
|
this.checker = checker;
|
|
@@ -937,7 +937,7 @@ function getExportedName(decl, originalId) {
|
|
|
937
937
|
}
|
|
938
938
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
939
939
|
|
|
940
|
-
// bazel-out/
|
|
940
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
941
941
|
import ts6 from "typescript";
|
|
942
942
|
var TS = /\.tsx?$/i;
|
|
943
943
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1038,7 +1038,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1038
1038
|
return redirectInfo.unredirected;
|
|
1039
1039
|
}
|
|
1040
1040
|
|
|
1041
|
-
// bazel-out/
|
|
1041
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1042
1042
|
var Reference = class {
|
|
1043
1043
|
constructor(node, bestGuessOwningModule = null) {
|
|
1044
1044
|
this.node = node;
|
|
@@ -1107,14 +1107,14 @@ var Reference = class {
|
|
|
1107
1107
|
}
|
|
1108
1108
|
};
|
|
1109
1109
|
|
|
1110
|
-
// bazel-out/
|
|
1110
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1111
1111
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1112
1112
|
|
|
1113
|
-
// bazel-out/
|
|
1113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1114
1114
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1115
1115
|
import ts7 from "typescript";
|
|
1116
1116
|
|
|
1117
|
-
// bazel-out/
|
|
1117
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1118
1118
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1119
1119
|
const exports = reflector.getExportsOfModule(file);
|
|
1120
1120
|
if (exports === null) {
|
|
@@ -1134,7 +1134,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1134
1134
|
return foundExportName;
|
|
1135
1135
|
}
|
|
1136
1136
|
|
|
1137
|
-
// bazel-out/
|
|
1137
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1138
1138
|
var ImportFlags;
|
|
1139
1139
|
(function(ImportFlags2) {
|
|
1140
1140
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1365,7 +1365,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1365
1365
|
}
|
|
1366
1366
|
};
|
|
1367
1367
|
|
|
1368
|
-
// bazel-out/
|
|
1368
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1369
1369
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1370
1370
|
var UnifiedModulesAliasingHost = class {
|
|
1371
1371
|
constructor(unifiedModulesHost) {
|
|
@@ -1432,7 +1432,7 @@ var AliasStrategy = class {
|
|
|
1432
1432
|
}
|
|
1433
1433
|
};
|
|
1434
1434
|
|
|
1435
|
-
// bazel-out/
|
|
1435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1436
1436
|
function relativePathBetween(from, to) {
|
|
1437
1437
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1438
1438
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1441,7 +1441,7 @@ function normalizeSeparators(path) {
|
|
|
1441
1441
|
return path.replace(/\\/g, "/");
|
|
1442
1442
|
}
|
|
1443
1443
|
|
|
1444
|
-
// bazel-out/
|
|
1444
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1445
1445
|
var NoopImportRewriter = class {
|
|
1446
1446
|
rewriteSymbol(symbol, specifier) {
|
|
1447
1447
|
return symbol;
|
|
@@ -1494,7 +1494,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1494
1494
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1495
1495
|
}
|
|
1496
1496
|
|
|
1497
|
-
// bazel-out/
|
|
1497
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1498
1498
|
import ts8 from "typescript";
|
|
1499
1499
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1500
1500
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1529,7 +1529,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1529
1529
|
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.");
|
|
1530
1530
|
}
|
|
1531
1531
|
|
|
1532
|
-
// bazel-out/
|
|
1532
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1533
1533
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1534
1534
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1535
1535
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1570,7 +1570,7 @@ var DefaultImportTracker = class {
|
|
|
1570
1570
|
}
|
|
1571
1571
|
};
|
|
1572
1572
|
|
|
1573
|
-
// bazel-out/
|
|
1573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1574
1574
|
import ts9 from "typescript";
|
|
1575
1575
|
var AssumeEager = "AssumeEager";
|
|
1576
1576
|
var DeferredSymbolTracker = class {
|
|
@@ -1691,7 +1691,7 @@ var DeferredSymbolTracker = class {
|
|
|
1691
1691
|
}
|
|
1692
1692
|
};
|
|
1693
1693
|
|
|
1694
|
-
// bazel-out/
|
|
1694
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1695
1695
|
import ts10 from "typescript";
|
|
1696
1696
|
var ImportedSymbolsTracker = class {
|
|
1697
1697
|
constructor() {
|
|
@@ -1761,7 +1761,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1761
1761
|
}
|
|
1762
1762
|
};
|
|
1763
1763
|
|
|
1764
|
-
// bazel-out/
|
|
1764
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1765
1765
|
import ts11 from "typescript";
|
|
1766
1766
|
var LocalCompilationExtraImportsTracker = class {
|
|
1767
1767
|
constructor(typeChecker) {
|
|
@@ -1812,7 +1812,7 @@ function removeQuotations(s) {
|
|
|
1812
1812
|
return s.substring(1, s.length - 1).trim();
|
|
1813
1813
|
}
|
|
1814
1814
|
|
|
1815
|
-
// bazel-out/
|
|
1815
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1816
1816
|
var ModuleResolver = class {
|
|
1817
1817
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1818
1818
|
this.program = program;
|
|
@@ -1829,10 +1829,10 @@ var ModuleResolver = class {
|
|
|
1829
1829
|
}
|
|
1830
1830
|
};
|
|
1831
1831
|
|
|
1832
|
-
// bazel-out/
|
|
1832
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1833
1833
|
import ts16 from "typescript";
|
|
1834
1834
|
|
|
1835
|
-
// bazel-out/
|
|
1835
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1836
1836
|
import ts12 from "typescript";
|
|
1837
1837
|
function createGenerateUniqueIdentifierHelper() {
|
|
1838
1838
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1858,7 +1858,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1858
1858
|
};
|
|
1859
1859
|
}
|
|
1860
1860
|
|
|
1861
|
-
// bazel-out/
|
|
1861
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1862
1862
|
import ts13 from "typescript";
|
|
1863
1863
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1864
1864
|
return (ctx) => {
|
|
@@ -1919,7 +1919,7 @@ function isImportStatement(stmt) {
|
|
|
1919
1919
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1920
1920
|
}
|
|
1921
1921
|
|
|
1922
|
-
// bazel-out/
|
|
1922
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1923
1923
|
import ts14 from "typescript";
|
|
1924
1924
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1925
1925
|
const requestHash = hashImportRequest(request);
|
|
@@ -1946,7 +1946,7 @@ function hashImportRequest(req) {
|
|
|
1946
1946
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1947
1947
|
}
|
|
1948
1948
|
|
|
1949
|
-
// bazel-out/
|
|
1949
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1950
1950
|
import ts15 from "typescript";
|
|
1951
1951
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1952
1952
|
let candidateImportToBeUpdated = null;
|
|
@@ -1999,7 +1999,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1999
1999
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2000
2000
|
}
|
|
2001
2001
|
|
|
2002
|
-
// bazel-out/
|
|
2002
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2003
2003
|
var presetImportManagerForceNamespaceImports = {
|
|
2004
2004
|
disableOriginalSourceFileReuse: true,
|
|
2005
2005
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2149,7 +2149,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2149
2149
|
}
|
|
2150
2150
|
}
|
|
2151
2151
|
|
|
2152
|
-
// bazel-out/
|
|
2152
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2153
2153
|
var Context = class {
|
|
2154
2154
|
constructor(isStatement) {
|
|
2155
2155
|
this.isStatement = isStatement;
|
|
@@ -2162,7 +2162,7 @@ var Context = class {
|
|
|
2162
2162
|
}
|
|
2163
2163
|
};
|
|
2164
2164
|
|
|
2165
|
-
// bazel-out/
|
|
2165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2166
2166
|
import * as o from "@angular/compiler";
|
|
2167
2167
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2168
2168
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2408,7 +2408,7 @@ function createRange(span) {
|
|
|
2408
2408
|
};
|
|
2409
2409
|
}
|
|
2410
2410
|
|
|
2411
|
-
// bazel-out/
|
|
2411
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2412
2412
|
import ts17 from "typescript";
|
|
2413
2413
|
var INELIGIBLE = {};
|
|
2414
2414
|
function canEmitType(type, canEmit) {
|
|
@@ -2483,11 +2483,11 @@ var TypeEmitter = class {
|
|
|
2483
2483
|
}
|
|
2484
2484
|
};
|
|
2485
2485
|
|
|
2486
|
-
// bazel-out/
|
|
2486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2487
2487
|
import * as o2 from "@angular/compiler";
|
|
2488
2488
|
import ts19 from "typescript";
|
|
2489
2489
|
|
|
2490
|
-
// bazel-out/
|
|
2490
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2491
2491
|
import ts18 from "typescript";
|
|
2492
2492
|
function tsNumericExpression(value) {
|
|
2493
2493
|
if (value < 0) {
|
|
@@ -2497,7 +2497,7 @@ function tsNumericExpression(value) {
|
|
|
2497
2497
|
return ts18.factory.createNumericLiteral(value);
|
|
2498
2498
|
}
|
|
2499
2499
|
|
|
2500
|
-
// bazel-out/
|
|
2500
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2501
2501
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2502
2502
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2503
2503
|
}
|
|
@@ -2714,7 +2714,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2714
2714
|
}
|
|
2715
2715
|
};
|
|
2716
2716
|
|
|
2717
|
-
// bazel-out/
|
|
2717
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2718
2718
|
import ts20 from "typescript";
|
|
2719
2719
|
var PureAnnotation;
|
|
2720
2720
|
(function(PureAnnotation2) {
|
|
@@ -2917,7 +2917,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2917
2917
|
}
|
|
2918
2918
|
}
|
|
2919
2919
|
|
|
2920
|
-
// bazel-out/
|
|
2920
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2921
2921
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2922
2922
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2923
2923
|
}
|
|
@@ -3014,4 +3014,4 @@ export {
|
|
|
3014
3014
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3015
3015
|
* found in the LICENSE file at https://angular.io/license
|
|
3016
3016
|
*/
|
|
3017
|
-
//# sourceMappingURL=chunk-
|
|
3017
|
+
//# sourceMappingURL=chunk-AOEZR223.js.map
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
const require = __cjsCompatRequire(import.meta.url);
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
// bazel-out/
|
|
6
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/api.mjs
|
|
7
7
|
var PerfPhase;
|
|
8
8
|
(function(PerfPhase2) {
|
|
9
9
|
PerfPhase2[PerfPhase2["Unaccounted"] = 0] = "Unaccounted";
|
|
@@ -71,7 +71,7 @@ var PerfCheckpoint;
|
|
|
71
71
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
72
72
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
73
73
|
|
|
74
|
-
// bazel-out/
|
|
74
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
75
75
|
var NoopPerfRecorder = class {
|
|
76
76
|
eventCount() {
|
|
77
77
|
}
|
|
@@ -88,7 +88,7 @@ var NoopPerfRecorder = class {
|
|
|
88
88
|
};
|
|
89
89
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
90
90
|
|
|
91
|
-
// bazel-out/
|
|
91
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
92
92
|
function mark() {
|
|
93
93
|
return process.hrtime();
|
|
94
94
|
}
|
|
@@ -97,7 +97,7 @@ function timeSinceInMicros(mark2) {
|
|
|
97
97
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
98
98
|
}
|
|
99
99
|
|
|
100
|
-
// bazel-out/
|
|
100
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
101
101
|
var ActivePerfRecorder = class {
|
|
102
102
|
static zeroedToNow() {
|
|
103
103
|
return new ActivePerfRecorder(mark());
|
|
@@ -205,4 +205,4 @@ export {
|
|
|
205
205
|
* Use of this source code is governed by an MIT-style license that can be
|
|
206
206
|
* found in the LICENSE file at https://angular.io/license
|
|
207
207
|
*/
|
|
208
|
-
//# sourceMappingURL=chunk-
|
|
208
|
+
//# sourceMappingURL=chunk-AQFTVE7F.js.map
|