@angular/core 7.0.0-rc.1 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/core-testing.umd.js +36 -33
- package/bundles/core-testing.umd.js.map +1 -1
- package/bundles/core-testing.umd.min.js +3 -3
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +1856 -1463
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +155 -94
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +7 -6
- package/core.metadata.json +1 -1
- package/esm2015/core.externs.js +0 -3
- package/esm2015/core.js +6 -6
- package/esm2015/index.js +2 -2
- package/esm2015/public_api.js +2 -2
- package/esm2015/src/application_init.js +5 -1
- package/esm2015/src/application_module.js +2 -2
- package/esm2015/src/application_ref.js +11 -9
- package/esm2015/src/application_tokens.js +7 -7
- package/esm2015/src/change_detection/change_detection_util.js +3 -1
- package/esm2015/src/change_detection/change_detector_ref.js +2 -1
- package/esm2015/src/change_detection/constants.js +1 -1
- package/esm2015/src/change_detection/differs/default_iterable_differ.js +2 -1
- package/esm2015/src/change_detection/differs/iterable_differs.js +8 -6
- package/esm2015/src/change_detection/differs/keyvalue_differs.js +6 -5
- package/esm2015/src/change_detection/pipe_transform.js +2 -2
- package/esm2015/src/core.js +2 -2
- package/esm2015/src/core_render3_private_export.js +5 -4
- package/esm2015/src/debug/debug_node.js +6 -6
- package/esm2015/src/di/defs.js +5 -5
- package/esm2015/src/di/forward_ref.js +4 -4
- package/esm2015/src/di/injectable.js +5 -2
- package/esm2015/src/di/injection_token.js +3 -1
- package/esm2015/src/di/injector.js +3 -3
- package/esm2015/src/di/metadata.js +16 -1
- package/esm2015/src/di/provider.js +16 -6
- package/esm2015/src/di/r3_injector.js +2 -2
- package/esm2015/src/di/reflective_injector.js +2 -2
- package/esm2015/src/di/reflective_key.js +3 -1
- package/esm2015/src/di/reflective_provider.js +3 -3
- package/esm2015/src/error_handler.js +3 -1
- package/esm2015/src/event_emitter.js +2 -1
- package/esm2015/src/i18n/tokens.js +4 -4
- package/esm2015/src/is_dev_mode.js +4 -2
- package/esm2015/src/ivy_switch/runtime/index.js +2 -2
- package/esm2015/src/ivy_switch/runtime/ivy_switch_on.js +4 -2
- package/esm2015/src/ivy_switch/runtime/jit.js +2 -2
- package/esm2015/src/ivy_switch/runtime/legacy.js +7 -1
- package/esm2015/src/ivy_switch/runtime/local.js +2 -2
- package/esm2015/src/linker/compiler.js +5 -4
- package/esm2015/src/linker/component_factory.js +4 -2
- package/esm2015/src/linker/component_factory_resolver.js +2 -1
- package/esm2015/src/linker/element_ref.js +2 -2
- package/esm2015/src/linker/ng_module_factory.js +3 -3
- package/esm2015/src/linker/ng_module_factory_loader.js +4 -3
- package/esm2015/src/linker/query_list.js +3 -1
- package/esm2015/src/linker/system_js_ng_module_factory_loader.js +3 -3
- package/esm2015/src/linker/template_ref.js +2 -1
- package/esm2015/src/linker/view_container_ref.js +2 -1
- package/esm2015/src/linker/view_ref.js +4 -2
- package/esm2015/src/metadata/di.js +13 -5
- package/esm2015/src/metadata/directives.js +20 -7
- package/esm2015/src/metadata/lifecycle_hooks.js +10 -5
- package/esm2015/src/metadata/ng_module.js +8 -6
- package/esm2015/src/metadata/view.js +1 -1
- package/esm2015/src/platform_core_providers.js +2 -2
- package/esm2015/src/profile/profile.js +5 -5
- package/esm2015/src/profile/wtf_impl.js +2 -2
- package/esm2015/src/r3_symbols.js +1 -1
- package/esm2015/src/reflection/reflection_capabilities.js +3 -3
- package/esm2015/src/render/api.js +20 -7
- package/esm2015/src/render3/component.js +52 -18
- package/esm2015/src/render3/component_ref.js +15 -15
- package/esm2015/src/render3/context_discovery.js +35 -126
- package/esm2015/src/render3/debug.js +33 -56
- package/esm2015/src/render3/definition.js +42 -37
- package/esm2015/src/render3/di.js +4 -28
- package/esm2015/src/render3/discovery_utils.js +10 -7
- package/esm2015/src/render3/i18n.js +60 -34
- package/esm2015/src/render3/index.js +3 -3
- package/esm2015/src/render3/instructions.js +162 -275
- package/esm2015/src/render3/interfaces/container.js +7 -5
- package/esm2015/src/render3/interfaces/context.js +60 -0
- package/esm2015/src/render3/interfaces/definition.js +7 -1
- package/esm2015/src/render3/interfaces/i18n.js +338 -0
- package/esm2015/src/render3/interfaces/node.js +12 -126
- package/esm2015/src/render3/interfaces/player.js +73 -1
- package/esm2015/src/render3/interfaces/styling.js +18 -22
- package/esm2015/src/render3/interfaces/view.js +19 -26
- package/esm2015/src/render3/jit/compiler_facade.js +22 -0
- package/esm2015/src/render3/jit/compiler_facade_interface.js +229 -0
- package/esm2015/src/render3/jit/directive.js +57 -93
- package/esm2015/src/render3/jit/environment.js +7 -3
- package/esm2015/src/render3/jit/injectable.js +21 -46
- package/esm2015/src/render3/jit/module.js +16 -43
- package/esm2015/src/render3/jit/pipe.js +6 -12
- package/esm2015/src/render3/jit/util.js +14 -17
- package/esm2015/src/render3/node_assert.js +1 -1
- package/esm2015/src/render3/node_manipulation.js +99 -109
- package/esm2015/src/render3/players.js +67 -0
- package/esm2015/src/render3/styling/class_and_style_bindings.js +347 -88
- package/esm2015/src/render3/styling/core_player_handler.js +2 -2
- package/esm2015/src/render3/styling/player_factory.js +48 -0
- package/esm2015/src/render3/styling/util.js +165 -17
- package/esm2015/src/render3/util.js +73 -20
- package/esm2015/src/render3/view_engine_compatibility.js +56 -40
- package/esm2015/src/sanitization/security.js +2 -2
- package/esm2015/src/testability/testability.js +5 -6
- package/esm2015/src/type.js +5 -2
- package/esm2015/src/util/decorators.js +2 -1
- package/esm2015/src/util.js +15 -1
- package/esm2015/src/version.js +6 -4
- package/esm2015/src/view/refs.js +3 -3
- package/esm2015/src/view/services.js +8 -6
- package/esm2015/src/zone/ng_zone.js +2 -2
- package/esm2015/testing/src/async.js +2 -2
- package/esm2015/testing/src/component_fixture.js +2 -2
- package/esm2015/testing/src/fake_async.js +7 -7
- package/esm2015/testing/src/fake_async_fallback.js +7 -7
- package/esm2015/testing/src/metadata_override.js +1 -1
- package/esm2015/testing/src/r3_test_bed.js +8 -6
- package/esm2015/testing/src/test_bed.js +10 -8
- package/esm2015/testing/src/test_bed_common.js +6 -6
- package/esm2015/testing/src/test_compiler.js +3 -3
- package/esm5/core.js +6 -6
- package/esm5/src/application_init.js +5 -1
- package/esm5/src/application_module.js +2 -2
- package/esm5/src/application_ref.js +11 -9
- package/esm5/src/application_tokens.js +7 -7
- package/esm5/src/change_detection/change_detection_util.js +3 -1
- package/esm5/src/change_detection/change_detector_ref.js +2 -1
- package/esm5/src/change_detection/constants.js +2 -1
- package/esm5/src/change_detection/differs/default_iterable_differ.js +2 -1
- package/esm5/src/change_detection/differs/iterable_differs.js +2 -1
- package/esm5/src/change_detection/differs/keyvalue_differs.js +2 -1
- package/esm5/src/change_detection/pipe_transform.js +1 -1
- package/esm5/src/core_render3_private_export.js +5 -4
- package/esm5/src/debug/debug_node.js +5 -5
- package/esm5/src/di/defs.js +3 -3
- package/esm5/src/di/forward_ref.js +3 -3
- package/esm5/src/di/injectable.js +6 -5
- package/esm5/src/di/injection_token.js +3 -1
- package/esm5/src/di/injector.js +3 -3
- package/esm5/src/di/metadata.js +6 -1
- package/esm5/src/di/provider.js +1 -1
- package/esm5/src/di/r3_injector.js +2 -2
- package/esm5/src/di/reflective_injector.js +2 -2
- package/esm5/src/di/reflective_key.js +3 -1
- package/esm5/src/di/reflective_provider.js +2 -2
- package/esm5/src/error_handler.js +3 -1
- package/esm5/src/event_emitter.js +2 -1
- package/esm5/src/i18n/tokens.js +5 -5
- package/esm5/src/is_dev_mode.js +4 -2
- package/esm5/src/ivy_switch/runtime/ivy_switch_on.js +3 -2
- package/esm5/src/ivy_switch/runtime/legacy.js +4 -1
- package/esm5/src/linker/compiler.js +5 -4
- package/esm5/src/linker/component_factory.js +5 -1
- package/esm5/src/linker/component_factory_resolver.js +4 -1
- package/esm5/src/linker/element_ref.js +2 -2
- package/esm5/src/linker/ng_module_factory.js +3 -3
- package/esm5/src/linker/ng_module_factory_loader.js +4 -3
- package/esm5/src/linker/query_list.js +3 -1
- package/esm5/src/linker/system_js_ng_module_factory_loader.js +3 -3
- package/esm5/src/linker/template_ref.js +2 -1
- package/esm5/src/linker/view_container_ref.js +2 -1
- package/esm5/src/linker/view_ref.js +4 -2
- package/esm5/src/metadata/di.js +10 -3
- package/esm5/src/metadata/directives.js +9 -6
- package/esm5/src/metadata/lifecycle_hooks.js +1 -1
- package/esm5/src/metadata/ng_module.js +4 -3
- package/esm5/src/metadata/view.js +4 -1
- package/esm5/src/platform_core_providers.js +2 -2
- package/esm5/src/profile/profile.js +5 -5
- package/esm5/src/profile/wtf_impl.js +1 -1
- package/esm5/src/r3_symbols.js +1 -1
- package/esm5/src/reflection/reflection_capabilities.js +3 -3
- package/esm5/src/render/api.js +11 -5
- package/esm5/src/render3/component.js +45 -16
- package/esm5/src/render3/component_ref.js +12 -13
- package/esm5/src/render3/context_discovery.js +33 -65
- package/esm5/src/render3/debug.js +31 -50
- package/esm5/src/render3/definition.js +35 -31
- package/esm5/src/render3/di.js +4 -20
- package/esm5/src/render3/discovery_utils.js +12 -7
- package/esm5/src/render3/i18n.js +40 -30
- package/esm5/src/render3/index.js +3 -3
- package/esm5/src/render3/instructions.js +143 -230
- package/esm5/src/render3/interfaces/container.js +6 -5
- package/esm5/src/render3/interfaces/context.js +13 -0
- package/esm5/src/render3/interfaces/definition.js +1 -1
- package/esm5/src/render3/interfaces/i18n.js +25 -0
- package/esm5/src/render3/interfaces/node.js +1 -1
- package/esm5/src/render3/interfaces/player.js +1 -1
- package/esm5/src/render3/interfaces/styling.js +1 -8
- package/esm5/src/render3/interfaces/view.js +18 -17
- package/esm5/src/render3/jit/compiler_facade.js +21 -0
- package/esm5/src/render3/jit/compiler_facade_interface.js +15 -0
- package/esm5/src/render3/jit/directive.js +44 -79
- package/esm5/src/render3/jit/environment.js +7 -3
- package/esm5/src/render3/jit/injectable.js +26 -46
- package/esm5/src/render3/jit/module.js +16 -31
- package/esm5/src/render3/jit/pipe.js +6 -9
- package/esm5/src/render3/jit/util.js +12 -17
- package/esm5/src/render3/node_assert.js +1 -1
- package/esm5/src/render3/node_manipulation.js +89 -101
- package/esm5/src/render3/players.js +59 -0
- package/esm5/src/render3/styling/class_and_style_bindings.js +248 -85
- package/esm5/src/render3/styling/core_player_handler.js +2 -2
- package/esm5/src/render3/styling/player_factory.js +29 -0
- package/esm5/src/render3/styling/util.js +132 -14
- package/esm5/src/render3/util.js +54 -21
- package/esm5/src/render3/view_engine_compatibility.js +46 -32
- package/esm5/src/sanitization/security.js +3 -3
- package/esm5/src/testability/testability.js +4 -4
- package/esm5/src/type.js +2 -2
- package/esm5/src/util/decorators.js +1 -1
- package/esm5/src/util.js +13 -1
- package/esm5/src/version.js +6 -3
- package/esm5/src/view/refs.js +1 -1
- package/esm5/src/view/services.js +7 -10
- package/esm5/src/zone/ng_zone.js +2 -2
- package/esm5/testing/src/async.js +2 -2
- package/esm5/testing/src/component_fixture.js +2 -2
- package/esm5/testing/src/fake_async.js +7 -7
- package/esm5/testing/src/fake_async_fallback.js +7 -7
- package/esm5/testing/src/metadata_override.js +1 -1
- package/esm5/testing/src/r3_test_bed.js +8 -7
- package/esm5/testing/src/test_bed.js +10 -8
- package/esm5/testing/src/test_bed_common.js +4 -4
- package/esm5/testing/src/test_compiler.js +3 -3
- package/fesm2015/core.js +2486 -1951
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +36 -32
- package/fesm2015/testing.js.map +1 -1
- package/fesm5/core.js +1830 -1439
- package/fesm5/core.js.map +1 -1
- package/fesm5/testing.js +36 -33
- package/fesm5/testing.js.map +1 -1
- package/package.json +1 -2
- package/src/application_init.d.ts +4 -0
- package/src/application_module.d.ts +1 -1
- package/src/application_ref.d.ts +10 -8
- package/src/application_tokens.d.ts +6 -6
- package/src/change_detection/change_detection_util.d.ts +2 -0
- package/src/change_detection/change_detector_ref.d.ts +1 -0
- package/src/change_detection/constants.d.ts +1 -0
- package/src/change_detection/differs/default_iterable_differ.d.ts +1 -0
- package/src/change_detection/differs/iterable_differs.d.ts +8 -6
- package/src/change_detection/differs/keyvalue_differs.d.ts +5 -4
- package/src/change_detection/pipe_transform.d.ts +1 -1
- package/src/core_render3_private_export.d.ts +7 -5
- package/src/debug/debug_node.d.ts +5 -5
- package/src/di/defs.d.ts +4 -4
- package/src/di/forward_ref.d.ts +3 -3
- package/src/di/injectable.d.ts +10 -7
- package/src/di/injection_token.d.ts +2 -0
- package/src/di/injector.d.ts +5 -3
- package/src/di/metadata.d.ts +24 -1
- package/src/di/provider.d.ts +19 -5
- package/src/di/r3_injector.d.ts +1 -1
- package/src/di/reflective_injector.d.ts +1 -1
- package/src/di/reflective_key.d.ts +2 -0
- package/src/di/reflective_provider.d.ts +2 -2
- package/src/error_handler.d.ts +2 -0
- package/src/event_emitter.d.ts +1 -0
- package/src/i18n/tokens.d.ts +4 -4
- package/src/is_dev_mode.d.ts +3 -1
- package/src/ivy_switch/runtime/ivy_switch_on.d.ts +2 -1
- package/src/ivy_switch/runtime/legacy.d.ts +3 -0
- package/src/linker/compiler.d.ts +5 -4
- package/src/linker/component_factory.d.ts +5 -1
- package/src/linker/component_factory_resolver.d.ts +3 -0
- package/src/linker/element_ref.d.ts +1 -1
- package/src/linker/ng_module_factory.d.ts +2 -2
- package/src/linker/ng_module_factory_loader.d.ts +3 -2
- package/src/linker/query_list.d.ts +2 -0
- package/src/linker/system_js_ng_module_factory_loader.d.ts +2 -2
- package/src/linker/template_ref.d.ts +1 -0
- package/src/linker/view_container_ref.d.ts +1 -0
- package/src/linker/view_ref.d.ts +3 -1
- package/src/metadata/di.d.ts +13 -5
- package/src/metadata/directives.d.ts +19 -6
- package/src/metadata/lifecycle_hooks.d.ts +9 -4
- package/src/metadata/ng_module.d.ts +7 -7
- package/src/metadata/view.d.ts +3 -0
- package/src/platform_core_providers.d.ts +1 -1
- package/src/profile/profile.d.ts +4 -4
- package/src/profile/wtf_impl.d.ts +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/src/render/api.d.ts +10 -7
- package/src/render3/component.d.ts +14 -3
- package/src/render3/context_discovery.d.ts +6 -58
- package/src/render3/definition.d.ts +0 -4
- package/src/render3/di.d.ts +1 -3
- package/src/render3/discovery_utils.d.ts +7 -1
- package/src/render3/i18n.d.ts +4 -0
- package/src/render3/index.d.ts +2 -2
- package/src/render3/instructions.d.ts +43 -50
- package/src/render3/interfaces/container.d.ts +36 -22
- package/src/render3/interfaces/context.d.ts +52 -0
- package/src/render3/interfaces/definition.d.ts +8 -3
- package/src/render3/interfaces/i18n.d.ts +326 -0
- package/src/render3/interfaces/node.d.ts +12 -89
- package/src/render3/interfaces/player.d.ts +58 -4
- package/src/render3/interfaces/styling.d.ts +17 -15
- package/src/render3/interfaces/view.d.ts +28 -28
- package/src/render3/jit/compiler_facade.d.ts +3 -0
- package/src/render3/jit/compiler_facade_interface.d.ts +131 -0
- package/src/render3/jit/directive.d.ts +3 -0
- package/src/render3/jit/util.d.ts +3 -3
- package/src/render3/node_manipulation.d.ts +21 -22
- package/src/render3/players.d.ts +32 -0
- package/src/render3/styling/class_and_style_bindings.d.ts +31 -24
- package/src/render3/styling/player_factory.d.ts +31 -0
- package/src/render3/styling/util.d.ts +31 -9
- package/src/render3/util.d.ts +32 -15
- package/src/render3/view_engine_compatibility.d.ts +3 -0
- package/src/sanitization/security.d.ts +2 -2
- package/src/testability/testability.d.ts +5 -6
- package/src/type.d.ts +6 -1
- package/src/util/decorators.d.ts +1 -0
- package/src/util.d.ts +10 -0
- package/src/version.d.ts +4 -1
- package/src/view/services.d.ts +2 -2
- package/src/zone/ng_zone.d.ts +1 -1
- package/testing/src/async.d.ts +1 -1
- package/testing/src/component_fixture.d.ts +1 -1
- package/testing/src/fake_async.d.ts +6 -6
- package/testing/src/fake_async_fallback.d.ts +6 -6
- package/testing/src/metadata_override.d.ts +1 -1
- package/testing/src/r3_test_bed.d.ts +4 -4
- package/testing/src/test_bed.d.ts +12 -10
- package/testing/src/test_bed_common.d.ts +6 -6
- package/testing/src/test_compiler.d.ts +2 -2
- package/testing/testing.metadata.json +1 -1
- package/esm2015/src/render3/player.js +0 -51
- package/esm5/src/render3/player.js +0 -39
- package/src/render3/player.d.ts +0 -3
package/src/di/provider.d.ts
CHANGED
|
@@ -16,7 +16,7 @@ import { Type } from '../type';
|
|
|
16
16
|
*
|
|
17
17
|
* {@example core/di/ts/provider_spec.ts region='ValueSansProvider'}
|
|
18
18
|
*
|
|
19
|
-
* @
|
|
19
|
+
* @publicApi
|
|
20
20
|
*/
|
|
21
21
|
export interface ValueSansProvider {
|
|
22
22
|
/**
|
|
@@ -37,6 +37,8 @@ export interface ValueSansProvider {
|
|
|
37
37
|
* ### Multi-value example
|
|
38
38
|
*
|
|
39
39
|
* {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'}
|
|
40
|
+
*
|
|
41
|
+
* @publicApi
|
|
40
42
|
*/
|
|
41
43
|
export interface ValueProvider extends ValueSansProvider {
|
|
42
44
|
/**
|
|
@@ -59,7 +61,7 @@ export interface ValueProvider extends ValueSansProvider {
|
|
|
59
61
|
*
|
|
60
62
|
* {@example core/di/ts/provider_spec.ts region='StaticClassSansProvider'}
|
|
61
63
|
*
|
|
62
|
-
* @
|
|
64
|
+
* @publicApi
|
|
63
65
|
*/
|
|
64
66
|
export interface StaticClassSansProvider {
|
|
65
67
|
/**
|
|
@@ -115,7 +117,7 @@ export interface StaticClassProvider extends StaticClassSansProvider {
|
|
|
115
117
|
* class MyService {}
|
|
116
118
|
* ```
|
|
117
119
|
*
|
|
118
|
-
* @
|
|
120
|
+
* @publicApi
|
|
119
121
|
*/
|
|
120
122
|
export interface ConstructorSansProvider {
|
|
121
123
|
/**
|
|
@@ -178,6 +180,8 @@ export interface ExistingSansProvider {
|
|
|
178
180
|
* ### Multi-value example
|
|
179
181
|
*
|
|
180
182
|
* {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'}
|
|
183
|
+
*
|
|
184
|
+
* @publicApi
|
|
181
185
|
*/
|
|
182
186
|
export interface ExistingProvider extends ExistingSansProvider {
|
|
183
187
|
/**
|
|
@@ -200,7 +204,7 @@ export interface ExistingProvider extends ExistingSansProvider {
|
|
|
200
204
|
*
|
|
201
205
|
* {@example core/di/ts/provider_spec.ts region='FactorySansProvider'}
|
|
202
206
|
*
|
|
203
|
-
* @
|
|
207
|
+
* @publicApi
|
|
204
208
|
*/
|
|
205
209
|
export interface FactorySansProvider {
|
|
206
210
|
/**
|
|
@@ -231,6 +235,8 @@ export interface FactorySansProvider {
|
|
|
231
235
|
* ### Multi-value example
|
|
232
236
|
*
|
|
233
237
|
* {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'}
|
|
238
|
+
*
|
|
239
|
+
* @publicApi
|
|
234
240
|
*/
|
|
235
241
|
export interface FactoryProvider extends FactorySansProvider {
|
|
236
242
|
/**
|
|
@@ -251,6 +257,8 @@ export interface FactoryProvider extends FactorySansProvider {
|
|
|
251
257
|
* @see `ValueProvider`
|
|
252
258
|
* @see `ExistingProvider`
|
|
253
259
|
* @see `FactoryProvider`
|
|
260
|
+
*
|
|
261
|
+
* @publicApi
|
|
254
262
|
*/
|
|
255
263
|
export declare type StaticProvider = ValueProvider | ExistingProvider | StaticClassProvider | ConstructorProvider | FactoryProvider | any[];
|
|
256
264
|
/**
|
|
@@ -265,6 +273,8 @@ export declare type StaticProvider = ValueProvider | ExistingProvider | StaticCl
|
|
|
265
273
|
* ### Example
|
|
266
274
|
*
|
|
267
275
|
* {@example core/di/ts/provider_spec.ts region='TypeProvider'}
|
|
276
|
+
*
|
|
277
|
+
* @publicApi
|
|
268
278
|
*/
|
|
269
279
|
export interface TypeProvider extends Type<any> {
|
|
270
280
|
}
|
|
@@ -278,7 +288,7 @@ export interface TypeProvider extends Type<any> {
|
|
|
278
288
|
*
|
|
279
289
|
* {@example core/di/ts/provider_spec.ts region='ClassSansProvider'}
|
|
280
290
|
*
|
|
281
|
-
* @
|
|
291
|
+
* @publicApi
|
|
282
292
|
*/
|
|
283
293
|
export interface ClassSansProvider {
|
|
284
294
|
/**
|
|
@@ -303,6 +313,8 @@ export interface ClassSansProvider {
|
|
|
303
313
|
* ### Multi-value example
|
|
304
314
|
*
|
|
305
315
|
* {@example core/di/ts/provider_spec.ts region='MultiProviderAspect'}
|
|
316
|
+
*
|
|
317
|
+
* @publicApi
|
|
306
318
|
*/
|
|
307
319
|
export interface ClassProvider extends ClassSansProvider {
|
|
308
320
|
/**
|
|
@@ -323,5 +335,7 @@ export interface ClassProvider extends ClassSansProvider {
|
|
|
323
335
|
* @see `TypeProvider`
|
|
324
336
|
* @see `ClassProvider`
|
|
325
337
|
* @see `StaticProvider`
|
|
338
|
+
*
|
|
339
|
+
* @publicApi
|
|
326
340
|
*/
|
|
327
341
|
export declare type Provider = TypeProvider | ValueProvider | ClassProvider | ConstructorProvider | ExistingProvider | FactoryProvider | any[];
|
package/src/di/r3_injector.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ import { StaticProvider } from './provider';
|
|
|
13
13
|
/**
|
|
14
14
|
* Create a new `Injector` which is configured using a `defType` of `InjectorType<any>`s.
|
|
15
15
|
*
|
|
16
|
-
* @
|
|
16
|
+
* @publicApi
|
|
17
17
|
*/
|
|
18
18
|
export declare function createInjector(defType: any, parent?: Injector | null, additionalProviders?: StaticProvider[] | null): Injector;
|
|
19
19
|
export declare class R3Injector {
|
|
@@ -43,6 +43,7 @@ import { ResolvedReflectiveProvider } from './reflective_provider';
|
|
|
43
43
|
* resolve all of the object's dependencies automatically.
|
|
44
44
|
*
|
|
45
45
|
* @deprecated from v5 - slow and brings in a lot of code, Use `Injector.create` instead.
|
|
46
|
+
* @publicApi
|
|
46
47
|
*/
|
|
47
48
|
export declare abstract class ReflectiveInjector implements Injector {
|
|
48
49
|
/**
|
|
@@ -125,7 +126,6 @@ export declare abstract class ReflectiveInjector implements Injector {
|
|
|
125
126
|
* var injector = ReflectiveInjector.fromResolvedProviders(providers);
|
|
126
127
|
* expect(injector.get(Car) instanceof Car).toBe(true);
|
|
127
128
|
* ```
|
|
128
|
-
* @experimental
|
|
129
129
|
*/
|
|
130
130
|
static fromResolvedProviders(providers: ResolvedReflectiveProvider[], parent?: Injector): ReflectiveInjector;
|
|
131
131
|
/**
|
|
@@ -36,7 +36,7 @@ export declare class ReflectiveDependency {
|
|
|
36
36
|
* expect(injector.get('message')).toEqual('Hello');
|
|
37
37
|
* ```
|
|
38
38
|
*
|
|
39
|
-
* @
|
|
39
|
+
* @publicApi
|
|
40
40
|
*/
|
|
41
41
|
export interface ResolvedReflectiveProvider {
|
|
42
42
|
/**
|
|
@@ -61,7 +61,7 @@ export declare class ResolvedReflectiveProvider_ implements ResolvedReflectivePr
|
|
|
61
61
|
}
|
|
62
62
|
/**
|
|
63
63
|
* An internal resolved representation of a factory function created by resolving `Provider`.
|
|
64
|
-
* @
|
|
64
|
+
* @publicApi
|
|
65
65
|
*/
|
|
66
66
|
export declare class ResolvedReflectiveFactory {
|
|
67
67
|
/**
|
package/src/error_handler.d.ts
CHANGED
package/src/event_emitter.d.ts
CHANGED
package/src/i18n/tokens.d.ts
CHANGED
|
@@ -26,7 +26,7 @@ import { InjectionToken } from '../di/injection_token';
|
|
|
26
26
|
* });
|
|
27
27
|
* ```
|
|
28
28
|
*
|
|
29
|
-
* @
|
|
29
|
+
* @publicApi
|
|
30
30
|
*/
|
|
31
31
|
export declare const LOCALE_ID: InjectionToken<string>;
|
|
32
32
|
/**
|
|
@@ -51,7 +51,7 @@ export declare const LOCALE_ID: InjectionToken<string>;
|
|
|
51
51
|
* });
|
|
52
52
|
* ```
|
|
53
53
|
*
|
|
54
|
-
* @
|
|
54
|
+
* @publicApi
|
|
55
55
|
*/
|
|
56
56
|
export declare const TRANSLATIONS: InjectionToken<string>;
|
|
57
57
|
/**
|
|
@@ -73,7 +73,7 @@ export declare const TRANSLATIONS: InjectionToken<string>;
|
|
|
73
73
|
* });
|
|
74
74
|
* ```
|
|
75
75
|
*
|
|
76
|
-
* @
|
|
76
|
+
* @publicApi
|
|
77
77
|
*/
|
|
78
78
|
export declare const TRANSLATIONS_FORMAT: InjectionToken<string>;
|
|
79
79
|
/**
|
|
@@ -97,7 +97,7 @@ export declare const TRANSLATIONS_FORMAT: InjectionToken<string>;
|
|
|
97
97
|
* });
|
|
98
98
|
* ```
|
|
99
99
|
*
|
|
100
|
-
* @
|
|
100
|
+
* @publicApi
|
|
101
101
|
*/
|
|
102
102
|
export declare enum MissingTranslationStrategy {
|
|
103
103
|
Error = 0,
|
package/src/is_dev_mode.d.ts
CHANGED
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
*
|
|
12
12
|
* By default, this is true, unless a user calls `enableProdMode` before calling this.
|
|
13
13
|
*
|
|
14
|
-
* @
|
|
14
|
+
* @publicApi
|
|
15
15
|
*/
|
|
16
16
|
export declare function isDevMode(): boolean;
|
|
17
17
|
/**
|
|
@@ -21,5 +21,7 @@ export declare function isDevMode(): boolean;
|
|
|
21
21
|
* One important assertion this disables verifies that a change detection pass
|
|
22
22
|
* does not result in additional changes to any bindings (also known as
|
|
23
23
|
* unidirectional data flow).
|
|
24
|
+
*
|
|
25
|
+
* @publicApi
|
|
24
26
|
*/
|
|
25
27
|
export declare function enableProdMode(): void;
|
|
@@ -5,8 +5,9 @@
|
|
|
5
5
|
* Use of this source code is governed by an MIT-style license that can be
|
|
6
6
|
* found in the LICENSE file at https://angular.io/license
|
|
7
7
|
*/
|
|
8
|
-
import { injectChangeDetectorRef, injectElementRef, injectTemplateRef, injectViewContainerRef } from '../../render3/view_engine_compatibility';
|
|
8
|
+
import { injectChangeDetectorRef, injectElementRef, injectRenderer2, injectTemplateRef, injectViewContainerRef } from '../../render3/view_engine_compatibility';
|
|
9
9
|
export declare const R3_ELEMENT_REF_FACTORY: typeof injectElementRef;
|
|
10
10
|
export declare const R3_TEMPLATE_REF_FACTORY: typeof injectTemplateRef;
|
|
11
11
|
export declare const R3_CHANGE_DETECTOR_REF_FACTORY: typeof injectChangeDetectorRef;
|
|
12
12
|
export declare const R3_VIEW_CONTAINER_REF_FACTORY: typeof injectViewContainerRef;
|
|
13
|
+
export declare const R3_RENDERER2_FACTORY: typeof injectRenderer2;
|
|
@@ -11,12 +11,15 @@ export declare const R3_ELEMENT_REF_FACTORY__POST_NGCC__: FactoryFunction;
|
|
|
11
11
|
export declare const R3_TEMPLATE_REF_FACTORY__POST_NGCC__: FactoryFunction;
|
|
12
12
|
export declare const R3_CHANGE_DETECTOR_REF_FACTORY__POST_NGCC__: FactoryFunction;
|
|
13
13
|
export declare const R3_VIEW_CONTAINER_REF_FACTORY__POST_NGCC__: FactoryFunction;
|
|
14
|
+
export declare const R3_RENDERER2_FACTORY__POST_NGCC__: FactoryFunction;
|
|
14
15
|
export declare const R3_ELEMENT_REF_FACTORY__PRE_NGCC__: typeof noopFactory;
|
|
15
16
|
export declare const R3_TEMPLATE_REF_FACTORY__PRE_NGCC__: typeof noopFactory;
|
|
16
17
|
export declare const R3_CHANGE_DETECTOR_REF_FACTORY__PRE_NGCC__: typeof noopFactory;
|
|
17
18
|
export declare const R3_VIEW_CONTAINER_REF_FACTORY__PRE_NGCC__: typeof noopFactory;
|
|
19
|
+
export declare const R3_RENDERER2_FACTORY__PRE_NGCC__: typeof noopFactory;
|
|
18
20
|
export declare let R3_ELEMENT_REF_FACTORY: typeof noopFactory;
|
|
19
21
|
export declare let R3_TEMPLATE_REF_FACTORY: typeof noopFactory;
|
|
20
22
|
export declare let R3_CHANGE_DETECTOR_REF_FACTORY: typeof noopFactory;
|
|
21
23
|
export declare let R3_VIEW_CONTAINER_REF_FACTORY: typeof noopFactory;
|
|
24
|
+
export declare let R3_RENDERER2_FACTORY: typeof noopFactory;
|
|
22
25
|
export {};
|
package/src/linker/compiler.d.ts
CHANGED
|
@@ -15,7 +15,7 @@ import { NgModuleFactory } from './ng_module_factory';
|
|
|
15
15
|
/**
|
|
16
16
|
* Combination of NgModuleFactory and ComponentFactorys.
|
|
17
17
|
*
|
|
18
|
-
* @
|
|
18
|
+
* @publicApi
|
|
19
19
|
*/
|
|
20
20
|
export declare class ModuleWithComponentFactories<T> {
|
|
21
21
|
ngModuleFactory: NgModuleFactory<T>;
|
|
@@ -31,6 +31,7 @@ export declare class ModuleWithComponentFactories<T> {
|
|
|
31
31
|
* that will use the directives/pipes of the ng module for compilation
|
|
32
32
|
* of components.
|
|
33
33
|
*
|
|
34
|
+
* @publicApi
|
|
34
35
|
*/
|
|
35
36
|
export declare class Compiler {
|
|
36
37
|
/**
|
|
@@ -66,7 +67,7 @@ export declare class Compiler {
|
|
|
66
67
|
/**
|
|
67
68
|
* Options for creating a compiler
|
|
68
69
|
*
|
|
69
|
-
* @
|
|
70
|
+
* @publicApi
|
|
70
71
|
*/
|
|
71
72
|
export declare type CompilerOptions = {
|
|
72
73
|
useJit?: boolean;
|
|
@@ -78,13 +79,13 @@ export declare type CompilerOptions = {
|
|
|
78
79
|
/**
|
|
79
80
|
* Token to provide CompilerOptions in the platform injector.
|
|
80
81
|
*
|
|
81
|
-
* @
|
|
82
|
+
* @publicApi
|
|
82
83
|
*/
|
|
83
84
|
export declare const COMPILER_OPTIONS: InjectionToken<CompilerOptions[]>;
|
|
84
85
|
/**
|
|
85
86
|
* A factory for creating a Compiler
|
|
86
87
|
*
|
|
87
|
-
* @
|
|
88
|
+
* @publicApi
|
|
88
89
|
*/
|
|
89
90
|
export declare abstract class CompilerFactory {
|
|
90
91
|
abstract createCompiler(options?: CompilerOptions[]): Compiler;
|
|
@@ -16,6 +16,7 @@ import { ViewRef } from './view_ref';
|
|
|
16
16
|
* Provides access to the component instance and related objects,
|
|
17
17
|
* and provides the means of destroying the instance.
|
|
18
18
|
*
|
|
19
|
+
* @publicApi
|
|
19
20
|
*/
|
|
20
21
|
export declare abstract class ComponentRef<C> {
|
|
21
22
|
/**
|
|
@@ -55,9 +56,12 @@ export declare abstract class ComponentRef<C> {
|
|
|
55
56
|
*/
|
|
56
57
|
abstract onDestroy(callback: Function): void;
|
|
57
58
|
}
|
|
59
|
+
/**
|
|
60
|
+
* @publicApi
|
|
61
|
+
*/
|
|
58
62
|
export declare abstract class ComponentFactory<C> {
|
|
59
63
|
/**
|
|
60
|
-
* The
|
|
64
|
+
* The component's HTML selector.
|
|
61
65
|
*/
|
|
62
66
|
abstract readonly selector: string;
|
|
63
67
|
/**
|
|
@@ -11,6 +11,9 @@ import { ComponentFactory, ComponentRef } from './component_factory';
|
|
|
11
11
|
import { NgModuleRef } from './ng_module_factory';
|
|
12
12
|
export declare function noComponentFactoryError(component: Function): Error;
|
|
13
13
|
export declare function getComponent(error: Error): Type<any>;
|
|
14
|
+
/**
|
|
15
|
+
* @publicApi
|
|
16
|
+
*/
|
|
14
17
|
export declare abstract class ComponentFactoryResolver {
|
|
15
18
|
static NULL: ComponentFactoryResolver;
|
|
16
19
|
abstract resolveComponentFactory<T>(component: Type<T>): ComponentFactory<T>;
|
|
@@ -14,7 +14,7 @@ import { ComponentFactoryResolver } from './component_factory_resolver';
|
|
|
14
14
|
* `NgModuleRef` provides access to the NgModule Instance as well other objects related to this
|
|
15
15
|
* NgModule Instance.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* @publicApi
|
|
18
18
|
*/
|
|
19
19
|
export declare abstract class NgModuleRef<T> {
|
|
20
20
|
/**
|
|
@@ -43,7 +43,7 @@ export interface InternalNgModuleRef<T> extends NgModuleRef<T> {
|
|
|
43
43
|
_bootstrapComponents: Type<any>[];
|
|
44
44
|
}
|
|
45
45
|
/**
|
|
46
|
-
* @
|
|
46
|
+
* @publicApi
|
|
47
47
|
*/
|
|
48
48
|
export declare abstract class NgModuleFactory<T> {
|
|
49
49
|
abstract readonly moduleType: Type<T>;
|
|
@@ -9,13 +9,14 @@ import { NgModuleFactory } from './ng_module_factory';
|
|
|
9
9
|
/**
|
|
10
10
|
* Used to load ng module factories.
|
|
11
11
|
*
|
|
12
|
+
* @publicApi
|
|
12
13
|
*/
|
|
13
14
|
export declare abstract class NgModuleFactoryLoader {
|
|
14
15
|
abstract load(path: string): Promise<NgModuleFactory<any>>;
|
|
15
16
|
}
|
|
16
17
|
/**
|
|
17
18
|
* Registers a loaded module. Should only be called from generated NgModuleFactory code.
|
|
18
|
-
* @
|
|
19
|
+
* @publicApi
|
|
19
20
|
*/
|
|
20
21
|
export declare function registerModuleFactory(id: string, factory: NgModuleFactory<any>): void;
|
|
21
22
|
export declare function clearModulesForTest(): void;
|
|
@@ -23,6 +24,6 @@ export declare function clearModulesForTest(): void;
|
|
|
23
24
|
* Returns the NgModuleFactory with the given id, if it exists and has been loaded.
|
|
24
25
|
* Factories for modules that do not specify an `id` cannot be retrieved. Throws if the module
|
|
25
26
|
* cannot be found.
|
|
26
|
-
* @
|
|
27
|
+
* @publicApi
|
|
27
28
|
*/
|
|
28
29
|
export declare function getModuleFactory(id: string): NgModuleFactory<any>;
|
|
@@ -12,7 +12,7 @@ import { NgModuleFactoryLoader } from './ng_module_factory_loader';
|
|
|
12
12
|
* Configuration for SystemJsNgModuleLoader.
|
|
13
13
|
* token.
|
|
14
14
|
*
|
|
15
|
-
* @
|
|
15
|
+
* @publicApi
|
|
16
16
|
*/
|
|
17
17
|
export declare abstract class SystemJsNgModuleLoaderConfig {
|
|
18
18
|
/**
|
|
@@ -26,7 +26,7 @@ export declare abstract class SystemJsNgModuleLoaderConfig {
|
|
|
26
26
|
}
|
|
27
27
|
/**
|
|
28
28
|
* NgModuleFactoryLoader that uses SystemJS to load NgModuleFactory
|
|
29
|
-
* @
|
|
29
|
+
* @publicApi
|
|
30
30
|
*/
|
|
31
31
|
export declare class SystemJsNgModuleLoader implements NgModuleFactoryLoader {
|
|
32
32
|
private _compiler;
|
package/src/linker/view_ref.d.ts
CHANGED
|
@@ -14,6 +14,8 @@ import { ChangeDetectorRef } from '../change_detection/change_detector_ref';
|
|
|
14
14
|
* that adds destroy methods for [embedded views](guide/glossary#view-tree).
|
|
15
15
|
*
|
|
16
16
|
* @see `EmbeddedViewRef`
|
|
17
|
+
*
|
|
18
|
+
* @publicApi
|
|
17
19
|
*/
|
|
18
20
|
export declare abstract class ViewRef extends ChangeDetectorRef {
|
|
19
21
|
/**
|
|
@@ -84,7 +86,7 @@ export declare abstract class ViewRef extends ChangeDetectorRef {
|
|
|
84
86
|
* </ul>
|
|
85
87
|
* <!-- /ViewRef: outer-0 -->
|
|
86
88
|
* ```
|
|
87
|
-
* @
|
|
89
|
+
* @publicApi
|
|
88
90
|
*/
|
|
89
91
|
export declare abstract class EmbeddedViewRef<C> extends ViewRef {
|
|
90
92
|
/**
|
package/src/metadata/di.d.ts
CHANGED
|
@@ -40,7 +40,7 @@ import { Type } from '../type';
|
|
|
40
40
|
* class ModuleWithRoutes {}
|
|
41
41
|
* ```
|
|
42
42
|
*
|
|
43
|
-
* @
|
|
43
|
+
* @publicApi
|
|
44
44
|
*/
|
|
45
45
|
export declare const ANALYZE_FOR_ENTRY_COMPONENTS: InjectionToken<any>;
|
|
46
46
|
/**
|
|
@@ -101,6 +101,7 @@ export interface Attribute {
|
|
|
101
101
|
* Attribute decorator and metadata.
|
|
102
102
|
*
|
|
103
103
|
* @Annotation
|
|
104
|
+
* @publicApi
|
|
104
105
|
*/
|
|
105
106
|
export declare const Attribute: AttributeDecorator;
|
|
106
107
|
/**
|
|
@@ -120,6 +121,8 @@ export interface Query {
|
|
|
120
121
|
* @see `ContentChild`.
|
|
121
122
|
* @see `ViewChildren`.
|
|
122
123
|
* @see `ViewChild`.
|
|
124
|
+
*
|
|
125
|
+
* @publicApi
|
|
123
126
|
*/
|
|
124
127
|
export declare abstract class Query {
|
|
125
128
|
}
|
|
@@ -127,6 +130,7 @@ export declare abstract class Query {
|
|
|
127
130
|
* Type of the ContentChildren decorator / constructor function.
|
|
128
131
|
*
|
|
129
132
|
* @see `ContentChildren`.
|
|
133
|
+
* @publicApi
|
|
130
134
|
*/
|
|
131
135
|
export interface ContentChildrenDecorator {
|
|
132
136
|
/**
|
|
@@ -180,14 +184,14 @@ export declare type ContentChildren = Query;
|
|
|
180
184
|
* ContentChildren decorator and metadata.
|
|
181
185
|
*
|
|
182
186
|
*
|
|
183
|
-
*
|
|
187
|
+
* @Annotation
|
|
188
|
+
* @publicApi
|
|
184
189
|
*/
|
|
185
190
|
export declare const ContentChildren: ContentChildrenDecorator;
|
|
186
191
|
/**
|
|
187
192
|
* Type of the ContentChild decorator / constructor function.
|
|
188
193
|
*
|
|
189
|
-
*
|
|
190
|
-
*
|
|
194
|
+
* @publicApi
|
|
191
195
|
*/
|
|
192
196
|
export interface ContentChildDecorator {
|
|
193
197
|
/**
|
|
@@ -235,6 +239,7 @@ export declare type ContentChild = Query;
|
|
|
235
239
|
*
|
|
236
240
|
*
|
|
237
241
|
* @Annotation
|
|
242
|
+
* @publicApi
|
|
238
243
|
*/
|
|
239
244
|
export declare const ContentChild: ContentChildDecorator;
|
|
240
245
|
/**
|
|
@@ -242,7 +247,7 @@ export declare const ContentChild: ContentChildDecorator;
|
|
|
242
247
|
*
|
|
243
248
|
* @see `ViewChildren`.
|
|
244
249
|
*
|
|
245
|
-
*
|
|
250
|
+
* @publicApi
|
|
246
251
|
*/
|
|
247
252
|
export interface ViewChildrenDecorator {
|
|
248
253
|
/**
|
|
@@ -286,12 +291,14 @@ export declare type ViewChildren = Query;
|
|
|
286
291
|
* ViewChildren decorator and metadata.
|
|
287
292
|
*
|
|
288
293
|
* @Annotation
|
|
294
|
+
* @publicApi
|
|
289
295
|
*/
|
|
290
296
|
export declare const ViewChildren: ViewChildrenDecorator;
|
|
291
297
|
/**
|
|
292
298
|
* Type of the ViewChild decorator / constructor function.
|
|
293
299
|
*
|
|
294
300
|
* @see `ViewChild`.
|
|
301
|
+
* @publicApi
|
|
295
302
|
*/
|
|
296
303
|
export interface ViewChildDecorator {
|
|
297
304
|
/**
|
|
@@ -348,5 +355,6 @@ export declare type ViewChild = Query;
|
|
|
348
355
|
* ViewChild decorator and metadata.
|
|
349
356
|
*
|
|
350
357
|
* @Annotation
|
|
358
|
+
* @publicApi
|
|
351
359
|
*/
|
|
352
360
|
export declare const ViewChild: ViewChildDecorator;
|
|
@@ -12,6 +12,7 @@ import { TypeDecorator } from '../util/decorators';
|
|
|
12
12
|
import { ViewEncapsulation } from './view';
|
|
13
13
|
/**
|
|
14
14
|
* Type of the Directive decorator / constructor function.
|
|
15
|
+
* @publicApi
|
|
15
16
|
*/
|
|
16
17
|
export interface DirectiveDecorator {
|
|
17
18
|
/**
|
|
@@ -330,11 +331,14 @@ export interface Directive {
|
|
|
330
331
|
}
|
|
331
332
|
/**
|
|
332
333
|
* Type of the Directive metadata.
|
|
334
|
+
*
|
|
335
|
+
* @publicApi
|
|
333
336
|
*/
|
|
334
337
|
export declare const Directive: DirectiveDecorator;
|
|
335
338
|
/**
|
|
336
339
|
* Component decorator interface
|
|
337
340
|
*
|
|
341
|
+
* @publicApi
|
|
338
342
|
*/
|
|
339
343
|
export interface ComponentDecorator {
|
|
340
344
|
/**
|
|
@@ -598,10 +602,13 @@ export interface Component extends Directive {
|
|
|
598
602
|
* `ngPreserveWhitespaces` attribute.
|
|
599
603
|
*
|
|
600
604
|
* @Annotation
|
|
605
|
+
* @publicApi
|
|
601
606
|
*/
|
|
602
607
|
export declare const Component: ComponentDecorator;
|
|
603
608
|
/**
|
|
604
609
|
* Type of the Pipe decorator / constructor function.
|
|
610
|
+
*
|
|
611
|
+
* @publicApi
|
|
605
612
|
*/
|
|
606
613
|
export interface PipeDecorator {
|
|
607
614
|
/**
|
|
@@ -636,13 +643,12 @@ export interface Pipe {
|
|
|
636
643
|
pure?: boolean;
|
|
637
644
|
}
|
|
638
645
|
/**
|
|
639
|
-
*
|
|
640
|
-
*
|
|
641
646
|
* @Annotation
|
|
647
|
+
* @publicApi
|
|
642
648
|
*/
|
|
643
649
|
export declare const Pipe: PipeDecorator;
|
|
644
650
|
/**
|
|
645
|
-
*
|
|
651
|
+
* @publicApi
|
|
646
652
|
*/
|
|
647
653
|
export interface InputDecorator {
|
|
648
654
|
/**
|
|
@@ -719,12 +725,14 @@ export interface Input {
|
|
|
719
725
|
bindingPropertyName?: string;
|
|
720
726
|
}
|
|
721
727
|
/**
|
|
722
|
-
*
|
|
723
728
|
* @Annotation
|
|
729
|
+
* @publicApi
|
|
724
730
|
*/
|
|
725
731
|
export declare const Input: InputDecorator;
|
|
726
732
|
/**
|
|
727
733
|
* Type of the Output decorator / constructor function.
|
|
734
|
+
*
|
|
735
|
+
* @publicApi
|
|
728
736
|
*/
|
|
729
737
|
export interface OutputDecorator {
|
|
730
738
|
/**
|
|
@@ -752,12 +760,14 @@ export interface Output {
|
|
|
752
760
|
bindingPropertyName?: string;
|
|
753
761
|
}
|
|
754
762
|
/**
|
|
755
|
-
*
|
|
756
763
|
* @Annotation
|
|
764
|
+
* @publicApi
|
|
757
765
|
*/
|
|
758
766
|
export declare const Output: OutputDecorator;
|
|
759
767
|
/**
|
|
760
768
|
* Type of the HostBinding decorator / constructor function.
|
|
769
|
+
*
|
|
770
|
+
* @publicApi
|
|
761
771
|
*/
|
|
762
772
|
export interface HostBindingDecorator {
|
|
763
773
|
/**
|
|
@@ -799,12 +809,14 @@ export interface HostBinding {
|
|
|
799
809
|
hostPropertyName?: string;
|
|
800
810
|
}
|
|
801
811
|
/**
|
|
802
|
-
*
|
|
803
812
|
* @Annotation
|
|
813
|
+
* @publicApi
|
|
804
814
|
*/
|
|
805
815
|
export declare const HostBinding: HostBindingDecorator;
|
|
806
816
|
/**
|
|
807
817
|
* Type of the HostListener decorator / constructor function.
|
|
818
|
+
*
|
|
819
|
+
* @publicApi
|
|
808
820
|
*/
|
|
809
821
|
export interface HostListenerDecorator {
|
|
810
822
|
(eventName: string, args?: string[]): any;
|
|
@@ -853,5 +865,6 @@ export interface HostListener {
|
|
|
853
865
|
* ```
|
|
854
866
|
*
|
|
855
867
|
* @Annotation
|
|
868
|
+
* @publicApi
|
|
856
869
|
*/
|
|
857
870
|
export declare const HostListener: HostListenerDecorator;
|