@angular/core 13.0.0-next.7 → 13.0.0-rc.1

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 (542) hide show
  1. package/core.d.ts +599 -963
  2. package/esm2020/core.mjs +5 -0
  3. package/{esm2015/index.js → esm2020/index.mjs} +0 -0
  4. package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
  5. package/esm2020/src/application_init.mjs +140 -0
  6. package/esm2020/src/application_module.mjs +135 -0
  7. package/esm2020/src/application_ref.mjs +738 -0
  8. package/{esm2015/src/application_tokens.js → esm2020/src/application_tokens.mjs} +0 -0
  9. package/esm2020/src/change_detection/change_detection.mjs +31 -0
  10. package/esm2020/src/change_detection/change_detection_util.mjs +64 -0
  11. package/esm2020/src/change_detection/change_detector_ref.mjs +89 -0
  12. package/{esm2015/src/change_detection/constants.js → esm2020/src/change_detection/constants.mjs} +0 -0
  13. package/esm2020/src/change_detection/differs/default_iterable_differ.mjs +666 -0
  14. package/{esm2015/src/change_detection/differs/default_keyvalue_differ.js → esm2020/src/change_detection/differs/default_keyvalue_differ.mjs} +0 -0
  15. package/{esm2015/src/change_detection/differs/iterable_differs.js → esm2020/src/change_detection/differs/iterable_differs.mjs} +0 -0
  16. package/{esm2015/src/change_detection/differs/keyvalue_differs.js → esm2020/src/change_detection/differs/keyvalue_differs.mjs} +0 -0
  17. package/{esm2015/src/change_detection/pipe_transform.js → esm2020/src/change_detection/pipe_transform.mjs} +0 -0
  18. package/esm2020/src/change_detection.mjs +14 -0
  19. package/esm2020/src/codegen_private_exports.mjs +11 -0
  20. package/{esm2015/src/compiler/compiler_facade.js → esm2020/src/compiler/compiler_facade.mjs} +0 -0
  21. package/{esm2015/src/compiler/compiler_facade_interface.js → esm2020/src/compiler/compiler_facade_interface.mjs} +1 -1
  22. package/esm2020/src/console.mjs +26 -0
  23. package/esm2020/src/core.mjs +52 -0
  24. package/esm2020/src/core_private_export.mjs +34 -0
  25. package/esm2020/src/core_render3_private_export.mjs +46 -0
  26. package/esm2020/src/debug/debug_node.mjs +625 -0
  27. package/{esm2015/src/debug/proxy.js → esm2020/src/debug/proxy.mjs} +0 -0
  28. package/{esm2015/src/di/forward_ref.js → esm2020/src/di/forward_ref.mjs} +0 -0
  29. package/{esm2015/src/di/index.js → esm2020/src/di/index.mjs} +0 -0
  30. package/{esm2015/src/di/inject_switch.js → esm2020/src/di/inject_switch.mjs} +0 -0
  31. package/esm2020/src/di/injectable.mjs +27 -0
  32. package/esm2020/src/di/injection_token.mjs +82 -0
  33. package/esm2020/src/di/injector.mjs +323 -0
  34. package/esm2020/src/di/injector_compatibility.mjs +185 -0
  35. package/{esm2015/src/di/injector_marker.js → esm2020/src/di/injector_marker.mjs} +0 -0
  36. package/{esm2015/src/di/injector_token.js → esm2020/src/di/injector_token.mjs} +0 -0
  37. package/{esm2015/src/di/interface/defs.js → esm2020/src/di/interface/defs.mjs} +0 -0
  38. package/{esm2015/src/di/interface/injector.js → esm2020/src/di/interface/injector.mjs} +0 -0
  39. package/{esm2015/src/di/interface/provider.js → esm2020/src/di/interface/provider.mjs} +0 -0
  40. package/{esm2015/src/di/jit/environment.js → esm2020/src/di/jit/environment.mjs} +0 -0
  41. package/esm2020/src/di/jit/injectable.mjs +94 -0
  42. package/{esm2015/src/di/jit/util.js → esm2020/src/di/jit/util.mjs} +0 -0
  43. package/esm2020/src/di/metadata.mjs +60 -0
  44. package/esm2020/src/di/metadata_attr.mjs +24 -0
  45. package/{esm2015/src/di/null_injector.js → esm2020/src/di/null_injector.mjs} +0 -0
  46. package/{esm2015/src/di/provider_token.js → esm2020/src/di/provider_token.mjs} +0 -0
  47. package/{esm2015/src/di/r3_injector.js → esm2020/src/di/r3_injector.mjs} +0 -0
  48. package/{esm2015/src/di/reflective_errors.js → esm2020/src/di/reflective_errors.mjs} +0 -0
  49. package/{esm2015/src/di/reflective_injector.js → esm2020/src/di/reflective_injector.mjs} +0 -0
  50. package/{esm2015/src/di/reflective_key.js → esm2020/src/di/reflective_key.mjs} +0 -0
  51. package/{esm2015/src/di/reflective_provider.js → esm2020/src/di/reflective_provider.mjs} +0 -0
  52. package/{esm2015/src/di/scope.js → esm2020/src/di/scope.mjs} +0 -0
  53. package/esm2020/src/di/util.mjs +51 -0
  54. package/{esm2015/src/di.js → esm2020/src/di.mjs} +0 -0
  55. package/{esm2015/src/error_handler.js → esm2020/src/error_handler.mjs} +0 -0
  56. package/{esm2015/src/errors.js → esm2020/src/errors.mjs} +0 -0
  57. package/esm2020/src/event_emitter.mjs +53 -0
  58. package/esm2020/src/i18n/locale_data_api.mjs +132 -0
  59. package/esm2020/src/i18n/locale_en.mjs +17 -0
  60. package/{esm2015/src/i18n/localization.js → esm2020/src/i18n/localization.mjs} +0 -0
  61. package/{esm2015/src/i18n/tokens.js → esm2020/src/i18n/tokens.mjs} +6 -6
  62. package/{esm2015/src/interface/lifecycle_hooks.js → esm2020/src/interface/lifecycle_hooks.mjs} +0 -0
  63. package/{esm2015/src/interface/simple_change.js → esm2020/src/interface/simple_change.mjs} +0 -0
  64. package/{esm2015/src/interface/type.js → esm2020/src/interface/type.mjs} +0 -0
  65. package/{esm2015/src/ivy_switch.js → esm2020/src/ivy_switch.mjs} +2 -2
  66. package/esm2020/src/linker/compiler.mjs +136 -0
  67. package/{esm2015/src/linker/component_factory.js → esm2020/src/linker/component_factory.mjs} +0 -0
  68. package/{esm2015/src/linker/component_factory_resolver.js → esm2020/src/linker/component_factory_resolver.mjs} +0 -0
  69. package/esm2020/src/linker/element_ref.mjs +59 -0
  70. package/esm2020/src/linker/ng_module_factory.mjs +29 -0
  71. package/esm2020/src/linker/ng_module_factory_loader.mjs +42 -0
  72. package/esm2020/src/linker/ng_module_factory_loader_impl.mjs +10 -0
  73. package/{esm2015/src/linker/ng_module_factory_registration.js → esm2020/src/linker/ng_module_factory_registration.mjs} +2 -2
  74. package/{esm2015/src/linker/query_list.js → esm2020/src/linker/query_list.mjs} +0 -0
  75. package/{esm2015/src/linker/template_ref.js → esm2020/src/linker/template_ref.mjs} +2 -2
  76. package/esm2020/src/linker/view_container_ref.mjs +283 -0
  77. package/{esm2015/src/linker/view_ref.js → esm2020/src/linker/view_ref.mjs} +0 -0
  78. package/esm2020/src/linker.mjs +19 -0
  79. package/esm2020/src/metadata/di.mjs +108 -0
  80. package/esm2020/src/metadata/directives.mjs +112 -0
  81. package/{esm2015/src/metadata/do_boostrap.js → esm2020/src/metadata/do_boostrap.mjs} +0 -0
  82. package/esm2020/src/metadata/ng_module.mjs +42 -0
  83. package/{esm2015/src/metadata/ng_module_def.js → esm2020/src/metadata/ng_module_def.mjs} +0 -0
  84. package/{esm2015/src/metadata/resource_loading.js → esm2020/src/metadata/resource_loading.mjs} +0 -0
  85. package/{esm2015/src/metadata/schema.js → esm2020/src/metadata/schema.mjs} +0 -0
  86. package/{esm2015/src/metadata/view.js → esm2020/src/metadata/view.mjs} +0 -0
  87. package/{esm2015/src/metadata.js → esm2020/src/metadata.mjs} +0 -0
  88. package/{esm2015/src/platform_core_providers.js → esm2020/src/platform_core_providers.mjs} +0 -0
  89. package/{esm2015/src/r3_symbols.js → esm2020/src/r3_symbols.mjs} +0 -0
  90. package/{esm2015/src/reflection/platform_reflection_capabilities.js → esm2020/src/reflection/platform_reflection_capabilities.mjs} +0 -0
  91. package/{esm2015/src/reflection/reflection.js → esm2020/src/reflection/reflection.mjs} +0 -0
  92. package/{esm2015/src/reflection/reflection_capabilities.js → esm2020/src/reflection/reflection_capabilities.mjs} +3 -3
  93. package/{esm2015/src/reflection/reflector.js → esm2020/src/reflection/reflector.mjs} +0 -0
  94. package/{esm2015/src/reflection/types.js → esm2020/src/reflection/types.mjs} +0 -0
  95. package/{esm2015/src/render/api.js → esm2020/src/render/api.mjs} +2 -2
  96. package/{esm2015/src/render/api_flags.js → esm2020/src/render/api_flags.mjs} +0 -0
  97. package/{esm2015/src/render.js → esm2020/src/render.mjs} +0 -0
  98. package/{esm2015/src/render3/assert.js → esm2020/src/render3/assert.mjs} +0 -0
  99. package/{esm2015/src/render3/bindings.js → esm2020/src/render3/bindings.mjs} +0 -0
  100. package/{esm2015/src/render3/collect_native_nodes.js → esm2020/src/render3/collect_native_nodes.mjs} +0 -0
  101. package/esm2020/src/render3/component.mjs +204 -0
  102. package/{esm2015/src/render3/component_ref.js → esm2020/src/render3/component_ref.mjs} +2 -2
  103. package/{esm2015/src/render3/context_discovery.js → esm2020/src/render3/context_discovery.mjs} +0 -0
  104. package/{esm2015/src/render3/definition.js → esm2020/src/render3/definition.mjs} +0 -0
  105. package/{esm2015/src/render3/definition_factory.js → esm2020/src/render3/definition_factory.mjs} +0 -0
  106. package/{esm2015/src/render3/di.js → esm2020/src/render3/di.mjs} +0 -0
  107. package/{esm2015/src/render3/di_setup.js → esm2020/src/render3/di_setup.mjs} +0 -0
  108. package/{esm2015/src/render3/error_code.js → esm2020/src/render3/error_code.mjs} +0 -0
  109. package/{esm2015/src/render3/errors.js → esm2020/src/render3/errors.mjs} +0 -0
  110. package/{esm2015/src/render3/errors_di.js → esm2020/src/render3/errors_di.mjs} +0 -0
  111. package/{esm2015/src/render3/features/copy_definition_feature.js → esm2020/src/render3/features/copy_definition_feature.mjs} +0 -0
  112. package/{esm2015/src/render3/features/inherit_definition_feature.js → esm2020/src/render3/features/inherit_definition_feature.mjs} +0 -0
  113. package/esm2020/src/render3/features/ng_onchanges_feature.mjs +92 -0
  114. package/{esm2015/src/render3/features/providers_feature.js → esm2020/src/render3/features/providers_feature.mjs} +0 -0
  115. package/{esm2015/src/render3/fields.js → esm2020/src/render3/fields.mjs} +0 -0
  116. package/{esm2015/src/render3/global_utils_api.js → esm2020/src/render3/global_utils_api.mjs} +0 -0
  117. package/{esm2015/src/render3/hooks.js → esm2020/src/render3/hooks.mjs} +0 -0
  118. package/{esm2015/src/render3/i18n/i18n_apply.js → esm2020/src/render3/i18n/i18n_apply.mjs} +0 -0
  119. package/{esm2015/src/render3/i18n/i18n_debug.js → esm2020/src/render3/i18n/i18n_debug.mjs} +0 -0
  120. package/{esm2015/src/render3/i18n/i18n_insert_before_index.js → esm2020/src/render3/i18n/i18n_insert_before_index.mjs} +0 -0
  121. package/{esm2015/src/render3/i18n/i18n_locale_id.js → esm2020/src/render3/i18n/i18n_locale_id.mjs} +0 -0
  122. package/{esm2015/src/render3/i18n/i18n_parse.js → esm2020/src/render3/i18n/i18n_parse.mjs} +0 -0
  123. package/{esm2015/src/render3/i18n/i18n_postprocess.js → esm2020/src/render3/i18n/i18n_postprocess.mjs} +0 -0
  124. package/{esm2015/src/render3/i18n/i18n_tree_shaking.js → esm2020/src/render3/i18n/i18n_tree_shaking.mjs} +0 -0
  125. package/{esm2015/src/render3/i18n/i18n_util.js → esm2020/src/render3/i18n/i18n_util.mjs} +0 -0
  126. package/{esm2015/src/render3/index.js → esm2020/src/render3/index.mjs} +0 -0
  127. package/{esm2015/src/render3/instructions/advance.js → esm2020/src/render3/instructions/advance.mjs} +0 -0
  128. package/{esm2015/src/render3/instructions/all.js → esm2020/src/render3/instructions/all.mjs} +0 -0
  129. package/{esm2015/src/render3/instructions/attribute.js → esm2020/src/render3/instructions/attribute.mjs} +0 -0
  130. package/{esm2015/src/render3/instructions/attribute_interpolation.js → esm2020/src/render3/instructions/attribute_interpolation.mjs} +0 -0
  131. package/{esm2015/src/render3/instructions/change_detection.js → esm2020/src/render3/instructions/change_detection.mjs} +0 -0
  132. package/{esm2015/src/render3/instructions/class_map_interpolation.js → esm2020/src/render3/instructions/class_map_interpolation.mjs} +0 -0
  133. package/{esm2015/src/render3/instructions/di.js → esm2020/src/render3/instructions/di.mjs} +0 -0
  134. package/{esm2015/src/render3/instructions/di_attr.js → esm2020/src/render3/instructions/di_attr.mjs} +0 -0
  135. package/{esm2015/src/render3/instructions/element.js → esm2020/src/render3/instructions/element.mjs} +0 -0
  136. package/{esm2015/src/render3/instructions/element_container.js → esm2020/src/render3/instructions/element_container.mjs} +0 -0
  137. package/{esm2015/src/render3/instructions/get_current_view.js → esm2020/src/render3/instructions/get_current_view.mjs} +0 -0
  138. package/{esm2015/src/render3/instructions/host_property.js → esm2020/src/render3/instructions/host_property.mjs} +0 -0
  139. package/{esm2015/src/render3/instructions/i18n.js → esm2020/src/render3/instructions/i18n.mjs} +0 -0
  140. package/{esm2015/src/render3/instructions/i18n_icu_container_visitor.js → esm2020/src/render3/instructions/i18n_icu_container_visitor.mjs} +0 -0
  141. package/{esm2015/src/render3/instructions/interpolation.js → esm2020/src/render3/instructions/interpolation.mjs} +0 -0
  142. package/{esm2015/src/render3/instructions/listener.js → esm2020/src/render3/instructions/listener.mjs} +0 -0
  143. package/{esm2015/src/render3/instructions/lview_debug.js → esm2020/src/render3/instructions/lview_debug.mjs} +0 -0
  144. package/{esm2015/src/render3/instructions/namespace.js → esm2020/src/render3/instructions/namespace.mjs} +0 -0
  145. package/{esm2015/src/render3/instructions/next_context.js → esm2020/src/render3/instructions/next_context.mjs} +0 -0
  146. package/{esm2015/src/render3/instructions/projection.js → esm2020/src/render3/instructions/projection.mjs} +0 -0
  147. package/{esm2015/src/render3/instructions/property.js → esm2020/src/render3/instructions/property.mjs} +0 -0
  148. package/{esm2015/src/render3/instructions/property_interpolation.js → esm2020/src/render3/instructions/property_interpolation.mjs} +0 -0
  149. package/esm2020/src/render3/instructions/shared.mjs +1811 -0
  150. package/{esm2015/src/render3/instructions/storage.js → esm2020/src/render3/instructions/storage.mjs} +0 -0
  151. package/{esm2015/src/render3/instructions/style_map_interpolation.js → esm2020/src/render3/instructions/style_map_interpolation.mjs} +0 -0
  152. package/{esm2015/src/render3/instructions/style_prop_interpolation.js → esm2020/src/render3/instructions/style_prop_interpolation.mjs} +0 -0
  153. package/{esm2015/src/render3/instructions/styling.js → esm2020/src/render3/instructions/styling.mjs} +0 -0
  154. package/{esm2015/src/render3/instructions/template.js → esm2020/src/render3/instructions/template.mjs} +0 -0
  155. package/{esm2015/src/render3/instructions/text.js → esm2020/src/render3/instructions/text.mjs} +0 -0
  156. package/{esm2015/src/render3/instructions/text_interpolation.js → esm2020/src/render3/instructions/text_interpolation.mjs} +0 -0
  157. package/{esm2015/src/render3/interfaces/container.js → esm2020/src/render3/interfaces/container.mjs} +0 -0
  158. package/{esm2015/src/render3/interfaces/context.js → esm2020/src/render3/interfaces/context.mjs} +0 -0
  159. package/{esm2015/src/render3/interfaces/definition.js → esm2020/src/render3/interfaces/definition.mjs} +0 -0
  160. package/{esm2015/src/render3/interfaces/document.js → esm2020/src/render3/interfaces/document.mjs} +0 -0
  161. package/{esm2015/src/render3/interfaces/i18n.js → esm2020/src/render3/interfaces/i18n.mjs} +0 -0
  162. package/{esm2015/src/render3/interfaces/injector.js → esm2020/src/render3/interfaces/injector.mjs} +0 -0
  163. package/{esm2015/src/render3/interfaces/node.js → esm2020/src/render3/interfaces/node.mjs} +0 -0
  164. package/{esm2015/src/render3/interfaces/player.js → esm2020/src/render3/interfaces/player.mjs} +0 -0
  165. package/{esm2015/src/render3/interfaces/projection.js → esm2020/src/render3/interfaces/projection.mjs} +0 -0
  166. package/{esm2015/src/render3/interfaces/public_definitions.js → esm2020/src/render3/interfaces/public_definitions.mjs} +0 -0
  167. package/{esm2015/src/render3/interfaces/query.js → esm2020/src/render3/interfaces/query.mjs} +0 -0
  168. package/esm2020/src/render3/interfaces/renderer.mjs +27 -0
  169. package/{esm2015/src/render3/interfaces/renderer_dom.js → esm2020/src/render3/interfaces/renderer_dom.mjs} +0 -0
  170. package/{esm2015/src/render3/interfaces/sanitization.js → esm2020/src/render3/interfaces/sanitization.mjs} +0 -0
  171. package/{esm2015/src/render3/interfaces/styling.js → esm2020/src/render3/interfaces/styling.mjs} +0 -0
  172. package/{esm2015/src/render3/interfaces/type_checks.js → esm2020/src/render3/interfaces/type_checks.mjs} +0 -0
  173. package/{esm2015/src/render3/interfaces/view.js → esm2020/src/render3/interfaces/view.mjs} +0 -0
  174. package/esm2020/src/render3/jit/directive.mjs +325 -0
  175. package/esm2020/src/render3/jit/environment.mjs +165 -0
  176. package/{esm2015/src/render3/jit/jit_options.js → esm2020/src/render3/jit/jit_options.mjs} +0 -0
  177. package/{esm2015/src/render3/jit/module.js → esm2020/src/render3/jit/module.mjs} +0 -0
  178. package/esm2020/src/render3/jit/partial.mjs +104 -0
  179. package/{esm2015/src/render3/jit/pipe.js → esm2020/src/render3/jit/pipe.mjs} +0 -0
  180. package/esm2020/src/render3/metadata.mjs +49 -0
  181. package/{esm2015/src/render3/namespaces.js → esm2020/src/render3/namespaces.mjs} +0 -0
  182. package/esm2020/src/render3/ng_module_ref.mjs +122 -0
  183. package/{esm2015/src/render3/node_assert.js → esm2020/src/render3/node_assert.mjs} +0 -0
  184. package/{esm2015/src/render3/node_manipulation.js → esm2020/src/render3/node_manipulation.mjs} +0 -0
  185. package/{esm2015/src/render3/node_manipulation_i18n.js → esm2020/src/render3/node_manipulation_i18n.mjs} +0 -0
  186. package/{esm2015/src/render3/node_selector_matcher.js → esm2020/src/render3/node_selector_matcher.mjs} +0 -0
  187. package/esm2020/src/render3/pipe.mjs +184 -0
  188. package/{esm2015/src/render3/profiler.js → esm2020/src/render3/profiler.mjs} +0 -0
  189. package/{esm2015/src/render3/pure_function.js → esm2020/src/render3/pure_function.mjs} +0 -0
  190. package/{esm2015/src/render3/query.js → esm2020/src/render3/query.mjs} +0 -0
  191. package/{esm2015/src/render3/state.js → esm2020/src/render3/state.mjs} +0 -0
  192. package/{esm2015/src/render3/styling/class_differ.js → esm2020/src/render3/styling/class_differ.mjs} +0 -0
  193. package/{esm2015/src/render3/styling/static_styling.js → esm2020/src/render3/styling/static_styling.mjs} +0 -0
  194. package/{esm2015/src/render3/styling/style_binding_list.js → esm2020/src/render3/styling/style_binding_list.mjs} +0 -0
  195. package/{esm2015/src/render3/styling/styling_parser.js → esm2020/src/render3/styling/styling_parser.mjs} +0 -0
  196. package/{esm2015/src/render3/tokens.js → esm2020/src/render3/tokens.mjs} +0 -0
  197. package/{esm2015/src/render3/util/attrs_utils.js → esm2020/src/render3/util/attrs_utils.mjs} +0 -0
  198. package/{esm2015/src/render3/util/change_detection_utils.js → esm2020/src/render3/util/change_detection_utils.mjs} +0 -0
  199. package/{esm2015/src/render3/util/debug_utils.js → esm2020/src/render3/util/debug_utils.mjs} +0 -0
  200. package/esm2020/src/render3/util/discovery_utils.mjs +411 -0
  201. package/esm2020/src/render3/util/global_utils.mjs +77 -0
  202. package/{esm2015/src/render3/util/injector_utils.js → esm2020/src/render3/util/injector_utils.mjs} +0 -0
  203. package/esm2020/src/render3/util/misc_utils.mjs +61 -0
  204. package/{esm2015/src/render3/util/stringify_utils.js → esm2020/src/render3/util/stringify_utils.mjs} +0 -0
  205. package/{esm2015/src/render3/util/view_traversal_utils.js → esm2020/src/render3/util/view_traversal_utils.mjs} +0 -0
  206. package/{esm2015/src/render3/util/view_utils.js → esm2020/src/render3/util/view_utils.mjs} +0 -0
  207. package/{esm2015/src/render3/view_engine_compatibility_prebound.js → esm2020/src/render3/view_engine_compatibility_prebound.mjs} +1 -1
  208. package/{esm2015/src/render3/view_ref.js → esm2020/src/render3/view_ref.mjs} +0 -0
  209. package/{esm2015/src/sanitization/bypass.js → esm2020/src/sanitization/bypass.mjs} +0 -0
  210. package/{esm2015/src/sanitization/html_sanitizer.js → esm2020/src/sanitization/html_sanitizer.mjs} +0 -0
  211. package/{esm2015/src/sanitization/inert_body.js → esm2020/src/sanitization/inert_body.mjs} +3 -3
  212. package/{esm2015/src/sanitization/sanitization.js → esm2020/src/sanitization/sanitization.mjs} +0 -0
  213. package/{esm2015/src/sanitization/sanitizer.js → esm2020/src/sanitization/sanitizer.mjs} +0 -0
  214. package/{esm2015/src/sanitization/security.js → esm2020/src/sanitization/security.mjs} +0 -0
  215. package/{esm2015/src/sanitization/url_sanitizer.js → esm2020/src/sanitization/url_sanitizer.mjs} +0 -0
  216. package/esm2020/src/testability/testability.mjs +258 -0
  217. package/{esm2015/src/util/array_utils.js → esm2020/src/util/array_utils.mjs} +0 -0
  218. package/{esm2015/src/util/assert.js → esm2020/src/util/assert.mjs} +0 -0
  219. package/{esm2015/src/util/char_code.js → esm2020/src/util/char_code.mjs} +0 -0
  220. package/{esm2015/src/util/closure.js → esm2020/src/util/closure.mjs} +0 -0
  221. package/{esm2015/src/util/comparison.js → esm2020/src/util/comparison.mjs} +0 -0
  222. package/{esm2015/src/util/decorators.js → esm2020/src/util/decorators.mjs} +0 -0
  223. package/{esm2015/src/util/dom.js → esm2020/src/util/dom.mjs} +0 -0
  224. package/{esm2015/src/util/empty.js → esm2020/src/util/empty.mjs} +0 -0
  225. package/{esm2015/src/util/errors.js → esm2020/src/util/errors.mjs} +0 -0
  226. package/{esm2015/src/util/global.js → esm2020/src/util/global.mjs} +0 -0
  227. package/{esm2015/src/util/is_dev_mode.js → esm2020/src/util/is_dev_mode.mjs} +0 -0
  228. package/{esm2015/src/util/iterable.js → esm2020/src/util/iterable.mjs} +0 -0
  229. package/{esm2015/src/util/lang.js → esm2020/src/util/lang.mjs} +0 -0
  230. package/{esm2015/src/util/microtask.js → esm2020/src/util/microtask.mjs} +0 -0
  231. package/{esm2015/src/util/named_array_type.js → esm2020/src/util/named_array_type.mjs} +0 -0
  232. package/{esm2015/src/util/ng_dev_mode.js → esm2020/src/util/ng_dev_mode.mjs} +0 -0
  233. package/{esm2015/src/util/ng_i18n_closure_mode.js → esm2020/src/util/ng_i18n_closure_mode.mjs} +0 -0
  234. package/{esm2015/src/util/ng_jit_mode.js → esm2020/src/util/ng_jit_mode.mjs} +0 -0
  235. package/{esm2015/src/util/ng_reflect.js → esm2020/src/util/ng_reflect.mjs} +0 -0
  236. package/{esm2015/src/util/noop.js → esm2020/src/util/noop.mjs} +0 -0
  237. package/{esm2015/src/util/property.js → esm2020/src/util/property.mjs} +0 -0
  238. package/{esm2015/src/util/raf.js → esm2020/src/util/raf.mjs} +0 -0
  239. package/{esm2015/src/util/security/trusted_type_defs.js → esm2020/src/util/security/trusted_type_defs.mjs} +0 -0
  240. package/esm2020/src/util/security/trusted_types.mjs +130 -0
  241. package/esm2020/src/util/security/trusted_types_bypass.mjs +83 -0
  242. package/{esm2015/src/util/stringify.js → esm2020/src/util/stringify.mjs} +0 -0
  243. package/{esm2015/src/util/symbol.js → esm2020/src/util/symbol.mjs} +0 -0
  244. package/{esm2015/src/version.js → esm2020/src/version.mjs} +1 -1
  245. package/{esm2015/src/view/element.js → esm2020/src/view/element.mjs} +0 -0
  246. package/{esm2015/src/view/entrypoint.js → esm2020/src/view/entrypoint.mjs} +0 -0
  247. package/{esm2015/src/view/errors.js → esm2020/src/view/errors.mjs} +0 -0
  248. package/{esm2015/src/view/index.js → esm2020/src/view/index.mjs} +2 -2
  249. package/{esm2015/src/view/ng_content.js → esm2020/src/view/ng_content.mjs} +0 -0
  250. package/{esm2015/src/view/ng_module.js → esm2020/src/view/ng_module.mjs} +0 -0
  251. package/esm2020/src/view/provider.mjs +490 -0
  252. package/esm2020/src/view/provider_flags.mjs +26 -0
  253. package/{esm2015/src/view/pure_expression.js → esm2020/src/view/pure_expression.mjs} +0 -0
  254. package/{esm2015/src/view/query.js → esm2020/src/view/query.mjs} +0 -0
  255. package/esm2020/src/view/refs.mjs +369 -0
  256. package/{esm2015/src/view/services.js → esm2020/src/view/services.mjs} +0 -0
  257. package/{esm2015/src/view/text.js → esm2020/src/view/text.mjs} +0 -0
  258. package/{esm2015/src/view/types.js → esm2020/src/view/types.mjs} +0 -0
  259. package/esm2020/src/view/util.mjs +369 -0
  260. package/{esm2015/src/view/view.js → esm2020/src/view/view.mjs} +0 -0
  261. package/{esm2015/src/view/view_attach.js → esm2020/src/view/view_attach.mjs} +0 -0
  262. package/{esm2015/src/zone/ng_zone.js → esm2020/src/zone/ng_zone.mjs} +0 -0
  263. package/{esm2015/src/zone.js → esm2020/src/zone.mjs} +0 -0
  264. package/{esm2015/testing/index.js → esm2020/testing/index.mjs} +0 -0
  265. package/{esm2015/testing/public_api.js → esm2020/testing/public_api.mjs} +0 -0
  266. package/{esm2015/testing/src/async.js → esm2020/testing/src/async.mjs} +0 -0
  267. package/{esm2015/testing/src/component_fixture.js → esm2020/testing/src/component_fixture.mjs} +0 -0
  268. package/{esm2015/testing/src/fake_async.js → esm2020/testing/src/fake_async.mjs} +0 -0
  269. package/{esm2015/testing/src/lang_utils.js → esm2020/testing/src/lang_utils.mjs} +0 -0
  270. package/esm2020/testing/src/logger.mjs +34 -0
  271. package/{esm2015/testing/src/metadata_override.js → esm2020/testing/src/metadata_override.mjs} +0 -0
  272. package/{esm2015/testing/src/metadata_overrider.js → esm2020/testing/src/metadata_overrider.mjs} +0 -0
  273. package/esm2020/testing/src/ng_zone_mock.mjs +33 -0
  274. package/{esm2015/testing/src/private_export_testing.js → esm2020/testing/src/private_export_testing.mjs} +0 -0
  275. package/esm2020/testing/src/r3_test_bed.mjs +397 -0
  276. package/esm2020/testing/src/r3_test_bed_compiler.mjs +735 -0
  277. package/{esm2015/testing/src/resolvers.js → esm2020/testing/src/resolvers.mjs} +1 -1
  278. package/{esm2015/testing/src/styling.js → esm2020/testing/src/styling.mjs} +0 -0
  279. package/esm2020/testing/src/test_bed.mjs +614 -0
  280. package/esm2020/testing/src/test_bed_common.mjs +28 -0
  281. package/esm2020/testing/src/test_compiler.mjs +69 -0
  282. package/{esm2015/testing/src/test_hooks.js → esm2020/testing/src/test_hooks.mjs} +0 -0
  283. package/{esm2015/testing/src/testing.js → esm2020/testing/src/testing.mjs} +0 -0
  284. package/{esm2015/testing/src/testing_internal.js → esm2020/testing/src/testing_internal.mjs} +0 -0
  285. package/esm2020/testing/testing.mjs +5 -0
  286. package/fesm2015/{core.js → core.mjs} +8674 -8756
  287. package/fesm2015/core.mjs.map +1 -0
  288. package/fesm2015/{testing.js → testing.mjs} +50 -61
  289. package/fesm2015/testing.mjs.map +1 -0
  290. package/fesm2020/core.mjs +33107 -0
  291. package/fesm2020/core.mjs.map +1 -0
  292. package/fesm2020/testing.mjs +2635 -0
  293. package/fesm2020/testing.mjs.map +1 -0
  294. package/package.json +34 -9
  295. package/schematics/migrations/abstract-control-parent/index.js +6 -6
  296. package/schematics/migrations/abstract-control-parent/util.d.ts +1 -1
  297. package/schematics/migrations/abstract-control-parent/util.js +11 -8
  298. package/schematics/migrations/activated-route-snapshot-fragment/index.js +12 -9
  299. package/schematics/migrations/activated-route-snapshot-fragment/util.d.ts +1 -1
  300. package/schematics/migrations/activated-route-snapshot-fragment/util.js +10 -7
  301. package/schematics/migrations/can-activate-with-redirect-to/index.js +13 -10
  302. package/schematics/migrations/can-activate-with-redirect-to/util.d.ts +1 -1
  303. package/schematics/migrations/can-activate-with-redirect-to/util.js +13 -10
  304. package/schematics/migrations/deep-shadow-piercing-selector/index.js +3 -3
  305. package/schematics/migrations/dynamic-queries/index.js +13 -10
  306. package/schematics/migrations/dynamic-queries/util.d.ts +1 -1
  307. package/schematics/migrations/dynamic-queries/util.js +12 -9
  308. package/schematics/migrations/initial-navigation/collector.d.ts +1 -1
  309. package/schematics/migrations/initial-navigation/collector.js +23 -20
  310. package/schematics/migrations/initial-navigation/index.js +5 -5
  311. package/schematics/migrations/initial-navigation/transform.d.ts +1 -1
  312. package/schematics/migrations/initial-navigation/transform.js +11 -8
  313. package/schematics/migrations/initial-navigation/update_recorder.d.ts +1 -1
  314. package/schematics/migrations/initial-navigation/update_recorder.js +1 -1
  315. package/schematics/migrations/initial-navigation/util.d.ts +1 -1
  316. package/schematics/migrations/initial-navigation/util.js +10 -7
  317. package/schematics/migrations/missing-injectable/definition_collector.d.ts +1 -1
  318. package/schematics/migrations/missing-injectable/definition_collector.js +16 -13
  319. package/schematics/migrations/missing-injectable/index.js +26 -12
  320. package/schematics/migrations/missing-injectable/providers_evaluator.d.ts +9 -19
  321. package/schematics/migrations/missing-injectable/providers_evaluator.js +47 -40
  322. package/schematics/migrations/missing-injectable/transform.d.ts +3 -2
  323. package/schematics/migrations/missing-injectable/transform.js +18 -16
  324. package/schematics/migrations/missing-injectable/update_recorder.d.ts +1 -1
  325. package/schematics/migrations/missing-injectable/update_recorder.js +1 -1
  326. package/schematics/migrations/module-with-providers/collector.d.ts +1 -1
  327. package/schematics/migrations/module-with-providers/collector.js +12 -9
  328. package/schematics/migrations/module-with-providers/index.js +26 -12
  329. package/schematics/migrations/module-with-providers/transform.d.ts +4 -3
  330. package/schematics/migrations/module-with-providers/transform.js +23 -22
  331. package/schematics/migrations/module-with-providers/util.d.ts +1 -1
  332. package/schematics/migrations/module-with-providers/util.js +10 -7
  333. package/schematics/migrations/move-document/document_import_visitor.d.ts +1 -1
  334. package/schematics/migrations/move-document/document_import_visitor.js +7 -4
  335. package/schematics/migrations/move-document/index.js +8 -8
  336. package/schematics/migrations/move-document/move-import.d.ts +1 -1
  337. package/schematics/migrations/move-document/move-import.js +27 -24
  338. package/schematics/migrations/native-view-encapsulation/index.js +6 -6
  339. package/schematics/migrations/native-view-encapsulation/util.d.ts +1 -1
  340. package/schematics/migrations/native-view-encapsulation/util.js +8 -5
  341. package/schematics/migrations/navigation-extras-omissions/index.js +13 -10
  342. package/schematics/migrations/navigation-extras-omissions/util.d.ts +1 -1
  343. package/schematics/migrations/navigation-extras-omissions/util.js +17 -14
  344. package/schematics/migrations/relative-link-resolution/collector.d.ts +1 -1
  345. package/schematics/migrations/relative-link-resolution/collector.js +17 -14
  346. package/schematics/migrations/relative-link-resolution/index.js +5 -5
  347. package/schematics/migrations/relative-link-resolution/transform.d.ts +1 -1
  348. package/schematics/migrations/relative-link-resolution/transform.js +12 -9
  349. package/schematics/migrations/relative-link-resolution/update_recorder.d.ts +1 -1
  350. package/schematics/migrations/relative-link-resolution/update_recorder.js +1 -1
  351. package/schematics/migrations/relative-link-resolution/util.d.ts +1 -1
  352. package/schematics/migrations/relative-link-resolution/util.js +10 -7
  353. package/schematics/migrations/renderer-to-renderer2/helpers.d.ts +1 -1
  354. package/schematics/migrations/renderer-to-renderer2/helpers.js +92 -89
  355. package/schematics/migrations/renderer-to-renderer2/index.js +20 -17
  356. package/schematics/migrations/renderer-to-renderer2/migration.d.ts +1 -1
  357. package/schematics/migrations/renderer-to-renderer2/migration.js +33 -30
  358. package/schematics/migrations/renderer-to-renderer2/util.d.ts +1 -1
  359. package/schematics/migrations/renderer-to-renderer2/util.js +23 -20
  360. package/schematics/migrations/router-link-empty-expression/analyze_template.d.ts +2 -2
  361. package/schematics/migrations/router-link-empty-expression/analyze_template.js +6 -7
  362. package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.d.ts +7 -6
  363. package/schematics/migrations/router-link-empty-expression/angular/html_routerlink_empty_expr_visitor.js +10 -11
  364. package/schematics/migrations/router-link-empty-expression/index.js +27 -16
  365. package/schematics/migrations/router-preserve-query-params/index.js +13 -10
  366. package/schematics/migrations/router-preserve-query-params/util.d.ts +1 -1
  367. package/schematics/migrations/router-preserve-query-params/util.js +19 -16
  368. package/schematics/migrations/static-queries/angular/directive_inputs.d.ts +1 -1
  369. package/schematics/migrations/static-queries/angular/directive_inputs.js +14 -11
  370. package/schematics/migrations/static-queries/angular/ng_query_visitor.d.ts +1 -1
  371. package/schematics/migrations/static-queries/angular/ng_query_visitor.js +17 -14
  372. package/schematics/migrations/static-queries/angular/query-definition.d.ts +1 -1
  373. package/schematics/migrations/static-queries/angular/query-definition.js +1 -1
  374. package/schematics/migrations/static-queries/angular/super_class.d.ts +1 -1
  375. package/schematics/migrations/static-queries/angular/super_class.js +1 -1
  376. package/schematics/migrations/static-queries/index.js +43 -18
  377. package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.d.ts +6 -3
  378. package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.js +44 -48
  379. package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.d.ts +1 -1
  380. package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.js +41 -38
  381. package/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.d.ts +1 -1
  382. package/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.js +10 -7
  383. package/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.d.ts +10 -9
  384. package/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.js +35 -36
  385. package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.d.ts +3 -2
  386. package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +14 -10
  387. package/schematics/migrations/static-queries/transform.d.ts +1 -1
  388. package/schematics/migrations/static-queries/transform.js +14 -11
  389. package/schematics/migrations/template-var-assignment/analyze_template.d.ts +2 -2
  390. package/schematics/migrations/template-var-assignment/analyze_template.js +6 -7
  391. package/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.d.ts +7 -6
  392. package/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.js +31 -30
  393. package/schematics/migrations/template-var-assignment/index.js +20 -9
  394. package/schematics/migrations/testbed-teardown/index.d.ts +11 -0
  395. package/schematics/migrations/testbed-teardown/index.js +92 -0
  396. package/schematics/migrations/testbed-teardown/util.d.ts +35 -0
  397. package/schematics/migrations/testbed-teardown/util.js +188 -0
  398. package/schematics/migrations/undecorated-classes-with-decorated-fields/index.js +26 -12
  399. package/schematics/migrations/undecorated-classes-with-decorated-fields/transform.d.ts +3 -2
  400. package/schematics/migrations/undecorated-classes-with-decorated-fields/transform.js +23 -21
  401. package/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.d.ts +1 -1
  402. package/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.js +1 -1
  403. package/schematics/migrations/undecorated-classes-with-di/create_ngc_program.d.ts +4 -4
  404. package/schematics/migrations/undecorated-classes-with-di/create_ngc_program.js +5 -6
  405. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.d.ts +3 -3
  406. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.js +18 -16
  407. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.d.ts +3 -5
  408. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.js +13 -11
  409. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.d.ts +2 -2
  410. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.js +18 -15
  411. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.js +2 -2
  412. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.d.ts +1 -1
  413. package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.js +16 -13
  414. package/schematics/migrations/undecorated-classes-with-di/index.js +64 -22
  415. package/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.d.ts +4 -4
  416. package/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.js +28 -35
  417. package/schematics/migrations/undecorated-classes-with-di/transform.d.ts +5 -5
  418. package/schematics/migrations/undecorated-classes-with-di/transform.js +29 -26
  419. package/schematics/migrations/undecorated-classes-with-di/update_recorder.d.ts +1 -1
  420. package/schematics/migrations/undecorated-classes-with-di/update_recorder.js +1 -1
  421. package/schematics/migrations/wait-for-async/index.js +16 -13
  422. package/schematics/migrations/wait-for-async/util.d.ts +1 -1
  423. package/schematics/migrations/wait-for-async/util.js +9 -6
  424. package/schematics/migrations/xhr-factory/index.js +13 -10
  425. package/schematics/migrations.json +6 -1
  426. package/schematics/package.json +3 -0
  427. package/schematics/utils/import_manager.d.ts +1 -1
  428. package/schematics/utils/import_manager.js +24 -21
  429. package/schematics/utils/load_esm.d.ts +32 -0
  430. package/schematics/utils/load_esm.js +79 -0
  431. package/schematics/utils/ng_component_template.d.ts +1 -1
  432. package/schematics/utils/ng_component_template.js +21 -18
  433. package/schematics/utils/ng_decorators.d.ts +1 -1
  434. package/schematics/utils/ng_decorators.js +2 -2
  435. package/schematics/utils/parse_html.d.ts +2 -2
  436. package/schematics/utils/parse_html.js +4 -5
  437. package/schematics/utils/project_tsconfig_paths.js +3 -3
  438. package/schematics/utils/template_ast_visitor.d.ts +55 -0
  439. package/schematics/utils/template_ast_visitor.js +73 -0
  440. package/schematics/utils/typescript/class_declaration.d.ts +1 -1
  441. package/schematics/utils/typescript/class_declaration.js +10 -7
  442. package/schematics/utils/typescript/compiler_host.d.ts +1 -1
  443. package/schematics/utils/typescript/compiler_host.js +11 -8
  444. package/schematics/utils/typescript/decorators.d.ts +1 -1
  445. package/schematics/utils/typescript/decorators.js +8 -5
  446. package/schematics/utils/typescript/find_base_classes.d.ts +1 -1
  447. package/schematics/utils/typescript/find_base_classes.js +7 -4
  448. package/schematics/utils/typescript/functions.d.ts +1 -1
  449. package/schematics/utils/typescript/functions.js +9 -6
  450. package/schematics/utils/typescript/imports.d.ts +1 -1
  451. package/schematics/utils/typescript/imports.js +12 -9
  452. package/schematics/utils/typescript/nodes.d.ts +1 -1
  453. package/schematics/utils/typescript/nodes.js +11 -8
  454. package/schematics/utils/typescript/parse_tsconfig.d.ts +1 -1
  455. package/schematics/utils/typescript/parse_tsconfig.js +31 -9
  456. package/schematics/utils/typescript/property_name.d.ts +1 -1
  457. package/schematics/utils/typescript/property_name.js +7 -4
  458. package/schematics/utils/typescript/symbol.d.ts +1 -1
  459. package/schematics/utils/typescript/symbol.js +15 -12
  460. package/testing/package.json +5 -5
  461. package/testing/testing.d.ts +57 -339
  462. package/bundles/core-testing.umd.js +0 -3179
  463. package/bundles/core-testing.umd.js.map +0 -1
  464. package/bundles/core.umd.js +0 -34488
  465. package/bundles/core.umd.js.map +0 -1
  466. package/core.metadata.json +0 -1
  467. package/esm2015/core.externs.js +0 -6
  468. package/esm2015/core.js +0 -38
  469. package/esm2015/src/application_init.js +0 -142
  470. package/esm2015/src/application_module.js +0 -134
  471. package/esm2015/src/application_ref.js +0 -735
  472. package/esm2015/src/change_detection/change_detection.js +0 -31
  473. package/esm2015/src/change_detection/change_detection_util.js +0 -105
  474. package/esm2015/src/change_detection/change_detector_ref.js +0 -96
  475. package/esm2015/src/change_detection/differs/default_iterable_differ.js +0 -668
  476. package/esm2015/src/change_detection.js +0 -14
  477. package/esm2015/src/codegen_private_exports.js +0 -11
  478. package/esm2015/src/compiler/compiler.externs.js +0 -0
  479. package/esm2015/src/console.js +0 -23
  480. package/esm2015/src/core.js +0 -50
  481. package/esm2015/src/core_private_export.js +0 -35
  482. package/esm2015/src/core_render3_private_export.js +0 -45
  483. package/esm2015/src/debug/debug_node.js +0 -632
  484. package/esm2015/src/di/injectable.js +0 -36
  485. package/esm2015/src/di/injection_token.js +0 -75
  486. package/esm2015/src/di/injector.js +0 -326
  487. package/esm2015/src/di/injector_compatibility.js +0 -187
  488. package/esm2015/src/di/interface/interface.externs.js +0 -0
  489. package/esm2015/src/di/jit/injectable.js +0 -96
  490. package/esm2015/src/di/metadata.js +0 -62
  491. package/esm2015/src/di/metadata_attr.js +0 -24
  492. package/esm2015/src/di/util.js +0 -53
  493. package/esm2015/src/event_emitter.js +0 -54
  494. package/esm2015/src/i18n/locale_data_api.js +0 -131
  495. package/esm2015/src/i18n/locale_en.js +0 -17
  496. package/esm2015/src/interface/interface.externs.js +0 -0
  497. package/esm2015/src/linker/compiler.js +0 -118
  498. package/esm2015/src/linker/element_ref.js +0 -66
  499. package/esm2015/src/linker/ng_module_factory.js +0 -21
  500. package/esm2015/src/linker/ng_module_factory_loader.js +0 -41
  501. package/esm2015/src/linker/system_js_ng_module_factory_loader.js +0 -77
  502. package/esm2015/src/linker/view_container_ref.js +0 -252
  503. package/esm2015/src/linker.js +0 -20
  504. package/esm2015/src/metadata/di.js +0 -99
  505. package/esm2015/src/metadata/directives.js +0 -120
  506. package/esm2015/src/metadata/ng_module.js +0 -44
  507. package/esm2015/src/reflection/reflection.externs.js +0 -0
  508. package/esm2015/src/render3/component.js +0 -206
  509. package/esm2015/src/render3/features/ng_onchanges_feature.js +0 -92
  510. package/esm2015/src/render3/instructions/shared.js +0 -1813
  511. package/esm2015/src/render3/interfaces/renderer.js +0 -29
  512. package/esm2015/src/render3/jit/directive.js +0 -312
  513. package/esm2015/src/render3/jit/environment.js +0 -167
  514. package/esm2015/src/render3/jit/partial.js +0 -105
  515. package/esm2015/src/render3/metadata.js +0 -49
  516. package/esm2015/src/render3/ng_module_ref.js +0 -108
  517. package/esm2015/src/render3/pipe.js +0 -202
  518. package/esm2015/src/render3/util/discovery_utils.js +0 -411
  519. package/esm2015/src/render3/util/global_utils.js +0 -78
  520. package/esm2015/src/render3/util/misc_utils.js +0 -63
  521. package/esm2015/src/testability/testability.js +0 -256
  522. package/esm2015/src/util/security/trusted_types.js +0 -133
  523. package/esm2015/src/util/security/trusted_types_bypass.js +0 -86
  524. package/esm2015/src/util/util.externs.js +0 -0
  525. package/esm2015/src/view/provider.js +0 -507
  526. package/esm2015/src/view/refs.js +0 -362
  527. package/esm2015/src/view/util.js +0 -378
  528. package/esm2015/testing/src/logger.js +0 -32
  529. package/esm2015/testing/src/ng_zone_mock.js +0 -31
  530. package/esm2015/testing/src/r3_test_bed.js +0 -397
  531. package/esm2015/testing/src/r3_test_bed_compiler.js +0 -744
  532. package/esm2015/testing/src/test_bed.js +0 -608
  533. package/esm2015/testing/src/test_bed_common.js +0 -31
  534. package/esm2015/testing/src/test_compiler.js +0 -66
  535. package/esm2015/testing/testing.externs.js +0 -6
  536. package/esm2015/testing/testing.js +0 -7
  537. package/fesm2015/core.js.map +0 -1
  538. package/fesm2015/testing.js.map +0 -1
  539. package/src/r3_symbols.d.ts +0 -1025
  540. package/testing/testing.metadata.json +0 -1
  541. package/testing.d.ts +0 -7
  542. package/testing.metadata.json +0 -1
