@angular/compiler-cli 18.0.0-rc.0 → 18.0.0-rc.2
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-BAS2AOWB.js → chunk-4YZ5DOHQ.js} +5 -5
- package/bundles/{chunk-ZX6BKV7T.js → chunk-6AZ42I2O.js} +5 -5
- package/bundles/{chunk-CFIOLJL4.js → chunk-77CB34BX.js} +43 -43
- package/bundles/{chunk-CFIOLJL4.js.map → chunk-77CB34BX.js.map} +1 -1
- package/bundles/{chunk-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-XAPDG6EU.js → chunk-BKFFZXM2.js} +114 -114
- package/bundles/{chunk-XAPDG6EU.js.map → chunk-BKFFZXM2.js.map} +1 -1
- package/bundles/{chunk-3UXY73FR.js → chunk-BVDVZTEE.js} +31 -31
- package/bundles/{chunk-3ZM5BFEI.js → chunk-LCZH35U2.js} +78 -78
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-5DY7CLVW.js → chunk-UPUMIIZG.js} +13 -13
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- 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/src/ngtsc/reflection/src/host.d.ts +1 -4
- /package/bundles/{chunk-BAS2AOWB.js.map → chunk-4YZ5DOHQ.js.map} +0 -0
- /package/bundles/{chunk-ZX6BKV7T.js.map → chunk-6AZ42I2O.js.map} +0 -0
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-3UXY73FR.js.map → chunk-BVDVZTEE.js.map} +0 -0
- /package/bundles/{chunk-3ZM5BFEI.js.map → chunk-LCZH35U2.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-5DY7CLVW.js.map → chunk-UPUMIIZG.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,13 +12,13 @@ import {
|
|
|
12
12
|
formatDiagnostics,
|
|
13
13
|
performCompilation,
|
|
14
14
|
readConfiguration
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-BKFFZXM2.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.io/license
|
|
365
365
|
*/
|
|
366
|
-
//# sourceMappingURL=chunk-
|
|
366
|
+
//# sourceMappingURL=chunk-4YZ5DOHQ.js.map
|
|
@@ -3,14 +3,14 @@
|
|
|
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/typecheck/api/checker.mjs
|
|
7
7
|
var OptimizeFor;
|
|
8
8
|
(function(OptimizeFor2) {
|
|
9
9
|
OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
|
|
10
10
|
OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
|
|
11
11
|
})(OptimizeFor || (OptimizeFor = {}));
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/scope.mjs
|
|
14
14
|
var PotentialImportKind;
|
|
15
15
|
(function(PotentialImportKind2) {
|
|
16
16
|
PotentialImportKind2[PotentialImportKind2["NgModule"] = 0] = "NgModule";
|
|
@@ -22,14 +22,14 @@ var PotentialImportMode;
|
|
|
22
22
|
PotentialImportMode2[PotentialImportMode2["ForceDirect"] = 1] = "ForceDirect";
|
|
23
23
|
})(PotentialImportMode || (PotentialImportMode = {}));
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
|
|
26
26
|
var CompletionKind;
|
|
27
27
|
(function(CompletionKind2) {
|
|
28
28
|
CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
|
|
29
29
|
CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
|
|
30
30
|
})(CompletionKind || (CompletionKind = {}));
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
|
|
33
33
|
var SymbolKind;
|
|
34
34
|
(function(SymbolKind2) {
|
|
35
35
|
SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
|
|
@@ -59,4 +59,4 @@ export {
|
|
|
59
59
|
* Use of this source code is governed by an MIT-style license that can be
|
|
60
60
|
* found in the LICENSE file at https://angular.io/license
|
|
61
61
|
*/
|
|
62
|
-
//# sourceMappingURL=chunk-
|
|
62
|
+
//# sourceMappingURL=chunk-6AZ42I2O.js.map
|
|
@@ -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";
|
|
@@ -107,7 +107,7 @@ var ErrorCode;
|
|
|
107
107
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
108
108
|
})(ErrorCode || (ErrorCode = {}));
|
|
109
109
|
|
|
110
|
-
// bazel-out/
|
|
110
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
111
111
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
112
112
|
function replaceTsWithNgInErrors(errors) {
|
|
113
113
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -116,7 +116,7 @@ function ngErrorCode(code) {
|
|
|
116
116
|
return parseInt("-99" + code);
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
// bazel-out/
|
|
119
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
120
120
|
var FatalDiagnosticError = class extends Error {
|
|
121
121
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
122
122
|
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";
|
|
@@ -1349,7 +1349,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1349
1349
|
}
|
|
1350
1350
|
};
|
|
1351
1351
|
|
|
1352
|
-
// bazel-out/
|
|
1352
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1353
1353
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1354
1354
|
var UnifiedModulesAliasingHost = class {
|
|
1355
1355
|
constructor(unifiedModulesHost) {
|
|
@@ -1416,7 +1416,7 @@ var AliasStrategy = class {
|
|
|
1416
1416
|
}
|
|
1417
1417
|
};
|
|
1418
1418
|
|
|
1419
|
-
// bazel-out/
|
|
1419
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1420
1420
|
function relativePathBetween(from, to) {
|
|
1421
1421
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1422
1422
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1425,7 +1425,7 @@ function normalizeSeparators(path) {
|
|
|
1425
1425
|
return path.replace(/\\/g, "/");
|
|
1426
1426
|
}
|
|
1427
1427
|
|
|
1428
|
-
// bazel-out/
|
|
1428
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1429
1429
|
var NoopImportRewriter = class {
|
|
1430
1430
|
rewriteSymbol(symbol, specifier) {
|
|
1431
1431
|
return symbol;
|
|
@@ -1478,7 +1478,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1478
1478
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1479
1479
|
}
|
|
1480
1480
|
|
|
1481
|
-
// bazel-out/
|
|
1481
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1482
1482
|
import ts8 from "typescript";
|
|
1483
1483
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1484
1484
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1513,7 +1513,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1513
1513
|
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.");
|
|
1514
1514
|
}
|
|
1515
1515
|
|
|
1516
|
-
// bazel-out/
|
|
1516
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1517
1517
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1518
1518
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1519
1519
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1554,7 +1554,7 @@ var DefaultImportTracker = class {
|
|
|
1554
1554
|
}
|
|
1555
1555
|
};
|
|
1556
1556
|
|
|
1557
|
-
// bazel-out/
|
|
1557
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1558
1558
|
import ts9 from "typescript";
|
|
1559
1559
|
var AssumeEager = "AssumeEager";
|
|
1560
1560
|
var DeferredSymbolTracker = class {
|
|
@@ -1675,7 +1675,7 @@ var DeferredSymbolTracker = class {
|
|
|
1675
1675
|
}
|
|
1676
1676
|
};
|
|
1677
1677
|
|
|
1678
|
-
// bazel-out/
|
|
1678
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1679
1679
|
import ts10 from "typescript";
|
|
1680
1680
|
var ImportedSymbolsTracker = class {
|
|
1681
1681
|
constructor() {
|
|
@@ -1745,7 +1745,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1745
1745
|
}
|
|
1746
1746
|
};
|
|
1747
1747
|
|
|
1748
|
-
// bazel-out/
|
|
1748
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1749
1749
|
import ts11 from "typescript";
|
|
1750
1750
|
var LocalCompilationExtraImportsTracker = class {
|
|
1751
1751
|
constructor(typeChecker) {
|
|
@@ -1789,7 +1789,7 @@ function removeQuotations(s) {
|
|
|
1789
1789
|
return s.substring(1, s.length - 1).trim();
|
|
1790
1790
|
}
|
|
1791
1791
|
|
|
1792
|
-
// bazel-out/
|
|
1792
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1793
1793
|
var ModuleResolver = class {
|
|
1794
1794
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1795
1795
|
this.program = program;
|
|
@@ -1806,10 +1806,10 @@ var ModuleResolver = class {
|
|
|
1806
1806
|
}
|
|
1807
1807
|
};
|
|
1808
1808
|
|
|
1809
|
-
// bazel-out/
|
|
1809
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1810
1810
|
import ts16 from "typescript";
|
|
1811
1811
|
|
|
1812
|
-
// bazel-out/
|
|
1812
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1813
1813
|
import ts12 from "typescript";
|
|
1814
1814
|
function createGenerateUniqueIdentifierHelper() {
|
|
1815
1815
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1833,7 +1833,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1833
1833
|
};
|
|
1834
1834
|
}
|
|
1835
1835
|
|
|
1836
|
-
// bazel-out/
|
|
1836
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1837
1837
|
import ts13 from "typescript";
|
|
1838
1838
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1839
1839
|
return (ctx) => {
|
|
@@ -1894,7 +1894,7 @@ function isImportStatement(stmt) {
|
|
|
1894
1894
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1895
1895
|
}
|
|
1896
1896
|
|
|
1897
|
-
// bazel-out/
|
|
1897
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1898
1898
|
import ts14 from "typescript";
|
|
1899
1899
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1900
1900
|
const requestHash = hashImportRequest(request);
|
|
@@ -1921,7 +1921,7 @@ function hashImportRequest(req) {
|
|
|
1921
1921
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1922
1922
|
}
|
|
1923
1923
|
|
|
1924
|
-
// bazel-out/
|
|
1924
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1925
1925
|
import ts15 from "typescript";
|
|
1926
1926
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1927
1927
|
let candidateImportToBeUpdated = null;
|
|
@@ -1974,7 +1974,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1974
1974
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1975
1975
|
}
|
|
1976
1976
|
|
|
1977
|
-
// bazel-out/
|
|
1977
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1978
1978
|
var presetImportManagerForceNamespaceImports = {
|
|
1979
1979
|
disableOriginalSourceFileReuse: true,
|
|
1980
1980
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2124,7 +2124,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2124
2124
|
}
|
|
2125
2125
|
}
|
|
2126
2126
|
|
|
2127
|
-
// bazel-out/
|
|
2127
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2128
2128
|
var Context = class {
|
|
2129
2129
|
constructor(isStatement) {
|
|
2130
2130
|
this.isStatement = isStatement;
|
|
@@ -2137,7 +2137,7 @@ var Context = class {
|
|
|
2137
2137
|
}
|
|
2138
2138
|
};
|
|
2139
2139
|
|
|
2140
|
-
// bazel-out/
|
|
2140
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2141
2141
|
import * as o from "@angular/compiler";
|
|
2142
2142
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2143
2143
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2383,7 +2383,7 @@ function createRange(span) {
|
|
|
2383
2383
|
};
|
|
2384
2384
|
}
|
|
2385
2385
|
|
|
2386
|
-
// bazel-out/
|
|
2386
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2387
2387
|
import ts17 from "typescript";
|
|
2388
2388
|
var INELIGIBLE = {};
|
|
2389
2389
|
function canEmitType(type, canEmit) {
|
|
@@ -2458,11 +2458,11 @@ var TypeEmitter = class {
|
|
|
2458
2458
|
}
|
|
2459
2459
|
};
|
|
2460
2460
|
|
|
2461
|
-
// bazel-out/
|
|
2461
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2462
2462
|
import * as o2 from "@angular/compiler";
|
|
2463
2463
|
import ts19 from "typescript";
|
|
2464
2464
|
|
|
2465
|
-
// bazel-out/
|
|
2465
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2466
2466
|
import ts18 from "typescript";
|
|
2467
2467
|
function tsNumericExpression(value) {
|
|
2468
2468
|
if (value < 0) {
|
|
@@ -2472,7 +2472,7 @@ function tsNumericExpression(value) {
|
|
|
2472
2472
|
return ts18.factory.createNumericLiteral(value);
|
|
2473
2473
|
}
|
|
2474
2474
|
|
|
2475
|
-
// bazel-out/
|
|
2475
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2476
2476
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2477
2477
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2478
2478
|
}
|
|
@@ -2689,7 +2689,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2689
2689
|
}
|
|
2690
2690
|
};
|
|
2691
2691
|
|
|
2692
|
-
// bazel-out/
|
|
2692
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2693
2693
|
import ts20 from "typescript";
|
|
2694
2694
|
var PureAnnotation;
|
|
2695
2695
|
(function(PureAnnotation2) {
|
|
@@ -2892,7 +2892,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2892
2892
|
}
|
|
2893
2893
|
}
|
|
2894
2894
|
|
|
2895
|
-
// bazel-out/
|
|
2895
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2896
2896
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2897
2897
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2898
2898
|
}
|
|
@@ -2989,4 +2989,4 @@ export {
|
|
|
2989
2989
|
* Use of this source code is governed by an MIT-style license that can be
|
|
2990
2990
|
* found in the LICENSE file at https://angular.io/license
|
|
2991
2991
|
*/
|
|
2992
|
-
//# sourceMappingURL=chunk-
|
|
2992
|
+
//# sourceMappingURL=chunk-77CB34BX.js.map
|