@angular/compiler-cli 19.0.0-next.2 → 19.0.0-next.3

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 (51) hide show
  1. package/bundles/{chunk-XNL3EK5H.js → chunk-3W345P4E.js} +7 -7
  2. package/bundles/{chunk-4R27633S.js → chunk-5EC5IVIP.js} +3 -3
  3. package/bundles/{chunk-LYN2P66H.js → chunk-5LDY2XWV.js} +299 -168
  4. package/bundles/chunk-5LDY2XWV.js.map +6 -0
  5. package/bundles/{chunk-B4ZOGV3N.js → chunk-A6N6CPYP.js} +31 -31
  6. package/bundles/{chunk-YFWSLIDV.js → chunk-DAD6G43L.js} +5 -5
  7. package/bundles/{chunk-THQF5ZZE.js → chunk-ERN7RQQ7.js} +5 -5
  8. package/bundles/{chunk-R3PIQMGX.js → chunk-IYQOLQCE.js} +124 -121
  9. package/bundles/chunk-IYQOLQCE.js.map +6 -0
  10. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  11. package/bundles/{chunk-WR7TUJ7M.js → chunk-QYV344EV.js} +7 -7
  12. package/bundles/{chunk-W4UV2VRG.js → chunk-RRBD35GS.js} +12 -12
  13. package/bundles/{chunk-5DVL3S3Z.js → chunk-XHCHVVK2.js} +47 -45
  14. package/bundles/chunk-XHCHVVK2.js.map +6 -0
  15. package/bundles/index.js +12 -12
  16. package/bundles/linker/babel/index.js +12 -12
  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/src/file_linker/partial_linkers/util.d.ts +1 -1
  27. package/package.json +3 -3
  28. package/src/ngtsc/core/src/compiler.d.ts +6 -1
  29. package/src/ngtsc/diagnostics/src/error.d.ts +1 -1
  30. package/src/ngtsc/diagnostics/src/error_code.d.ts +4 -0
  31. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +2 -1
  32. package/src/ngtsc/docs/src/entities.d.ts +9 -0
  33. package/src/ngtsc/docs/src/extractor.d.ts +4 -1
  34. package/src/ngtsc/docs/src/import_extractor.d.ts +14 -0
  35. package/src/ngtsc/metadata/src/api.d.ts +4 -0
  36. package/src/ngtsc/program.d.ts +4 -1
  37. package/src/ngtsc/typecheck/api/api.d.ts +6 -0
  38. package/src/ngtsc/validation/src/config.d.ts +12 -0
  39. package/src/ngtsc/validation/src/rules/unused_standalone_imports_rule.d.ts +23 -0
  40. package/src/ngtsc/validation/src/source_file_validator.d.ts +2 -1
  41. package/bundles/chunk-5DVL3S3Z.js.map +0 -6
  42. package/bundles/chunk-LYN2P66H.js.map +0 -6
  43. package/bundles/chunk-R3PIQMGX.js.map +0 -6
  44. /package/bundles/{chunk-XNL3EK5H.js.map → chunk-3W345P4E.js.map} +0 -0
  45. /package/bundles/{chunk-4R27633S.js.map → chunk-5EC5IVIP.js.map} +0 -0
  46. /package/bundles/{chunk-B4ZOGV3N.js.map → chunk-A6N6CPYP.js.map} +0 -0
  47. /package/bundles/{chunk-YFWSLIDV.js.map → chunk-DAD6G43L.js.map} +0 -0
  48. /package/bundles/{chunk-THQF5ZZE.js.map → chunk-ERN7RQQ7.js.map} +0 -0
  49. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  50. /package/bundles/{chunk-WR7TUJ7M.js.map → chunk-QYV344EV.js.map} +0 -0
  51. /package/bundles/{chunk-W4UV2VRG.js.map → chunk-RRBD35GS.js.map} +0 -0
@@ -3,7 +3,7 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/logger.mjs
7
7
  var LogLevel;
8
8
  (function(LogLevel2) {
9
9
  LogLevel2[LogLevel2["debug"] = 0] = "debug";
@@ -12,7 +12,7 @@ var LogLevel;
12
12
  LogLevel2[LogLevel2["error"] = 3] = "error";
13
13
  })(LogLevel || (LogLevel = {}));
14
14
 
