@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/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@angular-wave/angular.ts",
|
|
3
3
|
"description": "A modern, optimized and typesafe version of AngularJS",
|
|
4
4
|
"license": "MIT",
|
|
5
|
-
"version": "0.1.
|
|
5
|
+
"version": "0.1.5",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/angular-ts.esm.js",
|
|
8
8
|
"browser": "dist/angular-ts.umd.js",
|
|
@@ -49,7 +49,13 @@
|
|
|
49
49
|
</style>
|
|
50
50
|
</head>
|
|
51
51
|
<body ng-app="test">
|
|
52
|
-
<div
|
|
52
|
+
<div ng-if="bool" id="data-animate" class="fade" data-animate="true">
|
|
53
|
+
Fade me in out
|
|
54
|
+
</div>
|
|
55
|
+
<div ng-if="bool" id="animate" class="fade" animate="true">
|
|
56
|
+
Fade me in out
|
|
57
|
+
</div>
|
|
58
|
+
<div ng-if="bool" id="no-animate" class="fade">Fade me in out</div>
|
|
53
59
|
<button ng-click="bool=true">Fade In!</button>
|
|
54
60
|
<button ng-click="bool=false">Fade Out!</button>
|
|
55
61
|
</body>
|
|
@@ -155,7 +155,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
|
|
|
155
155
|
directive.require || (directive.controller && directive.name);
|
|
156
156
|
|
|
157
157
|
if (!Array.isArray(require) && isObject(require)) {
|
|
158
|
-
forEach(
|
|
158
|
+
Object.entries(require).forEach(([key, value]) => {
|
|
159
159
|
const match = value.match(REQUIRE_PREFIX_REGEXP);
|
|
160
160
|
const name = value.substring(match[0].length);
|
|
161
161
|
if (!name) require[key] = match[0] + key;
|
|
@@ -207,7 +207,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
|
|
|
207
207
|
*/
|
|
208
208
|
function ($injector, $exceptionHandler) {
|
|
209
209
|
const directives = [];
|
|
210
|
-
|
|
210
|
+
hasDirectives[name].forEach((directiveFactory, index) => {
|
|
211
211
|
try {
|
|
212
212
|
let directive = $injector.invoke(directiveFactory);
|
|
213
213
|
if (isFunction(directive)) {
|
|
@@ -323,7 +323,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
|
|
|
323
323
|
};
|
|
324
324
|
|
|
325
325
|
// Copy annotations (starting with $) over to the DDO
|
|
326
|
-
forEach(
|
|
326
|
+
Object.entries(options).forEach(([key, val]) => {
|
|
327
327
|
if (key.charAt(0) === "$") ddo[key] = val;
|
|
328
328
|
});
|
|
329
329
|
|
|
@@ -461,7 +461,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
|
|
|
461
461
|
*/
|
|
462
462
|
(function registerNativePropertyContexts() {
|
|
463
463
|
function registerContext(ctx, values) {
|
|
464
|
-
forEach(
|
|
464
|
+
values.forEach((v) => {
|
|
465
465
|
PROP_CONTEXTS[v.toLowerCase()] = ctx;
|
|
466
466
|
});
|
|
467
467
|
}
|
|
@@ -1257,7 +1257,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
|
|
|
1257
1257
|
childLinkFn,
|
|
1258
1258
|
scope,
|
|
1259
1259
|
linkNode,
|
|
1260
|
-
|
|
1260
|
+
_,
|
|
1261
1261
|
boundTranscludeFn,
|
|
1262
1262
|
) {
|
|
1263
1263
|
let i;
|
|
@@ -141,9 +141,7 @@ describe("$interval", () => {
|
|
|
141
141
|
|
|
142
142
|
await wait(5);
|
|
143
143
|
expect(log[0]).toEqual("tick");
|
|
144
|
-
expect(log[1]).toEqual("
|
|
145
|
-
expect(log[2]).toEqual("tick");
|
|
146
|
-
expect(log[3]).toEqual("promise update: 1");
|
|
144
|
+
expect(log[1]).toEqual("tick");
|
|
147
145
|
});
|
|
148
146
|
|
|
149
147
|
it("should return a promise which will be resolved after the specified number of iterations", async () => {
|
|
@@ -163,19 +161,10 @@ describe("$interval", () => {
|
|
|
163
161
|
(err) => {
|
|
164
162
|
log.push(`promise error: ${err}`);
|
|
165
163
|
},
|
|
166
|
-
(note) => {
|
|
167
|
-
log.push(`promise update: ${note}`);
|
|
168
|
-
},
|
|
169
164
|
);
|
|
170
165
|
expect(log).toEqual([]);
|
|
171
166
|
await wait(15);
|
|
172
|
-
expect(log).toEqual([
|
|
173
|
-
"tick",
|
|
174
|
-
"promise update: 0",
|
|
175
|
-
"tick",
|
|
176
|
-
"promise update: 1",
|
|
177
|
-
"promise success: 2",
|
|
178
|
-
]);
|
|
167
|
+
expect(log).toEqual(["tick", "tick", "promise success: 2"]);
|
|
179
168
|
});
|
|
180
169
|
|
|
181
170
|
describe("exception handling", () => {
|
|
@@ -204,29 +193,6 @@ describe("$interval", () => {
|
|
|
204
193
|
done();
|
|
205
194
|
}, 11);
|
|
206
195
|
});
|
|
207
|
-
|
|
208
|
-
it("should still update the interval promise when an exception is thrown", (done) => {
|
|
209
|
-
const promise = $interval(() => {
|
|
210
|
-
errors = [];
|
|
211
|
-
throw "Some Error";
|
|
212
|
-
}, 102);
|
|
213
|
-
|
|
214
|
-
promise.then(
|
|
215
|
-
(value) => {
|
|
216
|
-
errors.push(`promise success: ${value}`);
|
|
217
|
-
},
|
|
218
|
-
(err) => {
|
|
219
|
-
errors.push(`promise error: ${err}`);
|
|
220
|
-
},
|
|
221
|
-
(note) => {
|
|
222
|
-
errors.push(`promise update: ${note}`);
|
|
223
|
-
},
|
|
224
|
-
);
|
|
225
|
-
setTimeout(() => {
|
|
226
|
-
expect(errors[1]).toEqual("promise update: 0");
|
|
227
|
-
done();
|
|
228
|
-
}, 102);
|
|
229
|
-
});
|
|
230
196
|
});
|
|
231
197
|
|
|
232
198
|
describe("cancel", () => {
|
|
@@ -261,9 +227,6 @@ describe("$interval", () => {
|
|
|
261
227
|
(err) => {
|
|
262
228
|
log.push(`promise error: ${err}`);
|
|
263
229
|
},
|
|
264
|
-
(note) => {
|
|
265
|
-
log.push(`promise update: ${note}`);
|
|
266
|
-
},
|
|
267
230
|
);
|
|
268
231
|
expect(log).toEqual([]);
|
|
269
232
|
|
|
@@ -275,7 +238,7 @@ describe("$interval", () => {
|
|
|
275
238
|
$rootScope.$apply(); // For resolving the promise -
|
|
276
239
|
// necessary since q uses $rootScope.evalAsync.
|
|
277
240
|
|
|
278
|
-
expect(log).toEqual(["promise
|
|
241
|
+
expect(log).toEqual(["promise error: canceled"]);
|
|
279
242
|
done();
|
|
280
243
|
}, 2);
|
|
281
244
|
});
|
package/src/core/q/q.js
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import {
|
|
2
|
-
forEach,
|
|
3
2
|
minErr,
|
|
4
3
|
isUndefined,
|
|
5
4
|
isFunction,
|
|
@@ -10,19 +9,34 @@ import {
|
|
|
10
9
|
isPromiseLike,
|
|
11
10
|
} from "../../shared/utils";
|
|
12
11
|
|
|
12
|
+
/**
|
|
13
|
+
* @typedef {Object} QService
|
|
14
|
+
* @property {function():Deferred<any>} defer
|
|
15
|
+
* @property {function(any?):QPromise<any>} all
|
|
16
|
+
* @property {function(any?):any} resolve
|
|
17
|
+
* @property {function(any):any} reject
|
|
18
|
+
*/
|
|
19
|
+
|
|
20
|
+
/**
|
|
21
|
+
* @typedef {Object} PromiseState
|
|
22
|
+
* @property {?number} status
|
|
23
|
+
* @property {PromiseResolvables[]} [pending]
|
|
24
|
+
* @property {boolean} processScheduled
|
|
25
|
+
* @property {any} [value]
|
|
26
|
+
* @property {boolean} pur
|
|
27
|
+
*/
|
|
28
|
+
|
|
29
|
+
/**
|
|
30
|
+
* @typedef {Object} PromiseResolvables
|
|
31
|
+
* @property {any} result
|
|
32
|
+
* @property {function(any):any} onFulfilled
|
|
33
|
+
* @property {function(any):any} onRejected
|
|
34
|
+
*/
|
|
35
|
+
|
|
13
36
|
/**
|
|
14
37
|
* @template T
|
|
15
38
|
* @typedef {Object} QPromise
|
|
16
|
-
* @property {function(
|
|
17
|
-
* ((value: T) => (PromiseLike<never>|PromiseLike<T>|T))|null,
|
|
18
|
-
* ((reason: any) => (PromiseLike<never>|PromiseLike<T>|T))|null,
|
|
19
|
-
* ((state: any) => any)=
|
|
20
|
-
* ): QPromise<T|never>} then - Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
21
|
-
* @property {function(
|
|
22
|
-
* ((value: T) => (QPromise<never>|QPromise<T>|T))|null,
|
|
23
|
-
* ((reason: any) => (QPromise<never>|QPromise<never>|never))|null,
|
|
24
|
-
* ((state: any) => any)
|
|
25
|
-
* ): QPromise<T|never>} then - Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
39
|
+
* @property {function(any,any?): QPromise<T|never>} then - Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
26
40
|
* @property {function(((reason: any) => (PromiseLike<never>|PromiseLike<T>|T))|null): QPromise<T>|T} catch - Shorthand for promise.then(null, errorCallback).
|
|
27
41
|
* @property {function(((reason: any) => (QPromise<never>|QPromise<T>|T))|null): QPromise<T>|T} catch - Shorthand for promise.then(null, errorCallback).
|
|
28
42
|
* @property {function(Array.<QPromise<T>>): QPromise<T>} all
|
|
@@ -40,9 +54,12 @@ import {
|
|
|
40
54
|
* @property {QPromise<T>} promise - The promise associated with this deferred object.
|
|
41
55
|
*/
|
|
42
56
|
|
|
43
|
-
export
|
|
44
|
-
|
|
45
|
-
|
|
57
|
+
export class $QProvider {
|
|
58
|
+
constructor() {
|
|
59
|
+
this.errorOn = true;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
$get = [
|
|
46
63
|
"$rootScope",
|
|
47
64
|
"$exceptionHandler",
|
|
48
65
|
/**
|
|
@@ -59,7 +76,7 @@ export function $QProvider() {
|
|
|
59
76
|
);
|
|
60
77
|
},
|
|
61
78
|
$exceptionHandler,
|
|
62
|
-
|
|
79
|
+
this.errorOn,
|
|
63
80
|
);
|
|
64
81
|
},
|
|
65
82
|
];
|
|
@@ -72,38 +89,40 @@ export function $QProvider() {
|
|
|
72
89
|
* @returns {boolean|$QProvider} Current value when called without a new value or self for
|
|
73
90
|
* chaining otherwise.
|
|
74
91
|
*/
|
|
75
|
-
|
|
92
|
+
errorOnUnhandledRejections(value) {
|
|
76
93
|
if (isDefined(value)) {
|
|
77
|
-
|
|
94
|
+
this.errorOn = value;
|
|
78
95
|
return this;
|
|
79
96
|
}
|
|
80
|
-
return
|
|
81
|
-
}
|
|
97
|
+
return this.errorOn;
|
|
98
|
+
}
|
|
82
99
|
}
|
|
83
100
|
|
|
84
|
-
export
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
101
|
+
export class $$QProvider {
|
|
102
|
+
constructor() {
|
|
103
|
+
this.errorOn = true;
|
|
104
|
+
}
|
|
105
|
+
|
|
106
|
+
$get = [
|
|
88
107
|
"$exceptionHandler",
|
|
89
|
-
function ($
|
|
108
|
+
function ($exceptionHandler) {
|
|
90
109
|
return qFactory(
|
|
91
110
|
(callback) => {
|
|
92
|
-
|
|
111
|
+
window.setTimeout(callback);
|
|
93
112
|
},
|
|
94
113
|
$exceptionHandler,
|
|
95
|
-
|
|
114
|
+
this.errorOn,
|
|
96
115
|
);
|
|
97
116
|
},
|
|
98
117
|
];
|
|
99
118
|
|
|
100
|
-
|
|
119
|
+
errorOnUnhandledRejections(value) {
|
|
101
120
|
if (isDefined(value)) {
|
|
102
|
-
|
|
121
|
+
this.errorOn = value;
|
|
103
122
|
return this;
|
|
104
123
|
}
|
|
105
|
-
return
|
|
106
|
-
}
|
|
124
|
+
return this.errorOn;
|
|
125
|
+
}
|
|
107
126
|
}
|
|
108
127
|
|
|
109
128
|
/**
|
|
@@ -119,53 +138,48 @@ export function $$QProvider() {
|
|
|
119
138
|
function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
120
139
|
const $qMinErr = minErr("$q");
|
|
121
140
|
let queueSize = 0;
|
|
122
|
-
const checkQueue = [];
|
|
123
|
-
|
|
124
141
|
/**
|
|
125
|
-
*
|
|
126
|
-
*
|
|
127
|
-
* @returns {Deferred} Returns a new instance of deferred.
|
|
142
|
+
* @type {PromiseState[]}
|
|
128
143
|
*/
|
|
129
|
-
|
|
130
|
-
return new Deferred();
|
|
131
|
-
}
|
|
144
|
+
const checkQueue = [];
|
|
132
145
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
}
|
|
139
|
-
this.reject = function (reason) {
|
|
140
|
-
rejectPromise(promise, reason);
|
|
141
|
-
};
|
|
142
|
-
this.notify = function (progress) {
|
|
143
|
-
notifyPromise(promise, progress);
|
|
144
|
-
};
|
|
146
|
+
class Deferred {
|
|
147
|
+
constructor() {
|
|
148
|
+
this.promise = new QPromise();
|
|
149
|
+
this.resolve = (val) => resolvePromise(this.promise, val);
|
|
150
|
+
this.reject = (reason) => rejectPromise(this.promise, reason);
|
|
151
|
+
}
|
|
145
152
|
}
|
|
146
153
|
|
|
147
154
|
class QPromise {
|
|
148
155
|
constructor() {
|
|
149
|
-
|
|
156
|
+
/** @type {PromiseState} */
|
|
157
|
+
this.$$state = {
|
|
158
|
+
status: 0,
|
|
159
|
+
pending: undefined,
|
|
160
|
+
processScheduled: false,
|
|
161
|
+
pur: false,
|
|
162
|
+
};
|
|
150
163
|
}
|
|
151
164
|
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
165
|
+
/**
|
|
166
|
+
* Calls one of the success or error callbacks asynchronously as soon as the result is available.
|
|
167
|
+
* @param {*} onFulfilled
|
|
168
|
+
* @param {*} onRejected
|
|
169
|
+
* @returns
|
|
170
|
+
*/
|
|
171
|
+
then(onFulfilled, onRejected) {
|
|
172
|
+
if (isUndefined(onFulfilled) && isUndefined(onRejected)) {
|
|
158
173
|
return this;
|
|
159
174
|
}
|
|
160
175
|
const result = new QPromise();
|
|
161
176
|
|
|
162
177
|
this.$$state.pending = this.$$state.pending || [];
|
|
163
|
-
this.$$state.pending.push(
|
|
164
|
-
result,
|
|
165
|
-
onFulfilled,
|
|
166
|
-
onRejected,
|
|
167
|
-
|
|
168
|
-
]);
|
|
178
|
+
this.$$state.pending.push({
|
|
179
|
+
result: result,
|
|
180
|
+
onFulfilled: onFulfilled,
|
|
181
|
+
onRejected: onRejected,
|
|
182
|
+
});
|
|
169
183
|
if (this.$$state.status > 0) scheduleProcessQueue(this.$$state);
|
|
170
184
|
|
|
171
185
|
return result;
|
|
@@ -175,28 +189,29 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
175
189
|
return this.then(null, callback);
|
|
176
190
|
}
|
|
177
191
|
|
|
178
|
-
finally(callback
|
|
192
|
+
finally(callback) {
|
|
179
193
|
return this.then(
|
|
180
194
|
(value) => handleCallback(value, resolve, callback),
|
|
181
195
|
(error) => handleCallback(error, reject, callback),
|
|
182
|
-
progressBack,
|
|
183
196
|
);
|
|
184
197
|
}
|
|
185
198
|
}
|
|
186
199
|
|
|
200
|
+
/**
|
|
201
|
+
* @param {PromiseState} state
|
|
202
|
+
*/
|
|
187
203
|
function processQueue(state) {
|
|
188
|
-
let fn;
|
|
189
|
-
let promise;
|
|
190
|
-
let pending;
|
|
191
|
-
|
|
192
|
-
pending = state.pending;
|
|
193
204
|
state.processScheduled = false;
|
|
194
|
-
state.pending = undefined;
|
|
195
205
|
try {
|
|
196
|
-
for (let i = 0, ii = pending.length; i < ii; ++i) {
|
|
197
|
-
|
|
198
|
-
promise = pending[i]
|
|
199
|
-
fn
|
|
206
|
+
for (let i = 0, ii = state.pending.length; i < ii; ++i) {
|
|
207
|
+
state.pur = true;
|
|
208
|
+
const promise = state.pending[i].result;
|
|
209
|
+
let fn;
|
|
210
|
+
if (state.status === 1) {
|
|
211
|
+
fn = state.pending[i].onFulfilled;
|
|
212
|
+
} else {
|
|
213
|
+
fn = state.pending[i].onRejected;
|
|
214
|
+
}
|
|
200
215
|
try {
|
|
201
216
|
if (isFunction(fn)) {
|
|
202
217
|
resolvePromise(promise, fn(state.value));
|
|
@@ -207,10 +222,6 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
207
222
|
}
|
|
208
223
|
} catch (e) {
|
|
209
224
|
rejectPromise(promise, e);
|
|
210
|
-
// This error is explicitly marked for being passed to the $exceptionHandler
|
|
211
|
-
if (e && e.$$passToExceptionHandler === true) {
|
|
212
|
-
exceptionHandler(e);
|
|
213
|
-
}
|
|
214
225
|
}
|
|
215
226
|
}
|
|
216
227
|
} finally {
|
|
@@ -218,6 +229,7 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
218
229
|
if (errorOnUnhandledRejections && queueSize === 0) {
|
|
219
230
|
nextTick(processChecks);
|
|
220
231
|
}
|
|
232
|
+
state.pending = undefined;
|
|
221
233
|
}
|
|
222
234
|
}
|
|
223
235
|
|
|
@@ -225,7 +237,7 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
225
237
|
while (!queueSize && checkQueue.length) {
|
|
226
238
|
const toCheck = checkQueue.shift();
|
|
227
239
|
if (!isStateExceptionHandled(toCheck)) {
|
|
228
|
-
|
|
240
|
+
toCheck.pur = true;
|
|
229
241
|
const errorMessage = `Possibly unhandled rejection: ${toDebugString(toCheck.value)}`;
|
|
230
242
|
if (isError(toCheck.value)) {
|
|
231
243
|
exceptionHandler(toCheck.value, errorMessage);
|
|
@@ -236,6 +248,9 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
236
248
|
}
|
|
237
249
|
}
|
|
238
250
|
|
|
251
|
+
/**
|
|
252
|
+
* @param {PromiseState} state
|
|
253
|
+
*/
|
|
239
254
|
function scheduleProcessQueue(state) {
|
|
240
255
|
if (
|
|
241
256
|
errorOnUnhandledRejections &&
|
|
@@ -256,6 +271,11 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
256
271
|
});
|
|
257
272
|
}
|
|
258
273
|
|
|
274
|
+
/**
|
|
275
|
+
* @param {QPromise} promise
|
|
276
|
+
* @param {*} val
|
|
277
|
+
* @returns
|
|
278
|
+
*/
|
|
259
279
|
function resolvePromise(promise, val) {
|
|
260
280
|
if (promise.$$state.status) return;
|
|
261
281
|
if (val === promise) {
|
|
@@ -272,6 +292,11 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
272
292
|
}
|
|
273
293
|
}
|
|
274
294
|
|
|
295
|
+
/**
|
|
296
|
+
*
|
|
297
|
+
* @param {QPromise} promise
|
|
298
|
+
* @param {*} val
|
|
299
|
+
*/
|
|
275
300
|
function $$resolve(promise, val) {
|
|
276
301
|
let then;
|
|
277
302
|
let done = false;
|
|
@@ -279,7 +304,7 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
279
304
|
if (isObject(val) || isFunction(val)) then = val.then;
|
|
280
305
|
if (isFunction(then)) {
|
|
281
306
|
promise.$$state.status = -1;
|
|
282
|
-
then.call(val, doResolve, doReject
|
|
307
|
+
then.call(val, doResolve, doReject);
|
|
283
308
|
} else {
|
|
284
309
|
promise.$$state.value = val;
|
|
285
310
|
promise.$$state.status = 1;
|
|
@@ -299,45 +324,29 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
299
324
|
done = true;
|
|
300
325
|
$$reject(promise, val);
|
|
301
326
|
}
|
|
302
|
-
function doNotify(progress) {
|
|
303
|
-
notifyPromise(promise, progress);
|
|
304
|
-
}
|
|
305
327
|
}
|
|
306
328
|
|
|
329
|
+
/**
|
|
330
|
+
* @param {QPromise} promise
|
|
331
|
+
* @param {*} reason
|
|
332
|
+
* @returns
|
|
333
|
+
*/
|
|
307
334
|
function rejectPromise(promise, reason) {
|
|
308
335
|
if (promise.$$state.status) return;
|
|
309
336
|
$$reject(promise, reason);
|
|
310
337
|
}
|
|
311
338
|
|
|
339
|
+
/**
|
|
340
|
+
* @param {QPromise} promise
|
|
341
|
+
* @param {*} reason
|
|
342
|
+
* @returns
|
|
343
|
+
*/
|
|
312
344
|
function $$reject(promise, reason) {
|
|
313
345
|
promise.$$state.value = reason;
|
|
314
346
|
promise.$$state.status = 2;
|
|
315
347
|
scheduleProcessQueue(promise.$$state);
|
|
316
348
|
}
|
|
317
349
|
|
|
318
|
-
function notifyPromise(promise, progress) {
|
|
319
|
-
const callbacks = promise.$$state.pending;
|
|
320
|
-
|
|
321
|
-
if (promise.$$state.status <= 0 && callbacks && callbacks.length) {
|
|
322
|
-
nextTick(() => {
|
|
323
|
-
let callback;
|
|
324
|
-
let result;
|
|
325
|
-
for (let i = 0, ii = callbacks.length; i < ii; i++) {
|
|
326
|
-
result = callbacks[i][0];
|
|
327
|
-
callback = callbacks[i][3];
|
|
328
|
-
try {
|
|
329
|
-
notifyPromise(
|
|
330
|
-
result,
|
|
331
|
-
isFunction(callback) ? callback(progress) : progress,
|
|
332
|
-
);
|
|
333
|
-
} catch (e) {
|
|
334
|
-
exceptionHandler(e);
|
|
335
|
-
}
|
|
336
|
-
}
|
|
337
|
-
});
|
|
338
|
-
}
|
|
339
|
-
}
|
|
340
|
-
|
|
341
350
|
/**
|
|
342
351
|
* Creates a promise that is resolved as rejected with the specified `reason`. This api should be
|
|
343
352
|
* used to forward rejection in a chain of promises. If you are dealing with the last promise in
|
|
@@ -348,22 +357,6 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
348
357
|
* a promise error callback and you want to forward the error to the promise derived from the
|
|
349
358
|
* current promise, you have to "rethrow" the error by returning a rejection constructed via
|
|
350
359
|
* `reject`.
|
|
351
|
-
*
|
|
352
|
-
* ```js
|
|
353
|
-
* promiseB = promiseA.then(function(result) {
|
|
354
|
-
* // success: do something and resolve promiseB
|
|
355
|
-
* // with the old or a new result
|
|
356
|
-
* return result;
|
|
357
|
-
* }, function(reason) {
|
|
358
|
-
* // error: handle the error if possible and
|
|
359
|
-
* // resolve promiseB with newPromiseOrValue,
|
|
360
|
-
* // otherwise forward the rejection to promiseB
|
|
361
|
-
* if (canHandle(reason)) {
|
|
362
|
-
* // handle the error and recover
|
|
363
|
-
* return newPromiseOrValue;
|
|
364
|
-
* }
|
|
365
|
-
* return $q.reject(reason);
|
|
366
|
-
* });
|
|
367
360
|
* ```
|
|
368
361
|
*
|
|
369
362
|
* @param {*} reason Constant, message, exception or an object representing the rejection reason.
|
|
@@ -396,27 +389,15 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
396
389
|
* @param {*} value Value or a promise
|
|
397
390
|
* @param {Function=} successCallback
|
|
398
391
|
* @param {Function=} errorCallback
|
|
399
|
-
* @param {Function=} progressCallback
|
|
400
392
|
* @returns {QPromise} Returns a promise of the passed value or promise
|
|
401
393
|
*/
|
|
402
394
|
|
|
403
|
-
function
|
|
395
|
+
function resolve(value, successCallback, errorCallback) {
|
|
404
396
|
const result = new QPromise();
|
|
405
397
|
resolvePromise(result, value);
|
|
406
|
-
return result.then(successCallback, errorCallback
|
|
398
|
+
return result.then(successCallback, errorCallback);
|
|
407
399
|
}
|
|
408
400
|
|
|
409
|
-
/**
|
|
410
|
-
* Alias of {@link when} to maintain naming consistency with ES6.
|
|
411
|
-
*
|
|
412
|
-
* @param {*} value Value or a promise
|
|
413
|
-
* @param {Function=} successCallback
|
|
414
|
-
* @param {Function=} errorCallback
|
|
415
|
-
* @param {Function=} progressCallback
|
|
416
|
-
* @returns {Promise} Returns a promise of the passed value or promise
|
|
417
|
-
*/
|
|
418
|
-
let resolve = when;
|
|
419
|
-
|
|
420
401
|
/**
|
|
421
402
|
* Combines multiple promises into a single promise that is resolved when all of the input
|
|
422
403
|
* promises are resolved.
|
|
@@ -433,9 +414,9 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
433
414
|
let counter = 0;
|
|
434
415
|
const results = Array.isArray(promises) ? [] : {};
|
|
435
416
|
|
|
436
|
-
forEach(
|
|
417
|
+
Object.entries(promises).forEach(([key, promise]) => {
|
|
437
418
|
counter++;
|
|
438
|
-
|
|
419
|
+
resolve(promise).then(
|
|
439
420
|
(value) => {
|
|
440
421
|
results[key] = value;
|
|
441
422
|
if (!--counter) resolvePromise(result, results);
|
|
@@ -463,10 +444,10 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
463
444
|
*/
|
|
464
445
|
|
|
465
446
|
function race(promises) {
|
|
466
|
-
const deferred =
|
|
447
|
+
const deferred = new Deferred();
|
|
467
448
|
|
|
468
|
-
forEach(
|
|
469
|
-
|
|
449
|
+
promises.forEach((promise) => {
|
|
450
|
+
resolve(promise).then(deferred.resolve, deferred.reject);
|
|
470
451
|
});
|
|
471
452
|
|
|
472
453
|
return deferred.promise;
|
|
@@ -486,26 +467,16 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
486
467
|
|
|
487
468
|
const promise = new QPromise();
|
|
488
469
|
|
|
489
|
-
|
|
490
|
-
resolvePromise(promise, value)
|
|
491
|
-
|
|
492
|
-
|
|
493
|
-
function rejectFn(reason) {
|
|
494
|
-
rejectPromise(promise, reason);
|
|
495
|
-
}
|
|
496
|
-
|
|
497
|
-
resolver(resolveFn, rejectFn);
|
|
470
|
+
resolver(
|
|
471
|
+
(value) => resolvePromise(promise, value),
|
|
472
|
+
(reason) => rejectPromise(promise, reason),
|
|
473
|
+
);
|
|
498
474
|
|
|
499
475
|
return promise;
|
|
500
476
|
}
|
|
501
477
|
|
|
502
|
-
|
|
503
|
-
// `new $q(fn) instanceof $q` would evaluate to true.
|
|
504
|
-
$Q.prototype = QPromise.prototype;
|
|
505
|
-
|
|
506
|
-
$Q.defer = defer;
|
|
478
|
+
$Q.defer = () => new Deferred();
|
|
507
479
|
$Q.reject = reject;
|
|
508
|
-
$Q.when = when;
|
|
509
480
|
$Q.resolve = resolve;
|
|
510
481
|
$Q.all = all;
|
|
511
482
|
$Q.race = race;
|
|
@@ -516,15 +487,13 @@ function qFactory(nextTick, exceptionHandler, errorOnUnhandledRejections) {
|
|
|
516
487
|
function isStateExceptionHandled(state) {
|
|
517
488
|
return !!state.pur;
|
|
518
489
|
}
|
|
519
|
-
|
|
520
|
-
state.pur = true;
|
|
521
|
-
}
|
|
490
|
+
|
|
522
491
|
export function markQExceptionHandled(q) {
|
|
523
492
|
// Built-in `$q` promises will always have a `$$state` property. This check is to allow
|
|
524
493
|
// overwriting `$q` with a different promise library (e.g. Bluebird + angular-bluebird-promises).
|
|
525
494
|
// (Currently, this is the only method that might be called with a promise, even if it is not
|
|
526
495
|
// created by the built-in `$q`.)
|
|
527
496
|
if (q.$$state) {
|
|
528
|
-
|
|
497
|
+
q.$$state.pur = true;
|
|
529
498
|
}
|
|
530
499
|
}
|
package/src/core/q/q.md
CHANGED
|
@@ -68,24 +68,6 @@
|
|
|
68
68
|
|
|
69
69
|
```
|
|
70
70
|
|
|
71
|
-
- // for the purpose of this example let's assume that variables `$q` and `okToGreet`
|
|
72
|
-
- // are available in the current lexical scope (they could have been injected or passed in).
|
|
73
|
-
-
|
|
74
|
-
- function asyncGreet(name) {
|
|
75
|
-
- let deferred = $q.defer();
|
|
76
|
-
-
|
|
77
|
-
- setTimeout(function() {
|
|
78
|
-
- deferred.notify('About to greet ' + name + '.');
|
|
79
|
-
-
|
|
80
|
-
- if (okToGreet(name)) {
|
|
81
|
-
- deferred.resolve('Hello, ' + name + '!');
|
|
82
|
-
- } else {
|
|
83
|
-
- deferred.reject('Greeting ' + name + ' is not allowed.');
|
|
84
|
-
- }
|
|
85
|
-
- }, 1000);
|
|
86
|
-
-
|
|
87
|
-
- return deferred.promise;
|
|
88
|
-
- }
|
|
89
71
|
-
|
|
90
72
|
- let promise = asyncGreet('Robin Hood');
|
|
91
73
|
- promise.then(function(greeting) {
|