@angular/core 13.0.0-next.9 → 13.0.0-rc.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/core.d.ts +791 -1180
- package/esm2020/core.mjs +5 -0
- package/esm2020/index.mjs +14 -0
- package/{esm2015/public_api.js → esm2020/public_api.mjs} +0 -0
- package/esm2020/src/application_init.mjs +140 -0
- package/esm2020/src/application_module.mjs +130 -0
- package/esm2020/src/application_ref.mjs +738 -0
- package/{esm2015/src/application_tokens.js → esm2020/src/application_tokens.mjs} +0 -0
- package/esm2020/src/change_detection/change_detection.mjs +31 -0
- package/esm2020/src/change_detection/change_detection_util.mjs +64 -0
- package/esm2020/src/change_detection/change_detector_ref.mjs +89 -0
- package/{esm2015/src/change_detection/constants.js → esm2020/src/change_detection/constants.mjs} +0 -0
- package/esm2020/src/change_detection/differs/default_iterable_differ.mjs +666 -0
- package/{esm2015/src/change_detection/differs/default_keyvalue_differ.js → esm2020/src/change_detection/differs/default_keyvalue_differ.mjs} +0 -0
- package/{esm2015/src/change_detection/differs/iterable_differs.js → esm2020/src/change_detection/differs/iterable_differs.mjs} +0 -0
- package/{esm2015/src/change_detection/differs/keyvalue_differs.js → esm2020/src/change_detection/differs/keyvalue_differs.mjs} +0 -0
- package/{esm2015/src/change_detection/pipe_transform.js → esm2020/src/change_detection/pipe_transform.mjs} +0 -0
- package/esm2020/src/change_detection.mjs +14 -0
- package/esm2020/src/codegen_private_exports.mjs +11 -0
- package/{esm2015/src/compiler/compiler_facade.js → esm2020/src/compiler/compiler_facade.mjs} +0 -0
- package/{esm2015/src/compiler/compiler_facade_interface.js → esm2020/src/compiler/compiler_facade_interface.mjs} +1 -1
- package/esm2020/src/console.mjs +26 -0
- package/esm2020/src/core.mjs +52 -0
- package/esm2020/src/core_private_export.mjs +34 -0
- package/esm2020/src/core_render3_private_export.mjs +47 -0
- package/esm2020/src/debug/debug_node.mjs +625 -0
- package/{esm2015/src/debug/proxy.js → esm2020/src/debug/proxy.mjs} +0 -0
- package/{esm2015/src/di/forward_ref.js → esm2020/src/di/forward_ref.mjs} +0 -0
- package/{esm2015/src/di/index.js → esm2020/src/di/index.mjs} +0 -0
- package/{esm2015/src/di/inject_switch.js → esm2020/src/di/inject_switch.mjs} +0 -0
- package/esm2020/src/di/injectable.mjs +27 -0
- package/esm2020/src/di/injection_token.mjs +82 -0
- package/esm2020/src/di/injector.mjs +323 -0
- package/esm2020/src/di/injector_compatibility.mjs +185 -0
- package/{esm2015/src/di/injector_marker.js → esm2020/src/di/injector_marker.mjs} +0 -0
- package/{esm2015/src/di/injector_token.js → esm2020/src/di/injector_token.mjs} +0 -0
- package/{esm2015/src/di/interface/defs.js → esm2020/src/di/interface/defs.mjs} +0 -0
- package/{esm2015/src/di/interface/injector.js → esm2020/src/di/interface/injector.mjs} +0 -0
- package/{esm2015/src/di/interface/provider.js → esm2020/src/di/interface/provider.mjs} +0 -0
- package/{esm2015/src/di/jit/environment.js → esm2020/src/di/jit/environment.mjs} +0 -0
- package/esm2020/src/di/jit/injectable.mjs +94 -0
- package/{esm2015/src/di/jit/util.js → esm2020/src/di/jit/util.mjs} +0 -0
- package/esm2020/src/di/metadata.mjs +60 -0
- package/esm2020/src/di/metadata_attr.mjs +24 -0
- package/{esm2015/src/di/null_injector.js → esm2020/src/di/null_injector.mjs} +0 -0
- package/{esm2015/src/di/provider_token.js → esm2020/src/di/provider_token.mjs} +0 -0
- package/{esm2015/src/di/r3_injector.js → esm2020/src/di/r3_injector.mjs} +0 -0
- package/{esm2015/src/di/reflective_errors.js → esm2020/src/di/reflective_errors.mjs} +0 -0
- package/{esm2015/src/di/reflective_injector.js → esm2020/src/di/reflective_injector.mjs} +0 -0
- package/{esm2015/src/di/reflective_key.js → esm2020/src/di/reflective_key.mjs} +0 -0
- package/{esm2015/src/di/reflective_provider.js → esm2020/src/di/reflective_provider.mjs} +0 -0
- package/{esm2015/src/di/scope.js → esm2020/src/di/scope.mjs} +0 -0
- package/esm2020/src/di/util.mjs +51 -0
- package/{esm2015/src/di.js → esm2020/src/di.mjs} +0 -0
- package/{esm2015/src/error_handler.js → esm2020/src/error_handler.mjs} +0 -0
- package/{esm2015/src/errors.js → esm2020/src/errors.mjs} +0 -0
- package/esm2020/src/event_emitter.mjs +53 -0
- package/{esm2015/src/i18n/locale_data_api.js → esm2020/src/i18n/locale_data_api.mjs} +0 -0
- package/esm2020/src/i18n/locale_en.mjs +17 -0
- package/{esm2015/src/i18n/localization.js → esm2020/src/i18n/localization.mjs} +0 -0
- package/{esm2015/src/i18n/tokens.js → esm2020/src/i18n/tokens.mjs} +0 -0
- package/{esm2015/src/interface/lifecycle_hooks.js → esm2020/src/interface/lifecycle_hooks.mjs} +0 -0
- package/{esm2015/src/interface/simple_change.js → esm2020/src/interface/simple_change.mjs} +0 -0
- package/{esm2015/src/interface/type.js → esm2020/src/interface/type.mjs} +0 -0
- package/{esm2015/src/ivy_switch.js → esm2020/src/ivy_switch.mjs} +2 -2
- package/esm2020/src/linker/compiler.mjs +136 -0
- package/{esm2015/src/linker/component_factory.js → esm2020/src/linker/component_factory.mjs} +0 -0
- package/{esm2015/src/linker/component_factory_resolver.js → esm2020/src/linker/component_factory_resolver.mjs} +5 -5
- package/esm2020/src/linker/element_ref.mjs +59 -0
- package/esm2020/src/linker/ng_module_factory.mjs +29 -0
- package/esm2020/src/linker/ng_module_factory_loader.mjs +42 -0
- package/esm2020/src/linker/ng_module_factory_loader_impl.mjs +10 -0
- package/{esm2015/src/linker/ng_module_factory_registration.js → esm2020/src/linker/ng_module_factory_registration.mjs} +2 -2
- package/{esm2015/src/linker/query_list.js → esm2020/src/linker/query_list.mjs} +0 -0
- package/{esm2015/src/linker/template_ref.js → esm2020/src/linker/template_ref.mjs} +2 -2
- package/esm2020/src/linker/view_container_ref.mjs +283 -0
- package/{esm2015/src/linker/view_ref.js → esm2020/src/linker/view_ref.mjs} +0 -0
- package/esm2020/src/linker.mjs +19 -0
- package/esm2020/src/metadata/di.mjs +108 -0
- package/esm2020/src/metadata/directives.mjs +112 -0
- package/{esm2015/src/metadata/do_boostrap.js → esm2020/src/metadata/do_boostrap.mjs} +0 -0
- package/esm2020/src/metadata/ng_module.mjs +42 -0
- package/{esm2015/src/metadata/ng_module_def.js → esm2020/src/metadata/ng_module_def.mjs} +0 -0
- package/{esm2015/src/metadata/resource_loading.js → esm2020/src/metadata/resource_loading.mjs} +0 -0
- package/{esm2015/src/metadata/schema.js → esm2020/src/metadata/schema.mjs} +0 -0
- package/{esm2015/src/metadata/view.js → esm2020/src/metadata/view.mjs} +0 -0
- package/{esm2015/src/metadata.js → esm2020/src/metadata.mjs} +0 -0
- package/{esm2015/src/platform_core_providers.js → esm2020/src/platform_core_providers.mjs} +0 -0
- package/{esm2015/src/r3_symbols.js → esm2020/src/r3_symbols.mjs} +0 -0
- package/{esm2015/src/reflection/platform_reflection_capabilities.js → esm2020/src/reflection/platform_reflection_capabilities.mjs} +0 -0
- package/{esm2015/src/reflection/reflection.js → esm2020/src/reflection/reflection.mjs} +0 -0
- package/{esm2015/src/reflection/reflection_capabilities.js → esm2020/src/reflection/reflection_capabilities.mjs} +0 -0
- package/{esm2015/src/reflection/reflector.js → esm2020/src/reflection/reflector.mjs} +0 -0
- package/{esm2015/src/reflection/types.js → esm2020/src/reflection/types.mjs} +0 -0
- package/{esm2015/src/render/api.js → esm2020/src/render/api.mjs} +2 -2
- package/{esm2015/src/render/api_flags.js → esm2020/src/render/api_flags.mjs} +0 -0
- package/{esm2015/src/render.js → esm2020/src/render.mjs} +0 -0
- package/{esm2015/src/render3/assert.js → esm2020/src/render3/assert.mjs} +0 -0
- package/{esm2015/src/render3/bindings.js → esm2020/src/render3/bindings.mjs} +0 -0
- package/{esm2015/src/render3/collect_native_nodes.js → esm2020/src/render3/collect_native_nodes.mjs} +0 -0
- package/esm2020/src/render3/component.mjs +204 -0
- package/{esm2015/src/render3/component_ref.js → esm2020/src/render3/component_ref.mjs} +0 -0
- package/{esm2015/src/render3/context_discovery.js → esm2020/src/render3/context_discovery.mjs} +0 -0
- package/esm2020/src/render3/definition.mjs +296 -0
- package/{esm2015/src/render3/definition_factory.js → esm2020/src/render3/definition_factory.mjs} +0 -0
- package/{esm2015/src/render3/di.js → esm2020/src/render3/di.mjs} +3 -3
- package/{esm2015/src/render3/di_setup.js → esm2020/src/render3/di_setup.mjs} +0 -0
- package/esm2020/src/render3/error_code.mjs +42 -0
- package/esm2020/src/render3/error_details_base_url.mjs +16 -0
- package/{esm2015/src/render3/errors.js → esm2020/src/render3/errors.mjs} +0 -0
- package/{esm2015/src/render3/errors_di.js → esm2020/src/render3/errors_di.mjs} +0 -0
- package/{esm2015/src/render3/features/copy_definition_feature.js → esm2020/src/render3/features/copy_definition_feature.mjs} +0 -0
- package/{esm2015/src/render3/features/inherit_definition_feature.js → esm2020/src/render3/features/inherit_definition_feature.mjs} +0 -0
- package/esm2020/src/render3/features/ng_onchanges_feature.mjs +92 -0
- package/{esm2015/src/render3/features/providers_feature.js → esm2020/src/render3/features/providers_feature.mjs} +0 -0
- package/esm2020/src/render3/fields.mjs +21 -0
- package/{esm2015/src/render3/global_utils_api.js → esm2020/src/render3/global_utils_api.mjs} +0 -0
- package/{esm2015/src/render3/hooks.js → esm2020/src/render3/hooks.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_apply.js → esm2020/src/render3/i18n/i18n_apply.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_debug.js → esm2020/src/render3/i18n/i18n_debug.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_insert_before_index.js → esm2020/src/render3/i18n/i18n_insert_before_index.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_locale_id.js → esm2020/src/render3/i18n/i18n_locale_id.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_parse.js → esm2020/src/render3/i18n/i18n_parse.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_postprocess.js → esm2020/src/render3/i18n/i18n_postprocess.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_tree_shaking.js → esm2020/src/render3/i18n/i18n_tree_shaking.mjs} +0 -0
- package/{esm2015/src/render3/i18n/i18n_util.js → esm2020/src/render3/i18n/i18n_util.mjs} +0 -0
- package/{esm2015/src/render3/index.js → esm2020/src/render3/index.mjs} +0 -0
- package/{esm2015/src/render3/instructions/advance.js → esm2020/src/render3/instructions/advance.mjs} +0 -0
- package/{esm2015/src/render3/instructions/all.js → esm2020/src/render3/instructions/all.mjs} +0 -0
- package/{esm2015/src/render3/instructions/attribute.js → esm2020/src/render3/instructions/attribute.mjs} +0 -0
- package/{esm2015/src/render3/instructions/attribute_interpolation.js → esm2020/src/render3/instructions/attribute_interpolation.mjs} +0 -0
- package/{esm2015/src/render3/instructions/change_detection.js → esm2020/src/render3/instructions/change_detection.mjs} +0 -0
- package/{esm2015/src/render3/instructions/class_map_interpolation.js → esm2020/src/render3/instructions/class_map_interpolation.mjs} +0 -0
- package/{esm2015/src/render3/instructions/di.js → esm2020/src/render3/instructions/di.mjs} +0 -0
- package/{esm2015/src/render3/instructions/di_attr.js → esm2020/src/render3/instructions/di_attr.mjs} +0 -0
- package/{esm2015/src/render3/instructions/element.js → esm2020/src/render3/instructions/element.mjs} +0 -0
- package/{esm2015/src/render3/instructions/element_container.js → esm2020/src/render3/instructions/element_container.mjs} +0 -0
- package/{esm2015/src/render3/instructions/get_current_view.js → esm2020/src/render3/instructions/get_current_view.mjs} +0 -0
- package/{esm2015/src/render3/instructions/host_property.js → esm2020/src/render3/instructions/host_property.mjs} +0 -0
- package/{esm2015/src/render3/instructions/i18n.js → esm2020/src/render3/instructions/i18n.mjs} +0 -0
- package/{esm2015/src/render3/instructions/i18n_icu_container_visitor.js → esm2020/src/render3/instructions/i18n_icu_container_visitor.mjs} +0 -0
- package/{esm2015/src/render3/instructions/interpolation.js → esm2020/src/render3/instructions/interpolation.mjs} +0 -0
- package/{esm2015/src/render3/instructions/listener.js → esm2020/src/render3/instructions/listener.mjs} +0 -0
- package/{esm2015/src/render3/instructions/lview_debug.js → esm2020/src/render3/instructions/lview_debug.mjs} +0 -0
- package/{esm2015/src/render3/instructions/namespace.js → esm2020/src/render3/instructions/namespace.mjs} +0 -0
- package/{esm2015/src/render3/instructions/next_context.js → esm2020/src/render3/instructions/next_context.mjs} +0 -0
- package/{esm2015/src/render3/instructions/projection.js → esm2020/src/render3/instructions/projection.mjs} +0 -0
- package/{esm2015/src/render3/instructions/property.js → esm2020/src/render3/instructions/property.mjs} +0 -0
- package/{esm2015/src/render3/instructions/property_interpolation.js → esm2020/src/render3/instructions/property_interpolation.mjs} +0 -0
- package/esm2020/src/render3/instructions/shared.mjs +1811 -0
- package/{esm2015/src/render3/instructions/storage.js → esm2020/src/render3/instructions/storage.mjs} +0 -0
- package/{esm2015/src/render3/instructions/style_map_interpolation.js → esm2020/src/render3/instructions/style_map_interpolation.mjs} +0 -0
- package/{esm2015/src/render3/instructions/style_prop_interpolation.js → esm2020/src/render3/instructions/style_prop_interpolation.mjs} +0 -0
- package/{esm2015/src/render3/instructions/styling.js → esm2020/src/render3/instructions/styling.mjs} +0 -0
- package/{esm2015/src/render3/instructions/template.js → esm2020/src/render3/instructions/template.mjs} +0 -0
- package/{esm2015/src/render3/instructions/text.js → esm2020/src/render3/instructions/text.mjs} +0 -0
- package/{esm2015/src/render3/instructions/text_interpolation.js → esm2020/src/render3/instructions/text_interpolation.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/container.js → esm2020/src/render3/interfaces/container.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/context.js → esm2020/src/render3/interfaces/context.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/definition.js → esm2020/src/render3/interfaces/definition.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/document.js → esm2020/src/render3/interfaces/document.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/i18n.js → esm2020/src/render3/interfaces/i18n.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/injector.js → esm2020/src/render3/interfaces/injector.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/node.js → esm2020/src/render3/interfaces/node.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/player.js → esm2020/src/render3/interfaces/player.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/projection.js → esm2020/src/render3/interfaces/projection.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/public_definitions.js → esm2020/src/render3/interfaces/public_definitions.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/query.js → esm2020/src/render3/interfaces/query.mjs} +0 -0
- package/esm2020/src/render3/interfaces/renderer.mjs +27 -0
- package/{esm2015/src/render3/interfaces/renderer_dom.js → esm2020/src/render3/interfaces/renderer_dom.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/sanitization.js → esm2020/src/render3/interfaces/sanitization.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/styling.js → esm2020/src/render3/interfaces/styling.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/type_checks.js → esm2020/src/render3/interfaces/type_checks.mjs} +0 -0
- package/{esm2015/src/render3/interfaces/view.js → esm2020/src/render3/interfaces/view.mjs} +0 -0
- package/esm2020/src/render3/jit/directive.mjs +325 -0
- package/esm2020/src/render3/jit/environment.mjs +165 -0
- package/{esm2015/src/render3/jit/jit_options.js → esm2020/src/render3/jit/jit_options.mjs} +0 -0
- package/{esm2015/src/render3/jit/module.js → esm2020/src/render3/jit/module.mjs} +0 -0
- package/esm2020/src/render3/jit/partial.mjs +104 -0
- package/{esm2015/src/render3/jit/pipe.js → esm2020/src/render3/jit/pipe.mjs} +0 -0
- package/esm2020/src/render3/metadata.mjs +49 -0
- package/{esm2015/src/render3/namespaces.js → esm2020/src/render3/namespaces.mjs} +0 -0
- package/esm2020/src/render3/ng_module_ref.mjs +119 -0
- package/{esm2015/src/render3/node_assert.js → esm2020/src/render3/node_assert.mjs} +0 -0
- package/{esm2015/src/render3/node_manipulation.js → esm2020/src/render3/node_manipulation.mjs} +0 -0
- package/{esm2015/src/render3/node_manipulation_i18n.js → esm2020/src/render3/node_manipulation_i18n.mjs} +0 -0
- package/{esm2015/src/render3/node_selector_matcher.js → esm2020/src/render3/node_selector_matcher.mjs} +0 -0
- package/esm2020/src/render3/pipe.mjs +184 -0
- package/{esm2015/src/render3/profiler.js → esm2020/src/render3/profiler.mjs} +0 -0
- package/{esm2015/src/render3/pure_function.js → esm2020/src/render3/pure_function.mjs} +0 -0
- package/{esm2015/src/render3/query.js → esm2020/src/render3/query.mjs} +0 -0
- package/{esm2015/src/render3/state.js → esm2020/src/render3/state.mjs} +0 -0
- package/{esm2015/src/render3/styling/class_differ.js → esm2020/src/render3/styling/class_differ.mjs} +0 -0
- package/{esm2015/src/render3/styling/static_styling.js → esm2020/src/render3/styling/static_styling.mjs} +0 -0
- package/{esm2015/src/render3/styling/style_binding_list.js → esm2020/src/render3/styling/style_binding_list.mjs} +0 -0
- package/{esm2015/src/render3/styling/styling_parser.js → esm2020/src/render3/styling/styling_parser.mjs} +0 -0
- package/{esm2015/src/render3/tokens.js → esm2020/src/render3/tokens.mjs} +0 -0
- package/{esm2015/src/render3/util/attrs_utils.js → esm2020/src/render3/util/attrs_utils.mjs} +0 -0
- package/{esm2015/src/render3/util/change_detection_utils.js → esm2020/src/render3/util/change_detection_utils.mjs} +0 -0
- package/{esm2015/src/render3/util/debug_utils.js → esm2020/src/render3/util/debug_utils.mjs} +0 -0
- package/esm2020/src/render3/util/discovery_utils.mjs +411 -0
- package/esm2020/src/render3/util/global_utils.mjs +77 -0
- package/{esm2015/src/render3/util/injector_utils.js → esm2020/src/render3/util/injector_utils.mjs} +0 -0
- package/esm2020/src/render3/util/misc_utils.mjs +61 -0
- package/{esm2015/src/render3/util/stringify_utils.js → esm2020/src/render3/util/stringify_utils.mjs} +0 -0
- package/{esm2015/src/render3/util/view_traversal_utils.js → esm2020/src/render3/util/view_traversal_utils.mjs} +0 -0
- package/{esm2015/src/render3/util/view_utils.js → esm2020/src/render3/util/view_utils.mjs} +0 -0
- package/{esm2015/src/render3/view_engine_compatibility_prebound.js → esm2020/src/render3/view_engine_compatibility_prebound.mjs} +0 -0
- package/{esm2015/src/render3/view_ref.js → esm2020/src/render3/view_ref.mjs} +0 -0
- package/{esm2015/src/sanitization/bypass.js → esm2020/src/sanitization/bypass.mjs} +0 -0
- package/{esm2015/src/sanitization/html_sanitizer.js → esm2020/src/sanitization/html_sanitizer.mjs} +0 -0
- package/{esm2015/src/sanitization/inert_body.js → esm2020/src/sanitization/inert_body.mjs} +3 -3
- package/{esm2015/src/sanitization/sanitization.js → esm2020/src/sanitization/sanitization.mjs} +0 -0
- package/{esm2015/src/sanitization/sanitizer.js → esm2020/src/sanitization/sanitizer.mjs} +0 -0
- package/{esm2015/src/sanitization/security.js → esm2020/src/sanitization/security.mjs} +0 -0
- package/{esm2015/src/sanitization/url_sanitizer.js → esm2020/src/sanitization/url_sanitizer.mjs} +0 -0
- package/esm2020/src/testability/testability.mjs +258 -0
- package/{esm2015/src/util/array_utils.js → esm2020/src/util/array_utils.mjs} +0 -0
- package/{esm2015/src/util/assert.js → esm2020/src/util/assert.mjs} +0 -0
- package/{esm2015/src/util/char_code.js → esm2020/src/util/char_code.mjs} +0 -0
- package/{esm2015/src/util/closure.js → esm2020/src/util/closure.mjs} +0 -0
- package/{esm2015/src/util/comparison.js → esm2020/src/util/comparison.mjs} +0 -0
- package/{esm2015/src/util/decorators.js → esm2020/src/util/decorators.mjs} +0 -0
- package/{esm2015/src/util/dom.js → esm2020/src/util/dom.mjs} +0 -0
- package/{esm2015/src/util/empty.js → esm2020/src/util/empty.mjs} +0 -0
- package/{esm2015/src/util/errors.js → esm2020/src/util/errors.mjs} +0 -0
- package/{esm2015/src/util/global.js → esm2020/src/util/global.mjs} +0 -0
- package/{esm2015/src/util/is_dev_mode.js → esm2020/src/util/is_dev_mode.mjs} +0 -0
- package/{esm2015/src/util/iterable.js → esm2020/src/util/iterable.mjs} +0 -0
- package/{esm2015/src/util/lang.js → esm2020/src/util/lang.mjs} +0 -0
- package/{esm2015/src/util/microtask.js → esm2020/src/util/microtask.mjs} +0 -0
- package/{esm2015/src/util/named_array_type.js → esm2020/src/util/named_array_type.mjs} +0 -0
- package/{esm2015/src/util/ng_dev_mode.js → esm2020/src/util/ng_dev_mode.mjs} +0 -0
- package/{esm2015/src/util/ng_i18n_closure_mode.js → esm2020/src/util/ng_i18n_closure_mode.mjs} +0 -0
- package/{esm2015/src/util/ng_jit_mode.js → esm2020/src/util/ng_jit_mode.mjs} +0 -0
- package/{esm2015/src/util/ng_reflect.js → esm2020/src/util/ng_reflect.mjs} +0 -0
- package/{esm2015/src/util/noop.js → esm2020/src/util/noop.mjs} +0 -0
- package/{esm2015/src/util/property.js → esm2020/src/util/property.mjs} +0 -0
- package/{esm2015/src/util/raf.js → esm2020/src/util/raf.mjs} +0 -0
- package/{esm2015/src/util/security/trusted_type_defs.js → esm2020/src/util/security/trusted_type_defs.mjs} +0 -0
- package/esm2020/src/util/security/trusted_types.mjs +130 -0
- package/esm2020/src/util/security/trusted_types_bypass.mjs +83 -0
- package/{esm2015/src/util/stringify.js → esm2020/src/util/stringify.mjs} +0 -0
- package/{esm2015/src/util/symbol.js → esm2020/src/util/symbol.mjs} +0 -0
- package/{esm2015/src/version.js → esm2020/src/version.mjs} +1 -1
- package/{esm2015/src/view/element.js → esm2020/src/view/element.mjs} +0 -0
- package/{esm2015/src/view/entrypoint.js → esm2020/src/view/entrypoint.mjs} +0 -0
- package/{esm2015/src/view/errors.js → esm2020/src/view/errors.mjs} +0 -0
- package/{esm2015/src/view/index.js → esm2020/src/view/index.mjs} +2 -2
- package/{esm2015/src/view/ng_content.js → esm2020/src/view/ng_content.mjs} +0 -0
- package/{esm2015/src/view/ng_module.js → esm2020/src/view/ng_module.mjs} +0 -0
- package/esm2020/src/view/provider.mjs +490 -0
- package/{esm2015/src/view/provider_flags.js → esm2020/src/view/provider_flags.mjs} +0 -0
- package/{esm2015/src/view/pure_expression.js → esm2020/src/view/pure_expression.mjs} +0 -0
- package/{esm2015/src/view/query.js → esm2020/src/view/query.mjs} +0 -0
- package/{esm2015/src/view/refs.js → esm2020/src/view/refs.mjs} +0 -0
- package/{esm2015/src/view/services.js → esm2020/src/view/services.mjs} +0 -0
- package/{esm2015/src/view/text.js → esm2020/src/view/text.mjs} +0 -0
- package/{esm2015/src/view/types.js → esm2020/src/view/types.mjs} +0 -0
- package/esm2020/src/view/util.mjs +369 -0
- package/{esm2015/src/view/view.js → esm2020/src/view/view.mjs} +0 -0
- package/{esm2015/src/view/view_attach.js → esm2020/src/view/view_attach.mjs} +0 -0
- package/{esm2015/src/zone/ng_zone.js → esm2020/src/zone/ng_zone.mjs} +0 -0
- package/{esm2015/src/zone.js → esm2020/src/zone.mjs} +0 -0
- package/{esm2015/testing/index.js → esm2020/testing/index.mjs} +0 -0
- package/{esm2015/testing/public_api.js → esm2020/testing/public_api.mjs} +0 -0
- package/{esm2015/testing/src/async.js → esm2020/testing/src/async.mjs} +0 -0
- package/{esm2015/testing/src/component_fixture.js → esm2020/testing/src/component_fixture.mjs} +0 -0
- package/{esm2015/testing/src/fake_async.js → esm2020/testing/src/fake_async.mjs} +0 -0
- package/{esm2015/testing/src/lang_utils.js → esm2020/testing/src/lang_utils.mjs} +0 -0
- package/esm2020/testing/src/logger.mjs +34 -0
- package/{esm2015/testing/src/metadata_override.js → esm2020/testing/src/metadata_override.mjs} +0 -0
- package/{esm2015/testing/src/metadata_overrider.js → esm2020/testing/src/metadata_overrider.mjs} +0 -0
- package/esm2020/testing/src/ng_zone_mock.mjs +33 -0
- package/{esm2015/testing/src/private_export_testing.js → esm2020/testing/src/private_export_testing.mjs} +0 -0
- package/esm2020/testing/src/r3_test_bed.mjs +397 -0
- package/esm2020/testing/src/r3_test_bed_compiler.mjs +735 -0
- package/{esm2015/testing/src/resolvers.js → esm2020/testing/src/resolvers.mjs} +0 -0
- package/{esm2015/testing/src/styling.js → esm2020/testing/src/styling.mjs} +0 -0
- package/esm2020/testing/src/test_bed.mjs +614 -0
- package/esm2020/testing/src/test_bed_common.mjs +28 -0
- package/esm2020/testing/src/test_compiler.mjs +69 -0
- package/{esm2015/testing/src/test_hooks.js → esm2020/testing/src/test_hooks.mjs} +0 -0
- package/{esm2015/testing/src/testing.js → esm2020/testing/src/testing.mjs} +0 -0
- package/{esm2015/testing/src/testing_internal.js → esm2020/testing/src/testing_internal.mjs} +0 -0
- package/esm2020/testing/testing.mjs +5 -0
- package/fesm2015/{core.js → core.mjs} +496 -546
- package/fesm2015/core.mjs.map +1 -0
- package/fesm2015/{testing.js → testing.mjs} +50 -61
- package/fesm2015/testing.mjs.map +1 -0
- package/fesm2020/core.mjs +33109 -0
- package/fesm2020/core.mjs.map +1 -0
- package/fesm2020/testing.mjs +2635 -0
- package/fesm2020/testing.mjs.map +1 -0
- package/package.json +33 -8
- package/schematics/migrations/{move-document → testbed-teardown}/index.d.ts +2 -2
- package/schematics/migrations/testbed-teardown/index.js +92 -0
- package/schematics/migrations/testbed-teardown/util.d.ts +35 -0
- package/schematics/migrations/testbed-teardown/util.js +188 -0
- package/schematics/migrations.json +6 -101
- package/schematics/package.json +3 -0
- package/schematics/utils/import_manager.d.ts +1 -1
- package/schematics/utils/import_manager.js +22 -19
- package/schematics/utils/load_esm.d.ts +8 -0
- package/schematics/utils/load_esm.js +24 -2
- package/schematics/utils/ng_component_template.d.ts +1 -1
- package/schematics/utils/ng_component_template.js +12 -9
- package/schematics/utils/ng_decorators.d.ts +1 -1
- package/schematics/utils/ng_decorators.js +1 -1
- package/schematics/utils/typescript/class_declaration.d.ts +1 -1
- package/schematics/utils/typescript/class_declaration.js +10 -7
- package/schematics/utils/typescript/compiler_host.d.ts +1 -1
- package/schematics/utils/typescript/compiler_host.js +7 -4
- package/schematics/utils/typescript/decorators.d.ts +1 -1
- package/schematics/utils/typescript/decorators.js +7 -4
- package/schematics/utils/typescript/find_base_classes.d.ts +1 -1
- package/schematics/utils/typescript/find_base_classes.js +6 -3
- package/schematics/utils/typescript/functions.d.ts +1 -1
- package/schematics/utils/typescript/functions.js +9 -6
- package/schematics/utils/typescript/imports.d.ts +1 -1
- package/schematics/utils/typescript/imports.js +12 -9
- package/schematics/utils/typescript/nodes.d.ts +1 -1
- package/schematics/utils/typescript/nodes.js +11 -8
- package/schematics/utils/typescript/parse_tsconfig.d.ts +1 -1
- package/schematics/utils/typescript/parse_tsconfig.js +31 -9
- package/schematics/utils/typescript/property_name.d.ts +1 -1
- package/schematics/utils/typescript/property_name.js +7 -4
- package/schematics/utils/typescript/symbol.d.ts +1 -1
- package/schematics/utils/typescript/symbol.js +15 -12
- package/testing/package.json +5 -5
- package/testing/testing.d.ts +4 -333
- package/bundles/core-testing.umd.js +0 -3179
- package/bundles/core-testing.umd.js.map +0 -1
- package/bundles/core.umd.js +0 -34454
- package/bundles/core.umd.js.map +0 -1
- package/core.metadata.json +0 -1
- package/esm2015/core.externs.js +0 -6
- package/esm2015/core.js +0 -38
- package/esm2015/index.js +0 -13
- package/esm2015/src/application_init.js +0 -142
- package/esm2015/src/application_module.js +0 -134
- package/esm2015/src/application_ref.js +0 -738
- package/esm2015/src/change_detection/change_detection.js +0 -31
- package/esm2015/src/change_detection/change_detection_util.js +0 -105
- package/esm2015/src/change_detection/change_detector_ref.js +0 -96
- package/esm2015/src/change_detection/differs/default_iterable_differ.js +0 -668
- package/esm2015/src/change_detection.js +0 -14
- package/esm2015/src/codegen_private_exports.js +0 -11
- package/esm2015/src/compiler/compiler.externs.js +0 -0
- package/esm2015/src/console.js +0 -23
- package/esm2015/src/core.js +0 -50
- package/esm2015/src/core_private_export.js +0 -35
- package/esm2015/src/core_render3_private_export.js +0 -45
- package/esm2015/src/debug/debug_node.js +0 -632
- package/esm2015/src/di/injectable.js +0 -36
- package/esm2015/src/di/injection_token.js +0 -75
- package/esm2015/src/di/injector.js +0 -326
- package/esm2015/src/di/injector_compatibility.js +0 -187
- package/esm2015/src/di/interface/interface.externs.js +0 -0
- package/esm2015/src/di/jit/injectable.js +0 -96
- package/esm2015/src/di/metadata.js +0 -62
- package/esm2015/src/di/metadata_attr.js +0 -24
- package/esm2015/src/di/util.js +0 -53
- package/esm2015/src/event_emitter.js +0 -54
- package/esm2015/src/i18n/locale_en.js +0 -17
- package/esm2015/src/interface/interface.externs.js +0 -0
- package/esm2015/src/linker/compiler.js +0 -118
- package/esm2015/src/linker/element_ref.js +0 -66
- package/esm2015/src/linker/ng_module_factory.js +0 -21
- package/esm2015/src/linker/ng_module_factory_loader.js +0 -32
- package/esm2015/src/linker/view_container_ref.js +0 -290
- package/esm2015/src/linker.js +0 -19
- package/esm2015/src/metadata/di.js +0 -99
- package/esm2015/src/metadata/directives.js +0 -120
- package/esm2015/src/metadata/ng_module.js +0 -44
- package/esm2015/src/reflection/reflection.externs.js +0 -0
- package/esm2015/src/render3/component.js +0 -206
- package/esm2015/src/render3/definition.js +0 -299
- package/esm2015/src/render3/error_code.js +0 -45
- package/esm2015/src/render3/features/ng_onchanges_feature.js +0 -92
- package/esm2015/src/render3/fields.js +0 -22
- package/esm2015/src/render3/instructions/shared.js +0 -1813
- package/esm2015/src/render3/interfaces/renderer.js +0 -29
- package/esm2015/src/render3/jit/directive.js +0 -312
- package/esm2015/src/render3/jit/environment.js +0 -167
- package/esm2015/src/render3/jit/partial.js +0 -105
- package/esm2015/src/render3/metadata.js +0 -49
- package/esm2015/src/render3/ng_module_ref.js +0 -108
- package/esm2015/src/render3/pipe.js +0 -202
- package/esm2015/src/render3/util/discovery_utils.js +0 -411
- package/esm2015/src/render3/util/global_utils.js +0 -78
- package/esm2015/src/render3/util/misc_utils.js +0 -63
- package/esm2015/src/testability/testability.js +0 -256
- package/esm2015/src/util/security/trusted_types.js +0 -133
- package/esm2015/src/util/security/trusted_types_bypass.js +0 -86
- package/esm2015/src/util/util.externs.js +0 -0
- package/esm2015/src/view/provider.js +0 -490
- package/esm2015/src/view/util.js +0 -378
- package/esm2015/testing/src/logger.js +0 -32
- package/esm2015/testing/src/ng_zone_mock.js +0 -31
- package/esm2015/testing/src/r3_test_bed.js +0 -397
- package/esm2015/testing/src/r3_test_bed_compiler.js +0 -744
- package/esm2015/testing/src/test_bed.js +0 -608
- package/esm2015/testing/src/test_bed_common.js +0 -31
- package/esm2015/testing/src/test_compiler.js +0 -66
- package/esm2015/testing/testing.externs.js +0 -6
- package/esm2015/testing/testing.js +0 -7
- package/fesm2015/core.js.map +0 -1
- package/fesm2015/testing.js.map +0 -1
- package/schematics/migrations/abstract-control-parent/index.d.ts +0 -11
- package/schematics/migrations/abstract-control-parent/index.js +0 -69
- package/schematics/migrations/abstract-control-parent/util.d.ts +0 -14
- package/schematics/migrations/abstract-control-parent/util.js +0 -64
- package/schematics/migrations/activated-route-snapshot-fragment/index.d.ts +0 -13
- package/schematics/migrations/activated-route-snapshot-fragment/index.js +0 -70
- package/schematics/migrations/activated-route-snapshot-fragment/util.d.ts +0 -16
- package/schematics/migrations/activated-route-snapshot-fragment/util.js +0 -48
- package/schematics/migrations/can-activate-with-redirect-to/index.d.ts +0 -11
- package/schematics/migrations/can-activate-with-redirect-to/index.js +0 -66
- package/schematics/migrations/can-activate-with-redirect-to/util.d.ts +0 -11
- package/schematics/migrations/can-activate-with-redirect-to/util.js +0 -70
- package/schematics/migrations/deep-shadow-piercing-selector/index.d.ts +0 -10
- package/schematics/migrations/deep-shadow-piercing-selector/index.js +0 -49
- package/schematics/migrations/dynamic-queries/index.d.ts +0 -13
- package/schematics/migrations/dynamic-queries/index.js +0 -73
- package/schematics/migrations/dynamic-queries/util.d.ts +0 -25
- package/schematics/migrations/dynamic-queries/util.js +0 -81
- package/schematics/migrations/initial-navigation/collector.d.ts +0 -22
- package/schematics/migrations/initial-navigation/collector.js +0 -119
- package/schematics/migrations/initial-navigation/index.d.ts +0 -11
- package/schematics/migrations/initial-navigation/index.js +0 -83
- package/schematics/migrations/initial-navigation/transform.d.ts +0 -20
- package/schematics/migrations/initial-navigation/transform.js +0 -68
- package/schematics/migrations/initial-navigation/update_recorder.d.ts +0 -18
- package/schematics/migrations/initial-navigation/update_recorder.js +0 -20
- package/schematics/migrations/initial-navigation/util.d.ts +0 -12
- package/schematics/migrations/initial-navigation/util.js +0 -43
- package/schematics/migrations/missing-injectable/definition_collector.d.ts +0 -37
- package/schematics/migrations/missing-injectable/definition_collector.js +0 -89
- package/schematics/migrations/missing-injectable/index.d.ts +0 -11
- package/schematics/migrations/missing-injectable/index.js +0 -122
- package/schematics/migrations/missing-injectable/providers_evaluator.d.ts +0 -36
- package/schematics/migrations/missing-injectable/providers_evaluator.js +0 -64
- package/schematics/migrations/missing-injectable/transform.d.ts +0 -69
- package/schematics/migrations/missing-injectable/transform.js +0 -201
- package/schematics/migrations/missing-injectable/update_recorder.d.ts +0 -21
- package/schematics/migrations/missing-injectable/update_recorder.js +0 -20
- package/schematics/migrations/module-with-providers/collector.d.ts +0 -34
- package/schematics/migrations/module-with-providers/collector.js +0 -73
- package/schematics/migrations/module-with-providers/index.d.ts +0 -13
- package/schematics/migrations/module-with-providers/index.js +0 -93
- package/schematics/migrations/module-with-providers/transform.d.ts +0 -49
- package/schematics/migrations/module-with-providers/transform.js +0 -148
- package/schematics/migrations/module-with-providers/util.d.ts +0 -13
- package/schematics/migrations/module-with-providers/util.js +0 -40
- package/schematics/migrations/move-document/document_import_visitor.d.ts +0 -27
- package/schematics/migrations/move-document/document_import_visitor.js +0 -74
- package/schematics/migrations/move-document/index.js +0 -93
- package/schematics/migrations/move-document/move-import.d.ts +0 -12
- package/schematics/migrations/move-document/move-import.js +0 -61
- package/schematics/migrations/native-view-encapsulation/index.d.ts +0 -11
- package/schematics/migrations/native-view-encapsulation/index.js +0 -63
- package/schematics/migrations/native-view-encapsulation/util.d.ts +0 -11
- package/schematics/migrations/native-view-encapsulation/util.js +0 -48
- package/schematics/migrations/navigation-extras-omissions/index.d.ts +0 -11
- package/schematics/migrations/navigation-extras-omissions/index.js +0 -69
- package/schematics/migrations/navigation-extras-omissions/util.d.ts +0 -11
- package/schematics/migrations/navigation-extras-omissions/util.js +0 -126
- package/schematics/migrations/relative-link-resolution/collector.d.ts +0 -22
- package/schematics/migrations/relative-link-resolution/collector.js +0 -95
- package/schematics/migrations/relative-link-resolution/index.d.ts +0 -11
- package/schematics/migrations/relative-link-resolution/index.js +0 -84
- package/schematics/migrations/relative-link-resolution/transform.d.ts +0 -22
- package/schematics/migrations/relative-link-resolution/transform.js +0 -65
- package/schematics/migrations/relative-link-resolution/update_recorder.d.ts +0 -18
- package/schematics/migrations/relative-link-resolution/update_recorder.js +0 -20
- package/schematics/migrations/relative-link-resolution/util.d.ts +0 -12
- package/schematics/migrations/relative-link-resolution/util.js +0 -43
- package/schematics/migrations/renderer-to-renderer2/helpers.d.ts +0 -25
- package/schematics/migrations/renderer-to-renderer2/helpers.js +0 -238
- package/schematics/migrations/renderer-to-renderer2/index.d.ts +0 -14
- package/schematics/migrations/renderer-to-renderer2/index.js +0 -135
- package/schematics/migrations/renderer-to-renderer2/migration.d.ts +0 -18
- package/schematics/migrations/renderer-to-renderer2/migration.js +0 -225
- package/schematics/migrations/renderer-to-renderer2/util.d.ts +0 -18
- package/schematics/migrations/renderer-to-renderer2/util.js +0 -83
- package/schematics/migrations/router-preserve-query-params/index.d.ts +0 -14
- package/schematics/migrations/router-preserve-query-params/index.js +0 -72
- package/schematics/migrations/router-preserve-query-params/util.d.ts +0 -11
- package/schematics/migrations/router-preserve-query-params/util.js +0 -103
- package/schematics/migrations/static-queries/angular/directive_inputs.d.ts +0 -11
- package/schematics/migrations/static-queries/angular/directive_inputs.js +0 -84
- package/schematics/migrations/static-queries/angular/ng_query_visitor.d.ts +0 -45
- package/schematics/migrations/static-queries/angular/ng_query_visitor.js +0 -127
- package/schematics/migrations/static-queries/angular/query-definition.d.ts +0 -37
- package/schematics/migrations/static-queries/angular/query-definition.js +0 -33
- package/schematics/migrations/static-queries/angular/super_class.d.ts +0 -15
- package/schematics/migrations/static-queries/angular/super_class.js +0 -35
- package/schematics/migrations/static-queries/index.d.ts +0 -11
- package/schematics/migrations/static-queries/index.js +0 -230
- package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.d.ts +0 -41
- package/schematics/migrations/static-queries/strategies/template_strategy/template_strategy.js +0 -214
- package/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.d.ts +0 -24
- package/schematics/migrations/static-queries/strategies/test_strategy/test_strategy.js +0 -38
- package/schematics/migrations/static-queries/strategies/timing-strategy.d.ts +0 -19
- package/schematics/migrations/static-queries/strategies/timing-strategy.js +0 -20
- package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.d.ts +0 -82
- package/schematics/migrations/static-queries/strategies/usage_strategy/declaration_usage_visitor.js +0 -369
- package/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.d.ts +0 -18
- package/schematics/migrations/static-queries/strategies/usage_strategy/super_class_context.js +0 -52
- package/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.d.ts +0 -27
- package/schematics/migrations/static-queries/strategies/usage_strategy/template_usage_visitor.js +0 -93
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.d.ts +0 -34
- package/schematics/migrations/static-queries/strategies/usage_strategy/usage_strategy.js +0 -169
- package/schematics/migrations/static-queries/transform.d.ts +0 -21
- package/schematics/migrations/static-queries/transform.js +0 -102
- package/schematics/migrations/template-var-assignment/analyze_template.d.ts +0 -20
- package/schematics/migrations/template-var-assignment/analyze_template.js +0 -38
- package/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.d.ts +0 -28
- package/schematics/migrations/template-var-assignment/angular/html_variable_assignment_visitor.js +0 -80
- package/schematics/migrations/template-var-assignment/index.d.ts +0 -11
- package/schematics/migrations/template-var-assignment/index.js +0 -101
- package/schematics/migrations/undecorated-classes-with-decorated-fields/index.d.ts +0 -14
- package/schematics/migrations/undecorated-classes-with-decorated-fields/index.js +0 -114
- package/schematics/migrations/undecorated-classes-with-decorated-fields/transform.d.ts +0 -63
- package/schematics/migrations/undecorated-classes-with-decorated-fields/transform.js +0 -300
- package/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.d.ts +0 -19
- package/schematics/migrations/undecorated-classes-with-decorated-fields/update_recorder.js +0 -20
- package/schematics/migrations/undecorated-classes-with-di/create_ngc_program.d.ts +0 -18
- package/schematics/migrations/undecorated-classes-with-di/create_ngc_program.js +0 -57
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.d.ts +0 -18
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/convert_directive_metadata.js +0 -96
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.d.ts +0 -39
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/decorator_rewriter.js +0 -116
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.d.ts +0 -37
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/import_rewrite_visitor.js +0 -126
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.d.ts +0 -10
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/path_format.js +0 -31
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.d.ts +0 -16
- package/schematics/migrations/undecorated-classes-with-di/decorator_rewrite/source_file_exports.js +0 -65
- package/schematics/migrations/undecorated-classes-with-di/index.d.ts +0 -11
- package/schematics/migrations/undecorated-classes-with-di/index.js +0 -195
- package/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.d.ts +0 -38
- package/schematics/migrations/undecorated-classes-with-di/ng_declaration_collector.js +0 -142
- package/schematics/migrations/undecorated-classes-with-di/transform.d.ts +0 -98
- package/schematics/migrations/undecorated-classes-with-di/transform.js +0 -371
- package/schematics/migrations/undecorated-classes-with-di/update_recorder.d.ts +0 -20
- package/schematics/migrations/undecorated-classes-with-di/update_recorder.js +0 -20
- package/schematics/migrations/wait-for-async/index.d.ts +0 -11
- package/schematics/migrations/wait-for-async/index.js +0 -98
- package/schematics/migrations/wait-for-async/util.d.ts +0 -11
- package/schematics/migrations/wait-for-async/util.js +0 -37
- package/schematics/migrations/xhr-factory/index.d.ts +0 -10
- package/schematics/migrations/xhr-factory/index.js +0 -104
- package/src/r3_symbols.d.ts +0 -1025
- package/testing/testing.metadata.json +0 -1
- package/testing.d.ts +0 -7
- package/testing.metadata.json +0 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v13.0.0-
|
|
2
|
+
* @license Angular v13.0.0-rc.3
|
|
3
3
|
* (c) 2010-2021 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -136,10 +136,22 @@ function isForwardRef(fn) {
|
|
|
136
136
|
* Use of this source code is governed by an MIT-style license that can be
|
|
137
137
|
* found in the LICENSE file at https://angular.io/license
|
|
138
138
|
*/
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
139
|
+
/**
|
|
140
|
+
* Base URL for the error details page.
|
|
141
|
+
*
|
|
142
|
+
* Keep the files below in full sync:
|
|
143
|
+
* - packages/compiler-cli/src/ngtsc/diagnostics/src/error_details_base_url.ts
|
|
144
|
+
* - packages/core/src/render3/error_details_base_url.ts
|
|
145
|
+
*/
|
|
142
146
|
const ERROR_DETAILS_PAGE_BASE_URL = 'https://angular.io/errors';
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* @license
|
|
150
|
+
* Copyright Google LLC All Rights Reserved.
|
|
151
|
+
*
|
|
152
|
+
* Use of this source code is governed by an MIT-style license that can be
|
|
153
|
+
* found in the LICENSE file at https://angular.io/license
|
|
154
|
+
*/
|
|
143
155
|
class RuntimeError extends Error {
|
|
144
156
|
constructor(code, message) {
|
|
145
157
|
super(formatRuntimeError(code, message));
|
|
@@ -669,7 +681,7 @@ function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
|
|
|
669
681
|
*
|
|
670
682
|
* @publicApi
|
|
671
683
|
*/
|
|
672
|
-
var ViewEncapsulation;
|
|
684
|
+
var ViewEncapsulation$1;
|
|
673
685
|
(function (ViewEncapsulation) {
|
|
674
686
|
/**
|
|
675
687
|
* Emulate `Native` scoping of styles by adding an attribute containing surrogate id to the Host
|
|
@@ -693,7 +705,7 @@ var ViewEncapsulation;
|
|
|
693
705
|
* creating a ShadowRoot for Component's Host Element.
|
|
694
706
|
*/
|
|
695
707
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
696
|
-
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
708
|
+
})(ViewEncapsulation$1 || (ViewEncapsulation$1 = {}));
|
|
697
709
|
|
|
698
710
|
/**
|
|
699
711
|
* @license
|
|
@@ -822,7 +834,6 @@ const NG_COMP_DEF = getClosureSafeProperty({ ɵcmp: getClosureSafeProperty });
|
|
|
822
834
|
const NG_DIR_DEF = getClosureSafeProperty({ ɵdir: getClosureSafeProperty });
|
|
823
835
|
const NG_PIPE_DEF = getClosureSafeProperty({ ɵpipe: getClosureSafeProperty });
|
|
824
836
|
const NG_MOD_DEF = getClosureSafeProperty({ ɵmod: getClosureSafeProperty });
|
|
825
|
-
const NG_LOC_ID_DEF = getClosureSafeProperty({ ɵloc: getClosureSafeProperty });
|
|
826
837
|
const NG_FACTORY_DEF = getClosureSafeProperty({ ɵfac: getClosureSafeProperty });
|
|
827
838
|
/**
|
|
828
839
|
* If a directive is diPublic, bloomAdd sets a property on the type with this constant as
|
|
@@ -839,7 +850,7 @@ const NG_ELEMENT_ID = getClosureSafeProperty({ __NG_ELEMENT_ID__: getClosureSafe
|
|
|
839
850
|
* Use of this source code is governed by an MIT-style license that can be
|
|
840
851
|
* found in the LICENSE file at https://angular.io/license
|
|
841
852
|
*/
|
|
842
|
-
let _renderCompCount = 0;
|
|
853
|
+
let _renderCompCount$1 = 0;
|
|
843
854
|
/**
|
|
844
855
|
* Create a component definition object.
|
|
845
856
|
*
|
|
@@ -889,7 +900,7 @@ function ɵɵdefineComponent(componentDefinition) {
|
|
|
889
900
|
data: componentDefinition.data || {},
|
|
890
901
|
// TODO(misko): convert ViewEncapsulation into const enum so that it can be used
|
|
891
902
|
// directly in the next line. Also `None` should be 0 not 2.
|
|
892
|
-
encapsulation: componentDefinition.encapsulation || ViewEncapsulation.Emulated,
|
|
903
|
+
encapsulation: componentDefinition.encapsulation || ViewEncapsulation$1.Emulated,
|
|
893
904
|
id: 'c',
|
|
894
905
|
styles: componentDefinition.styles || EMPTY_ARRAY,
|
|
895
906
|
_: null,
|
|
@@ -900,7 +911,7 @@ function ɵɵdefineComponent(componentDefinition) {
|
|
|
900
911
|
const directiveTypes = componentDefinition.directives;
|
|
901
912
|
const feature = componentDefinition.features;
|
|
902
913
|
const pipeTypes = componentDefinition.pipes;
|
|
903
|
-
def.id += _renderCompCount++;
|
|
914
|
+
def.id += _renderCompCount$1++;
|
|
904
915
|
def.inputs = invertObject(componentDefinition.inputs, declaredInputs),
|
|
905
916
|
def.outputs = invertObject(componentDefinition.outputs),
|
|
906
917
|
feature && feature.forEach((fn) => fn(def));
|
|
@@ -936,7 +947,7 @@ function extractDirectiveDef(type) {
|
|
|
936
947
|
return def;
|
|
937
948
|
}
|
|
938
949
|
function extractPipeDef(type) {
|
|
939
|
-
const def = getPipeDef(type);
|
|
950
|
+
const def = getPipeDef$1(type);
|
|
940
951
|
if (ngDevMode && !def) {
|
|
941
952
|
throw new Error(`'${type.name}' is not a 'PipeType'.`);
|
|
942
953
|
}
|
|
@@ -1110,7 +1121,7 @@ function getComponentDef(type) {
|
|
|
1110
1121
|
function getDirectiveDef(type) {
|
|
1111
1122
|
return type[NG_DIR_DEF] || null;
|
|
1112
1123
|
}
|
|
1113
|
-
function getPipeDef(type) {
|
|
1124
|
+
function getPipeDef$1(type) {
|
|
1114
1125
|
return type[NG_PIPE_DEF] || null;
|
|
1115
1126
|
}
|
|
1116
1127
|
function getNgModuleDef(type, throwNotFound) {
|
|
@@ -1120,9 +1131,44 @@ function getNgModuleDef(type, throwNotFound) {
|
|
|
1120
1131
|
}
|
|
1121
1132
|
return ngModuleDef;
|
|
1122
1133
|
}
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1134
|
+
|
|
1135
|
+
/**
|
|
1136
|
+
* Special location which allows easy identification of type. If we have an array which was
|
|
1137
|
+
* retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
|
|
1138
|
+
* `LContainer`.
|
|
1139
|
+
*/
|
|
1140
|
+
const TYPE = 1;
|
|
1141
|
+
/**
|
|
1142
|
+
* Below are constants for LContainer indices to help us look up LContainer members
|
|
1143
|
+
* without having to remember the specific indices.
|
|
1144
|
+
* Uglify will inline these when minifying so there shouldn't be a cost.
|
|
1145
|
+
*/
|
|
1146
|
+
/**
|
|
1147
|
+
* Flag to signify that this `LContainer` may have transplanted views which need to be change
|
|
1148
|
+
* detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.
|
|
1149
|
+
*
|
|
1150
|
+
* This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip
|
|
1151
|
+
* a lot of work in `refreshEmbeddedViews`. But when set we still need to verify
|
|
1152
|
+
* that the `MOVED_VIEWS` are transplanted and on-push.
|
|
1153
|
+
*/
|
|
1154
|
+
const HAS_TRANSPLANTED_VIEWS = 2;
|
|
1155
|
+
// PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5
|
|
1156
|
+
// As we already have these constants in LView, we don't need to re-create them.
|
|
1157
|
+
// T_HOST is index 6
|
|
1158
|
+
// We already have this constants in LView, we don't need to re-create it.
|
|
1159
|
+
const NATIVE = 7;
|
|
1160
|
+
const VIEW_REFS = 8;
|
|
1161
|
+
const MOVED_VIEWS = 9;
|
|
1162
|
+
/**
|
|
1163
|
+
* Size of LContainer's header. Represents the index after which all views in the
|
|
1164
|
+
* container will be inserted. We need to keep a record of current views so we know
|
|
1165
|
+
* which views are already in the DOM (and don't need to be re-added) and so we can
|
|
1166
|
+
* remove views from the DOM when they are no longer required.
|
|
1167
|
+
*/
|
|
1168
|
+
const CONTAINER_HEADER_OFFSET = 10;
|
|
1169
|
+
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
1170
|
+
// failure based on types.
|
|
1171
|
+
const unusedValueExportToPlacateAjd$8 = 1;
|
|
1126
1172
|
|
|
1127
1173
|
/**
|
|
1128
1174
|
* @license
|
|
@@ -1143,7 +1189,7 @@ const TRANSPLANTED_VIEWS_TO_REFRESH = 5;
|
|
|
1143
1189
|
const T_HOST = 6;
|
|
1144
1190
|
const CLEANUP = 7;
|
|
1145
1191
|
const CONTEXT = 8;
|
|
1146
|
-
const INJECTOR = 9;
|
|
1192
|
+
const INJECTOR$1 = 9;
|
|
1147
1193
|
const RENDERER_FACTORY = 10;
|
|
1148
1194
|
const RENDERER = 11;
|
|
1149
1195
|
const SANITIZER = 12;
|
|
@@ -1174,52 +1220,7 @@ const TViewTypeAsString = [
|
|
|
1174
1220
|
];
|
|
1175
1221
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
1176
1222
|
// failure based on types.
|
|
1177
|
-
const unusedValueExportToPlacateAjd = 1;
|
|
1178
|
-
|
|
1179
|
-
/**
|
|
1180
|
-
* @license
|
|
1181
|
-
* Copyright Google LLC All Rights Reserved.
|
|
1182
|
-
*
|
|
1183
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
1184
|
-
* found in the LICENSE file at https://angular.io/license
|
|
1185
|
-
*/
|
|
1186
|
-
/**
|
|
1187
|
-
* Special location which allows easy identification of type. If we have an array which was
|
|
1188
|
-
* retrieved from the `LView` and that array has `true` at `TYPE` location, we know it is
|
|
1189
|
-
* `LContainer`.
|
|
1190
|
-
*/
|
|
1191
|
-
const TYPE = 1;
|
|
1192
|
-
/**
|
|
1193
|
-
* Below are constants for LContainer indices to help us look up LContainer members
|
|
1194
|
-
* without having to remember the specific indices.
|
|
1195
|
-
* Uglify will inline these when minifying so there shouldn't be a cost.
|
|
1196
|
-
*/
|
|
1197
|
-
/**
|
|
1198
|
-
* Flag to signify that this `LContainer` may have transplanted views which need to be change
|
|
1199
|
-
* detected. (see: `LView[DECLARATION_COMPONENT_VIEW])`.
|
|
1200
|
-
*
|
|
1201
|
-
* This flag, once set, is never unset for the `LContainer`. This means that when unset we can skip
|
|
1202
|
-
* a lot of work in `refreshEmbeddedViews`. But when set we still need to verify
|
|
1203
|
-
* that the `MOVED_VIEWS` are transplanted and on-push.
|
|
1204
|
-
*/
|
|
1205
|
-
const HAS_TRANSPLANTED_VIEWS = 2;
|
|
1206
|
-
// PARENT, NEXT, TRANSPLANTED_VIEWS_TO_REFRESH are indices 3, 4, and 5
|
|
1207
|
-
// As we already have these constants in LView, we don't need to re-create them.
|
|
1208
|
-
// T_HOST is index 6
|
|
1209
|
-
// We already have this constants in LView, we don't need to re-create it.
|
|
1210
|
-
const NATIVE = 7;
|
|
1211
|
-
const VIEW_REFS = 8;
|
|
1212
|
-
const MOVED_VIEWS = 9;
|
|
1213
|
-
/**
|
|
1214
|
-
* Size of LContainer's header. Represents the index after which all views in the
|
|
1215
|
-
* container will be inserted. We need to keep a record of current views so we know
|
|
1216
|
-
* which views are already in the DOM (and don't need to be re-added) and so we can
|
|
1217
|
-
* remove views from the DOM when they are no longer required.
|
|
1218
|
-
*/
|
|
1219
|
-
const CONTAINER_HEADER_OFFSET = 10;
|
|
1220
|
-
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
1221
|
-
// failure based on types.
|
|
1222
|
-
const unusedValueExportToPlacateAjd$1 = 1;
|
|
1223
|
+
const unusedValueExportToPlacateAjd$7 = 1;
|
|
1223
1224
|
|
|
1224
1225
|
/**
|
|
1225
1226
|
* @license
|
|
@@ -1634,15 +1635,14 @@ var RendererStyleFlags3;
|
|
|
1634
1635
|
function isProceduralRenderer(renderer) {
|
|
1635
1636
|
return !!(renderer.listen);
|
|
1636
1637
|
}
|
|
1637
|
-
const ɵ0 = (hostElement, rendererType) => {
|
|
1638
|
-
return getDocument();
|
|
1639
|
-
};
|
|
1640
1638
|
const domRendererFactory3 = {
|
|
1641
|
-
createRenderer:
|
|
1639
|
+
createRenderer: (hostElement, rendererType) => {
|
|
1640
|
+
return getDocument();
|
|
1641
|
+
}
|
|
1642
1642
|
};
|
|
1643
1643
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
1644
1644
|
// failure based on types.
|
|
1645
|
-
const unusedValueExportToPlacateAjd$
|
|
1645
|
+
const unusedValueExportToPlacateAjd$6 = 1;
|
|
1646
1646
|
|
|
1647
1647
|
/**
|
|
1648
1648
|
* @license
|
|
@@ -2304,7 +2304,7 @@ function ɵɵnamespaceHTML() {
|
|
|
2304
2304
|
function namespaceHTMLInternal() {
|
|
2305
2305
|
instructionState.lFrame.currentNamespace = null;
|
|
2306
2306
|
}
|
|
2307
|
-
function getNamespace() {
|
|
2307
|
+
function getNamespace$1() {
|
|
2308
2308
|
return instructionState.lFrame.currentNamespace;
|
|
2309
2309
|
}
|
|
2310
2310
|
|
|
@@ -2670,7 +2670,7 @@ function isFactory(obj) {
|
|
|
2670
2670
|
}
|
|
2671
2671
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
2672
2672
|
// failure based on types.
|
|
2673
|
-
const unusedValueExportToPlacateAjd$
|
|
2673
|
+
const unusedValueExportToPlacateAjd$5 = 1;
|
|
2674
2674
|
|
|
2675
2675
|
/**
|
|
2676
2676
|
* Converts `TNodeType` into human readable text.
|
|
@@ -3332,7 +3332,7 @@ function lookupTokenUsingModuleInjector(lView, token, flags, notFoundValue) {
|
|
|
3332
3332
|
notFoundValue = null;
|
|
3333
3333
|
}
|
|
3334
3334
|
if ((flags & (InjectFlags.Self | InjectFlags.Host)) === 0) {
|
|
3335
|
-
const moduleInjector = lView[INJECTOR];
|
|
3335
|
+
const moduleInjector = lView[INJECTOR$1];
|
|
3336
3336
|
// switch to `injectInjectorOnly` implementation for module injector, since module injector
|
|
3337
3337
|
// should not have access to Component/Directive DI scope (that may happen through
|
|
3338
3338
|
// `directiveInject` implementation)
|
|
@@ -3625,8 +3625,8 @@ class NodeInjector {
|
|
|
3625
3625
|
this._tNode = _tNode;
|
|
3626
3626
|
this._lView = _lView;
|
|
3627
3627
|
}
|
|
3628
|
-
get(token, notFoundValue) {
|
|
3629
|
-
return getOrCreateInjectable(this._tNode, this._lView, token,
|
|
3628
|
+
get(token, notFoundValue, flags) {
|
|
3629
|
+
return getOrCreateInjectable(this._tNode, this._lView, token, flags, notFoundValue);
|
|
3630
3630
|
}
|
|
3631
3631
|
}
|
|
3632
3632
|
/**
|
|
@@ -3817,7 +3817,7 @@ function CREATE_ATTRIBUTE_DECORATOR__PRE_R3__() {
|
|
|
3817
3817
|
function CREATE_ATTRIBUTE_DECORATOR__POST_R3__() {
|
|
3818
3818
|
return makeParamDecorator('Attribute', (attributeName) => ({ attributeName, __NG_ELEMENT_ID__: () => ɵɵinjectAttribute(attributeName) }));
|
|
3819
3819
|
}
|
|
3820
|
-
const CREATE_ATTRIBUTE_DECORATOR_IMPL =
|
|
3820
|
+
const CREATE_ATTRIBUTE_DECORATOR_IMPL = CREATE_ATTRIBUTE_DECORATOR__POST_R3__;
|
|
3821
3821
|
/**
|
|
3822
3822
|
* Attribute decorator and metadata.
|
|
3823
3823
|
*
|
|
@@ -3841,11 +3841,11 @@ const Attribute = CREATE_ATTRIBUTE_DECORATOR_IMPL();
|
|
|
3841
3841
|
* parameterized type.
|
|
3842
3842
|
*
|
|
3843
3843
|
* `InjectionToken` is parameterized on `T` which is the type of object which will be returned by
|
|
3844
|
-
* the `Injector`. This provides additional level of type safety.
|
|
3844
|
+
* the `Injector`. This provides an additional level of type safety.
|
|
3845
3845
|
*
|
|
3846
3846
|
* ```
|
|
3847
3847
|
* interface MyInterface {...}
|
|
3848
|
-
*
|
|
3848
|
+
* const myInterface = injector.get(new InjectionToken<MyInterface>('SomeToken'));
|
|
3849
3849
|
* // myInterface is inferred to be MyInterface.
|
|
3850
3850
|
* ```
|
|
3851
3851
|
*
|
|
@@ -3853,14 +3853,15 @@ const Attribute = CREATE_ATTRIBUTE_DECORATOR_IMPL();
|
|
|
3853
3853
|
* (possibly by creating) a default value of the parameterized type `T`. This sets up the
|
|
3854
3854
|
* `InjectionToken` using this factory as a provider as if it was defined explicitly in the
|
|
3855
3855
|
* application's root injector. If the factory function, which takes zero arguments, needs to inject
|
|
3856
|
-
* dependencies, it can do so using the `inject` function.
|
|
3856
|
+
* dependencies, it can do so using the `inject` function.
|
|
3857
|
+
* As you can see in the Tree-shakable InjectionToken example below.
|
|
3857
3858
|
*
|
|
3858
3859
|
* Additionally, if a `factory` is specified you can also specify the `providedIn` option, which
|
|
3859
3860
|
* overrides the above behavior and marks the token as belonging to a particular `@NgModule`. As
|
|
3860
3861
|
* mentioned above, `'root'` is the default value for `providedIn`.
|
|
3861
3862
|
*
|
|
3862
3863
|
* @usageNotes
|
|
3863
|
-
* ### Basic
|
|
3864
|
+
* ### Basic Examples
|
|
3864
3865
|
*
|
|
3865
3866
|
* ### Plain InjectionToken
|
|
3866
3867
|
*
|
|
@@ -3874,6 +3875,12 @@ const Attribute = CREATE_ATTRIBUTE_DECORATOR_IMPL();
|
|
|
3874
3875
|
* @publicApi
|
|
3875
3876
|
*/
|
|
3876
3877
|
class InjectionToken {
|
|
3878
|
+
/**
|
|
3879
|
+
* @param _desc Description for the token,
|
|
3880
|
+
* used only for debugging purposes,
|
|
3881
|
+
* it should but does not need to be unique
|
|
3882
|
+
* @param options Options for the token's usage, as described above
|
|
3883
|
+
*/
|
|
3877
3884
|
constructor(_desc, options) {
|
|
3878
3885
|
this._desc = _desc;
|
|
3879
3886
|
/** @internal */
|
|
@@ -3959,7 +3966,6 @@ const emitDistinctChangesOnlyDefaultValue = true;
|
|
|
3959
3966
|
*/
|
|
3960
3967
|
class Query {
|
|
3961
3968
|
}
|
|
3962
|
-
const ɵ0$1 = (selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: false, descendants: false, emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue }, data));
|
|
3963
3969
|
/**
|
|
3964
3970
|
* ContentChildren decorator and metadata.
|
|
3965
3971
|
*
|
|
@@ -3967,8 +3973,7 @@ const ɵ0$1 = (selector, data = {}) => (Object.assign({ selector, first: false,
|
|
|
3967
3973
|
* @Annotation
|
|
3968
3974
|
* @publicApi
|
|
3969
3975
|
*/
|
|
3970
|
-
const ContentChildren = makePropDecorator('ContentChildren',
|
|
3971
|
-
const ɵ1 = (selector, data = {}) => (Object.assign({ selector, first: true, isViewQuery: false, descendants: true }, data));
|
|
3976
|
+
const ContentChildren = makePropDecorator('ContentChildren', (selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: false, descendants: false, emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue }, data)), Query);
|
|
3972
3977
|
/**
|
|
3973
3978
|
* ContentChild decorator and metadata.
|
|
3974
3979
|
*
|
|
@@ -3977,23 +3982,21 @@ const ɵ1 = (selector, data = {}) => (Object.assign({ selector, first: true, isV
|
|
|
3977
3982
|
*
|
|
3978
3983
|
* @publicApi
|
|
3979
3984
|
*/
|
|
3980
|
-
const ContentChild = makePropDecorator('ContentChild',
|
|
3981
|
-
const ɵ2 = (selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: true, descendants: true, emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue }, data));
|
|
3985
|
+
const ContentChild = makePropDecorator('ContentChild', (selector, data = {}) => (Object.assign({ selector, first: true, isViewQuery: false, descendants: true }, data)), Query);
|
|
3982
3986
|
/**
|
|
3983
3987
|
* ViewChildren decorator and metadata.
|
|
3984
3988
|
*
|
|
3985
3989
|
* @Annotation
|
|
3986
3990
|
* @publicApi
|
|
3987
3991
|
*/
|
|
3988
|
-
const ViewChildren = makePropDecorator('ViewChildren',
|
|
3989
|
-
const ɵ3 = (selector, data) => (Object.assign({ selector, first: true, isViewQuery: true, descendants: true }, data));
|
|
3992
|
+
const ViewChildren = makePropDecorator('ViewChildren', (selector, data = {}) => (Object.assign({ selector, first: false, isViewQuery: true, descendants: true, emitDistinctChangesOnly: emitDistinctChangesOnlyDefaultValue }, data)), Query);
|
|
3990
3993
|
/**
|
|
3991
3994
|
* ViewChild decorator and metadata.
|
|
3992
3995
|
*
|
|
3993
3996
|
* @Annotation
|
|
3994
3997
|
* @publicApi
|
|
3995
3998
|
*/
|
|
3996
|
-
const ViewChild = makePropDecorator('ViewChild',
|
|
3999
|
+
const ViewChild = makePropDecorator('ViewChild', (selector, data) => (Object.assign({ selector, first: true, isViewQuery: true, descendants: true }, data)), Query);
|
|
3997
4000
|
|
|
3998
4001
|
/**
|
|
3999
4002
|
* @license
|
|
@@ -4010,13 +4013,13 @@ var FactoryTarget;
|
|
|
4010
4013
|
FactoryTarget[FactoryTarget["Pipe"] = 3] = "Pipe";
|
|
4011
4014
|
FactoryTarget[FactoryTarget["NgModule"] = 4] = "NgModule";
|
|
4012
4015
|
})(FactoryTarget || (FactoryTarget = {}));
|
|
4013
|
-
var ViewEncapsulation
|
|
4016
|
+
var ViewEncapsulation;
|
|
4014
4017
|
(function (ViewEncapsulation) {
|
|
4015
4018
|
ViewEncapsulation[ViewEncapsulation["Emulated"] = 0] = "Emulated";
|
|
4016
4019
|
// Historically the 1 value was for `Native` encapsulation which has been removed as of v11.
|
|
4017
4020
|
ViewEncapsulation[ViewEncapsulation["None"] = 2] = "None";
|
|
4018
4021
|
ViewEncapsulation[ViewEncapsulation["ShadowDom"] = 3] = "ShadowDom";
|
|
4019
|
-
})(ViewEncapsulation
|
|
4022
|
+
})(ViewEncapsulation || (ViewEncapsulation = {}));
|
|
4020
4023
|
|
|
4021
4024
|
/**
|
|
4022
4025
|
* @license
|
|
@@ -4724,10 +4727,9 @@ const DI_DECORATOR_FLAG = '__NG_DI_FLAG__';
|
|
|
4724
4727
|
const NG_TEMP_TOKEN_PATH = 'ngTempTokenPath';
|
|
4725
4728
|
const NG_TOKEN_PATH = 'ngTokenPath';
|
|
4726
4729
|
const NEW_LINE = /\n/gm;
|
|
4727
|
-
const NO_NEW_LINE = 'ɵ';
|
|
4730
|
+
const NO_NEW_LINE$1 = 'ɵ';
|
|
4728
4731
|
const SOURCE = '__source';
|
|
4729
|
-
const
|
|
4730
|
-
const USE_VALUE = getClosureSafeProperty({ provide: String, useValue: ɵ0$2 });
|
|
4732
|
+
const USE_VALUE$2 = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });
|
|
4731
4733
|
/**
|
|
4732
4734
|
* Current injector value used by `inject`.
|
|
4733
4735
|
* - `undefined`: it is an error to call `inject`
|
|
@@ -4868,7 +4870,7 @@ function catchInjectorError(e, token, injectorErrorName, source) {
|
|
|
4868
4870
|
throw e;
|
|
4869
4871
|
}
|
|
4870
4872
|
function formatError(text, obj, injectorErrorName, source = null) {
|
|
4871
|
-
text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE ? text.substr(2) : text;
|
|
4873
|
+
text = text && text.charAt(0) === '\n' && text.charAt(1) == NO_NEW_LINE$1 ? text.substr(2) : text;
|
|
4872
4874
|
let context = stringify(obj);
|
|
4873
4875
|
if (Array.isArray(obj)) {
|
|
4874
4876
|
context = obj.map(stringify).join(' -> ');
|
|
@@ -4893,7 +4895,6 @@ function formatError(text, obj, injectorErrorName, source = null) {
|
|
|
4893
4895
|
* Use of this source code is governed by an MIT-style license that can be
|
|
4894
4896
|
* found in the LICENSE file at https://angular.io/license
|
|
4895
4897
|
*/
|
|
4896
|
-
const ɵ0$3 = (token) => ({ token });
|
|
4897
4898
|
/**
|
|
4898
4899
|
* Inject decorator and metadata.
|
|
4899
4900
|
*
|
|
@@ -4903,7 +4904,7 @@ const ɵ0$3 = (token) => ({ token });
|
|
|
4903
4904
|
const Inject = attachInjectFlag(
|
|
4904
4905
|
// Disable tslint because `DecoratorFlags` is a const enum which gets inlined.
|
|
4905
4906
|
// tslint:disable-next-line: no-toplevel-property-access
|
|
4906
|
-
makeParamDecorator('Inject',
|
|
4907
|
+
makeParamDecorator('Inject', (token) => ({ token })), -1 /* Inject */);
|
|
4907
4908
|
/**
|
|
4908
4909
|
* Optional decorator and metadata.
|
|
4909
4910
|
*
|
|
@@ -5139,17 +5140,17 @@ function componentDefResolved(type) {
|
|
|
5139
5140
|
* The Trusted Types policy, or null if Trusted Types are not
|
|
5140
5141
|
* enabled/supported, or undefined if the policy has not been created yet.
|
|
5141
5142
|
*/
|
|
5142
|
-
let policy;
|
|
5143
|
+
let policy$1;
|
|
5143
5144
|
/**
|
|
5144
5145
|
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
5145
5146
|
* enabled/supported. The first call to this function will create the policy.
|
|
5146
5147
|
*/
|
|
5147
|
-
function getPolicy() {
|
|
5148
|
-
if (policy === undefined) {
|
|
5149
|
-
policy = null;
|
|
5148
|
+
function getPolicy$1() {
|
|
5149
|
+
if (policy$1 === undefined) {
|
|
5150
|
+
policy$1 = null;
|
|
5150
5151
|
if (_global.trustedTypes) {
|
|
5151
5152
|
try {
|
|
5152
|
-
policy = _global.trustedTypes.createPolicy('angular', {
|
|
5153
|
+
policy$1 = _global.trustedTypes.createPolicy('angular', {
|
|
5153
5154
|
createHTML: (s) => s,
|
|
5154
5155
|
createScript: (s) => s,
|
|
5155
5156
|
createScriptURL: (s) => s,
|
|
@@ -5163,7 +5164,7 @@ function getPolicy() {
|
|
|
5163
5164
|
}
|
|
5164
5165
|
}
|
|
5165
5166
|
}
|
|
5166
|
-
return policy;
|
|
5167
|
+
return policy$1;
|
|
5167
5168
|
}
|
|
5168
5169
|
/**
|
|
5169
5170
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
@@ -5176,7 +5177,7 @@ function getPolicy() {
|
|
|
5176
5177
|
*/
|
|
5177
5178
|
function trustedHTMLFromString(html) {
|
|
5178
5179
|
var _a;
|
|
5179
|
-
return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
|
|
5180
|
+
return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
|
|
5180
5181
|
}
|
|
5181
5182
|
/**
|
|
5182
5183
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
@@ -5187,7 +5188,7 @@ function trustedHTMLFromString(html) {
|
|
|
5187
5188
|
*/
|
|
5188
5189
|
function trustedScriptFromString(script) {
|
|
5189
5190
|
var _a;
|
|
5190
|
-
return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
|
|
5191
|
+
return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
|
|
5191
5192
|
}
|
|
5192
5193
|
/**
|
|
5193
5194
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -5200,7 +5201,7 @@ function trustedScriptFromString(script) {
|
|
|
5200
5201
|
*/
|
|
5201
5202
|
function trustedScriptURLFromString(url) {
|
|
5202
5203
|
var _a;
|
|
5203
|
-
return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
|
|
5204
|
+
return ((_a = getPolicy$1()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
|
|
5204
5205
|
}
|
|
5205
5206
|
/**
|
|
5206
5207
|
* Unsafely call the Function constructor with the given string arguments. It
|
|
@@ -5262,17 +5263,17 @@ function newTrustedFunctionForDev(...args) {
|
|
|
5262
5263
|
* The Trusted Types policy, or null if Trusted Types are not
|
|
5263
5264
|
* enabled/supported, or undefined if the policy has not been created yet.
|
|
5264
5265
|
*/
|
|
5265
|
-
let policy
|
|
5266
|
+
let policy;
|
|
5266
5267
|
/**
|
|
5267
5268
|
* Returns the Trusted Types policy, or null if Trusted Types are not
|
|
5268
5269
|
* enabled/supported. The first call to this function will create the policy.
|
|
5269
5270
|
*/
|
|
5270
|
-
function getPolicy
|
|
5271
|
-
if (policy
|
|
5272
|
-
policy
|
|
5271
|
+
function getPolicy() {
|
|
5272
|
+
if (policy === undefined) {
|
|
5273
|
+
policy = null;
|
|
5273
5274
|
if (_global.trustedTypes) {
|
|
5274
5275
|
try {
|
|
5275
|
-
policy
|
|
5276
|
+
policy = _global.trustedTypes
|
|
5276
5277
|
.createPolicy('angular#unsafe-bypass', {
|
|
5277
5278
|
createHTML: (s) => s,
|
|
5278
5279
|
createScript: (s) => s,
|
|
@@ -5287,7 +5288,7 @@ function getPolicy$1() {
|
|
|
5287
5288
|
}
|
|
5288
5289
|
}
|
|
5289
5290
|
}
|
|
5290
|
-
return policy
|
|
5291
|
+
return policy;
|
|
5291
5292
|
}
|
|
5292
5293
|
/**
|
|
5293
5294
|
* Unsafely promote a string to a TrustedHTML, falling back to strings when
|
|
@@ -5299,7 +5300,7 @@ function getPolicy$1() {
|
|
|
5299
5300
|
*/
|
|
5300
5301
|
function trustedHTMLFromStringBypass(html) {
|
|
5301
5302
|
var _a;
|
|
5302
|
-
return ((_a = getPolicy
|
|
5303
|
+
return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createHTML(html)) || html;
|
|
5303
5304
|
}
|
|
5304
5305
|
/**
|
|
5305
5306
|
* Unsafely promote a string to a TrustedScript, falling back to strings when
|
|
@@ -5311,7 +5312,7 @@ function trustedHTMLFromStringBypass(html) {
|
|
|
5311
5312
|
*/
|
|
5312
5313
|
function trustedScriptFromStringBypass(script) {
|
|
5313
5314
|
var _a;
|
|
5314
|
-
return ((_a = getPolicy
|
|
5315
|
+
return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScript(script)) || script;
|
|
5315
5316
|
}
|
|
5316
5317
|
/**
|
|
5317
5318
|
* Unsafely promote a string to a TrustedScriptURL, falling back to strings
|
|
@@ -5323,7 +5324,7 @@ function trustedScriptFromStringBypass(script) {
|
|
|
5323
5324
|
*/
|
|
5324
5325
|
function trustedScriptURLFromStringBypass(url) {
|
|
5325
5326
|
var _a;
|
|
5326
|
-
return ((_a = getPolicy
|
|
5327
|
+
return ((_a = getPolicy()) === null || _a === void 0 ? void 0 : _a.createScriptURL(url)) || url;
|
|
5327
5328
|
}
|
|
5328
5329
|
|
|
5329
5330
|
/**
|
|
@@ -6697,12 +6698,11 @@ function normalizeDebugBindingValue(value) {
|
|
|
6697
6698
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6698
6699
|
* found in the LICENSE file at https://angular.io/license
|
|
6699
6700
|
*/
|
|
6700
|
-
const
|
|
6701
|
+
const defaultScheduler = (() => (typeof requestAnimationFrame !== 'undefined' &&
|
|
6701
6702
|
requestAnimationFrame || // browser only
|
|
6702
6703
|
setTimeout // everything else
|
|
6703
6704
|
)
|
|
6704
|
-
.bind(_global);
|
|
6705
|
-
const defaultScheduler = (ɵ0$4)();
|
|
6705
|
+
.bind(_global))();
|
|
6706
6706
|
/**
|
|
6707
6707
|
*
|
|
6708
6708
|
* @codeGenApi
|
|
@@ -6889,7 +6889,7 @@ function ensureIcuContainerVisitorLoaded(loader) {
|
|
|
6889
6889
|
*/
|
|
6890
6890
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
6891
6891
|
// failure based on types.
|
|
6892
|
-
const unusedValueExportToPlacateAjd$
|
|
6892
|
+
const unusedValueExportToPlacateAjd$3 = 1;
|
|
6893
6893
|
|
|
6894
6894
|
/**
|
|
6895
6895
|
* @license
|
|
@@ -6962,7 +6962,7 @@ function getNearestLContainer(viewOrContainer) {
|
|
|
6962
6962
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6963
6963
|
* found in the LICENSE file at https://angular.io/license
|
|
6964
6964
|
*/
|
|
6965
|
-
const unusedValueToPlacateAjd = unusedValueExportToPlacateAjd$
|
|
6965
|
+
const unusedValueToPlacateAjd$2 = unusedValueExportToPlacateAjd$8 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$3 + unusedValueExportToPlacateAjd$6 + unusedValueExportToPlacateAjd$7;
|
|
6966
6966
|
/**
|
|
6967
6967
|
* NOTE: for performance reasons, the possible actions are inlined within the function instead of
|
|
6968
6968
|
* being passed as an argument.
|
|
@@ -7085,7 +7085,7 @@ function addViewToContainer(tView, parentTNode, renderer, lView, parentNativeNod
|
|
|
7085
7085
|
* @param tView The `TView' of the `LView` to be detached
|
|
7086
7086
|
* @param lView the `LView` to be detached.
|
|
7087
7087
|
*/
|
|
7088
|
-
function renderDetachView(tView, lView) {
|
|
7088
|
+
function renderDetachView$1(tView, lView) {
|
|
7089
7089
|
applyView(tView, lView, lView[RENDERER], 2 /* Detach */, null, null);
|
|
7090
7090
|
}
|
|
7091
7091
|
/**
|
|
@@ -7467,8 +7467,8 @@ function getClosestRElement(tView, tNode, lView) {
|
|
|
7467
7467
|
// Since the projection would then move it to its final destination. Note that we can't
|
|
7468
7468
|
// make this assumption when using the Shadow DOM, because the native projection placeholders
|
|
7469
7469
|
// (<content> or <slot>) have to be in place as elements are being inserted.
|
|
7470
|
-
if (encapsulation === ViewEncapsulation.None ||
|
|
7471
|
-
encapsulation === ViewEncapsulation.Emulated) {
|
|
7470
|
+
if (encapsulation === ViewEncapsulation$1.None ||
|
|
7471
|
+
encapsulation === ViewEncapsulation$1.Emulated) {
|
|
7472
7472
|
return null;
|
|
7473
7473
|
}
|
|
7474
7474
|
}
|
|
@@ -7981,7 +7981,7 @@ function classIndexOf(className, classToSearch, startingIndex) {
|
|
|
7981
7981
|
* Use of this source code is governed by an MIT-style license that can be
|
|
7982
7982
|
* found in the LICENSE file at https://angular.io/license
|
|
7983
7983
|
*/
|
|
7984
|
-
const unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$
|
|
7984
|
+
const unusedValueToPlacateAjd$1 = unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd$3;
|
|
7985
7985
|
const NG_TEMPLATE_SELECTOR = 'ng-template';
|
|
7986
7986
|
/**
|
|
7987
7987
|
* Search the `TAttributes` to see if it contains `cssClassToMatch` (case insensitive)
|
|
@@ -9008,7 +9008,7 @@ class LViewDebug {
|
|
|
9008
9008
|
return this._raw_lView[CLEANUP];
|
|
9009
9009
|
}
|
|
9010
9010
|
get injector() {
|
|
9011
|
-
return this._raw_lView[INJECTOR];
|
|
9011
|
+
return this._raw_lView[INJECTOR$1];
|
|
9012
9012
|
}
|
|
9013
9013
|
get rendererFactory() {
|
|
9014
9014
|
return this._raw_lView[RENDERER_FACTORY];
|
|
@@ -9196,12 +9196,11 @@ class LContainerDebug {
|
|
|
9196
9196
|
}
|
|
9197
9197
|
}
|
|
9198
9198
|
|
|
9199
|
-
const ɵ0$5 = () => Promise.resolve(null);
|
|
9200
9199
|
/**
|
|
9201
9200
|
* A permanent marker promise which signifies that the current CD tree is
|
|
9202
9201
|
* clean.
|
|
9203
9202
|
*/
|
|
9204
|
-
const _CLEAN_PROMISE = (
|
|
9203
|
+
const _CLEAN_PROMISE = (() => Promise.resolve(null))();
|
|
9205
9204
|
/**
|
|
9206
9205
|
* Invoke `HostBindingsFunction`s for view.
|
|
9207
9206
|
*
|
|
@@ -9264,7 +9263,7 @@ function refreshChildComponents(hostLView, components) {
|
|
|
9264
9263
|
/** Renders child components in the current view (creation mode). */
|
|
9265
9264
|
function renderChildComponents(hostLView, components) {
|
|
9266
9265
|
for (let i = 0; i < components.length; i++) {
|
|
9267
|
-
renderComponent(hostLView, components[i]);
|
|
9266
|
+
renderComponent$1(hostLView, components[i]);
|
|
9268
9267
|
}
|
|
9269
9268
|
}
|
|
9270
9269
|
function createLView(parentLView, tView, context, flags, host, tHostNode, rendererFactory, renderer, sanitizer, injector) {
|
|
@@ -9280,7 +9279,7 @@ function createLView(parentLView, tView, context, flags, host, tHostNode, render
|
|
|
9280
9279
|
lView[RENDERER] = (renderer || parentLView && parentLView[RENDERER]);
|
|
9281
9280
|
ngDevMode && assertDefined(lView[RENDERER], 'Renderer is required');
|
|
9282
9281
|
lView[SANITIZER] = sanitizer || parentLView && parentLView[SANITIZER] || null;
|
|
9283
|
-
lView[INJECTOR] = injector || parentLView && parentLView[INJECTOR] || null;
|
|
9282
|
+
lView[INJECTOR$1] = injector || parentLView && parentLView[INJECTOR$1] || null;
|
|
9284
9283
|
lView[T_HOST] = tHostNode;
|
|
9285
9284
|
ngDevMode &&
|
|
9286
9285
|
assertEqual(tView.type == 2 /* Embedded */ ? parentLView !== null : true, true, 'Embedded views must have parentLView');
|
|
@@ -9793,7 +9792,7 @@ function assertHostNodeExists(rElement, elementOrSelector) {
|
|
|
9793
9792
|
function locateHostElement(renderer, elementOrSelector, encapsulation) {
|
|
9794
9793
|
if (isProceduralRenderer(renderer)) {
|
|
9795
9794
|
// When using native Shadow DOM, do not clear host element to allow native slot projection
|
|
9796
|
-
const preserveContent = encapsulation === ViewEncapsulation.ShadowDom;
|
|
9795
|
+
const preserveContent = encapsulation === ViewEncapsulation$1.ShadowDom;
|
|
9797
9796
|
return renderer.selectRootElement(elementOrSelector, preserveContent);
|
|
9798
9797
|
}
|
|
9799
9798
|
let rElement = typeof elementOrSelector === 'string' ?
|
|
@@ -10450,9 +10449,9 @@ function elementAttributeInternal(tNode, lView, name, value, sanitizer, namespac
|
|
|
10450
10449
|
`Host bindings are not valid on ng-container or ng-template.`);
|
|
10451
10450
|
}
|
|
10452
10451
|
const element = getNativeByTNode(tNode, lView);
|
|
10453
|
-
setElementAttribute(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer);
|
|
10452
|
+
setElementAttribute$1(lView[RENDERER], element, namespace, tNode.value, name, value, sanitizer);
|
|
10454
10453
|
}
|
|
10455
|
-
function setElementAttribute(renderer, element, namespace, tagName, name, value, sanitizer) {
|
|
10454
|
+
function setElementAttribute$1(renderer, element, namespace, tagName, name, value, sanitizer) {
|
|
10456
10455
|
if (value == null) {
|
|
10457
10456
|
ngDevMode && ngDevMode.rendererRemoveAttribute++;
|
|
10458
10457
|
isProceduralRenderer(renderer) ? renderer.removeAttribute(element, name, namespace) :
|
|
@@ -10675,7 +10674,7 @@ function refreshContainsDirtyView(lView) {
|
|
|
10675
10674
|
}
|
|
10676
10675
|
}
|
|
10677
10676
|
}
|
|
10678
|
-
function renderComponent(hostLView, componentHostIdx) {
|
|
10677
|
+
function renderComponent$1(hostLView, componentHostIdx) {
|
|
10679
10678
|
ngDevMode && assertEqual(isCreationMode(hostLView), true, 'Should be run in creation mode');
|
|
10680
10679
|
const componentView = getComponentLViewByIndex(componentHostIdx, hostLView);
|
|
10681
10680
|
const componentTView = componentView[TVIEW];
|
|
@@ -10933,7 +10932,7 @@ function loadComponentRenderer(currentDef, tNode, lView) {
|
|
|
10933
10932
|
}
|
|
10934
10933
|
/** Handles an error thrown in an LView. */
|
|
10935
10934
|
function handleError(lView, error) {
|
|
10936
|
-
const injector = lView[INJECTOR];
|
|
10935
|
+
const injector = lView[INJECTOR$1];
|
|
10937
10936
|
const errorHandler = injector ? injector.get(ErrorHandler, null) : null;
|
|
10938
10937
|
errorHandler && errorHandler.handleError(error);
|
|
10939
10938
|
}
|
|
@@ -11083,7 +11082,7 @@ function tick(component) {
|
|
|
11083
11082
|
*
|
|
11084
11083
|
* @publicApi
|
|
11085
11084
|
*/
|
|
11086
|
-
const INJECTOR
|
|
11085
|
+
const INJECTOR = new InjectionToken('INJECTOR',
|
|
11087
11086
|
// Dissable tslint because this is const enum which gets inlined not top level prop access.
|
|
11088
11087
|
// tslint:disable-next-line: no-toplevel-property-access
|
|
11089
11088
|
-1 /* Injector */);
|
|
@@ -11138,23 +11137,23 @@ const NOT_YET = {};
|
|
|
11138
11137
|
* injection of a dependency has recursively attempted to inject the original token, and there is
|
|
11139
11138
|
* a circular dependency among the providers.
|
|
11140
11139
|
*/
|
|
11141
|
-
const CIRCULAR = {};
|
|
11140
|
+
const CIRCULAR$1 = {};
|
|
11142
11141
|
/**
|
|
11143
11142
|
* A lazily initialized NullInjector.
|
|
11144
11143
|
*/
|
|
11145
|
-
let NULL_INJECTOR = undefined;
|
|
11144
|
+
let NULL_INJECTOR$1 = undefined;
|
|
11146
11145
|
function getNullInjector() {
|
|
11147
|
-
if (NULL_INJECTOR === undefined) {
|
|
11148
|
-
NULL_INJECTOR = new NullInjector();
|
|
11146
|
+
if (NULL_INJECTOR$1 === undefined) {
|
|
11147
|
+
NULL_INJECTOR$1 = new NullInjector();
|
|
11149
11148
|
}
|
|
11150
|
-
return NULL_INJECTOR;
|
|
11149
|
+
return NULL_INJECTOR$1;
|
|
11151
11150
|
}
|
|
11152
11151
|
/**
|
|
11153
11152
|
* Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
|
|
11154
11153
|
*
|
|
11155
11154
|
* @publicApi
|
|
11156
11155
|
*/
|
|
11157
|
-
function createInjector(defType, parent = null, additionalProviders = null, name) {
|
|
11156
|
+
function createInjector$1(defType, parent = null, additionalProviders = null, name) {
|
|
11158
11157
|
const injector = createInjectorWithoutInjectorInstances(defType, parent, additionalProviders, name);
|
|
11159
11158
|
injector._resolveInjectorDefTypes();
|
|
11160
11159
|
return injector;
|
|
@@ -11193,7 +11192,7 @@ class R3Injector {
|
|
|
11193
11192
|
deepForEach(additionalProviders, provider => this.processProvider(provider, def, additionalProviders));
|
|
11194
11193
|
deepForEach([def], injectorDef => this.processInjectorType(injectorDef, [], dedupStack));
|
|
11195
11194
|
// Make sure the INJECTOR token provides this injector.
|
|
11196
|
-
this.records.set(INJECTOR
|
|
11195
|
+
this.records.set(INJECTOR, makeRecord(undefined, this));
|
|
11197
11196
|
// Detect whether this injector has the APP_ROOT_SCOPE token and thus should provide
|
|
11198
11197
|
// any injectable scoped to APP_ROOT_SCOPE.
|
|
11199
11198
|
const record = this.records.get(INJECTOR_SCOPE);
|
|
@@ -11430,11 +11429,11 @@ class R3Injector {
|
|
|
11430
11429
|
this.records.set(token, record);
|
|
11431
11430
|
}
|
|
11432
11431
|
hydrate(token, record) {
|
|
11433
|
-
if (ngDevMode && record.value === CIRCULAR) {
|
|
11432
|
+
if (ngDevMode && record.value === CIRCULAR$1) {
|
|
11434
11433
|
throwCyclicDependencyError(stringify(token));
|
|
11435
11434
|
}
|
|
11436
11435
|
else if (record.value === NOT_YET) {
|
|
11437
|
-
record.value = CIRCULAR;
|
|
11436
|
+
record.value = CIRCULAR$1;
|
|
11438
11437
|
record.value = record.factory();
|
|
11439
11438
|
}
|
|
11440
11439
|
if (typeof record.value === 'object' && record.value && hasOnDestroy(record.value)) {
|
|
@@ -11548,7 +11547,7 @@ function makeRecord(factory, value, multi = false) {
|
|
|
11548
11547
|
};
|
|
11549
11548
|
}
|
|
11550
11549
|
function isValueProvider(value) {
|
|
11551
|
-
return value !== null && typeof value == 'object' && USE_VALUE in value;
|
|
11550
|
+
return value !== null && typeof value == 'object' && USE_VALUE$2 in value;
|
|
11552
11551
|
}
|
|
11553
11552
|
function isExistingProvider(value) {
|
|
11554
11553
|
return !!(value && value.useExisting);
|
|
@@ -11585,9 +11584,9 @@ function INJECTOR_IMPL__PRE_R3__(providers, parent, name) {
|
|
|
11585
11584
|
return new StaticInjector(providers, parent, name);
|
|
11586
11585
|
}
|
|
11587
11586
|
function INJECTOR_IMPL__POST_R3__(providers, parent, name) {
|
|
11588
|
-
return createInjector({ name: name }, parent, providers, name);
|
|
11587
|
+
return createInjector$1({ name: name }, parent, providers, name);
|
|
11589
11588
|
}
|
|
11590
|
-
const INJECTOR_IMPL =
|
|
11589
|
+
const INJECTOR_IMPL = INJECTOR_IMPL__POST_R3__;
|
|
11591
11590
|
/**
|
|
11592
11591
|
* Concrete injectors implement this interface. Injectors are configured
|
|
11593
11592
|
* with [providers](guide/glossary#provider) that associate
|
|
@@ -11628,7 +11627,7 @@ Injector.NULL = ( /* @__PURE__ */new NullInjector());
|
|
|
11628
11627
|
Injector.ɵprov = ɵɵdefineInjectable({
|
|
11629
11628
|
token: Injector,
|
|
11630
11629
|
providedIn: 'any',
|
|
11631
|
-
factory: () => ɵɵinject(INJECTOR
|
|
11630
|
+
factory: () => ɵɵinject(INJECTOR),
|
|
11632
11631
|
});
|
|
11633
11632
|
/**
|
|
11634
11633
|
* @internal
|
|
@@ -11638,21 +11637,19 @@ Injector.__NG_ELEMENT_ID__ = -1 /* Injector */;
|
|
|
11638
11637
|
const IDENT = function (value) {
|
|
11639
11638
|
return value;
|
|
11640
11639
|
};
|
|
11641
|
-
const ɵ0$6 = IDENT;
|
|
11642
11640
|
const EMPTY = [];
|
|
11643
|
-
const CIRCULAR
|
|
11641
|
+
const CIRCULAR = IDENT;
|
|
11644
11642
|
const MULTI_PROVIDER_FN = function () {
|
|
11645
11643
|
return Array.prototype.slice.call(arguments);
|
|
11646
11644
|
};
|
|
11647
|
-
const
|
|
11648
|
-
const NO_NEW_LINE$1 = 'ɵ';
|
|
11645
|
+
const NO_NEW_LINE = 'ɵ';
|
|
11649
11646
|
class StaticInjector {
|
|
11650
11647
|
constructor(providers, parent = Injector.NULL, source = null) {
|
|
11651
11648
|
this.parent = parent;
|
|
11652
11649
|
this.source = source;
|
|
11653
11650
|
const records = this._records = new Map();
|
|
11654
11651
|
records.set(Injector, { token: Injector, fn: IDENT, deps: EMPTY, value: this, useNew: false });
|
|
11655
|
-
records.set(INJECTOR
|
|
11652
|
+
records.set(INJECTOR, { token: INJECTOR, fn: IDENT, deps: EMPTY, value: this, useNew: false });
|
|
11656
11653
|
this.scope = recursivelyProcessProviders(records, providers);
|
|
11657
11654
|
}
|
|
11658
11655
|
get(token, notFoundValue, flags = InjectFlags.Default) {
|
|
@@ -11664,7 +11661,7 @@ class StaticInjector {
|
|
|
11664
11661
|
if (injectableDef) {
|
|
11665
11662
|
const providedIn = injectableDef && resolveForwardRef(injectableDef.providedIn);
|
|
11666
11663
|
if (providedIn === 'any' || providedIn != null && providedIn === this.scope) {
|
|
11667
|
-
records.set(token, record = resolveProvider({ provide: token, useFactory: injectableDef.factory, deps: EMPTY }));
|
|
11664
|
+
records.set(token, record = resolveProvider$1({ provide: token, useFactory: injectableDef.factory, deps: EMPTY }));
|
|
11668
11665
|
}
|
|
11669
11666
|
}
|
|
11670
11667
|
if (record === undefined) {
|
|
@@ -11689,13 +11686,13 @@ class StaticInjector {
|
|
|
11689
11686
|
return `StaticInjector[${tokens.join(', ')}]`;
|
|
11690
11687
|
}
|
|
11691
11688
|
}
|
|
11692
|
-
function resolveProvider(provider) {
|
|
11689
|
+
function resolveProvider$1(provider) {
|
|
11693
11690
|
const deps = computeDeps(provider);
|
|
11694
11691
|
let fn = IDENT;
|
|
11695
11692
|
let value = EMPTY;
|
|
11696
11693
|
let useNew = false;
|
|
11697
11694
|
let provide = resolveForwardRef(provider.provide);
|
|
11698
|
-
if (USE_VALUE in provider) {
|
|
11695
|
+
if (USE_VALUE$2 in provider) {
|
|
11699
11696
|
// We need to use USE_VALUE in provider since provider.useValue could be defined as undefined.
|
|
11700
11697
|
value = provider.useValue;
|
|
11701
11698
|
}
|
|
@@ -11739,7 +11736,7 @@ function recursivelyProcessProviders(records, provider) {
|
|
|
11739
11736
|
else if (provider && typeof provider === 'object' && provider.provide) {
|
|
11740
11737
|
// At this point we have what looks like a provider: {provide: ?, ....}
|
|
11741
11738
|
let token = resolveForwardRef(provider.provide);
|
|
11742
|
-
const resolvedProvider = resolveProvider(provider);
|
|
11739
|
+
const resolvedProvider = resolveProvider$1(provider);
|
|
11743
11740
|
if (provider.multi === true) {
|
|
11744
11741
|
// This is a multi provider.
|
|
11745
11742
|
let multiProvider = records.get(token);
|
|
@@ -11788,7 +11785,7 @@ function tryResolveToken(token, record, records, parent, notFoundValue, flags) {
|
|
|
11788
11785
|
}
|
|
11789
11786
|
const path = e[NG_TEMP_TOKEN_PATH] = e[NG_TEMP_TOKEN_PATH] || [];
|
|
11790
11787
|
path.unshift(token);
|
|
11791
|
-
if (record && record.value == CIRCULAR
|
|
11788
|
+
if (record && record.value == CIRCULAR) {
|
|
11792
11789
|
// Reset the Circular flag.
|
|
11793
11790
|
record.value = EMPTY;
|
|
11794
11791
|
}
|
|
@@ -11801,11 +11798,11 @@ function resolveToken(token, record, records, parent, notFoundValue, flags) {
|
|
|
11801
11798
|
// If we don't have a record, this implies that we don't own the provider hence don't know how
|
|
11802
11799
|
// to resolve it.
|
|
11803
11800
|
value = record.value;
|
|
11804
|
-
if (value == CIRCULAR
|
|
11805
|
-
throw Error(NO_NEW_LINE
|
|
11801
|
+
if (value == CIRCULAR) {
|
|
11802
|
+
throw Error(NO_NEW_LINE + 'Circular dependency');
|
|
11806
11803
|
}
|
|
11807
11804
|
else if (value === EMPTY) {
|
|
11808
|
-
record.value = CIRCULAR
|
|
11805
|
+
record.value = CIRCULAR;
|
|
11809
11806
|
let obj = undefined;
|
|
11810
11807
|
let useNew = record.useNew;
|
|
11811
11808
|
let fn = record.fn;
|
|
@@ -11879,7 +11876,7 @@ function computeDeps(provider) {
|
|
|
11879
11876
|
const token = resolveForwardRef(provider.useExisting);
|
|
11880
11877
|
deps = [{ token, options: 6 /* Default */ }];
|
|
11881
11878
|
}
|
|
11882
|
-
else if (!providerDeps && !(USE_VALUE in provider)) {
|
|
11879
|
+
else if (!providerDeps && !(USE_VALUE$2 in provider)) {
|
|
11883
11880
|
// useValue & useExisting are the only ones which are exempt from deps all others need it.
|
|
11884
11881
|
throw staticError('\'deps\' required', provider);
|
|
11885
11882
|
}
|
|
@@ -11923,7 +11920,7 @@ function staticError(text, obj) {
|
|
|
11923
11920
|
* @publicApi
|
|
11924
11921
|
* @globalApi ng
|
|
11925
11922
|
*/
|
|
11926
|
-
function getComponent(element) {
|
|
11923
|
+
function getComponent$1(element) {
|
|
11927
11924
|
assertDomElement(element);
|
|
11928
11925
|
const context = getLContext(element);
|
|
11929
11926
|
if (context === null)
|
|
@@ -12094,7 +12091,7 @@ function getDirectives(node) {
|
|
|
12094
12091
|
* @publicApi
|
|
12095
12092
|
* @globalApi ng
|
|
12096
12093
|
*/
|
|
12097
|
-
function getDirectiveMetadata(directiveOrComponentInstance) {
|
|
12094
|
+
function getDirectiveMetadata$1(directiveOrComponentInstance) {
|
|
12098
12095
|
const { constructor } = directiveOrComponentInstance;
|
|
12099
12096
|
if (!constructor) {
|
|
12100
12097
|
throw new Error('Unable to find the instance constructor');
|
|
@@ -12244,7 +12241,7 @@ function isDirectiveDefHack(obj) {
|
|
|
12244
12241
|
*
|
|
12245
12242
|
* @param element DOM element which is owned by an existing component's view.
|
|
12246
12243
|
*/
|
|
12247
|
-
function getDebugNode(element) {
|
|
12244
|
+
function getDebugNode$1(element) {
|
|
12248
12245
|
if (ngDevMode && !(element instanceof Node)) {
|
|
12249
12246
|
throw new Error('Expecting instance of DOM Element');
|
|
12250
12247
|
}
|
|
@@ -12322,8 +12319,7 @@ function applyChanges(component) {
|
|
|
12322
12319
|
*
|
|
12323
12320
|
* To see this in action run the following command:
|
|
12324
12321
|
*
|
|
12325
|
-
* bazel run
|
|
12326
|
-
* //packages/core/test/bundling/todo:devserver
|
|
12322
|
+
* bazel run //packages/core/test/bundling/todo:devserver
|
|
12327
12323
|
*
|
|
12328
12324
|
* Then load `localhost:5432` and start using the console tools.
|
|
12329
12325
|
*/
|
|
@@ -12339,7 +12335,7 @@ let _published = false;
|
|
|
12339
12335
|
* These functions are available globally when Angular is in development
|
|
12340
12336
|
* mode and are automatically stripped away from prod mode is on.
|
|
12341
12337
|
*/
|
|
12342
|
-
function publishDefaultGlobalUtils() {
|
|
12338
|
+
function publishDefaultGlobalUtils$1() {
|
|
12343
12339
|
if (!_published) {
|
|
12344
12340
|
_published = true;
|
|
12345
12341
|
/**
|
|
@@ -12348,8 +12344,8 @@ function publishDefaultGlobalUtils() {
|
|
|
12348
12344
|
* removed completely.
|
|
12349
12345
|
*/
|
|
12350
12346
|
publishGlobalUtil('ɵsetProfiler', setProfiler);
|
|
12351
|
-
publishGlobalUtil('getDirectiveMetadata', getDirectiveMetadata);
|
|
12352
|
-
publishGlobalUtil('getComponent', getComponent);
|
|
12347
|
+
publishGlobalUtil('getDirectiveMetadata', getDirectiveMetadata$1);
|
|
12348
|
+
publishGlobalUtil('getComponent', getComponent$1);
|
|
12353
12349
|
publishGlobalUtil('getContext', getContext);
|
|
12354
12350
|
publishGlobalUtil('getListeners', getListeners);
|
|
12355
12351
|
publishGlobalUtil('getOwningComponent', getOwningComponent);
|
|
@@ -12389,12 +12385,11 @@ function publishGlobalUtil(name, fn) {
|
|
|
12389
12385
|
* Use of this source code is governed by an MIT-style license that can be
|
|
12390
12386
|
* found in the LICENSE file at https://angular.io/license
|
|
12391
12387
|
*/
|
|
12392
|
-
const ɵ0$7 = (token, notFoundValue) => {
|
|
12393
|
-
throwProviderNotFoundError(token, 'NullInjector');
|
|
12394
|
-
};
|
|
12395
12388
|
// TODO: A hack to not pull in the NullInjector from @angular/core.
|
|
12396
|
-
const NULL_INJECTOR
|
|
12397
|
-
get:
|
|
12389
|
+
const NULL_INJECTOR = {
|
|
12390
|
+
get: (token, notFoundValue) => {
|
|
12391
|
+
throwProviderNotFoundError(token, 'NullInjector');
|
|
12392
|
+
}
|
|
12398
12393
|
};
|
|
12399
12394
|
/**
|
|
12400
12395
|
* Bootstraps a Component into an existing host element and returns an instance
|
|
@@ -12409,8 +12404,8 @@ const NULL_INJECTOR$1 = {
|
|
|
12409
12404
|
* @param componentType Component to bootstrap
|
|
12410
12405
|
* @param options Optional parameters which control bootstrapping
|
|
12411
12406
|
*/
|
|
12412
|
-
function renderComponent
|
|
12413
|
-
ngDevMode && publishDefaultGlobalUtils();
|
|
12407
|
+
function renderComponent(componentType /* Type as workaround for: Microsoft/TypeScript/issues/4881 */, opts = {}) {
|
|
12408
|
+
ngDevMode && publishDefaultGlobalUtils$1();
|
|
12414
12409
|
ngDevMode && assertComponentType(componentType);
|
|
12415
12410
|
const rendererFactory = opts.rendererFactory || domRendererFactory3;
|
|
12416
12411
|
const sanitizer = opts.sanitizer || null;
|
|
@@ -12859,47 +12854,6 @@ function devModeEqual(a, b) {
|
|
|
12859
12854
|
}
|
|
12860
12855
|
}
|
|
12861
12856
|
}
|
|
12862
|
-
/**
|
|
12863
|
-
* Indicates that the result of a {@link Pipe} transformation has changed even though the
|
|
12864
|
-
* reference has not changed.
|
|
12865
|
-
*
|
|
12866
|
-
* Wrapped values are unwrapped automatically during the change detection, and the unwrapped value
|
|
12867
|
-
* is stored.
|
|
12868
|
-
*
|
|
12869
|
-
* Example:
|
|
12870
|
-
*
|
|
12871
|
-
* ```
|
|
12872
|
-
* if (this._latestValue === this._latestReturnedValue) {
|
|
12873
|
-
* return this._latestReturnedValue;
|
|
12874
|
-
* } else {
|
|
12875
|
-
* this._latestReturnedValue = this._latestValue;
|
|
12876
|
-
* return WrappedValue.wrap(this._latestValue); // this will force update
|
|
12877
|
-
* }
|
|
12878
|
-
* ```
|
|
12879
|
-
*
|
|
12880
|
-
* @publicApi
|
|
12881
|
-
* @deprecated from v10 stop using. (No replacement, deemed unnecessary.)
|
|
12882
|
-
*/
|
|
12883
|
-
class WrappedValue {
|
|
12884
|
-
constructor(value) {
|
|
12885
|
-
this.wrapped = value;
|
|
12886
|
-
}
|
|
12887
|
-
/** Creates a wrapped value. */
|
|
12888
|
-
static wrap(value) {
|
|
12889
|
-
return new WrappedValue(value);
|
|
12890
|
-
}
|
|
12891
|
-
/**
|
|
12892
|
-
* Returns the underlying value of a wrapped value.
|
|
12893
|
-
* Returns the given `value` when it is not wrapped.
|
|
12894
|
-
**/
|
|
12895
|
-
static unwrap(value) {
|
|
12896
|
-
return WrappedValue.isWrapped(value) ? value.wrapped : value;
|
|
12897
|
-
}
|
|
12898
|
-
/** Returns true if `value` is a wrapped value. */
|
|
12899
|
-
static isWrapped(value) {
|
|
12900
|
-
return value instanceof WrappedValue;
|
|
12901
|
-
}
|
|
12902
|
-
}
|
|
12903
12857
|
function isListLikeIterable(obj) {
|
|
12904
12858
|
if (!isJsObject(obj))
|
|
12905
12859
|
return false;
|
|
@@ -13723,8 +13677,7 @@ function compileInjectable(type, meta) {
|
|
|
13723
13677
|
});
|
|
13724
13678
|
}
|
|
13725
13679
|
}
|
|
13726
|
-
const
|
|
13727
|
-
const USE_VALUE$1 = getClosureSafeProperty({ provide: String, useValue: ɵ0$8 });
|
|
13680
|
+
const USE_VALUE$1 = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });
|
|
13728
13681
|
function isUseClassProvider(meta) {
|
|
13729
13682
|
return meta.useClass !== undefined;
|
|
13730
13683
|
}
|
|
@@ -13772,8 +13725,7 @@ function getInjectableMetadata(type, srcMeta) {
|
|
|
13772
13725
|
* Use of this source code is governed by an MIT-style license that can be
|
|
13773
13726
|
* found in the LICENSE file at https://angular.io/license
|
|
13774
13727
|
*/
|
|
13775
|
-
const
|
|
13776
|
-
const USE_VALUE$2 = getClosureSafeProperty({ provide: String, useValue: ɵ0$9 });
|
|
13728
|
+
const USE_VALUE = getClosureSafeProperty({ provide: String, useValue: getClosureSafeProperty });
|
|
13777
13729
|
function convertInjectableProviderToFactory(type, provider) {
|
|
13778
13730
|
if (!provider) {
|
|
13779
13731
|
const reflectionCapabilities = new ReflectionCapabilities();
|
|
@@ -13781,7 +13733,7 @@ function convertInjectableProviderToFactory(type, provider) {
|
|
|
13781
13733
|
// TODO - convert to flags.
|
|
13782
13734
|
return () => new type(...injectArgs(deps));
|
|
13783
13735
|
}
|
|
13784
|
-
if (USE_VALUE
|
|
13736
|
+
if (USE_VALUE in provider) {
|
|
13785
13737
|
const valueProvider = provider;
|
|
13786
13738
|
return () => valueProvider.useValue;
|
|
13787
13739
|
}
|
|
@@ -13812,21 +13764,13 @@ function convertInjectableProviderToFactory(type, provider) {
|
|
|
13812
13764
|
}
|
|
13813
13765
|
}
|
|
13814
13766
|
|
|
13815
|
-
/**
|
|
13816
|
-
* @license
|
|
13817
|
-
* Copyright Google LLC All Rights Reserved.
|
|
13818
|
-
*
|
|
13819
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
13820
|
-
* found in the LICENSE file at https://angular.io/license
|
|
13821
|
-
*/
|
|
13822
|
-
const ɵ0$a = (type, meta) => SWITCH_COMPILE_INJECTABLE(type, meta);
|
|
13823
13767
|
/**
|
|
13824
13768
|
* Injectable decorator and metadata.
|
|
13825
13769
|
*
|
|
13826
13770
|
* @Annotation
|
|
13827
13771
|
* @publicApi
|
|
13828
13772
|
*/
|
|
13829
|
-
const Injectable = makeDecorator('Injectable', undefined, undefined, undefined,
|
|
13773
|
+
const Injectable = makeDecorator('Injectable', undefined, undefined, undefined, (type, meta) => SWITCH_COMPILE_INJECTABLE(type, meta));
|
|
13830
13774
|
/**
|
|
13831
13775
|
* Supports @Injectable() in JIT mode for Render2.
|
|
13832
13776
|
*/
|
|
@@ -13841,7 +13785,7 @@ function render2CompileInjectable(injectableType, options) {
|
|
|
13841
13785
|
}
|
|
13842
13786
|
const SWITCH_COMPILE_INJECTABLE__POST_R3__ = compileInjectable;
|
|
13843
13787
|
const SWITCH_COMPILE_INJECTABLE__PRE_R3__ = render2CompileInjectable;
|
|
13844
|
-
const SWITCH_COMPILE_INJECTABLE =
|
|
13788
|
+
const SWITCH_COMPILE_INJECTABLE = SWITCH_COMPILE_INJECTABLE__POST_R3__;
|
|
13845
13789
|
|
|
13846
13790
|
/**
|
|
13847
13791
|
* @license
|
|
@@ -14848,7 +14792,7 @@ function ɵɵelementStart(index, name, attrsIndex, localRefsIndex) {
|
|
|
14848
14792
|
assertEqual(getBindingIndex(), tView.bindingStartIndex, 'elements should be created before any bindings');
|
|
14849
14793
|
ngDevMode && assertIndexInRange(lView, adjustedIndex);
|
|
14850
14794
|
const renderer = lView[RENDERER];
|
|
14851
|
-
const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace());
|
|
14795
|
+
const native = lView[adjustedIndex] = createElementNode(renderer, name, getNamespace$1());
|
|
14852
14796
|
const tNode = tView.firstCreatePass ?
|
|
14853
14797
|
elementStartFirstCreatePass(adjustedIndex, tView, lView, native, name, attrsIndex, localRefsIndex) :
|
|
14854
14798
|
tView.data[adjustedIndex];
|
|
@@ -18811,8 +18755,8 @@ if (typeof ngI18nClosureMode === 'undefined') {
|
|
|
18811
18755
|
*/
|
|
18812
18756
|
// THIS CODE IS GENERATED - DO NOT MODIFY.
|
|
18813
18757
|
const u = undefined;
|
|
18814
|
-
function plural(
|
|
18815
|
-
const i = Math.floor(Math.abs(
|
|
18758
|
+
function plural(val) {
|
|
18759
|
+
const n = val, i = Math.floor(Math.abs(val)), v = val.toString().replace(/^[^.]*\.?/, '').length;
|
|
18816
18760
|
if (i === 1 && v === 0)
|
|
18817
18761
|
return 1;
|
|
18818
18762
|
return 5;
|
|
@@ -19019,7 +18963,7 @@ var I18nCreateOpCode;
|
|
|
19019
18963
|
})(I18nCreateOpCode || (I18nCreateOpCode = {}));
|
|
19020
18964
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
19021
18965
|
// failure based on types.
|
|
19022
|
-
const unusedValueExportToPlacateAjd$
|
|
18966
|
+
const unusedValueExportToPlacateAjd$2 = 1;
|
|
19023
18967
|
|
|
19024
18968
|
/**
|
|
19025
18969
|
* @license
|
|
@@ -19033,7 +18977,7 @@ const unusedValueExportToPlacateAjd$6 = 1;
|
|
|
19033
18977
|
* This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
|
|
19034
18978
|
* but is now defined as a global value.
|
|
19035
18979
|
*/
|
|
19036
|
-
let LOCALE_ID = DEFAULT_LOCALE_ID;
|
|
18980
|
+
let LOCALE_ID$1 = DEFAULT_LOCALE_ID;
|
|
19037
18981
|
/**
|
|
19038
18982
|
* Sets the locale id that will be used for translations and ICU expressions.
|
|
19039
18983
|
* This is the ivy version of `LOCALE_ID` that was defined as an injection token for the view engine
|
|
@@ -19044,7 +18988,7 @@ let LOCALE_ID = DEFAULT_LOCALE_ID;
|
|
|
19044
18988
|
function setLocaleId(localeId) {
|
|
19045
18989
|
assertDefined(localeId, `Expected localeId to be defined`);
|
|
19046
18990
|
if (typeof localeId === 'string') {
|
|
19047
|
-
LOCALE_ID = localeId.toLowerCase().replace(/_/g, '-');
|
|
18991
|
+
LOCALE_ID$1 = localeId.toLowerCase().replace(/_/g, '-');
|
|
19048
18992
|
}
|
|
19049
18993
|
}
|
|
19050
18994
|
/**
|
|
@@ -19053,7 +18997,7 @@ function setLocaleId(localeId) {
|
|
|
19053
18997
|
* but is now defined as a global value.
|
|
19054
18998
|
*/
|
|
19055
18999
|
function getLocaleId() {
|
|
19056
|
-
return LOCALE_ID;
|
|
19000
|
+
return LOCALE_ID$1;
|
|
19057
19001
|
}
|
|
19058
19002
|
|
|
19059
19003
|
/**
|
|
@@ -19479,7 +19423,7 @@ function applyMutableOpCodes(tView, mutableOpCodes, lView, anchorRNode) {
|
|
|
19479
19423
|
const attrValue = mutableOpCodes[++i];
|
|
19480
19424
|
// This code is used for ICU expressions only, since we don't support
|
|
19481
19425
|
// directives/components in ICUs, we don't need to worry about inputs here
|
|
19482
|
-
setElementAttribute(renderer, getNativeByIndex(elementNodeIndex, lView), null, null, attrName, attrValue, null);
|
|
19426
|
+
setElementAttribute$1(renderer, getNativeByIndex(elementNodeIndex, lView), null, null, attrName, attrValue, null);
|
|
19483
19427
|
break;
|
|
19484
19428
|
default:
|
|
19485
19429
|
throw new Error(`Unable to determine the type of mutate operation for "${opCode}"`);
|
|
@@ -19563,7 +19507,7 @@ function applyUpdateOpCodes(tView, lView, updateOpCodes, bindingsStartIndex, cha
|
|
|
19563
19507
|
// IF we don't have a `TNode`, then we are an element in ICU (as ICU content does
|
|
19564
19508
|
// not have TNode), in which case we know that there are no directives, and hence
|
|
19565
19509
|
// we use attribute setting.
|
|
19566
|
-
setElementAttribute(lView[RENDERER], lView[nodeIndex], null, tNodeOrTagName, propName, value, sanitizeFn);
|
|
19510
|
+
setElementAttribute$1(lView[RENDERER], lView[nodeIndex], null, tNodeOrTagName, propName, value, sanitizeFn);
|
|
19567
19511
|
}
|
|
19568
19512
|
else {
|
|
19569
19513
|
elementPropertyInternal(tView, tNodeOrTagName, lView, propName, value, lView[RENDERER], sanitizeFn, false);
|
|
@@ -20926,22 +20870,22 @@ function providersResolver(def, providers, viewProviders) {
|
|
|
20926
20870
|
if (tView.firstCreatePass) {
|
|
20927
20871
|
const isComponent = isComponentDef(def);
|
|
20928
20872
|
// The list of view providers is processed first, and the flags are updated
|
|
20929
|
-
resolveProvider
|
|
20873
|
+
resolveProvider(viewProviders, tView.data, tView.blueprint, isComponent, true);
|
|
20930
20874
|
// Then, the list of providers is processed, and the flags are updated
|
|
20931
|
-
resolveProvider
|
|
20875
|
+
resolveProvider(providers, tView.data, tView.blueprint, isComponent, false);
|
|
20932
20876
|
}
|
|
20933
20877
|
}
|
|
20934
20878
|
/**
|
|
20935
20879
|
* Resolves a provider and publishes it to the DI system.
|
|
20936
20880
|
*/
|
|
20937
|
-
function resolveProvider
|
|
20881
|
+
function resolveProvider(provider, tInjectables, lInjectablesBlueprint, isComponent, isViewProvider) {
|
|
20938
20882
|
provider = resolveForwardRef(provider);
|
|
20939
20883
|
if (Array.isArray(provider)) {
|
|
20940
20884
|
// Recursively call `resolveProvider`
|
|
20941
20885
|
// Recursion is OK in this case because this code will not be in hot-path once we implement
|
|
20942
20886
|
// cloning of the initial state.
|
|
20943
20887
|
for (let i = 0; i < provider.length; i++) {
|
|
20944
|
-
resolveProvider
|
|
20888
|
+
resolveProvider(provider[i], tInjectables, lInjectablesBlueprint, isComponent, isViewProvider);
|
|
20945
20889
|
}
|
|
20946
20890
|
}
|
|
20947
20891
|
else {
|
|
@@ -21196,7 +21140,7 @@ function ɵɵProvidersFeature(providers, viewProviders = []) {
|
|
|
21196
21140
|
*
|
|
21197
21141
|
* @publicApi
|
|
21198
21142
|
*/
|
|
21199
|
-
class ComponentRef {
|
|
21143
|
+
class ComponentRef$1 {
|
|
21200
21144
|
}
|
|
21201
21145
|
/**
|
|
21202
21146
|
* Base class for a factory that can create a component dynamically.
|
|
@@ -21207,7 +21151,7 @@ class ComponentRef {
|
|
|
21207
21151
|
*
|
|
21208
21152
|
* @publicApi
|
|
21209
21153
|
*/
|
|
21210
|
-
class ComponentFactory {
|
|
21154
|
+
class ComponentFactory$1 {
|
|
21211
21155
|
}
|
|
21212
21156
|
|
|
21213
21157
|
/**
|
|
@@ -21223,7 +21167,7 @@ function noComponentFactoryError(component) {
|
|
|
21223
21167
|
return error;
|
|
21224
21168
|
}
|
|
21225
21169
|
const ERROR_COMPONENT = 'ngComponent';
|
|
21226
|
-
function getComponent
|
|
21170
|
+
function getComponent(error) {
|
|
21227
21171
|
return error[ERROR_COMPONENT];
|
|
21228
21172
|
}
|
|
21229
21173
|
class _NullComponentFactoryResolver {
|
|
@@ -21237,15 +21181,15 @@ class _NullComponentFactoryResolver {
|
|
|
21237
21181
|
* Use to obtain the factory for a given component type,
|
|
21238
21182
|
* then use the factory's `create()` method to create a component of that type.
|
|
21239
21183
|
*
|
|
21240
|
-
*
|
|
21241
|
-
*
|
|
21242
|
-
*
|
|
21243
|
-
|
|
21184
|
+
* Note: since v13, dynamic component creation via
|
|
21185
|
+
* [`ViewContainerRef.createComponent`](api/core/ViewContainerRef#createComponent)
|
|
21186
|
+
* does **not** require resolving component factory: component class can be used directly.
|
|
21187
|
+
*
|
|
21244
21188
|
* @publicApi
|
|
21245
21189
|
*/
|
|
21246
|
-
class ComponentFactoryResolver {
|
|
21190
|
+
class ComponentFactoryResolver$1 {
|
|
21247
21191
|
}
|
|
21248
|
-
ComponentFactoryResolver.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
|
|
21192
|
+
ComponentFactoryResolver$1.NULL = ( /* @__PURE__ */new _NullComponentFactoryResolver());
|
|
21249
21193
|
class CodegenComponentFactoryResolver {
|
|
21250
21194
|
constructor(factories, _parent, _ngModule) {
|
|
21251
21195
|
this._parent = _parent;
|
|
@@ -21267,7 +21211,7 @@ class CodegenComponentFactoryResolver {
|
|
|
21267
21211
|
return new ComponentFactoryBoundToModule(factory, this._ngModule);
|
|
21268
21212
|
}
|
|
21269
21213
|
}
|
|
21270
|
-
class ComponentFactoryBoundToModule extends ComponentFactory {
|
|
21214
|
+
class ComponentFactoryBoundToModule extends ComponentFactory$1 {
|
|
21271
21215
|
constructor(factory, ngModule) {
|
|
21272
21216
|
super();
|
|
21273
21217
|
this.factory = factory;
|
|
@@ -21294,13 +21238,6 @@ function noop(...args) {
|
|
|
21294
21238
|
// Do nothing.
|
|
21295
21239
|
}
|
|
21296
21240
|
|
|
21297
|
-
/**
|
|
21298
|
-
* @license
|
|
21299
|
-
* Copyright Google LLC All Rights Reserved.
|
|
21300
|
-
*
|
|
21301
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
21302
|
-
* found in the LICENSE file at https://angular.io/license
|
|
21303
|
-
*/
|
|
21304
21241
|
/**
|
|
21305
21242
|
* Creates an ElementRef from the most recent node.
|
|
21306
21243
|
*
|
|
@@ -21321,7 +21258,7 @@ function createElementRef(tNode, lView) {
|
|
|
21321
21258
|
}
|
|
21322
21259
|
const SWITCH_ELEMENT_REF_FACTORY__POST_R3__ = injectElementRef;
|
|
21323
21260
|
const SWITCH_ELEMENT_REF_FACTORY__PRE_R3__ = noop;
|
|
21324
|
-
const SWITCH_ELEMENT_REF_FACTORY =
|
|
21261
|
+
const SWITCH_ELEMENT_REF_FACTORY = SWITCH_ELEMENT_REF_FACTORY__POST_R3__;
|
|
21325
21262
|
/**
|
|
21326
21263
|
* A wrapper around a native element inside of a View.
|
|
21327
21264
|
*
|
|
@@ -21396,7 +21333,7 @@ class Renderer2 {
|
|
|
21396
21333
|
Renderer2.__NG_ELEMENT_ID__ = () => SWITCH_RENDERER2_FACTORY();
|
|
21397
21334
|
const SWITCH_RENDERER2_FACTORY__POST_R3__ = injectRenderer2;
|
|
21398
21335
|
const SWITCH_RENDERER2_FACTORY__PRE_R3__ = noop;
|
|
21399
|
-
const SWITCH_RENDERER2_FACTORY =
|
|
21336
|
+
const SWITCH_RENDERER2_FACTORY = SWITCH_RENDERER2_FACTORY__POST_R3__;
|
|
21400
21337
|
/** Returns a Renderer2 (or throws when application was bootstrapped with Renderer3) */
|
|
21401
21338
|
function getOrCreateRenderer2(lView) {
|
|
21402
21339
|
const renderer = lView[RENDERER];
|
|
@@ -21459,7 +21396,7 @@ class Version {
|
|
|
21459
21396
|
/**
|
|
21460
21397
|
* @publicApi
|
|
21461
21398
|
*/
|
|
21462
|
-
const VERSION = new Version('13.0.0-
|
|
21399
|
+
const VERSION = new Version('13.0.0-rc.3');
|
|
21463
21400
|
|
|
21464
21401
|
/**
|
|
21465
21402
|
* @license
|
|
@@ -21548,7 +21485,7 @@ function collectNativeNodes(tView, lView, tNode, result, isProjection = false) {
|
|
|
21548
21485
|
* Use of this source code is governed by an MIT-style license that can be
|
|
21549
21486
|
* found in the LICENSE file at https://angular.io/license
|
|
21550
21487
|
*/
|
|
21551
|
-
class ViewRef {
|
|
21488
|
+
class ViewRef$1 {
|
|
21552
21489
|
constructor(
|
|
21553
21490
|
/**
|
|
21554
21491
|
* This represents `LView` associated with the component when ViewRef is a ChangeDetectorRef.
|
|
@@ -21801,7 +21738,7 @@ class ViewRef {
|
|
|
21801
21738
|
}
|
|
21802
21739
|
detachFromAppRef() {
|
|
21803
21740
|
this._appRef = null;
|
|
21804
|
-
renderDetachView(this._lView[TVIEW], this._lView);
|
|
21741
|
+
renderDetachView$1(this._lView[TVIEW], this._lView);
|
|
21805
21742
|
}
|
|
21806
21743
|
attachToAppRef(appRef) {
|
|
21807
21744
|
if (this._attachedToViewContainer) {
|
|
@@ -21811,7 +21748,7 @@ class ViewRef {
|
|
|
21811
21748
|
}
|
|
21812
21749
|
}
|
|
21813
21750
|
/** @internal */
|
|
21814
|
-
class RootViewRef extends ViewRef {
|
|
21751
|
+
class RootViewRef extends ViewRef$1 {
|
|
21815
21752
|
constructor(_view) {
|
|
21816
21753
|
super(_view);
|
|
21817
21754
|
this._view = _view;
|
|
@@ -21834,7 +21771,7 @@ class RootViewRef extends ViewRef {
|
|
|
21834
21771
|
* Use of this source code is governed by an MIT-style license that can be
|
|
21835
21772
|
* found in the LICENSE file at https://angular.io/license
|
|
21836
21773
|
*/
|
|
21837
|
-
class ComponentFactoryResolver
|
|
21774
|
+
class ComponentFactoryResolver extends ComponentFactoryResolver$1 {
|
|
21838
21775
|
/**
|
|
21839
21776
|
* @param ngModule The NgModuleRef to which all resolved factories are bound.
|
|
21840
21777
|
*/
|
|
@@ -21845,7 +21782,7 @@ class ComponentFactoryResolver$1 extends ComponentFactoryResolver {
|
|
|
21845
21782
|
resolveComponentFactory(component) {
|
|
21846
21783
|
ngDevMode && assertComponentType(component);
|
|
21847
21784
|
const componentDef = getComponentDef(component);
|
|
21848
|
-
return new ComponentFactory
|
|
21785
|
+
return new ComponentFactory(componentDef, this.ngModule);
|
|
21849
21786
|
}
|
|
21850
21787
|
}
|
|
21851
21788
|
function toRefArray(map) {
|
|
@@ -21858,7 +21795,7 @@ function toRefArray(map) {
|
|
|
21858
21795
|
}
|
|
21859
21796
|
return array;
|
|
21860
21797
|
}
|
|
21861
|
-
function getNamespace
|
|
21798
|
+
function getNamespace(elementName) {
|
|
21862
21799
|
const name = elementName.toLowerCase();
|
|
21863
21800
|
return name === 'svg' ? SVG_NAMESPACE : (name === 'math' ? MATH_ML_NAMESPACE : null);
|
|
21864
21801
|
}
|
|
@@ -21890,7 +21827,7 @@ function createChainedInjector(rootViewInjector, moduleInjector) {
|
|
|
21890
21827
|
/**
|
|
21891
21828
|
* Render3 implementation of {@link viewEngine_ComponentFactory}.
|
|
21892
21829
|
*/
|
|
21893
|
-
class ComponentFactory
|
|
21830
|
+
class ComponentFactory extends ComponentFactory$1 {
|
|
21894
21831
|
/**
|
|
21895
21832
|
* @param componentDef The component definition.
|
|
21896
21833
|
* @param ngModule The NgModuleRef to which the factory is bound.
|
|
@@ -21922,7 +21859,7 @@ class ComponentFactory$1 extends ComponentFactory {
|
|
|
21922
21859
|
const elementName = this.componentDef.selectors[0][0] || 'div';
|
|
21923
21860
|
const hostRNode = rootSelectorOrNode ?
|
|
21924
21861
|
locateHostElement(hostRenderer, rootSelectorOrNode, this.componentDef.encapsulation) :
|
|
21925
|
-
createElementNode(rendererFactory.createRenderer(null, this.componentDef), elementName, getNamespace
|
|
21862
|
+
createElementNode(rendererFactory.createRenderer(null, this.componentDef), elementName, getNamespace(elementName));
|
|
21926
21863
|
const rootFlags = this.componentDef.onPush ? 64 /* Dirty */ | 512 /* IsRoot */ :
|
|
21927
21864
|
16 /* CheckAlways */ | 512 /* IsRoot */;
|
|
21928
21865
|
const rootContext = createRootContext();
|
|
@@ -21978,10 +21915,10 @@ class ComponentFactory$1 extends ComponentFactory {
|
|
|
21978
21915
|
finally {
|
|
21979
21916
|
leaveView();
|
|
21980
21917
|
}
|
|
21981
|
-
return new ComponentRef
|
|
21918
|
+
return new ComponentRef(this.componentType, component, createElementRef(tElementNode, rootLView), rootLView, tElementNode);
|
|
21982
21919
|
}
|
|
21983
21920
|
}
|
|
21984
|
-
const componentFactoryResolver = new ComponentFactoryResolver
|
|
21921
|
+
const componentFactoryResolver = new ComponentFactoryResolver();
|
|
21985
21922
|
/**
|
|
21986
21923
|
* Creates a ComponentFactoryResolver and stores it on the injector. Or, if the
|
|
21987
21924
|
* ComponentFactoryResolver
|
|
@@ -22000,7 +21937,7 @@ function injectComponentFactoryResolver() {
|
|
|
22000
21937
|
* method.
|
|
22001
21938
|
*
|
|
22002
21939
|
*/
|
|
22003
|
-
class ComponentRef
|
|
21940
|
+
class ComponentRef extends ComponentRef$1 {
|
|
22004
21941
|
constructor(componentType, instance, location, _rootLView, _tNode) {
|
|
22005
21942
|
super();
|
|
22006
21943
|
this.location = location;
|
|
@@ -22082,12 +22019,20 @@ function setClassMetadata(type, decorators, ctorParameters, propDecorators) {
|
|
|
22082
22019
|
*
|
|
22083
22020
|
* @publicApi
|
|
22084
22021
|
*/
|
|
22085
|
-
class NgModuleRef {
|
|
22022
|
+
class NgModuleRef$1 {
|
|
22086
22023
|
}
|
|
22087
22024
|
/**
|
|
22088
22025
|
* @publicApi
|
|
22026
|
+
*
|
|
22027
|
+
* @deprecated
|
|
22028
|
+
* This class was mostly used as a part of ViewEngine-based JIT API and is no longer needed in Ivy
|
|
22029
|
+
* JIT mode. See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes)
|
|
22030
|
+
* for additional context. Angular provides APIs that accept NgModule classes directly (such as
|
|
22031
|
+
* [PlatformRef.bootstrapModule](api/core/PlatformRef#bootstrapModule) and
|
|
22032
|
+
* [createNgModuleRef](api/core/createNgModuleRef)), consider switching to those APIs instead of
|
|
22033
|
+
* using factory-based ones.
|
|
22089
22034
|
*/
|
|
22090
|
-
class NgModuleFactory {
|
|
22035
|
+
class NgModuleFactory$1 {
|
|
22091
22036
|
}
|
|
22092
22037
|
|
|
22093
22038
|
/**
|
|
@@ -22143,7 +22088,7 @@ function clearModulesForTest() {
|
|
|
22143
22088
|
modules.clear();
|
|
22144
22089
|
}
|
|
22145
22090
|
function getRegisteredNgModuleType(id) {
|
|
22146
|
-
return modules.get(id) || autoRegisterModuleById[id];
|
|
22091
|
+
return (modules.get(id) || autoRegisterModuleById[id]);
|
|
22147
22092
|
}
|
|
22148
22093
|
|
|
22149
22094
|
/**
|
|
@@ -22153,7 +22098,21 @@ function getRegisteredNgModuleType(id) {
|
|
|
22153
22098
|
* Use of this source code is governed by an MIT-style license that can be
|
|
22154
22099
|
* found in the LICENSE file at https://angular.io/license
|
|
22155
22100
|
*/
|
|
22156
|
-
|
|
22101
|
+
function createNgModuleRef__PRE_R3__(ngModule, parentInjector) {
|
|
22102
|
+
throw new Error(`This API is Ivy-only and is not supported in ViewEngine`);
|
|
22103
|
+
}
|
|
22104
|
+
function createNgModuleRef__POST_R3__(ngModule, parentInjector) {
|
|
22105
|
+
return new NgModuleRef(ngModule, parentInjector !== null && parentInjector !== void 0 ? parentInjector : null);
|
|
22106
|
+
}
|
|
22107
|
+
/**
|
|
22108
|
+
* Returns a new NgModuleRef instance based on the NgModule class and parent injector provided.
|
|
22109
|
+
* @param ngModule NgModule class.
|
|
22110
|
+
* @param parentInjector Optional injector instance to use as a parent for the module injector. If
|
|
22111
|
+
* not provided, `NullInjector` will be used instead.
|
|
22112
|
+
* @publicApi
|
|
22113
|
+
*/
|
|
22114
|
+
const createNgModuleRef$1 = createNgModuleRef__POST_R3__;
|
|
22115
|
+
class NgModuleRef extends NgModuleRef$1 {
|
|
22157
22116
|
constructor(ngModuleType, _parent) {
|
|
22158
22117
|
super();
|
|
22159
22118
|
this._parent = _parent;
|
|
@@ -22167,16 +22126,14 @@ class NgModuleRef$1 extends NgModuleRef {
|
|
|
22167
22126
|
// circular dependency which will result in a runtime error, because the injector doesn't
|
|
22168
22127
|
// exist yet. We work around the issue by creating the ComponentFactoryResolver ourselves
|
|
22169
22128
|
// and providing it, rather than letting the injector resolve it.
|
|
22170
|
-
this.componentFactoryResolver = new ComponentFactoryResolver
|
|
22129
|
+
this.componentFactoryResolver = new ComponentFactoryResolver(this);
|
|
22171
22130
|
const ngModuleDef = getNgModuleDef(ngModuleType);
|
|
22172
22131
|
ngDevMode &&
|
|
22173
22132
|
assertDefined(ngModuleDef, `NgModule '${stringify(ngModuleType)}' is not a subtype of 'NgModuleType'.`);
|
|
22174
|
-
const ngLocaleIdDef = getNgLocaleIdDef(ngModuleType);
|
|
22175
|
-
ngLocaleIdDef && setLocaleId(ngLocaleIdDef);
|
|
22176
22133
|
this._bootstrapComponents = maybeUnwrapFn(ngModuleDef.bootstrap);
|
|
22177
22134
|
this._r3Injector = createInjectorWithoutInjectorInstances(ngModuleType, _parent, [
|
|
22178
|
-
{ provide: NgModuleRef, useValue: this }, {
|
|
22179
|
-
provide: ComponentFactoryResolver,
|
|
22135
|
+
{ provide: NgModuleRef$1, useValue: this }, {
|
|
22136
|
+
provide: ComponentFactoryResolver$1,
|
|
22180
22137
|
useValue: this.componentFactoryResolver
|
|
22181
22138
|
}
|
|
22182
22139
|
], stringify(ngModuleType));
|
|
@@ -22187,7 +22144,7 @@ class NgModuleRef$1 extends NgModuleRef {
|
|
|
22187
22144
|
this.instance = this.get(ngModuleType);
|
|
22188
22145
|
}
|
|
22189
22146
|
get(token, notFoundValue = Injector.THROW_IF_NOT_FOUND, injectFlags = InjectFlags.Default) {
|
|
22190
|
-
if (token === Injector || token === NgModuleRef || token === INJECTOR
|
|
22147
|
+
if (token === Injector || token === NgModuleRef$1 || token === INJECTOR) {
|
|
22191
22148
|
return this;
|
|
22192
22149
|
}
|
|
22193
22150
|
return this._r3Injector.get(token, notFoundValue, injectFlags);
|
|
@@ -22204,7 +22161,7 @@ class NgModuleRef$1 extends NgModuleRef {
|
|
|
22204
22161
|
this.destroyCbs.push(callback);
|
|
22205
22162
|
}
|
|
22206
22163
|
}
|
|
22207
|
-
class NgModuleFactory
|
|
22164
|
+
class NgModuleFactory extends NgModuleFactory$1 {
|
|
22208
22165
|
constructor(moduleType) {
|
|
22209
22166
|
super();
|
|
22210
22167
|
this.moduleType = moduleType;
|
|
@@ -22237,7 +22194,7 @@ class NgModuleFactory$1 extends NgModuleFactory {
|
|
|
22237
22194
|
}
|
|
22238
22195
|
}
|
|
22239
22196
|
create(parentInjector) {
|
|
22240
|
-
return new NgModuleRef
|
|
22197
|
+
return new NgModuleRef(this.moduleType, parentInjector);
|
|
22241
22198
|
}
|
|
22242
22199
|
}
|
|
22243
22200
|
|
|
@@ -22610,7 +22567,7 @@ function ɵɵpipe(index, pipeName) {
|
|
|
22610
22567
|
let pipeDef;
|
|
22611
22568
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
22612
22569
|
if (tView.firstCreatePass) {
|
|
22613
|
-
pipeDef = getPipeDef
|
|
22570
|
+
pipeDef = getPipeDef(pipeName, tView.pipeRegistry);
|
|
22614
22571
|
tView.data[adjustedIndex] = pipeDef;
|
|
22615
22572
|
if (pipeDef.onDestroy) {
|
|
22616
22573
|
(tView.destroyHooks || (tView.destroyHooks = [])).push(adjustedIndex, pipeDef.onDestroy);
|
|
@@ -22644,7 +22601,7 @@ function ɵɵpipe(index, pipeName) {
|
|
|
22644
22601
|
* @param registry Full list of available pipes
|
|
22645
22602
|
* @returns Matching PipeDef
|
|
22646
22603
|
*/
|
|
22647
|
-
function getPipeDef
|
|
22604
|
+
function getPipeDef(name, registry) {
|
|
22648
22605
|
if (registry) {
|
|
22649
22606
|
for (let i = registry.length - 1; i >= 0; i--) {
|
|
22650
22607
|
const pipeDef = registry[i];
|
|
@@ -22671,9 +22628,9 @@ function ɵɵpipeBind1(index, slotOffset, v1) {
|
|
|
22671
22628
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
22672
22629
|
const lView = getLView();
|
|
22673
22630
|
const pipeInstance = load(lView, adjustedIndex);
|
|
22674
|
-
return
|
|
22631
|
+
return isPure(lView, adjustedIndex) ?
|
|
22675
22632
|
pureFunction1Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, pipeInstance) :
|
|
22676
|
-
pipeInstance.transform(v1)
|
|
22633
|
+
pipeInstance.transform(v1);
|
|
22677
22634
|
}
|
|
22678
22635
|
/**
|
|
22679
22636
|
* Invokes a pipe with 2 arguments.
|
|
@@ -22692,9 +22649,9 @@ function ɵɵpipeBind2(index, slotOffset, v1, v2) {
|
|
|
22692
22649
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
22693
22650
|
const lView = getLView();
|
|
22694
22651
|
const pipeInstance = load(lView, adjustedIndex);
|
|
22695
|
-
return
|
|
22652
|
+
return isPure(lView, adjustedIndex) ?
|
|
22696
22653
|
pureFunction2Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, pipeInstance) :
|
|
22697
|
-
pipeInstance.transform(v1, v2)
|
|
22654
|
+
pipeInstance.transform(v1, v2);
|
|
22698
22655
|
}
|
|
22699
22656
|
/**
|
|
22700
22657
|
* Invokes a pipe with 3 arguments.
|
|
@@ -22714,8 +22671,9 @@ function ɵɵpipeBind3(index, slotOffset, v1, v2, v3) {
|
|
|
22714
22671
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
22715
22672
|
const lView = getLView();
|
|
22716
22673
|
const pipeInstance = load(lView, adjustedIndex);
|
|
22717
|
-
return
|
|
22718
|
-
pipeInstance.transform
|
|
22674
|
+
return isPure(lView, adjustedIndex) ?
|
|
22675
|
+
pureFunction3Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, pipeInstance) :
|
|
22676
|
+
pipeInstance.transform(v1, v2, v3);
|
|
22719
22677
|
}
|
|
22720
22678
|
/**
|
|
22721
22679
|
* Invokes a pipe with 4 arguments.
|
|
@@ -22736,8 +22694,8 @@ function ɵɵpipeBind4(index, slotOffset, v1, v2, v3, v4) {
|
|
|
22736
22694
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
22737
22695
|
const lView = getLView();
|
|
22738
22696
|
const pipeInstance = load(lView, adjustedIndex);
|
|
22739
|
-
return
|
|
22740
|
-
pipeInstance.transform(v1, v2, v3, v4)
|
|
22697
|
+
return isPure(lView, adjustedIndex) ? pureFunction4Internal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, v1, v2, v3, v4, pipeInstance) :
|
|
22698
|
+
pipeInstance.transform(v1, v2, v3, v4);
|
|
22741
22699
|
}
|
|
22742
22700
|
/**
|
|
22743
22701
|
* Invokes a pipe with variable number of arguments.
|
|
@@ -22755,30 +22713,13 @@ function ɵɵpipeBindV(index, slotOffset, values) {
|
|
|
22755
22713
|
const adjustedIndex = index + HEADER_OFFSET;
|
|
22756
22714
|
const lView = getLView();
|
|
22757
22715
|
const pipeInstance = load(lView, adjustedIndex);
|
|
22758
|
-
return
|
|
22716
|
+
return isPure(lView, adjustedIndex) ?
|
|
22759
22717
|
pureFunctionVInternal(lView, getBindingRoot(), slotOffset, pipeInstance.transform, values, pipeInstance) :
|
|
22760
|
-
pipeInstance.transform.apply(pipeInstance, values)
|
|
22718
|
+
pipeInstance.transform.apply(pipeInstance, values);
|
|
22761
22719
|
}
|
|
22762
22720
|
function isPure(lView, index) {
|
|
22763
22721
|
return lView[TVIEW].data[index].pure;
|
|
22764
22722
|
}
|
|
22765
|
-
/**
|
|
22766
|
-
* Unwrap the output of a pipe transformation.
|
|
22767
|
-
* In order to trick change detection into considering that the new value is always different from
|
|
22768
|
-
* the old one, the old value is overwritten by NO_CHANGE.
|
|
22769
|
-
*
|
|
22770
|
-
* @param newValue the pipe transformation output.
|
|
22771
|
-
*/
|
|
22772
|
-
function unwrapValue(lView, newValue) {
|
|
22773
|
-
if (WrappedValue.isWrapped(newValue)) {
|
|
22774
|
-
newValue = WrappedValue.unwrap(newValue);
|
|
22775
|
-
// The NO_CHANGE value needs to be written at the index where the impacted binding value is
|
|
22776
|
-
// stored
|
|
22777
|
-
const bindingToInvalidateIdx = getBindingIndex();
|
|
22778
|
-
lView[bindingToInvalidateIdx] = NO_CHANGE;
|
|
22779
|
-
}
|
|
22780
|
-
return newValue;
|
|
22781
|
-
}
|
|
22782
22723
|
|
|
22783
22724
|
/**
|
|
22784
22725
|
* @license
|
|
@@ -23008,7 +22949,7 @@ Symbol.iterator;
|
|
|
23008
22949
|
*/
|
|
23009
22950
|
const SWITCH_TEMPLATE_REF_FACTORY__POST_R3__ = injectTemplateRef;
|
|
23010
22951
|
const SWITCH_TEMPLATE_REF_FACTORY__PRE_R3__ = noop;
|
|
23011
|
-
const SWITCH_TEMPLATE_REF_FACTORY =
|
|
22952
|
+
const SWITCH_TEMPLATE_REF_FACTORY = SWITCH_TEMPLATE_REF_FACTORY__POST_R3__;
|
|
23012
22953
|
/**
|
|
23013
22954
|
* Represents an embedded template that can be used to instantiate embedded views.
|
|
23014
22955
|
* To instantiate embedded views based on a template, use the `ViewContainerRef`
|
|
@@ -23053,7 +22994,7 @@ const R3TemplateRef = class TemplateRef extends ViewEngineTemplateRef {
|
|
|
23053
22994
|
embeddedLView[QUERIES] = declarationViewLQueries.createEmbeddedView(embeddedTView);
|
|
23054
22995
|
}
|
|
23055
22996
|
renderView(embeddedTView, embeddedLView, context);
|
|
23056
|
-
return new ViewRef(embeddedLView);
|
|
22997
|
+
return new ViewRef$1(embeddedLView);
|
|
23057
22998
|
}
|
|
23058
22999
|
};
|
|
23059
23000
|
/**
|
|
@@ -23079,16 +23020,9 @@ function createTemplateRef(hostTNode, hostLView) {
|
|
|
23079
23020
|
return null;
|
|
23080
23021
|
}
|
|
23081
23022
|
|
|
23082
|
-
/**
|
|
23083
|
-
* @license
|
|
23084
|
-
* Copyright Google LLC All Rights Reserved.
|
|
23085
|
-
*
|
|
23086
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
23087
|
-
* found in the LICENSE file at https://angular.io/license
|
|
23088
|
-
*/
|
|
23089
23023
|
const SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__ = injectViewContainerRef;
|
|
23090
23024
|
const SWITCH_VIEW_CONTAINER_REF_FACTORY__PRE_R3__ = noop;
|
|
23091
|
-
const SWITCH_VIEW_CONTAINER_REF_FACTORY =
|
|
23025
|
+
const SWITCH_VIEW_CONTAINER_REF_FACTORY = SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__;
|
|
23092
23026
|
/**
|
|
23093
23027
|
* Represents a container where one or more views can be attached to a component.
|
|
23094
23028
|
*
|
|
@@ -23201,13 +23135,13 @@ const R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {
|
|
|
23201
23135
|
}
|
|
23202
23136
|
const componentFactory = isComponentFactory ?
|
|
23203
23137
|
componentFactoryOrType :
|
|
23204
|
-
new ComponentFactory
|
|
23138
|
+
new ComponentFactory(getComponentDef(componentFactoryOrType));
|
|
23205
23139
|
const contextInjector = injector || this.parentInjector;
|
|
23206
23140
|
if (!ngModuleRef && componentFactory.ngModule == null && contextInjector) {
|
|
23207
23141
|
// DO NOT REFACTOR. The code here used to have a `value || undefined` expression
|
|
23208
23142
|
// which seems to cause internal google apps to fail. This is documented in the
|
|
23209
23143
|
// following internal bug issue: go/b/142967802
|
|
23210
|
-
const result = contextInjector.get(NgModuleRef, null);
|
|
23144
|
+
const result = contextInjector.get(NgModuleRef$1, null);
|
|
23211
23145
|
if (result) {
|
|
23212
23146
|
ngModuleRef = result;
|
|
23213
23147
|
}
|
|
@@ -23285,7 +23219,7 @@ const R3ViewContainerRef = class ViewContainerRef extends VE_ViewContainerRef {
|
|
|
23285
23219
|
const adjustedIdx = this._adjustIndex(index, -1);
|
|
23286
23220
|
const view = detachView(this._lContainer, adjustedIdx);
|
|
23287
23221
|
const wasDetached = view && removeFromArray(getOrCreateViewRefs(this._lContainer), adjustedIdx) != null;
|
|
23288
|
-
return wasDetached ? new ViewRef(view) : null;
|
|
23222
|
+
return wasDetached ? new ViewRef$1(view) : null;
|
|
23289
23223
|
}
|
|
23290
23224
|
_adjustIndex(index, shift = 0) {
|
|
23291
23225
|
if (index == null) {
|
|
@@ -23358,7 +23292,7 @@ function createContainerRef(hostTNode, hostLView) {
|
|
|
23358
23292
|
*/
|
|
23359
23293
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
23360
23294
|
// failure based on types.
|
|
23361
|
-
const unusedValueExportToPlacateAjd$
|
|
23295
|
+
const unusedValueExportToPlacateAjd$1 = 1;
|
|
23362
23296
|
|
|
23363
23297
|
/**
|
|
23364
23298
|
* @license
|
|
@@ -23369,7 +23303,7 @@ const unusedValueExportToPlacateAjd$7 = 1;
|
|
|
23369
23303
|
*/
|
|
23370
23304
|
// Note: This hack is necessary so we don't erroneously get a circular dependency
|
|
23371
23305
|
// failure based on types.
|
|
23372
|
-
const unusedValueExportToPlacateAjd
|
|
23306
|
+
const unusedValueExportToPlacateAjd = 1;
|
|
23373
23307
|
|
|
23374
23308
|
/**
|
|
23375
23309
|
* @license
|
|
@@ -23378,7 +23312,7 @@ const unusedValueExportToPlacateAjd$8 = 1;
|
|
|
23378
23312
|
* Use of this source code is governed by an MIT-style license that can be
|
|
23379
23313
|
* found in the LICENSE file at https://angular.io/license
|
|
23380
23314
|
*/
|
|
23381
|
-
const unusedValueToPlacateAjd
|
|
23315
|
+
const unusedValueToPlacateAjd = unusedValueExportToPlacateAjd$1 + unusedValueExportToPlacateAjd$5 + unusedValueExportToPlacateAjd$4 + unusedValueExportToPlacateAjd;
|
|
23382
23316
|
class LQuery_ {
|
|
23383
23317
|
constructor(queryList) {
|
|
23384
23318
|
this.queryList = queryList;
|
|
@@ -23868,7 +23802,12 @@ function ɵɵtemplateRefExtractor(tNode, lView) {
|
|
|
23868
23802
|
* Use of this source code is governed by an MIT-style license that can be
|
|
23869
23803
|
* found in the LICENSE file at https://angular.io/license
|
|
23870
23804
|
*/
|
|
23871
|
-
|
|
23805
|
+
/**
|
|
23806
|
+
* A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
|
|
23807
|
+
*
|
|
23808
|
+
* This should be kept up to date with the public exports of @angular/core.
|
|
23809
|
+
*/
|
|
23810
|
+
const angularCoreEnv = (() => ({
|
|
23872
23811
|
'ɵɵattribute': ɵɵattribute,
|
|
23873
23812
|
'ɵɵattributeInterpolate1': ɵɵattributeInterpolate1,
|
|
23874
23813
|
'ɵɵattributeInterpolate2': ɵɵattributeInterpolate2,
|
|
@@ -24014,13 +23953,7 @@ const ɵ0$b = () => ({
|
|
|
24014
23953
|
'ɵɵtrustConstantResourceUrl': ɵɵtrustConstantResourceUrl,
|
|
24015
23954
|
'forwardRef': forwardRef,
|
|
24016
23955
|
'resolveForwardRef': resolveForwardRef,
|
|
24017
|
-
});
|
|
24018
|
-
/**
|
|
24019
|
-
* A mapping of the @angular/core API surface used in generated expressions to the actual symbols.
|
|
24020
|
-
*
|
|
24021
|
-
* This should be kept up to date with the public exports of @angular/core.
|
|
24022
|
-
*/
|
|
24023
|
-
const angularCoreEnv = (ɵ0$b)();
|
|
23956
|
+
}))();
|
|
24024
23957
|
|
|
24025
23958
|
let jitOptions = null;
|
|
24026
23959
|
function setJitOptions(options) {
|
|
@@ -24247,7 +24180,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
|
|
|
24247
24180
|
////////////////////////////////////////////////////////////////////////////////////////////////
|
|
24248
24181
|
function verifyDeclarationsHaveDefinitions(type) {
|
|
24249
24182
|
type = resolveForwardRef(type);
|
|
24250
|
-
const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef(type);
|
|
24183
|
+
const def = getComponentDef(type) || getDirectiveDef(type) || getPipeDef$1(type);
|
|
24251
24184
|
if (!def) {
|
|
24252
24185
|
errors.push(`Unexpected value '${stringifyForError(type)}' declared by the module '${stringifyForError(moduleType)}'. Please add a @Pipe/@Directive/@Component annotation.`);
|
|
24253
24186
|
}
|
|
@@ -24262,7 +24195,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
|
|
|
24262
24195
|
function verifyExportsAreDeclaredOrReExported(type) {
|
|
24263
24196
|
type = resolveForwardRef(type);
|
|
24264
24197
|
const kind = getComponentDef(type) && 'component' || getDirectiveDef(type) && 'directive' ||
|
|
24265
|
-
getPipeDef(type) && 'pipe';
|
|
24198
|
+
getPipeDef$1(type) && 'pipe';
|
|
24266
24199
|
if (kind) {
|
|
24267
24200
|
// only checked if we are declared as Component, Directive, or Pipe
|
|
24268
24201
|
// Modules don't need to be declared or imported.
|
|
@@ -24316,7 +24249,7 @@ function verifySemanticsOfNgModuleDef(moduleType, allowDuplicateDeclarationsInRo
|
|
|
24316
24249
|
if (getComponentDef(type) || getDirectiveDef(type)) {
|
|
24317
24250
|
throw new Error(`Unexpected directive '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
|
|
24318
24251
|
}
|
|
24319
|
-
if (getPipeDef(type)) {
|
|
24252
|
+
if (getPipeDef$1(type)) {
|
|
24320
24253
|
throw new Error(`Unexpected pipe '${type.name}' imported by the module '${importingModule.name}'. Please add an @NgModule annotation.`);
|
|
24321
24254
|
}
|
|
24322
24255
|
}
|
|
@@ -24411,7 +24344,7 @@ function patchComponentDefWithScope(componentDef, transitiveScopes) {
|
|
|
24411
24344
|
componentDef.directiveDefs = () => Array.from(transitiveScopes.compilation.directives)
|
|
24412
24345
|
.map(dir => dir.hasOwnProperty(NG_COMP_DEF) ? getComponentDef(dir) : getDirectiveDef(dir))
|
|
24413
24346
|
.filter(def => !!def);
|
|
24414
|
-
componentDef.pipeDefs = () => Array.from(transitiveScopes.compilation.pipes).map(pipe => getPipeDef(pipe));
|
|
24347
|
+
componentDef.pipeDefs = () => Array.from(transitiveScopes.compilation.pipes).map(pipe => getPipeDef$1(pipe));
|
|
24415
24348
|
componentDef.schemas = transitiveScopes.schemas;
|
|
24416
24349
|
// Since we avoid Components/Directives/Pipes recompiling in case there are no overrides, we
|
|
24417
24350
|
// may face a problem where previously compiled defs available to a given Component/Directive
|
|
@@ -24460,7 +24393,7 @@ function transitiveScopesFor(moduleType) {
|
|
|
24460
24393
|
});
|
|
24461
24394
|
maybeUnwrapFn(def.declarations).forEach(declared => {
|
|
24462
24395
|
const declaredWithDefs = declared;
|
|
24463
|
-
if (getPipeDef(declaredWithDefs)) {
|
|
24396
|
+
if (getPipeDef$1(declaredWithDefs)) {
|
|
24464
24397
|
scopes.compilation.pipes.add(declared);
|
|
24465
24398
|
}
|
|
24466
24399
|
else {
|
|
@@ -24487,7 +24420,7 @@ function transitiveScopesFor(moduleType) {
|
|
|
24487
24420
|
scopes.exported.pipes.add(entry);
|
|
24488
24421
|
});
|
|
24489
24422
|
}
|
|
24490
|
-
else if (getPipeDef(exportedType)) {
|
|
24423
|
+
else if (getPipeDef$1(exportedType)) {
|
|
24491
24424
|
scopes.exported.pipes.add(exportedType);
|
|
24492
24425
|
}
|
|
24493
24426
|
else {
|
|
@@ -24586,7 +24519,7 @@ function compileComponent(type, metadata) {
|
|
|
24586
24519
|
encapsulation = options.defaultEncapsulation;
|
|
24587
24520
|
}
|
|
24588
24521
|
else {
|
|
24589
|
-
encapsulation = ViewEncapsulation.Emulated;
|
|
24522
|
+
encapsulation = ViewEncapsulation$1.Emulated;
|
|
24590
24523
|
}
|
|
24591
24524
|
}
|
|
24592
24525
|
const templateUrl = metadata.templateUrl || `ng:///${type.name}/template.html`;
|
|
@@ -24644,7 +24577,7 @@ function compileDirective(type, directive) {
|
|
|
24644
24577
|
// `directive` can be null in the case of abstract directives as a base class
|
|
24645
24578
|
// that use `@Directive()` with no selector. In that case, pass empty object to the
|
|
24646
24579
|
// `directiveMetadata` function instead of null.
|
|
24647
|
-
const meta = getDirectiveMetadata
|
|
24580
|
+
const meta = getDirectiveMetadata(type, directive || {});
|
|
24648
24581
|
const compiler = getCompilerFacade({ usage: 0 /* Decorator */, kind: 'directive', type });
|
|
24649
24582
|
ngDirectiveDef =
|
|
24650
24583
|
compiler.compileDirective(angularCoreEnv, meta.sourceMapUrl, meta.metadata);
|
|
@@ -24655,7 +24588,7 @@ function compileDirective(type, directive) {
|
|
|
24655
24588
|
configurable: !!ngDevMode,
|
|
24656
24589
|
});
|
|
24657
24590
|
}
|
|
24658
|
-
function getDirectiveMetadata
|
|
24591
|
+
function getDirectiveMetadata(type, metadata) {
|
|
24659
24592
|
const name = type && type.name;
|
|
24660
24593
|
const sourceMapUrl = `ng:///${name}/ɵdir.js`;
|
|
24661
24594
|
const compiler = getCompilerFacade({ usage: 0 /* Decorator */, kind: 'directive', type });
|
|
@@ -24671,7 +24604,7 @@ function addDirectiveFactoryDef(type, metadata) {
|
|
|
24671
24604
|
Object.defineProperty(type, NG_FACTORY_DEF, {
|
|
24672
24605
|
get: () => {
|
|
24673
24606
|
if (ngFactoryDef === null) {
|
|
24674
|
-
const meta = getDirectiveMetadata
|
|
24607
|
+
const meta = getDirectiveMetadata(type, metadata);
|
|
24675
24608
|
const compiler = getCompilerFacade({ usage: 0 /* Decorator */, kind: 'directive', type });
|
|
24676
24609
|
ngFactoryDef = compiler.compileFactory(angularCoreEnv, `ng:///${type.name}/ɵfac.js`, {
|
|
24677
24610
|
name: meta.metadata.name,
|
|
@@ -24867,46 +24800,39 @@ function getPipeMetadata(type, meta) {
|
|
|
24867
24800
|
* Use of this source code is governed by an MIT-style license that can be
|
|
24868
24801
|
* found in the LICENSE file at https://angular.io/license
|
|
24869
24802
|
*/
|
|
24870
|
-
const ɵ0$c = (dir = {}) => dir, ɵ1$2 = (type, meta) => SWITCH_COMPILE_DIRECTIVE(type, meta);
|
|
24871
24803
|
/**
|
|
24872
24804
|
* Type of the Directive metadata.
|
|
24873
24805
|
*
|
|
24874
24806
|
* @publicApi
|
|
24875
24807
|
*/
|
|
24876
|
-
const Directive = makeDecorator('Directive',
|
|
24877
|
-
const ɵ2$1 = (c = {}) => (Object.assign({ changeDetection: ChangeDetectionStrategy.Default }, c)), ɵ3$1 = (type, meta) => SWITCH_COMPILE_COMPONENT(type, meta);
|
|
24808
|
+
const Directive = makeDecorator('Directive', (dir = {}) => dir, undefined, undefined, (type, meta) => SWITCH_COMPILE_DIRECTIVE(type, meta));
|
|
24878
24809
|
/**
|
|
24879
24810
|
* Component decorator and metadata.
|
|
24880
24811
|
*
|
|
24881
24812
|
* @Annotation
|
|
24882
24813
|
* @publicApi
|
|
24883
24814
|
*/
|
|
24884
|
-
const Component = makeDecorator('Component',
|
|
24885
|
-
const ɵ4 = (p) => (Object.assign({ pure: true }, p)), ɵ5 = (type, meta) => SWITCH_COMPILE_PIPE(type, meta);
|
|
24815
|
+
const Component = makeDecorator('Component', (c = {}) => (Object.assign({ changeDetection: ChangeDetectionStrategy.Default }, c)), Directive, undefined, (type, meta) => SWITCH_COMPILE_COMPONENT(type, meta));
|
|
24886
24816
|
/**
|
|
24887
24817
|
* @Annotation
|
|
24888
24818
|
* @publicApi
|
|
24889
24819
|
*/
|
|
24890
|
-
const Pipe = makeDecorator('Pipe',
|
|
24891
|
-
const ɵ6 = (bindingPropertyName) => ({ bindingPropertyName });
|
|
24820
|
+
const Pipe = makeDecorator('Pipe', (p) => (Object.assign({ pure: true }, p)), undefined, undefined, (type, meta) => SWITCH_COMPILE_PIPE(type, meta));
|
|
24892
24821
|
/**
|
|
24893
24822
|
* @Annotation
|
|
24894
24823
|
* @publicApi
|
|
24895
24824
|
*/
|
|
24896
|
-
const Input = makePropDecorator('Input',
|
|
24897
|
-
const ɵ7 = (bindingPropertyName) => ({ bindingPropertyName });
|
|
24825
|
+
const Input = makePropDecorator('Input', (bindingPropertyName) => ({ bindingPropertyName }));
|
|
24898
24826
|
/**
|
|
24899
24827
|
* @Annotation
|
|
24900
24828
|
* @publicApi
|
|
24901
24829
|
*/
|
|
24902
|
-
const Output = makePropDecorator('Output',
|
|
24903
|
-
const ɵ8 = (hostPropertyName) => ({ hostPropertyName });
|
|
24830
|
+
const Output = makePropDecorator('Output', (bindingPropertyName) => ({ bindingPropertyName }));
|
|
24904
24831
|
/**
|
|
24905
24832
|
* @Annotation
|
|
24906
24833
|
* @publicApi
|
|
24907
24834
|
*/
|
|
24908
|
-
const HostBinding = makePropDecorator('HostBinding',
|
|
24909
|
-
const ɵ9 = (eventName, args) => ({ eventName, args });
|
|
24835
|
+
const HostBinding = makePropDecorator('HostBinding', (hostPropertyName) => ({ hostPropertyName }));
|
|
24910
24836
|
/**
|
|
24911
24837
|
* Decorator that binds a DOM event to a host listener and supplies configuration metadata.
|
|
24912
24838
|
* Angular invokes the supplied handler method when the host element emits the specified event,
|
|
@@ -24963,16 +24889,16 @@ const ɵ9 = (eventName, args) => ({ eventName, args });
|
|
|
24963
24889
|
* @Annotation
|
|
24964
24890
|
* @publicApi
|
|
24965
24891
|
*/
|
|
24966
|
-
const HostListener = makePropDecorator('HostListener',
|
|
24892
|
+
const HostListener = makePropDecorator('HostListener', (eventName, args) => ({ eventName, args }));
|
|
24967
24893
|
const SWITCH_COMPILE_COMPONENT__POST_R3__ = compileComponent;
|
|
24968
24894
|
const SWITCH_COMPILE_DIRECTIVE__POST_R3__ = compileDirective;
|
|
24969
24895
|
const SWITCH_COMPILE_PIPE__POST_R3__ = compilePipe;
|
|
24970
24896
|
const SWITCH_COMPILE_COMPONENT__PRE_R3__ = noop;
|
|
24971
24897
|
const SWITCH_COMPILE_DIRECTIVE__PRE_R3__ = noop;
|
|
24972
24898
|
const SWITCH_COMPILE_PIPE__PRE_R3__ = noop;
|
|
24973
|
-
const SWITCH_COMPILE_COMPONENT =
|
|
24974
|
-
const SWITCH_COMPILE_DIRECTIVE =
|
|
24975
|
-
const SWITCH_COMPILE_PIPE =
|
|
24899
|
+
const SWITCH_COMPILE_COMPONENT = SWITCH_COMPILE_COMPONENT__POST_R3__;
|
|
24900
|
+
const SWITCH_COMPILE_DIRECTIVE = SWITCH_COMPILE_DIRECTIVE__POST_R3__;
|
|
24901
|
+
const SWITCH_COMPILE_PIPE = SWITCH_COMPILE_PIPE__POST_R3__;
|
|
24976
24902
|
|
|
24977
24903
|
/**
|
|
24978
24904
|
* @license
|
|
@@ -24981,7 +24907,11 @@ const SWITCH_COMPILE_PIPE = SWITCH_COMPILE_PIPE__PRE_R3__;
|
|
|
24981
24907
|
* Use of this source code is governed by an MIT-style license that can be
|
|
24982
24908
|
* found in the LICENSE file at https://angular.io/license
|
|
24983
24909
|
*/
|
|
24984
|
-
|
|
24910
|
+
/**
|
|
24911
|
+
* @Annotation
|
|
24912
|
+
* @publicApi
|
|
24913
|
+
*/
|
|
24914
|
+
const NgModule = makeDecorator('NgModule', (ngModule) => ngModule, undefined, undefined,
|
|
24985
24915
|
/**
|
|
24986
24916
|
* Decorator that marks the following class as an NgModule, and supplies
|
|
24987
24917
|
* configuration metadata for it.
|
|
@@ -24993,12 +24923,7 @@ const ɵ0$d = (ngModule) => ngModule, ɵ1$3 =
|
|
|
24993
24923
|
* * The `imports` and `exports` options bring in members from other modules, and make
|
|
24994
24924
|
* this module's members available to others.
|
|
24995
24925
|
*/
|
|
24996
|
-
(type, meta) => SWITCH_COMPILE_NGMODULE(type, meta);
|
|
24997
|
-
/**
|
|
24998
|
-
* @Annotation
|
|
24999
|
-
* @publicApi
|
|
25000
|
-
*/
|
|
25001
|
-
const NgModule = makeDecorator('NgModule', ɵ0$d, undefined, undefined, ɵ1$3);
|
|
24926
|
+
(type, meta) => SWITCH_COMPILE_NGMODULE(type, meta));
|
|
25002
24927
|
function preR3NgModuleCompile(moduleType, metadata) {
|
|
25003
24928
|
let imports = (metadata && metadata.imports) || [];
|
|
25004
24929
|
if (metadata && metadata.exports) {
|
|
@@ -25011,7 +24936,7 @@ function preR3NgModuleCompile(moduleType, metadata) {
|
|
|
25011
24936
|
}
|
|
25012
24937
|
const SWITCH_COMPILE_NGMODULE__POST_R3__ = compileNgModule;
|
|
25013
24938
|
const SWITCH_COMPILE_NGMODULE__PRE_R3__ = preR3NgModuleCompile;
|
|
25014
|
-
const SWITCH_COMPILE_NGMODULE =
|
|
24939
|
+
const SWITCH_COMPILE_NGMODULE = SWITCH_COMPILE_NGMODULE__POST_R3__;
|
|
25015
24940
|
|
|
25016
24941
|
/**
|
|
25017
24942
|
* @license
|
|
@@ -25028,14 +24953,12 @@ const SWITCH_COMPILE_NGMODULE = SWITCH_COMPILE_NGMODULE__PRE_R3__;
|
|
|
25028
24953
|
* Use of this source code is governed by an MIT-style license that can be
|
|
25029
24954
|
* found in the LICENSE file at https://angular.io/license
|
|
25030
24955
|
*/
|
|
25031
|
-
|
|
25032
24956
|
/**
|
|
25033
|
-
*
|
|
25034
|
-
*
|
|
25035
|
-
*
|
|
25036
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
25037
|
-
* found in the LICENSE file at https://angular.io/license
|
|
24957
|
+
* The existence of this constant (in this particular file) informs the Angular compiler that the
|
|
24958
|
+
* current program is actually @angular/core, which needs to be compiled specially.
|
|
25038
24959
|
*/
|
|
24960
|
+
const ITS_JUST_ANGULAR = true;
|
|
24961
|
+
|
|
25039
24962
|
/**
|
|
25040
24963
|
* A [DI token](guide/glossary#di-token "DI token definition") that you can use to provide
|
|
25041
24964
|
* one or more initialization functions.
|
|
@@ -25161,12 +25084,20 @@ class ApplicationInitStatus {
|
|
|
25161
25084
|
this.initialized = true;
|
|
25162
25085
|
}
|
|
25163
25086
|
}
|
|
25164
|
-
ApplicationInitStatus
|
|
25165
|
-
|
|
25166
|
-
|
|
25167
|
-
|
|
25168
|
-
|
|
25169
|
-
]
|
|
25087
|
+
ApplicationInitStatus.ɵfac = function ApplicationInitStatus_Factory(t) { return new (t || ApplicationInitStatus)(ɵɵinject(APP_INITIALIZER, 8)); };
|
|
25088
|
+
ApplicationInitStatus.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ApplicationInitStatus, factory: ApplicationInitStatus.ɵfac });
|
|
25089
|
+
(function () {
|
|
25090
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationInitStatus, [{
|
|
25091
|
+
type: Injectable
|
|
25092
|
+
}], function () {
|
|
25093
|
+
return [{ type: undefined, decorators: [{
|
|
25094
|
+
type: Inject,
|
|
25095
|
+
args: [APP_INITIALIZER]
|
|
25096
|
+
}, {
|
|
25097
|
+
type: Optional
|
|
25098
|
+
}] }];
|
|
25099
|
+
}, null);
|
|
25100
|
+
})();
|
|
25170
25101
|
|
|
25171
25102
|
/**
|
|
25172
25103
|
* @license
|
|
@@ -25248,9 +25179,13 @@ class Console {
|
|
|
25248
25179
|
console.warn(message);
|
|
25249
25180
|
}
|
|
25250
25181
|
}
|
|
25251
|
-
Console
|
|
25252
|
-
|
|
25253
|
-
|
|
25182
|
+
Console.ɵfac = function Console_Factory(t) { return new (t || Console)(); };
|
|
25183
|
+
Console.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Console, factory: Console.ɵfac });
|
|
25184
|
+
(function () {
|
|
25185
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Console, [{
|
|
25186
|
+
type: Injectable
|
|
25187
|
+
}], null, null);
|
|
25188
|
+
})();
|
|
25254
25189
|
|
|
25255
25190
|
/**
|
|
25256
25191
|
* @license
|
|
@@ -25281,7 +25216,7 @@ Console.decorators = [
|
|
|
25281
25216
|
*
|
|
25282
25217
|
* @publicApi
|
|
25283
25218
|
*/
|
|
25284
|
-
const LOCALE_ID
|
|
25219
|
+
const LOCALE_ID = new InjectionToken('LocaleId');
|
|
25285
25220
|
/**
|
|
25286
25221
|
* Provide this token to set the default currency code your application uses for
|
|
25287
25222
|
* CurrencyPipe when there is no currency code passed into it. This is only used by
|
|
@@ -25407,7 +25342,7 @@ var MissingTranslationStrategy;
|
|
|
25407
25342
|
*/
|
|
25408
25343
|
const SWITCH_IVY_ENABLED__POST_R3__ = true;
|
|
25409
25344
|
const SWITCH_IVY_ENABLED__PRE_R3__ = false;
|
|
25410
|
-
const ivyEnabled =
|
|
25345
|
+
const ivyEnabled = SWITCH_IVY_ENABLED__POST_R3__;
|
|
25411
25346
|
|
|
25412
25347
|
/**
|
|
25413
25348
|
* @license
|
|
@@ -25420,6 +25355,11 @@ const ivyEnabled = SWITCH_IVY_ENABLED__PRE_R3__;
|
|
|
25420
25355
|
* Combination of NgModuleFactory and ComponentFactories.
|
|
25421
25356
|
*
|
|
25422
25357
|
* @publicApi
|
|
25358
|
+
*
|
|
25359
|
+
* @deprecated
|
|
25360
|
+
* Ivy JIT mode doesn't require accessing this symbol.
|
|
25361
|
+
* See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
|
|
25362
|
+
* additional context.
|
|
25423
25363
|
*/
|
|
25424
25364
|
class ModuleWithComponentFactories {
|
|
25425
25365
|
constructor(ngModuleFactory, componentFactories) {
|
|
@@ -25432,14 +25372,14 @@ function _throwError() {
|
|
|
25432
25372
|
}
|
|
25433
25373
|
const Compiler_compileModuleSync__PRE_R3__ = _throwError;
|
|
25434
25374
|
const Compiler_compileModuleSync__POST_R3__ = function (moduleType) {
|
|
25435
|
-
return new NgModuleFactory
|
|
25375
|
+
return new NgModuleFactory(moduleType);
|
|
25436
25376
|
};
|
|
25437
|
-
const Compiler_compileModuleSync =
|
|
25377
|
+
const Compiler_compileModuleSync = Compiler_compileModuleSync__POST_R3__;
|
|
25438
25378
|
const Compiler_compileModuleAsync__PRE_R3__ = _throwError;
|
|
25439
25379
|
const Compiler_compileModuleAsync__POST_R3__ = function (moduleType) {
|
|
25440
25380
|
return Promise.resolve(Compiler_compileModuleSync__POST_R3__(moduleType));
|
|
25441
25381
|
};
|
|
25442
|
-
const Compiler_compileModuleAsync =
|
|
25382
|
+
const Compiler_compileModuleAsync = Compiler_compileModuleAsync__POST_R3__;
|
|
25443
25383
|
const Compiler_compileModuleAndAllComponentsSync__PRE_R3__ = _throwError;
|
|
25444
25384
|
const Compiler_compileModuleAndAllComponentsSync__POST_R3__ = function (moduleType) {
|
|
25445
25385
|
const ngModuleFactory = Compiler_compileModuleSync__POST_R3__(moduleType);
|
|
@@ -25447,17 +25387,17 @@ const Compiler_compileModuleAndAllComponentsSync__POST_R3__ = function (moduleTy
|
|
|
25447
25387
|
const componentFactories = maybeUnwrapFn(moduleDef.declarations)
|
|
25448
25388
|
.reduce((factories, declaration) => {
|
|
25449
25389
|
const componentDef = getComponentDef(declaration);
|
|
25450
|
-
componentDef && factories.push(new ComponentFactory
|
|
25390
|
+
componentDef && factories.push(new ComponentFactory(componentDef));
|
|
25451
25391
|
return factories;
|
|
25452
25392
|
}, []);
|
|
25453
25393
|
return new ModuleWithComponentFactories(ngModuleFactory, componentFactories);
|
|
25454
25394
|
};
|
|
25455
|
-
const Compiler_compileModuleAndAllComponentsSync =
|
|
25395
|
+
const Compiler_compileModuleAndAllComponentsSync = Compiler_compileModuleAndAllComponentsSync__POST_R3__;
|
|
25456
25396
|
const Compiler_compileModuleAndAllComponentsAsync__PRE_R3__ = _throwError;
|
|
25457
25397
|
const Compiler_compileModuleAndAllComponentsAsync__POST_R3__ = function (moduleType) {
|
|
25458
25398
|
return Promise.resolve(Compiler_compileModuleAndAllComponentsSync__POST_R3__(moduleType));
|
|
25459
25399
|
};
|
|
25460
|
-
const Compiler_compileModuleAndAllComponentsAsync =
|
|
25400
|
+
const Compiler_compileModuleAndAllComponentsAsync = Compiler_compileModuleAndAllComponentsAsync__POST_R3__;
|
|
25461
25401
|
/**
|
|
25462
25402
|
* Low-level service for running the angular compiler during runtime
|
|
25463
25403
|
* to create {@link ComponentFactory}s, which
|
|
@@ -25468,6 +25408,11 @@ const Compiler_compileModuleAndAllComponentsAsync = Compiler_compileModuleAndAll
|
|
|
25468
25408
|
* of components.
|
|
25469
25409
|
*
|
|
25470
25410
|
* @publicApi
|
|
25411
|
+
*
|
|
25412
|
+
* @deprecated
|
|
25413
|
+
* Ivy JIT mode doesn't require accessing this symbol.
|
|
25414
|
+
* See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
|
|
25415
|
+
* additional context.
|
|
25471
25416
|
*/
|
|
25472
25417
|
class Compiler {
|
|
25473
25418
|
constructor() {
|
|
@@ -25504,9 +25449,13 @@ class Compiler {
|
|
|
25504
25449
|
return undefined;
|
|
25505
25450
|
}
|
|
25506
25451
|
}
|
|
25507
|
-
Compiler
|
|
25508
|
-
|
|
25509
|
-
|
|
25452
|
+
Compiler.ɵfac = function Compiler_Factory(t) { return new (t || Compiler)(); };
|
|
25453
|
+
Compiler.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Compiler, factory: Compiler.ɵfac });
|
|
25454
|
+
(function () {
|
|
25455
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Compiler, [{
|
|
25456
|
+
type: Injectable
|
|
25457
|
+
}], null, null);
|
|
25458
|
+
})();
|
|
25510
25459
|
/**
|
|
25511
25460
|
* Token to provide CompilerOptions in the platform injector.
|
|
25512
25461
|
*
|
|
@@ -25517,6 +25466,11 @@ const COMPILER_OPTIONS = new InjectionToken('compilerOptions');
|
|
|
25517
25466
|
* A factory for creating a Compiler
|
|
25518
25467
|
*
|
|
25519
25468
|
* @publicApi
|
|
25469
|
+
*
|
|
25470
|
+
* @deprecated
|
|
25471
|
+
* Ivy JIT mode doesn't require accessing this symbol.
|
|
25472
|
+
* See [JIT API changes due to ViewEngine deprecation](guide/deprecations#jit-api-changes) for
|
|
25473
|
+
* additional context.
|
|
25520
25474
|
*/
|
|
25521
25475
|
class CompilerFactory {
|
|
25522
25476
|
}
|
|
@@ -26117,12 +26071,13 @@ class Testability {
|
|
|
26117
26071
|
return [];
|
|
26118
26072
|
}
|
|
26119
26073
|
}
|
|
26120
|
-
Testability
|
|
26121
|
-
|
|
26122
|
-
|
|
26123
|
-
|
|
26124
|
-
|
|
26125
|
-
];
|
|
26074
|
+
Testability.ɵfac = function Testability_Factory(t) { return new (t || Testability)(ɵɵinject(NgZone)); };
|
|
26075
|
+
Testability.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: Testability, factory: Testability.ɵfac });
|
|
26076
|
+
(function () {
|
|
26077
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(Testability, [{
|
|
26078
|
+
type: Injectable
|
|
26079
|
+
}], function () { return [{ type: NgZone }]; }, null);
|
|
26080
|
+
})();
|
|
26126
26081
|
/**
|
|
26127
26082
|
* A global registry of {@link Testability} instances for specific elements.
|
|
26128
26083
|
* @publicApi
|
|
@@ -26183,10 +26138,13 @@ class TestabilityRegistry {
|
|
|
26183
26138
|
return _testabilityGetter.findTestabilityInTree(this, elem, findInAncestors);
|
|
26184
26139
|
}
|
|
26185
26140
|
}
|
|
26186
|
-
TestabilityRegistry
|
|
26187
|
-
|
|
26188
|
-
|
|
26189
|
-
|
|
26141
|
+
TestabilityRegistry.ɵfac = function TestabilityRegistry_Factory(t) { return new (t || TestabilityRegistry)(); };
|
|
26142
|
+
TestabilityRegistry.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: TestabilityRegistry, factory: TestabilityRegistry.ɵfac });
|
|
26143
|
+
(function () {
|
|
26144
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(TestabilityRegistry, [{
|
|
26145
|
+
type: Injectable
|
|
26146
|
+
}], function () { return []; }, null);
|
|
26147
|
+
})();
|
|
26190
26148
|
class _NoopGetTestability {
|
|
26191
26149
|
addToWindow(registry) { }
|
|
26192
26150
|
findTestabilityInTree(registry, elem, findInAncestors) {
|
|
@@ -26259,7 +26217,7 @@ function enableProdMode() {
|
|
|
26259
26217
|
* found in the LICENSE file at https://angular.io/license
|
|
26260
26218
|
*/
|
|
26261
26219
|
let _platform;
|
|
26262
|
-
let compileNgModuleFactory =
|
|
26220
|
+
let compileNgModuleFactory = compileNgModuleFactory__POST_R3__;
|
|
26263
26221
|
function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {
|
|
26264
26222
|
const compilerFactory = injector.get(CompilerFactory);
|
|
26265
26223
|
const compiler = compilerFactory.createCompiler([options]);
|
|
@@ -26267,7 +26225,7 @@ function compileNgModuleFactory__PRE_R3__(injector, options, moduleType) {
|
|
|
26267
26225
|
}
|
|
26268
26226
|
function compileNgModuleFactory__POST_R3__(injector, options, moduleType) {
|
|
26269
26227
|
ngDevMode && assertNgModuleType(moduleType);
|
|
26270
|
-
const moduleFactory = new NgModuleFactory
|
|
26228
|
+
const moduleFactory = new NgModuleFactory(moduleType);
|
|
26271
26229
|
// All of the logic below is irrelevant for AOT-compiled code.
|
|
26272
26230
|
if (typeof ngJitMode !== 'undefined' && !ngJitMode) {
|
|
26273
26231
|
return Promise.resolve(moduleFactory);
|
|
@@ -26308,10 +26266,10 @@ function compileNgModuleFactory__POST_R3__(injector, options, moduleType) {
|
|
|
26308
26266
|
// included into Angular when PRE mode is active.
|
|
26309
26267
|
function publishDefaultGlobalUtils__PRE_R3__() { }
|
|
26310
26268
|
function publishDefaultGlobalUtils__POST_R3__() {
|
|
26311
|
-
ngDevMode && publishDefaultGlobalUtils();
|
|
26269
|
+
ngDevMode && publishDefaultGlobalUtils$1();
|
|
26312
26270
|
}
|
|
26313
|
-
let publishDefaultGlobalUtils
|
|
26314
|
-
let isBoundToModule =
|
|
26271
|
+
let publishDefaultGlobalUtils = publishDefaultGlobalUtils__POST_R3__;
|
|
26272
|
+
let isBoundToModule = isBoundToModule__POST_R3__;
|
|
26315
26273
|
function isBoundToModule__PRE_R3__(cf) {
|
|
26316
26274
|
return cf instanceof ComponentFactoryBoundToModule;
|
|
26317
26275
|
}
|
|
@@ -26341,7 +26299,7 @@ function createPlatform(injector) {
|
|
|
26341
26299
|
!_platform.injector.get(ALLOW_MULTIPLE_PLATFORMS, false)) {
|
|
26342
26300
|
throw new Error('There can be only one platform. Destroy the previous one to create a new one.');
|
|
26343
26301
|
}
|
|
26344
|
-
publishDefaultGlobalUtils
|
|
26302
|
+
publishDefaultGlobalUtils();
|
|
26345
26303
|
_platform = injector.get(PlatformRef);
|
|
26346
26304
|
const inits = injector.get(PLATFORM_INITIALIZER, null);
|
|
26347
26305
|
if (inits)
|
|
@@ -26493,7 +26451,7 @@ class PlatformRef {
|
|
|
26493
26451
|
return initStatus.donePromise.then(() => {
|
|
26494
26452
|
if (ivyEnabled) {
|
|
26495
26453
|
// If the `LOCALE_ID` provider is defined at bootstrap then we set the value for ivy
|
|
26496
|
-
const localeId = moduleRef.injector.get(LOCALE_ID
|
|
26454
|
+
const localeId = moduleRef.injector.get(LOCALE_ID, DEFAULT_LOCALE_ID);
|
|
26497
26455
|
setLocaleId(localeId || DEFAULT_LOCALE_ID);
|
|
26498
26456
|
}
|
|
26499
26457
|
this._moduleDoBootstrap(moduleRef);
|
|
@@ -26567,12 +26525,13 @@ class PlatformRef {
|
|
|
26567
26525
|
return this._destroyed;
|
|
26568
26526
|
}
|
|
26569
26527
|
}
|
|
26570
|
-
PlatformRef
|
|
26571
|
-
|
|
26572
|
-
|
|
26573
|
-
|
|
26574
|
-
|
|
26575
|
-
];
|
|
26528
|
+
PlatformRef.ɵfac = function PlatformRef_Factory(t) { return new (t || PlatformRef)(ɵɵinject(Injector)); };
|
|
26529
|
+
PlatformRef.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: PlatformRef, factory: PlatformRef.ɵfac });
|
|
26530
|
+
(function () {
|
|
26531
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(PlatformRef, [{
|
|
26532
|
+
type: Injectable
|
|
26533
|
+
}], function () { return [{ type: Injector }]; }, null);
|
|
26534
|
+
})();
|
|
26576
26535
|
function getNgZone(ngZoneOption, extra) {
|
|
26577
26536
|
let ngZone;
|
|
26578
26537
|
if (ngZoneOption === 'noop') {
|
|
@@ -26821,7 +26780,7 @@ class ApplicationRef {
|
|
|
26821
26780
|
throw new Error('Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.');
|
|
26822
26781
|
}
|
|
26823
26782
|
let componentFactory;
|
|
26824
|
-
if (componentOrFactory instanceof ComponentFactory) {
|
|
26783
|
+
if (componentOrFactory instanceof ComponentFactory$1) {
|
|
26825
26784
|
componentFactory = componentOrFactory;
|
|
26826
26785
|
}
|
|
26827
26786
|
else {
|
|
@@ -26830,7 +26789,7 @@ class ApplicationRef {
|
|
|
26830
26789
|
}
|
|
26831
26790
|
this.componentTypes.push(componentFactory.componentType);
|
|
26832
26791
|
// Create a factory associated with the current module if it's not bound to some other
|
|
26833
|
-
const ngModule = isBoundToModule(componentFactory) ? undefined : this._injector.get(NgModuleRef);
|
|
26792
|
+
const ngModule = isBoundToModule(componentFactory) ? undefined : this._injector.get(NgModuleRef$1);
|
|
26834
26793
|
const selectorOrNode = rootSelectorOrNode || componentFactory.selector;
|
|
26835
26794
|
const compRef = componentFactory.create(Injector.NULL, [], selectorOrNode, ngModule);
|
|
26836
26795
|
const nativeElement = compRef.location.nativeElement;
|
|
@@ -26928,16 +26887,13 @@ class ApplicationRef {
|
|
|
26928
26887
|
return this._views.length;
|
|
26929
26888
|
}
|
|
26930
26889
|
}
|
|
26931
|
-
ApplicationRef
|
|
26932
|
-
|
|
26933
|
-
|
|
26934
|
-
|
|
26935
|
-
|
|
26936
|
-
|
|
26937
|
-
|
|
26938
|
-
{ type: ComponentFactoryResolver },
|
|
26939
|
-
{ type: ApplicationInitStatus }
|
|
26940
|
-
];
|
|
26890
|
+
ApplicationRef.ɵfac = function ApplicationRef_Factory(t) { return new (t || ApplicationRef)(ɵɵinject(NgZone), ɵɵinject(Injector), ɵɵinject(ErrorHandler), ɵɵinject(ComponentFactoryResolver$1), ɵɵinject(ApplicationInitStatus)); };
|
|
26891
|
+
ApplicationRef.ɵprov = /*@__PURE__*/ ɵɵdefineInjectable({ token: ApplicationRef, factory: ApplicationRef.ɵfac });
|
|
26892
|
+
(function () {
|
|
26893
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationRef, [{
|
|
26894
|
+
type: Injectable
|
|
26895
|
+
}], function () { return [{ type: NgZone }, { type: Injector }, { type: ErrorHandler }, { type: ComponentFactoryResolver$1 }, { type: ApplicationInitStatus }]; }, null);
|
|
26896
|
+
})();
|
|
26941
26897
|
function remove(list, el) {
|
|
26942
26898
|
const index = list.indexOf(el);
|
|
26943
26899
|
if (index > -1) {
|
|
@@ -26974,13 +26930,6 @@ function _mergeArrays(parts) {
|
|
|
26974
26930
|
* found in the LICENSE file at https://angular.io/license
|
|
26975
26931
|
*/
|
|
26976
26932
|
|
|
26977
|
-
/**
|
|
26978
|
-
* @license
|
|
26979
|
-
* Copyright Google LLC All Rights Reserved.
|
|
26980
|
-
*
|
|
26981
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
26982
|
-
* found in the LICENSE file at https://angular.io/license
|
|
26983
|
-
*/
|
|
26984
26933
|
function getModuleFactory__PRE_R3__(id) {
|
|
26985
26934
|
const factory = getRegisteredNgModuleType(id);
|
|
26986
26935
|
if (!factory)
|
|
@@ -26991,29 +26940,39 @@ function getModuleFactory__POST_R3__(id) {
|
|
|
26991
26940
|
const type = getRegisteredNgModuleType(id);
|
|
26992
26941
|
if (!type)
|
|
26993
26942
|
throw noModuleError(id);
|
|
26994
|
-
return new NgModuleFactory
|
|
26943
|
+
return new NgModuleFactory(type);
|
|
26944
|
+
}
|
|
26945
|
+
function getNgModuleById__PRE_R3__(id) {
|
|
26946
|
+
throw new Error(`ViewEngine doesn't support retrieving NgModule classes by id`);
|
|
26947
|
+
}
|
|
26948
|
+
function getNgModuleById__POST_R3__(id) {
|
|
26949
|
+
const type = getRegisteredNgModuleType(id);
|
|
26950
|
+
if (!type)
|
|
26951
|
+
throw noModuleError(id);
|
|
26952
|
+
return type;
|
|
26995
26953
|
}
|
|
26996
26954
|
/**
|
|
26997
|
-
* Returns the NgModuleFactory with the given id
|
|
26998
|
-
*
|
|
26999
|
-
* cannot be found.
|
|
26955
|
+
* Returns the NgModuleFactory with the given id (specified using [@NgModule.id
|
|
26956
|
+
* field](api/core/NgModule#id)), if it exists and has been loaded. Factories for NgModules that do
|
|
26957
|
+
* not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
|
|
27000
26958
|
* @publicApi
|
|
26959
|
+
* @deprecated Use `getNgModuleById` instead.
|
|
27001
26960
|
*/
|
|
27002
|
-
const getModuleFactory =
|
|
26961
|
+
const getModuleFactory = getModuleFactory__POST_R3__;
|
|
26962
|
+
/**
|
|
26963
|
+
* Returns the NgModule class with the given id (specified using [@NgModule.id
|
|
26964
|
+
* field](api/core/NgModule#id)), if it exists and has been loaded. Classes for NgModules that do
|
|
26965
|
+
* not specify an `id` cannot be retrieved. Throws if an NgModule cannot be found.
|
|
26966
|
+
* @publicApi
|
|
26967
|
+
*/
|
|
26968
|
+
const getNgModuleById = getNgModuleById__POST_R3__;
|
|
27003
26969
|
function noModuleError(id) {
|
|
27004
26970
|
return new Error(`No module with ID ${id} loaded`);
|
|
27005
26971
|
}
|
|
27006
26972
|
|
|
27007
|
-
/**
|
|
27008
|
-
* @license
|
|
27009
|
-
* Copyright Google LLC All Rights Reserved.
|
|
27010
|
-
*
|
|
27011
|
-
* Use of this source code is governed by an MIT-style license that can be
|
|
27012
|
-
* found in the LICENSE file at https://angular.io/license
|
|
27013
|
-
*/
|
|
27014
26973
|
const SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__ = injectChangeDetectorRef;
|
|
27015
26974
|
const SWITCH_CHANGE_DETECTOR_REF_FACTORY__PRE_R3__ = noop;
|
|
27016
|
-
const SWITCH_CHANGE_DETECTOR_REF_FACTORY =
|
|
26975
|
+
const SWITCH_CHANGE_DETECTOR_REF_FACTORY = SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__;
|
|
27017
26976
|
/**
|
|
27018
26977
|
* Base class that provides change detection functionality.
|
|
27019
26978
|
* A change-detection tree collects all views that are to be checked for changes.
|
|
@@ -27083,13 +27042,13 @@ function createViewRef(tNode, lView, isPipe) {
|
|
|
27083
27042
|
// The LView represents the location where the component is declared.
|
|
27084
27043
|
// Instead we want the LView for the component View and so we need to look it up.
|
|
27085
27044
|
const componentView = getComponentLViewByIndex(tNode.index, lView); // look down
|
|
27086
|
-
return new ViewRef(componentView, componentView);
|
|
27045
|
+
return new ViewRef$1(componentView, componentView);
|
|
27087
27046
|
}
|
|
27088
27047
|
else if (tNode.type & (3 /* AnyRNode */ | 12 /* AnyContainer */ | 32 /* Icu */)) {
|
|
27089
27048
|
// The LView represents the location where the injection is requested from.
|
|
27090
27049
|
// We need to locate the containing LView (in case where the `lView` is an embedded view)
|
|
27091
27050
|
const hostComponentView = lView[DECLARATION_COMPONENT_VIEW]; // look up
|
|
27092
|
-
return new ViewRef(hostComponentView, lView);
|
|
27051
|
+
return new ViewRef$1(hostComponentView, lView);
|
|
27093
27052
|
}
|
|
27094
27053
|
return null;
|
|
27095
27054
|
}
|
|
@@ -27108,7 +27067,7 @@ function createViewRef(tNode, lView, isPipe) {
|
|
|
27108
27067
|
*
|
|
27109
27068
|
* @publicApi
|
|
27110
27069
|
*/
|
|
27111
|
-
class ViewRef
|
|
27070
|
+
class ViewRef extends ChangeDetectorRef {
|
|
27112
27071
|
}
|
|
27113
27072
|
/**
|
|
27114
27073
|
* Represents an Angular [view](guide/glossary#view) in a view container.
|
|
@@ -27163,7 +27122,7 @@ class ViewRef$1 extends ChangeDetectorRef {
|
|
|
27163
27122
|
* ```
|
|
27164
27123
|
* @publicApi
|
|
27165
27124
|
*/
|
|
27166
|
-
class EmbeddedViewRef extends ViewRef
|
|
27125
|
+
class EmbeddedViewRef extends ViewRef {
|
|
27167
27126
|
}
|
|
27168
27127
|
|
|
27169
27128
|
/**
|
|
@@ -27181,6 +27140,9 @@ class EmbeddedViewRef extends ViewRef$1 {
|
|
|
27181
27140
|
* Use of this source code is governed by an MIT-style license that can be
|
|
27182
27141
|
* found in the LICENSE file at https://angular.io/license
|
|
27183
27142
|
*/
|
|
27143
|
+
// This file exists for easily patching NgModuleFactoryLoader in g3
|
|
27144
|
+
var ng_module_factory_loader_impl = {};
|
|
27145
|
+
|
|
27184
27146
|
/**
|
|
27185
27147
|
* @publicApi
|
|
27186
27148
|
*/
|
|
@@ -27332,10 +27294,10 @@ class DebugNode__POST_R3__ {
|
|
|
27332
27294
|
get componentInstance() {
|
|
27333
27295
|
const nativeElement = this.nativeNode;
|
|
27334
27296
|
return nativeElement &&
|
|
27335
|
-
(getComponent(nativeElement) || getOwningComponent(nativeElement));
|
|
27297
|
+
(getComponent$1(nativeElement) || getOwningComponent(nativeElement));
|
|
27336
27298
|
}
|
|
27337
27299
|
get context() {
|
|
27338
|
-
return getComponent(this.nativeNode) || getContext(this.nativeNode);
|
|
27300
|
+
return getComponent$1(this.nativeNode) || getContext(this.nativeNode);
|
|
27339
27301
|
}
|
|
27340
27302
|
get listeners() {
|
|
27341
27303
|
return getListeners(this.nativeNode).filter(listener => listener.type === 'dom');
|
|
@@ -27680,7 +27642,7 @@ function _queryNodeChildrenInContainerR3(lContainer, predicate, matches, element
|
|
|
27680
27642
|
*/
|
|
27681
27643
|
function _addQueryMatchR3(nativeNode, predicate, matches, elementsOnly, rootNativeNode) {
|
|
27682
27644
|
if (rootNativeNode !== nativeNode) {
|
|
27683
|
-
const debugNode = getDebugNode
|
|
27645
|
+
const debugNode = getDebugNode(nativeNode);
|
|
27684
27646
|
if (!debugNode) {
|
|
27685
27647
|
return;
|
|
27686
27648
|
}
|
|
@@ -27710,7 +27672,7 @@ function _queryNativeNodeDescendants(parentNode, predicate, matches, elementsOnl
|
|
|
27710
27672
|
const length = nodes.length;
|
|
27711
27673
|
for (let i = 0; i < length; i++) {
|
|
27712
27674
|
const node = nodes[i];
|
|
27713
|
-
const debugNode = getDebugNode
|
|
27675
|
+
const debugNode = getDebugNode(node);
|
|
27714
27676
|
if (debugNode) {
|
|
27715
27677
|
if (elementsOnly && debugNode instanceof DebugElement__POST_R3__ && predicate(debugNode) &&
|
|
27716
27678
|
matches.indexOf(debugNode) === -1) {
|
|
@@ -27770,14 +27732,14 @@ function getDebugNode__POST_R3__(nativeNode) {
|
|
|
27770
27732
|
/**
|
|
27771
27733
|
* @publicApi
|
|
27772
27734
|
*/
|
|
27773
|
-
const getDebugNode
|
|
27735
|
+
const getDebugNode = getDebugNode__POST_R3__;
|
|
27774
27736
|
function getDebugNodeR2__PRE_R3__(nativeNode) {
|
|
27775
27737
|
return getDebugNode__PRE_R3__(nativeNode);
|
|
27776
27738
|
}
|
|
27777
27739
|
function getDebugNodeR2__POST_R3__(_nativeNode) {
|
|
27778
27740
|
return null;
|
|
27779
27741
|
}
|
|
27780
|
-
const getDebugNodeR2 =
|
|
27742
|
+
const getDebugNodeR2 = getDebugNodeR2__POST_R3__;
|
|
27781
27743
|
function getAllDebugNodes() {
|
|
27782
27744
|
return Array.from(_nativeNodeToDebugNode.values());
|
|
27783
27745
|
}
|
|
@@ -27790,11 +27752,11 @@ function removeDebugNodeFromIndex(node) {
|
|
|
27790
27752
|
/**
|
|
27791
27753
|
* @publicApi
|
|
27792
27754
|
*/
|
|
27793
|
-
const DebugNode =
|
|
27755
|
+
const DebugNode = DebugNode__POST_R3__;
|
|
27794
27756
|
/**
|
|
27795
27757
|
* @publicApi
|
|
27796
27758
|
*/
|
|
27797
|
-
const DebugElement =
|
|
27759
|
+
const DebugElement = DebugElement__POST_R3__;
|
|
27798
27760
|
|
|
27799
27761
|
/**
|
|
27800
27762
|
* @license
|
|
@@ -27813,7 +27775,6 @@ class DefaultIterableDifferFactory {
|
|
|
27813
27775
|
}
|
|
27814
27776
|
}
|
|
27815
27777
|
const trackByIdentity = (index, item) => item;
|
|
27816
|
-
const ɵ0$e = trackByIdentity;
|
|
27817
27778
|
/**
|
|
27818
27779
|
* @deprecated v4.0.0 - Should not be part of public API.
|
|
27819
27780
|
* @publicApi
|
|
@@ -28918,11 +28879,7 @@ function _keyValueDiffersFactory() {
|
|
|
28918
28879
|
return defaultKeyValueDiffers;
|
|
28919
28880
|
}
|
|
28920
28881
|
function _localeFactory(locale) {
|
|
28921
|
-
|
|
28922
|
-
if (ivyEnabled) {
|
|
28923
|
-
setLocaleId(locale);
|
|
28924
|
-
}
|
|
28925
|
-
return locale;
|
|
28882
|
+
return locale || getGlobalLocale();
|
|
28926
28883
|
}
|
|
28927
28884
|
/**
|
|
28928
28885
|
* Work out the locale from the potential global properties.
|
|
@@ -28952,7 +28909,6 @@ function getGlobalLocale() {
|
|
|
28952
28909
|
DEFAULT_LOCALE_ID;
|
|
28953
28910
|
}
|
|
28954
28911
|
}
|
|
28955
|
-
const ɵ0$f = USD_CURRENCY_CODE;
|
|
28956
28912
|
/**
|
|
28957
28913
|
* A built-in [dependency injection token](guide/glossary#di-token)
|
|
28958
28914
|
* that is used to configure the root injector for bootstrapping.
|
|
@@ -28961,7 +28917,7 @@ const APPLICATION_MODULE_PROVIDERS = [
|
|
|
28961
28917
|
{
|
|
28962
28918
|
provide: ApplicationRef,
|
|
28963
28919
|
useClass: ApplicationRef,
|
|
28964
|
-
deps: [NgZone, Injector, ErrorHandler, ComponentFactoryResolver, ApplicationInitStatus]
|
|
28920
|
+
deps: [NgZone, Injector, ErrorHandler, ComponentFactoryResolver$1, ApplicationInitStatus]
|
|
28965
28921
|
},
|
|
28966
28922
|
{ provide: SCHEDULER, deps: [NgZone], useFactory: zoneSchedulerFactory },
|
|
28967
28923
|
{
|
|
@@ -28974,11 +28930,11 @@ const APPLICATION_MODULE_PROVIDERS = [
|
|
|
28974
28930
|
{ provide: IterableDiffers, useFactory: _iterableDiffersFactory, deps: [] },
|
|
28975
28931
|
{ provide: KeyValueDiffers, useFactory: _keyValueDiffersFactory, deps: [] },
|
|
28976
28932
|
{
|
|
28977
|
-
provide: LOCALE_ID
|
|
28933
|
+
provide: LOCALE_ID,
|
|
28978
28934
|
useFactory: _localeFactory,
|
|
28979
|
-
deps: [[new Inject(LOCALE_ID
|
|
28935
|
+
deps: [[new Inject(LOCALE_ID), new Optional(), new SkipSelf()]]
|
|
28980
28936
|
},
|
|
28981
|
-
{ provide: DEFAULT_CURRENCY_CODE, useValue:
|
|
28937
|
+
{ provide: DEFAULT_CURRENCY_CODE, useValue: USD_CURRENCY_CODE },
|
|
28982
28938
|
];
|
|
28983
28939
|
/**
|
|
28984
28940
|
* Schedule work at next available slot.
|
|
@@ -29014,12 +28970,15 @@ class ApplicationModule {
|
|
|
29014
28970
|
// Inject ApplicationRef to make it eager...
|
|
29015
28971
|
constructor(appRef) { }
|
|
29016
28972
|
}
|
|
29017
|
-
ApplicationModule
|
|
29018
|
-
|
|
29019
|
-
|
|
29020
|
-
|
|
29021
|
-
|
|
29022
|
-
|
|
28973
|
+
ApplicationModule.ɵfac = function ApplicationModule_Factory(t) { return new (t || ApplicationModule)(ɵɵinject(ApplicationRef)); };
|
|
28974
|
+
ApplicationModule.ɵmod = /*@__PURE__*/ ɵɵdefineNgModule({ type: ApplicationModule });
|
|
28975
|
+
ApplicationModule.ɵinj = /*@__PURE__*/ ɵɵdefineInjector({ providers: APPLICATION_MODULE_PROVIDERS });
|
|
28976
|
+
(function () {
|
|
28977
|
+
(typeof ngDevMode === "undefined" || ngDevMode) && setClassMetadata(ApplicationModule, [{
|
|
28978
|
+
type: NgModule,
|
|
28979
|
+
args: [{ providers: APPLICATION_MODULE_PROVIDERS }]
|
|
28980
|
+
}], function () { return [{ type: ApplicationRef }]; }, null);
|
|
28981
|
+
})();
|
|
29023
28982
|
|
|
29024
28983
|
/**
|
|
29025
28984
|
* @license
|
|
@@ -29187,15 +29146,6 @@ function tokenKey(token) {
|
|
|
29187
29146
|
}
|
|
29188
29147
|
return key;
|
|
29189
29148
|
}
|
|
29190
|
-
function unwrapValue$1(view, nodeIdx, bindingIdx, value) {
|
|
29191
|
-
if (WrappedValue.isWrapped(value)) {
|
|
29192
|
-
value = WrappedValue.unwrap(value);
|
|
29193
|
-
const globalBindingIdx = view.def.nodes[nodeIdx].bindingIndex + bindingIdx;
|
|
29194
|
-
const oldValue = WrappedValue.unwrap(view.oldValues[globalBindingIdx]);
|
|
29195
|
-
view.oldValues[globalBindingIdx] = new WrappedValue(oldValue);
|
|
29196
|
-
}
|
|
29197
|
-
return value;
|
|
29198
|
-
}
|
|
29199
29149
|
const UNDEFINED_RENDERER_TYPE_ID = '$$undefined';
|
|
29200
29150
|
const EMPTY_RENDERER_TYPE_ID = '$$empty';
|
|
29201
29151
|
// Attention: this function is called as top level function.
|
|
@@ -29208,14 +29158,14 @@ function createRendererType2(values) {
|
|
|
29208
29158
|
data: values.data
|
|
29209
29159
|
};
|
|
29210
29160
|
}
|
|
29211
|
-
let _renderCompCount
|
|
29161
|
+
let _renderCompCount = 0;
|
|
29212
29162
|
function resolveRendererType2(type) {
|
|
29213
29163
|
if (type && type.id === UNDEFINED_RENDERER_TYPE_ID) {
|
|
29214
29164
|
// first time we see this RendererType2. Initialize it...
|
|
29215
|
-
const isFilled = ((type.encapsulation != null && type.encapsulation !== ViewEncapsulation.None) ||
|
|
29165
|
+
const isFilled = ((type.encapsulation != null && type.encapsulation !== ViewEncapsulation$1.None) ||
|
|
29216
29166
|
type.styles.length || Object.keys(type.data).length);
|
|
29217
29167
|
if (isFilled) {
|
|
29218
|
-
type.id = `c${_renderCompCount
|
|
29168
|
+
type.id = `c${_renderCompCount++}`;
|
|
29219
29169
|
}
|
|
29220
29170
|
else {
|
|
29221
29171
|
type.id = EMPTY_RENDERER_TYPE_ID;
|
|
@@ -29360,7 +29310,7 @@ function getParentRenderElement(view, renderHost, def) {
|
|
|
29360
29310
|
(renderParent.flags & 33554432 /* ComponentView */) === 0 ||
|
|
29361
29311
|
(renderParent.element.componentRendererType &&
|
|
29362
29312
|
(renderParent.element.componentRendererType.encapsulation ===
|
|
29363
|
-
ViewEncapsulation.ShadowDom ||
|
|
29313
|
+
ViewEncapsulation$1.ShadowDom ||
|
|
29364
29314
|
// TODO(FW-2290): remove the `encapsulation === 1` fallback logic in v12.
|
|
29365
29315
|
// @ts-ignore TODO: Remove as part of FW-2290. TS complains about us dealing with an enum
|
|
29366
29316
|
// value that is not known (but previously was the value for ViewEncapsulation.Native)
|
|
@@ -29698,7 +29648,7 @@ function createElement(view, renderHost, def) {
|
|
|
29698
29648
|
else {
|
|
29699
29649
|
// when using native Shadow DOM, do not clear the root element contents to allow slot projection
|
|
29700
29650
|
const preserveContent = (!!elDef.componentRendererType &&
|
|
29701
|
-
elDef.componentRendererType.encapsulation === ViewEncapsulation.ShadowDom);
|
|
29651
|
+
elDef.componentRendererType.encapsulation === ViewEncapsulation$1.ShadowDom);
|
|
29702
29652
|
el = renderer.selectRootElement(rootSelectorOrNode, preserveContent);
|
|
29703
29653
|
}
|
|
29704
29654
|
if (elDef.attrs) {
|
|
@@ -29769,7 +29719,7 @@ function checkAndUpdateElementValue(view, def, bindingIdx, value) {
|
|
|
29769
29719
|
const name = binding.name;
|
|
29770
29720
|
switch (binding.flags & 15 /* Types */) {
|
|
29771
29721
|
case 1 /* TypeElementAttribute */:
|
|
29772
|
-
setElementAttribute
|
|
29722
|
+
setElementAttribute(view, binding, renderNode, binding.ns, name, value);
|
|
29773
29723
|
break;
|
|
29774
29724
|
case 2 /* TypeElementClass */:
|
|
29775
29725
|
setElementClass(view, renderNode, name, value);
|
|
@@ -29787,7 +29737,7 @@ function checkAndUpdateElementValue(view, def, bindingIdx, value) {
|
|
|
29787
29737
|
}
|
|
29788
29738
|
return true;
|
|
29789
29739
|
}
|
|
29790
|
-
function setElementAttribute
|
|
29740
|
+
function setElementAttribute(view, binding, renderNode, ns, name, value) {
|
|
29791
29741
|
const securityContext = binding.securityContext;
|
|
29792
29742
|
let renderValue = securityContext ? view.root.sanitizer.sanitize(securityContext, value) : value;
|
|
29793
29743
|
renderValue = renderValue != null ? renderValue.toString() : null;
|
|
@@ -29842,9 +29792,9 @@ function setElementProperty(view, binding, renderNode, name, value) {
|
|
|
29842
29792
|
* found in the LICENSE file at https://angular.io/license
|
|
29843
29793
|
*/
|
|
29844
29794
|
const UNDEFINED_VALUE = {};
|
|
29845
|
-
const InjectorRefTokenKey = tokenKey(Injector);
|
|
29846
|
-
const INJECTORRefTokenKey = tokenKey(INJECTOR
|
|
29847
|
-
const NgModuleRefTokenKey = tokenKey(NgModuleRef);
|
|
29795
|
+
const InjectorRefTokenKey$1 = tokenKey(Injector);
|
|
29796
|
+
const INJECTORRefTokenKey$1 = tokenKey(INJECTOR);
|
|
29797
|
+
const NgModuleRefTokenKey = tokenKey(NgModuleRef$1);
|
|
29848
29798
|
function moduleProvideDef(flags, token, value, deps) {
|
|
29849
29799
|
// Need to resolve forwardRefs as e.g. for `useValue` we
|
|
29850
29800
|
// lowered the expression and then stopped evaluating it,
|
|
@@ -29892,7 +29842,7 @@ function initNgModule(data) {
|
|
|
29892
29842
|
if (!(provDef.flags & 4096 /* LazyProvider */)) {
|
|
29893
29843
|
// Make sure the provider has not been already initialized outside this loop.
|
|
29894
29844
|
if (providers[i] === undefined) {
|
|
29895
|
-
providers[i] = _createProviderInstance(data, provDef);
|
|
29845
|
+
providers[i] = _createProviderInstance$1(data, provDef);
|
|
29896
29846
|
}
|
|
29897
29847
|
}
|
|
29898
29848
|
}
|
|
@@ -29911,8 +29861,8 @@ function resolveNgModuleDep(data, depDef, notFoundValue = Injector.THROW_IF_NOT_
|
|
|
29911
29861
|
}
|
|
29912
29862
|
const tokenKey = depDef.tokenKey;
|
|
29913
29863
|
switch (tokenKey) {
|
|
29914
|
-
case InjectorRefTokenKey:
|
|
29915
|
-
case INJECTORRefTokenKey:
|
|
29864
|
+
case InjectorRefTokenKey$1:
|
|
29865
|
+
case INJECTORRefTokenKey$1:
|
|
29916
29866
|
case NgModuleRefTokenKey:
|
|
29917
29867
|
return data;
|
|
29918
29868
|
}
|
|
@@ -29922,7 +29872,7 @@ function resolveNgModuleDep(data, depDef, notFoundValue = Injector.THROW_IF_NOT_
|
|
|
29922
29872
|
let providerInstance = data._providers[providerDef.index];
|
|
29923
29873
|
if (providerInstance === undefined) {
|
|
29924
29874
|
providerInstance = data._providers[providerDef.index] =
|
|
29925
|
-
_createProviderInstance(data, providerDef);
|
|
29875
|
+
_createProviderInstance$1(data, providerDef);
|
|
29926
29876
|
}
|
|
29927
29877
|
return providerInstance === UNDEFINED_VALUE ? undefined : providerInstance;
|
|
29928
29878
|
}
|
|
@@ -29937,7 +29887,7 @@ function resolveNgModuleDep(data, depDef, notFoundValue = Injector.THROW_IF_NOT_
|
|
|
29937
29887
|
};
|
|
29938
29888
|
data._providers[index] = UNDEFINED_VALUE;
|
|
29939
29889
|
return (data._providers[index] =
|
|
29940
|
-
_createProviderInstance(data, data._def.providersByKey[depDef.tokenKey]));
|
|
29890
|
+
_createProviderInstance$1(data, data._def.providersByKey[depDef.tokenKey]));
|
|
29941
29891
|
}
|
|
29942
29892
|
else if (depDef.flags & 4 /* Self */) {
|
|
29943
29893
|
return notFoundValue;
|
|
@@ -29957,7 +29907,7 @@ function targetsModule(ngModule, def) {
|
|
|
29957
29907
|
(providedIn === 'any' || providedIn === ngModule._def.scope ||
|
|
29958
29908
|
moduleTransitivelyPresent(ngModule, providedIn));
|
|
29959
29909
|
}
|
|
29960
|
-
function _createProviderInstance(ngModule, providerDef) {
|
|
29910
|
+
function _createProviderInstance$1(ngModule, providerDef) {
|
|
29961
29911
|
let injectable;
|
|
29962
29912
|
switch (providerDef.flags & 201347067 /* Types */) {
|
|
29963
29913
|
case 512 /* TypeClassProvider */:
|
|
@@ -30106,7 +30056,7 @@ function detachEmbeddedView(elementData, viewIndex) {
|
|
|
30106
30056
|
removeFromArray(embeddedViews, viewIndex);
|
|
30107
30057
|
// See attachProjectedView for why we don't update projectedViews here.
|
|
30108
30058
|
Services.dirtyParentQueries(view);
|
|
30109
|
-
renderDetachView
|
|
30059
|
+
renderDetachView(view);
|
|
30110
30060
|
return view;
|
|
30111
30061
|
}
|
|
30112
30062
|
function detachProjectedView(view) {
|
|
@@ -30133,7 +30083,7 @@ function moveEmbeddedView(elementData, oldViewIndex, newViewIndex) {
|
|
|
30133
30083
|
// Note: Don't need to change projectedViews as the order in there
|
|
30134
30084
|
// as always invalid...
|
|
30135
30085
|
Services.dirtyParentQueries(view);
|
|
30136
|
-
renderDetachView
|
|
30086
|
+
renderDetachView(view);
|
|
30137
30087
|
const prevView = newViewIndex > 0 ? embeddedViews[newViewIndex - 1] : null;
|
|
30138
30088
|
renderAttachEmbeddedView(elementData, prevView, view);
|
|
30139
30089
|
return view;
|
|
@@ -30146,7 +30096,7 @@ function renderAttachEmbeddedView(elementData, prevView, view) {
|
|
|
30146
30096
|
// However, browsers automatically do `appendChild` when there is no `nextSibling`.
|
|
30147
30097
|
visitRootRenderNodes(view, 2 /* InsertBefore */, parentNode, nextSibling, undefined);
|
|
30148
30098
|
}
|
|
30149
|
-
function renderDetachView
|
|
30099
|
+
function renderDetachView(view) {
|
|
30150
30100
|
visitRootRenderNodes(view, 3 /* RemoveChild */, null, null, undefined);
|
|
30151
30101
|
}
|
|
30152
30102
|
|
|
@@ -30166,7 +30116,7 @@ function createComponentFactory(selector, componentType, viewDefFactory, inputs,
|
|
|
30166
30116
|
function getComponentViewDefinitionFactory(componentFactory) {
|
|
30167
30117
|
return componentFactory.viewDefFactory;
|
|
30168
30118
|
}
|
|
30169
|
-
class ComponentFactory_ extends ComponentFactory {
|
|
30119
|
+
class ComponentFactory_ extends ComponentFactory$1 {
|
|
30170
30120
|
constructor(selector, componentType, viewDefFactory, _inputs, _outputs, ngContentSelectors) {
|
|
30171
30121
|
// Attention: this ctor is called as top level function.
|
|
30172
30122
|
// Putting any logic in here will destroy closure tree shaking!
|
|
@@ -30212,7 +30162,7 @@ class ComponentFactory_ extends ComponentFactory {
|
|
|
30212
30162
|
return new ComponentRef_(view, new ViewRef_(view), component);
|
|
30213
30163
|
}
|
|
30214
30164
|
}
|
|
30215
|
-
class ComponentRef_ extends ComponentRef {
|
|
30165
|
+
class ComponentRef_ extends ComponentRef$1 {
|
|
30216
30166
|
constructor(_view, _viewRef, _component) {
|
|
30217
30167
|
super();
|
|
30218
30168
|
this._view = _view;
|
|
@@ -30301,7 +30251,7 @@ class ViewContainerRef_ {
|
|
|
30301
30251
|
const contextInjector = injector || this.parentInjector;
|
|
30302
30252
|
const componentFactory = componentFactoryOrType;
|
|
30303
30253
|
if (!ngModuleRef && !(componentFactory instanceof ComponentFactoryBoundToModule)) {
|
|
30304
|
-
ngModuleRef = contextInjector.get(NgModuleRef);
|
|
30254
|
+
ngModuleRef = contextInjector.get(NgModuleRef$1);
|
|
30305
30255
|
}
|
|
30306
30256
|
const componentRef = componentFactory.create(contextInjector, projectableNodes, undefined, ngModuleRef);
|
|
30307
30257
|
this.insert(componentRef.hostView, index);
|
|
@@ -30403,7 +30353,7 @@ class ViewRef_ {
|
|
|
30403
30353
|
}
|
|
30404
30354
|
detachFromAppRef() {
|
|
30405
30355
|
this._appRef = null;
|
|
30406
|
-
renderDetachView
|
|
30356
|
+
renderDetachView(this._view);
|
|
30407
30357
|
Services.dirtyParentQueries(this._view);
|
|
30408
30358
|
}
|
|
30409
30359
|
attachToAppRef(appRef) {
|
|
@@ -30435,7 +30385,7 @@ class TemplateRef_ extends TemplateRef {
|
|
|
30435
30385
|
return new ElementRef(asElementData(this._parentView, this._def.nodeIndex).renderElement);
|
|
30436
30386
|
}
|
|
30437
30387
|
}
|
|
30438
|
-
function createInjector
|
|
30388
|
+
function createInjector(view, elDef) {
|
|
30439
30389
|
return new Injector_(view, elDef);
|
|
30440
30390
|
}
|
|
30441
30391
|
class Injector_ {
|
|
@@ -30490,7 +30440,7 @@ class NgModuleRef_ {
|
|
|
30490
30440
|
return this.get(this._moduleType);
|
|
30491
30441
|
}
|
|
30492
30442
|
get componentFactoryResolver() {
|
|
30493
|
-
return this.get(ComponentFactoryResolver);
|
|
30443
|
+
return this.get(ComponentFactoryResolver$1);
|
|
30494
30444
|
}
|
|
30495
30445
|
destroy() {
|
|
30496
30446
|
if (this._destroyed) {
|
|
@@ -30517,8 +30467,8 @@ const ElementRefTokenKey = tokenKey(ElementRef);
|
|
|
30517
30467
|
const ViewContainerRefTokenKey = tokenKey(ViewContainerRef);
|
|
30518
30468
|
const TemplateRefTokenKey = tokenKey(TemplateRef);
|
|
30519
30469
|
const ChangeDetectorRefTokenKey = tokenKey(ChangeDetectorRef);
|
|
30520
|
-
const InjectorRefTokenKey
|
|
30521
|
-
const INJECTORRefTokenKey
|
|
30470
|
+
const InjectorRefTokenKey = tokenKey(Injector);
|
|
30471
|
+
const INJECTORRefTokenKey = tokenKey(INJECTOR);
|
|
30522
30472
|
function directiveDef(checkIndex, flags, matchedQueries, childCount, ctor, deps, props, outputs) {
|
|
30523
30473
|
const bindings = [];
|
|
30524
30474
|
if (props) {
|
|
@@ -30592,7 +30542,7 @@ function _def(checkIndex, flags, matchedQueriesDsl, childCount, token, value, de
|
|
|
30592
30542
|
};
|
|
30593
30543
|
}
|
|
30594
30544
|
function createProviderInstance(view, def) {
|
|
30595
|
-
return _createProviderInstance
|
|
30545
|
+
return _createProviderInstance(view, def);
|
|
30596
30546
|
}
|
|
30597
30547
|
function createPipeInstance(view, def) {
|
|
30598
30548
|
// deps are looked up from component.
|
|
@@ -30709,7 +30659,7 @@ function checkAndUpdateDirectiveDynamic(view, def, values) {
|
|
|
30709
30659
|
}
|
|
30710
30660
|
return changed;
|
|
30711
30661
|
}
|
|
30712
|
-
function _createProviderInstance
|
|
30662
|
+
function _createProviderInstance(view, def) {
|
|
30713
30663
|
// private services can see other private services
|
|
30714
30664
|
const allowPrivateServices = (def.flags & 8192 /* PrivateProvider */) > 0;
|
|
30715
30665
|
const providerDef = def.provider;
|
|
@@ -30802,16 +30752,16 @@ function resolveDep(view, elDef, allowPrivateServices, depDef, notFoundValue = I
|
|
|
30802
30752
|
let cdView = findCompView(searchView, elDef, allowPrivateServices);
|
|
30803
30753
|
return createChangeDetectorRef(cdView);
|
|
30804
30754
|
}
|
|
30805
|
-
case InjectorRefTokenKey
|
|
30806
|
-
case INJECTORRefTokenKey
|
|
30807
|
-
return createInjector
|
|
30755
|
+
case InjectorRefTokenKey:
|
|
30756
|
+
case INJECTORRefTokenKey:
|
|
30757
|
+
return createInjector(searchView, elDef);
|
|
30808
30758
|
default:
|
|
30809
30759
|
const providerDef = (allowPrivateServices ? elDef.element.allProviders :
|
|
30810
30760
|
elDef.element.publicProviders)[tokenKey];
|
|
30811
30761
|
if (providerDef) {
|
|
30812
30762
|
let providerData = asProviderData(searchView, providerDef.nodeIndex);
|
|
30813
30763
|
if (!providerData) {
|
|
30814
|
-
providerData = { instance: _createProviderInstance
|
|
30764
|
+
providerData = { instance: _createProviderInstance(searchView, providerDef) };
|
|
30815
30765
|
searchView.nodes[providerDef.nodeIndex] = providerData;
|
|
30816
30766
|
}
|
|
30817
30767
|
return providerData.instance;
|
|
@@ -30865,7 +30815,7 @@ function updateProp(view, providerData, def, bindingIdx, value, changes) {
|
|
|
30865
30815
|
providerData.instance[propName] = value;
|
|
30866
30816
|
if (def.flags & 524288 /* OnChanges */) {
|
|
30867
30817
|
changes = changes || {};
|
|
30868
|
-
const oldValue =
|
|
30818
|
+
const oldValue = view.oldValues[def.bindingIndex + bindingIdx];
|
|
30869
30819
|
const binding = def.bindings[bindingIdx];
|
|
30870
30820
|
changes[binding.nonMinifiedName] =
|
|
30871
30821
|
new SimpleChange(oldValue, value, (view.state & 2 /* FirstCheck */) !== 0);
|
|
@@ -32603,7 +32553,7 @@ class DebugContext_ {
|
|
|
32603
32553
|
return asElementData(this.elView, this.elDef.nodeIndex).componentView || this.view;
|
|
32604
32554
|
}
|
|
32605
32555
|
get injector() {
|
|
32606
|
-
return createInjector
|
|
32556
|
+
return createInjector(this.elView, this.elDef);
|
|
32607
32557
|
}
|
|
32608
32558
|
get component() {
|
|
32609
32559
|
return this.elOrCompView.component;
|
|
@@ -32765,7 +32715,7 @@ class DebugRenderer2 {
|
|
|
32765
32715
|
return this.debugContextFactory(nativeElement);
|
|
32766
32716
|
}
|
|
32767
32717
|
destroyNode(node) {
|
|
32768
|
-
const debugNode = getDebugNode
|
|
32718
|
+
const debugNode = getDebugNode(node);
|
|
32769
32719
|
if (debugNode) {
|
|
32770
32720
|
removeDebugNodeFromIndex(debugNode);
|
|
32771
32721
|
if (debugNode instanceof DebugNode__PRE_R3__) {
|
|
@@ -32806,25 +32756,25 @@ class DebugRenderer2 {
|
|
|
32806
32756
|
return text;
|
|
32807
32757
|
}
|
|
32808
32758
|
appendChild(parent, newChild) {
|
|
32809
|
-
const debugEl = getDebugNode
|
|
32810
|
-
const debugChildEl = getDebugNode
|
|
32759
|
+
const debugEl = getDebugNode(parent);
|
|
32760
|
+
const debugChildEl = getDebugNode(newChild);
|
|
32811
32761
|
if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32812
32762
|
debugEl.addChild(debugChildEl);
|
|
32813
32763
|
}
|
|
32814
32764
|
this.delegate.appendChild(parent, newChild);
|
|
32815
32765
|
}
|
|
32816
32766
|
insertBefore(parent, newChild, refChild, isMove) {
|
|
32817
|
-
const debugEl = getDebugNode
|
|
32818
|
-
const debugChildEl = getDebugNode
|
|
32819
|
-
const debugRefEl = getDebugNode
|
|
32767
|
+
const debugEl = getDebugNode(parent);
|
|
32768
|
+
const debugChildEl = getDebugNode(newChild);
|
|
32769
|
+
const debugRefEl = getDebugNode(refChild);
|
|
32820
32770
|
if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32821
32771
|
debugEl.insertBefore(debugRefEl, debugChildEl);
|
|
32822
32772
|
}
|
|
32823
32773
|
this.delegate.insertBefore(parent, newChild, refChild, isMove);
|
|
32824
32774
|
}
|
|
32825
32775
|
removeChild(parent, oldChild) {
|
|
32826
|
-
const debugEl = getDebugNode
|
|
32827
|
-
const debugChildEl = getDebugNode
|
|
32776
|
+
const debugEl = getDebugNode(parent);
|
|
32777
|
+
const debugChildEl = getDebugNode(oldChild);
|
|
32828
32778
|
if (debugEl && debugChildEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32829
32779
|
debugEl.removeChild(debugChildEl);
|
|
32830
32780
|
}
|
|
@@ -32839,7 +32789,7 @@ class DebugRenderer2 {
|
|
|
32839
32789
|
return el;
|
|
32840
32790
|
}
|
|
32841
32791
|
setAttribute(el, name, value, namespace) {
|
|
32842
|
-
const debugEl = getDebugNode
|
|
32792
|
+
const debugEl = getDebugNode(el);
|
|
32843
32793
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32844
32794
|
const fullName = namespace ? namespace + ':' + name : name;
|
|
32845
32795
|
debugEl.attributes[fullName] = value;
|
|
@@ -32847,7 +32797,7 @@ class DebugRenderer2 {
|
|
|
32847
32797
|
this.delegate.setAttribute(el, name, value, namespace);
|
|
32848
32798
|
}
|
|
32849
32799
|
removeAttribute(el, name, namespace) {
|
|
32850
|
-
const debugEl = getDebugNode
|
|
32800
|
+
const debugEl = getDebugNode(el);
|
|
32851
32801
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32852
32802
|
const fullName = namespace ? namespace + ':' + name : name;
|
|
32853
32803
|
debugEl.attributes[fullName] = null;
|
|
@@ -32855,35 +32805,35 @@ class DebugRenderer2 {
|
|
|
32855
32805
|
this.delegate.removeAttribute(el, name, namespace);
|
|
32856
32806
|
}
|
|
32857
32807
|
addClass(el, name) {
|
|
32858
|
-
const debugEl = getDebugNode
|
|
32808
|
+
const debugEl = getDebugNode(el);
|
|
32859
32809
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32860
32810
|
debugEl.classes[name] = true;
|
|
32861
32811
|
}
|
|
32862
32812
|
this.delegate.addClass(el, name);
|
|
32863
32813
|
}
|
|
32864
32814
|
removeClass(el, name) {
|
|
32865
|
-
const debugEl = getDebugNode
|
|
32815
|
+
const debugEl = getDebugNode(el);
|
|
32866
32816
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32867
32817
|
debugEl.classes[name] = false;
|
|
32868
32818
|
}
|
|
32869
32819
|
this.delegate.removeClass(el, name);
|
|
32870
32820
|
}
|
|
32871
32821
|
setStyle(el, style, value, flags) {
|
|
32872
|
-
const debugEl = getDebugNode
|
|
32822
|
+
const debugEl = getDebugNode(el);
|
|
32873
32823
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32874
32824
|
debugEl.styles[style] = value;
|
|
32875
32825
|
}
|
|
32876
32826
|
this.delegate.setStyle(el, style, value, flags);
|
|
32877
32827
|
}
|
|
32878
32828
|
removeStyle(el, style, flags) {
|
|
32879
|
-
const debugEl = getDebugNode
|
|
32829
|
+
const debugEl = getDebugNode(el);
|
|
32880
32830
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32881
32831
|
debugEl.styles[style] = null;
|
|
32882
32832
|
}
|
|
32883
32833
|
this.delegate.removeStyle(el, style, flags);
|
|
32884
32834
|
}
|
|
32885
32835
|
setProperty(el, name, value) {
|
|
32886
|
-
const debugEl = getDebugNode
|
|
32836
|
+
const debugEl = getDebugNode(el);
|
|
32887
32837
|
if (debugEl && debugEl instanceof DebugElement__PRE_R3__) {
|
|
32888
32838
|
debugEl.properties[name] = value;
|
|
32889
32839
|
}
|
|
@@ -32891,7 +32841,7 @@ class DebugRenderer2 {
|
|
|
32891
32841
|
}
|
|
32892
32842
|
listen(target, eventName, callback) {
|
|
32893
32843
|
if (typeof target !== 'string') {
|
|
32894
|
-
const debugEl = getDebugNode
|
|
32844
|
+
const debugEl = getDebugNode(target);
|
|
32895
32845
|
if (debugEl) {
|
|
32896
32846
|
debugEl.listeners.push(new DebugEventListener(eventName, callback));
|
|
32897
32847
|
}
|
|
@@ -32948,7 +32898,7 @@ function cloneNgModuleDefinition(def) {
|
|
|
32948
32898
|
providersByKey,
|
|
32949
32899
|
};
|
|
32950
32900
|
}
|
|
32951
|
-
class NgModuleFactory_ extends NgModuleFactory {
|
|
32901
|
+
class NgModuleFactory_ extends NgModuleFactory$1 {
|
|
32952
32902
|
constructor(moduleType, _bootstrapComponents, _ngModuleDefFactory) {
|
|
32953
32903
|
// Attention: this ctor is called as top level function.
|
|
32954
32904
|
// Putting any logic in here will destroy closure tree shaking!
|
|
@@ -33139,5 +33089,5 @@ if (typeof ngDevMode !== 'undefined' && ngDevMode) {
|
|
|
33139
33089
|
* Generated bundle index. Do not edit.
|
|
33140
33090
|
*/
|
|
33141
33091
|
|
|
33142
|
-
export { ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory, ComponentFactoryResolver, ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ElementRef, EmbeddedViewRef, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR$1 as INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID$1 as LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory, NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation, ViewRef$1 as ViewRef, WrappedValue, asNativeElements, assertPlatform, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode$1 as getDebugNode, getModuleFactory, getPlatform, inject, isDevMode, platformCore, resolveForwardRef, setTestabilityGetter, ɵ0$3 as ɵ0, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, CREATE_ATTRIBUTE_DECORATOR__POST_R3__ as ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__, ChangeDetectorStatus as ɵChangeDetectorStatus, CodegenComponentFactoryResolver as ɵCodegenComponentFactoryResolver, Compiler_compileModuleAndAllComponentsAsync__POST_R3__ as ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__, Compiler_compileModuleAndAllComponentsSync__POST_R3__ as ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__, Compiler_compileModuleAsync__POST_R3__ as ɵCompiler_compileModuleAsync__POST_R3__, Compiler_compileModuleSync__POST_R3__ as ɵCompiler_compileModuleSync__POST_R3__, ComponentFactory as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, EMPTY_ARRAY as ɵEMPTY_ARRAY, EMPTY_MAP as ɵEMPTY_MAP, INJECTOR_IMPL__POST_R3__ as ɵINJECTOR_IMPL__POST_R3__, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory$1 as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory$1 as ɵRender3ComponentFactory, ComponentRef$1 as ɵRender3ComponentRef, NgModuleRef$1 as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__ as ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__, SWITCH_COMPILE_COMPONENT__POST_R3__ as ɵSWITCH_COMPILE_COMPONENT__POST_R3__, SWITCH_COMPILE_DIRECTIVE__POST_R3__ as ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__, SWITCH_COMPILE_INJECTABLE__POST_R3__ as ɵSWITCH_COMPILE_INJECTABLE__POST_R3__, SWITCH_COMPILE_NGMODULE__POST_R3__ as ɵSWITCH_COMPILE_NGMODULE__POST_R3__, SWITCH_COMPILE_PIPE__POST_R3__ as ɵSWITCH_COMPILE_PIPE__POST_R3__, SWITCH_ELEMENT_REF_FACTORY__POST_R3__ as ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__, SWITCH_IVY_ENABLED__POST_R3__ as ɵSWITCH_IVY_ENABLED__POST_R3__, SWITCH_RENDERER2_FACTORY__POST_R3__ as ɵSWITCH_RENDERER2_FACTORY__POST_R3__, SWITCH_TEMPLATE_REF_FACTORY__POST_R3__ as ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__, SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__ as ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, anchorDef as ɵand, isForwardRef as ɵangular_packages_core_core_a, injectInjectorOnly as ɵangular_packages_core_core_b, zoneSchedulerFactory as ɵangular_packages_core_core_ba, USD_CURRENCY_CODE as ɵangular_packages_core_core_bb, _def as ɵangular_packages_core_core_bc, DebugContext as ɵangular_packages_core_core_bd, NgOnChangesFeatureImpl as ɵangular_packages_core_core_be, SCHEDULER as ɵangular_packages_core_core_bf, injectAttributeImpl as ɵangular_packages_core_core_bg, getLView as ɵangular_packages_core_core_bh, getBindingRoot as ɵangular_packages_core_core_bi, nextContextImpl as ɵangular_packages_core_core_bj, pureFunction1Internal as ɵangular_packages_core_core_bl, pureFunction2Internal as ɵangular_packages_core_core_bm, pureFunction3Internal as ɵangular_packages_core_core_bn, pureFunction4Internal as ɵangular_packages_core_core_bo, pureFunctionVInternal as ɵangular_packages_core_core_bp, getUrlSanitizer as ɵangular_packages_core_core_bq, makePropDecorator as ɵangular_packages_core_core_br, makeParamDecorator as ɵangular_packages_core_core_bs, getClosureSafeProperty as ɵangular_packages_core_core_bv, NullInjector as ɵangular_packages_core_core_bw, getInjectImplementation as ɵangular_packages_core_core_bx, getNativeByTNode as ɵangular_packages_core_core_bz, attachInjectFlag as ɵangular_packages_core_core_c, getRootContext as ɵangular_packages_core_core_cb, i18nPostprocess as ɵangular_packages_core_core_cc, ReflectiveInjector_ as ɵangular_packages_core_core_d, ReflectiveDependency as ɵangular_packages_core_core_e, resolveReflectiveProviders as ɵangular_packages_core_core_f, _appIdRandomProviderFactory as ɵangular_packages_core_core_g, injectRenderer2 as ɵangular_packages_core_core_h, injectElementRef as ɵangular_packages_core_core_i, createElementRef as ɵangular_packages_core_core_j, getModuleFactory__PRE_R3__ as ɵangular_packages_core_core_k, injectTemplateRef as ɵangular_packages_core_core_l, createTemplateRef as ɵangular_packages_core_core_m, injectViewContainerRef as ɵangular_packages_core_core_n, DebugNode__PRE_R3__ as ɵangular_packages_core_core_o, DebugElement__PRE_R3__ as ɵangular_packages_core_core_p, getDebugNodeR2__PRE_R3__ as ɵangular_packages_core_core_q, injectChangeDetectorRef as ɵangular_packages_core_core_r, DefaultIterableDifferFactory as ɵangular_packages_core_core_s, DefaultKeyValueDifferFactory as ɵangular_packages_core_core_t, defaultIterableDiffersFactory as ɵangular_packages_core_core_u, defaultKeyValueDiffersFactory as ɵangular_packages_core_core_v, _iterableDiffersFactory as ɵangular_packages_core_core_w, _keyValueDiffersFactory as ɵangular_packages_core_core_x, _localeFactory as ɵangular_packages_core_core_y, APPLICATION_MODULE_PROVIDERS as ɵangular_packages_core_core_z, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, createComponentFactory as ɵccf, clearOverrides as ɵclearOverrides, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, createNgModuleFactory as ɵcmf, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory__POST_R3__ as ɵcompileNgModuleFactory__POST_R3__, compilePipe as ɵcompilePipe, createInjector as ɵcreateInjector, createRendererType2 as ɵcrt, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, directiveDef as ɵdid, elementDef as ɵeld, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, getComponentViewDefinitionFactory as ɵgetComponentViewDefinitionFactory, getDebugNodeR2 as ɵgetDebugNodeR2, getDebugNode__POST_R3__ as ɵgetDebugNode__POST_R3__, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getModuleFactory__POST_R3__ as ɵgetModuleFactory__POST_R3__, getSanitizationBypassType as ɵgetSanitizationBypassType, _global as ɵglobal, initServicesIfNeeded as ɵinitServicesIfNeeded, inlineInterpolate as ɵinlineInterpolate, interpolate as ɵinterpolate, isBoundToModule__POST_R3__ as ɵisBoundToModule__POST_R3__, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy, isListLikeIterable as ɵisListLikeIterable, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, ivyEnabled as ɵivyEnabled, makeDecorator as ɵmakeDecorator, markDirty as ɵmarkDirty, moduleDef as ɵmod, moduleProvideDef as ɵmpd, ngContentDef as ɵncd, noSideEffects as ɵnoSideEffects, nodeValue as ɵnov, overrideComponentView as ɵoverrideComponentView, overrideProvider as ɵoverrideProvider, pureArrayDef as ɵpad, patchComponentDefWithScope as ɵpatchComponentDefWithScope, pipeDef as ɵpid, pureObjectDef as ɵpod, purePipeDef as ɵppd, providerDef as ɵprd, publishDefaultGlobalUtils as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, queryDef as ɵqud, registerLocaleData as ɵregisterLocaleData, registerModuleFactory as ɵregisterModuleFactory, registerNgModuleType as ɵregisterNgModuleType, renderComponent$1 as ɵrenderComponent, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, store as ɵstore, stringify as ɵstringify, textDef as ɵted, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapValue$1 as ɵunv, unwrapSafeValue as ɵunwrapSafeValue, viewDef as ɵvid, whenRendered as ɵwhenRendered, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵviewQuery };
|
|
33143
|
-
//# sourceMappingURL=core.
|
|
33092
|
+
export { ANALYZE_FOR_ENTRY_COMPONENTS, APP_BOOTSTRAP_LISTENER, APP_ID, APP_INITIALIZER, ApplicationInitStatus, ApplicationModule, ApplicationRef, Attribute, COMPILER_OPTIONS, CUSTOM_ELEMENTS_SCHEMA, ChangeDetectionStrategy, ChangeDetectorRef, Compiler, CompilerFactory, Component, ComponentFactory$1 as ComponentFactory, ComponentFactoryResolver$1 as ComponentFactoryResolver, ComponentRef$1 as ComponentRef, ContentChild, ContentChildren, DEFAULT_CURRENCY_CODE, DebugElement, DebugEventListener, DebugNode, DefaultIterableDiffer, Directive, ElementRef, EmbeddedViewRef, ErrorHandler, EventEmitter, Host, HostBinding, HostListener, INJECTOR, Inject, InjectFlags, Injectable, InjectionToken, Injector, Input, IterableDiffers, KeyValueDiffers, LOCALE_ID, MissingTranslationStrategy, ModuleWithComponentFactories, NO_ERRORS_SCHEMA, NgModule, NgModuleFactory$1 as NgModuleFactory, NgModuleRef$1 as NgModuleRef, NgProbeToken, NgZone, Optional, Output, PACKAGE_ROOT_URL, PLATFORM_ID, PLATFORM_INITIALIZER, Pipe, PlatformRef, Query, QueryList, ReflectiveInjector, ReflectiveKey, Renderer2, RendererFactory2, RendererStyleFlags2, ResolvedReflectiveFactory, Sanitizer, SecurityContext, Self, SimpleChange, SkipSelf, TRANSLATIONS, TRANSLATIONS_FORMAT, TemplateRef, Testability, TestabilityRegistry, Type, VERSION, Version, ViewChild, ViewChildren, ViewContainerRef, ViewEncapsulation$1 as ViewEncapsulation, ViewRef, asNativeElements, assertPlatform, createNgModuleRef$1 as createNgModuleRef, createPlatform, createPlatformFactory, defineInjectable, destroyPlatform, enableProdMode, forwardRef, getDebugNode, getModuleFactory, getNgModuleById, getPlatform, inject, isDevMode, platformCore, resolveForwardRef, setTestabilityGetter, ALLOW_MULTIPLE_PLATFORMS as ɵALLOW_MULTIPLE_PLATFORMS, APP_ID_RANDOM_PROVIDER as ɵAPP_ID_RANDOM_PROVIDER, CREATE_ATTRIBUTE_DECORATOR__POST_R3__ as ɵCREATE_ATTRIBUTE_DECORATOR__POST_R3__, ChangeDetectorStatus as ɵChangeDetectorStatus, CodegenComponentFactoryResolver as ɵCodegenComponentFactoryResolver, Compiler_compileModuleAndAllComponentsAsync__POST_R3__ as ɵCompiler_compileModuleAndAllComponentsAsync__POST_R3__, Compiler_compileModuleAndAllComponentsSync__POST_R3__ as ɵCompiler_compileModuleAndAllComponentsSync__POST_R3__, Compiler_compileModuleAsync__POST_R3__ as ɵCompiler_compileModuleAsync__POST_R3__, Compiler_compileModuleSync__POST_R3__ as ɵCompiler_compileModuleSync__POST_R3__, ComponentFactory$1 as ɵComponentFactory, Console as ɵConsole, DEFAULT_LOCALE_ID as ɵDEFAULT_LOCALE_ID, EMPTY_ARRAY as ɵEMPTY_ARRAY, EMPTY_MAP as ɵEMPTY_MAP, INJECTOR_IMPL__POST_R3__ as ɵINJECTOR_IMPL__POST_R3__, INJECTOR_SCOPE as ɵINJECTOR_SCOPE, LifecycleHooksFeature as ɵLifecycleHooksFeature, LocaleDataIndex as ɵLocaleDataIndex, NG_COMP_DEF as ɵNG_COMP_DEF, NG_DIR_DEF as ɵNG_DIR_DEF, NG_ELEMENT_ID as ɵNG_ELEMENT_ID, NG_INJ_DEF as ɵNG_INJ_DEF, NG_MOD_DEF as ɵNG_MOD_DEF, NG_PIPE_DEF as ɵNG_PIPE_DEF, NG_PROV_DEF as ɵNG_PROV_DEF, NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR as ɵNOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR, NO_CHANGE as ɵNO_CHANGE, NgModuleFactory as ɵNgModuleFactory, NoopNgZone as ɵNoopNgZone, ReflectionCapabilities as ɵReflectionCapabilities, ComponentFactory as ɵRender3ComponentFactory, ComponentRef as ɵRender3ComponentRef, NgModuleRef as ɵRender3NgModuleRef, RuntimeError as ɵRuntimeError, SWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__ as ɵSWITCH_CHANGE_DETECTOR_REF_FACTORY__POST_R3__, SWITCH_COMPILE_COMPONENT__POST_R3__ as ɵSWITCH_COMPILE_COMPONENT__POST_R3__, SWITCH_COMPILE_DIRECTIVE__POST_R3__ as ɵSWITCH_COMPILE_DIRECTIVE__POST_R3__, SWITCH_COMPILE_INJECTABLE__POST_R3__ as ɵSWITCH_COMPILE_INJECTABLE__POST_R3__, SWITCH_COMPILE_NGMODULE__POST_R3__ as ɵSWITCH_COMPILE_NGMODULE__POST_R3__, SWITCH_COMPILE_PIPE__POST_R3__ as ɵSWITCH_COMPILE_PIPE__POST_R3__, SWITCH_ELEMENT_REF_FACTORY__POST_R3__ as ɵSWITCH_ELEMENT_REF_FACTORY__POST_R3__, SWITCH_IVY_ENABLED__POST_R3__ as ɵSWITCH_IVY_ENABLED__POST_R3__, SWITCH_RENDERER2_FACTORY__POST_R3__ as ɵSWITCH_RENDERER2_FACTORY__POST_R3__, SWITCH_TEMPLATE_REF_FACTORY__POST_R3__ as ɵSWITCH_TEMPLATE_REF_FACTORY__POST_R3__, SWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__ as ɵSWITCH_VIEW_CONTAINER_REF_FACTORY__POST_R3__, ViewRef$1 as ɵViewRef, _sanitizeHtml as ɵ_sanitizeHtml, _sanitizeUrl as ɵ_sanitizeUrl, allowSanitizationBypassAndThrow as ɵallowSanitizationBypassAndThrow, anchorDef as ɵand, bypassSanitizationTrustHtml as ɵbypassSanitizationTrustHtml, bypassSanitizationTrustResourceUrl as ɵbypassSanitizationTrustResourceUrl, bypassSanitizationTrustScript as ɵbypassSanitizationTrustScript, bypassSanitizationTrustStyle as ɵbypassSanitizationTrustStyle, bypassSanitizationTrustUrl as ɵbypassSanitizationTrustUrl, createComponentFactory as ɵccf, clearOverrides as ɵclearOverrides, clearResolutionOfComponentResourcesQueue as ɵclearResolutionOfComponentResourcesQueue, createNgModuleFactory as ɵcmf, compileComponent as ɵcompileComponent, compileDirective as ɵcompileDirective, compileNgModule as ɵcompileNgModule, compileNgModuleDefs as ɵcompileNgModuleDefs, compileNgModuleFactory__POST_R3__ as ɵcompileNgModuleFactory__POST_R3__, compilePipe as ɵcompilePipe, createInjector$1 as ɵcreateInjector, createRendererType2 as ɵcrt, defaultIterableDiffers as ɵdefaultIterableDiffers, defaultKeyValueDiffers as ɵdefaultKeyValueDiffers, detectChanges as ɵdetectChanges, devModeEqual as ɵdevModeEqual, directiveDef as ɵdid, elementDef as ɵeld, findLocaleData as ɵfindLocaleData, flushModuleScopingQueueAsMuchAsPossible as ɵflushModuleScopingQueueAsMuchAsPossible, getComponentViewDefinitionFactory as ɵgetComponentViewDefinitionFactory, getDebugNodeR2 as ɵgetDebugNodeR2, getDebugNode__POST_R3__ as ɵgetDebugNode__POST_R3__, getDirectives as ɵgetDirectives, getHostElement as ɵgetHostElement, getInjectableDef as ɵgetInjectableDef, getLContext as ɵgetLContext, getLocaleCurrencyCode as ɵgetLocaleCurrencyCode, getLocalePluralCase as ɵgetLocalePluralCase, getModuleFactory__POST_R3__ as ɵgetModuleFactory__POST_R3__, getNgModuleById__POST_R3__ as ɵgetNgModuleById__POST_R3__, getSanitizationBypassType as ɵgetSanitizationBypassType, _global as ɵglobal, initServicesIfNeeded as ɵinitServicesIfNeeded, inlineInterpolate as ɵinlineInterpolate, interpolate as ɵinterpolate, isBoundToModule__POST_R3__ as ɵisBoundToModule__POST_R3__, isDefaultChangeDetectionStrategy as ɵisDefaultChangeDetectionStrategy, isListLikeIterable as ɵisListLikeIterable, isObservable as ɵisObservable, isPromise as ɵisPromise, isSubscribable as ɵisSubscribable, ivyEnabled as ɵivyEnabled, makeDecorator as ɵmakeDecorator, markDirty as ɵmarkDirty, moduleDef as ɵmod, moduleProvideDef as ɵmpd, ngContentDef as ɵncd, noSideEffects as ɵnoSideEffects, nodeValue as ɵnov, overrideComponentView as ɵoverrideComponentView, overrideProvider as ɵoverrideProvider, pureArrayDef as ɵpad, patchComponentDefWithScope as ɵpatchComponentDefWithScope, pipeDef as ɵpid, pureObjectDef as ɵpod, purePipeDef as ɵppd, providerDef as ɵprd, publishDefaultGlobalUtils$1 as ɵpublishDefaultGlobalUtils, publishGlobalUtil as ɵpublishGlobalUtil, queryDef as ɵqud, registerLocaleData as ɵregisterLocaleData, registerModuleFactory as ɵregisterModuleFactory, registerNgModuleType as ɵregisterNgModuleType, renderComponent as ɵrenderComponent, resetCompiledComponents as ɵresetCompiledComponents, resetJitOptions as ɵresetJitOptions, resolveComponentResources as ɵresolveComponentResources, setClassMetadata as ɵsetClassMetadata, setCurrentInjector as ɵsetCurrentInjector, setDocument as ɵsetDocument, setLocaleId as ɵsetLocaleId, store as ɵstore, stringify as ɵstringify, textDef as ɵted, transitiveScopesFor as ɵtransitiveScopesFor, unregisterAllLocaleData as ɵunregisterLocaleData, unwrapSafeValue as ɵunwrapSafeValue, viewDef as ɵvid, whenRendered as ɵwhenRendered, ɵɵCopyDefinitionFeature, FactoryTarget as ɵɵFactoryTarget, ɵɵInheritDefinitionFeature, ɵɵNgOnChangesFeature, ɵɵProvidersFeature, ɵɵadvance, ɵɵattribute, ɵɵattributeInterpolate1, ɵɵattributeInterpolate2, ɵɵattributeInterpolate3, ɵɵattributeInterpolate4, ɵɵattributeInterpolate5, ɵɵattributeInterpolate6, ɵɵattributeInterpolate7, ɵɵattributeInterpolate8, ɵɵattributeInterpolateV, ɵɵclassMap, ɵɵclassMapInterpolate1, ɵɵclassMapInterpolate2, ɵɵclassMapInterpolate3, ɵɵclassMapInterpolate4, ɵɵclassMapInterpolate5, ɵɵclassMapInterpolate6, ɵɵclassMapInterpolate7, ɵɵclassMapInterpolate8, ɵɵclassMapInterpolateV, ɵɵclassProp, ɵɵcontentQuery, ɵɵdefineComponent, ɵɵdefineDirective, ɵɵdefineInjectable, ɵɵdefineInjector, ɵɵdefineNgModule, ɵɵdefinePipe, ɵɵdirectiveInject, ɵɵdisableBindings, ɵɵelement, ɵɵelementContainer, ɵɵelementContainerEnd, ɵɵelementContainerStart, ɵɵelementEnd, ɵɵelementStart, ɵɵenableBindings, ɵɵgetCurrentView, ɵɵgetInheritedFactory, ɵɵhostProperty, ɵɵi18n, ɵɵi18nApply, ɵɵi18nAttributes, ɵɵi18nEnd, ɵɵi18nExp, ɵɵi18nPostprocess, ɵɵi18nStart, ɵɵinject, ɵɵinjectAttribute, ɵɵinvalidFactory, ɵɵinvalidFactoryDep, ɵɵlistener, ɵɵloadQuery, ɵɵnamespaceHTML, ɵɵnamespaceMathML, ɵɵnamespaceSVG, ɵɵnextContext, ɵɵngDeclareClassMetadata, ɵɵngDeclareComponent, ɵɵngDeclareDirective, ɵɵngDeclareFactory, ɵɵngDeclareInjectable, ɵɵngDeclareInjector, ɵɵngDeclareNgModule, ɵɵngDeclarePipe, ɵɵpipe, ɵɵpipeBind1, ɵɵpipeBind2, ɵɵpipeBind3, ɵɵpipeBind4, ɵɵpipeBindV, ɵɵprojection, ɵɵprojectionDef, ɵɵproperty, ɵɵpropertyInterpolate, ɵɵpropertyInterpolate1, ɵɵpropertyInterpolate2, ɵɵpropertyInterpolate3, ɵɵpropertyInterpolate4, ɵɵpropertyInterpolate5, ɵɵpropertyInterpolate6, ɵɵpropertyInterpolate7, ɵɵpropertyInterpolate8, ɵɵpropertyInterpolateV, ɵɵpureFunction0, ɵɵpureFunction1, ɵɵpureFunction2, ɵɵpureFunction3, ɵɵpureFunction4, ɵɵpureFunction5, ɵɵpureFunction6, ɵɵpureFunction7, ɵɵpureFunction8, ɵɵpureFunctionV, ɵɵqueryRefresh, ɵɵreference, ɵɵresolveBody, ɵɵresolveDocument, ɵɵresolveWindow, ɵɵrestoreView, ɵɵsanitizeHtml, ɵɵsanitizeResourceUrl, ɵɵsanitizeScript, ɵɵsanitizeStyle, ɵɵsanitizeUrl, ɵɵsanitizeUrlOrResourceUrl, ɵɵsetComponentScope, ɵɵsetNgModuleScope, ɵɵstyleMap, ɵɵstyleMapInterpolate1, ɵɵstyleMapInterpolate2, ɵɵstyleMapInterpolate3, ɵɵstyleMapInterpolate4, ɵɵstyleMapInterpolate5, ɵɵstyleMapInterpolate6, ɵɵstyleMapInterpolate7, ɵɵstyleMapInterpolate8, ɵɵstyleMapInterpolateV, ɵɵstyleProp, ɵɵstylePropInterpolate1, ɵɵstylePropInterpolate2, ɵɵstylePropInterpolate3, ɵɵstylePropInterpolate4, ɵɵstylePropInterpolate5, ɵɵstylePropInterpolate6, ɵɵstylePropInterpolate7, ɵɵstylePropInterpolate8, ɵɵstylePropInterpolateV, ɵɵsyntheticHostListener, ɵɵsyntheticHostProperty, ɵɵtemplate, ɵɵtemplateRefExtractor, ɵɵtext, ɵɵtextInterpolate, ɵɵtextInterpolate1, ɵɵtextInterpolate2, ɵɵtextInterpolate3, ɵɵtextInterpolate4, ɵɵtextInterpolate5, ɵɵtextInterpolate6, ɵɵtextInterpolate7, ɵɵtextInterpolate8, ɵɵtextInterpolateV, ɵɵtrustConstantHtml, ɵɵtrustConstantResourceUrl, ɵɵviewQuery };
|
|
33093
|
+
//# sourceMappingURL=core.mjs.map
|