@angular/core 2.0.0-rc.1 → 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.
Files changed (624) hide show
  1. package/{core.umd.js → bundles/core.umd.js} +6402 -4606
  2. package/bundles/core.umd.min.js +6 -0
  3. package/esm/index.d.ts +5 -4
  4. package/esm/index.js +9 -8
  5. package/esm/index.js.map +1 -1
  6. package/esm/private_export.d.ts +96 -11
  7. package/esm/private_export.js +39 -10
  8. package/esm/private_export.js.map +1 -1
  9. package/esm/private_export.metadata.json +1 -1
  10. package/esm/src/animation/active_animation_players_map.d.ts +11 -0
  11. package/esm/src/animation/active_animation_players_map.js +47 -0
  12. package/esm/src/animation/active_animation_players_map.js.map +1 -0
  13. package/esm/src/animation/animation_constants.d.ts +4 -0
  14. package/esm/src/animation/animation_constants.js +5 -0
  15. package/esm/src/animation/animation_constants.js.map +1 -0
  16. package/esm/src/animation/animation_constants.metadata.json +1 -0
  17. package/esm/src/animation/animation_driver.d.ts +9 -0
  18. package/esm/src/animation/animation_driver.js +9 -0
  19. package/esm/src/animation/animation_driver.js.map +1 -0
  20. package/esm/src/animation/animation_group_player.d.ts +18 -0
  21. package/esm/src/animation/animation_group_player.js +60 -0
  22. package/esm/src/animation/animation_group_player.js.map +1 -0
  23. package/esm/src/animation/animation_keyframe.d.ts +6 -0
  24. package/esm/src/animation/animation_keyframe.js +7 -0
  25. package/esm/src/animation/animation_keyframe.js.map +1 -0
  26. package/esm/src/animation/animation_player.d.ts +26 -0
  27. package/esm/src/animation/animation_player.js +30 -0
  28. package/esm/src/animation/animation_player.js.map +1 -0
  29. package/esm/src/animation/animation_sequence_player.d.ts +21 -0
  30. package/esm/src/animation/animation_sequence_player.js +64 -0
  31. package/esm/src/animation/animation_sequence_player.js.map +1 -0
  32. package/esm/src/animation/animation_style_util.d.ts +32 -0
  33. package/esm/src/animation/animation_style_util.js +91 -0
  34. package/esm/src/animation/animation_style_util.js.map +1 -0
  35. package/esm/src/animation/animation_style_util.metadata.json +1 -0
  36. package/esm/src/animation/animation_styles.d.ts +8 -0
  37. package/esm/src/animation/animation_styles.js +6 -0
  38. package/esm/src/animation/animation_styles.js.map +1 -0
  39. package/esm/src/animation/metadata.d.ts +511 -0
  40. package/esm/src/animation/metadata.js +565 -0
  41. package/esm/src/animation/metadata.js.map +1 -0
  42. package/esm/src/animation/metadata.metadata.json +1 -0
  43. package/esm/src/application_common_providers.d.ts +1 -0
  44. package/esm/src/application_common_providers.js +5 -4
  45. package/esm/src/application_common_providers.js.map +1 -1
  46. package/esm/src/application_common_providers.metadata.json +1 -1
  47. package/esm/src/application_ref.d.ts +17 -41
  48. package/esm/src/application_ref.js +32 -23
  49. package/esm/src/application_ref.js.map +1 -1
  50. package/esm/src/application_ref.metadata.json +1 -1
  51. package/esm/src/application_tokens.d.ts +6 -1
  52. package/esm/src/application_tokens.js +9 -4
  53. package/esm/src/application_tokens.js.map +1 -1
  54. package/esm/src/application_tokens.metadata.json +1 -1
  55. package/esm/src/change_detection/change_detection.d.ts +9 -8
  56. package/esm/src/change_detection/change_detection.js +7 -7
  57. package/esm/src/change_detection/change_detection.js.map +1 -1
  58. package/esm/src/change_detection/change_detection.metadata.json +1 -1
  59. package/esm/src/change_detection/change_detection_util.d.ts +3 -1
  60. package/esm/src/change_detection/change_detection_util.js +6 -5
  61. package/esm/src/change_detection/change_detection_util.js.map +1 -1
  62. package/esm/src/change_detection/change_detection_util.metadata.json +1 -1
  63. package/esm/src/change_detection/change_detector_ref.d.ts +3 -0
  64. package/esm/src/change_detection/change_detector_ref.js +3 -0
  65. package/esm/src/change_detection/change_detector_ref.js.map +1 -1
  66. package/esm/src/change_detection/constants.d.ts +1 -0
  67. package/esm/src/change_detection/constants.js +4 -3
  68. package/esm/src/change_detection/constants.js.map +1 -1
  69. package/esm/src/change_detection/constants.metadata.json +1 -1
  70. package/esm/src/change_detection/differs/default_iterable_differ.d.ts +6 -94
  71. package/esm/src/change_detection/differs/default_iterable_differ.js +25 -18
  72. package/esm/src/change_detection/differs/default_iterable_differ.js.map +1 -1
  73. package/esm/src/change_detection/differs/default_keyvalue_differ.d.ts +3 -30
  74. package/esm/src/change_detection/differs/default_keyvalue_differ.js +13 -8
  75. package/esm/src/change_detection/differs/default_keyvalue_differ.js.map +1 -1
  76. package/esm/src/change_detection/differs/iterable_differs.d.ts +4 -1
  77. package/esm/src/change_detection/differs/iterable_differs.js +5 -4
  78. package/esm/src/change_detection/differs/iterable_differs.js.map +1 -1
  79. package/esm/src/change_detection/differs/keyvalue_differs.d.ts +2 -1
  80. package/esm/src/change_detection/differs/keyvalue_differs.js +5 -4
  81. package/esm/src/change_detection/differs/keyvalue_differs.js.map +1 -1
  82. package/esm/src/change_detection/pipe_transform.js.map +1 -1
  83. package/esm/src/change_detection.d.ts +1 -1
  84. package/esm/src/change_detection.js +5 -5
  85. package/esm/src/change_detection.js.map +1 -1
  86. package/esm/src/console.js +2 -1
  87. package/esm/src/console.js.map +1 -1
  88. package/esm/src/console.metadata.json +1 -1
  89. package/esm/src/debug/debug_node.d.ts +20 -2
  90. package/esm/src/debug/debug_node.js +16 -2
  91. package/esm/src/debug/debug_node.js.map +1 -1
  92. package/esm/src/debug/debug_node.metadata.json +1 -0
  93. package/esm/src/debug/debug_renderer.d.ts +10 -6
  94. package/esm/src/debug/debug_renderer.js +13 -2
  95. package/esm/src/debug/debug_renderer.js.map +1 -1
  96. package/esm/src/di/decorators.d.ts +13 -1
  97. package/esm/src/di/decorators.js +7 -1
  98. package/esm/src/di/decorators.js.map +1 -1
  99. package/esm/src/di/decorators.metadata.json +1 -1
  100. package/esm/src/di/forward_ref.d.ts +3 -1
  101. package/esm/src/di/forward_ref.js +3 -1
  102. package/esm/src/di/forward_ref.js.map +1 -1
  103. package/esm/src/di/injector.d.ts +4 -1
  104. package/esm/src/di/injector.js +5 -2
  105. package/esm/src/di/injector.js.map +1 -1
  106. package/esm/src/di/injector.metadata.json +1 -1
  107. package/esm/src/di/metadata.d.ts +8 -1
  108. package/esm/src/di/metadata.js +10 -3
  109. package/esm/src/di/metadata.js.map +1 -1
  110. package/esm/src/di/opaque_token.d.ts +2 -1
  111. package/esm/src/di/opaque_token.js +22 -21
  112. package/esm/src/di/opaque_token.js.map +1 -1
  113. package/esm/src/di/provider.d.ts +11 -10
  114. package/esm/src/di/provider.js +17 -14
  115. package/esm/src/di/provider.js.map +1 -1
  116. package/esm/src/di/provider.metadata.json +1 -0
  117. package/esm/src/di/provider_util.js.map +1 -1
  118. package/esm/src/di/provider_util.metadata.json +1 -0
  119. package/esm/src/di/reflective_exceptions.d.ts +11 -16
  120. package/esm/src/di/reflective_exceptions.js +28 -22
  121. package/esm/src/di/reflective_exceptions.js.map +1 -1
  122. package/esm/src/di/reflective_injector.d.ts +3 -33
  123. package/esm/src/di/reflective_injector.js +10 -7
  124. package/esm/src/di/reflective_injector.js.map +1 -1
  125. package/esm/src/di/reflective_key.d.ts +1 -8
  126. package/esm/src/di/reflective_key.js +3 -2
  127. package/esm/src/di/reflective_key.js.map +1 -1
  128. package/esm/src/di/reflective_provider.d.ts +2 -1
  129. package/esm/src/di/reflective_provider.js +6 -5
  130. package/esm/src/di/reflective_provider.js.map +1 -1
  131. package/esm/src/di/reflective_provider.metadata.json +1 -0
  132. package/esm/src/di.d.ts +2 -2
  133. package/esm/src/di.js +6 -6
  134. package/esm/src/di.js.map +1 -1
  135. package/esm/src/facade/async.d.ts +11 -4
  136. package/esm/src/facade/async.js +25 -15
  137. package/esm/src/facade/async.js.map +1 -1
  138. package/esm/src/facade/base_wrapped_exception.js +4 -4
  139. package/esm/src/facade/base_wrapped_exception.js.map +1 -1
  140. package/esm/src/facade/collection.js +1 -1
  141. package/esm/src/facade/collection.js.map +1 -1
  142. package/esm/src/facade/collection.metadata.json +1 -1
  143. package/esm/src/facade/exception_handler.d.ts +2 -11
  144. package/esm/src/facade/exception_handler.js +8 -7
  145. package/esm/src/facade/exception_handler.js.map +1 -1
  146. package/esm/src/facade/exceptions.d.ts +4 -0
  147. package/esm/src/facade/exceptions.js +6 -2
  148. package/esm/src/facade/exceptions.js.map +1 -1
  149. package/esm/src/facade/exceptions.metadata.json +1 -0
  150. package/esm/src/facade/lang.d.ts +6 -4
  151. package/esm/src/facade/lang.js +12 -11
  152. package/esm/src/facade/lang.js.map +1 -1
  153. package/esm/src/facade/lang.metadata.json +1 -1
  154. package/esm/src/facade/math.d.ts +2 -0
  155. package/esm/src/facade/math.js +4 -0
  156. package/esm/src/facade/math.js.map +1 -0
  157. package/esm/src/facade/math.metadata.json +1 -0
  158. package/esm/src/facade/promise.js.map +1 -1
  159. package/esm/src/linker/component_factory.d.ts +5 -4
  160. package/esm/src/linker/component_factory.js +7 -3
  161. package/esm/src/linker/component_factory.js.map +1 -1
  162. package/esm/src/linker/component_resolver.d.ts +5 -4
  163. package/esm/src/linker/component_resolver.js +12 -7
  164. package/esm/src/linker/component_resolver.js.map +1 -1
  165. package/esm/src/linker/component_resolver.metadata.json +1 -1
  166. package/esm/src/linker/debug_context.js +5 -4
  167. package/esm/src/linker/debug_context.js.map +1 -1
  168. package/esm/src/linker/dynamic_component_loader.d.ts +5 -6
  169. package/esm/src/linker/dynamic_component_loader.js +5 -3
  170. package/esm/src/linker/dynamic_component_loader.js.map +1 -1
  171. package/esm/src/linker/dynamic_component_loader.metadata.json +1 -1
  172. package/esm/src/linker/element.d.ts +3 -3
  173. package/esm/src/linker/element.js +5 -5
  174. package/esm/src/linker/element.js.map +1 -1
  175. package/esm/src/linker/element_injector.js.map +1 -1
  176. package/esm/src/linker/element_ref.d.ts +1 -0
  177. package/esm/src/linker/element_ref.js +5 -5
  178. package/esm/src/linker/element_ref.js.map +1 -1
  179. package/esm/src/linker/exceptions.d.ts +4 -1
  180. package/esm/src/linker/exceptions.js +4 -1
  181. package/esm/src/linker/exceptions.js.map +1 -1
  182. package/esm/src/linker/query_list.d.ts +3 -10
  183. package/esm/src/linker/query_list.js +8 -7
  184. package/esm/src/linker/query_list.js.map +1 -1
  185. package/esm/src/linker/systemjs_component_resolver.d.ts +21 -0
  186. package/esm/src/linker/systemjs_component_resolver.js +44 -0
  187. package/esm/src/linker/systemjs_component_resolver.js.map +1 -0
  188. package/esm/src/linker/template_ref.d.ts +2 -1
  189. package/esm/src/linker/template_ref.js +1 -0
  190. package/esm/src/linker/template_ref.js.map +1 -1
  191. package/esm/src/linker/view.d.ts +12 -1
  192. package/esm/src/linker/view.js +62 -16
  193. package/esm/src/linker/view.js.map +1 -1
  194. package/esm/src/linker/view_container_ref.d.ts +2 -10
  195. package/esm/src/linker/view_container_ref.js +4 -3
  196. package/esm/src/linker/view_container_ref.js.map +1 -1
  197. package/esm/src/linker/view_ref.d.ts +5 -1
  198. package/esm/src/linker/view_ref.js +6 -2
  199. package/esm/src/linker/view_ref.js.map +1 -1
  200. package/esm/src/linker/view_type.js.map +1 -1
  201. package/esm/src/linker/view_utils.d.ts +2 -4
  202. package/esm/src/linker/view_utils.js +21 -21
  203. package/esm/src/linker/view_utils.js.map +1 -1
  204. package/esm/src/linker/view_utils.metadata.json +1 -1
  205. package/esm/src/linker.d.ts +5 -4
  206. package/esm/src/linker.js +5 -4
  207. package/esm/src/linker.js.map +1 -1
  208. package/esm/src/metadata/di.d.ts +8 -1
  209. package/esm/src/metadata/di.js +10 -3
  210. package/esm/src/metadata/di.js.map +1 -1
  211. package/esm/src/metadata/directives.d.ts +104 -20
  212. package/esm/src/metadata/directives.js +25 -19
  213. package/esm/src/metadata/directives.js.map +1 -1
  214. package/esm/src/metadata/lifecycle_hooks.d.ts +46 -31
  215. package/esm/src/metadata/lifecycle_hooks.js +464 -10
  216. package/esm/src/metadata/lifecycle_hooks.js.map +1 -1
  217. package/esm/src/metadata/lifecycle_hooks.metadata.json +1 -1
  218. package/esm/src/metadata/view.d.ts +6 -2
  219. package/esm/src/metadata/view.js +3 -1
  220. package/esm/src/metadata/view.js.map +1 -1
  221. package/esm/src/metadata/view.metadata.json +1 -1
  222. package/esm/src/metadata.d.ts +49 -15
  223. package/esm/src/metadata.js +35 -10
  224. package/esm/src/metadata.js.map +1 -1
  225. package/esm/src/metadata.metadata.json +1 -1
  226. package/esm/src/platform_common_providers.d.ts +1 -0
  227. package/esm/src/platform_common_providers.js +3 -3
  228. package/esm/src/platform_common_providers.js.map +1 -1
  229. package/esm/src/platform_common_providers.metadata.json +1 -1
  230. package/esm/src/platform_directives_and_pipes.d.ts +48 -45
  231. package/esm/src/platform_directives_and_pipes.js +50 -47
  232. package/esm/src/platform_directives_and_pipes.js.map +1 -1
  233. package/esm/src/platform_directives_and_pipes.metadata.json +1 -1
  234. package/esm/src/profile/profile.d.ts +5 -1
  235. package/esm/src/profile/profile.js +4 -0
  236. package/esm/src/profile/profile.js.map +1 -1
  237. package/esm/src/profile/profile.metadata.json +1 -1
  238. package/esm/src/profile/wtf_impl.js +1 -1
  239. package/esm/src/profile/wtf_impl.js.map +1 -1
  240. package/esm/src/profile/wtf_impl.metadata.json +1 -0
  241. package/esm/src/profile/wtf_init.js +2 -2
  242. package/esm/src/profile/wtf_init.js.map +1 -1
  243. package/esm/src/reflection/platform_reflection_capabilities.d.ts +4 -3
  244. package/esm/src/reflection/platform_reflection_capabilities.js.map +1 -1
  245. package/esm/src/reflection/reflection.d.ts +1 -1
  246. package/esm/src/reflection/reflection.js +2 -2
  247. package/esm/src/reflection/reflection.js.map +1 -1
  248. package/esm/src/reflection/reflection.metadata.json +1 -1
  249. package/esm/src/reflection/reflection_capabilities.d.ts +4 -5
  250. package/esm/src/reflection/reflection_capabilities.js +22 -10
  251. package/esm/src/reflection/reflection_capabilities.js.map +1 -1
  252. package/esm/src/reflection/reflector.d.ts +8 -20
  253. package/esm/src/reflection/reflector.js +13 -3
  254. package/esm/src/reflection/reflector.js.map +1 -1
  255. package/esm/src/reflection/reflector_reader.js +3 -3
  256. package/esm/src/reflection/reflector_reader.js.map +1 -1
  257. package/esm/src/reflection/types.js.map +1 -1
  258. package/esm/src/render/api.d.ts +17 -6
  259. package/esm/src/render/api.js +8 -1
  260. package/esm/src/render/api.js.map +1 -1
  261. package/esm/src/render.d.ts +1 -1
  262. package/esm/src/render.js +1 -1
  263. package/esm/src/render.js.map +1 -1
  264. package/esm/src/security.js +6 -6
  265. package/esm/src/security.js.map +1 -1
  266. package/esm/src/testability/testability.d.ts +3 -19
  267. package/esm/src/testability/testability.js +10 -5
  268. package/esm/src/testability/testability.js.map +1 -1
  269. package/esm/src/testability/testability.metadata.json +1 -1
  270. package/esm/src/util/decorators.d.ts +2 -1
  271. package/esm/src/util/decorators.js +10 -9
  272. package/esm/src/util/decorators.js.map +1 -1
  273. package/esm/src/util.js.map +1 -1
  274. package/esm/src/zone/ng_zone.d.ts +6 -17
  275. package/esm/src/zone/ng_zone.js +7 -6
  276. package/esm/src/zone/ng_zone.js.map +1 -1
  277. package/esm/src/zone/ng_zone_impl.d.ts +1 -4
  278. package/esm/src/zone/ng_zone_impl.js +3 -2
  279. package/esm/src/zone/ng_zone_impl.js.map +1 -1
  280. package/esm/src/zone.js.map +1 -1
  281. package/esm/testing/async.js +20 -22
  282. package/esm/testing/async.js.map +1 -1
  283. package/esm/testing/async.metadata.json +1 -0
  284. package/esm/testing/async_test_completer.js.map +1 -1
  285. package/esm/testing/fake_async.d.ts +4 -1
  286. package/esm/testing/fake_async.js +9 -2
  287. package/esm/testing/fake_async.js.map +1 -1
  288. package/esm/testing/lang_utils.js +1 -1
  289. package/esm/testing/lang_utils.js.map +1 -1
  290. package/esm/testing/lang_utils.metadata.json +1 -0
  291. package/esm/testing/logger.js +5 -3
  292. package/esm/testing/logger.js.map +1 -1
  293. package/esm/testing/logger.metadata.json +1 -1
  294. package/esm/testing/mock_application_ref.d.ts +1 -1
  295. package/esm/testing/mock_application_ref.js +1 -0
  296. package/esm/testing/mock_application_ref.js.map +1 -1
  297. package/esm/testing/mock_application_ref.metadata.json +1 -1
  298. package/esm/testing/ng_zone_mock.d.ts +0 -1
  299. package/esm/testing/ng_zone_mock.js +2 -1
  300. package/esm/testing/ng_zone_mock.js.map +1 -1
  301. package/esm/testing/ng_zone_mock.metadata.json +1 -1
  302. package/esm/testing/regexp.js +1 -1
  303. package/esm/testing/regexp.js.map +1 -1
  304. package/esm/testing/regexp.metadata.json +1 -0
  305. package/esm/testing/test_injector.d.ts +6 -12
  306. package/esm/testing/test_injector.js +4 -10
  307. package/esm/testing/test_injector.js.map +1 -1
  308. package/esm/testing/test_injector.metadata.json +1 -0
  309. package/esm/testing/testing.d.ts +2 -2
  310. package/esm/testing/testing.js +2 -2
  311. package/esm/testing/testing.js.map +1 -1
  312. package/esm/testing/testing.metadata.json +1 -1
  313. package/esm/testing.js.map +1 -1
  314. package/index.d.ts +5 -4
  315. package/index.js +10 -8
  316. package/index.js.map +1 -1
  317. package/package.json +5 -1
  318. package/private_export.d.ts +96 -11
  319. package/private_export.js +39 -10
  320. package/private_export.js.map +1 -1
  321. package/private_export.metadata.json +1 -1
  322. package/src/animation/active_animation_players_map.d.ts +11 -0
  323. package/src/animation/active_animation_players_map.js +54 -0
  324. package/src/animation/active_animation_players_map.js.map +1 -0
  325. package/src/animation/animation_constants.d.ts +4 -0
  326. package/src/animation/animation_constants.js +6 -0
  327. package/src/animation/animation_constants.js.map +1 -0
  328. package/src/animation/animation_constants.metadata.json +1 -0
  329. package/src/animation/animation_driver.d.ts +9 -0
  330. package/src/animation/animation_driver.js +25 -0
  331. package/src/animation/animation_driver.js.map +1 -0
  332. package/src/animation/animation_group_player.d.ts +18 -0
  333. package/src/animation/animation_group_player.js +64 -0
  334. package/src/animation/animation_group_player.js.map +1 -0
  335. package/src/animation/animation_keyframe.d.ts +6 -0
  336. package/src/animation/animation_keyframe.js +10 -0
  337. package/src/animation/animation_keyframe.js.map +1 -0
  338. package/src/animation/animation_player.d.ts +26 -0
  339. package/src/animation/animation_player.js +42 -0
  340. package/src/animation/animation_player.js.map +1 -0
  341. package/src/animation/animation_sequence_player.d.ts +21 -0
  342. package/src/animation/animation_sequence_player.js +69 -0
  343. package/src/animation/animation_sequence_player.js.map +1 -0
  344. package/src/animation/animation_style_util.d.ts +32 -0
  345. package/src/animation/animation_style_util.js +99 -0
  346. package/src/animation/animation_style_util.js.map +1 -0
  347. package/src/animation/animation_style_util.metadata.json +1 -0
  348. package/src/animation/animation_styles.d.ts +8 -0
  349. package/src/animation/animation_styles.js +9 -0
  350. package/src/animation/animation_styles.js.map +1 -0
  351. package/src/animation/metadata.d.ts +511 -0
  352. package/src/animation/metadata.js +627 -0
  353. package/src/animation/metadata.js.map +1 -0
  354. package/src/animation/metadata.metadata.json +1 -0
  355. package/src/application_common_providers.d.ts +1 -0
  356. package/src/application_common_providers.js +4 -3
  357. package/src/application_common_providers.js.map +1 -1
  358. package/src/application_common_providers.metadata.json +1 -1
  359. package/src/application_ref.d.ts +17 -41
  360. package/src/application_ref.js +30 -21
  361. package/src/application_ref.js.map +1 -1
  362. package/src/application_ref.metadata.json +1 -1
  363. package/src/application_tokens.d.ts +6 -1
  364. package/src/application_tokens.js +9 -4
  365. package/src/application_tokens.js.map +1 -1
  366. package/src/application_tokens.metadata.json +1 -1
  367. package/src/change_detection/change_detection.d.ts +9 -8
  368. package/src/change_detection/change_detection.js +21 -21
  369. package/src/change_detection/change_detection.js.map +1 -1
  370. package/src/change_detection/change_detection.metadata.json +1 -1
  371. package/src/change_detection/change_detection_util.d.ts +3 -1
  372. package/src/change_detection/change_detection_util.js +6 -5
  373. package/src/change_detection/change_detection_util.js.map +1 -1
  374. package/src/change_detection/change_detection_util.metadata.json +1 -1
  375. package/src/change_detection/change_detector_ref.d.ts +3 -0
  376. package/src/change_detection/change_detector_ref.js +3 -0
  377. package/src/change_detection/change_detector_ref.js.map +1 -1
  378. package/src/change_detection/constants.d.ts +1 -0
  379. package/src/change_detection/constants.js +4 -3
  380. package/src/change_detection/constants.js.map +1 -1
  381. package/src/change_detection/constants.metadata.json +1 -1
  382. package/src/change_detection/differs/default_iterable_differ.d.ts +6 -94
  383. package/src/change_detection/differs/default_iterable_differ.js +25 -18
  384. package/src/change_detection/differs/default_iterable_differ.js.map +1 -1
  385. package/src/change_detection/differs/default_keyvalue_differ.d.ts +3 -30
  386. package/src/change_detection/differs/default_keyvalue_differ.js +13 -8
  387. package/src/change_detection/differs/default_keyvalue_differ.js.map +1 -1
  388. package/src/change_detection/differs/iterable_differs.d.ts +4 -1
  389. package/src/change_detection/differs/iterable_differs.js +4 -3
  390. package/src/change_detection/differs/iterable_differs.js.map +1 -1
  391. package/src/change_detection/differs/keyvalue_differs.d.ts +2 -1
  392. package/src/change_detection/differs/keyvalue_differs.js +4 -3
  393. package/src/change_detection/differs/keyvalue_differs.js.map +1 -1
  394. package/src/change_detection/pipe_transform.js.map +1 -1
  395. package/src/change_detection.d.ts +1 -1
  396. package/src/change_detection.js +9 -9
  397. package/src/change_detection.js.map +1 -1
  398. package/src/console.js +2 -1
  399. package/src/console.js.map +1 -1
  400. package/src/console.metadata.json +1 -1
  401. package/src/debug/debug_node.d.ts +20 -2
  402. package/src/debug/debug_node.js +16 -2
  403. package/src/debug/debug_node.js.map +1 -1
  404. package/src/debug/debug_node.metadata.json +1 -0
  405. package/src/debug/debug_renderer.d.ts +10 -6
  406. package/src/debug/debug_renderer.js +12 -1
  407. package/src/debug/debug_renderer.js.map +1 -1
  408. package/src/di/decorators.d.ts +13 -1
  409. package/src/di/decorators.js +7 -1
  410. package/src/di/decorators.js.map +1 -1
  411. package/src/di/decorators.metadata.json +1 -1
  412. package/src/di/forward_ref.d.ts +3 -1
  413. package/src/di/forward_ref.js +3 -1
  414. package/src/di/forward_ref.js.map +1 -1
  415. package/src/di/injector.d.ts +4 -1
  416. package/src/di/injector.js +5 -2
  417. package/src/di/injector.js.map +1 -1
  418. package/src/di/injector.metadata.json +1 -1
  419. package/src/di/metadata.d.ts +8 -1
  420. package/src/di/metadata.js +10 -3
  421. package/src/di/metadata.js.map +1 -1
  422. package/src/di/opaque_token.d.ts +2 -1
  423. package/src/di/opaque_token.js +22 -21
  424. package/src/di/opaque_token.js.map +1 -1
  425. package/src/di/provider.d.ts +11 -10
  426. package/src/di/provider.js +17 -14
  427. package/src/di/provider.js.map +1 -1
  428. package/src/di/provider.metadata.json +1 -0
  429. package/src/di/provider_util.js.map +1 -1
  430. package/src/di/provider_util.metadata.json +1 -0
  431. package/src/di/reflective_exceptions.d.ts +11 -16
  432. package/src/di/reflective_exceptions.js +28 -22
  433. package/src/di/reflective_exceptions.js.map +1 -1
  434. package/src/di/reflective_injector.d.ts +3 -33
  435. package/src/di/reflective_injector.js +9 -6
  436. package/src/di/reflective_injector.js.map +1 -1
  437. package/src/di/reflective_key.d.ts +1 -8
  438. package/src/di/reflective_key.js +3 -2
  439. package/src/di/reflective_key.js.map +1 -1
  440. package/src/di/reflective_provider.d.ts +2 -1
  441. package/src/di/reflective_provider.js +6 -5
  442. package/src/di/reflective_provider.js.map +1 -1
  443. package/src/di/reflective_provider.metadata.json +1 -0
  444. package/src/di.d.ts +2 -2
  445. package/src/di.js +7 -9
  446. package/src/di.js.map +1 -1
  447. package/src/facade/async.d.ts +11 -4
  448. package/src/facade/async.js +27 -17
  449. package/src/facade/async.js.map +1 -1
  450. package/src/facade/base_wrapped_exception.js +4 -4
  451. package/src/facade/base_wrapped_exception.js.map +1 -1
  452. package/src/facade/collection.js.map +1 -1
  453. package/src/facade/collection.metadata.json +1 -1
  454. package/src/facade/exception_handler.d.ts +2 -11
  455. package/src/facade/exception_handler.js +8 -7
  456. package/src/facade/exception_handler.js.map +1 -1
  457. package/src/facade/exceptions.d.ts +4 -0
  458. package/src/facade/exceptions.js +6 -2
  459. package/src/facade/exceptions.js.map +1 -1
  460. package/src/facade/exceptions.metadata.json +1 -0
  461. package/src/facade/lang.d.ts +6 -4
  462. package/src/facade/lang.js +12 -11
  463. package/src/facade/lang.js.map +1 -1
  464. package/src/facade/lang.metadata.json +1 -1
  465. package/src/facade/math.d.ts +2 -0
  466. package/src/facade/math.js +5 -0
  467. package/src/facade/math.js.map +1 -0
  468. package/src/facade/math.metadata.json +1 -0
  469. package/src/facade/promise.js.map +1 -1
  470. package/src/linker/component_factory.d.ts +5 -4
  471. package/src/linker/component_factory.js +7 -3
  472. package/src/linker/component_factory.js.map +1 -1
  473. package/src/linker/component_resolver.d.ts +5 -4
  474. package/src/linker/component_resolver.js +12 -7
  475. package/src/linker/component_resolver.js.map +1 -1
  476. package/src/linker/component_resolver.metadata.json +1 -1
  477. package/src/linker/debug_context.js +5 -4
  478. package/src/linker/debug_context.js.map +1 -1
  479. package/src/linker/dynamic_component_loader.d.ts +5 -6
  480. package/src/linker/dynamic_component_loader.js +5 -3
  481. package/src/linker/dynamic_component_loader.js.map +1 -1
  482. package/src/linker/dynamic_component_loader.metadata.json +1 -1
  483. package/src/linker/element.d.ts +3 -3
  484. package/src/linker/element.js +5 -5
  485. package/src/linker/element.js.map +1 -1
  486. package/src/linker/element_injector.js.map +1 -1
  487. package/src/linker/element_ref.d.ts +1 -0
  488. package/src/linker/element_ref.js +5 -5
  489. package/src/linker/element_ref.js.map +1 -1
  490. package/src/linker/exceptions.d.ts +4 -1
  491. package/src/linker/exceptions.js +4 -1
  492. package/src/linker/exceptions.js.map +1 -1
  493. package/src/linker/query_list.d.ts +3 -10
  494. package/src/linker/query_list.js +8 -7
  495. package/src/linker/query_list.js.map +1 -1
  496. package/src/linker/systemjs_component_resolver.d.ts +21 -0
  497. package/src/linker/systemjs_component_resolver.js +52 -0
  498. package/src/linker/systemjs_component_resolver.js.map +1 -0
  499. package/src/linker/template_ref.d.ts +2 -1
  500. package/src/linker/template_ref.js +1 -0
  501. package/src/linker/template_ref.js.map +1 -1
  502. package/src/linker/view.d.ts +12 -1
  503. package/src/linker/view.js +65 -15
  504. package/src/linker/view.js.map +1 -1
  505. package/src/linker/view_container_ref.d.ts +2 -10
  506. package/src/linker/view_container_ref.js +4 -3
  507. package/src/linker/view_container_ref.js.map +1 -1
  508. package/src/linker/view_ref.d.ts +5 -1
  509. package/src/linker/view_ref.js +6 -2
  510. package/src/linker/view_ref.js.map +1 -1
  511. package/src/linker/view_type.js.map +1 -1
  512. package/src/linker/view_utils.d.ts +2 -4
  513. package/src/linker/view_utils.js +21 -21
  514. package/src/linker/view_utils.js.map +1 -1
  515. package/src/linker/view_utils.metadata.json +1 -1
  516. package/src/linker.d.ts +5 -4
  517. package/src/linker.js +12 -9
  518. package/src/linker.js.map +1 -1
  519. package/src/metadata/di.d.ts +8 -1
  520. package/src/metadata/di.js +10 -3
  521. package/src/metadata/di.js.map +1 -1
  522. package/src/metadata/directives.d.ts +104 -20
  523. package/src/metadata/directives.js +25 -27
  524. package/src/metadata/directives.js.map +1 -1
  525. package/src/metadata/lifecycle_hooks.d.ts +46 -31
  526. package/src/metadata/lifecycle_hooks.js +496 -10
  527. package/src/metadata/lifecycle_hooks.js.map +1 -1
  528. package/src/metadata/lifecycle_hooks.metadata.json +1 -1
  529. package/src/metadata/view.d.ts +6 -2
  530. package/src/metadata/view.js +3 -1
  531. package/src/metadata/view.js.map +1 -1
  532. package/src/metadata/view.metadata.json +1 -1
  533. package/src/metadata.d.ts +49 -15
  534. package/src/metadata.js +70 -37
  535. package/src/metadata.js.map +1 -1
  536. package/src/metadata.metadata.json +1 -1
  537. package/src/platform_common_providers.d.ts +1 -0
  538. package/src/platform_common_providers.js +3 -3
  539. package/src/platform_common_providers.js.map +1 -1
  540. package/src/platform_common_providers.metadata.json +1 -1
  541. package/src/platform_directives_and_pipes.d.ts +48 -45
  542. package/src/platform_directives_and_pipes.js +50 -47
  543. package/src/platform_directives_and_pipes.js.map +1 -1
  544. package/src/platform_directives_and_pipes.metadata.json +1 -1
  545. package/src/profile/profile.d.ts +5 -1
  546. package/src/profile/profile.js +5 -3
  547. package/src/profile/profile.js.map +1 -1
  548. package/src/profile/profile.metadata.json +1 -1
  549. package/src/profile/wtf_impl.js +1 -1
  550. package/src/profile/wtf_impl.js.map +1 -1
  551. package/src/profile/wtf_impl.metadata.json +1 -0
  552. package/src/profile/wtf_init.js +2 -2
  553. package/src/profile/wtf_init.js.map +1 -1
  554. package/src/reflection/platform_reflection_capabilities.d.ts +4 -3
  555. package/src/reflection/platform_reflection_capabilities.js.map +1 -1
  556. package/src/reflection/reflection.d.ts +1 -1
  557. package/src/reflection/reflection.js +2 -2
  558. package/src/reflection/reflection.js.map +1 -1
  559. package/src/reflection/reflection.metadata.json +1 -1
  560. package/src/reflection/reflection_capabilities.d.ts +4 -5
  561. package/src/reflection/reflection_capabilities.js +24 -10
  562. package/src/reflection/reflection_capabilities.js.map +1 -1
  563. package/src/reflection/reflector.d.ts +8 -20
  564. package/src/reflection/reflector.js +13 -3
  565. package/src/reflection/reflector.js.map +1 -1
  566. package/src/reflection/reflector_reader.js +3 -3
  567. package/src/reflection/reflector_reader.js.map +1 -1
  568. package/src/reflection/types.js.map +1 -1
  569. package/src/render/api.d.ts +17 -6
  570. package/src/render/api.js +8 -1
  571. package/src/render/api.js.map +1 -1
  572. package/src/render.d.ts +1 -1
  573. package/src/render.js +2 -2
  574. package/src/render.js.map +1 -1
  575. package/src/security.js +6 -6
  576. package/src/security.js.map +1 -1
  577. package/src/testability/testability.d.ts +3 -19
  578. package/src/testability/testability.js +10 -5
  579. package/src/testability/testability.js.map +1 -1
  580. package/src/testability/testability.metadata.json +1 -1
  581. package/src/util/decorators.d.ts +2 -1
  582. package/src/util/decorators.js +10 -9
  583. package/src/util/decorators.js.map +1 -1
  584. package/src/util.js.map +1 -1
  585. package/src/zone/ng_zone.d.ts +6 -17
  586. package/src/zone/ng_zone.js +11 -6
  587. package/src/zone/ng_zone.js.map +1 -1
  588. package/src/zone/ng_zone_impl.d.ts +1 -4
  589. package/src/zone/ng_zone_impl.js +3 -2
  590. package/src/zone/ng_zone_impl.js.map +1 -1
  591. package/src/zone.js.map +1 -1
  592. package/testing/async.js +20 -22
  593. package/testing/async.js.map +1 -1
  594. package/testing/async.metadata.json +1 -0
  595. package/testing/async_test_completer.js.map +1 -1
  596. package/testing/fake_async.d.ts +4 -1
  597. package/testing/fake_async.js +10 -2
  598. package/testing/fake_async.js.map +1 -1
  599. package/testing/lang_utils.js +1 -1
  600. package/testing/lang_utils.js.map +1 -1
  601. package/testing/lang_utils.metadata.json +1 -0
  602. package/testing/logger.js +5 -3
  603. package/testing/logger.js.map +1 -1
  604. package/testing/logger.metadata.json +1 -1
  605. package/testing/mock_application_ref.d.ts +1 -1
  606. package/testing/mock_application_ref.js +1 -0
  607. package/testing/mock_application_ref.js.map +1 -1
  608. package/testing/mock_application_ref.metadata.json +1 -1
  609. package/testing/ng_zone_mock.d.ts +0 -1
  610. package/testing/ng_zone_mock.js +2 -1
  611. package/testing/ng_zone_mock.js.map +1 -1
  612. package/testing/ng_zone_mock.metadata.json +1 -1
  613. package/testing/regexp.js +1 -1
  614. package/testing/regexp.js.map +1 -1
  615. package/testing/regexp.metadata.json +1 -0
  616. package/testing/test_injector.d.ts +6 -12
  617. package/testing/test_injector.js +3 -9
  618. package/testing/test_injector.js.map +1 -1
  619. package/testing/test_injector.metadata.json +1 -0
  620. package/testing/testing.d.ts +2 -2
  621. package/testing/testing.js +5 -5
  622. package/testing/testing.js.map +1 -1
  623. package/testing/testing.metadata.json +1 -1
  624. package/testing.js.map +1 -1
