@angular/compiler-cli 19.2.0-rc.0 → 20.0.0-next.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/bundles/{chunk-HHTMNOE7.js → chunk-2MJ6YSB2.js} +135 -125
  2. package/bundles/{chunk-HHTMNOE7.js.map → chunk-2MJ6YSB2.js.map} +1 -1
  3. package/bundles/{chunk-OZ2WSYWM.js → chunk-5B64KRP2.js} +52 -43
  4. package/bundles/{chunk-OZ2WSYWM.js.map → chunk-5B64KRP2.js.map} +1 -1
  5. package/bundles/{chunk-77D5CI2U.js → chunk-5UDS2TPQ.js} +7 -7
  6. package/bundles/{chunk-FKXFEX7K.js → chunk-GBKXY6BH.js} +3 -3
  7. package/bundles/{chunk-JBQ2W4H2.js → chunk-HXSKCJMP.js} +3 -3
  8. package/bundles/{chunk-Q2WE7ECN.js → chunk-I6R3GL3L.js} +5 -5
  9. package/bundles/{chunk-E7POVVFX.js → chunk-KDHDNSXW.js} +12 -12
  10. package/bundles/{chunk-FTZQEOD7.js → chunk-NSLVDBJJ.js} +5 -5
  11. package/bundles/{chunk-37JMVF7H.js → chunk-STORTTKY.js} +8 -8
  12. package/bundles/{chunk-J7S5XIBF.js → chunk-SXMUFI7N.js} +31 -31
  13. package/bundles/{chunk-67OPP2P5.js → chunk-UCG5K4BI.js} +82 -82
  14. package/bundles/index.js +12 -12
  15. package/bundles/linker/babel/index.js +15 -12
  16. package/bundles/linker/babel/index.js.map +1 -1
  17. package/bundles/linker/index.js +4 -4
  18. package/bundles/ngcc/index.js +1 -1
  19. package/bundles/private/bazel.js +1 -1
  20. package/bundles/private/localize.js +3 -3
  21. package/bundles/private/migrations.js +4 -4
  22. package/bundles/private/tooling.js +6 -6
  23. package/bundles/src/bin/ng_xi18n.js +10 -10
  24. package/bundles/src/bin/ngc.js +8 -8
  25. package/bundles_metadata.json +1 -1
  26. package/linker/babel/src/ast/babel_ast_factory.d.ts +1 -0
  27. package/linker/src/file_linker/partial_linkers/util.d.ts +1 -1
  28. package/package.json +2 -2
  29. package/src/ngtsc/translator/src/api/ast_factory.d.ts +7 -1
  30. package/src/ngtsc/translator/src/translator.d.ts +1 -0
  31. package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +1 -0
  32. /package/bundles/{chunk-77D5CI2U.js.map → chunk-5UDS2TPQ.js.map} +0 -0
  33. /package/bundles/{chunk-FKXFEX7K.js.map → chunk-GBKXY6BH.js.map} +0 -0
  34. /package/bundles/{chunk-JBQ2W4H2.js.map → chunk-HXSKCJMP.js.map} +0 -0
  35. /package/bundles/{chunk-Q2WE7ECN.js.map → chunk-I6R3GL3L.js.map} +0 -0
  36. /package/bundles/{chunk-E7POVVFX.js.map → chunk-KDHDNSXW.js.map} +0 -0
  37. /package/bundles/{chunk-FTZQEOD7.js.map → chunk-NSLVDBJJ.js.map} +0 -0
  38. /package/bundles/{chunk-37JMVF7H.js.map → chunk-STORTTKY.js.map} +0 -0
  39. /package/bundles/{chunk-J7S5XIBF.js.map → chunk-SXMUFI7N.js.map} +0 -0
  40. /package/bundles/{chunk-67OPP2P5.js.map → chunk-UCG5K4BI.js.map} +0 -0
@@ -12,9 +12,9 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-37JMVF7H.js";
15
+ } from "./chunk-STORTTKY.js";
16
16
 
17
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
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/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
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, "-"],
@@ -2344,7 +2344,8 @@ var BINARY_OPERATORS = /* @__PURE__ */ new Map([
2344
2344
  [o.BinaryOperator.NotIdentical, "!=="],
2345
2345
  [o.BinaryOperator.Or, "||"],
2346
2346
  [o.BinaryOperator.Plus, "+"],
2347
- [o.BinaryOperator.NullishCoalesce, "??"]
2347
+ [o.BinaryOperator.NullishCoalesce, "??"],
2348
+ [o.BinaryOperator.Exponentiation, "**"]
2348
2349
  ]);