package/core.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @license Angular v13.0.0-next.7
2
+ * @license Angular v13.0.0-rc.1
3
3
  * (c) 2010-2021 Google LLC. https://angular.io/
4
4
  * License: MIT
5
5
  */
@@ -263,6 +263,8 @@ export declare const APP_ID: InjectionToken<string>;
263
263
  */
264
264
  export declare const APP_INITIALIZER: InjectionToken<readonly (() => Observable<unknown> | Promise<unknown> | void)[]>;
265
265
 
266
+ declare function _appIdRandomProviderFactory(): string;
267
+
266
268
  /**
267
269
  * A class that reflects the state of running {@link APP_INITIALIZER} functions.
268
270
  *
@@ -276,6 +278,8 @@ export declare class ApplicationInitStatus {
276
278
  readonly donePromise: Promise<any>;
277
279
  readonly done = false;
278
280
  constructor(appInits: ReadonlyArray<() => Observable<unknown> | Promise<unknown> | void>);
281
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationInitStatus, [{ optional: true; }]>;
282
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationInitStatus>;
279
283
  }
280
284
 
281
285
  /**
@@ -290,6 +294,9 @@ export declare class ApplicationInitStatus {
290
294
  */
291
295
  export declare class ApplicationModule {
292
296
  constructor(appRef: ApplicationRef);
297
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationModule, never>;
298
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ApplicationModule, never, never, never>;
299
+ static ɵinj: i0.ɵɵInjectorDeclaration<ApplicationModule>;
293
300
  }