@@ -6,25 +6,30 @@
6
6
  * If you need to avoid randomly generated value to be used as an application id, you can provide
7
7
  * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}
8
8
  * using this token.
9
+ * @experimental
9
10
  */
10
11
  export declare const APP_ID: any;
11
12
  /**
12
13
  * Providers that will generate a random APP_ID_TOKEN.
14
+ * @experimental
13
15
  */
14
16
  export declare const APP_ID_RANDOM_PROVIDER: {
15
17
  provide: any;
16
18
  useFactory: () => string;
17
- deps: any[];
19
+ deps: any;
18
20
  };
19
21
  /**
20
22
  * A function that will be executed when a platform is initialized.
23
+ * @experimental
21
24
  */
22
25
  export declare const PLATFORM_INITIALIZER: any;
23
26
  /**
24
27
  * A function that will be executed when an application is initialized.
28
+ * @experimental
25
29
  */
26
30
  export declare const APP_INITIALIZER: any;
27
31
  /**
28
32
  * A token which indicates the root directory of the application
33
+ * @experimental
29
34
  */
30
35
  export declare const PACKAGE_ROOT_URL: any;
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
- var di_1 = require('./di');
3
2
  var lang_1 = require('../src/facade/lang');
3
+ var di_1 = require('./di');
4
4
  /**
5
5
  * A DI Token representing a unique string id assigned to the application by Angular and used
6
6
  * primarily for prefixing application attributes and CSS styles when
@@ -9,6 +9,7 @@ var lang_1 = require('../src/facade/lang');
9
9
  * If you need to avoid randomly generated value to be used as an application id, you can provide
10
10
  * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}
11
11
  * using this token.
12
+ * @experimental
12
13
  */
