@angular/compiler-cli 15.1.0-next.2 → 15.1.0-rc.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (439) hide show
  1. package/bundles/{chunk-PPMCRK4H.js → chunk-2BYULPLE.js} +72 -76
  2. package/bundles/chunk-2BYULPLE.js.map +6 -0
  3. package/bundles/{chunk-BGOUKBDI.js → chunk-64X67E3N.js} +31 -32
  4. package/bundles/chunk-64X67E3N.js.map +6 -0
  5. package/bundles/{chunk-TTNJEW7O.js → chunk-6ZJFIQBG.js} +8 -9
  6. package/bundles/chunk-6ZJFIQBG.js.map +6 -0
  7. package/bundles/{chunk-DLVFMDSC.js → chunk-7DUI3BSX.js} +2 -3
  8. package/bundles/chunk-7DUI3BSX.js.map +6 -0
  9. package/bundles/{chunk-E7DPJFUS.js → chunk-EC5K6QPP.js} +10 -11
  10. package/bundles/chunk-EC5K6QPP.js.map +6 -0
  11. package/bundles/{chunk-ONRVYLCK.js → chunk-MK5G5BMU.js} +106 -112
  12. package/bundles/chunk-MK5G5BMU.js.map +6 -0
  13. package/bundles/{chunk-MAF2KC4N.js → chunk-NJMZRTB6.js} +5 -6
  14. package/bundles/chunk-NJMZRTB6.js.map +6 -0
  15. package/bundles/{chunk-OHYTYUA4.js → chunk-O4JLZZWJ.js} +9 -14
  16. package/bundles/chunk-O4JLZZWJ.js.map +6 -0
  17. package/bundles/{chunk-Y6MBLTIR.js → chunk-Q6W3UCXI.js} +32 -34
  18. package/bundles/chunk-Q6W3UCXI.js.map +6 -0
  19. package/bundles/{chunk-KY7HVS6H.js → chunk-REWAYEN7.js} +114 -105
  20. package/bundles/chunk-REWAYEN7.js.map +6 -0
  21. package/bundles/{chunk-PPWXQG65.js → chunk-RYP5C6YC.js} +65 -65
  22. package/bundles/chunk-RYP5C6YC.js.map +6 -0
  23. package/bundles/{chunk-OFXSI6E3.js → chunk-SBDNBITT.js} +3 -4
  24. package/bundles/chunk-SBDNBITT.js.map +6 -0
  25. package/bundles/{chunk-NDREJTCS.js → chunk-SRFZMXHZ.js} +1 -2
  26. package/bundles/{chunk-NDREJTCS.js.map → chunk-SRFZMXHZ.js.map} +0 -0
  27. package/bundles/{chunk-4ENQEGGA.js → chunk-T4VR7YZM.js} +5 -6
  28. package/bundles/chunk-T4VR7YZM.js.map +6 -0
  29. package/bundles/{chunk-QVO57CDR.js → chunk-YRDMG3GM.js} +4 -5
  30. package/bundles/chunk-YRDMG3GM.js.map +6 -0
  31. package/bundles/{chunk-UN4WV3U4.js → chunk-Z534TW2O.js} +174 -138
  32. package/bundles/chunk-Z534TW2O.js.map +6 -0
  33. package/bundles/index.js +13 -15
  34. package/bundles/index.js.map +1 -1
  35. package/bundles/linker/babel/index.js +89 -99
  36. package/bundles/linker/babel/index.js.map +3 -3
  37. package/bundles/linker/index.js +5 -7
  38. package/bundles/ngcc/index.js +14 -17
  39. package/bundles/ngcc/index.js.map +1 -1
  40. package/bundles/ngcc/main-ngcc.js +14 -16
  41. package/bundles/ngcc/main-ngcc.js.map +1 -1
  42. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js +14 -16
  43. package/bundles/ngcc/src/execution/cluster/ngcc_cluster_worker.js.map +1 -1
  44. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js +5 -6
  45. package/bundles/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.js.map +1 -1
  46. package/bundles/private/bazel.js +2 -3
  47. package/bundles/private/localize.js +4 -5
  48. package/bundles/private/migrations.js +6 -8
  49. package/bundles/private/tooling.js +3 -5
  50. package/bundles/src/bin/ng_xi18n.js +11 -13
  51. package/bundles/src/bin/ng_xi18n.js.map +1 -1
  52. package/bundles/src/bin/ngc.js +9 -11
  53. package/bundles/src/bin/ngc.js.map +1 -1
  54. package/bundles_metadata.json +1 -1
  55. package/index.d.ts +0 -1
  56. package/linker/babel/index.d.ts +0 -1
  57. package/linker/babel/src/ast/babel_ast_factory.d.ts +8 -2
  58. package/linker/babel/src/ast/babel_ast_host.d.ts +1 -2
  59. package/linker/babel/src/babel_declaration_scope.d.ts +1 -2
  60. package/linker/babel/src/babel_plugin.d.ts +8 -2
  61. package/linker/babel/src/es2015_linker_plugin.d.ts +1 -2
  62. package/linker/babel/src/linker_plugin_options.d.ts +0 -1
  63. package/linker/index.d.ts +0 -1
  64. package/linker/src/ast/ast_host.d.ts +0 -1
  65. package/linker/src/ast/ast_value.d.ts +0 -1
  66. package/linker/src/ast/typescript/typescript_ast_host.d.ts +0 -1
  67. package/linker/src/ast/utils.d.ts +0 -1
  68. package/linker/src/fatal_linker_error.d.ts +0 -1
  69. package/linker/src/file_linker/declaration_scope.d.ts +0 -1
  70. package/linker/src/file_linker/emit_scopes/emit_scope.d.ts +0 -1
  71. package/linker/src/file_linker/emit_scopes/local_emit_scope.d.ts +0 -1
  72. package/linker/src/file_linker/file_linker.d.ts +0 -1
  73. package/linker/src/file_linker/get_source_file.d.ts +0 -1
  74. package/linker/src/file_linker/linker_environment.d.ts +0 -1
  75. package/linker/src/file_linker/linker_options.d.ts +0 -1
  76. package/linker/src/file_linker/needs_linking.d.ts +0 -1
  77. package/linker/src/file_linker/partial_linkers/partial_class_metadata_linker_1.d.ts +0 -1
  78. package/linker/src/file_linker/partial_linkers/partial_component_linker_1.d.ts +0 -1
  79. package/linker/src/file_linker/partial_linkers/partial_directive_linker_1.d.ts +0 -1
  80. package/linker/src/file_linker/partial_linkers/partial_factory_linker_1.d.ts +0 -1
  81. package/linker/src/file_linker/partial_linkers/partial_injectable_linker_1.d.ts +0 -1
  82. package/linker/src/file_linker/partial_linkers/partial_injector_linker_1.d.ts +0 -1
  83. package/linker/src/file_linker/partial_linkers/partial_linker.d.ts +0 -1
  84. package/linker/src/file_linker/partial_linkers/partial_linker_selector.d.ts +0 -1
  85. package/linker/src/file_linker/partial_linkers/partial_ng_module_linker_1.d.ts +0 -1
  86. package/linker/src/file_linker/partial_linkers/partial_pipe_linker_1.d.ts +0 -1
  87. package/linker/src/file_linker/partial_linkers/util.d.ts +0 -1
  88. package/linker/src/file_linker/translator.d.ts +0 -1
  89. package/linker/src/linker_import_generator.d.ts +0 -1
  90. package/ngcc/index.d.ts +0 -2
  91. package/ngcc/main-ngcc.d.ts +0 -1
  92. package/ngcc/src/analysis/decoration_analyzer.d.ts +0 -1
  93. package/ngcc/src/analysis/migration_host.d.ts +0 -1
  94. package/ngcc/src/analysis/module_with_providers_analyzer.d.ts +0 -1
  95. package/ngcc/src/analysis/ngcc_references_registry.d.ts +0 -1
  96. package/ngcc/src/analysis/ngcc_trait_compiler.d.ts +0 -1
  97. package/ngcc/src/analysis/private_declarations_analyzer.d.ts +0 -1
  98. package/ngcc/src/analysis/types.d.ts +0 -1
  99. package/ngcc/src/analysis/util.d.ts +0 -1
  100. package/ngcc/src/command_line_options.d.ts +0 -1
  101. package/ngcc/src/constants.d.ts +0 -1
  102. package/ngcc/src/dependencies/commonjs_dependency_host.d.ts +0 -1
  103. package/ngcc/src/dependencies/dependency_host.d.ts +0 -1
  104. package/ngcc/src/dependencies/dependency_resolver.d.ts +0 -1
  105. package/ngcc/src/dependencies/dts_dependency_host.d.ts +0 -1
  106. package/ngcc/src/dependencies/esm_dependency_host.d.ts +0 -1
  107. package/ngcc/src/dependencies/module_resolver.d.ts +0 -1
  108. package/ngcc/src/dependencies/umd_dependency_host.d.ts +0 -1
  109. package/ngcc/src/entry_point_finder/directory_walker_entry_point_finder.d.ts +0 -1
  110. package/ngcc/src/entry_point_finder/entry_point_collector.d.ts +0 -1
  111. package/ngcc/src/entry_point_finder/interface.d.ts +0 -1
  112. package/ngcc/src/entry_point_finder/program_based_entry_point_finder.d.ts +0 -1
  113. package/ngcc/src/entry_point_finder/targeted_entry_point_finder.d.ts +0 -1
  114. package/ngcc/src/entry_point_finder/tracing_entry_point_finder.d.ts +0 -1
  115. package/ngcc/src/entry_point_finder/utils.d.ts +0 -1
  116. package/ngcc/src/execution/analyze_entry_points.d.ts +0 -1
  117. package/ngcc/src/execution/api.d.ts +0 -1
  118. package/ngcc/src/execution/cluster/api.d.ts +0 -1
  119. package/ngcc/src/execution/cluster/executor.d.ts +0 -1
  120. package/ngcc/src/execution/cluster/master.d.ts +4 -3
  121. package/ngcc/src/execution/cluster/ngcc_cluster_worker.d.ts +0 -1
  122. package/ngcc/src/execution/cluster/package_json_updater.d.ts +0 -1
  123. package/ngcc/src/execution/cluster/utils.d.ts +0 -1
  124. package/ngcc/src/execution/cluster/worker.d.ts +0 -1
  125. package/ngcc/src/execution/create_compile_function.d.ts +0 -1
  126. package/ngcc/src/execution/single_process_executor.d.ts +0 -1
  127. package/ngcc/src/execution/tasks/api.d.ts +0 -1
  128. package/ngcc/src/execution/tasks/completion.d.ts +0 -1
  129. package/ngcc/src/execution/tasks/queues/base_task_queue.d.ts +0 -1
  130. package/ngcc/src/execution/tasks/queues/parallel_task_queue.d.ts +0 -1
  131. package/ngcc/src/execution/tasks/queues/serial_task_queue.d.ts +0 -1
  132. package/ngcc/src/execution/tasks/utils.d.ts +0 -1
  133. package/ngcc/src/host/commonjs_host.d.ts +0 -1
  134. package/ngcc/src/host/commonjs_umd_utils.d.ts +0 -1
  135. package/ngcc/src/host/delegating_host.d.ts +0 -1
  136. package/ngcc/src/host/esm2015_host.d.ts +0 -1
  137. package/ngcc/src/host/esm5_host.d.ts +0 -1
  138. package/ngcc/src/host/ngcc_host.d.ts +0 -1
  139. package/ngcc/src/host/umd_host.d.ts +0 -1
  140. package/ngcc/src/host/utils.d.ts +0 -1
  141. package/ngcc/src/locking/async_locker.d.ts +0 -1
  142. package/ngcc/src/locking/lock_file.d.ts +4 -2
  143. package/ngcc/src/locking/lock_file_with_child_process/index.d.ts +4 -3
  144. package/ngcc/src/locking/lock_file_with_child_process/ngcc_lock_unlocker.d.ts +0 -1
  145. package/ngcc/src/locking/lock_file_with_child_process/util.d.ts +0 -1
  146. package/ngcc/src/locking/sync_locker.d.ts +0 -1
  147. package/ngcc/src/main.d.ts +0 -1
  148. package/ngcc/src/migrations/migration.d.ts +0 -1
  149. package/ngcc/src/migrations/missing_injectable_migration.d.ts +0 -1
  150. package/ngcc/src/migrations/undecorated_child_migration.d.ts +0 -1
  151. package/ngcc/src/migrations/undecorated_parent_migration.d.ts +0 -1
  152. package/ngcc/src/migrations/utils.d.ts +0 -1
  153. package/ngcc/src/ngcc_options.d.ts +0 -1
  154. package/ngcc/src/packages/adjust_cjs_umd_exports.d.ts +0 -1
  155. package/ngcc/src/packages/build_marker.d.ts +1 -2
  156. package/ngcc/src/packages/bundle_program.d.ts +0 -1
  157. package/ngcc/src/packages/configuration.d.ts +0 -1
  158. package/ngcc/src/packages/entry_point.d.ts +0 -1
  159. package/ngcc/src/packages/entry_point_bundle.d.ts +0 -1
  160. package/ngcc/src/packages/entry_point_manifest.d.ts +0 -1
  161. package/ngcc/src/packages/ngcc_compiler_host.d.ts +0 -1
  162. package/ngcc/src/packages/patch_ts_expando_initializer.d.ts +0 -1
  163. package/ngcc/src/packages/source_file_cache.d.ts +0 -1
  164. package/ngcc/src/packages/transformer.d.ts +0 -1
  165. package/ngcc/src/path_mappings.d.ts +0 -1
  166. package/ngcc/src/rendering/commonjs_rendering_formatter.d.ts +0 -1
  167. package/ngcc/src/rendering/dts_renderer.d.ts +0 -1
  168. package/ngcc/src/rendering/esm5_rendering_formatter.d.ts +0 -1
  169. package/ngcc/src/rendering/esm_rendering_formatter.d.ts +0 -1
  170. package/ngcc/src/rendering/ngcc_import_rewriter.d.ts +0 -1
  171. package/ngcc/src/rendering/renderer.d.ts +0 -1
  172. package/ngcc/src/rendering/rendering_formatter.d.ts +0 -1
  173. package/ngcc/src/rendering/source_maps.d.ts +0 -1
  174. package/ngcc/src/rendering/umd_rendering_formatter.d.ts +0 -1
  175. package/ngcc/src/rendering/utils.d.ts +0 -1
  176. package/ngcc/src/utils.d.ts +0 -1
  177. package/ngcc/src/writing/cleaning/cleaning_strategies.d.ts +0 -1
  178. package/ngcc/src/writing/cleaning/package_cleaner.d.ts +0 -1
  179. package/ngcc/src/writing/cleaning/utils.d.ts +0 -1
  180. package/ngcc/src/writing/file_writer.d.ts +0 -1
  181. package/ngcc/src/writing/in_place_file_writer.d.ts +0 -1
  182. package/ngcc/src/writing/new_entry_point_file_writer.d.ts +0 -1
  183. package/ngcc/src/writing/package_json_updater.d.ts +0 -1
  184. package/package.json +4 -4
  185. package/private/bazel.d.ts +0 -1
  186. package/private/localize.d.ts +0 -1
  187. package/private/migrations.d.ts +0 -1
  188. package/private/tooling.d.ts +0 -1
  189. package/src/bin/ng_xi18n.d.ts +0 -1
  190. package/src/bin/ngc.d.ts +0 -1
  191. package/src/extract_i18n.d.ts +0 -1
  192. package/src/main.d.ts +0 -1
  193. package/src/ngtsc/annotations/common/index.d.ts +0 -1
  194. package/src/ngtsc/annotations/common/src/api.d.ts +0 -1
  195. package/src/ngtsc/annotations/common/src/di.d.ts +0 -1
  196. package/src/ngtsc/annotations/common/src/diagnostics.d.ts +0 -1
  197. package/src/ngtsc/annotations/common/src/evaluation.d.ts +0 -1
  198. package/src/ngtsc/annotations/common/src/factory.d.ts +0 -1
  199. package/src/ngtsc/annotations/common/src/injectable_registry.d.ts +0 -1
  200. package/src/ngtsc/annotations/common/src/metadata.d.ts +0 -1
  201. package/src/ngtsc/annotations/common/src/references_registry.d.ts +0 -1
  202. package/src/ngtsc/annotations/common/src/schema.d.ts +0 -1
  203. package/src/ngtsc/annotations/common/src/util.d.ts +0 -1
  204. package/src/ngtsc/annotations/component/index.d.ts +0 -1
  205. package/src/ngtsc/annotations/component/src/diagnostics.d.ts +0 -1
  206. package/src/ngtsc/annotations/component/src/handler.d.ts +0 -1
  207. package/src/ngtsc/annotations/component/src/metadata.d.ts +0 -1
  208. package/src/ngtsc/annotations/component/src/resources.d.ts +0 -1
  209. package/src/ngtsc/annotations/component/src/symbol.d.ts +0 -1
  210. package/src/ngtsc/annotations/component/src/util.d.ts +0 -1
  211. package/src/ngtsc/annotations/directive/index.d.ts +0 -1
  212. package/src/ngtsc/annotations/directive/src/handler.d.ts +0 -1
  213. package/src/ngtsc/annotations/directive/src/shared.d.ts +0 -1
  214. package/src/ngtsc/annotations/directive/src/symbol.d.ts +0 -1
  215. package/src/ngtsc/annotations/index.d.ts +0 -1
  216. package/src/ngtsc/annotations/ng_module/index.d.ts +0 -1
  217. package/src/ngtsc/annotations/ng_module/src/handler.d.ts +0 -1
  218. package/src/ngtsc/annotations/ng_module/src/module_with_providers.d.ts +0 -1
  219. package/src/ngtsc/annotations/src/injectable.d.ts +0 -1
  220. package/src/ngtsc/annotations/src/pipe.d.ts +0 -1
  221. package/src/ngtsc/core/api/index.d.ts +0 -1
  222. package/src/ngtsc/core/api/src/adapter.d.ts +0 -1
  223. package/src/ngtsc/core/api/src/interfaces.d.ts +0 -1
  224. package/src/ngtsc/core/api/src/options.d.ts +0 -1
  225. package/src/ngtsc/core/api/src/public_options.d.ts +0 -1
  226. package/src/ngtsc/core/index.d.ts +0 -1
  227. package/src/ngtsc/core/src/compiler.d.ts +0 -1
  228. package/src/ngtsc/core/src/host.d.ts +1 -2
  229. package/src/ngtsc/cycles/index.d.ts +0 -1
  230. package/src/ngtsc/cycles/src/analyzer.d.ts +0 -1
  231. package/src/ngtsc/cycles/src/imports.d.ts +0 -1
  232. package/src/ngtsc/diagnostics/index.d.ts +0 -1
  233. package/src/ngtsc/diagnostics/src/docs.d.ts +0 -1
  234. package/src/ngtsc/diagnostics/src/error.d.ts +0 -1
  235. package/src/ngtsc/diagnostics/src/error_code.d.ts +0 -1
  236. package/src/ngtsc/diagnostics/src/error_details_base_url.d.ts +0 -1
  237. package/src/ngtsc/diagnostics/src/extended_template_diagnostic_name.d.ts +0 -1
  238. package/src/ngtsc/diagnostics/src/util.d.ts +0 -1
  239. package/src/ngtsc/entry_point/index.d.ts +0 -1
  240. package/src/ngtsc/entry_point/src/generator.d.ts +0 -1
  241. package/src/ngtsc/entry_point/src/logic.d.ts +0 -1
  242. package/src/ngtsc/entry_point/src/private_export_checker.d.ts +0 -1
  243. package/src/ngtsc/entry_point/src/reference_graph.d.ts +0 -1
  244. package/src/ngtsc/file_system/index.d.ts +0 -1
  245. package/src/ngtsc/file_system/src/compiler_host.d.ts +0 -1
  246. package/src/ngtsc/file_system/src/helpers.d.ts +0 -1
  247. package/src/ngtsc/file_system/src/invalid_file_system.d.ts +0 -1
  248. package/src/ngtsc/file_system/src/logical.d.ts +0 -1
  249. package/src/ngtsc/file_system/src/node_js_file_system.d.ts +0 -1
  250. package/src/ngtsc/file_system/src/types.d.ts +0 -1
  251. package/src/ngtsc/file_system/src/util.d.ts +0 -1
  252. package/src/ngtsc/imports/index.d.ts +0 -1
  253. package/src/ngtsc/imports/src/alias.d.ts +0 -1
  254. package/src/ngtsc/imports/src/core.d.ts +0 -1
  255. package/src/ngtsc/imports/src/default.d.ts +0 -1
  256. package/src/ngtsc/imports/src/emitter.d.ts +0 -1
  257. package/src/ngtsc/imports/src/find_export.d.ts +0 -1
  258. package/src/ngtsc/imports/src/reexport.d.ts +0 -1
  259. package/src/ngtsc/imports/src/references.d.ts +0 -1
  260. package/src/ngtsc/imports/src/resolver.d.ts +0 -1
  261. package/src/ngtsc/incremental/api.d.ts +0 -1
  262. package/src/ngtsc/incremental/index.d.ts +0 -1
  263. package/src/ngtsc/incremental/semantic_graph/index.d.ts +0 -1
  264. package/src/ngtsc/incremental/semantic_graph/src/api.d.ts +0 -1
  265. package/src/ngtsc/incremental/semantic_graph/src/graph.d.ts +1 -2
  266. package/src/ngtsc/incremental/semantic_graph/src/type_parameters.d.ts +0 -1
  267. package/src/ngtsc/incremental/semantic_graph/src/util.d.ts +0 -1
  268. package/src/ngtsc/incremental/src/dependency_tracking.d.ts +0 -1
  269. package/src/ngtsc/incremental/src/incremental.d.ts +0 -1
  270. package/src/ngtsc/incremental/src/noop.d.ts +0 -1
  271. package/src/ngtsc/incremental/src/state.d.ts +0 -1
  272. package/src/ngtsc/incremental/src/strategy.d.ts +0 -1
  273. package/src/ngtsc/indexer/index.d.ts +0 -1
  274. package/src/ngtsc/indexer/src/api.d.ts +0 -1
  275. package/src/ngtsc/indexer/src/context.d.ts +0 -1
  276. package/src/ngtsc/indexer/src/template.d.ts +0 -1
  277. package/src/ngtsc/indexer/src/transform.d.ts +0 -1
  278. package/src/ngtsc/logging/index.d.ts +0 -1
  279. package/src/ngtsc/logging/src/console_logger.d.ts +0 -1
  280. package/src/ngtsc/logging/src/logger.d.ts +0 -1
  281. package/src/ngtsc/metadata/index.d.ts +0 -1
  282. package/src/ngtsc/metadata/src/api.d.ts +0 -1
  283. package/src/ngtsc/metadata/src/dts.d.ts +0 -1
  284. package/src/ngtsc/metadata/src/host_directives_resolver.d.ts +0 -1
  285. package/src/ngtsc/metadata/src/inheritance.d.ts +0 -1
  286. package/src/ngtsc/metadata/src/property_mapping.d.ts +0 -1
  287. package/src/ngtsc/metadata/src/registry.d.ts +0 -1
  288. package/src/ngtsc/metadata/src/resource_registry.d.ts +0 -1
  289. package/src/ngtsc/metadata/src/util.d.ts +0 -1
  290. package/src/ngtsc/partial_evaluator/index.d.ts +0 -1
  291. package/src/ngtsc/partial_evaluator/src/builtin.d.ts +0 -1
  292. package/src/ngtsc/partial_evaluator/src/diagnostics.d.ts +0 -1
  293. package/src/ngtsc/partial_evaluator/src/dynamic.d.ts +0 -1
  294. package/src/ngtsc/partial_evaluator/src/interface.d.ts +0 -1
  295. package/src/ngtsc/partial_evaluator/src/interpreter.d.ts +1 -1
  296. package/src/ngtsc/partial_evaluator/src/known_declaration.d.ts +0 -1
  297. package/src/ngtsc/partial_evaluator/src/result.d.ts +0 -1
  298. package/src/ngtsc/partial_evaluator/src/synthetic.d.ts +0 -1
  299. package/src/ngtsc/partial_evaluator/src/ts_helpers.d.ts +0 -1
  300. package/src/ngtsc/perf/index.d.ts +0 -1
  301. package/src/ngtsc/perf/src/api.d.ts +0 -1
  302. package/src/ngtsc/perf/src/clock.d.ts +0 -1
  303. package/src/ngtsc/perf/src/noop.d.ts +0 -1
  304. package/src/ngtsc/perf/src/recorder.d.ts +0 -1
  305. package/src/ngtsc/program.d.ts +0 -1
  306. package/src/ngtsc/program_driver/index.d.ts +0 -1
  307. package/src/ngtsc/program_driver/src/api.d.ts +0 -1
  308. package/src/ngtsc/program_driver/src/ts_create_program_driver.d.ts +0 -1
  309. package/src/ngtsc/reflection/index.d.ts +0 -1
  310. package/src/ngtsc/reflection/src/host.d.ts +0 -1
  311. package/src/ngtsc/reflection/src/type_to_value.d.ts +0 -1
  312. package/src/ngtsc/reflection/src/typescript.d.ts +0 -1
  313. package/src/ngtsc/reflection/src/util.d.ts +0 -1
  314. package/src/ngtsc/resource/index.d.ts +0 -1
  315. package/src/ngtsc/resource/src/loader.d.ts +0 -1
  316. package/src/ngtsc/scope/index.d.ts +0 -1
  317. package/src/ngtsc/scope/src/api.d.ts +0 -1
  318. package/src/ngtsc/scope/src/component_scope.d.ts +0 -1
  319. package/src/ngtsc/scope/src/dependency.d.ts +0 -1
  320. package/src/ngtsc/scope/src/local.d.ts +0 -1
  321. package/src/ngtsc/scope/src/standalone.d.ts +0 -1
  322. package/src/ngtsc/scope/src/typecheck.d.ts +0 -1
  323. package/src/ngtsc/scope/src/util.d.ts +0 -1
  324. package/src/ngtsc/shims/api.d.ts +0 -1
  325. package/src/ngtsc/shims/index.d.ts +0 -1
  326. package/src/ngtsc/shims/src/adapter.d.ts +0 -1
  327. package/src/ngtsc/shims/src/expando.d.ts +0 -1
  328. package/src/ngtsc/shims/src/factory_generator.d.ts +0 -1
  329. package/src/ngtsc/shims/src/reference_tagger.d.ts +0 -1
  330. package/src/ngtsc/shims/src/summary_generator.d.ts +0 -1
  331. package/src/ngtsc/shims/src/util.d.ts +0 -1
  332. package/src/ngtsc/sourcemaps/index.d.ts +0 -1
  333. package/src/ngtsc/sourcemaps/src/content_origin.d.ts +0 -1
  334. package/src/ngtsc/sourcemaps/src/raw_source_map.d.ts +0 -1
  335. package/src/ngtsc/sourcemaps/src/segment_marker.d.ts +0 -1
  336. package/src/ngtsc/sourcemaps/src/source_file.d.ts +0 -1
  337. package/src/ngtsc/sourcemaps/src/source_file_loader.d.ts +0 -1
  338. package/src/ngtsc/transform/index.d.ts +0 -1
  339. package/src/ngtsc/transform/src/alias.d.ts +0 -1
  340. package/src/ngtsc/transform/src/api.d.ts +0 -1
  341. package/src/ngtsc/transform/src/compilation.d.ts +0 -1
  342. package/src/ngtsc/transform/src/declaration.d.ts +0 -1
  343. package/src/ngtsc/transform/src/trait.d.ts +0 -1
  344. package/src/ngtsc/transform/src/transform.d.ts +0 -1
  345. package/src/ngtsc/transform/src/utils.d.ts +0 -1
  346. package/src/ngtsc/translator/index.d.ts +0 -1
  347. package/src/ngtsc/translator/src/api/ast_factory.d.ts +0 -1
  348. package/src/ngtsc/translator/src/api/import_generator.d.ts +0 -1
  349. package/src/ngtsc/translator/src/context.d.ts +0 -1
  350. package/src/ngtsc/translator/src/import_manager.d.ts +0 -1
  351. package/src/ngtsc/translator/src/translator.d.ts +0 -1
  352. package/src/ngtsc/translator/src/type_translator.d.ts +0 -1
  353. package/src/ngtsc/translator/src/typescript_ast_factory.d.ts +0 -1
  354. package/src/ngtsc/translator/src/typescript_translator.d.ts +0 -1
  355. package/src/ngtsc/ts_compatibility/index.d.ts +0 -1
  356. package/src/ngtsc/ts_compatibility/src/ts_cross_version_utils.d.ts +2 -145
  357. package/src/ngtsc/tsc_plugin.d.ts +0 -1
  358. package/src/ngtsc/typecheck/api/api.d.ts +0 -1
  359. package/src/ngtsc/typecheck/api/checker.d.ts +0 -1
  360. package/src/ngtsc/typecheck/api/completion.d.ts +0 -1
  361. package/src/ngtsc/typecheck/api/context.d.ts +0 -1
  362. package/src/ngtsc/typecheck/api/index.d.ts +0 -1
  363. package/src/ngtsc/typecheck/api/scope.d.ts +0 -1
  364. package/src/ngtsc/typecheck/api/symbols.d.ts +0 -1
  365. package/src/ngtsc/typecheck/diagnostics/index.d.ts +0 -1
  366. package/src/ngtsc/typecheck/diagnostics/src/diagnostic.d.ts +0 -1
  367. package/src/ngtsc/typecheck/diagnostics/src/id.d.ts +0 -1
  368. package/src/ngtsc/typecheck/extended/api/api.d.ts +0 -1
  369. package/src/ngtsc/typecheck/extended/api/extended_template_checker.d.ts +0 -1
  370. package/src/ngtsc/typecheck/extended/api/index.d.ts +0 -1
  371. package/src/ngtsc/typecheck/extended/checks/invalid_banana_in_box/index.d.ts +0 -1
  372. package/src/ngtsc/typecheck/extended/checks/missing_control_flow_directive/index.d.ts +0 -1
  373. package/src/ngtsc/typecheck/extended/checks/missing_ngforof_let/index.d.ts +0 -1
  374. package/src/ngtsc/typecheck/extended/checks/nullish_coalescing_not_nullable/index.d.ts +0 -1
  375. package/src/ngtsc/typecheck/extended/checks/optional_chain_not_nullable/index.d.ts +0 -1
  376. package/src/ngtsc/typecheck/extended/checks/suffix_not_supported/index.d.ts +0 -1
  377. package/src/ngtsc/typecheck/extended/checks/text_attribute_not_binding/index.d.ts +0 -1
  378. package/src/ngtsc/typecheck/extended/index.d.ts +0 -1
  379. package/src/ngtsc/typecheck/extended/src/extended_template_checker.d.ts +0 -1
  380. package/src/ngtsc/typecheck/index.d.ts +0 -1
  381. package/src/ngtsc/typecheck/src/checker.d.ts +0 -1
  382. package/src/ngtsc/typecheck/src/comments.d.ts +0 -1
  383. package/src/ngtsc/typecheck/src/completion.d.ts +0 -1
  384. package/src/ngtsc/typecheck/src/context.d.ts +0 -1
  385. package/src/ngtsc/typecheck/src/diagnostics.d.ts +0 -1
  386. package/src/ngtsc/typecheck/src/dom.d.ts +0 -1
  387. package/src/ngtsc/typecheck/src/environment.d.ts +0 -1
  388. package/src/ngtsc/typecheck/src/expression.d.ts +0 -1
  389. package/src/ngtsc/typecheck/src/line_mappings.d.ts +0 -1
  390. package/src/ngtsc/typecheck/src/oob.d.ts +0 -1
  391. package/src/ngtsc/typecheck/src/shim.d.ts +0 -1
  392. package/src/ngtsc/typecheck/src/source.d.ts +0 -1
  393. package/src/ngtsc/typecheck/src/tcb_util.d.ts +0 -1
  394. package/src/ngtsc/typecheck/src/template_semantics.d.ts +0 -1
  395. package/src/ngtsc/typecheck/src/template_symbol_builder.d.ts +0 -1
  396. package/src/ngtsc/typecheck/src/ts_util.d.ts +0 -1
  397. package/src/ngtsc/typecheck/src/type_check_block.d.ts +0 -1
  398. package/src/ngtsc/typecheck/src/type_check_file.d.ts +0 -1
  399. package/src/ngtsc/typecheck/src/type_constructor.d.ts +0 -1
  400. package/src/ngtsc/typecheck/src/type_emitter.d.ts +0 -1
  401. package/src/ngtsc/typecheck/src/type_parameter_emitter.d.ts +0 -1
  402. package/src/ngtsc/util/src/path.d.ts +0 -1
  403. package/src/ngtsc/util/src/typescript.d.ts +0 -1
  404. package/src/ngtsc/util/src/visitor.d.ts +0 -1
  405. package/src/ngtsc/xi18n/index.d.ts +0 -1
  406. package/src/ngtsc/xi18n/src/context.d.ts +0 -1
  407. package/src/perform_compile.d.ts +0 -1
  408. package/src/perform_watch.d.ts +0 -1
  409. package/src/transformers/api.d.ts +0 -1
  410. package/src/transformers/compiler_host.d.ts +0 -1
  411. package/src/transformers/downlevel_decorators_transform/downlevel_decorators_transform.d.ts +0 -1
  412. package/src/transformers/downlevel_decorators_transform/index.d.ts +0 -1
  413. package/src/transformers/downlevel_decorators_transform/patch_alias_reference_resolution.d.ts +0 -1
  414. package/src/transformers/entry_points.d.ts +0 -1
  415. package/src/transformers/i18n.d.ts +0 -1
  416. package/src/transformers/program.d.ts +0 -1
  417. package/src/transformers/util.d.ts +0 -1
  418. package/src/typescript_support.d.ts +0 -1
  419. package/src/version.d.ts +0 -1
  420. package/src/version_helpers.d.ts +0 -1
  421. package/bundles/chunk-4ENQEGGA.js.map +0 -6
  422. package/bundles/chunk-BGOUKBDI.js.map +0 -6
  423. package/bundles/chunk-DLVFMDSC.js.map +0 -6
  424. package/bundles/chunk-E7DPJFUS.js.map +0 -6
  425. package/bundles/chunk-IZN5U2AM.js +0 -103
  426. package/bundles/chunk-IZN5U2AM.js.map +0 -6
  427. package/bundles/chunk-KY7HVS6H.js.map +0 -6
  428. package/bundles/chunk-MAF2KC4N.js.map +0 -6
  429. package/bundles/chunk-OFXSI6E3.js.map +0 -6
  430. package/bundles/chunk-OHYTYUA4.js.map +0 -6
  431. package/bundles/chunk-ONRVYLCK.js.map +0 -6
  432. package/bundles/chunk-PPMCRK4H.js.map +0 -6
  433. package/bundles/chunk-PPWXQG65.js.map +0 -6
  434. package/bundles/chunk-QVO57CDR.js.map +0 -6
  435. package/bundles/chunk-TTNJEW7O.js.map +0 -6
  436. package/bundles/chunk-UN4WV3U4.js.map +0 -6
  437. package/bundles/chunk-Y6MBLTIR.js.map +0 -6
  438. package/import_meta_url.d.ts +0 -14
  439. package/linker/babel/src/babel_core.d.ts +0 -37
