@angular/compiler-cli 19.1.7 → 19.1.8
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-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
- package/bundles/{chunk-YRGT6UGI.js → chunk-AKYGWZA3.js} +31 -31
- package/bundles/{chunk-CKLAD5Y5.js → chunk-BB6DN7KU.js} +81 -81
- package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
- package/bundles/{chunk-RMJDBMCH.js → chunk-GCR6CUSS.js} +42 -42
- package/bundles/{chunk-EXYJ6TKD.js → chunk-H2UPIYTD.js} +5 -5
- package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
- package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
- package/bundles/{chunk-4C5CBXZ4.js → chunk-VD2FSFSB.js} +3 -3
- package/bundles/{chunk-KJL3BXPI.js → chunk-WDF7V2LN.js} +12 -12
- package/bundles/{chunk-GEKWXKEG.js → chunk-ZJITJR5L.js} +125 -125
- 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 +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/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-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
- /package/bundles/{chunk-YRGT6UGI.js.map → chunk-AKYGWZA3.js.map} +0 -0
- /package/bundles/{chunk-CKLAD5Y5.js.map → chunk-BB6DN7KU.js.map} +0 -0
- /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
- /package/bundles/{chunk-RMJDBMCH.js.map → chunk-GCR6CUSS.js.map} +0 -0
- /package/bundles/{chunk-EXYJ6TKD.js.map → chunk-H2UPIYTD.js.map} +0 -0
- /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
- /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
- /package/bundles/{chunk-4C5CBXZ4.js.map → chunk-VD2FSFSB.js.map} +0 -0
- /package/bundles/{chunk-KJL3BXPI.js.map → chunk-WDF7V2LN.js.map} +0 -0
- /package/bundles/{chunk-GEKWXKEG.js.map → chunk-ZJITJR5L.js.map} +0 -0
|
@@ -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/logging/src/logger.mjs
|
|
7
7
|
var LogLevel;
|
|
8
8
|
(function(LogLevel2) {
|
|
9
9
|
LogLevel2[LogLevel2["debug"] = 0] = "debug";
|
|
@@ -12,7 +12,7 @@ var LogLevel;
|
|
|
12
12
|
LogLevel2[LogLevel2["error"] = 3] = "error";
|
|
13
13
|
})(LogLevel || (LogLevel = {}));
|
|
14
14
|
|
|
15
|
-
// bazel-out/
|
|
15
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
|
|
16
16
|
var RESET = "\x1B[0m";
|
|
17
17
|
var RED = "\x1B[31m";
|
|
18
18
|
var YELLOW = "\x1B[33m";
|
|
@@ -54,4 +54,4 @@ export {
|
|
|
54
54
|
* Use of this source code is governed by an MIT-style license that can be
|
|
55
55
|
* found in the LICENSE file at https://angular.dev/license
|
|
56
56
|
*/
|
|
57
|
-
//# sourceMappingURL=chunk-
|
|
57
|
+
//# sourceMappingURL=chunk-GBKXY6BH.js.map
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-STORTTKY.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
|
|
18
18
|
var ErrorCode;
|
|
19
19
|
(function(ErrorCode2) {
|
|
20
20
|
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
|
import ts from "typescript";
|
|
125
125
|
var FatalDiagnosticError = class extends Error {
|
|
126
126
|
code;
|
|
@@ -189,7 +189,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
189
189
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
190
190
|
}
|
|
191
191
|
|
|
192
|
-
// bazel-out/
|
|
192
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
193
193
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
194
194
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
195
195
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -201,10 +201,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
201
201
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
202
202
|
]);
|
|
203
203
|
|
|
204
|
-
// bazel-out/
|
|
204
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
205
205
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
206
206
|
|
|
207
|
-
// bazel-out/
|
|
207
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
208
208
|
var ExtendedTemplateDiagnosticName;
|
|
209
209
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
210
210
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -222,10 +222,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
222
222
|
ExtendedTemplateDiagnosticName2["UNUSED_STANDALONE_IMPORTS"] = "unusedStandaloneImports";
|
|
223
223
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
224
224
|
|
|
225
|
-
// bazel-out/
|
|
225
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
226
226
|
import ts5 from "typescript";
|
|
227
227
|
|
|
228
|
-
// bazel-out/
|
|
228
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
229
229
|
import ts2 from "typescript";
|
|
230
230
|
function isDecoratorIdentifier(exp) {
|
|
231
231
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -248,7 +248,7 @@ var ClassMemberAccessLevel;
|
|
|
248
248
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
249
249
|
var AmbientImport = {};
|
|
250
250
|
|
|
251
|
-
// bazel-out/
|
|
251
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
252
252
|
import ts3 from "typescript";
|
|
253
253
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
254
254
|
var _a, _b;
|
|
@@ -432,7 +432,7 @@ function extractModuleName(node) {
|
|
|
432
432
|
return node.moduleSpecifier.text;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
-
// bazel-out/
|
|
435
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
436
436
|
import ts4 from "typescript";
|
|
437
437
|
function isNamedClassDeclaration(node) {
|
|
438
438
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -456,7 +456,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
-
// bazel-out/
|
|
459
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
460
460
|
var TypeScriptReflectionHost = class {
|
|
461
461
|
checker;
|
|
462
462
|
isLocalCompilation;
|
|
@@ -962,7 +962,7 @@ function getExportedName(decl, originalId) {
|
|
|
962
962
|
}
|
|
963
963
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
964
964
|
|
|
965
|
-
// bazel-out/
|
|
965
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
966
966
|
import ts6 from "typescript";
|
|
967
967
|
var TS = /\.tsx?$/i;
|
|
968
968
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1063,7 +1063,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1063
1063
|
return redirectInfo.unredirected;
|
|
1064
1064
|
}
|
|
1065
1065
|
|
|
1066
|
-
// bazel-out/
|
|
1066
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1067
1067
|
var Reference = class {
|
|
1068
1068
|
node;
|
|
1069
1069
|
bestGuessOwningModule;
|
|
@@ -1135,14 +1135,14 @@ var Reference = class {
|
|
|
1135
1135
|
}
|
|
1136
1136
|
};
|
|
1137
1137
|
|
|
1138
|
-
// bazel-out/
|
|
1138
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1139
1139
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1140
1140
|
|
|
1141
|
-
// bazel-out/
|
|
1141
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1142
1142
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1143
1143
|
import ts7 from "typescript";
|
|
1144
1144
|
|
|
1145
|
-
// bazel-out/
|
|
1145
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1146
1146
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1147
1147
|
const exports = reflector.getExportsOfModule(file);
|
|
1148
1148
|
if (exports === null) {
|
|
@@ -1162,7 +1162,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1162
1162
|
return foundExportName;
|
|
1163
1163
|
}
|
|
1164
1164
|
|
|
1165
|
-
// bazel-out/
|
|
1165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1166
1166
|
var ImportFlags;
|
|
1167
1167
|
(function(ImportFlags2) {
|
|
1168
1168
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1409,7 +1409,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1409
1409
|
}
|
|
1410
1410
|
};
|
|
1411
1411
|
|
|
1412
|
-
// bazel-out/
|
|
1412
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1413
1413
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1414
1414
|
var UnifiedModulesAliasingHost = class {
|
|
1415
1415
|
unifiedModulesHost;
|
|
@@ -1478,7 +1478,7 @@ var AliasStrategy = class {
|
|
|
1478
1478
|
}
|
|
1479
1479
|
};
|
|
1480
1480
|
|
|
1481
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1482
1482
|
function relativePathBetween(from, to) {
|
|
1483
1483
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1484
1484
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1497,7 +1497,7 @@ function getProjectRelativePath(fileName, rootDirs, compilerHost) {
|
|
|
1497
1497
|
return null;
|
|
1498
1498
|
}
|
|
1499
1499
|
|
|
1500
|
-
// bazel-out/
|
|
1500
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1501
1501
|
var NoopImportRewriter = class {
|
|
1502
1502
|
rewriteSymbol(symbol, specifier) {
|
|
1503
1503
|
return symbol;
|
|
@@ -1557,7 +1557,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1557
1557
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1558
1558
|
}
|
|
1559
1559
|
|
|
1560
|
-
// bazel-out/
|
|
1560
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1561
1561
|
import ts8 from "typescript";
|
|
1562
1562
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1563
1563
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1595,7 +1595,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1595
1595
|
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.");
|
|
1596
1596
|
}
|
|
1597
1597
|
|
|
1598
|
-
// bazel-out/
|
|
1598
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1599
1599
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1600
1600
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1601
1601
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1634,7 +1634,7 @@ var DefaultImportTracker = class {
|
|
|
1634
1634
|
}
|
|
1635
1635
|
};
|
|
1636
1636
|
|
|
1637
|
-
// bazel-out/
|
|
1637
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1638
1638
|
import ts9 from "typescript";
|
|
1639
1639
|
var AssumeEager = "AssumeEager";
|
|
1640
1640
|
var DeferredSymbolTracker = class {
|
|
@@ -1757,7 +1757,7 @@ var DeferredSymbolTracker = class {
|
|
|
1757
1757
|
}
|
|
1758
1758
|
};
|
|
1759
1759
|
|
|
1760
|
-
// bazel-out/
|
|
1760
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1761
1761
|
import ts10 from "typescript";
|
|
1762
1762
|
var ImportedSymbolsTracker = class {
|
|
1763
1763
|
fileToNamedImports = /* @__PURE__ */ new WeakMap();
|
|
@@ -1825,7 +1825,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1825
1825
|
}
|
|
1826
1826
|
};
|
|
1827
1827
|
|
|
1828
|
-
// bazel-out/
|
|
1828
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1829
1829
|
import ts11 from "typescript";
|
|
1830
1830
|
var LocalCompilationExtraImportsTracker = class {
|
|
1831
1831
|
typeChecker;
|
|
@@ -1877,7 +1877,7 @@ function removeQuotations(s) {
|
|
|
1877
1877
|
return s.substring(1, s.length - 1).trim();
|
|
1878
1878
|
}
|
|
1879
1879
|
|
|
1880
|
-
// bazel-out/
|
|
1880
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1881
1881
|
var ModuleResolver = class {
|
|
1882
1882
|
program;
|
|
1883
1883
|
compilerOptions;
|
|
@@ -1898,10 +1898,10 @@ var ModuleResolver = class {
|
|
|
1898
1898
|
}
|
|
1899
1899
|
};
|
|
1900
1900
|
|
|
1901
|
-
// bazel-out/
|
|
1901
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1902
1902
|
import ts16 from "typescript";
|
|
1903
1903
|
|
|
1904
|
-
// bazel-out/
|
|
1904
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1905
1905
|
import ts12 from "typescript";
|
|
1906
1906
|
function createGenerateUniqueIdentifierHelper() {
|
|
1907
1907
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1927,7 +1927,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1927
1927
|
};
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
|
-
// bazel-out/
|
|
1930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1931
1931
|
import ts13 from "typescript";
|
|
1932
1932
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1933
1933
|
return (ctx) => {
|
|
@@ -1996,7 +1996,7 @@ function isImportStatement(stmt) {
|
|
|
1996
1996
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1997
1997
|
}
|
|
1998
1998
|
|
|
1999
|
-
// bazel-out/
|
|
1999
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
2000
2000
|
import ts14 from "typescript";
|
|
2001
2001
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
2002
2002
|
const requestHash = hashImportRequest(request);
|
|
@@ -2023,7 +2023,7 @@ function hashImportRequest(req) {
|
|
|
2023
2023
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
2024
2024
|
}
|
|
2025
2025
|
|
|
2026
|
-
// bazel-out/
|
|
2026
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
2027
2027
|
import ts15 from "typescript";
|
|
2028
2028
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
2029
2029
|
let candidateImportToBeUpdated = null;
|
|
@@ -2083,7 +2083,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2083
2083
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2084
2084
|
}
|
|
2085
2085
|
|
|
2086
|
-
// bazel-out/
|
|
2086
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2087
2087
|
var presetImportManagerForceNamespaceImports = {
|
|
2088
2088
|
disableOriginalSourceFileReuse: true,
|
|
2089
2089
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2306,7 +2306,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2306
2306
|
}
|
|
2307
2307
|
}
|
|
2308
2308
|
|
|
2309
|
-
// bazel-out/
|
|
2309
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2310
2310
|
var Context = class {
|
|
2311
2311
|
isStatement;
|
|
2312
2312
|
constructor(isStatement) {
|
|
@@ -2320,7 +2320,7 @@ var Context = class {
|
|
|
2320
2320
|
}
|
|
2321
2321
|
};
|
|
2322
2322
|
|
|
2323
|
-
// bazel-out/
|
|
2323
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2324
2324
|
import * as o from "@angular/compiler";
|
|
2325
2325
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2326
2326
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2576,7 +2576,7 @@ function createRange(span) {
|
|
|
2576
2576
|
};
|
|
2577
2577
|
}
|
|
2578
2578
|
|
|
2579
|
-
// bazel-out/
|
|
2579
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2580
2580
|
import ts17 from "typescript";
|
|
2581
2581
|
var INELIGIBLE = {};
|
|
2582
2582
|
function canEmitType(type, canEmit) {
|
|
@@ -2652,11 +2652,11 @@ var TypeEmitter = class {
|
|
|
2652
2652
|
}
|
|
2653
2653
|
};
|
|
2654
2654
|
|
|
2655
|
-
// bazel-out/
|
|
2655
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2656
2656
|
import * as o2 from "@angular/compiler";
|
|
2657
2657
|
import ts19 from "typescript";
|
|
2658
2658
|
|
|
2659
|
-
// bazel-out/
|
|
2659
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2660
2660
|
import ts18 from "typescript";
|
|
2661
2661
|
function tsNumericExpression(value) {
|
|
2662
2662
|
if (value < 0) {
|
|
@@ -2666,7 +2666,7 @@ function tsNumericExpression(value) {
|
|
|
2666
2666
|
return ts18.factory.createNumericLiteral(value);
|
|
2667
2667
|
}
|
|
2668
2668
|
|
|
2669
|
-
// bazel-out/
|
|
2669
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2670
2670
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2671
2671
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2672
2672
|
}
|
|
@@ -2887,7 +2887,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2887
2887
|
}
|
|
2888
2888
|
};
|
|
2889
2889
|
|
|
2890
|
-
// bazel-out/
|
|
2890
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2891
2891
|
import ts20 from "typescript";
|
|
2892
2892
|
var PureAnnotation;
|
|
2893
2893
|
(function(PureAnnotation2) {
|
|
@@ -3091,7 +3091,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3091
3091
|
}
|
|
3092
3092
|
}
|
|
3093
3093
|
|
|
3094
|
-
// bazel-out/
|
|
3094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
3095
3095
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3096
3096
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3097
3097
|
}
|
|
@@ -3191,4 +3191,4 @@ export {
|
|
|
3191
3191
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3192
3192
|
* found in the LICENSE file at https://angular.dev/license
|
|
3193
3193
|
*/
|
|
3194
|
-
//# sourceMappingURL=chunk-
|
|
3194
|
+
//# sourceMappingURL=chunk-GCR6CUSS.js.map
|
|
@@ -12,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BB6DN7KU.js";
|
|
16
16
|
|
|
17
|
-
// bazel-out/
|
|
17
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
18
18
|
import ts2 from "typescript";
|
|
19
19
|
import yargs from "yargs";
|
|
20
20
|
|
|
21
|
-
// bazel-out/
|
|
21
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_watch.mjs
|
|
22
22
|
import * as chokidar from "chokidar";
|
|
23
23
|
import * as path from "path";
|
|
24
24
|
import ts from "typescript";
|
|
@@ -242,7 +242,7 @@ function performWatchCompilation(host) {
|
|
|
242
242
|
}
|
|
243
243
|
}
|
|
244
244
|
|
|
245
|
-
// bazel-out/
|
|
245
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/main.mjs
|
|
246
246
|
function main(args, consoleError = console.error, config, customTransformers, programReuse, modifiedResourceFiles) {
|
|
247
247
|
let { project, rootNames, options, errors: configErrors, watch: watch2, emitFlags } = config || readNgcCommandLineAndConfiguration(args);
|
|
248
248
|
if (configErrors.length) {
|
|
@@ -363,4 +363,4 @@ export {
|
|
|
363
363
|
* Use of this source code is governed by an MIT-style license that can be
|
|
364
364
|
* found in the LICENSE file at https://angular.dev/license
|
|
365
365
|
*/
|
|
366
|
-
//# sourceMappingURL=chunk-
|
|
366
|
+
//# sourceMappingURL=chunk-H2UPIYTD.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";
|
|
@@ -73,7 +73,7 @@ var PerfCheckpoint;
|
|
|
73
73
|
PerfCheckpoint2[PerfCheckpoint2["LAST"] = 9] = "LAST";
|
|
74
74
|
})(PerfCheckpoint || (PerfCheckpoint = {}));
|
|
75
75
|
|
|
76
|
-
// bazel-out/
|
|
76
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/noop.mjs
|
|
77
77
|
var NoopPerfRecorder = class {
|
|
78
78
|
eventCount() {
|
|
79
79
|
}
|
|
@@ -90,7 +90,7 @@ var NoopPerfRecorder = class {
|
|
|
90
90
|
};
|
|
91
91
|
var NOOP_PERF_RECORDER = new NoopPerfRecorder();
|
|
92
92
|
|
|
93
|
-
// bazel-out/
|
|
93
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/clock.mjs
|
|
94
94
|
function mark() {
|
|
95
95
|
return process.hrtime();
|
|
96
96
|
}
|
|
@@ -99,7 +99,7 @@ function timeSinceInMicros(mark2) {
|
|
|
99
99
|
return delta[0] * 1e6 + Math.floor(delta[1] / 1e3);
|
|
100
100
|
}
|
|
101
101
|
|
|
102
|
-
// bazel-out/
|
|
102
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/perf/src/recorder.mjs
|
|
103
103
|
var ActivePerfRecorder = class {
|
|
104
104
|
zeroTime;
|
|
105
105
|
counters;
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
* Use of this source code is governed by an MIT-style license that can be
|
|
214
214
|
* found in the LICENSE file at https://angular.dev/license
|
|
215
215
|
*/
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-I6R3GL3L.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
__require
|
|
7
7
|
} from "./chunk-KPQ72R34.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/util.mjs
|
|
10
10
|
var TS_DTS_JS_EXTENSION = /(?:\.d)?\.ts$|\.js$/;
|
|
11
11
|
function normalizeSeparators(path) {
|
|
12
12
|
return path.replace(/\\/g, "/");
|
|
@@ -22,7 +22,7 @@ function getSourceFileOrError(program, fileName) {
|
|
|
22
22
|
return sf;
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/invalid_file_system.mjs
|
|
26
26
|
var InvalidFileSystem = class {
|
|
27
27
|
exists(path) {
|
|
28
28
|
throw makeError();
|
|
@@ -110,7 +110,7 @@ function makeError() {
|
|
|
110
110
|
return new Error("FileSystem has not been configured. Please call `setFileSystem()` before calling this method.");
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/helpers.mjs
|
|
114
114
|
var fs = new InvalidFileSystem();
|
|
115
115
|
function getFileSystem() {
|
|
116
116
|
return fs;
|
|
@@ -167,7 +167,7 @@ function toRelativeImport(relativePath) {
|
|
|
167
167
|
return isLocalRelativePath(relativePath) ? `./${relativePath}` : relativePath;
|
|
168
168
|
}
|
|
169
169
|
|
|
170
|
-
// bazel-out/
|
|
170
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/compiler_host.mjs
|
|
171
171
|
import * as os from "os";
|
|
172
172
|
import ts from "typescript";
|
|
173
173
|
var NgtscCompilerHost = class {
|
|
@@ -227,7 +227,7 @@ var NgtscCompilerHost = class {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/logical.mjs
|
|
231
231
|
var LogicalProjectPath = {
|
|
232
232
|
relativePathBetween: function(from, to) {
|
|
233
233
|
const relativePath = relative(dirname(resolve(from)), resolve(to));
|
|
@@ -276,7 +276,7 @@ function isWithinBasePath(base, path) {
|
|
|
276
276
|
return isLocalRelativePath(relative(base, path));
|
|
277
277
|
}
|
|
278
278
|
|
|
279
|
-
// bazel-out/
|
|
279
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/node_js_file_system.mjs
|
|
280
280
|
import fs2 from "fs";
|
|
281
281
|
import { createRequire } from "module";
|
|
282
282
|
import * as p from "path";
|
|
@@ -380,7 +380,7 @@ function toggleCase(str) {
|
|
|
380
380
|
return str.replace(/\w/g, (ch) => ch.toUpperCase() === ch ? ch.toLowerCase() : ch.toUpperCase());
|
|
381
381
|
}
|
|
382
382
|
|
|
383
|
-
// bazel-out/
|
|
383
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/file_system/src/ts_read_directory.mjs
|
|
384
384
|
import ts2 from "typescript";
|
|
385
385
|
function createFileSystemTsReadDirectoryFn(fs3) {
|
|
386
386
|
if (ts2.matchFiles === void 0) {
|
|
@@ -443,4 +443,4 @@ export {
|
|
|
443
443
|
* Use of this source code is governed by an MIT-style license that can be
|
|
444
444
|
* found in the LICENSE file at https://angular.dev/license
|
|
445
445
|
*/
|
|
446
|
-
//# sourceMappingURL=chunk-
|
|
446
|
+
//# sourceMappingURL=chunk-STORTTKY.js.map
|
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-WDF7V2LN.js";
|
|
8
8
|
|
|
9
|
-
// bazel-out/
|
|
9
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
10
10
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
11
11
|
ngDevMode: false,
|
|
12
12
|
ngI18nClosureMode: false
|
|
@@ -31,4 +31,4 @@ export {
|
|
|
31
31
|
* Use of this source code is governed by an MIT-style license that can be
|
|
32
32
|
* found in the LICENSE file at https://angular.dev/license
|
|
33
33
|
*/
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-VD2FSFSB.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-ZJITJR5L.js";
|
|
14
14
|
import {
|
|
15
15
|
ImportManager,
|
|
16
16
|
ImportedSymbolsTracker,
|
|
@@ -18,9 +18,9 @@ import {
|
|
|
18
18
|
isAliasImportDeclaration,
|
|
19
19
|
loadIsReferencedAliasDeclarationPatch,
|
|
20
20
|
reflectClassMember
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-GCR6CUSS.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.mjs
|
|
24
24
|
import ts from "typescript";
|
|
25
25
|
function isAngularDecorator2(decorator, isCore) {
|
|
26
26
|
return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
|
|
@@ -325,10 +325,10 @@ function cloneClassElementWithModifiers(node, modifiers) {
|
|
|
325
325
|
return ts.setOriginalNode(clone, node);
|
|
326
326
|
}
|
|
327
327
|
|
|
328
|
-
// bazel-out/
|
|
328
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
|
|
329
329
|
import ts4 from "typescript";
|
|
330
330
|
|
|
331
|
-
// bazel-out/
|
|
331
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.mjs
|
|
332
332
|
import ts2 from "typescript";
|
|
333
333
|
function createSyntheticAngularCoreDecoratorAccess(factory, importManager, ngClassDecorator, sourceFile, decoratorName) {
|
|
334
334
|
const classDecoratorIdentifier = ts2.isIdentifier(ngClassDecorator.identifier) ? ngClassDecorator.identifier : ngClassDecorator.identifier.expression;
|
|
@@ -345,7 +345,7 @@ function castAsAny(factory, expr) {
|
|
|
345
345
|
return factory.createAsExpression(expr, factory.createKeywordTypeNode(ts2.SyntaxKind.AnyKeyword));
|
|
346
346
|
}
|
|
347
347
|
|
|
348
|
-
// bazel-out/
|
|
348
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/input_function.mjs
|
|
349
349
|
var signalInputsTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
350
350
|
var _a, _b;
|
|
351
351
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Input", isCore))) {
|
|
@@ -367,7 +367,7 @@ var signalInputsTransform = (member, sourceFile, host, factory, importTracker, i
|
|
|
367
367
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
368
368
|
};
|
|
369
369
|
|
|
370
|
-
// bazel-out/
|
|
370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.mjs
|
|
371
371
|
import ts3 from "typescript";
|
|
372
372
|
var signalModelTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
373
373
|
var _a, _b;
|
|
@@ -401,7 +401,7 @@ function createDecorator(name, config, classDecorator, factory, sourceFile, impo
|
|
|
401
401
|
return factory.createDecorator(factory.createCallExpression(callTarget, void 0, [config]));
|
|
402
402
|
}
|
|
403
403
|
|
|
404
|
-
// bazel-out/
|
|
404
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.mjs
|
|
405
405
|
var initializerApiOutputTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
406
406
|
var _a, _b;
|
|
407
407
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Output", isCore))) {
|
|
@@ -415,7 +415,7 @@ var initializerApiOutputTransform = (member, sourceFile, host, factory, importTr
|
|
|
415
415
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
416
416
|
};
|
|
417
417
|
|
|
418
|
-
// bazel-out/
|
|
418
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.mjs
|
|
419
419
|
var queryFunctionToDecorator = {
|
|
420
420
|
viewChild: "ViewChild",
|
|
421
421
|
viewChildren: "ViewChildren",
|
|
@@ -448,7 +448,7 @@ var queryFunctionsTransforms = (member, sourceFile, host, factory, importTracker
|
|
|
448
448
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_a = member.node.modifiers) != null ? _a : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
449
449
|
};
|
|
450
450
|
|
|
451
|
-
// bazel-out/
|
|
451
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
|
|
452
452
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
453
453
|
var propertyTransforms = [
|
|
454
454
|
signalInputsTransform,
|
|
@@ -501,7 +501,7 @@ function createTransformVisitor(ctx, host, importManager, importTracker, isCore,
|
|
|
501
501
|
return visitor;
|
|
502
502
|
}
|
|
503
503
|
|
|
504
|
-
// bazel-out/
|
|
504
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/index.mjs
|
|
505
505
|
function angularJitApplicationTransform(program, isCore = false, shouldTransformClass) {
|
|
506
506
|
const typeChecker = program.getTypeChecker();
|
|
507
507
|
const reflectionHost = new TypeScriptReflectionHost(typeChecker);
|
|
@@ -536,4 +536,4 @@ export {
|
|
|
536
536
|
* Use of this source code is governed by an MIT-style license that can be
|
|
537
537
|
* found in the LICENSE file at https://angular.dev/license
|
|
538
538
|
*/
|
|
539
|
-
//# sourceMappingURL=chunk-
|
|
539
|
+
//# sourceMappingURL=chunk-WDF7V2LN.js.map
|