@angular/compiler-cli 16.0.0-next.3 → 16.0.0-next.4

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 (41) hide show
  1. package/bundles/{chunk-MENJKFAO.js → chunk-4TZUPGBE.js} +144 -91
  2. package/bundles/chunk-4TZUPGBE.js.map +6 -0
  3. package/bundles/{chunk-LJFSK6KK.js → chunk-BKZMHDOG.js} +33 -33
  4. package/bundles/chunk-BKZMHDOG.js.map +6 -0
  5. package/bundles/{chunk-GYHDNUIK.js → chunk-EKTJ7622.js} +7 -7
  6. package/bundles/{chunk-OJ24Q4I3.js → chunk-J5XCN5DY.js} +133 -117
  7. package/bundles/chunk-J5XCN5DY.js.map +6 -0
  8. package/bundles/{chunk-BVXD7IJL.js → chunk-KOYPL546.js} +5 -5
  9. package/bundles/{chunk-SBDNBITT.js → chunk-LYJKWJUC.js} +3 -3
  10. package/bundles/{chunk-54RHUHYB.js → chunk-N6MSUQVH.js} +5 -5
  11. package/bundles/{chunk-EDWIBG7R.js → chunk-QQGJEWBQ.js} +6 -6
  12. package/bundles/{chunk-EC5K6QPP.js → chunk-TBUSSXUA.js} +7 -7
  13. package/bundles/{chunk-F6KVOAVN.js → chunk-TNNRAQPV.js} +5 -5
  14. package/bundles/{chunk-K2A5WD7L.js → chunk-UZSESMCH.js} +23 -21
  15. package/bundles/chunk-UZSESMCH.js.map +6 -0
  16. package/bundles/{chunk-LLHKY5PL.js → chunk-WWVESPME.js} +8 -8
  17. package/bundles/index.js +13 -13
  18. package/bundles/linker/babel/index.js +13 -13
  19. package/bundles/linker/index.js +5 -5
  20. package/bundles/private/bazel.js +1 -1
  21. package/bundles/private/localize.js +3 -3
  22. package/bundles/private/migrations.js +6 -6
  23. package/bundles/private/tooling.js +4 -4
  24. package/bundles/src/bin/ng_xi18n.js +11 -11
  25. package/bundles/src/bin/ngc.js +9 -9
  26. package/bundles_metadata.json +1 -1
  27. package/package.json +2 -2
  28. package/src/ngtsc/diagnostics/src/error_code.d.ts +9 -0
  29. package/src/ngtsc/typecheck/src/oob.d.ts +4 -1
  30. package/bundles/chunk-K2A5WD7L.js.map +0 -6
  31. package/bundles/chunk-LJFSK6KK.js.map +0 -6
  32. package/bundles/chunk-MENJKFAO.js.map +0 -6
  33. package/bundles/chunk-OJ24Q4I3.js.map +0 -6
  34. /package/bundles/{chunk-GYHDNUIK.js.map → chunk-EKTJ7622.js.map} +0 -0
  35. /package/bundles/{chunk-BVXD7IJL.js.map → chunk-KOYPL546.js.map} +0 -0
  36. /package/bundles/{chunk-SBDNBITT.js.map → chunk-LYJKWJUC.js.map} +0 -0
  37. /package/bundles/{chunk-54RHUHYB.js.map → chunk-N6MSUQVH.js.map} +0 -0
  38. /package/bundles/{chunk-EDWIBG7R.js.map → chunk-QQGJEWBQ.js.map} +0 -0
  39. /package/bundles/{chunk-EC5K6QPP.js.map → chunk-TBUSSXUA.js.map} +0 -0
  40. /package/bundles/{chunk-F6KVOAVN.js.map → chunk-TNNRAQPV.js.map} +0 -0
  41. /package/bundles/{chunk-LLHKY5PL.js.map → chunk-WWVESPME.js.map} +0 -0
