@angular-wave/angular.ts 0.1.4 → 0.2.0

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 (768) hide show
  1. package/dist/angular-ts.esm.js +2 -2
  2. package/dist/angular-ts.umd.js +2 -2
  3. package/package.json +1 -1
  4. package/src/animations/animate-css.html +7 -1
  5. package/src/core/compile/compile.js +5 -5
  6. package/src/core/filter/filter.js +6 -0
  7. package/src/core/interval/interval-factory.js +2 -1
  8. package/src/core/interval/interval.spec.js +3 -40
  9. package/src/core/q/q.js +130 -161
  10. package/src/core/q/q.md +0 -18
  11. package/src/core/q/q.spec.js +37 -145
  12. package/src/directive/model/model.js +2 -2
  13. package/src/loader.js +31 -3
  14. package/src/public.js +40 -2
  15. package/src/router/common/coreservices.js +2 -0
  16. package/src/router/directives/state-directives.spec.js +21 -20
  17. package/src/router/directives/view-directive.js +1 -1
  18. package/src/router/directives/view-directive.spec.js +5 -5
  19. package/src/router/hooks/lazy-load.js +1 -1
  20. package/src/router/hooks/redirect-to.js +1 -1
  21. package/src/router/hooks/views.js +1 -1
  22. package/src/router/resolve/resolvable.js +2 -2
  23. package/src/router/resolve/resolve-context.js +1 -1
  24. package/src/router/services.spec.js +1 -1
  25. package/src/router/state/state-service.js +3 -3
  26. package/src/router/state/state.spec.js +7 -8
  27. package/src/router/state/views.js +2 -2
  28. package/src/router/state-filter.spec.js +2 -2
  29. package/src/router/template-factory.js +2 -2
  30. package/src/router/template-factory.spec.js +3 -3
  31. package/src/router/transition/transition-hook.js +1 -1
  32. package/src/router/transition/transition.js +2 -2
  33. package/src/router/url/url-service.js +1 -0
  34. package/src/router/url/url-service.spec.js +1 -1
  35. package/src/router/view/view.spec.js +1 -1
  36. package/src/router/view-hook.spec.js +1 -1
  37. package/src/router/view-scroll.spec.js +2 -2
  38. package/src/services/http/http.spec.js +1 -1
  39. package/tsconfig.json +1 -1
  40. package/typedoc/assets/navigation.js +1 -1
  41. package/typedoc/assets/search.js +1 -1
  42. package/typedoc/classes/animations_animate.AnimateProvider.html +5 -5
  43. package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +2 -2
  44. package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +2 -2
  45. package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +2 -2
  46. package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +2 -2
  47. package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +2 -2
  48. package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +2 -2
  49. package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +2 -2
  50. package/typedoc/classes/animations_animate_runner.AnimateRunner.html +2 -2
  51. package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +2 -2
  52. package/typedoc/classes/animations_animation.__AnimationProvider.html +2 -2
  53. package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +3 -3
  54. package/typedoc/classes/core_compile_attributes.Attributes.html +8 -8
  55. package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
  56. package/typedoc/classes/core_controller_controller._ControllerProvider.html +4 -4
  57. package/typedoc/classes/core_di_internal_injector.InjectorService.html +6 -6
  58. package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +7 -7
  59. package/typedoc/classes/core_di_ng_module.NgModule.html +4 -4
  60. package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +2 -2
  61. package/typedoc/classes/core_filter_filter._FilterProvider.html +2 -2
  62. package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +4 -4
  63. package/typedoc/classes/core_interval_interval._IntervalProvider.html +2 -2
  64. package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +2 -2
  65. package/typedoc/classes/core_location_location.Location.html +20 -20
  66. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +21 -21
  67. package/typedoc/classes/core_location_location.LocationHtml5Url.html +21 -21
  68. package/typedoc/classes/core_location_location._LocationProvider.html +4 -4
  69. package/typedoc/classes/core_parser_ast.AST.html +28 -28
  70. package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +26 -26
  71. package/typedoc/classes/core_parser_lexer.Lexer.html +16 -16
  72. package/typedoc/classes/core_parser_parse._ParseProvider.html +3 -3
  73. package/typedoc/classes/core_parser_parser.Parser.html +4 -4
  74. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +9 -9
  75. package/typedoc/classes/core_q_q._QProvider.html +6 -5
  76. package/typedoc/classes/core_q_q.__QProvider.html +4 -3
  77. package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +4 -4
  78. package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +4 -4
  79. package/typedoc/classes/core_sce_sce._SceProvider.html +3 -3
  80. package/typedoc/classes/core_scope_scope.Scope.html +18 -18
  81. package/typedoc/classes/core_scope_scope._RootScopeProvider.html +2 -2
  82. package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +20 -26
  83. package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +2 -2
  84. package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +2 -2
  85. package/typedoc/classes/directive_aria_aria.AriaProvider.html +2 -2
  86. package/typedoc/classes/directive_form_form.FormController.html +21 -21
  87. package/typedoc/classes/directive_model_model.NgModelController.html +33 -33
  88. package/typedoc/classes/loader.Angular.html +5 -5
  89. package/typedoc/classes/router_common_glob.Glob.html +4 -4
  90. package/typedoc/classes/router_common_queue.Queue.html +2 -2
  91. package/typedoc/classes/router_common_trace.Trace.html +17 -17
  92. package/typedoc/classes/router_globals.UIRouterGlobals.html +3 -3
  93. package/typedoc/classes/router_params_param.Param.html +6 -6
  94. package/typedoc/classes/router_params_param_factory.ParamFactory.html +2 -2
  95. package/typedoc/classes/router_params_param_type.ParamType.html +4 -4
  96. package/typedoc/classes/router_params_param_types.ParamTypes.html +3 -3
  97. package/typedoc/classes/router_params_state_params.StateParams.html +3 -3
  98. package/typedoc/classes/router_path_path_node.PathNode.html +7 -7
  99. package/typedoc/classes/router_path_path_utils.PathUtils.html +10 -10
  100. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -4
  101. package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +9 -9
  102. package/typedoc/classes/router_state_state_builder.StateBuilder.html +3 -3
  103. package/typedoc/classes/router_state_state_matcher.StateMatcher.html +2 -2
  104. package/typedoc/classes/router_state_state_object.StateObject.html +9 -9
  105. package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +2 -2
  106. package/typedoc/classes/router_state_state_registry.StateRegistry.html +8 -8
  107. package/typedoc/classes/router_state_state_service.StateService.html +18 -18
  108. package/typedoc/classes/router_state_target_state.TargetState.html +15 -15
  109. package/typedoc/classes/router_state_views.Ng1ViewConfig.html +4 -4
  110. package/typedoc/classes/router_template_factory.TemplateFactory.html +9 -9
  111. package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +4 -4
  112. package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +6 -6
  113. package/typedoc/classes/router_transition_reject_factory.Rejection.html +9 -9
  114. package/typedoc/classes/router_transition_transition.Transition.html +32 -32
  115. package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +3 -3
  116. package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +10 -10
  117. package/typedoc/classes/router_transition_transition_service.TransitionService.html +8 -8
  118. package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +6 -6
  119. package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +12 -12
  120. package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +3 -3
  121. package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +5 -5
  122. package/typedoc/classes/router_url_url_rules.UrlRules.html +9 -9
  123. package/typedoc/classes/router_url_url_service.UrlService.html +20 -20
  124. package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +2 -2
  125. package/typedoc/classes/router_view_view.ViewService.html +7 -7
  126. package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -3
  127. package/typedoc/classes/services_browser.Browser.html +40 -63
  128. package/typedoc/classes/services_browser.BrowserProvider.html +2 -2
  129. package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +2 -2
  130. package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +2 -2
  131. package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +2 -2
  132. package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +2 -2
  133. package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +2 -2
  134. package/typedoc/classes/services_http_http._HttpProvider.html +3 -3
  135. package/typedoc/classes/services_log._LogProvider.html +3 -3
  136. package/typedoc/classes/services_template_request.TemplateRequestProvider.html +4 -4
  137. package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +16 -16
  138. package/typedoc/enums/core_parser_ast_type.ASTType.html +2 -2
  139. package/typedoc/enums/core_scope_scope.ScopePhase.html +2 -2
  140. package/typedoc/enums/router_transition_reject_factory.RejectType.html +6 -6
  141. package/typedoc/functions/animations_animate.domInsert.html +1 -1
  142. package/typedoc/functions/animations_animate_cache.animateCache.html +6 -6
  143. package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -2
  144. package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -2
  145. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -1
  146. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -1
  147. package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -1
  148. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -1
  149. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -1
  150. package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -1
  151. package/typedoc/functions/animations_shared.assertArg.html +1 -1
  152. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -1
  153. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -1
  154. package/typedoc/functions/animations_shared.concatWithSpace.html +1 -1
  155. package/typedoc/functions/animations_shared.extractElementNode.html +1 -1
  156. package/typedoc/functions/animations_shared.getDomNode.html +1 -1
  157. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -1
  158. package/typedoc/functions/animations_shared.mergeClasses.html +1 -1
  159. package/typedoc/functions/animations_shared.ngMinErr.html +1 -1
  160. package/typedoc/functions/animations_shared.packageStyles.html +1 -1
  161. package/typedoc/functions/animations_shared.pendClasses.html +1 -1
  162. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -1
  163. package/typedoc/functions/animations_shared.removeFromArray.html +1 -1
  164. package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -1
  165. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -1
  166. package/typedoc/functions/core_controller_controller.identifierForController.html +1 -1
  167. package/typedoc/functions/core_di_injector.annotate.html +1 -1
  168. package/typedoc/functions/core_di_injector.createInjector.html +1 -1
  169. package/typedoc/functions/core_exception_handler.errorHandler-1.html +1 -1
  170. package/typedoc/functions/core_location_location.serverBase.html +1 -1
  171. package/typedoc/functions/core_location_location.stripBaseUrl.html +1 -1
  172. package/typedoc/functions/core_location_location.stripFile.html +1 -1
  173. package/typedoc/functions/core_location_location.stripHash.html +1 -1
  174. package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -1
  175. package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -1
  176. package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -1
  177. package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -1
  178. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -1
  179. package/typedoc/functions/core_scope_scope.countChildScopes.html +1 -1
  180. package/typedoc/functions/core_scope_scope.countWatchers.html +1 -1
  181. package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +1 -1
  182. package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +1 -1
  183. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +1 -1
  184. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +1 -1
  185. package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -1
  186. package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +1 -1
  187. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -2
  188. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -2
  189. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -2
  190. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -2
  191. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -2
  192. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -1
  193. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -2
  194. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -2
  195. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -2
  196. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -2
  197. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -2
  198. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -1
  199. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -1
  200. package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -1
  201. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -1
  202. package/typedoc/functions/directive_events_events.createEventDirective.html +1 -1
  203. package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -1
  204. package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -1
  205. package/typedoc/functions/directive_form_form.setupValidity.html +1 -1
  206. package/typedoc/functions/directive_if_if.ngIfDirective.html +2 -2
  207. package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -1
  208. package/typedoc/functions/directive_input_input.badInputChecker.html +1 -1
  209. package/typedoc/functions/directive_input_input.countDecimals.html +1 -1
  210. package/typedoc/functions/directive_input_input.createDateInputType.html +1 -1
  211. package/typedoc/functions/directive_input_input.createDateParser.html +1 -1
  212. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -1
  213. package/typedoc/functions/directive_input_input.inputDirective.html +2 -2
  214. package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -1
  215. package/typedoc/functions/directive_input_input.isValidForStep.html +1 -1
  216. package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -1
  217. package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -1
  218. package/typedoc/functions/directive_input_input.numberInputType.html +1 -1
  219. package/typedoc/functions/directive_input_input.rangeInputType.html +1 -1
  220. package/typedoc/functions/directive_input_input.weekParser.html +1 -1
  221. package/typedoc/functions/directive_list_list.ngListDirective.html +1 -1
  222. package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
  223. package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -2
  224. package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -2
  225. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -2
  226. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -2
  227. package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
  228. package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -1
  229. package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -1
  230. package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -1
  231. package/typedoc/functions/directive_select_select.optionDirective.html +2 -2
  232. package/typedoc/functions/directive_select_select.selectDirective.html +1 -1
  233. package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -2
  234. package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -2
  235. package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -1
  236. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -1
  237. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -1
  238. package/typedoc/functions/filters_filter.filterFilter.html +1 -1
  239. package/typedoc/functions/filters_filters.formatNumber.html +1 -1
  240. package/typedoc/functions/filters_filters.jsonFilter.html +1 -1
  241. package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -1
  242. package/typedoc/functions/filters_order_by.orderByFilter.html +2 -2
  243. package/typedoc/functions/public.publishExternalAPI.html +1 -1
  244. package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -2
  245. package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -2
  246. package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -2
  247. package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -2
  248. package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -1
  249. package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -1
  250. package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -1
  251. package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -1
  252. package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +1 -1
  253. package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +1 -1
  254. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -1
  255. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -1
  256. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -1
  257. package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -1
  258. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -1
  259. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -1
  260. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -1
  261. package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -1
  262. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -1
  263. package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -1
  264. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -1
  265. package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +2 -2
  266. package/typedoc/functions/router_state_filters._IsStateFilter.html +2 -2
  267. package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +1 -1
  268. package/typedoc/functions/router_state_state_registry.getLocals.html +1 -1
  269. package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -1
  270. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +1 -1
  271. package/typedoc/functions/router_transition_hook_registry.makeEvent.html +1 -1
  272. package/typedoc/functions/router_transition_hook_registry.matchState.html +1 -1
  273. package/typedoc/functions/services_browser.trimEmptyHash.html +1 -1
  274. package/typedoc/functions/services_cookie_reader.getCookies.html +1 -1
  275. package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -1
  276. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -1
  277. package/typedoc/functions/shared_common._removeFrom.html +1 -1
  278. package/typedoc/functions/shared_common.allTrueR.html +1 -1
  279. package/typedoc/functions/shared_common.ancestors.html +1 -1
  280. package/typedoc/functions/shared_common.anyTrueR.html +1 -1
  281. package/typedoc/functions/shared_common.applyPairs.html +1 -1
  282. package/typedoc/functions/shared_common.arrayTuples.html +1 -1
  283. package/typedoc/functions/shared_common.assertFn.html +1 -1
  284. package/typedoc/functions/shared_common.assertMap.html +1 -1
  285. package/typedoc/functions/shared_common.assertPredicate.html +1 -1
  286. package/typedoc/functions/shared_common.copy.html +1 -1
  287. package/typedoc/functions/shared_common.createProxyFunctions.html +1 -1
  288. package/typedoc/functions/shared_common.defaults.html +1 -1
  289. package/typedoc/functions/shared_common.deregAll.html +1 -1
  290. package/typedoc/functions/shared_common.equals.html +1 -1
  291. package/typedoc/functions/shared_common.filter.html +1 -1
  292. package/typedoc/functions/shared_common.find.html +1 -1
  293. package/typedoc/functions/shared_common.flatten.html +1 -1
  294. package/typedoc/functions/shared_common.flattenR.html +1 -1
  295. package/typedoc/functions/shared_common.forEach.html +1 -1
  296. package/typedoc/functions/shared_common.inherit.html +1 -1
  297. package/typedoc/functions/shared_common.map.html +1 -1
  298. package/typedoc/functions/shared_common.mapObj.html +1 -1
  299. package/typedoc/functions/shared_common.mergeR.html +1 -1
  300. package/typedoc/functions/shared_common.omit.html +1 -1
  301. package/typedoc/functions/shared_common.pairs.html +1 -1
  302. package/typedoc/functions/shared_common.pick.html +1 -1
  303. package/typedoc/functions/shared_common.pluck.html +1 -1
  304. package/typedoc/functions/shared_common.pushR.html +1 -1
  305. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -1
  306. package/typedoc/functions/shared_common.silentRejection.html +1 -1
  307. package/typedoc/functions/shared_common.tail.html +1 -1
  308. package/typedoc/functions/shared_common.uniqR.html +1 -1
  309. package/typedoc/functions/shared_common.unnest.html +1 -1
  310. package/typedoc/functions/shared_common.unnestR.html +1 -1
  311. package/typedoc/functions/shared_hof.all.html +1 -1
  312. package/typedoc/functions/shared_hof.any.html +1 -1
  313. package/typedoc/functions/shared_hof.compose.html +1 -1
  314. package/typedoc/functions/shared_hof.curry.html +1 -1
  315. package/typedoc/functions/shared_hof.eq.html +1 -1
  316. package/typedoc/functions/shared_hof.invoke.html +1 -1
  317. package/typedoc/functions/shared_hof.is.html +1 -1
  318. package/typedoc/functions/shared_hof.or.html +1 -1
  319. package/typedoc/functions/shared_hof.parse.html +1 -1
  320. package/typedoc/functions/shared_hof.pattern.html +1 -1
  321. package/typedoc/functions/shared_hof.pipe.html +1 -1
  322. package/typedoc/functions/shared_hof.prop.html +1 -1
  323. package/typedoc/functions/shared_hof.val.html +1 -1
  324. package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -1
  325. package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +1 -1
  326. package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -1
  327. package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +1 -1
  328. package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -1
  329. package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +1 -1
  330. package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +1 -1
  331. package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +1 -1
  332. package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -1
  333. package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +1 -1
  334. package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +1 -1
  335. package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +1 -1
  336. package/typedoc/functions/shared_predicates.isInjectable.html +1 -1
  337. package/typedoc/functions/shared_predicates.isNull.html +1 -1
  338. package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -1
  339. package/typedoc/functions/shared_predicates.isPromise.html +1 -1
  340. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +1 -1
  341. package/typedoc/functions/shared_strings.fnToString.html +1 -1
  342. package/typedoc/functions/shared_strings.functionToString.html +1 -1
  343. package/typedoc/functions/shared_strings.joinNeighborsR.html +1 -1
  344. package/typedoc/functions/shared_strings.kebobString.html +1 -1
  345. package/typedoc/functions/shared_strings.maxLength.html +1 -1
  346. package/typedoc/functions/shared_strings.padString.html +1 -1
  347. package/typedoc/functions/shared_strings.splitEqual.html +1 -1
  348. package/typedoc/functions/shared_strings.splitHash.html +1 -1
  349. package/typedoc/functions/shared_strings.splitOnDelim.html +1 -1
  350. package/typedoc/functions/shared_strings.splitQuery.html +1 -1
  351. package/typedoc/functions/shared_strings.stringify.html +1 -1
  352. package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -1
  353. package/typedoc/functions/shared_strings.trimHashVal.html +1 -1
  354. package/typedoc/functions/shared_utils.addDateMinutes.html +1 -1
  355. package/typedoc/functions/shared_utils.arrayRemove.html +1 -1
  356. package/typedoc/functions/shared_utils.assert.html +1 -1
  357. package/typedoc/functions/shared_utils.assertArg.html +1 -1
  358. package/typedoc/functions/shared_utils.assertArgFn.html +1 -1
  359. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +1 -1
  360. package/typedoc/functions/shared_utils.baseExtend.html +1 -1
  361. package/typedoc/functions/shared_utils.bind.html +1 -1
  362. package/typedoc/functions/shared_utils.concat.html +1 -1
  363. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -1
  364. package/typedoc/functions/shared_utils.csp.html +1 -1
  365. package/typedoc/functions/shared_utils.directiveNormalize.html +1 -1
  366. package/typedoc/functions/shared_utils.encodeUriQuery.html +1 -1
  367. package/typedoc/functions/shared_utils.encodeUriSegment.html +1 -1
  368. package/typedoc/functions/shared_utils.equals.html +1 -1
  369. package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -1
  370. package/typedoc/functions/shared_utils.extend.html +1 -1
  371. package/typedoc/functions/shared_utils.forEach.html +1 -1
  372. package/typedoc/functions/shared_utils.forEachSorted.html +1 -1
  373. package/typedoc/functions/shared_utils.fromJson.html +1 -1
  374. package/typedoc/functions/shared_utils.getNgAttribute.html +1 -1
  375. package/typedoc/functions/shared_utils.getNodeName.html +1 -1
  376. package/typedoc/functions/shared_utils.getter.html +1 -1
  377. package/typedoc/functions/shared_utils.hasAnimate.html +1 -1
  378. package/typedoc/functions/shared_utils.hasCustomToString.html +1 -1
  379. package/typedoc/functions/shared_utils.hashKey.html +1 -1
  380. package/typedoc/functions/shared_utils.includes.html +1 -1
  381. package/typedoc/functions/shared_utils.inherit.html +1 -1
  382. package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -1
  383. package/typedoc/functions/shared_utils.isArrayLike.html +1 -1
  384. package/typedoc/functions/shared_utils.isBlankObject.html +1 -1
  385. package/typedoc/functions/shared_utils.isBlob.html +1 -1
  386. package/typedoc/functions/shared_utils.isBoolean.html +1 -1
  387. package/typedoc/functions/shared_utils.isDate.html +1 -1
  388. package/typedoc/functions/shared_utils.isDefined.html +1 -1
  389. package/typedoc/functions/shared_utils.isElement.html +1 -1
  390. package/typedoc/functions/shared_utils.isError.html +1 -1
  391. package/typedoc/functions/shared_utils.isFile.html +1 -1
  392. package/typedoc/functions/shared_utils.isFormData.html +1 -1
  393. package/typedoc/functions/shared_utils.isFunction.html +1 -1
  394. package/typedoc/functions/shared_utils.isNumber.html +1 -1
  395. package/typedoc/functions/shared_utils.isNumberNaN.html +1 -1
  396. package/typedoc/functions/shared_utils.isObject.html +1 -1
  397. package/typedoc/functions/shared_utils.isPromiseLike.html +1 -1
  398. package/typedoc/functions/shared_utils.isRegExp.html +1 -1
  399. package/typedoc/functions/shared_utils.isScope.html +1 -1
  400. package/typedoc/functions/shared_utils.isString.html +1 -1
  401. package/typedoc/functions/shared_utils.isTypedArray.html +1 -1
  402. package/typedoc/functions/shared_utils.isUndefined.html +1 -1
  403. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -1
  404. package/typedoc/functions/shared_utils.isWindow.html +1 -1
  405. package/typedoc/functions/shared_utils.lowercase.html +1 -1
  406. package/typedoc/functions/shared_utils.merge.html +1 -1
  407. package/typedoc/functions/shared_utils.mergeClasses.html +1 -1
  408. package/typedoc/functions/shared_utils.minErr.html +1 -1
  409. package/typedoc/functions/shared_utils.nextUid.html +1 -1
  410. package/typedoc/functions/shared_utils.parseKeyValue.html +1 -1
  411. package/typedoc/functions/shared_utils.reverseParams.html +1 -1
  412. package/typedoc/functions/shared_utils.setHashKey.html +1 -1
  413. package/typedoc/functions/shared_utils.shallowCopy.html +1 -1
  414. package/typedoc/functions/shared_utils.simpleCompare.html +1 -1
  415. package/typedoc/functions/shared_utils.sliceArgs.html +1 -1
  416. package/typedoc/functions/shared_utils.snakeCase.html +1 -1
  417. package/typedoc/functions/shared_utils.stringify.html +1 -1
  418. package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -1
  419. package/typedoc/functions/shared_utils.toDebugString.html +1 -1
  420. package/typedoc/functions/shared_utils.toInt.html +1 -1
  421. package/typedoc/functions/shared_utils.toJson.html +1 -1
  422. package/typedoc/functions/shared_utils.toKeyValue.html +1 -1
  423. package/typedoc/functions/shared_utils.trim.html +1 -1
  424. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +1 -1
  425. package/typedoc/functions/shared_utils.uppercase.html +1 -1
  426. package/typedoc/functions/shared_utils.valueFn.html +1 -1
  427. package/typedoc/interfaces/animations_animate.AnimationOptions.html +5 -5
  428. package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +2 -2
  429. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +2 -2
  430. package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -2
  431. package/typedoc/interfaces/core_location_location.DefaultPorts.html +2 -2
  432. package/typedoc/interfaces/core_location_location.Html5Mode.html +2 -2
  433. package/typedoc/interfaces/core_parser_ast.ASTNode.html +23 -23
  434. package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +3 -3
  435. package/typedoc/interfaces/core_parser_lexer.Token.html +7 -7
  436. package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +5 -5
  437. package/typedoc/interfaces/core_parser_parser.ParsedAST.html +3 -3
  438. package/typedoc/interfaces/core_q_q.Deferred.html +5 -5
  439. package/typedoc/interfaces/core_q_q.PromiseResolvables.html +4 -0
  440. package/typedoc/interfaces/core_q_q.PromiseState.html +6 -0
  441. package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
  442. package/typedoc/interfaces/core_q_q.QService.html +5 -0
  443. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +2 -2
  444. package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +5 -5
  445. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +2 -2
  446. package/typedoc/interfaces/router_template_factory.BindingTuple.html +2 -2
  447. package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -2
  448. package/typedoc/interfaces/services_log.LogService.html +6 -6
  449. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +3 -3
  450. package/typedoc/interfaces/types.Annotated.html +2 -2
  451. package/typedoc/interfaces/types.ChangesObject.html +4 -4
  452. package/typedoc/interfaces/types.Controller.html +7 -7
  453. package/typedoc/interfaces/types.Directive.html +18 -18
  454. package/typedoc/interfaces/types.DirectivePrePost.html +3 -3
  455. package/typedoc/interfaces/types.FormController.html +20 -20
  456. package/typedoc/interfaces/types.Module.html +15 -15
  457. package/typedoc/interfaces/types.NgModelController.html +30 -30
  458. package/typedoc/interfaces/types.NgModelOptions.html +8 -8
  459. package/typedoc/interfaces/types.OnChangesObject.html +2 -2
  460. package/typedoc/interfaces/types.ServiceProviderClass.html +2 -2
  461. package/typedoc/interfaces/types.TranscludeFunctionObject.html +2 -2
  462. package/typedoc/modules/animations_animate.html +1 -1
  463. package/typedoc/modules/animations_animate_cache.html +1 -1
  464. package/typedoc/modules/animations_animate_children_directive.html +1 -1
  465. package/typedoc/modules/animations_animate_css.html +1 -1
  466. package/typedoc/modules/animations_animate_css_driver.html +1 -1
  467. package/typedoc/modules/animations_animate_js.html +1 -1
  468. package/typedoc/modules/animations_animate_js_driver.html +1 -1
  469. package/typedoc/modules/animations_animate_queue.html +1 -1
  470. package/typedoc/modules/animations_animate_runner.html +1 -1
  471. package/typedoc/modules/animations_animate_swap.html +1 -1
  472. package/typedoc/modules/animations_animation.html +1 -1
  473. package/typedoc/modules/animations_raf_scheduler.html +1 -1
  474. package/typedoc/modules/animations_shared.html +1 -1
  475. package/typedoc/modules/core_cache_cache.html +1 -1
  476. package/typedoc/modules/core_compile_attributes.html +1 -1
  477. package/typedoc/modules/core_compile_compile.html +1 -1
  478. package/typedoc/modules/core_controller_controller.html +1 -1
  479. package/typedoc/modules/core_di_injector.html +1 -1
  480. package/typedoc/modules/core_di_internal_injector.html +1 -1
  481. package/typedoc/modules/core_di_ng_module.html +1 -1
  482. package/typedoc/modules/core_exception_handler.html +1 -1
  483. package/typedoc/modules/core_filter_filter.html +1 -1
  484. package/typedoc/modules/core_interpolate_interpolate.html +1 -1
  485. package/typedoc/modules/core_interval_interval.html +1 -1
  486. package/typedoc/modules/core_interval_interval_factory.html +1 -1
  487. package/typedoc/modules/core_location_location.html +1 -1
  488. package/typedoc/modules/core_parser_ast.html +1 -1
  489. package/typedoc/modules/core_parser_ast_type.html +1 -1
  490. package/typedoc/modules/core_parser_interpreter.html +1 -1
  491. package/typedoc/modules/core_parser_lexer.html +1 -1
  492. package/typedoc/modules/core_parser_parse.html +1 -1
  493. package/typedoc/modules/core_parser_parser.html +1 -1
  494. package/typedoc/modules/core_pubsub_pubsub.html +1 -1
  495. package/typedoc/modules/core_q_q.html +4 -1
  496. package/typedoc/modules/core_sanitize_sanitize_uri.html +1 -1
  497. package/typedoc/modules/core_sce_sce.html +1 -1
  498. package/typedoc/modules/core_scope_scope.html +1 -1
  499. package/typedoc/modules/core_task_tracker_factory.html +1 -1
  500. package/typedoc/modules/core_timeout_timeout.html +1 -1
  501. package/typedoc/modules/core_url_utils_url_utils.html +1 -1
  502. package/typedoc/modules/directive_aria_aria.html +1 -1
  503. package/typedoc/modules/directive_attrs_attrs.html +1 -1
  504. package/typedoc/modules/directive_bind_bind.html +1 -1
  505. package/typedoc/modules/directive_change_change.html +1 -1
  506. package/typedoc/modules/directive_class_class.html +1 -1
  507. package/typedoc/modules/directive_cloak_cloak.html +1 -1
  508. package/typedoc/modules/directive_controller_controller.html +1 -1
  509. package/typedoc/modules/directive_events_events.html +1 -1
  510. package/typedoc/modules/directive_form_form.html +1 -1
  511. package/typedoc/modules/directive_if_if.html +1 -1
  512. package/typedoc/modules/directive_include_include.html +1 -1
  513. package/typedoc/modules/directive_init_init.html +1 -1
  514. package/typedoc/modules/directive_input_input.html +1 -1
  515. package/typedoc/modules/directive_list_list.html +1 -1
  516. package/typedoc/modules/directive_messages_messages.html +1 -1
  517. package/typedoc/modules/directive_model_model.html +1 -1
  518. package/typedoc/modules/directive_model_options_model_options.html +1 -1
  519. package/typedoc/modules/directive_non_bindable_non_bindable.html +1 -1
  520. package/typedoc/modules/directive_options_options.html +1 -1
  521. package/typedoc/modules/directive_ref_ref.html +1 -1
  522. package/typedoc/modules/directive_repeat_repeat.html +1 -1
  523. package/typedoc/modules/directive_script_script.html +1 -1
  524. package/typedoc/modules/directive_select_select.html +1 -1
  525. package/typedoc/modules/directive_show_hide_show_hide.html +1 -1
  526. package/typedoc/modules/directive_style_style.html +1 -1
  527. package/typedoc/modules/directive_switch_switch.html +1 -1
  528. package/typedoc/modules/directive_transclude_transclude.html +1 -1
  529. package/typedoc/modules/directive_validators_validators.html +1 -1
  530. package/typedoc/modules/filters_filter.html +1 -1
  531. package/typedoc/modules/filters_filters.html +1 -1
  532. package/typedoc/modules/filters_limit_to.html +1 -1
  533. package/typedoc/modules/filters_order_by.html +1 -1
  534. package/typedoc/modules/index.html +1 -1
  535. package/typedoc/modules/loader.html +1 -1
  536. package/typedoc/modules/public.html +1 -1
  537. package/typedoc/modules/router_common_coreservices.html +1 -1
  538. package/typedoc/modules/router_common_glob.html +1 -1
  539. package/typedoc/modules/router_common_queue.html +1 -1
  540. package/typedoc/modules/router_common_trace.html +1 -1
  541. package/typedoc/modules/router_directives_state_directives.html +1 -1
  542. package/typedoc/modules/router_directives_view_directive.html +1 -1
  543. package/typedoc/modules/router_globals.html +1 -1
  544. package/typedoc/modules/router_hooks_core_resolvables.html +1 -1
  545. package/typedoc/modules/router_hooks_ignored_transition.html +1 -1
  546. package/typedoc/modules/router_hooks_invalid_transition.html +1 -1
  547. package/typedoc/modules/router_hooks_lazy_load.html +1 -1
  548. package/typedoc/modules/router_hooks_on_enter_exit_retain.html +1 -1
  549. package/typedoc/modules/router_hooks_redirect_to.html +1 -1
  550. package/typedoc/modules/router_hooks_resolve.html +1 -1
  551. package/typedoc/modules/router_hooks_update_globals.html +1 -1
  552. package/typedoc/modules/router_hooks_url.html +1 -1
  553. package/typedoc/modules/router_hooks_views.html +1 -1
  554. package/typedoc/modules/router_params_param.html +1 -1
  555. package/typedoc/modules/router_params_param_factory.html +1 -1
  556. package/typedoc/modules/router_params_param_type.html +1 -1
  557. package/typedoc/modules/router_params_param_types.html +1 -1
  558. package/typedoc/modules/router_params_state_params.html +1 -1
  559. package/typedoc/modules/router_path_path_node.html +1 -1
  560. package/typedoc/modules/router_path_path_utils.html +1 -1
  561. package/typedoc/modules/router_resolve_resolvable.html +1 -1
  562. package/typedoc/modules/router_resolve_resolve_context.html +2 -3
  563. package/typedoc/modules/router_state_filters.html +1 -1
  564. package/typedoc/modules/router_state_state_builder.html +1 -1
  565. package/typedoc/modules/router_state_state_matcher.html +1 -1
  566. package/typedoc/modules/router_state_state_object.html +1 -1
  567. package/typedoc/modules/router_state_state_queue_manager.html +1 -1
  568. package/typedoc/modules/router_state_state_registry.html +1 -1
  569. package/typedoc/modules/router_state_state_service.html +1 -1
  570. package/typedoc/modules/router_state_target_state.html +1 -1
  571. package/typedoc/modules/router_state_views.html +1 -1
  572. package/typedoc/modules/router_template_factory.html +1 -1
  573. package/typedoc/modules/router_transition_hook_builder.html +1 -1
  574. package/typedoc/modules/router_transition_hook_registry.html +1 -1
  575. package/typedoc/modules/router_transition_interface.html +1 -1
  576. package/typedoc/modules/router_transition_reject_factory.html +1 -1
  577. package/typedoc/modules/router_transition_transition.html +1 -1
  578. package/typedoc/modules/router_transition_transition_event_type.html +1 -1
  579. package/typedoc/modules/router_transition_transition_hook.html +1 -1
  580. package/typedoc/modules/router_transition_transition_service.html +1 -1
  581. package/typedoc/modules/router_url_url_config.html +1 -1
  582. package/typedoc/modules/router_url_url_matcher.html +1 -1
  583. package/typedoc/modules/router_url_url_rule.html +1 -1
  584. package/typedoc/modules/router_url_url_rules.html +1 -1
  585. package/typedoc/modules/router_url_url_service.html +1 -1
  586. package/typedoc/modules/router_view_scroll.html +1 -1
  587. package/typedoc/modules/router_view_view.html +1 -1
  588. package/typedoc/modules/services_anchor_scroll.html +1 -1
  589. package/typedoc/modules/services_browser.html +1 -1
  590. package/typedoc/modules/services_cache_factory.html +1 -1
  591. package/typedoc/modules/services_cookie_reader.html +1 -1
  592. package/typedoc/modules/services_http_backend_http_backend.html +1 -1
  593. package/typedoc/modules/services_http_http.html +1 -1
  594. package/typedoc/modules/services_log.html +1 -1
  595. package/typedoc/modules/services_template_request.html +1 -1
  596. package/typedoc/modules/shared_common.html +1 -1
  597. package/typedoc/modules/shared_constants.html +1 -1
  598. package/typedoc/modules/shared_hof.html +1 -4
  599. package/typedoc/modules/shared_jqlite_jqlite.html +1 -1
  600. package/typedoc/modules/shared_predicates.html +1 -1
  601. package/typedoc/modules/shared_strings.html +1 -1
  602. package/typedoc/modules/shared_utils.html +1 -1
  603. package/typedoc/modules/types.html +1 -1
  604. package/typedoc/types/animations_animate.AnimationMethod.html +1 -1
  605. package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -1
  606. package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -1
  607. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -1
  608. package/typedoc/types/core_exception_handler.ErrorHandler.html +1 -1
  609. package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -1
  610. package/typedoc/types/core_interval_interval.IntervalId.html +1 -1
  611. package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -1
  612. package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -1
  613. package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -1
  614. package/typedoc/types/core_parser_parse.ParseService.html +1 -1
  615. package/typedoc/types/core_scope_scope.TTL.html +1 -1
  616. package/typedoc/types/core_scope_scope.WatchExpression.html +1 -1
  617. package/typedoc/types/core_scope_scope.WatchListener.html +1 -1
  618. package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -1
  619. package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -1
  620. package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -1
  621. package/typedoc/types/services_browser.UrlChangeListener.html +1 -1
  622. package/typedoc/types/services_log.LogCall.html +1 -1
  623. package/typedoc/types/types.AnnotatedFunction.html +1 -1
  624. package/typedoc/types/types.AsyncModelValidators.html +1 -1
  625. package/typedoc/types/types.Attributes.html +1 -1
  626. package/typedoc/types/types.BootstrapConfig.html +1 -1
  627. package/typedoc/types/types.CloneAttachFunction.html +1 -1
  628. package/typedoc/types/types.ComponentOptions.html +1 -1
  629. package/typedoc/types/types.ControllerConstructor.html +1 -1
  630. package/typedoc/types/types.DirectiveCompileFn.html +1 -1
  631. package/typedoc/types/types.DirectiveController.html +1 -1
  632. package/typedoc/types/types.DirectiveFactory.html +1 -1
  633. package/typedoc/types/types.DirectiveLinkFn.html +1 -1
  634. package/typedoc/types/types.FilterFactory.html +1 -1
  635. package/typedoc/types/types.FilterFunction.html +1 -1
  636. package/typedoc/types/types.Injectable.html +1 -1
  637. package/typedoc/types/types.ModelValidators.html +1 -1
  638. package/typedoc/types/types.ServiceProviderFactory.html +1 -1
  639. package/typedoc/types/types.TAttributes.html +1 -1
  640. package/typedoc/types/types.TController.html +1 -1
  641. package/typedoc/types/types.TElement.html +1 -1
  642. package/typedoc/types/types.TScope.html +1 -1
  643. package/typedoc/types/types.TranscludeFunction.html +1 -1
  644. package/typedoc/types/types.transcludeWithScope.html +1 -1
  645. package/typedoc/types/types.transcludeWithoutScope.html +1 -1
  646. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -1
  647. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -1
  648. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -1
  649. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -1
  650. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -1
  651. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -1
  652. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -1
  653. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -1
  654. package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -1
  655. package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -1
  656. package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -1
  657. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -1
  658. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -1
  659. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -1
  660. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -1
  661. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -1
  662. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -1
  663. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -1
  664. package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -1
  665. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -1
  666. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -1
  667. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -1
  668. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -1
  669. package/typedoc/variables/core_cache_cache.CACHE.html +1 -1
  670. package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -1
  671. package/typedoc/variables/core_di_injector.path.html +1 -1
  672. package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -1
  673. package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -1
  674. package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -1
  675. package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -1
  676. package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -1
  677. package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -1
  678. package/typedoc/variables/core_parser_ast.literals.html +1 -1
  679. package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -1
  680. package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -1
  681. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -1
  682. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -1
  683. package/typedoc/variables/core_scope_scope.TTL-1.html +1 -1
  684. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -1
  685. package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -1
  686. package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -1
  687. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -1
  688. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -1
  689. package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +1 -1
  690. package/typedoc/variables/directive_class_class.ngClassDirective.html +1 -1
  691. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -1
  692. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -1
  693. package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -1
  694. package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -1
  695. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -1
  696. package/typedoc/variables/directive_form_form.formDirective.html +1 -1
  697. package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -1
  698. package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -1
  699. package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -1
  700. package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -1
  701. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -1
  702. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -1
  703. package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -1
  704. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -1
  705. package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -1
  706. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -1
  707. package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -1
  708. package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -1
  709. package/typedoc/variables/directive_script_script.scriptDirective.html +1 -1
  710. package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -1
  711. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -1
  712. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +1 -1
  713. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +1 -1
  714. package/typedoc/variables/directive_validators_validators.patternDirective.html +1 -1
  715. package/typedoc/variables/directive_validators_validators.requiredDirective.html +1 -1
  716. package/typedoc/variables/index.angular.html +1 -1
  717. package/typedoc/variables/public.VERSION.html +1 -1
  718. package/typedoc/variables/router_common_coreservices.services.html +1 -1
  719. package/typedoc/variables/router_common_trace.Category.html +1 -1
  720. package/typedoc/variables/router_common_trace.trace-1.html +1 -1
  721. package/typedoc/variables/router_directives_view_directive.ngView.html +1 -1
  722. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -1
  723. package/typedoc/variables/router_params_param.DefType.html +1 -1
  724. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -1
  725. package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -1
  726. package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +1 -1
  727. package/typedoc/variables/router_transition_interface.TransitionHookScope.html +1 -1
  728. package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +1 -1
  729. package/typedoc/variables/services_log.LogService-1.html +1 -1
  730. package/typedoc/variables/shared_common.pushTo.html +1 -1
  731. package/typedoc/variables/shared_common.removeFrom.html +1 -1
  732. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -1
  733. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -1
  734. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -1
  735. package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -1
  736. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -1
  737. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -1
  738. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -1
  739. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -1
  740. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -1
  741. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -1
  742. package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -1
  743. package/typedoc/variables/shared_hof.propEq.html +1 -1
  744. package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -1
  745. package/typedoc/variables/shared_strings.hostRegex.html +1 -1
  746. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -1
  747. package/types/core/q/q.d.ts +47 -17
  748. package/types/directive/model/model.d.ts +1 -1
  749. package/types/router/common/coreservices.d.ts +2 -2
  750. package/types/router/resolve/resolve-context.d.ts +1 -2
  751. package/types/router/state/state-service.d.ts +1 -1
  752. package/types/router/state/views.d.ts +1 -1
  753. package/types/router/transition/transition.d.ts +4 -4
  754. package/types/router/url/url-service.d.ts +2 -2
  755. package/types/services/anchor-scroll.d.ts +2 -2
  756. package/types/services/browser.d.ts +22 -3
  757. package/types/shared/hof.d.ts +0 -12
  758. package/src/router/index.js +0 -54
  759. package/src/router/services.js +0 -54
  760. package/typedoc/functions/router.initRouter.html +0 -1
  761. package/typedoc/functions/router_services.runBlock.html +0 -2
  762. package/typedoc/functions/router_services.watchDigests.html +0 -2
  763. package/typedoc/functions/shared_hof.and.html +0 -3
  764. package/typedoc/modules/router.html +0 -2
  765. package/typedoc/modules/router_services.html +0 -3
  766. package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +0 -1
  767. package/types/router/index.d.ts +0 -1
  768. package/types/router/services.d.ts +0 -16