294
301
 
295
302
  /**
@@ -447,7 +454,48 @@ export declare class ApplicationRef {
447
454
  *
448
455
  * {@example core/ts/platform/platform.ts region='domNode'}
449
456
  */
450
- bootstrap<C>(componentOrFactory: ComponentFactory<C> | Type<C>, rootSelectorOrNode?: string | any): ComponentRef<C>;
457
+ bootstrap<C>(component: Type<C>, rootSelectorOrNode?: string | any): ComponentRef<C>;
458
+ /**
459
+ * Bootstrap a component onto the element identified by its selector or, optionally, to a
460
+ * specified element.
461
+ *
462
+ * @usageNotes
463
+ * ### Bootstrap process
464
+ *
465
+ * When bootstrapping a component, Angular mounts it onto a target DOM element
466
+ * and kicks off automatic change detection. The target DOM element can be
467
+ * provided using the `rootSelectorOrNode` argument.
468
+ *
469
+ * If the target DOM element is not provided, Angular tries to find one on a page
470
+ * using the `selector` of the component that is being bootstrapped
471
+ * (first matched element is used).
472
+ *
473
+ * ### Example
474
+ *
475
+ * Generally, we define the component to bootstrap in the `bootstrap` array of `NgModule`,
476
+ * but it requires us to know the component while writing the application code.
477
+ *
478
+ * Imagine a situation where we have to wait for an API call to decide about the component to
479
+ * bootstrap. We can use the `ngDoBootstrap` hook of the `NgModule` and call this method to
480
+ * dynamically bootstrap a component.
481
+ *
482
+ * {@example core/ts/platform/platform.ts region='componentSelector'}
483
+ *
484
+ * Optionally, a component can be mounted onto a DOM element that does not match the
485
+ * selector of the bootstrapped component.
486
+ *
487
+ * In the following example, we are providing a CSS selector to match the target element.
488
+ *
489
+ * {@example core/ts/platform/platform.ts region='cssSelector'}
490
+ *
491
+ * While in this example, we are providing reference to a DOM node.
492
+ *
493
+ * {@example core/ts/platform/platform.ts region='domNode'}
494
+ *
495
+ * @deprecated Passing Component factories as the `Application.bootstrap` function argument is
496
+ * deprecated. Pass Component Types instead.
497
+ */
498
+ bootstrap<C>(componentFactory: ComponentFactory<C>, rootSelectorOrNode?: string | any): ComponentRef<C>;
451
499
  /**
452
500
  * Invoke this method to explicitly process change detection and its side-effects.
453
501
  *
@@ -474,6 +522,8 @@ export declare class ApplicationRef {
474
522
  * Returns the number of attached views.
475
523
  */
476
524
  get viewCount(): number;
525
+ static ɵfac: i0.ɵɵFactoryDeclaration<ApplicationRef, never>;
526
+ static ɵprov: i0.ɵɵInjectableDeclaration<ApplicationRef>;
477
527
  }
478
528
 
479
529
  /**
@@ -795,6 +845,11 @@ declare function compileInjectable(type: Type<any>, meta?: Injectable): void;
795
845
  * of components.
796
846
  *
797
847
  * @publicApi
848
+ *
849
+ * @deprecated
850
+ * Ivy JIT mode doesn't require accessing this symbol.
851
+ * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
852
+ * additional context.
798
853
  */
799
854
  export declare class Compiler {
800
855
  /**
@@ -826,6 +881,8 @@ export declare class Compiler {
826
881
  * Returns the id for a given NgModule, if one is defined and known to the compiler.
827
882
  */
828
883
  getModuleId(moduleType: Type<any>): string | undefined;
884
+ static ɵfac: i0.ɵɵFactoryDeclaration<Compiler, never>;
885
+ static ɵprov: i0.ɵɵInjectableDeclaration<Compiler>;
829
886
  }
830
887
 
831
888
  /**
@@ -839,6 +896,11 @@ export declare const COMPILER_OPTIONS: InjectionToken<CompilerOptions[]>;
839
896
  * A factory for creating a Compiler
840
897
  *
841
898
  * @publicApi
899
+ *
900
+ * @deprecated
901
+ * Ivy JIT mode doesn't require accessing this symbol.
902
+ * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
903
+ * additional context.
842
904
  */