15
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
15
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/logging/src/console_logger.mjs
16
16
  var RESET = "\x1B[0m";
17
17
  var RED = "\x1B[31m";
18
18
  var YELLOW = "\x1B[33m";
@@ -53,4 +53,4 @@ export {
53
53
  * Use of this source code is governed by an MIT-style license that can be
54
54
  * found in the LICENSE file at https://angular.io/license
55
55
  */
56
- //# sourceMappingURL=chunk-SBDNBITT.js.map
56
+ //# sourceMappingURL=chunk-LYJKWJUC.js.map
@@ -3,11 +3,11 @@
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
4
 
5
5
 
6
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
6
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
7
7
  import { decode, encode } from "@jridgewell/sourcemap-codec";
8
8
  import mapHelpers from "convert-source-map";
9
9
 
10
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
10
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/segment_marker.mjs
11
11
  function compareSegments(a, b) {
12
12
  return a.position - b.position;
13
13
  }
@@ -27,7 +27,7 @@ function offsetSegment(startOfLinePositions, marker, offset) {
27
27
  return { line, column, position, next: void 0 };
28
28
  }
29
29
 
30
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
30
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file.mjs
31
31
  function removeSourceMapComments(contents) {
32
32
  return mapHelpers.removeMapFileComments(mapHelpers.removeComments(contents)).replace(/\n\n$/, "\n");
33
33
  }
@@ -278,10 +278,10 @@ var Cache = class {
278
278
  }
279
279
  };
280
280
 
281
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
281
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
282
282
  import mapHelpers2 from "convert-source-map";
283
283
 
284
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
284
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/content_origin.mjs
285
285
  var ContentOrigin;
286
286
  (function(ContentOrigin2) {
287
287
  ContentOrigin2[ContentOrigin2["Provided"] = 0] = "Provided";
@@ -289,7 +289,7 @@ var ContentOrigin;
289
289
  ContentOrigin2[ContentOrigin2["FileSystem"] = 2] = "FileSystem";
290
290
  })(ContentOrigin || (ContentOrigin = {}));
291
291
 
292
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
292
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/sourcemaps/src/source_file_loader.mjs
293
293
  var SCHEME_MATCHER = /^([a-z][a-z0-9.-]*):\/\//i;