13
14
  exports.APP_ID = new di_1.OpaqueToken('AppId');
14
15
  function _appIdRandomProviderFactory() {
@@ -16,6 +17,7 @@ function _appIdRandomProviderFactory() {
16
17
  }
17
18
  /**
18
19
  * Providers that will generate a random APP_ID_TOKEN.
20
+ * @experimental
19
21
  */
20
22
  exports.APP_ID_RANDOM_PROVIDER =
21
23
  /*@ts2dart_const*/ /* @ts2dart_Provider */ {
@@ -28,17 +30,20 @@ function _randomChar() {
28
30
  }
29
31
  /**
30
32
  * A function that will be executed when a platform is initialized.
33
+ * @experimental
31
34
  */
32
35
  exports.PLATFORM_INITIALIZER =
33
- /*@ts2dart_const*/ new di_1.OpaqueToken("Platform Initializer");
36
+ /*@ts2dart_const*/ new di_1.OpaqueToken('Platform Initializer');
34
37
  /**
35
38
  * A function that will be executed when an application is initialized.
39
+ * @experimental
36
40
  */
37
41
  exports.APP_INITIALIZER =
38
- /*@ts2dart_const*/ new di_1.OpaqueToken("Application Initializer");
42
+ /*@ts2dart_const*/ new di_1.OpaqueToken('Application Initializer');
39
43
  /**
40
44
  * A token which indicates the root directory of the application
45
+ * @experimental
41
46
  */
42
47
  exports.PACKAGE_ROOT_URL =
43
- /*@ts2dart_const*/ new di_1.OpaqueToken("Application Packages Root URL");
48
+ /*@ts2dart_const*/ new di_1.OpaqueToken('Application Packages Root URL');
44
49
  //# sourceMappingURL=application_tokens.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"application_tokens.js","sourceRoot":"","sources":["../../../../modules/@angular/core/src/application_tokens.ts"],"names":[],"mappings":";AAIE,mBAA0B,MAAM,CAAC,CAAA;AACnC,qBAAkC,oBAAoB,CAAC,CAAA;AAEvD;;;;;;;;GAQG;AACU,cAAM,GAA2B,IAAI,gBAAW,CAAC,OAAO,CAAC,CAAC;AAEvE;IACE,MAAM,CAAC,KAAG,WAAW,EAAE,GAAG,WAAW,EAAE,GAAG,WAAW,EAAI,CAAC;AAC5D,CAAC;AAED;;GAEG;AACU,8BAAsB;AAC/B,kBAAkB,CAAC,uBAAuB,CAAC;IACzC,OAAO,EAAE,cAAM;IACf,UAAU,EAAE,2BAA2B;IACvC,IAAI,EAAE,EAAE;CACT,CAAC;AAEN;IACE,MAAM,CAAC,oBAAa,CAAC,YAAY,CAAC,EAAE,GAAG,WAAI,CAAC,KAAK,CAAC,WAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;AACzE,CAAC;AAED;;GAEG;AACU,4BAAoB;AAC7B,kBAAkB,CAAC,IAAI,gBAAW,CAAC,sBAAsB,CAAC,CAAC;AAE/D;;GAEG;AACU,uBAAe;AACxB,kBAAkB,CAAC,IAAI,gBAAW,CAAC,yBAAyB,CAAC,CAAC;AAElE;;GAEG;AACU,wBAAgB;AACzB,kBAAkB,CAAC,IAAI,gBAAW,CAAC,+BAA+B,CAAC,CAAC","sourcesContent":["interface DecoratorInvocation {\n type: Function;\n args?: any[];\n }\n import {OpaqueToken} from './di';\nimport {Math, StringWrapper} from '../src/facade/lang';\n\n/**\n * A DI Token representing a unique string id assigned to the application by Angular and used\n * primarily for prefixing application attributes and CSS styles when\n * {@link ViewEncapsulation#Emulated} is being used.\n *\n * If you need to avoid randomly generated value to be used as an application id, you can provide\n * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}\n * using this token.\n */\nexport const APP_ID: any = /*@ts2dart_const*/ new OpaqueToken('AppId');\n\nfunction _appIdRandomProviderFactory() {\n return `${_randomChar()}${_randomChar()}${_randomChar()}`;\n}\n\n/**\n * Providers that will generate a random APP_ID_TOKEN.\n */\nexport const APP_ID_RANDOM_PROVIDER =\n /*@ts2dart_const*/ /* @ts2dart_Provider */ {\n provide: APP_ID,\n useFactory: _appIdRandomProviderFactory,\n deps: []\n };\n\nfunction _randomChar(): string {\n return StringWrapper.fromCharCode(97 + Math.floor(Math.random() * 25));\n}\n\n/**\n * A function that will be executed when a platform is initialized.\n */\nexport const PLATFORM_INITIALIZER: any =\n /*@ts2dart_const*/ new OpaqueToken(\"Platform Initializer\");\n\n/**\n * A function that will be executed when an application is initialized.\n */\nexport const APP_INITIALIZER: any =\n /*@ts2dart_const*/ new OpaqueToken(\"Application Initializer\");\n\n/**\n * A token which indicates the root directory of the application\n */\nexport const PACKAGE_ROOT_URL: any =\n /*@ts2dart_const*/ new OpaqueToken(\"Application Packages Root URL\");\n"]}
1
+ {"version":3,"file":"application_tokens.js","sourceRoot":"","sources":["../../../../modules/@angular/core/src/application_tokens.ts"],"names":[],"mappings":";AAAA,qBAAkC,oBAAoB,CAAC,CAAA;AAEvD,mBAA0B,MAAM,CAAC,CAAA;AAGjC;;;;;;;;;GASG;AACU,cAAM,GAA2B,IAAI,gBAAW,CAAC,OAAO,CAAC,CAAC;AAEvE;IACE,MAAM,CAAC,KAAG,WAAW,EAAE,GAAG,WAAW,EAAE,GAAG,WAAW,EAAI,CAAC;AAC5D,CAAC;AAED;;;GAGG;AACU,8BAAsB;AAC/B,kBAAkB,CAAC,uBAAuB,CAAC;IACzC,OAAO,EAAE,cAAM;IACf,UAAU,EAAE,2BAA2B;IACvC,IAAI,EAAE,EAAS;CAChB,CAAC;AAEN;IACE,MAAM,CAAC,oBAAa,CAAC,YAAY,CAAC,EAAE,GAAG,WAAI,CAAC,KAAK,CAAC,WAAI,CAAC,MAAM,EAAE,GAAG,EAAE,CAAC,CAAC,CAAC;AACzE,CAAC;AAED;;;GAGG;AACU,4BAAoB;AAC7B,kBAAkB,CAAC,IAAI,gBAAW,CAAC,sBAAsB,CAAC,CAAC;AAE/D;;;GAGG;AACU,uBAAe;AACxB,kBAAkB,CAAC,IAAI,gBAAW,CAAC,yBAAyB,CAAC,CAAC;AAElE;;;GAGG;AACU,wBAAgB;AACzB,kBAAkB,CAAC,IAAI,gBAAW,CAAC,+BAA+B,CAAC,CAAC","sourcesContent":["import {Math, StringWrapper} from '../src/facade/lang';\n\nimport {OpaqueToken} from './di';\n\n\n/**\n * A DI Token representing a unique string id assigned to the application by Angular and used\n * primarily for prefixing application attributes and CSS styles when\n * {@link ViewEncapsulation#Emulated} is being used.\n *\n * If you need to avoid randomly generated value to be used as an application id, you can provide\n * a custom value via a DI provider <!-- TODO: provider --> configuring the root {@link Injector}\n * using this token.\n * @experimental\n */\nexport const APP_ID: any = /*@ts2dart_const*/ new OpaqueToken('AppId');\n\nfunction _appIdRandomProviderFactory() {\n return `${_randomChar()}${_randomChar()}${_randomChar()}`;\n}\n\n/**\n * Providers that will generate a random APP_ID_TOKEN.\n * @experimental\n */\nexport const APP_ID_RANDOM_PROVIDER =\n /*@ts2dart_const*/ /* @ts2dart_Provider */ {\n provide: APP_ID,\n useFactory: _appIdRandomProviderFactory,\n deps: [] as any\n };\n\nfunction _randomChar(): string {\n return StringWrapper.fromCharCode(97 + Math.floor(Math.random() * 25));\n}\n\n/**\n * A function that will be executed when a platform is initialized.\n * @experimental\n */\nexport const PLATFORM_INITIALIZER: any =\n /*@ts2dart_const*/ new OpaqueToken('Platform Initializer');\n\n/**\n * A function that will be executed when an application is initialized.\n * @experimental\n */\nexport const APP_INITIALIZER: any =\n /*@ts2dart_const*/ new OpaqueToken('Application Initializer');\n\n/**\n * A token which indicates the root directory of the application\n * @experimental\n */\nexport const PACKAGE_ROOT_URL: any =\n /*@ts2dart_const*/ new OpaqueToken('Application Packages Root URL');\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
@@ -1 +1 @@
1
- {"__symbolic":"module","metadata":{"APP_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"OpaqueToken","module":"./di"},"arguments":["AppId"]},"APP_ID_RANDOM_PROVIDER":{"provide":{"__symbolic":"reference","name":"APP_ID"},"useFactory":{"__symbolic":"reference","name":"_appIdRandomProviderFactory"},"deps":[]},"PLATFORM_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"OpaqueToken","module":"./di"},"arguments":["Platform Initializer"]},"APP_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"OpaqueToken","module":"./di"},"arguments":["Application Initializer"]},"PACKAGE_ROOT_URL":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"OpaqueToken","module":"./di"},"arguments":["Application Packages Root URL"]}}}
1
+ {"__symbolic":"module","version":1,"metadata":{"APP_ID":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./di","name":"OpaqueToken"},"arguments":["AppId"]},"APP_ID_RANDOM_PROVIDER":{"__symbolic":"error","message":"Expression form not supported","line":29,"character":11},"PLATFORM_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./di","name":"OpaqueToken"},"arguments":["Platform Initializer"]},"APP_INITIALIZER":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./di","name":"OpaqueToken"},"arguments":["Application Initializer"]},"PACKAGE_ROOT_URL":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./di","name":"OpaqueToken"},"arguments":["Application Packages Root URL"]}}}
@@ -1,14 +1,15 @@
1
- import { IterableDiffers, IterableDifferFactory } from './differs/iterable_differs';
2
- import { KeyValueDiffers, KeyValueDifferFactory } from './differs/keyvalue_differs';
3
- export { DefaultKeyValueDifferFactory, KeyValueChangeRecord } from './differs/default_keyvalue_differ';
4
- export { DefaultIterableDifferFactory, CollectionChangeRecord } from './differs/default_iterable_differ';
5
- export { ChangeDetectionStrategy, CHANGE_DETECTION_STRATEGY_VALUES, ChangeDetectorState, CHANGE_DETECTOR_STATE_VALUES, isDefaultChangeDetectionStrategy } from './constants';
1
+ import { IterableDifferFactory, IterableDiffers } from './differs/iterable_differs';
2
+ import { KeyValueDifferFactory, KeyValueDiffers } from './differs/keyvalue_differs';
3
+ export { SimpleChanges } from '../metadata/lifecycle_hooks';
4
+ export { SimpleChange, ValueUnwrapper, WrappedValue, devModeEqual, looseIdentical, uninitialized } from './change_detection_util';
6
5
  export { ChangeDetectorRef } from './change_detector_ref';
7
- export { IterableDiffers, IterableDiffer, IterableDifferFactory, TrackByFn } from './differs/iterable_differs';
8
- export { KeyValueDiffers, KeyValueDiffer, KeyValueDifferFactory } from './differs/keyvalue_differs';
6
+ export { CHANGE_DETECTION_STRATEGY_VALUES, CHANGE_DETECTOR_STATE_VALUES, ChangeDetectionStrategy, ChangeDetectorState, isDefaultChangeDetectionStrategy } from './constants';
7
+ export { CollectionChangeRecord, DefaultIterableDifferFactory } from './differs/default_iterable_differ';
9
8
  export { DefaultIterableDiffer } from './differs/default_iterable_differ';
9
+ export { DefaultKeyValueDifferFactory, KeyValueChangeRecord } from './differs/default_keyvalue_differ';
10
+ export { IterableDiffer, IterableDifferFactory, IterableDiffers, TrackByFn } from './differs/iterable_differs';
11
+ export { KeyValueDiffer, KeyValueDifferFactory, KeyValueDiffers } from './differs/keyvalue_differs';
10
12
  export { PipeTransform } from './pipe_transform';
11
- export { WrappedValue, ValueUnwrapper, SimpleChange, devModeEqual, looseIdentical, uninitialized } from './change_detection_util';
12
13
  /**
13
14
  * Structural diffing for `Object`s and `Map`s.
14
15
  */
@@ -1,35 +1,35 @@
1
1
  "use strict";
2
- var iterable_differs_1 = require('./differs/iterable_differs');
3
2
  var default_iterable_differ_1 = require('./differs/default_iterable_differ');
4
- var keyvalue_differs_1 = require('./differs/keyvalue_differs');
5
3
  var default_keyvalue_differ_1 = require('./differs/default_keyvalue_differ');
6
- var default_keyvalue_differ_2 = require('./differs/default_keyvalue_differ');
7
- exports.DefaultKeyValueDifferFactory = default_keyvalue_differ_2.DefaultKeyValueDifferFactory;
8
- exports.KeyValueChangeRecord = default_keyvalue_differ_2.KeyValueChangeRecord;
9
- var default_iterable_differ_2 = require('./differs/default_iterable_differ');
10
- exports.DefaultIterableDifferFactory = default_iterable_differ_2.DefaultIterableDifferFactory;
11
- exports.CollectionChangeRecord = default_iterable_differ_2.CollectionChangeRecord;
4
+ var iterable_differs_1 = require('./differs/iterable_differs');
5
+ var keyvalue_differs_1 = require('./differs/keyvalue_differs');
6
+ var change_detection_util_1 = require('./change_detection_util');
7
+ exports.SimpleChange = change_detection_util_1.SimpleChange;
8
+ exports.ValueUnwrapper = change_detection_util_1.ValueUnwrapper;
9
+ exports.WrappedValue = change_detection_util_1.WrappedValue;
10
+ exports.devModeEqual = change_detection_util_1.devModeEqual;
11
+ exports.looseIdentical = change_detection_util_1.looseIdentical;
12
+ exports.uninitialized = change_detection_util_1.uninitialized;
13
+ var change_detector_ref_1 = require('./change_detector_ref');
14
+ exports.ChangeDetectorRef = change_detector_ref_1.ChangeDetectorRef;
12
15
  var constants_1 = require('./constants');
13
- exports.ChangeDetectionStrategy = constants_1.ChangeDetectionStrategy;
14
16
  exports.CHANGE_DETECTION_STRATEGY_VALUES = constants_1.CHANGE_DETECTION_STRATEGY_VALUES;
15
- exports.ChangeDetectorState = constants_1.ChangeDetectorState;
16
17
  exports.CHANGE_DETECTOR_STATE_VALUES = constants_1.CHANGE_DETECTOR_STATE_VALUES;
18
+ exports.ChangeDetectionStrategy = constants_1.ChangeDetectionStrategy;
19
+ exports.ChangeDetectorState = constants_1.ChangeDetectorState;
17
20
  exports.isDefaultChangeDetectionStrategy = constants_1.isDefaultChangeDetectionStrategy;
18
- var change_detector_ref_1 = require('./change_detector_ref');
19
- exports.ChangeDetectorRef = change_detector_ref_1.ChangeDetectorRef;
21
+ var default_iterable_differ_2 = require('./differs/default_iterable_differ');
22
+ exports.CollectionChangeRecord = default_iterable_differ_2.CollectionChangeRecord;
23
+ exports.DefaultIterableDifferFactory = default_iterable_differ_2.DefaultIterableDifferFactory;
24
+ var default_iterable_differ_3 = require('./differs/default_iterable_differ');
25
+ exports.DefaultIterableDiffer = default_iterable_differ_3.DefaultIterableDiffer;
26
+ var default_keyvalue_differ_2 = require('./differs/default_keyvalue_differ');
27
+ exports.DefaultKeyValueDifferFactory = default_keyvalue_differ_2.DefaultKeyValueDifferFactory;
28
+ exports.KeyValueChangeRecord = default_keyvalue_differ_2.KeyValueChangeRecord;
20
29
  var iterable_differs_2 = require('./differs/iterable_differs');
21
30
  exports.IterableDiffers = iterable_differs_2.IterableDiffers;
22
31
  var keyvalue_differs_2 = require('./differs/keyvalue_differs');
23
32
  exports.KeyValueDiffers = keyvalue_differs_2.KeyValueDiffers;
24
- var default_iterable_differ_3 = require('./differs/default_iterable_differ');
25
- exports.DefaultIterableDiffer = default_iterable_differ_3.DefaultIterableDiffer;
26
- var change_detection_util_1 = require('./change_detection_util');
27
- exports.WrappedValue = change_detection_util_1.WrappedValue;
28
- exports.ValueUnwrapper = change_detection_util_1.ValueUnwrapper;
29
- exports.SimpleChange = change_detection_util_1.SimpleChange;
30
- exports.devModeEqual = change_detection_util_1.devModeEqual;
31
- exports.looseIdentical = change_detection_util_1.looseIdentical;
32
- exports.uninitialized = change_detection_util_1.uninitialized;
33
33
  /**
34
34
  * Structural diffing for `Object`s and `Map`s.
35
35
  */
@@ -1 +1 @@
1
- {"version":3,"file":"change_detection.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/change_detection.ts"],"names":[],"mappings":";AAIE,iCAAqD,4BAA4B,CAAC,CAAA;AACpF,wCAA2C,mCAAmC,CAAC,CAAA;AAC/E,iCAAqD,4BAA4B,CAAC,CAAA;AAClF,wCAGO,mCAAmC,CAAC,CAAA;AAE3C,wCAGO,mCAAmC,CAAC;AAFzC,8FAA4B;AAC5B,8EACyC;AAC3C,wCAGO,mCAAmC,CAAC;AAFzC,8FAA4B;AAC5B,kFACyC;AAE3C,0BAMO,aAAa,CAAC;AALnB,sEAAuB;AACvB,wFAAgC;AAChC,8DAAmB;AACnB,gFAA4B;AAC5B,wFACmB;AACrB,oCAAgC,uBAAuB,CAAC;AAAhD,oEAAgD;AACxD,iCAKO,4BAA4B,CAAC;AAJlC,6DAIkC;AACpC,iCAAqE,4BAA4B,CAAC;AAA1F,6DAA0F;AAClG,wCAAoC,mCAAmC,CAAC;AAAhE,gFAAgE;AAGxE,sCAOO,yBAAyB,CAAC;AAN/B,4DAAY;AACZ,gEAAc;AACd,4DAAY;AACZ,4DAAY;AACZ,gEAAc;AACd,8DAC+B;AAEjC;;GAEG;AACU,kBAAU;AACnB,kBAAkB,CAAA,CAAC,IAAI,sDAA4B,EAAE,CAAC,CAAC;AAE3D;;GAEG;AACU,oBAAY;AACrB,kBAAkB,CAAA,CAAC,IAAI,sDAA4B,EAAE,CAAC,CAAC;AAE9C,8BAAsB,GAAsB,IAAI,kCAAe,CAAC,oBAAY,CAAC,CAAC;AAE9E,8BAAsB,GAAsB,IAAI,kCAAe,CAAC,kBAAU,CAAC,CAAC","sourcesContent":["interface DecoratorInvocation {\n type: Function;\n args?: any[];\n }\n import {IterableDiffers, IterableDifferFactory} from './differs/iterable_differs';\nimport {DefaultIterableDifferFactory} from './differs/default_iterable_differ';\nimport {KeyValueDiffers, KeyValueDifferFactory} from './differs/keyvalue_differs';\nimport {\n DefaultKeyValueDifferFactory,\n KeyValueChangeRecord\n} from './differs/default_keyvalue_differ';\n\nexport {\n DefaultKeyValueDifferFactory,\n KeyValueChangeRecord\n} from './differs/default_keyvalue_differ';\nexport {\n DefaultIterableDifferFactory,\n CollectionChangeRecord\n} from './differs/default_iterable_differ';\n\nexport {\n ChangeDetectionStrategy,\n CHANGE_DETECTION_STRATEGY_VALUES,\n ChangeDetectorState,\n CHANGE_DETECTOR_STATE_VALUES,\n isDefaultChangeDetectionStrategy\n} from './constants';\nexport {ChangeDetectorRef} from './change_detector_ref';\nexport {\n IterableDiffers,\n IterableDiffer,\n IterableDifferFactory,\n TrackByFn\n} from './differs/iterable_differs';\nexport {KeyValueDiffers, KeyValueDiffer, KeyValueDifferFactory} from './differs/keyvalue_differs';\nexport {DefaultIterableDiffer} from './differs/default_iterable_differ';\nexport {PipeTransform} from './pipe_transform';\n\nexport {\n WrappedValue,\n ValueUnwrapper,\n SimpleChange,\n devModeEqual,\n looseIdentical,\n uninitialized\n} from './change_detection_util';\n\n/**\n * Structural diffing for `Object`s and `Map`s.\n */\nexport const keyValDiff: KeyValueDifferFactory[] =\n /*@ts2dart_const*/[new DefaultKeyValueDifferFactory()];\n\n/**\n * Structural diffing for `Iterable` types such as `Array`s.\n */\nexport const iterableDiff: IterableDifferFactory[] =\n /*@ts2dart_const*/[new DefaultIterableDifferFactory()];\n\nexport const defaultIterableDiffers = /*@ts2dart_const*/ new IterableDiffers(iterableDiff);\n\nexport const defaultKeyValueDiffers = /*@ts2dart_const*/ new KeyValueDiffers(keyValDiff);\n"]}
1
+ {"version":3,"file":"change_detection.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/change_detection.ts"],"names":[],"mappings":";AAAA,wCAA2C,mCAAmC,CAAC,CAAA;AAC/E,wCAAiE,mCAAmC,CAAC,CAAA;AACrG,iCAAqD,4BAA4B,CAAC,CAAA;AAClF,iCAAqD,4BAA4B,CAAC,CAAA;AAGlF,sCAAsG,yBAAyB,CAAC;AAAxH,4DAAY;AAAE,gEAAc;AAAE,4DAAY;AAAE,4DAAY;AAAE,gEAAc;AAAE,8DAA8C;AAChI,oCAAgC,uBAAuB,CAAC;AAAhD,oEAAgD;AACxD,0BAA6J,aAAa,CAAC;AAAnK,wFAAgC;AAAE,gFAA4B;AAAE,sEAAuB;AAAE,8DAAmB;AAAE,wFAAqD;AAC3K,wCAAmE,mCAAmC,CAAC;AAA/F,kFAAsB;AAAE,8FAAuE;AACvG,wCAAoC,mCAAmC,CAAC;AAAhE,gFAAgE;AACxE,wCAAiE,mCAAmC,CAAC;AAA7F,8FAA4B;AAAE,8EAA+D;AACrG,iCAAgF,4BAA4B,CAAC;AAA9D,6DAA8D;AAC7G,iCAAqE,4BAA4B,CAAC;AAAnD,6DAAmD;AAIlG;;GAEG;AACU,kBAAU;AACnB,kBAAkB,CAAA,CAAC,IAAI,sDAA4B,EAAE,CAAC,CAAC;AAE3D;;GAEG;AACU,oBAAY;AACrB,kBAAkB,CAAA,CAAC,IAAI,sDAA4B,EAAE,CAAC,CAAC;AAE9C,8BAAsB,GAAsB,IAAI,kCAAe,CAAC,oBAAY,CAAC,CAAC;AAE9E,8BAAsB,GAAsB,IAAI,kCAAe,CAAC,kBAAU,CAAC,CAAC","sourcesContent":["import {DefaultIterableDifferFactory} from './differs/default_iterable_differ';\nimport {DefaultKeyValueDifferFactory, KeyValueChangeRecord} from './differs/default_keyvalue_differ';\nimport {IterableDifferFactory, IterableDiffers} from './differs/iterable_differs';\nimport {KeyValueDifferFactory, KeyValueDiffers} from './differs/keyvalue_differs';\n\nexport {SimpleChanges} from '../metadata/lifecycle_hooks';\nexport {SimpleChange, ValueUnwrapper, WrappedValue, devModeEqual, looseIdentical, uninitialized} from './change_detection_util';\nexport {ChangeDetectorRef} from './change_detector_ref';\nexport {CHANGE_DETECTION_STRATEGY_VALUES, CHANGE_DETECTOR_STATE_VALUES, ChangeDetectionStrategy, ChangeDetectorState, isDefaultChangeDetectionStrategy} from './constants';\nexport {CollectionChangeRecord, DefaultIterableDifferFactory} from './differs/default_iterable_differ';\nexport {DefaultIterableDiffer} from './differs/default_iterable_differ';\nexport {DefaultKeyValueDifferFactory, KeyValueChangeRecord} from './differs/default_keyvalue_differ';\nexport {IterableDiffer, IterableDifferFactory, IterableDiffers, TrackByFn} from './differs/iterable_differs';\nexport {KeyValueDiffer, KeyValueDifferFactory, KeyValueDiffers} from './differs/keyvalue_differs';\nexport {PipeTransform} from './pipe_transform';\n\n\n/**\n * Structural diffing for `Object`s and `Map`s.\n */\nexport const keyValDiff: KeyValueDifferFactory[] =\n /*@ts2dart_const*/[new DefaultKeyValueDifferFactory()];\n\n/**\n * Structural diffing for `Iterable` types such as `Array`s.\n */\nexport const iterableDiff: IterableDifferFactory[] =\n /*@ts2dart_const*/[new DefaultIterableDifferFactory()];\n\nexport const defaultIterableDiffers = /*@ts2dart_const*/ new IterableDiffers(iterableDiff);\n\nexport const defaultKeyValueDiffers = /*@ts2dart_const*/ new KeyValueDiffers(keyValDiff);\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
@@ -1 +1 @@
1
- {"__symbolic":"module","metadata":{"keyValDiff":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"DefaultKeyValueDifferFactory","module":"./differs/default_keyvalue_differ"}}],"iterableDiff":[{"__symbolic":"new","expression":{"__symbolic":"reference","name":"DefaultIterableDifferFactory","module":"./differs/default_iterable_differ"}}],"defaultIterableDiffers":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"IterableDiffers","module":"./differs/iterable_differs"},"arguments":[{"__symbolic":"reference","name":"iterableDiff"}]},"defaultKeyValueDiffers":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"KeyValueDiffers","module":"./differs/keyvalue_differs"},"arguments":[{"__symbolic":"reference","name":"keyValDiff"}]}}}
1
+ {"__symbolic":"module","version":1,"metadata":{"keyValDiff":[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./differs/default_keyvalue_differ","name":"DefaultKeyValueDifferFactory"}}],"iterableDiff":[{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./differs/default_iterable_differ","name":"DefaultIterableDifferFactory"}}],"defaultIterableDiffers":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./differs/iterable_differs","name":"IterableDiffers"},"arguments":[{"__symbolic":"reference","name":"iterableDiff"}]},"defaultKeyValueDiffers":{"__symbolic":"new","expression":{"__symbolic":"reference","module":"./differs/keyvalue_differs","name":"KeyValueDiffers"},"arguments":[{"__symbolic":"reference","name":"keyValDiff"}]}}}
@@ -1,4 +1,4 @@
1
- export { looseIdentical } from '../../src/facade/lang';
1
+ export { looseIdentical } from '../facade/lang';
2
2
  export declare var uninitialized: Object;