843
905
  export declare abstract class CompilerFactory {
844
906
  abstract createCompiler(options?: CompilerOptions[]): Compiler;
@@ -1529,6 +1591,15 @@ declare interface CreateComponentOptions {
1529
1591
  scheduler?: (work: () => void) => void;
1530
1592
  }
1531
1593
 
1594
+ /**
1595
+ * Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
1596
+ * @param ngModule NgModule class.
1597
+ * @param parentInjector Optional injector instance to use as a parent for the module injector. If
1598
+ * not provided, `NullInjector` will be used instead.
1599
+ * @publicApi
1600
+ */
1601
+ export declare const createNgModuleRef: <T>(ngModule: Type<T>, parentInjector?: Injector) => NgModuleRef<T>;
1602
+
1532
1603
  /**
1533
1604
  * Creates a platform.
1534
1605
  * Platforms must be created on launch using this function.
@@ -1895,7 +1966,7 @@ declare const DECLARATION_VIEW = 15;
1895
1966
  * CurrencyPipe when there is no currency code passed into it. This is only used by
1896
1967
  * CurrencyPipe and has no relation to locale currency. Defaults to USD if not configured.
1897
1968
  *
1898
- * See the [i18n guide](guide/i18n#setting-up-locale) for more information.
1969
+ * See the [i18n guide](guide/i18n-common-locale-id) for more information.
1899
1970
  *
1900
1971
  * <div class="alert is-helpful">
1901
1972
  *
@@ -2814,13 +2885,22 @@ export declare interface ForwardRefFn {
2814
2885
  export declare const getDebugNode: (nativeNode: any) => DebugNode | null;
2815
2886
 
2816
2887
  /**
2817
- * Returns the NgModuleFactory with the given id, if it exists and has been loaded.
2818
- * Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module
2819
- * cannot be found.
2888
+ * Returns the NgModuleFactory with the given id (specified using [@NgModule.id
2889
+ * field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do
2890
+ * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
2820
2891
  * @publicApi
2892
+ * @deprecated Use `getNgModuleById` instead.
2821
2893
  */
2822
2894
  export declare const getModuleFactory: (id: string) => NgModuleFactory<any>;
2823
2895
 
2896
+ /**
2897
+ * Returns the NgModule class with the given id (specified using [@NgModule.id
2898
+ * field](api/core/NgModule#id)), if it exists and has been loaded. Classes for NgModules that do
2899
+ * not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
2900
+ * @publicApi
2901
+ */
2902
+ export declare const getNgModuleById: <T>(id: string) => Type<T>;
2903
+
2824
2904
  /**
2825
2905
  * Returns the current platform.
2826
2906
  *
@@ -3139,6 +3219,24 @@ export declare interface HostListenerDecorator {
3139
3219
  new (eventName: string, args?: string[]): any;
3140
3220
  }
3141
3221
 
3222
+ declare namespace i0 {
3223
+ export {
3224
+ ɵɵinject,
3225
+ ɵɵdefineInjectable,
3226
+ ɵɵdefineInjector,
3227
+ ɵɵInjectableDeclaration,
3228
+ ɵNgModuleDef as NgModuleDef,
3229
+ ɵɵdefineNgModule,
3230
+ ɵɵFactoryDeclaration,
3231
+ ɵɵInjectorDeclaration,
3232
+ ɵɵNgModuleDeclaration,
3233
+ ɵsetClassMetadata as setClassMetadata,
3234
+ ɵNgModuleFactory as NgModuleFactory,
3235
+ ɵnoSideEffects,
3236
+ ITS_JUST_ANGULAR
3237
+ }
3238
+ }
3239
+
3142
3240
  /**
3143
3241
  * Array storing OpCode for dynamically creating `i18n` translation DOM elements.
3144
3242
  *
@@ -3511,6 +3609,9 @@ export declare interface InjectableType<T> extends Type<T> {
3511
3609
  ɵprov: unknown;
3512
3610
  }
3513
3611
 
3612
+ /** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
3613
+ declare function injectChangeDetectorRef(flags: InjectFlags): ChangeDetectorRef;
3614
+
3514
3615
 
3515
3616
  /**
3516
3617
  * Type of the Inject decorator / constructor function.
@@ -3539,6 +3640,13 @@ export declare interface InjectDecorator {
3539
3640
  new (token: any): Inject;
3540
3641
  }
3541
3642
 
3643
+ /**
3644
+ * Creates an ElementRef from the most recent node.
3645
+ *
3646
+ * @returns The ElementRef instance to use
3647
+ */
3648
+ declare function injectElementRef(): ElementRef;
3649
+
3542
3650
  /**
3543
3651
  * Injection flags for DI.
3544
3652
  *
@@ -3568,11 +3676,11 @@ export declare enum InjectFlags {
3568
3676
  * parameterized type.
3569
3677
  *
3570
3678
  * `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
3571
- * the `Injector`. This provides additional level of type safety.
3679
+ * the `Injector`. This provides an additional level of type safety.
3572
3680
  *
3573
3681
  * ```
3574
3682
  * interface MyInterface {...}
3575
- * var myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
3683
+ * const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
3576
3684
  * // myInterface is inferred to be MyInterface.
3577
3685
  * ```
3578
3686
  *
@@ -3580,14 +3688,15 @@ export declare enum InjectFlags {
3580
3688
  * (possibly by creating) a default value of the parameterized type `T`. This sets up the
3581
3689
  * `InjectionToken` using this factory as a provider as if it was defined explicitly in the
3582
3690
  * application's root injector. If the factory function, which takes zero arguments, needs to inject
3583
- * dependencies, it can do so using the `inject` function. See below for an example.
3691
+ * dependencies, it can do so using the `inject` function.
3692
+ * As you can see in the Tree-shakable InjectionToken example below.
3584
3693
  *
3585
3694
  * Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
3586
3695
  * overrides the above behavior and marks the token as belonging to a particular `@NgModule`. As
3587
3696
  * mentioned above, `'root'` is the default value for `providedIn`.
3588
3697
  *
3589
3698
  * @usageNotes
3590
- * ### Basic Example
3699
+ * ### Basic Examples
3591
3700
  *
3592
3701
  * ### Plain InjectionToken
3593
3702
  *
@@ -3603,6 +3712,12 @@ export declare enum InjectFlags {
3603
3712
  export declare class InjectionToken<T> {
3604
3713
  protected _desc: string;
3605
3714
  readonly ɵprov: unknown;
3715
+ /**
3716
+ * @param _desc Description for the token,
3717
+ * used only for debugging purposes,
3718
+ * it should but does not need to be unique
3719
+ * @param options Options for the token's usage, as described above
3720
+ */
3606
3721
  constructor(_desc: string, options?: {
3607
3722
  providedIn?: Type<any> | 'root' | 'platform' | 'any' | null;
3608
3723
  factory: () => T;
@@ -3713,6 +3828,24 @@ declare interface InjectorTypeWithProviders<T> {
3713
3828
  providers?: (Type<any> | ValueProvider | ExistingProvider | FactoryProvider | ConstructorProvider | StaticClassProvider | ClassProvider | any[])[];
3714
3829
  }
3715
3830
 
3831
+ /** Injects a Renderer2 for the current component. */
3832
+ declare function injectRenderer2(): Renderer2;
3833
+
3834
+ /**
3835
+ * Creates a TemplateRef given a node.
3836
+ *
3837
+ * @returns The TemplateRef instance to use
3838
+ */
3839
+ declare function injectTemplateRef<T>(): TemplateRef<T> | null;
3840
+
3841
+ /**
3842
+ * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
3843
+ * already exists, retrieves the existing ViewContainerRef.
3844
+ *
3845
+ * @returns The ViewContainerRef instance to use
3846
+ */
3847
+ declare function injectViewContainerRef(): ViewContainerRef;
3848
+
3716
3849
  /**
3717
3850
  * Type of metadata for an `Input` property.
3718
3851
  *
@@ -3945,6 +4078,12 @@ export declare class IterableDiffers {
3945
4078
  find(iterable: any): IterableDifferFactory;
3946
4079
  }
3947
4080
 
4081
+ /**
4082
+ * The existence of this constant (in this particular file) informs the Angular compiler that the
4083
+ * current program is actually @angular/core, which needs to be compiled specially.
4084
+ */
4085
+ declare const ITS_JUST_ANGULAR = true;
4086
+
3948
4087
  /**
3949
4088
  * `KeyValueArray` is an array where even positions contain keys and odd positions contain values.
3950
4089
  *
@@ -4107,7 +4246,7 @@ declare interface LContainer extends Array<any> {
4107
4246
  * The host could be an LView if this container is on a component node.
4108
4247
  * In that case, the component LView is its HOST.
4109
4248
  */
4110
- readonly [HOST]: RElement | RComment | ɵangular_packages_core_core_ca;
4249
+ readonly [HOST]: RElement | RComment | LView;
4111
4250
  /**
4112
4251
  * This is a type field which allows us to differentiate `LContainer` from `StylingContext` in an
4113
4252
  * efficient way. The value is always set to `true`
@@ -4124,12 +4263,12 @@ declare interface LContainer extends Array<any> {
4124
4263
  * Access to the parent view is necessary so we can propagate back
4125
4264
  * up from inside a container to parent[NEXT].
4126
4265
  */
4127
- [PARENT]: ɵangular_packages_core_core_ca;
4266
+ [PARENT]: LView;
4128
4267
  /**
4129
4268
  * This allows us to jump from a container to a sibling container or component
4130
4269
  * view with the same parent, so we can remove listeners efficiently.
4131
4270
  */
4132
- [NEXT]: ɵangular_packages_core_core_ca | LContainer | null;
4271
+ [NEXT]: LView | LContainer | null;
4133
4272
  /**
4134
4273
  * The number of direct transplanted views which need a refresh or have descendants themselves
4135
4274
  * that need a refresh but have not marked their ancestors as Dirty. This tells us that during
@@ -4142,7 +4281,7 @@ declare interface LContainer extends Array<any> {
4142
4281
  * a different `LContainer`. We need to track views created from a given declaration point since
4143
4282
  * queries collect matches from the embedded view declaration point and _not_ the insertion point.
4144
4283
  */
4145
- [MOVED_VIEWS]: ɵangular_packages_core_core_ca[] | null;
4284
+ [MOVED_VIEWS]: LView[] | null;
4146
4285
  /**
4147
4286
  * Pointer to the `TNode` which represents the host of the container.
4148
4287
  */
@@ -4176,8 +4315,8 @@ declare interface LContainerDebug {
4176
4315
  */
4177
4316
  readonly views: LViewDebug[];
4178
4317
  readonly parent: LViewDebug | null;
4179
- readonly movedViews: ɵangular_packages_core_core_ca[] | null;
4180
- readonly host: RElement | RComment | ɵangular_packages_core_core_ca;
4318
+ readonly movedViews: LView[] | null;
4319
+ readonly host: RElement | RComment | LView;
4181
4320
  readonly next: LViewDebug | LContainerDebug | null;
4182
4321
  readonly hasTransplantedViews: boolean;
4183
4322
  }
@@ -4187,7 +4326,7 @@ declare interface LContainerDebug {
4187
4326
  * It is used for i18n extraction, by i18n pipes (DatePipe, I18nPluralPipe, CurrencyPipe,
4188
4327
  * DecimalPipe and PercentPipe) and by ICU expressions.
4189
4328
  *
4190
- * See the [i18n guide](guide/i18n#setting-up-locale) for more information.
4329
+ * See the [i18n guide](guide/i18n-common-locale-id) for more information.
4191
4330
  *
4192
4331
  * @usageNotes
4193
4332
  * ### Example
@@ -4212,7 +4351,7 @@ export declare const LOCALE_ID: InjectionToken<string>;
4212
4351
  * - `<div #nativeDivEl>` - `nativeDivEl` should point to the native `<div>` element;
4213
4352
  * - `<ng-template #tplRef>` - `tplRef` should point to the `TemplateRef` instance;
4214
4353
  */
4215
- declare type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: ɵangular_packages_core_core_ca) => any;
4354
+ declare type LocalRefExtractor = (tNode: TNodeWithLocalRefs, currentView: LView) => any;
4216
4355
 
4217
4356
  /**
4218
4357
  * lQueries represent a collection of individual LQuery objects tracked in a given view.
@@ -4270,95 +4409,337 @@ declare interface LQuery<T> {
4270
4409
  }
4271
4410
 
4272
4411
  /**
4273
- * Human readable version of the `LView`.
4412
+ * `LView` stores all of the information needed to process the instructions as
4413
+ * they are invoked from the template. Each embedded view and component view has its
4414
+ * own `LView`. When processing a particular view, we set the `viewData` to that
4415
+ * `LView`. When that view is done processing, the `viewData` is set back to
4416
+ * whatever the original `viewData` was before (the parent `LView`).
4274
4417
  *
4275
- * `LView` is a data structure used internally to keep track of views. The `LView` is designed for
4276
- * efficiency and so at times it is difficult to read or write tests which assert on its values. For
4277
- * this reason when `ngDevMode` is true we patch a `LView.debug` property which points to
4278
- * `LViewDebug` for easier debugging and test writing. It is the intent of `LViewDebug` to be used
4279
- * in tests.
4418
+ * Keeping separate state for each view facilities view insertion / deletion, so we
4419
+ * don't have to edit the data array based on which views are present.
4280
4420
  */
4281
- declare interface LViewDebug {
4421
+ declare interface LView extends Array<any> {
4282
4422
  /**
4283
- * Flags associated with the `LView` unpacked into a more readable state.
4423
+ * Human readable representation of the `LView`.
4284
4424
  *
4285
- * See `LViewFlags` for the flag meanings.
4286
- */
4287
- readonly flags: {
4288
- initPhaseState: number;
4289
- creationMode: boolean;
4290
- firstViewPass: boolean;
4291
- checkAlways: boolean;
4292
- dirty: boolean;
4293
- attached: boolean;
4294
- destroyed: boolean;
4295
- isRoot: boolean;
4296
- indexWithinInitPhase: number;
4297
- };
4298
- /**
4299
- * Associated TView
4425
+ * NOTE: This property only exists if `ngDevMode` is set to `true` and it is not present in
4426
+ * production. Its presence is purely to help debug issue in development, and should not be relied
4427
+ * on in production application.
4300
4428
  */
4301
- readonly tView: TView;
4429
+ debug?: LViewDebug;
4302
4430
  /**
4303
- * Parent view (or container)
4431
+ * The node into which this `LView` is inserted.
4304
4432
  */
4305
- readonly parent: LViewDebug | LContainerDebug | null;
4433
+ [HOST]: RElement | null;
4306
4434
  /**
4307
- * Next sibling to the `LView`.
4435
+ * The static data for this view. We need a reference to this so we can easily walk up the
4436
+ * node tree in DI and get the TView.data array associated with a node (where the
4437
+ * directive defs are stored).
4308
4438
  */
4309
- readonly next: LViewDebug | LContainerDebug | null;
4439
+ readonly [TVIEW]: TView;
4440
+ /** Flags for this view. See LViewFlags for more info. */
4441
+ [FLAGS]: LViewFlags;
4310
4442
  /**
4311
- * The context used for evaluation of the `LView`
4443
+ * This may store an {@link LView} or {@link LContainer}.
4312
4444
  *
4313
- * (Usually the component)
4314
- */
4315
- readonly context: {} | null;
4316
- /**
4317
- * Hierarchical tree of nodes.
4445
+ * `LView` - The parent view. This is needed when we exit the view and must restore the previous
4446
+ * LView. Without this, the render method would have to keep a stack of
4447
+ * views as it is recursively rendering templates.
4448
+ *
4449
+ * `LContainer` - The current view is part of a container, and is an embedded view.
4318
4450
  */
4319
- readonly nodes: DebugNode_2[];
4451
+ [PARENT]: LView | LContainer | null;
4320
4452
  /**
4321
- * Template structure (no instance data).
4322
- * (Shows how TNodes are connected)
4453
+ *
4454
+ * The next sibling LView or LContainer.
4455
+ *
4456
+ * Allows us to propagate between sibling view states that aren't in the same
4457
+ * container. Embedded views already have a node.next, but it is only set for
4458
+ * views in the same container. We need a way to link component views and views
4459
+ * across containers as well.
4323
4460
  */
4324
- readonly template: string;
4461
+ [NEXT]: LView | LContainer | null;
4462
+ /** Queries active for this view - nodes from a view are reported to those queries. */
4463
+ [QUERIES]: LQueries | null;
4325
4464
  /**
4326
- * HTML representation of the `LView`.
4465
+ * Store the `TNode` of the location where the current `LView` is inserted into.
4327
4466
  *
4328
- * This is only approximate to actual HTML as child `LView`s are removed.
4467
+ * Given:
4468
+ * ```
4469
+ * <div>
4470
+ * <ng-template><span></span></ng-template>
4471
+ * </div>
4472
+ * ```
4473
+ *
4474
+ * We end up with two `TView`s.
4475
+ * - `parent` `TView` which contains `<div><!-- anchor --></div>`
4476
+ * - `child` `TView` which contains `<span></span>`
4477
+ *
4478
+ * Typically the `child` is inserted into the declaration location of the `parent`, but it can be
4479
+ * inserted anywhere. Because it can be inserted anywhere it is not possible to store the
4480
+ * insertion information in the `TView` and instead we must store it in the `LView[T_HOST]`.
4481
+ *
4482
+ * So to determine where is our insertion parent we would execute:
4483
+ * ```
4484
+ * const parentLView = lView[PARENT];
4485
+ * const parentTNode = lView[T_HOST];
4486
+ * const insertionParent = parentLView[parentTNode.index];
4487
+ * ```
4488
+ *
4489
+ *
4490
+ * If `null`, this is the root view of an application (root component is in this view) and it has
4491
+ * no parents.
4329
4492
  */
4330
- readonly html: string;
4493
+ [T_HOST]: TNode | null;
4331
4494
  /**
4332
- * The host element to which this `LView` is attached.
4495
+ * When a view is destroyed, listeners need to be released and outputs need to be
4496
+ * unsubscribed. This context array stores both listener functions wrapped with
4497
+ * their context and output subscription instances for a particular view.
4498
+ *
4499
+ * These change per LView instance, so they cannot be stored on TView. Instead,
4500
+ * TView.cleanup saves an index to the necessary context in this array.
4501
+ *
4502
+ * After `LView` is created it is possible to attach additional instance specific functions at the
4503
+ * end of the `lView[CLENUP]` because we know that no more `T` level cleanup functions will be
4504
+ * addeded here.
4333
4505
  */
4334
- readonly hostHTML: string | null;
4506
+ [CLEANUP]: any[] | null;
4335
4507
  /**
4336
- * Child `LView`s
4508
+ * - For dynamic views, this is the context with which to render the template (e.g.
4509
+ * `NgForContext`), or `{}` if not defined explicitly.
4510
+ * - For root view of the root component the context contains change detection data.
4511
+ * - For non-root components, the context is the component instance,
4512
+ * - For inline views, the context is null.
4337
4513
  */
4338
- readonly childViews: Array<LViewDebug | LContainerDebug>;
4514
+ [CONTEXT]: {} | RootContext | null;
4515
+ /** An optional Module Injector to be used as fall back after Element Injectors are consulted. */
4516
+ readonly [INJECTOR_2]: Injector | null;
4517
+ /** Factory to be used for creating Renderer. */
4518
+ [RENDERER_FACTORY]: RendererFactory3;
4519
+ /** Renderer to be used for this view. */
4520
+ [RENDERER]: Renderer3;
4521
+ /** An optional custom sanitizer. */
4522
+ [SANITIZER]: Sanitizer | null;
4339
4523
  /**
4340
- * Sub range of `LView` containing decls (DOM elements).
4524
+ * Reference to the first LView or LContainer beneath this LView in
4525
+ * the hierarchy.
4526
+ *
4527
+ * Necessary to store this so views can traverse through their nested views
4528
+ * to remove listeners and call onDestroy callbacks.
4341
4529
  */
4342
- readonly decls: LViewDebugRange;
4530
+ [CHILD_HEAD]: LView | LContainer | null;
4343
4531
  /**
4344
- * Sub range of `LView` containing vars (bindings).
4532
+ * The last LView or LContainer beneath this LView in the hierarchy.
4533
+ *
4534
+ * The tail allows us to quickly add a new state to the end of the view list
4535
+ * without having to propagate starting from the first child.
4345
4536
  */
4346
- readonly vars: LViewDebugRange;
4537
+ [CHILD_TAIL]: LView | LContainer | null;
4347
4538
  /**
4348
- * Sub range of `LView` containing expando (used by DI).
4539
+ * View where this view's template was declared.
4540
+ *
4541
+ * The template for a dynamically created view may be declared in a different view than
4542
+ * it is inserted. We already track the "insertion view" (view where the template was
4543
+ * inserted) in LView[PARENT], but we also need access to the "declaration view"
4544
+ * (view where the template was declared). Otherwise, we wouldn't be able to call the
4545
+ * view's template function with the proper contexts. Context should be inherited from
4546
+ * the declaration view tree, not the insertion view tree.
4547
+ *
4548
+ * Example (AppComponent template):
4549
+ *
4550
+ * <ng-template #foo></ng-template> <-- declared here -->
4551
+ * <some-comp [tpl]="foo"></some-comp> <-- inserted inside this component -->
4552
+ *
4553
+ * The <ng-template> above is declared in the AppComponent template, but it will be passed into
4554
+ * SomeComp and inserted there. In this case, the declaration view would be the AppComponent,
4555
+ * but the insertion view would be SomeComp. When we are removing views, we would want to
4556
+ * traverse through the insertion view to clean up listeners. When we are calling the
4557
+ * template function during change detection, we need the declaration view to get inherited
4558
+ * context.
4349
4559
  */
4350
- readonly expando: LViewDebugRange;
4351
- }
4352
-
4353
- /**
4354
- * `LView` is subdivided to ranges where the actual data is stored. Some of these ranges such as
4355
- * `decls` and `vars` are known at compile time. Other such as `i18n` and `expando` are runtime only
4356
- * concepts.
4357
- */
4358
- declare interface LViewDebugRange {
4560
+ [DECLARATION_VIEW]: LView | null;
4359
4561
  /**
4360
- * The starting index in `LView` where the range begins. (Inclusive)
4361
- */
4562
+ * Points to the declaration component view, used to track transplanted `LView`s.
4563
+ *
4564
+ * See: `DECLARATION_VIEW` which points to the actual `LView` where it was declared, whereas
4565
+ * `DECLARATION_COMPONENT_VIEW` points to the component which may not be same as
4566
+ * `DECLARATION_VIEW`.
4567
+ *
4568
+ * Example:
4569
+ * ```
4570
+ * <#VIEW #myComp>
4571
+ * <div *ngIf="true">
4572
+ * <ng-template #myTmpl>...</ng-template>
4573
+ * </div>
4574
+ * </#VIEW>
4575
+ * ```
4576
+ * In the above case `DECLARATION_VIEW` for `myTmpl` points to the `LView` of `ngIf` whereas
4577
+ * `DECLARATION_COMPONENT_VIEW` points to `LView` of the `myComp` which owns the template.
4578
+ *
4579
+ * The reason for this is that all embedded views are always check-always whereas the component
4580
+ * view can be check-always or on-push. When we have a transplanted view it is important to
4581
+ * determine if we have transplanted a view from check-always declaration to on-push insertion
4582
+ * point. In such a case the transplanted view needs to be added to the `LContainer` in the
4583
+ * declared `LView` and CD during the declared view CD (in addition to the CD at the insertion
4584
+ * point.) (Any transplanted views which are intra Component are of no interest because the CD
4585
+ * strategy of declaration and insertion will always be the same, because it is the same
4586
+ * component.)
4587
+ *
4588
+ * Queries already track moved views in `LView[DECLARATION_LCONTAINER]` and
4589
+ * `LContainer[MOVED_VIEWS]`. However the queries also track `LView`s which moved within the same
4590
+ * component `LView`. Transplanted views are a subset of moved views, and we use
4591
+ * `DECLARATION_COMPONENT_VIEW` to differentiate them. As in this example.
4592
+ *
4593
+ * Example showing intra component `LView` movement.
4594
+ * ```
4595
+ * <#VIEW #myComp>
4596
+ * <div *ngIf="condition; then thenBlock else elseBlock"></div>
4597
+ * <ng-template #thenBlock>Content to render when condition is true.</ng-template>
4598
+ * <ng-template #elseBlock>Content to render when condition is false.</ng-template>
4599
+ * </#VIEW>
4600
+ * ```
4601
+ * The `thenBlock` and `elseBlock` is moved but not transplanted.
4602
+ *
4603
+ * Example showing inter component `LView` movement (transplanted view).
4604
+ * ```
4605
+ * <#VIEW #myComp>
4606
+ * <ng-template #myTmpl>...</ng-template>
4607
+ * <insertion-component [template]="myTmpl"></insertion-component>
4608
+ * </#VIEW>
4609
+ * ```
4610
+ * In the above example `myTmpl` is passed into a different component. If `insertion-component`
4611
+ * instantiates `myTmpl` and `insertion-component` is on-push then the `LContainer` needs to be
4612
+ * marked as containing transplanted views and those views need to be CD as part of the
4613
+ * declaration CD.
4614
+ *
4615
+ *
4616
+ * When change detection runs, it iterates over `[MOVED_VIEWS]` and CDs any child `LView`s where
4617
+ * the `DECLARATION_COMPONENT_VIEW` of the current component and the child `LView` does not match
4618
+ * (it has been transplanted across components.)
4619
+ *
4620
+ * Note: `[DECLARATION_COMPONENT_VIEW]` points to itself if the LView is a component view (the
4621
+ * simplest / most common case).
4622
+ *
4623
+ * see also:
4624
+ * - https://hackmd.io/@mhevery/rJUJsvv9H write up of the problem
4625
+ * - `LContainer[HAS_TRANSPLANTED_VIEWS]` which marks which `LContainer` has transplanted views.
4626
+ * - `LContainer[TRANSPLANT_HEAD]` and `LContainer[TRANSPLANT_TAIL]` storage for transplanted
4627
+ * - `LView[DECLARATION_LCONTAINER]` similar problem for queries
4628
+ * - `LContainer[MOVED_VIEWS]` similar problem for queries
4629
+ */
4630
+ [DECLARATION_COMPONENT_VIEW]: LView;
4631
+ /**
4632
+ * A declaration point of embedded views (ones instantiated based on the content of a
4633
+ * <ng-template>), null for other types of views.
4634
+ *
4635
+ * We need to track all embedded views created from a given declaration point so we can prepare
4636
+ * query matches in a proper order (query matches are ordered based on their declaration point and
4637
+ * _not_ the insertion point).
4638
+ */
4639
+ [DECLARATION_LCONTAINER]: LContainer | null;
4640
+ /**
4641
+ * More flags for this view. See PreOrderHookFlags for more info.
4642
+ */
4643
+ [PREORDER_HOOK_FLAGS]: PreOrderHookFlags;
4644
+ /**
4645
+ * The number of direct transplanted views which need a refresh or have descendants themselves
4646
+ * that need a refresh but have not marked their ancestors as Dirty. This tells us that during
4647
+ * change detection we should still descend to find those children to refresh, even if the parents
4648
+ * are not `Dirty`/`CheckAlways`.
4649
+ */
4650
+ [TRANSPLANTED_VIEWS_TO_REFRESH]: number;
4651
+ }
4652
+
4653
+ /**
4654
+ * Human readable version of the `LView`.
4655
+ *
4656
+ * `LView` is a data structure used internally to keep track of views. The `LView` is designed for
4657
+ * efficiency and so at times it is difficult to read or write tests which assert on its values. For
4658
+ * this reason when `ngDevMode` is true we patch a `LView.debug` property which points to
4659
+ * `LViewDebug` for easier debugging and test writing. It is the intent of `LViewDebug` to be used
4660
+ * in tests.
4661
+ */
4662
+ declare interface LViewDebug {
4663
+ /**
4664
+ * Flags associated with the `LView` unpacked into a more readable state.
4665
+ *
4666
+ * See `LViewFlags` for the flag meanings.
4667
+ */
4668
+ readonly flags: {
4669
+ initPhaseState: number;
4670
+ creationMode: boolean;
4671
+ firstViewPass: boolean;
4672
+ checkAlways: boolean;
4673
+ dirty: boolean;
4674
+ attached: boolean;
4675
+ destroyed: boolean;
4676
+ isRoot: boolean;
4677
+ indexWithinInitPhase: number;
4678
+ };
4679
+ /**
4680
+ * Associated TView
4681
+ */
4682
+ readonly tView: TView;
4683
+ /**
4684
+ * Parent view (or container)
4685
+ */
4686
+ readonly parent: LViewDebug | LContainerDebug | null;
4687
+ /**
4688
+ * Next sibling to the `LView`.
4689
+ */
4690
+ readonly next: LViewDebug | LContainerDebug | null;
4691
+ /**
4692
+ * The context used for evaluation of the `LView`
4693
+ *
4694
+ * (Usually the component)
4695
+ */
4696
+ readonly context: {} | null;
4697
+ /**
4698
+ * Hierarchical tree of nodes.
4699
+ */
4700
+ readonly nodes: DebugNode_2[];
4701
+ /**
4702
+ * Template structure (no instance data).
4703
+ * (Shows how TNodes are connected)
4704
+ */
4705
+ readonly template: string;
4706
+ /**
4707
+ * HTML representation of the `LView`.
4708
+ *
4709
+ * This is only approximate to actual HTML as child `LView`s are removed.
4710
+ */
4711
+ readonly html: string;
4712
+ /**
4713
+ * The host element to which this `LView` is attached.
4714
+ */
4715
+ readonly hostHTML: string | null;
4716
+ /**
4717
+ * Child `LView`s
4718
+ */
4719
+ readonly childViews: Array<LViewDebug | LContainerDebug>;
4720
+ /**
4721
+ * Sub range of `LView` containing decls (DOM elements).
4722
+ */
4723
+ readonly decls: LViewDebugRange;
4724
+ /**
4725
+ * Sub range of `LView` containing vars (bindings).
4726
+ */
4727
+ readonly vars: LViewDebugRange;
4728
+ /**
4729
+ * Sub range of `LView` containing expando (used by DI).
4730
+ */
4731
+ readonly expando: LViewDebugRange;
4732
+ }
4733
+
4734
+ /**
4735
+ * `LView` is subdivided to ranges where the actual data is stored. Some of these ranges such as
4736
+ * `decls` and `vars` are known at compile time. Other such as `i18n` and `expando` are runtime only
4737
+ * concepts.
4738
+ */
4739
+ declare interface LViewDebugRange {
4740
+ /**
4741
+ * The starting index in `LView` where the range begins. (Inclusive)
4742
+ */
4362
4743
  start: number;
4363
4744
  /**
4364
4745
  * The ending index in `LView` where the range ends. (Exclusive)
@@ -4462,7 +4843,7 @@ declare const enum LViewFlags {
4462
4843
  * - Warning (default): show a warning in the console and/or shell.
4463
4844
  * - Ignore: do nothing.
4464
4845
  *
4465
- * See the [i18n guide](guide/i18n#missing-translation) for more information.
4846
+ * See the [i18n guide](guide/i18n-common-merge#report-missing-translations) for more information.
4466
4847
  *
4467
4848
  * @usageNotes
4468
4849
  * ### Example
@@ -4488,6 +4869,11 @@ export declare enum MissingTranslationStrategy {
4488
4869
  * Combination of NgModuleFactory and ComponentFactories.
4489
4870
  *
4490
4871
  * @publicApi
4872
+ *
4873
+ * @deprecated
4874
+ * Ivy JIT mode doesn't require accessing this symbol.
4875
+ * See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
4876
+ * additional context.
4491
4877
  */
4492
4878
  export declare class ModuleWithComponentFactories<T> {
4493
4879
  ngModuleFactory: NgModuleFactory<T>;
@@ -4708,9 +5094,8 @@ export declare interface NgModule {
4708
5094
  */
4709
5095
  schemas?: Array<SchemaMetadata | any[]>;
4710
5096
  /**
4711
- * A name or path that uniquely identifies this NgModule in `getModuleFactory`.
4712
- * If left `undefined`, the NgModule is not registered with
4713
- * `getModuleFactory`.
5097
+ * A name or path that uniquely identifies this NgModule in `getNgModuleById`.
5098
+ * If left `undefined`, the NgModule is not registered with `getNgModuleById`.
4714
5099
  */
4715
5100
  id?: string;
4716
5101
  /**
@@ -4755,23 +5140,20 @@ declare interface NgModuleDefinitionFactory extends DefinitionFactory<NgModuleDe
4755
5140
 
4756
5141
  /**
4757
5142
  * @publicApi
5143
+ *
5144
+ * @deprecated
5145
+ * This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy
5146
+ * JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)
5147
+ * for additional context. Angular provides APIs that accept NgModule classes directly (such as
5148
+ * [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and
5149
+ * [createNgModuleRef](api/core/createNgModuleRef)), consider switching to those APIs instead of
5150
+ * using factory-based ones.
4758
5151
  */
4759
5152
  export declare abstract class NgModuleFactory<T> {
4760
5153
  abstract get moduleType(): Type<T>;
4761
5154
  abstract create(parentInjector: Injector | null): NgModuleRef<T>;
4762
5155
  }
4763
5156
 
4764
- /**
4765
- * Used to load ng module factories.
4766
- *
4767
- * @publicApi
4768
- * @deprecated the `string` form of `loadChildren` is deprecated, and `NgModuleFactoryLoader` is
4769
- * part of its implementation. See `LoadChildren` for more details.
4770
- */
4771
- export declare abstract class NgModuleFactoryLoader {
4772
- abstract load(path: string): Promise<NgModuleFactory<any>>;
4773
- }
4774
-
4775
5157
  declare interface NgModuleProviderDef {
4776
5158
  flags: ɵNodeFlags;
4777
5159
  index: number;
@@ -5467,6 +5849,9 @@ export declare class PlatformRef {
5467
5849
  *
5468
5850
  * let moduleRef = platformBrowser().bootstrapModuleFactory(MyModuleNgFactory);
5469
5851
  * ```
5852
+ *
5853
+ * @deprecated Passing NgModule factories as the `PlatformRef.bootstrapModuleFactory` function
5854
+ * argument is deprecated. Use the `PlatformRef.bootstrapModule` API instead.
5470
5855
  */
5471
5856
  bootstrapModuleFactory<M>(moduleFactory: NgModuleFactory<M>, options?: BootstrapOptions): Promise<NgModuleRef<M>>;
5472
5857
  /**
@@ -5502,6 +5887,8 @@ export declare class PlatformRef {
5502
5887
  */
5503
5888
  destroy(): void;
5504
5889
  get destroyed(): boolean;
5890
+ static ɵfac: i0.ɵɵFactoryDeclaration<PlatformRef, never>;
5891
+ static ɵprov: i0.ɵɵInjectableDeclaration<PlatformRef>;
5505
5892
  }
5506
5893
 
5507
5894
  declare interface PlatformReflectionCapabilities {
@@ -5916,7 +6303,7 @@ declare interface R3DeclareDirectiveFacade {
5916
6303
 
5917
6304
  declare interface R3DeclareFactoryFacade {
5918
6305
  type: Type_2;
5919
- deps: R3DeclareDependencyMetadataFacade[] | null;
6306
+ deps: R3DeclareDependencyMetadataFacade[] | 'invalid' | null;
5920
6307
  target: ɵɵFactoryTarget;
5921
6308
  }
5922
6309
 
@@ -6040,6 +6427,18 @@ declare interface RDomTokenList {
6040
6427
  remove(token: string): void;
6041
6428
  }
6042
6429
 
6430
+ /**
6431
+ * `Dependency` is used by the framework to extend DI.
6432
+ * This is internal to Angular and should not be used directly.
6433
+ */
6434
+ declare class ReflectiveDependency {
6435
+ key: ReflectiveKey;
6436
+ optional: boolean;
6437
+ visibility: Self | SkipSelf | null;
6438
+ constructor(key: ReflectiveKey, optional: boolean, visibility: Self | SkipSelf | null);
6439
+ static fromKey(key: ReflectiveKey): ReflectiveDependency;
6440
+ }
6441
+
6043
6442
  /**
6044
6443
  * A ReflectiveDependency injection container used for instantiating objects and resolving
6045
6444
  * dependencies.
@@ -6328,18 +6727,6 @@ declare interface RElement extends RNode {
6328
6727
  setProperty?(name: string, value: any): void;
6329
6728
  }
6330
6729
 
6331
- /**
6332
- * This is a synthetic lifecycle hook which gets inserted into `TView.preOrderHooks` to simulate
6333
- * `ngOnChanges`.
6334
- *
6335
- * The hook reads the `NgSimpleChangesStore` data from the component instance and if changes are
6336
- * found it invokes `ngOnChanges` on the component instance.
6337
- *
6338
- * @param this Component instance. Because this function gets inserted into `TView.preOrderHooks`,
6339
- * it is guaranteed to be called with component instance.
6340
- */
6341
- declare function rememberChangeHistoryAndInvokeOnChangesHook(this: OnChanges): void;
6342
-
6343
6730
  declare const RENDERER = 11;
6344
6731
 
6345
6732
  /**
@@ -6623,7 +7010,7 @@ export declare class ResolvedReflectiveFactory {
6623
7010
  /**
6624
7011
  * Arguments (dependencies) to the `factory` function.
6625
7012
  */
6626
- dependencies: ɵangular_packages_core_core_e[];
7013
+ dependencies: ReflectiveDependency[];
6627
7014
  constructor(
6628
7015
  /**
6629
7016
  * Factory function which can return an instance of an object represented by a key.
@@ -6632,7 +7019,7 @@ export declare class ResolvedReflectiveFactory {
6632
7019
  /**
6633
7020
  * Arguments (dependencies) to the `factory` function.
6634
7021
  */
6635
- dependencies: ɵangular_packages_core_core_e[]);
7022
+ dependencies: ReflectiveDependency[]);
6636
7023
  }
6637
7024
 
6638
7025
  /**
@@ -7031,40 +7418,6 @@ export declare interface StaticClassSansProvider {
7031
7418
  */
7032
7419
  export declare type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[];
7033
7420
 
7034
- /**
7035
- * NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory
7036
- * @publicApi
7037
- * @deprecated the `string` form of `loadChildren` is deprecated, and `SystemJsNgModuleLoader` is
7038
- * part of its implementation. See `LoadChildren` for more details.
7039
- */
7040
- export declare class SystemJsNgModuleLoader implements NgModuleFactoryLoader {
7041
- private _compiler;
7042
- private _config;
7043
- constructor(_compiler: Compiler, config?: SystemJsNgModuleLoaderConfig);
7044
- load(path: string): Promise<NgModuleFactory<any>>;
7045
- private loadAndCompile;
7046
- private loadFactory;
7047
- }
7048
-
7049
- /**
7050
- * Configuration for SystemJsNgModuleLoader.
7051
- * token.
7052
- *
7053
- * @publicApi
7054
- * @deprecated the `string` form of `loadChildren` is deprecated, and `SystemJsNgModuleLoaderConfig`
7055
- * is part of its implementation. See `LoadChildren` for more details.
7056
- */
7057
- export declare abstract class SystemJsNgModuleLoaderConfig {
7058
- /**
7059
- * Prefix to add when computing the name of the factory module for a given module name.
7060
- */
7061
- factoryPathPrefix: string;
7062
- /**
7063
- * Suffix to add when computing the name of the factory module for a given module name.
7064
- */
7065
- factoryPathSuffix: string;
7066
- }
7067
-
7068
7421
  declare const T_HOST = 6;
7069
7422
 
7070
7423
  /**
@@ -7113,7 +7466,7 @@ declare interface TContainerNode extends TNode {
7113
7466
  * - They are the first node of a component or embedded view
7114
7467
  * - They are dynamically created
7115
7468
  */
7116
- parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
7469
+ parent: TElementNode | TElementContainerNode | null;
7117
7470
  tViews: TView | TView[] | null;
7118
7471
  projection: null;
7119
7472
  value: null;
@@ -7152,12 +7505,36 @@ declare type TData = (TNode | ɵPipeDef<any> | ɵDirectiveDef<any> | ɵComponent
7152
7505
  declare interface TElementContainerNode extends TNode {
7153
7506
  /** Index in the LView[] array. */
7154
7507
  index: number;
7155
- child: ɵangular_packages_core_core_bk | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null;
7156
- parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
7508
+ child: TElementNode | TTextNode | TContainerNode | TElementContainerNode | TProjectionNode | null;
7509
+ parent: TElementNode | TElementContainerNode | null;
7157
7510
  tViews: null;
7158
7511
  projection: null;
7159
7512
  }
7160
7513
 
7514
+ /** Static data for an element */
7515
+ declare interface TElementNode extends TNode {
7516
+ /** Index in the data[] array */
7517
+ index: number;
7518
+ child: TElementNode | TTextNode | TElementContainerNode | TContainerNode | TProjectionNode | null;
7519
+ /**
7520
+ * Element nodes will have parents unless they are the first node of a component or
7521
+ * embedded view (which means their parent is in a different view and must be
7522
+ * retrieved using viewData[HOST_NODE]).
7523
+ */
7524
+ parent: TElementNode | TElementContainerNode | null;
7525
+ tViews: null;
7526
+ /**
7527
+ * If this is a component TNode with projection, this will be an array of projected
7528
+ * TNodes or native nodes (see TNode.projection for more info). If it's a regular element node
7529
+ * or a component without projection, it will be null.
7530
+ */
7531
+ projection: (TNode | RNode[])[] | null;
7532
+ /**
7533
+ * Stores TagName
7534
+ */
7535
+ value: string;
7536
+ }
7537
+
7161
7538
  /**
7162
7539
  * Represents an embedded template that can be used to instantiate embedded views.
7163
7540
  * To instantiate embedded views based on a template, use the `ViewContainerRef`
@@ -7255,6 +7632,8 @@ export declare class Testability implements PublicTestability {
7255
7632
  * @param exactMatch Whether using exactMatch
7256
7633
  */
7257
7634
  findProviders(using: any, provider: string, exactMatch: boolean): any[];
7635
+ static ɵfac: i0.ɵɵFactoryDeclaration<Testability, never>;
7636
+ static ɵprov: i0.ɵɵInjectableDeclaration<Testability>;
7258
7637
  }
7259
7638
 
7260
7639
  /**
@@ -7298,6 +7677,8 @@ export declare class TestabilityRegistry {
7298
7677
  * current node
7299
7678
  */
7300
7679
  findTestabilityInTree(elem: Node, findInAncestors?: boolean): Testability | null;
7680
+ static ɵfac: i0.ɵɵFactoryDeclaration<TestabilityRegistry, never>;
7681
+ static ɵprov: i0.ɵɵInjectableDeclaration<TestabilityRegistry>;
7301
7682
  }
7302
7683
 
7303
7684
  declare interface TextDef {
@@ -7620,7 +8001,7 @@ declare interface TNode {
7620
8001
  *
7621
8002
  * If this is an inline view node (V), the parent will be its container.
7622
8003
  */
7623
- parent: ɵangular_packages_core_core_bk | TContainerNode | null;
8004
+ parent: TElementNode | TContainerNode | null;
7624
8005
  /**
7625
8006
  * List of projected TNodes for a given component host element OR index into the said nodes.
7626
8007
  *
@@ -7876,7 +8257,7 @@ declare const enum TNodeType {
7876
8257
  /**
7877
8258
  * Type representing a set of TNodes that can have local refs (`#foo`) placed on them.
7878
8259
  */
7879
- declare type TNodeWithLocalRefs = TContainerNode | ɵangular_packages_core_core_bk | TElementContainerNode;
8260
+ declare type TNodeWithLocalRefs = TContainerNode | TElementNode | TElementContainerNode;
7880
8261
 
7881
8262
  /** Static data for an LProjectionNode */
7882
8263
  declare interface TProjectionNode extends TNode {
@@ -7887,7 +8268,7 @@ declare interface TProjectionNode extends TNode {
7887
8268
  * or embedded view (which means their parent is in a different view and must be
7888
8269
  * retrieved using LView.node).
7889
8270
  */
7890
- parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
8271
+ parent: TElementNode | TElementContainerNode | null;
7891
8272
  tViews: null;
7892
8273
  /** Index of the projection node. (See TNode.projection for more info.) */
7893
8274
  projection: number;
@@ -8076,7 +8457,7 @@ export declare interface TrackByFunction<T> {
8076
8457
  * Use this token at bootstrap to provide the content of your translation file (`xtb`,
8077
8458
  * `xlf` or `xlf2`) when you want to translate your application in another language.
8078
8459
  *
8079
- * See the [i18n guide](guide/i18n#merge) for more information.
8460
+ * See the [i18n guide](guide/i18n-common-merge) for more information.
8080
8461
  *
8081
8462
  * @usageNotes
8082
8463
  * ### Example
@@ -8102,7 +8483,7 @@ export declare const TRANSLATIONS: InjectionToken<string>;
8102
8483
  * Provide this token at bootstrap to set the format of your {@link TRANSLATIONS}: `xtb`,
8103
8484
  * `xlf` or `xlf2`.
8104
8485
  *
8105
- * See the [i18n guide](guide/i18n#merge) for more information.
8486
+ * See the [i18n guide](guide/i18n-common-merge) for more information.
8106
8487
  *
8107
8488
  * @usageNotes
8108
8489
  * ### Example
@@ -8278,7 +8659,7 @@ declare interface TTextNode extends TNode {
8278
8659
  * embedded view (which means their parent is in a different view and must be
8279
8660
  * retrieved using LView.node).
8280
8661
  */
8281
- parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
8662
+ parent: TElementNode | TElementContainerNode | null;
8282
8663
  tViews: null;
8283
8664
  projection: null;
8284
8665
  }
@@ -8300,7 +8681,7 @@ declare interface TView {
8300
8681
  * This is a blueprint used to generate LView instances for this TView. Copying this
8301
8682
  * blueprint is faster than creating a new LView from scratch.
8302
8683
  */
8303
- blueprint: ɵangular_packages_core_core_ca;
8684
+ blueprint: LView;
8304
8685
  /**
8305
8686
  * The template function used to refresh the view of dynamically created views
8306
8687
  * and components. Will be null for inline views.
@@ -8889,17 +9270,44 @@ export declare abstract class ViewContainerRef {
8889
9270
  /**
8890
9271
  * Instantiates a single component and inserts its host view into this container.
8891
9272
  *
8892
- * @param componentFactory The factory to use.
9273
+ * @param componentType Component Type to use.
9274
+ * @param options An object that contains extra parameters:
9275
+ * * index: the index at which to insert the new component's host view into this container.
9276
+ * If not specified, appends the new view as the last entry.
9277
+ * * injector: the injector to use as the parent for the new component.
9278
+ * * ngModuleRef: an NgModuleRef of the component's NgModule, you should almost always provide
9279
+ * this to ensure that all expected providers are available for the component
9280
+ * instantiation.
9281
+ * * projectableNodes: list of DOM nodes that should be projected through
9282
+ * [`<ng-content>`](api/core/ng-content) of the new component instance.
9283
+ *
9284
+ * @returns The new `ComponentRef` which contains the component instance and the host view.
9285
+ */
9286
+ abstract createComponent<C>(componentType: Type<C>, options?: {
9287
+ index?: number;
9288
+ injector?: Injector;
9289
+ ngModuleRef?: NgModuleRef<unknown>;
9290
+ projectableNodes?: Node[][];
9291
+ }): ComponentRef<C>;
9292
+ /**
9293
+ * Instantiates a single component and inserts its host view into this container.
9294
+ *
9295
+ * @param componentFactory Component factory to use.
8893
9296
  * @param index The index at which to insert the new component's host view into this container.
8894
9297
  * If not specified, appends the new view as the last entry.
8895
9298
  * @param injector The injector to use as the parent for the new component.
8896
- * @param projectableNodes
8897
- * @param ngModule
9299
+ * @param projectableNodes List of DOM nodes that should be projected through
9300
+ * [`<ng-content>`](api/core/ng-content) of the new component instance.
9301
+ * @param ngModuleRef An instance of the NgModuleRef that represent an NgModule.
9302
+ * This information is used to retrieve corresponding NgModule injector.
8898
9303
  *
8899
- * @returns The new component instance, containing the host view.
9304
+ * @returns The new `ComponentRef` which contains the component instance and the host view.
8900
9305
  *
9306
+ * @deprecated Angular no longer requires component factories to dynamically create components.
9307
+ * Use different signature of the `createComponent` method, which allows passing
9308
+ * Component class directly.
8901
9309
  */
8902
- abstract createComponent<C>(componentFactory: ComponentFactory<C>, index?: number, injector?: Injector, projectableNodes?: any[][], ngModule?: NgModuleRef<any>): ComponentRef<C>;
9310
+ abstract createComponent<C>(componentFactory: ComponentFactory<C>, index?: number, injector?: Injector, projectableNodes?: any[][], ngModuleRef?: NgModuleRef<any>): ComponentRef<C>;
8903
9311
  /**
8904
9312
  * Inserts a view into this container.
8905
9313
  * @param viewRef The view to insert.
@@ -9067,14 +9475,14 @@ declare class ViewRef_2<T> implements EmbeddedViewRef<T>, InternalViewRef, viewE
9067
9475
  *
9068
9476
  * @internal
9069
9477
  */
9070
- _lView: ɵangular_packages_core_core_ca,
9478
+ _lView: LView,
9071
9479
  /**
9072
9480
  * This represents the `LView` associated with the point where `ChangeDetectorRef` was
9073
9481
  * requested.
9074
9482
  *
9075
9483
  * This may be different from `_lView` if the `_cdRefInjectingView` is an embedded view.
9076
9484
  */
9077
- _cdRefInjectingView?: ɵangular_packages_core_core_ca | undefined);
9485
+ _cdRefInjectingView?: LView | undefined);
9078
9486
  get context(): T;
9079
9487
  set context(value: T);
9080
9488
  get destroyed(): boolean;
@@ -9294,804 +9702,29 @@ declare interface ViewUpdateFn {
9294
9702
  }
9295
9703
 
9296
9704
  /**
9297
- * Indicates that the result of a {@link Pipe} transformation has changed even though the
9298
- * reference has not changed.
9299
- *
9300
- * Wrapped values are unwrapped automatically during the change detection, and the unwrapped value
9301
- * is stored.
9302
- *
9303
- * Example:
9304
- *
9305
- * ```
9306
- * if (this._latestValue === this._latestReturnedValue) {
9307
- * return this._latestReturnedValue;
9308
- * } else {
9309
- * this._latestReturnedValue = this._latestValue;
9310
- * return WrappedValue.wrap(this._latestValue); // this will force update
9311
- * }
9312
- * ```
9313
- *
9314
- * @publicApi
9315
- * @deprecated from v10 stop using. (No replacement, deemed unnecessary.)
9705
+ * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to
9706
+ * the DOM in a browser environment.
9316
9707
  */
9317
- export declare class WrappedValue {
9318
- /** @deprecated from 5.3, use `unwrap()` instead - will switch to protected */
9319
- wrapped: any;
9320
- constructor(value: any);
9321
- /** Creates a wrapped value. */
9322
- static wrap(value: any): WrappedValue;
9323
- /**
9324
- * Returns the underlying value of a wrapped value.
9325
- * Returns the given `value` when it is not wrapped.
9326
- **/
9327
- static unwrap(value: any): any;
9328
- /** Returns true if `value` is a wrapped value. */
9329
- static isWrapped(value: any): value is WrappedValue;
9330
- }
9331
-
9332
- /**
9333
- * Sanitizes the given unsafe, untrusted HTML fragment, and returns HTML text that is safe to add to
9334
- * the DOM in a browser environment.
9335
- */
9336
- export declare function ɵ_sanitizeHtml(defaultDoc: any, unsafeHtmlInput: string): TrustedHTML | string;
9337
-
9338
-
9339
- export declare function ɵ_sanitizeUrl(url: string): string;
9340
-
9341
- export declare const ɵALLOW_MULTIPLE_PLATFORMS: InjectionToken<boolean>;
9342
-
9343
- export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Html): value is ɵSafeHtml;
9344
-
9345
- export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.ResourceUrl): value is ɵSafeResourceUrl;
9346
-
9347
- export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Script): value is ɵSafeScript;
9348
-
9349
- export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Style): value is ɵSafeStyle;
9350
-
9351
- export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Url): value is ɵSafeUrl;
9352
-
9353
- export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType): boolean;
9354
-
9355
- export declare function ɵand(flags: ɵNodeFlags, matchedQueriesDsl: null | [string | number, ɵQueryValueType][], ngContentIndex: null | number, childCount: number, handleEvent?: null | ElementHandleEventFn, templateFactory?: ViewDefinitionFactory): NodeDef;
9356
-
9357
- /** Checks whether a function is wrapped by a `forwardRef`. */
9358
- export declare function ɵangular_packages_core_core_a(fn: any): fn is () => any;
9359
-
9360
- export declare function ɵangular_packages_core_core_b<T>(token: ProviderToken<T>): T;
9361
-
9362
- export declare function ɵangular_packages_core_core_b<T>(token: ProviderToken<T>, flags?: InjectFlags): T | null;
9363
-
9364
- /**
9365
- * Schedule work at next available slot.
9366
- *
9367
- * In Ivy this is just `requestAnimationFrame`. For compatibility reasons when bootstrapped
9368
- * using `platformRef.bootstrap` we need to use `NgZone.onStable` as the scheduling mechanism.
9369
- * This overrides the scheduling mechanism in Ivy to `NgZone.onStable`.
9370
- *
9371
- * @param ngZone NgZone to use for scheduling.
9372
- */
9373
- export declare function ɵangular_packages_core_core_ba(ngZone: NgZone): (fn: () => void) => void;
9374
-
9375
- /**
9376
- * USD currency code that the application uses by default for CurrencyPipe when no
9377
- * DEFAULT_CURRENCY_CODE is provided.
9378
- */
9379
- export declare const ɵangular_packages_core_core_bb = "USD";
9380
-
9381
- export declare function ɵangular_packages_core_core_bc(checkIndex: number, flags: ɵNodeFlags, matchedQueriesDsl: [string | number, ɵQueryValueType][] | null, childCount: number, token: any, value: any, deps: ([ɵDepFlags, any] | any)[], bindings?: BindingDef[], outputs?: OutputDef[]): NodeDef;
9382
-
9383
- export declare abstract class ɵangular_packages_core_core_bd {
9384
- abstract get view(): ViewData;
9385
- abstract get nodeIndex(): number | null;
9386
- abstract get injector(): Injector;
9387
- abstract get component(): any;
9388
- abstract get providerTokens(): any[];
9389
- abstract get references(): {
9390
- [key: string]: any;
9391
- };
9392
- abstract get context(): any;
9393
- abstract get componentRenderElement(): any;
9394
- abstract get renderNode(): any;
9395
- abstract logError(console: Console, ...values: any[]): void;
9396
- }
9397
-
9398
- export declare function ɵangular_packages_core_core_be<T>(definition: ɵDirectiveDef<T>): typeof rememberChangeHistoryAndInvokeOnChangesHook;
9399
-
9400
- /**
9401
- * A change detection scheduler token for {@link RootContext}. This token is the default value used
9402
- * for the default `RootContext` found in the {@link ROOT_CONTEXT} token.
9403
- */
9404
- export declare const ɵangular_packages_core_core_bf: InjectionToken<(fn: () => void) => void>;
9405
-
9406
- /**
9407
- * Inject static attribute value into directive constructor.
9408
- *
9409
- * This method is used with `factory` functions which are generated as part of
9410
- * `defineDirective` or `defineComponent`. The method retrieves the static value
9411
- * of an attribute. (Dynamic attributes are not supported since they are not resolved
9412
- * at the time of injection and can change over time.)
9413
- *
9414
- * # Example
9415
- * Given:
9416
- * ```
9417
- * @Component(...)
9418
- * class MyComponent {
9419
- * constructor(@Attribute('title') title: string) { ... }
9420
- * }
9421
- * ```
9422
- * When instantiated with
9423
- * ```
9424
- * <my-component title="Hello"></my-component>
9425
- * ```
9426
- *
9427
- * Then factory method generated is:
9428
- * ```
9429
- * MyComponent.ɵcmp = defineComponent({
9430
- * factory: () => new MyComponent(injectAttribute('title'))
9431
- * ...
9432
- * })
9433
- * ```
9434
- *
9435
- * @publicApi
9436
- */
9437
- export declare function ɵangular_packages_core_core_bg(tNode: TNode, attrNameToInject: string): string | null;
9438
-
9439
- /**
9440
- * Return the current `LView`.
9441
- */
9442
- export declare function ɵangular_packages_core_core_bh(): ɵangular_packages_core_core_ca;
9443
-
9444
- export declare function ɵangular_packages_core_core_bi(): number;
9445
-
9446
- export declare function ɵangular_packages_core_core_bj<T = any>(level: number): T;
9447
-
9448
- /** Static data for an element */
9449
- export declare interface ɵangular_packages_core_core_bk extends TNode {
9450
- /** Index in the data[] array */
9451
- index: number;
9452
- child: ɵangular_packages_core_core_bk | TTextNode | TElementContainerNode | TContainerNode | TProjectionNode | null;
9453
- /**
9454
- * Element nodes will have parents unless they are the first node of a component or
9455
- * embedded view (which means their parent is in a different view and must be
9456
- * retrieved using viewData[HOST_NODE]).
9457
- */
9458
- parent: ɵangular_packages_core_core_bk | TElementContainerNode | null;
9459
- tViews: null;
9460
- /**
9461
- * If this is a component TNode with projection, this will be an array of projected
9462
- * TNodes or native nodes (see TNode.projection for more info). If it's a regular element node
9463
- * or a component without projection, it will be null.
9464
- */
9465
- projection: (TNode | RNode[])[] | null;
9466
- /**
9467
- * Stores TagName
9468
- */
9469
- value: string;
9470
- }
9471
-
9472
- /**
9473
- * If the value of the provided exp has changed, calls the pure function to return
9474
- * an updated value. Or if the value has not changed, returns cached value.
9475
- *
9476
- * @param lView LView in which the function is being executed.
9477
- * @param bindingRoot Binding root index.
9478
- * @param slotOffset the offset from binding root to the reserved slot
9479
- * @param pureFn Function that returns an updated value
9480
- * @param exp Updated expression value
9481
- * @param thisArg Optional calling context of pureFn
9482
- * @returns Updated or cached value
9483
- */
9484
- export declare function ɵangular_packages_core_core_bl(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v: any) => any, exp: any, thisArg?: any): any;
9485
-
9486
- /**
9487
- * If the value of any provided exp has changed, calls the pure function to return
9488
- * an updated value. Or if no values have changed, returns cached value.
9489
- *
9490
- * @param lView LView in which the function is being executed.
9491
- * @param bindingRoot Binding root index.
9492
- * @param slotOffset the offset from binding root to the reserved slot
9493
- * @param pureFn
9494
- * @param exp1
9495
- * @param exp2
9496
- * @param thisArg Optional calling context of pureFn
9497
- * @returns Updated or cached value
9498
- */
9499
- export declare function ɵangular_packages_core_core_bm(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any) => any, exp1: any, exp2: any, thisArg?: any): any;
9500
-
9501
- /**
9502
- * If the value of any provided exp has changed, calls the pure function to return
9503
- * an updated value. Or if no values have changed, returns cached value.
9504
- *
9505
- * @param lView LView in which the function is being executed.
9506
- * @param bindingRoot Binding root index.
9507
- * @param slotOffset the offset from binding root to the reserved slot
9508
- * @param pureFn
9509
- * @param exp1
9510
- * @param exp2
9511
- * @param exp3
9512
- * @param thisArg Optional calling context of pureFn
9513
- * @returns Updated or cached value
9514
- */
9515
- export declare function ɵangular_packages_core_core_bn(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any, v3: any) => any, exp1: any, exp2: any, exp3: any, thisArg?: any): any;
9516
-
9517
- /**
9518
- * If the value of any provided exp has changed, calls the pure function to return
9519
- * an updated value. Or if no values have changed, returns cached value.
9520
- *
9521
- * @param lView LView in which the function is being executed.
9522
- * @param bindingRoot Binding root index.
9523
- * @param slotOffset the offset from binding root to the reserved slot
9524
- * @param pureFn
9525
- * @param exp1
9526
- * @param exp2
9527
- * @param exp3
9528
- * @param exp4
9529
- * @param thisArg Optional calling context of pureFn
9530
- * @returns Updated or cached value
9531
- *
9532
- */
9533
- export declare function ɵangular_packages_core_core_bo(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (v1: any, v2: any, v3: any, v4: any) => any, exp1: any, exp2: any, exp3: any, exp4: any, thisArg?: any): any;
9534
-
9535
- /**
9536
- * pureFunction instruction that can support any number of bindings.
9537
- *
9538
- * If the value of any provided exp has changed, calls the pure function to return
9539
- * an updated value. Or if no values have changed, returns cached value.
9540
- *
9541
- * @param lView LView in which the function is being executed.
9542
- * @param bindingRoot Binding root index.
9543
- * @param slotOffset the offset from binding root to the reserved slot
9544
- * @param pureFn A pure function that takes binding values and builds an object or array
9545
- * containing those values.
9546
- * @param exps An array of binding values
9547
- * @param thisArg Optional calling context of pureFn
9548
- * @returns Updated or cached value
9549
- */
9550
- export declare function ɵangular_packages_core_core_bp(lView: ɵangular_packages_core_core_ca, bindingRoot: number, slotOffset: number, pureFn: (...v: any[]) => any, exps: any[], thisArg?: any): any;
9551
-
9552
- /**
9553
- * Detects which sanitizer to use for URL property, based on tag name and prop name.
9554
- *
9555
- * The rules are based on the RESOURCE_URL context config from
9556
- * `packages/compiler/src/schema/dom_security_schema.ts`.
9557
- * If tag and prop names don't match Resource URL schema, use URL sanitizer.
9558
- */
9559
- export declare function ɵangular_packages_core_core_bq(tag: string, prop: string): typeof ɵɵsanitizeResourceUrl;
9560
-
9561
- export declare function ɵangular_packages_core_core_br(name: string, props?: (...args: any[]) => any, parentClass?: any, additionalProcessing?: (target: any, name: string, ...args: any[]) => void): any;
9562
-
9563
- export declare function ɵangular_packages_core_core_bs(name: string, props?: (...args: any[]) => any, parentClass?: any): any;
9564
-
9565
-
9566
- /**
9567
- * Special flag indicating that a decorator is of type `Inject`. It's used to make `Inject`
9568
- * decorator tree-shakable (so we don't have to rely on the `instanceof` checks).
9569
- * Note: this flag is not included into the `InjectFlags` since it's an internal-only API.
9570
- */
9571
- export declare const enum ɵangular_packages_core_core_bt {
9572
- Inject = -1
9573
- }
9574
-
9575
- /**
9576
- * This enum is an exact copy of the `InjectFlags` enum above, but the difference is that this is a
9577
- * const enum, so actual enum values would be inlined in generated code. The `InjectFlags` enum can
9578
- * be turned into a const enum when ViewEngine is removed (see TODO at the `InjectFlags` enum
9579
- * above). The benefit of inlining is that we can use these flags at the top level without affecting
9580
- * tree-shaking (see "no-toplevel-property-access" tslint rule for more info).
9581
- * Keep this enum in sync with `InjectFlags` enum above.
9582
- */
9583
- export declare const enum ɵangular_packages_core_core_bu {
9584
- /** Check self and check parent injector if needed */
9585
- Default = 0,
9586
- /**
9587
- * Specifies that an injector should retrieve a dependency from any injector until reaching the
9588
- * host element of the current component. (Only used with Element Injector)
9589
- */
9590
- Host = 1,
9591
- /** Don't ascend to ancestors of the node requesting injection. */
9592
- Self = 2,
9593
- /** Skip the node that is requesting injection. */
9594
- SkipSelf = 4,
9595
- /** Inject `defaultValue` instead if token not found. */
9596
- Optional = 8,
9597
- /**
9598
- * This token is being injected into a pipe.
9599
- *
9600
- * This flag is intentionally not in the public facing `InjectFlags` because it is only added by
9601
- * the compiler and is not a developer applicable flag.
9602
- */
9603
- ForPipe = 16
9604
- }
9605
-
9606
-
9607
- export declare function ɵangular_packages_core_core_bv<T>(objWithPropertyToExtract: T): string;
9608
-
9609
- export declare class ɵangular_packages_core_core_bw implements Injector {
9610
- get(token: any, notFoundValue?: any): any;
9611
- }
9612
-
9613
- export declare function ɵangular_packages_core_core_bx(): (<T>(token: ProviderToken<T>, flags?: InjectFlags | undefined) => T | null) | undefined;
9614
-
9615
-
9616
- /**
9617
- * Special markers which can be left on `Type.__NG_ELEMENT_ID__` which are used by the Ivy's
9618
- * `NodeInjector`. Usually these markers contain factory functions. But in case of this special
9619
- * marker we can't leave behind a function because it would create tree shaking problem.
9620
- *
9621
- * Currently only `Injector` is special.
9622
- *
9623
- * NOTE: the numbers here must be negative, because positive numbers are used as IDs for bloom
9624
- * filter.
9625
- */
9626
- export declare const enum ɵangular_packages_core_core_by {
9627
- /**
9628
- * Marks that the current type is `Injector`
9629
- */
9630
- Injector = -1
9631
- }
9632
-
9633
- /**
9634
- * Retrieve an `RNode` for a given `TNode` and `LView`.
9635
- *
9636
- * This function guarantees in dev mode to retrieve a non-null `RNode`.
9637
- *
9638
- * @param tNode
9639
- * @param lView
9640
- */
9641
- export declare function ɵangular_packages_core_core_bz(tNode: TNode, lView: ɵangular_packages_core_core_ca): RNode;
9642
-
9643
- /**
9644
- * Attaches a given InjectFlag to a given decorator using monkey-patching.
9645
- * Since DI decorators can be used in providers `deps` array (when provider is configured using
9646
- * `useFactory`) without initialization (e.g. `Host`) and as an instance (e.g. `new Host()`), we
9647
- * attach the flag to make it available both as a static property and as a field on decorator
9648
- * instance.
9649
- *
9650
- * @param decorator Provided DI decorator.
9651
- * @param flag InjectFlag that should be applied.
9652
- */
9653
- export declare function ɵangular_packages_core_core_c(decorator: any, flag: ɵangular_packages_core_core_bu | ɵangular_packages_core_core_bt): any;
9654
-
9655
- /**
9656
- * `LView` stores all of the information needed to process the instructions as
9657
- * they are invoked from the template. Each embedded view and component view has its
9658
- * own `LView`. When processing a particular view, we set the `viewData` to that
9659
- * `LView`. When that view is done processing, the `viewData` is set back to
9660
- * whatever the original `viewData` was before (the parent `LView`).
9661
- *
9662
- * Keeping separate state for each view facilities view insertion / deletion, so we
9663
- * don't have to edit the data array based on which views are present.
9664
- */
9665
- export declare interface ɵangular_packages_core_core_ca extends Array<any> {
9666
- /**
9667
- * Human readable representation of the `LView`.
9668
- *
9669
- * NOTE: This property only exists if `ngDevMode` is set to `true` and it is not present in
9670
- * production. Its presence is purely to help debug issue in development, and should not be relied
9671
- * on in production application.
9672
- */
9673
- debug?: LViewDebug;
9674
- /**
9675
- * The node into which this `LView` is inserted.
9676
- */
9677
- [HOST]: RElement | null;
9678
- /**
9679
- * The static data for this view. We need a reference to this so we can easily walk up the
9680
- * node tree in DI and get the TView.data array associated with a node (where the
9681
- * directive defs are stored).
9682
- */
9683
- readonly [TVIEW]: TView;
9684
- /** Flags for this view. See LViewFlags for more info. */
9685
- [FLAGS]: LViewFlags;
9686
- /**
9687
- * This may store an {@link LView} or {@link LContainer}.
9688
- *
9689
- * `LView` - The parent view. This is needed when we exit the view and must restore the previous
9690
- * LView. Without this, the render method would have to keep a stack of
9691
- * views as it is recursively rendering templates.
9692
- *
9693
- * `LContainer` - The current view is part of a container, and is an embedded view.
9694
- */
9695
- [PARENT]: ɵangular_packages_core_core_ca | LContainer | null;
9696
- /**
9697
- *
9698
- * The next sibling LView or LContainer.
9699
- *
9700
- * Allows us to propagate between sibling view states that aren't in the same
9701
- * container. Embedded views already have a node.next, but it is only set for
9702
- * views in the same container. We need a way to link component views and views
9703
- * across containers as well.
9704
- */
9705
- [NEXT]: ɵangular_packages_core_core_ca | LContainer | null;
9706
- /** Queries active for this view - nodes from a view are reported to those queries. */
9707
- [QUERIES]: LQueries | null;
9708
- /**
9709
- * Store the `TNode` of the location where the current `LView` is inserted into.
9710
- *
9711
- * Given:
9712
- * ```
9713
- * <div>
9714
- * <ng-template><span></span></ng-template>
9715
- * </div>
9716
- * ```
9717
- *
9718
- * We end up with two `TView`s.
9719
- * - `parent` `TView` which contains `<div><!-- anchor --></div>`
9720
- * - `child` `TView` which contains `<span></span>`
9721
- *
9722
- * Typically the `child` is inserted into the declaration location of the `parent`, but it can be
9723
- * inserted anywhere. Because it can be inserted anywhere it is not possible to store the
9724
- * insertion information in the `TView` and instead we must store it in the `LView[T_HOST]`.
9725
- *
9726
- * So to determine where is our insertion parent we would execute:
9727
- * ```
9728
- * const parentLView = lView[PARENT];
9729
- * const parentTNode = lView[T_HOST];
9730
- * const insertionParent = parentLView[parentTNode.index];
9731
- * ```
9732
- *
9733
- *
9734
- * If `null`, this is the root view of an application (root component is in this view) and it has
9735
- * no parents.
9736
- */
9737
- [T_HOST]: TNode | null;
9738
- /**
9739
- * When a view is destroyed, listeners need to be released and outputs need to be
9740
- * unsubscribed. This context array stores both listener functions wrapped with
9741
- * their context and output subscription instances for a particular view.
9742
- *
9743
- * These change per LView instance, so they cannot be stored on TView. Instead,
9744
- * TView.cleanup saves an index to the necessary context in this array.
9745
- *
9746
- * After `LView` is created it is possible to attach additional instance specific functions at the
9747
- * end of the `lView[CLENUP]` because we know that no more `T` level cleanup functions will be
9748
- * addeded here.
9749
- */
9750
- [CLEANUP]: any[] | null;
9751
- /**
9752
- * - For dynamic views, this is the context with which to render the template (e.g.
9753
- * `NgForContext`), or `{}` if not defined explicitly.
9754
- * - For root view of the root component the context contains change detection data.
9755
- * - For non-root components, the context is the component instance,
9756
- * - For inline views, the context is null.
9757
- */
9758
- [CONTEXT]: {} | RootContext | null;
9759
- /** An optional Module Injector to be used as fall back after Element Injectors are consulted. */
9760
- readonly [INJECTOR_2]: Injector | null;
9761
- /** Factory to be used for creating Renderer. */
9762
- [RENDERER_FACTORY]: RendererFactory3;
9763
- /** Renderer to be used for this view. */
9764
- [RENDERER]: Renderer3;
9765
- /** An optional custom sanitizer. */
9766
- [SANITIZER]: Sanitizer | null;
9767
- /**
9768
- * Reference to the first LView or LContainer beneath this LView in
9769
- * the hierarchy.
9770
- *
9771
- * Necessary to store this so views can traverse through their nested views
9772
- * to remove listeners and call onDestroy callbacks.
9773
- */
9774
- [CHILD_HEAD]: ɵangular_packages_core_core_ca | LContainer | null;
9775
- /**
9776
- * The last LView or LContainer beneath this LView in the hierarchy.
9777
- *
9778
- * The tail allows us to quickly add a new state to the end of the view list
9779
- * without having to propagate starting from the first child.
9780
- */
9781
- [CHILD_TAIL]: ɵangular_packages_core_core_ca | LContainer | null;
9782
- /**
9783
- * View where this view's template was declared.
9784
- *
9785
- * The template for a dynamically created view may be declared in a different view than
9786
- * it is inserted. We already track the "insertion view" (view where the template was
9787
- * inserted) in LView[PARENT], but we also need access to the "declaration view"
9788
- * (view where the template was declared). Otherwise, we wouldn't be able to call the
9789
- * view's template function with the proper contexts. Context should be inherited from
9790
- * the declaration view tree, not the insertion view tree.
9791
- *
9792
- * Example (AppComponent template):
9793
- *
9794
- * <ng-template #foo></ng-template> <-- declared here -->
9795
- * <some-comp [tpl]="foo"></some-comp> <-- inserted inside this component -->
9796
- *
9797
- * The <ng-template> above is declared in the AppComponent template, but it will be passed into
9798
- * SomeComp and inserted there. In this case, the declaration view would be the AppComponent,
9799
- * but the insertion view would be SomeComp. When we are removing views, we would want to
9800
- * traverse through the insertion view to clean up listeners. When we are calling the
9801
- * template function during change detection, we need the declaration view to get inherited
9802
- * context.
9803
- */
9804
- [DECLARATION_VIEW]: ɵangular_packages_core_core_ca | null;
9805
- /**
9806
- * Points to the declaration component view, used to track transplanted `LView`s.
9807
- *
9808
- * See: `DECLARATION_VIEW` which points to the actual `LView` where it was declared, whereas
9809
- * `DECLARATION_COMPONENT_VIEW` points to the component which may not be same as
9810
- * `DECLARATION_VIEW`.
9811
- *
9812
- * Example:
9813
- * ```
9814
- * <#VIEW #myComp>
9815
- * <div *ngIf="true">
9816
- * <ng-template #myTmpl>...</ng-template>
9817
- * </div>
9818
- * </#VIEW>
9819
- * ```
9820
- * In the above case `DECLARATION_VIEW` for `myTmpl` points to the `LView` of `ngIf` whereas
9821
- * `DECLARATION_COMPONENT_VIEW` points to `LView` of the `myComp` which owns the template.
9822
- *
9823
- * The reason for this is that all embedded views are always check-always whereas the component
9824
- * view can be check-always or on-push. When we have a transplanted view it is important to
9825
- * determine if we have transplanted a view from check-always declaration to on-push insertion
9826
- * point. In such a case the transplanted view needs to be added to the `LContainer` in the
9827
- * declared `LView` and CD during the declared view CD (in addition to the CD at the insertion
9828
- * point.) (Any transplanted views which are intra Component are of no interest because the CD
9829
- * strategy of declaration and insertion will always be the same, because it is the same
9830
- * component.)
9831
- *
9832
- * Queries already track moved views in `LView[DECLARATION_LCONTAINER]` and
9833
- * `LContainer[MOVED_VIEWS]`. However the queries also track `LView`s which moved within the same
9834
- * component `LView`. Transplanted views are a subset of moved views, and we use
9835
- * `DECLARATION_COMPONENT_VIEW` to differentiate them. As in this example.
9836
- *
9837
- * Example showing intra component `LView` movement.
9838
- * ```
9839
- * <#VIEW #myComp>
9840
- * <div *ngIf="condition; then thenBlock else elseBlock"></div>
9841
- * <ng-template #thenBlock>Content to render when condition is true.</ng-template>
9842
- * <ng-template #elseBlock>Content to render when condition is false.</ng-template>
9843
- * </#VIEW>
9844
- * ```
9845
- * The `thenBlock` and `elseBlock` is moved but not transplanted.
9846
- *
9847
- * Example showing inter component `LView` movement (transplanted view).
9848
- * ```
9849
- * <#VIEW #myComp>
9850
- * <ng-template #myTmpl>...</ng-template>
9851
- * <insertion-component [template]="myTmpl"></insertion-component>
9852
- * </#VIEW>
9853
- * ```
9854
- * In the above example `myTmpl` is passed into a different component. If `insertion-component`
9855
- * instantiates `myTmpl` and `insertion-component` is on-push then the `LContainer` needs to be
9856
- * marked as containing transplanted views and those views need to be CD as part of the
9857
- * declaration CD.
9858
- *
9859
- *
9860
- * When change detection runs, it iterates over `[MOVED_VIEWS]` and CDs any child `LView`s where
9861
- * the `DECLARATION_COMPONENT_VIEW` of the current component and the child `LView` does not match
9862
- * (it has been transplanted across components.)
9863
- *
9864
- * Note: `[DECLARATION_COMPONENT_VIEW]` points to itself if the LView is a component view (the
9865
- * simplest / most common case).
9866
- *
9867
- * see also:
9868
- * - https://hackmd.io/@mhevery/rJUJsvv9H write up of the problem
9869
- * - `LContainer[HAS_TRANSPLANTED_VIEWS]` which marks which `LContainer` has transplanted views.
9870
- * - `LContainer[TRANSPLANT_HEAD]` and `LContainer[TRANSPLANT_TAIL]` storage for transplanted
9871
- * - `LView[DECLARATION_LCONTAINER]` similar problem for queries
9872
- * - `LContainer[MOVED_VIEWS]` similar problem for queries
9873
- */
9874
- [DECLARATION_COMPONENT_VIEW]: ɵangular_packages_core_core_ca;
9875
- /**
9876
- * A declaration point of embedded views (ones instantiated based on the content of a
9877
- * <ng-template>), null for other types of views.
9878
- *
9879
- * We need to track all embedded views created from a given declaration point so we can prepare
9880
- * query matches in a proper order (query matches are ordered based on their declaration point and
9881
- * _not_ the insertion point).
9882
- */
9883
- [DECLARATION_LCONTAINER]: LContainer | null;
9884
- /**
9885
- * More flags for this view. See PreOrderHookFlags for more info.
9886
- */
9887
- [PREORDER_HOOK_FLAGS]: PreOrderHookFlags;
9888
- /**
9889
- * The number of direct transplanted views which need a refresh or have descendants themselves
9890
- * that need a refresh but have not marked their ancestors as Dirty. This tells us that during
9891
- * change detection we should still descend to find those children to refresh, even if the parents
9892
- * are not `Dirty`/`CheckAlways`.
9893
- */
9894
- [TRANSPLANTED_VIEWS_TO_REFRESH]: number;
9895
- }
9896
-
9897
- /**
9898
- * Returns the `RootContext` instance that is associated with
9899
- * the application where the target is situated. It does this by walking the parent views until it
9900
- * gets to the root view, then getting the context off of that.
9901
- *
9902
- * @param viewOrComponent the `LView` or component to get the root context for.
9903
- */
9904
- export declare function ɵangular_packages_core_core_cb(viewOrComponent: ɵangular_packages_core_core_ca | {}): RootContext;
9905
-
9906
-
9907
- /**
9908
- * Handles message string post-processing for internationalization.
9909
- *
9910
- * Handles message string post-processing by transforming it from intermediate
9911
- * format (that might contain some markers that we need to replace) to the final
9912
- * form, consumable by i18nStart instruction. Post processing steps include:
9913
- *
9914
- * 1. Resolve all multi-value cases (like [�*1:1��#2:1�|�#4:1�|�5�])
9915
- * 2. Replace all ICU vars (like "VAR_PLURAL")
9916
- * 3. Replace all placeholders used inside ICUs in a form of {PLACEHOLDER}
9917
- * 4. Replace all ICU references with corresponding values (like �ICU_EXP_ICU_1�)
9918
- * in case multiple ICUs have the same placeholder name
9919
- *
9920
- * @param message Raw translation string for post processing
9921
- * @param replacements Set of replacements that should be applied
9922
- *
9923
- * @returns Transformed string that can be consumed by i18nStart instruction
9924
- *
9925
- * @codeGenApi
9926
- */
9927
- export declare function ɵangular_packages_core_core_cc(message: string, replacements?: {
9928
- [key: string]: (string | string[]);
9929
- }): string;
9930
-
9931
- export declare class ɵangular_packages_core_core_d implements ReflectiveInjector {
9932
- private static INJECTOR_KEY;
9933
- readonly parent: Injector | null;
9934
- keyIds: number[];
9935
- objs: any[];
9936
- /**
9937
- * Private
9938
- */
9939
- constructor(_providers: ResolvedReflectiveProvider[], _parent?: Injector);
9940
- get(token: any, notFoundValue?: any): any;
9941
- resolveAndCreateChild(providers: Provider[]): ReflectiveInjector;
9942
- createChildFromResolved(providers: ResolvedReflectiveProvider[]): ReflectiveInjector;
9943
- resolveAndInstantiate(provider: Provider): any;
9944
- instantiateResolved(provider: ResolvedReflectiveProvider): any;
9945
- getProviderAtIndex(index: number): ResolvedReflectiveProvider;
9946
- private _getMaxNumberOfObjects;
9947
- private _instantiateProvider;
9948
- private _instantiate;
9949
- private _getByReflectiveDependency;
9950
- private _getByKey;
9951
- private _getObjByKeyId;
9952
- get displayName(): string;
9953
- toString(): string;
9954
- }
9955
-
9956
- /**
9957
- * `Dependency` is used by the framework to extend DI.
9958
- * This is internal to Angular and should not be used directly.
9959
- */
9960
- export declare class ɵangular_packages_core_core_e {
9961
- key: ReflectiveKey;
9962
- optional: boolean;
9963
- visibility: Self | SkipSelf | null;
9964
- constructor(key: ReflectiveKey, optional: boolean, visibility: Self | SkipSelf | null);
9965
- static fromKey(key: ReflectiveKey): ɵangular_packages_core_core_e;
9966
- }
9967
-
9968
- /**
9969
- * Resolve a list of Providers.
9970
- */
9971
- export declare function ɵangular_packages_core_core_f(providers: Provider[]): ResolvedReflectiveProvider[];
9972
-
9973
- export declare function ɵangular_packages_core_core_g(): string;
9974
-
9975
- /** Injects a Renderer2 for the current component. */
9976
- export declare function ɵangular_packages_core_core_h(): Renderer2;
9977
-
9978
- /**
9979
- * Creates an ElementRef from the most recent node.
9980
- *
9981
- * @returns The ElementRef instance to use
9982
- */
9983
- export declare function ɵangular_packages_core_core_i(): ElementRef;
9984
-
9985
- /**
9986
- * Creates an ElementRef given a node.
9987
- *
9988
- * @param tNode The node for which you'd like an ElementRef
9989
- * @param lView The view to which the node belongs
9990
- * @returns The ElementRef instance to use
9991
- */
9992
- export declare function ɵangular_packages_core_core_j(tNode: TNode, lView: ɵangular_packages_core_core_ca): ElementRef;
9993
-
9994
- export declare function ɵangular_packages_core_core_k(id: string): NgModuleFactory<any>;
9995
-
9996
- /**
9997
- * Creates a TemplateRef given a node.
9998
- *
9999
- * @returns The TemplateRef instance to use
10000
- */
10001
- export declare function ɵangular_packages_core_core_l<T>(): TemplateRef<T> | null;
10002
-
10003
- /**
10004
- * Creates a TemplateRef and stores it on the injector.
10005
- *
10006
- * @param hostTNode The node on which a TemplateRef is requested
10007
- * @param hostLView The `LView` to which the node belongs
10008
- * @returns The TemplateRef instance or null if we can't create a TemplateRef on a given node type
10009
- */
10010
- export declare function ɵangular_packages_core_core_m<T>(hostTNode: TNode, hostLView: ɵangular_packages_core_core_ca): TemplateRef<T> | null;
10011
-
10012
- /**
10013
- * Creates a ViewContainerRef and stores it on the injector. Or, if the ViewContainerRef
10014
- * already exists, retrieves the existing ViewContainerRef.
10015
- *
10016
- * @returns The ViewContainerRef instance to use
10017
- */
10018
- export declare function ɵangular_packages_core_core_n(): ViewContainerRef;
10019
-
10020
- export declare class ɵangular_packages_core_core_o {
10021
- readonly listeners: DebugEventListener[];
10022
- readonly parent: DebugElement | null;
10023
- readonly nativeNode: any;
10024
- private readonly _debugContext;
10025
- constructor(nativeNode: any, parent: DebugNode | null, _debugContext: ɵangular_packages_core_core_bd);
10026
- get injector(): Injector;
10027
- get componentInstance(): any;
10028
- get context(): any;
10029
- get references(): {
10030
- [key: string]: any;
10031
- };
10032
- get providerTokens(): any[];
10033
- }
10034
-
10035
- export declare class ɵangular_packages_core_core_p extends ɵangular_packages_core_core_o implements DebugElement {
10036
- readonly name: string;
10037
- readonly properties: {
10038
- [key: string]: any;
10039
- };
10040
- readonly attributes: {
10041
- [key: string]: string | null;
10042
- };
10043
- readonly classes: {
10044
- [key: string]: boolean;
10045
- };
10046
- readonly styles: {
10047
- [key: string]: string | null;
10048
- };
10049
- readonly childNodes: DebugNode[];
10050
- readonly nativeElement: any;
10051
- constructor(nativeNode: any, parent: any, _debugContext: ɵangular_packages_core_core_bd);
10052
- addChild(child: DebugNode): void;
10053
- removeChild(child: DebugNode): void;
10054
- insertChildrenAfter(child: DebugNode, newChildren: DebugNode[]): void;
10055
- insertBefore(refChild: DebugNode, newChild: DebugNode): void;
10056
- query(predicate: Predicate<DebugElement>): DebugElement;
10057
- queryAll(predicate: Predicate<DebugElement>): DebugElement[];
10058
- queryAllNodes(predicate: Predicate<DebugNode>): DebugNode[];
10059
- get children(): DebugElement[];
10060
- triggerEventHandler(eventName: string, eventObj: any): void;
10061
- }
9708
+ export declare function ɵ_sanitizeHtml(defaultDoc: any, unsafeHtmlInput: string): TrustedHTML | string;
10062
9709
 
10063
- export declare function ɵangular_packages_core_core_q(nativeNode: any): DebugNode | null;
10064
9710
 
10065
- /** Returns a ChangeDetectorRef (a.k.a. a ViewRef) */
10066
- export declare function ɵangular_packages_core_core_r(flags: InjectFlags): ChangeDetectorRef;
9711
+ export declare function ɵ_sanitizeUrl(url: string): string;
10067
9712
 
10068
- export declare class ɵangular_packages_core_core_s implements IterableDifferFactory {
10069
- constructor();
10070
- supports(obj: Object | null | undefined): boolean;
10071
- create<V>(trackByFn?: TrackByFunction<V>): DefaultIterableDiffer<V>;
10072
- }
9713
+ export declare const ɵALLOW_MULTIPLE_PLATFORMS: InjectionToken<boolean>;
10073
9714
 
10074
- export declare class ɵangular_packages_core_core_t<K, V> implements KeyValueDifferFactory {
10075
- constructor();
10076
- supports(obj: any): boolean;
10077
- create<K, V>(): KeyValueDiffer<K, V>;
10078
- }
9715
+ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Html): value is ɵSafeHtml;
10079
9716
 
10080
- export declare function ɵangular_packages_core_core_u(): IterableDiffers;
9717
+ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.ResourceUrl): value is ɵSafeResourceUrl;
10081
9718
 
10082
- export declare function ɵangular_packages_core_core_v(): KeyValueDiffers;
9719
+ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Script): value is ɵSafeScript;
10083
9720
 
10084
- export declare function ɵangular_packages_core_core_w(): IterableDiffers;
9721
+ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Style): value is ɵSafeStyle;
10085
9722
 
10086
- export declare function ɵangular_packages_core_core_x(): KeyValueDiffers;
9723
+ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType.Url): value is ɵSafeUrl;
10087
9724
 