@@ -35,16 +35,16 @@ import {
35
35
  aliasTransformFactory,
36
36
  declarationTransformFactory,
37
37
  ivyTransformFactory
38
- } from "./chunk-MENJKFAO.js";
38
+ } from "./chunk-4TZUPGBE.js";
39
39
  import {
40
40
  TypeScriptReflectionHost,
41
41
  isNamedClassDeclaration
42
- } from "./chunk-EDWIBG7R.js";
42
+ } from "./chunk-QQGJEWBQ.js";
43
43
  import {
44
44
  ImportManager,
45
45
  translateExpression,
46
46
  translateType
47
- } from "./chunk-LLHKY5PL.js";
47
+ } from "./chunk-WWVESPME.js";
48
48
  import {
49
49
  AbsoluteModuleStrategy,
50
50
  AliasStrategy,
@@ -82,14 +82,14 @@ import {
82
82
  relativePathBetween,
83
83
  replaceTsWithNgInErrors,
84
84
  toUnredirectedSourceFile
85
- } from "./chunk-K2A5WD7L.js";
85
+ } from "./chunk-UZSESMCH.js";
86
86
  import {
87
87
  ActivePerfRecorder,
88
88
  DelegatingPerfRecorder,
89
89
  PerfCheckpoint,
90
90
  PerfEvent,
91
91
  PerfPhase
92
- } from "./chunk-54RHUHYB.js";
92
+ } from "./chunk-N6MSUQVH.js";
93
93
  import {
94
94
  LogicalFileSystem,
95
95
  absoluteFrom,
@@ -99,9 +99,9 @@ import {
99
99
  getSourceFileOrError,
100
100
  join,
101
101
  resolve
102
- } from "./chunk-EC5K6QPP.js";
102
+ } from "./chunk-TBUSSXUA.js";
103
103
 
104
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
104
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
105
105
  var DEFAULT_ERROR_CODE = 100;
106
106
  var UNKNOWN_ERROR_CODE = 500;
107
107
  var SOURCE = "angular";
@@ -119,7 +119,7 @@ var EmitFlags;
119
119
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
120
120
  })(EmitFlags || (EmitFlags = {}));
121
121
 
122
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
122
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
123
123
  import ts from "typescript";
124
124
  var wrapHostForTest = null;
125
125
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -129,11 +129,11 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
129
129
  return tsHost;
130
130
  }
131
131
 
132
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
132
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
133
133
  import { HtmlParser, MessageBundle } from "@angular/compiler";
134
134
  import ts32 from "typescript";
135
135
 
136
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
136
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
137
137
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
138
138
  import * as path from "path";
139
139
  function i18nGetExtension(formatName) {
@@ -184,10 +184,10 @@ function getPathNormalizer(basePath) {
184
184
  };
185
185
  }
186
186
 
187
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
187
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
188
188
  import ts2 from "typescript";
189
189
 
