@angular-wave/angular.ts 0.1.4 → 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.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/animations/animate-css.html +7 -1
- package/src/core/compile/compile.js +5 -5
- package/src/core/interval/interval-factory.js +2 -1
- package/src/core/interval/interval.spec.js +3 -40
- package/src/core/q/q.js +130 -161
- package/src/core/q/q.md +0 -18
- package/src/core/q/q.spec.js +37 -145
- package/src/directive/model/model.js +2 -2
- package/src/router/common/coreservices.js +2 -0
- package/src/router/directives/state-directives.spec.js +2 -2
- package/src/router/directives/view-directive.js +1 -1
- package/src/router/hooks/lazy-load.js +1 -1
- package/src/router/hooks/redirect-to.js +1 -1
- package/src/router/hooks/views.js +1 -1
- package/src/router/resolve/resolvable.js +2 -2
- package/src/router/resolve/resolve-context.js +1 -1
- package/src/router/state/state-service.js +3 -3
- package/src/router/state/views.js +2 -2
- package/src/router/template-factory.js +2 -2
- package/src/router/transition/transition-hook.js +1 -1
- package/src/router/transition/transition.js +2 -2
- package/src/services/http/http.spec.js +1 -1
- package/tsconfig.json +1 -1
- package/typedoc/assets/navigation.js +1 -1
- package/typedoc/assets/search.js +1 -1
- package/typedoc/classes/animations_animate.AnimateProvider.html +5 -5
- package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +2 -2
- package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +2 -2
- package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +2 -2
- package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +2 -2
- package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +2 -2
- package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateRunner.html +2 -2
- package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +2 -2
- package/typedoc/classes/animations_animation.__AnimationProvider.html +2 -2
- package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +3 -3
- package/typedoc/classes/core_compile_attributes.Attributes.html +8 -8
- package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +4 -4
- package/typedoc/classes/core_di_internal_injector.InjectorService.html +6 -6
- package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +7 -7
- package/typedoc/classes/core_di_ng_module.NgModule.html +4 -4
- package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +2 -2
- package/typedoc/classes/core_filter_filter._FilterProvider.html +2 -2
- package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +4 -4
- package/typedoc/classes/core_interval_interval._IntervalProvider.html +2 -2
- package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +2 -2
- package/typedoc/classes/core_location_location.Location.html +20 -20
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +21 -21
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +21 -21
- package/typedoc/classes/core_location_location._LocationProvider.html +4 -4
- package/typedoc/classes/core_parser_ast.AST.html +28 -28
- package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +26 -26
- package/typedoc/classes/core_parser_lexer.Lexer.html +16 -16
- package/typedoc/classes/core_parser_parse._ParseProvider.html +3 -3
- package/typedoc/classes/core_parser_parser.Parser.html +4 -4
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +9 -9
- package/typedoc/classes/core_q_q._QProvider.html +6 -5
- package/typedoc/classes/core_q_q.__QProvider.html +4 -3
- package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +4 -4
- package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +4 -4
- package/typedoc/classes/core_sce_sce._SceProvider.html +3 -3
- package/typedoc/classes/core_scope_scope.Scope.html +18 -18
- package/typedoc/classes/core_scope_scope._RootScopeProvider.html +2 -2
- package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +20 -26
- package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +2 -2
- package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +2 -2
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +2 -2
- package/typedoc/classes/directive_form_form.FormController.html +21 -21
- package/typedoc/classes/directive_model_model.NgModelController.html +33 -33
- package/typedoc/classes/loader.Angular.html +5 -5
- package/typedoc/classes/router_common_glob.Glob.html +4 -4
- package/typedoc/classes/router_common_queue.Queue.html +2 -2
- package/typedoc/classes/router_common_trace.Trace.html +17 -17
- package/typedoc/classes/router_globals.UIRouterGlobals.html +3 -3
- package/typedoc/classes/router_params_param.Param.html +6 -6
- package/typedoc/classes/router_params_param_factory.ParamFactory.html +2 -2
- package/typedoc/classes/router_params_param_type.ParamType.html +4 -4
- package/typedoc/classes/router_params_param_types.ParamTypes.html +3 -3
- package/typedoc/classes/router_params_state_params.StateParams.html +3 -3
- package/typedoc/classes/router_path_path_node.PathNode.html +7 -7
- package/typedoc/classes/router_path_path_utils.PathUtils.html +10 -10
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -4
- package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +9 -9
- package/typedoc/classes/router_state_state_builder.StateBuilder.html +3 -3
- package/typedoc/classes/router_state_state_matcher.StateMatcher.html +2 -2
- package/typedoc/classes/router_state_state_object.StateObject.html +9 -9
- package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +2 -2
- package/typedoc/classes/router_state_state_registry.StateRegistry.html +8 -8
- package/typedoc/classes/router_state_state_service.StateService.html +18 -18
- package/typedoc/classes/router_state_target_state.TargetState.html +15 -15
- package/typedoc/classes/router_state_views.Ng1ViewConfig.html +4 -4
- package/typedoc/classes/router_template_factory.TemplateFactory.html +9 -9
- package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +4 -4
- package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +6 -6
- package/typedoc/classes/router_transition_reject_factory.Rejection.html +9 -9
- package/typedoc/classes/router_transition_transition.Transition.html +32 -32
- package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +3 -3
- package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +10 -10
- package/typedoc/classes/router_transition_transition_service.TransitionService.html +8 -8
- package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +6 -6
- package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +12 -12
- package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +3 -3
- package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +5 -5
- package/typedoc/classes/router_url_url_rules.UrlRules.html +9 -9
- package/typedoc/classes/router_url_url_service.UrlService.html +20 -20
- package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +2 -2
- package/typedoc/classes/router_view_view.ViewService.html +7 -7
- package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -3
- package/typedoc/classes/services_browser.Browser.html +40 -63
- package/typedoc/classes/services_browser.BrowserProvider.html +2 -2
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +2 -2
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +2 -2
- package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +2 -2
- package/typedoc/classes/services_http_http._HttpProvider.html +3 -3
- package/typedoc/classes/services_log._LogProvider.html +3 -3
- package/typedoc/classes/services_template_request.TemplateRequestProvider.html +4 -4
- package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +16 -16
- package/typedoc/enums/core_parser_ast_type.ASTType.html +2 -2
- package/typedoc/enums/core_scope_scope.ScopePhase.html +2 -2
- package/typedoc/enums/router_transition_reject_factory.RejectType.html +6 -6
- package/typedoc/functions/animations_animate.domInsert.html +1 -1
- package/typedoc/functions/animations_animate_cache.animateCache.html +6 -6
- package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -2
- package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -2
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -1
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -1
- package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -1
- package/typedoc/functions/animations_shared.assertArg.html +1 -1
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -1
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -1
- package/typedoc/functions/animations_shared.concatWithSpace.html +1 -1
- package/typedoc/functions/animations_shared.extractElementNode.html +1 -1
- package/typedoc/functions/animations_shared.getDomNode.html +1 -1
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -1
- package/typedoc/functions/animations_shared.mergeClasses.html +1 -1
- package/typedoc/functions/animations_shared.ngMinErr.html +1 -1
- package/typedoc/functions/animations_shared.packageStyles.html +1 -1
- package/typedoc/functions/animations_shared.pendClasses.html +1 -1
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -1
- package/typedoc/functions/animations_shared.removeFromArray.html +1 -1
- package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -1
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -1
- package/typedoc/functions/core_controller_controller.identifierForController.html +1 -1
- package/typedoc/functions/core_di_injector.annotate.html +1 -1
- package/typedoc/functions/core_di_injector.createInjector.html +1 -1
- package/typedoc/functions/core_exception_handler.errorHandler-1.html +1 -1
- package/typedoc/functions/core_location_location.serverBase.html +1 -1
- package/typedoc/functions/core_location_location.stripBaseUrl.html +1 -1
- package/typedoc/functions/core_location_location.stripFile.html +1 -1
- package/typedoc/functions/core_location_location.stripHash.html +1 -1
- package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -1
- package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -1
- package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -1
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -1
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -1
- package/typedoc/functions/core_scope_scope.countChildScopes.html +1 -1
- package/typedoc/functions/core_scope_scope.countWatchers.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -1
- package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +1 -1
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -1
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -2
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -1
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -1
- package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -1
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -1
- package/typedoc/functions/directive_events_events.createEventDirective.html +1 -1
- package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -1
- package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -1
- package/typedoc/functions/directive_form_form.setupValidity.html +1 -1
- package/typedoc/functions/directive_if_if.ngIfDirective.html +2 -2
- package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -1
- package/typedoc/functions/directive_input_input.badInputChecker.html +1 -1
- package/typedoc/functions/directive_input_input.countDecimals.html +1 -1
- package/typedoc/functions/directive_input_input.createDateInputType.html +1 -1
- package/typedoc/functions/directive_input_input.createDateParser.html +1 -1
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -1
- package/typedoc/functions/directive_input_input.inputDirective.html +2 -2
- package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -1
- package/typedoc/functions/directive_input_input.isValidForStep.html +1 -1
- package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -1
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -1
- package/typedoc/functions/directive_input_input.numberInputType.html +1 -1
- package/typedoc/functions/directive_input_input.rangeInputType.html +1 -1
- package/typedoc/functions/directive_input_input.weekParser.html +1 -1
- package/typedoc/functions/directive_list_list.ngListDirective.html +1 -1
- package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -2
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
- package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -1
- package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -1
- package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -1
- package/typedoc/functions/directive_select_select.optionDirective.html +2 -2
- package/typedoc/functions/directive_select_select.selectDirective.html +1 -1
- package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -2
- package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -2
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -1
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -1
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -1
- package/typedoc/functions/filters_filter.filterFilter.html +1 -1
- package/typedoc/functions/filters_filters.formatNumber.html +1 -1
- package/typedoc/functions/filters_filters.jsonFilter.html +1 -1
- package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -1
- package/typedoc/functions/filters_order_by.orderByFilter.html +2 -2
- package/typedoc/functions/public.publishExternalAPI.html +1 -1
- package/typedoc/functions/router.initRouter.html +1 -1
- package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -2
- package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -2
- package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -2
- package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -2
- package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -1
- package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -1
- package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -1
- package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -1
- package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +1 -1
- package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -1
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -1
- package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -1
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -1
- package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -1
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -1
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -1
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -1
- package/typedoc/functions/router_services.runBlock.html +2 -2
- package/typedoc/functions/router_services.watchDigests.html +2 -2
- package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +2 -2
- package/typedoc/functions/router_state_filters._IsStateFilter.html +2 -2
- package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +1 -1
- package/typedoc/functions/router_state_state_registry.getLocals.html +1 -1
- package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -1
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +1 -1
- package/typedoc/functions/router_transition_hook_registry.makeEvent.html +1 -1
- package/typedoc/functions/router_transition_hook_registry.matchState.html +1 -1
- package/typedoc/functions/services_browser.trimEmptyHash.html +1 -1
- package/typedoc/functions/services_cookie_reader.getCookies.html +1 -1
- package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -1
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -1
- package/typedoc/functions/shared_common._removeFrom.html +1 -1
- package/typedoc/functions/shared_common.allTrueR.html +1 -1
- package/typedoc/functions/shared_common.ancestors.html +1 -1
- package/typedoc/functions/shared_common.anyTrueR.html +1 -1
- package/typedoc/functions/shared_common.applyPairs.html +1 -1
- package/typedoc/functions/shared_common.arrayTuples.html +1 -1
- package/typedoc/functions/shared_common.assertFn.html +1 -1
- package/typedoc/functions/shared_common.assertMap.html +1 -1
- package/typedoc/functions/shared_common.assertPredicate.html +1 -1
- package/typedoc/functions/shared_common.copy.html +1 -1
- package/typedoc/functions/shared_common.createProxyFunctions.html +1 -1
- package/typedoc/functions/shared_common.defaults.html +1 -1
- package/typedoc/functions/shared_common.deregAll.html +1 -1
- package/typedoc/functions/shared_common.equals.html +1 -1
- package/typedoc/functions/shared_common.filter.html +1 -1
- package/typedoc/functions/shared_common.find.html +1 -1
- package/typedoc/functions/shared_common.flatten.html +1 -1
- package/typedoc/functions/shared_common.flattenR.html +1 -1
- package/typedoc/functions/shared_common.forEach.html +1 -1
- package/typedoc/functions/shared_common.inherit.html +1 -1
- package/typedoc/functions/shared_common.map.html +1 -1
- package/typedoc/functions/shared_common.mapObj.html +1 -1
- package/typedoc/functions/shared_common.mergeR.html +1 -1
- package/typedoc/functions/shared_common.omit.html +1 -1
- package/typedoc/functions/shared_common.pairs.html +1 -1
- package/typedoc/functions/shared_common.pick.html +1 -1
- package/typedoc/functions/shared_common.pluck.html +1 -1
- package/typedoc/functions/shared_common.pushR.html +1 -1
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -1
- package/typedoc/functions/shared_common.silentRejection.html +1 -1
- package/typedoc/functions/shared_common.tail.html +1 -1
- package/typedoc/functions/shared_common.uniqR.html +1 -1
- package/typedoc/functions/shared_common.unnest.html +1 -1
- package/typedoc/functions/shared_common.unnestR.html +1 -1
- package/typedoc/functions/shared_hof.all.html +1 -1
- package/typedoc/functions/shared_hof.any.html +1 -1
- package/typedoc/functions/shared_hof.compose.html +1 -1
- package/typedoc/functions/shared_hof.curry.html +1 -1
- package/typedoc/functions/shared_hof.eq.html +1 -1
- package/typedoc/functions/shared_hof.invoke.html +1 -1
- package/typedoc/functions/shared_hof.is.html +1 -1
- package/typedoc/functions/shared_hof.or.html +1 -1
- package/typedoc/functions/shared_hof.parse.html +1 -1
- package/typedoc/functions/shared_hof.pattern.html +1 -1
- package/typedoc/functions/shared_hof.pipe.html +1 -1
- package/typedoc/functions/shared_hof.prop.html +1 -1
- package/typedoc/functions/shared_hof.val.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +1 -1
- package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +1 -1
- package/typedoc/functions/shared_predicates.isInjectable.html +1 -1
- package/typedoc/functions/shared_predicates.isNull.html +1 -1
- package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -1
- package/typedoc/functions/shared_predicates.isPromise.html +1 -1
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +1 -1
- package/typedoc/functions/shared_strings.fnToString.html +1 -1
- package/typedoc/functions/shared_strings.functionToString.html +1 -1
- package/typedoc/functions/shared_strings.joinNeighborsR.html +1 -1
- package/typedoc/functions/shared_strings.kebobString.html +1 -1
- package/typedoc/functions/shared_strings.maxLength.html +1 -1
- package/typedoc/functions/shared_strings.padString.html +1 -1
- package/typedoc/functions/shared_strings.splitEqual.html +1 -1
- package/typedoc/functions/shared_strings.splitHash.html +1 -1
- package/typedoc/functions/shared_strings.splitOnDelim.html +1 -1
- package/typedoc/functions/shared_strings.splitQuery.html +1 -1
- package/typedoc/functions/shared_strings.stringify.html +1 -1
- package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -1
- package/typedoc/functions/shared_strings.trimHashVal.html +1 -1
- package/typedoc/functions/shared_utils.addDateMinutes.html +1 -1
- package/typedoc/functions/shared_utils.arrayRemove.html +1 -1
- package/typedoc/functions/shared_utils.assert.html +1 -1
- package/typedoc/functions/shared_utils.assertArg.html +1 -1
- package/typedoc/functions/shared_utils.assertArgFn.html +1 -1
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +1 -1
- package/typedoc/functions/shared_utils.baseExtend.html +1 -1
- package/typedoc/functions/shared_utils.bind.html +1 -1
- package/typedoc/functions/shared_utils.concat.html +1 -1
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -1
- package/typedoc/functions/shared_utils.csp.html +1 -1
- package/typedoc/functions/shared_utils.directiveNormalize.html +1 -1
- package/typedoc/functions/shared_utils.encodeUriQuery.html +1 -1
- package/typedoc/functions/shared_utils.encodeUriSegment.html +1 -1
- package/typedoc/functions/shared_utils.equals.html +1 -1
- package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -1
- package/typedoc/functions/shared_utils.extend.html +1 -1
- package/typedoc/functions/shared_utils.forEach.html +1 -1
- package/typedoc/functions/shared_utils.forEachSorted.html +1 -1
- package/typedoc/functions/shared_utils.fromJson.html +1 -1
- package/typedoc/functions/shared_utils.getNgAttribute.html +1 -1
- package/typedoc/functions/shared_utils.getNodeName.html +1 -1
- package/typedoc/functions/shared_utils.getter.html +1 -1
- package/typedoc/functions/shared_utils.hasAnimate.html +1 -1
- package/typedoc/functions/shared_utils.hasCustomToString.html +1 -1
- package/typedoc/functions/shared_utils.hashKey.html +1 -1
- package/typedoc/functions/shared_utils.includes.html +1 -1
- package/typedoc/functions/shared_utils.inherit.html +1 -1
- package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -1
- package/typedoc/functions/shared_utils.isArrayLike.html +1 -1
- package/typedoc/functions/shared_utils.isBlankObject.html +1 -1
- package/typedoc/functions/shared_utils.isBlob.html +1 -1
- package/typedoc/functions/shared_utils.isBoolean.html +1 -1
- package/typedoc/functions/shared_utils.isDate.html +1 -1
- package/typedoc/functions/shared_utils.isDefined.html +1 -1
- package/typedoc/functions/shared_utils.isElement.html +1 -1
- package/typedoc/functions/shared_utils.isError.html +1 -1
- package/typedoc/functions/shared_utils.isFile.html +1 -1
- package/typedoc/functions/shared_utils.isFormData.html +1 -1
- package/typedoc/functions/shared_utils.isFunction.html +1 -1
- package/typedoc/functions/shared_utils.isNumber.html +1 -1
- package/typedoc/functions/shared_utils.isNumberNaN.html +1 -1
- package/typedoc/functions/shared_utils.isObject.html +1 -1
- package/typedoc/functions/shared_utils.isPromiseLike.html +1 -1
- package/typedoc/functions/shared_utils.isRegExp.html +1 -1
- package/typedoc/functions/shared_utils.isScope.html +1 -1
- package/typedoc/functions/shared_utils.isString.html +1 -1
- package/typedoc/functions/shared_utils.isTypedArray.html +1 -1
- package/typedoc/functions/shared_utils.isUndefined.html +1 -1
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -1
- package/typedoc/functions/shared_utils.isWindow.html +1 -1
- package/typedoc/functions/shared_utils.lowercase.html +1 -1
- package/typedoc/functions/shared_utils.merge.html +1 -1
- package/typedoc/functions/shared_utils.mergeClasses.html +1 -1
- package/typedoc/functions/shared_utils.minErr.html +1 -1
- package/typedoc/functions/shared_utils.nextUid.html +1 -1
- package/typedoc/functions/shared_utils.parseKeyValue.html +1 -1
- package/typedoc/functions/shared_utils.reverseParams.html +1 -1
- package/typedoc/functions/shared_utils.setHashKey.html +1 -1
- package/typedoc/functions/shared_utils.shallowCopy.html +1 -1
- package/typedoc/functions/shared_utils.simpleCompare.html +1 -1
- package/typedoc/functions/shared_utils.sliceArgs.html +1 -1
- package/typedoc/functions/shared_utils.snakeCase.html +1 -1
- package/typedoc/functions/shared_utils.stringify.html +1 -1
- package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -1
- package/typedoc/functions/shared_utils.toDebugString.html +1 -1
- package/typedoc/functions/shared_utils.toInt.html +1 -1
- package/typedoc/functions/shared_utils.toJson.html +1 -1
- package/typedoc/functions/shared_utils.toKeyValue.html +1 -1
- package/typedoc/functions/shared_utils.trim.html +1 -1
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +1 -1
- package/typedoc/functions/shared_utils.uppercase.html +1 -1
- package/typedoc/functions/shared_utils.valueFn.html +1 -1
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +5 -5
- package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +2 -2
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +2 -2
- package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -2
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +2 -2
- package/typedoc/interfaces/core_location_location.Html5Mode.html +2 -2
- package/typedoc/interfaces/core_parser_ast.ASTNode.html +23 -23
- package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +3 -3
- package/typedoc/interfaces/core_parser_lexer.Token.html +7 -7
- package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +5 -5
- package/typedoc/interfaces/core_parser_parser.ParsedAST.html +3 -3
- package/typedoc/interfaces/core_q_q.Deferred.html +5 -5
- package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
- package/typedoc/interfaces/core_q_q.QService.html +5 -0
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +2 -2
- package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +5 -5
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +2 -2
- package/typedoc/interfaces/router_template_factory.BindingTuple.html +2 -2
- package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -2
- package/typedoc/interfaces/services_log.LogService.html +6 -6
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +3 -3
- package/typedoc/interfaces/types.Annotated.html +2 -2
- package/typedoc/interfaces/types.ChangesObject.html +4 -4
- package/typedoc/interfaces/types.Controller.html +7 -7
- package/typedoc/interfaces/types.Directive.html +18 -18
- package/typedoc/interfaces/types.DirectivePrePost.html +3 -3
- package/typedoc/interfaces/types.FormController.html +20 -20
- package/typedoc/interfaces/types.Module.html +15 -15
- package/typedoc/interfaces/types.NgModelController.html +30 -30
- package/typedoc/interfaces/types.NgModelOptions.html +8 -8
- package/typedoc/interfaces/types.OnChangesObject.html +2 -2
- package/typedoc/interfaces/types.ServiceProviderClass.html +2 -2
- package/typedoc/interfaces/types.TranscludeFunctionObject.html +2 -2
- package/typedoc/modules/animations_animate.html +1 -1
- package/typedoc/modules/animations_animate_cache.html +1 -1
- package/typedoc/modules/animations_animate_children_directive.html +1 -1
- package/typedoc/modules/animations_animate_css.html +1 -1
- package/typedoc/modules/animations_animate_css_driver.html +1 -1
- package/typedoc/modules/animations_animate_js.html +1 -1
- package/typedoc/modules/animations_animate_js_driver.html +1 -1
- package/typedoc/modules/animations_animate_queue.html +1 -1
- package/typedoc/modules/animations_animate_runner.html +1 -1
- package/typedoc/modules/animations_animate_swap.html +1 -1
- package/typedoc/modules/animations_animation.html +1 -1
- package/typedoc/modules/animations_raf_scheduler.html +1 -1
- package/typedoc/modules/animations_shared.html +1 -1
- package/typedoc/modules/core_cache_cache.html +1 -1
- package/typedoc/modules/core_compile_attributes.html +1 -1
- package/typedoc/modules/core_compile_compile.html +1 -1
- package/typedoc/modules/core_controller_controller.html +1 -1
- package/typedoc/modules/core_di_injector.html +1 -1
- package/typedoc/modules/core_di_internal_injector.html +1 -1
- package/typedoc/modules/core_di_ng_module.html +1 -1
- package/typedoc/modules/core_exception_handler.html +1 -1
- package/typedoc/modules/core_filter_filter.html +1 -1
- package/typedoc/modules/core_interpolate_interpolate.html +1 -1
- package/typedoc/modules/core_interval_interval.html +1 -1
- package/typedoc/modules/core_interval_interval_factory.html +1 -1
- package/typedoc/modules/core_location_location.html +1 -1
- package/typedoc/modules/core_parser_ast.html +1 -1
- package/typedoc/modules/core_parser_ast_type.html +1 -1
- package/typedoc/modules/core_parser_interpreter.html +1 -1
- package/typedoc/modules/core_parser_lexer.html +1 -1
- package/typedoc/modules/core_parser_parse.html +1 -1
- package/typedoc/modules/core_parser_parser.html +1 -1
- package/typedoc/modules/core_pubsub_pubsub.html +1 -1
- package/typedoc/modules/core_q_q.html +2 -1
- package/typedoc/modules/core_sanitize_sanitize_uri.html +1 -1
- package/typedoc/modules/core_sce_sce.html +1 -1
- package/typedoc/modules/core_scope_scope.html +1 -1
- package/typedoc/modules/core_task_tracker_factory.html +1 -1
- package/typedoc/modules/core_timeout_timeout.html +1 -1
- package/typedoc/modules/core_url_utils_url_utils.html +1 -1
- package/typedoc/modules/directive_aria_aria.html +1 -1
- package/typedoc/modules/directive_attrs_attrs.html +1 -1
- package/typedoc/modules/directive_bind_bind.html +1 -1
- package/typedoc/modules/directive_change_change.html +1 -1
- package/typedoc/modules/directive_class_class.html +1 -1
- package/typedoc/modules/directive_cloak_cloak.html +1 -1
- package/typedoc/modules/directive_controller_controller.html +1 -1
- package/typedoc/modules/directive_events_events.html +1 -1
- package/typedoc/modules/directive_form_form.html +1 -1
- package/typedoc/modules/directive_if_if.html +1 -1
- package/typedoc/modules/directive_include_include.html +1 -1
- package/typedoc/modules/directive_init_init.html +1 -1
- package/typedoc/modules/directive_input_input.html +1 -1
- package/typedoc/modules/directive_list_list.html +1 -1
- package/typedoc/modules/directive_messages_messages.html +1 -1
- package/typedoc/modules/directive_model_model.html +1 -1
- package/typedoc/modules/directive_model_options_model_options.html +1 -1
- package/typedoc/modules/directive_non_bindable_non_bindable.html +1 -1
- package/typedoc/modules/directive_options_options.html +1 -1
- package/typedoc/modules/directive_ref_ref.html +1 -1
- package/typedoc/modules/directive_repeat_repeat.html +1 -1
- package/typedoc/modules/directive_script_script.html +1 -1
- package/typedoc/modules/directive_select_select.html +1 -1
- package/typedoc/modules/directive_show_hide_show_hide.html +1 -1
- package/typedoc/modules/directive_style_style.html +1 -1
- package/typedoc/modules/directive_switch_switch.html +1 -1
- package/typedoc/modules/directive_transclude_transclude.html +1 -1
- package/typedoc/modules/directive_validators_validators.html +1 -1
- package/typedoc/modules/filters_filter.html +1 -1
- package/typedoc/modules/filters_filters.html +1 -1
- package/typedoc/modules/filters_limit_to.html +1 -1
- package/typedoc/modules/filters_order_by.html +1 -1
- package/typedoc/modules/index.html +1 -1
- package/typedoc/modules/loader.html +1 -1
- package/typedoc/modules/public.html +1 -1
- package/typedoc/modules/router.html +1 -1
- package/typedoc/modules/router_common_coreservices.html +1 -1
- package/typedoc/modules/router_common_glob.html +1 -1
- package/typedoc/modules/router_common_queue.html +1 -1
- package/typedoc/modules/router_common_trace.html +1 -1
- package/typedoc/modules/router_directives_state_directives.html +1 -1
- package/typedoc/modules/router_directives_view_directive.html +1 -1
- package/typedoc/modules/router_globals.html +1 -1
- package/typedoc/modules/router_hooks_core_resolvables.html +1 -1
- package/typedoc/modules/router_hooks_ignored_transition.html +1 -1
- package/typedoc/modules/router_hooks_invalid_transition.html +1 -1
- package/typedoc/modules/router_hooks_lazy_load.html +1 -1
- package/typedoc/modules/router_hooks_on_enter_exit_retain.html +1 -1
- package/typedoc/modules/router_hooks_redirect_to.html +1 -1
- package/typedoc/modules/router_hooks_resolve.html +1 -1
- package/typedoc/modules/router_hooks_update_globals.html +1 -1
- package/typedoc/modules/router_hooks_url.html +1 -1
- package/typedoc/modules/router_hooks_views.html +1 -1
- package/typedoc/modules/router_params_param.html +1 -1
- package/typedoc/modules/router_params_param_factory.html +1 -1
- package/typedoc/modules/router_params_param_type.html +1 -1
- package/typedoc/modules/router_params_param_types.html +1 -1
- package/typedoc/modules/router_params_state_params.html +1 -1
- package/typedoc/modules/router_path_path_node.html +1 -1
- package/typedoc/modules/router_path_path_utils.html +1 -1
- package/typedoc/modules/router_resolve_resolvable.html +1 -1
- package/typedoc/modules/router_resolve_resolve_context.html +2 -3
- package/typedoc/modules/router_services.html +1 -1
- package/typedoc/modules/router_state_filters.html +1 -1
- package/typedoc/modules/router_state_state_builder.html +1 -1
- package/typedoc/modules/router_state_state_matcher.html +1 -1
- package/typedoc/modules/router_state_state_object.html +1 -1
- package/typedoc/modules/router_state_state_queue_manager.html +1 -1
- package/typedoc/modules/router_state_state_registry.html +1 -1
- package/typedoc/modules/router_state_state_service.html +1 -1
- package/typedoc/modules/router_state_target_state.html +1 -1
- package/typedoc/modules/router_state_views.html +1 -1
- package/typedoc/modules/router_template_factory.html +1 -1
- package/typedoc/modules/router_transition_hook_builder.html +1 -1
- package/typedoc/modules/router_transition_hook_registry.html +1 -1
- package/typedoc/modules/router_transition_interface.html +1 -1
- package/typedoc/modules/router_transition_reject_factory.html +1 -1
- package/typedoc/modules/router_transition_transition.html +1 -1
- package/typedoc/modules/router_transition_transition_event_type.html +1 -1
- package/typedoc/modules/router_transition_transition_hook.html +1 -1
- package/typedoc/modules/router_transition_transition_service.html +1 -1
- package/typedoc/modules/router_url_url_config.html +1 -1
- package/typedoc/modules/router_url_url_matcher.html +1 -1
- package/typedoc/modules/router_url_url_rule.html +1 -1
- package/typedoc/modules/router_url_url_rules.html +1 -1
- package/typedoc/modules/router_url_url_service.html +1 -1
- package/typedoc/modules/router_view_scroll.html +1 -1
- package/typedoc/modules/router_view_view.html +1 -1
- package/typedoc/modules/services_anchor_scroll.html +1 -1
- package/typedoc/modules/services_browser.html +1 -1
- package/typedoc/modules/services_cache_factory.html +1 -1
- package/typedoc/modules/services_cookie_reader.html +1 -1
- package/typedoc/modules/services_http_backend_http_backend.html +1 -1
- package/typedoc/modules/services_http_http.html +1 -1
- package/typedoc/modules/services_log.html +1 -1
- package/typedoc/modules/services_template_request.html +1 -1
- package/typedoc/modules/shared_common.html +1 -1
- package/typedoc/modules/shared_constants.html +1 -1
- package/typedoc/modules/shared_hof.html +1 -4
- package/typedoc/modules/shared_jqlite_jqlite.html +1 -1
- package/typedoc/modules/shared_predicates.html +1 -1
- package/typedoc/modules/shared_strings.html +1 -1
- package/typedoc/modules/shared_utils.html +1 -1
- package/typedoc/modules/types.html +1 -1
- package/typedoc/types/animations_animate.AnimationMethod.html +1 -1
- package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -1
- package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -1
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -1
- package/typedoc/types/core_exception_handler.ErrorHandler.html +1 -1
- package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -1
- package/typedoc/types/core_interval_interval.IntervalId.html +1 -1
- package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -1
- package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -1
- package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -1
- package/typedoc/types/core_parser_parse.ParseService.html +1 -1
- package/typedoc/types/core_scope_scope.TTL.html +1 -1
- package/typedoc/types/core_scope_scope.WatchExpression.html +1 -1
- package/typedoc/types/core_scope_scope.WatchListener.html +1 -1
- package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -1
- package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -1
- package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -1
- package/typedoc/types/services_browser.UrlChangeListener.html +1 -1
- package/typedoc/types/services_log.LogCall.html +1 -1
- package/typedoc/types/types.AnnotatedFunction.html +1 -1
- package/typedoc/types/types.AsyncModelValidators.html +1 -1
- package/typedoc/types/types.Attributes.html +1 -1
- package/typedoc/types/types.BootstrapConfig.html +1 -1
- package/typedoc/types/types.CloneAttachFunction.html +1 -1
- package/typedoc/types/types.ComponentOptions.html +1 -1
- package/typedoc/types/types.ControllerConstructor.html +1 -1
- package/typedoc/types/types.DirectiveCompileFn.html +1 -1
- package/typedoc/types/types.DirectiveController.html +1 -1
- package/typedoc/types/types.DirectiveFactory.html +1 -1
- package/typedoc/types/types.DirectiveLinkFn.html +1 -1
- package/typedoc/types/types.FilterFactory.html +1 -1
- package/typedoc/types/types.FilterFunction.html +1 -1
- package/typedoc/types/types.Injectable.html +1 -1
- package/typedoc/types/types.ModelValidators.html +1 -1
- package/typedoc/types/types.ServiceProviderFactory.html +1 -1
- package/typedoc/types/types.TAttributes.html +1 -1
- package/typedoc/types/types.TController.html +1 -1
- package/typedoc/types/types.TElement.html +1 -1
- package/typedoc/types/types.TScope.html +1 -1
- package/typedoc/types/types.TranscludeFunction.html +1 -1
- package/typedoc/types/types.transcludeWithScope.html +1 -1
- package/typedoc/types/types.transcludeWithoutScope.html +1 -1
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -1
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -1
- package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -1
- package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -1
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -1
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -1
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -1
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -1
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -1
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -1
- package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -1
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -1
- package/typedoc/variables/core_cache_cache.CACHE.html +1 -1
- package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -1
- package/typedoc/variables/core_di_injector.path.html +1 -1
- package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -1
- package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -1
- package/typedoc/variables/core_parser_ast.literals.html +1 -1
- package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -1
- package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -1
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -1
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -1
- package/typedoc/variables/core_scope_scope.TTL-1.html +1 -1
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -1
- package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -1
- package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -1
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -1
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -1
- package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -1
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -1
- package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -1
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -1
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -1
- package/typedoc/variables/directive_form_form.formDirective.html +1 -1
- package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -1
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -1
- package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -1
- package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -1
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -1
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -1
- package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -1
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -1
- package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -1
- package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -1
- package/typedoc/variables/directive_script_script.scriptDirective.html +1 -1
- package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -1
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.patternDirective.html +1 -1
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +1 -1
- package/typedoc/variables/index.angular.html +1 -1
- package/typedoc/variables/public.VERSION.html +1 -1
- package/typedoc/variables/router_common_coreservices.services.html +1 -1
- package/typedoc/variables/router_common_trace.Category.html +1 -1
- package/typedoc/variables/router_common_trace.trace-1.html +1 -1
- package/typedoc/variables/router_directives_view_directive.ngView.html +1 -1
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -1
- package/typedoc/variables/router_params_param.DefType.html +1 -1
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -1
- package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -1
- package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +1 -1
- package/typedoc/variables/router_transition_interface.TransitionHookScope.html +1 -1
- package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +1 -1
- package/typedoc/variables/services_log.LogService-1.html +1 -1
- package/typedoc/variables/shared_common.pushTo.html +1 -1
- package/typedoc/variables/shared_common.removeFrom.html +1 -1
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -1
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -1
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -1
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -1
- package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -1
- package/typedoc/variables/shared_hof.propEq.html +1 -1
- package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -1
- package/typedoc/variables/shared_strings.hostRegex.html +1 -1
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -1
- package/types/core/q/q.d.ts +47 -17
- package/types/directive/model/model.d.ts +1 -1
- package/types/router/common/coreservices.d.ts +2 -2
- package/types/router/resolve/resolve-context.d.ts +1 -2
- package/types/router/state/state-service.d.ts +1 -1
- package/types/router/state/views.d.ts +1 -1
- package/types/router/transition/transition.d.ts +4 -4
- package/types/router/url/url-service.d.ts +2 -2
- package/types/services/anchor-scroll.d.ts +2 -2
- package/types/services/browser.d.ts +22 -3
- package/types/shared/hof.d.ts +0 -12
- package/typedoc/functions/shared_hof.and.html +0 -3
- package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +0 -1
package/src/core/q/q.spec.js
CHANGED
|
@@ -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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
-
|
|
812
|
-
|
|
813
|
-
|
|
814
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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
|
|
653
|
+
that.$q.all(validatorPromises).then(
|
|
654
654
|
() => {
|
|
655
655
|
validationDone(allValid);
|
|
656
656
|
},
|
|
@@ -1019,7 +1019,7 @@ describe("ngSrefActive", () => {
|
|
|
1019
1019
|
name: "contacts.lazy.**",
|
|
1020
1020
|
url: "/lazy",
|
|
1021
1021
|
lazyLoad: () => {
|
|
1022
|
-
return $q.
|
|
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.
|
|
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" })
|
|
@@ -470,7 +470,7 @@ function registerControllerCallbacks(
|
|
|
470
470
|
let promise;
|
|
471
471
|
const ids = (trans[cacheProp] = trans[cacheProp] || {});
|
|
472
472
|
if (!prevTruthyAnswer(trans)) {
|
|
473
|
-
promise = $q.
|
|
473
|
+
promise = $q.resolve(controllerInstance.uiCanExit(trans));
|
|
474
474
|
promise.then((val) => (ids[id] = val !== false));
|
|
475
475
|
}
|
|
476
476
|
return promise;
|
|
@@ -89,7 +89,7 @@ export function lazyLoadState(transition, state, stateRegistry) {
|
|
|
89
89
|
return services.$q.reject(err);
|
|
90
90
|
};
|
|
91
91
|
promise = lazyLoadFn["_promise"] = services.$q
|
|
92
|
-
.
|
|
92
|
+
.resolve(lazyLoadFn(transition, state))
|
|
93
93
|
.then(updateStateRegistry)
|
|
94
94
|
.then(success, error);
|
|
95
95
|
}
|
|
@@ -27,7 +27,7 @@ export const registerRedirectToHook = (transitionService, stateService) => {
|
|
|
27
27
|
);
|
|
28
28
|
}
|
|
29
29
|
if (isFunction(redirect)) {
|
|
30
|
-
return services.$q.
|
|
30
|
+
return services.$q.resolve(redirect(trans)).then(handleResult);
|
|
31
31
|
}
|
|
32
32
|
return handleResult(redirect);
|
|
33
33
|
};
|
|
@@ -12,7 +12,7 @@ const loadEnteringViews = (transition) => {
|
|
|
12
12
|
const enteringViews = transition.views("entering");
|
|
13
13
|
if (!enteringViews.length) return;
|
|
14
14
|
return $q
|
|
15
|
-
.all(enteringViews.map((view) => $q.
|
|
15
|
+
.all(enteringViews.map((view) => $q.resolve(view.load())))
|
|
16
16
|
.then(() => {});
|
|
17
17
|
};
|
|
18
18
|
export const registerLoadEnteringViews = (transitionService) =>
|
|
@@ -34,7 +34,7 @@ export class Resolvable {
|
|
|
34
34
|
this.deps = deps || [];
|
|
35
35
|
this.data = data;
|
|
36
36
|
this.resolved = data !== undefined;
|
|
37
|
-
this.promise = this.resolved ? services.$q.
|
|
37
|
+
this.promise = this.resolved ? services.$q.resolve(this.data) : undefined;
|
|
38
38
|
} else if (
|
|
39
39
|
isObject(arg1) &&
|
|
40
40
|
arg1.token &&
|
|
@@ -90,7 +90,7 @@ export class Resolvable {
|
|
|
90
90
|
};
|
|
91
91
|
// Sets the promise property first, then getsResolvableDependencies in the context of the promise chain. Always waits one tick.
|
|
92
92
|
return (this.promise = $q
|
|
93
|
-
.
|
|
93
|
+
.resolve()
|
|
94
94
|
.then(getResolvableDependencies)
|
|
95
95
|
.then(invokeResolveFn)
|
|
96
96
|
.then(customAsyncPolicy)
|
|
@@ -196,7 +196,7 @@ class UIInjectorImpl {
|
|
|
196
196
|
return services.$injector.get(token);
|
|
197
197
|
}
|
|
198
198
|
getAsync(token) {
|
|
199
|
-
return services.$q.
|
|
199
|
+
return services.$q.resolve(services.$injector.get(token));
|
|
200
200
|
}
|
|
201
201
|
getNative(token) {
|
|
202
202
|
return services.$injector.get(token);
|
|
@@ -208,7 +208,7 @@ export class StateService {
|
|
|
208
208
|
*
|
|
209
209
|
* Invokes the [[onInvalid]] callbacks, in natural order.
|
|
210
210
|
* Each callback's return value is checked in sequence until one of them returns an instance of TargetState.
|
|
211
|
-
* The results of the callbacks are wrapped in $q.
|
|
211
|
+
* The results of the callbacks are wrapped in $q.resolve(), so the callbacks may return promises.
|
|
212
212
|
*
|
|
213
213
|
* If a callback returns an TargetState, then it is used as arguments to $state.transitionTo() and the result returned.
|
|
214
214
|
*
|
|
@@ -248,7 +248,7 @@ export class StateService {
|
|
|
248
248
|
const nextCallback = callbackQueue.dequeue();
|
|
249
249
|
if (nextCallback === undefined)
|
|
250
250
|
return Rejection.invalid(toState.error()).toPromise();
|
|
251
|
-
const callbackResult = services.$q.
|
|
251
|
+
const callbackResult = services.$q.resolve(
|
|
252
252
|
nextCallback(toState, fromState, injector),
|
|
253
253
|
);
|
|
254
254
|
return callbackResult
|
|
@@ -463,7 +463,7 @@ export class StateService {
|
|
|
463
463
|
if (error.type === RejectType.IGNORED) {
|
|
464
464
|
isLatest && this.urlService.update();
|
|
465
465
|
// Consider ignored `Transition.run()` as a successful `transitionTo`
|
|
466
|
-
return services.$q.
|
|
466
|
+
return services.$q.resolve(this.globals.current);
|
|
467
467
|
}
|
|
468
468
|
const detail = error.detail;
|
|
469
469
|
if (
|
|
@@ -122,10 +122,10 @@ export class Ng1ViewConfig {
|
|
|
122
122
|
{},
|
|
123
123
|
);
|
|
124
124
|
const promises = {
|
|
125
|
-
template: $q.
|
|
125
|
+
template: $q.resolve(
|
|
126
126
|
this.factory.fromConfig(this.viewDecl, params, context),
|
|
127
127
|
),
|
|
128
|
-
controller: $q.
|
|
128
|
+
controller: $q.resolve(this.getController(context)),
|
|
129
129
|
};
|
|
130
130
|
return $q.all(promises).then((results) => {
|
|
131
131
|
trace.traceViewServiceEvent("Loaded", this);
|
|
@@ -69,9 +69,9 @@ export class TemplateFactory {
|
|
|
69
69
|
fromConfig(config, params, context) {
|
|
70
70
|
const defaultTemplate = "<ui-view></ui-view>";
|
|
71
71
|
const asTemplate = (result) =>
|
|
72
|
-
this.$q.
|
|
72
|
+
this.$q.resolve(result).then((str) => ({ template: str }));
|
|
73
73
|
const asComponent = (result) =>
|
|
74
|
-
this.$q.
|
|
74
|
+
this.$q.resolve(result).then((str) => ({ component: str }));
|
|
75
75
|
|
|
76
76
|
const getConfigType = (config) => {
|
|
77
77
|
if (isDefined(config.template)) return "template";
|
|
@@ -37,7 +37,7 @@ export class TransitionHook {
|
|
|
37
37
|
// Chain the next hook off the previous
|
|
38
38
|
const createHookChainR = (prev, nextHook) =>
|
|
39
39
|
prev.then(() => nextHook.invokeHook());
|
|
40
|
-
return hooks.reduce(createHookChainR, waitFor || services.$q.
|
|
40
|
+
return hooks.reduce(createHookChainR, waitFor || services.$q.resolve());
|
|
41
41
|
}
|
|
42
42
|
/**
|
|
43
43
|
* Invokes all the provided TransitionHooks, in order.
|
|
@@ -619,7 +619,7 @@ export class Transition {
|
|
|
619
619
|
// Wait to build the RUN hook chain until the BEFORE hooks are done
|
|
620
620
|
// This allows a BEFORE hook to dynamically add additional RUN hooks via the Transition object.
|
|
621
621
|
const allRunHooks = getHooksFor(TransitionHookPhase.RUN);
|
|
622
|
-
const done = () => services.$q.
|
|
622
|
+
const done = () => services.$q.resolve(undefined);
|
|
623
623
|
return TransitionHook.invokeHooks(allRunHooks, done);
|
|
624
624
|
};
|
|
625
625
|
const startTransition = () => {
|
|
@@ -628,7 +628,7 @@ export class Transition {
|
|
|
628
628
|
globals.transition = this;
|
|
629
629
|
globals.transitionHistory.enqueue(this);
|
|
630
630
|
trace.traceTransitionStart(this);
|
|
631
|
-
return services.$q.
|
|
631
|
+
return services.$q.resolve(undefined);
|
|
632
632
|
};
|
|
633
633
|
const allBeforeHooks = getHooksFor(TransitionHookPhase.BEFORE);
|
|
634
634
|
TransitionHook.invokeHooks(allBeforeHooks, startTransition)
|