@angular/compiler-cli 18.1.0-next.1 → 18.1.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-JZQHA4E7.js → chunk-AQFTVE7F.js} +5 -5
- package/bundles/{chunk-4HWDU6FJ.js → chunk-C6UWCS4B.js} +79 -76
- package/bundles/chunk-C6UWCS4B.js.map +6 -0
- package/bundles/{chunk-54G5EVKM.js → chunk-EU3OILAK.js} +7 -7
- package/bundles/{chunk-YPERM5UE.js → chunk-JNLETH45.js} +43 -43
- package/bundles/{chunk-CK5W7X4H.js → chunk-LH4HQPYV.js} +13 -13
- package/bundles/{chunk-Z34L7JZH.js → chunk-LTQ7ZO65.js} +31 -31
- package/bundles/{chunk-CWU65S2B.js → chunk-PFBSCCQT.js} +128 -130
- package/bundles/{chunk-CWU65S2B.js.map → chunk-PFBSCCQT.js.map} +1 -1
- package/bundles/{chunk-LYJKWJUC.js → chunk-SBDNBITT.js} +3 -3
- package/bundles/{chunk-QYV344EV.js → chunk-WR7TUJ7M.js} +7 -7
- package/bundles/{chunk-MLEQATX2.js → chunk-YDOWTHQV.js} +5 -5
- package/bundles/index.js +11 -11
- package/bundles/linker/babel/index.js +12 -12
- package/bundles/linker/index.js +4 -4
- package/bundles/ngcc/index.js +1 -1
- package/bundles/private/bazel.js +1 -1
- package/bundles/private/localize.js +3 -3
- package/bundles/private/migrations.js +4 -4
- package/bundles/private/tooling.js +5 -5
- package/bundles/src/bin/ng_xi18n.js +9 -9
- package/bundles/src/bin/ngc.js +7 -7
- package/bundles_metadata.json +1 -1
- package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
- package/package.json +3 -3
- package/src/ngtsc/docs/src/entities.d.ts +1 -0
- package/bundles/chunk-4HWDU6FJ.js.map +0 -6
- /package/bundles/{chunk-JZQHA4E7.js.map → chunk-AQFTVE7F.js.map} +0 -0
- /package/bundles/{chunk-54G5EVKM.js.map → chunk-EU3OILAK.js.map} +0 -0
- /package/bundles/{chunk-YPERM5UE.js.map → chunk-JNLETH45.js.map} +0 -0
- /package/bundles/{chunk-CK5W7X4H.js.map → chunk-LH4HQPYV.js.map} +0 -0
- /package/bundles/{chunk-Z34L7JZH.js.map → chunk-LTQ7ZO65.js.map} +0 -0
- /package/bundles/{chunk-LYJKWJUC.js.map → chunk-SBDNBITT.js.map} +0 -0
- /package/bundles/{chunk-QYV344EV.js.map → chunk-WR7TUJ7M.js.map} +0 -0
- /package/bundles/{chunk-MLEQATX2.js.map → chunk-YDOWTHQV.js.map} +0 -0
|
@@ -12,12 +12,12 @@ import {
|
|
|
12
12
|
resolve,
|
|
13
13
|
stripExtension,
|
|
14
14
|
toRelativeImport
|
|
15
|
-
} from "./chunk-
|
|
15
|
+
} from "./chunk-EU3OILAK.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";
|
|
@@ -110,7 +110,7 @@ var ErrorCode;
|
|
|
110
110
|
ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
|
|
111
111
|
})(ErrorCode || (ErrorCode = {}));
|
|
112
112
|
|
|
113
|
-
// bazel-out/
|
|
113
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
|
|
114
114
|
var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
|
|
115
115
|
function replaceTsWithNgInErrors(errors) {
|
|
116
116
|
return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
|
|
@@ -119,7 +119,7 @@ function ngErrorCode(code) {
|
|
|
119
119
|
return parseInt("-99" + code);
|
|
120
120
|
}
|
|
121
121
|
|
|
122
|
-
// bazel-out/
|
|
122
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
|
|
123
123
|
var FatalDiagnosticError = class extends Error {
|
|
124
124
|
constructor(code, node, diagnosticMessage, relatedInformation) {
|
|
125
125
|
super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
|
|
@@ -183,7 +183,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
|
|
|
183
183
|
return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
|
|
184
184
|
}
|
|
185
185
|
|
|
186
|
-
// bazel-out/
|
|
186
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
|
|
187
187
|
var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
188
188
|
ErrorCode.DECORATOR_ARG_NOT_LITERAL,
|
|
189
189
|
ErrorCode.IMPORT_CYCLE_DETECTED,
|
|
@@ -195,10 +195,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
|
|
|
195
195
|
ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
|
|
196
196
|
]);
|
|
197
197
|
|
|
198
|
-
// bazel-out/
|
|
198
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
|
|
199
199
|
var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
|
|
200
200
|
|
|
201
|
-
// bazel-out/
|
|
201
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
|
|
202
202
|
var ExtendedTemplateDiagnosticName;
|
|
203
203
|
(function(ExtendedTemplateDiagnosticName2) {
|
|
204
204
|
ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
|
|
@@ -213,10 +213,10 @@ var ExtendedTemplateDiagnosticName;
|
|
|
213
213
|
ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
|
|
214
214
|
})(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
|
|
215
215
|
|
|
216
|
-
// bazel-out/
|
|
216
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
217
217
|
import ts5 from "typescript";
|
|
218
218
|
|
|
219
|
-
// bazel-out/
|
|
219
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
|
|
220
220
|
import ts2 from "typescript";
|
|
221
221
|
function isDecoratorIdentifier(exp) {
|
|
222
222
|
return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
|
|
@@ -239,7 +239,7 @@ var ClassMemberAccessLevel;
|
|
|
239
239
|
})(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
|
|
240
240
|
var AmbientImport = {};
|
|
241
241
|
|
|
242
|
-
// bazel-out/
|
|
242
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
|
|
243
243
|
import ts3 from "typescript";
|
|
244
244
|
function typeToValue(typeNode, checker, isLocalCompilation) {
|
|
245
245
|
var _a, _b;
|
|
@@ -423,7 +423,7 @@ function extractModuleName(node) {
|
|
|
423
423
|
return node.moduleSpecifier.text;
|
|
424
424
|
}
|
|
425
425
|
|
|
426
|
-
// bazel-out/
|
|
426
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
|
|
427
427
|
import ts4 from "typescript";
|
|
428
428
|
function isNamedClassDeclaration(node) {
|
|
429
429
|
return ts4.isClassDeclaration(node) && isIdentifier(node.name);
|
|
@@ -447,7 +447,7 @@ function classMemberAccessLevelToString(level) {
|
|
|
447
447
|
}
|
|
448
448
|
}
|
|
449
449
|
|
|
450
|
-
// bazel-out/
|
|
450
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
|
|
451
451
|
var TypeScriptReflectionHost = class {
|
|
452
452
|
constructor(checker, isLocalCompilation = false) {
|
|
453
453
|
this.checker = checker;
|
|
@@ -935,7 +935,7 @@ function getExportedName(decl, originalId) {
|
|
|
935
935
|
}
|
|
936
936
|
var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
|
|
937
937
|
|
|
938
|
-
// bazel-out/
|
|
938
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
|
|
939
939
|
import ts6 from "typescript";
|
|
940
940
|
var TS = /\.tsx?$/i;
|
|
941
941
|
var D_TS = /\.d\.ts$/i;
|
|
@@ -1036,7 +1036,7 @@ function toUnredirectedSourceFile(sf) {
|
|
|
1036
1036
|
return redirectInfo.unredirected;
|
|
1037
1037
|
}
|
|
1038
1038
|
|
|
1039
|
-
// bazel-out/
|
|
1039
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
|
|
1040
1040
|
var Reference = class {
|
|
1041
1041
|
constructor(node, bestGuessOwningModule = null) {
|
|
1042
1042
|
this.node = node;
|
|
@@ -1105,14 +1105,14 @@ var Reference = class {
|
|
|
1105
1105
|
}
|
|
1106
1106
|
};
|
|
1107
1107
|
|
|
1108
|
-
// bazel-out/
|
|
1108
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1109
1109
|
import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
|
|
1110
1110
|
|
|
1111
|
-
// bazel-out/
|
|
1111
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1112
1112
|
import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
|
|
1113
1113
|
import ts7 from "typescript";
|
|
1114
1114
|
|
|
1115
|
-
// bazel-out/
|
|
1115
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
|
|
1116
1116
|
function findExportedNameOfNode(target, file, reflector) {
|
|
1117
1117
|
const exports = reflector.getExportsOfModule(file);
|
|
1118
1118
|
if (exports === null) {
|
|
@@ -1132,7 +1132,7 @@ function findExportedNameOfNode(target, file, reflector) {
|
|
|
1132
1132
|
return foundExportName;
|
|
1133
1133
|
}
|
|
1134
1134
|
|
|
1135
|
-
// bazel-out/
|
|
1135
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
|
|
1136
1136
|
var ImportFlags;
|
|
1137
1137
|
(function(ImportFlags2) {
|
|
1138
1138
|
ImportFlags2[ImportFlags2["None"] = 0] = "None";
|
|
@@ -1363,7 +1363,7 @@ var UnifiedModulesStrategy = class {
|
|
|
1363
1363
|
}
|
|
1364
1364
|
};
|
|
1365
1365
|
|
|
1366
|
-
// bazel-out/
|
|
1366
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
|
|
1367
1367
|
var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
|
|
1368
1368
|
var UnifiedModulesAliasingHost = class {
|
|
1369
1369
|
constructor(unifiedModulesHost) {
|
|
@@ -1430,7 +1430,7 @@ var AliasStrategy = class {
|
|
|
1430
1430
|
}
|
|
1431
1431
|
};
|
|
1432
1432
|
|
|
1433
|
-
// bazel-out/
|
|
1433
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
|
|
1434
1434
|
function relativePathBetween(from, to) {
|
|
1435
1435
|
const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
|
|
1436
1436
|
return relativePath !== "" ? toRelativeImport(relativePath) : null;
|
|
@@ -1439,7 +1439,7 @@ function normalizeSeparators(path) {
|
|
|
1439
1439
|
return path.replace(/\\/g, "/");
|
|
1440
1440
|
}
|
|
1441
1441
|
|
|
1442
|
-
// bazel-out/
|
|
1442
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
|
|
1443
1443
|
var NoopImportRewriter = class {
|
|
1444
1444
|
rewriteSymbol(symbol, specifier) {
|
|
1445
1445
|
return symbol;
|
|
@@ -1492,7 +1492,7 @@ function validateAndRewriteCoreSymbol(name) {
|
|
|
1492
1492
|
return CORE_SUPPORTED_SYMBOLS.get(name);
|
|
1493
1493
|
}
|
|
1494
1494
|
|
|
1495
|
-
// bazel-out/
|
|
1495
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
|
|
1496
1496
|
import ts8 from "typescript";
|
|
1497
1497
|
var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
|
|
1498
1498
|
function loadIsReferencedAliasDeclarationPatch(context) {
|
|
@@ -1527,7 +1527,7 @@ function throwIncompatibleTransformationContextError() {
|
|
|
1527
1527
|
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.");
|
|
1528
1528
|
}
|
|
1529
1529
|
|
|
1530
|
-
// bazel-out/
|
|
1530
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
|
|
1531
1531
|
var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
|
|
1532
1532
|
function attachDefaultImportDeclaration(expr, importDecl) {
|
|
1533
1533
|
expr[DefaultImportDeclaration] = importDecl;
|
|
@@ -1568,7 +1568,7 @@ var DefaultImportTracker = class {
|
|
|
1568
1568
|
}
|
|
1569
1569
|
};
|
|
1570
1570
|
|
|
1571
|
-
// bazel-out/
|
|
1571
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
|
|
1572
1572
|
import ts9 from "typescript";
|
|
1573
1573
|
var AssumeEager = "AssumeEager";
|
|
1574
1574
|
var DeferredSymbolTracker = class {
|
|
@@ -1689,7 +1689,7 @@ var DeferredSymbolTracker = class {
|
|
|
1689
1689
|
}
|
|
1690
1690
|
};
|
|
1691
1691
|
|
|
1692
|
-
// bazel-out/
|
|
1692
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
|
|
1693
1693
|
import ts10 from "typescript";
|
|
1694
1694
|
var ImportedSymbolsTracker = class {
|
|
1695
1695
|
constructor() {
|
|
@@ -1759,7 +1759,7 @@ var ImportedSymbolsTracker = class {
|
|
|
1759
1759
|
}
|
|
1760
1760
|
};
|
|
1761
1761
|
|
|
1762
|
-
// bazel-out/
|
|
1762
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
|
|
1763
1763
|
import ts11 from "typescript";
|
|
1764
1764
|
var LocalCompilationExtraImportsTracker = class {
|
|
1765
1765
|
constructor(typeChecker) {
|
|
@@ -1810,7 +1810,7 @@ function removeQuotations(s) {
|
|
|
1810
1810
|
return s.substring(1, s.length - 1).trim();
|
|
1811
1811
|
}
|
|
1812
1812
|
|
|
1813
|
-
// bazel-out/
|
|
1813
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
|
|
1814
1814
|
var ModuleResolver = class {
|
|
1815
1815
|
constructor(program, compilerOptions, host, moduleResolutionCache) {
|
|
1816
1816
|
this.program = program;
|
|
@@ -1827,10 +1827,10 @@ var ModuleResolver = class {
|
|
|
1827
1827
|
}
|
|
1828
1828
|
};
|
|
1829
1829
|
|
|
1830
|
-
// bazel-out/
|
|
1830
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1831
1831
|
import ts16 from "typescript";
|
|
1832
1832
|
|
|
1833
|
-
// bazel-out/
|
|
1833
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
|
|
1834
1834
|
import ts12 from "typescript";
|
|
1835
1835
|
function createGenerateUniqueIdentifierHelper() {
|
|
1836
1836
|
const generatedIdentifiers = /* @__PURE__ */ new Set();
|
|
@@ -1854,7 +1854,7 @@ function createGenerateUniqueIdentifierHelper() {
|
|
|
1854
1854
|
};
|
|
1855
1855
|
}
|
|
1856
1856
|
|
|
1857
|
-
// bazel-out/
|
|
1857
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
|
|
1858
1858
|
import ts13 from "typescript";
|
|
1859
1859
|
function createTsTransformForImportManager(manager, extraStatementsForFiles) {
|
|
1860
1860
|
return (ctx) => {
|
|
@@ -1915,7 +1915,7 @@ function isImportStatement(stmt) {
|
|
|
1915
1915
|
return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
|
|
1916
1916
|
}
|
|
1917
1917
|
|
|
1918
|
-
// bazel-out/
|
|
1918
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
|
|
1919
1919
|
import ts14 from "typescript";
|
|
1920
1920
|
function attemptToReuseGeneratedImports(tracker, request) {
|
|
1921
1921
|
const requestHash = hashImportRequest(request);
|
|
@@ -1942,7 +1942,7 @@ function hashImportRequest(req) {
|
|
|
1942
1942
|
return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}`;
|
|
1943
1943
|
}
|
|
1944
1944
|
|
|
1945
|
-
// bazel-out/
|
|
1945
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
|
|
1946
1946
|
import ts15 from "typescript";
|
|
1947
1947
|
function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
1948
1948
|
let candidateImportToBeUpdated = null;
|
|
@@ -1995,7 +1995,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
|
|
|
1995
1995
|
return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
|
|
1996
1996
|
}
|
|
1997
1997
|
|
|
1998
|
-
// bazel-out/
|
|
1998
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
|
|
1999
1999
|
var presetImportManagerForceNamespaceImports = {
|
|
2000
2000
|
disableOriginalSourceFileReuse: true,
|
|
2001
2001
|
forceGenerateNamespacesForNewImports: true
|
|
@@ -2145,7 +2145,7 @@ function createImportReference(asTypeReference, ref) {
|
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
2147
|
|
|
2148
|
-
// bazel-out/
|
|
2148
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
|
|
2149
2149
|
var Context = class {
|
|
2150
2150
|
constructor(isStatement) {
|
|
2151
2151
|
this.isStatement = isStatement;
|
|
@@ -2158,7 +2158,7 @@ var Context = class {
|
|
|
2158
2158
|
}
|
|
2159
2159
|
};
|
|
2160
2160
|
|
|
2161
|
-
// bazel-out/
|
|
2161
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
|
|
2162
2162
|
import * as o from "@angular/compiler";
|
|
2163
2163
|
var UNARY_OPERATORS = /* @__PURE__ */ new Map([
|
|
2164
2164
|
[o.UnaryOperator.Minus, "-"],
|
|
@@ -2404,7 +2404,7 @@ function createRange(span) {
|
|
|
2404
2404
|
};
|
|
2405
2405
|
}
|
|
2406
2406
|
|
|
2407
|
-
// bazel-out/
|
|
2407
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
|
|
2408
2408
|
import ts17 from "typescript";
|
|
2409
2409
|
var INELIGIBLE = {};
|
|
2410
2410
|
function canEmitType(type, canEmit) {
|
|
@@ -2479,11 +2479,11 @@ var TypeEmitter = class {
|
|
|
2479
2479
|
}
|
|
2480
2480
|
};
|
|
2481
2481
|
|
|
2482
|
-
// bazel-out/
|
|
2482
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2483
2483
|
import * as o2 from "@angular/compiler";
|
|
2484
2484
|
import ts19 from "typescript";
|
|
2485
2485
|
|
|
2486
|
-
// bazel-out/
|
|
2486
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
|
|
2487
2487
|
import ts18 from "typescript";
|
|
2488
2488
|
function tsNumericExpression(value) {
|
|
2489
2489
|
if (value < 0) {
|
|
@@ -2493,7 +2493,7 @@ function tsNumericExpression(value) {
|
|
|
2493
2493
|
return ts18.factory.createNumericLiteral(value);
|
|
2494
2494
|
}
|
|
2495
2495
|
|
|
2496
|
-
// bazel-out/
|
|
2496
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
|
|
2497
2497
|
function translateType(type, contextFile, reflector, refEmitter, imports) {
|
|
2498
2498
|
return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
|
|
2499
2499
|
}
|
|
@@ -2710,7 +2710,7 @@ var TypeTranslatorVisitor = class {
|
|
|
2710
2710
|
}
|
|
2711
2711
|
};
|
|
2712
2712
|
|
|
2713
|
-
// bazel-out/
|
|
2713
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
|
|
2714
2714
|
import ts20 from "typescript";
|
|
2715
2715
|
var PureAnnotation;
|
|
2716
2716
|
(function(PureAnnotation2) {
|
|
@@ -2913,7 +2913,7 @@ function attachComments(statement, leadingComments) {
|
|
|
2913
2913
|
}
|
|
2914
2914
|
}
|
|
2915
2915
|
|
|
2916
|
-
// bazel-out/
|
|
2916
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
|
|
2917
2917
|
function translateExpression(contextFile, expression, imports, options = {}) {
|
|
2918
2918
|
return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
|
|
2919
2919
|
}
|
|
@@ -3010,4 +3010,4 @@ export {
|
|
|
3010
3010
|
* Use of this source code is governed by an MIT-style license that can be
|
|
3011
3011
|
* found in the LICENSE file at https://angular.io/license
|
|
3012
3012
|
*/
|
|
3013
|
-
//# sourceMappingURL=chunk-
|
|
3013
|
+
//# sourceMappingURL=chunk-JNLETH45.js.map
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
tryParseSignalInputMapping,
|
|
11
11
|
tryParseSignalModelMapping,
|
|
12
12
|
tryParseSignalQueryFromInitializer
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-PFBSCCQT.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-JNLETH45.js";
|
|
22
22
|
|
|
23
|
-
// bazel-out/
|
|
23
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/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/transformers/jit_transforms/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/transformers/jit_transforms/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/transformers/jit_transforms/initializer_api_transforms/input_function.mjs
|
|
349
349
|
var signalInputsTransform = (member, 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))) {
|
|
@@ -368,7 +368,7 @@ var signalInputsTransform = (member, host, factory, importTracker, importManager
|
|
|
368
368
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
369
369
|
};
|
|
370
370
|
|
|
371
|
-
// bazel-out/
|
|
371
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/model_function.mjs
|
|
372
372
|
import ts3 from "typescript";
|
|
373
373
|
var signalModelTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
374
374
|
var _a, _b;
|
|
@@ -403,7 +403,7 @@ function createDecorator(name, config, classDecorator, factory, sourceFile, impo
|
|
|
403
403
|
return factory.createDecorator(factory.createCallExpression(callTarget, void 0, [config]));
|
|
404
404
|
}
|
|
405
405
|
|
|
406
|
-
// bazel-out/
|
|
406
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/output_function.mjs
|
|
407
407
|
var initializerApiOutputTransform = (member, host, factory, importTracker, importManager, classDecorator, isCore) => {
|
|
408
408
|
var _a, _b;
|
|
409
409
|
if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Output", isCore))) {
|
|
@@ -418,7 +418,7 @@ var initializerApiOutputTransform = (member, host, factory, importTracker, impor
|
|
|
418
418
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
419
419
|
};
|
|
420
420
|
|
|
421
|
-
// bazel-out/
|
|
421
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/query_functions.mjs
|
|
422
422
|
var queryFunctionToDecorator = {
|
|
423
423
|
viewChild: "ViewChild",
|
|
424
424
|
viewChildren: "ViewChildren",
|
|
@@ -452,7 +452,7 @@ var queryFunctionsTransforms = (member, host, factory, importTracker, importMana
|
|
|
452
452
|
return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_a = member.node.modifiers) != null ? _a : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
|
|
453
453
|
};
|
|
454
454
|
|
|
455
|
-
// bazel-out/
|
|
455
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/initializer_api_transforms/transform.mjs
|
|
456
456
|
var decoratorsWithInputs = ["Directive", "Component"];
|
|
457
457
|
var propertyTransforms = [
|
|
458
458
|
signalInputsTransform,
|
|
@@ -503,7 +503,7 @@ function createTransformVisitor(ctx, host, importManager, importTracker, isCore)
|
|
|
503
503
|
return visitor;
|
|
504
504
|
}
|
|
505
505
|
|
|
506
|
-
// bazel-out/
|
|
506
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/jit_transforms/index.mjs
|
|
507
507
|
function angularJitApplicationTransform(program, isCore = false) {
|
|
508
508
|
const typeChecker = program.getTypeChecker();
|
|
509
509
|
const reflectionHost = new TypeScriptReflectionHost(typeChecker);
|
|
@@ -525,7 +525,7 @@ function angularJitApplicationTransform(program, isCore = false) {
|
|
|
525
525
|
};
|
|
526
526
|
}
|
|
527
527
|
|
|
528
|
-
// bazel-out/
|
|
528
|
+
// bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/private/tooling.mjs
|
|
529
529
|
var GLOBAL_DEFS_FOR_TERSER = {
|
|
530
530
|
ngDevMode: false,
|
|
531
531
|
ngI18nClosureMode: false
|
|
@@ -553,4 +553,4 @@ export {
|
|
|
553
553
|
* Use of this source code is governed by an MIT-style license that can be
|
|
554
554
|
* found in the LICENSE file at https://angular.io/license
|
|
555
555
|
*/
|
|
556
|
-
//# sourceMappingURL=chunk-
|
|
556
|
+
//# sourceMappingURL=chunk-LH4HQPYV.js.map
|