@angular/core 0.0.0-6 → 2.0.0-rc.2
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.umd.js → bundles/core.umd.js} +6500 -4671
- package/bundles/core.umd.min.js +6 -0
- package/esm/index.d.ts +5 -4
- package/esm/index.js +9 -8
- package/esm/index.js.map +1 -1
- package/esm/private_export.d.ts +102 -10
- package/esm/private_export.js +41 -9
- package/esm/private_export.js.map +1 -1
- package/esm/private_export.metadata.json +1 -1
- package/esm/src/animation/active_animation_players_map.d.ts +11 -0
- package/esm/src/animation/active_animation_players_map.js +47 -0
- package/esm/src/animation/active_animation_players_map.js.map +1 -0
- package/esm/src/animation/animation_constants.d.ts +4 -0
- package/esm/src/animation/animation_constants.js +5 -0
- package/esm/src/animation/animation_constants.js.map +1 -0
- package/esm/src/animation/animation_constants.metadata.json +1 -0
- package/esm/src/animation/animation_driver.d.ts +9 -0
- package/esm/src/animation/animation_driver.js +9 -0
- package/esm/src/animation/animation_driver.js.map +1 -0
- package/esm/src/animation/animation_group_player.d.ts +18 -0
- package/esm/src/animation/animation_group_player.js +60 -0
- package/esm/src/animation/animation_group_player.js.map +1 -0
- package/esm/src/animation/animation_keyframe.d.ts +6 -0
- package/esm/src/animation/animation_keyframe.js +7 -0
- package/esm/src/animation/animation_keyframe.js.map +1 -0
- package/esm/src/animation/animation_player.d.ts +26 -0
- package/esm/src/animation/animation_player.js +30 -0
- package/esm/src/animation/animation_player.js.map +1 -0
- package/esm/src/animation/animation_sequence_player.d.ts +21 -0
- package/esm/src/animation/animation_sequence_player.js +64 -0
- package/esm/src/animation/animation_sequence_player.js.map +1 -0
- package/esm/src/animation/animation_style_util.d.ts +32 -0
- package/esm/src/animation/animation_style_util.js +91 -0
- package/esm/src/animation/animation_style_util.js.map +1 -0
- package/esm/src/animation/animation_style_util.metadata.json +1 -0
- package/esm/src/animation/animation_styles.d.ts +8 -0
- package/esm/src/animation/animation_styles.js +6 -0
- package/esm/src/animation/animation_styles.js.map +1 -0
- package/esm/src/animation/metadata.d.ts +511 -0
- package/esm/src/animation/metadata.js +565 -0
- package/esm/src/animation/metadata.js.map +1 -0
- package/esm/src/animation/metadata.metadata.json +1 -0
- package/esm/src/application_common_providers.d.ts +1 -0
- package/esm/src/application_common_providers.js +5 -4
- package/esm/src/application_common_providers.js.map +1 -1
- package/esm/src/application_common_providers.metadata.json +1 -1
- package/esm/src/application_ref.d.ts +17 -41
- package/esm/src/application_ref.js +32 -23
- package/esm/src/application_ref.js.map +1 -1
- package/esm/src/application_ref.metadata.json +1 -1
- package/esm/src/application_tokens.d.ts +6 -1
- package/esm/src/application_tokens.js +9 -4
- package/esm/src/application_tokens.js.map +1 -1
- package/esm/src/application_tokens.metadata.json +1 -1
- package/esm/src/change_detection/change_detection.d.ts +9 -8
- package/esm/src/change_detection/change_detection.js +7 -7
- package/esm/src/change_detection/change_detection.js.map +1 -1
- package/esm/src/change_detection/change_detection.metadata.json +1 -1
- package/esm/src/change_detection/change_detection_util.d.ts +3 -1
- package/esm/src/change_detection/change_detection_util.js +6 -5
- package/esm/src/change_detection/change_detection_util.js.map +1 -1
- package/esm/src/change_detection/change_detection_util.metadata.json +1 -1
- package/esm/src/change_detection/change_detector_ref.d.ts +3 -0
- package/esm/src/change_detection/change_detector_ref.js +3 -0
- package/esm/src/change_detection/change_detector_ref.js.map +1 -1
- package/esm/src/change_detection/constants.d.ts +1 -0
- package/esm/src/change_detection/constants.js +4 -3
- package/esm/src/change_detection/constants.js.map +1 -1
- package/esm/src/change_detection/constants.metadata.json +1 -1
- package/esm/src/change_detection/differs/default_iterable_differ.d.ts +6 -94
- package/esm/src/change_detection/differs/default_iterable_differ.js +25 -18
- package/esm/src/change_detection/differs/default_iterable_differ.js.map +1 -1
- package/esm/src/change_detection/differs/default_keyvalue_differ.d.ts +3 -30
- package/esm/src/change_detection/differs/default_keyvalue_differ.js +13 -8
- package/esm/src/change_detection/differs/default_keyvalue_differ.js.map +1 -1
- package/esm/src/change_detection/differs/iterable_differs.d.ts +4 -1
- package/esm/src/change_detection/differs/iterable_differs.js +5 -4
- package/esm/src/change_detection/differs/iterable_differs.js.map +1 -1
- package/esm/src/change_detection/differs/keyvalue_differs.d.ts +2 -1
- package/esm/src/change_detection/differs/keyvalue_differs.js +5 -4
- package/esm/src/change_detection/differs/keyvalue_differs.js.map +1 -1
- package/esm/src/change_detection/pipe_transform.js.map +1 -1
- package/esm/src/change_detection.d.ts +1 -1
- package/esm/src/change_detection.js +5 -5
- package/esm/src/change_detection.js.map +1 -1
- package/esm/src/console.js +2 -1
- package/esm/src/console.js.map +1 -1
- package/esm/src/console.metadata.json +1 -1
- package/esm/src/debug/debug_node.d.ts +20 -2
- package/esm/src/debug/debug_node.js +16 -2
- package/esm/src/debug/debug_node.js.map +1 -1
- package/esm/src/debug/debug_node.metadata.json +1 -0
- package/esm/src/debug/debug_renderer.d.ts +10 -6
- package/esm/src/debug/debug_renderer.js +13 -2
- package/esm/src/debug/debug_renderer.js.map +1 -1
- package/esm/src/di/decorators.d.ts +13 -1
- package/esm/src/di/decorators.js +7 -1
- package/esm/src/di/decorators.js.map +1 -1
- package/esm/src/di/decorators.metadata.json +1 -1
- package/esm/src/di/forward_ref.d.ts +3 -1
- package/esm/src/di/forward_ref.js +3 -1
- package/esm/src/di/forward_ref.js.map +1 -1
- package/esm/src/di/injector.d.ts +4 -1
- package/esm/src/di/injector.js +5 -2
- package/esm/src/di/injector.js.map +1 -1
- package/esm/src/di/injector.metadata.json +1 -1
- package/esm/src/di/metadata.d.ts +8 -1
- package/esm/src/di/metadata.js +10 -3
- package/esm/src/di/metadata.js.map +1 -1
- package/esm/src/di/opaque_token.d.ts +2 -1
- package/esm/src/di/opaque_token.js +22 -21
- package/esm/src/di/opaque_token.js.map +1 -1
- package/esm/src/di/provider.d.ts +11 -10
- package/esm/src/di/provider.js +17 -14
- package/esm/src/di/provider.js.map +1 -1
- package/esm/src/di/provider.metadata.json +1 -0
- package/esm/src/di/provider_util.js.map +1 -1
- package/esm/src/di/provider_util.metadata.json +1 -0
- package/esm/src/di/reflective_exceptions.d.ts +11 -16
- package/esm/src/di/reflective_exceptions.js +28 -22
- package/esm/src/di/reflective_exceptions.js.map +1 -1
- package/esm/src/di/reflective_injector.d.ts +3 -33
- package/esm/src/di/reflective_injector.js +10 -7
- package/esm/src/di/reflective_injector.js.map +1 -1
- package/esm/src/di/reflective_key.d.ts +1 -8
- package/esm/src/di/reflective_key.js +3 -2
- package/esm/src/di/reflective_key.js.map +1 -1
- package/esm/src/di/reflective_provider.d.ts +2 -1
- package/esm/src/di/reflective_provider.js +6 -5
- package/esm/src/di/reflective_provider.js.map +1 -1
- package/esm/src/di/reflective_provider.metadata.json +1 -0
- package/esm/src/di.d.ts +2 -2
- package/esm/src/di.js +6 -6
- package/esm/src/di.js.map +1 -1
- package/esm/src/facade/async.d.ts +11 -4
- package/esm/src/facade/async.js +25 -15
- package/esm/src/facade/async.js.map +1 -1
- package/esm/src/facade/base_wrapped_exception.js +4 -4
- package/esm/src/facade/base_wrapped_exception.js.map +1 -1
- package/esm/src/facade/collection.js +1 -1
- package/esm/src/facade/collection.js.map +1 -1
- package/esm/src/facade/collection.metadata.json +1 -1
- package/esm/src/facade/exception_handler.d.ts +2 -11
- package/esm/src/facade/exception_handler.js +8 -7
- package/esm/src/facade/exception_handler.js.map +1 -1
- package/esm/src/facade/exceptions.d.ts +4 -0
- package/esm/src/facade/exceptions.js +6 -2
- package/esm/src/facade/exceptions.js.map +1 -1
- package/esm/src/facade/exceptions.metadata.json +1 -0
- package/esm/src/facade/lang.d.ts +6 -4
- package/esm/src/facade/lang.js +12 -11
- package/esm/src/facade/lang.js.map +1 -1
- package/esm/src/facade/lang.metadata.json +1 -1
- package/esm/src/facade/math.d.ts +2 -0
- package/esm/src/facade/math.js +4 -0
- package/esm/src/facade/math.js.map +1 -0
- package/esm/src/facade/math.metadata.json +1 -0
- package/esm/src/facade/promise.js.map +1 -1
- package/esm/src/linker/component_factory.d.ts +5 -4
- package/esm/src/linker/component_factory.js +7 -3
- package/esm/src/linker/component_factory.js.map +1 -1
- package/esm/src/linker/component_resolver.d.ts +5 -4
- package/esm/src/linker/component_resolver.js +12 -7
- package/esm/src/linker/component_resolver.js.map +1 -1
- package/esm/src/linker/component_resolver.metadata.json +1 -1
- package/esm/src/linker/debug_context.js +5 -4
- package/esm/src/linker/debug_context.js.map +1 -1
- package/esm/src/linker/dynamic_component_loader.d.ts +5 -6
- package/esm/src/linker/dynamic_component_loader.js +5 -3
- package/esm/src/linker/dynamic_component_loader.js.map +1 -1
- package/esm/src/linker/dynamic_component_loader.metadata.json +1 -1
- package/esm/src/linker/element.d.ts +3 -3
- package/esm/src/linker/element.js +5 -5
- package/esm/src/linker/element.js.map +1 -1
- package/esm/src/linker/element_injector.js.map +1 -1
- package/esm/src/linker/element_ref.d.ts +1 -0
- package/esm/src/linker/element_ref.js +5 -5
- package/esm/src/linker/element_ref.js.map +1 -1
- package/esm/src/linker/exceptions.d.ts +4 -1
- package/esm/src/linker/exceptions.js +4 -1
- package/esm/src/linker/exceptions.js.map +1 -1
- package/esm/src/linker/query_list.d.ts +3 -10
- package/esm/src/linker/query_list.js +8 -7
- package/esm/src/linker/query_list.js.map +1 -1
- package/esm/src/linker/systemjs_component_resolver.d.ts +21 -0
- package/esm/src/linker/systemjs_component_resolver.js +44 -0
- package/esm/src/linker/systemjs_component_resolver.js.map +1 -0
- package/esm/src/linker/template_ref.d.ts +2 -1
- package/esm/src/linker/template_ref.js +1 -0
- package/esm/src/linker/template_ref.js.map +1 -1
- package/esm/src/linker/view.d.ts +12 -1
- package/esm/src/linker/view.js +62 -16
- package/esm/src/linker/view.js.map +1 -1
- package/esm/src/linker/view_container_ref.d.ts +2 -10
- package/esm/src/linker/view_container_ref.js +4 -3
- package/esm/src/linker/view_container_ref.js.map +1 -1
- package/esm/src/linker/view_ref.d.ts +5 -1
- package/esm/src/linker/view_ref.js +6 -2
- package/esm/src/linker/view_ref.js.map +1 -1
- package/esm/src/linker/view_type.js.map +1 -1
- package/esm/src/linker/view_utils.d.ts +4 -4
- package/esm/src/linker/view_utils.js +25 -22
- package/esm/src/linker/view_utils.js.map +1 -1
- package/esm/src/linker/view_utils.metadata.json +1 -1
- package/esm/src/linker.d.ts +5 -4
- package/esm/src/linker.js +5 -4
- package/esm/src/linker.js.map +1 -1
- package/esm/src/metadata/di.d.ts +8 -1
- package/esm/src/metadata/di.js +10 -3
- package/esm/src/metadata/di.js.map +1 -1
- package/esm/src/metadata/directives.d.ts +104 -20
- package/esm/src/metadata/directives.js +25 -19
- package/esm/src/metadata/directives.js.map +1 -1
- package/esm/src/metadata/lifecycle_hooks.d.ts +46 -31
- package/esm/src/metadata/lifecycle_hooks.js +464 -10
- package/esm/src/metadata/lifecycle_hooks.js.map +1 -1
- package/esm/src/metadata/lifecycle_hooks.metadata.json +1 -1
- package/esm/src/metadata/view.d.ts +6 -2
- package/esm/src/metadata/view.js +3 -1
- package/esm/src/metadata/view.js.map +1 -1
- package/esm/src/metadata/view.metadata.json +1 -1
- package/esm/src/metadata.d.ts +49 -15
- package/esm/src/metadata.js +35 -10
- package/esm/src/metadata.js.map +1 -1
- package/esm/src/metadata.metadata.json +1 -1
- package/esm/src/platform_common_providers.d.ts +1 -0
- package/esm/src/platform_common_providers.js +3 -3
- package/esm/src/platform_common_providers.js.map +1 -1
- package/esm/src/platform_common_providers.metadata.json +1 -1
- package/esm/src/platform_directives_and_pipes.d.ts +48 -45
- package/esm/src/platform_directives_and_pipes.js +50 -47
- package/esm/src/platform_directives_and_pipes.js.map +1 -1
- package/esm/src/platform_directives_and_pipes.metadata.json +1 -1
- package/esm/src/profile/profile.d.ts +5 -1
- package/esm/src/profile/profile.js +4 -0
- package/esm/src/profile/profile.js.map +1 -1
- package/esm/src/profile/profile.metadata.json +1 -1
- package/esm/src/profile/wtf_impl.js +1 -1
- package/esm/src/profile/wtf_impl.js.map +1 -1
- package/esm/src/profile/wtf_impl.metadata.json +1 -0
- package/esm/src/profile/wtf_init.js +2 -2
- package/esm/src/profile/wtf_init.js.map +1 -1
- package/esm/src/reflection/platform_reflection_capabilities.d.ts +4 -3
- package/esm/src/reflection/platform_reflection_capabilities.js.map +1 -1
- package/esm/src/reflection/reflection.d.ts +1 -1
- package/esm/src/reflection/reflection.js +2 -2
- package/esm/src/reflection/reflection.js.map +1 -1
- package/esm/src/reflection/reflection.metadata.json +1 -1
- package/esm/src/reflection/reflection_capabilities.d.ts +4 -5
- package/esm/src/reflection/reflection_capabilities.js +22 -10
- package/esm/src/reflection/reflection_capabilities.js.map +1 -1
- package/esm/src/reflection/reflector.d.ts +8 -20
- package/esm/src/reflection/reflector.js +13 -3
- package/esm/src/reflection/reflector.js.map +1 -1
- package/esm/src/reflection/reflector_reader.js +3 -3
- package/esm/src/reflection/reflector_reader.js.map +1 -1
- package/esm/src/reflection/types.js.map +1 -1
- package/esm/src/render/api.d.ts +17 -6
- package/esm/src/render/api.js +8 -1
- package/esm/src/render/api.js.map +1 -1
- package/esm/src/render.d.ts +1 -1
- package/esm/src/render.js +1 -1
- package/esm/src/render.js.map +1 -1
- package/esm/src/security.d.ts +22 -0
- package/esm/src/security.js +23 -0
- package/esm/src/security.js.map +1 -0
- package/esm/src/testability/testability.d.ts +3 -19
- package/esm/src/testability/testability.js +10 -5
- package/esm/src/testability/testability.js.map +1 -1
- package/esm/src/testability/testability.metadata.json +1 -1
- package/esm/src/util/decorators.d.ts +2 -1
- package/esm/src/util/decorators.js +10 -9
- package/esm/src/util/decorators.js.map +1 -1
- package/esm/src/util.js.map +1 -1
- package/esm/src/zone/ng_zone.d.ts +6 -17
- package/esm/src/zone/ng_zone.js +7 -6
- package/esm/src/zone/ng_zone.js.map +1 -1
- package/esm/src/zone/ng_zone_impl.d.ts +1 -4
- package/esm/src/zone/ng_zone_impl.js +3 -2
- package/esm/src/zone/ng_zone_impl.js.map +1 -1
- package/esm/src/zone.js.map +1 -1
- package/esm/testing/async.js +20 -22
- package/esm/testing/async.js.map +1 -1
- package/esm/testing/async.metadata.json +1 -0
- package/esm/testing/async_test_completer.js.map +1 -1
- package/esm/testing/fake_async.d.ts +4 -1
- package/esm/testing/fake_async.js +9 -2
- package/esm/testing/fake_async.js.map +1 -1
- package/esm/testing/lang_utils.js +1 -1
- package/esm/testing/lang_utils.js.map +1 -1
- package/esm/testing/lang_utils.metadata.json +1 -0
- package/esm/testing/logger.js +5 -3
- package/esm/testing/logger.js.map +1 -1
- package/esm/testing/logger.metadata.json +1 -1
- package/esm/testing/mock_application_ref.d.ts +1 -1
- package/esm/testing/mock_application_ref.js +1 -0
- package/esm/testing/mock_application_ref.js.map +1 -1
- package/esm/testing/mock_application_ref.metadata.json +1 -1
- package/esm/testing/ng_zone_mock.d.ts +0 -1
- package/esm/testing/ng_zone_mock.js +2 -1
- package/esm/testing/ng_zone_mock.js.map +1 -1
- package/esm/testing/ng_zone_mock.metadata.json +1 -1
- package/esm/testing/regexp.js +1 -1
- package/esm/testing/regexp.js.map +1 -1
- package/esm/testing/regexp.metadata.json +1 -0
- package/esm/testing/test_injector.d.ts +6 -12
- package/esm/testing/test_injector.js +4 -10
- package/esm/testing/test_injector.js.map +1 -1
- package/esm/testing/test_injector.metadata.json +1 -0
- package/esm/testing/testing.d.ts +2 -2
- package/esm/testing/testing.js +2 -2
- package/esm/testing/testing.js.map +1 -1
- package/esm/testing/testing.metadata.json +1 -1
- package/esm/testing.js.map +1 -1
- package/index.d.ts +5 -4
- package/index.js +10 -8
- package/index.js.map +1 -1
- package/package.json +5 -1
- package/private_export.d.ts +102 -10
- package/private_export.js +41 -9
- package/private_export.js.map +1 -1
- package/private_export.metadata.json +1 -1
- package/src/animation/active_animation_players_map.d.ts +11 -0
- package/src/animation/active_animation_players_map.js +54 -0
- package/src/animation/active_animation_players_map.js.map +1 -0
- package/src/animation/animation_constants.d.ts +4 -0
- package/src/animation/animation_constants.js +6 -0
- package/src/animation/animation_constants.js.map +1 -0
- package/src/animation/animation_constants.metadata.json +1 -0
- package/src/animation/animation_driver.d.ts +9 -0
- package/src/animation/animation_driver.js +25 -0
- package/src/animation/animation_driver.js.map +1 -0
- package/src/animation/animation_group_player.d.ts +18 -0
- package/src/animation/animation_group_player.js +64 -0
- package/src/animation/animation_group_player.js.map +1 -0
- package/src/animation/animation_keyframe.d.ts +6 -0
- package/src/animation/animation_keyframe.js +10 -0
- package/src/animation/animation_keyframe.js.map +1 -0
- package/src/animation/animation_player.d.ts +26 -0
- package/src/animation/animation_player.js +42 -0
- package/src/animation/animation_player.js.map +1 -0
- package/src/animation/animation_sequence_player.d.ts +21 -0
- package/src/animation/animation_sequence_player.js +69 -0
- package/src/animation/animation_sequence_player.js.map +1 -0
- package/src/animation/animation_style_util.d.ts +32 -0
- package/src/animation/animation_style_util.js +99 -0
- package/src/animation/animation_style_util.js.map +1 -0
- package/src/animation/animation_style_util.metadata.json +1 -0
- package/src/animation/animation_styles.d.ts +8 -0
- package/src/animation/animation_styles.js +9 -0
- package/src/animation/animation_styles.js.map +1 -0
- package/src/animation/metadata.d.ts +511 -0
- package/src/animation/metadata.js +627 -0
- package/src/animation/metadata.js.map +1 -0
- package/src/animation/metadata.metadata.json +1 -0
- package/src/application_common_providers.d.ts +1 -0
- package/src/application_common_providers.js +4 -3
- package/src/application_common_providers.js.map +1 -1
- package/src/application_common_providers.metadata.json +1 -1
- package/src/application_ref.d.ts +17 -41
- package/src/application_ref.js +30 -21
- package/src/application_ref.js.map +1 -1
- package/src/application_ref.metadata.json +1 -1
- package/src/application_tokens.d.ts +6 -1
- package/src/application_tokens.js +9 -4
- package/src/application_tokens.js.map +1 -1
- package/src/application_tokens.metadata.json +1 -1
- package/src/change_detection/change_detection.d.ts +9 -8
- package/src/change_detection/change_detection.js +21 -21
- package/src/change_detection/change_detection.js.map +1 -1
- package/src/change_detection/change_detection.metadata.json +1 -1
- package/src/change_detection/change_detection_util.d.ts +3 -1
- package/src/change_detection/change_detection_util.js +6 -5
- package/src/change_detection/change_detection_util.js.map +1 -1
- package/src/change_detection/change_detection_util.metadata.json +1 -1
- package/src/change_detection/change_detector_ref.d.ts +3 -0
- package/src/change_detection/change_detector_ref.js +3 -0
- package/src/change_detection/change_detector_ref.js.map +1 -1
- package/src/change_detection/constants.d.ts +1 -0
- package/src/change_detection/constants.js +4 -3
- package/src/change_detection/constants.js.map +1 -1
- package/src/change_detection/constants.metadata.json +1 -1
- package/src/change_detection/differs/default_iterable_differ.d.ts +6 -94
- package/src/change_detection/differs/default_iterable_differ.js +25 -18
- package/src/change_detection/differs/default_iterable_differ.js.map +1 -1
- package/src/change_detection/differs/default_keyvalue_differ.d.ts +3 -30
- package/src/change_detection/differs/default_keyvalue_differ.js +13 -8
- package/src/change_detection/differs/default_keyvalue_differ.js.map +1 -1
- package/src/change_detection/differs/iterable_differs.d.ts +4 -1
- package/src/change_detection/differs/iterable_differs.js +4 -3
- package/src/change_detection/differs/iterable_differs.js.map +1 -1
- package/src/change_detection/differs/keyvalue_differs.d.ts +2 -1
- package/src/change_detection/differs/keyvalue_differs.js +4 -3
- package/src/change_detection/differs/keyvalue_differs.js.map +1 -1
- package/src/change_detection/pipe_transform.js.map +1 -1
- package/src/change_detection.d.ts +1 -1
- package/src/change_detection.js +9 -9
- package/src/change_detection.js.map +1 -1
- package/src/console.js +2 -1
- package/src/console.js.map +1 -1
- package/src/console.metadata.json +1 -1
- package/src/debug/debug_node.d.ts +20 -2
- package/src/debug/debug_node.js +16 -2
- package/src/debug/debug_node.js.map +1 -1
- package/src/debug/debug_node.metadata.json +1 -0
- package/src/debug/debug_renderer.d.ts +10 -6
- package/src/debug/debug_renderer.js +12 -1
- package/src/debug/debug_renderer.js.map +1 -1
- package/src/di/decorators.d.ts +13 -1
- package/src/di/decorators.js +7 -1
- package/src/di/decorators.js.map +1 -1
- package/src/di/decorators.metadata.json +1 -1
- package/src/di/forward_ref.d.ts +3 -1
- package/src/di/forward_ref.js +3 -1
- package/src/di/forward_ref.js.map +1 -1
- package/src/di/injector.d.ts +4 -1
- package/src/di/injector.js +5 -2
- package/src/di/injector.js.map +1 -1
- package/src/di/injector.metadata.json +1 -1
- package/src/di/metadata.d.ts +8 -1
- package/src/di/metadata.js +10 -3
- package/src/di/metadata.js.map +1 -1
- package/src/di/opaque_token.d.ts +2 -1
- package/src/di/opaque_token.js +22 -21
- package/src/di/opaque_token.js.map +1 -1
- package/src/di/provider.d.ts +11 -10
- package/src/di/provider.js +17 -14
- package/src/di/provider.js.map +1 -1
- package/src/di/provider.metadata.json +1 -0
- package/src/di/provider_util.js.map +1 -1
- package/src/di/provider_util.metadata.json +1 -0
- package/src/di/reflective_exceptions.d.ts +11 -16
- package/src/di/reflective_exceptions.js +28 -22
- package/src/di/reflective_exceptions.js.map +1 -1
- package/src/di/reflective_injector.d.ts +3 -33
- package/src/di/reflective_injector.js +9 -6
- package/src/di/reflective_injector.js.map +1 -1
- package/src/di/reflective_key.d.ts +1 -8
- package/src/di/reflective_key.js +3 -2
- package/src/di/reflective_key.js.map +1 -1
- package/src/di/reflective_provider.d.ts +2 -1
- package/src/di/reflective_provider.js +6 -5
- package/src/di/reflective_provider.js.map +1 -1
- package/src/di/reflective_provider.metadata.json +1 -0
- package/src/di.d.ts +2 -2
- package/src/di.js +7 -9
- package/src/di.js.map +1 -1
- package/src/facade/async.d.ts +11 -4
- package/src/facade/async.js +27 -17
- package/src/facade/async.js.map +1 -1
- package/src/facade/base_wrapped_exception.js +4 -4
- package/src/facade/base_wrapped_exception.js.map +1 -1
- package/src/facade/collection.js.map +1 -1
- package/src/facade/collection.metadata.json +1 -1
- package/src/facade/exception_handler.d.ts +2 -11
- package/src/facade/exception_handler.js +8 -7
- package/src/facade/exception_handler.js.map +1 -1
- package/src/facade/exceptions.d.ts +4 -0
- package/src/facade/exceptions.js +6 -2
- package/src/facade/exceptions.js.map +1 -1
- package/src/facade/exceptions.metadata.json +1 -0
- package/src/facade/lang.d.ts +6 -4
- package/src/facade/lang.js +12 -11
- package/src/facade/lang.js.map +1 -1
- package/src/facade/lang.metadata.json +1 -1
- package/src/facade/math.d.ts +2 -0
- package/src/facade/math.js +5 -0
- package/src/facade/math.js.map +1 -0
- package/src/facade/math.metadata.json +1 -0
- package/src/facade/promise.js.map +1 -1
- package/src/linker/component_factory.d.ts +5 -4
- package/src/linker/component_factory.js +7 -3
- package/src/linker/component_factory.js.map +1 -1
- package/src/linker/component_resolver.d.ts +5 -4
- package/src/linker/component_resolver.js +12 -7
- package/src/linker/component_resolver.js.map +1 -1
- package/src/linker/component_resolver.metadata.json +1 -1
- package/src/linker/debug_context.js +5 -4
- package/src/linker/debug_context.js.map +1 -1
- package/src/linker/dynamic_component_loader.d.ts +5 -6
- package/src/linker/dynamic_component_loader.js +5 -3
- package/src/linker/dynamic_component_loader.js.map +1 -1
- package/src/linker/dynamic_component_loader.metadata.json +1 -1
- package/src/linker/element.d.ts +3 -3
- package/src/linker/element.js +5 -5
- package/src/linker/element.js.map +1 -1
- package/src/linker/element_injector.js.map +1 -1
- package/src/linker/element_ref.d.ts +1 -0
- package/src/linker/element_ref.js +5 -5
- package/src/linker/element_ref.js.map +1 -1
- package/src/linker/exceptions.d.ts +4 -1
- package/src/linker/exceptions.js +4 -1
- package/src/linker/exceptions.js.map +1 -1
- package/src/linker/query_list.d.ts +3 -10
- package/src/linker/query_list.js +8 -7
- package/src/linker/query_list.js.map +1 -1
- package/src/linker/systemjs_component_resolver.d.ts +21 -0
- package/src/linker/systemjs_component_resolver.js +52 -0
- package/src/linker/systemjs_component_resolver.js.map +1 -0
- package/src/linker/template_ref.d.ts +2 -1
- package/src/linker/template_ref.js +1 -0
- package/src/linker/template_ref.js.map +1 -1
- package/src/linker/view.d.ts +12 -1
- package/src/linker/view.js +65 -15
- package/src/linker/view.js.map +1 -1
- package/src/linker/view_container_ref.d.ts +2 -10
- package/src/linker/view_container_ref.js +4 -3
- package/src/linker/view_container_ref.js.map +1 -1
- package/src/linker/view_ref.d.ts +5 -1
- package/src/linker/view_ref.js +6 -2
- package/src/linker/view_ref.js.map +1 -1
- package/src/linker/view_type.js.map +1 -1
- package/src/linker/view_utils.d.ts +4 -4
- package/src/linker/view_utils.js +25 -22
- package/src/linker/view_utils.js.map +1 -1
- package/src/linker/view_utils.metadata.json +1 -1
- package/src/linker.d.ts +5 -4
- package/src/linker.js +12 -9
- package/src/linker.js.map +1 -1
- package/src/metadata/di.d.ts +8 -1
- package/src/metadata/di.js +10 -3
- package/src/metadata/di.js.map +1 -1
- package/src/metadata/directives.d.ts +104 -20
- package/src/metadata/directives.js +25 -27
- package/src/metadata/directives.js.map +1 -1
- package/src/metadata/lifecycle_hooks.d.ts +46 -31
- package/src/metadata/lifecycle_hooks.js +496 -10
- package/src/metadata/lifecycle_hooks.js.map +1 -1
- package/src/metadata/lifecycle_hooks.metadata.json +1 -1
- package/src/metadata/view.d.ts +6 -2
- package/src/metadata/view.js +3 -1
- package/src/metadata/view.js.map +1 -1
- package/src/metadata/view.metadata.json +1 -1
- package/src/metadata.d.ts +49 -15
- package/src/metadata.js +70 -37
- package/src/metadata.js.map +1 -1
- package/src/metadata.metadata.json +1 -1
- package/src/platform_common_providers.d.ts +1 -0
- package/src/platform_common_providers.js +3 -3
- package/src/platform_common_providers.js.map +1 -1
- package/src/platform_common_providers.metadata.json +1 -1
- package/src/platform_directives_and_pipes.d.ts +48 -45
- package/src/platform_directives_and_pipes.js +50 -47
- package/src/platform_directives_and_pipes.js.map +1 -1
- package/src/platform_directives_and_pipes.metadata.json +1 -1
- package/src/profile/profile.d.ts +5 -1
- package/src/profile/profile.js +5 -3
- package/src/profile/profile.js.map +1 -1
- package/src/profile/profile.metadata.json +1 -1
- package/src/profile/wtf_impl.js +1 -1
- package/src/profile/wtf_impl.js.map +1 -1
- package/src/profile/wtf_impl.metadata.json +1 -0
- package/src/profile/wtf_init.js +2 -2
- package/src/profile/wtf_init.js.map +1 -1
- package/src/reflection/platform_reflection_capabilities.d.ts +4 -3
- package/src/reflection/platform_reflection_capabilities.js.map +1 -1
- package/src/reflection/reflection.d.ts +1 -1
- package/src/reflection/reflection.js +2 -2
- package/src/reflection/reflection.js.map +1 -1
- package/src/reflection/reflection.metadata.json +1 -1
- package/src/reflection/reflection_capabilities.d.ts +4 -5
- package/src/reflection/reflection_capabilities.js +24 -10
- package/src/reflection/reflection_capabilities.js.map +1 -1
- package/src/reflection/reflector.d.ts +8 -20
- package/src/reflection/reflector.js +13 -3
- package/src/reflection/reflector.js.map +1 -1
- package/src/reflection/reflector_reader.js +3 -3
- package/src/reflection/reflector_reader.js.map +1 -1
- package/src/reflection/types.js.map +1 -1
- package/src/render/api.d.ts +17 -6
- package/src/render/api.js +8 -1
- package/src/render/api.js.map +1 -1
- package/src/render.d.ts +1 -1
- package/src/render.js +2 -2
- package/src/render.js.map +1 -1
- package/src/security.d.ts +22 -0
- package/src/security.js +28 -0
- package/src/security.js.map +1 -0
- package/src/testability/testability.d.ts +3 -19
- package/src/testability/testability.js +10 -5
- package/src/testability/testability.js.map +1 -1
- package/src/testability/testability.metadata.json +1 -1
- package/src/util/decorators.d.ts +2 -1
- package/src/util/decorators.js +10 -9
- package/src/util/decorators.js.map +1 -1
- package/src/util.js.map +1 -1
- package/src/zone/ng_zone.d.ts +6 -17
- package/src/zone/ng_zone.js +11 -6
- package/src/zone/ng_zone.js.map +1 -1
- package/src/zone/ng_zone_impl.d.ts +1 -4
- package/src/zone/ng_zone_impl.js +3 -2
- package/src/zone/ng_zone_impl.js.map +1 -1
- package/src/zone.js.map +1 -1
- package/testing/async.js +20 -22
- package/testing/async.js.map +1 -1
- package/testing/async.metadata.json +1 -0
- package/testing/async_test_completer.js.map +1 -1
- package/testing/fake_async.d.ts +4 -1
- package/testing/fake_async.js +10 -2
- package/testing/fake_async.js.map +1 -1
- package/testing/lang_utils.js +1 -1
- package/testing/lang_utils.js.map +1 -1
- package/testing/lang_utils.metadata.json +1 -0
- package/testing/logger.js +5 -3
- package/testing/logger.js.map +1 -1
- package/testing/logger.metadata.json +1 -1
- package/testing/mock_application_ref.d.ts +1 -1
- package/testing/mock_application_ref.js +1 -0
- package/testing/mock_application_ref.js.map +1 -1
- package/testing/mock_application_ref.metadata.json +1 -1
- package/testing/ng_zone_mock.d.ts +0 -1
- package/testing/ng_zone_mock.js +2 -1
- package/testing/ng_zone_mock.js.map +1 -1
- package/testing/ng_zone_mock.metadata.json +1 -1
- package/testing/regexp.js +1 -1
- package/testing/regexp.js.map +1 -1
- package/testing/regexp.metadata.json +1 -0
- package/testing/test_injector.d.ts +6 -12
- package/testing/test_injector.js +3 -9
- package/testing/test_injector.js.map +1 -1
- package/testing/test_injector.metadata.json +1 -0
- package/testing/testing.d.ts +2 -2
- package/testing/testing.js +5 -5
- package/testing/testing.js.map +1 -1
- package/testing/testing.metadata.json +1 -1
- package/testing.js.map +1 -1
- package/esm/core.umd.js.map +0 -1
package/esm/src/metadata.d.ts
CHANGED
|
@@ -2,14 +2,15 @@
|
|
|
2
2
|
* This indirection is needed to free up Component, etc symbols in the public API
|
|
3
3
|
* to be used by the decorator versions of these annotations.
|
|
4
4
|
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
export { AfterContentInit, AfterContentChecked, AfterViewInit, AfterViewChecked, OnChanges, OnDestroy, OnInit, DoCheck } from './metadata/lifecycle_hooks';
|
|
9
|
-
import { QueryMetadata, ContentChildrenMetadata, ViewChildrenMetadata, AttributeMetadata } from './metadata/di';
|
|
5
|
+
import { ChangeDetectionStrategy } from '../src/change_detection/change_detection';
|
|
6
|
+
import { AnimationEntryMetadata } from './animation/metadata';
|
|
7
|
+
import { AttributeMetadata, ContentChildrenMetadata, QueryMetadata, ViewChildrenMetadata } from './metadata/di';
|
|
10
8
|
import { ComponentMetadata, DirectiveMetadata } from './metadata/directives';
|
|
11
|
-
import {
|
|
12
|
-
|
|
9
|
+
import { ViewEncapsulation, ViewMetadata } from './metadata/view';
|
|
10
|
+
export { AttributeMetadata, ContentChildMetadata, ContentChildrenMetadata, QueryMetadata, ViewChildMetadata, ViewChildrenMetadata, ViewQueryMetadata } from './metadata/di';
|
|
11
|
+
export { ComponentMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, InputMetadata, OutputMetadata, PipeMetadata } from './metadata/directives';
|
|
12
|
+
export { AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, OnChanges, OnDestroy, OnInit } from './metadata/lifecycle_hooks';
|
|
13
|
+
export { ViewEncapsulation, ViewMetadata } from './metadata/view';
|
|
13
14
|
import { TypeDecorator } from './util/decorators';
|
|
14
15
|
import { Type } from '../src/facade/lang';
|
|
15
16
|
/**
|
|
@@ -36,6 +37,7 @@ export interface ComponentDecorator extends TypeDecorator {
|
|
|
36
37
|
renderer?: string;
|
|
37
38
|
styles?: string[];
|
|
38
39
|
styleUrls?: string[];
|
|
40
|
+
animations?: AnimationEntryMetadata[];
|
|
39
41
|
}): ViewDecorator;
|
|
40
42
|
}
|
|
41
43
|
/**
|
|
@@ -55,6 +57,7 @@ export interface ViewDecorator extends TypeDecorator {
|
|
|
55
57
|
renderer?: string;
|
|
56
58
|
styles?: string[];
|
|
57
59
|
styleUrls?: string[];
|
|
60
|
+
animations?: AnimationEntryMetadata[];
|
|
58
61
|
}): ViewDecorator;
|
|
59
62
|
}
|
|
60
63
|
/**
|
|
@@ -98,7 +101,6 @@ export interface DirectiveMetadataFactory {
|
|
|
98
101
|
host?: {
|
|
99
102
|
[key: string]: string;
|
|
100
103
|
};
|
|
101
|
-
bindings?: any[];
|
|
102
104
|
providers?: any[];
|
|
103
105
|
exportAs?: string;
|
|
104
106
|
queries?: {
|
|
@@ -114,7 +116,6 @@ export interface DirectiveMetadataFactory {
|
|
|
114
116
|
host?: {
|
|
115
117
|
[key: string]: string;
|
|
116
118
|
};
|
|
117
|
-
bindings?: any[];
|
|
118
119
|
providers?: any[];
|
|
119
120
|
exportAs?: string;
|
|
120
121
|
queries?: {
|
|
@@ -163,20 +164,19 @@ export interface ComponentMetadataFactory {
|
|
|
163
164
|
host?: {
|
|
164
165
|
[key: string]: string;
|
|
165
166
|
};
|
|
166
|
-
bindings?: any[];
|
|
167
167
|
providers?: any[];
|
|
168
168
|
exportAs?: string;
|
|
169
169
|
moduleId?: string;
|
|
170
170
|
queries?: {
|
|
171
171
|
[key: string]: any;
|
|
172
172
|
};
|
|
173
|
-
viewBindings?: any[];
|
|
174
173
|
viewProviders?: any[];
|
|
175
174
|
changeDetection?: ChangeDetectionStrategy;
|
|
176
175
|
templateUrl?: string;
|
|
177
176
|
template?: string;
|
|
178
177
|
styleUrls?: string[];
|
|
179
178
|
styles?: string[];
|
|
179
|
+
animations?: AnimationEntryMetadata[];
|
|
180
180
|
directives?: Array<Type | any[]>;
|
|
181
181
|
pipes?: Array<Type | any[]>;
|
|
182
182
|
encapsulation?: ViewEncapsulation;
|
|
@@ -190,20 +190,19 @@ export interface ComponentMetadataFactory {
|
|
|
190
190
|
host?: {
|
|
191
191
|
[key: string]: string;
|
|
192
192
|
};
|
|
193
|
-
bindings?: any[];
|
|
194
193
|
providers?: any[];
|
|
195
194
|
exportAs?: string;
|
|
196
195
|
moduleId?: string;
|
|
197
196
|
queries?: {
|
|
198
197
|
[key: string]: any;
|
|
199
198
|
};
|
|
200
|
-
viewBindings?: any[];
|
|
201
199
|
viewProviders?: any[];
|
|
202
200
|
changeDetection?: ChangeDetectionStrategy;
|
|
203
201
|
templateUrl?: string;
|
|
204
202
|
template?: string;
|
|
205
203
|
styleUrls?: string[];
|
|
206
204
|
styles?: string[];
|
|
205
|
+
animations?: AnimationEntryMetadata[];
|
|
207
206
|
directives?: Array<Type | any[]>;
|
|
208
207
|
pipes?: Array<Type | any[]>;
|
|
209
208
|
encapsulation?: ViewEncapsulation;
|
|
@@ -260,6 +259,7 @@ export interface ViewMetadataFactory {
|
|
|
260
259
|
encapsulation?: ViewEncapsulation;
|
|
261
260
|
styles?: string[];
|
|
262
261
|
styleUrls?: string[];
|
|
262
|
+
animations?: AnimationEntryMetadata[];
|
|
263
263
|
}): ViewDecorator;
|
|
264
264
|
new (obj: {
|
|
265
265
|
templateUrl?: string;
|
|
@@ -269,6 +269,7 @@ export interface ViewMetadataFactory {
|
|
|
269
269
|
encapsulation?: ViewEncapsulation;
|
|
270
270
|
styles?: string[];
|
|
271
271
|
styleUrls?: string[];
|
|
272
|
+
animations?: AnimationEntryMetadata[];
|
|
272
273
|
}): ViewMetadata;
|
|
273
274
|
}
|
|
274
275
|
/**
|
|
@@ -351,6 +352,7 @@ export interface AttributeMetadataFactory {
|
|
|
351
352
|
* [new ng.Query(SomeType)]
|
|
352
353
|
* ]
|
|
353
354
|
* ```
|
|
355
|
+
* @deprecated
|
|
354
356
|
*/
|
|
355
357
|
export interface QueryMetadataFactory {
|
|
356
358
|
(selector: Type | string, {descendants, read}?: {
|
|
@@ -364,6 +366,7 @@ export interface QueryMetadataFactory {
|
|
|
364
366
|
}
|
|
365
367
|
/**
|
|
366
368
|
* Factory for {@link ContentChildren}.
|
|
369
|
+
* @stable
|
|
367
370
|
*/
|
|
368
371
|
export interface ContentChildrenMetadataFactory {
|
|
369
372
|
(selector: Type | string, {descendants, read}?: {
|
|
@@ -377,6 +380,7 @@ export interface ContentChildrenMetadataFactory {
|
|
|
377
380
|
}
|
|
378
381
|
/**
|
|
379
382
|
* Factory for {@link ContentChild}.
|
|
383
|
+
* @stable
|
|
380
384
|
*/
|
|
381
385
|
export interface ContentChildMetadataFactory {
|
|
382
386
|
(selector: Type | string, {read}?: {
|
|
@@ -388,6 +392,7 @@ export interface ContentChildMetadataFactory {
|
|
|
388
392
|
}
|
|
389
393
|
/**
|
|
390
394
|
* Factory for {@link ViewChildren}.
|
|
395
|
+
* @stable
|
|
391
396
|
*/
|
|
392
397
|
export interface ViewChildrenMetadataFactory {
|
|
393
398
|
(selector: Type | string, {read}?: {
|
|
@@ -399,6 +404,7 @@ export interface ViewChildrenMetadataFactory {
|
|
|
399
404
|
}
|
|
400
405
|
/**
|
|
401
406
|
* Factory for {@link ViewChild}.
|
|
407
|
+
* @stable
|
|
402
408
|
*/
|
|
403
409
|
export interface ViewChildMetadataFactory {
|
|
404
410
|
(selector: Type | string, {read}?: {
|
|
@@ -414,6 +420,7 @@ export interface ViewChildMetadataFactory {
|
|
|
414
420
|
* ### Example
|
|
415
421
|
*
|
|
416
422
|
* {@example core/ts/metadata/metadata.ts region='pipe'}
|
|
423
|
+
* @stable
|
|
417
424
|
*/
|
|
418
425
|
export interface PipeMetadataFactory {
|
|
419
426
|
(obj: {
|
|
@@ -429,6 +436,7 @@ export interface PipeMetadataFactory {
|
|
|
429
436
|
* {@link InputMetadata} factory for creating decorators.
|
|
430
437
|
*
|
|
431
438
|
* See {@link InputMetadata}.
|
|
439
|
+
* @stable
|
|
432
440
|
*/
|
|
433
441
|
export interface InputMetadataFactory {
|
|
434
442
|
(bindingPropertyName?: string): any;
|
|
@@ -438,6 +446,7 @@ export interface InputMetadataFactory {
|
|
|
438
446
|
* {@link OutputMetadata} factory for creating decorators.
|
|
439
447
|
*
|
|
440
448
|
* See {@link OutputMetadata}.
|
|
449
|
+
* @stable
|
|
441
450
|
*/
|
|
442
451
|
export interface OutputMetadataFactory {
|
|
443
452
|
(bindingPropertyName?: string): any;
|
|
@@ -445,6 +454,7 @@ export interface OutputMetadataFactory {
|
|
|
445
454
|
}
|
|
446
455
|
/**
|
|
447
456
|
* {@link HostBindingMetadata} factory function.
|
|
457
|
+
* @stable
|
|
448
458
|
*/
|
|
449
459
|
export interface HostBindingMetadataFactory {
|
|
450
460
|
(hostPropertyName?: string): any;
|
|
@@ -452,6 +462,7 @@ export interface HostBindingMetadataFactory {
|
|
|
452
462
|
}
|
|
453
463
|
/**
|
|
454
464
|
* {@link HostListenerMetadata} factory function.
|
|
465
|
+
* @stable
|
|
455
466
|
*/
|
|
456
467
|
export interface HostListenerMetadataFactory {
|
|
457
468
|
(eventName: string, args?: string[]): any;
|
|
@@ -479,6 +490,7 @@ export interface HostListenerMetadataFactory {
|
|
|
479
490
|
* ### Example
|
|
480
491
|
*
|
|
481
492
|
* {@example core/ts/metadata/metadata.ts region='component'}
|
|
493
|
+
* @stable
|
|
482
494
|
*/
|
|
483
495
|
export declare var Component: ComponentMetadataFactory;
|
|
484
496
|
/**
|
|
@@ -858,6 +870,7 @@ export declare var Component: ComponentMetadataFactory;
|
|
|
858
870
|
* Note also that although the `<li></li>` template still exists inside the `<template></template>`,
|
|
859
871
|
* the instantiated
|
|
860
872
|
* view occurs on the second `<li></li>` which is a sibling to the `<template>` element.
|
|
873
|
+
* @stable
|
|
861
874
|
*/
|
|
862
875
|
export declare var Directive: DirectiveMetadataFactory;
|
|
863
876
|
/**
|
|
@@ -876,6 +889,7 @@ export declare var Directive: DirectiveMetadataFactory;
|
|
|
876
889
|
* A decorator can inject string literal `text` like so:
|
|
877
890
|
*
|
|
878
891
|
* {@example core/ts/metadata/metadata.ts region='attributeMetadata'}
|
|
892
|
+
* @stable
|
|
879
893
|
*/
|
|
880
894
|
export declare var Attribute: AttributeMetadataFactory;
|
|
881
895
|
/**
|
|
@@ -984,6 +998,7 @@ export declare var Attribute: AttributeMetadataFactory;
|
|
|
984
998
|
*
|
|
985
999
|
* The injected object is an unmodifiable live list.
|
|
986
1000
|
* See {@link QueryList} for more details.
|
|
1001
|
+
* @deprecated
|
|
987
1002
|
*/
|
|
988
1003
|
export declare var Query: QueryMetadataFactory;
|
|
989
1004
|
/**
|
|
@@ -1005,6 +1020,7 @@ export declare var Query: QueryMetadataFactory;
|
|
|
1005
1020
|
* }
|
|
1006
1021
|
* }
|
|
1007
1022
|
* ```
|
|
1023
|
+
* @stable
|
|
1008
1024
|
*/
|
|
1009
1025
|
export declare var ContentChildren: ContentChildrenMetadataFactory;
|
|
1010
1026
|
/**
|
|
@@ -1020,12 +1036,22 @@ export declare var ContentChildren: ContentChildrenMetadataFactory;
|
|
|
1020
1036
|
* })
|
|
1021
1037
|
* class SomeDir {
|
|
1022
1038
|
* @ContentChild(ChildDirective) contentChild;
|
|
1039
|
+
* @ContentChild('container_ref') containerChild
|
|
1023
1040
|
*
|
|
1024
1041
|
* ngAfterContentInit() {
|
|
1025
1042
|
* // contentChild is set
|
|
1043
|
+
* // containerChild is set
|
|
1026
1044
|
* }
|
|
1027
1045
|
* }
|
|
1028
1046
|
* ```
|
|
1047
|
+
*
|
|
1048
|
+
* ```html
|
|
1049
|
+
* <container #container_ref>
|
|
1050
|
+
* <item>a</item>
|
|
1051
|
+
* <item>b</item>
|
|
1052
|
+
* </container>
|
|
1053
|
+
* ```
|
|
1054
|
+
* @stable
|
|
1029
1055
|
*/
|
|
1030
1056
|
export declare var ContentChild: ContentChildMetadataFactory;
|
|
1031
1057
|
/**
|
|
@@ -1106,6 +1132,7 @@ export declare var ContentChild: ContentChildMetadataFactory;
|
|
|
1106
1132
|
* ```
|
|
1107
1133
|
*
|
|
1108
1134
|
* See also: [ViewChildrenMetadata]
|
|
1135
|
+
* @stable
|
|
1109
1136
|
*/
|
|
1110
1137
|
export declare var ViewChildren: ViewChildrenMetadataFactory;
|
|
1111
1138
|
/**
|
|
@@ -1177,6 +1204,7 @@ export declare var ViewChildren: ViewChildrenMetadataFactory;
|
|
|
1177
1204
|
* }
|
|
1178
1205
|
* ```
|
|
1179
1206
|
* See also: [ViewChildMetadata]
|
|
1207
|
+
* @stable
|
|
1180
1208
|
*/
|
|
1181
1209
|
export declare var ViewChild: ViewChildMetadataFactory;
|
|
1182
1210
|
/**
|
|
@@ -1213,6 +1241,7 @@ export declare var ViewChild: ViewChildMetadataFactory;
|
|
|
1213
1241
|
*
|
|
1214
1242
|
* The injected object is an iterable and observable live list.
|
|
1215
1243
|
* See {@link QueryList} for more details.
|
|
1244
|
+
* @deprecated
|
|
1216
1245
|
*/
|
|
1217
1246
|
export declare var ViewQuery: QueryMetadataFactory;
|
|
1218
1247
|
/**
|
|
@@ -1221,6 +1250,7 @@ export declare var ViewQuery: QueryMetadataFactory;
|
|
|
1221
1250
|
* ### Example
|
|
1222
1251
|
*
|
|
1223
1252
|
* {@example core/ts/metadata/metadata.ts region='pipe'}
|
|
1253
|
+
* @stable
|
|
1224
1254
|
*/
|
|
1225
1255
|
export declare var Pipe: PipeMetadataFactory;
|
|
1226
1256
|
/**
|
|
@@ -1263,6 +1293,7 @@ export declare var Pipe: PipeMetadataFactory;
|
|
|
1263
1293
|
*
|
|
1264
1294
|
* bootstrap(App);
|
|
1265
1295
|
* ```
|
|
1296
|
+
* @stable
|
|
1266
1297
|
*/
|
|
1267
1298
|
export declare var Input: InputMetadataFactory;
|
|
1268
1299
|
/**
|
|
@@ -1305,6 +1336,7 @@ export declare var Input: InputMetadataFactory;
|
|
|
1305
1336
|
* }
|
|
1306
1337
|
* bootstrap(App);
|
|
1307
1338
|
* ```
|
|
1339
|
+
* @stable
|
|
1308
1340
|
*/
|
|
1309
1341
|
export declare var Output: OutputMetadataFactory;
|
|
1310
1342
|
/**
|
|
@@ -1326,8 +1358,8 @@ export declare var Output: OutputMetadataFactory;
|
|
|
1326
1358
|
* @Directive({selector: '[ngModel]'})
|
|
1327
1359
|
* class NgModelStatus {
|
|
1328
1360
|
* constructor(public control:NgModel) {}
|
|
1329
|
-
* @HostBinding('
|
|
1330
|
-
* @HostBinding('
|
|
1361
|
+
* @HostBinding('class.valid') get valid() { return this.control.valid; }
|
|
1362
|
+
* @HostBinding('class.invalid') get invalid() { return this.control.invalid; }
|
|
1331
1363
|
* }
|
|
1332
1364
|
*
|
|
1333
1365
|
* @Component({
|
|
@@ -1341,6 +1373,7 @@ export declare var Output: OutputMetadataFactory;
|
|
|
1341
1373
|
*
|
|
1342
1374
|
* bootstrap(App);
|
|
1343
1375
|
* ```
|
|
1376
|
+
* @stable
|
|
1344
1377
|
*/
|
|
1345
1378
|
export declare var HostBinding: HostBindingMetadataFactory;
|
|
1346
1379
|
/**
|
|
@@ -1376,5 +1409,6 @@ export declare var HostBinding: HostBindingMetadataFactory;
|
|
|
1376
1409
|
*
|
|
1377
1410
|
* bootstrap(App);
|
|
1378
1411
|
* ```
|
|
1412
|
+
* @stable
|
|
1379
1413
|
*/
|
|
1380
1414
|
export declare var HostListener: HostListenerMetadataFactory;
|
package/esm/src/metadata.js
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This indirection is needed to free up Component, etc symbols in the public API
|
|
3
|
-
* to be used by the decorator versions of these annotations.
|
|
4
|
-
*/
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
export { ViewMetadata, ViewEncapsulation } from './metadata/view';
|
|
8
|
-
import { QueryMetadata, ContentChildrenMetadata, ContentChildMetadata, ViewChildrenMetadata, ViewChildMetadata, ViewQueryMetadata, AttributeMetadata } from './metadata/di';
|
|
9
|
-
import { ComponentMetadata, DirectiveMetadata, PipeMetadata, InputMetadata, OutputMetadata, HostBindingMetadata, HostListenerMetadata } from './metadata/directives';
|
|
2
|
+
* This indirection is needed to free up Component, etc symbols in the public API
|
|
3
|
+
* to be used by the decorator versions of these annotations.
|
|
4
|
+
*/
|
|
5
|
+
import { AttributeMetadata, ContentChildMetadata, ContentChildrenMetadata, QueryMetadata, ViewChildMetadata, ViewChildrenMetadata, ViewQueryMetadata } from './metadata/di';
|
|
6
|
+
import { ComponentMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, InputMetadata, OutputMetadata, PipeMetadata } from './metadata/directives';
|
|
10
7
|
import { ViewMetadata } from './metadata/view';
|
|
8
|
+
export { AttributeMetadata, ContentChildMetadata, ContentChildrenMetadata, QueryMetadata, ViewChildMetadata, ViewChildrenMetadata, ViewQueryMetadata } from './metadata/di';
|
|
9
|
+
export { ComponentMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, InputMetadata, OutputMetadata, PipeMetadata } from './metadata/directives';
|
|
10
|
+
export { AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, OnChanges, OnDestroy, OnInit } from './metadata/lifecycle_hooks';
|
|
11
|
+
export { ViewEncapsulation, ViewMetadata } from './metadata/view';
|
|
11
12
|
import { makeDecorator, makeParamDecorator, makePropDecorator } from './util/decorators';
|
|
12
13
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ComponentMetadata.
|
|
13
14
|
/**
|
|
@@ -32,6 +33,7 @@ import { makeDecorator, makeParamDecorator, makePropDecorator } from './util/dec
|
|
|
32
33
|
* ### Example
|
|
33
34
|
*
|
|
34
35
|
* {@example core/ts/metadata/metadata.ts region='component'}
|
|
36
|
+
* @stable
|
|
35
37
|
*/
|
|
36
38
|
export var Component = makeDecorator(ComponentMetadata, (fn) => fn.View = View);
|
|
37
39
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from DirectiveMetadata.
|
|
@@ -412,6 +414,7 @@ export var Component = makeDecorator(ComponentMetadata, (fn) => fn.View = View);
|
|
|
412
414
|
* Note also that although the `<li></li>` template still exists inside the `<template></template>`,
|
|
413
415
|
* the instantiated
|
|
414
416
|
* view occurs on the second `<li></li>` which is a sibling to the `<template>` element.
|
|
417
|
+
* @stable
|
|
415
418
|
*/
|
|
416
419
|
export var Directive = makeDecorator(DirectiveMetadata);
|
|
417
420
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewMetadata.
|
|
@@ -443,6 +446,7 @@ export var Directive = makeDecorator(DirectiveMetadata);
|
|
|
443
446
|
* }
|
|
444
447
|
* }
|
|
445
448
|
* ```
|
|
449
|
+
* @deprecated
|
|
446
450
|
*/
|
|
447
451
|
var View = makeDecorator(ViewMetadata, (fn) => fn.View = View);
|
|
448
452
|
/**
|
|
@@ -461,6 +465,7 @@ var View = makeDecorator(ViewMetadata, (fn) => fn.View = View);
|
|
|
461
465
|
* A decorator can inject string literal `text` like so:
|
|
462
466
|
*
|
|
463
467
|
* {@example core/ts/metadata/metadata.ts region='attributeMetadata'}
|
|
468
|
+
* @stable
|
|
464
469
|
*/
|
|
465
470
|
export var Attribute = makeParamDecorator(AttributeMetadata);
|
|
466
471
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from QueryMetadata.
|
|
@@ -570,6 +575,7 @@ export var Attribute = makeParamDecorator(AttributeMetadata);
|
|
|
570
575
|
*
|
|
571
576
|
* The injected object is an unmodifiable live list.
|
|
572
577
|
* See {@link QueryList} for more details.
|
|
578
|
+
* @deprecated
|
|
573
579
|
*/
|
|
574
580
|
export var Query = makeParamDecorator(QueryMetadata);
|
|
575
581
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ContentChildrenMetadata.
|
|
@@ -592,6 +598,7 @@ export var Query = makeParamDecorator(QueryMetadata);
|
|
|
592
598
|
* }
|
|
593
599
|
* }
|
|
594
600
|
* ```
|
|
601
|
+
* @stable
|
|
595
602
|
*/
|
|
596
603
|
export var ContentChildren = makePropDecorator(ContentChildrenMetadata);
|
|
597
604
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ContentChildMetadata.
|
|
@@ -608,12 +615,22 @@ export var ContentChildren = makePropDecorator(ContentChildrenMetadata);
|
|
|
608
615
|
* })
|
|
609
616
|
* class SomeDir {
|
|
610
617
|
* @ContentChild(ChildDirective) contentChild;
|
|
618
|
+
* @ContentChild('container_ref') containerChild
|
|
611
619
|
*
|
|
612
620
|
* ngAfterContentInit() {
|
|
613
621
|
* // contentChild is set
|
|
622
|
+
* // containerChild is set
|
|
614
623
|
* }
|
|
615
624
|
* }
|
|
616
625
|
* ```
|
|
626
|
+
*
|
|
627
|
+
* ```html
|
|
628
|
+
* <container #container_ref>
|
|
629
|
+
* <item>a</item>
|
|
630
|
+
* <item>b</item>
|
|
631
|
+
* </container>
|
|
632
|
+
* ```
|
|
633
|
+
* @stable
|
|
617
634
|
*/
|
|
618
635
|
export var ContentChild = makePropDecorator(ContentChildMetadata);
|
|
619
636
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildrenMetadata.
|
|
@@ -695,6 +712,7 @@ export var ContentChild = makePropDecorator(ContentChildMetadata);
|
|
|
695
712
|
* ```
|
|
696
713
|
*
|
|
697
714
|
* See also: [ViewChildrenMetadata]
|
|
715
|
+
* @stable
|
|
698
716
|
*/
|
|
699
717
|
export var ViewChildren = makePropDecorator(ViewChildrenMetadata);
|
|
700
718
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildMetadata.
|
|
@@ -767,6 +785,7 @@ export var ViewChildren = makePropDecorator(ViewChildrenMetadata);
|
|
|
767
785
|
* }
|
|
768
786
|
* ```
|
|
769
787
|
* See also: [ViewChildMetadata]
|
|
788
|
+
* @stable
|
|
770
789
|
*/
|
|
771
790
|
export var ViewChild = makePropDecorator(ViewChildMetadata);
|
|
772
791
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewQueryMetadata.
|
|
@@ -804,6 +823,7 @@ export var ViewChild = makePropDecorator(ViewChildMetadata);
|
|
|
804
823
|
*
|
|
805
824
|
* The injected object is an iterable and observable live list.
|
|
806
825
|
* See {@link QueryList} for more details.
|
|
826
|
+
* @deprecated
|
|
807
827
|
*/
|
|
808
828
|
export var ViewQuery = makeParamDecorator(ViewQueryMetadata);
|
|
809
829
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from PipeMetadata.
|
|
@@ -813,6 +833,7 @@ export var ViewQuery = makeParamDecorator(ViewQueryMetadata);
|
|
|
813
833
|
* ### Example
|
|
814
834
|
*
|
|
815
835
|
* {@example core/ts/metadata/metadata.ts region='pipe'}
|
|
836
|
+
* @stable
|
|
816
837
|
*/
|
|
817
838
|
export var Pipe = makeDecorator(PipeMetadata);
|
|
818
839
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from InputMetadata.
|
|
@@ -856,6 +877,7 @@ export var Pipe = makeDecorator(PipeMetadata);
|
|
|
856
877
|
*
|
|
857
878
|
* bootstrap(App);
|
|
858
879
|
* ```
|
|
880
|
+
* @stable
|
|
859
881
|
*/
|
|
860
882
|
export var Input = makePropDecorator(InputMetadata);
|
|
861
883
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from OutputMetadata.
|
|
@@ -899,6 +921,7 @@ export var Input = makePropDecorator(InputMetadata);
|
|
|
899
921
|
* }
|
|
900
922
|
* bootstrap(App);
|
|
901
923
|
* ```
|
|
924
|
+
* @stable
|
|
902
925
|
*/
|
|
903
926
|
export var Output = makePropDecorator(OutputMetadata);
|
|
904
927
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from HostBindingMetadata.
|
|
@@ -921,8 +944,8 @@ export var Output = makePropDecorator(OutputMetadata);
|
|
|
921
944
|
* @Directive({selector: '[ngModel]'})
|
|
922
945
|
* class NgModelStatus {
|
|
923
946
|
* constructor(public control:NgModel) {}
|
|
924
|
-
* @HostBinding('
|
|
925
|
-
* @HostBinding('
|
|
947
|
+
* @HostBinding('class.valid') get valid() { return this.control.valid; }
|
|
948
|
+
* @HostBinding('class.invalid') get invalid() { return this.control.invalid; }
|
|
926
949
|
* }
|
|
927
950
|
*
|
|
928
951
|
* @Component({
|
|
@@ -936,6 +959,7 @@ export var Output = makePropDecorator(OutputMetadata);
|
|
|
936
959
|
*
|
|
937
960
|
* bootstrap(App);
|
|
938
961
|
* ```
|
|
962
|
+
* @stable
|
|
939
963
|
*/
|
|
940
964
|
export var HostBinding = makePropDecorator(HostBindingMetadata);
|
|
941
965
|
// TODO(alexeagle): remove the duplication of this doc. It is copied from HostListenerMetadata.
|
|
@@ -972,6 +996,7 @@ export var HostBinding = makePropDecorator(HostBindingMetadata);
|
|
|
972
996
|
*
|
|
973
997
|
* bootstrap(App);
|
|
974
998
|
* ```
|
|
999
|
+
* @stable
|
|
975
1000
|
*/
|
|
976
1001
|
export var HostListener = makePropDecorator(HostListenerMetadata);
|
|
977
1002
|
//# sourceMappingURL=metadata.js.map
|
package/esm/src/metadata.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"metadata.js","sourceRoot":"/Users/iminar/Dev/angular/modules/@angular/core/","sources":["src/metadata.ts"],"names":[],"mappings":"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"}
|
|
1
|
+
{"version":3,"file":"metadata.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/metadata.ts"],"names":[],"mappings":"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","sourcesContent":["/**\n * This indirection is needed to free up Component, etc symbols in the public API\n * to be used by the decorator versions of these annotations.\n */\n\nimport {ChangeDetectionStrategy} from '../src/change_detection/change_detection';\n\nimport {AnimationEntryMetadata} from './animation/metadata';\nimport {AttributeMetadata, ContentChildMetadata, ContentChildrenMetadata, QueryMetadata, ViewChildMetadata, ViewChildrenMetadata, ViewQueryMetadata} from './metadata/di';\nimport {ComponentMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, InputMetadata, OutputMetadata, PipeMetadata} from './metadata/directives';\nimport {ViewEncapsulation, ViewMetadata} from './metadata/view';\n\nexport {AttributeMetadata, ContentChildMetadata, ContentChildrenMetadata, QueryMetadata, ViewChildMetadata, ViewChildrenMetadata, ViewQueryMetadata} from './metadata/di';\nexport {ComponentMetadata, DirectiveMetadata, HostBindingMetadata, HostListenerMetadata, InputMetadata, OutputMetadata, PipeMetadata} from './metadata/directives';\nexport {AfterContentChecked, AfterContentInit, AfterViewChecked, AfterViewInit, DoCheck, OnChanges, OnDestroy, OnInit} from './metadata/lifecycle_hooks';\nexport {ViewEncapsulation, ViewMetadata} from './metadata/view';\n\nimport {makeDecorator, makeParamDecorator, makePropDecorator, TypeDecorator,} from './util/decorators';\nimport {Type} from '../src/facade/lang';\n\n/**\n * Interface for the {@link DirectiveMetadata} decorator function.\n *\n * See {@link DirectiveFactory}.\n */\nexport interface DirectiveDecorator extends TypeDecorator {}\n\n/**\n * Interface for the {@link ComponentMetadata} decorator function.\n *\n * See {@link ComponentFactory}.\n */\nexport interface ComponentDecorator extends TypeDecorator {\n /**\n * Chain {@link ViewMetadata} annotation.\n */\n View(obj: {\n templateUrl?: string,\n template?: string,\n directives?: Array<Type|any[]>,\n pipes?: Array<Type|any[]>,\n renderer?: string,\n styles?: string[],\n styleUrls?: string[],\n animations?: AnimationEntryMetadata[]\n }): ViewDecorator;\n}\n\n/**\n * Interface for the {@link ViewMetadata} decorator function.\n *\n * See {@link ViewFactory}.\n */\nexport interface ViewDecorator extends TypeDecorator {\n /**\n * Chain {@link ViewMetadata} annotation.\n */\n View(obj: {\n templateUrl?: string,\n template?: string,\n directives?: Array<Type|any[]>,\n pipes?: Array<Type|any[]>,\n renderer?: string,\n styles?: string[],\n styleUrls?: string[],\n animations?: AnimationEntryMetadata[]\n }): ViewDecorator;\n}\n\n/**\n * {@link DirectiveMetadata} factory for creating annotations, decorators or DSL.\n *\n * ### Example as TypeScript Decorator\n *\n * {@example core/ts/metadata/metadata.ts region='directive'}\n *\n * ### Example as ES5 DSL\n *\n * ```\n * var MyDirective = ng\n * .Directive({...})\n * .Class({\n * constructor: function() {\n * ...\n * }\n * })\n * ```\n *\n * ### Example as ES5 annotation\n *\n * ```\n * var MyDirective = function() {\n * ...\n * };\n *\n * MyDirective.annotations = [\n * new ng.Directive({...})\n * ]\n * ```\n */\nexport interface DirectiveMetadataFactory {\n (obj: {\n selector?: string,\n inputs?: string[],\n outputs?: string[],\n properties?: string[],\n events?: string[],\n host?: {[key: string]: string},\n providers?: any[],\n exportAs?: string,\n queries?: {[key: string]: any}\n }): DirectiveDecorator;\n new (obj: {\n selector?: string,\n inputs?: string[],\n outputs?: string[],\n properties?: string[],\n events?: string[],\n host?: {[key: string]: string},\n providers?: any[],\n exportAs?: string,\n queries?: {[key: string]: any}\n }): DirectiveMetadata;\n}\n\n/**\n * {@link ComponentMetadata} factory for creating annotations, decorators or DSL.\n *\n * ### Example as TypeScript Decorator\n *\n * {@example core/ts/metadata/metadata.ts region='component'}\n *\n * ### Example as ES5 DSL\n *\n * ```\n * var MyComponent = ng\n * .Component({...})\n * .Class({\n * constructor: function() {\n * ...\n * }\n * })\n * ```\n *\n * ### Example as ES5 annotation\n *\n * ```\n * var MyComponent = function() {\n * ...\n * };\n *\n * MyComponent.annotations = [\n * new ng.Component({...})\n * ]\n * ```\n */\nexport interface ComponentMetadataFactory {\n (obj: {\n selector?: string,\n inputs?: string[],\n outputs?: string[],\n properties?: string[],\n events?: string[],\n host?: {[key: string]: string},\n providers?: any[],\n exportAs?: string,\n moduleId?: string,\n queries?: {[key: string]: any},\n viewProviders?: any[],\n changeDetection?: ChangeDetectionStrategy,\n templateUrl?: string,\n template?: string,\n styleUrls?: string[],\n styles?: string[],\n animations?: AnimationEntryMetadata[],\n directives?: Array<Type|any[]>,\n pipes?: Array<Type|any[]>,\n encapsulation?: ViewEncapsulation\n }): ComponentDecorator;\n new (obj: {\n selector?: string,\n inputs?: string[],\n outputs?: string[],\n properties?: string[],\n events?: string[],\n host?: {[key: string]: string},\n providers?: any[],\n exportAs?: string,\n moduleId?: string,\n queries?: {[key: string]: any},\n viewProviders?: any[],\n changeDetection?: ChangeDetectionStrategy,\n templateUrl?: string,\n template?: string,\n styleUrls?: string[],\n styles?: string[],\n animations?: AnimationEntryMetadata[],\n directives?: Array<Type|any[]>,\n pipes?: Array<Type|any[]>,\n encapsulation?: ViewEncapsulation\n }): ComponentMetadata;\n}\n\n/**\n * {@link ViewMetadata} factory for creating annotations, decorators or DSL.\n *\n * ### Example as TypeScript Decorator\n *\n * ```\n * import {Component, View} from '@angular/core';\n *\n * @Component({...})\n * class MyComponent {\n * constructor() {\n * ...\n * }\n * }\n * ```\n *\n * ### Example as ES5 DSL\n *\n * ```\n * var MyComponent = ng\n * .Component({...})\n * .View({...})\n * .Class({\n * constructor: function() {\n * ...\n * }\n * })\n * ```\n *\n * ### Example as ES5 annotation\n *\n * ```\n * var MyComponent = function() {\n * ...\n * };\n *\n * MyComponent.annotations = [\n * new ng.Component({...}),\n * new ng.View({...})\n * ]\n * ```\n */\nexport interface ViewMetadataFactory {\n (obj: {\n templateUrl?: string,\n template?: string,\n directives?: Array<Type|any[]>,\n pipes?: Array<Type|any[]>,\n encapsulation?: ViewEncapsulation,\n styles?: string[],\n styleUrls?: string[],\n animations?: AnimationEntryMetadata[]\n }): ViewDecorator;\n new (obj: {\n templateUrl?: string,\n template?: string,\n directives?: Array<Type|any[]>,\n pipes?: Array<Type|any[]>,\n encapsulation?: ViewEncapsulation,\n styles?: string[],\n styleUrls?: string[],\n animations?: AnimationEntryMetadata[]\n }): ViewMetadata;\n}\n\n/**\n * {@link AttributeMetadata} factory for creating annotations, decorators or DSL.\n *\n * ### Example as TypeScript Decorator\n *\n * {@example core/ts/metadata/metadata.ts region='attributeFactory'}\n *\n * ### Example as ES5 DSL\n *\n * ```\n * var MyComponent = ng\n * .Component({...})\n * .Class({\n * constructor: [new ng.Attribute('title'), function(title) {\n * ...\n * }]\n * })\n * ```\n *\n * ### Example as ES5 annotation\n *\n * ```\n * var MyComponent = function(title) {\n * ...\n * };\n *\n * MyComponent.annotations = [\n * new ng.Component({...})\n * ]\n * MyComponent.parameters = [\n * [new ng.Attribute('title')]\n * ]\n * ```\n */\nexport interface AttributeMetadataFactory {\n (name: string): TypeDecorator;\n new (name: string): AttributeMetadata;\n}\n\n/**\n * {@link QueryMetadata} factory for creating annotations, decorators or DSL.\n *\n * ### Example as TypeScript Decorator\n *\n * ```\n * import {Query, QueryList, Component} from '@angular/core';\n *\n * @Component({...})\n * class MyComponent {\n * constructor(@Query(SomeType) queryList: QueryList<SomeType>) {\n * ...\n * }\n * }\n * ```\n *\n * ### Example as ES5 DSL\n *\n * ```\n * var MyComponent = ng\n * .Component({...})\n * .Class({\n * constructor: [new ng.Query(SomeType), function(queryList) {\n * ...\n * }]\n * })\n * ```\n *\n * ### Example as ES5 annotation\n *\n * ```\n * var MyComponent = function(queryList) {\n * ...\n * };\n *\n * MyComponent.annotations = [\n * new ng.Component({...})\n * ]\n * MyComponent.parameters = [\n * [new ng.Query(SomeType)]\n * ]\n * ```\n * @deprecated\n */\nexport interface QueryMetadataFactory {\n (selector: Type|string,\n {descendants, read}?: {descendants?: boolean, read?: any}): ParameterDecorator;\n new (selector: Type|string, {descendants, read}?: {descendants?: boolean, read?: any}):\n QueryMetadata;\n}\n\n/**\n * Factory for {@link ContentChildren}.\n * @stable\n */\nexport interface ContentChildrenMetadataFactory {\n (selector: Type|string, {descendants, read}?: {descendants?: boolean, read?: any}): any;\n new (selector: Type|string, {descendants, read}?: {descendants?: boolean, read?: any}):\n ContentChildrenMetadata;\n}\n\n/**\n * Factory for {@link ContentChild}.\n * @stable\n */\nexport interface ContentChildMetadataFactory {\n (selector: Type|string, {read}?: {read?: any}): any;\n new (selector: Type|string, {read}?: {read?: any}): ContentChildMetadataFactory;\n}\n\n/**\n * Factory for {@link ViewChildren}.\n * @stable\n */\nexport interface ViewChildrenMetadataFactory {\n (selector: Type|string, {read}?: {read?: any}): any;\n new (selector: Type|string, {read}?: {read?: any}): ViewChildrenMetadata;\n}\n\n/**\n * Factory for {@link ViewChild}.\n * @stable\n */\nexport interface ViewChildMetadataFactory {\n (selector: Type|string, {read}?: {read?: any}): any;\n new (selector: Type|string, {read}?: {read?: any}): ViewChildMetadataFactory;\n}\n\n\n/**\n * {@link PipeMetadata} factory for creating decorators.\n *\n * ### Example\n *\n * {@example core/ts/metadata/metadata.ts region='pipe'}\n * @stable\n */\nexport interface PipeMetadataFactory {\n (obj: {name: string, pure?: boolean}): any;\n new (obj: {name: string, pure?: boolean}): any;\n}\n\n/**\n * {@link InputMetadata} factory for creating decorators.\n *\n * See {@link InputMetadata}.\n * @stable\n */\nexport interface InputMetadataFactory {\n (bindingPropertyName?: string): any;\n new (bindingPropertyName?: string): any;\n}\n\n/**\n * {@link OutputMetadata} factory for creating decorators.\n *\n * See {@link OutputMetadata}.\n * @stable\n */\nexport interface OutputMetadataFactory {\n (bindingPropertyName?: string): any;\n new (bindingPropertyName?: string): any;\n}\n\n/**\n * {@link HostBindingMetadata} factory function.\n * @stable\n */\nexport interface HostBindingMetadataFactory {\n (hostPropertyName?: string): any;\n new (hostPropertyName?: string): any;\n}\n\n/**\n * {@link HostListenerMetadata} factory function.\n * @stable\n */\nexport interface HostListenerMetadataFactory {\n (eventName: string, args?: string[]): any;\n new (eventName: string, args?: string[]): any;\n}\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ComponentMetadata.\n/**\n * Declare reusable UI building blocks for an application.\n *\n * Each Angular component requires a single `@Component` annotation. The `@Component`\n * annotation specifies when a component is instantiated, and which properties and hostListeners it\n * binds to.\n *\n * When a component is instantiated, Angular\n * - creates a shadow DOM for the component.\n * - loads the selected template into the shadow DOM.\n * - creates all the injectable objects configured with `providers` and `viewProviders`.\n *\n * All template expressions and statements are then evaluated against the component instance.\n *\n * ## Lifecycle hooks\n *\n * When the component class implements some {@link ../../guide/lifecycle-hooks.html} the callbacks\n * are called by the change detection at defined points in time during the life of the component.\n *\n * ### Example\n *\n * {@example core/ts/metadata/metadata.ts region='component'}\n * @stable\n */\nexport var Component: ComponentMetadataFactory =\n <ComponentMetadataFactory>makeDecorator(ComponentMetadata, (fn: any) => fn.View = View);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from DirectiveMetadata.\n/**\n * Directives allow you to attach behavior to elements in the DOM.\n *\n * {@link DirectiveMetadata}s with an embedded view are called {@link ComponentMetadata}s.\n *\n * A directive consists of a single directive annotation and a controller class. When the\n * directive's `selector` matches\n * elements in the DOM, the following steps occur:\n *\n * 1. For each directive, the `ElementInjector` attempts to resolve the directive's constructor\n * arguments.\n * 2. Angular instantiates directives for each matched element using `ElementInjector` in a\n * depth-first order,\n * as declared in the HTML.\n *\n * ## Understanding How Injection Works\n *\n * There are three stages of injection resolution.\n * - *Pre-existing Injectors*:\n * - The terminal {@link Injector} cannot resolve dependencies. It either throws an error or, if\n * the dependency was\n * specified as `@Optional`, returns `null`.\n * - The platform injector resolves browser singleton resources, such as: cookies, title,\n * location, and others.\n * - *Component Injectors*: Each component instance has its own {@link Injector}, and they follow\n * the same parent-child hierarchy\n * as the component instances in the DOM.\n * - *Element Injectors*: Each component instance has a Shadow DOM. Within the Shadow DOM each\n * element has an `ElementInjector`\n * which follow the same parent-child hierarchy as the DOM elements themselves.\n *\n * When a template is instantiated, it also must instantiate the corresponding directives in a\n * depth-first order. The\n * current `ElementInjector` resolves the constructor dependencies for each directive.\n *\n * Angular then resolves dependencies as follows, according to the order in which they appear in the\n * {@link ViewMetadata}:\n *\n * 1. Dependencies on the current element\n * 2. Dependencies on element injectors and their parents until it encounters a Shadow DOM boundary\n * 3. Dependencies on component injectors and their parents until it encounters the root component\n * 4. Dependencies on pre-existing injectors\n *\n *\n * The `ElementInjector` can inject other directives, element-specific special objects, or it can\n * delegate to the parent\n * injector.\n *\n * To inject other directives, declare the constructor parameter as:\n * - `directive:DirectiveType`: a directive on the current element only\n * - `@Host() directive:DirectiveType`: any directive that matches the type between the current\n * element and the\n * Shadow DOM root.\n * - `@Query(DirectiveType) query:QueryList<DirectiveType>`: A live collection of direct child\n * directives.\n * - `@QueryDescendants(DirectiveType) query:QueryList<DirectiveType>`: A live collection of any\n * child directives.\n *\n * To inject element-specific special objects, declare the constructor parameter as:\n * - `element: ElementRef` to obtain a reference to logical element in the view.\n * - `viewContainer: ViewContainerRef` to control child template instantiation, for\n * {@link DirectiveMetadata} directives only\n * - `bindingPropagation: BindingPropagation` to control change detection in a more granular way.\n *\n * ### Example\n *\n * The following example demonstrates how dependency injection resolves constructor arguments in\n * practice.\n *\n *\n * Assume this HTML template:\n *\n * ```\n * <div dependency=\"1\">\n * <div dependency=\"2\">\n * <div dependency=\"3\" my-directive>\n * <div dependency=\"4\">\n * <div dependency=\"5\"></div>\n * </div>\n * <div dependency=\"6\"></div>\n * </div>\n * </div>\n * </div>\n * ```\n *\n * With the following `dependency` decorator and `SomeService` injectable class.\n *\n * ```\n * @Injectable()\n * class SomeService {\n * }\n *\n * @Directive({\n * selector: '[dependency]',\n * inputs: [\n * 'id: dependency'\n * ]\n * })\n * class Dependency {\n * id:string;\n * }\n * ```\n *\n * Let's step through the different ways in which `MyDirective` could be declared...\n *\n *\n * ### No injection\n *\n * Here the constructor is declared with no arguments, therefore nothing is injected into\n * `MyDirective`.\n *\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor() {\n * }\n * }\n * ```\n *\n * This directive would be instantiated with no dependencies.\n *\n *\n * ### Component-level injection\n *\n * Directives can inject any injectable instance from the closest component injector or any of its\n * parents.\n *\n * Here, the constructor declares a parameter, `someService`, and injects the `SomeService` type\n * from the parent\n * component's injector.\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor(someService: SomeService) {\n * }\n * }\n * ```\n *\n * This directive would be instantiated with a dependency on `SomeService`.\n *\n *\n * ### Injecting a directive from the current element\n *\n * Directives can inject other directives declared on the current element.\n *\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor(dependency: Dependency) {\n * expect(dependency.id).toEqual(3);\n * }\n * }\n * ```\n * This directive would be instantiated with `Dependency` declared at the same element, in this case\n * `dependency=\"3\"`.\n *\n * ### Injecting a directive from any ancestor elements\n *\n * Directives can inject other directives declared on any ancestor element (in the current Shadow\n * DOM), i.e. on the current element, the\n * parent element, or its parents.\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor(@Host() dependency: Dependency) {\n * expect(dependency.id).toEqual(2);\n * }\n * }\n * ```\n *\n * `@Host` checks the current element, the parent, as well as its parents recursively. If\n * `dependency=\"2\"` didn't\n * exist on the direct parent, this injection would\n * have returned\n * `dependency=\"1\"`.\n *\n *\n * ### Injecting a live collection of direct child directives\n *\n *\n * A directive can also query for other child directives. Since parent directives are instantiated\n * before child directives, a directive can't simply inject the list of child directives. Instead,\n * the directive injects a {@link QueryList}, which updates its contents as children are added,\n * removed, or moved by a directive that uses a {@link ViewContainerRef} such as a `ngFor`, an\n * `ngIf`, or an `ngSwitch`.\n *\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor(@Query(Dependency) dependencies:QueryList<Dependency>) {\n * }\n * }\n * ```\n *\n * This directive would be instantiated with a {@link QueryList} which contains `Dependency` 4 and\n * 6. Here, `Dependency` 5 would not be included, because it is not a direct child.\n *\n * ### Injecting a live collection of descendant directives\n *\n * By passing the descendant flag to `@Query` above, we can include the children of the child\n * elements.\n *\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor(@Query(Dependency, {descendants: true}) dependencies:QueryList<Dependency>) {\n * }\n * }\n * ```\n *\n * This directive would be instantiated with a Query which would contain `Dependency` 4, 5 and 6.\n *\n * ### Optional injection\n *\n * The normal behavior of directives is to return an error when a specified dependency cannot be\n * resolved. If you\n * would like to inject `null` on unresolved dependency instead, you can annotate that dependency\n * with `@Optional()`.\n * This explicitly permits the author of a template to treat some of the surrounding directives as\n * optional.\n *\n * ```\n * @Directive({ selector: '[my-directive]' })\n * class MyDirective {\n * constructor(@Optional() dependency:Dependency) {\n * }\n * }\n * ```\n *\n * This directive would be instantiated with a `Dependency` directive found on the current element.\n * If none can be\n * found, the injector supplies `null` instead of throwing an error.\n *\n * ### Example\n *\n * Here we use a decorator directive to simply define basic tool-tip behavior.\n *\n * ```\n * @Directive({\n * selector: '[tooltip]',\n * inputs: [\n * 'text: tooltip'\n * ],\n * host: {\n * '(mouseenter)': 'onMouseEnter()',\n * '(mouseleave)': 'onMouseLeave()'\n * }\n * })\n * class Tooltip{\n * text:string;\n * overlay:Overlay; // NOT YET IMPLEMENTED\n * overlayManager:OverlayManager; // NOT YET IMPLEMENTED\n *\n * constructor(overlayManager:OverlayManager) {\n * this.overlay = overlay;\n * }\n *\n * onMouseEnter() {\n * // exact signature to be determined\n * this.overlay = this.overlayManager.open(text, ...);\n * }\n *\n * onMouseLeave() {\n * this.overlay.close();\n * this.overlay = null;\n * }\n * }\n * ```\n * In our HTML template, we can then add this behavior to a `<div>` or any other element with the\n * `tooltip` selector,\n * like so:\n *\n * ```\n * <div tooltip=\"some text here\"></div>\n * ```\n *\n * Directives can also control the instantiation, destruction, and positioning of inline template\n * elements:\n *\n * A directive uses a {@link ViewContainerRef} to instantiate, insert, move, and destroy views at\n * runtime.\n * The {@link ViewContainerRef} is created as a result of `<template>` element, and represents a\n * location in the current view\n * where these actions are performed.\n *\n * Views are always created as children of the current {@link ViewMetadata}, and as siblings of the\n * `<template>` element. Thus a\n * directive in a child view cannot inject the directive that created it.\n *\n * Since directives that create views via ViewContainers are common in Angular, and using the full\n * `<template>` element syntax is wordy, Angular\n * also supports a shorthand notation: `<li *foo=\"bar\">` and `<li template=\"foo: bar\">` are\n * equivalent.\n *\n * Thus,\n *\n * ```\n * <ul>\n * <li *foo=\"bar\" title=\"text\"></li>\n * </ul>\n * ```\n *\n * Expands in use to:\n *\n * ```\n * <ul>\n * <template [foo]=\"bar\">\n * <li title=\"text\"></li>\n * </template>\n * </ul>\n * ```\n *\n * Notice that although the shorthand places `*foo=\"bar\"` within the `<li>` element, the binding for\n * the directive\n * controller is correctly instantiated on the `<template>` element rather than the `<li>` element.\n *\n * ## Lifecycle hooks\n *\n * When the directive class implements some {@link ../../guide/lifecycle-hooks.html} the callbacks\n * are called by the change detection at defined points in time during the life of the directive.\n *\n * ### Example\n *\n * Let's suppose we want to implement the `unless` behavior, to conditionally include a template.\n *\n * Here is a simple directive that triggers on an `unless` selector:\n *\n * ```\n * @Directive({\n * selector: '[unless]',\n * inputs: ['unless']\n * })\n * export class Unless {\n * viewContainer: ViewContainerRef;\n * templateRef: TemplateRef;\n * prevCondition: boolean;\n *\n * constructor(viewContainer: ViewContainerRef, templateRef: TemplateRef) {\n * this.viewContainer = viewContainer;\n * this.templateRef = templateRef;\n * this.prevCondition = null;\n * }\n *\n * set unless(newCondition) {\n * if (newCondition && (isBlank(this.prevCondition) || !this.prevCondition)) {\n * this.prevCondition = true;\n * this.viewContainer.clear();\n * } else if (!newCondition && (isBlank(this.prevCondition) || this.prevCondition)) {\n * this.prevCondition = false;\n * this.viewContainer.create(this.templateRef);\n * }\n * }\n * }\n * ```\n *\n * We can then use this `unless` selector in a template:\n * ```\n * <ul>\n * <li *unless=\"expr\"></li>\n * </ul>\n * ```\n *\n * Once the directive instantiates the child view, the shorthand notation for the template expands\n * and the result is:\n *\n * ```\n * <ul>\n * <template [unless]=\"exp\">\n * <li></li>\n * </template>\n * <li></li>\n * </ul>\n * ```\n *\n * Note also that although the `<li></li>` template still exists inside the `<template></template>`,\n * the instantiated\n * view occurs on the second `<li></li>` which is a sibling to the `<template>` element.\n * @stable\n */\nexport var Directive: DirectiveMetadataFactory =\n <DirectiveMetadataFactory>makeDecorator(DirectiveMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewMetadata.\n/**\n * Metadata properties available for configuring Views.\n *\n * Each Angular component requires a single `@Component` and at least one `@View` annotation. The\n * `@View` annotation specifies the HTML template to use, and lists the directives that are active\n * within the template.\n *\n * When a component is instantiated, the template is loaded into the component's shadow root, and\n * the expressions and statements in the template are evaluated against the component.\n *\n * For details on the `@Component` annotation, see {@link ComponentMetadata}.\n *\n * ### Example\n *\n * ```\n * @Component({\n * selector: 'greet',\n * template: 'Hello {{name}}!',\n * directives: [GreetUser, Bold]\n * })\n * class Greet {\n * name: string;\n *\n * constructor() {\n * this.name = 'World';\n * }\n * }\n * ```\n * @deprecated\n */\nvar View: ViewMetadataFactory =\n <ViewMetadataFactory>makeDecorator(ViewMetadata, (fn: any) => fn.View = View);\n\n/**\n * Specifies that a constant attribute value should be injected.\n *\n * The directive can inject constant string literals of host element attributes.\n *\n * ### Example\n *\n * Suppose we have an `<input>` element and want to know its `type`.\n *\n * ```html\n * <input type=\"text\">\n * ```\n *\n * A decorator can inject string literal `text` like so:\n *\n * {@example core/ts/metadata/metadata.ts region='attributeMetadata'}\n * @stable\n */\nexport var Attribute: AttributeMetadataFactory = makeParamDecorator(AttributeMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from QueryMetadata.\n/**\n * Declares an injectable parameter to be a live list of directives or variable\n * bindings from the content children of a directive.\n *\n * ### Example ([live demo](http://plnkr.co/edit/lY9m8HLy7z06vDoUaSN2?p=preview))\n *\n * Assume that `<tabs>` component would like to get a list its children `<pane>`\n * components as shown in this example:\n *\n * ```html\n * <tabs>\n * <pane title=\"Overview\">...</pane>\n * <pane *ngFor=\"let o of objects\" [title]=\"o.title\">{{o.text}}</pane>\n * </tabs>\n * ```\n *\n * The preferred solution is to query for `Pane` directives using this decorator.\n *\n * ```javascript\n * @Component({\n * selector: 'pane',\n * inputs: ['title']\n * })\n * class Pane {\n * title:string;\n * }\n *\n * @Component({\n * selector: 'tabs',\n * template: `\n * <ul>\n * <li *ngFor=\"let pane of panes\">{{pane.title}}</li>\n * </ul>\n * <ng-content></ng-content>\n * `\n * })\n * class Tabs {\n * panes: QueryList<Pane>;\n * constructor(@Query(Pane) panes:QueryList<Pane>) {\n * this.panes = panes;\n * }\n * }\n * ```\n *\n * A query can look for variable bindings by passing in a string with desired binding symbol.\n *\n * ### Example ([live demo](http://plnkr.co/edit/sT2j25cH1dURAyBRCKx1?p=preview))\n * ```html\n * <seeker>\n * <div #findme>...</div>\n * </seeker>\n *\n * @Component({ selector: 'seeker' })\n * class seeker {\n * constructor(@Query('findme') elList: QueryList<ElementRef>) {...}\n * }\n * ```\n *\n * In this case the object that is injected depend on the type of the variable\n * binding. It can be an ElementRef, a directive or a component.\n *\n * Passing in a comma separated list of variable bindings will query for all of them.\n *\n * ```html\n * <seeker>\n * <div #findMe>...</div>\n * <div #findMeToo>...</div>\n * </seeker>\n *\n * @Component({\n * selector: 'seeker'\n * })\n * class Seeker {\n * constructor(@Query('findMe, findMeToo') elList: QueryList<ElementRef>) {...}\n * }\n * ```\n *\n * Configure whether query looks for direct children or all descendants\n * of the querying element, by using the `descendants` parameter.\n * It is set to `false` by default.\n *\n * ### Example ([live demo](http://plnkr.co/edit/wtGeB977bv7qvA5FTYl9?p=preview))\n * ```html\n * <container #first>\n * <item>a</item>\n * <item>b</item>\n * <container #second>\n * <item>c</item>\n * </container>\n * </container>\n * ```\n *\n * When querying for items, the first container will see only `a` and `b` by default,\n * but with `Query(TextDirective, {descendants: true})` it will see `c` too.\n *\n * The queried directives are kept in a depth-first pre-order with respect to their\n * positions in the DOM.\n *\n * Query does not look deep into any subcomponent views.\n *\n * Query is updated as part of the change-detection cycle. Since change detection\n * happens after construction of a directive, QueryList will always be empty when observed in the\n * constructor.\n *\n * The injected object is an unmodifiable live list.\n * See {@link QueryList} for more details.\n * @deprecated\n */\nexport var Query: QueryMetadataFactory = makeParamDecorator(QueryMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ContentChildrenMetadata.\n/**\n * Configures a content query.\n *\n * Content queries are set before the `ngAfterContentInit` callback is called.\n *\n * ### Example\n *\n * ```\n * @Directive({\n * selector: 'someDir'\n * })\n * class SomeDir {\n * @ContentChildren(ChildDirective) contentChildren: QueryList<ChildDirective>;\n *\n * ngAfterContentInit() {\n * // contentChildren is set\n * }\n * }\n * ```\n * @stable\n */\nexport var ContentChildren: ContentChildrenMetadataFactory =\n makePropDecorator(ContentChildrenMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ContentChildMetadata.\n/**\n * Configures a content query.\n *\n * Content queries are set before the `ngAfterContentInit` callback is called.\n *\n * ### Example\n *\n * ```\n * @Directive({\n * selector: 'someDir'\n * })\n * class SomeDir {\n * @ContentChild(ChildDirective) contentChild;\n * @ContentChild('container_ref') containerChild\n *\n * ngAfterContentInit() {\n * // contentChild is set\n * // containerChild is set\n * }\n * }\n * ```\n *\n * ```html\n * <container #container_ref>\n * <item>a</item>\n * <item>b</item>\n * </container>\n * ```\n * @stable\n */\nexport var ContentChild: ContentChildMetadataFactory = makePropDecorator(ContentChildMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildrenMetadata.\n/**\n * Declares a list of child element references.\n *\n * Angular automatically updates the list when the DOM is updated.\n *\n * `ViewChildren` takes a argument to select elements.\n *\n * - If the argument is a type, directives or components with the type will be bound.\n *\n * - If the argument is a string, the string is interpreted as a list of comma-separated selectors.\n * For each selector, an element containing the matching template variable (e.g. `#child`) will be\n * bound.\n *\n * View children are set before the `ngAfterViewInit` callback is called.\n *\n * ### Example\n *\n * With type selector:\n *\n * ```\n * @Component({\n * selector: 'child-cmp',\n * template: '<p>child</p>'\n * })\n * class ChildCmp {\n * doSomething() {}\n * }\n *\n * @Component({\n * selector: 'some-cmp',\n * template: `\n * <child-cmp></child-cmp>\n * <child-cmp></child-cmp>\n * <child-cmp></child-cmp>\n * `,\n * directives: [ChildCmp]\n * })\n * class SomeCmp {\n * @ViewChildren(ChildCmp) children:QueryList<ChildCmp>;\n *\n * ngAfterViewInit() {\n * // children are set\n * this.children.toArray().forEach((child)=>child.doSomething());\n * }\n * }\n * ```\n *\n * With string selector:\n *\n * ```\n * @Component({\n * selector: 'child-cmp',\n * template: '<p>child</p>'\n * })\n * class ChildCmp {\n * doSomething() {}\n * }\n *\n * @Component({\n * selector: 'some-cmp',\n * template: `\n * <child-cmp #child1></child-cmp>\n * <child-cmp #child2></child-cmp>\n * <child-cmp #child3></child-cmp>\n * `,\n * directives: [ChildCmp]\n * })\n * class SomeCmp {\n * @ViewChildren('child1,child2,child3') children:QueryList<ChildCmp>;\n *\n * ngAfterViewInit() {\n * // children are set\n * this.children.toArray().forEach((child)=>child.doSomething());\n * }\n * }\n * ```\n *\n * See also: [ViewChildrenMetadata]\n * @stable\n */\nexport var ViewChildren: ViewChildrenMetadataFactory = makePropDecorator(ViewChildrenMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewChildMetadata.\n/**\n * Declares a reference to a child element.\n *\n * `ViewChildren` takes a argument to select elements.\n *\n * - If the argument is a type, a directive or a component with the type will be bound.\n *\n * - If the argument is a string, the string is interpreted as a selector. An element containing the\n * matching template variable (e.g. `#child`) will be bound.\n *\n * In either case, `@ViewChild()` assigns the first (looking from above) element if there are\n * multiple matches.\n *\n * View child is set before the `ngAfterViewInit` callback is called.\n *\n * ### Example\n *\n * With type selector:\n *\n * ```\n * @Component({\n * selector: 'child-cmp',\n * template: '<p>child</p>'\n * })\n * class ChildCmp {\n * doSomething() {}\n * }\n *\n * @Component({\n * selector: 'some-cmp',\n * template: '<child-cmp></child-cmp>',\n * directives: [ChildCmp]\n * })\n * class SomeCmp {\n * @ViewChild(ChildCmp) child:ChildCmp;\n *\n * ngAfterViewInit() {\n * // child is set\n * this.child.doSomething();\n * }\n * }\n * ```\n *\n * With string selector:\n *\n * ```\n * @Component({\n * selector: 'child-cmp',\n * template: '<p>child</p>'\n * })\n * class ChildCmp {\n * doSomething() {}\n * }\n *\n * @Component({\n * selector: 'some-cmp',\n * template: '<child-cmp #child></child-cmp>',\n * directives: [ChildCmp]\n * })\n * class SomeCmp {\n * @ViewChild('child') child:ChildCmp;\n *\n * ngAfterViewInit() {\n * // child is set\n * this.child.doSomething();\n * }\n * }\n * ```\n * See also: [ViewChildMetadata]\n * @stable\n */\nexport var ViewChild: ViewChildMetadataFactory = makePropDecorator(ViewChildMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from ViewQueryMetadata.\n/**\n * Similar to {@link QueryMetadata}, but querying the component view, instead of\n * the content children.\n *\n * ### Example ([live demo](http://plnkr.co/edit/eNsFHDf7YjyM6IzKxM1j?p=preview))\n *\n * ```javascript\n * @Component({\n * ...,\n * template: `\n * <item> a </item>\n * <item> b </item>\n * <item> c </item>\n * `\n * })\n * class MyComponent {\n * shown: boolean;\n *\n * constructor(private @Query(Item) items:QueryList<Item>) {\n * items.changes.subscribe(() => console.log(items.length));\n * }\n * }\n * ```\n *\n * Supports the same querying parameters as {@link QueryMetadata}, except\n * `descendants`. This always queries the whole view.\n *\n * As `shown` is flipped between true and false, items will contain zero of one\n * items.\n *\n * Specifies that a {@link QueryList} should be injected.\n *\n * The injected object is an iterable and observable live list.\n * See {@link QueryList} for more details.\n * @deprecated\n */\nexport var ViewQuery: QueryMetadataFactory = makeParamDecorator(ViewQueryMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from PipeMetadata.\n/**\n * Declare reusable pipe function.\n *\n * ### Example\n *\n * {@example core/ts/metadata/metadata.ts region='pipe'}\n * @stable\n */\nexport var Pipe: PipeMetadataFactory = <PipeMetadataFactory>makeDecorator(PipeMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from InputMetadata.\n/**\n * Declares a data-bound input property.\n *\n * Angular automatically updates data-bound properties during change detection.\n *\n * `InputMetadata` takes an optional parameter that specifies the name\n * used when instantiating a component in the template. When not provided,\n * the name of the decorated property is used.\n *\n * ### Example\n *\n * The following example creates a component with two input properties.\n *\n * ```typescript\n * @Component({\n * selector: 'bank-account',\n * template: `\n * Bank Name: {{bankName}}\n * Account Id: {{id}}\n * `\n * })\n * class BankAccount {\n * @Input() bankName: string;\n * @Input('account-id') id: string;\n *\n * // this property is not bound, and won't be automatically updated by Angular\n * normalizedBankName: string;\n * }\n *\n * @Component({\n * selector: 'app',\n * template: `\n * <bank-account bank-name=\"RBC\" account-id=\"4747\"></bank-account>\n * `,\n * directives: [BankAccount]\n * })\n * class App {}\n *\n * bootstrap(App);\n * ```\n * @stable\n */\nexport var Input: InputMetadataFactory = makePropDecorator(InputMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from OutputMetadata.\n/**\n * Declares an event-bound output property.\n *\n * When an output property emits an event, an event handler attached to that event\n * the template is invoked.\n *\n * `OutputMetadata` takes an optional parameter that specifies the name\n * used when instantiating a component in the template. When not provided,\n * the name of the decorated property is used.\n *\n * ### Example\n *\n * ```typescript\n * @Directive({\n * selector: 'interval-dir',\n * })\n * class IntervalDir {\n * @Output() everySecond = new EventEmitter();\n * @Output('everyFiveSeconds') five5Secs = new EventEmitter();\n *\n * constructor() {\n * setInterval(() => this.everySecond.emit(\"event\"), 1000);\n * setInterval(() => this.five5Secs.emit(\"event\"), 5000);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * template: `\n * <interval-dir (everySecond)=\"everySecond()\" (everyFiveSeconds)=\"everyFiveSeconds()\">\n * </interval-dir>\n * `,\n * directives: [IntervalDir]\n * })\n * class App {\n * everySecond() { console.log('second'); }\n * everyFiveSeconds() { console.log('five seconds'); }\n * }\n * bootstrap(App);\n * ```\n * @stable\n */\nexport var Output: OutputMetadataFactory = makePropDecorator(OutputMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from HostBindingMetadata.\n/**\n * Declares a host property binding.\n *\n * Angular automatically checks host property bindings during change detection.\n * If a binding changes, it will update the host element of the directive.\n *\n * `HostBindingMetadata` takes an optional parameter that specifies the property\n * name of the host element that will be updated. When not provided,\n * the class property name is used.\n *\n * ### Example\n *\n * The following example creates a directive that sets the `valid` and `invalid` classes\n * on the DOM element that has ngModel directive on it.\n *\n * ```typescript\n * @Directive({selector: '[ngModel]'})\n * class NgModelStatus {\n * constructor(public control:NgModel) {}\n * @HostBinding('class.valid') get valid() { return this.control.valid; }\n * @HostBinding('class.invalid') get invalid() { return this.control.invalid; }\n * }\n *\n * @Component({\n * selector: 'app',\n * template: `<input [(ngModel)]=\"prop\">`,\n * directives: [FORM_DIRECTIVES, NgModelStatus]\n * })\n * class App {\n * prop;\n * }\n *\n * bootstrap(App);\n * ```\n * @stable\n */\nexport var HostBinding: HostBindingMetadataFactory = makePropDecorator(HostBindingMetadata);\n\n// TODO(alexeagle): remove the duplication of this doc. It is copied from HostListenerMetadata.\n/**\n * Declares a host listener.\n *\n * Angular will invoke the decorated method when the host element emits the specified event.\n *\n * If the decorated method returns `false`, then `preventDefault` is applied on the DOM\n * event.\n *\n * ### Example\n *\n * The following example declares a directive that attaches a click listener to the button and\n * counts clicks.\n *\n * ```typescript\n * @Directive({selector: 'button[counting]'})\n * class CountClicks {\n * numberOfClicks = 0;\n *\n * @HostListener('click', ['$event.target'])\n * onClick(btn) {\n * console.log(\"button\", btn, \"number of clicks:\", this.numberOfClicks++);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * template: `<button counting>Increment</button>`,\n * directives: [CountClicks]\n * })\n * class App {}\n *\n * bootstrap(App);\n * ```\n * @stable\n */\nexport var HostListener: HostListenerMetadataFactory = makePropDecorator(HostListenerMetadata);\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"__symbolic":"module","metadata":{"
|
|
1
|
+
{"__symbolic":"module","version":1,"metadata":{"Component":{"__symbolic":"error","message":"Function call not supported","line":475,"character":62},"Directive":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makeDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/directives","name":"DirectiveMetadata"}]},"Attribute":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makeParamDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"AttributeMetadata"}]},"Query":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makeParamDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"QueryMetadata"}]},"ContentChildren":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"ContentChildrenMetadata"}]},"ContentChild":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"ContentChildMetadata"}]},"ViewChildren":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"ViewChildrenMetadata"}]},"ViewChild":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"ViewChildMetadata"}]},"ViewQuery":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makeParamDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/di","name":"ViewQueryMetadata"}]},"Pipe":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makeDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/directives","name":"PipeMetadata"}]},"Input":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/directives","name":"InputMetadata"}]},"Output":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/directives","name":"OutputMetadata"}]},"HostBinding":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/directives","name":"HostBindingMetadata"}]},"HostListener":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"./util/decorators","name":"makePropDecorator"},"arguments":[{"__symbolic":"reference","module":"./metadata/directives","name":"HostListenerMetadata"}]}}}
|
|
@@ -2,5 +2,6 @@ import { Type } from '../src/facade/lang';
|
|
|
2
2
|
import { Provider } from './di';
|
|
3
3
|
/**
|
|
4
4
|
* A default set of providers which should be included in any Angular platform.
|
|
5
|
+
* @experimental
|
|
5
6
|
*/
|
|
6
7
|
export declare const PLATFORM_COMMON_PROVIDERS: Array<any | Type | Provider | any[]>;
|