2349
2350
  var ExpressionTranslatorVisitor = class {
2350
2351
  factory;
@@ -2533,6 +2534,9 @@ var ExpressionTranslatorVisitor = class {
2533
2534
  visitTypeofExpr(ast, context) {
2534
2535
  return this.factory.createTypeOfExpression(ast.expr.visitExpression(this, context));
2535
2536
  }
2537
+ visitVoidExpr(ast, context) {
2538
+ return this.factory.createVoidExpression(ast.expr.visitExpression(this, context));
2539
+ }
2536
2540
  visitUnaryOperatorExpr(ast, context) {
2537
2541
  if (!UNARY_OPERATORS.has(ast.operator)) {
2538
2542
  throw new Error(`Unknown unary operator: ${o.UnaryOperator[ast.operator]}`);
@@ -2585,7 +2589,7 @@ function createRange(span) {
2585
2589
  };
2586
2590
  }
2587
2591
 
2588
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2592
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2589
2593
  import ts17 from "typescript";
2590
2594
  var INELIGIBLE = {};
2591
2595
  function canEmitType(type, canEmit) {
@@ -2661,11 +2665,11 @@ var TypeEmitter = class {
2661
2665
  }
2662
2666
  };
2663
2667
 
2664
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2668
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2665
2669
  import * as o2 from "@angular/compiler";
2666
2670
  import ts19 from "typescript";
2667
2671
 
2668
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2672
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2669
2673
  import ts18 from "typescript";
2670
2674
  function tsNumericExpression(value) {
2671
2675
  if (value < 0) {
@@ -2675,7 +2679,7 @@ function tsNumericExpression(value) {
2675
2679
  return ts18.factory.createNumericLiteral(value);
2676
2680
  }
2677
2681
 
2678
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2682
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2679
2683
  function translateType(type, contextFile, reflector, refEmitter, imports) {
2680
2684
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
2681
2685
  }
@@ -2864,6 +2868,9 @@ var TypeTranslatorVisitor = class {
2864
2868
  }
2865
2869
  return ts19.factory.createTypeQueryNode(typeNode.typeName);
2866
2870
  }
2871
+ visitVoidExpr(ast, context) {
2872
+ throw new Error("Method not implemented.");
2873
+ }
2867
2874
  translateType(type, context) {
2868
2875
  const typeNode = type.visitType(this, context);
2869
2876
  if (!ts19.isTypeNode(typeNode)) {
@@ -2902,7 +2909,7 @@ var TypeTranslatorVisitor = class {
2902
2909
  }
2903
2910
  };
2904
2911
 
2905
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2912
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2906
2913
  import ts20 from "typescript";
2907
2914
  var PureAnnotation;
2908
2915
  (function(PureAnnotation2) {
@@ -2928,6 +2935,7 @@ var BINARY_OPERATORS2 = {
2928
2935
  "-": ts20.SyntaxKind.MinusToken,
2929
2936
  "%": ts20.SyntaxKind.PercentToken,
2930
2937
  "*": ts20.SyntaxKind.AsteriskToken,
2938
+ "**": ts20.SyntaxKind.AsteriskAsteriskToken,
2931
2939
  "!=": ts20.SyntaxKind.ExclamationEqualsToken,
2932
2940
  "!==": ts20.SyntaxKind.ExclamationEqualsEqualsToken,
2933
2941
  "||": ts20.SyntaxKind.BarBarToken,
@@ -3061,6 +3069,7 @@ var TypeScriptAstFactory = class {
3061
3069
  }
3062
3070
  createThrowStatement = ts20.factory.createThrowStatement;
3063
3071
  createTypeOfExpression = ts20.factory.createTypeOfExpression;
3072
+ createVoidExpression = ts20.factory.createVoidExpression;
3064
3073
  createUnaryExpression(operator, operand) {
3065
3074
  return ts20.factory.createPrefixUnaryExpression(UNARY_OPERATORS2[operator], operand);
3066
3075
  }
@@ -3109,7 +3118,7 @@ function attachComments(statement, leadingComments) {
3109
3118
  }
3110
3119
  }
3111
3120
 
3112
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
3121
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
3113
3122
  function translateExpression(contextFile, expression, imports, options = {}) {
3114
3123
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
3115
3124
  }
@@ -3209,4 +3218,4 @@ export {
3209
3218
  * Use of this source code is governed by an MIT-style license that can be
3210
3219
  * found in the LICENSE file at https://angular.dev/license
3211
3220
  */
3212
- //# sourceMappingURL=chunk-OZ2WSYWM.js.map
3221
+ //# sourceMappingURL=chunk-5B64KRP2.js.map