@angular-wave/angular.ts 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -10
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +3 -3
- package/src/animations/animate-css.js +6 -2
- package/src/animations/animate.js +1 -17
- package/src/core/compile/attributes.js +0 -20
- package/src/core/compile/compile.js +0 -5
- package/src/core/controller/controller.js +1 -9
- package/src/core/exception-handler.js +0 -3
- package/src/core/interpolate/interpolate.js +0 -14
- package/src/core/q/q.js +0 -5
- package/src/core/sce/sce.js +0 -400
- package/src/core/sce/sce.md +300 -0
- package/src/core/scope/scope.js +1 -75
- package/src/core/url-utils/url-utils.js +0 -47
- package/src/core/url-utils/url-utils.md +46 -0
- package/src/directive/aria/aria.js +1 -6
- package/src/directive/class/class.js +0 -16
- package/src/directive/form/form.js +0 -41
- package/src/directive/model/model.js +0 -32
- package/src/directive/ref/ref.js +0 -5
- package/src/directive/script/script.js +0 -15
- package/src/directive/script/script.md +11 -0
- package/src/directive/select/select.js +0 -13
- package/src/directive/transclude/transclude.js +0 -5
- package/src/directive/validators/validators.js +0 -15
- package/src/router/directives/view-directive.js +0 -11
- package/src/services/browser.js +0 -8
- package/src/services/cache-factory.js +0 -42
- package/src/services/http/http.js +0 -17
- package/src/services/http-backend/http-backend.js +0 -4
- package/src/services/log.js +4 -9
- package/src/types.js +9 -17
- package/typedoc/.nojekyll +1 -0
- package/typedoc/assets/highlight.css +162 -0
- package/typedoc/assets/icons.js +18 -0
- package/typedoc/assets/icons.svg +1 -0
- package/typedoc/assets/main.js +60 -0
- package/typedoc/assets/navigation.js +1 -0
- package/typedoc/assets/search.js +1 -0
- package/typedoc/assets/style.css +1448 -0
- package/typedoc/classes/animations_animate.AnimateProvider.html +71 -0
- package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +3 -0
- package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +3 -0
- package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +4 -0
- package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +4 -0
- package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +4 -0
- package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +5 -0
- package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +3 -0
- package/typedoc/classes/animations_animate_runner.AnimateRunner.html +22 -0
- package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +3 -0
- package/typedoc/classes/animations_animation.__AnimationProvider.html +4 -0
- package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +6 -0
- package/typedoc/classes/core_compile_attributes.Attributes.html +51 -0
- package/typedoc/classes/core_compile_compile._CompileProvider.html +98 -0
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +18 -0
- package/typedoc/classes/core_di_internal_injector.InjectorService.html +20 -0
- package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +21 -0
- package/typedoc/classes/core_di_ng_module.NgModule.html +34 -0
- package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +3 -0
- package/typedoc/classes/core_filter_filter._FilterProvider.html +5 -0
- package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +25 -0
- package/typedoc/classes/core_interval_interval._IntervalProvider.html +3 -0
- package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +3 -0
- package/typedoc/classes/core_location_location.Location.html +94 -0
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +101 -0
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +99 -0
- package/typedoc/classes/core_location_location._LocationProvider.html +27 -0
- package/typedoc/classes/core_parser_ast.AST.html +93 -0
- package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +144 -0
- package/typedoc/classes/core_parser_lexer.Lexer.html +64 -0
- package/typedoc/classes/core_parser_parse._ParseProvider.html +19 -0
- package/typedoc/classes/core_parser_parser.Parser.html +8 -0
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +71 -0
- package/typedoc/classes/core_q_q._QProvider.html +9 -0
- package/typedoc/classes/core_q_q.__QProvider.html +4 -0
- package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +32 -0
- package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +67 -0
- package/typedoc/classes/core_sce_sce._SceProvider.html +7 -0
- package/typedoc/classes/core_scope_scope.Scope.html +350 -0
- package/typedoc/classes/core_scope_scope._RootScopeProvider.html +10 -0
- package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +29 -0
- package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +3 -0
- package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +3 -0
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +14 -0
- package/typedoc/classes/directive_form_form.FormController.html +138 -0
- package/typedoc/classes/directive_model_model.NgModelController.html +235 -0
- package/typedoc/classes/loader.Angular.html +68 -0
- package/typedoc/classes/router_common_glob.Glob.html +10 -0
- package/typedoc/classes/router_common_queue.Queue.html +14 -0
- package/typedoc/classes/router_common_trace.Trace.html +42 -0
- package/typedoc/classes/router_globals.UIRouterGlobals.html +12 -0
- package/typedoc/classes/router_params_param.Param.html +34 -0
- package/typedoc/classes/router_params_param_factory.ParamFactory.html +6 -0
- package/typedoc/classes/router_params_param_type.ParamType.html +35 -0
- package/typedoc/classes/router_params_param_types.ParamTypes.html +28 -0
- package/typedoc/classes/router_params_state_params.StateParams.html +8 -0
- package/typedoc/classes/router_path_path_node.PathNode.html +30 -0
- package/typedoc/classes/router_path_path_utils.PathUtils.html +47 -0
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +29 -0
- package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +46 -0
- package/typedoc/classes/router_state_state_builder.StateBuilder.html +20 -0
- package/typedoc/classes/router_state_state_matcher.StateMatcher.html +6 -0
- package/typedoc/classes/router_state_state_object.StateObject.html +45 -0
- package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +11 -0
- package/typedoc/classes/router_state_state_registry.StateRegistry.html +60 -0
- package/typedoc/classes/router_state_state_service.StateService.html +232 -0
- package/typedoc/classes/router_state_target_state.TargetState.html +72 -0
- package/typedoc/classes/router_state_views.Ng1ViewConfig.html +22 -0
- package/typedoc/classes/router_template_factory.TemplateFactory.html +56 -0
- package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +32 -0
- package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +41 -0
- package/typedoc/classes/router_transition_reject_factory.Rejection.html +27 -0
- package/typedoc/classes/router_transition_transition.Transition.html +189 -0
- package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +16 -0
- package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +51 -0
- package/typedoc/classes/router_transition_transition_service.TransitionService.html +47 -0
- package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +57 -0
- package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +120 -0
- package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +11 -0
- package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +55 -0
- package/typedoc/classes/router_url_url_rules.UrlRules.html +150 -0
- package/typedoc/classes/router_url_url_service.UrlService.html +138 -0
- package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +4 -0
- package/typedoc/classes/router_view_view.ViewService.html +109 -0
- package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -0
- package/typedoc/classes/services_browser.Browser.html +65 -0
- package/typedoc/classes/services_browser.BrowserProvider.html +9 -0
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +3 -0
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +53 -0
- package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +11 -0
- package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +31 -0
- package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +21 -0
- package/typedoc/classes/services_http_http._HttpProvider.html +19 -0
- package/typedoc/classes/services_log._LogProvider.html +9 -0
- package/typedoc/classes/services_template_request.TemplateRequestProvider.html +31 -0
- package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +62 -0
- package/typedoc/enums/core_parser_ast_type.ASTType.html +18 -0
- package/typedoc/enums/core_scope_scope.ScopePhase.html +4 -0
- package/typedoc/enums/router_transition_reject_factory.RejectType.html +23 -0
- package/typedoc/functions/animations_animate.domInsert.html +1 -0
- package/typedoc/functions/animations_animate_cache.animateCache.html +29 -0
- package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -0
- package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -0
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -0
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -0
- package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -0
- package/typedoc/functions/animations_shared.assertArg.html +1 -0
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -0
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -0
- package/typedoc/functions/animations_shared.concatWithSpace.html +1 -0
- package/typedoc/functions/animations_shared.extractElementNode.html +1 -0
- package/typedoc/functions/animations_shared.getDomNode.html +1 -0
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -0
- package/typedoc/functions/animations_shared.mergeClasses.html +1 -0
- package/typedoc/functions/animations_shared.ngMinErr.html +1 -0
- package/typedoc/functions/animations_shared.packageStyles.html +1 -0
- package/typedoc/functions/animations_shared.pendClasses.html +1 -0
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -0
- package/typedoc/functions/animations_shared.removeFromArray.html +1 -0
- package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -0
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -0
- package/typedoc/functions/core_controller_controller.identifierForController.html +1 -0
- package/typedoc/functions/core_di_injector.annotate.html +1 -0
- package/typedoc/functions/core_di_injector.createInjector.html +1 -0
- package/typedoc/functions/core_exception_handler.errorHandler-1.html +3 -0
- package/typedoc/functions/core_location_location.serverBase.html +1 -0
- package/typedoc/functions/core_location_location.stripBaseUrl.html +3 -0
- package/typedoc/functions/core_location_location.stripFile.html +1 -0
- package/typedoc/functions/core_location_location.stripHash.html +1 -0
- package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -0
- package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -0
- package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -0
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -0
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -0
- package/typedoc/functions/core_scope_scope.countChildScopes.html +4 -0
- package/typedoc/functions/core_scope_scope.countWatchers.html +5 -0
- package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +2 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +8 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +6 -0
- package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +7 -0
- package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -0
- package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +9 -0
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -0
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -0
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -0
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -0
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -0
- package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -0
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -0
- package/typedoc/functions/directive_events_events.createEventDirective.html +1 -0
- package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -0
- package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -0
- package/typedoc/functions/directive_form_form.setupValidity.html +1 -0
- package/typedoc/functions/directive_if_if.ngIfDirective.html +3 -0
- package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -0
- package/typedoc/functions/directive_input_input.badInputChecker.html +1 -0
- package/typedoc/functions/directive_input_input.countDecimals.html +1 -0
- package/typedoc/functions/directive_input_input.createDateInputType.html +1 -0
- package/typedoc/functions/directive_input_input.createDateParser.html +1 -0
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -0
- package/typedoc/functions/directive_input_input.inputDirective.html +2 -0
- package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -0
- package/typedoc/functions/directive_input_input.isValidForStep.html +1 -0
- package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -0
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -0
- package/typedoc/functions/directive_input_input.numberInputType.html +1 -0
- package/typedoc/functions/directive_input_input.rangeInputType.html +1 -0
- package/typedoc/functions/directive_input_input.weekParser.html +1 -0
- package/typedoc/functions/directive_list_list.ngListDirective.html +1 -0
- package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -0
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -0
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -0
- package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -0
- package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -0
- package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -0
- package/typedoc/functions/directive_select_select.optionDirective.html +2 -0
- package/typedoc/functions/directive_select_select.selectDirective.html +1 -0
- package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -0
- package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -0
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -0
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -0
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -0
- package/typedoc/functions/filters_filter.filterFilter.html +1 -0
- package/typedoc/functions/filters_filters.formatNumber.html +7 -0
- package/typedoc/functions/filters_filters.jsonFilter.html +1 -0
- package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -0
- package/typedoc/functions/filters_order_by.orderByFilter.html +2 -0
- package/typedoc/functions/public.publishExternalAPI.html +3 -0
- package/typedoc/functions/router.initRouter.html +1 -0
- package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -0
- package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -0
- package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -0
- package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -0
- package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -0
- package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -0
- package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -0
- package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -0
- package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +5 -0
- package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +31 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -0
- package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -0
- package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -0
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -0
- package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -0
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -0
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -0
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -0
- package/typedoc/functions/router_services.runBlock.html +2 -0
- package/typedoc/functions/router_services.watchDigests.html +2 -0
- package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +7 -0
- package/typedoc/functions/router_state_filters._IsStateFilter.html +7 -0
- package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +30 -0
- package/typedoc/functions/router_state_state_registry.getLocals.html +1 -0
- package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -0
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +6 -0
- package/typedoc/functions/router_transition_hook_registry.makeEvent.html +2 -0
- package/typedoc/functions/router_transition_hook_registry.matchState.html +9 -0
- package/typedoc/functions/services_browser.trimEmptyHash.html +2 -0
- package/typedoc/functions/services_cookie_reader.getCookies.html +2 -0
- package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -0
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -0
- package/typedoc/functions/shared_common._removeFrom.html +1 -0
- package/typedoc/functions/shared_common.allTrueR.html +5 -0
- package/typedoc/functions/shared_common.ancestors.html +5 -0
- package/typedoc/functions/shared_common.anyTrueR.html +8 -0
- package/typedoc/functions/shared_common.applyPairs.html +7 -0
- package/typedoc/functions/shared_common.arrayTuples.html +6 -0
- package/typedoc/functions/shared_common.assertFn.html +1 -0
- package/typedoc/functions/shared_common.assertMap.html +5 -0
- package/typedoc/functions/shared_common.assertPredicate.html +5 -0
- package/typedoc/functions/shared_common.copy.html +2 -0
- package/typedoc/functions/shared_common.createProxyFunctions.html +17 -0
- package/typedoc/functions/shared_common.defaults.html +4 -0
- package/typedoc/functions/shared_common.deregAll.html +2 -0
- package/typedoc/functions/shared_common.equals.html +1 -0
- package/typedoc/functions/shared_common.filter.html +2 -0
- package/typedoc/functions/shared_common.find.html +2 -0
- package/typedoc/functions/shared_common.flatten.html +5 -0
- package/typedoc/functions/shared_common.flattenR.html +5 -0
- package/typedoc/functions/shared_common.forEach.html +2 -0
- package/typedoc/functions/shared_common.inherit.html +8 -0
- package/typedoc/functions/shared_common.map.html +2 -0
- package/typedoc/functions/shared_common.mapObj.html +3 -0
- package/typedoc/functions/shared_common.mergeR.html +2 -0
- package/typedoc/functions/shared_common.omit.html +7 -0
- package/typedoc/functions/shared_common.pairs.html +5 -0
- package/typedoc/functions/shared_common.pick.html +7 -0
- package/typedoc/functions/shared_common.pluck.html +2 -0
- package/typedoc/functions/shared_common.pushR.html +3 -0
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -0
- package/typedoc/functions/shared_common.silentRejection.html +1 -0
- package/typedoc/functions/shared_common.tail.html +2 -0
- package/typedoc/functions/shared_common.uniqR.html +2 -0
- package/typedoc/functions/shared_common.unnest.html +5 -0
- package/typedoc/functions/shared_common.unnestR.html +5 -0
- package/typedoc/functions/shared_hof.all.html +4 -0
- package/typedoc/functions/shared_hof.and.html +3 -0
- package/typedoc/functions/shared_hof.any.html +1 -0
- package/typedoc/functions/shared_hof.compose.html +5 -0
- package/typedoc/functions/shared_hof.curry.html +11 -0
- package/typedoc/functions/shared_hof.eq.html +2 -0
- package/typedoc/functions/shared_hof.invoke.html +1 -0
- package/typedoc/functions/shared_hof.is.html +2 -0
- package/typedoc/functions/shared_hof.or.html +3 -0
- package/typedoc/functions/shared_hof.parse.html +7 -0
- package/typedoc/functions/shared_hof.pattern.html +15 -0
- package/typedoc/functions/shared_hof.pipe.html +5 -0
- package/typedoc/functions/shared_hof.prop.html +5 -0
- package/typedoc/functions/shared_hof.val.html +2 -0
- package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +4 -0
- package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +8 -0
- package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +3 -0
- package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -0
- package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +5 -0
- package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +2 -0
- package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +2 -0
- package/typedoc/functions/shared_predicates.isInjectable.html +4 -0
- package/typedoc/functions/shared_predicates.isNull.html +1 -0
- package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -0
- package/typedoc/functions/shared_predicates.isPromise.html +3 -0
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +2 -0
- package/typedoc/functions/shared_strings.fnToString.html +1 -0
- package/typedoc/functions/shared_strings.functionToString.html +1 -0
- package/typedoc/functions/shared_strings.joinNeighborsR.html +7 -0
- package/typedoc/functions/shared_strings.kebobString.html +1 -0
- package/typedoc/functions/shared_strings.maxLength.html +6 -0
- package/typedoc/functions/shared_strings.padString.html +6 -0
- package/typedoc/functions/shared_strings.splitEqual.html +1 -0
- package/typedoc/functions/shared_strings.splitHash.html +1 -0
- package/typedoc/functions/shared_strings.splitOnDelim.html +5 -0
- package/typedoc/functions/shared_strings.splitQuery.html +1 -0
- package/typedoc/functions/shared_strings.stringify.html +1 -0
- package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -0
- package/typedoc/functions/shared_strings.trimHashVal.html +1 -0
- package/typedoc/functions/shared_utils.addDateMinutes.html +1 -0
- package/typedoc/functions/shared_utils.arrayRemove.html +7 -0
- package/typedoc/functions/shared_utils.assert.html +2 -0
- package/typedoc/functions/shared_utils.assertArg.html +2 -0
- package/typedoc/functions/shared_utils.assertArgFn.html +1 -0
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -0
- package/typedoc/functions/shared_utils.baseExtend.html +1 -0
- package/typedoc/functions/shared_utils.bind.html +8 -0
- package/typedoc/functions/shared_utils.concat.html +1 -0
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -0
- package/typedoc/functions/shared_utils.csp.html +1 -0
- package/typedoc/functions/shared_utils.directiveNormalize.html +3 -0
- package/typedoc/functions/shared_utils.encodeUriQuery.html +10 -0
- package/typedoc/functions/shared_utils.encodeUriSegment.html +10 -0
- package/typedoc/functions/shared_utils.equals.html +22 -0
- package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -0
- package/typedoc/functions/shared_utils.extend.html +9 -0
- package/typedoc/functions/shared_utils.forEach.html +18 -0
- package/typedoc/functions/shared_utils.forEachSorted.html +1 -0
- package/typedoc/functions/shared_utils.fromJson.html +4 -0
- package/typedoc/functions/shared_utils.getNgAttribute.html +1 -0
- package/typedoc/functions/shared_utils.getNodeName.html +3 -0
- package/typedoc/functions/shared_utils.getter.html +5 -0
- package/typedoc/functions/shared_utils.hasAnimate.html +2 -0
- package/typedoc/functions/shared_utils.hasCustomToString.html +1 -0
- package/typedoc/functions/shared_utils.hashKey.html +9 -0
- package/typedoc/functions/shared_utils.includes.html +1 -0
- package/typedoc/functions/shared_utils.inherit.html +1 -0
- package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -0
- package/typedoc/functions/shared_utils.isArrayLike.html +3 -0
- package/typedoc/functions/shared_utils.isBlankObject.html +3 -0
- package/typedoc/functions/shared_utils.isBlob.html +1 -0
- package/typedoc/functions/shared_utils.isBoolean.html +1 -0
- package/typedoc/functions/shared_utils.isDate.html +1 -0
- package/typedoc/functions/shared_utils.isDefined.html +4 -0
- package/typedoc/functions/shared_utils.isElement.html +1 -0
- package/typedoc/functions/shared_utils.isError.html +5 -0
- package/typedoc/functions/shared_utils.isFile.html +1 -0
- package/typedoc/functions/shared_utils.isFormData.html +1 -0
- package/typedoc/functions/shared_utils.isFunction.html +4 -0
- package/typedoc/functions/shared_utils.isNumber.html +8 -0
- package/typedoc/functions/shared_utils.isNumberNaN.html +1 -0
- package/typedoc/functions/shared_utils.isObject.html +5 -0
- package/typedoc/functions/shared_utils.isPromiseLike.html +1 -0
- package/typedoc/functions/shared_utils.isRegExp.html +4 -0
- package/typedoc/functions/shared_utils.isScope.html +1 -0
- package/typedoc/functions/shared_utils.isString.html +4 -0
- package/typedoc/functions/shared_utils.isTypedArray.html +1 -0
- package/typedoc/functions/shared_utils.isUndefined.html +4 -0
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -0
- package/typedoc/functions/shared_utils.isWindow.html +4 -0
- package/typedoc/functions/shared_utils.lowercase.html +4 -0
- package/typedoc/functions/shared_utils.merge.html +22 -0
- package/typedoc/functions/shared_utils.mergeClasses.html +1 -0
- package/typedoc/functions/shared_utils.minErr.html +19 -0
- package/typedoc/functions/shared_utils.nextUid.html +6 -0
- package/typedoc/functions/shared_utils.parseKeyValue.html +2 -0
- package/typedoc/functions/shared_utils.reverseParams.html +2 -0
- package/typedoc/functions/shared_utils.setHashKey.html +4 -0
- package/typedoc/functions/shared_utils.shallowCopy.html +3 -0
- package/typedoc/functions/shared_utils.simpleCompare.html +1 -0
- package/typedoc/functions/shared_utils.sliceArgs.html +1 -0
- package/typedoc/functions/shared_utils.snakeCase.html +1 -0
- package/typedoc/functions/shared_utils.stringify.html +1 -0
- package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -0
- package/typedoc/functions/shared_utils.toDebugString.html +1 -0
- package/typedoc/functions/shared_utils.toInt.html +1 -0
- package/typedoc/functions/shared_utils.toJson.html +14 -0
- package/typedoc/functions/shared_utils.toKeyValue.html +1 -0
- package/typedoc/functions/shared_utils.trim.html +1 -0
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +3 -0
- package/typedoc/functions/shared_utils.uppercase.html +4 -0
- package/typedoc/functions/shared_utils.valueFn.html +1 -0
- package/typedoc/hierarchy.html +1 -0
- package/typedoc/index.html +92 -0
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +9 -0
- package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +3 -0
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -0
- package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -0
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -0
- package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -0
- package/typedoc/interfaces/core_parser_ast.ASTNode.html +46 -0
- package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +5 -0
- package/typedoc/interfaces/core_parser_lexer.Token.html +13 -0
- package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +11 -0
- package/typedoc/interfaces/core_parser_parser.ParsedAST.html +5 -0
- package/typedoc/interfaces/core_q_q.Deferred.html +9 -0
- package/typedoc/interfaces/core_q_q.QPromise.html +12 -0
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -0
- package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +10 -0
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +3 -0
- package/typedoc/interfaces/router_template_factory.BindingTuple.html +3 -0
- package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -0
- package/typedoc/interfaces/services_log.LogService.html +11 -0
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +8 -0
- package/typedoc/interfaces/types.Annotated.html +2 -0
- package/typedoc/interfaces/types.ChangesObject.html +8 -0
- package/typedoc/interfaces/types.Controller.html +32 -0
- package/typedoc/interfaces/types.Directive.html +35 -0
- package/typedoc/interfaces/types.DirectivePrePost.html +5 -0
- package/typedoc/interfaces/types.FormController.html +39 -0
- package/typedoc/interfaces/types.Module.html +30 -0
- package/typedoc/interfaces/types.NgModelController.html +59 -0
- package/typedoc/interfaces/types.NgModelOptions.html +15 -0
- package/typedoc/interfaces/types.OnChangesObject.html +5 -0
- package/typedoc/interfaces/types.ServiceProviderClass.html +3 -0
- package/typedoc/interfaces/types.TranscludeFunctionObject.html +5 -0
- package/typedoc/media/CONTRIBUTING.md +246 -0
- package/typedoc/media/DEVELOPERS.md +488 -0
- package/typedoc/modules/animations_animate.html +5 -0
- package/typedoc/modules/animations_animate_cache.html +3 -0
- package/typedoc/modules/animations_animate_children_directive.html +2 -0
- package/typedoc/modules/animations_animate_css.html +2 -0
- package/typedoc/modules/animations_animate_css_driver.html +2 -0
- package/typedoc/modules/animations_animate_js.html +2 -0
- package/typedoc/modules/animations_animate_js_driver.html +2 -0
- package/typedoc/modules/animations_animate_queue.html +2 -0
- package/typedoc/modules/animations_animate_runner.html +4 -0
- package/typedoc/modules/animations_animate_swap.html +2 -0
- package/typedoc/modules/animations_animation.html +2 -0
- package/typedoc/modules/animations_raf_scheduler.html +5 -0
- package/typedoc/modules/animations_shared.html +45 -0
- package/typedoc/modules/core_cache_cache.html +4 -0
- package/typedoc/modules/core_compile_attributes.html +3 -0
- package/typedoc/modules/core_compile_compile.html +3 -0
- package/typedoc/modules/core_controller_controller.html +3 -0
- package/typedoc/modules/core_di_injector.html +4 -0
- package/typedoc/modules/core_di_internal_injector.html +3 -0
- package/typedoc/modules/core_di_ng_module.html +8 -0
- package/typedoc/modules/core_exception_handler.html +5 -0
- package/typedoc/modules/core_filter_filter.html +2 -0
- package/typedoc/modules/core_interpolate_interpolate.html +2 -0
- package/typedoc/modules/core_interval_interval.html +3 -0
- package/typedoc/modules/core_interval_interval_factory.html +2 -0
- package/typedoc/modules/core_location_location.html +11 -0
- package/typedoc/modules/core_parser_ast.html +4 -0
- package/typedoc/modules/core_parser_ast_type.html +2 -0
- package/typedoc/modules/core_parser_interpreter.html +6 -0
- package/typedoc/modules/core_parser_lexer.html +4 -0
- package/typedoc/modules/core_parser_parse.html +7 -0
- package/typedoc/modules/core_parser_parser.html +3 -0
- package/typedoc/modules/core_pubsub_pubsub.html +3 -0
- package/typedoc/modules/core_q_q.html +6 -0
- package/typedoc/modules/core_sanitize_sanitize_uri.html +2 -0
- package/typedoc/modules/core_sce_sce.html +6 -0
- package/typedoc/modules/core_scope_scope.html +14 -0
- package/typedoc/modules/core_task_tracker_factory.html +3 -0
- package/typedoc/modules/core_timeout_timeout.html +2 -0
- package/typedoc/modules/core_url_utils_url_utils.html +8 -0
- package/typedoc/modules/directive_aria_aria.html +13 -0
- package/typedoc/modules/directive_attrs_attrs.html +3 -0
- package/typedoc/modules/directive_bind_bind.html +4 -0
- package/typedoc/modules/directive_change_change.html +2 -0
- package/typedoc/modules/directive_class_class.html +4 -0
- package/typedoc/modules/directive_cloak_cloak.html +2 -0
- package/typedoc/modules/directive_controller_controller.html +2 -0
- package/typedoc/modules/directive_events_events.html +3 -0
- package/typedoc/modules/directive_form_form.html +9 -0
- package/typedoc/modules/directive_if_if.html +2 -0
- package/typedoc/modules/directive_include_include.html +3 -0
- package/typedoc/modules/directive_init_init.html +2 -0
- package/typedoc/modules/directive_input_input.html +18 -0
- package/typedoc/modules/directive_list_list.html +2 -0
- package/typedoc/modules/directive_messages_messages.html +6 -0
- package/typedoc/modules/directive_model_model.html +4 -0
- package/typedoc/modules/directive_model_options_model_options.html +4 -0
- package/typedoc/modules/directive_non_bindable_non_bindable.html +2 -0
- package/typedoc/modules/directive_options_options.html +2 -0
- package/typedoc/modules/directive_ref_ref.html +2 -0
- package/typedoc/modules/directive_repeat_repeat.html +2 -0
- package/typedoc/modules/directive_script_script.html +2 -0
- package/typedoc/modules/directive_select_select.html +3 -0
- package/typedoc/modules/directive_show_hide_show_hide.html +3 -0
- package/typedoc/modules/directive_style_style.html +2 -0
- package/typedoc/modules/directive_switch_switch.html +4 -0
- package/typedoc/modules/directive_transclude_transclude.html +2 -0
- package/typedoc/modules/directive_validators_validators.html +5 -0
- package/typedoc/modules/filters_filter.html +2 -0
- package/typedoc/modules/filters_filters.html +3 -0
- package/typedoc/modules/filters_limit_to.html +2 -0
- package/typedoc/modules/filters_order_by.html +2 -0
- package/typedoc/modules/index.html +2 -0
- package/typedoc/modules/loader.html +3 -0
- package/typedoc/modules/public.html +3 -0
- package/typedoc/modules/router.html +2 -0
- package/typedoc/modules/router_common_coreservices.html +2 -0
- package/typedoc/modules/router_common_glob.html +103 -0
- package/typedoc/modules/router_common_queue.html +2 -0
- package/typedoc/modules/router_common_trace.html +20 -0
- package/typedoc/modules/router_directives_state_directives.html +4 -0
- package/typedoc/modules/router_directives_view_directive.html +3 -0
- package/typedoc/modules/router_globals.html +2 -0
- package/typedoc/modules/router_hooks_core_resolvables.html +3 -0
- package/typedoc/modules/router_hooks_ignored_transition.html +2 -0
- package/typedoc/modules/router_hooks_invalid_transition.html +2 -0
- package/typedoc/modules/router_hooks_lazy_load.html +3 -0
- package/typedoc/modules/router_hooks_on_enter_exit_retain.html +4 -0
- package/typedoc/modules/router_hooks_redirect_to.html +2 -0
- package/typedoc/modules/router_hooks_resolve.html +5 -0
- package/typedoc/modules/router_hooks_update_globals.html +2 -0
- package/typedoc/modules/router_hooks_url.html +2 -0
- package/typedoc/modules/router_hooks_views.html +3 -0
- package/typedoc/modules/router_params_param.html +3 -0
- package/typedoc/modules/router_params_param_factory.html +2 -0
- package/typedoc/modules/router_params_param_type.html +2 -0
- package/typedoc/modules/router_params_param_types.html +2 -0
- package/typedoc/modules/router_params_state_params.html +2 -0
- package/typedoc/modules/router_path_path_node.html +2 -0
- package/typedoc/modules/router_path_path_utils.html +2 -0
- package/typedoc/modules/router_resolve_resolvable.html +3 -0
- package/typedoc/modules/router_resolve_resolve_context.html +4 -0
- package/typedoc/modules/router_services.html +3 -0
- package/typedoc/modules/router_state_filters.html +3 -0
- package/typedoc/modules/router_state_state_builder.html +3 -0
- package/typedoc/modules/router_state_state_matcher.html +2 -0
- package/typedoc/modules/router_state_state_object.html +2 -0
- package/typedoc/modules/router_state_state_queue_manager.html +2 -0
- package/typedoc/modules/router_state_state_registry.html +3 -0
- package/typedoc/modules/router_state_state_service.html +2 -0
- package/typedoc/modules/router_state_target_state.html +2 -0
- package/typedoc/modules/router_state_views.html +4 -0
- package/typedoc/modules/router_template_factory.html +3 -0
- package/typedoc/modules/router_transition_hook_builder.html +2 -0
- package/typedoc/modules/router_transition_hook_registry.html +4 -0
- package/typedoc/modules/router_transition_interface.html +3 -0
- package/typedoc/modules/router_transition_reject_factory.html +3 -0
- package/typedoc/modules/router_transition_transition.html +2 -0
- package/typedoc/modules/router_transition_transition_event_type.html +2 -0
- package/typedoc/modules/router_transition_transition_hook.html +2 -0
- package/typedoc/modules/router_transition_transition_service.html +3 -0
- package/typedoc/modules/router_url_url_config.html +2 -0
- package/typedoc/modules/router_url_url_matcher.html +2 -0
- package/typedoc/modules/router_url_url_rule.html +3 -0
- package/typedoc/modules/router_url_url_rules.html +2 -0
- package/typedoc/modules/router_url_url_service.html +2 -0
- package/typedoc/modules/router_view_scroll.html +2 -0
- package/typedoc/modules/router_view_view.html +2 -0
- package/typedoc/modules/services_anchor_scroll.html +5 -0
- package/typedoc/modules/services_browser.html +5 -0
- package/typedoc/modules/services_cache_factory.html +3 -0
- package/typedoc/modules/services_cookie_reader.html +2 -0
- package/typedoc/modules/services_http_backend_http_backend.html +3 -0
- package/typedoc/modules/services_http_http.html +5 -0
- package/typedoc/modules/services_log.html +6 -0
- package/typedoc/modules/services_template_request.html +2 -0
- package/typedoc/modules/shared_common.html +39 -0
- package/typedoc/modules/shared_constants.html +12 -0
- package/typedoc/modules/shared_hof.html +18 -0
- package/typedoc/modules/shared_jqlite_jqlite.html +15 -0
- package/typedoc/modules/shared_predicates.html +8 -0
- package/typedoc/modules/shared_strings.html +18 -0
- package/typedoc/modules/shared_utils.html +76 -0
- package/typedoc/modules/types.html +37 -0
- package/typedoc/types/animations_animate.AnimationMethod.html +1 -0
- package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -0
- package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -0
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -0
- package/typedoc/types/core_exception_handler.ErrorHandler.html +3 -0
- package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -0
- package/typedoc/types/core_interval_interval.IntervalId.html +2 -0
- package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -0
- package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -0
- package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -0
- package/typedoc/types/core_parser_parse.ParseService.html +1 -0
- package/typedoc/types/core_scope_scope.TTL.html +2 -0
- package/typedoc/types/core_scope_scope.WatchExpression.html +1 -0
- package/typedoc/types/core_scope_scope.WatchListener.html +2 -0
- package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -0
- package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -0
- package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -0
- package/typedoc/types/services_browser.UrlChangeListener.html +1 -0
- package/typedoc/types/services_log.LogCall.html +1 -0
- package/typedoc/types/types.AnnotatedFunction.html +1 -0
- package/typedoc/types/types.AsyncModelValidators.html +1 -0
- package/typedoc/types/types.Attributes.html +1 -0
- package/typedoc/types/types.BootstrapConfig.html +1 -0
- package/typedoc/types/types.CloneAttachFunction.html +2 -0
- package/typedoc/types/types.ComponentOptions.html +1 -0
- package/typedoc/types/types.ControllerConstructor.html +1 -0
- package/typedoc/types/types.DirectiveCompileFn.html +3 -0
- package/typedoc/types/types.DirectiveController.html +1 -0
- package/typedoc/types/types.DirectiveFactory.html +1 -0
- package/typedoc/types/types.DirectiveLinkFn.html +1 -0
- package/typedoc/types/types.FilterFactory.html +1 -0
- package/typedoc/types/types.FilterFunction.html +1 -0
- package/typedoc/types/types.Injectable.html +1 -0
- package/typedoc/types/types.ModelValidators.html +1 -0
- package/typedoc/types/types.ServiceProviderFactory.html +1 -0
- package/typedoc/types/types.TAttributes.html +1 -0
- package/typedoc/types/types.TController.html +1 -0
- package/typedoc/types/types.TElement.html +1 -0
- package/typedoc/types/types.TScope.html +1 -0
- package/typedoc/types/types.TranscludeFunction.html +1 -0
- package/typedoc/types/types.transcludeWithScope.html +1 -0
- package/typedoc/types/types.transcludeWithoutScope.html +1 -0
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -0
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -0
- package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -0
- package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -0
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -0
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -0
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -0
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -0
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -0
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -0
- package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -0
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -0
- package/typedoc/variables/core_cache_cache.CACHE.html +5 -0
- package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -0
- package/typedoc/variables/core_di_injector.path.html +1 -0
- package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -0
- package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -0
- package/typedoc/variables/core_parser_ast.literals.html +1 -0
- package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -0
- package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -0
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -0
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -0
- package/typedoc/variables/core_scope_scope.TTL-1.html +4 -0
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -0
- package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -0
- package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -0
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -0
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -0
- package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +2 -0
- package/typedoc/variables/directive_class_class.ngClassDirective.html +58 -0
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +27 -0
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +27 -0
- package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -0
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -0
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -0
- package/typedoc/variables/directive_form_form.formDirective.html +1 -0
- package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -0
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -0
- package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -0
- package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -0
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -0
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -0
- package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -0
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -0
- package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -0
- package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -0
- package/typedoc/variables/directive_script_script.scriptDirective.html +1 -0
- package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -0
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -0
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +22 -0
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +22 -0
- package/typedoc/variables/directive_validators_validators.patternDirective.html +36 -0
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +16 -0
- package/typedoc/variables/index.angular.html +1 -0
- package/typedoc/variables/public.VERSION.html +1 -0
- package/typedoc/variables/router_common_coreservices.services.html +1 -0
- package/typedoc/variables/router_common_trace.Category.html +7 -0
- package/typedoc/variables/router_common_trace.trace-1.html +5 -0
- package/typedoc/variables/router_directives_view_directive.ngView.html +59 -0
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -0
- package/typedoc/variables/router_params_param.DefType.html +1 -0
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -0
- package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +1 -0
- package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -0
- package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +2 -0
- package/typedoc/variables/router_transition_interface.TransitionHookScope.html +2 -0
- package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +5 -0
- package/typedoc/variables/services_log.LogService-1.html +1 -0
- package/typedoc/variables/shared_common.fromJson.html +1 -0
- package/typedoc/variables/shared_common.pushTo.html +2 -0
- package/typedoc/variables/shared_common.removeFrom.html +3 -0
- package/typedoc/variables/shared_common.toJson.html +1 -0
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -0
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -0
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -0
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -0
- package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -0
- package/typedoc/variables/shared_hof.propEq.html +6 -0
- package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -0
- package/typedoc/variables/shared_strings.hostRegex.html +1 -0
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -0
- package/typedoc.json +6 -0
- package/types/animations/animate.d.ts +1 -17
- package/types/core/compile/attributes.d.ts +0 -20
- package/types/core/compile/compile.d.ts +0 -5
- package/types/core/controller/controller.d.ts +0 -4
- package/types/core/exception-handler.d.ts +1 -1
- package/types/core/interpolate/interpolate.d.ts +0 -6
- package/types/core/q/q.d.ts +0 -5
- package/types/core/sce/sce.d.ts +0 -265
- package/types/core/scope/scope.d.ts +1 -75
- package/types/core/task-tracker-factory.d.ts +3 -3
- package/types/core/url-utils/url-utils.d.ts +1 -47
- package/types/directive/aria/aria.d.ts +0 -6
- package/types/directive/class/class.d.ts +0 -16
- package/types/directive/form/form.d.ts +0 -24
- package/types/directive/model/model.d.ts +5 -49
- package/types/directive/script/script.d.ts +0 -15
- package/types/directive/validators/validators.d.ts +0 -15
- package/types/services/browser.d.ts +0 -8
- package/types/services/cache-factory.d.ts +0 -8
- package/types/services/http/http.d.ts +0 -13
- package/types/services/http-backend/http-backend.d.ts +0 -4
- package/types/services/log.d.ts +29 -36
- package/types/types.d.ts +130 -3
|
@@ -22,11 +22,6 @@ export class Attributes {
|
|
|
22
22
|
$attr: {};
|
|
23
23
|
$$element: import("../../shared/jqlite/jqlite").JQLite;
|
|
24
24
|
/**
|
|
25
|
-
* @ngdoc method
|
|
26
|
-
* @name $compile.directive.Attributes#$normalize
|
|
27
|
-
* @kind function
|
|
28
|
-
*
|
|
29
|
-
* @description
|
|
30
25
|
* Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with `x-` or
|
|
31
26
|
* `data-`) to its normalized, camelCase form.
|
|
32
27
|
*
|
|
@@ -38,11 +33,6 @@ export class Attributes {
|
|
|
38
33
|
*/
|
|
39
34
|
$normalize: typeof directiveNormalize;
|
|
40
35
|
/**
|
|
41
|
-
* @ngdoc method
|
|
42
|
-
* @name $compile.directive.Attributes#$addClass
|
|
43
|
-
* @kind function
|
|
44
|
-
*
|
|
45
|
-
* @description
|
|
46
36
|
* Adds the CSS class value specified by the classVal parameter to the element. If animations
|
|
47
37
|
* are enabled then an animation will be triggered for the class addition.
|
|
48
38
|
*
|
|
@@ -50,11 +40,6 @@ export class Attributes {
|
|
|
50
40
|
*/
|
|
51
41
|
$addClass(classVal: string): void;
|
|
52
42
|
/**
|
|
53
|
-
* @ngdoc method
|
|
54
|
-
* @name $compile.directive.Attributes#$removeClass
|
|
55
|
-
* @kind function
|
|
56
|
-
*
|
|
57
|
-
* @description
|
|
58
43
|
* Removes the CSS class value specified by the classVal parameter from the element. If
|
|
59
44
|
* animations are enabled then an animation will be triggered for the class removal.
|
|
60
45
|
*
|
|
@@ -62,11 +47,6 @@ export class Attributes {
|
|
|
62
47
|
*/
|
|
63
48
|
$removeClass(classVal: string): void;
|
|
64
49
|
/**
|
|
65
|
-
* @ngdoc method
|
|
66
|
-
* @name $compile.directive.Attributes#$updateClass
|
|
67
|
-
* @kind function
|
|
68
|
-
*
|
|
69
|
-
* @description
|
|
70
50
|
* Adds and removes the appropriate CSS class values to the element based on the difference
|
|
71
51
|
* between the new and old CSS class values (specified as newClasses and oldClasses).
|
|
72
52
|
*
|
|
@@ -58,11 +58,6 @@ export class $CompileProvider {
|
|
|
58
58
|
*/
|
|
59
59
|
component: (name: string | any, options: any) => $CompileProvider;
|
|
60
60
|
/**
|
|
61
|
-
* @ngdoc method
|
|
62
|
-
* @name $compileProvider#aHrefSanitizationTrustedUrlList
|
|
63
|
-
* @kind function
|
|
64
|
-
*
|
|
65
|
-
* @description
|
|
66
61
|
* Retrieves or overrides the default regular expression that is used for determining trusted safe
|
|
67
62
|
* urls during a[href] sanitization.
|
|
68
63
|
*
|
|
@@ -9,14 +9,10 @@ export function identifierForController(controller: any, ident: any): any;
|
|
|
9
9
|
export function $ControllerProvider(): void;
|
|
10
10
|
export class $ControllerProvider {
|
|
11
11
|
/**
|
|
12
|
-
* @ngdoc method
|
|
13
|
-
* @name $controllerProvider#has
|
|
14
12
|
* @param {string} name Controller name to check.
|
|
15
13
|
*/
|
|
16
14
|
has: (name: string) => any;
|
|
17
15
|
/**
|
|
18
|
-
* @ngdoc method
|
|
19
|
-
* @name $controllerProvider#register
|
|
20
16
|
* @param {string|Object} name Controller name, or an object map of controllers where the keys are
|
|
21
17
|
* the names and the values are the constructors.
|
|
22
18
|
* @param {Function|Array} constructor Controller constructor fn (optionally decorated with DI
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export function $ExceptionHandlerProvider(this: any): void;
|
|
6
6
|
export class $ExceptionHandlerProvider {
|
|
7
|
-
$get: (string | (($log:
|
|
7
|
+
$get: (string | (($log: import("../services/log").LogService) => ErrorHandler))[];
|
|
8
8
|
}
|
|
9
9
|
export function errorHandler(exception: any, cause: any): void;
|
|
10
10
|
export type ExceptionHandlerProvider = import("../types").ServiceProvider;
|
|
@@ -29,9 +29,6 @@ export class $InterpolateProvider {
|
|
|
29
29
|
$get: (string | (($parse: import("../parser/parse").ParseService, $exceptionHandler: import("../exception-handler").ErrorHandler, $sce: any) => {
|
|
30
30
|
(text: string, mustHaveExpression?: boolean | undefined, trustedContext?: string | undefined, allOrNothing?: boolean | undefined): Function;
|
|
31
31
|
/**
|
|
32
|
-
* @ngdoc method
|
|
33
|
-
* @name $interpolate#startSymbol
|
|
34
|
-
* @description
|
|
35
32
|
* Symbol to denote the start of expression in the interpolated string. Defaults to `{{`.
|
|
36
33
|
*
|
|
37
34
|
* Use {@link ng.$interpolateProvider#startSymbol `$interpolateProvider.startSymbol`} to change
|
|
@@ -41,9 +38,6 @@ export class $InterpolateProvider {
|
|
|
41
38
|
*/
|
|
42
39
|
startSymbol(): string;
|
|
43
40
|
/**
|
|
44
|
-
* @ngdoc method
|
|
45
|
-
* @name $interpolate#endSymbol
|
|
46
|
-
* @description
|
|
47
41
|
* Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.
|
|
48
42
|
*
|
|
49
43
|
* Use {@link ng.$interpolateProvider#endSymbol `$interpolateProvider.endSymbol`} to change
|
package/types/core/q/q.d.ts
CHANGED
|
@@ -30,11 +30,6 @@ export function $QProvider(): void;
|
|
|
30
30
|
export class $QProvider {
|
|
31
31
|
$get: (string | (($rootScope: import("../scope/scope").Scope, $exceptionHandler: import("../exception-handler").ErrorHandler) => any))[];
|
|
32
32
|
/**
|
|
33
|
-
* @ngdoc method
|
|
34
|
-
* @name $qProvider#errorOnUnhandledRejections
|
|
35
|
-
* @kind function
|
|
36
|
-
*
|
|
37
|
-
* @description
|
|
38
33
|
* Retrieves or overrides whether to generate an error when a rejected promise is not handled.
|
|
39
34
|
* This feature is enabled by default.
|
|
40
35
|
*
|
package/types/core/sce/sce.d.ts
CHANGED
|
@@ -1,12 +1,6 @@
|
|
|
1
1
|
export function escapeForRegexp(s: any): any;
|
|
2
2
|
export function adjustMatcher(matcher: any): any;
|
|
3
3
|
/**
|
|
4
|
-
* @ngdoc service
|
|
5
|
-
* @name $sceDelegate
|
|
6
|
-
* @kind function
|
|
7
|
-
*
|
|
8
|
-
* @description
|
|
9
|
-
*
|
|
10
4
|
* `$sceDelegate` is a service that is used by the `$sce` service to provide {@link ng.$sce Strict
|
|
11
5
|
* Contextual Escaping (SCE)} services to AngularJS.
|
|
12
6
|
*
|
|
@@ -37,11 +31,6 @@ export function adjustMatcher(matcher: any): any;
|
|
|
37
31
|
* ng.$sceDelegateProvider#bannedResourceUrlList $sceDelegateProvider.bannedResourceUrlList}
|
|
38
32
|
*/
|
|
39
33
|
/**
|
|
40
|
-
* @ngdoc provider
|
|
41
|
-
* @name $sceDelegateProvider
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
* @description
|
|
45
34
|
*
|
|
46
35
|
* The `$sceDelegateProvider` provider allows developers to configure the {@link ng.$sceDelegate
|
|
47
36
|
* $sceDelegate service}, used as a delegate for {@link ng.$sce Strict Contextual Escaping (SCE)}.
|
|
@@ -100,9 +89,6 @@ export class $SceDelegateProvider {
|
|
|
100
89
|
JS: string;
|
|
101
90
|
};
|
|
102
91
|
/**
|
|
103
|
-
* @ngdoc method
|
|
104
|
-
* @name $sceDelegateProvider#trustedResourceUrlList
|
|
105
|
-
* @kind function
|
|
106
92
|
*
|
|
107
93
|
* @param {Array=} trustedResourceUrlList When provided, replaces the trustedResourceUrlList with
|
|
108
94
|
* the value provided. This must be an array or null. A snapshot of this array is used so
|
|
@@ -125,9 +111,6 @@ export class $SceDelegateProvider {
|
|
|
125
111
|
*/
|
|
126
112
|
trustedResourceUrlList: (value: any, ...args: any[]) => any[];
|
|
127
113
|
/**
|
|
128
|
-
* @ngdoc method
|
|
129
|
-
* @name $sceDelegateProvider#bannedResourceUrlList
|
|
130
|
-
* @kind function
|
|
131
114
|
*
|
|
132
115
|
* @param {Array=} bannedResourceUrlList When provided, replaces the `bannedResourceUrlList` with
|
|
133
116
|
* the value provided. This must be an array or null. A snapshot of this array is used so
|
|
@@ -156,257 +139,9 @@ export class $SceDelegateProvider {
|
|
|
156
139
|
valueOf: (maybeTrusted: any) => any;
|
|
157
140
|
}))[];
|
|
158
141
|
}
|
|
159
|
-
/**
|
|
160
|
-
* @ngdoc provider
|
|
161
|
-
* @name $sceProvider
|
|
162
|
-
*
|
|
163
|
-
*
|
|
164
|
-
* @description
|
|
165
|
-
*
|
|
166
|
-
* The $sceProvider provider allows developers to configure the {@link ng.$sce $sce} service.
|
|
167
|
-
* - enable/disable Strict Contextual Escaping (SCE) in a module
|
|
168
|
-
* - override the default implementation with a custom delegate
|
|
169
|
-
*
|
|
170
|
-
* Read more about {@link ng.$sce Strict Contextual Escaping (SCE)}.
|
|
171
|
-
*/
|
|
172
|
-
/**
|
|
173
|
-
* @ngdoc service
|
|
174
|
-
* @name $sce
|
|
175
|
-
* @kind function
|
|
176
|
-
*
|
|
177
|
-
* @description
|
|
178
|
-
*
|
|
179
|
-
* `$sce` is a service that provides Strict Contextual Escaping services to AngularJS.
|
|
180
|
-
*
|
|
181
|
-
* ## Strict Contextual Escaping
|
|
182
|
-
*
|
|
183
|
-
* Strict Contextual Escaping (SCE) is a mode in which AngularJS constrains bindings to only render
|
|
184
|
-
* trusted values. Its goal is to assist in writing code in a way that (a) is secure by default, and
|
|
185
|
-
* (b) makes auditing for security vulnerabilities such as XSS, clickjacking, etc. a lot easier.
|
|
186
|
-
*
|
|
187
|
-
* ### Overview
|
|
188
|
-
*
|
|
189
|
-
* To systematically block XSS security bugs, AngularJS treats all values as untrusted by default in
|
|
190
|
-
* HTML or sensitive URL bindings. When binding untrusted values, AngularJS will automatically
|
|
191
|
-
* run security checks on them (sanitizations, trusted URL resource, depending on context), or throw
|
|
192
|
-
* when it cannot guarantee the security of the result. That behavior depends strongly on contexts:
|
|
193
|
-
* HTML can be sanitized, but template URLs cannot, for instance.
|
|
194
|
-
*
|
|
195
|
-
* To illustrate this, consider the `ng-bind-html` directive. It renders its value directly as HTML:
|
|
196
|
-
* we call that the *context*. When given an untrusted input, AngularJS will attempt to sanitize it
|
|
197
|
-
* before rendering if a sanitizer is available, and throw otherwise. To bypass sanitization and
|
|
198
|
-
* render the input as-is, you will need to mark it as trusted for that context before attempting
|
|
199
|
-
* to bind it.
|
|
200
|
-
*
|
|
201
|
-
* As of version 1.2, AngularJS ships with SCE enabled by default.
|
|
202
|
-
*
|
|
203
|
-
* ### In practice
|
|
204
|
-
*
|
|
205
|
-
* Here's an example of a binding in a privileged context:
|
|
206
|
-
*
|
|
207
|
-
* ```
|
|
208
|
-
* <input ng-model="userHtml" aria-label="User input">
|
|
209
|
-
* <div ng-bind-html="userHtml"></div>
|
|
210
|
-
* ```
|
|
211
|
-
*
|
|
212
|
-
* Notice that `ng-bind-html` is bound to `userHtml` controlled by the user. With SCE
|
|
213
|
-
* disabled, this application allows the user to render arbitrary HTML into the DIV, which would
|
|
214
|
-
* be an XSS security bug. In a more realistic example, one may be rendering user comments, blog
|
|
215
|
-
* articles, etc. via bindings. (HTML is just one example of a context where rendering user
|
|
216
|
-
* controlled input creates security vulnerabilities.)
|
|
217
|
-
*
|
|
218
|
-
* For the case of HTML, you might use a library, either on the client side, or on the server side,
|
|
219
|
-
* to sanitize unsafe HTML before binding to the value and rendering it in the document.
|
|
220
|
-
*
|
|
221
|
-
* How would you ensure that every place that used these types of bindings was bound to a value that
|
|
222
|
-
* was sanitized by your library (or returned as safe for rendering by your server?) How can you
|
|
223
|
-
* ensure that you didn't accidentally delete the line that sanitized the value, or renamed some
|
|
224
|
-
* properties/fields and forgot to update the binding to the sanitized value?
|
|
225
|
-
*
|
|
226
|
-
* To be secure by default, AngularJS makes sure bindings go through that sanitization, or
|
|
227
|
-
* any similar validation process, unless there's a good reason to trust the given value in this
|
|
228
|
-
* context. That trust is formalized with a function call. This means that as a developer, you
|
|
229
|
-
* can assume all untrusted bindings are safe. Then, to audit your code for binding security issues,
|
|
230
|
-
* you just need to ensure the values you mark as trusted indeed are safe - because they were
|
|
231
|
-
* received from your server, sanitized by your library, etc. You can organize your codebase to
|
|
232
|
-
* help with this - perhaps allowing only the files in a specific directory to do this.
|
|
233
|
-
* Ensuring that the internal API exposed by that code doesn't markup arbitrary values as safe then
|
|
234
|
-
* becomes a more manageable task.
|
|
235
|
-
*
|
|
236
|
-
* In the case of AngularJS' SCE service, one uses {@link ng.$sce#trustAs $sce.trustAs}
|
|
237
|
-
* (and shorthand methods such as {@link ng.$sce#trustAsHtml $sce.trustAsHtml}, etc.) to
|
|
238
|
-
* build the trusted versions of your values.
|
|
239
|
-
*
|
|
240
|
-
* ### How does it work?
|
|
241
|
-
*
|
|
242
|
-
* In privileged contexts, directives and code will bind to the result of {@link ng.$sce#getTrusted
|
|
243
|
-
* $sce.getTrusted(context, value)} rather than to the value directly. Think of this function as
|
|
244
|
-
* a way to enforce the required security context in your data sink. Directives use {@link
|
|
245
|
-
* ng.$sce#parseAs $sce.parseAs} rather than `$parse` to watch attribute bindings, which performs
|
|
246
|
-
* the {@link ng.$sce#getTrusted $sce.getTrusted} behind the scenes on non-constant literals. Also,
|
|
247
|
-
* when binding without directives, AngularJS will understand the context of your bindings
|
|
248
|
-
* automatically.
|
|
249
|
-
*
|
|
250
|
-
* As an example, {@link ng.directive:ngBindHtml ngBindHtml} uses {@link
|
|
251
|
-
* ng.$sce#parseAsHtml $sce.parseAsHtml(binding expression)}. Here's the actual code (slightly
|
|
252
|
-
* simplified):
|
|
253
|
-
*
|
|
254
|
-
* ```
|
|
255
|
-
* let ngBindHtmlDirective = ['$sce', function($sce) {
|
|
256
|
-
* return function(scope, element, attr) {
|
|
257
|
-
* scope.$watch($sce.parseAsHtml(attr.ngBindHtml), function(value) {
|
|
258
|
-
* element.html(value || '');
|
|
259
|
-
* });
|
|
260
|
-
* };
|
|
261
|
-
* }];
|
|
262
|
-
* ```
|
|
263
|
-
*
|
|
264
|
-
* ### Impact on loading templates
|
|
265
|
-
*
|
|
266
|
-
* This applies both to the {@link ng.directive:ngInclude `ng-include`} directive as well as
|
|
267
|
-
* `templateUrl`'s specified by {@link guide/directive directives}.
|
|
268
|
-
*
|
|
269
|
-
* By default, AngularJS only loads templates from the same domain and protocol as the application
|
|
270
|
-
* document. This is done by calling {@link ng.$sce#getTrustedResourceUrl
|
|
271
|
-
* $sce.getTrustedResourceUrl} on the template URL. To load templates from other domains and/or
|
|
272
|
-
* protocols, you may either add them to the {@link ng.$sceDelegateProvider#trustedResourceUrlList
|
|
273
|
-
* trustedResourceUrlList} or {@link ng.$sce#trustAsResourceUrl wrap them} into trusted values.
|
|
274
|
-
*
|
|
275
|
-
* *Please note*:
|
|
276
|
-
* The browser's
|
|
277
|
-
* [Same Origin Policy](https://code.google.com/p/browsersec/wiki/Part2#Same-origin_policy_for_XMLHttpRequest)
|
|
278
|
-
* and [Cross-Origin Resource Sharing (CORS)](http://www.w3.org/TR/cors/)
|
|
279
|
-
* policy apply in addition to this and may further restrict whether the template is successfully
|
|
280
|
-
* loaded. This means that without the right CORS policy, loading templates from a different domain
|
|
281
|
-
* won't work on all browsers. Also, loading templates from `file://` URL does not work on some
|
|
282
|
-
* browsers.
|
|
283
|
-
*
|
|
284
|
-
* ### This feels like too much overhead
|
|
285
|
-
*
|
|
286
|
-
* It's important to remember that SCE only applies to interpolation expressions.
|
|
287
|
-
*
|
|
288
|
-
* If your expressions are constant literals, they're automatically trusted and you don't need to
|
|
289
|
-
* call `$sce.trustAs` on them (e.g.
|
|
290
|
-
* `<div ng-bind-html="'<b>implicitly trusted</b>'"></div>`) just works (remember to include the
|
|
291
|
-
* `ngSanitize` module). The `$sceDelegate` will also use the `$sanitize` service if it is available
|
|
292
|
-
* when binding untrusted values to `$sce.HTML` context.
|
|
293
|
-
* AngularJS provides an implementation in `angular-sanitize.js`, and if you
|
|
294
|
-
* wish to use it, you will also need to depend on the {@link ngSanitize `ngSanitize`} module in
|
|
295
|
-
* your application.
|
|
296
|
-
*
|
|
297
|
-
* The included {@link ng.$sceDelegate $sceDelegate} comes with sane defaults to allow you to load
|
|
298
|
-
* templates in `ng-include` from your application's domain without having to even know about SCE.
|
|
299
|
-
* It blocks loading templates from other domains or loading templates over http from an https
|
|
300
|
-
* served document. You can change these by setting your own custom {@link
|
|
301
|
-
* ng.$sceDelegateProvider#trustedResourceUrlList trusted resource URL list} and {@link
|
|
302
|
-
* ng.$sceDelegateProvider#bannedResourceUrlList banned resource URL list} for matching such URLs.
|
|
303
|
-
*
|
|
304
|
-
* This significantly reduces the overhead. It is far easier to pay the small overhead and have an
|
|
305
|
-
* application that's secure and can be audited to verify that with much more ease than bolting
|
|
306
|
-
* security onto an application later.
|
|
307
|
-
*
|
|
308
|
-
* <a name="contexts"></a>
|
|
309
|
-
* ### What trusted context types are supported?
|
|
310
|
-
*
|
|
311
|
-
* | Context | Notes |
|
|
312
|
-
* |---------------------|----------------|
|
|
313
|
-
* | `$sce.HTML` | For HTML that's safe to source into the application. The {@link ng.directive:ngBindHtml ngBindHtml} directive uses this context for bindings. If an unsafe value is encountered and the {@link ngSanitize $sanitize} module is present this will sanitize the value instead of throwing an error. |
|
|
314
|
-
* | `$sce.CSS` | For CSS that's safe to source into the application. Currently unused. Feel free to use it in your own directives. |
|
|
315
|
-
* | `$sce.MEDIA_URL` | For URLs that are safe to render as media. Is automatically converted from string by sanitizing when needed. |
|
|
316
|
-
* | `$sce.URL` | For URLs that are safe to follow as links. Is automatically converted from string by sanitizing when needed. Note that `$sce.URL` makes a stronger statement about the URL than `$sce.MEDIA_URL` does and therefore contexts requiring values trusted for `$sce.URL` can be used anywhere that values trusted for `$sce.MEDIA_URL` are required.|
|
|
317
|
-
* | `$sce.RESOURCE_URL` | For URLs that are not only safe to follow as links, but whose contents are also safe to include in your application. Examples include `ng-include`, `src` / `ngSrc` bindings for tags other than `IMG` (e.g. `IFRAME`, `OBJECT`, etc.) <br><br>Note that `$sce.RESOURCE_URL` makes a stronger statement about the URL than `$sce.URL` or `$sce.MEDIA_URL` do and therefore contexts requiring values trusted for `$sce.RESOURCE_URL` can be used anywhere that values trusted for `$sce.URL` or `$sce.MEDIA_URL` are required. <br><br> The {@link $sceDelegateProvider#trustedResourceUrlList $sceDelegateProvider#trustedResourceUrlList()} and {@link $sceDelegateProvider#bannedResourceUrlList $sceDelegateProvider#bannedResourceUrlList()} can be used to restrict trusted origins for `RESOURCE_URL` |
|
|
318
|
-
* | `$sce.JS` | For JavaScript that is safe to execute in your application's context. Currently unused. Feel free to use it in your own directives. |
|
|
319
|
-
*
|
|
320
|
-
*
|
|
321
|
-
* <div class="alert alert-warning">
|
|
322
|
-
* Be aware that, before AngularJS 1.7.0, `a[href]` and `img[src]` used to sanitize their
|
|
323
|
-
* interpolated values directly rather than rely upon {@link ng.$sce#getTrusted `$sce.getTrusted`}.
|
|
324
|
-
*
|
|
325
|
-
* **As of 1.7.0, this is no longer the case.**
|
|
326
|
-
*
|
|
327
|
-
* Now such interpolations are marked as requiring `$sce.URL` (for `a[href]`) or `$sce.MEDIA_URL`
|
|
328
|
-
* (for `img[src]`), so that the sanitization happens (via `$sce.getTrusted...`) when the `$interpolate`
|
|
329
|
-
* service evaluates the expressions.
|
|
330
|
-
* </div>
|
|
331
|
-
*
|
|
332
|
-
* There are no CSS or JS context bindings in AngularJS currently, so their corresponding `$sce.trustAs`
|
|
333
|
-
* functions aren't useful yet. This might evolve.
|
|
334
|
-
*
|
|
335
|
-
* ### Format of items in {@link ng.$sceDelegateProvider#trustedResourceUrlList trustedResourceUrlList}/{@link ng.$sceDelegateProvider#bannedResourceUrlList bannedResourceUrlList} <a name="resourceUrlPatternItem"></a>
|
|
336
|
-
*
|
|
337
|
-
* Each element in these arrays must be one of the following:
|
|
338
|
-
*
|
|
339
|
-
* - **'self'**
|
|
340
|
-
* - The special **string**, `'self'`, can be used to match against all URLs of the **same
|
|
341
|
-
* domain** as the application document using the **same protocol**.
|
|
342
|
-
* - **String** (except the special value `'self'`)
|
|
343
|
-
* - The string is matched against the full *normalized / absolute URL* of the resource
|
|
344
|
-
* being tested (substring matches are not good enough.)
|
|
345
|
-
* - There are exactly **two wildcard sequences** - `*` and `**`. All other characters
|
|
346
|
-
* match themselves.
|
|
347
|
-
* - `*`: matches zero or more occurrences of any character other than one of the following 6
|
|
348
|
-
* characters: '`:`', '`/`', '`.`', '`?`', '`&`' and '`;`'. It's a useful wildcard for use
|
|
349
|
-
* for matching resource URL lists.
|
|
350
|
-
* - `**`: matches zero or more occurrences of *any* character. As such, it's not
|
|
351
|
-
* appropriate for use in a scheme, domain, etc. as it would match too much. (e.g.
|
|
352
|
-
* http://**.example.com/ would match http://evil.com/?ignore=.example.com/ and that might
|
|
353
|
-
* not have been the intention.) Its usage at the very end of the path is ok. (e.g.
|
|
354
|
-
* http://foo.example.com/templates/**).
|
|
355
|
-
* - **RegExp** (*see caveat below*)
|
|
356
|
-
* - *Caveat*: While regular expressions are powerful and offer great flexibility, their syntax
|
|
357
|
-
* (and all the inevitable escaping) makes them *harder to maintain*. It's easy to
|
|
358
|
-
* accidentally introduce a bug when one updates a complex expression (imho, all regexes should
|
|
359
|
-
* have good test coverage). For instance, the use of `.` in the regex is correct only in a
|
|
360
|
-
* small number of cases. A `.` character in the regex used when matching the scheme or a
|
|
361
|
-
* subdomain could be matched against a `:` or literal `.` that was likely not intended. It
|
|
362
|
-
* is highly recommended to use the string patterns and only fall back to regular expressions
|
|
363
|
-
* as a last resort.
|
|
364
|
-
* - The regular expression must be an instance of RegExp (i.e. not a string.) It is
|
|
365
|
-
* matched against the **entire** *normalized / absolute URL* of the resource being tested
|
|
366
|
-
* (even when the RegExp did not have the `^` and `$` codes.) In addition, any flags
|
|
367
|
-
* present on the RegExp (such as multiline, global, ignoreCase) are ignored.
|
|
368
|
-
* - If you are generating your JavaScript from some other templating engine (not
|
|
369
|
-
* recommended, e.g. in issue [#4006](https://github.com/angular/angular.js/issues/4006)),
|
|
370
|
-
* remember to escape your regular expression (and be aware that you might need more than
|
|
371
|
-
* one level of escaping depending on your templating engine and the way you interpolated
|
|
372
|
-
* the value.) Do make use of your platform's escaping mechanism as it might be good
|
|
373
|
-
* enough before coding your own. E.g. Ruby has
|
|
374
|
-
* [Regexp.escape(str)](http://www.ruby-doc.org/core-2.0.0/Regexp.html#method-c-escape)
|
|
375
|
-
* and Python has [re.escape](http://docs.python.org/library/re.html#re.escape).
|
|
376
|
-
* Javascript lacks a similar built in function for escaping. Take a look at Google
|
|
377
|
-
* Closure library's [goog.string.regExpEscape(s)](
|
|
378
|
-
* http://docs.closure-library.googlecode.com/git/closure_goog_string_string.js.source.html#line962).
|
|
379
|
-
*
|
|
380
|
-
* Refer {@link ng.$sceDelegateProvider $sceDelegateProvider} for an example.
|
|
381
|
-
*
|
|
382
|
-
*
|
|
383
|
-
* ## Can I disable SCE completely?
|
|
384
|
-
*
|
|
385
|
-
* Yes, you can. However, this is strongly discouraged. SCE gives you a lot of security benefits
|
|
386
|
-
* for little coding overhead. It will be much harder to take an SCE disabled application and
|
|
387
|
-
* either secure it on your own or enable SCE at a later stage. It might make sense to disable SCE
|
|
388
|
-
* for cases where you have a lot of existing code that was written before SCE was introduced and
|
|
389
|
-
* you're migrating them a module at a time. Also do note that this is an app-wide setting, so if
|
|
390
|
-
* you are writing a library, you will cause security bugs applications using it.
|
|
391
|
-
*
|
|
392
|
-
* That said, here's how you can completely disable SCE:
|
|
393
|
-
*
|
|
394
|
-
* ```
|
|
395
|
-
* angular.module('myAppWithSceDisabledmyApp', []).config(function($sceProvider) {
|
|
396
|
-
* // Completely disable SCE. For demonstration purposes only!
|
|
397
|
-
* // Do not use in new projects or libraries.
|
|
398
|
-
* $sceProvider.enabled(false);
|
|
399
|
-
* });
|
|
400
|
-
* ```
|
|
401
|
-
*
|
|
402
|
-
*/
|
|
403
142
|
export function $SceProvider(): void;
|
|
404
143
|
export class $SceProvider {
|
|
405
144
|
/**
|
|
406
|
-
* @ngdoc method
|
|
407
|
-
* @name $sceProvider#enabled
|
|
408
|
-
* @kind function
|
|
409
|
-
*
|
|
410
145
|
* @param {boolean=} value If provided, then enables/disables SCE application-wide.
|
|
411
146
|
* @return {boolean} True if SCE is enabled, false otherwise.
|
|
412
147
|
*
|
|
@@ -179,11 +179,6 @@ export class Scope {
|
|
|
179
179
|
*/
|
|
180
180
|
$new(isolate: boolean | null, parent?: Scope | null): Scope;
|
|
181
181
|
/**
|
|
182
|
-
* @ngdoc method
|
|
183
|
-
* @name $rootScope.Scope#$watch
|
|
184
|
-
* @kind function
|
|
185
|
-
*
|
|
186
|
-
* @description
|
|
187
182
|
* Registers a `listener` callback to be executed whenever the `watchExpression` changes.
|
|
188
183
|
*
|
|
189
184
|
* - The `watchExpression` is called on every call to {@link ng.$rootScope.Scope#$digest
|
|
@@ -291,11 +286,6 @@ export class Scope {
|
|
|
291
286
|
*/
|
|
292
287
|
$watch(watchExp: string | ((scope: Scope) => any) | import("../parser/parse").CompiledExpression, listener?: WatchListener, objectEquality?: boolean | undefined): () => any;
|
|
293
288
|
/**
|
|
294
|
-
* @ngdoc method
|
|
295
|
-
* @name $rootScope.Scope#$watchGroup
|
|
296
|
-
* @kind function
|
|
297
|
-
*
|
|
298
|
-
* @description
|
|
299
289
|
* A variant of {@link ng.$rootScope.Scope#$watch $watch()} where it watches an array of `watchExpressions`.
|
|
300
290
|
* If any one expression in the collection changes the `listener` is executed.
|
|
301
291
|
*
|
|
@@ -317,11 +307,6 @@ export class Scope {
|
|
|
317
307
|
*/
|
|
318
308
|
$watchGroup(watchExpressions: Array<string | ((Scope: any) => any)>, listener: (arg0: any, arg1: any, arg2: Scope) => any): () => any;
|
|
319
309
|
/**
|
|
320
|
-
* @ngdoc method
|
|
321
|
-
* @name $rootScope.Scope#$watchCollection
|
|
322
|
-
* @kind function
|
|
323
|
-
*
|
|
324
|
-
* @description
|
|
325
310
|
* Shallow watches the properties of an object and fires whenever any of the properties change
|
|
326
311
|
* (for arrays, this implies watching the array items; for object maps, this implies watching
|
|
327
312
|
* the properties). If a change is detected, the `listener` callback is fired.
|
|
@@ -352,11 +337,6 @@ export class Scope {
|
|
|
352
337
|
*/
|
|
353
338
|
$watchCollection(obj: string | ((arg0: Scope) => any), listener: (arg0: any[], arg1: any[], arg2: Scope) => any): () => any;
|
|
354
339
|
/**
|
|
355
|
-
* @ngdoc method
|
|
356
|
-
* @name $rootScope.Scope#$digest
|
|
357
|
-
* @kind function
|
|
358
|
-
*
|
|
359
|
-
* @description
|
|
360
340
|
* Processes all of the {@link ng.$rootScope.Scope#$watch watchers} of the current scope and
|
|
361
341
|
* its children. Because a {@link ng.$rootScope.Scope#$watch watcher}'s listener can change
|
|
362
342
|
* the model, the `$digest()` keeps calling the {@link ng.$rootScope.Scope#$watch watchers}
|
|
@@ -408,11 +388,6 @@ export class Scope {
|
|
|
408
388
|
*/
|
|
409
389
|
beginPhase(phase: ScopePhase): void;
|
|
410
390
|
/**
|
|
411
|
-
* @ngdoc method
|
|
412
|
-
* @name $rootScope.Scope#$suspend
|
|
413
|
-
* @kind function
|
|
414
|
-
*
|
|
415
|
-
* @description
|
|
416
391
|
* Suspend watchers of this scope subtree so that they will not be invoked during digest.
|
|
417
392
|
*
|
|
418
393
|
* This can be used to optimize your application when you know that running those watchers
|
|
@@ -452,11 +427,7 @@ export class Scope {
|
|
|
452
427
|
*/
|
|
453
428
|
$suspend(): void;
|
|
454
429
|
/**
|
|
455
|
-
|
|
456
|
-
* @name $rootScope.Scope#$isSuspended
|
|
457
|
-
* @kind function
|
|
458
|
-
*
|
|
459
|
-
* @description
|
|
430
|
+
|
|
460
431
|
* Call this method to determine if this scope has been explicitly suspended. It will not
|
|
461
432
|
* tell you whether an ancestor has been suspended.
|
|
462
433
|
* To determine if this scope will be excluded from a digest triggered at the $rootScope,
|
|
@@ -478,33 +449,18 @@ export class Scope {
|
|
|
478
449
|
*/
|
|
479
450
|
$isSuspended(): boolean;
|
|
480
451
|
/**
|
|
481
|
-
* @ngdoc method
|
|
482
|
-
* @name $rootScope.Scope#$resume
|
|
483
|
-
* @kind function
|
|
484
|
-
*
|
|
485
|
-
* @description
|
|
486
452
|
* Resume watchers of this scope subtree in case it was suspended.
|
|
487
453
|
*
|
|
488
454
|
* See {@link $rootScope.Scope#$suspend} for information about the dangers of using this approach.
|
|
489
455
|
*/
|
|
490
456
|
$resume(): void;
|
|
491
457
|
/**
|
|
492
|
-
* @ngdoc event
|
|
493
|
-
* @name $rootScope.Scope#$destroy
|
|
494
|
-
* @eventType broadcast on scope being destroyed
|
|
495
|
-
*
|
|
496
|
-
* @description
|
|
497
458
|
* Broadcasted when a scope and its children are being destroyed.
|
|
498
459
|
*
|
|
499
460
|
* Note that, in AngularTS, there is also a `$destroy` jQuery event, which can be used to
|
|
500
461
|
* clean up DOM bindings before an element is removed from the DOM.
|
|
501
462
|
*/
|
|
502
463
|
/**
|
|
503
|
-
* @ngdoc method
|
|
504
|
-
* @name $rootScope.Scope#$destroy
|
|
505
|
-
* @kind function
|
|
506
|
-
*
|
|
507
|
-
* @description
|
|
508
464
|
* Removes the current scope (and all of its children) from the parent scope. Removal implies
|
|
509
465
|
* that calls to {@link ng.$rootScope.Scope#$digest $digest()} will no longer
|
|
510
466
|
* propagate to the current scope and its children. Removal also implies that the current
|
|
@@ -523,11 +479,6 @@ export class Scope {
|
|
|
523
479
|
*/
|
|
524
480
|
$destroy(): void;
|
|
525
481
|
/**
|
|
526
|
-
* @ngdoc method
|
|
527
|
-
* @name $rootScope.Scope#$apply
|
|
528
|
-
* @kind function
|
|
529
|
-
*
|
|
530
|
-
* @description
|
|
531
482
|
* `$apply()` is used to execute an expression in AngularTS from outside of the AngularTS
|
|
532
483
|
* framework. (For example from browser DOM events, setTimeout, XHR or third party libraries).
|
|
533
484
|
* Because we are calling into the AngularTS framework we need to perform proper scope life
|
|
@@ -568,11 +519,6 @@ export class Scope {
|
|
|
568
519
|
*/
|
|
569
520
|
$apply(expr?: string | ((arg0: Scope) => any)): any;
|
|
570
521
|
/**
|
|
571
|
-
* @ngdoc method
|
|
572
|
-
* @name $rootScope.Scope#$applyAsync
|
|
573
|
-
* @kind function
|
|
574
|
-
*
|
|
575
|
-
* @description
|
|
576
522
|
* Schedule the invocation of $apply to occur at a later time. The actual time difference
|
|
577
523
|
* varies across browsers, but is typically around ~10 milliseconds.
|
|
578
524
|
*
|
|
@@ -586,11 +532,6 @@ export class Scope {
|
|
|
586
532
|
*/
|
|
587
533
|
$applyAsync(expr?: (string | (() => any)) | undefined): void;
|
|
588
534
|
/**
|
|
589
|
-
* @ngdoc method
|
|
590
|
-
* @name $rootScope.Scope#$evalAsync
|
|
591
|
-
* @kind function
|
|
592
|
-
*
|
|
593
|
-
* @description
|
|
594
535
|
* Executes the expression on the current scope at a later point in time.
|
|
595
536
|
*
|
|
596
537
|
* The `$evalAsync` makes no guarantees as to when the `expression` will be executed, only
|
|
@@ -641,11 +582,6 @@ export class Scope {
|
|
|
641
582
|
*/
|
|
642
583
|
$on(name: string, listener: (arg0: any) => any): () => any;
|
|
643
584
|
/**
|
|
644
|
-
* @ngdoc method
|
|
645
|
-
* @name $rootScope.Scope#$eval
|
|
646
|
-
* @kind function
|
|
647
|
-
*
|
|
648
|
-
* @description
|
|
649
585
|
* Executes the `expression` on the current scope and returns the result. Any exceptions in
|
|
650
586
|
* the expression are propagated (uncaught). This is useful when evaluating AngularTS
|
|
651
587
|
* expressions.
|
|
@@ -685,11 +621,6 @@ export class Scope {
|
|
|
685
621
|
*/
|
|
686
622
|
decrementListenerCount(count: number, name: string): void;
|
|
687
623
|
/**
|
|
688
|
-
* @ngdoc method
|
|
689
|
-
* @name $rootScope.Scope#$emit
|
|
690
|
-
* @kind function
|
|
691
|
-
*
|
|
692
|
-
* @description
|
|
693
624
|
* Dispatches an event `name` upwards through the scope hierarchy notifying the
|
|
694
625
|
* registered {@link ng.$rootScope.Scope#$on} listeners.
|
|
695
626
|
*
|
|
@@ -708,11 +639,6 @@ export class Scope {
|
|
|
708
639
|
*/
|
|
709
640
|
$emit(name: string, ...args: any[]): any;
|
|
710
641
|
/**
|
|
711
|
-
* @ngdoc method
|
|
712
|
-
* @name $rootScope.Scope#$broadcast
|
|
713
|
-
* @kind function
|
|
714
|
-
*
|
|
715
|
-
* @description
|
|
716
642
|
* Dispatches an event `name` downwards to all child scopes (and their children) notifying the
|
|
717
643
|
* registered {@link ng.$rootScope.Scope#$on} listeners.
|
|
718
644
|
*
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export function $$TaskTrackerFactoryProvider(): void;
|
|
2
2
|
export class $$TaskTrackerFactoryProvider {
|
|
3
|
-
$get: (string | ((log:
|
|
3
|
+
$get: (string | ((log: import("../services/log").LogService) => TaskTracker))[];
|
|
4
4
|
}
|
|
5
5
|
/**
|
|
6
6
|
* ! This is a private undocumented service !
|
|
@@ -13,7 +13,7 @@ export class $$TaskTrackerFactoryProvider {
|
|
|
13
13
|
* parties when all pending tasks (or tasks of a specific type) have been completed.
|
|
14
14
|
* @param {import('../services/log').LogService} log
|
|
15
15
|
*/
|
|
16
|
-
export function TaskTracker(log:
|
|
16
|
+
export function TaskTracker(log: import("../services/log").LogService): void;
|
|
17
17
|
export class TaskTracker {
|
|
18
18
|
/**
|
|
19
19
|
* ! This is a private undocumented service !
|
|
@@ -26,7 +26,7 @@ export class TaskTracker {
|
|
|
26
26
|
* parties when all pending tasks (or tasks of a specific type) have been completed.
|
|
27
27
|
* @param {import('../services/log').LogService} log
|
|
28
28
|
*/
|
|
29
|
-
constructor(log:
|
|
29
|
+
constructor(log: import("../services/log").LogService);
|
|
30
30
|
ALL_TASKS_TYPE: string;
|
|
31
31
|
DEFAULT_TASK_TYPE: string;
|
|
32
32
|
/**
|
|
@@ -1,50 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
*
|
|
3
|
-
* Implementation Notes for non-IE browsers
|
|
4
|
-
* ----------------------------------------
|
|
5
|
-
* Assigning a URL to the href property of an anchor DOM node, even one attached to the DOM,
|
|
6
|
-
* results both in the normalizing and parsing of the URL. Normalizing means that a relative
|
|
7
|
-
* URL will be resolved into an absolute URL in the context of the application document.
|
|
8
|
-
* Parsing means that the anchor node's host, hostname, protocol, port, pathname and related
|
|
9
|
-
* properties are all populated to reflect the normalized URL. This approach has wide
|
|
10
|
-
* compatibility - Safari 1+, Mozilla 1+ etc. See
|
|
11
|
-
* http://www.aptana.com/reference/html/api/HTMLAnchorElement.html
|
|
12
|
-
*
|
|
13
|
-
* Implementation Notes for IE
|
|
14
|
-
* ---------------------------
|
|
15
|
-
* IE <= 10 normalizes the URL when assigned to the anchor node similar to the other
|
|
16
|
-
* browsers. However, the parsed components will not be set if the URL assigned did not specify
|
|
17
|
-
* them. (e.g. if you assign a.href = "foo", then a.protocol, a.host, etc. will be empty.) We
|
|
18
|
-
* work around that by performing the parsing in a 2nd step by taking a previously normalized
|
|
19
|
-
* URL (e.g. by assigning to a.href) and assigning it a.href again. This correctly populates the
|
|
20
|
-
* properties such as protocol, hostname, port, etc.
|
|
21
|
-
*
|
|
22
|
-
* References:
|
|
23
|
-
* http://developer.mozilla.org/en-US/docs/Web/API/HTMLAnchorElement
|
|
24
|
-
* http://www.aptana.com/reference/html/api/HTMLAnchorElement.html
|
|
25
|
-
* http://url.spec.whatwg.org/#urlutils
|
|
26
|
-
* https://github.com/angular/angular.js/pull/2902
|
|
27
|
-
* http://james.padolsey.com/javascript/parsing-urls-with-the-dom/
|
|
28
|
-
*
|
|
29
|
-
* @kind function
|
|
30
|
-
* @param {string|object} url The URL to be parsed. If `url` is not a string, it will be returned
|
|
31
|
-
* unchanged.
|
|
32
|
-
* @description Normalizes and parses a URL.
|
|
33
|
-
* @returns {object} Returns the normalized URL as a dictionary.
|
|
34
|
-
*
|
|
35
|
-
* | member name | Description |
|
|
36
|
-
* |---------------|------------------------------------------------------------------------|
|
|
37
|
-
* | href | A normalized version of the provided URL if it was not an absolute URL |
|
|
38
|
-
* | protocol | The protocol without the trailing colon |
|
|
39
|
-
* | host | The host and port (if the port is non-default) of the normalizedUrl |
|
|
40
|
-
* | search | The search params, minus the question mark |
|
|
41
|
-
* | hash | The hash string, minus the hash symbol |
|
|
42
|
-
* | hostname | The hostname |
|
|
43
|
-
* | port | The port, without ":" |
|
|
44
|
-
* | pathname | The pathname, beginning with "/" |
|
|
45
|
-
*
|
|
46
|
-
*/
|
|
47
|
-
export function urlResolve(url: string | object): object;
|
|
1
|
+
export function urlResolve(url: any): any;
|
|
48
2
|
/**
|
|
49
3
|
* Parse a request URL and determine whether this is a same-origin request as the application
|
|
50
4
|
* document.
|