294
294
  var SourceFileLoader = class {
295
295
  constructor(fs, logger, schemeMap) {
@@ -419,4 +419,4 @@ export {
419
419
  * Use of this source code is governed by an MIT-style license that can be
420
420
  * found in the LICENSE file at https://angular.io/license
421
421
  */
422
- //# sourceMappingURL=chunk-WR7TUJ7M.js.map
422
+ //# sourceMappingURL=chunk-QYV344EV.js.map
@@ -10,7 +10,7 @@ import {
10
10
  tryParseSignalInputMapping,
11
11
  tryParseSignalModelMapping,
12
12
  tryParseSignalQueryFromInitializer
13
- } from "./chunk-R3PIQMGX.js";
13
+ } from "./chunk-IYQOLQCE.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-5DVL3S3Z.js";
21
+ } from "./chunk-XHCHVVK2.js";
22
22
 
23
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.mjs
23
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/downlevel_decorators_transform.mjs
24
24
  import ts from "typescript";
25
25
  function isAngularDecorator2(decorator, isCore) {
26
26
  return isCore || decorator.import !== null && decorator.import.from === "@angular/core";
@@ -325,10 +325,10 @@ function cloneClassElementWithModifiers(node, modifiers) {
325
325
  return ts.setOriginalNode(clone, node);
326
326
  }
327
327
 
328
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
328
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
329
329
  import ts4 from "typescript";
330
330
 
331
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.mjs
331
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform_api.mjs
332
332
  import ts2 from "typescript";
333
333
  function createSyntheticAngularCoreDecoratorAccess(factory, importManager, ngClassDecorator, sourceFile, decoratorName) {
334
334
  const classDecoratorIdentifier = ts2.isIdentifier(ngClassDecorator.identifier) ? ngClassDecorator.identifier : ngClassDecorator.identifier.expression;
@@ -345,7 +345,7 @@ function castAsAny(factory, expr) {
345
345
  return factory.createAsExpression(expr, factory.createKeywordTypeNode(ts2.SyntaxKind.AnyKeyword));
346
346
  }
347
347
 
348
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/input_function.mjs
348
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/input_function.mjs
349
349
  var signalInputsTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
350
350
  var _a, _b;
351
351
  if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Input", isCore))) {
@@ -367,7 +367,7 @@ var signalInputsTransform = (member, sourceFile, host, factory, importTracker, i
367
367
  return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.name, member.node.questionToken, member.node.type, member.node.initializer);
368
368
  };
369
369
 
370
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.mjs
370
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/model_function.mjs
371
371
  import ts3 from "typescript";
372
372
  var signalModelTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
373
373
  var _a, _b;
@@ -401,7 +401,7 @@ function createDecorator(name, config, classDecorator, factory, sourceFile, impo
401
401
  return factory.createDecorator(factory.createCallExpression(callTarget, void 0, [config]));
402
402
  }
403
403
 
404
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.mjs
404
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/output_function.mjs
405
405
  var initializerApiOutputTransform = (member, sourceFile, host, factory, importTracker, importManager, classDecorator, isCore) => {
406
406
  var _a, _b;
407
407
  if ((_a = host.getDecoratorsOfDeclaration(member.node)) == null ? void 0 : _a.some((d) => isAngularDecorator(d, "Output", isCore))) {
@@ -415,7 +415,7 @@ var initializerApiOutputTransform = (member, sourceFile, host, factory, importTr
415
415
  return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_b = member.node.modifiers) != null ? _b : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
416
416
  };
417
417
 
418
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.mjs
418
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/query_functions.mjs
419
419
  var queryFunctionToDecorator = {
420
420
  viewChild: "ViewChild",
421
421
  viewChildren: "ViewChildren",
@@ -448,7 +448,7 @@ var queryFunctionsTransforms = (member, sourceFile, host, factory, importTracker
448
448
  return factory.updatePropertyDeclaration(member.node, [newDecorator, ...(_a = member.node.modifiers) != null ? _a : []], member.node.name, member.node.questionToken, member.node.type, member.node.initializer);
449
449
  };
450
450
 
451
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
451
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/initializer_api_transforms/transform.mjs
452
452
  var decoratorsWithInputs = ["Directive", "Component"];
453
453
  var propertyTransforms = [
454
454
  signalInputsTransform,
@@ -501,7 +501,7 @@ function createTransformVisitor(ctx, host, importManager, importTracker, isCore,
501
501
  return visitor;
502
502
  }
503
503
 
504
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/index.mjs
504
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/jit/src/index.mjs
505
505
  function angularJitApplicationTransform(program, isCore = false, shouldTransformClass) {
506
506
  const typeChecker = program.getTypeChecker();
507
507
  const reflectionHost = new TypeScriptReflectionHost(typeChecker);
@@ -536,4 +536,4 @@ export {
536
536
  * Use of this source code is governed by an MIT-style license that can be
537
537
  * found in the LICENSE file at https://angular.io/license
538
538
  */
539
- //# sourceMappingURL=chunk-W4UV2VRG.js.map
539
+ //# sourceMappingURL=chunk-RRBD35GS.js.map
@@ -12,12 +12,12 @@ import {
12
12
  resolve,
13
13
  stripExtension,
14
14
  toRelativeImport
15
- } from "./chunk-XNL3EK5H.js";
15
+ } from "./chunk-3W345P4E.js";
16
16
 
17
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
17
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
18
18
  import ts from "typescript";
19
19
 
20
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_code.mjs
20
+ // bazel-out/k8-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";
@@ -103,6 +103,7 @@ var ErrorCode;
103
103
  ErrorCode2[ErrorCode2["UNSUPPORTED_INITIALIZER_API_USAGE"] = 8110] = "UNSUPPORTED_INITIALIZER_API_USAGE";
104
104
  ErrorCode2[ErrorCode2["UNINVOKED_FUNCTION_IN_EVENT_BINDING"] = 8111] = "UNINVOKED_FUNCTION_IN_EVENT_BINDING";
105
105
  ErrorCode2[ErrorCode2["UNUSED_LET_DECLARATION"] = 8112] = "UNUSED_LET_DECLARATION";
106
+ ErrorCode2[ErrorCode2["UNUSED_STANDALONE_IMPORTS"] = 8113] = "UNUSED_STANDALONE_IMPORTS";
106
107
  ErrorCode2[ErrorCode2["INLINE_TCB_REQUIRED"] = 8900] = "INLINE_TCB_REQUIRED";
107
108
  ErrorCode2[ErrorCode2["INLINE_TYPE_CTOR_REQUIRED"] = 8901] = "INLINE_TYPE_CTOR_REQUIRED";
108
109
  ErrorCode2[ErrorCode2["INJECTABLE_DUPLICATE_PROV"] = 9001] = "INJECTABLE_DUPLICATE_PROV";
@@ -112,7 +113,7 @@ var ErrorCode;
112
113
  ErrorCode2[ErrorCode2["LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION"] = 11003] = "LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION";
113
114
  })(ErrorCode || (ErrorCode = {}));
114
115
 
115
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
116
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/util.mjs
116
117
  var ERROR_CODE_MATCHER = /(\u001b\[\d+m ?)TS-99(\d+: ?\u001b\[\d+m)/g;
117
118
  function replaceTsWithNgInErrors(errors) {
118
119
  return errors.replace(ERROR_CODE_MATCHER, "$1NG$2");
@@ -121,7 +122,7 @@ function ngErrorCode(code) {
121
122
  return parseInt("-99" + code);
122
123
  }
123
124
 
124
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
125
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error.mjs
125
126
  var FatalDiagnosticError = class extends Error {
126
127
  constructor(code, node, diagnosticMessage, relatedInformation) {
127
128
  super(`FatalDiagnosticError: Code: ${code}, Message: ${ts.flattenDiagnosticMessageText(diagnosticMessage, "\n")}`);
@@ -136,10 +137,10 @@ var FatalDiagnosticError = class extends Error {
136
137
  return makeDiagnostic(this.code, this.node, this.diagnosticMessage, this.relatedInformation);
137
138
  }
138
139
  };
139
- function makeDiagnostic(code, node, messageText, relatedInformation) {
140
+ function makeDiagnostic(code, node, messageText, relatedInformation, category = ts.DiagnosticCategory.Error) {
140
141
  node = ts.getOriginalNode(node);
141
142
  return {
142
- category: ts.DiagnosticCategory.Error,
143
+ category,
143
144
  code: ngErrorCode(code),
144
145
  file: ts.getOriginalNode(node).getSourceFile(),
145
146
  start: node.getStart(void 0, false),
@@ -185,7 +186,7 @@ function isLocalCompilationDiagnostics(diagnostic) {
185
186
  return diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNRESOLVED_CONST) || diagnostic.code === ngErrorCode(ErrorCode.LOCAL_COMPILATION_UNSUPPORTED_EXPRESSION);
186
187
  }
187
188
 
188
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
189
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/docs.mjs
189
190
  var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
190
191
  ErrorCode.DECORATOR_ARG_NOT_LITERAL,
191
192
  ErrorCode.IMPORT_CYCLE_DETECTED,
@@ -197,10 +198,10 @@ var COMPILER_ERRORS_WITH_GUIDES = /* @__PURE__ */ new Set([
197
198
  ErrorCode.WARN_NGMODULE_ID_UNNECESSARY
198
199
  ]);
199
200
 
200
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
201
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.mjs
201
202
  var ERROR_DETAILS_PAGE_BASE_URL = "https://angular.dev/errors";
202
203
 
203
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
204
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.mjs
204
205
  var ExtendedTemplateDiagnosticName;
205
206
  (function(ExtendedTemplateDiagnosticName2) {
206
207
  ExtendedTemplateDiagnosticName2["INVALID_BANANA_IN_BOX"] = "invalidBananaInBox";
@@ -215,12 +216,13 @@ var ExtendedTemplateDiagnosticName;
215
216
  ExtendedTemplateDiagnosticName2["INTERPOLATED_SIGNAL_NOT_INVOKED"] = "interpolatedSignalNotInvoked";
216
217
  ExtendedTemplateDiagnosticName2["CONTROL_FLOW_PREVENTING_CONTENT_PROJECTION"] = "controlFlowPreventingContentProjection";
217
218
  ExtendedTemplateDiagnosticName2["UNUSED_LET_DECLARATION"] = "unusedLetDeclaration";
219
+ ExtendedTemplateDiagnosticName2["UNUSED_STANDALONE_IMPORTS"] = "unusedStandaloneImports";
218
220
  })(ExtendedTemplateDiagnosticName || (ExtendedTemplateDiagnosticName = {}));
219
221
 
220
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
222
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
221
223
  import ts5 from "typescript";
222
224
 
223
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
225
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/host.mjs
224
226
  import ts2 from "typescript";
225
227
  function isDecoratorIdentifier(exp) {
226
228
  return ts2.isIdentifier(exp) || ts2.isPropertyAccessExpression(exp) && ts2.isIdentifier(exp.expression) && ts2.isIdentifier(exp.name);
@@ -243,7 +245,7 @@ var ClassMemberAccessLevel;
243
245
  })(ClassMemberAccessLevel || (ClassMemberAccessLevel = {}));
244
246
  var AmbientImport = {};
245
247
 
246
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
248
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/type_to_value.mjs
247
249
  import ts3 from "typescript";
248
250
  function typeToValue(typeNode, checker, isLocalCompilation) {
249
251
  var _a, _b;
@@ -427,7 +429,7 @@ function extractModuleName(node) {
427
429
  return node.moduleSpecifier.text;
428
430
  }
429
431
 
430
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
432
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/util.mjs
431
433
  import ts4 from "typescript";
432
434
  function isNamedClassDeclaration(node) {
433
435
  return ts4.isClassDeclaration(node) && isIdentifier(node.name);
@@ -451,7 +453,7 @@ function classMemberAccessLevelToString(level) {
451
453
  }
452
454
  }
453
455
 
454
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
456
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/reflection/src/typescript.mjs
455
457
  var TypeScriptReflectionHost = class {
456
458
  constructor(checker, isLocalCompilation = false) {
457
459
  this.checker = checker;
@@ -939,7 +941,7 @@ function getExportedName(decl, originalId) {
939
941
  }
940
942
  var LocalExportedDeclarations = Symbol("LocalExportedDeclarations");
941
943
 
942
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
944
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/typescript.mjs
943
945
  import ts6 from "typescript";
944
946
  var TS = /\.tsx?$/i;
945
947
  var D_TS = /\.d\.ts$/i;
@@ -1040,7 +1042,7 @@ function toUnredirectedSourceFile(sf) {
1040
1042
  return redirectInfo.unredirected;
1041
1043
  }
1042
1044
 
1043
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1045
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/references.mjs
1044
1046
  var Reference = class {
1045
1047
  constructor(node, bestGuessOwningModule = null) {
1046
1048
  this.node = node;
@@ -1109,14 +1111,14 @@ var Reference = class {
1109
1111
  }
1110
1112
  };
1111
1113
 
1112
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1114
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1113
1115
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
1114
1116
 
1115
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1117
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1116
1118
  import { ExternalExpr, ExternalReference, WrappedNodeExpr } from "@angular/compiler";
1117
1119
  import ts7 from "typescript";
1118
1120
 
1119
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1121
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/find_export.mjs
1120
1122
  function findExportedNameOfNode(target, file, reflector) {
1121
1123
  const exports = reflector.getExportsOfModule(file);
1122
1124
  if (exports === null) {
@@ -1136,7 +1138,7 @@ function findExportedNameOfNode(target, file, reflector) {
1136
1138
  return foundExportName;
1137
1139
  }
1138
1140
 
1139
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1141
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/emitter.mjs
1140
1142
  var ImportFlags;
1141
1143
  (function(ImportFlags2) {
1142
1144
  ImportFlags2[ImportFlags2["None"] = 0] = "None";
@@ -1367,7 +1369,7 @@ var UnifiedModulesStrategy = class {
1367
1369
  }
1368
1370
  };
1369
1371
 
1370
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1372
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/alias.mjs
1371
1373
  var CHARS_TO_ESCAPE = /[^a-zA-Z0-9/_]/g;
1372
1374
  var UnifiedModulesAliasingHost = class {
1373
1375
  constructor(unifiedModulesHost) {
@@ -1434,7 +1436,7 @@ var AliasStrategy = class {
1434
1436
  }
1435
1437
  };
1436
1438
 
1437
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1439
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/path.mjs
1438
1440
  function relativePathBetween(from, to) {
1439
1441
  const relativePath = stripExtension(relative(dirname(resolve(from)), resolve(to)));
1440
1442
  return relativePath !== "" ? toRelativeImport(relativePath) : null;
@@ -1443,7 +1445,7 @@ function normalizeSeparators(path) {
1443
1445
  return path.replace(/\\/g, "/");
1444
1446
  }
1445
1447
 
1446
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1448
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/core.mjs
1447
1449
  var NoopImportRewriter = class {
1448
1450
  rewriteSymbol(symbol, specifier) {
1449
1451
  return symbol;
@@ -1496,7 +1498,7 @@ function validateAndRewriteCoreSymbol(name) {
1496
1498
  return CORE_SUPPORTED_SYMBOLS.get(name);
1497
1499
  }
1498
1500
 
1499
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1501
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/patch_alias_reference_resolution.mjs
1500
1502
  import ts8 from "typescript";
1501
1503
  var patchedReferencedAliasesSymbol = Symbol("patchedReferencedAliases");
1502
1504
  function loadIsReferencedAliasDeclarationPatch(context) {
@@ -1531,7 +1533,7 @@ function throwIncompatibleTransformationContextError() {
1531
1533
  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
1534
  }
1533
1535
 
1534
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1536
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/default.mjs
1535
1537
  var DefaultImportDeclaration = Symbol("DefaultImportDeclaration");
1536
1538
  function attachDefaultImportDeclaration(expr, importDecl) {
1537
1539
  expr[DefaultImportDeclaration] = importDecl;
@@ -1572,7 +1574,7 @@ var DefaultImportTracker = class {
1572
1574
  }
1573
1575
  };
1574
1576
 
1575
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1577
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/deferred_symbol_tracker.mjs
1576
1578
  import ts9 from "typescript";
1577
1579
  var AssumeEager = "AssumeEager";
1578
1580
  var DeferredSymbolTracker = class {
@@ -1693,7 +1695,7 @@ var DeferredSymbolTracker = class {
1693
1695
  }
1694
1696
  };
1695
1697
 
1696
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1698
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/imported_symbols_tracker.mjs
1697
1699
  import ts10 from "typescript";
1698
1700
  var ImportedSymbolsTracker = class {
1699
1701
  constructor() {
@@ -1763,7 +1765,7 @@ var ImportedSymbolsTracker = class {
1763
1765
  }
1764
1766
  };
1765
1767
 
1766
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1768
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/local_compilation_extra_imports_tracker.mjs
1767
1769
  import ts11 from "typescript";
1768
1770
  var LocalCompilationExtraImportsTracker = class {
1769
1771
  constructor(typeChecker) {
@@ -1814,7 +1816,7 @@ function removeQuotations(s) {
1814
1816
  return s.substring(1, s.length - 1).trim();
1815
1817
  }
1816
1818
 
1817
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1819
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/imports/src/resolver.mjs
1818
1820
  var ModuleResolver = class {
1819
1821
  constructor(program, compilerOptions, host, moduleResolutionCache) {
1820
1822
  this.program = program;
@@ -1831,10 +1833,10 @@ var ModuleResolver = class {
1831
1833
  }
1832
1834
  };
1833
1835
 
1834
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1836
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
1835
1837
  import ts16 from "typescript";
1836
1838
 
1837
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1839
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/check_unique_identifier_name.mjs
1838
1840
  import ts12 from "typescript";
1839
1841
  function createGenerateUniqueIdentifierHelper() {
1840
1842
  const generatedIdentifiers = /* @__PURE__ */ new Set();
@@ -1860,7 +1862,7 @@ function createGenerateUniqueIdentifierHelper() {
1860
1862
  };
1861
1863
  }
1862
1864
 
1863
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1865
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_typescript_transform.mjs
1864
1866
  import ts13 from "typescript";
1865
1867
  function createTsTransformForImportManager(manager, extraStatementsForFiles) {
1866
1868
  return (ctx) => {
@@ -1927,7 +1929,7 @@ function isImportStatement(stmt) {
1927
1929
  return ts13.isImportDeclaration(stmt) || ts13.isImportEqualsDeclaration(stmt) || ts13.isNamespaceImport(stmt);
1928
1930
  }
1929
1931
 
1930
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1932
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_generated_imports.mjs
1931
1933
  import ts14 from "typescript";
1932
1934
  function attemptToReuseGeneratedImports(tracker, request) {
1933
1935
  const requestHash = hashImportRequest(request);
@@ -1954,7 +1956,7 @@ function hashImportRequest(req) {
1954
1956
  return `${req.requestedFile.fileName}:${req.exportModuleSpecifier}:${req.exportSymbolName}${req.unsafeAliasOverride ? ":" + req.unsafeAliasOverride : ""}`;
1955
1957
  }
1956
1958
 
1957
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
1959
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/reuse_source_file_imports.mjs
1958
1960
  import ts15 from "typescript";
1959
1961
  function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
1960
1962
  let candidateImportToBeUpdated = null;
@@ -2014,7 +2016,7 @@ function attemptToReuseExistingSourceFileImports(tracker, sourceFile, request) {
2014
2016
  return fileUniqueAlias != null ? fileUniqueAlias : propertyName;
2015
2017
  }
2016
2018
 
2017
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
2019
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/import_manager/import_manager.mjs
2018
2020
  var presetImportManagerForceNamespaceImports = {
2019
2021
  disableOriginalSourceFileReuse: true,
2020
2022
  forceGenerateNamespacesForNewImports: true
@@ -2232,7 +2234,7 @@ function createImportReference(asTypeReference, ref) {
2232
2234
  }
2233
2235
  }
2234
2236
 
2235
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2237
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/context.mjs
2236
2238
  var Context = class {
2237
2239
  constructor(isStatement) {
2238
2240
  this.isStatement = isStatement;
@@ -2245,7 +2247,7 @@ var Context = class {
2245
2247
  }
2246
2248
  };
2247
2249
 
2248
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2250
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/translator.mjs
2249
2251
  import * as o from "@angular/compiler";
2250
2252
  var UNARY_OPERATORS = /* @__PURE__ */ new Map([
2251
2253
  [o.UnaryOperator.Minus, "-"],
@@ -2491,7 +2493,7 @@ function createRange(span) {
2491
2493
  };
2492
2494
  }
2493
2495
 
2494
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2496
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_emitter.mjs
2495
2497
  import ts17 from "typescript";
2496
2498
  var INELIGIBLE = {};
2497
2499
  function canEmitType(type, canEmit) {
@@ -2566,11 +2568,11 @@ var TypeEmitter = class {
2566
2568
  }
2567
2569
  };
2568
2570
 
2569
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2571
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2570
2572
  import * as o2 from "@angular/compiler";
2571
2573
  import ts19 from "typescript";
2572
2574
 
2573
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2575
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/ts_util.mjs
2574
2576
  import ts18 from "typescript";
2575
2577
  function tsNumericExpression(value) {
2576
2578
  if (value < 0) {
@@ -2580,7 +2582,7 @@ function tsNumericExpression(value) {
2580
2582
  return ts18.factory.createNumericLiteral(value);
2581
2583
  }
2582
2584
 
2583
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2585
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/type_translator.mjs
2584
2586
  function translateType(type, contextFile, reflector, refEmitter, imports) {
2585
2587
  return type.visitType(new TypeTranslatorVisitor(imports, contextFile, reflector, refEmitter), new Context(false));
2586
2588
  }
@@ -2797,7 +2799,7 @@ var TypeTranslatorVisitor = class {
2797
2799
  }
2798
2800
  };
2799
2801
 
2800
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2802
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_ast_factory.mjs
2801
2803
  import ts20 from "typescript";
2802
2804
  var PureAnnotation;
2803
2805
  (function(PureAnnotation2) {
@@ -3000,7 +3002,7 @@ function attachComments(statement, leadingComments) {
3000
3002
  }
3001
3003
  }
3002
3004
 
3003
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
3005
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/translator/src/typescript_translator.mjs
3004
3006
  function translateExpression(contextFile, expression, imports, options = {}) {
3005
3007
  return expression.visitExpression(new ExpressionTranslatorVisitor(new TypeScriptAstFactory(options.annotateForClosureCompiler === true), imports, contextFile, options), new Context(false));
3006
3008
  }
@@ -3097,4 +3099,4 @@ export {
3097
3099
  * Use of this source code is governed by an MIT-style license that can be
3098
3100
  * found in the LICENSE file at https://angular.io/license
3099
3101
  */
3100
- //# sourceMappingURL=chunk-5DVL3S3Z.js.map
3102
+ //# sourceMappingURL=chunk-XHCHVVK2.js.map