@@ -1,7 +1,6 @@
1
1
 
2
2
  import {createRequire as __cjsCompatRequire} from 'module';
3
3
  const require = __cjsCompatRequire(import.meta.url);
4
- const __ESM_IMPORT_META_URL__ = import.meta.url;
5
4
 
6
5
  import {
7
6
  ClassMemberKind,
@@ -13,7 +12,7 @@ import {
13
12
  reflectObjectLiteral,
14
13
  reflectTypeEntityToDeclaration,
15
14
  typeNodeToValueExpr
16
- } from "./chunk-OHYTYUA4.js";
15
+ } from "./chunk-O4JLZZWJ.js";
17
16
  import {
18
17
  ErrorCode,
19
18
  FatalDiagnosticError,
@@ -22,6 +21,7 @@ import {
22
21
  Reference,
23
22
  assertSuccessfulReferenceEmit,
24
23
  attachDefaultImportDeclaration,
24
+ createImportDeclaration,
25
25
  getDefaultImportDeclaration,
26
26
  getSourceFile,
27
27
  identifierOfNode,
@@ -34,32 +34,18 @@ import {
34
34
  translateExpression,
35
35
  translateStatement,
36
36
  translateType
37
- } from "./chunk-UN4WV3U4.js";
38
- import {
39
- combineModifiers,
40
- createImportDeclaration,
41
- createPropertyDeclaration,
42
- getDecorators,
43
- getModifiers,
44
- updateClassDeclaration,
45
- updateConstructorDeclaration,
46
- updateGetAccessorDeclaration,
47
- updateMethodDeclaration,
48
- updateParameterDeclaration,
49
- updatePropertyDeclaration,
50
- updateSetAccessorDeclaration
51
- } from "./chunk-IZN5U2AM.js";
37
+ } from "./chunk-Z534TW2O.js";
52
38
  import {
53
39
  absoluteFrom,
54
40
  absoluteFromSourceFile,
55
41
  relative
56
- } from "./chunk-E7DPJFUS.js";
42
+ } from "./chunk-EC5K6QPP.js";
57
43
  import {
58
44
  PerfEvent,
59
45
  PerfPhase
60
- } from "./chunk-MAF2KC4N.js";
46
+ } from "./chunk-NJMZRTB6.js";
61
47
 
