@angular/compiler-cli 14.0.4 → 14.0.7

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 (65) hide show
  1. package/bundles/{chunk-TV7VZNWL.js → chunk-4JF5LVDW.js} +9 -12
  2. package/bundles/chunk-4JF5LVDW.js.map +6 -0
  3. package/bundles/{chunk-UT3V7UNM.js → chunk-6BM4D47M.js} +122 -118
  4. package/bundles/chunk-6BM4D47M.js.map +6 -0
  5. package/bundles/{chunk-C2OTZTPY.js → chunk-ACDOC2V2.js} +26 -26
  6. package/bundles/chunk-ACDOC2V2.js.map +6 -0
  7. package/bundles/{chunk-LC26KH5A.js → chunk-ACXPVP2W.js} +5 -5
  8. package/bundles/chunk-ACXPVP2W.js.map +6 -0
  9. package/bundles/{chunk-GN23SRRJ.js → chunk-AFKKTW7O.js} +34 -37
  10. package/bundles/chunk-AFKKTW7O.js.map +6 -0
  11. package/bundles/{chunk-Z3OO24P2.js → chunk-BE3ASSIK.js} +46 -47
  12. package/bundles/chunk-BE3ASSIK.js.map +6 -0
  13. package/bundles/{chunk-BU7ESD7N.js → chunk-CBLZTTAI.js} +8 -12
  14. package/bundles/chunk-CBLZTTAI.js.map +6 -0
  15. package/bundles/{chunk-WH4QSABR.js → chunk-CYVTLM4Z.js} +8 -12
  16. package/bundles/chunk-CYVTLM4Z.js.map +6 -0
  17. package/bundles/{chunk-ZCDB56AX.js → chunk-E7NQQTT7.js} +3 -3
  18. package/bundles/{chunk-ZCDB56AX.js.map → chunk-E7NQQTT7.js.map} +1 -1
  19. package/bundles/{chunk-BRHP6XKM.js → chunk-FM6NPN5V.js} +4 -4
  20. package/bundles/{chunk-BRHP6XKM.js.map → chunk-FM6NPN5V.js.map} +0 -0
  21. package/bundles/{chunk-74GV6EUR.js → chunk-GVNR4VIJ.js} +145 -131
  22. package/bundles/chunk-GVNR4VIJ.js.map +6 -0
  23. package/bundles/{chunk-I5XLLSQO.js → chunk-MB7JU6C2.js} +80 -84
  24. package/bundles/chunk-MB7JU6C2.js.map +6 -0
  25. package/bundles/{chunk-5K2JLFXT.js → chunk-NFCN3OZI.js} +6 -6
  26. package/bundles/chunk-NFCN3OZI.js.map +6 -0
  27. package/bundles/{chunk-SJL5HBUW.js → chunk-R3C7RFJ4.js} +2 -2
  28. package/bundles/{chunk-SJL5HBUW.js.map → chunk-R3C7RFJ4.js.map} +0 -0
  29. package/bundles/{chunk-TD64C4QJ.js → chunk-TOKOIIBI.js} +8 -8
  30. package/bundles/chunk-TOKOIIBI.js.map +6 -0
  31. package/bundles/{chunk-GMSUYBZP.js → chunk-XYNRD7NE.js} +1 -33
  32. package/bundles/{chunk-GMSUYBZP.js.map → chunk-XYNRD7NE.js.map} +0 -0
  33. package/bundles/index.js +14 -16
  34. package/bundles/index.js.map +1 -1
  35. package/bundles/linker/babel/index.js +20 -24
  36. package/bundles/linker/babel/index.js.map +1 -1
  37. package/bundles/linker/index.js +5 -5
  38. package/bundles/ngcc/index.js +13 -13
  39. package/bundles/ngcc/main-ngcc.js +14 -14
  40. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -14
  41. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  42. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -5
  43. package/bundles/private/bazel.js +2 -2
  44. package/bundles/private/localize.js +4 -4
  45. package/bundles/private/migrations.js +6 -6
  46. package/bundles/private/tooling.js +3 -3
  47. package/bundles/src/bin/ng_xi18n.js +12 -15
  48. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  49. package/bundles/src/bin/ngc.js +9 -9
  50. package/bundles_metadata.json +1 -1
  51. package/ngcc/src/packages/build_marker.d.ts +1 -1
  52. package/package.json +2 -2
  53. package/src/ngtsc/typecheck/src/tcb_util.d.ts +1 -1
  54. package/bundles/chunk-5K2JLFXT.js.map +0 -6
  55. package/bundles/chunk-74GV6EUR.js.map +0 -6
  56. package/bundles/chunk-BU7ESD7N.js.map +0 -6
  57. package/bundles/chunk-C2OTZTPY.js.map +0 -6
  58. package/bundles/chunk-GN23SRRJ.js.map +0 -6
  59. package/bundles/chunk-I5XLLSQO.js.map +0 -6
  60. package/bundles/chunk-LC26KH5A.js.map +0 -6
  61. package/bundles/chunk-TD64C4QJ.js.map +0 -6
  62. package/bundles/chunk-TV7VZNWL.js.map +0 -6
  63. package/bundles/chunk-UT3V7UNM.js.map +0 -6
  64. package/bundles/chunk-WH4QSABR.js.map +0 -6
  65. package/bundles/chunk-Z3OO24P2.js.map +0 -6
@@ -30,11 +30,11 @@ import {
30
30
  aliasTransformFactory,
31
31
  declarationTransformFactory,
32
32
  ivyTransformFactory
33
- } from "./chunk-UT3V7UNM.js";
33
+ } from "./chunk-6BM4D47M.js";
34
34
  import {
35
35
  TypeScriptReflectionHost,
36
36
  isNamedClassDeclaration
37
- } from "./chunk-5K2JLFXT.js";
37
+ } from "./chunk-NFCN3OZI.js";
38
38
  import {
39
39
  AbsoluteModuleStrategy,
40
40
  AliasStrategy,
@@ -73,7 +73,7 @@ import {
73
73
  toUnredirectedSourceFile,
74
74
  translateExpression,
75
75
  translateType
76
- } from "./chunk-C2OTZTPY.js";
76
+ } from "./chunk-ACDOC2V2.js";
77
77
  import {
78
78
  LogicalFileSystem,
79
79
  absoluteFrom,
@@ -84,20 +84,16 @@ import {
84
84
  getSourceFileOrError,
85
85
  join,
86
86
  resolve
87
- } from "./chunk-TD64C4QJ.js";
87
+ } from "./chunk-TOKOIIBI.js";
88
88
  import {
89
89
  ActivePerfRecorder,
90
90
  DelegatingPerfRecorder,
91
91
  PerfCheckpoint,
92
92
  PerfEvent,
93
93
  PerfPhase
94
- } from "./chunk-LC26KH5A.js";
95
- import {
96
- __spreadProps,
97
- __spreadValues
98
- } from "./chunk-GMSUYBZP.js";
94
+ } from "./chunk-ACXPVP2W.js";
99
95
 