10088
- export declare function ɵangular_packages_core_core_y(locale?: string): string;
9725
+ export declare function ɵallowSanitizationBypassAndThrow(value: any, type: ɵBypassType): boolean;
10089
9726
 
10090
- /**
10091
- * A built-in [dependency injection token](guide/glossary#di-token)
10092
- * that is used to configure the root injector for bootstrapping.
10093
- */
10094
- export declare const ɵangular_packages_core_core_z: StaticProvider[];
9727
+ export declare function ɵand(flags: ɵNodeFlags, matchedQueriesDsl: null | [string | number, ɵQueryValueType][], ngContentIndex: null | number, childCount: number, handleEvent?: null | ElementHandleEventFn, templateFactory?: ViewDefinitionFactory): NodeDef;
10095
9728
 
10096
9729
  /**
10097
9730
  * Providers that generate a random `APP_ID_TOKEN`.
@@ -10099,7 +9732,7 @@ export declare const ɵangular_packages_core_core_z: StaticProvider[];
10099
9732
  */
10100
9733
  export declare const ɵAPP_ID_RANDOM_PROVIDER: {
10101
9734
  provide: InjectionToken<string>;
10102
- useFactory: typeof ɵangular_packages_core_core_g;
9735
+ useFactory: typeof _appIdRandomProviderFactory;
10103
9736
  deps: any[];
10104
9737
  };