62
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
48
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/util.mjs
63
49
  import { ExternalExpr, ParseLocation, ParseSourceFile, ParseSourceSpan, ReadPropExpr, WrappedNodeExpr } from "@angular/compiler";
64
50
  import ts from "typescript";
65
51
  function valueReferenceToExpression(valueRef) {
@@ -298,7 +284,7 @@ function isAbstractClassDeclaration(clazz) {
298
284
  return clazz.modifiers !== void 0 && clazz.modifiers.some((mod) => mod.kind === ts.SyntaxKind.AbstractKeyword);
299
285
  }
300
286
 
301
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
287
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/dynamic.mjs
302
288
  var DynamicValue = class {
303
289
  constructor(node, reason, code) {
304
290
  this.node = node;
@@ -388,10 +374,10 @@ var DynamicValue = class {
388
374
  }
389
375
  };
390
376
 
391
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
377
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
392
378
  import ts2 from "typescript";
393
379
 
394
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
380
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/result.mjs
395
381
  var ResolvedModule = class {
396
382
  constructor(exports, evaluate) {
397
383
  this.exports = exports;
@@ -421,7 +407,7 @@ var EnumValue = class {
421
407
  var KnownFn = class {
422
408
  };
423
409
 
424
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
410
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/builtin.mjs
425
411
  var ArraySliceBuiltinFn = class extends KnownFn {
426
412
  constructor(lhs) {
427
413
  super();
@@ -492,7 +478,7 @@ var ObjectAssignBuiltinFn = class extends KnownFn {
492
478
  }
493
479
  };
494
480
 
495
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
481
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/ts_helpers.mjs
496
482
  var AssignHelperFn = class extends ObjectAssignBuiltinFn {
497
483
  };
498
484
  var SpreadHelperFn = class extends KnownFn {
@@ -545,7 +531,7 @@ var ReadHelperFn = class extends KnownFn {
545
531
  }
546
532
  };
547
533
 
548
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
534
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/known_declaration.mjs
549
535
  var jsGlobalObjectValue = /* @__PURE__ */ new Map([["assign", new ObjectAssignBuiltinFn()]]);
550
536
  var assignTsHelperFn = new AssignHelperFn();
551
537
  var spreadTsHelperFn = new SpreadHelperFn();
@@ -569,14 +555,14 @@ function resolveKnownDeclaration(decl) {
569
555
  }
570
556
  }
571
557
 
572
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
558
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/synthetic.mjs
573
559
  var SyntheticValue = class {
574
560
  constructor(value) {
575
561
  this.value = value;
576
562
  }
577
563
  };
578
564
 
579
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
565
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interpreter.mjs
580
566
  function literalBinaryOp(op) {
581
567
  return { op, literal: true };
582
568
  }
@@ -1101,6 +1087,10 @@ var StaticInterpreter = class {
1101
1087
  return this.visitTupleType(node, context);
1102
1088
  } else if (ts2.isNamedTupleMember(node)) {
1103
1089
  return this.visitType(node.type, context);
1090
+ } else if (ts2.isTypeOperatorNode(node) && node.operator === ts2.SyntaxKind.ReadonlyKeyword) {
1091
+ return this.visitType(node.type, context);
1092
+ } else if (ts2.isTypeQueryNode(node)) {
1093
+ return this.visitTypeQuery(node, context);
1104
1094
  }
1105
1095
  return DynamicValue.fromDynamicType(node);
1106
1096
  }
@@ -1111,6 +1101,17 @@ var StaticInterpreter = class {
1111
1101
  }
1112
1102
  return res;
1113
1103
  }
1104
+ visitTypeQuery(node, context) {
1105
+ if (!ts2.isIdentifier(node.exprName)) {
1106
+ return DynamicValue.fromUnknown(node);
1107
+ }
1108
+ const decl = this.host.getDeclarationOfIdentifier(node.exprName);
1109
+ if (decl === null) {
1110
+ return DynamicValue.fromUnknownIdentifier(node.exprName);
1111
+ }
1112
+ const declContext = { ...context, ...joinModuleContext(context, node, decl) };
1113
+ return this.visitAmbiguousDeclaration(decl, declContext);
1114
+ }
1114
1115
  };
1115
1116
  function isFunctionOrMethodReference(ref) {
1116
1117
  return ts2.isFunctionDeclaration(ref.node) || ts2.isMethodDeclaration(ref.node) || ts2.isFunctionExpression(ref.node);
@@ -1133,7 +1134,7 @@ function isVariableDeclarationDeclared(node) {
1133
1134
  return false;
1134
1135
  }
1135
1136
  const varStmt = declList.parent;
1136
- const modifiers = getModifiers(varStmt);
1137
+ const modifiers = ts2.getModifiers(varStmt);
1137
1138
  return modifiers !== void 0 && modifiers.some((mod) => mod.kind === ts2.SyntaxKind.DeclareKeyword);
1138
1139
  }
1139
1140
  var EMPTY = {};
@@ -1162,7 +1163,7 @@ function owningModule(context, override = null) {
1162
1163
  }
1163
1164
  }
1164
1165
 
1165
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1166
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/interface.mjs
1166
1167
  var PartialEvaluator = class {
1167
1168
  constructor(host, checker, dependencyTracker) {
1168
1169
  this.host = host;
@@ -1182,7 +1183,7 @@ var PartialEvaluator = class {
1182
1183
  }
1183
1184
  };
1184
1185
 
1185
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1186
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/partial_evaluator/src/diagnostics.mjs
1186
1187
  import ts3 from "typescript";
1187
1188
  function describeResolvedType(value, maxDepth = 1) {
1188
1189
  var _a, _b;
@@ -1312,7 +1313,7 @@ function getContainerNode(node) {
1312
1313
  return node.getSourceFile();
1313
1314
  }
1314
1315
 
1315
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1316
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/di.mjs
1316
1317
  import { LiteralExpr, WrappedNodeExpr as WrappedNodeExpr2 } from "@angular/compiler";
1317
1318
  import ts4 from "typescript";
1318
1319
  function getConstructorDependencies(clazz, reflector, isCore) {
@@ -1456,10 +1457,10 @@ function createUnsuitableInjectionTokenError(clazz, error) {
1456
1457
  return new FatalDiagnosticError(ErrorCode.PARAM_MISSING_TOKEN, param.nameNode, chain, hints);
1457
1458
  }
1458
1459
 
1459
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1460
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
1460
1461
  import ts7 from "typescript";
1461
1462
 
1462
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1463
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/api.mjs
1463
1464
  var MetaKind;
1464
1465
  (function(MetaKind2) {
1465
1466
  MetaKind2[MetaKind2["Directive"] = 0] = "Directive";
@@ -1472,10 +1473,10 @@ var MatchSource;
1472
1473
  MatchSource2[MatchSource2["HostDirective"] = 1] = "HostDirective";
1473
1474
  })(MatchSource || (MatchSource = {}));
1474
1475
 
1475
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1476
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1476
1477
  import ts6 from "typescript";
1477
1478
 
1478
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1479
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/property_mapping.mjs
1479
1480
  var ClassPropertyMapping = class {
1480
1481
  constructor(forwardMap) {
1481
1482
  this.forwardMap = forwardMap;
@@ -1551,7 +1552,7 @@ function reverseMapFromForwardMap(forwardMap) {
1551
1552
  return reverseMap;
1552
1553
  }
1553
1554
 
1554
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1555
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/util.mjs
1555
1556
  import ts5 from "typescript";
1556
1557
  function extractReferencesFromType(checker, def, bestGuessOwningModule) {
1557
1558
  if (!ts5.isTupleTypeNode(def)) {
@@ -1658,7 +1659,7 @@ function extractDirectiveTypeCheckMeta(node, inputs, reflector) {
1658
1659
  };
1659
1660
  }
1660
1661
  function isRestricted(node) {
1661
- const modifiers = getModifiers(node);
1662
+ const modifiers = ts5.canHaveModifiers(node) ? ts5.getModifiers(node) : void 0;
1662
1663
  return modifiers !== void 0 && modifiers.some(({ kind }) => {
1663
1664
  return kind === ts5.SyntaxKind.PrivateKeyword || kind === ts5.SyntaxKind.ProtectedKeyword || kind === ts5.SyntaxKind.ReadonlyKeyword;
1664
1665
  });
@@ -1733,7 +1734,7 @@ function hasInjectableFields(clazz, host) {
1733
1734
  return members.some(({ isStatic, name }) => isStatic && (name === "\u0275prov" || name === "\u0275fac"));
1734
1735
  }
1735
1736
 
1736
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1737
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/dts.mjs
1737
1738
  var DtsMetadataReader = class {
1738
1739
  constructor(checker, reflector) {
1739
1740
  this.checker = checker;
@@ -1872,7 +1873,7 @@ function readHostDirectivesType(checker, type, bestGuessOwningModule) {
1872
1873
  return result.length > 0 ? result : null;
1873
1874
  }
1874
1875
 
1875
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1876
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/inheritance.mjs
1876
1877
  function flattenInheritedDirectiveMetadata(reader, dir) {
1877
1878
  const topMeta = reader.getDirectiveMetadata(dir);
1878
1879
  if (topMeta === null) {
@@ -1930,7 +1931,7 @@ function flattenInheritedDirectiveMetadata(reader, dir) {
1930
1931
  };
1931
1932
  }
1932
1933
 
1933
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1934
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/registry.mjs
1934
1935
  var LocalMetadataRegistry = class {
1935
1936
  constructor() {
1936
1937
  this.directives = /* @__PURE__ */ new Map();
@@ -1987,7 +1988,7 @@ var CompoundMetadataRegistry = class {
1987
1988
  }
1988
1989
  };
1989
1990
 
1990
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1991
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/resource_registry.mjs
1991
1992
  var ResourceRegistry = class {
1992
1993
  constructor() {
1993
1994
  this.externalTemplateToComponentsMap = /* @__PURE__ */ new Map();
@@ -2052,7 +2053,7 @@ var ResourceRegistry = class {
2052
2053
  }
2053
2054
  };
2054
2055
 
2055
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2056
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/metadata/src/host_directives_resolver.mjs
2056
2057
  var EMPTY_ARRAY = [];
2057
2058
  var HostDirectivesResolver = class {
2058
2059
  constructor(metaReader) {
@@ -2103,7 +2104,7 @@ var HostDirectivesResolver = class {
2103
2104
  }
2104
2105
  };
2105
2106
 
2106
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2107
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/diagnostics.mjs
2107
2108
  function makeDuplicateDeclarationError(node, data, kind) {
2108
2109
  const context = [];
2109
2110
  for (const decl of data) {
@@ -2278,7 +2279,7 @@ function getInheritedUndecoratedCtorDiagnostic(node, baseClass, kind) {
2278
2279
  return makeDiagnostic(ErrorCode.DIRECTIVE_INHERITS_UNDECORATED_CTOR, node.name, `The ${kind.toLowerCase()} ${node.name.text} inherits its constructor from ${baseClassName}, but the latter does not have an Angular decorator of its own. Dependency injection will not be able to resolve the parameters of ${baseClassName}'s constructor. Either add a @${baseNeedsDecorator} decorator to ${baseClassName}, or add an explicit constructor to ${node.name.text}.`);
2279
2280
  }
2280
2281
 
2281
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2282
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/evaluation.mjs
2282
2283
  import ts8 from "typescript";
2283
2284
  function resolveEnumValue(evaluator, metadata, field, enumSymbolName) {
2284
2285
  let resolved = null;
@@ -2311,7 +2312,7 @@ function resolveLiteral(decorator, literalCache) {
2311
2312
  return meta;
2312
2313
  }
2313
2314
 
2314
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2315
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/factory.mjs
2315
2316
  import { compileDeclareFactoryFunction, compileFactoryFunction } from "@angular/compiler";
2316
2317
  function compileNgFactoryDefField(metadata) {
2317
2318
  const res = compileFactoryFunction(metadata);
@@ -2322,7 +2323,7 @@ function compileDeclareFactory(metadata) {
2322
2323
  return { name: "\u0275fac", initializer: res.expression, statements: res.statements, type: res.type };
2323
2324
  }
2324
2325
 
2325
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2326
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/injectable_registry.mjs
2326
2327
  var InjectableClassRegistry = class {
2327
2328
  constructor(host, isCore) {
2328
2329
  this.host = host;
@@ -2348,7 +2349,7 @@ var InjectableClassRegistry = class {
2348
2349
  }
2349
2350
  };
2350
2351
 
2351
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2352
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/metadata.mjs
2352
2353
  import { FunctionExpr, LiteralArrayExpr, LiteralExpr as LiteralExpr2, literalMap, ReturnStatement, WrappedNodeExpr as WrappedNodeExpr3 } from "@angular/compiler";
2353
2354
  import ts9 from "typescript";
2354
2355
  function extractClassMetadata(clazz, reflection, isCore, annotateForClosureCompiler, angularDecoratorTransform = (dec) => dec) {
@@ -2435,13 +2436,13 @@ function removeIdentifierReferences(node, name) {
2435
2436
  return result.transformed[0];
2436
2437
  }
2437
2438
 
2438
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2439
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/references_registry.mjs
2439
2440
  var NoopReferencesRegistry = class {
2440
2441
  add(source, ...references) {
2441
2442
  }
2442
2443
  };
2443
2444
 
2444
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2445
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/common/src/schema.mjs
2445
2446
  import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from "@angular/compiler";
2446
2447
  function extractSchemas(rawExpr, evaluator, context) {
2447
2448
  const schemas = [];
@@ -2471,11 +2472,11 @@ function extractSchemas(rawExpr, evaluator, context) {
2471
2472
  return schemas;
2472
2473
  }
2473
2474
 
2474
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2475
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
2475
2476
  import { compileClassMetadata as compileClassMetadata3, compileComponentFromMetadata, compileDeclareClassMetadata as compileDeclareClassMetadata3, compileDeclareComponentFromMetadata, CssSelector as CssSelector2, DEFAULT_INTERPOLATION_CONFIG as DEFAULT_INTERPOLATION_CONFIG2, DomElementSchemaRegistry, FactoryTarget as FactoryTarget3, makeBindingParser as makeBindingParser2, R3TargetBinder, R3TemplateDependencyKind, SelectorMatcher as SelectorMatcher2, ViewEncapsulation, WrappedNodeExpr as WrappedNodeExpr7 } from "@angular/compiler";
2476
2477
  import ts24 from "typescript";
2477
2478
 
2478
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2479
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/api.mjs
2479
2480
  import ts10 from "typescript";
2480
2481
  var SemanticSymbol = class {
2481
2482
  constructor(decl) {
@@ -2491,7 +2492,7 @@ function getSymbolIdentifier(decl) {
2491
2492
  return decl.name.text;
2492
2493
  }
2493
2494
 
2494
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2495
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/graph.mjs
2495
2496
  import { ExternalExpr as ExternalExpr2 } from "@angular/compiler";
2496
2497
  var OpaqueSymbol = class extends SemanticSymbol {
2497
2498
  isPublicApiAffected() {
@@ -2634,10 +2635,10 @@ function getImportPath(expr) {
2634
2635
  }
2635
2636
  }
2636
2637
 
2637
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2638
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2638
2639
  import ts11 from "typescript";
2639
2640
 
2640
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2641
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/util.mjs
2641
2642
  function isSymbolEqual(a, b) {
2642
2643
  if (a.decl === b.decl) {
2643
2644
  return true;
@@ -2687,7 +2688,7 @@ function isSetEqual(a, b, equalityTester = referenceEquality) {
2687
2688
  return true;
2688
2689
  }
2689
2690
 
2690
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2691
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/incremental/semantic_graph/src/type_parameters.mjs
2691
2692
  function extractSemanticTypeParameters(node) {
2692
2693
  if (!ts11.isClassDeclaration(node) || node.typeParameters === void 0) {
2693
2694
  return null;
@@ -2707,14 +2708,14 @@ function isTypeParameterEqual(a, b) {
2707
2708
  return a.hasGenericTypeBound === b.hasGenericTypeBound;
2708
2709
  }
2709
2710
 
2710
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2711
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/api.mjs
2711
2712
  var ComponentScopeKind;
2712
2713
  (function(ComponentScopeKind2) {
2713
2714
  ComponentScopeKind2[ComponentScopeKind2["NgModule"] = 0] = "NgModule";
2714
2715
  ComponentScopeKind2[ComponentScopeKind2["Standalone"] = 1] = "Standalone";
2715
2716
  })(ComponentScopeKind || (ComponentScopeKind = {}));
2716
2717
 
2717
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2718
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/component_scope.mjs
2718
2719
  var CompoundComponentScopeReader = class {
2719
2720
  constructor(readers) {
2720
2721
  this.readers = readers;
@@ -2739,7 +2740,7 @@ var CompoundComponentScopeReader = class {
2739
2740
  }
2740
2741
  };
2741
2742
 
2742
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2743
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/dependency.mjs
2743
2744
  var MetadataDtsModuleScopeResolver = class {
2744
2745
  constructor(dtsMetaReader, aliasingHost) {
2745
2746
  this.dtsMetaReader = dtsMetaReader;
@@ -2815,11 +2816,11 @@ var MetadataDtsModuleScopeResolver = class {
2815
2816
  }
2816
2817
  };
2817
2818
 
2818
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2819
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2819
2820
  import { ExternalExpr as ExternalExpr3 } from "@angular/compiler";
2820
2821
  import ts12 from "typescript";
2821
2822
 
2822
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2823
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/util.mjs
2823
2824
  function getDiagnosticNode(ref, rawExpr) {
2824
2825
  return rawExpr !== null ? ref.getOriginForDiagnostics(rawExpr) : ref.node.name;
2825
2826
  }
@@ -2842,7 +2843,7 @@ function makeUnknownComponentImportDiagnostic(ref, rawExpr) {
2842
2843
  return makeDiagnostic(ErrorCode.COMPONENT_UNKNOWN_IMPORT, getDiagnosticNode(ref, rawExpr), `Component imports must be standalone components, directives, pipes, or must be NgModules.`);
2843
2844
  }
2844
2845
 
2845
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2846
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/local.mjs
2846
2847
  var LocalModuleScopeRegistry = class {
2847
2848
  constructor(localReader, fullReader, dependencyScopeReader, refEmitter, aliasingHost) {
2848
2849
  this.localReader = localReader;
@@ -3181,7 +3182,7 @@ function reexportCollision(module, refA, refB) {
3181
3182
  ]);
3182
3183
  }
3183
3184
 
3184
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3185
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/scope/src/typecheck.mjs
3185
3186
  import { CssSelector, SelectorMatcher } from "@angular/compiler";
3186
3187
  import ts13 from "typescript";
3187
3188
  var TypeCheckScopeRegistry = class {
@@ -3250,7 +3251,7 @@ var TypeCheckScopeRegistry = class {
3250
3251
  }
3251
3252
  };
3252
3253
 
3253
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3254
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/api.mjs
3254
3255
  var CompilationMode;
3255
3256
  (function(CompilationMode2) {
3256
3257
  CompilationMode2[CompilationMode2["FULL"] = 0] = "FULL";
@@ -3268,7 +3269,7 @@ var HandlerFlags;
3268
3269
  HandlerFlags2[HandlerFlags2["FULL_INHERITANCE"] = 1] = "FULL_INHERITANCE";
3269
3270
  })(HandlerFlags || (HandlerFlags = {}));
3270
3271
 
3271
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3272
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/alias.mjs
3272
3273
  import ts14 from "typescript";
3273
3274
  function aliasTransformFactory(exportStatements) {
3274
3275
  return (context) => {
@@ -3292,10 +3293,10 @@ function aliasTransformFactory(exportStatements) {
3292
3293
  };
3293
3294
  }
3294
3295
 
3295
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3296
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3296
3297
  import ts15 from "typescript";
3297
3298
 
3298
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3299
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/trait.mjs
3299
3300
  var TraitState;
3300
3301
  (function(TraitState2) {
3301
3302
  TraitState2[TraitState2["Pending"] = 0] = "Pending";
@@ -3350,7 +3351,7 @@ var TraitImpl = class {
3350
3351
  }
3351
3352
  };
3352
3353
 
3353
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3354
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/compilation.mjs
3354
3355
  var TraitCompiler = class {
3355
3356
  constructor(handlers, reflector, perf, incrementalBuild, compileNonExportedClasses, compilationMode, dtsTransforms, semanticDepGraphUpdater, sourceFileTypeIdentifier) {
3356
3357
  this.handlers = handlers;
@@ -3794,10 +3795,10 @@ function containsErrors(diagnostics) {
3794
3795
  return diagnostics !== null && diagnostics.some((diag) => diag.category === ts15.DiagnosticCategory.Error);
3795
3796
  }
3796
3797
 
3797
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3798
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3798
3799
  import ts17 from "typescript";
3799
3800
 
3800
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3801
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/utils.mjs
3801
3802
  import ts16 from "typescript";
3802
3803
  function addImports(importManager, sf, extraStatements = []) {
3803
3804
  const addedImports = importManager.getAllImports(sf.fileName).map((i) => {
@@ -3833,7 +3834,7 @@ function isImportStatement(stmt) {
3833
3834
  return ts16.isImportDeclaration(stmt) || ts16.isImportEqualsDeclaration(stmt) || ts16.isNamespaceImport(stmt);
3834
3835
  }
3835
3836
 
3836
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3837
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/declaration.mjs
3837
3838
  var DtsTransformRegistry = class {
3838
3839
  constructor() {
3839
3840
  this.ivyDeclarationTransforms = /* @__PURE__ */ new Map();
@@ -3917,7 +3918,7 @@ var DtsTransformer = class {
3917
3918
  }
3918
3919
  }
3919
3920
  if (elementsChanged && clazz === newClazz) {
3920
- newClazz = updateClassDeclaration(
3921
+ newClazz = ts17.factory.updateClassDeclaration(
3921
3922
  clazz,
3922
3923
  clazz.modifiers,
3923
3924
  clazz.name,
@@ -3955,7 +3956,7 @@ var IvyDeclarationDtsTransform = class {
3955
3956
  const modifiers = [ts17.factory.createModifier(ts17.SyntaxKind.StaticKeyword)];
3956
3957
  const typeRef = translateType(decl.type, imports);
3957
3958
  markForEmitAsSingleLine(typeRef);
3958
- return createPropertyDeclaration(
3959
+ return ts17.factory.createPropertyDeclaration(
3959
3960
  modifiers,
3960
3961
  decl.name,
3961
3962
  void 0,
@@ -3963,7 +3964,7 @@ var IvyDeclarationDtsTransform = class {
3963
3964
  void 0
3964
3965
  );
3965
3966
  });
3966
- return updateClassDeclaration(
3967
+ return ts17.factory.updateClassDeclaration(
3967
3968
  clazz,
3968
3969
  clazz.modifiers,
3969
3970
  clazz.name,
@@ -3978,11 +3979,11 @@ function markForEmitAsSingleLine(node) {
3978
3979
  ts17.forEachChild(node, markForEmitAsSingleLine);
3979
3980
  }
3980
3981
 
3981
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3982
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
3982
3983
  import { ConstantPool } from "@angular/compiler";
3983
3984
  import ts19 from "typescript";
3984
3985
 
3985
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3986
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/util/src/visitor.mjs
3986
3987
  import ts18 from "typescript";
3987
3988
  function visit(node, visitor, context) {
3988
3989
  return visitor._visit(node, context);
@@ -4043,7 +4044,7 @@ var Visitor = class {
4043
4044
  }
4044
4045
  };
4045
4046
 
4046
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4047
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/transform/src/transform.mjs
4047
4048
  var NO_DECORATORS = /* @__PURE__ */ new Set();
4048
4049
  var CLOSURE_FILE_OVERVIEW_REGEXP = /\s+@fileoverview\s+/i;
4049
4050
  function ivyTransformFactory(compilation, reflector, importRewriter, defaultImportTracker, perf, isCore, isClosureCompilerEnabled) {
@@ -4092,7 +4093,7 @@ var IvyTransformationVisitor = class extends Visitor {
4092
4093
  const members = [...node.members];
4093
4094
  for (const field of this.classCompilationMap.get(node)) {
4094
4095
  const exprNode = translateExpression(field.initializer, this.importManager, translateOptions);
4095
- const property = createPropertyDeclaration([ts19.factory.createToken(ts19.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
4096
+ const property = ts19.factory.createPropertyDeclaration([ts19.factory.createToken(ts19.SyntaxKind.StaticKeyword)], field.name, void 0, void 0, exprNode);
4096
4097
  if (this.isClosureCompilerEnabled) {
4097
4098
  ts19.addSyntheticLeadingComment(
4098
4099
  property,
@@ -4104,10 +4105,15 @@ var IvyTransformationVisitor = class extends Visitor {
4104
4105
  field.statements.map((stmt) => translateStatement(stmt, this.importManager, translateOptions)).forEach((stmt) => statements.push(stmt));
4105
4106
  members.push(property);
4106
4107
  }
4107
- const filteredDecorators = maybeFilterDecorator(getDecorators(node), this.compilation.decoratorsFor(node));
4108
- node = updateClassDeclaration(
4108
+ const filteredDecorators = maybeFilterDecorator(ts19.getDecorators(node), this.compilation.decoratorsFor(node));
4109
+ const nodeModifiers = ts19.getModifiers(node);
4110
+ let updatedModifiers;
4111
+ if ((filteredDecorators == null ? void 0 : filteredDecorators.length) || (nodeModifiers == null ? void 0 : nodeModifiers.length)) {
4112
+ updatedModifiers = [...filteredDecorators || [], ...nodeModifiers || []];
4113
+ }
4114
+ node = ts19.factory.updateClassDeclaration(
4109
4115
  node,
4110
- combineModifiers(filteredDecorators, getModifiers(node)),
4116
+ updatedModifiers,
4111
4117
  node.name,
4112
4118
  node.typeParameters,
4113
4119
  node.heritageClauses || [],
@@ -4128,7 +4134,7 @@ var IvyTransformationVisitor = class extends Visitor {
4128
4134
  }
4129
4135
  }
4130
4136
  _nonCoreDecoratorsOnly(node) {
4131
- const decorators = getDecorators(node);
4137
+ const decorators = ts19.getDecorators(node);
4132
4138
  if (decorators === void 0) {
4133
4139
  return void 0;
4134
4140
  }
@@ -4145,19 +4151,22 @@ var IvyTransformationVisitor = class extends Visitor {
4145
4151
  return nodeArrayFromDecoratorsArray(filtered);
4146
4152
  }
4147
4153
  _stripAngularDecorators(node) {
4154
+ const modifiers = ts19.canHaveModifiers(node) ? ts19.getModifiers(node) : void 0;
4155
+ const nonCoreDecorators = ts19.canHaveDecorators(node) ? this._nonCoreDecoratorsOnly(node) : void 0;
4156
+ const combinedModifiers = [...nonCoreDecorators || [], ...modifiers || []];
4148
4157
  if (ts19.isParameter(node)) {
4149
- node = updateParameterDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer);
4150
- } else if (ts19.isMethodDeclaration(node) && getDecorators(node) !== void 0) {
4151
- node = updateMethodDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body);
4152
- } else if (ts19.isPropertyDeclaration(node) && getDecorators(node) !== void 0) {
4153
- node = updatePropertyDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.name, node.questionToken, node.type, node.initializer);
4158
+ node = ts19.factory.updateParameterDeclaration(node, combinedModifiers, node.dotDotDotToken, node.name, node.questionToken, node.type, node.initializer);
4159
+ } else if (ts19.isMethodDeclaration(node)) {
4160
+ node = ts19.factory.updateMethodDeclaration(node, combinedModifiers, node.asteriskToken, node.name, node.questionToken, node.typeParameters, node.parameters, node.type, node.body);
4161
+ } else if (ts19.isPropertyDeclaration(node)) {
4162
+ node = ts19.factory.updatePropertyDeclaration(node, combinedModifiers, node.name, node.questionToken, node.type, node.initializer);
4154
4163
  } else if (ts19.isGetAccessor(node)) {
4155
- node = updateGetAccessorDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.name, node.parameters, node.type, node.body);
4164
+ node = ts19.factory.updateGetAccessorDeclaration(node, combinedModifiers, node.name, node.parameters, node.type, node.body);
4156
4165
  } else if (ts19.isSetAccessor(node)) {
4157
- node = updateSetAccessorDeclaration(node, combineModifiers(this._nonCoreDecoratorsOnly(node), getModifiers(node)), node.name, node.parameters, node.body);
4166
+ node = ts19.factory.updateSetAccessorDeclaration(node, combinedModifiers, node.name, node.parameters, node.body);
4158
4167
  } else if (ts19.isConstructorDeclaration(node)) {
4159
4168
  const parameters = node.parameters.map((param) => this._stripAngularDecorators(param));
4160
- node = updateConstructorDeclaration(node, getModifiers(node), parameters, node.body);
4169
+ node = ts19.factory.updateConstructorDeclaration(node, modifiers, parameters, node.body);
4161
4170
  }
4162
4171
  return node;
4163
4172
  }
@@ -4243,10 +4252,10 @@ function nodeArrayFromDecoratorsArray(decorators) {
4243
4252
  return array;
4244
4253
  }
4245
4254
 
4246
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4255
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4247
4256
  import { compileClassMetadata, compileDeclareClassMetadata, compileDeclareDirectiveFromMetadata, compileDirectiveFromMetadata, FactoryTarget, makeBindingParser, WrappedNodeExpr as WrappedNodeExpr5 } from "@angular/compiler";
4248
4257
 
4249
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4258
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/shared.mjs
4250
4259
  import { createMayBeForwardRefExpression, emitDistinctChangesOnlyDefaultValue, ExternalExpr as ExternalExpr4, getSafePropertyAccessString, parseHostBindings, verifyHostBindings, WrappedNodeExpr as WrappedNodeExpr4 } from "@angular/compiler";
4251
4260
  import ts20 from "typescript";
4252
4261
  var EMPTY_OBJECT = {};
@@ -4663,7 +4672,7 @@ function toHostDirectiveMetadata(hostDirective, context, refEmitter) {
4663
4672
  };
4664
4673
  }
4665
4674
 
4666
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4675
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/symbol.mjs
4667
4676
  var DirectiveSymbol = class extends SemanticSymbol {
4668
4677
  constructor(decl, selector, inputs, outputs, exportAs, typeCheckMeta, typeParameters) {
4669
4678
  super(decl);
@@ -4740,7 +4749,7 @@ function isBaseClassEqual(current, previous) {
4740
4749
  return isSymbolEqual(current, previous);
4741
4750
  }
4742
4751
 
4743
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4752
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/directive/src/handler.mjs
4744
4753
  var FIELD_DECORATORS = [
4745
4754
  "Input",
4746
4755
  "Output",
@@ -4899,11 +4908,11 @@ var DirectiveDecoratorHandler = class {
4899
4908
  }
4900
4909
  };
4901
4910
 
4902
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4911
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4903
4912
  import { compileClassMetadata as compileClassMetadata2, compileDeclareClassMetadata as compileDeclareClassMetadata2, compileDeclareInjectorFromMetadata, compileDeclareNgModuleFromMetadata, compileInjector, compileNgModule, ExternalExpr as ExternalExpr5, FactoryTarget as FactoryTarget2, FunctionExpr as FunctionExpr2, InvokeFunctionExpr, LiteralArrayExpr as LiteralArrayExpr2, R3Identifiers, R3SelectorScopeMode, ReturnStatement as ReturnStatement2, WrappedNodeExpr as WrappedNodeExpr6 } from "@angular/compiler";
4904
4913
  import ts22 from "typescript";
4905
4914
 
4906
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4915
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/module_with_providers.mjs
4907
4916
  import ts21 from "typescript";
4908
4917
  function createModuleWithProvidersResolver(reflector, isCore) {
4909
4918
  function _reflectModuleFromTypeParam(type, node) {
@@ -4970,7 +4979,7 @@ function isResolvedModuleWithProviders(sv) {
4970
4979
  return typeof sv.value === "object" && sv.value != null && sv.value.hasOwnProperty("ngModule") && sv.value.hasOwnProperty("mwpCall");
4971
4980
  }
4972
4981
 
4973
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4982
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/ng_module/src/handler.mjs
4974
4983
  var NgModuleSymbol = class extends SemanticSymbol {
4975
4984
  constructor() {
4976
4985
  super(...arguments);
@@ -5474,7 +5483,7 @@ function isSyntheticReference(ref) {
5474
5483
  return ref.synthetic;
5475
5484
  }
5476
5485
 
5477
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5486
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/diagnostics.mjs
5478
5487
  function makeCyclicImportInfo(ref, type, cycle) {
5479
5488
  const name = ref.debugName || "(unknown)";
5480
5489
  const path = cycle.getPath().map((sf) => sf.fileName).join(" -> ");
@@ -5497,7 +5506,7 @@ function checkCustomElementSelectorForErrors(selector) {
5497
5506
  return null;
5498
5507
  }
5499
5508
 
5500
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5509
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/resources.mjs
5501
5510
  import { DEFAULT_INTERPOLATION_CONFIG, InterpolationConfig, ParseSourceFile as ParseSourceFile2, parseTemplate } from "@angular/compiler";
5502
5511
  import ts23 from "typescript";
5503
5512
  function getTemplateDeclarationNodeForError(declaration) {
@@ -5810,7 +5819,7 @@ function _extractTemplateStyleUrls(template) {
5810
5819
  return template.styleUrls.map((url) => ({ url, source: 1, nodeForError }));
5811
5820
  }
5812
5821
 
5813
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5822
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/symbol.mjs
5814
5823
  var ComponentSymbol = class extends DirectiveSymbol {
5815
5824
  constructor() {
5816
5825
  super(...arguments);
@@ -5845,7 +5854,7 @@ var ComponentSymbol = class extends DirectiveSymbol {
5845
5854
  }
5846
5855
  };
5847
5856
 
5848
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5857
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/util.mjs
5849
5858
  function collectAnimationNames(value, animationTriggerNames) {
5850
5859
  if (value instanceof Map) {
5851
5860
  const name = value.get("name");
@@ -5921,7 +5930,7 @@ function isLikelyModuleWithProviders(value) {
5921
5930
  return false;
5922
5931
  }
5923
5932
 
5924
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
5933
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/component/src/handler.mjs
5925
5934
  var EMPTY_ARRAY2 = [];
5926
5935
  var ComponentDecoratorHandler = class {
5927
5936
  constructor(reflector, evaluator, metaRegistry, metaReader, scopeReader, dtsScopeReader, scopeRegistry, typeCheckScopeRegistry, resourceRegistry, isCore, strictCtorDeps, resourceLoader, rootDirs, defaultPreserveWhitespaces, i18nUseExternalIds, enableI18nLegacyMessageIdFormat, usePoisonedData, i18nNormalizeLineEndingsInICUs, moduleResolver, cycleAnalyzer, cycleHandlingStrategy, refEmitter, depTracker, injectableRegistry, semanticDepGraphUpdater, annotateForClosureCompiler, perf, hostDirectivesResolver) {
@@ -6565,7 +6574,7 @@ function validateStandaloneImports(importRefs, importExpr, metaReader, scopeRead
6565
6574
  return diagnostics;
6566
6575
  }
6567
6576
 
6568
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6577
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/injectable.mjs
6569
6578
  import { compileClassMetadata as compileClassMetadata4, compileDeclareClassMetadata as compileDeclareClassMetadata4, compileDeclareInjectableFromMetadata, compileInjectable, createMayBeForwardRefExpression as createMayBeForwardRefExpression2, FactoryTarget as FactoryTarget4, LiteralExpr as LiteralExpr3, WrappedNodeExpr as WrappedNodeExpr8 } from "@angular/compiler";
6570
6579
  import ts25 from "typescript";
6571
6580
  var InjectableDecoratorHandler = class {
@@ -6782,7 +6791,7 @@ function getDep(dep, reflector) {
6782
6791
  return meta;
6783
6792
  }
6784
6793
 
6785
- // bazel-out/k8-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6794
+ // bazel-out/darwin_arm64-fastbuild/bin/packages/compiler-cli/src/ngtsc/annotations/src/pipe.mjs
6786
6795
  import { compileClassMetadata as compileClassMetadata5, compileDeclareClassMetadata as compileDeclareClassMetadata5, compileDeclarePipeFromMetadata, compilePipeFromMetadata, FactoryTarget as FactoryTarget5, WrappedNodeExpr as WrappedNodeExpr9 } from "@angular/compiler";
6787
6796
  import ts26 from "typescript";
6788
6797
  var PipeSymbol = class extends SemanticSymbol {
@@ -6977,4 +6986,4 @@ export {
6977
6986
  * Use of this source code is governed by an MIT-style license that can be
6978
6987
  * found in the LICENSE file at https://angular.io/license
6979
6988
  */
6980
- //# sourceMappingURL=chunk-KY7HVS6H.js.map
6989
+ //# sourceMappingURL=chunk-REWAYEN7.js.map