3
3
  export declare function devModeEqual(a: any, b: any): boolean;
4
4
  /**
@@ -18,6 +18,7 @@ export declare function devModeEqual(a: any, b: any): boolean;
18
18
  * return WrappedValue.wrap(this._latestValue); // this will force update
19
19
  * }
20
20
  * ```
21
+ * @stable
21
22
  */
22
23
  export declare class WrappedValue {
23
24
  wrapped: any;
@@ -34,6 +35,7 @@ export declare class ValueUnwrapper {
34
35
  }
35
36
  /**
36
37
  * Represents a basic change from a previous to a new value.
38
+ * @stable
37
39
  */
38
40
  export declare class SimpleChange {
39
41
  previousValue: any;
@@ -1,15 +1,14 @@
1
1
  "use strict";
2
- var lang_1 = require('../../src/facade/lang');
3
- var collection_1 = require('../../src/facade/collection');
4
- var lang_2 = require('../../src/facade/lang');
2
+ var collection_1 = require('../facade/collection');
3
+ var lang_1 = require('../facade/lang');
4
+ var lang_2 = require('../facade/lang');
5
5
  exports.looseIdentical = lang_2.looseIdentical;
6
6
  exports.uninitialized = new Object();
7
7
  function devModeEqual(a, b) {
8
8
  if (collection_1.isListLikeIterable(a) && collection_1.isListLikeIterable(b)) {
9
9
  return collection_1.areIterablesEqual(a, b, devModeEqual);
10
10
  }
11
- else if (!collection_1.isListLikeIterable(a) && !lang_1.isPrimitive(a) && !collection_1.isListLikeIterable(b) &&
12
- !lang_1.isPrimitive(b)) {
11
+ else if (!collection_1.isListLikeIterable(a) && !lang_1.isPrimitive(a) && !collection_1.isListLikeIterable(b) && !lang_1.isPrimitive(b)) {
13
12
  return true;
14
13
  }
15
14
  else {
@@ -34,6 +33,7 @@ exports.devModeEqual = devModeEqual;
34
33
  * return WrappedValue.wrap(this._latestValue); // this will force update
35
34
  * }
36
35
  * ```
36
+ * @stable
37
37
  */
38
38
  var WrappedValue = (function () {
39
39
  function WrappedValue(wrapped) {
@@ -63,6 +63,7 @@ var ValueUnwrapper = (function () {
63
63
  exports.ValueUnwrapper = ValueUnwrapper;
64
64
  /**
65
65
  * Represents a basic change from a previous to a new value.
66
+ * @stable
66
67
  */
67
68
  var SimpleChange = (function () {
68
69
  function SimpleChange(previousValue, currentValue) {
@@ -1 +1 @@
1
- {"version":3,"file":"change_detection_util.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/change_detection_util.ts"],"names":[],"mappings":";AAIE,qBAA0C,uBAAuB,CAAC,CAAA;AACpE,2BAAoD,6BAA6B,CAAC,CAAA;AAElF,qBAA6B,uBAAuB,CAAC;AAA7C,+CAA6C;AAC1C,qBAAa,GAA8B,IAAI,MAAM,EAAE,CAAC;AAEnE,sBAA6B,CAAM,EAAE,CAAM;IACzC,EAAE,CAAC,CAAC,+BAAkB,CAAC,CAAC,CAAC,IAAI,+BAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,8BAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,YAAY,CAAC,CAAC;IAE/C,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CAAC,CAAC,+BAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC,CAAC,IAAI,CAAC,+BAAkB,CAAC,CAAC,CAAC;QACnE,CAAC,kBAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3B,MAAM,CAAC,IAAI,CAAC;IAEd,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,MAAM,CAAC,qBAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAXe,oBAAY,eAW3B,CAAA;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH;IACE,sBAAmB,OAAY;QAAZ,YAAO,GAAP,OAAO,CAAK;IAAG,CAAC;IAE5B,iBAAI,GAAX,UAAY,KAAU,IAAkB,MAAM,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3E,mBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,oBAAY,eAIxB,CAAA;AAED;;GAEG;AACH;IAAA;QACS,oBAAe,GAAG,KAAK,CAAC;IAWjC,CAAC;IATC,+BAAM,GAAN,UAAO,KAAU;QACf,EAAE,CAAC,CAAC,KAAK,YAAY,YAAY,CAAC,CAAC,CAAC;YAClC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;YAC5B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC;QACvB,CAAC;QACD,MAAM,CAAC,KAAK,CAAC;IACf,CAAC;IAED,8BAAK,GAAL,cAAU,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,CAAC,CAAC;IAC3C,qBAAC;AAAD,CAAC,AAZD,IAYC;AAZY,sBAAc,iBAY1B,CAAA;AAED;;GAEG;AACH;IACE,sBAAmB,aAAkB,EAAS,YAAiB;QAA5C,kBAAa,GAAb,aAAa,CAAK;QAAS,iBAAY,GAAZ,YAAY,CAAK;IAAG,CAAC;IAEnE;;OAEG;IACH,oCAAa,GAAb,cAA2B,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,qBAAa,CAAC,CAAC,CAAC;IAC3E,mBAAC;AAAD,CAAC,AAPD,IAOC;AAPY,oBAAY,eAOxB,CAAA","sourcesContent":["interface DecoratorInvocation {\n type: Function;\n args?: any[];\n }\n import {looseIdentical, isPrimitive} from '../../src/facade/lang';\nimport {isListLikeIterable, areIterablesEqual} from '../../src/facade/collection';\n\nexport {looseIdentical} from '../../src/facade/lang';\nexport var uninitialized: Object = /*@ts2dart_const*/ new Object();\n\nexport function devModeEqual(a: any, b: any): boolean {\n if (isListLikeIterable(a) && isListLikeIterable(b)) {\n return areIterablesEqual(a, b, devModeEqual);\n\n } else if (!isListLikeIterable(a) && !isPrimitive(a) && !isListLikeIterable(b) &&\n !isPrimitive(b)) {\n return true;\n\n } else {\n return looseIdentical(a, b);\n }\n}\n\n/**\n * Indicates that the result of a {@link PipeMetadata} transformation has changed even though the\n * reference\n * has not changed.\n *\n * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.\n *\n * Example:\n *\n * ```\n * if (this._latestValue === this._latestReturnedValue) {\n * return this._latestReturnedValue;\n * } else {\n * this._latestReturnedValue = this._latestValue;\n * return WrappedValue.wrap(this._latestValue); // this will force update\n * }\n * ```\n */\nexport class WrappedValue {\n constructor(public wrapped: any) {}\n\n static wrap(value: any): WrappedValue { return new WrappedValue(value); }\n}\n\n/**\n * Helper class for unwrapping WrappedValue s\n */\nexport class ValueUnwrapper {\n public hasWrappedValue = false;\n\n unwrap(value: any): any {\n if (value instanceof WrappedValue) {\n this.hasWrappedValue = true;\n return value.wrapped;\n }\n return value;\n }\n\n reset() { this.hasWrappedValue = false; }\n}\n\n/**\n * Represents a basic change from a previous to a new value.\n */\nexport class SimpleChange {\n constructor(public previousValue: any, public currentValue: any) {}\n\n /**\n * Check whether the new value is the first value assigned.\n */\n isFirstChange(): boolean { return this.previousValue === uninitialized; }\n}\n"]}
1
+ {"version":3,"file":"change_detection_util.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/change_detection_util.ts"],"names":[],"mappings":";AAAA,2BAAoD,sBAAsB,CAAC,CAAA;AAC3E,qBAA0C,gBAAgB,CAAC,CAAA;AAE3D,qBAA6B,gBAAgB,CAAC;AAAtC,+CAAsC;AAEnC,qBAAa,GAA8B,IAAI,MAAM,EAAE,CAAC;AAEnE,sBAA6B,CAAM,EAAE,CAAM;IACzC,EAAE,CAAC,CAAC,+BAAkB,CAAC,CAAC,CAAC,IAAI,+BAAkB,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QACnD,MAAM,CAAC,8BAAiB,CAAC,CAAC,EAAE,CAAC,EAAE,YAAY,CAAC,CAAC;IAE/C,CAAC;IAAC,IAAI,CAAC,EAAE,CAAC,CACN,CAAC,+BAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC,CAAC,IAAI,CAAC,+BAAkB,CAAC,CAAC,CAAC,IAAI,CAAC,kBAAW,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;QAC3F,MAAM,CAAC,IAAI,CAAC;IAEd,CAAC;IAAC,IAAI,CAAC,CAAC;QACN,MAAM,CAAC,qBAAc,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;IAC9B,CAAC;AACH,CAAC;AAXe,oBAAY,eAW3B,CAAA;AAED;;;;;;;;;;;;;;;;;;GAkBG;AACH;IACE,sBAAmB,OAAY;QAAZ,YAAO,GAAP,OAAO,CAAK;IAAG,CAAC;IAE5B,iBAAI,GAAX,UAAY,KAAU,IAAkB,MAAM,CAAC,IAAI,YAAY,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC;IAC3E,mBAAC;AAAD,CAAC,AAJD,IAIC;AAJY,oBAAY,eAIxB,CAAA;AAED;;GAEG;AACH;IAAA;QACS,oBAAe,GAAG,KAAK,CAAC;IAWjC,CAAC;IATC,+BAAM,GAAN,UAAO,KAAU;QACf,EAAE,CAAC,CAAC,KAAK,YAAY,YAAY,CAAC,CAAC,CAAC;YAClC,IAAI,CAAC,eAAe,GAAG,IAAI,CAAC;YAC5B,MAAM,CAAC,KAAK,CAAC,OAAO,CAAC;QACvB,CAAC;QACD,MAAM,CAAC,KAAK,CAAC;IACf,CAAC;IAED,8BAAK,GAAL,cAAU,IAAI,CAAC,eAAe,GAAG,KAAK,CAAC,CAAC,CAAC;IAC3C,qBAAC;AAAD,CAAC,AAZD,IAYC;AAZY,sBAAc,iBAY1B,CAAA;AAED;;;GAGG;AACH;IACE,sBAAmB,aAAkB,EAAS,YAAiB;QAA5C,kBAAa,GAAb,aAAa,CAAK;QAAS,iBAAY,GAAZ,YAAY,CAAK;IAAG,CAAC;IAEnE;;OAEG;IACH,oCAAa,GAAb,cAA2B,MAAM,CAAC,IAAI,CAAC,aAAa,KAAK,qBAAa,CAAC,CAAC,CAAC;IAC3E,mBAAC;AAAD,CAAC,AAPD,IAOC;AAPY,oBAAY,eAOxB,CAAA","sourcesContent":["import {areIterablesEqual, isListLikeIterable} from '../facade/collection';\nimport {isPrimitive, looseIdentical} from '../facade/lang';\n\nexport {looseIdentical} from '../facade/lang';\n\nexport var uninitialized: Object = /*@ts2dart_const*/ new Object();\n\nexport function devModeEqual(a: any, b: any): boolean {\n if (isListLikeIterable(a) && isListLikeIterable(b)) {\n return areIterablesEqual(a, b, devModeEqual);\n\n } else if (\n !isListLikeIterable(a) && !isPrimitive(a) && !isListLikeIterable(b) && !isPrimitive(b)) {\n return true;\n\n } else {\n return looseIdentical(a, b);\n }\n}\n\n/**\n * Indicates that the result of a {@link PipeMetadata} transformation has changed even though the\n * reference\n * has not changed.\n *\n * The wrapped value will be unwrapped by change detection, and the unwrapped value will be stored.\n *\n * Example:\n *\n * ```\n * if (this._latestValue === this._latestReturnedValue) {\n * return this._latestReturnedValue;\n * } else {\n * this._latestReturnedValue = this._latestValue;\n * return WrappedValue.wrap(this._latestValue); // this will force update\n * }\n * ```\n * @stable\n */\nexport class WrappedValue {\n constructor(public wrapped: any) {}\n\n static wrap(value: any): WrappedValue { return new WrappedValue(value); }\n}\n\n/**\n * Helper class for unwrapping WrappedValue s\n */\nexport class ValueUnwrapper {\n public hasWrappedValue = false;\n\n unwrap(value: any): any {\n if (value instanceof WrappedValue) {\n this.hasWrappedValue = true;\n return value.wrapped;\n }\n return value;\n }\n\n reset() { this.hasWrappedValue = false; }\n}\n\n/**\n * Represents a basic change from a previous to a new value.\n * @stable\n */\nexport class SimpleChange {\n constructor(public previousValue: any, public currentValue: any) {}\n\n /**\n * Check whether the new value is the first value assigned.\n */\n isFirstChange(): boolean { return this.previousValue === uninitialized; }\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
@@ -1 +1 @@
1
- {"__symbolic":"module","metadata":{"uninitialized":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Object"}}}}
1
+ {"__symbolic":"module","version":1,"metadata":{"uninitialized":{"__symbolic":"new","expression":{"__symbolic":"reference","name":"Object"}}}}
@@ -1,3 +1,6 @@
1
+ /**
2
+ * @stable
3
+ */
1
4
  export declare abstract class ChangeDetectorRef {
2
5
  /**
3
6
  * Marks all {@link ChangeDetectionStrategy#OnPush} ancestors as to be checked.
@@ -1,4 +1,7 @@
1
1
  "use strict";
2
+ /**
3
+ * @stable
4
+ */
2
5
  var ChangeDetectorRef = (function () {
3
6
  function ChangeDetectorRef() {
4
7
  }
@@ -1 +1 @@
1
- {"version":3,"file":"change_detector_ref.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/change_detector_ref.ts"],"names":[],"mappings":";AAIE;IAAA;IA+LF,CAAC;IAAD,wBAAC;AAAD,CAAC,AA/LC,IA+LD;AA/LuB,yBAAiB,oBA+LxC,CAAA","sourcesContent":["interface DecoratorInvocation {\n type: Function;\n args?: any[];\n }\n export abstract class ChangeDetectorRef {\n /**\n * Marks all {@link ChangeDetectionStrategy#OnPush} ancestors as to be checked.\n *\n * <!-- TODO: Add a link to a chapter on OnPush components -->\n *\n * ### Example ([live demo](http://plnkr.co/edit/GC512b?p=preview))\n *\n * ```typescript\n * @Component({\n * selector: 'cmp',\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * template: `Number of ticks: {{numberOfTicks}}`\n * })\n * class Cmp {\n * numberOfTicks = 0;\n *\n * constructor(ref: ChangeDetectorRef) {\n * setInterval(() => {\n * this.numberOfTicks ++\n * // the following is required, otherwise the view will not be updated\n * this.ref.markForCheck();\n * }, 1000);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * template: `\n * <cmp><cmp>\n * `,\n * directives: [Cmp]\n * })\n * class App {\n * }\n *\n * bootstrap(App);\n * ```\n */\n abstract markForCheck(): void;\n\n /**\n * Detaches the change detector from the change detector tree.\n *\n * The detached change detector will not be checked until it is reattached.\n *\n * This can also be used in combination with {@link ChangeDetectorRef#detectChanges} to implement\n * local change\n * detection checks.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n *\n * ### Example\n *\n * The following example defines a component with a large list of readonly data.\n * Imagine the data changes constantly, many times per second. For performance reasons,\n * we want to check and update the list every five seconds. We can do that by detaching\n * the component's change detector and doing a local check every five seconds.\n *\n * ```typescript\n * class DataProvider {\n * // in a real application the returned data will be different every time\n * get data() {\n * return [1,2,3,4,5];\n * }\n * }\n *\n * @Component({\n * selector: 'giant-list',\n * template: `\n * <li *ngFor=\"let d of dataProvider.data\">Data {{d}}</lig>\n * `,\n * directives: [NgFor]\n * })\n * class GiantList {\n * constructor(private ref: ChangeDetectorRef, private dataProvider:DataProvider) {\n * ref.detach();\n * setInterval(() => {\n * this.ref.detectChanges();\n * }, 5000);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * providers: [DataProvider],\n * template: `\n * <giant-list><giant-list>\n * `,\n * directives: [GiantList]\n * })\n * class App {\n * }\n *\n * bootstrap(App);\n * ```\n */\n abstract detach(): void;\n\n /**\n * Checks the change detector and its children.\n *\n * This can also be used in combination with {@link ChangeDetectorRef#detach} to implement local\n * change detection\n * checks.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n *\n * ### Example\n *\n * The following example defines a component with a large list of readonly data.\n * Imagine, the data changes constantly, many times per second. For performance reasons,\n * we want to check and update the list every five seconds.\n *\n * We can do that by detaching the component's change detector and doing a local change detection\n * check\n * every five seconds.\n *\n * See {@link ChangeDetectorRef#detach} for more information.\n */\n abstract detectChanges(): void;\n\n /**\n * Checks the change detector and its children, and throws if any changes are detected.\n *\n * This is used in development mode to verify that running change detection doesn't introduce\n * other changes.\n */\n abstract checkNoChanges(): void;\n\n /**\n * Reattach the change detector to the change detector tree.\n *\n * This also marks OnPush ancestors as to be checked. This reattached change detector will be\n * checked during the next change detection run.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n *\n * ### Example ([live demo](http://plnkr.co/edit/aUhZha?p=preview))\n *\n * The following example creates a component displaying `live` data. The component will detach\n * its change detector from the main change detector tree when the component's live property\n * is set to false.\n *\n * ```typescript\n * class DataProvider {\n * data = 1;\n *\n * constructor() {\n * setInterval(() => {\n * this.data = this.data * 2;\n * }, 500);\n * }\n * }\n *\n * @Component({\n * selector: 'live-data',\n * inputs: ['live'],\n * template: `Data: {{dataProvider.data}}`\n * })\n * class LiveData {\n * constructor(private ref: ChangeDetectorRef, private dataProvider:DataProvider) {}\n *\n * set live(value) {\n * if (value)\n * this.ref.reattach();\n * else\n * this.ref.detach();\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * providers: [DataProvider],\n * template: `\n * Live Update: <input type=\"checkbox\" [(ngModel)]=\"live\">\n * <live-data [live]=\"live\"><live-data>\n * `,\n * directives: [LiveData, FORM_DIRECTIVES]\n * })\n * class App {\n * live = true;\n * }\n *\n * bootstrap(App);\n * ```\n */\n abstract reattach(): void;\n}\n"]}
1
+ {"version":3,"file":"change_detector_ref.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/change_detector_ref.ts"],"names":[],"mappings":";AAAA;;GAEG;AACH;IAAA;IA+LA,CAAC;IAAD,wBAAC;AAAD,CAAC,AA/LD,IA+LC;AA/LqB,yBAAiB,oBA+LtC,CAAA","sourcesContent":["/**\n * @stable\n */\nexport abstract class ChangeDetectorRef {\n /**\n * Marks all {@link ChangeDetectionStrategy#OnPush} ancestors as to be checked.\n *\n * <!-- TODO: Add a link to a chapter on OnPush components -->\n *\n * ### Example ([live demo](http://plnkr.co/edit/GC512b?p=preview))\n *\n * ```typescript\n * @Component({\n * selector: 'cmp',\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * template: `Number of ticks: {{numberOfTicks}}`\n * })\n * class Cmp {\n * numberOfTicks = 0;\n *\n * constructor(ref: ChangeDetectorRef) {\n * setInterval(() => {\n * this.numberOfTicks ++\n * // the following is required, otherwise the view will not be updated\n * this.ref.markForCheck();\n * }, 1000);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * changeDetection: ChangeDetectionStrategy.OnPush,\n * template: `\n * <cmp><cmp>\n * `,\n * directives: [Cmp]\n * })\n * class App {\n * }\n *\n * bootstrap(App);\n * ```\n */\n abstract markForCheck(): void;\n\n /**\n * Detaches the change detector from the change detector tree.\n *\n * The detached change detector will not be checked until it is reattached.\n *\n * This can also be used in combination with {@link ChangeDetectorRef#detectChanges} to implement\n * local change\n * detection checks.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n *\n * ### Example\n *\n * The following example defines a component with a large list of readonly data.\n * Imagine the data changes constantly, many times per second. For performance reasons,\n * we want to check and update the list every five seconds. We can do that by detaching\n * the component's change detector and doing a local check every five seconds.\n *\n * ```typescript\n * class DataProvider {\n * // in a real application the returned data will be different every time\n * get data() {\n * return [1,2,3,4,5];\n * }\n * }\n *\n * @Component({\n * selector: 'giant-list',\n * template: `\n * <li *ngFor=\"let d of dataProvider.data\">Data {{d}}</lig>\n * `,\n * directives: [NgFor]\n * })\n * class GiantList {\n * constructor(private ref: ChangeDetectorRef, private dataProvider:DataProvider) {\n * ref.detach();\n * setInterval(() => {\n * this.ref.detectChanges();\n * }, 5000);\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * providers: [DataProvider],\n * template: `\n * <giant-list><giant-list>\n * `,\n * directives: [GiantList]\n * })\n * class App {\n * }\n *\n * bootstrap(App);\n * ```\n */\n abstract detach(): void;\n\n /**\n * Checks the change detector and its children.\n *\n * This can also be used in combination with {@link ChangeDetectorRef#detach} to implement local\n * change detection\n * checks.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n * <!-- TODO: Add a live demo once ref.detectChanges is merged into master -->\n *\n * ### Example\n *\n * The following example defines a component with a large list of readonly data.\n * Imagine, the data changes constantly, many times per second. For performance reasons,\n * we want to check and update the list every five seconds.\n *\n * We can do that by detaching the component's change detector and doing a local change detection\n * check\n * every five seconds.\n *\n * See {@link ChangeDetectorRef#detach} for more information.\n */\n abstract detectChanges(): void;\n\n /**\n * Checks the change detector and its children, and throws if any changes are detected.\n *\n * This is used in development mode to verify that running change detection doesn't introduce\n * other changes.\n */\n abstract checkNoChanges(): void;\n\n /**\n * Reattach the change detector to the change detector tree.\n *\n * This also marks OnPush ancestors as to be checked. This reattached change detector will be\n * checked during the next change detection run.\n *\n * <!-- TODO: Add a link to a chapter on detach/reattach/local digest -->\n *\n * ### Example ([live demo](http://plnkr.co/edit/aUhZha?p=preview))\n *\n * The following example creates a component displaying `live` data. The component will detach\n * its change detector from the main change detector tree when the component's live property\n * is set to false.\n *\n * ```typescript\n * class DataProvider {\n * data = 1;\n *\n * constructor() {\n * setInterval(() => {\n * this.data = this.data * 2;\n * }, 500);\n * }\n * }\n *\n * @Component({\n * selector: 'live-data',\n * inputs: ['live'],\n * template: `Data: {{dataProvider.data}}`\n * })\n * class LiveData {\n * constructor(private ref: ChangeDetectorRef, private dataProvider:DataProvider) {}\n *\n * set live(value) {\n * if (value)\n * this.ref.reattach();\n * else\n * this.ref.detach();\n * }\n * }\n *\n * @Component({\n * selector: 'app',\n * providers: [DataProvider],\n * template: `\n * Live Update: <input type=\"checkbox\" [(ngModel)]=\"live\">\n * <live-data [live]=\"live\"><live-data>\n * `,\n * directives: [LiveData, FORM_DIRECTIVES]\n * })\n * class App {\n * live = true;\n * }\n *\n * bootstrap(App);\n * ```\n */\n abstract reattach(): void;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
@@ -22,6 +22,7 @@ export declare enum ChangeDetectorState {
22
22
  /**
23
23
  * Describes within the change detector which strategy will be used the next time change
24
24
  * detection is triggered.
25
+ * @stable
25
26
  */
26
27
  export declare enum ChangeDetectionStrategy {
27
28
  /**
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
- var lang_1 = require('../../src/facade/lang');
2
+ var lang_1 = require('../facade/lang');
3
3
  /**
4
4
  * Describes the current state of the change detector.
5
5
  */
@@ -25,6 +25,7 @@ var ChangeDetectorState = exports.ChangeDetectorState;
25
25
  /**
26
26
  * Describes within the change detector which strategy will be used the next time change
27
27
  * detection is triggered.
28
+ * @stable
28
29
  */
29
30
  (function (ChangeDetectionStrategy) {
30
31
  /**
@@ -66,7 +67,7 @@ exports.CHANGE_DETECTION_STRATEGY_VALUES = [
66
67
  ChangeDetectionStrategy.CheckAlways,
67
68
  ChangeDetectionStrategy.Detached,
68
69
  ChangeDetectionStrategy.OnPush,
69
- ChangeDetectionStrategy.Default
70
+ ChangeDetectionStrategy.Default,
70
71
  ];
71
72
  /**
72
73
  * List of possible {@link ChangeDetectorState} values.
@@ -74,7 +75,7 @@ exports.CHANGE_DETECTION_STRATEGY_VALUES = [
74
75
  exports.CHANGE_DETECTOR_STATE_VALUES = [
75
76
  ChangeDetectorState.NeverChecked,
76
77
  ChangeDetectorState.CheckedBefore,
77
- ChangeDetectorState.Errored
78
+ ChangeDetectorState.Errored,
78
79
  ];
79
80
  function isDefaultChangeDetectionStrategy(changeDetectionStrategy) {
80
81
  return lang_1.isBlank(changeDetectionStrategy) ||
@@ -1 +1 @@
1
- {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/constants.ts"],"names":[],"mappings":";AAIE,qBAAsB,uBAAuB,CAAC,CAAA;AAEhD;;GAEG;AACH,WAAY,mBAAmB;IAC7B;;;OAGG;IACH,6EAAY,CAAA;IAEZ;;;OAGG;IACH,+EAAa,CAAA;IAEb;;;;OAIG;IACH,mEAAO,CAAA;AACT,CAAC,EAnBW,2BAAmB,KAAnB,2BAAmB,QAmB9B;AAnBD,IAAY,mBAAmB,GAAnB,2BAmBX,CAAA;AAGD;;;GAGG;AACH,WAAY,uBAAuB;IACjC;;;OAGG;IACH,+EAAS,CAAA;IAET;;;OAGG;IACH,2EAAO,CAAA;IAEP;;;OAGG;IACH,mFAAW,CAAA;IAEX;;;OAGG;IACH,6EAAQ,CAAA;IAER;;OAEG;IACH,yEAAM,CAAA;IAEN;;OAEG;IACH,2EAAO,CAAA;AACT,CAAC,EAlCW,+BAAuB,KAAvB,+BAAuB,QAkClC;AAlCD,IAAY,uBAAuB,GAAvB,+BAkCX,CAAA;AAED;;GAEG;AACQ,wCAAgC,GAAG;IAC5C,uBAAuB,CAAC,SAAS;IACjC,uBAAuB,CAAC,OAAO;IAC/B,uBAAuB,CAAC,WAAW;IACnC,uBAAuB,CAAC,QAAQ;IAChC,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,OAAO;CAChC,CAAC;AAEF;;GAEG;AACQ,oCAA4B,GAAG;IACxC,mBAAmB,CAAC,YAAY;IAChC,mBAAmB,CAAC,aAAa;IACjC,mBAAmB,CAAC,OAAO;CAC5B,CAAC;AAEF,0CACI,uBAAgD;IAClD,MAAM,CAAC,cAAO,CAAC,uBAAuB,CAAC;QAChC,uBAAuB,KAAK,uBAAuB,CAAC,OAAO,CAAC;AACrE,CAAC;AAJe,wCAAgC,mCAI/C,CAAA","sourcesContent":["interface DecoratorInvocation {\n type: Function;\n args?: any[];\n }\n import {isBlank} from '../../src/facade/lang';\n\n/**\n * Describes the current state of the change detector.\n */\nexport enum ChangeDetectorState {\n /**\n * `NeverChecked` means that the change detector has not been checked yet, and\n * initialization methods should be called during detection.\n */\n NeverChecked,\n\n /**\n * `CheckedBefore` means that the change detector has successfully completed at least\n * one detection previously.\n */\n CheckedBefore,\n\n /**\n * `Errored` means that the change detector encountered an error checking a binding\n * or calling a directive lifecycle method and is now in an inconsistent state. Change\n * detectors in this state will no longer detect changes.\n */\n Errored\n}\n\n\n/**\n * Describes within the change detector which strategy will be used the next time change\n * detection is triggered.\n */\nexport enum ChangeDetectionStrategy {\n /**\n * `CheckedOnce` means that after calling detectChanges the mode of the change detector\n * will become `Checked`.\n */\n CheckOnce,\n\n /**\n * `Checked` means that the change detector should be skipped until its mode changes to\n * `CheckOnce`.\n */\n Checked,\n\n /**\n * `CheckAlways` means that after calling detectChanges the mode of the change detector\n * will remain `CheckAlways`.\n */\n CheckAlways,\n\n /**\n * `Detached` means that the change detector sub tree is not a part of the main tree and\n * should be skipped.\n */\n Detached,\n\n /**\n * `OnPush` means that the change detector's mode will be set to `CheckOnce` during hydration.\n */\n OnPush,\n\n /**\n * `Default` means that the change detector's mode will be set to `CheckAlways` during hydration.\n */\n Default,\n}\n\n/**\n * List of possible {@link ChangeDetectionStrategy} values.\n */\nexport var CHANGE_DETECTION_STRATEGY_VALUES = [\n ChangeDetectionStrategy.CheckOnce,\n ChangeDetectionStrategy.Checked,\n ChangeDetectionStrategy.CheckAlways,\n ChangeDetectionStrategy.Detached,\n ChangeDetectionStrategy.OnPush,\n ChangeDetectionStrategy.Default\n];\n\n/**\n * List of possible {@link ChangeDetectorState} values.\n */\nexport var CHANGE_DETECTOR_STATE_VALUES = [\n ChangeDetectorState.NeverChecked,\n ChangeDetectorState.CheckedBefore,\n ChangeDetectorState.Errored\n];\n\nexport function isDefaultChangeDetectionStrategy(\n changeDetectionStrategy: ChangeDetectionStrategy): boolean {\n return isBlank(changeDetectionStrategy) ||\n changeDetectionStrategy === ChangeDetectionStrategy.Default;\n}\n"]}
1
+ {"version":3,"file":"constants.js","sourceRoot":"","sources":["../../../../../modules/@angular/core/src/change_detection/constants.ts"],"names":[],"mappings":";AAAA,qBAAsB,gBAAgB,CAAC,CAAA;AAEvC;;GAEG;AACH,WAAY,mBAAmB;IAC7B;;;OAGG;IACH,6EAAY,CAAA;IAEZ;;;OAGG;IACH,+EAAa,CAAA;IAEb;;;;OAIG;IACH,mEAAO,CAAA;AACT,CAAC,EAnBW,2BAAmB,KAAnB,2BAAmB,QAmB9B;AAnBD,IAAY,mBAAmB,GAAnB,2BAmBX,CAAA;AAGD;;;;GAIG;AACH,WAAY,uBAAuB;IACjC;;;OAGG;IACH,+EAAS,CAAA;IAET;;;OAGG;IACH,2EAAO,CAAA;IAEP;;;OAGG;IACH,mFAAW,CAAA;IAEX;;;OAGG;IACH,6EAAQ,CAAA;IAER;;OAEG;IACH,yEAAM,CAAA;IAEN;;OAEG;IACH,2EAAO,CAAA;AACT,CAAC,EAlCW,+BAAuB,KAAvB,+BAAuB,QAkClC;AAlCD,IAAY,uBAAuB,GAAvB,+BAkCX,CAAA;AAED;;GAEG;AACQ,wCAAgC,GAAG;IAC5C,uBAAuB,CAAC,SAAS;IACjC,uBAAuB,CAAC,OAAO;IAC/B,uBAAuB,CAAC,WAAW;IACnC,uBAAuB,CAAC,QAAQ;IAChC,uBAAuB,CAAC,MAAM;IAC9B,uBAAuB,CAAC,OAAO;CAChC,CAAC;AAEF;;GAEG;AACQ,oCAA4B,GAAG;IACxC,mBAAmB,CAAC,YAAY;IAChC,mBAAmB,CAAC,aAAa;IACjC,mBAAmB,CAAC,OAAO;CAC5B,CAAC;AAEF,0CAAiD,uBAAgD;IAE/F,MAAM,CAAC,cAAO,CAAC,uBAAuB,CAAC;QACnC,uBAAuB,KAAK,uBAAuB,CAAC,OAAO,CAAC;AAClE,CAAC;AAJe,wCAAgC,mCAI/C,CAAA","sourcesContent":["import {isBlank} from '../facade/lang';\n\n/**\n * Describes the current state of the change detector.\n */\nexport enum ChangeDetectorState {\n /**\n * `NeverChecked` means that the change detector has not been checked yet, and\n * initialization methods should be called during detection.\n */\n NeverChecked,\n\n /**\n * `CheckedBefore` means that the change detector has successfully completed at least\n * one detection previously.\n */\n CheckedBefore,\n\n /**\n * `Errored` means that the change detector encountered an error checking a binding\n * or calling a directive lifecycle method and is now in an inconsistent state. Change\n * detectors in this state will no longer detect changes.\n */\n Errored,\n}\n\n\n/**\n * Describes within the change detector which strategy will be used the next time change\n * detection is triggered.\n * @stable\n */\nexport enum ChangeDetectionStrategy {\n /**\n * `CheckedOnce` means that after calling detectChanges the mode of the change detector\n * will become `Checked`.\n */\n CheckOnce,\n\n /**\n * `Checked` means that the change detector should be skipped until its mode changes to\n * `CheckOnce`.\n */\n Checked,\n\n /**\n * `CheckAlways` means that after calling detectChanges the mode of the change detector\n * will remain `CheckAlways`.\n */\n CheckAlways,\n\n /**\n * `Detached` means that the change detector sub tree is not a part of the main tree and\n * should be skipped.\n */\n Detached,\n\n /**\n * `OnPush` means that the change detector's mode will be set to `CheckOnce` during hydration.\n */\n OnPush,\n\n /**\n * `Default` means that the change detector's mode will be set to `CheckAlways` during hydration.\n */\n Default,\n}\n\n/**\n * List of possible {@link ChangeDetectionStrategy} values.\n */\nexport var CHANGE_DETECTION_STRATEGY_VALUES = [\n ChangeDetectionStrategy.CheckOnce,\n ChangeDetectionStrategy.Checked,\n ChangeDetectionStrategy.CheckAlways,\n ChangeDetectionStrategy.Detached,\n ChangeDetectionStrategy.OnPush,\n ChangeDetectionStrategy.Default,\n];\n\n/**\n * List of possible {@link ChangeDetectorState} values.\n */\nexport var CHANGE_DETECTOR_STATE_VALUES = [\n ChangeDetectorState.NeverChecked,\n ChangeDetectorState.CheckedBefore,\n ChangeDetectorState.Errored,\n];\n\nexport function isDefaultChangeDetectionStrategy(changeDetectionStrategy: ChangeDetectionStrategy):\n boolean {\n return isBlank(changeDetectionStrategy) ||\n changeDetectionStrategy === ChangeDetectionStrategy.Default;\n}\n\ninterface DecoratorInvocation {\n type: Function;\n args?: any[];\n}\n"]}
@@ -1 +1 @@
1
- {"__symbolic":"module","metadata":{"CHANGE_DETECTION_STRATEGY_VALUES":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"CheckOnce"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Checked"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"CheckAlways"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Detached"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"OnPush"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"}],"CHANGE_DETECTOR_STATE_VALUES":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectorState"},"member":"NeverChecked"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectorState"},"member":"CheckedBefore"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectorState"},"member":"Errored"}]}}
1
+ {"__symbolic":"module","version":1,"metadata":{"CHANGE_DETECTION_STRATEGY_VALUES":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"CheckOnce"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Checked"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"CheckAlways"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Detached"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"OnPush"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"}],"CHANGE_DETECTOR_STATE_VALUES":[{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectorState"},"member":"NeverChecked"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectorState"},"member":"CheckedBefore"},{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectorState"},"member":"Errored"}],"isDefaultChangeDetectionStrategy":{"__symbolic":"function","parameters":["changeDetectionStrategy"],"value":{"__symbolic":"binop","operator":"||","left":{"__symbolic":"call","expression":{"__symbolic":"reference","module":"../facade/lang","name":"isBlank"},"arguments":[{"__symbolic":"reference","name":"changeDetectionStrategy"}]},"right":{"__symbolic":"binop","operator":"===","left":{"__symbolic":"reference","name":"changeDetectionStrategy"},"right":{"__symbolic":"select","expression":{"__symbolic":"reference","name":"ChangeDetectionStrategy"},"member":"Default"}}}}}}
@@ -5,6 +5,9 @@ export declare class DefaultIterableDifferFactory implements IterableDifferFacto
5
5
  supports(obj: Object): boolean;
6
6
  create(cdRef: ChangeDetectorRef, trackByFn?: TrackByFn): DefaultIterableDiffer;
7
7
  }
8
+ /**
9
+ * @stable
10
+ */
8
11
  export declare class DefaultIterableDiffer implements IterableDiffer {
9
12
  private _trackByFn;
10
13
  private _length;
@@ -35,107 +38,16 @@ export declare class DefaultIterableDiffer implements IterableDiffer {
35
38
  onDestroy(): void;
36
39
  check(collection: any): boolean;
37
40
  isDirty: boolean;
38
- /**
39
- * Reset the state of the change objects to show no changes. This means set previousKey to
40
- * currentKey, and clear all of the queues (additions, moves, removals).
41
- * Set the previousIndexes of moved and added items to their currentIndexes
42
- * Reset the list of additions, moves and removals
43
- *
44
- * @internal
45
- */
46
- _reset(): void;
47
- /**
48
- * This is the core function which handles differences between collections.
49
- *
50
- * - `record` is the record which we saw at this position last time. If null then it is a new
51
- * item.
52
- * - `item` is the current item in the collection
53
- * - `index` is the position of the item in the collection
54
- *
55
- * @internal
56
- */
57
- _mismatch(record: CollectionChangeRecord, item: any, itemTrackBy: any, index: number): CollectionChangeRecord;
58
- /**
59
- * This check is only needed if an array contains duplicates. (Short circuit of nothing dirty)
60
- *
61
- * Use case: `[a, a]` => `[b, a, a]`
62
- *
63
- * If we did not have this check then the insertion of `b` would:
64
- * 1) evict first `a`
65
- * 2) insert `b` at `0` index.
66
- * 3) leave `a` at index `1` as is. <-- this is wrong!
67
- * 3) reinsert `a` at index 2. <-- this is wrong!
68
- *
69
- * The correct behavior is:
70
- * 1) evict first `a`
71
- * 2) insert `b` at `0` index.
72
- * 3) reinsert `a` at index 1.
73
- * 3) move `a` at from `1` to `2`.
74
- *
75
- *
76
- * Double check that we have not evicted a duplicate item. We need to check if the item type may
77
- * have already been removed:
78
- * The insertion of b will evict the first 'a'. If we don't reinsert it now it will be reinserted
79
- * at the end. Which will show up as the two 'a's switching position. This is incorrect, since a
80
- * better way to think of it is as insert of 'b' rather then switch 'a' with 'b' and then add 'a'
81
- * at the end.
82
- *
83
- * @internal
84
- */
85
- _verifyReinsertion(record: CollectionChangeRecord, item: any, itemTrackBy: any, index: number): CollectionChangeRecord;
86
- /**
87
- * Get rid of any excess {@link CollectionChangeRecord}s from the previous collection
88
- *
89
- * - `record` The first excess {@link CollectionChangeRecord}.
90
- *
91
- * @internal
92
- */
93
- _truncate(record: CollectionChangeRecord): void;
94
- /** @internal */
95
- _reinsertAfter(record: CollectionChangeRecord, prevRecord: CollectionChangeRecord, index: number): CollectionChangeRecord;
96
- /** @internal */
97
- _moveAfter(record: CollectionChangeRecord, prevRecord: CollectionChangeRecord, index: number): CollectionChangeRecord;
98
- /** @internal */
99
- _addAfter(record: CollectionChangeRecord, prevRecord: CollectionChangeRecord, index: number): CollectionChangeRecord;
100
- /** @internal */
101
- _insertAfter(record: CollectionChangeRecord, prevRecord: CollectionChangeRecord, index: number): CollectionChangeRecord;
102
- /** @internal */
103
- _remove(record: CollectionChangeRecord): CollectionChangeRecord;
104
- /** @internal */
105
- _unlink(record: CollectionChangeRecord): CollectionChangeRecord;
106
- /** @internal */
107
- _addToMoves(record: CollectionChangeRecord, toIndex: number): CollectionChangeRecord;
108
- /** @internal */
109
- _addToRemovals(record: CollectionChangeRecord): CollectionChangeRecord;
110
- /** @internal */
111
- _addIdentityChange(record: CollectionChangeRecord, item: any): CollectionChangeRecord;
112
41
  toString(): string;
113
42
  }
43
+ /**
44
+ * @stable
45
+ */
114
46
  export declare class CollectionChangeRecord {
115
47
  item: any;
116
48
  trackById: any;
117
49
  currentIndex: number;
118
50
  previousIndex: number;
119
- /** @internal */
120
- _nextPrevious: CollectionChangeRecord;
121
- /** @internal */
122
- _prev: CollectionChangeRecord;
123
- /** @internal */
124
- _next: CollectionChangeRecord;
125
- /** @internal */
126
- _prevDup: CollectionChangeRecord;
127
- /** @internal */
128
- _nextDup: CollectionChangeRecord;
129
- /** @internal */
130
- _prevRemoved: CollectionChangeRecord;
131
- /** @internal */
132
- _nextRemoved: CollectionChangeRecord;
133
- /** @internal */
134
- _nextAdded: CollectionChangeRecord;
135
- /** @internal */
136
- _nextMoved: CollectionChangeRecord;
137
- /** @internal */
138
- _nextIdentityChange: CollectionChangeRecord;
139
51
  constructor(item: any, trackById: any);
140
52
  toString(): string;
141
53
  }