@angular/compiler-cli 19.0.0-next.0 → 19.0.0-next.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-JA5OGHV4.js → chunk-4R27633S.js} +3 -3
- package/bundles/{chunk-WYWH4ABE.js → chunk-5DVL3S3Z.js} +43 -43
- package/bundles/{chunk-KCKRBU6N.js → chunk-B4ZOGV3N.js} +31 -31
- package/bundles/{chunk-TOHNTVMY.js → chunk-LYN2P66H.js} +86 -84
- package/bundles/chunk-LYN2P66H.js.map +6 -0
- package/bundles/{chunk-2SSA4Y5F.js → chunk-R3PIQMGX.js} +178 -178
- package/bundles/chunk-R3PIQMGX.js.map +6 -0
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-ERN7RQQ7.js → chunk-THQF5ZZE.js} +5 -5
- package/bundles/{chunk-ZHNORXPH.js → chunk-W4UV2VRG.js} +12 -12
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-3W345P4E.js → chunk-XNL3EK5H.js} +7 -7
- package/bundles/{chunk-QTQ6EDMV.js → chunk-YFWSLIDV.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 +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 +3 -3
- package/src/ngtsc/annotations/component/src/handler.d.ts +2 -1
- package/src/ngtsc/annotations/component/src/resources.d.ts +4 -3
- package/src/ngtsc/core/api/src/public_options.d.ts +7 -0
- package/bundles/chunk-2SSA4Y5F.js.map +0 -6
- package/bundles/chunk-TOHNTVMY.js.map +0 -6
- /package/bundles/{chunk-JA5OGHV4.js.map → chunk-4R27633S.js.map} +0 -0
- /package/bundles/{chunk-WYWH4ABE.js.map → chunk-5DVL3S3Z.js.map} +0 -0
- /package/bundles/{chunk-KCKRBU6N.js.map → chunk-B4ZOGV3N.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-ERN7RQQ7.js.map → chunk-THQF5ZZE.js.map} +0 -0
- /package/bundles/{chunk-ZHNORXPH.js.map → chunk-W4UV2VRG.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
- /package/bundles/{chunk-QTQ6EDMV.js.map → chunk-YFWSLIDV.js.map} +0 -0
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
|
|
5
5
|
import {
|
|
6
6
|
angularJitApplicationTransform
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-W4UV2VRG.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.io/license
|
|
33
33
|
*/
|
|
34
|
-
//# sourceMappingURL=chunk-
|
|
34
|
+
//# sourceMappingURL=chunk-4R27633S.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";
|
|
@@ -112,7 +112,7 @@ var ErrorCode;
|
|
|
112
112
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
113
113
|
})(ErrorCode || (ErrorCode = {}));
|
|
114
114
|
|
|
115
|
-
// bazel-out/
|
|
115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
116
116
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
117
117
|
function replaceTsWithNgInErrors(errors) {
|
|
118
118
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -121,7 +121,7 @@ function ngErrorCode(code) {
|
|
|
121
121
|
return parseInt("-99" + code);
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
// bazel-out/
|
|
124
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
125
125
|
var FatalDiagnosticError = class extends Error {
|
|
126
126
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
127
127
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -185,7 +185,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
185
185
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
189
189
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
190
190
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
191
191
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -197,10 +197,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
197
197
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
198
198
|
]);
|
|
199
199
|
|
|
200
|
-
// bazel-out/
|
|
200
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
201
201
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
202
202
|
|
|
203
|
-
// bazel-out/
|
|
203
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
204
204
|
var ExtendedTemplateDiagnosticName;
|
|
205
205
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
206
206
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -217,10 +217,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
217
217
|
ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
|
|
218
218
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
219
219
|
|
|
220
|
-
// bazel-out/
|
|
220
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
221
221
|
import ts5 from "typescript";
|
|
222
222
|
|
|
223
|
-
// bazel-out/
|
|
223
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
224
224
|
import ts2 from "typescript";
|
|
225
225
|
function isDecoratorIdentifier(exp) {
|
|
226
226
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -243,7 +243,7 @@ var ClassMemberAccessLevel;
|
|
|
243
243
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
244
244
|
var AmbientImport = {};
|
|
245
245
|
|
|
246
|
-
// bazel-out/
|
|
246
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
247
247
|
import ts3 from "typescript";
|
|
248
248
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
249
249
|
var _a, _b;
|
|
@@ -427,7 +427,7 @@ function extractModuleName(node) {
|
|
|
427
427
|
return node.moduleSpecifier.text;
|
|
428
428
|
}
|
|
429
429
|
|
|
430
|
-
// bazel-out/
|
|
430
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
431
431
|
import ts4 from "typescript";
|
|
432
432
|
function isNamedClassDeclaration(node) {
|
|
433
433
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -451,7 +451,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
451
451
|
}
|
|
452
452
|
}
|
|
453
453
|
|
|
454
|
-
// bazel-out/
|
|
454
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
455
455
|
var TypeScriptReflectionHost = class {
|
|
456
456
|
constructor(checker, isLocalCompilation = false) {
|
|
457
457
|
this.checker = checker;
|
|
@@ -939,7 +939,7 @@ function getExportedName(decl, originalId) {
|
|
|
939
939
|
}
|
|
940
940
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
941
941
|
|
|
942
|
-
// bazel-out/
|
|
942
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
943
943
|
import ts6 from "typescript";
|
|
944
944
|
var TS = /\.tsx?$/i;
|
|
945
945
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1040,7 +1040,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1040
1040
|
return redirectInfo.unredirected;
|
|
1041
1041
|
}
|
|
1042
1042
|
|
|
1043
|
-
// bazel-out/
|
|
1043
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1044
1044
|
var Reference = class {
|
|
1045
1045
|
constructor(node, bestGuessOwningModule = null) {
|
|
1046
1046
|
this.node = node;
|
|
@@ -1109,14 +1109,14 @@ var Reference = class {
|
|
|
1109
1109
|
}
|
|
1110
1110
|
};
|
|
1111
1111
|
|
|
1112
|
-
// bazel-out/
|
|
1112
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1113
1113
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1114
1114
|
|
|
1115
|
-
// bazel-out/
|
|
1115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1116
1116
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1117
1117
|
import ts7 from "typescript";
|
|
1118
1118
|
|
|
1119
|
-
// bazel-out/
|
|
1119
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1120
1120
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1121
1121
|
const exports = reflector.getExportsOfModule(file);
|
|
1122
1122
|
if (exports === null) {
|
|
@@ -1136,7 +1136,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1136
1136
|
return foundExportName;
|
|
1137
1137
|
}
|
|
1138
1138
|
|
|
1139
|
-
// bazel-out/
|
|
1139
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1140
1140
|
var ImportFlags;
|
|
1141
1141
|
(function(ImportFlags2) {
|
|
1142
1142
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1367,7 +1367,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1367
1367
|
}
|
|
1368
1368
|
};
|
|
1369
1369
|
|
|
1370
|
-
// bazel-out/
|
|
1370
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1371
1371
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1372
1372
|
var UnifiedModulesAliasingHost = class {
|
|
1373
1373
|
constructor(unifiedModulesHost) {
|
|
@@ -1434,7 +1434,7 @@ var AliasStrategy = class {
|
|
|
1434
1434
|
}
|
|
1435
1435
|
};
|
|
1436
1436
|
|
|
1437
|
-
// bazel-out/
|
|
1437
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1438
1438
|
function relativePathBetween(from, to) {
|
|
1439
1439
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1440
1440
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1443,7 +1443,7 @@ function normalizeSeparators(path) {
|
|
|
1443
1443
|
return path.replace(/\\/g, "/");
|
|
1444
1444
|
}
|
|
1445
1445
|
|
|
1446
|
-
// bazel-out/
|
|
1446
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1447
1447
|
var NoopImportRewriter = class {
|
|
1448
1448
|
rewriteSymbol(symbol, specifier) {
|
|
1449
1449
|
return symbol;
|
|
@@ -1496,7 +1496,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1496
1496
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1497
1497
|
}
|
|
1498
1498
|
|
|
1499
|
-
// bazel-out/
|
|
1499
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1500
1500
|
import ts8 from "typescript";
|
|
1501
1501
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1502
1502
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1531,7 +1531,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1531
1531
|
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.");
|
|
1532
1532
|
}
|
|
1533
1533
|
|
|
1534
|
-
// bazel-out/
|
|
1534
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1535
1535
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1536
1536
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1537
1537
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1572,7 +1572,7 @@ var DefaultImportTracker = class {
|
|
|
1572
1572
|
}
|
|
1573
1573
|
};
|
|
1574
1574
|
|
|
1575
|
-
// bazel-out/
|
|
1575
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1576
1576
|
import ts9 from "typescript";
|
|
1577
1577
|
var AssumeEager = "AssumeEager";
|
|
1578
1578
|
var DeferredSymbolTracker = class {
|
|
@@ -1693,7 +1693,7 @@ var DeferredSymbolTracker = class {
|
|
|
1693
1693
|
}
|
|
1694
1694
|
};
|
|
1695
1695
|
|
|
1696
|
-
// bazel-out/
|
|
1696
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1697
1697
|
import ts10 from "typescript";
|
|
1698
1698
|
var ImportedSymbolsTracker = class {
|
|
1699
1699
|
constructor() {
|
|
@@ -1763,7 +1763,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1763
1763
|
}
|
|
1764
1764
|
};
|
|
1765
1765
|
|
|
1766
|
-
// bazel-out/
|
|
1766
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1767
1767
|
import ts11 from "typescript";
|
|
1768
1768
|
var LocalCompilationExtraImportsTracker = class {
|
|
1769
1769
|
constructor(typeChecker) {
|
|
@@ -1814,7 +1814,7 @@ function removeQuotations(s) {
|
|
|
1814
1814
|
return s.substring(1, s.length - 1).trim();
|
|
1815
1815
|
}
|
|
1816
1816
|
|
|
1817
|
-
// bazel-out/
|
|
1817
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1818
1818
|
var ModuleResolver = class {
|
|
1819
1819
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1820
1820
|
this.program = program;
|
|
@@ -1831,10 +1831,10 @@ var ModuleResolver = class {
|
|
|
1831
1831
|
}
|
|
1832
1832
|
};
|
|
1833
1833
|
|
|
1834
|
-
// bazel-out/
|
|
1834
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1835
1835
|
import ts16 from "typescript";
|
|
1836
1836
|
|
|
1837
|
-
// bazel-out/
|
|
1837
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1838
1838
|
import ts12 from "typescript";
|
|
1839
1839
|
function createGenerateUniqueIdentifierHelper() {
|
|
1840
1840
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1860,7 +1860,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1860
1860
|
};
|
|
1861
1861
|
}
|
|
1862
1862
|
|
|
1863
|
-
// bazel-out/
|
|
1863
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1864
1864
|
import ts13 from "typescript";
|
|
1865
1865
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1866
1866
|
return (ctx) => {
|
|
@@ -1927,7 +1927,7 @@ function isImportStatement(stmt) {
|
|
|
1927
1927
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1928
1928
|
}
|
|
1929
1929
|
|
|
1930
|
-
// bazel-out/
|
|
1930
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1931
1931
|
import ts14 from "typescript";
|
|
1932
1932
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1933
1933
|
const requestHash = hashImportRequest(request);
|
|
@@ -1954,7 +1954,7 @@ function hashImportRequest(req) {
|
|
|
1954
1954
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
|
|
1955
1955
|
}
|
|
1956
1956
|
|
|
1957
|
-
// bazel-out/
|
|
1957
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1958
1958
|
import ts15 from "typescript";
|
|
1959
1959
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1960
1960
|
let candidateImportToBeUpdated = null;
|
|
@@ -2014,7 +2014,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
2014
2014
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
2015
2015
|
}
|
|
2016
2016
|
|
|
2017
|
-
// bazel-out/
|
|
2017
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
2018
2018
|
var presetImportManagerForceNamespaceImports = {
|
|
2019
2019
|
disableOriginalSourceFileReuse: true,
|
|
2020
2020
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2232,7 +2232,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2232
2232
|
}
|
|
2233
2233
|
}
|
|
2234
2234
|
|
|
2235
|
-
// bazel-out/
|
|
2235
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2236
2236
|
var Context = class {
|
|
2237
2237
|
constructor(isStatement) {
|
|
2238
2238
|
this.isStatement = isStatement;
|
|
@@ -2245,7 +2245,7 @@ var Context = class {
|
|
|
2245
2245
|
}
|
|
2246
2246
|
};
|
|
2247
2247
|
|
|
2248
|
-
// bazel-out/
|
|
2248
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2249
2249
|
import * as o from "@angular/compiler";
|
|
2250
2250
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2251
2251
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2491,7 +2491,7 @@ function createRange(span) {
|
|
|
2491
2491
|
};
|
|
2492
2492
|
}
|
|
2493
2493
|
|
|
2494
|
-
// bazel-out/
|
|
2494
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2495
2495
|
import ts17 from "typescript";
|
|
2496
2496
|
var INELIGIBLE = {};
|
|
2497
2497
|
function canEmitType(type, canEmit) {
|
|
@@ -2566,11 +2566,11 @@ var TypeEmitter = class {
|
|
|
2566
2566
|
}
|
|
2567
2567
|
};
|
|
2568
2568
|
|
|
2569
|
-
// bazel-out/
|
|
2569
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2570
2570
|
import * as o2 from "@angular/compiler";
|
|
2571
2571
|
import ts19 from "typescript";
|
|
2572
2572
|
|
|
2573
|
-
// bazel-out/
|
|
2573
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2574
2574
|
import ts18 from "typescript";
|
|
2575
2575
|
function tsNumericExpression(value) {
|
|
2576
2576
|
if (value < 0) {
|
|
@@ -2580,7 +2580,7 @@ function tsNumericExpression(value) {
|
|
|
2580
2580
|
return ts18.factory.createNumericLiteral(value);
|
|
2581
2581
|
}
|
|
2582
2582
|
|
|
2583
|
-
// bazel-out/
|
|
2583
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2584
2584
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2585
2585
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2586
2586
|
}
|
|
@@ -2797,7 +2797,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2797
2797
|
}
|
|
2798
2798
|
};
|
|
2799
2799
|
|
|
2800
|
-
// bazel-out/
|
|
2800
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2801
2801
|
import ts20 from "typescript";
|
|
2802
2802
|
var PureAnnotation;
|
|
2803
2803
|
(function(PureAnnotation2) {
|
|
@@ -3000,7 +3000,7 @@ function attachComments(statement, leadingComments) {
|
|
|
3000
3000
|
}
|
|
3001
3001
|
}
|
|
3002
3002
|
|
|
3003
|
-
// bazel-out/
|
|
3003
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
3004
3004
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
3005
3005
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
3006
3006
|
}
|
|
@@ -3097,4 +3097,4 @@ export {
|
|
|
3097
3097
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3098
3098
|
* found in the LICENSE file at https://angular.io/license
|
|
3099
3099
|
*/
|
|
3100
|
-
//# sourceMappingURL=chunk-
|
|
3100
|
+
//# sourceMappingURL=chunk-5DVL3S3Z.js.map
|
|
@@ -5,12 +5,12 @@
|
|
|
5
5
|
import {
|
|
6
6
|
Context,
|
|
7
7
|
ExpressionTranslatorVisitor
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5DVL3S3Z.js";
|
|
9
9
|
import {
|
|
10
10
|
SourceFileLoader
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-WR7TUJ7M.js";
|
|
12
12
|
|
|
13
|
-
// bazel-out/
|
|
13
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/fatal_linker_error.mjs
|
|
14
14
|
var FatalLinkerError = class extends Error {
|
|
15
15
|
constructor(node, message) {
|
|
16
16
|
super(message);
|
|
@@ -22,14 +22,14 @@ function isFatalLinkerError(e) {
|
|
|
22
22
|
return e && e.type === "FatalLinkerError";
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
// bazel-out/
|
|
25
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/utils.mjs
|
|
26
26
|
function assert(node, predicate, expected) {
|
|
27
27
|
if (!predicate(node)) {
|
|
28
28
|
throw new FatalLinkerError(node, `Unsupported syntax, expected ${expected}.`);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
// bazel-out/
|
|
32
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/ast/ast_value.mjs
|
|
33
33
|
import * as o from "@angular/compiler";
|
|
34
34
|
var AstObject = class {
|
|
35
35
|
static parse(expression, host) {
|
|
@@ -162,10 +162,10 @@ var AstValue = class {
|
|
|
162
162
|
}
|
|
163
163
|
};
|
|
164
164
|
|
|
165
|
-
// bazel-out/
|
|
165
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
166
166
|
import { ConstantPool } from "@angular/compiler";
|
|
167
167
|
|
|
168
|
-
// bazel-out/
|
|
168
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/linker_import_generator.mjs
|
|
169
169
|
var LinkerImportGenerator = class {
|
|
170
170
|
constructor(factory, ngImport) {
|
|
171
171
|
this.factory = factory;
|
|
@@ -185,7 +185,7 @@ var LinkerImportGenerator = class {
|
|
|
185
185
|
}
|
|
186
186
|
};
|
|
187
187
|
|
|
188
|
-
// bazel-out/
|
|
188
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/emit_scope.mjs
|
|
189
189
|
var EmitScope = class {
|
|
190
190
|
constructor(ngImport, translator, factory) {
|
|
191
191
|
this.ngImport = ngImport;
|
|
@@ -214,7 +214,7 @@ var EmitScope = class {
|
|
|
214
214
|
}
|
|
215
215
|
};
|
|
216
216
|
|
|
217
|
-
// bazel-out/
|
|
217
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/emit_scopes/local_emit_scope.mjs
|
|
218
218
|
var LocalEmitScope = class extends EmitScope {
|
|
219
219
|
translateDefinition(definition) {
|
|
220
220
|
return super.translateDefinition({
|
|
@@ -227,10 +227,10 @@ var LocalEmitScope = class extends EmitScope {
|
|
|
227
227
|
}
|
|
228
228
|
};
|
|
229
229
|
|
|
230
|
-
// bazel-out/
|
|
230
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
231
231
|
import semver2 from "semver";
|
|
232
232
|
|
|
233
|
-
// bazel-out/
|
|
233
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/get_source_file.mjs
|
|
234
234
|
function createGetSourceFile(sourceUrl, code, loader) {
|
|
235
235
|
if (loader === null) {
|
|
236
236
|
return () => null;
|
|
@@ -245,7 +245,7 @@ function createGetSourceFile(sourceUrl, code, loader) {
|
|
|
245
245
|
}
|
|
246
246
|
}
|
|
247
247
|
|
|
248
|
-
// bazel-out/
|
|
248
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_async_linker_1.mjs
|
|
249
249
|
import { compileOpaqueAsyncClassMetadata } from "@angular/compiler";
|
|
250
250
|
var PartialClassMetadataAsyncLinkerVersion1 = class {
|
|
251
251
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -270,7 +270,7 @@ var PartialClassMetadataAsyncLinkerVersion1 = class {
|
|
|
270
270
|
}
|
|
271
271
|
};
|
|
272
272
|
|
|
273
|
-
// bazel-out/
|
|
273
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.mjs
|
|
274
274
|
import { compileClassMetadata } from "@angular/compiler";
|
|
275
275
|
var PartialClassMetadataLinkerVersion1 = class {
|
|
276
276
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -290,16 +290,16 @@ function toR3ClassMetadata(metaObj) {
|
|
|
290
290
|
};
|
|
291
291
|
}
|
|
292
292
|
|
|
293
|
-
// bazel-out/
|
|
293
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
294
294
|
import { ChangeDetectionStrategy, compileComponentFromMetadata, DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, makeBindingParser as makeBindingParser2, parseTemplate, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher, ViewEncapsulation } from "@angular/compiler";
|
|
295
295
|
import semver from "semver";
|
|
296
296
|
|
|
297
|
-
// bazel-out/
|
|
297
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
298
298
|
import { compileDirectiveFromMetadata, makeBindingParser, ParseLocation, ParseSourceFile, ParseSourceSpan } from "@angular/compiler";
|
|
299
299
|
|
|
300
|
-
// bazel-out/
|
|
300
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/util.mjs
|
|
301
301
|
import { createMayBeForwardRefExpression, outputAst as o2 } from "@angular/compiler";
|
|
302
|
-
var PLACEHOLDER_VERSION = "19.0.0-next.
|
|
302
|
+
var PLACEHOLDER_VERSION = "19.0.0-next.2";
|
|
303
303
|
function wrapReference(wrapped) {
|
|
304
304
|
return { value: wrapped, type: wrapped };
|
|
305
305
|
}
|
|
@@ -346,7 +346,7 @@ function extractForwardRef(expr) {
|
|
|
346
346
|
return createMayBeForwardRefExpression(wrapperFn.getFunctionReturnValue().getOpaque(), 2);
|
|
347
347
|
}
|
|
348
348
|
|
|
349
|
-
// bazel-out/
|
|
349
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_directive_linker_1.mjs
|
|
350
350
|
var PartialDirectiveLinkerVersion1 = class {
|
|
351
351
|
constructor(sourceUrl, code) {
|
|
352
352
|
this.sourceUrl = sourceUrl;
|
|
@@ -493,7 +493,7 @@ function createSourceSpan(range, code, sourceUrl) {
|
|
|
493
493
|
return new ParseSourceSpan(startLocation, startLocation.moveBy(range.endPos - range.startPos));
|
|
494
494
|
}
|
|
495
495
|
|
|
496
|
-
// bazel-out/
|
|
496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_component_linker_1.mjs
|
|
497
497
|
function makeDirectiveMetadata(directiveExpr, typeExpr, isComponentByDefault = null) {
|
|
498
498
|
return {
|
|
499
499
|
kind: R3TemplateDependencyKind.Directive,
|
|
@@ -708,7 +708,7 @@ function parseChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
708
708
|
return enumValue;
|
|
709
709
|
}
|
|
710
710
|
|
|
711
|
-
// bazel-out/
|
|
711
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_factory_linker_1.mjs
|
|
712
712
|
import { compileFactoryFunction, FactoryTarget } from "@angular/compiler";
|
|
713
713
|
var PartialFactoryLinkerVersion1 = class {
|
|
714
714
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -744,7 +744,7 @@ function getDependencies(metaObj, propName) {
|
|
|
744
744
|
return null;
|
|
745
745
|
}
|
|
746
746
|
|
|
747
|
-
// bazel-out/
|
|
747
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.mjs
|
|
748
748
|
import { compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, outputAst as o3 } from "@angular/compiler";
|
|
749
749
|
var PartialInjectableLinkerVersion1 = class {
|
|
750
750
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -782,7 +782,7 @@ function toR3InjectableMeta(metaObj) {
|
|
|
782
782
|
return meta;
|
|
783
783
|
}
|
|
784
784
|
|
|
785
|
-
// bazel-out/
|
|
785
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_injector_linker_1.mjs
|
|
786
786
|
import { compileInjector } from "@angular/compiler";
|
|
787
787
|
var PartialInjectorLinkerVersion1 = class {
|
|
788
788
|
linkPartialDeclaration(constantPool, metaObj) {
|
|
@@ -804,7 +804,7 @@ function toR3InjectorMeta(metaObj) {
|
|
|
804
804
|
};
|
|
805
805
|
}
|
|
806
806
|
|
|
807
|
-
// bazel-out/
|
|
807
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.mjs
|
|
808
808
|
import { compileNgModule, R3NgModuleMetadataKind, R3SelectorScopeMode } from "@angular/compiler";
|
|
809
809
|
var PartialNgModuleLinkerVersion1 = class {
|
|
810
810
|
constructor(emitInline) {
|
|
@@ -876,7 +876,7 @@ function wrapReferences(values) {
|
|
|
876
876
|
return values.getArray().map((i) => wrapReference(i.getOpaque()));
|
|
877
877
|
}
|
|
878
878
|
|
|
879
|
-
// bazel-out/
|
|
879
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.mjs
|
|
880
880
|
import { compilePipeFromMetadata } from "@angular/compiler";
|
|
881
881
|
var PartialPipeLinkerVersion1 = class {
|
|
882
882
|
constructor() {
|
|
@@ -905,7 +905,7 @@ function toR3PipeMeta(metaObj) {
|
|
|
905
905
|
};
|
|
906
906
|
}
|
|
907
907
|
|
|
908
|
-
// bazel-out/
|
|
908
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/partial_linkers/partial_linker_selector.mjs
|
|
909
909
|
var \u0275\u0275ngDeclareDirective = "\u0275\u0275ngDeclareDirective";
|
|
910
910
|
var \u0275\u0275ngDeclareClassMetadata = "\u0275\u0275ngDeclareClassMetadata";
|
|
911
911
|
var \u0275\u0275ngDeclareComponent = "\u0275\u0275ngDeclareComponent";
|
|
@@ -1007,7 +1007,7 @@ function getRange(comparator, versionStr) {
|
|
|
1007
1007
|
return new semver2.Range(`${comparator}${version.format()}`);
|
|
1008
1008
|
}
|
|
1009
1009
|
|
|
1010
|
-
// bazel-out/
|
|
1010
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/file_linker.mjs
|
|
1011
1011
|
var FileLinker = class {
|
|
1012
1012
|
constructor(linkerEnvironment, sourceUrl, code) {
|
|
1013
1013
|
this.linkerEnvironment = linkerEnvironment;
|
|
@@ -1050,14 +1050,14 @@ var FileLinker = class {
|
|
|
1050
1050
|
}
|
|
1051
1051
|
};
|
|
1052
1052
|
|
|
1053
|
-
// bazel-out/
|
|
1053
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_options.mjs
|
|
1054
1054
|
var DEFAULT_LINKER_OPTIONS = {
|
|
1055
1055
|
sourceMapping: true,
|
|
1056
1056
|
linkerJitMode: false,
|
|
1057
1057
|
unknownDeclarationVersionHandling: "error"
|
|
1058
1058
|
};
|
|
1059
1059
|
|
|
1060
|
-
// bazel-out/
|
|
1060
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/translator.mjs
|
|
1061
1061
|
var Translator = class {
|
|
1062
1062
|
constructor(factory) {
|
|
1063
1063
|
this.factory = factory;
|
|
@@ -1070,7 +1070,7 @@ var Translator = class {
|
|
|
1070
1070
|
}
|
|
1071
1071
|
};
|
|
1072
1072
|
|
|
1073
|
-
// bazel-out/
|
|
1073
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/linker_environment.mjs
|
|
1074
1074
|
var LinkerEnvironment = class {
|
|
1075
1075
|
constructor(fileSystem, logger, host, factory, options) {
|
|
1076
1076
|
this.fileSystem = fileSystem;
|
|
@@ -1091,7 +1091,7 @@ var LinkerEnvironment = class {
|
|
|
1091
1091
|
}
|
|
1092
1092
|
};
|
|
1093
1093
|
|
|
1094
|
-
// bazel-out/
|
|
1094
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/linker/src/file_linker/needs_linking.mjs
|
|
1095
1095
|
function needsLinking(path, source) {
|
|
1096
1096
|
return declarationFunctions.some((fn) => source.includes(fn));
|
|
1097
1097
|
}
|
|
@@ -1112,4 +1112,4 @@ export {
|
|
|
1112
1112
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1113
1113
|
* found in the LICENSE file at https://angular.io/license
|
|
1114
1114
|
*/
|
|
1115
|
-
//# sourceMappingURL=chunk-
|
|
1115
|
+
//# sourceMappingURL=chunk-B4ZOGV3N.js.map
|