@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
|
@@ -4,7 +4,6 @@ import { stringify } from "../../shared/strings";
|
|
|
4
4
|
import {
|
|
5
5
|
map,
|
|
6
6
|
find,
|
|
7
|
-
mergeR,
|
|
8
7
|
tail,
|
|
9
8
|
omit,
|
|
10
9
|
arrayTuples,
|
|
@@ -14,7 +13,7 @@ import {
|
|
|
14
13
|
uniqR,
|
|
15
14
|
} from "../../shared/common";
|
|
16
15
|
import { isUndefined, isObject, assert } from "../../shared/utils";
|
|
17
|
-
import {
|
|
16
|
+
import { propEq, val, is } from "../../shared/hof";
|
|
18
17
|
import { TransitionHookPhase } from "./interface"; // has or is using
|
|
19
18
|
import { TransitionHook } from "./transition-hook";
|
|
20
19
|
import { matchState, makeEvent } from "./hook-registry";
|
|
@@ -25,7 +24,6 @@ import { Resolvable } from "../resolve/resolvable";
|
|
|
25
24
|
import { ResolveContext } from "../resolve/resolve-context";
|
|
26
25
|
import { Rejection } from "./reject-factory";
|
|
27
26
|
|
|
28
|
-
const stateSelf = prop("self");
|
|
29
27
|
/**
|
|
30
28
|
* Represents a transition between two states.
|
|
31
29
|
*
|
|
@@ -45,7 +43,7 @@ export class Transition {
|
|
|
45
43
|
* @param fromPath The path of [[PathNode]]s from which the transition is leaving. The last node in the `fromPath`
|
|
46
44
|
* encapsulates the "from state".
|
|
47
45
|
* @param targetState The target state and parameters being transitioned to (also, the transition options)
|
|
48
|
-
* @param {import('../transition/transition-service').
|
|
46
|
+
* @param {import('../transition/transition-service').TransitionProvider} transitionService The [[TransitionService]] instance
|
|
49
47
|
* @internal
|
|
50
48
|
*/
|
|
51
49
|
constructor(fromPath, targetState, transitionService, globals) {
|
|
@@ -172,7 +170,9 @@ export class Transition {
|
|
|
172
170
|
}
|
|
173
171
|
params(pathname = "to") {
|
|
174
172
|
return Object.freeze(
|
|
175
|
-
this._treeChanges[pathname]
|
|
173
|
+
this._treeChanges[pathname]
|
|
174
|
+
.map((x) => x.paramValues)
|
|
175
|
+
.reduce((acc, obj) => ({ ...acc, ...obj }), {}),
|
|
176
176
|
);
|
|
177
177
|
}
|
|
178
178
|
paramsChanged() {
|
|
@@ -403,7 +403,7 @@ export class Transition {
|
|
|
403
403
|
* @returns an array of states that will be entered during this transition.
|
|
404
404
|
*/
|
|
405
405
|
entering() {
|
|
406
|
-
return map(this._treeChanges.entering,
|
|
406
|
+
return map(this._treeChanges.entering, (x) => x.state).map((x) => x.self);
|
|
407
407
|
}
|
|
408
408
|
/**
|
|
409
409
|
* Gets the states being exited.
|
|
@@ -411,8 +411,8 @@ export class Transition {
|
|
|
411
411
|
* @returns an array of states that will be exited during this transition.
|
|
412
412
|
*/
|
|
413
413
|
exiting() {
|
|
414
|
-
return map(this._treeChanges.exiting,
|
|
415
|
-
.map(
|
|
414
|
+
return map(this._treeChanges.exiting, (x) => x.state)
|
|
415
|
+
.map((x) => x.self)
|
|
416
416
|
.reverse();
|
|
417
417
|
}
|
|
418
418
|
/**
|
|
@@ -422,7 +422,7 @@ export class Transition {
|
|
|
422
422
|
* exited during this Transition
|
|
423
423
|
*/
|
|
424
424
|
retained() {
|
|
425
|
-
return map(this._treeChanges.retained,
|
|
425
|
+
return map(this._treeChanges.retained, (x) => x.state).map((x) => x.self);
|
|
426
426
|
}
|
|
427
427
|
/**
|
|
428
428
|
* Get the [[ViewConfig]]s associated with this Transition
|
|
@@ -439,7 +439,7 @@ export class Transition {
|
|
|
439
439
|
views(pathname = "entering", state) {
|
|
440
440
|
let path = this._treeChanges[pathname];
|
|
441
441
|
path = !state ? path : path.filter(propEq("state", state));
|
|
442
|
-
return path.map(
|
|
442
|
+
return path.map((x) => x.views).reduce(unnestR, []);
|
|
443
443
|
}
|
|
444
444
|
treeChanges(pathname) {
|
|
445
445
|
return pathname ? this._treeChanges[pathname] : this._treeChanges;
|
|
@@ -702,7 +702,9 @@ export class Transition {
|
|
|
702
702
|
from = isObject(fromStateOrName) ? fromStateOrName.name : fromStateOrName,
|
|
703
703
|
fromParams = stringify(
|
|
704
704
|
avoidEmptyHash(
|
|
705
|
-
this._treeChanges.from
|
|
705
|
+
this._treeChanges.from
|
|
706
|
+
.map((x) => x.paramValues)
|
|
707
|
+
.reduce((acc, obj) => ({ ...acc, ...obj }), {}),
|
|
706
708
|
),
|
|
707
709
|
),
|
|
708
710
|
toValid = this.valid() ? "" : "(X) ",
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
arrayTuples,
|
|
10
10
|
defaults,
|
|
11
11
|
} from "../../shared/common";
|
|
12
|
-
import {
|
|
12
|
+
import { propEq } from "../../shared/hof";
|
|
13
13
|
import { isDefined, isString } from "../../shared/utils";
|
|
14
14
|
import { Param, DefType } from "../params/param";
|
|
15
15
|
import { joinNeighborsR, splitOnDelim } from "../../shared/strings";
|
|
@@ -344,7 +344,7 @@ export class UrlMatcher {
|
|
|
344
344
|
return new RegExp(
|
|
345
345
|
[
|
|
346
346
|
"^",
|
|
347
|
-
unnest(this._cache.path.map(
|
|
347
|
+
unnest(this._cache.path.map((x) => x._compiled)).join(""),
|
|
348
348
|
this.config.strict === false ? "/?" : "",
|
|
349
349
|
"$",
|
|
350
350
|
].join(""),
|
|
@@ -26,7 +26,7 @@ export class UrlService {
|
|
|
26
26
|
];
|
|
27
27
|
|
|
28
28
|
/**
|
|
29
|
-
* @param {import("../../core/location/location")
|
|
29
|
+
* @param {import("../../core/location/location").LocationProvider} $locationProvider
|
|
30
30
|
*/
|
|
31
31
|
constructor($locationProvider, stateService, globals, urlConfigProvider) {
|
|
32
32
|
this.stateService = stateService;
|
package/src/router/view/view.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { equals, applyPairs, removeFrom, find } from "../../shared/common";
|
|
2
|
-
import { curry
|
|
2
|
+
import { curry } from "../../shared/hof";
|
|
3
3
|
import { trace } from "../common/trace";
|
|
4
4
|
import { getNg1ViewConfigFactory } from "../state/views";
|
|
5
5
|
/**
|
|
@@ -177,7 +177,7 @@ export class ViewService {
|
|
|
177
177
|
* @return {Array} Returns an array of fully-qualified view names.
|
|
178
178
|
*/
|
|
179
179
|
available() {
|
|
180
|
-
return this._ngViews.map(
|
|
180
|
+
return this._ngViews.map((x) => x.fqn);
|
|
181
181
|
}
|
|
182
182
|
/**
|
|
183
183
|
* Returns the list of views on the page containing loaded content.
|
|
@@ -185,7 +185,7 @@ export class ViewService {
|
|
|
185
185
|
* @return {Array} Returns an array of fully-qualified view names.
|
|
186
186
|
*/
|
|
187
187
|
active() {
|
|
188
|
-
return this._ngViews.filter(
|
|
188
|
+
return this._ngViews.filter((x) => x.$config).map((x) => x.name);
|
|
189
189
|
}
|
|
190
190
|
}
|
|
191
191
|
/**
|
|
@@ -54,7 +54,7 @@ function serializeValue(v) {
|
|
|
54
54
|
*
|
|
55
55
|
* Note that serializer will sort the request parameters alphabetically.
|
|
56
56
|
*/
|
|
57
|
-
export function
|
|
57
|
+
export function HttpParamSerializerProvider() {
|
|
58
58
|
this.$get = function () {
|
|
59
59
|
return function ngParamSerializer(params) {
|
|
60
60
|
if (!params) return "";
|
|
@@ -82,86 +82,6 @@ export function $HttpParamSerializerProvider() {
|
|
|
82
82
|
};
|
|
83
83
|
}
|
|
84
84
|
|
|
85
|
-
/**
|
|
86
|
-
*
|
|
87
|
-
* Alternative {@link $http `$http`} params serializer that follows
|
|
88
|
-
* jQuery's [`param()`](http://api.jquery.com/jquery.param/) method logic.
|
|
89
|
-
* The serializer will also sort the params alphabetically.
|
|
90
|
-
*
|
|
91
|
-
* To use it for serializing `$http` request parameters, set it as the `paramSerializer` property:
|
|
92
|
-
*
|
|
93
|
-
* ```js
|
|
94
|
-
* $http({
|
|
95
|
-
* url: myUrl,
|
|
96
|
-
* method: 'GET',
|
|
97
|
-
* params: myParams,
|
|
98
|
-
* paramSerializer: '$httpParamSerializerJQLike'
|
|
99
|
-
* });
|
|
100
|
-
* ```
|
|
101
|
-
*
|
|
102
|
-
* It is also possible to set it as the default `paramSerializer` in the
|
|
103
|
-
* {@link $httpProvider#defaults `$httpProvider`}.
|
|
104
|
-
*
|
|
105
|
-
* Additionally, you can inject the serializer and use it explicitly, for example to serialize
|
|
106
|
-
* form data for submission:
|
|
107
|
-
*
|
|
108
|
-
* ```js
|
|
109
|
-
* .controller(function($http, $httpParamSerializerJQLike) {
|
|
110
|
-
* //...
|
|
111
|
-
*
|
|
112
|
-
* $http({
|
|
113
|
-
* url: myUrl,
|
|
114
|
-
* method: 'POST',
|
|
115
|
-
* data: $httpParamSerializerJQLike(myData),
|
|
116
|
-
* headers: {
|
|
117
|
-
* 'Content-Type': 'application/x-www-form-urlencoded'
|
|
118
|
-
* }
|
|
119
|
-
* });
|
|
120
|
-
*
|
|
121
|
-
* });
|
|
122
|
-
* ```
|
|
123
|
-
*
|
|
124
|
-
*/
|
|
125
|
-
export function $HttpParamSerializerJQLikeProvider() {
|
|
126
|
-
this.$get = function () {
|
|
127
|
-
return function jQueryLikeParamSerializer(params) {
|
|
128
|
-
if (!params) return "";
|
|
129
|
-
const parts = [];
|
|
130
|
-
serialize(params, "", true);
|
|
131
|
-
return parts.join("&");
|
|
132
|
-
|
|
133
|
-
function serialize(toSerialize, prefix, topLevel) {
|
|
134
|
-
if (Array.isArray(toSerialize)) {
|
|
135
|
-
forEach(toSerialize, (value, index) => {
|
|
136
|
-
serialize(value, `${prefix}[${isObject(value) ? index : ""}]`);
|
|
137
|
-
});
|
|
138
|
-
} else if (isObject(toSerialize) && !isDate(toSerialize)) {
|
|
139
|
-
Object.keys(toSerialize)
|
|
140
|
-
.sort()
|
|
141
|
-
.forEach((key) => {
|
|
142
|
-
const value = toSerialize[key];
|
|
143
|
-
serialize(
|
|
144
|
-
value,
|
|
145
|
-
prefix + (topLevel ? "" : "[") + key + (topLevel ? "" : "]"),
|
|
146
|
-
);
|
|
147
|
-
});
|
|
148
|
-
} else {
|
|
149
|
-
if (isFunction(toSerialize)) {
|
|
150
|
-
toSerialize = toSerialize();
|
|
151
|
-
}
|
|
152
|
-
parts.push(
|
|
153
|
-
`${encodeUriQuery(prefix)}=${
|
|
154
|
-
toSerialize == null
|
|
155
|
-
? ""
|
|
156
|
-
: encodeUriQuery(serializeValue(toSerialize))
|
|
157
|
-
}`,
|
|
158
|
-
);
|
|
159
|
-
}
|
|
160
|
-
}
|
|
161
|
-
};
|
|
162
|
-
};
|
|
163
|
-
}
|
|
164
|
-
|
|
165
85
|
export function defaultHttpResponseTransform(data, headers) {
|
|
166
86
|
if (isString(data)) {
|
|
167
87
|
// Strip json vulnerability protection prefix and trim whitespace
|
|
@@ -297,7 +217,7 @@ function isSuccess(status) {
|
|
|
297
217
|
/**
|
|
298
218
|
* Use `$httpProvider` to change the default behavior of the {@link ng.$http $http} service.
|
|
299
219
|
*/
|
|
300
|
-
export function
|
|
220
|
+
export function HttpProvider() {
|
|
301
221
|
/**
|
|
302
222
|
* Object containing default values for all {@link ng.$http $http} requests.
|
|
303
223
|
*
|
|
@@ -461,7 +381,6 @@ export function $HttpProvider() {
|
|
|
461
381
|
this.$get = [
|
|
462
382
|
"$browser",
|
|
463
383
|
"$httpBackend",
|
|
464
|
-
"$cacheFactory",
|
|
465
384
|
"$rootScope",
|
|
466
385
|
"$q",
|
|
467
386
|
"$injector",
|
|
@@ -470,23 +389,17 @@ export function $HttpProvider() {
|
|
|
470
389
|
*
|
|
471
390
|
* @param {*} $browser
|
|
472
391
|
* @param {*} $httpBackend
|
|
473
|
-
* @param {*} $cacheFactory
|
|
474
392
|
* @param {*} $rootScope
|
|
475
393
|
* @param {*} $q
|
|
476
394
|
* @param {import("../../core/di/internal-injector").InjectorService} $injector
|
|
477
395
|
* @param {*} $sce
|
|
478
396
|
* @returns
|
|
479
397
|
*/
|
|
480
|
-
function (
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
$q,
|
|
486
|
-
$injector,
|
|
487
|
-
$sce,
|
|
488
|
-
) {
|
|
489
|
-
const defaultCache = $cacheFactory("$http");
|
|
398
|
+
function ($browser, $httpBackend, $rootScope, $q, $injector, $sce) {
|
|
399
|
+
/**
|
|
400
|
+
* @type {Map<string, string>}
|
|
401
|
+
*/
|
|
402
|
+
const defaultCache = new Map();
|
|
490
403
|
|
|
491
404
|
/**
|
|
492
405
|
* Make sure that default param serializer is exposed as a function
|
|
@@ -874,7 +787,7 @@ export function $HttpProvider() {
|
|
|
874
787
|
}
|
|
875
788
|
} else {
|
|
876
789
|
// put the promise for the non-transformed response into cache as a placeholder
|
|
877
|
-
cache.
|
|
790
|
+
cache.set(url, promise);
|
|
878
791
|
}
|
|
879
792
|
}
|
|
880
793
|
|
|
@@ -936,7 +849,7 @@ export function $HttpProvider() {
|
|
|
936
849
|
function done(status, response, headersString, statusText, xhrStatus) {
|
|
937
850
|
if (cache) {
|
|
938
851
|
if (isSuccess(status)) {
|
|
939
|
-
cache.
|
|
852
|
+
cache.set(url, [
|
|
940
853
|
status,
|
|
941
854
|
response,
|
|
942
855
|
parseHeaders(headersString),
|
|
@@ -945,7 +858,7 @@ export function $HttpProvider() {
|
|
|
945
858
|
]);
|
|
946
859
|
} else {
|
|
947
860
|
// remove promise from the cache
|
|
948
|
-
cache.
|
|
861
|
+
cache.delete(url);
|
|
949
862
|
}
|
|
950
863
|
}
|
|
951
864
|
|
|
@@ -1065,124 +1065,6 @@ describe("$http", function () {
|
|
|
1065
1065
|
expect(res.config.method).toBe("GET");
|
|
1066
1066
|
});
|
|
1067
1067
|
|
|
1068
|
-
describe("JQ-like param serialization", function () {
|
|
1069
|
-
it("is possible", async function () {
|
|
1070
|
-
await $http({
|
|
1071
|
-
url: "/mock/hello",
|
|
1072
|
-
params: {
|
|
1073
|
-
a: 42,
|
|
1074
|
-
b: 43,
|
|
1075
|
-
},
|
|
1076
|
-
paramSerializer: "$httpParamSerializerJQLike",
|
|
1077
|
-
}).then(function (r) {
|
|
1078
|
-
response = r;
|
|
1079
|
-
});
|
|
1080
|
-
$rootScope.$apply();
|
|
1081
|
-
|
|
1082
|
-
expect(
|
|
1083
|
-
response.config
|
|
1084
|
-
.paramSerializer(response.config.params)
|
|
1085
|
-
.endsWith("a=42&b=43"),
|
|
1086
|
-
).toBeTrue();
|
|
1087
|
-
});
|
|
1088
|
-
|
|
1089
|
-
it("serializes null and undefined elements as empty", async function () {
|
|
1090
|
-
await $http({
|
|
1091
|
-
url: "/mock/hello",
|
|
1092
|
-
params: {
|
|
1093
|
-
a: null,
|
|
1094
|
-
b: undefined,
|
|
1095
|
-
},
|
|
1096
|
-
paramSerializer: "$httpParamSerializerJQLike",
|
|
1097
|
-
}).then(function (r) {
|
|
1098
|
-
response = r;
|
|
1099
|
-
});
|
|
1100
|
-
$rootScope.$apply();
|
|
1101
|
-
|
|
1102
|
-
expect(
|
|
1103
|
-
response.config
|
|
1104
|
-
.paramSerializer(response.config.params)
|
|
1105
|
-
.endsWith("a=&b="),
|
|
1106
|
-
).toBeTrue();
|
|
1107
|
-
});
|
|
1108
|
-
|
|
1109
|
-
it("uses square brackets in arrays", async function () {
|
|
1110
|
-
await $http({
|
|
1111
|
-
url: "/mock/hello",
|
|
1112
|
-
params: {
|
|
1113
|
-
a: [42, 43],
|
|
1114
|
-
},
|
|
1115
|
-
paramSerializer: "$httpParamSerializerJQLike",
|
|
1116
|
-
}).then(function (r) {
|
|
1117
|
-
response = r;
|
|
1118
|
-
});
|
|
1119
|
-
$rootScope.$apply();
|
|
1120
|
-
|
|
1121
|
-
expect(
|
|
1122
|
-
response.config
|
|
1123
|
-
.paramSerializer(response.config.params)
|
|
1124
|
-
.endsWith("a%5B%5D=42&a%5B%5D=43"),
|
|
1125
|
-
).toBeTrue();
|
|
1126
|
-
});
|
|
1127
|
-
|
|
1128
|
-
it("uses square brackets in objects", async function () {
|
|
1129
|
-
await $http({
|
|
1130
|
-
url: "/mock/hello",
|
|
1131
|
-
params: {
|
|
1132
|
-
a: { b: 42, c: 43 },
|
|
1133
|
-
},
|
|
1134
|
-
paramSerializer: "$httpParamSerializerJQLike",
|
|
1135
|
-
}).then(function (r) {
|
|
1136
|
-
response = r;
|
|
1137
|
-
});
|
|
1138
|
-
$rootScope.$apply();
|
|
1139
|
-
|
|
1140
|
-
expect(
|
|
1141
|
-
response.config
|
|
1142
|
-
.paramSerializer(response.config.params)
|
|
1143
|
-
.endsWith("a%5Bb%5D=42&a%5Bc%5D=43"),
|
|
1144
|
-
).toBeTrue();
|
|
1145
|
-
});
|
|
1146
|
-
|
|
1147
|
-
it("supports nesting in objects", async function () {
|
|
1148
|
-
await $http({
|
|
1149
|
-
url: "/mock/hello",
|
|
1150
|
-
params: {
|
|
1151
|
-
a: { b: { c: 42 } },
|
|
1152
|
-
},
|
|
1153
|
-
paramSerializer: "$httpParamSerializerJQLike",
|
|
1154
|
-
}).then(function (r) {
|
|
1155
|
-
response = r;
|
|
1156
|
-
});
|
|
1157
|
-
$rootScope.$apply();
|
|
1158
|
-
|
|
1159
|
-
expect(
|
|
1160
|
-
response.config
|
|
1161
|
-
.paramSerializer(response.config.params)
|
|
1162
|
-
.endsWith("a%5Bb%5D%5Bc%5D=42"),
|
|
1163
|
-
).toBeTrue();
|
|
1164
|
-
});
|
|
1165
|
-
|
|
1166
|
-
it("appends array indexes when items are objects", async function () {
|
|
1167
|
-
await $http({
|
|
1168
|
-
url: "/mock/hello",
|
|
1169
|
-
params: {
|
|
1170
|
-
a: [{ b: 42 }],
|
|
1171
|
-
},
|
|
1172
|
-
paramSerializer: "$httpParamSerializerJQLike",
|
|
1173
|
-
}).then(function (r) {
|
|
1174
|
-
response = r;
|
|
1175
|
-
});
|
|
1176
|
-
$rootScope.$apply();
|
|
1177
|
-
|
|
1178
|
-
expect(
|
|
1179
|
-
response.config
|
|
1180
|
-
.paramSerializer(response.config.params)
|
|
1181
|
-
.endsWith("a%5B0%5D%5Bb%5D=42"),
|
|
1182
|
-
).toBeTrue();
|
|
1183
|
-
});
|
|
1184
|
-
});
|
|
1185
|
-
|
|
1186
1068
|
it("allows aborting a request with a Promise", async function () {
|
|
1187
1069
|
const timeout = $q.defer();
|
|
1188
1070
|
$http
|
|
@@ -79,21 +79,19 @@ describe("$templateRequest", () => {
|
|
|
79
79
|
},
|
|
80
80
|
]);
|
|
81
81
|
|
|
82
|
-
createInjector(["test"]).invoke(
|
|
83
|
-
($
|
|
84
|
-
spyOn($http, "get").and.callThrough();
|
|
82
|
+
createInjector(["test"]).invoke(($templateRequest, $http) => {
|
|
83
|
+
spyOn($http, "get").and.callThrough();
|
|
85
84
|
|
|
86
|
-
|
|
87
|
-
|
|
85
|
+
const customCache = new Map();
|
|
86
|
+
httpOptions.cache = customCache;
|
|
88
87
|
|
|
89
|
-
|
|
88
|
+
$templateRequest("tpl.html");
|
|
90
89
|
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
);
|
|
90
|
+
expect($http.get).toHaveBeenCalledOnceWith("tpl.html", {
|
|
91
|
+
cache: customCache,
|
|
92
|
+
transformResponse: [],
|
|
93
|
+
});
|
|
94
|
+
});
|
|
97
95
|
});
|
|
98
96
|
});
|
|
99
97
|
});
|
|
@@ -125,8 +123,7 @@ describe("$templateRequest", () => {
|
|
|
125
123
|
});
|
|
126
124
|
|
|
127
125
|
it("should return the cached value on the first request", async () => {
|
|
128
|
-
|
|
129
|
-
|
|
126
|
+
$templateCache.set("tpl.html", "_matias");
|
|
130
127
|
const content = [];
|
|
131
128
|
function tplRequestCb(html) {
|
|
132
129
|
content.push(html);
|
|
@@ -164,26 +161,12 @@ describe("$templateRequest", () => {
|
|
|
164
161
|
$rootScope.$digest();
|
|
165
162
|
}).toThrow();
|
|
166
163
|
|
|
167
|
-
$templateCache.
|
|
168
|
-
expect(() => {
|
|
169
|
-
$templateRequest("tpl.html");
|
|
170
|
-
$rootScope.$digest();
|
|
171
|
-
}).toThrow();
|
|
172
|
-
$templateCache.removeAll();
|
|
173
|
-
|
|
174
|
-
$templateCache.put("tpl.html", null); // makes no sense, but it's been added, so trust it.
|
|
175
|
-
expect(() => {
|
|
176
|
-
$templateRequest("tpl.html");
|
|
177
|
-
$rootScope.$digest();
|
|
178
|
-
}).not.toThrow();
|
|
179
|
-
$templateCache.removeAll();
|
|
180
|
-
|
|
181
|
-
$templateCache.put("tpl.html", ""); // should work (empty template)
|
|
164
|
+
$templateCache.set("tpl.html", ""); // should work (empty template)
|
|
182
165
|
expect(() => {
|
|
183
166
|
$templateRequest("tpl.html");
|
|
184
167
|
$rootScope.$digest();
|
|
185
168
|
}).not.toThrow();
|
|
186
|
-
$templateCache
|
|
169
|
+
$templateCache = new Map();
|
|
187
170
|
});
|
|
188
171
|
|
|
189
172
|
it("should keep track of how many requests are going on", async () => {
|
package/src/services/log.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { defaultHttpResponseTransform } from "./http/http";
|
|
2
|
-
import { extend, isString,
|
|
2
|
+
import { extend, isString, minErr } from "../shared/utils";
|
|
3
3
|
|
|
4
4
|
var $templateRequestMinErr = minErr("$templateRequest");
|
|
5
5
|
|
|
@@ -62,7 +62,7 @@ export function TemplateRequestProvider() {
|
|
|
62
62
|
/**
|
|
63
63
|
*
|
|
64
64
|
* @param {import('../core/exception-handler').ErrorHandler} $exceptionHandler
|
|
65
|
-
* @param {
|
|
65
|
+
* @param {import('../core/cache/cache-factory').TemplateCache} $templateCache
|
|
66
66
|
* @param {*} $http
|
|
67
67
|
* @param {*} $q
|
|
68
68
|
* @param {*} $sce
|
|
@@ -77,7 +77,7 @@ export function TemplateRequestProvider() {
|
|
|
77
77
|
// resources for keys that already are included in there. This also makes
|
|
78
78
|
// AngularJS accept any script directive, no matter its name. However, we
|
|
79
79
|
// still need to unwrap trusted types.
|
|
80
|
-
if (!isString(tpl) ||
|
|
80
|
+
if (!isString(tpl) || !$templateCache.has(tpl)) {
|
|
81
81
|
tpl = $sce.getTrustedResourceUrl(tpl);
|
|
82
82
|
}
|
|
83
83
|
|
|
@@ -107,7 +107,8 @@ export function TemplateRequestProvider() {
|
|
|
107
107
|
handleRequestFn.totalPendingRequests--;
|
|
108
108
|
})
|
|
109
109
|
.then(function (response) {
|
|
110
|
-
|
|
110
|
+
$templateCache.set(tpl, response.data);
|
|
111
|
+
return response.data;
|
|
111
112
|
}, handleError);
|
|
112
113
|
|
|
113
114
|
function handleError(resp) {
|
package/src/shared/common.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { isDate, isFunction, isRegExp, isString } from "./utils";
|
|
2
|
-
import { all,
|
|
2
|
+
import { all, curry } from "./hof";
|
|
3
3
|
import { services } from "../router/common/coreservices";
|
|
4
4
|
|
|
5
5
|
export function forEach(obj, cb, thisArg) {
|
|
@@ -160,8 +160,7 @@ export function defaults(opts, ...defaultsList) {
|
|
|
160
160
|
const defaultVals = Object.assign({}, ...defaultsList.reverse());
|
|
161
161
|
return Object.assign(defaultVals, pick(opts || {}, Object.keys(defaultVals)));
|
|
162
162
|
}
|
|
163
|
-
|
|
164
|
-
export const mergeR = (memo, item) => Object.assign(memo, item);
|
|
163
|
+
|
|
165
164
|
/**
|
|
166
165
|
* Finds the common ancestor path between two states.
|
|
167
166
|
*
|
|
@@ -214,12 +213,7 @@ export function omit(obj, propNames) {
|
|
|
214
213
|
.filter((x) => !propNames.includes(x))
|
|
215
214
|
.reduce((acc, key) => ((acc[key] = obj[key]), acc), {});
|
|
216
215
|
}
|
|
217
|
-
|
|
218
|
-
* Maps an array, or object to a property (by name)
|
|
219
|
-
*/
|
|
220
|
-
export function pluck(collection, propName) {
|
|
221
|
-
return map(collection, prop(propName));
|
|
222
|
-
}
|
|
216
|
+
|
|
223
217
|
/** Filters an Array or an Object's properties based on a predicate */
|
|
224
218
|
export function filter(collection, callback) {
|
|
225
219
|
const arr = Array.isArray(collection),
|
package/src/shared/hof.js
CHANGED
|
@@ -73,13 +73,7 @@ export function compose() {
|
|
|
73
73
|
export function pipe() {
|
|
74
74
|
return compose.apply(null, [].slice.call(arguments).reverse());
|
|
75
75
|
}
|
|
76
|
-
|
|
77
|
-
* Given a property name, returns a function that returns that property from an object
|
|
78
|
-
* let obj = { foo: 1, name: "blarg" };
|
|
79
|
-
* let getName = prop("name");
|
|
80
|
-
* getName(obj) === "blarg"
|
|
81
|
-
*/
|
|
82
|
-
export const prop = (name) => (obj) => obj && obj[name];
|
|
76
|
+
|
|
83
77
|
/**
|
|
84
78
|
* Given a property name and a value, returns a function that returns a boolean based on whether
|
|
85
79
|
* the passed object has a property that matches the value
|
|
@@ -96,7 +90,11 @@ export const propEq = curry((name, _val, obj) => obj && obj[name] === _val);
|
|
|
96
90
|
* let propNotFound = prop("this.property.doesnt.exist");
|
|
97
91
|
* propNotFound(obj) === undefined
|
|
98
92
|
*/
|
|
99
|
-
export const parse = (name) =>
|
|
93
|
+
export const parse = (name) =>
|
|
94
|
+
pipe.apply(
|
|
95
|
+
null,
|
|
96
|
+
name.split(".").map((name) => (obj) => obj && obj[name]),
|
|
97
|
+
);
|
|
100
98
|
|
|
101
99
|
/**
|
|
102
100
|
* Given two functions that return truthy or falsey values, returns a function that returns truthy
|
package/src/types.js
CHANGED
|
@@ -150,20 +150,6 @@
|
|
|
150
150
|
* - An object where keys are string identifiers and values are {@link Controller}
|
|
151
151
|
*/
|
|
152
152
|
|
|
153
|
-
/**
|
|
154
|
-
* @template [S=import('./core/scope/scope').Scope]
|
|
155
|
-
* @template {TScope} S - The type of the directive's scope.
|
|
156
|
-
*
|
|
157
|
-
* @template [T=import('./shared/jqlite/jqlite').JQLite]
|
|
158
|
-
* @template {TElement} T - The type of the directive's element.
|
|
159
|
-
*
|
|
160
|
-
* @template [A=Attributes]
|
|
161
|
-
* @template {TAttributes} A - The type of the directive's attributes.
|
|
162
|
-
*
|
|
163
|
-
* @template [C=Controller]
|
|
164
|
-
* @template {TController} C - The type of the directive's controller.
|
|
165
|
-
*/
|
|
166
|
-
|
|
167
153
|
/**
|
|
168
154
|
* Compile function for an AngularJS directive.
|
|
169
155
|
*
|