100
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
96
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/api.mjs
101
97
  var DEFAULT_ERROR_CODE = 100;
102
98
  var UNKNOWN_ERROR_CODE = 500;
103
99
  var SOURCE = "angular";
@@ -115,7 +111,7 @@ var EmitFlags;
115
111
  EmitFlags2[EmitFlags2["All"] = 31] = "All";
116
112
  })(EmitFlags || (EmitFlags = {}));
117
113
 
118
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
114
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/compiler_host.mjs
119
115
  import ts from "typescript";
120
116
  var wrapHostForTest = null;
121
117
  function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, true) }) {
@@ -125,21 +121,21 @@ function createCompilerHost({ options, tsHost = ts.createCompilerHost(options, t
125
121
  return tsHost;
126
122
  }
127
123
 
128
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
124
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/checker.mjs
129
125
  var OptimizeFor;
130
126
  (function(OptimizeFor2) {
131
127
  OptimizeFor2[OptimizeFor2["SingleFile"] = 0] = "SingleFile";
132
128
  OptimizeFor2[OptimizeFor2["WholeProgram"] = 1] = "WholeProgram";
133
129
  })(OptimizeFor || (OptimizeFor = {}));
134
130
 
135
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
131
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/completion.mjs
136
132
  var CompletionKind;
137
133
  (function(CompletionKind2) {
138
134
  CompletionKind2[CompletionKind2["Reference"] = 0] = "Reference";
139
135
  CompletionKind2[CompletionKind2["Variable"] = 1] = "Variable";
140
136
  })(CompletionKind || (CompletionKind = {}));
141
137
 
142
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
138
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/api/symbols.mjs
143
139
  var SymbolKind;
144
140
  (function(SymbolKind2) {
145
141
  SymbolKind2[SymbolKind2["Input"] = 0] = "Input";
@@ -155,11 +151,11 @@ var SymbolKind;
155
151
  SymbolKind2[SymbolKind2["Pipe"] = 10] = "Pipe";
156
152
  })(SymbolKind || (SymbolKind = {}));
157
153
 
158
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
154
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
159
155
  import { HtmlParser, MessageBundle } from "@angular/compiler";
160
156
  import ts33 from "typescript";
161
157
 
162
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
158
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/i18n.mjs
163
159
  import { Xliff, Xliff2, Xmb } from "@angular/compiler";
164
160
  import * as path from "path";
165
161
  function i18nGetExtension(formatName) {
@@ -210,10 +206,10 @@ function getPathNormalizer(basePath) {
210
206
  };
211
207
  }
212
208
 
213
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
209
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
214
210
  import ts2 from "typescript";
215
211
 
216
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
212
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/version_helpers.mjs
217
213
  function toNumbers(value) {
218
214
  const suffixIndex = value.lastIndexOf("-");
219
215
  return value.slice(0, suffixIndex === -1 ? value.length : suffixIndex).split(".").map((segment) => {
@@ -248,7 +244,7 @@ function compareVersions(v1, v2) {
248
244
  return compareNumbers(toNumbers(v1), toNumbers(v2));
249
245
  }
250
246
 
251
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
247
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/typescript_support.mjs
252
248
  var MIN_TS_VERSION = "4.6.2";
253
249
  var MAX_TS_VERSION = "4.8.0";
254
250
  var tsVersion = ts2.version;
@@ -261,10 +257,10 @@ function verifySupportedTypeScriptVersion() {
261
257
  checkVersion(tsVersion, MIN_TS_VERSION, MAX_TS_VERSION);
262
258
  }
263
259
 
264
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
260
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
265
261
  import ts31 from "typescript";
266
262
 
267
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
263
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/analyzer.mjs
268
264
  var CycleAnalyzer = class {
269
265
  constructor(importGraph) {
270
266
  this.importGraph = importGraph;
@@ -335,7 +331,7 @@ var Cycle = class {
335
331
  }
336
332
  };
337
333
 
338
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
334
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/cycles/src/imports.mjs
339
335
  import ts3 from "typescript";
340
336
  var ImportGraph = class {
341
337
  constructor(checker, perf) {
@@ -427,7 +423,7 @@ var Found = class {
427
423
  }
428
424
  };
429
425
 
430
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
426
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/generator.mjs
431
427
  import ts4 from "typescript";
432
428
  var FlatIndexGenerator = class {
433
429
  constructor(entryPoint, relativeFlatIndexPath, moduleName) {
@@ -452,7 +448,7 @@ export * from '${relativeEntryPoint}';
452
448
  }
453
449
  };
454
450
 
455
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
451
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/logic.mjs
456
452
  function findFlatIndexEntryPoint(rootFiles) {
457
453
  const tsFiles = rootFiles.filter((file) => isNonDeclarationTsPath(file));
458
454
  let resolvedEntryPoint = null;
@@ -468,7 +464,7 @@ function findFlatIndexEntryPoint(rootFiles) {
468
464
  return resolvedEntryPoint;
469
465
  }
470
466
 
471
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
467
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/private_export_checker.mjs
472
468
  import ts5 from "typescript";
473
469
  function checkForPrivateExports(entryPoint, checker, refGraph) {
474
470
  const diagnostics = [];
@@ -502,13 +498,13 @@ function checkForPrivateExports(entryPoint, checker, refGraph) {
502
498
  if (transitivePath !== null) {
503
499
  visibleVia = transitivePath.map((seg) => getNameOfDeclaration(seg)).join(" -> ");
504
500
  }
505
- const diagnostic = __spreadProps(__spreadValues({
501
+ const diagnostic = {
506
502
  category: ts5.DiagnosticCategory.Error,
507
503
  code: ngErrorCode(ErrorCode.SYMBOL_NOT_EXPORTED),
508
- file: transitiveReference.getSourceFile()
509
- }, getPosOfDeclaration(transitiveReference)), {
504
+ file: transitiveReference.getSourceFile(),
505
+ ...getPosOfDeclaration(transitiveReference),
510
506
  messageText: `Unsupported private ${descriptor} ${name}. This ${descriptor} is visible to consumers via ${visibleVia}, but is not exported from the top-level library entrypoint.`
511
- });
507
+ };
512
508
  diagnostics.push(diagnostic);
513
509
  }
514
510
  });
@@ -548,7 +544,7 @@ function getDescriptorOfDeclaration(decl) {
548
544
  }
549
545
  }
550
546
 
551
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
547
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/entry_point/src/reference_graph.mjs
552
548
  var ReferenceGraph = class {
553
549
  constructor() {
554
550
  this.references = /* @__PURE__ */ new Map();
@@ -602,7 +598,7 @@ var ReferenceGraph = class {
602
598
  }
603
599
  };
604
600
 
605
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
601
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/api.mjs
606
602
  var NgOriginalFile = Symbol("NgOriginalFile");
607
603
  var UpdateMode;
608
604
  (function(UpdateMode2) {
@@ -610,13 +606,13 @@ var UpdateMode;
610
606
  UpdateMode2[UpdateMode2["Incremental"] = 1] = "Incremental";
611
607
  })(UpdateMode || (UpdateMode = {}));
612
608
 
613
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
609
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
614
610
  import ts9 from "typescript";
615
611
 
616
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
612
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
617
613
  import ts6 from "typescript";
618
614
 
619
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
615
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/expando.mjs
620
616
  var NgExtension = Symbol("NgExtension");
621
617
  function isExtended(sf) {
622
618
  return sf[NgExtension] !== void 0;
@@ -676,7 +672,7 @@ function retagTsFile(sf) {
676
672
  }
677
673
  }
678
674
 
679
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
675
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/util.mjs
680
676
  var TS_EXTENSIONS = /\.tsx?$/i;
681
677
  function makeShimFileName(fileName, suffix) {
682
678
  return absoluteFrom(fileName.replace(TS_EXTENSIONS, suffix));
@@ -691,7 +687,7 @@ function generatedModuleName(originalModuleName, originalFileName, genSuffix) {
691
687
  return moduleName;
692
688
  }
693
689
 
694
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
690
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/adapter.mjs
695
691
  var ShimAdapter = class {
696
692
  constructor(delegate, tsRootFiles, topLevelGenerators, perFileGenerators, oldProgram) {
697
693
  this.delegate = delegate;
@@ -788,7 +784,7 @@ var ShimAdapter = class {
788
784
  }
789
785
  };
790
786
 
791
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
787
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/factory_generator.mjs
792
788
  import ts7 from "typescript";
793
789
  var TS_DTS_SUFFIX = /(\.d)?\.ts$/;
794
790
  var STRIP_NG_FACTORY = /(.*)NgFactory$/;
@@ -935,7 +931,7 @@ function updateInitializers(stmt, update) {
935
931
  return ts7.factory.updateVariableStatement(stmt, stmt.modifiers, ts7.factory.updateVariableDeclarationList(stmt.declarationList, stmt.declarationList.declarations.map((decl) => ts7.updateVariableDeclaration(decl, decl.name, decl.type, update(decl.initializer)))));
936
932
  }
937
933
 
938
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
934
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/reference_tagger.mjs
939
935
  var ShimReferenceTagger = class {
940
936
  constructor(shimExtensions) {
941
937
  this.tagged = /* @__PURE__ */ new Set();
@@ -969,7 +965,7 @@ var ShimReferenceTagger = class {
969
965
  }
970
966
  };
971
967
 
972
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
968
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/shims/src/summary_generator.mjs
973
969
  import ts8 from "typescript";
974
970
  var SummaryGenerator = class {
975
971
  constructor() {
@@ -1009,7 +1005,7 @@ function isExported2(decl) {
1009
1005
  return decl.modifiers !== void 0 && decl.modifiers.some((mod) => mod.kind == ts8.SyntaxKind.ExportKeyword);
1010
1006
  }
1011
1007
 
1012
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1008
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program_driver/src/ts_create_program_driver.mjs
1013
1009
  var DelegatingCompilerHost = class {
1014
1010
  constructor(delegate) {
1015
1011
  this.delegate = delegate;
@@ -1119,7 +1115,7 @@ var TsCreateProgramDriver = class {
1119
1115
  }
1120
1116
  };
1121
1117
 
1122
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1118
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/dependency_tracking.mjs
1123
1119
  var FileDependencyGraph = class {
1124
1120
  constructor() {
1125
1121
  this.nodes = /* @__PURE__ */ new Map();
@@ -1186,7 +1182,7 @@ function isLogicallyChanged(sf, node, changedTsPaths, deletedTsPaths, changedRes
1186
1182
  return false;
1187
1183
  }
1188
1184
 
1189
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1185
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/state.mjs
1190
1186
  var IncrementalStateKind;
1191
1187
  (function(IncrementalStateKind2) {
1192
1188
  IncrementalStateKind2[IncrementalStateKind2["Fresh"] = 0] = "Fresh";
@@ -1194,7 +1190,7 @@ var IncrementalStateKind;
1194
1190
  IncrementalStateKind2[IncrementalStateKind2["Analyzed"] = 2] = "Analyzed";
1195
1191
  })(IncrementalStateKind || (IncrementalStateKind = {}));
1196
1192
 
1197
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1193
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/incremental.mjs
1198
1194
  var PhaseKind;
1199
1195
  (function(PhaseKind2) {
1200
1196
  PhaseKind2[PhaseKind2["Analysis"] = 0] = "Analysis";
@@ -1395,7 +1391,7 @@ function toOriginalSourceFile(sf) {
1395
1391
  }
1396
1392
  }
1397
1393
 
1398
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1394
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/src/strategy.mjs
1399
1395
  var TrackedIncrementalBuildStrategy = class {
1400
1396
  constructor() {
1401
1397
  this.state = null;
@@ -1431,7 +1427,7 @@ var PatchedProgramIncrementalBuildStrategy = class {
1431
1427
  };
1432
1428
  var SYM_INCREMENTAL_STATE = Symbol("NgIncrementalState");
1433
1429
 
1434
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1430
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/api.mjs
1435
1431
  var IdentifierKind;
1436
1432
  (function(IdentifierKind2) {
1437
1433
  IdentifierKind2[IdentifierKind2["Property"] = 0] = "Property";
@@ -1449,7 +1445,7 @@ var AbsoluteSourceSpan = class {
1449
1445
  }
1450
1446
  };
1451
1447
 
1452
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1448
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/context.mjs
1453
1449
  var IndexingContext = class {
1454
1450
  constructor() {
1455
1451
  this.components = /* @__PURE__ */ new Set();
@@ -1459,10 +1455,10 @@ var IndexingContext = class {
1459
1455
  }
1460
1456
  };
1461
1457
 
1462
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1458
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1463
1459
  import { ParseSourceFile } from "@angular/compiler";
1464
1460
 
1465
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1461
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/template.mjs
1466
1462
  import { ASTWithSource, ImplicitReceiver, PropertyRead, PropertyWrite, RecursiveAstVisitor, TmplAstElement, TmplAstRecursiveVisitor, TmplAstReference, TmplAstTemplate } from "@angular/compiler";
1467
1463
  var ExpressionVisitor = class extends RecursiveAstVisitor {
1468
1464
  constructor(expressionStr, absoluteOffset, boundTemplate, targetToIdentifier) {
@@ -1699,7 +1695,7 @@ function getTemplateIdentifiers(boundTemplate) {
1699
1695
  return { identifiers: visitor.identifiers, errors: visitor.errors };
1700
1696
  }
1701
1697
 
1702
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1698
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/indexer/src/transform.mjs
1703
1699
  function generateAnalysis(context) {
1704
1700
  const analysis = /* @__PURE__ */ new Map();
1705
1701
  context.components.forEach(({ declaration, selector, boundTemplate, templateMeta }) => {
@@ -1735,7 +1731,7 @@ function generateAnalysis(context) {
1735
1731
  return analysis;
1736
1732
  }
1737
1733
 
1738
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1734
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/resource/src/loader.mjs
1739
1735
  import ts10 from "typescript";
1740
1736
  var CSS_PREPROCESSOR_EXT = /(\.scss|\.sass|\.less|\.styl)$/;
1741
1737
  var RESOURCE_MARKER = ".$ngresource$";
@@ -1881,7 +1877,7 @@ function createLookupResolutionHost(adapter) {
1881
1877
  };
1882
1878
  }
1883
1879
 
1884
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1880
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/standalone.mjs
1885
1881
  var StandaloneComponentScopeReader = class {
1886
1882
  constructor(metaReader, localModuleReader, dtsModuleReader) {
1887
1883
  this.metaReader = metaReader;
@@ -1909,19 +1905,19 @@ var StandaloneComponentScopeReader = class {
1909
1905
  seen.add(ref.node);
1910
1906
  const dirMeta = this.metaReader.getDirectiveMetadata(ref);
1911
1907
  if (dirMeta !== null) {
1912
- dependencies.add(__spreadProps(__spreadValues({}, dirMeta), { ref }));
1908
+ dependencies.add({ ...dirMeta, ref });
1913
1909
  isPoisoned = isPoisoned || dirMeta.isPoisoned || !dirMeta.isStandalone;
1914
1910
  continue;
1915
1911
  }
1916
1912
  const pipeMeta = this.metaReader.getPipeMetadata(ref);
1917
1913
  if (pipeMeta !== null) {
1918
- dependencies.add(__spreadProps(__spreadValues({}, pipeMeta), { ref }));
1914
+ dependencies.add({ ...pipeMeta, ref });
1919
1915
  isPoisoned = isPoisoned || !pipeMeta.isStandalone;
1920
1916
  continue;
1921
1917
  }
1922
1918
  const ngModuleMeta = this.metaReader.getNgModuleMetadata(ref);
1923
1919
  if (ngModuleMeta !== null) {
1924
- dependencies.add(__spreadProps(__spreadValues({}, ngModuleMeta), { ref }));
1920
+ dependencies.add({ ...ngModuleMeta, ref });
1925
1921
  let ngModuleScope;
1926
1922
  if (ref.node.getSourceFile().isDeclarationFile) {
1927
1923
  ngModuleScope = this.dtsModuleReader.resolve(ref);
@@ -1959,10 +1955,10 @@ var StandaloneComponentScopeReader = class {
1959
1955
  }
1960
1956
  };
1961
1957
 
1962
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1958
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
1963
1959
  import { CssSelector, DomElementSchemaRegistry as DomElementSchemaRegistry2 } from "@angular/compiler";
1964
1960
 
1965
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1961
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/diagnostic.mjs
1966
1962
  import ts11 from "typescript";
1967
1963
  function makeTemplateDiagnostic(templateId, mapping, span, category, code, messageText, relatedMessages) {
1968
1964
  if (mapping.type === "direct") {
@@ -2035,7 +2031,7 @@ function makeTemplateDiagnostic(templateId, mapping, span, category, code, messa
2035
2031
  }
2036
2032
  }
2037
2033
 
2038
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2034
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/diagnostics/src/id.mjs
2039
2035
  var TEMPLATE_ID = Symbol("ngTemplateId");
2040
2036
  var NEXT_TEMPLATE_ID = Symbol("ngNextTemplateId");
2041
2037
  function getTemplateId(clazz) {
@@ -2052,11 +2048,11 @@ function allocateTemplateId(sf) {
2052
2048
  return `tcb${sf[NEXT_TEMPLATE_ID]++}`;
2053
2049
  }
2054
2050
 
2055
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2051
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2056
2052
  import { EmptyExpr, ImplicitReceiver as ImplicitReceiver2, PropertyRead as PropertyRead2, PropertyWrite as PropertyWrite2, SafePropertyRead, TmplAstReference as TmplAstReference2, TmplAstTextAttribute } from "@angular/compiler";
2057
2053
  import ts13 from "typescript";
2058
2054
 
2059
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2055
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/comments.mjs
2060
2056
  import { AbsoluteSourceSpan as AbsoluteSourceSpan2 } from "@angular/compiler";
2061
2057
  import ts12 from "typescript";
2062
2058
  var parseSpanComment = /^(\d+),(\d+)$/;
@@ -2176,7 +2172,7 @@ function hasExpressionIdentifier(sourceFile, node, identifier) {
2176
2172
  }) || false;
2177
2173
  }
2178
2174
 
2179
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2175
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/completion.mjs
2180
2176
  var CompletionEngine = class {
2181
2177
  constructor(tcb, data, tcbPath, tcbIsShim) {
2182
2178
  this.tcb = tcb;
@@ -2333,10 +2329,10 @@ var CompletionEngine = class {
2333
2329
  }
2334
2330
  };
2335
2331
 
2336
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2332
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
2337
2333
  import ts27 from "typescript";
2338
2334
 
2339
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2335
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/dom.mjs
2340
2336
  import { DomElementSchemaRegistry } from "@angular/compiler";
2341
2337
  import ts14 from "typescript";
2342
2338
  var REGISTRY = new DomElementSchemaRegistry();
@@ -2389,11 +2385,11 @@ var RegistryDomSchemaChecker = class {
2389
2385
  }
2390
2386
  };
2391
2387
 
2392
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2388
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2393
2389
  import { ExpressionType, ExternalExpr, TypeModifier } from "@angular/compiler";
2394
2390
  import ts20 from "typescript";
2395
2391
 
2396
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2392
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/ts_util.mjs
2397
2393
  import ts15 from "typescript";
2398
2394
  var PARSED_TS_VERSION = parseFloat(ts15.versionMajorMinor);
2399
2395
  var SAFE_TO_CAST_WITHOUT_PARENS = /* @__PURE__ */ new Set([
@@ -2444,16 +2440,16 @@ function isAccessExpression(node) {
2444
2440
  return ts15.isPropertyAccessExpression(node) || ts15.isElementAccessExpression(node);
2445
2441
  }
2446
2442
 
2447
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2443
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2448
2444
  import ts19 from "typescript";
2449
2445
 
2450
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2446
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2451
2447
  import ts18 from "typescript";
2452
2448
 
2453
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2449
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2454
2450
  import ts17 from "typescript";
2455
2451
 
2456
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2452
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_emitter.mjs
2457
2453
  import ts16 from "typescript";
2458
2454
  var INELIGIBLE = {};
2459
2455
  function canEmitType(type, canEmit) {
@@ -2515,7 +2511,7 @@ var TypeEmitter = class {
2515
2511
  }
2516
2512
  };
2517
2513
 
2518
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2514
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_parameter_emitter.mjs
2519
2515
  var TypeParameterEmitter = class {
2520
2516
  constructor(typeParameters, reflector) {
2521
2517
  this.typeParameters = typeParameters;
@@ -2592,7 +2588,7 @@ var TypeParameterEmitter = class {
2592
2588
  }
2593
2589
  };
2594
2590
 
2595
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2591
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/tcb_util.mjs
2596
2592
  var TcbInliningRequirement;
2597
2593
  (function(TcbInliningRequirement2) {
2598
2594
  TcbInliningRequirement2[TcbInliningRequirement2["MustInline"] = 0] = "MustInline";
@@ -2604,7 +2600,7 @@ function requiresInlineTypeCheckBlock(ref, env, usedPipes, reflector) {
2604
2600
  return TcbInliningRequirement.MustInline;
2605
2601
  } else if (!checkIfGenericTypeBoundsCanBeEmitted(ref.node, reflector, env)) {
2606
2602
  return TcbInliningRequirement.ShouldInlineForGenericBounds;
2607
- } else if (Array.from(usedPipes.values()).some((pipeRef) => !env.canReferenceType(pipeRef))) {
2603
+ } else if (usedPipes.some((pipeRef) => !env.canReferenceType(pipeRef))) {
2608
2604
  return TcbInliningRequirement.MustInline;
2609
2605
  } else {
2610
2606
  return TcbInliningRequirement.None;
@@ -2672,7 +2668,7 @@ function checkIfGenericTypeBoundsCanBeEmitted(node, reflector, env) {
2672
2668
  return emitter.canEmit((ref) => env.canReferenceType(ref));
2673
2669
  }
2674
2670
 
2675
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2671
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_constructor.mjs
2676
2672
  function generateTypeCtorDeclarationFn(node, meta, nodeTypeRef, typeParams) {
2677
2673
  const rawTypeArgs = typeParams !== void 0 ? generateGenericArgs(typeParams) : void 0;
2678
2674
  const rawType = ts19.factory.createTypeReferenceNode(nodeTypeRef, rawTypeArgs);
@@ -2743,7 +2739,7 @@ function typeParametersWithDefaultTypes(params) {
2743
2739
  });
2744
2740
  }
2745
2741
 
2746
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2742
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/environment.mjs
2747
2743
  var Environment = class {
2748
2744
  constructor(config, importManager, refEmitter, reflector, contextFile) {
2749
2745
  this.config = config;
@@ -2835,7 +2831,7 @@ var Environment = class {
2835
2831
  }
2836
2832
  };
2837
2833
 
2838
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2834
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/oob.mjs
2839
2835
  import { TmplAstElement as TmplAstElement2 } from "@angular/compiler";
2840
2836
  import ts21 from "typescript";
2841
2837
  var OutOfBandDiagnosticRecorderImpl = class {
@@ -2961,13 +2957,14 @@ Consider enabling the 'strictTemplates' option in your tsconfig.json for better
2961
2957
  }
2962
2958
  };
2963
2959
  function makeInlineDiagnostic(templateId, code, node, messageText, relatedInformation) {
2964
- return __spreadProps(__spreadValues({}, makeDiagnostic(code, node, messageText, relatedInformation)), {
2960
+ return {
2961
+ ...makeDiagnostic(code, node, messageText, relatedInformation),
2965
2962
  componentFile: node.getSourceFile(),
2966
2963
  templateId
2967
- });
2964
+ };
2968
2965
  }
2969
2966
 
2970
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2967
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/shim.mjs
2971
2968
  import ts22 from "typescript";
2972
2969
  var TypeCheckShimGenerator = class {
2973
2970
  constructor() {
@@ -2985,11 +2982,11 @@ var TypeCheckShimGenerator = class {
2985
2982
  }
2986
2983
  };
2987
2984
 
2988
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2985
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
2989
2986
  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";
2990
2987
  import ts25 from "typescript";
2991
2988
 
2992
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2989
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/diagnostics.mjs
2993
2990
  import { AbsoluteSourceSpan as AbsoluteSourceSpan3 } from "@angular/compiler";
2994
2991
  import ts23 from "typescript";
2995
2992
  function wrapForDiagnostics(expr) {
@@ -3035,7 +3032,7 @@ function translateDiagnostic(diagnostic, resolver) {
3035
3032
  return makeTemplateDiagnostic(sourceLocation.id, templateSourceMapping, span, diagnostic.category, diagnostic.code, diagnostic.messageText);
3036
3033
  }
3037
3034
 
3038
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3035
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/expression.mjs
3039
3036
  import { ASTWithSource as ASTWithSource2, Call, EmptyExpr as EmptyExpr2, PropertyRead as PropertyRead3, SafeKeyedRead, SafePropertyRead as SafePropertyRead2 } from "@angular/compiler";
3040
3037
  import ts24 from "typescript";
3041
3038
  var NULL_AS_ANY = ts24.factory.createAsExpression(ts24.factory.createNull(), ts24.factory.createKeywordTypeNode(ts24.SyntaxKind.AnyKeyword));
@@ -3365,7 +3362,7 @@ var VeSafeLhsInferenceBugDetector = class {
3365
3362
  };
3366
3363
  VeSafeLhsInferenceBugDetector.SINGLETON = new VeSafeLhsInferenceBugDetector();
3367
3364
 
3368
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3365
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_semantics.mjs
3369
3366
  import { ImplicitReceiver as ImplicitReceiver3, RecursiveAstVisitor as RecursiveAstVisitor2, TmplAstVariable } from "@angular/compiler";
3370
3367
  var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3371
3368
  constructor(templateId, boundTarget, oob) {
@@ -3389,7 +3386,7 @@ var ExpressionSemanticVisitor = class extends RecursiveAstVisitor2 {
3389
3386
  }
3390
3387
  };
3391
3388
 
3392
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3389
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_block.mjs
3393
3390
  var TcbGenericContextBehavior;
3394
3391
  (function(TcbGenericContextBehavior2) {
3395
3392
  TcbGenericContextBehavior2[TcbGenericContextBehavior2["UseEmitter"] = 0] = "UseEmitter";
@@ -4440,7 +4437,7 @@ var TcbEventHandlerTranslator = class extends TcbExpressionTranslator {
4440
4437
  }
4441
4438
  };
4442
4439
 
4443
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4440
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/type_check_file.mjs
4444
4441
  import ts26 from "typescript";
4445
4442
  var TypeCheckFile = class extends Environment {
4446
4443
  constructor(fileName, config, refEmitter, reflector, compilerHost) {
@@ -4476,7 +4473,7 @@ var TypeCheckFile = class extends Environment {
4476
4473
  }
4477
4474
  };
4478
4475
 
4479
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4476
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/context.mjs
4480
4477
  var InliningMode;
4481
4478
  (function(InliningMode2) {
4482
4479
  InliningMode2[InliningMode2["InlineOps"] = 0] = "InlineOps";
@@ -4534,7 +4531,14 @@ var TypeCheckContextImpl = class {
4534
4531
  boundTarget,
4535
4532
  templateDiagnostics
4536
4533
  });
4537
- const inliningRequirement = requiresInlineTypeCheckBlock(ref, shimData.file, pipes, this.reflector);
4534
+ const usedPipes = [];
4535
+ for (const name of boundTarget.getUsedPipes()) {
4536
+ if (!pipes.has(name)) {
4537
+ continue;
4538
+ }
4539
+ usedPipes.push(pipes.get(name));
4540
+ }
4541
+ const inliningRequirement = requiresInlineTypeCheckBlock(ref, shimData.file, usedPipes, this.reflector);
4538
4542
  if (this.inlining === InliningMode.Error && inliningRequirement === TcbInliningRequirement.MustInline) {
4539
4543
  shimData.oobRecorder.requiresInlineTcb(templateId, ref.node);
4540
4544
  this.perf.eventCount(PerfEvent.SkipGenerateTcbNoInline);
@@ -4707,10 +4711,10 @@ function splitStringAtPoints(str, points) {
4707
4711
  return splits;
4708
4712
  }
4709
4713
 
4710
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4714
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4711
4715
  import { ParseLocation, ParseSourceSpan } from "@angular/compiler";
4712
4716
 
4713
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4717
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/line_mappings.mjs
4714
4718
  var LF_CHAR = 10;
4715
4719
  var CR_CHAR = 13;
4716
4720
  var LINE_SEP_CHAR = 8232;
@@ -4751,7 +4755,7 @@ function findClosestLineStartPosition(linesMap, position, low = 0, high = linesM
4751
4755
  return low - 1;
4752
4756
  }
4753
4757
 
4754
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4758
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/source.mjs
4755
4759
  var TemplateSource = class {
4756
4760
  constructor(mapping, file) {
4757
4761
  this.mapping = mapping;
@@ -4802,7 +4806,7 @@ var TemplateSourceManager = class {
4802
4806
  }
4803
4807
  };
4804
4808
 
4805
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4809
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/template_symbol_builder.mjs
4806
4810
  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";
4807
4811
  import ts28 from "typescript";
4808
4812
  var SymbolBuilder = class {
@@ -4857,11 +4861,12 @@ var SymbolBuilder = class {
4857
4861
  return null;
4858
4862
  }
4859
4863
  const directives = this.getDirectivesOfNode(element);
4860
- return __spreadProps(__spreadValues({}, symbolFromDeclaration), {
4864
+ return {
4865
+ ...symbolFromDeclaration,
4861
4866
  kind: SymbolKind.Element,
4862
4867
  directives,
4863
4868
  templateNode: element
4864
- });
4869
+ };
4865
4870
  }
4866
4871
  getDirectivesOfNode(element) {
4867
4872
  var _a;
@@ -4884,14 +4889,15 @@ var SymbolBuilder = class {
4884
4889
  return null;
4885
4890
  }
4886
4891
  const isComponent = (_a2 = meta.isComponent) != null ? _a2 : null;
4887
- const directiveSymbol = __spreadProps(__spreadValues({}, symbol), {
4892
+ const directiveSymbol = {
4893
+ ...symbol,
4888
4894
  tsSymbol: symbol.tsSymbol,
4889
4895
  selector: meta.selector,
4890
4896
  isComponent,
4891
4897
  ngModule,
4892
4898
  kind: SymbolKind.Directive,
4893
4899
  isStructural: meta.isStructural
4894
- });
4900
+ };
4895
4901
  return directiveSymbol;
4896
4902
  }).filter((d) => d !== null);
4897
4903
  }
@@ -5028,11 +5034,12 @@ var SymbolBuilder = class {
5028
5034
  if (target === null) {
5029
5035
  continue;
5030
5036
  }
5031
- bindings.push(__spreadProps(__spreadValues({}, symbolInfo), {
5037
+ bindings.push({
5038
+ ...symbolInfo,
5032
5039
  tsSymbol: symbolInfo.tsSymbol,
5033
5040
  kind: SymbolKind.Binding,
5034
5041
  target
5035
- }));
5042
+ });
5036
5043
  }
5037
5044
  if (bindings.length === 0) {
5038
5045
  return null;
@@ -5149,13 +5156,14 @@ var SymbolBuilder = class {
5149
5156
  if (symbolInfo === null) {
5150
5157
  return null;
5151
5158
  }
5152
- return __spreadProps(__spreadValues({
5153
- kind: SymbolKind.Pipe
5154
- }, symbolInfo), {
5155
- classSymbol: __spreadProps(__spreadValues({}, pipeInstance), {
5159
+ return {
5160
+ kind: SymbolKind.Pipe,
5161
+ ...symbolInfo,
5162
+ classSymbol: {
5163
+ ...pipeInstance,
5156
5164
  tsSymbol: pipeInstance.tsSymbol
5157
- })
5158
- });
5165
+ }
5166
+ };
5159
5167
  }
5160
5168
  getSymbolOfTemplateExpression(expression) {
5161
5169
  if (expression instanceof ASTWithSource3) {
@@ -5187,13 +5195,14 @@ var SymbolBuilder = class {
5187
5195
  if (whenTrueSymbol === null) {
5188
5196
  return null;
5189
5197
  }
5190
- return __spreadProps(__spreadValues({}, whenTrueSymbol), {
5198
+ return {
5199
+ ...whenTrueSymbol,
5191
5200
  kind: SymbolKind.Expression,
5192
5201
  tsType: this.getTypeChecker().getTypeAtLocation(node)
5193
- });
5202
+ };
5194
5203
  } else {
5195
5204
  const symbolInfo = this.getSymbolOfTsNode(node);
5196
- return symbolInfo === null ? null : __spreadProps(__spreadValues({}, symbolInfo), { kind: SymbolKind.Expression });
5205
+ return symbolInfo === null ? null : { ...symbolInfo, kind: SymbolKind.Expression };
5197
5206
  }
5198
5207
  }
5199
5208
  getSymbolOfTsNode(node) {
@@ -5242,7 +5251,7 @@ function sourceSpanEqual(a, b) {
5242
5251
  return a.start.offset === b.start.offset && a.end.offset === b.end.offset;
5243
5252
  }
5244
5253
 
5245
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5254
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/src/checker.mjs
5246
5255
  var REGISTRY2 = new DomElementSchemaRegistry2();
5247
5256
  var TemplateTypeCheckerImpl = class {
5248
5257
  constructor(originalProgram, programDriver, typeCheckAdapter, config, refEmitter, reflector, compilerHost, priorBuild, componentScopeReader, typeCheckScopeRegistry, perf) {
@@ -5442,9 +5451,10 @@ var TemplateTypeCheckerImpl = class {
5442
5451
  const fileRecord = this.state.get(sfPath);
5443
5452
  const templateId = fileRecord.sourceManager.getTemplateId(clazz);
5444
5453
  const mapping = fileRecord.sourceManager.getSourceMapping(templateId);
5445
- return __spreadProps(__spreadValues({}, makeTemplateDiagnostic(templateId, mapping, sourceSpan, category, ngErrorCode(errorCode), message, relatedInformation)), {
5454
+ return {
5455
+ ...makeTemplateDiagnostic(templateId, mapping, sourceSpan, category, ngErrorCode(errorCode), message, relatedInformation),
5446
5456
  __ngCode: errorCode
5447
- });
5457
+ };
5448
5458
  }
5449
5459
  getOrCreateCompletionEngine(component) {
5450
5460
  if (this.completionCache.has(component)) {
@@ -5778,10 +5788,10 @@ var SingleShimTypeCheckingHost = class extends SingleFileTypeCheckingHost {
5778
5788
  }
5779
5789
  };
5780
5790
 
5781
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5791
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5782
5792
  import { TmplAstBoundEvent as TmplAstBoundEvent2 } from "@angular/compiler";
5783
5793
 
5784
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5794
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/api/api.mjs
5785
5795
  import { ASTWithSource as ASTWithSource4, RecursiveAstVisitor as RecursiveAstVisitor3 } from "@angular/compiler";
5786
5796
  var TemplateCheckWithVisitor = class {
5787
5797
  run(ctx, component, template) {
@@ -5858,7 +5868,7 @@ var TemplateVisitor2 = class extends RecursiveAstVisitor3 {
5858
5868
  }
5859
5869
  };
5860
5870
 
5861
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5871
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.mjs
5862
5872
  var InvalidBananaInBoxCheck = class extends TemplateCheckWithVisitor {
5863
5873
  constructor() {
5864
5874
  super(...arguments);
@@ -5883,7 +5893,7 @@ var factory = {
5883
5893
  create: () => new InvalidBananaInBoxCheck()
5884
5894
  };
5885
5895
 
5886
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
5896
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.mjs
5887
5897
  import { Binary } from "@angular/compiler";
5888
5898
  import ts29 from "typescript";
5889
5899
  var NullishCoalescingNotNullableCheck = class extends TemplateCheckWithVisitor {
@@ -5928,10 +5938,10 @@ var factory2 = {
5928
5938
  }
5929
5939
  };
5930
5940
 
5931
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
5941
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
5932
5942
  import ts30 from "typescript";
5933
5943
 
5934
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
5944
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/api/src/public_options.mjs
5935
5945
  var DiagnosticCategoryLabel;
5936
5946
  (function(DiagnosticCategoryLabel2) {
5937
5947
  DiagnosticCategoryLabel2["Warning"] = "warning";
@@ -5939,7 +5949,7 @@ var DiagnosticCategoryLabel;
5939
5949
  DiagnosticCategoryLabel2["Suppress"] = "suppress";
5940
5950
  })(DiagnosticCategoryLabel || (DiagnosticCategoryLabel = {}));
5941
5951
 
5942
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
5952
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/src/extended_template_checker.mjs
5943
5953
  var ExtendedTemplateCheckerImpl = class {
5944
5954
  constructor(templateTypeChecker, typeChecker, templateCheckFactories, options) {
5945
5955
  var _a, _b, _c, _d, _e;
@@ -5964,11 +5974,12 @@ var ExtendedTemplateCheckerImpl = class {
5964
5974
  }
5965
5975
  const diagnostics = [];
5966
5976
  for (const [check, category] of this.templateChecks.entries()) {
5967
- const ctx = __spreadProps(__spreadValues({}, this.partialCtx), {
5977
+ const ctx = {
5978
+ ...this.partialCtx,
5968
5979
  makeTemplateDiagnostic: (span, message, relatedInformation) => {
5969
5980
  return this.partialCtx.templateTypeChecker.makeTemplateDiagnostic(component, span, category, check.code, message, relatedInformation);
5970
5981
  }
5971
- });
5982
+ };
5972
5983
  diagnostics.push(...check.run(ctx, component, template));
5973
5984
  }
5974
5985
  return diagnostics;
@@ -5991,13 +6002,13 @@ function assertNever(value) {
5991
6002
  ${value}`);
5992
6003
  }
5993
6004
 
5994
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
6005
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/typecheck/extended/index.mjs
5995
6006
  var ALL_DIAGNOSTIC_FACTORIES = [
5996
6007
  factory,
5997
6008
  factory2
5998
6009
  ];
5999
6010
 
6000
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6011
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/compiler.mjs
6001
6012
  var CompilationTicketKind;
6002
6013
  (function(CompilationTicketKind2) {
6003
6014
  CompilationTicketKind2[CompilationTicketKind2["Fresh"] = 0] = "Fresh";
@@ -6171,9 +6182,10 @@ var NgCompiler = class {
6171
6182
  addMessageTextDetails(diagnostics) {
6172
6183
  return diagnostics.map((diag) => {
6173
6184
  if (diag.code && COMPILER_ERRORS_WITH_GUIDES.has(ngErrorCode(diag.code))) {
6174
- return __spreadProps(__spreadValues({}, diag), {
6185
+ return {
6186
+ ...diag,
6175
6187
  messageText: diag.messageText + `. Find more at ${ERROR_DETAILS_PAGE_BASE_URL}/NG${ngErrorCode(diag.code)}`
6176
- });
6188
+ };
6177
6189
  }
6178
6190
  return diag;
6179
6191
  });
@@ -6693,7 +6705,7 @@ function versionMapFromProgram(program, driver) {
6693
6705
  return versions;
6694
6706
  }
6695
6707
 
6696
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6708
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/core/src/host.mjs
6697
6709
  import ts32 from "typescript";
6698
6710
  var DelegatingCompilerHost2 = class {
6699
6711
  constructor(delegate) {
@@ -6837,7 +6849,7 @@ var NgCompilerHost = class extends DelegatingCompilerHost2 {
6837
6849
  }
6838
6850
  };
6839
6851
 
6840
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
6852
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/program.mjs
6841
6853
  var NgtscProgram = class {
6842
6854
  constructor(rootNames, options, delegateHost, oldProgram) {
6843
6855
  this.options = options;
@@ -7046,15 +7058,15 @@ function mergeEmitResults(emitResults) {
7046
7058
  return { diagnostics, emitSkipped, emittedFiles };
7047
7059
  }
7048
7060
 
7049
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7061
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/program.mjs
7050
7062
  function createProgram({ rootNames, options, host, oldProgram }) {
7051
7063
  return new NgtscProgram(rootNames, options, host, oldProgram);
7052
7064
  }
7053
7065
 
7054
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7066
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7055
7067
  import ts35 from "typescript";
7056
7068
 
7057
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7069
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/transformers/util.mjs
7058
7070
  import ts34 from "typescript";
7059
7071
  var GENERATED_FILES = /(.*?)\.(ngfactory|shim\.ngstyle|ngstyle|ngsummary)\.(js|d\.ts|ts)$/;
7060
7072
  function createMessageDiagnostic(messageText) {
@@ -7069,7 +7081,7 @@ function createMessageDiagnostic(messageText) {
7069
7081
  };
7070
7082
  }
7071
7083
 
7072
- // bazel-out/darwin-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7084
+ // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/perform_compile.mjs
7073
7085
  var defaultFormatHost = {
7074
7086
  getCurrentDirectory: () => ts35.sys.getCurrentDirectory(),
7075
7087
  getCanonicalFileName: (fileName) => fileName,
@@ -7100,7 +7112,7 @@ function readConfiguration(project, existingOptions, host = getFileSystem()) {
7100
7112
  if (error2) {
7101
7113
  return parentOptions;
7102
7114
  }
7103
- const existingNgCompilerOptions = __spreadValues(__spreadValues({}, config2.angularCompilerOptions), parentOptions);
7115
+ const existingNgCompilerOptions = { ...config2.angularCompilerOptions, ...parentOptions };
7104
7116
  if (config2.extends && typeof config2.extends === "string") {
7105
7117
  const extendedConfigPath = getExtendedConfigPath(configFile, config2.extends, host, fs);
7106
7118
  if (extendedConfigPath !== null) {
@@ -7121,10 +7133,12 @@ function readConfiguration(project, existingOptions, host = getFileSystem()) {
7121
7133
  emitFlags: EmitFlags.Default
7122
7134
  };
7123
7135
  }
7124
- const existingCompilerOptions = __spreadValues(__spreadValues({
7136
+ const existingCompilerOptions = {
7125
7137
  genDir: basePath,
7126
- basePath
7127
- }, readAngularCompilerOptions(configFileName)), existingOptions);
7138
+ basePath,
7139
+ ...readAngularCompilerOptions(configFileName),
7140
+ ...existingOptions
7141
+ };
7128
7142
  const parseConfigHost = createParseConfigHost(host, fs);
7129
7143
  const { options, errors, fileNames: rootNames, projectReferences } = ts35.parseJsonConfigFileContent(config, parseConfigHost, basePath, existingCompilerOptions, configFileName);
7130
7144
  options.enableIvy = !!((_a = options.enableIvy) != null ? _a : true);
@@ -7282,4 +7296,4 @@ export {
7282
7296
  * found in the LICENSE file at https://angular.io/license
7283
7297
  */
7284
7298
  // Closure Compiler ignores @suppress and similar if the comment contains @license.
7285
- //# sourceMappingURL=chunk-74GV6EUR.js.map
7299
+ //# sourceMappingURL=chunk-GVNR4VIJ.js.map