10105
9738
 
@@ -10523,10 +10156,11 @@ export declare interface ɵComponentType<T> extends Type<T> {
10523
10156
  ɵcmp: unknown;
10524
10157
  }
10525
10158
 
10526
-
10527
10159
  export declare class ɵConsole {
10528
10160
  log(message: string): void;
10529
10161
  warn(message: string): void;
10162
+ static ɵfac: i0.ɵɵFactoryDeclaration<ɵConsole, never>;
10163
+ static ɵprov: i0.ɵɵInjectableDeclaration<ɵConsole>;
10530
10164
  }
10531
10165
 
10532
10166
  export declare function ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__(): AttributeDecorator;
@@ -10748,7 +10382,7 @@ export declare const enum ɵExtraLocaleDataIndex {
10748
10382
  *
10749
10383
  * @param locale The locale code.
10750
10384
  * @returns The locale data.
10751
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
10385
+ * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
10752
10386
  */
10753
10387
  export declare function ɵfindLocaleData(locale: string): any;
10754
10388
 
@@ -10856,12 +10490,14 @@ export declare function ɵgetLocaleCurrencyCode(locale: string): string | null;
10856
10490
  * @param locale A locale code for the locale format rules to use.
10857
10491
  * @returns The plural function for the locale.
10858
10492
  * @see `NgPlural`
10859
- * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n)
10493
+ * @see [Internationalization (i18n) Guide](https://angular.io/guide/i18n-overview)
10860
10494
  */
10861
10495
  export declare function ɵgetLocalePluralCase(locale: string): (value: number) => number;
10862
10496
 
10863
10497
  export declare function ɵgetModuleFactory__POST_R3__(id: string): NgModuleFactory<any>;
10864
10498
 
10499
+ export declare function ɵgetNgModuleById__POST_R3__(id: string): ɵNgModuleType;
10500
+
10865
10501
  export declare function ɵgetSanitizationBypassType(value: any): ɵBypassType | null;
10866
10502
 
10867
10503
  export declare type ɵGetterFn = (obj: any) => any;
@@ -10934,7 +10570,7 @@ export declare interface ɵLContext {
10934
10570
  /**
10935
10571
  * The component's parent view data.
10936
10572
  */
10937
- lView: ɵangular_packages_core_core_ca;
10573
+ lView: LView;
10938
10574
  /**
10939
10575
  * The index instance of the node.
10940
10576
  */
@@ -11204,6 +10840,7 @@ export declare class ɵNoopNgZone implements NgZone {
11204
10840
  */
11205
10841
  export declare function ɵnoSideEffects<T>(fn: () => T): T;
11206
10842
 
10843
+
11207
10844
  export declare const ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR: {};
11208
10845
 
11209
10846
  export declare function ɵnov(view: ViewData, index: number): any;
@@ -11446,7 +11083,8 @@ export declare class ɵReflectionCapabilities implements PlatformReflectionCapab
11446
11083
 
11447
11084
  /**
11448
11085
  * Register locale data to be used internally by Angular. See the
11449
- * ["I18n guide"](guide/i18n#i18n-pipes) to know how to import additional locale data.
11086
+ * ["I18n guide"](guide/i18n-common-format-data-locale) to know how to import additional locale
11087
+ * data.
11450
11088
  *
11451
11089
  * The signature `registerLocaleData(data: any, extraData?: any)` is deprecated since v5.1
11452
11090
  */
@@ -11502,7 +11140,7 @@ export declare class ɵRender3ComponentRef<T> extends ComponentRef<T> {
11502
11140
  hostView: ViewRef_2<T>;
11503
11141
  changeDetectorRef: ChangeDetectorRef;
11504
11142
  componentType: Type<T>;
11505
- constructor(componentType: Type<T>, instance: T, location: ElementRef, _rootLView: ɵangular_packages_core_core_ca, _tNode: ɵangular_packages_core_core_bk | TContainerNode | TElementContainerNode);
11143
+ constructor(componentType: Type<T>, instance: T, location: ElementRef, _rootLView: LView, _tNode: TElementNode | TContainerNode | TElementContainerNode);
11506
11144
  get injector(): Injector;
11507
11145
  destroy(): void;
11508
11146
  onDestroy(callback: () => void): void;
@@ -11695,12 +11333,12 @@ export declare function ɵsetLocaleId(localeId: string): void;
11695
11333
  export declare type ɵSetterFn = (obj: any, value: any) => void;
11696
11334
 
11697
11335
  /** Store a value in the `data` at a given `index`. */
11698
- export declare function ɵstore<T>(tView: TView, lView: ɵangular_packages_core_core_ca, index: number, value: T): void;
11336
+ export declare function ɵstore<T>(tView: TView, lView: LView, index: number, value: T): void;
11699
11337
 
11700
11338
 
11701
11339
  export declare function ɵstringify(token: any): string;
11702
11340
 
11703
- export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_r;
11341
+ export declare const ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__: typeof injectChangeDetectorRef;
11704
11342
 
11705
11343
  export declare const ɵSWITCH_COMPILE_COMPONENT__POST_R3__: typeof ɵcompileComponent;
11706
11344
 
@@ -11712,16 +11350,16 @@ export declare const ɵSWITCH_COMPILE_NGMODULE__POST_R3__: typeof ɵcompileNgMod
11712
11350
 
11713
11351
  export declare const ɵSWITCH_COMPILE_PIPE__POST_R3__: typeof ɵcompilePipe;
11714
11352
 
11715
- export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_i;
11353
+ export declare const ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__: typeof injectElementRef;
11716
11354
 
11717
11355
 
11718
11356
  export declare const ɵSWITCH_IVY_ENABLED__POST_R3__ = true;
11719
11357
 
11720
- export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_h;
11358
+ export declare const ɵSWITCH_RENDERER2_FACTORY__POST_R3__: typeof injectRenderer2;
11721
11359
 
11722
- export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_l;
11360
+ export declare const ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__: typeof injectTemplateRef;
11723
11361
 
11724
- export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof ɵangular_packages_core_core_n;
11362
+ export declare const ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__: typeof injectViewContainerRef;
11725
11363
 
11726
11364
  export declare function ɵted(checkIndex: number, ngContentIndex: number | null, staticText: string[]): NodeDef;
11727
11365
 
@@ -11741,8 +11379,6 @@ export declare function ɵtransitiveScopesFor<T>(moduleType: Type<T>): ɵNgModul
11741
11379
  */
11742
11380
  export declare function ɵunregisterLocaleData(): void;
11743
11381
 
11744
- export declare function ɵunv(view: ViewData, nodeIdx: number, bindingIdx: number, value: any): any;
11745
-
11746
11382
  export declare function ɵunwrapSafeValue(value: ɵSafeValue): string;
11747
11383
 
11748
11384
  export declare function ɵunwrapSafeValue<T>(value: T): T;
@@ -15194,7 +14830,7 @@ export declare function ɵɵtemplate(index: number, templateFn: ComponentTemplat
15194
14830
  *
15195
14831
  * @codeGenApi
15196
14832
  */
15197
- export declare function ɵɵtemplateRefExtractor(tNode: TNode, lView: ɵangular_packages_core_core_ca): TemplateRef<any> | null;
14833
+ export declare function ɵɵtemplateRefExtractor(tNode: TNode, lView: LView): TemplateRef<any> | null;
15198
14834
 
15199
14835
  /**
15200
14836
  * Create static text node