@angular-wave/angular.ts 0.2.3 → 0.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/angular-ts.esm.js +2 -2
- package/dist/angular-ts.umd.js +2 -2
- package/package.json +1 -1
- package/src/animations/animate-cache.js +1 -1
- package/src/animations/animate-css-driver.js +2 -2
- package/src/animations/animate-css.js +1 -1
- package/src/animations/animate-js-driver.js +2 -2
- package/src/animations/animate-js.js +2 -2
- package/src/animations/animate-queue.js +2 -2
- package/src/animations/animation.js +1 -1
- package/src/core/cache/cache-factory.js +19 -0
- package/src/core/compile/compile.js +9 -11
- package/src/core/compile/compile.spec.js +91 -91
- package/src/core/controller/controller.js +1 -1
- package/src/core/exception-handler.js +1 -1
- package/src/core/filter/filter.js +2 -2
- package/src/core/interpolate/interpolate.js +3 -3
- package/src/core/interval/interval-factory.js +1 -1
- package/src/core/interval/interval.js +1 -1
- package/src/core/location/location.js +1 -1
- package/src/core/location/location.spec.js +3 -3
- package/src/core/parser/parse.js +2 -2
- package/src/core/sce/sce.js +2 -2
- package/src/core/scope/scope.js +1 -1
- package/src/core/task-tracker-factory.js +1 -1
- package/src/core/timeout/timeout.js +3 -3
- package/src/directive/if/if.js +5 -5
- package/src/directive/include/include.spec.js +7 -7
- package/src/directive/init/init.spec.js +2 -2
- package/src/directive/messages/messages.spec.js +9 -9
- package/src/directive/options/options.spec.js +1 -1
- package/src/directive/repeat/repeat.spec.js +4 -4
- package/src/directive/script/script.js +11 -9
- package/src/directive/validators/validators.js +70 -42
- package/src/public.js +56 -62
- package/src/router/directives/view-directive.spec.js +16 -16
- package/src/router/params/param.js +1 -2
- package/src/router/path/path-node.js +5 -5
- package/src/router/path/path-utils.js +19 -21
- package/src/router/state/state-builder.js +17 -11
- package/src/router/state/state-queue-manager.js +16 -7
- package/src/router/state/state-registry.js +9 -5
- package/src/router/state/state-service.js +4 -8
- package/src/router/template-factory.js +2 -2
- package/src/router/transition/transition-service.js +1 -1
- package/src/router/transition/transition.js +13 -11
- package/src/router/url/url-matcher.js +2 -2
- package/src/router/url/url-service.js +1 -1
- package/src/router/view/view.js +3 -3
- package/src/services/http/http.js +10 -97
- package/src/services/http/http.spec.js +0 -118
- package/src/services/http/template-request.spec.js +13 -30
- package/src/services/http-backend/http-backend.js +1 -1
- package/src/services/log.js +1 -1
- package/src/services/template-request.js +5 -4
- package/src/shared/common.js +3 -9
- package/src/shared/hof.js +6 -8
- package/src/types.js +0 -14
- 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/animations/animate-cache.d.ts +2 -2
- package/types/animations/animate-css-driver.d.ts +3 -3
- package/types/animations/animate-css.d.ts +2 -2
- package/types/animations/animate-js-driver.d.ts +3 -3
- package/types/animations/animate-js.d.ts +3 -3
- package/types/animations/animate-queue.d.ts +3 -3
- package/types/animations/animation.d.ts +2 -2
- package/types/core/cache/cache-factory.d.ts +22 -0
- package/types/core/compile/attributes.d.ts +1 -1
- package/types/core/compile/compile.d.ts +11 -11
- package/types/core/controller/controller.d.ts +1 -1
- package/types/core/exception-handler.d.ts +2 -3
- package/types/core/filter/filter.d.ts +3 -3
- package/types/core/interpolate/interpolate.d.ts +6 -6
- package/types/core/interval/interval-factory.d.ts +2 -2
- package/types/core/interval/interval.d.ts +2 -2
- package/types/core/location/location.d.ts +2 -2
- package/types/core/parser/parse.d.ts +4 -4
- package/types/core/sce/sce.d.ts +4 -4
- package/types/core/scope/scope.d.ts +1 -1
- package/types/core/task-tracker-factory.d.ts +1 -1
- package/types/core/timeout/timeout.d.ts +1 -2
- package/types/directive/model/model.d.ts +4 -4
- package/types/directive/script/script.d.ts +8 -5
- package/types/directive/validators/validators.d.ts +3 -15
- package/types/router/path/path-node.d.ts +0 -7
- package/types/router/path/path-utils.d.ts +7 -2
- package/types/router/state/state-queue-manager.d.ts +13 -3
- package/types/router/state/state-registry.d.ts +5 -2
- package/types/router/state/state-service.d.ts +1 -1
- package/types/router/template-factory.d.ts +3 -3
- package/types/router/transition/transition-service.d.ts +1 -1
- package/types/router/transition/transition.d.ts +3 -3
- package/types/router/url/url-service.d.ts +3 -3
- package/types/services/http/http.d.ts +5 -49
- package/types/services/http-backend/http-backend.d.ts +2 -2
- package/types/services/log.d.ts +2 -3
- package/types/services/template-request.d.ts +1 -1
- package/types/shared/common.d.ts +0 -5
- package/types/shared/hof.d.ts +0 -1
- package/types/types.d.ts +1 -1
- 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/directive/csp.md +0 -63
- 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
|
@@ -25,7 +25,7 @@ export function identifierForController(controller, ident) {
|
|
|
25
25
|
* This provider allows controller registration via the
|
|
26
26
|
* {@link ng.$controllerProvider#register register} method.
|
|
27
27
|
*/
|
|
28
|
-
export class
|
|
28
|
+
export class ControllerProvider {
|
|
29
29
|
constructor() {
|
|
30
30
|
/**
|
|
31
31
|
* @type {Map<string, Function|Object>}
|
|
@@ -8,8 +8,8 @@ import {
|
|
|
8
8
|
$IsStateFilter,
|
|
9
9
|
} from "../../router/state-filters";
|
|
10
10
|
|
|
11
|
-
|
|
12
|
-
export function
|
|
11
|
+
FilterProvider.$inject = ["$provide"];
|
|
12
|
+
export function FilterProvider($provide) {
|
|
13
13
|
const suffix = "Filter";
|
|
14
14
|
|
|
15
15
|
function register(name, factory) {
|
|
@@ -40,7 +40,7 @@ function interr(text, err) {
|
|
|
40
40
|
* security bugs!
|
|
41
41
|
* </div>
|
|
42
42
|
*/
|
|
43
|
-
export function
|
|
43
|
+
export function InterpolateProvider() {
|
|
44
44
|
let startSymbol = "{{";
|
|
45
45
|
let endSymbol = "}}";
|
|
46
46
|
|
|
@@ -48,7 +48,7 @@ export function $InterpolateProvider() {
|
|
|
48
48
|
* Symbol to denote start of expression in the interpolated string. Defaults to `{{`.
|
|
49
49
|
*
|
|
50
50
|
* @param {string=} value new value to set the starting symbol to.
|
|
51
|
-
* @returns {string
|
|
51
|
+
* @returns {string|InterpolateProvider} Returns the symbol when used as getter and self if used as setter.
|
|
52
52
|
*/
|
|
53
53
|
this.startSymbol = function (value) {
|
|
54
54
|
if (value) {
|
|
@@ -62,7 +62,7 @@ export function $InterpolateProvider() {
|
|
|
62
62
|
* Symbol to denote the end of expression in the interpolated string. Defaults to `}}`.
|
|
63
63
|
*
|
|
64
64
|
* @param {string=} value new value to set the ending symbol to.
|
|
65
|
-
* @returns {string
|
|
65
|
+
* @returns {string|InterpolateProvider} Returns the symbol when used as getter and self if used as setter.
|
|
66
66
|
*/
|
|
67
67
|
this.endSymbol = function (value) {
|
|
68
68
|
if (value) {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
LocationHtml5Url,
|
|
3
3
|
LocationHashbangUrl,
|
|
4
|
-
|
|
4
|
+
LocationProvider,
|
|
5
5
|
} from "./location";
|
|
6
6
|
import { Angular } from "../../loader";
|
|
7
7
|
import { createInjector } from "../di/injector";
|
|
@@ -23,12 +23,12 @@ describe("$location", () => {
|
|
|
23
23
|
|
|
24
24
|
describe("defaults", () => {
|
|
25
25
|
it('should have hashPrefix of "!"', () => {
|
|
26
|
-
let provider = new
|
|
26
|
+
let provider = new LocationProvider();
|
|
27
27
|
expect(provider.hashPrefix()).toBe("!");
|
|
28
28
|
});
|
|
29
29
|
|
|
30
30
|
it("should not be html5 mode", () => {
|
|
31
|
-
let provider = new
|
|
31
|
+
let provider = new LocationProvider();
|
|
32
32
|
expect(provider.html5Mode().enabled).toBeFalse();
|
|
33
33
|
});
|
|
34
34
|
});
|
package/src/core/parser/parse.js
CHANGED
|
@@ -33,7 +33,7 @@ import { Parser } from "./parser";
|
|
|
33
33
|
* @typedef {function(CompiledExpression|string|function(import('../scope/scope').Scope):any, function(any, import('../scope/scope').Scope, any):any=, boolean=): CompiledExpression} ParseService
|
|
34
34
|
*/
|
|
35
35
|
|
|
36
|
-
export function
|
|
36
|
+
export function ParseProvider() {
|
|
37
37
|
const cache = Object.create(null);
|
|
38
38
|
|
|
39
39
|
/** @type {function(any):boolean?} */
|
|
@@ -60,7 +60,7 @@ export function $ParseProvider() {
|
|
|
60
60
|
* a valid identifier start character.
|
|
61
61
|
* @param {function(any):boolean} [identifierContinue] The function that will decide whether the given character is
|
|
62
62
|
* a valid identifier continue character.
|
|
63
|
-
* @returns {
|
|
63
|
+
* @returns {ParseProvider}
|
|
64
64
|
*/
|
|
65
65
|
this.setIdentifierFns = function (identifierStart, identifierContinue) {
|
|
66
66
|
identStart = identifierStart;
|
package/src/core/sce/sce.js
CHANGED
|
@@ -162,7 +162,7 @@ export function adjustMatcher(matcher) {
|
|
|
162
162
|
* of issues, like for instance attacker-controlled `ng-includes`.
|
|
163
163
|
*/
|
|
164
164
|
|
|
165
|
-
export function
|
|
165
|
+
export function SceDelegateProvider() {
|
|
166
166
|
this.SCE_CONTEXTS = SCE_CONTEXTS;
|
|
167
167
|
|
|
168
168
|
// Resource URLs can also be trusted by policy.
|
|
@@ -473,7 +473,7 @@ export function $SceDelegateProvider() {
|
|
|
473
473
|
];
|
|
474
474
|
}
|
|
475
475
|
|
|
476
|
-
export function
|
|
476
|
+
export function SceProvider() {
|
|
477
477
|
let enabled = true;
|
|
478
478
|
|
|
479
479
|
/**
|
package/src/core/scope/scope.js
CHANGED
|
@@ -3,8 +3,8 @@ import { isDefined, minErr, sliceArgs } from "../../shared/utils";
|
|
|
3
3
|
|
|
4
4
|
const $timeoutMinErr = minErr("$timeout");
|
|
5
5
|
|
|
6
|
-
export
|
|
7
|
-
|
|
6
|
+
export class TimeoutProvider {
|
|
7
|
+
$get = [
|
|
8
8
|
"$rootScope",
|
|
9
9
|
"$browser",
|
|
10
10
|
"$q",
|
|
@@ -19,7 +19,7 @@ export function $TimeoutProvider() {
|
|
|
19
19
|
* @param {import('../exception-handler').ErrorHandler} $exceptionHandler
|
|
20
20
|
* @returns
|
|
21
21
|
*/
|
|
22
|
-
|
|
22
|
+
($rootScope, $browser, $q, $$q, $exceptionHandler) => {
|
|
23
23
|
const deferreds = {};
|
|
24
24
|
|
|
25
25
|
/**
|
package/src/directive/if/if.js
CHANGED
|
@@ -18,10 +18,10 @@ export function ngIfDirective($animate) {
|
|
|
18
18
|
restrict: "A",
|
|
19
19
|
/**
|
|
20
20
|
*
|
|
21
|
-
* @param {
|
|
22
|
-
* @param {
|
|
23
|
-
* @param {
|
|
24
|
-
* @param {
|
|
21
|
+
* @param {import("../../core/scope/scope").Scope} $scope
|
|
22
|
+
* @param {import("../../shared/jqlite/jqlite").JQLite} $element
|
|
23
|
+
* @param {import("../../core/compile/attributes").Attributes} $attr
|
|
24
|
+
* @param {Object} _ctrl
|
|
25
25
|
* @param {*} $transclude
|
|
26
26
|
*/
|
|
27
27
|
link($scope, $element, $attr, _ctrl, $transclude) {
|
|
@@ -32,7 +32,7 @@ export function ngIfDirective($animate) {
|
|
|
32
32
|
let childScope;
|
|
33
33
|
/** @type {import("../../shared/jqlite/jqlite").JQLite} */
|
|
34
34
|
let previousElements;
|
|
35
|
-
$scope.$watch($attr
|
|
35
|
+
$scope.$watch($attr["ngIf"], (value) => {
|
|
36
36
|
if (value) {
|
|
37
37
|
if (!childScope) {
|
|
38
38
|
$transclude((clone, newScope) => {
|
|
@@ -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();
|
|
@@ -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");
|
|
@@ -782,7 +782,7 @@ describe("ngMessages", () => {
|
|
|
782
782
|
// },
|
|
783
783
|
// (html) => {
|
|
784
784
|
// inject(($compile, $rootScope, $templateCache) => {
|
|
785
|
-
// $templateCache.
|
|
785
|
+
// $templateCache.set(
|
|
786
786
|
// "abc.html",
|
|
787
787
|
// '<div ng-message="a">A</div>' +
|
|
788
788
|
// '<div ng-message="b">B</div>' +
|
|
@@ -850,7 +850,7 @@ describe("ngMessages", () => {
|
|
|
850
850
|
// },
|
|
851
851
|
// (html) => {
|
|
852
852
|
// inject(($compile, $rootScope, $templateCache) => {
|
|
853
|
-
// $templateCache.
|
|
853
|
+
// $templateCache.set("abc.html", "<div></div>");
|
|
854
854
|
|
|
855
855
|
// element = $compile(html)($rootScope);
|
|
856
856
|
// $rootScope.$digest();
|
|
@@ -881,7 +881,7 @@ describe("ngMessages", () => {
|
|
|
881
881
|
// },
|
|
882
882
|
// (html) => {
|
|
883
883
|
// inject(($compile, $rootScope, $templateCache) => {
|
|
884
|
-
// $templateCache.
|
|
884
|
+
// $templateCache.set(
|
|
885
885
|
// "abc.html",
|
|
886
886
|
// '<div ng-message="a">A</div>' +
|
|
887
887
|
// '<div ng-message="b">B</div>' +
|
|
@@ -948,7 +948,7 @@ describe("ngMessages", () => {
|
|
|
948
948
|
});
|
|
949
949
|
|
|
950
950
|
it("should allow for overriding the remote template messages within the element depending on where the remote template is placed", () => {
|
|
951
|
-
$templateCache.
|
|
951
|
+
$templateCache.set(
|
|
952
952
|
"abc.html",
|
|
953
953
|
'<div ng-message="a">A</div>' +
|
|
954
954
|
'<div ng-message="b">B</div>' +
|
|
@@ -995,7 +995,7 @@ describe("ngMessages", () => {
|
|
|
995
995
|
});
|
|
996
996
|
|
|
997
997
|
// it("should properly detect a previous message, even if it was registered later", () => {
|
|
998
|
-
// $templateCache.
|
|
998
|
+
// $templateCache.set("include.html", '<div ng-message="a">A</div>');
|
|
999
999
|
// const html =
|
|
1000
1000
|
// '<div ng-messages="items">' +
|
|
1001
1001
|
// "<div ng-include=\"'include.html'\"></div>" +
|
|
@@ -1031,8 +1031,8 @@ describe("ngMessages", () => {
|
|
|
1031
1031
|
'<div ng-messages-include="messages2.html"></div>' +
|
|
1032
1032
|
"</div>";
|
|
1033
1033
|
|
|
1034
|
-
$templateCache.
|
|
1035
|
-
$templateCache.
|
|
1034
|
+
$templateCache.set("messages1.html", "");
|
|
1035
|
+
$templateCache.set("messages2.html", " ");
|
|
1036
1036
|
element = $compile(html)($rootScope);
|
|
1037
1037
|
$rootScope.$digest();
|
|
1038
1038
|
|
|
@@ -1070,7 +1070,7 @@ describe("ngMessages", () => {
|
|
|
1070
1070
|
// );
|
|
1071
1071
|
|
|
1072
1072
|
it("should render all truthy messages from a remote template", () => {
|
|
1073
|
-
$templateCache.
|
|
1073
|
+
$templateCache.set(
|
|
1074
1074
|
"xyz.html",
|
|
1075
1075
|
'<div ng-message="x">X</div>' +
|
|
1076
1076
|
'<div ng-message="y">Y</div>' +
|
|
@@ -1103,7 +1103,7 @@ describe("ngMessages", () => {
|
|
|
1103
1103
|
});
|
|
1104
1104
|
|
|
1105
1105
|
it("should render and override all truthy messages from a remote template", () => {
|
|
1106
|
-
$templateCache.
|
|
1106
|
+
$templateCache.set(
|
|
1107
1107
|
"xyz.html",
|
|
1108
1108
|
'<div ng-message="x">X</div>' +
|
|
1109
1109
|
'<div ng-message="y">Y</div>' +
|
|
@@ -2755,7 +2755,7 @@ describe("ngOptions", () => {
|
|
|
2755
2755
|
|
|
2756
2756
|
it("should not throw with a directive that replaces", () => {
|
|
2757
2757
|
let $templateCache = injector.get("$templateCache");
|
|
2758
|
-
$templateCache.
|
|
2758
|
+
$templateCache.set(
|
|
2759
2759
|
"select_template.html",
|
|
2760
2760
|
'<select ng-options="option as option for option in selectable_options"> <option value="">This is a test</option> </select>',
|
|
2761
2761
|
);
|
|
@@ -950,7 +950,7 @@ describe("ngRepeat", () => {
|
|
|
950
950
|
templateUrl: "rr.html",
|
|
951
951
|
}));
|
|
952
952
|
|
|
953
|
-
$templateCache.
|
|
953
|
+
$templateCache.set("rr.html", '<div ng-repeat="i in items">{{i}}|</div>');
|
|
954
954
|
|
|
955
955
|
element = JQLite("<div><span rr>{{i}}|</span></div>");
|
|
956
956
|
$compile(element)(scope);
|
|
@@ -994,7 +994,7 @@ describe("ngRepeat", () => {
|
|
|
994
994
|
replace: true,
|
|
995
995
|
templateUrl: "replace-me-with-repeater.html",
|
|
996
996
|
}));
|
|
997
|
-
$templateCache.
|
|
997
|
+
$templateCache.set(
|
|
998
998
|
"replace-me-with-repeater.html",
|
|
999
999
|
'<div ng-repeat="i in items">{{log(i)}}</div>',
|
|
1000
1000
|
);
|
|
@@ -1042,7 +1042,7 @@ describe("ngRepeat", () => {
|
|
|
1042
1042
|
replace: true,
|
|
1043
1043
|
templateUrl: "replace-me-with-repeater.html",
|
|
1044
1044
|
}));
|
|
1045
|
-
$templateCache.
|
|
1045
|
+
$templateCache.set(
|
|
1046
1046
|
"replace-me-with-repeater.html",
|
|
1047
1047
|
'<div ng-repeat="i in [1,2,3]">{{i}}</div>',
|
|
1048
1048
|
);
|
|
@@ -1294,7 +1294,7 @@ describe("ngRepeat", () => {
|
|
|
1294
1294
|
const injector = window.angular.bootstrap(element);
|
|
1295
1295
|
scope = injector.get("$rootScope");
|
|
1296
1296
|
$templateCache = injector.get("$templateCache");
|
|
1297
|
-
$templateCache.
|
|
1297
|
+
$templateCache.set("test.html", "hello");
|
|
1298
1298
|
scope.$digest();
|
|
1299
1299
|
setTimeout(() => {
|
|
1300
1300
|
expect(element.text()).toBe("hellohello");
|
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
scriptDirective.$inject = ["$templateCache"];
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @param {import('../../core/cache/cache-factory').TemplateCache} $templateCache
|
|
5
|
+
* @returns {import('../../types').Directive}
|
|
6
|
+
*/
|
|
7
|
+
export function scriptDirective($templateCache) {
|
|
8
|
+
return {
|
|
4
9
|
restrict: "E",
|
|
5
10
|
terminal: true,
|
|
6
11
|
compile(element, attr) {
|
|
7
12
|
if (attr.type === "text/ng-template") {
|
|
8
|
-
|
|
9
|
-
const { text } = element[0];
|
|
10
|
-
|
|
11
|
-
$templateCache.put(templateUrl, text);
|
|
13
|
+
$templateCache.set(attr.id, element[0].text);
|
|
12
14
|
}
|
|
13
15
|
},
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
+
};
|
|
17
|
+
}
|
|
@@ -33,33 +33,45 @@ import { startingTag } from "../../shared/jqlite/jqlite";
|
|
|
33
33
|
*/
|
|
34
34
|
export const requiredDirective = [
|
|
35
35
|
"$parse",
|
|
36
|
+
/**
|
|
37
|
+
* @param {import("../../core/parser/parse.js").ParseService} $parse
|
|
38
|
+
* @returns {import("../../types.js").Directive}
|
|
39
|
+
*/
|
|
36
40
|
($parse) => ({
|
|
37
41
|
restrict: "A",
|
|
38
42
|
require: "?ngModel",
|
|
39
|
-
link
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
43
|
+
link:
|
|
44
|
+
/**
|
|
45
|
+
* @param {import("../../core/scope/scope.js").Scope} scope
|
|
46
|
+
* @param {*} _elm
|
|
47
|
+
* @param {import("../../types.js").Attributes} attr
|
|
48
|
+
* @param {import("../../types.js").NgModelController} ctrl
|
|
49
|
+
* @returns
|
|
50
|
+
*/
|
|
51
|
+
(scope, _elm, attr, ctrl) => {
|
|
52
|
+
if (!ctrl) return;
|
|
53
|
+
// For boolean attributes like required, presence means true
|
|
54
|
+
let value =
|
|
55
|
+
Object.prototype.hasOwnProperty.call(attr, "required") ||
|
|
56
|
+
$parse(attr.ngRequired)(scope);
|
|
45
57
|
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
58
|
+
if (!attr.ngRequired) {
|
|
59
|
+
// force truthy in case we are on non input element
|
|
60
|
+
// (input elements do this automatically for boolean attributes like required)
|
|
61
|
+
attr.required = true;
|
|
62
|
+
}
|
|
51
63
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
64
|
+
ctrl.$validators.required = (_modelValue, viewValue) => {
|
|
65
|
+
return !value || !ctrl.$isEmpty(viewValue);
|
|
66
|
+
};
|
|
55
67
|
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
68
|
+
attr.$observe("required", (newVal) => {
|
|
69
|
+
if (value !== newVal) {
|
|
70
|
+
value = newVal;
|
|
71
|
+
ctrl.$validate();
|
|
72
|
+
}
|
|
73
|
+
});
|
|
74
|
+
},
|
|
63
75
|
}),
|
|
64
76
|
];
|
|
65
77
|
|
|
@@ -104,11 +116,15 @@ export const requiredDirective = [
|
|
|
104
116
|
*/
|
|
105
117
|
export const patternDirective = [
|
|
106
118
|
"$parse",
|
|
107
|
-
|
|
119
|
+
/**
|
|
120
|
+
* @param {import("../../core/parser/parse.js").ParseService} $parse
|
|
121
|
+
* @returns {import("../../types.js").Directive}
|
|
122
|
+
*/
|
|
123
|
+
($parse) => {
|
|
108
124
|
return {
|
|
109
125
|
restrict: "A",
|
|
110
126
|
require: "?ngModel",
|
|
111
|
-
compile:
|
|
127
|
+
compile: (_Elm, tAttr) => {
|
|
112
128
|
var patternExp;
|
|
113
129
|
var parseFn;
|
|
114
130
|
|
|
@@ -201,30 +217,42 @@ export const patternDirective = [
|
|
|
201
217
|
*/
|
|
202
218
|
export const maxlengthDirective = [
|
|
203
219
|
"$parse",
|
|
220
|
+
/**
|
|
221
|
+
* @param {import("../../core/parser/parse.js").ParseService} $parse
|
|
222
|
+
* @returns {import("../../types.js").Directive}
|
|
223
|
+
*/
|
|
204
224
|
($parse) => ({
|
|
205
225
|
restrict: "A",
|
|
206
226
|
require: "?ngModel",
|
|
207
|
-
link
|
|
208
|
-
|
|
227
|
+
link:
|
|
228
|
+
/**
|
|
229
|
+
* @param {import("../../core/scope/scope.js").Scope} scope
|
|
230
|
+
* @param {*} _elm
|
|
231
|
+
* @param {import("../../types.js").Attributes} attr
|
|
232
|
+
* @param {import("../../types.js").NgModelController} ctrl
|
|
233
|
+
* @returns
|
|
234
|
+
*/
|
|
235
|
+
(scope, _elm, attr, ctrl) => {
|
|
236
|
+
if (!ctrl) return;
|
|
209
237
|
|
|
210
|
-
|
|
211
|
-
|
|
238
|
+
let maxlength = attr.maxlength || $parse(attr.ngMaxlength)(scope);
|
|
239
|
+
let maxlengthParsed = parseLength(maxlength);
|
|
212
240
|
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
241
|
+
attr.$observe("maxlength", (value) => {
|
|
242
|
+
if (maxlength !== value) {
|
|
243
|
+
maxlengthParsed = parseLength(value);
|
|
244
|
+
maxlength = value;
|
|
245
|
+
ctrl.$validate();
|
|
246
|
+
}
|
|
247
|
+
});
|
|
248
|
+
ctrl.$validators.maxlength = function (modelValue, viewValue) {
|
|
249
|
+
return (
|
|
250
|
+
maxlengthParsed < 0 ||
|
|
251
|
+
ctrl.$isEmpty(viewValue) ||
|
|
252
|
+
viewValue.length <= maxlengthParsed
|
|
253
|
+
);
|
|
254
|
+
};
|
|
255
|
+
},
|
|
228
256
|
}),
|
|
229
257
|
];
|
|
230
258
|
|