package/src/core/q/q.md CHANGED
@@ -68,24 +68,6 @@
68
68
 
69
69
  ```
70
70
 
71
- - // for the purpose of this example let's assume that variables `$q` and `okToGreet`
72
- - // are available in the current lexical scope (they could have been injected or passed in).
73
- -
74
- - function asyncGreet(name) {
75
- - let deferred = $q.defer();
76
- -
77
- - setTimeout(function() {
78
- - deferred.notify('About to greet ' + name + '.');
79
- -
80
- - if (okToGreet(name)) {
81
- - deferred.resolve('Hello, ' + name + '!');
82
- - } else {
83
- - deferred.reject('Greeting ' + name + ' is not allowed.');
84
- - }
85
- - }, 1000);
86
- -
87
- - return deferred.promise;
88
- - }
89
71
  -
90
72
  - let promise = asyncGreet('Robin Hood');
91
73
  - promise.then(function(greeting) {
@@ -474,111 +474,6 @@ describe("q", () => {
474
474
  expect(rejectedSpy).toHaveBeenCalledWith("fail");
475
475
  });
476
476
 
477
- it("can report progress", function () {
478
- var d = $q.defer();
479
- var progressSpy = jasmine.createSpy();
480
- d.promise.then(null, null, progressSpy);
481
- d.notify("working...");
482
- $rootScope.$apply();
483
- expect(progressSpy).toHaveBeenCalledWith("working...");
484
- });
485
-
486
- it("can report progress many times", function () {
487
- var d = $q.defer();
488
- var progressSpy = jasmine.createSpy();
489
- d.promise.then(null, null, progressSpy);
490
- d.notify("40%");
491
- $rootScope.$apply();
492
- d.notify("80%");
493
- d.notify("100%");
494
- $rootScope.$apply();
495
- expect(progressSpy.calls.count()).toBe(3);
496
- });
497
-
498
- it("does not notify progress after being resolved", function () {
499
- var d = $q.defer();
500
- var progressSpy = jasmine.createSpy();
501
- d.promise.then(null, null, progressSpy);
502
- d.resolve("ok");
503
- d.notify("working...");
504
- $rootScope.$apply();
505
- expect(progressSpy).not.toHaveBeenCalled();
506
- });
507
-
508
- it("does not notify progress after being rejected", function () {
509
- var d = $q.defer();
510
- var progressSpy = jasmine.createSpy();
511
- d.promise.then(null, null, progressSpy);
512
- d.reject("fail");
513
- d.notify("working...");
514
- $rootScope.$apply();
515
- expect(progressSpy).not.toHaveBeenCalled();
516
- });
517
-
518
- it("can notify progress through chain", function () {
519
- var d = $q.defer();
520
- var progressSpy = jasmine.createSpy();
521
- d.promise
522
- .then(() => {})
523
- .catch(() => {})
524
- .then(null, null, progressSpy);
525
- d.notify("working...");
526
- $rootScope.$apply();
527
- expect(progressSpy).toHaveBeenCalledWith("working...");
528
- });
529
-
530
- it("transforms progress through handlers", function () {
531
- var d = $q.defer();
532
- var progressSpy = jasmine.createSpy();
533
- d.promise
534
- .then(() => {})
535
- .then(null, null, function (progress) {
536
- return "***" + progress + "***";
537
- })
538
- .catch(() => {})
539
- .then(null, null, progressSpy);
540
- d.notify("working...");
541
- $rootScope.$apply();
542
- expect(progressSpy).toHaveBeenCalledWith("***working...***");
543
- });
544
-
545
- it("recovers from progressback exceptions", function () {
546
- var d = $q.defer();
547
- var progressSpy = jasmine.createSpy();
548
- var fulfilledSpy = jasmine.createSpy();
549
- d.promise.then(null, null, function (progress) {
550
- throw "fail";
551
- });
552
- d.promise.then(fulfilledSpy, null, progressSpy);
553
- d.notify("working...");
554
- d.resolve("ok");
555
- $rootScope.$apply();
556
- expect(progressSpy).toHaveBeenCalledWith("working...");
557
- expect(fulfilledSpy).toHaveBeenCalledWith("ok");
558
- });
559
-
560
- it("can notify progress through promise returned from handler", function () {
561
- var d = $q.defer();
562
- var progressSpy = jasmine.createSpy();
563
- d.promise.then(null, null, progressSpy);
564
- var d2 = $q.defer();
565
- // Resolve original with nested promise
566
- d.resolve(d2.promise);
567
- // Notify on the nested promise
568
- d2.notify("working...");
569
- $rootScope.$apply();
570
- expect(progressSpy).toHaveBeenCalledWith("working...");
571
- });
572
-
573
- it("allows attaching progressback in finally", function () {
574
- var d = $q.defer();
575
- var progressSpy = jasmine.createSpy();
576
- d.promise.finally(null, progressSpy);
577
- d.notify("working...");
578
- $rootScope.$apply();
579
- expect(progressSpy).toHaveBeenCalledWith("working...");
580
- });
581
-
582
477
  it("can make an immediately rejected promise", function () {
583
478
  var fulfilledSpy = jasmine.createSpy();
584
479
  var rejectedSpy = jasmine.createSpy();
@@ -592,7 +487,7 @@ describe("q", () => {
592
487
  it("can make an immediately resolved promise", function () {
593
488
  var fulfilledSpy = jasmine.createSpy();
594
489
  var rejectedSpy = jasmine.createSpy();
595
- var promise = $q.when("ok");
490
+ var promise = $q.resolve("ok");
596
491
  promise.then(fulfilledSpy, rejectedSpy);
597
492
  $rootScope.$apply();
598
493
  expect(fulfilledSpy).toHaveBeenCalledWith("ok");
@@ -602,7 +497,7 @@ describe("q", () => {
602
497
  it("can wrap a foreign promise", function () {
603
498
  var fulfilledSpy = jasmine.createSpy();
604
499
  var rejectedSpy = jasmine.createSpy();
605
- var promise = $q.when({
500
+ var promise = $q.resolve({
606
501
  then: function (handler) {
607
502
  $rootScope.$evalAsync(function () {
608
503
  handler("ok");
@@ -618,15 +513,12 @@ describe("q", () => {
618
513
  it("takes callbacks directly when wrapping", function () {
619
514
  var fulfilledSpy = jasmine.createSpy();
620
515
  var rejectedSpy = jasmine.createSpy();
621
- var progressSpy = jasmine.createSpy();
622
516
  var wrapped = $q.defer();
623
- $q.when(wrapped.promise, fulfilledSpy, rejectedSpy, progressSpy);
624
- wrapped.notify("working...");
517
+ $q.resolve(wrapped.promise, fulfilledSpy, rejectedSpy);
625
518
  wrapped.resolve("ok");
626
519
  $rootScope.$apply();
627
520
  expect(fulfilledSpy).toHaveBeenCalledWith("ok");
628
521
  expect(rejectedSpy).not.toHaveBeenCalled();
629
- expect(progressSpy).toHaveBeenCalledWith("working...");
630
522
  });
631
523
 
632
524
  it("makes an immediately resolved promise with resolve", function () {
@@ -651,7 +543,7 @@ describe("all", function () {
651
543
  });
652
544
 
653
545
  it("can resolve an array of promises to array of results", function () {
654
- var promise = $q.all([$q.when(1), $q.when(2), $q.when(3)]);
546
+ var promise = $q.all([$q.resolve(1), $q.resolve(2), $q.resolve(3)]);
655
547
  var fulfilledSpy = jasmine.createSpy();
656
548
  promise.then(fulfilledSpy);
657
549
  $rootScope.$apply();
@@ -659,7 +551,7 @@ describe("all", function () {
659
551
  });
660
552
 
661
553
  it("can resolve an object of promises to an object of results", function () {
662
- var promise = $q.all({ a: $q.when(1), b: $q.when(2) });
554
+ var promise = $q.all({ a: $q.resolve(1), b: $q.resolve(2) });
663
555
  var fulfilledSpy = jasmine.createSpy();
664
556
  promise.then(fulfilledSpy);
665
557
  $rootScope.$apply();
@@ -683,7 +575,7 @@ describe("all", function () {
683
575
  });
684
576
 
685
577
  it("rejects when any of the promises rejects", function () {
686
- var promise = $q.all([$q.when(1), $q.when(2), $q.reject("fail")]);
578
+ var promise = $q.all([$q.resolve(1), $q.resolve(2), $q.reject("fail")]);
687
579
  var fulfilledSpy = jasmine.createSpy();
688
580
  var rejectedSpy = jasmine.createSpy();
689
581
  promise.then(fulfilledSpy, rejectedSpy);
@@ -693,7 +585,7 @@ describe("all", function () {
693
585
  });
694
586
 
695
587
  it("wraps non-promises in the input collection", function () {
696
- var promise = $q.all([$q.when(1), 2, 3]);
588
+ var promise = $q.all([$q.resolve(1), 2, 3]);
697
589
  var fulfilledSpy = jasmine.createSpy();
698
590
  promise.then(fulfilledSpy);
699
591
  $rootScope.$apply();
@@ -807,12 +699,12 @@ describe("all", function () {
807
699
  expect(typeof promise.finally).toBe("function");
808
700
  });
809
701
 
810
- it("should support the instanceof operator", () => {
811
- let promise = $q(() => {});
812
- expect(promise instanceof $q).toBe(true);
813
- promise = new $q(() => {});
814
- expect(promise instanceof $q).toBe(true);
815
- });
702
+ // it("should support the instanceof operator", () => {
703
+ // let promise = $q(() => {});
704
+ // expect(promise instanceof $q).toBe(true);
705
+ // promise = new $q(() => {});
706
+ // expect(promise instanceof $q).toBe(true);
707
+ // });
816
708
 
817
709
  // describe("resolve", () => {
818
710
  // it("should fulfill the promise and execute all success callbacks in the registration order", () => {
@@ -2162,7 +2054,7 @@ describe("all", function () {
2162
2054
  // describe("when", () => {
2163
2055
  // describe("resolution", () => {
2164
2056
  // it("should call the success callback in the next turn when the value is a non-promise", () => {
2165
- // q.when("hello", success(), error());
2057
+ // q.resolve("hello", success(), error());
2166
2058
  // expect(logStr()).toBe("");
2167
2059
  // mockNextTick.flush();
2168
2060
  // expect(logStr()).toBe("success(hello)->hello");
@@ -2170,7 +2062,7 @@ describe("all", function () {
2170
2062
 
2171
2063
  // it("should call the success callback in the next turn when the value is a resolved promise", () => {
2172
2064
  // deferred.resolve("hello");
2173
- // q.when(deferred.promise, success(), error());
2065
+ // q.resolve(deferred.promise, success(), error());
2174
2066
  // expect(logStr()).toBe("");
2175
2067
  // mockNextTick.flush();
2176
2068
  // expect(logStr()).toBe("success(hello)->hello");
@@ -2178,14 +2070,14 @@ describe("all", function () {
2178
2070
 
2179
2071
  // it("should call the errback in the next turn when the value is a rejected promise", () => {
2180
2072
  // deferred.reject("nope");
2181
- // q.when(deferred.promise, success(), error());
2073
+ // q.resolve(deferred.promise, success(), error());
2182
2074
  // expect(logStr()).toBe("");
2183
2075
  // mockNextTick.flush();
2184
2076
  // expect(logStr()).toBe("error(nope)->reject(nope)");
2185
2077
  // });
2186
2078
 
2187
2079
  // it("should call the success callback after the original promise is resolved", () => {
2188
- // q.when(deferred.promise, success(), error());
2080
+ // q.resolve(deferred.promise, success(), error());
2189
2081
  // expect(logStr()).toBe("");
2190
2082
  // expect(logStr()).toBe("");
2191
2083
  // syncResolve(deferred, "hello");
@@ -2193,7 +2085,7 @@ describe("all", function () {
2193
2085
  // });
2194
2086
 
2195
2087
  // it("should call the errback after the original promise is rejected", () => {
2196
- // q.when(deferred.promise, success(), error());
2088
+ // q.resolve(deferred.promise, success(), error());
2197
2089
  // expect(logStr()).toBe("");
2198
2090
  // expect(logStr()).toBe("");
2199
2091
  // syncReject(deferred, "nope");
@@ -2203,7 +2095,7 @@ describe("all", function () {
2203
2095
 
2204
2096
  // describe("notification", () => {
2205
2097
  // it("should call the progressBack when the value is a promise and gets notified", () => {
2206
- // q.when(deferred.promise, success(), error(), progress());
2098
+ // q.resolve(deferred.promise, success(), error(), progress());
2207
2099
  // expect(logStr()).toBe("");
2208
2100
  // syncNotify(deferred, "notification");
2209
2101
  // expect(logStr()).toBe("progress(notification)->notification");
@@ -2219,14 +2111,14 @@ describe("all", function () {
2219
2111
 
2220
2112
  // describe("optional callbacks", () => {
2221
2113
  // it("should not require success callback and propagate resolution", () => {
2222
- // q.when("hi", null, error()).then(success(2), error());
2114
+ // q.resolve("hi", null, error()).then(success(2), error());
2223
2115
  // expect(logStr()).toBe("");
2224
2116
  // mockNextTick.flush();
2225
2117
  // expect(logStr()).toBe("success2(hi)->hi");
2226
2118
  // });
2227
2119
 
2228
2120
  // it("should not require success callback and propagate rejection", () => {
2229
- // q.when(q.reject("sorry"), null, error(1)).then(success(), error(2));
2121
+ // q.resolve(q.reject("sorry"), null, error(1)).then(success(), error(2));
2230
2122
  // expect(logStr()).toBe("");
2231
2123
  // mockNextTick.flush();
2232
2124
  // expect(logStr()).toBe(
@@ -2235,21 +2127,21 @@ describe("all", function () {
2235
2127
  // });
2236
2128
 
2237
2129
  // it("should not require errback and propagate resolution", () => {
2238
- // q.when("hi", success(1, "hello")).then(success(2), error());
2130
+ // q.resolve("hi", success(1, "hello")).then(success(2), error());
2239
2131
  // expect(logStr()).toBe("");
2240
2132
  // mockNextTick.flush();
2241
2133
  // expect(logStr()).toBe("success1(hi)->hello; success2(hello)->hello");
2242
2134
  // });
2243
2135
 
2244
2136
  // it("should not require errback and propagate rejection", () => {
2245
- // q.when(q.reject("sorry"), success()).then(success(2), error(2));
2137
+ // q.resolve(q.reject("sorry"), success()).then(success(2), error(2));
2246
2138
  // expect(logStr()).toBe("");
2247
2139
  // mockNextTick.flush();
2248
2140
  // expect(logStr()).toBe("error2(sorry)->reject(sorry)");
2249
2141
  // });
2250
2142
 
2251
2143
  // it("should not require progressBack and propagate notification", () => {
2252
- // q.when(deferred.promise).then(success(), error(), progress());
2144
+ // q.resolve(deferred.promise).then(success(), error(), progress());
2253
2145
  // expect(logStr()).toBe("");
2254
2146
  // syncNotify(deferred, "notification");
2255
2147
  // expect(logStr()).toBe("progress(notification)->notification");
@@ -2261,7 +2153,7 @@ describe("all", function () {
2261
2153
  // "should return a promise that can be resolved with a value returned from the success " +
2262
2154
  // "callback",
2263
2155
  // () => {
2264
- // q.when("hello", success(1, "hi"), error()).then(success(2), error());
2156
+ // q.resolve("hello", success(1, "hi"), error()).then(success(2), error());
2265
2157
  // mockNextTick.flush();
2266
2158
  // expect(logStr()).toBe("success1(hello)->hi; success2(hi)->hi");
2267
2159
  // },
@@ -2271,7 +2163,7 @@ describe("all", function () {
2271
2163
  // "should return a promise that can be rejected with a rejected promise returned from the " +
2272
2164
  // "success callback",
2273
2165
  // () => {
2274
- // q.when("hello", success(1, q.reject("sorry")), error()).then(
2166
+ // q.resolve("hello", success(1, q.reject("sorry")), error()).then(
2275
2167
  // success(),
2276
2168
  // error(2),
2277
2169
  // );
@@ -2283,7 +2175,7 @@ describe("all", function () {
2283
2175
  // );
2284
2176
 
2285
2177
  // it("should return a promise that can be resolved with a value returned from the errback", () => {
2286
- // q.when(q.reject("sorry"), success(), error(1, "hi")).then(
2178
+ // q.resolve(q.reject("sorry"), success(), error(1, "hi")).then(
2287
2179
  // success(2),
2288
2180
  // error(),
2289
2181
  // );
@@ -2295,7 +2187,7 @@ describe("all", function () {
2295
2187
  // "should return a promise that can be rejected with a rejected promise returned from the " +
2296
2188
  // "errback",
2297
2189
  // () => {
2298
- // q.when(q.reject("sorry"), success(), error(1, q.reject("sigh"))).then(
2190
+ // q.resolve(q.reject("sorry"), success(), error(1, q.reject("sigh"))).then(
2299
2191
  // success(),
2300
2192
  // error(2),
2301
2193
  // );
@@ -2311,7 +2203,7 @@ describe("all", function () {
2311
2203
  // "callback",
2312
2204
  // () => {
2313
2205
  // const deferred2 = defer();
2314
- // q.when("hi", success(1, deferred2.promise), error()).then(
2206
+ // q.resolve("hi", success(1, deferred2.promise), error()).then(
2315
2207
  // success(2),
2316
2208
  // error(),
2317
2209
  // );
@@ -2329,7 +2221,7 @@ describe("all", function () {
2329
2221
  // "callback",
2330
2222
  // () => {
2331
2223
  // const deferred2 = defer();
2332
- // q.when(
2224
+ // q.resolve(
2333
2225
  // q.reject("sorry"),
2334
2226
  // success(),
2335
2227
  // error(1, deferred2.promise),
@@ -2357,7 +2249,7 @@ describe("all", function () {
2357
2249
  // },
2358
2250
  // };
2359
2251
 
2360
- // q.when(evilPromise, success(), error());
2252
+ // q.resolve(evilPromise, success(), error());
2361
2253
  // expect(logStr()).toBe("");
2362
2254
  // evilPromise.success("done");
2363
2255
  // mockNextTick.flush(); // TODO(i) wrong queue, evil promise would be resolved outside of the
@@ -2384,7 +2276,7 @@ describe("all", function () {
2384
2276
  // },
2385
2277
  // };
2386
2278
 
2387
- // q.when(evilPromise, success(), error());
2279
+ // q.resolve(evilPromise, success(), error());
2388
2280
  // expect(logStr()).toBe("");
2389
2281
  // evilPromise.error("failed");
2390
2282
  // mockNextTick.flush();
@@ -2408,7 +2300,7 @@ describe("all", function () {
2408
2300
  // },
2409
2301
  // };
2410
2302
 
2411
- // q.when(evilPromise, success(), error(), progress());
2303
+ // q.resolve(evilPromise, success(), error(), progress());
2412
2304
  // expect(logStr()).toBe("");
2413
2305
  // evilPromise.progress("notification");
2414
2306
  // evilPromise.success("ok");
@@ -2761,7 +2653,7 @@ describe("all", function () {
2761
2653
  // describe("in when", () => {
2762
2654
  // it("should NOT log exceptions thrown in a success callback but reject the derived promise", () => {
2763
2655
  // const success1 = success(1, "oops", true);
2764
- // q.when("hi", success1, error())
2656
+ // q.resolve("hi", success1, error())
2765
2657
  // .then(success(), error(2))
2766
2658
  // .catch(() => {});
2767
2659
  // mockNextTick.flush();
@@ -2772,7 +2664,7 @@ describe("all", function () {
2772
2664
  // });
2773
2665
 
2774
2666
  // it("should NOT log exceptions when a success callback returns rejected promise", () => {
2775
- // q.when("hi", success(1, q.reject("rejected")))
2667
+ // q.resolve("hi", success(1, q.reject("rejected")))
2776
2668
  // .then(success(2), error(2))
2777
2669
  // .catch(() => {});
2778
2670
  // mockNextTick.flush();
@@ -2784,7 +2676,7 @@ describe("all", function () {
2784
2676
 
2785
2677
  // it("should NOT log exceptions thrown in a errback but reject the derived promise", () => {
2786
2678
  // const error1 = error(1, "oops", true);
2787
- // q.when(q.reject("sorry"), success(), error1)
2679
+ // q.resolve(q.reject("sorry"), success(), error1)
2788
2680
  // .then(success(), error(2))
2789
2681
  // .catch(() => {});
2790
2682
  // mockNextTick.flush();
@@ -2795,7 +2687,7 @@ describe("all", function () {
2795
2687
  // });
2796
2688
 
2797
2689
  // it("should NOT log exceptions when an errback returns a rejected promise", () => {
2798
- // q.when(q.reject("sorry"), success(), error(1, q.reject("rejected")))
2690
+ // q.resolve(q.reject("sorry"), success(), error(1, q.reject("rejected")))
2799
2691
  // .then(success(2), error(2))
2800
2692
  // .catch(() => {});
2801
2693
  // mockNextTick.flush();
@@ -163,7 +163,7 @@ export class NgModelController {
163
163
  this.$$animate = $animate;
164
164
  this.$$timeout = $timeout;
165
165
  this.$$parse = $parse;
166
- this.$$q = $q;
166
+ this.$q = $q;
167
167
  this.$$exceptionHandler = $exceptionHandler;
168
168
 
169
169
  this.$$hasNativeValidators = false;
@@ -650,7 +650,7 @@ export class NgModelController {
650
650
  if (!validatorPromises.length) {
651
651
  validationDone(true);
652
652
  } else {
653
- that.$$q.all(validatorPromises).then(
653
+ that.$q.all(validatorPromises).then(
654
654
  () => {
655
655
  validationDone(allValid);
656
656
  },
package/src/loader.js CHANGED
@@ -1,17 +1,18 @@
1
1
  import {
2
2
  minErr,
3
- forEach,
4
3
  getNgAttribute,
5
4
  ngAttrPrefixes,
6
5
  assertNotHasOwnProperty,
7
6
  errorHandlingConfig,
8
7
  } from "./shared/utils";
9
8
  import { JQLite } from "./shared/jqlite/jqlite";
10
- import { createInjector } from "./core/di/injector";
9
+ import { annotate, createInjector } from "./core/di/injector";
11
10
  import { NgModule } from "./core/di/ng-module";
12
11
  import { CACHE } from "./core/cache/cache";
13
12
  import { publishExternalAPI } from "./public";
14
13
  import { VERSION } from "./public";
14
+ import { services } from "./router/common/coreservices";
15
+ import { unnestR } from "./shared/common";
15
16
 
16
17
  const ngMinErr = minErr("ng");
17
18
  const $injectorMinErr = minErr("$injector");
@@ -149,6 +150,33 @@ export class Angular {
149
150
  el.data("$injector", $injector);
150
151
  compile(el)(scope);
151
152
  });
153
+ // ng-route deps
154
+ services.$injector = $injector;
155
+ services.$q = $injector.get("$q");
156
+ // https://github.com/angular-ui/ui-router/issues/3678
157
+ if (!Object.prototype.hasOwnProperty.call($injector, "strictDi")) {
158
+ try {
159
+ $injector.invoke(() => {});
160
+ } catch (error) {
161
+ $injector.strictDi = !!/strict mode/.exec(
162
+ error && error.toString(),
163
+ );
164
+ }
165
+ }
166
+
167
+ $injector
168
+ .get("$stateRegistry")
169
+ .get()
170
+ .map((x) => x.$$state().resolvables)
171
+ .reduce(unnestR, [])
172
+ .filter((x) => x.deps === "deferred")
173
+ .forEach(
174
+ (resolvable) =>
175
+ (resolvable.deps = annotate(
176
+ resolvable.resolveFn,
177
+ $injector.strictDi,
178
+ )),
179
+ );
152
180
  },
153
181
  ]);
154
182
  return injector;
@@ -165,7 +193,7 @@ export class Angular {
165
193
  }
166
194
 
167
195
  resumeBootstrap(extraModules) {
168
- forEach(extraModules, (module) => {
196
+ extraModules.forEach((module) => {
169
197
  this.bootsrappedModules.push(module);
170
198
  });
171
199
  return this.doBootstrap();
package/src/public.js CHANGED
@@ -92,7 +92,6 @@ import {
92
92
  ngMessagesDirective,
93
93
  ngMessagesIncludeDirective,
94
94
  } from "./directive/messages/messages";
95
- import { initRouter } from "./router/index";
96
95
  import {
97
96
  AriaProvider,
98
97
  ngCheckedAriaDirective,
@@ -117,6 +116,22 @@ import { $$AnimateCssDriverProvider } from "./animations/animate-css-driver";
117
116
  import { $$AnimateJsDriverProvider } from "./animations/animate-js-driver";
118
117
  import { ngAnimateSwapDirective } from "./animations/animate-swap";
119
118
  import { $$AnimateChildrenDirective } from "./animations/animate-children-directive";
119
+ import { UrlConfigProvider } from "./router/url/url-config";
120
+ import { UIRouterGlobals } from "./router/globals";
121
+ import { ViewService } from "./router/view/view";
122
+ import { TransitionService } from "./router/transition/transition-service";
123
+ import { StateService } from "./router/state/state-service";
124
+ import { $ViewScrollProvider } from "./router/view-scroll";
125
+ import { TemplateFactory } from "./router/template-factory";
126
+ import { UrlService } from "./router/url/url-service";
127
+ import { StateRegistry } from "./router/state/state-registry";
128
+ import { trace } from "./router/common/trace";
129
+ import {
130
+ $StateRefActiveDirective,
131
+ $StateRefDirective,
132
+ $StateRefDynamicDirective,
133
+ } from "./router/directives/state-directives";
134
+ import { $ViewDirectiveFill, ngView } from "./router/directives/view-directive";
120
135
 
121
136
  /**
122
137
  * @type {string} `version` from `package.json`, injected by Rollup plugin
@@ -207,6 +222,14 @@ export function publishExternalAPI(angular) {
207
222
  ngReadonly: ngReadonlyAriaDirective,
208
223
  ngRequired: ngRequiredAriaDirective,
209
224
  ngValue: ngValueAriaDirective,
225
+ ngSref: $StateRefDirective,
226
+ ngSrefActive: $StateRefActiveDirective,
227
+ ngSrefActiveEq: $StateRefActiveDirective,
228
+ ngState: $StateRefDynamicDirective,
229
+ ngView: ngView,
230
+ })
231
+ .directive({
232
+ ngView: $ViewDirectiveFill,
210
233
  })
211
234
  .directive(ngAttributeAliasDirectives)
212
235
  .directive(ngEventDirectives);
@@ -240,6 +263,7 @@ export function publishExternalAPI(angular) {
240
263
  $parse: $ParseProvider,
241
264
  $$rAFScheduler: RafSchedulerProvider,
242
265
  $rootScope: $RootScopeProvider,
266
+ $routerGlobals: UIRouterGlobals,
243
267
  $q: $QProvider,
244
268
  $$q: $$QProvider,
245
269
  $sce: $SceProvider,
@@ -248,12 +272,26 @@ export function publishExternalAPI(angular) {
248
272
  $templateCache: TemplateCacheProvider,
249
273
  $templateRequest: TemplateRequestProvider,
250
274
  $timeout: $TimeoutProvider,
275
+ $urlConfig: UrlConfigProvider,
276
+ $view: ViewService,
277
+ $transitions: TransitionService,
278
+ $state: StateService,
279
+ $ngViewScroll: $ViewScrollProvider,
280
+ $templateFactory: TemplateFactory,
281
+ $urlService: UrlService,
282
+ $stateRegistry: StateRegistry,
251
283
  });
252
284
  },
253
285
  ],
254
286
  )
287
+ .factory("$stateParams", [
288
+ "$routerGlobals",
289
+ function (globals) {
290
+ return globals.params;
291
+ },
292
+ ])
293
+ .value("$trace", trace)
255
294
  .info({ version: VERSION });
256
295
 
257
- initRouter(angular);
258
296
  return ng;
259
297
  }
@@ -1,4 +1,6 @@
1
1
  export const services = {
2
+ /** @type {import("../../core/q/q").QService} */
2
3
  $q: undefined,
4
+ /** @type {import("../../core/di/internal-injector").InjectorService} */
3
5
  $injector: undefined,
4
6
  };