@angular-wave/angular.ts 0.2.2 → 0.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/angular.spec.js +1 -1
- package/src/animations/animate.spec.js +1 -1
- package/src/core/cache/cache-factory.js +3 -0
- package/src/core/compile/attributes.js +1 -1
- package/src/core/compile/compile.js +10 -6
- package/src/core/compile/compile.spec.js +92 -97
- package/src/core/di/internal-injector.js +14 -14
- package/src/core/di/ng-module.js +2 -2
- package/src/core/filter/filter.md +1 -1
- package/src/core/location/location.spec.js +9 -9
- package/src/core/sanitize/sanitize-uri.spec.js +1 -1
- package/src/core/sce/sce.spec.js +3 -3
- package/src/core/scope/scope.spec.js +1 -1
- package/src/core/url-utils/url-utils.js +4 -4
- package/src/core/url-utils/url-utils.spec.js +1 -1
- package/src/directive/attrs/boolean.spec.js +1 -1
- package/src/directive/class/class.js +10 -90
- package/src/directive/class/class.md +90 -0
- package/src/directive/class/class.spec.js +1 -1
- package/src/directive/controller/controller.spec.js +0 -12
- package/src/directive/form/form.spec.js +3 -3
- package/src/directive/include/include.spec.js +8 -8
- package/src/directive/init/init.spec.js +2 -2
- package/src/directive/input/input.js +1 -1
- package/src/directive/messages/messages.spec.js +9 -9
- package/src/directive/model/model.js +50 -42
- package/src/directive/options/options.js +2 -2
- package/src/directive/options/options.spec.js +1 -1
- package/src/directive/repeat/repeat.spec.js +8 -8
- package/src/directive/script/script.js +1 -1
- package/src/directive/select/select.js +1 -1
- package/src/directive/show-hide/show-hide.spec.js +1 -1
- package/src/directive/style/style.spec.js +1 -1
- package/src/directive/switch/switch.spec.js +1 -1
- package/src/directive/validators/validators.js +2 -2
- package/src/filters/filter.js +2 -3
- package/src/filters/limit-to.js +2 -2
- package/src/public.js +1 -3
- package/src/router/directives/view-directive.spec.js +16 -16
- package/src/services/cookie-reader.js +1 -1
- package/src/services/http/http.js +32 -34
- package/src/services/http/template-request.spec.js +5 -20
- package/src/services/template-request.js +2 -1
- package/src/shared/common.spec.js +1 -3
- package/src/shared/hof.js +1 -2
- package/src/shared/jqlite/jqlite.js +26 -28
- package/src/shared/jqlite/jqlite.spec.js +10 -10
- package/src/shared/utils.js +6 -11
- 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_cache_cache_factory.TemplateCacheProvider.html +3 -0
- package/typedoc/classes/core_compile_attributes.Attributes.html +11 -11
- package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
- package/typedoc/classes/core_controller_controller._ControllerProvider.html +18 -11
- 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 +3 -3
- package/typedoc/classes/core_q_q.__QProvider.html +2 -2
- 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 +7 -7
- 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 +32 -32
- 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 +10 -10
- 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 +17 -17
- 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 +31 -31
- 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 +2 -2
- package/typedoc/classes/services_browser.Browser.html +7 -7
- package/typedoc/classes/services_browser.BrowserProvider.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 +20 -20
- 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_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_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.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.compose.html +1 -1
- package/typedoc/functions/shared_hof.curry.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 +3 -3
- 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.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.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.PromiseResolvables.html +2 -2
- package/typedoc/interfaces/core_q_q.PromiseState.html +2 -2
- package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
- package/typedoc/interfaces/core_q_q.QService.html +2 -2
- 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_cache_cache_factory.html +2 -0
- 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 +1 -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_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 +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_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 -2
- package/typedoc/modules/shared_constants.html +1 -1
- package/typedoc/modules/shared_hof.html +1 -2
- 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 -3
- 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 -58
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -27
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -27
- 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/cache/cache-factory.d.ts +4 -0
- package/types/core/di/internal-injector.d.ts +6 -6
- package/types/core/di/ng-module.d.ts +2 -2
- package/types/directive/class/class.d.ts +3 -100
- package/types/directive/model/model.d.ts +6 -3
- package/types/directive/validators/validators.d.ts +2 -2
- package/types/services/http/http.d.ts +1 -1
- package/types/shared/hof.d.ts +0 -1
- package/types/shared/jqlite/jqlite.d.ts +4 -4
- package/types/shared/utils.d.ts +5 -5
- package/src/core/cache/cache-factory.html +0 -18
- package/src/core/cache/cache-factory.spec.js +0 -334
- package/src/core/cache/cache-factory.test.js +0 -11
- package/src/services/cache-factory.js +0 -289
- package/src/services/cache-factory.md +0 -75
- package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +0 -3
- package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +0 -53
- package/typedoc/functions/shared_common.mapObj.html +0 -3
- package/typedoc/functions/shared_hof.eq.html +0 -2
- package/typedoc/functions/shared_utils.forEachSorted.html +0 -1
- package/typedoc/functions/shared_utils.getter.html +0 -5
- package/typedoc/modules/services_cache_factory.html +0 -3
- package/types/services/cache-factory.d.ts +0 -68
|
@@ -30,7 +30,7 @@ class AbstractInjector {
|
|
|
30
30
|
/**
|
|
31
31
|
* Get a service by name.
|
|
32
32
|
*
|
|
33
|
-
* @param {
|
|
33
|
+
* @param {string} serviceName
|
|
34
34
|
* @returns {any}
|
|
35
35
|
*/
|
|
36
36
|
get(serviceName) {
|
|
@@ -63,7 +63,7 @@ class AbstractInjector {
|
|
|
63
63
|
*
|
|
64
64
|
* @param {Function|Array} fn
|
|
65
65
|
* @param {Object} locals
|
|
66
|
-
* @param {
|
|
66
|
+
* @param {string} serviceName
|
|
67
67
|
* @returns
|
|
68
68
|
*/
|
|
69
69
|
injectionArgs(fn, locals, serviceName) {
|
|
@@ -94,7 +94,7 @@ class AbstractInjector {
|
|
|
94
94
|
* @param {Function|String|Array<any>} fn
|
|
95
95
|
* @param {*} [self]
|
|
96
96
|
* @param {Object} [locals]
|
|
97
|
-
* @param {
|
|
97
|
+
* @param {string} [serviceName]
|
|
98
98
|
* @returns
|
|
99
99
|
*/
|
|
100
100
|
invoke(fn, self, locals, serviceName) {
|
|
@@ -112,7 +112,7 @@ class AbstractInjector {
|
|
|
112
112
|
fn = fn[fn.length - 1];
|
|
113
113
|
}
|
|
114
114
|
|
|
115
|
-
if (isClass(/** @type {
|
|
115
|
+
if (isClass(/** @type {string} */ (fn))) {
|
|
116
116
|
args.unshift(null);
|
|
117
117
|
return new (Function.prototype.bind.apply(fn, args))();
|
|
118
118
|
} else {
|
|
@@ -124,7 +124,7 @@ class AbstractInjector {
|
|
|
124
124
|
* Instantiate a type constructor with optional locals.
|
|
125
125
|
* @param {Function|Array} type
|
|
126
126
|
* @param {*} [locals]
|
|
127
|
-
* @param {
|
|
127
|
+
* @param {string} [serviceName]
|
|
128
128
|
*/
|
|
129
129
|
instantiate(type, locals, serviceName) {
|
|
130
130
|
// Check if type is annotated and use just the given function at n-1 as parameter
|
|
@@ -143,7 +143,7 @@ class AbstractInjector {
|
|
|
143
143
|
|
|
144
144
|
/**
|
|
145
145
|
* @abstract
|
|
146
|
-
* @param {
|
|
146
|
+
* @param {string} _serviceName
|
|
147
147
|
*/
|
|
148
148
|
factory(_serviceName) {
|
|
149
149
|
console.error(`Unhandled ${_serviceName}`);
|
|
@@ -166,7 +166,7 @@ export class ProviderInjector extends AbstractInjector {
|
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
168
|
* Factory method for creating services.
|
|
169
|
-
* @param {
|
|
169
|
+
* @param {string} caller - The name of the caller requesting the service.
|
|
170
170
|
* @throws {Error} If the provider is unknown.
|
|
171
171
|
*/
|
|
172
172
|
factory(caller) {
|
|
@@ -204,7 +204,7 @@ export class InjectorService extends AbstractInjector {
|
|
|
204
204
|
|
|
205
205
|
/**
|
|
206
206
|
*
|
|
207
|
-
* @param {
|
|
207
|
+
* @param {string} name
|
|
208
208
|
* @returns {boolean}
|
|
209
209
|
*/
|
|
210
210
|
has(name) {
|
|
@@ -220,15 +220,15 @@ export class InjectorService extends AbstractInjector {
|
|
|
220
220
|
// Helpers
|
|
221
221
|
|
|
222
222
|
/**
|
|
223
|
-
* @param {
|
|
224
|
-
* @returns {
|
|
223
|
+
* @param {string} fn
|
|
224
|
+
* @returns {string}
|
|
225
225
|
*/
|
|
226
226
|
function stringifyFn(fn) {
|
|
227
227
|
return Function.prototype.toString.call(fn);
|
|
228
228
|
}
|
|
229
229
|
|
|
230
230
|
/**
|
|
231
|
-
* @param {
|
|
231
|
+
* @param {string} fn
|
|
232
232
|
* @returns {Array<any>}
|
|
233
233
|
*/
|
|
234
234
|
function extractArgs(fn) {
|
|
@@ -238,7 +238,7 @@ function extractArgs(fn) {
|
|
|
238
238
|
}
|
|
239
239
|
|
|
240
240
|
/**
|
|
241
|
-
* @param {
|
|
241
|
+
* @param {string} func
|
|
242
242
|
* @returns {boolean}
|
|
243
243
|
*/
|
|
244
244
|
function isClass(func) {
|
|
@@ -249,7 +249,7 @@ function isClass(func) {
|
|
|
249
249
|
*
|
|
250
250
|
* @param {any} fn
|
|
251
251
|
* @param {boolean} strictDi
|
|
252
|
-
* @param {
|
|
252
|
+
* @param {string} name
|
|
253
253
|
* @returns {Array<string>}
|
|
254
254
|
*/
|
|
255
255
|
function annotate(fn, strictDi, name) {
|
|
@@ -266,7 +266,7 @@ function annotate(fn, strictDi, name) {
|
|
|
266
266
|
name,
|
|
267
267
|
);
|
|
268
268
|
}
|
|
269
|
-
argDecl = extractArgs(/** @type {
|
|
269
|
+
argDecl = extractArgs(/** @type {string} */ (fn));
|
|
270
270
|
argDecl[1].split(FN_ARG_SPLIT).forEach(function (arg) {
|
|
271
271
|
arg.replace(FN_ARG, function (_all, _underscore, name) {
|
|
272
272
|
$inject.push(name);
|
package/src/core/di/ng-module.js
CHANGED
|
@@ -25,8 +25,8 @@ export const CONTROLLER_LITERAL = "$controllerProvider";
|
|
|
25
25
|
*/
|
|
26
26
|
export class NgModule {
|
|
27
27
|
/**
|
|
28
|
-
* @param {
|
|
29
|
-
* @param {Array<
|
|
28
|
+
* @param {string} name - Name of the module
|
|
29
|
+
* @param {Array<string>} requires - List of modules which the injector will load before the current module
|
|
30
30
|
* @param {Function} [configFn]
|
|
31
31
|
*/
|
|
32
32
|
constructor(name, requires, configFn) {
|
|
@@ -1796,7 +1796,7 @@ describe("$location", () => {
|
|
|
1796
1796
|
|
|
1797
1797
|
// afterEach(() => {
|
|
1798
1798
|
// dealoc(root);
|
|
1799
|
-
// dealoc(
|
|
1799
|
+
// dealoc(document.body);
|
|
1800
1800
|
// });
|
|
1801
1801
|
|
|
1802
1802
|
// it("should rewrite rel link to new url when history enabled on new browser", () => {
|
|
@@ -2303,7 +2303,7 @@ describe("$location", () => {
|
|
|
2303
2303
|
// }),
|
|
2304
2304
|
// setupRewriteChecks(),
|
|
2305
2305
|
// ($browser) => {
|
|
2306
|
-
// const rightClick =
|
|
2306
|
+
// const rightClick = document.createEvent("MouseEvents");
|
|
2307
2307
|
// rightClick.initMouseEvent(
|
|
2308
2308
|
// "click",
|
|
2309
2309
|
// true,
|
|
@@ -2441,12 +2441,12 @@ describe("$location", () => {
|
|
|
2441
2441
|
// });
|
|
2442
2442
|
// inject(($location) => {
|
|
2443
2443
|
// // make IE happy
|
|
2444
|
-
// JQLite(
|
|
2444
|
+
// JQLite(document.body).html(
|
|
2445
2445
|
// '<a href="http://server/test.html">link</a>',
|
|
2446
2446
|
// );
|
|
2447
2447
|
|
|
2448
2448
|
// const event = {
|
|
2449
|
-
// target: JQLite(
|
|
2449
|
+
// target: JQLite(document.body).find("a")[0],
|
|
2450
2450
|
// preventDefault: jasmine.createSpy("preventDefault"),
|
|
2451
2451
|
// isDefaultPrevented: jasmine.createSpy().and.returnValue(false),
|
|
2452
2452
|
// };
|
|
@@ -2481,12 +2481,12 @@ describe("$location", () => {
|
|
|
2481
2481
|
// $location,
|
|
2482
2482
|
// ) => {
|
|
2483
2483
|
// // make IE happy
|
|
2484
|
-
// JQLite(
|
|
2484
|
+
// JQLite(document.body).html(
|
|
2485
2485
|
// '<a href="http://server/index.html#test">link</a>',
|
|
2486
2486
|
// );
|
|
2487
2487
|
|
|
2488
2488
|
// const event = {
|
|
2489
|
-
// target: JQLite(
|
|
2489
|
+
// target: JQLite(document.body).find("a")[0],
|
|
2490
2490
|
// preventDefault: jasmine.createSpy("preventDefault"),
|
|
2491
2491
|
// isDefaultPrevented: jasmine.createSpy().and.returnValue(false),
|
|
2492
2492
|
// };
|
|
@@ -2920,7 +2920,7 @@ describe("$location", () => {
|
|
|
2920
2920
|
// function ($rootElement, $compile, $rootScope) {
|
|
2921
2921
|
// $rootElement.html('<a href="http://server/#!/somePath">link</a>');
|
|
2922
2922
|
// $compile($rootElement)($rootScope);
|
|
2923
|
-
// JQLite(
|
|
2923
|
+
// JQLite(document.body).append($rootElement);
|
|
2924
2924
|
// },
|
|
2925
2925
|
// );
|
|
2926
2926
|
|
|
@@ -2951,7 +2951,7 @@ describe("$location", () => {
|
|
|
2951
2951
|
// return function ($rootElement, $compile, $rootScope) {
|
|
2952
2952
|
// $rootElement.html('<a href="http://server/somePath">link</a>');
|
|
2953
2953
|
// $compile($rootElement)($rootScope);
|
|
2954
|
-
// JQLite(
|
|
2954
|
+
// JQLite(document.body).append($rootElement);
|
|
2955
2955
|
// };
|
|
2956
2956
|
// });
|
|
2957
2957
|
|
|
@@ -3313,7 +3313,7 @@ describe("$location", () => {
|
|
|
3313
3313
|
// function mockUpBrowser(options) {
|
|
3314
3314
|
// module(($windowProvider, $browserProvider) => {
|
|
3315
3315
|
// let browser;
|
|
3316
|
-
// const parser =
|
|
3316
|
+
// const parser = document.createElement("a");
|
|
3317
3317
|
// parser.href = options.initialUrl;
|
|
3318
3318
|
|
|
3319
3319
|
// $windowProvider.$get = function () {
|
package/src/core/sce/sce.spec.js
CHANGED
|
@@ -522,16 +522,16 @@ describe("SCE", () => {
|
|
|
522
522
|
|
|
523
523
|
let baseElem;
|
|
524
524
|
beforeEach(() => {
|
|
525
|
-
baseElem =
|
|
525
|
+
baseElem = document.createElement("BASE");
|
|
526
526
|
baseElem.setAttribute(
|
|
527
527
|
"href",
|
|
528
528
|
`${window.location.protocol}//foo.example.com/path/`,
|
|
529
529
|
);
|
|
530
|
-
|
|
530
|
+
document.head.appendChild(baseElem);
|
|
531
531
|
});
|
|
532
532
|
|
|
533
533
|
afterEach(() => {
|
|
534
|
-
|
|
534
|
+
document.head.removeChild(baseElem);
|
|
535
535
|
});
|
|
536
536
|
|
|
537
537
|
it("should allow relative URLs", () => {
|
|
@@ -1095,7 +1095,7 @@ describe("Scope", function () {
|
|
|
1095
1095
|
|
|
1096
1096
|
it("should watch array-like objects like arrays", () => {
|
|
1097
1097
|
logs = [];
|
|
1098
|
-
$rootScope.obj =
|
|
1098
|
+
$rootScope.obj = document.getElementsByTagName("src");
|
|
1099
1099
|
$rootScope.$digest();
|
|
1100
1100
|
|
|
1101
1101
|
expect(logs.length).toBeTruthy();
|
|
@@ -5,7 +5,7 @@ import { isString } from "../../shared/utils";
|
|
|
5
5
|
* @typedef {"http"|"https"} HttpProtocol
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
-
const urlParsingNode =
|
|
8
|
+
const urlParsingNode = document.createElement("a");
|
|
9
9
|
const originUrl = urlResolve(window.location.href);
|
|
10
10
|
let baseUrlParsingNode;
|
|
11
11
|
|
|
@@ -126,13 +126,13 @@ export function urlsAreSameOrigin(url1, url2) {
|
|
|
126
126
|
* @returns {string}
|
|
127
127
|
*/
|
|
128
128
|
export function getBaseUrl() {
|
|
129
|
-
if (
|
|
130
|
-
return
|
|
129
|
+
if (document.baseURI) {
|
|
130
|
+
return document.baseURI;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
// `document.baseURI` is available everywhere except IE
|
|
134
134
|
if (!baseUrlParsingNode) {
|
|
135
|
-
baseUrlParsingNode =
|
|
135
|
+
baseUrlParsingNode = document.createElement("a");
|
|
136
136
|
baseUrlParsingNode.href = ".";
|
|
137
137
|
|
|
138
138
|
// Work-around for IE bug described in Implementation Notes. The fix in `urlResolve()` is not
|
|
@@ -65,7 +65,7 @@ describe("urlUtils", () => {
|
|
|
65
65
|
|
|
66
66
|
expectIsSameOrigin("path", true);
|
|
67
67
|
|
|
68
|
-
const origin = urlResolve(
|
|
68
|
+
const origin = urlResolve(document.location.href);
|
|
69
69
|
expectIsSameOrigin(`//${origin.host}/path`, true);
|
|
70
70
|
|
|
71
71
|
// Different domain.
|
|
@@ -10,7 +10,7 @@ describe("boolean attr directives", () => {
|
|
|
10
10
|
createInjector([
|
|
11
11
|
"ng",
|
|
12
12
|
($provide) => {
|
|
13
|
-
$provide.value("$rootElement",
|
|
13
|
+
$provide.value("$rootElement", document.body);
|
|
14
14
|
},
|
|
15
15
|
]).invoke((_$compile_, _$rootScope_, _$rootElement_) => {
|
|
16
16
|
$compile = _$compile_;
|
|
@@ -6,8 +6,18 @@ function classDirective(name, selector) {
|
|
|
6
6
|
|
|
7
7
|
return [
|
|
8
8
|
"$parse",
|
|
9
|
+
/**
|
|
10
|
+
*
|
|
11
|
+
* @param {import("../../core/parser/parse.js").ParseService} $parse
|
|
12
|
+
* @returns {import("../../types").Directive}
|
|
13
|
+
*/
|
|
9
14
|
($parse) => ({
|
|
10
15
|
restrict: "EA",
|
|
16
|
+
/**
|
|
17
|
+
* @param {import("../../core/scope/scope").Scope} scope
|
|
18
|
+
* @param {import("../../shared/jqlite/jqlite").JQLite} element
|
|
19
|
+
* @param {import("../../core/compile/attributes").Attributes} attr
|
|
20
|
+
*/
|
|
11
21
|
link(scope, element, attr) {
|
|
12
22
|
let classCounts = element.data("$classCounts");
|
|
13
23
|
let oldModulo = true;
|
|
@@ -165,96 +175,6 @@ function classDirective(name, selector) {
|
|
|
165
175
|
}
|
|
166
176
|
}
|
|
167
177
|
|
|
168
|
-
/**
|
|
169
|
-
* The `ngClass` directive allows you to dynamically set CSS classes on an HTML element by databinding
|
|
170
|
-
* an expression that represents all classes to be added.
|
|
171
|
-
*
|
|
172
|
-
* The directive operates in three different ways, depending on which of three types the expression
|
|
173
|
-
* evaluates to:
|
|
174
|
-
*
|
|
175
|
-
* 1. If the expression evaluates to a string, the string should be one or more space-delimited class
|
|
176
|
-
* names.
|
|
177
|
-
*
|
|
178
|
-
* 2. If the expression evaluates to an object, then for each key-value pair of the
|
|
179
|
-
* object with a truthy value the corresponding key is used as a class name.
|
|
180
|
-
*
|
|
181
|
-
* 3. If the expression evaluates to an array, each element of the array should either be a string as in
|
|
182
|
-
* type 1 or an object as in type 2. This means that you can mix strings and objects together in an array
|
|
183
|
-
* to give you more control over what CSS classes appear. See the code below for an example of this.
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* The directive won't add duplicate classes if a particular class was already set.
|
|
187
|
-
*
|
|
188
|
-
* When the expression changes, the previously added classes are removed and only then are the
|
|
189
|
-
* new classes added.
|
|
190
|
-
*
|
|
191
|
-
* @knownIssue
|
|
192
|
-
* You should not use {@link guide/interpolation interpolation} in the value of the `class`
|
|
193
|
-
* attribute, when using the `ngClass` directive on the same element.
|
|
194
|
-
* See {@link guide/interpolation#known-issues here} for more info.
|
|
195
|
-
*
|
|
196
|
-
* @animations
|
|
197
|
-
* | Animation | Occurs |
|
|
198
|
-
* |----------------------------------|-------------------------------------|
|
|
199
|
-
* | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |
|
|
200
|
-
* | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |
|
|
201
|
-
* | {@link ng.$animate#setClass setClass} | just before classes are added and classes are removed from the element at the same time |
|
|
202
|
-
*
|
|
203
|
-
* ### ngClass and pre-existing CSS3 Transitions/Animations
|
|
204
|
-
The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure.
|
|
205
|
-
Upon animation ngAnimate will apply supplementary CSS classes to track the start and end of an animation, but this will not hinder
|
|
206
|
-
any pre-existing CSS transitions already on the element. To get an idea of what happens during a class-based animation, be sure
|
|
207
|
-
to view the step by step details of {@link $animate#addClass $animate.addClass} and
|
|
208
|
-
{@link $animate#removeClass $animate.removeClass}.
|
|
209
|
-
*
|
|
210
|
-
* @param {String} ngClass {@link guide/expression Expression} to eval. The result
|
|
211
|
-
* of the evaluation can be a string representing space delimited class
|
|
212
|
-
* names, an array, or a map of class names to boolean values. In the case of a map, the
|
|
213
|
-
* names of the properties whose values are truthy will be added as css classes to the
|
|
214
|
-
* element.
|
|
215
|
-
*
|
|
216
|
-
*/
|
|
217
178
|
export const ngClassDirective = classDirective("", true);
|
|
218
|
-
|
|
219
|
-
/**
|
|
220
|
-
* The `ngClassOdd` and `ngClassEven` directives work exactly as
|
|
221
|
-
* {@link ng.directive:ngClass ngClass}, except they work in
|
|
222
|
-
* conjunction with `ngRepeat` and take effect only on odd (even) rows.
|
|
223
|
-
*
|
|
224
|
-
* This directive can be applied only within the scope of an
|
|
225
|
-
* {@link ng.directive:ngRepeat ngRepeat}.
|
|
226
|
-
*
|
|
227
|
-
* @animations
|
|
228
|
-
* | Animation | Occurs |
|
|
229
|
-
* |----------------------------------|-------------------------------------|
|
|
230
|
-
* | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |
|
|
231
|
-
* | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |
|
|
232
|
-
*
|
|
233
|
-
* @element ANY
|
|
234
|
-
* @param {String} ngClassOdd {@link guide/expression Expression} to eval. The result
|
|
235
|
-
* of the evaluation can be a string representing space delimited class names or an array.
|
|
236
|
-
*
|
|
237
|
-
*
|
|
238
|
-
*/
|
|
239
179
|
export const ngClassOddDirective = classDirective("Odd", 0);
|
|
240
|
-
|
|
241
|
-
/**
|
|
242
|
-
* The `ngClassOdd` and `ngClassEven` directives work exactly as
|
|
243
|
-
* {@link ng.directive:ngClass ngClass}, except they work in
|
|
244
|
-
* conjunction with `ngRepeat` and take effect only on odd (even) rows.
|
|
245
|
-
*
|
|
246
|
-
* This directive can be applied only within the scope of an
|
|
247
|
-
* {@link ng.directive:ngRepeat ngRepeat}.
|
|
248
|
-
*
|
|
249
|
-
* @animations
|
|
250
|
-
* | Animation | Occurs |
|
|
251
|
-
* |----------------------------------|-------------------------------------|
|
|
252
|
-
* | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |
|
|
253
|
-
* | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |
|
|
254
|
-
*
|
|
255
|
-
* @element ANY
|
|
256
|
-
* @param {String} ngClassEven {@link guide/expression Expression} to eval. The
|
|
257
|
-
* result of the evaluation can be a string representing space delimited class names or an array.
|
|
258
|
-
*
|
|
259
|
-
*/
|
|
260
180
|
export const ngClassEvenDirective = classDirective("Even", 1);
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/\*\*
|
|
2
|
+
|
|
3
|
+
- The `ngClass` directive allows you to dynamically set CSS classes on an HTML element by databinding
|
|
4
|
+
- an expression that represents all classes to be added.
|
|
5
|
+
-
|
|
6
|
+
- The directive operates in three different ways, depending on which of three types the expression
|
|
7
|
+
- evaluates to:
|
|
8
|
+
-
|
|
9
|
+
- 1. If the expression evaluates to a string, the string should be one or more space-delimited class
|
|
10
|
+
- names.
|
|
11
|
+
-
|
|
12
|
+
- 2. If the expression evaluates to an object, then for each key-value pair of the
|
|
13
|
+
- object with a truthy value the corresponding key is used as a class name.
|
|
14
|
+
-
|
|
15
|
+
- 3. If the expression evaluates to an array, each element of the array should either be a string as in
|
|
16
|
+
- type 1 or an object as in type 2. This means that you can mix strings and objects together in an array
|
|
17
|
+
- to give you more control over what CSS classes appear. See the code below for an example of this.
|
|
18
|
+
-
|
|
19
|
+
-
|
|
20
|
+
- The directive won't add duplicate classes if a particular class was already set.
|
|
21
|
+
-
|
|
22
|
+
- When the expression changes, the previously added classes are removed and only then are the
|
|
23
|
+
- new classes added.
|
|
24
|
+
-
|
|
25
|
+
- @knownIssue
|
|
26
|
+
- You should not use {@link guide/interpolation interpolation} in the value of the `class`
|
|
27
|
+
- attribute, when using the `ngClass` directive on the same element.
|
|
28
|
+
- See {@link guide/interpolation#known-issues here} for more info.
|
|
29
|
+
-
|
|
30
|
+
- @animations
|
|
31
|
+
- | Animation | Occurs |
|
|
32
|
+
- |----------------------------------|-------------------------------------|
|
|
33
|
+
- | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |
|
|
34
|
+
- | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |
|
|
35
|
+
- | {@link ng.$animate#setClass setClass} | just before classes are added and classes are removed from the element at the same time |
|
|
36
|
+
-
|
|
37
|
+
- ### ngClass and pre-existing CSS3 Transitions/Animations
|
|
38
|
+
The ngClass directive still supports CSS3 Transitions/Animations even if they do not follow the ngAnimate CSS naming structure.
|
|
39
|
+
Upon animation ngAnimate will apply supplementary CSS classes to track the start and end of an animation, but this will not hinder
|
|
40
|
+
any pre-existing CSS transitions already on the element. To get an idea of what happens during a class-based animation, be sure
|
|
41
|
+
to view the step by step details of {@link $animate#addClass $animate.addClass} and
|
|
42
|
+
{@link $animate#removeClass $animate.removeClass}.
|
|
43
|
+
-
|
|
44
|
+
- @param {String} ngClass {@link guide/expression Expression} to eval. The result
|
|
45
|
+
- of the evaluation can be a string representing space delimited class
|
|
46
|
+
- names, an array, or a map of class names to boolean values. In the case of a map, the
|
|
47
|
+
- names of the properties whose values are truthy will be added as css classes to the
|
|
48
|
+
- element.
|
|
49
|
+
- \*/
|
|
50
|
+
|
|
51
|
+
/\*\*
|
|
52
|
+
|
|
53
|
+
- The `ngClassOdd` and `ngClassEven` directives work exactly as
|
|
54
|
+
- {@link ng.directive:ngClass ngClass}, except they work in
|
|
55
|
+
- conjunction with `ngRepeat` and take effect only on odd (even) rows.
|
|
56
|
+
-
|
|
57
|
+
- This directive can be applied only within the scope of an
|
|
58
|
+
- {@link ng.directive:ngRepeat ngRepeat}.
|
|
59
|
+
-
|
|
60
|
+
- @animations
|
|
61
|
+
- | Animation | Occurs |
|
|
62
|
+
- |----------------------------------|-------------------------------------|
|
|
63
|
+
- | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |
|
|
64
|
+
- | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |
|
|
65
|
+
-
|
|
66
|
+
- @element ANY
|
|
67
|
+
- @param {string} ngClassOdd {@link guide/expression Expression} to eval. The result
|
|
68
|
+
- of the evaluation can be a string representing space delimited class names or an array.
|
|
69
|
+
-
|
|
70
|
+
- \*/
|
|
71
|
+
|
|
72
|
+
/\*\*
|
|
73
|
+
|
|
74
|
+
- The `ngClassOdd` and `ngClassEven` directives work exactly as
|
|
75
|
+
- {@link ng.directive:ngClass ngClass}, except they work in
|
|
76
|
+
- conjunction with `ngRepeat` and take effect only on odd (even) rows.
|
|
77
|
+
-
|
|
78
|
+
- This directive can be applied only within the scope of an
|
|
79
|
+
- {@link ng.directive:ngRepeat ngRepeat}.
|
|
80
|
+
-
|
|
81
|
+
- @animations
|
|
82
|
+
- | Animation | Occurs |
|
|
83
|
+
- |----------------------------------|-------------------------------------|
|
|
84
|
+
- | {@link ng.$animate#addClass addClass} | just before the class is applied to the element |
|
|
85
|
+
- | {@link ng.$animate#removeClass removeClass} | just before the class is removed from the element |
|
|
86
|
+
-
|
|
87
|
+
- @element ANY
|
|
88
|
+
- @param {string} ngClassEven {@link guide/expression Expression} to eval. The
|
|
89
|
+
- result of the evaluation can be a string representing space delimited class names or an array.
|
|
90
|
+
- \*/
|
|
@@ -737,7 +737,7 @@ describe("ngClass", () => {
|
|
|
737
737
|
// module("ngAnimateMock");
|
|
738
738
|
// inject(($compile, $rootScope, $animate, $timeout) => {
|
|
739
739
|
// element = angular.element('<div ng-class="val"></div>');
|
|
740
|
-
// const body = JQLite(
|
|
740
|
+
// const body = JQLite(document.body);
|
|
741
741
|
// body.append(element);
|
|
742
742
|
// $compile(element)($rootScope);
|
|
743
743
|
|
|
@@ -112,18 +112,6 @@ describe("ngController", () => {
|
|
|
112
112
|
expect(element.text()).toBe("Hello Adam!");
|
|
113
113
|
});
|
|
114
114
|
|
|
115
|
-
it("should instantiate controller defined on scope", () => {
|
|
116
|
-
$rootScope.VojtaGreeter = function ($scope) {
|
|
117
|
-
$scope.name = "Vojta";
|
|
118
|
-
};
|
|
119
|
-
|
|
120
|
-
element = $compile('<div ng-controller="VojtaGreeter">{{name}}</div>')(
|
|
121
|
-
$rootScope,
|
|
122
|
-
);
|
|
123
|
-
$rootScope.$digest();
|
|
124
|
-
expect(element.text()).toBe("Vojta");
|
|
125
|
-
});
|
|
126
|
-
|
|
127
115
|
it("should work with ngInclude on the same element", (done) => {
|
|
128
116
|
element = JQLite(
|
|
129
117
|
'<div><div ng-controller="Greeter" ng-include="\'/mock/interpolation\'"></div></div>',
|
|
@@ -419,7 +419,7 @@ describe("form", () => {
|
|
|
419
419
|
);
|
|
420
420
|
// Support: Chrome 60+ (on Windows)
|
|
421
421
|
// We need to add the form to the DOM in order for `submit` events to be properly fired.
|
|
422
|
-
|
|
422
|
+
document.body.appendChild(doc[0]);
|
|
423
423
|
|
|
424
424
|
const assertPreventDefaultListener = function (e) {
|
|
425
425
|
reloadPrevented = e.defaultPrevented || e.returnValue === false;
|
|
@@ -1404,7 +1404,7 @@ describe("form", () => {
|
|
|
1404
1404
|
let myModule;
|
|
1405
1405
|
|
|
1406
1406
|
beforeEach(() => {
|
|
1407
|
-
let dummy =
|
|
1407
|
+
let dummy = document.getElementById("dummy");
|
|
1408
1408
|
doc = JQLite('<form name="myForm"></form>');
|
|
1409
1409
|
JQLite(dummy).append(doc);
|
|
1410
1410
|
let angular = new Angular();
|
|
@@ -1423,7 +1423,7 @@ describe("form", () => {
|
|
|
1423
1423
|
afterEach(() => {
|
|
1424
1424
|
dealoc(doc);
|
|
1425
1425
|
dealoc(dummy);
|
|
1426
|
-
|
|
1426
|
+
document.getElementById("dummy").innerHTML = "";
|
|
1427
1427
|
});
|
|
1428
1428
|
|
|
1429
1429
|
it("should trigger an animation when invalid", (done) => {
|
|
@@ -70,7 +70,7 @@ describe("ngInclude", () => {
|
|
|
70
70
|
const injector = angular.bootstrap(element);
|
|
71
71
|
$rootScope = injector.get("$rootScope");
|
|
72
72
|
$templateCache = injector.get("$templateCache");
|
|
73
|
-
$templateCache.
|
|
73
|
+
$templateCache.set("myUrl", [200, "{{name}}", {}]);
|
|
74
74
|
$rootScope.name = "misko";
|
|
75
75
|
$rootScope.url = "myUrl";
|
|
76
76
|
$rootScope.$digest();
|
|
@@ -689,7 +689,7 @@ describe("ngInclude", () => {
|
|
|
689
689
|
// // // we need to run animation on attached elements;
|
|
690
690
|
// // function (_$rootElement_) {
|
|
691
691
|
// // $rootElement = _$rootElement_;
|
|
692
|
-
// // body = JQLite(
|
|
692
|
+
// // body = JQLite(document.body);
|
|
693
693
|
// // body.append($rootElement);
|
|
694
694
|
// // },
|
|
695
695
|
// // ),
|
|
@@ -709,7 +709,7 @@ describe("ngInclude", () => {
|
|
|
709
709
|
// it("should fire off the enter animation", () => {
|
|
710
710
|
// let item;
|
|
711
711
|
|
|
712
|
-
// $templateCache.
|
|
712
|
+
// $templateCache.set("enter", [200, "<div>data</div>", {}]);
|
|
713
713
|
// $rootScope.tpl = "enter";
|
|
714
714
|
// element = $compile(
|
|
715
715
|
// html("<div><div " + 'ng-include="tpl">' + "</div></div>"),
|
|
@@ -723,7 +723,7 @@ describe("ngInclude", () => {
|
|
|
723
723
|
|
|
724
724
|
// it("should fire off the leave animation", () => {
|
|
725
725
|
// let item;
|
|
726
|
-
// $templateCache.
|
|
726
|
+
// $templateCache.set("enter", [200, "<div>data</div>", {}]);
|
|
727
727
|
// $rootScope.tpl = "enter";
|
|
728
728
|
// element = $compile(
|
|
729
729
|
// html("<div><div " + 'ng-include="tpl">' + "</div></div>"),
|
|
@@ -744,8 +744,8 @@ describe("ngInclude", () => {
|
|
|
744
744
|
|
|
745
745
|
// it("should animate two separate ngInclude elements", () => {
|
|
746
746
|
// let item;
|
|
747
|
-
// $templateCache.
|
|
748
|
-
// $templateCache.
|
|
747
|
+
// $templateCache.set("one", [200, "one", {}]);
|
|
748
|
+
// $templateCache.set("two", [200, "two", {}]);
|
|
749
749
|
// $rootScope.tpl = "one";
|
|
750
750
|
// element = $compile(
|
|
751
751
|
// html("<div><div " + 'ng-include="tpl">' + "</div></div>"),
|
|
@@ -784,8 +784,8 @@ describe("ngInclude", () => {
|
|
|
784
784
|
// html("<div>" + '<div ng-include="inc">Yo</div>' + "</div>"),
|
|
785
785
|
// )($scope);
|
|
786
786
|
|
|
787
|
-
// $templateCache.
|
|
788
|
-
// $templateCache.
|
|
787
|
+
// $templateCache.set("one", [200, "<div>one</div>", {}]);
|
|
788
|
+
// $templateCache.set("two", [200, "<div>two</div>", {}]);
|
|
789
789
|
|
|
790
790
|
// $scope.$apply('inc = "one"');
|
|
791
791
|
|
|
@@ -34,8 +34,8 @@ describe("ngInit", () => {
|
|
|
34
34
|
"ng-init=\"template='template2.tpl'\"></div></div>",
|
|
35
35
|
);
|
|
36
36
|
window.angular.module("myModule", []).run(($templateCache) => {
|
|
37
|
-
$templateCache.
|
|
38
|
-
$templateCache.
|
|
37
|
+
$templateCache.set("template1.tpl", "<span>1</span>");
|
|
38
|
+
$templateCache.set("template2.tpl", "<span>2</span>");
|
|
39
39
|
});
|
|
40
40
|
injector = angular.bootstrap(element, ["myModule"]);
|
|
41
41
|
$rootScope = injector.get("$rootScope");
|
|
@@ -113,7 +113,7 @@ function textInputType(scope, element, attr, ctrl, $browser) {
|
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
function baseInputType(scope, element, attr, ctrl, $browser) {
|
|
116
|
-
const type =
|
|
116
|
+
const type = element[0].type.toLowerCase();
|
|
117
117
|
let composing = false;
|
|
118
118
|
// In composition mode, users are still inputting intermediate text buffer,
|
|
119
119
|
// hold the listener until composition is done.
|