@angular-wave/angular.ts 0.1.3 → 0.1.5

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 (759) 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/angular.spec.js +0 -1
  5. package/src/animations/animate-css.js +4 -9
  6. package/src/core/compile/compile.js +6 -6
  7. package/src/core/interval/interval-factory.js +2 -1
  8. package/src/core/interval/interval.spec.js +3 -40
  9. package/src/core/location/location.js +3 -5
  10. package/src/core/q/q.js +130 -161
  11. package/src/core/q/q.md +0 -18
  12. package/src/core/q/q.spec.js +37 -145
  13. package/src/core/task-tracker-factory.js +94 -78
  14. package/src/directive/model/model.js +2 -2
  15. package/src/router/common/coreservices.js +3 -2
  16. package/src/router/directives/state-directives.spec.js +2 -2
  17. package/src/router/directives/view-directive.js +1 -1
  18. package/src/router/hooks/lazy-load.js +1 -1
  19. package/src/router/hooks/redirect-to.js +1 -1
  20. package/src/router/hooks/views.js +1 -1
  21. package/src/router/resolve/resolvable.js +2 -2
  22. package/src/router/resolve/resolve-context.js +4 -6
  23. package/src/router/state/state-service.js +4 -3
  24. package/src/router/state/views.js +2 -2
  25. package/src/router/template-factory.js +2 -2
  26. package/src/router/transition/transition-hook.js +1 -1
  27. package/src/router/transition/transition.js +2 -2
  28. package/src/services/anchor-scroll.js +9 -7
  29. package/src/services/browser.js +146 -194
  30. package/src/services/http/http.spec.js +2 -1
  31. package/src/services/http-backend/http-backend.js +3 -4
  32. package/src/shared/hof.js +0 -14
  33. package/tsconfig.json +1 -1
  34. package/typedoc/assets/navigation.js +1 -1
  35. package/typedoc/assets/search.js +1 -1
  36. package/typedoc/classes/animations_animate.AnimateProvider.html +5 -5
  37. package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +2 -2
  38. package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +2 -2
  39. package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +2 -2
  40. package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +2 -2
  41. package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +2 -2
  42. package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +2 -2
  43. package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +2 -2
  44. package/typedoc/classes/animations_animate_runner.AnimateRunner.html +2 -2
  45. package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +2 -2
  46. package/typedoc/classes/animations_animation.__AnimationProvider.html +2 -2
  47. package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +3 -3
  48. package/typedoc/classes/core_compile_attributes.Attributes.html +8 -8
  49. package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
  50. package/typedoc/classes/core_controller_controller._ControllerProvider.html +4 -4
  51. package/typedoc/classes/core_di_internal_injector.InjectorService.html +6 -6
  52. package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +7 -7
  53. package/typedoc/classes/core_di_ng_module.NgModule.html +4 -4
  54. package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +2 -2
  55. package/typedoc/classes/core_filter_filter._FilterProvider.html +2 -2
  56. package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +4 -4
  57. package/typedoc/classes/core_interval_interval._IntervalProvider.html +2 -2
  58. package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +2 -2
  59. package/typedoc/classes/core_location_location.Location.html +20 -20
  60. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +21 -21
  61. package/typedoc/classes/core_location_location.LocationHtml5Url.html +21 -21
  62. package/typedoc/classes/core_location_location._LocationProvider.html +4 -4
  63. package/typedoc/classes/core_parser_ast.AST.html +28 -28
  64. package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +26 -26
  65. package/typedoc/classes/core_parser_lexer.Lexer.html +16 -16
  66. package/typedoc/classes/core_parser_parse._ParseProvider.html +3 -3
  67. package/typedoc/classes/core_parser_parser.Parser.html +4 -4
  68. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +9 -9
  69. package/typedoc/classes/core_q_q._QProvider.html +6 -5
  70. package/typedoc/classes/core_q_q.__QProvider.html +4 -3
  71. package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +4 -4
  72. package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +4 -4
  73. package/typedoc/classes/core_sce_sce._SceProvider.html +3 -3
  74. package/typedoc/classes/core_scope_scope.Scope.html +18 -18
  75. package/typedoc/classes/core_scope_scope._RootScopeProvider.html +2 -2
  76. package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +20 -26
  77. package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +2 -2
  78. package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +2 -2
  79. package/typedoc/classes/directive_aria_aria.AriaProvider.html +2 -2
  80. package/typedoc/classes/directive_form_form.FormController.html +21 -21
  81. package/typedoc/classes/directive_model_model.NgModelController.html +33 -33
  82. package/typedoc/classes/loader.Angular.html +5 -5
  83. package/typedoc/classes/router_common_glob.Glob.html +4 -4
  84. package/typedoc/classes/router_common_queue.Queue.html +2 -2
  85. package/typedoc/classes/router_common_trace.Trace.html +17 -17
  86. package/typedoc/classes/router_globals.UIRouterGlobals.html +3 -3
  87. package/typedoc/classes/router_params_param.Param.html +6 -6
  88. package/typedoc/classes/router_params_param_factory.ParamFactory.html +2 -2
  89. package/typedoc/classes/router_params_param_type.ParamType.html +4 -4
  90. package/typedoc/classes/router_params_param_types.ParamTypes.html +3 -3
  91. package/typedoc/classes/router_params_state_params.StateParams.html +3 -3
  92. package/typedoc/classes/router_path_path_node.PathNode.html +7 -7
  93. package/typedoc/classes/router_path_path_utils.PathUtils.html +10 -10
  94. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -4
  95. package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +9 -9
  96. package/typedoc/classes/router_state_state_builder.StateBuilder.html +3 -3
  97. package/typedoc/classes/router_state_state_matcher.StateMatcher.html +2 -2
  98. package/typedoc/classes/router_state_state_object.StateObject.html +9 -9
  99. package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +2 -2
  100. package/typedoc/classes/router_state_state_registry.StateRegistry.html +8 -8
  101. package/typedoc/classes/router_state_state_service.StateService.html +18 -18
  102. package/typedoc/classes/router_state_target_state.TargetState.html +15 -15
  103. package/typedoc/classes/router_state_views.Ng1ViewConfig.html +4 -4
  104. package/typedoc/classes/router_template_factory.TemplateFactory.html +9 -9
  105. package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +4 -4
  106. package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +6 -6
  107. package/typedoc/classes/router_transition_reject_factory.Rejection.html +9 -9
  108. package/typedoc/classes/router_transition_transition.Transition.html +32 -32
  109. package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +3 -3
  110. package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +10 -10
  111. package/typedoc/classes/router_transition_transition_service.TransitionService.html +8 -8
  112. package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +6 -6
  113. package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +12 -12
  114. package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +3 -3
  115. package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +5 -5
  116. package/typedoc/classes/router_url_url_rules.UrlRules.html +9 -9
  117. package/typedoc/classes/router_url_url_service.UrlService.html +20 -20
  118. package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +2 -2
  119. package/typedoc/classes/router_view_view.ViewService.html +7 -7
  120. package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -3
  121. package/typedoc/classes/services_browser.Browser.html +40 -63
  122. package/typedoc/classes/services_browser.BrowserProvider.html +2 -2
  123. package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +2 -2
  124. package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +2 -2
  125. package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +2 -2
  126. package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +2 -2
  127. package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +2 -2
  128. package/typedoc/classes/services_http_http._HttpProvider.html +3 -3
  129. package/typedoc/classes/services_log._LogProvider.html +3 -3
  130. package/typedoc/classes/services_template_request.TemplateRequestProvider.html +4 -4
  131. package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +16 -16
  132. package/typedoc/enums/core_parser_ast_type.ASTType.html +2 -2
  133. package/typedoc/enums/core_scope_scope.ScopePhase.html +2 -2
  134. package/typedoc/enums/router_transition_reject_factory.RejectType.html +6 -6
  135. package/typedoc/functions/animations_animate.domInsert.html +1 -1
  136. package/typedoc/functions/animations_animate_cache.animateCache.html +6 -6
  137. package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -2
  138. package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -2
  139. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -1
  140. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -1
  141. package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -1
  142. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -1
  143. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -1
  144. package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -1
  145. package/typedoc/functions/animations_shared.assertArg.html +1 -1
  146. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -1
  147. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -1
  148. package/typedoc/functions/animations_shared.concatWithSpace.html +1 -1
  149. package/typedoc/functions/animations_shared.extractElementNode.html +1 -1
  150. package/typedoc/functions/animations_shared.getDomNode.html +1 -1
  151. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -1
  152. package/typedoc/functions/animations_shared.mergeClasses.html +1 -1
  153. package/typedoc/functions/animations_shared.ngMinErr.html +1 -1
  154. package/typedoc/functions/animations_shared.packageStyles.html +1 -1
  155. package/typedoc/functions/animations_shared.pendClasses.html +1 -1
  156. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -1
  157. package/typedoc/functions/animations_shared.removeFromArray.html +1 -1
  158. package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -1
  159. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -1
  160. package/typedoc/functions/core_controller_controller.identifierForController.html +1 -1
  161. package/typedoc/functions/core_di_injector.annotate.html +1 -1
  162. package/typedoc/functions/core_di_injector.createInjector.html +1 -1
  163. package/typedoc/functions/core_exception_handler.errorHandler-1.html +1 -1
  164. package/typedoc/functions/core_location_location.serverBase.html +1 -1
  165. package/typedoc/functions/core_location_location.stripBaseUrl.html +1 -1
  166. package/typedoc/functions/core_location_location.stripFile.html +1 -1
  167. package/typedoc/functions/core_location_location.stripHash.html +1 -1
  168. package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -1
  169. package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -1
  170. package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -1
  171. package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -1
  172. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -1
  173. package/typedoc/functions/core_scope_scope.countChildScopes.html +1 -1
  174. package/typedoc/functions/core_scope_scope.countWatchers.html +1 -1
  175. package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +1 -1
  176. package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +1 -1
  177. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +1 -1
  178. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +1 -1
  179. package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -1
  180. package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +1 -1
  181. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -2
  182. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -2
  183. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -2
  184. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -2
  185. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -2
  186. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -1
  187. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -2
  188. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -2
  189. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -2
  190. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -2
  191. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -2
  192. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -1
  193. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -1
  194. package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -1
  195. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -1
  196. package/typedoc/functions/directive_events_events.createEventDirective.html +1 -1
  197. package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -1
  198. package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -1
  199. package/typedoc/functions/directive_form_form.setupValidity.html +1 -1
  200. package/typedoc/functions/directive_if_if.ngIfDirective.html +2 -2
  201. package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -1
  202. package/typedoc/functions/directive_input_input.badInputChecker.html +1 -1
  203. package/typedoc/functions/directive_input_input.countDecimals.html +1 -1
  204. package/typedoc/functions/directive_input_input.createDateInputType.html +1 -1
  205. package/typedoc/functions/directive_input_input.createDateParser.html +1 -1
  206. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -1
  207. package/typedoc/functions/directive_input_input.inputDirective.html +2 -2
  208. package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -1
  209. package/typedoc/functions/directive_input_input.isValidForStep.html +1 -1
  210. package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -1
  211. package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -1
  212. package/typedoc/functions/directive_input_input.numberInputType.html +1 -1
  213. package/typedoc/functions/directive_input_input.rangeInputType.html +1 -1
  214. package/typedoc/functions/directive_input_input.weekParser.html +1 -1
  215. package/typedoc/functions/directive_list_list.ngListDirective.html +1 -1
  216. package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
  217. package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -2
  218. package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -2
  219. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -2
  220. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -2
  221. package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
  222. package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -1
  223. package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -1
  224. package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -1
  225. package/typedoc/functions/directive_select_select.optionDirective.html +2 -2
  226. package/typedoc/functions/directive_select_select.selectDirective.html +1 -1
  227. package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -2
  228. package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -2
  229. package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -1
  230. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -1
  231. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -1
  232. package/typedoc/functions/filters_filter.filterFilter.html +1 -1
  233. package/typedoc/functions/filters_filters.formatNumber.html +1 -1
  234. package/typedoc/functions/filters_filters.jsonFilter.html +1 -1
  235. package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -1
  236. package/typedoc/functions/filters_order_by.orderByFilter.html +2 -2
  237. package/typedoc/functions/public.publishExternalAPI.html +1 -1
  238. package/typedoc/functions/router.initRouter.html +1 -1
  239. package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -2
  240. package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -2
  241. package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -2
  242. package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -2
  243. package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -1
  244. package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -1
  245. package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -1
  246. package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -1
  247. package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +1 -1
  248. package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +1 -1
  249. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -1
  250. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -1
  251. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -1
  252. package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -1
  253. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -1
  254. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -1
  255. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -1
  256. package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -1
  257. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -1
  258. package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -1
  259. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -1
  260. package/typedoc/functions/router_services.runBlock.html +2 -2
  261. package/typedoc/functions/router_services.watchDigests.html +2 -2
  262. package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +2 -2
  263. package/typedoc/functions/router_state_filters._IsStateFilter.html +2 -2
  264. package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +1 -1
  265. package/typedoc/functions/router_state_state_registry.getLocals.html +1 -1
  266. package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -1
  267. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +1 -1
  268. package/typedoc/functions/router_transition_hook_registry.makeEvent.html +1 -1
  269. package/typedoc/functions/router_transition_hook_registry.matchState.html +1 -1
  270. package/typedoc/functions/services_browser.trimEmptyHash.html +1 -1
  271. package/typedoc/functions/services_cookie_reader.getCookies.html +1 -1
  272. package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -1
  273. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -1
  274. package/typedoc/functions/shared_common._removeFrom.html +1 -1
  275. package/typedoc/functions/shared_common.allTrueR.html +1 -1
  276. package/typedoc/functions/shared_common.ancestors.html +1 -1
  277. package/typedoc/functions/shared_common.anyTrueR.html +1 -1
  278. package/typedoc/functions/shared_common.applyPairs.html +1 -1
  279. package/typedoc/functions/shared_common.arrayTuples.html +1 -1
  280. package/typedoc/functions/shared_common.assertFn.html +1 -1
  281. package/typedoc/functions/shared_common.assertMap.html +1 -1
  282. package/typedoc/functions/shared_common.assertPredicate.html +1 -1
  283. package/typedoc/functions/shared_common.copy.html +1 -1
  284. package/typedoc/functions/shared_common.createProxyFunctions.html +1 -1
  285. package/typedoc/functions/shared_common.defaults.html +1 -1
  286. package/typedoc/functions/shared_common.deregAll.html +1 -1
  287. package/typedoc/functions/shared_common.equals.html +1 -1
  288. package/typedoc/functions/shared_common.filter.html +1 -1
  289. package/typedoc/functions/shared_common.find.html +1 -1
  290. package/typedoc/functions/shared_common.flatten.html +1 -1
  291. package/typedoc/functions/shared_common.flattenR.html +1 -1
  292. package/typedoc/functions/shared_common.forEach.html +1 -1
  293. package/typedoc/functions/shared_common.inherit.html +1 -1
  294. package/typedoc/functions/shared_common.map.html +1 -1
  295. package/typedoc/functions/shared_common.mapObj.html +1 -1
  296. package/typedoc/functions/shared_common.mergeR.html +1 -1
  297. package/typedoc/functions/shared_common.omit.html +1 -1
  298. package/typedoc/functions/shared_common.pairs.html +1 -1
  299. package/typedoc/functions/shared_common.pick.html +1 -1
  300. package/typedoc/functions/shared_common.pluck.html +1 -1
  301. package/typedoc/functions/shared_common.pushR.html +1 -1
  302. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -1
  303. package/typedoc/functions/shared_common.silentRejection.html +1 -1
  304. package/typedoc/functions/shared_common.tail.html +1 -1
  305. package/typedoc/functions/shared_common.uniqR.html +1 -1
  306. package/typedoc/functions/shared_common.unnest.html +1 -1
  307. package/typedoc/functions/shared_common.unnestR.html +1 -1
  308. package/typedoc/functions/shared_hof.all.html +1 -1
  309. package/typedoc/functions/shared_hof.any.html +1 -1
  310. package/typedoc/functions/shared_hof.compose.html +1 -1
  311. package/typedoc/functions/shared_hof.curry.html +1 -1
  312. package/typedoc/functions/shared_hof.eq.html +1 -1
  313. package/typedoc/functions/shared_hof.invoke.html +1 -1
  314. package/typedoc/functions/shared_hof.is.html +1 -1
  315. package/typedoc/functions/shared_hof.or.html +1 -1
  316. package/typedoc/functions/shared_hof.parse.html +1 -1
  317. package/typedoc/functions/shared_hof.pattern.html +1 -1
  318. package/typedoc/functions/shared_hof.pipe.html +1 -1
  319. package/typedoc/functions/shared_hof.prop.html +1 -1
  320. package/typedoc/functions/shared_hof.val.html +1 -1
  321. package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -1
  322. package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +1 -1
  323. package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -1
  324. package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +1 -1
  325. package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -1
  326. package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +1 -1
  327. package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +1 -1
  328. package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +1 -1
  329. package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -1
  330. package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +1 -1
  331. package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +1 -1
  332. package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +1 -1
  333. package/typedoc/functions/shared_predicates.isInjectable.html +1 -1
  334. package/typedoc/functions/shared_predicates.isNull.html +1 -1
  335. package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -1
  336. package/typedoc/functions/shared_predicates.isPromise.html +1 -1
  337. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +1 -1
  338. package/typedoc/functions/shared_strings.fnToString.html +1 -1
  339. package/typedoc/functions/shared_strings.functionToString.html +1 -1
  340. package/typedoc/functions/shared_strings.joinNeighborsR.html +1 -1
  341. package/typedoc/functions/shared_strings.kebobString.html +1 -1
  342. package/typedoc/functions/shared_strings.maxLength.html +1 -1
  343. package/typedoc/functions/shared_strings.padString.html +1 -1
  344. package/typedoc/functions/shared_strings.splitEqual.html +1 -1
  345. package/typedoc/functions/shared_strings.splitHash.html +1 -1
  346. package/typedoc/functions/shared_strings.splitOnDelim.html +1 -1
  347. package/typedoc/functions/shared_strings.splitQuery.html +1 -1
  348. package/typedoc/functions/shared_strings.stringify.html +1 -1
  349. package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -1
  350. package/typedoc/functions/shared_strings.trimHashVal.html +1 -1
  351. package/typedoc/functions/shared_utils.addDateMinutes.html +1 -1
  352. package/typedoc/functions/shared_utils.arrayRemove.html +1 -1
  353. package/typedoc/functions/shared_utils.assert.html +1 -1
  354. package/typedoc/functions/shared_utils.assertArg.html +1 -1
  355. package/typedoc/functions/shared_utils.assertArgFn.html +1 -1
  356. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +1 -1
  357. package/typedoc/functions/shared_utils.baseExtend.html +1 -1
  358. package/typedoc/functions/shared_utils.bind.html +1 -1
  359. package/typedoc/functions/shared_utils.concat.html +1 -1
  360. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -1
  361. package/typedoc/functions/shared_utils.csp.html +1 -1
  362. package/typedoc/functions/shared_utils.directiveNormalize.html +1 -1
  363. package/typedoc/functions/shared_utils.encodeUriQuery.html +1 -1
  364. package/typedoc/functions/shared_utils.encodeUriSegment.html +1 -1
  365. package/typedoc/functions/shared_utils.equals.html +1 -1
  366. package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -1
  367. package/typedoc/functions/shared_utils.extend.html +1 -1
  368. package/typedoc/functions/shared_utils.forEach.html +1 -1
  369. package/typedoc/functions/shared_utils.forEachSorted.html +1 -1
  370. package/typedoc/functions/shared_utils.fromJson.html +1 -1
  371. package/typedoc/functions/shared_utils.getNgAttribute.html +1 -1
  372. package/typedoc/functions/shared_utils.getNodeName.html +1 -1
  373. package/typedoc/functions/shared_utils.getter.html +1 -1
  374. package/typedoc/functions/shared_utils.hasAnimate.html +1 -1
  375. package/typedoc/functions/shared_utils.hasCustomToString.html +1 -1
  376. package/typedoc/functions/shared_utils.hashKey.html +1 -1
  377. package/typedoc/functions/shared_utils.includes.html +1 -1
  378. package/typedoc/functions/shared_utils.inherit.html +1 -1
  379. package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -1
  380. package/typedoc/functions/shared_utils.isArrayLike.html +1 -1
  381. package/typedoc/functions/shared_utils.isBlankObject.html +1 -1
  382. package/typedoc/functions/shared_utils.isBlob.html +1 -1
  383. package/typedoc/functions/shared_utils.isBoolean.html +1 -1
  384. package/typedoc/functions/shared_utils.isDate.html +1 -1
  385. package/typedoc/functions/shared_utils.isDefined.html +1 -1
  386. package/typedoc/functions/shared_utils.isElement.html +1 -1
  387. package/typedoc/functions/shared_utils.isError.html +1 -1
  388. package/typedoc/functions/shared_utils.isFile.html +1 -1
  389. package/typedoc/functions/shared_utils.isFormData.html +1 -1
  390. package/typedoc/functions/shared_utils.isFunction.html +1 -1
  391. package/typedoc/functions/shared_utils.isNumber.html +1 -1
  392. package/typedoc/functions/shared_utils.isNumberNaN.html +1 -1
  393. package/typedoc/functions/shared_utils.isObject.html +1 -1
  394. package/typedoc/functions/shared_utils.isPromiseLike.html +1 -1
  395. package/typedoc/functions/shared_utils.isRegExp.html +1 -1
  396. package/typedoc/functions/shared_utils.isScope.html +1 -1
  397. package/typedoc/functions/shared_utils.isString.html +1 -1
  398. package/typedoc/functions/shared_utils.isTypedArray.html +1 -1
  399. package/typedoc/functions/shared_utils.isUndefined.html +1 -1
  400. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -1
  401. package/typedoc/functions/shared_utils.isWindow.html +1 -1
  402. package/typedoc/functions/shared_utils.lowercase.html +1 -1
  403. package/typedoc/functions/shared_utils.merge.html +1 -1
  404. package/typedoc/functions/shared_utils.mergeClasses.html +1 -1
  405. package/typedoc/functions/shared_utils.minErr.html +1 -1
  406. package/typedoc/functions/shared_utils.nextUid.html +1 -1
  407. package/typedoc/functions/shared_utils.parseKeyValue.html +1 -1
  408. package/typedoc/functions/shared_utils.reverseParams.html +1 -1
  409. package/typedoc/functions/shared_utils.setHashKey.html +1 -1
  410. package/typedoc/functions/shared_utils.shallowCopy.html +1 -1
  411. package/typedoc/functions/shared_utils.simpleCompare.html +1 -1
  412. package/typedoc/functions/shared_utils.sliceArgs.html +1 -1
  413. package/typedoc/functions/shared_utils.snakeCase.html +1 -1
  414. package/typedoc/functions/shared_utils.stringify.html +1 -1
  415. package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -1
  416. package/typedoc/functions/shared_utils.toDebugString.html +1 -1
  417. package/typedoc/functions/shared_utils.toInt.html +1 -1
  418. package/typedoc/functions/shared_utils.toJson.html +1 -1
  419. package/typedoc/functions/shared_utils.toKeyValue.html +1 -1
  420. package/typedoc/functions/shared_utils.trim.html +1 -1
  421. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +1 -1
  422. package/typedoc/functions/shared_utils.uppercase.html +1 -1
  423. package/typedoc/functions/shared_utils.valueFn.html +1 -1
  424. package/typedoc/interfaces/animations_animate.AnimationOptions.html +5 -5
  425. package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +2 -2
  426. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +2 -2
  427. package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -2
  428. package/typedoc/interfaces/core_location_location.DefaultPorts.html +2 -2
  429. package/typedoc/interfaces/core_location_location.Html5Mode.html +2 -2
  430. package/typedoc/interfaces/core_parser_ast.ASTNode.html +23 -23
  431. package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +3 -3
  432. package/typedoc/interfaces/core_parser_lexer.Token.html +7 -7
  433. package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +5 -5
  434. package/typedoc/interfaces/core_parser_parser.ParsedAST.html +3 -3
  435. package/typedoc/interfaces/core_q_q.Deferred.html +5 -5
  436. package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
  437. package/typedoc/interfaces/core_q_q.QService.html +5 -0
  438. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +2 -2
  439. package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +5 -5
  440. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +2 -2
  441. package/typedoc/interfaces/router_template_factory.BindingTuple.html +2 -2
  442. package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -2
  443. package/typedoc/interfaces/services_log.LogService.html +6 -6
  444. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +3 -3
  445. package/typedoc/interfaces/types.Annotated.html +2 -2
  446. package/typedoc/interfaces/types.ChangesObject.html +4 -4
  447. package/typedoc/interfaces/types.Controller.html +7 -7
  448. package/typedoc/interfaces/types.Directive.html +18 -18
  449. package/typedoc/interfaces/types.DirectivePrePost.html +3 -3
  450. package/typedoc/interfaces/types.FormController.html +20 -20
  451. package/typedoc/interfaces/types.Module.html +15 -15
  452. package/typedoc/interfaces/types.NgModelController.html +30 -30
  453. package/typedoc/interfaces/types.NgModelOptions.html +8 -8
  454. package/typedoc/interfaces/types.OnChangesObject.html +2 -2
  455. package/typedoc/interfaces/types.ServiceProviderClass.html +2 -2
  456. package/typedoc/interfaces/types.TranscludeFunctionObject.html +2 -2
  457. package/typedoc/modules/animations_animate.html +1 -1
  458. package/typedoc/modules/animations_animate_cache.html +1 -1
  459. package/typedoc/modules/animations_animate_children_directive.html +1 -1
  460. package/typedoc/modules/animations_animate_css.html +1 -1
  461. package/typedoc/modules/animations_animate_css_driver.html +1 -1
  462. package/typedoc/modules/animations_animate_js.html +1 -1
  463. package/typedoc/modules/animations_animate_js_driver.html +1 -1
  464. package/typedoc/modules/animations_animate_queue.html +1 -1
  465. package/typedoc/modules/animations_animate_runner.html +1 -1
  466. package/typedoc/modules/animations_animate_swap.html +1 -1
  467. package/typedoc/modules/animations_animation.html +1 -1
  468. package/typedoc/modules/animations_raf_scheduler.html +1 -1
  469. package/typedoc/modules/animations_shared.html +1 -1
  470. package/typedoc/modules/core_cache_cache.html +1 -1
  471. package/typedoc/modules/core_compile_attributes.html +1 -1
  472. package/typedoc/modules/core_compile_compile.html +1 -1
  473. package/typedoc/modules/core_controller_controller.html +1 -1
  474. package/typedoc/modules/core_di_injector.html +1 -1
  475. package/typedoc/modules/core_di_internal_injector.html +1 -1
  476. package/typedoc/modules/core_di_ng_module.html +1 -1
  477. package/typedoc/modules/core_exception_handler.html +1 -1
  478. package/typedoc/modules/core_filter_filter.html +1 -1
  479. package/typedoc/modules/core_interpolate_interpolate.html +1 -1
  480. package/typedoc/modules/core_interval_interval.html +1 -1
  481. package/typedoc/modules/core_interval_interval_factory.html +1 -1
  482. package/typedoc/modules/core_location_location.html +1 -1
  483. package/typedoc/modules/core_parser_ast.html +1 -1
  484. package/typedoc/modules/core_parser_ast_type.html +1 -1
  485. package/typedoc/modules/core_parser_interpreter.html +1 -1
  486. package/typedoc/modules/core_parser_lexer.html +1 -1
  487. package/typedoc/modules/core_parser_parse.html +1 -1
  488. package/typedoc/modules/core_parser_parser.html +1 -1
  489. package/typedoc/modules/core_pubsub_pubsub.html +1 -1
  490. package/typedoc/modules/core_q_q.html +2 -1
  491. package/typedoc/modules/core_sanitize_sanitize_uri.html +1 -1
  492. package/typedoc/modules/core_sce_sce.html +1 -1
  493. package/typedoc/modules/core_scope_scope.html +1 -1
  494. package/typedoc/modules/core_task_tracker_factory.html +1 -1
  495. package/typedoc/modules/core_timeout_timeout.html +1 -1
  496. package/typedoc/modules/core_url_utils_url_utils.html +1 -1
  497. package/typedoc/modules/directive_aria_aria.html +1 -1
  498. package/typedoc/modules/directive_attrs_attrs.html +1 -1
  499. package/typedoc/modules/directive_bind_bind.html +1 -1
  500. package/typedoc/modules/directive_change_change.html +1 -1
  501. package/typedoc/modules/directive_class_class.html +1 -1
  502. package/typedoc/modules/directive_cloak_cloak.html +1 -1
  503. package/typedoc/modules/directive_controller_controller.html +1 -1
  504. package/typedoc/modules/directive_events_events.html +1 -1
  505. package/typedoc/modules/directive_form_form.html +1 -1
  506. package/typedoc/modules/directive_if_if.html +1 -1
  507. package/typedoc/modules/directive_include_include.html +1 -1
  508. package/typedoc/modules/directive_init_init.html +1 -1
  509. package/typedoc/modules/directive_input_input.html +1 -1
  510. package/typedoc/modules/directive_list_list.html +1 -1
  511. package/typedoc/modules/directive_messages_messages.html +1 -1
  512. package/typedoc/modules/directive_model_model.html +1 -1
  513. package/typedoc/modules/directive_model_options_model_options.html +1 -1
  514. package/typedoc/modules/directive_non_bindable_non_bindable.html +1 -1
  515. package/typedoc/modules/directive_options_options.html +1 -1
  516. package/typedoc/modules/directive_ref_ref.html +1 -1
  517. package/typedoc/modules/directive_repeat_repeat.html +1 -1
  518. package/typedoc/modules/directive_script_script.html +1 -1
  519. package/typedoc/modules/directive_select_select.html +1 -1
  520. package/typedoc/modules/directive_show_hide_show_hide.html +1 -1
  521. package/typedoc/modules/directive_style_style.html +1 -1
  522. package/typedoc/modules/directive_switch_switch.html +1 -1
  523. package/typedoc/modules/directive_transclude_transclude.html +1 -1
  524. package/typedoc/modules/directive_validators_validators.html +1 -1
  525. package/typedoc/modules/filters_filter.html +1 -1
  526. package/typedoc/modules/filters_filters.html +1 -1
  527. package/typedoc/modules/filters_limit_to.html +1 -1
  528. package/typedoc/modules/filters_order_by.html +1 -1
  529. package/typedoc/modules/index.html +1 -1
  530. package/typedoc/modules/loader.html +1 -1
  531. package/typedoc/modules/public.html +1 -1
  532. package/typedoc/modules/router.html +1 -1
  533. package/typedoc/modules/router_common_coreservices.html +1 -1
  534. package/typedoc/modules/router_common_glob.html +1 -1
  535. package/typedoc/modules/router_common_queue.html +1 -1
  536. package/typedoc/modules/router_common_trace.html +1 -1
  537. package/typedoc/modules/router_directives_state_directives.html +1 -1
  538. package/typedoc/modules/router_directives_view_directive.html +1 -1
  539. package/typedoc/modules/router_globals.html +1 -1
  540. package/typedoc/modules/router_hooks_core_resolvables.html +1 -1
  541. package/typedoc/modules/router_hooks_ignored_transition.html +1 -1
  542. package/typedoc/modules/router_hooks_invalid_transition.html +1 -1
  543. package/typedoc/modules/router_hooks_lazy_load.html +1 -1
  544. package/typedoc/modules/router_hooks_on_enter_exit_retain.html +1 -1
  545. package/typedoc/modules/router_hooks_redirect_to.html +1 -1
  546. package/typedoc/modules/router_hooks_resolve.html +1 -1
  547. package/typedoc/modules/router_hooks_update_globals.html +1 -1
  548. package/typedoc/modules/router_hooks_url.html +1 -1
  549. package/typedoc/modules/router_hooks_views.html +1 -1
  550. package/typedoc/modules/router_params_param.html +1 -1
  551. package/typedoc/modules/router_params_param_factory.html +1 -1
  552. package/typedoc/modules/router_params_param_type.html +1 -1
  553. package/typedoc/modules/router_params_param_types.html +1 -1
  554. package/typedoc/modules/router_params_state_params.html +1 -1
  555. package/typedoc/modules/router_path_path_node.html +1 -1
  556. package/typedoc/modules/router_path_path_utils.html +1 -1
  557. package/typedoc/modules/router_resolve_resolvable.html +1 -1
  558. package/typedoc/modules/router_resolve_resolve_context.html +2 -3
  559. package/typedoc/modules/router_services.html +1 -1
  560. package/typedoc/modules/router_state_filters.html +1 -1
  561. package/typedoc/modules/router_state_state_builder.html +1 -1
  562. package/typedoc/modules/router_state_state_matcher.html +1 -1
  563. package/typedoc/modules/router_state_state_object.html +1 -1
  564. package/typedoc/modules/router_state_state_queue_manager.html +1 -1
  565. package/typedoc/modules/router_state_state_registry.html +1 -1
  566. package/typedoc/modules/router_state_state_service.html +1 -1
  567. package/typedoc/modules/router_state_target_state.html +1 -1
  568. package/typedoc/modules/router_state_views.html +1 -1
  569. package/typedoc/modules/router_template_factory.html +1 -1
  570. package/typedoc/modules/router_transition_hook_builder.html +1 -1
  571. package/typedoc/modules/router_transition_hook_registry.html +1 -1
  572. package/typedoc/modules/router_transition_interface.html +1 -1
  573. package/typedoc/modules/router_transition_reject_factory.html +1 -1
  574. package/typedoc/modules/router_transition_transition.html +1 -1
  575. package/typedoc/modules/router_transition_transition_event_type.html +1 -1
  576. package/typedoc/modules/router_transition_transition_hook.html +1 -1
  577. package/typedoc/modules/router_transition_transition_service.html +1 -1
  578. package/typedoc/modules/router_url_url_config.html +1 -1
  579. package/typedoc/modules/router_url_url_matcher.html +1 -1
  580. package/typedoc/modules/router_url_url_rule.html +1 -1
  581. package/typedoc/modules/router_url_url_rules.html +1 -1
  582. package/typedoc/modules/router_url_url_service.html +1 -1
  583. package/typedoc/modules/router_view_scroll.html +1 -1
  584. package/typedoc/modules/router_view_view.html +1 -1
  585. package/typedoc/modules/services_anchor_scroll.html +1 -1
  586. package/typedoc/modules/services_browser.html +1 -1
  587. package/typedoc/modules/services_cache_factory.html +1 -1
  588. package/typedoc/modules/services_cookie_reader.html +1 -1
  589. package/typedoc/modules/services_http_backend_http_backend.html +1 -1
  590. package/typedoc/modules/services_http_http.html +1 -1
  591. package/typedoc/modules/services_log.html +1 -1
  592. package/typedoc/modules/services_template_request.html +1 -1
  593. package/typedoc/modules/shared_common.html +1 -1
  594. package/typedoc/modules/shared_constants.html +1 -1
  595. package/typedoc/modules/shared_hof.html +1 -4
  596. package/typedoc/modules/shared_jqlite_jqlite.html +1 -1
  597. package/typedoc/modules/shared_predicates.html +1 -1
  598. package/typedoc/modules/shared_strings.html +1 -1
  599. package/typedoc/modules/shared_utils.html +1 -1
  600. package/typedoc/modules/types.html +1 -1
  601. package/typedoc/types/animations_animate.AnimationMethod.html +1 -1
  602. package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -1
  603. package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -1
  604. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -1
  605. package/typedoc/types/core_exception_handler.ErrorHandler.html +1 -1
  606. package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -1
  607. package/typedoc/types/core_interval_interval.IntervalId.html +1 -1
  608. package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -1
  609. package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -1
  610. package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -1
  611. package/typedoc/types/core_parser_parse.ParseService.html +1 -1
  612. package/typedoc/types/core_scope_scope.TTL.html +1 -1
  613. package/typedoc/types/core_scope_scope.WatchExpression.html +1 -1
  614. package/typedoc/types/core_scope_scope.WatchListener.html +1 -1
  615. package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -1
  616. package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -1
  617. package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -1
  618. package/typedoc/types/services_browser.UrlChangeListener.html +1 -1
  619. package/typedoc/types/services_log.LogCall.html +1 -1
  620. package/typedoc/types/types.AnnotatedFunction.html +1 -1
  621. package/typedoc/types/types.AsyncModelValidators.html +1 -1
  622. package/typedoc/types/types.Attributes.html +1 -1
  623. package/typedoc/types/types.BootstrapConfig.html +1 -1
  624. package/typedoc/types/types.CloneAttachFunction.html +1 -1
  625. package/typedoc/types/types.ComponentOptions.html +1 -1
  626. package/typedoc/types/types.ControllerConstructor.html +1 -1
  627. package/typedoc/types/types.DirectiveCompileFn.html +1 -1
  628. package/typedoc/types/types.DirectiveController.html +1 -1
  629. package/typedoc/types/types.DirectiveFactory.html +1 -1
  630. package/typedoc/types/types.DirectiveLinkFn.html +1 -1
  631. package/typedoc/types/types.FilterFactory.html +1 -1
  632. package/typedoc/types/types.FilterFunction.html +1 -1
  633. package/typedoc/types/types.Injectable.html +1 -1
  634. package/typedoc/types/types.ModelValidators.html +1 -1
  635. package/typedoc/types/types.ServiceProviderFactory.html +1 -1
  636. package/typedoc/types/types.TAttributes.html +1 -1
  637. package/typedoc/types/types.TController.html +1 -1
  638. package/typedoc/types/types.TElement.html +1 -1
  639. package/typedoc/types/types.TScope.html +1 -1
  640. package/typedoc/types/types.TranscludeFunction.html +1 -1
  641. package/typedoc/types/types.transcludeWithScope.html +1 -1
  642. package/typedoc/types/types.transcludeWithoutScope.html +1 -1
  643. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -1
  644. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -1
  645. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -1
  646. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -1
  647. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -1
  648. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -1
  649. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -1
  650. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -1
  651. package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -1
  652. package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -1
  653. package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -1
  654. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -1
  655. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -1
  656. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -1
  657. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -1
  658. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -1
  659. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -1
  660. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -1
  661. package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -1
  662. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -1
  663. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -1
  664. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -1
  665. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -1
  666. package/typedoc/variables/core_cache_cache.CACHE.html +1 -1
  667. package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -1
  668. package/typedoc/variables/core_di_injector.path.html +1 -1
  669. package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -1
  670. package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -1
  671. package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -1
  672. package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -1
  673. package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -1
  674. package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -1
  675. package/typedoc/variables/core_parser_ast.literals.html +1 -1
  676. package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -1
  677. package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -1
  678. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -1
  679. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -1
  680. package/typedoc/variables/core_scope_scope.TTL-1.html +1 -1
  681. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -1
  682. package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -1
  683. package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -1
  684. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -1
  685. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -1
  686. package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +1 -1
  687. package/typedoc/variables/directive_class_class.ngClassDirective.html +1 -1
  688. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -1
  689. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -1
  690. package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -1
  691. package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -1
  692. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -1
  693. package/typedoc/variables/directive_form_form.formDirective.html +1 -1
  694. package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -1
  695. package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -1
  696. package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -1
  697. package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -1
  698. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -1
  699. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -1
  700. package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -1
  701. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -1
  702. package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -1
  703. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -1
  704. package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -1
  705. package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -1
  706. package/typedoc/variables/directive_script_script.scriptDirective.html +1 -1
  707. package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -1
  708. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -1
  709. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +1 -1
  710. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +1 -1
  711. package/typedoc/variables/directive_validators_validators.patternDirective.html +1 -1
  712. package/typedoc/variables/directive_validators_validators.requiredDirective.html +1 -1
  713. package/typedoc/variables/index.angular.html +1 -1
  714. package/typedoc/variables/public.VERSION.html +1 -1
  715. package/typedoc/variables/router_common_coreservices.services.html +1 -1
  716. package/typedoc/variables/router_common_trace.Category.html +1 -1
  717. package/typedoc/variables/router_common_trace.trace-1.html +1 -1
  718. package/typedoc/variables/router_directives_view_directive.ngView.html +1 -1
  719. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -1
  720. package/typedoc/variables/router_params_param.DefType.html +1 -1
  721. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -1
  722. package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -1
  723. package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +1 -1
  724. package/typedoc/variables/router_transition_interface.TransitionHookScope.html +1 -1
  725. package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +1 -1
  726. package/typedoc/variables/services_log.LogService-1.html +1 -1
  727. package/typedoc/variables/shared_common.pushTo.html +1 -1
  728. package/typedoc/variables/shared_common.removeFrom.html +1 -1
  729. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -1
  730. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -1
  731. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -1
  732. package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -1
  733. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -1
  734. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -1
  735. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -1
  736. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -1
  737. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -1
  738. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -1
  739. package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -1
  740. package/typedoc/variables/shared_hof.propEq.html +1 -1
  741. package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -1
  742. package/typedoc/variables/shared_strings.hostRegex.html +1 -1
  743. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -1
  744. package/types/core/q/q.d.ts +47 -17
  745. package/types/core/task-tracker-factory.d.ts +44 -33
  746. package/types/directive/model/model.d.ts +1 -1
  747. package/types/loader.d.ts +1 -1
  748. package/types/router/common/coreservices.d.ts +2 -2
  749. package/types/router/resolve/resolve-context.d.ts +1 -2
  750. package/types/router/state/state-service.d.ts +1 -1
  751. package/types/router/state/views.d.ts +1 -1
  752. package/types/router/transition/transition.d.ts +4 -4
  753. package/types/services/anchor-scroll.d.ts +2 -2
  754. package/types/services/browser.d.ts +54 -97
  755. package/types/services/http-backend/http-backend.d.ts +1 -2
  756. package/types/shared/hof.d.ts +0 -12
  757. package/types/shared/predicates.d.ts +1 -1
  758. package/typedoc/functions/shared_hof.and.html +0 -3
  759. package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +0 -1