190
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
190
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
191
191
  function toNumbers(value) {
192
192
  const suffixIndex = value.lastIndexOf("-");
193
193
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -222,7 +222,7 @@ function compareVersions(v1, v2) {
222
222
  return compareNumbers(toNumbers(v1), toNumbers(v2));
223
223
  }
224
224
 
225
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
225
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
226
226
  var MIN_TS_VERSION = "4.9.3";
227
227
  var MAX_TS_VERSION = "5.1.0";
228
228
  var tsVersion = ts2.version;
@@ -235,10 +235,10 @@ function verifySupportedTypeScriptVersion() {
235
235
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
236
236
  }
237
237
 
238
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
238
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
239
239
  import ts30 from "typescript";
240
240
 
241
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
241
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
242
242
  var CycleAnalyzer = class {
243
243
  constructor(importGraph) {
244
244
  this.importGraph = importGraph;
@@ -309,7 +309,7 @@ var Cycle = class {
309
309
  }
310
310
  };
311
311
 
312
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
312
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
313
313
  import ts3 from "typescript";
314
314
  var ImportGraph = class {
315
315
  constructor(checker, perf) {
@@ -401,7 +401,7 @@ var Found = class {
401
401
  }
402
402
  };
403
403
 
404
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
404
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
405
405
  import ts4 from "typescript";
406
406
  var FlatIndexGenerator = class {
407
407
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -426,7 +426,7 @@ export * from '${relativeEntryPoint}';
426
426
  }
427
427
  };
428
428
 
429
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
429
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
430
430
  function findFlatIndexEntryPoint(rootFiles) {
431
431
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
432
432
  let resolvedEntryPoint = null;
@@ -442,7 +442,7 @@ function findFlatIndexEntryPoint(rootFiles) {
442
442
  return resolvedEntryPoint;
443
443
  }
444
444
 
445
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
445
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
446
446
  import ts5 from "typescript";
447
447
  function checkForPrivateExports(entryPoint, checker, refGraph) {
448
448
  const diagnostics = [];
@@ -522,7 +522,7 @@ function getDescriptorOfDeclaration(decl) {
522
522
  }
523
523
  }
524
524
 
525
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
525
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
526
526
  var ReferenceGraph = class {
527
527
  constructor() {
528
528
  this.references = /* @__PURE__ */ new Map();
@@ -576,7 +576,7 @@ var ReferenceGraph = class {
576
576
  }
577
577
  };
578
578
 
579
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
579
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
580
580
  var NgOriginalFile = Symbol("NgOriginalFile");
581
581
  var UpdateMode;
582
582
  (function(UpdateMode2) {
@@ -584,13 +584,13 @@ var UpdateMode;
584
584
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
585
585
  })(UpdateMode || (UpdateMode = {}));
586
586
 
587
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
587
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
588
588
  import ts7 from "typescript";
589
589
 
590
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
590
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
591
591
  import ts6 from "typescript";
592
592
 
593
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
593
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
594
594
  var NgExtension = Symbol("NgExtension");
595
595
  function isExtended(sf) {
596
596
  return sf[NgExtension] !== void 0;
@@ -650,13 +650,13 @@ function retagTsFile(sf) {
650
650
  }
651
651
  }
652
652
 
653
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
653
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
654
654
  var TS_EXTENSIONS = /\.tsx?$/i;
655
655
  function makeShimFileName(fileName, suffix) {
656
656
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
657
657
  }
658
658
 
659
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
659
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
660
660
  var ShimAdapter = class {
661
661
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
662
662
  this.delegate = delegate;
@@ -751,7 +751,7 @@ var ShimAdapter = class {
751
751
  }
752
752
  };
753
753
 
754
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
754
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
755
755
  var ShimReferenceTagger = class {
756
756
  constructor(shimExtensions) {
757
757
  this.tagged = /* @__PURE__ */ new Set();
@@ -785,7 +785,7 @@ var ShimReferenceTagger = class {
785
785
  }
786
786
  };
787
787
 
788
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
788
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
789
789
  var DelegatingCompilerHost = class {
790
790
  constructor(delegate) {
791
791
  this.delegate = delegate;
@@ -898,7 +898,7 @@ var TsCreateProgramDriver = class {
898
898
  }
899
899
  };
900
900
 
901
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
901
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
902
902
  var FileDependencyGraph = class {
903
903
  constructor() {
904
904
  this.nodes = /* @__PURE__ */ new Map();
@@ -965,7 +965,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
965
965
  return false;
966
966
  }
967
967
 
968
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
968
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
969
969
  var IncrementalStateKind;
970
970
  (function(IncrementalStateKind2) {
971
971
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -973,7 +973,7 @@ var IncrementalStateKind;
973
973
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
974
974
  })(IncrementalStateKind || (IncrementalStateKind = {}));
975
975
 
976
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
976
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
977
977
  var PhaseKind;
978
978
  (function(PhaseKind2) {
979
979
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1174,7 +1174,7 @@ function toOriginalSourceFile(sf) {
1174
1174
  }
1175
1175
  }
1176
1176
 
1177
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1177
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1178
1178
  var TrackedIncrementalBuildStrategy = class {
1179
1179
  constructor() {
1180
1180
  this.state = null;
@@ -1210,7 +1210,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1210
1210
  };
1211
1211
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1212
1212
 
1213
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1213
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1214
1214
  var IdentifierKind;
1215
1215
  (function(IdentifierKind2) {
1216
1216
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1228,7 +1228,7 @@ var AbsoluteSourceSpan = class {
1228
1228
  }
1229
1229
  };
1230
1230
 
1231
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1231
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1232
1232
  var IndexingContext = class {
1233
1233
  constructor() {
1234
1234
  this.components = /* @__PURE__ */ new Set();
@@ -1238,10 +1238,10 @@ var IndexingContext = class {
1238
1238
  }
1239
1239
  };
1240
1240
 
1241
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1241
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1242
1242
  import { ParseSourceFile } from "@angular/compiler";
1243
1243
 
1244
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1244
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1245
1245
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1246
1246
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1247
1247
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1478,7 +1478,7 @@ function getTemplateIdentifiers(boundTemplate) {
1478
1478
  return { identifiers: visitor.identifiers, errors: visitor.errors };
1479
1479
  }
1480
1480
 
1481
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1481
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1482
1482
  function generateAnalysis(context) {
1483
1483
  const analysis = /* @__PURE__ */ new Map();
1484
1484
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1514,7 +1514,7 @@ function generateAnalysis(context) {
1514
1514
  return analysis;
1515
1515
  }
1516
1516
 
1517
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
1517
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/ng_module_index.mjs
1518
1518
  var NgModuleIndexImpl = class {
1519
1519
  constructor(metaReader, localReader) {
1520
1520
  this.metaReader = metaReader;
@@ -1603,7 +1603,7 @@ var NgModuleIndexImpl = class {
1603
1603
  }
1604
1604
  };
1605
1605
 
1606
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1606
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1607
1607
  import ts8 from "typescript";
1608
1608
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1609
1609
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1749,7 +1749,7 @@ function createLookupResolutionHost(adapter) {
1749
1749
  };
1750
1750
  }
1751
1751
 
1752
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1752
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1753
1753
  var StandaloneComponentScopeReader = class {
1754
1754
  constructor(metaReader, localModuleReader, dtsModuleReader) {
1755
1755
  this.metaReader = metaReader;
@@ -1827,10 +1827,10 @@ var StandaloneComponentScopeReader = class {
1827
1827
  }
1828
1828
  };
1829
1829
 
1830
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1830
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1831
1831
  import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2, ExternalExpr as ExternalExpr2, WrappedNodeExpr } from "@angular/compiler";
1832
1832
 
1833
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1833
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1834
1834
  import ts9 from "typescript";
1835
1835
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
1836
1836
  var _a;
@@ -1937,7 +1937,7 @@ function parseTemplateAsSourceFile(fileName, template) {
1937
1937
  return ts9.createSourceFile(fileName, template, ts9.ScriptTarget.Latest, false, ts9.ScriptKind.JSX);
1938
1938
  }
1939
1939
 
1940
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
1940
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
1941
1941
  var TEMPLATE_ID = Symbol("ngTemplateId");
1942
1942
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
1943
1943
  function getTemplateId(clazz) {
@@ -1954,11 +1954,11 @@ function allocateTemplateId(sf) {
1954
1954
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
1955
1955
  }
1956
1956
 
1957
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
1957
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
1958
1958
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
1959
1959
  import ts11 from "typescript";
1960
1960
 
1961
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
1961
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
1962
1962
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
1963
1963
  import ts10 from "typescript";
1964
1964
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2088,7 +2088,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2088
2088
  }) || false;
2089
2089
  }
2090
2090
 
2091
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2091
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2092
2092
  var CompletionEngine = class {
2093
2093
  constructor(tcb, data, tcbPath, tcbIsShim) {
2094
2094
  this.tcb = tcb;
@@ -2245,10 +2245,10 @@ var CompletionEngine = class {
2245
2245
  }
2246
2246
  };
2247
2247
 
2248
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2248
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2249
2249
  import ts25 from "typescript";
2250
2250
 
2251
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2251
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2252
2252
  import { DomElementSchemaRegistry } from "@angular/compiler";
2253
2253
  import ts12 from "typescript";
2254
2254
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2301,11 +2301,11 @@ var RegistryDomSchemaChecker = class {
2301
2301
  }
2302
2302
  };
2303
2303
 
2304
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2304
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2305
2305
  import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2306
2306
  import ts18 from "typescript";
2307
2307
 
2308
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2308
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2309
2309
  import ts13 from "typescript";
2310
2310
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
2311
2311
  ts13.SyntaxKind.ParenthesizedExpression,
@@ -2379,16 +2379,16 @@ function isAccessExpression(node) {
2379
2379
  return ts13.isPropertyAccessExpression(node) || ts13.isElementAccessExpression(node);
2380
2380
  }
2381
2381
 
2382
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2382
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2383
2383
  import ts17 from "typescript";
2384
2384
 
2385
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2385
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2386
2386
  import ts16 from "typescript";
2387
2387
 
2388
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2388
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2389
2389
  import ts15 from "typescript";
2390
2390
 
2391
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2391
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2392
2392
  import ts14 from "typescript";
2393
2393
  var INELIGIBLE = {};
2394
2394
  function canEmitType(type, canEmit) {
@@ -2463,7 +2463,7 @@ var TypeEmitter = class {
2463
2463
  }
2464
2464
  };
2465
2465
 
2466
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2466
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2467
2467
  var TypeParameterEmitter = class {
2468
2468
  constructor(typeParameters, reflector) {
2469
2469
  this.typeParameters = typeParameters;
@@ -2540,7 +2540,7 @@ var TypeParameterEmitter = class {
2540
2540
  }
2541
2541
  };
2542
2542
 
2543
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2543
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2544
2544
  var TcbInliningRequirement;
2545
2545
  (function(TcbInliningRequirement2) {
2546
2546
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -2620,7 +2620,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
2620
2620
  return emitter.canEmit((ref) => env.canReferenceType(ref));
2621
2621
  }
2622
2622
 
2623
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2623
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2624
2624
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
2625
2625
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
2626
2626
  const rawType = ts17.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -2732,7 +2732,7 @@ function typeParametersWithDefaultTypes(params) {
2732
2732
  });
2733
2733
  }
2734
2734
 
2735
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2735
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2736
2736
  var Environment = class {
2737
2737
  constructor(config, importManager, refEmitter, reflector, contextFile) {
2738
2738
  this.config = config;
@@ -2824,7 +2824,7 @@ var Environment = class {
2824
2824
  }
2825
2825
  };
2826
2826
 
2827
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2827
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2828
2828
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
2829
2829
  import ts19 from "typescript";
2830
2830
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -2948,6 +2948,10 @@ Consider enabling the 'strictTemplates' option in your tsconfig.json for better
2948
2948
  }
2949
2949
  this._diagnostics.push(makeTemplateDiagnostic(templateId, mapping, input.keySpan, ts19.DiagnosticCategory.Error, ngErrorCode(ErrorCode.SPLIT_TWO_WAY_BINDING), errorMsg, relatedMessages));
2950
2950
  }
2951
+ missingRequiredInputs(templateId, element, directiveName, isComponent, inputAliases) {
2952
+ const message = `Required input${inputAliases.length === 1 ? "" : "s"} ${inputAliases.map((n) => `'${n}'`).join(", ")} from ${isComponent ? "component" : "directive"} ${directiveName} must be specified.`;
2953
+ this._diagnostics.push(makeTemplateDiagnostic(templateId, this.resolver.getSourceMapping(templateId), element.startSourceSpan, ts19.DiagnosticCategory.Error, ngErrorCode(ErrorCode.MISSING_REQUIRED_INPUTS), message));
2954
+ }
2951
2955
  };
2952
2956
  function makeInlineDiagnostic(templateId, code, node, messageText, relatedInformation) {
2953
2957
  return {
@@ -2957,7 +2961,7 @@ function makeInlineDiagnostic(templateId, code, node, messageText, relatedInform
2957
2961
  };
2958
2962
  }
2959
2963
 
2960
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2964
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2961
2965
  import ts20 from "typescript";
2962
2966
  var TypeCheckShimGenerator = class {
2963
2967
  constructor() {
@@ -2975,11 +2979,11 @@ var TypeCheckShimGenerator = class {
2975
2979
  }
2976
2980
  };
2977
2981
 
2978
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2982
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2979
2983
  import { BindingPipe, Call as Call2, DYNAMIC_TYPE, ImplicitReceiver as ImplicitReceiver4, PropertyRead as PropertyRead4, PropertyWrite as PropertyWrite3, SafeCall, SafePropertyRead as SafePropertyRead3, ThisReceiver, TmplAstBoundAttribute, TmplAstBoundText, TmplAstElement as TmplAstElement3, TmplAstIcu, TmplAstReference as TmplAstReference3, TmplAstTemplate as TmplAstTemplate2, TmplAstTextAttribute as TmplAstTextAttribute2, TmplAstVariable as TmplAstVariable2 } from "@angular/compiler";
2980
2984
  import ts23 from "typescript";
2981
2985
 
2982
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2986
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2983
2987
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
2984
2988
  import ts21 from "typescript";
2985
2989
  function wrapForDiagnostics(expr) {
@@ -3025,7 +3029,7 @@ function translateDiagnostic(diagnostic, resolver) {
3025
3029
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3026
3030
  }
3027
3031
 
3028
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3032
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3029
3033
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3030
3034
  import ts22 from "typescript";
3031
3035
  var NULL_AS_ANY = ts22.factory.createAsExpression(ts22.factory.createNull(), ts22.factory.createKeywordTypeNode(ts22.SyntaxKind.AnyKeyword));
@@ -3355,7 +3359,7 @@ var VeSafeLhsInferenceBugDetector = class {
3355
3359
  };
3356
3360
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3357
3361
 
3358
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3362
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3359
3363
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3360
3364
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3361
3365
  constructor(templateId, boundTarget, oob) {
@@ -3379,7 +3383,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3379
3383
  }
3380
3384
  };
3381
3385
 
3382
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3386
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3383
3387
  var TcbGenericContextBehavior;
3384
3388
  (function(TcbGenericContextBehavior2) {
3385
3389
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -3683,22 +3687,17 @@ var TcbDirectiveCtorOp = class extends TcbOp {
3683
3687
  addExpressionIdentifier(id, ExpressionIdentifier.DIRECTIVE);
3684
3688
  addParseSpanInfo(id, this.node.startSourceSpan || this.node.sourceSpan);
3685
3689
  const genericInputs = /* @__PURE__ */ new Map();
3686
- const inputs = getBoundInputs(this.dir, this.node, this.tcb);
3687
- for (const input of inputs) {
3688
- if (!this.tcb.env.config.checkTypeOfAttributes && input.attribute instanceof TmplAstTextAttribute2) {
3690
+ const boundAttrs = getBoundAttributes(this.dir, this.node);
3691
+ for (const attr of boundAttrs) {
3692
+ if (!this.tcb.env.config.checkTypeOfAttributes && attr.attribute instanceof TmplAstTextAttribute2) {
3689
3693
  continue;
3690
3694
  }
3691
- for (const fieldName of input.fieldNames) {
3695
+ for (const { fieldName } of attr.inputs) {
3692
3696
  if (genericInputs.has(fieldName)) {
3693
3697
  continue;
3694
3698
  }
3695
- const expression = translateInput(input.attribute, this.tcb, this.scope);
3696
- genericInputs.set(fieldName, {
3697
- type: "binding",
3698
- field: fieldName,
3699
- expression,
3700
- sourceSpan: input.attribute.sourceSpan
3701
- });
3699
+ const expression = translateInput(attr.attribute, this.tcb, this.scope);
3700
+ genericInputs.set(fieldName, { type: "binding", field: fieldName, expression, sourceSpan: attr.attribute.sourceSpan });
3702
3701
  }
3703
3702
  }
3704
3703
  for (const { classPropertyName } of this.dir.inputs) {
@@ -3728,12 +3727,16 @@ var TcbDirectiveInputsOp = class extends TcbOp {
3728
3727
  }
3729
3728
  execute() {
3730
3729
  let dirId = null;
3731
- const inputs = getBoundInputs(this.dir, this.node, this.tcb);
3732
- for (const input of inputs) {
3733
- const expr = widenBinding(translateInput(input.attribute, this.tcb, this.scope), this.tcb);
3730
+ const boundAttrs = getBoundAttributes(this.dir, this.node);
3731
+ const seenRequiredInputs = /* @__PURE__ */ new Set();
3732
+ for (const attr of boundAttrs) {
3733
+ const expr = widenBinding(translateInput(attr.attribute, this.tcb, this.scope), this.tcb);
3734
3734
  let assignment = wrapForDiagnostics(expr);
3735
- for (const fieldName of input.fieldNames) {
3735
+ for (const { fieldName, required } of attr.inputs) {
3736
3736
  let target;
3737
+ if (required) {
3738
+ seenRequiredInputs.add(fieldName);
3739
+ }
3737
3740
  if (this.dir.coercedInputFields.has(fieldName)) {
3738
3741
  const dirTypeRef = this.tcb.env.referenceType(this.dir.ref);
3739
3742
  if (!ts23.isTypeReferenceNode(dirTypeRef)) {
@@ -3764,19 +3767,31 @@ var TcbDirectiveInputsOp = class extends TcbOp {
3764
3767
  }
3765
3768
  target = this.dir.stringLiteralInputFields.has(fieldName) ? ts23.factory.createElementAccessExpression(dirId, ts23.factory.createStringLiteral(fieldName)) : ts23.factory.createPropertyAccessExpression(dirId, ts23.factory.createIdentifier(fieldName));
3766
3769
  }
3767
- if (input.attribute.keySpan !== void 0) {
3768
- addParseSpanInfo(target, input.attribute.keySpan);
3770
+ if (attr.attribute.keySpan !== void 0) {
3771
+ addParseSpanInfo(target, attr.attribute.keySpan);
3769
3772
  }
3770
3773
  assignment = ts23.factory.createBinaryExpression(target, ts23.SyntaxKind.EqualsToken, assignment);
3771
3774
  }
3772
- addParseSpanInfo(assignment, input.attribute.sourceSpan);
3773
- if (!this.tcb.env.config.checkTypeOfAttributes && input.attribute instanceof TmplAstTextAttribute2) {
3775
+ addParseSpanInfo(assignment, attr.attribute.sourceSpan);
3776
+ if (!this.tcb.env.config.checkTypeOfAttributes && attr.attribute instanceof TmplAstTextAttribute2) {
3774
3777
  markIgnoreDiagnostics(assignment);
3775
3778
  }
3776
3779
  this.scope.addStatement(ts23.factory.createExpressionStatement(assignment));
3777
3780
  }
3781
+ this.checkRequiredInputs(seenRequiredInputs);
3778
3782
  return null;
3779
3783
  }
3784
+ checkRequiredInputs(seenRequiredInputs) {
3785
+ const missing = [];
3786
+ for (const input of this.dir.inputs) {
3787
+ if (input.required && !seenRequiredInputs.has(input.classPropertyName)) {
3788
+ missing.push(input.bindingPropertyName);
3789
+ }
3790
+ }
3791
+ if (missing.length > 0) {
3792
+ this.tcb.oobRecorder.missingRequiredInputs(this.tcb.id, this.node, this.dir.name, this.dir.isComponent, missing);
3793
+ }
3794
+ }
3780
3795
  };
3781
3796
  var TcbDirectiveCtorCircularFallbackOp = class extends TcbOp {
3782
3797
  constructor(tcb, scope, node, dir) {
@@ -4375,18 +4390,19 @@ function tcbCallTypeCtor(dir, tcb, inputs) {
4375
4390
  [ts23.factory.createObjectLiteralExpression(members)]
4376
4391
  );
4377
4392
  }
4378
- function getBoundInputs(directive, node, tcb) {
4393
+ function getBoundAttributes(directive, node) {
4379
4394
  const boundInputs = [];
4380
4395
  const processAttribute = (attr) => {
4381
4396
  if (attr instanceof TmplAstBoundAttribute && attr.type !== 0) {
4382
4397
  return;
4383
4398
  }
4384
4399
  const inputs = directive.inputs.getByBindingPropertyName(attr.name);
4385
- if (inputs === null) {
4386
- return;
4400
+ if (inputs !== null) {
4401
+ boundInputs.push({
4402
+ attribute: attr,
4403
+ inputs: inputs.map((input) => ({ fieldName: input.classPropertyName, required: input.required }))
4404
+ });
4387
4405
  }
4388
- const fieldNames = inputs.map((input) => input.classPropertyName);
4389
- boundInputs.push({ attribute: attr, fieldNames });
4390
4406
  };
4391
4407
  node.inputs.forEach(processAttribute);
4392
4408
  node.attributes.forEach(processAttribute);
@@ -4482,7 +4498,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4482
4498
  }
4483
4499
  };
4484
4500
 
4485
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4501
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4486
4502
  import ts24 from "typescript";
4487
4503
  var TypeCheckFile = class extends Environment {
4488
4504
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4518,7 +4534,7 @@ var TypeCheckFile = class extends Environment {
4518
4534
  }
4519
4535
  };
4520
4536
 
4521
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4537
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4522
4538
  var InliningMode;
4523
4539
  (function(InliningMode2) {
4524
4540
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -4756,10 +4772,10 @@ function splitStringAtPoints(str, points) {
4756
4772
  return splits;
4757
4773
  }
4758
4774
 
4759
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4775
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4760
4776
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
4761
4777
 
4762
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4778
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4763
4779
  var LF_CHAR = 10;
4764
4780
  var CR_CHAR = 13;
4765
4781
  var LINE_SEP_CHAR = 8232;
@@ -4800,7 +4816,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
4800
4816
  return low - 1;
4801
4817
  }
4802
4818
 
4803
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4819
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4804
4820
  var TemplateSource = class {
4805
4821
  constructor(mapping, file) {
4806
4822
  this.mapping = mapping;
@@ -4851,7 +4867,7 @@ var TemplateSourceManager = class {
4851
4867
  }
4852
4868
  };
4853
4869
 
4854
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4870
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4855
4871
  import { AST, ASTWithSource as ASTWithSource3, BindingPipe as BindingPipe2, PropertyRead as PropertyRead5, PropertyWrite as PropertyWrite4, SafePropertyRead as SafePropertyRead4, TmplAstBoundAttribute as TmplAstBoundAttribute2, TmplAstBoundEvent, TmplAstElement as TmplAstElement4, TmplAstReference as TmplAstReference4, TmplAstTemplate as TmplAstTemplate3, TmplAstTextAttribute as TmplAstTextAttribute3, TmplAstVariable as TmplAstVariable3 } from "@angular/compiler";
4856
4872
  import ts26 from "typescript";
4857
4873
  var SymbolBuilder = class {
@@ -5335,7 +5351,7 @@ function sourceSpanEqual(a, b) {
5335
5351
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5336
5352
  }
5337
5353
 
5338
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5354
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5339
5355
  var REGISTRY2 = new DomElementSchemaRegistry2();
5340
5356
  var TemplateTypeCheckerImpl = class {
5341
5357
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, metaReader, localMetaReader, ngModuleIndex, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -6029,10 +6045,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
6029
6045
  }
6030
6046
  };
6031
6047
 
6032
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6048
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6033
6049
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
6034
6050
 
6035
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
6051
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
6036
6052
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
6037
6053
  var TemplateCheckWithVisitor = class {
6038
6054
  run(ctx, component, template) {
@@ -6109,7 +6125,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
6109
6125
  }
6110
6126
  };
6111
6127
 
6112
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6128
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
6113
6129
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
6114
6130
  constructor() {
6115
6131
  super(...arguments);
@@ -6134,7 +6150,7 @@ var factory = {
6134
6150
  create: () => new InvalidBananaInBoxCheck()
6135
6151
  };
6136
6152
 
6137
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
6153
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.mjs
6138
6154
  import { TmplAstTemplate as TmplAstTemplate4 } from "@angular/compiler";
6139
6155
  var KNOWN_CONTROL_FLOW_DIRECTIVES = /* @__PURE__ */ new Map([
6140
6156
  ["ngIf", "NgIf"],
@@ -6179,7 +6195,7 @@ var factory2 = {
6179
6195
  }
6180
6196
  };
6181
6197
 
6182
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6198
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.mjs
6183
6199
  import { TmplAstTemplate as TmplAstTemplate5 } from "@angular/compiler";
6184
6200
  var MissingNgForOfLetCheck = class extends TemplateCheckWithVisitor {
6185
6201
  constructor() {
@@ -6212,7 +6228,7 @@ var factory3 = {
6212
6228
  create: () => new MissingNgForOfLetCheck()
6213
6229
  };
6214
6230
 
6215
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6231
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
6216
6232
  import { Binary } from "@angular/compiler";
6217
6233
  import ts27 from "typescript";
6218
6234
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6257,7 +6273,7 @@ var factory4 = {
6257
6273
  }
6258
6274
  };
6259
6275
 
6260
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6276
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.mjs
6261
6277
  import { SafeCall as SafeCall2, SafeKeyedRead as SafeKeyedRead2, SafePropertyRead as SafePropertyRead5 } from "@angular/compiler";
6262
6278
  import ts28 from "typescript";
6263
6279
  var OptionalChainNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -6303,7 +6319,7 @@ var factory5 = {
6303
6319
  }
6304
6320
  };
6305
6321
 
6306
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6322
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.mjs
6307
6323
  import { TmplAstBoundAttribute as TmplAstBoundAttribute3 } from "@angular/compiler";
6308
6324
  var STYLE_SUFFIXES = ["px", "%", "em"];
6309
6325
  var SuffixNotSupportedCheck = class extends TemplateCheckWithVisitor {
@@ -6327,7 +6343,7 @@ var factory6 = {
6327
6343
  create: () => new SuffixNotSupportedCheck()
6328
6344
  };
6329
6345
 
6330
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6346
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.mjs
6331
6347
  import { TmplAstTextAttribute as TmplAstTextAttribute4 } from "@angular/compiler";
6332
6348
  var TextAttributeNotBindingSpec = class extends TemplateCheckWithVisitor {
6333
6349
  constructor() {
@@ -6366,10 +6382,10 @@ var factory7 = {
6366
6382
  create: () => new TextAttributeNotBindingSpec()
6367
6383
  };
6368
6384
 
6369
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6385
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6370
6386
  import ts29 from "typescript";
6371
6387
 
6372
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6388
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
6373
6389
  var DiagnosticCategoryLabel;
6374
6390
  (function(DiagnosticCategoryLabel2) {
6375
6391
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -6377,7 +6393,7 @@ var DiagnosticCategoryLabel;
6377
6393
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
6378
6394
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
6379
6395
 
6380
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6396
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
6381
6397
  var ExtendedTemplateCheckerImpl = class {
6382
6398
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
6383
6399
  var _a, _b, _c, _d, _e;
@@ -6430,7 +6446,7 @@ function assertNever(value) {
6430
6446
  ${value}`);
6431
6447
  }
6432
6448
 
6433
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6449
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6434
6450
  var ALL_DIAGNOSTIC_FACTORIES = [
6435
6451
  factory,
6436
6452
  factory4,
@@ -6441,7 +6457,7 @@ var ALL_DIAGNOSTIC_FACTORIES = [
6441
6457
  factory6
6442
6458
  ];
6443
6459
 
6444
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6460
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6445
6461
  var CompilationTicketKind;
6446
6462
  (function(CompilationTicketKind2) {
6447
6463
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -7144,7 +7160,7 @@ function versionMapFromProgram(program, driver) {
7144
7160
  return versions;
7145
7161
  }
7146
7162
 
7147
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
7163
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
7148
7164
  import ts31 from "typescript";
7149
7165
  var DelegatingCompilerHost2 = class {
7150
7166
  constructor(delegate) {
@@ -7277,7 +7293,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
7277
7293
  }
7278
7294
  };
7279
7295
 
7280
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7296
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
7281
7297
  var NgtscProgram = class {
7282
7298
  constructor(rootNames, options, delegateHost, oldProgram) {
7283
7299
  this.options = options;
@@ -7495,15 +7511,15 @@ function mergeEmitResults(emitResults) {
7495
7511
  return { diagnostics, emitSkipped, emittedFiles };
7496
7512
  }
7497
7513
 
7498
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7514
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7499
7515
  function createProgram({ rootNames, options, host, oldProgram }) {
7500
7516
  return new NgtscProgram(rootNames, options, host, oldProgram);
7501
7517
  }
7502
7518
 
7503
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7519
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7504
7520
  import ts34 from "typescript";
7505
7521
 
7506
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7522
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7507
7523
  import ts33 from "typescript";
7508
7524
  function createMessageDiagnostic(messageText) {
7509
7525
  return {
@@ -7517,7 +7533,7 @@ function createMessageDiagnostic(messageText) {
7517
7533
  };
7518
7534
  }
7519
7535
 
7520
- // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7536
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7521
7537
  var defaultFormatHost = {
7522
7538
  getCurrentDirectory: () => ts34.sys.getCurrentDirectory(),
7523
7539
  getCanonicalFileName: (fileName) => fileName,
@@ -7731,4 +7747,4 @@ export {
7731
7747
  * Use of this source code is governed by an MIT-style license that can be
7732
7748
  * found in the LICENSE file at https://angular.io/license
7733
7749
  */
7734
- //# sourceMappingURL=chunk-OJ24Q4I3.js.map
7750
+ //# sourceMappingURL=chunk-J5XCN5DY.js.map