@@ -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();
@@ -1,122 +1,138 @@
1
- export function $$TaskTrackerFactoryProvider() {
2
- this.$get = [
1
+ export class $$TaskTrackerFactoryProvider {
2
+ $get = [
3
3
  "$log",
4
- /** @param {import('../services/log').LogService} log */
4
+ /**
5
+ * Creates a new `TaskTracker` instance.
6
+ *
7
+ * @param {import('../services/log').LogService} log - The logging service.
8
+ * @returns {TaskTracker} A new `TaskTracker` instance.
9
+ */
5
10
  (log) => new TaskTracker(log),
6
11
  ];
7
12
  }
8
13
 
9
14
  /**
10
- * ! This is a private undocumented service !
15
+ * A factory function to create `TaskTracker` instances.
11
16
  *
12
- * @name $$taskTrackerFactory
13
- * @description
14
- * A function to create `TaskTracker` instances.
15
- *
16
- * A `TaskTracker` can keep track of pending tasks (grouped by type) and can notify interested
17
+ * A `TaskTracker` tracks pending tasks (grouped by type) and notifies interested
17
18
  * parties when all pending tasks (or tasks of a specific type) have been completed.
18
- * @param {import('../services/log').LogService} log
19
19
  */
20
- export function TaskTracker(log) {
21
- const self = this;
22
- const taskCounts = {};
23
- const taskCallbacks = [];
24
-
25
- const ALL_TASKS_TYPE = (self.ALL_TASKS_TYPE = "$$all$$");
26
- const DEFAULT_TASK_TYPE = (self.DEFAULT_TASK_TYPE = "$$default$$");
27
-
20
+ export class TaskTracker {
28
21
  /**
29
- * Execute the specified function and decrement the appropriate `taskCounts` counter.
30
- * If the counter reaches 0, all corresponding `taskCallbacks` are executed.
31
- *
32
- * @param {Function} fn - The function to execute.
33
- * @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task that is being completed.
22
+ * @param {import('../services/log').LogService} log - The logging service.
34
23
  */
35
- self.completeTask = completeTask;
24
+ constructor(log) {
25
+ /** @private */
26
+ this.log = log;
36
27
 
37
- /**
38
- * Increase the task count for the specified task type (or the default task type if non is
39
- * specified).
40
- *
41
- * @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task whose count will be increased.
42
- */
43
- self.incTaskCount = incTaskCount;
28
+ /** @private */
29
+ this.taskCounts = {};
30
+
31
+ /** @private */
32
+ this.taskCallbacks = [];
33
+
34
+ /**
35
+ * Special task types used for tracking all tasks and default tasks.
36
+ * @type {string}
37
+ */
38
+ this.ALL_TASKS_TYPE = "$$all$$";
39
+
40
+ /**
41
+ * Default task type.
42
+ * @type {string}
43
+ */
44
+ this.DEFAULT_TASK_TYPE = "$$default$$";
45
+ }
44
46
 
45
47
  /**
46
- * Execute the specified callback when all pending tasks have been completed.
47
- *
48
- * If there are no pending tasks, the callback is executed immediately. You can optionally limit
49
- * the tasks that will be waited for to a specific type, by passing a `taskType`.
48
+ * Completes a task and decrements the associated task counter.
49
+ * If the counter reaches 0, all corresponding callbacks are executed.
50
50
  *
51
- * @param {function} callback - The function to call when there are no pending tasks.
52
- * @param {string=} [taskType=ALL_TASKS_TYPE] - The type of tasks that will be waited for.
51
+ * @param {Function} fn - The function to execute when completing the task.
52
+ * @param {string} [taskType=this.DEFAULT_TASK_TYPE] - The type of task being completed.
53
53
  */
54
- self.notifyWhenNoPendingTasks = notifyWhenNoPendingTasks;
55
-
56
- function completeTask(fn, taskType) {
57
- taskType = taskType || DEFAULT_TASK_TYPE;
58
-
54
+ completeTask(fn, taskType = this.DEFAULT_TASK_TYPE) {
59
55
  try {
60
56
  fn();
61
57
  } finally {
62
- decTaskCount(taskType);
58
+ if (this.taskCounts[taskType]) {
59
+ this.taskCounts[taskType]--;
60
+ this.taskCounts[this.ALL_TASKS_TYPE]--;
61
+ }
63
62
 
64
- const countForType = taskCounts[taskType];
65
- const countForAll = taskCounts[ALL_TASKS_TYPE];
63
+ const countForType = this.taskCounts[taskType];
64
+ const countForAll = this.taskCounts[this.ALL_TASKS_TYPE];
66
65
 
67
- // If at least one of the queues (`ALL_TASKS_TYPE` or `taskType`) is empty, run callbacks.
66
+ // If either the overall task queue or the specific task type queue is empty, run callbacks.
68
67
  if (!countForAll || !countForType) {
69
68
  const getNextCallback = !countForAll
70
- ? getLastCallback
71
- : getLastCallbackForType;
72
- let nextCb;
69
+ ? this.getLastCallback.bind(this)
70
+ : () => this.getLastCallbackForType(taskType);
73
71
 
74
- while ((nextCb = getNextCallback(taskType))) {
72
+ let nextCb;
73
+ while ((nextCb = getNextCallback())) {
75
74
  try {
76
75
  nextCb();
77
76
  } catch (e) {
78
- log.error(e);
77
+ this.log.error(e);
79
78
  }
80
79
  }
81
80
  }
82
81
  }
83
82
  }
84
83
 
85
- function decTaskCount(taskType) {
86
- taskType = taskType || DEFAULT_TASK_TYPE;
87
- if (taskCounts[taskType]) {
88
- taskCounts[taskType]--;
89
- taskCounts[ALL_TASKS_TYPE]--;
84
+ /**
85
+ * Increments the task count for the specified task type.
86
+ *
87
+ * @param {string} [taskType=this.DEFAULT_TASK_TYPE] - The type of task whose count will be increased.
88
+ */
89
+ incTaskCount(taskType = this.DEFAULT_TASK_TYPE) {
90
+ this.taskCounts[taskType] = (this.taskCounts[taskType] || 0) + 1;
91
+ this.taskCounts[this.ALL_TASKS_TYPE] =
92
+ (this.taskCounts[this.ALL_TASKS_TYPE] || 0) + 1;
93
+ }
94
+
95
+ /**
96
+ * Registers a callback to be executed when all pending tasks of the specified type are completed.
97
+ * If there are no pending tasks of the specified type, the callback is executed immediately.
98
+ *
99
+ * @param {Function} callback - The function to execute when no pending tasks remain.
100
+ * @param {string} [taskType=this.ALL_TASKS_TYPE] - The type of tasks to wait for completion.
101
+ */
102
+ notifyWhenNoPendingTasks(callback, taskType = this.ALL_TASKS_TYPE) {
103
+ if (!this.taskCounts[taskType]) {
104
+ callback();
105
+ } else {
106
+ this.taskCallbacks.push({ type: taskType, cb: callback });
90
107
  }
91
108
  }
92
109
 
93
- function getLastCallback() {
94
- const cbInfo = taskCallbacks.pop();
95
- return cbInfo && cbInfo.cb;
110
+ /**
111
+ * Retrieves and removes the last registered callback from the queue.
112
+ *
113
+ * @private
114
+ * @returns {Function|undefined} The last callback function or undefined if none exist.
115
+ */
116
+ getLastCallback() {
117
+ const cbInfo = this.taskCallbacks.pop();
118
+ return cbInfo ? cbInfo.cb : undefined;
96
119
  }
97
120
 
98
- function getLastCallbackForType(taskType) {
99
- for (let i = taskCallbacks.length - 1; i >= 0; --i) {
100
- const cbInfo = taskCallbacks[i];
121
+ /**
122
+ * Retrieves and removes the last registered callback for the specified task type.
123
+ *
124
+ * @private
125
+ * @param {string} taskType - The type of task for which the callback was registered.
126
+ * @returns {Function|undefined} The last callback function for the task type, or undefined if none exist.
127
+ */
128
+ getLastCallbackForType(taskType) {
129
+ for (let i = this.taskCallbacks.length - 1; i >= 0; --i) {
130
+ const cbInfo = this.taskCallbacks[i];
101
131
  if (cbInfo.type === taskType) {
102
- taskCallbacks.splice(i, 1);
132
+ this.taskCallbacks.splice(i, 1);
103
133
  return cbInfo.cb;
104
134
  }
105
135
  }
106
- }
107
-
108
- function incTaskCount(taskType) {
109
- taskType = taskType || DEFAULT_TASK_TYPE;
110
- taskCounts[taskType] = (taskCounts[taskType] || 0) + 1;
111
- taskCounts[ALL_TASKS_TYPE] = (taskCounts[ALL_TASKS_TYPE] || 0) + 1;
112
- }
113
-
114
- function notifyWhenNoPendingTasks(callback, taskType) {
115
- taskType = taskType || ALL_TASKS_TYPE;
116
- if (!taskCounts[taskType]) {
117
- callback();
118
- } else {
119
- taskCallbacks.push({ type: taskType, cb: callback });
120
- }
136
+ return undefined;
121
137
  }
122
138
  }
@@ -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
  },
@@ -1,5 +1,6 @@
1
- const services = {
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
  };
5
- export { services };
@@ -1019,7 +1019,7 @@ describe("ngSrefActive", () => {
1019
1019
  name: "contacts.lazy.**",
1020
1020
  url: "/lazy",
1021
1021
  lazyLoad: () => {
1022
- return $q.when().then(() => {
1022
+ return $q.resolve().then(() => {
1023
1023
  _stateProvider
1024
1024
  .state({ name: "contacts.lazy", abstract: true, url: "/lazy" })
1025
1025
  .state({ name: "contacts.lazy.s1", url: "/s1" })
@@ -1103,7 +1103,7 @@ describe("ngSrefActive", () => {
1103
1103
  name: "contacts.lazy.**",
1104
1104
  url: "/lazy",
1105
1105
  lazyLoad: () => {
1106
- return $q.when().then(() => {
1106
+ return $q.resolve().then(() => {
1107
1107
  _stateProvider
1108
1108
  .state({ name: "contacts.lazy", abstract: true, url: "/lazy" })
1109
1109
  .state({ name: "contacts.lazy.s1", url: "/s1" })