@angular-wave/angular.ts 0.7.0-beta.0 → 0.7.0-beta.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/.husky/pre-commit +2 -0
- package/@types/animations/animate-children-directive.d.ts +4 -2
- package/@types/animations/animate-swap.d.ts +2 -2
- package/@types/animations/animate.d.ts +1 -1
- package/@types/animations/interface.d.ts +17 -0
- package/@types/animations/raf-scheduler.d.ts +29 -16
- package/@types/core/compile/attributes.d.ts +1 -1
- package/@types/core/compile/compile.d.ts +22 -15
- package/@types/core/controller/controller.d.ts +1 -1
- package/@types/core/di/internal-injector.d.ts +10 -6
- package/@types/core/di/ng-module.d.ts +3 -3
- package/@types/core/error-handler.d.ts +7 -0
- package/@types/core/exception-handler.d.ts +5 -10
- package/@types/core/filter/filter.d.ts +20 -4
- package/@types/core/interpolate/interpolate.d.ts +3 -3
- package/@types/core/location/location.d.ts +1 -1
- package/@types/core/parse/interface.d.ts +79 -0
- package/@types/core/parse/interpreter.d.ts +19 -8
- package/@types/core/parse/parse.d.ts +2 -94
- package/@types/core/parse/parser/parser.d.ts +2 -2
- package/@types/core/sanitize/interface.d.ts +10 -0
- package/@types/core/sanitize/sanitize-uri.d.ts +31 -44
- package/@types/core/sce/sce.d.ts +109 -32
- package/@types/core/scope/scope.d.ts +3 -3
- package/@types/directive/bind/bind.d.ts +6 -6
- package/@types/directive/channel/channel.d.ts +2 -2
- package/@types/directive/class/class.d.ts +3 -3
- package/@types/directive/cloak/cloak.d.ts +2 -2
- package/@types/directive/controller/controller.d.ts +2 -2
- package/@types/directive/events/events.d.ts +4 -4
- package/@types/directive/form/form.d.ts +1 -1
- package/@types/directive/if/if.d.ts +2 -2
- package/@types/directive/include/include.d.ts +2 -2
- package/@types/directive/init/init.d.ts +2 -2
- package/@types/directive/input/input.d.ts +4 -4
- package/@types/directive/model/model.d.ts +10 -10
- package/@types/directive/model-options/model-options.d.ts +1 -1
- package/@types/directive/non-bindable/non-bindable.d.ts +2 -2
- package/@types/directive/observe/observe.d.ts +2 -2
- package/@types/directive/options/options.d.ts +1 -1
- package/@types/directive/repeat/repeat.d.ts +2 -2
- package/@types/directive/script/script.d.ts +2 -2
- package/@types/directive/select/select.d.ts +2 -2
- package/@types/directive/setter/setter.d.ts +6 -3
- package/@types/directive/show-hide/show-hide.d.ts +4 -4
- package/@types/directive/style/style.d.ts +2 -2
- package/@types/directive/switch/switch.d.ts +6 -6
- package/@types/directive/transclude/transclude.d.ts +3 -1
- package/@types/directive/validators/validators.d.ts +14 -14
- package/@types/filters/filter.d.ts +2 -7
- package/@types/filters/filters.d.ts +2 -2
- package/@types/filters/limit-to.d.ts +2 -6
- package/@types/filters/order-by.d.ts +4 -3
- package/@types/interface.d.ts +302 -0
- package/@types/loader.d.ts +15 -18
- package/@types/public.d.ts +6 -7
- package/@types/router/common/glob.d.ts +25 -8
- package/@types/router/common/queue.d.ts +62 -13
- package/@types/router/common/trace.d.ts +8 -14
- package/@types/router/directives/state-directives.d.ts +11 -10
- package/@types/router/directives/view-directive.d.ts +3 -3
- package/@types/router/globals.d.ts +25 -7
- package/@types/router/params/interface.d.ts +606 -0
- package/@types/router/resolve/interface.d.ts +200 -0
- package/@types/router/state/interface.d.ts +983 -0
- package/@types/router/state/state-object.d.ts +13 -3
- package/@types/router/state/state-registry.d.ts +18 -4
- package/@types/router/state/state-service.d.ts +18 -10
- package/@types/router/state/views.d.ts +14 -8
- package/@types/router/state-filters.d.ts +8 -4
- package/@types/router/template-factory.d.ts +4 -4
- package/@types/router/transition/interface.d.ts +876 -11
- package/@types/router/transition/transition-service.d.ts +3 -3
- package/@types/router/transition/transition.d.ts +25 -15
- package/@types/router/view/interface.d.ts +44 -0
- package/@types/router/view/view.d.ts +17 -5
- package/@types/shared/interface.d.ts +6 -0
- package/@types/shared/utils.d.ts +18 -33
- package/CHANGELOG.md +38 -38
- package/CODE_OF_CONDUCT.md +1 -1
- package/CONTRIBUTING.md +9 -9
- package/DEVELOPERS.md +30 -30
- package/Makefile +1 -1
- package/README.md +20 -20
- package/RELEASE.md +3 -3
- package/SECURITY.md +1 -1
- package/TRIAGING.md +3 -3
- package/dist/angular-ts.esm.js +3853 -3514
- package/dist/angular-ts.umd.js +3854 -3514
- package/dist/angular-ts.umd.min.js +1 -1
- package/index.html +2 -11
- package/package.json +3 -3
- package/src/angular.spec.js +1 -99
- package/src/animations/animate-children-directive.js +2 -2
- package/src/animations/animate-css.md +1 -1
- package/src/animations/animate-queue.js +1 -1
- package/src/animations/animate-swap.js +20 -17
- package/src/animations/animate.js +1 -1
- package/src/animations/animate.md +8 -8
- package/src/animations/animation.js +1 -0
- package/src/animations/interface.ts +19 -0
- package/src/animations/raf-scheduler.js +70 -54
- package/src/animations/raf-scheduler.spec.js +6 -0
- package/src/core/compile/attributes.js +13 -15
- package/src/core/compile/compile.js +2737 -2631
- package/src/core/compile/compile.md +13 -13
- package/src/core/compile/compile.spec.js +8 -108
- package/src/core/controller/controller.js +1 -1
- package/src/core/di/injector.js +34 -6
- package/src/core/di/injector.md +6 -6
- package/src/core/di/internal-injector.js +19 -21
- package/src/core/di/ng-module.js +4 -3
- package/src/core/error-handler.ts +7 -0
- package/src/core/exception-handler.js +4 -9
- package/src/core/filter/filter.js +12 -3
- package/src/core/filter/filter.md +5 -5
- package/src/core/interpolate/interpolate.js +6 -6
- package/src/core/interpolate/interpolate.spec.js +1 -1
- package/src/core/location/location.js +3 -3
- package/src/core/parse/ast/ast.js +2 -2
- package/src/core/parse/interface.ts +84 -0
- package/src/core/parse/interpreter.js +33 -28
- package/src/core/parse/parse.js +8 -55
- package/src/core/parse/parse.md +6 -6
- package/src/core/parse/parser/parser.js +1 -1
- package/src/core/sanitize/interface.ts +10 -0
- package/src/core/sanitize/sanitize-uri.js +46 -56
- package/src/core/sanitize/sanitize-uri.spec.js +1 -1
- package/src/core/sce/sce.js +378 -301
- package/src/core/sce/sce.md +13 -13
- package/src/core/scope/scope.js +8 -6
- package/src/directive/aria/aria.js +9 -11
- package/src/directive/attrs/attrs.md +7 -7
- package/src/directive/bind/bind.js +5 -5
- package/src/directive/bind/bind.md +3 -3
- package/src/directive/channel/channel.js +1 -1
- package/src/directive/class/class.js +1 -1
- package/src/directive/cloak/cloak.js +1 -1
- package/src/directive/cloak/cloak.md +1 -1
- package/src/directive/controller/controller.js +1 -1
- package/src/directive/controller/controller.md +2 -2
- package/src/directive/events/events.js +3 -3
- package/src/directive/events/events.md +2 -2
- package/src/directive/form/form.js +5 -5
- package/src/directive/if/if.js +1 -1
- package/src/directive/include/include.js +1 -1
- package/src/directive/include/include.md +2 -2
- package/src/directive/init/init.js +1 -1
- package/src/directive/input/input.js +7 -7
- package/src/directive/input/input.md +54 -54
- package/src/directive/messages/messages.js +2 -2
- package/src/directive/messages/messages.md +2 -2
- package/src/directive/model/model.js +3 -3
- package/src/directive/model-options/model-options.js +3 -3
- package/src/directive/model-options/model-options.md +1 -1
- package/src/directive/non-bindable/non-bindable.js +1 -1
- package/src/directive/non-bindable/non-bindable.md +1 -1
- package/src/directive/observe/observe.js +1 -1
- package/src/directive/options/options.js +3 -5
- package/src/directive/options/options.md +1 -1
- package/src/directive/ref/ref.js +9 -4
- package/src/directive/repeat/repeat.js +7 -8
- package/src/directive/repeat/repeat.md +3 -3
- package/src/directive/script/script.js +3 -3
- package/src/directive/select/select.js +2 -2
- package/src/directive/select/select.md +3 -3
- package/src/directive/setter/setter.js +8 -6
- package/src/directive/show-hide/show-hide.js +2 -2
- package/src/directive/show-hide/show-hide.md +4 -4
- package/src/directive/style/style.js +2 -2
- package/src/directive/switch/switch.js +6 -6
- package/src/directive/transclude/transclude.js +2 -2
- package/src/directive/validators/validators.js +37 -36
- package/src/filters/filter.js +1 -1
- package/src/filters/filters.js +1 -1
- package/src/filters/limit-to.js +1 -1
- package/src/filters/order-by.js +3 -0
- package/src/filters/order-by.md +1 -1
- package/src/interface.ts +329 -0
- package/src/loader.js +20 -19
- package/src/loader.md +7 -7
- package/src/public.js +5 -7
- package/src/router/common/{glob.html → common.html} +1 -0
- package/src/router/common/{glob.test.js → common.test.js} +1 -1
- package/src/router/common/glob.js +29 -7
- package/src/router/common/glob.spec.js +31 -1
- package/src/router/common/queue.js +69 -14
- package/src/router/common/queue.spec.js +80 -0
- package/src/router/common/trace.js +21 -15
- package/src/router/directives/component-example.html +37 -0
- package/src/router/directives/state-directives.js +13 -12
- package/src/router/directives/state-directives.spec.js +51 -46
- package/src/router/directives/view-directive.js +6 -6
- package/src/router/directives/view-directive.spec.js +1 -1
- package/src/router/globals.js +24 -5
- package/src/router/hooks/update-globals.js +2 -0
- package/src/router/params/interface.ts +626 -0
- package/src/router/params/param-types.js +2 -2
- package/src/router/resolve/interface.ts +208 -0
- package/src/router/resolve/resolvable.js +2 -2
- package/src/router/state/interface.ts +1007 -0
- package/src/router/state/state-builder.js +2 -2
- package/src/router/state/state-object.js +19 -5
- package/src/router/state/state-queue-manager.js +3 -5
- package/src/router/state/state-registry.js +14 -3
- package/src/router/state/state-service.js +14 -8
- package/src/router/state/views.js +9 -4
- package/src/router/state-filters.js +6 -0
- package/src/router/template-factory.js +2 -2
- package/src/router/transition/interface.ts +922 -0
- package/src/router/transition/transition-service.js +1 -1
- package/src/router/transition/transition.js +17 -7
- package/src/router/url/url-matcher.js +2 -2
- package/src/router/view/interface.ts +51 -0
- package/src/router/view/view.js +17 -10
- package/src/router/view/view.spec.js +2 -2
- package/src/services/http/http.md +8 -8
- package/src/services/log.md +1 -1
- package/src/services/template-request.js +1 -1
- package/src/shared/dom.js +2 -2
- package/src/shared/interface.ts +6 -0
- package/src/shared/utils.js +22 -37
- package/tsconfig.json +2 -1
- package/tsconfig.types.json +1 -0
- package/typedoc/assets/hierarchy.js +1 -1
- package/typedoc/assets/navigation.js +1 -1
- package/typedoc/assets/search.js +1 -1
- package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +6 -6
- package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +10 -10
- package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +10 -10
- package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +10 -10
- package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +10 -10
- package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +12 -12
- package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +6 -6
- package/typedoc/classes/animations_animate-runner.AnimateRunner.html +48 -48
- package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +6 -6
- package/typedoc/classes/animations_animate.AnimateProvider.html +18 -18
- package/typedoc/classes/animations_animation.AnimationProvider.html +12 -12
- package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +323 -52
- package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +4 -4
- package/typedoc/classes/core_compile_attributes.Attributes.html +43 -43
- package/typedoc/classes/core_compile_compile.CompileProvider.html +51 -43
- package/typedoc/classes/core_controller_controller.ControllerProvider.html +13 -13
- package/typedoc/classes/core_di_internal-injector.InjectorService.html +34 -32
- package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +25 -25
- package/typedoc/classes/core_di_ng-module.NgModule.html +50 -50
- package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +17 -17
- package/typedoc/classes/core_filter_filter.FilterProvider.html +156 -21
- package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +22 -22
- package/typedoc/classes/core_location_location.Location.html +76 -76
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +78 -78
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +78 -78
- package/typedoc/classes/core_location_location.LocationProvider.html +20 -20
- package/typedoc/classes/core_parse_ast_ast.AST.html +64 -64
- package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +112 -78
- package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +42 -42
- package/typedoc/classes/core_parse_parse.ParseProvider.html +13 -14
- package/typedoc/classes/core_parse_parser_parser.Parser.html +14 -14
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +26 -26
- package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +205 -319
- package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +18 -85
- package/typedoc/classes/core_sce_sce.SceProvider.html +8 -8
- package/typedoc/classes/core_scope_scope.RootScopeProvider.html +10 -10
- package/typedoc/classes/core_scope_scope.Scope.html +110 -193
- package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +14 -14
- package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +4 -4
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +8 -8
- package/typedoc/classes/directive_form_form.FormController.html +85 -85
- package/typedoc/classes/directive_model_model.NgModelController.html +213 -213
- package/typedoc/classes/loader.Angular.html +58 -62
- package/typedoc/classes/router_common_glob.Glob.html +208 -101
- package/typedoc/classes/router_common_queue.Queue.html +279 -68
- package/typedoc/classes/router_common_trace.Trace.html +44 -44
- package/typedoc/classes/router_globals.RouterGlobals.html +937 -0
- package/typedoc/classes/router_params_param-factory.ParamFactory.html +12 -12
- package/typedoc/classes/router_params_param-type.ParamType.html +26 -26
- package/typedoc/classes/router_params_param-types.ParamTypes.html +16 -16
- package/typedoc/classes/router_params_param.Param.html +46 -46
- package/typedoc/classes/router_params_state-params.StateParams.html +6 -6
- package/typedoc/classes/router_path_path-node.PathNode.html +34 -34
- package/typedoc/classes/router_path_path-utils.PathUtils.html +22 -22
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +54 -54
- package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +26 -26
- package/typedoc/classes/router_state-provider.StateProvider.html +14 -14
- package/typedoc/classes/router_state_state-builder.StateBuilder.html +18 -18
- package/typedoc/classes/router_state_state-matcher.StateMatcher.html +12 -12
- package/typedoc/classes/router_state_state-object.StateObject.html +202 -45
- package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +22 -22
- package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +76 -133
- package/typedoc/classes/router_state_state-service.StateProvider.html +120 -72
- package/typedoc/classes/router_state_target-state.TargetState.html +46 -46
- package/typedoc/classes/{router_state_views.Ng1ViewConfig.html → router_state_views.ViewConfig.html} +83 -51
- package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +36 -62
- package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +21 -14
- package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +36 -36
- package/typedoc/classes/router_transition_reject-factory.Rejection.html +32 -32
- package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +20 -20
- package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +54 -54
- package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +48 -48
- package/typedoc/classes/router_transition_transition.Transition.html +597 -145
- package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +28 -28
- package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +50 -50
- package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +16 -16
- package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +22 -22
- package/typedoc/classes/router_url_url-rules.UrlRules.html +42 -42
- package/typedoc/classes/router_url_url-service.UrlService.html +68 -68
- package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +12 -12
- package/typedoc/classes/router_view_view.ViewService.html +228 -212
- package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +12 -12
- package/typedoc/classes/services_browser.Browser.html +54 -54
- package/typedoc/classes/services_browser.BrowserProvider.html +4 -4
- package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +6 -6
- package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +6 -6
- package/typedoc/classes/services_http_http.HttpProvider.html +14 -14
- package/typedoc/classes/services_log.LogProvider.html +16 -16
- package/typedoc/classes/services_template-request.TemplateRequestProvider.html +12 -12
- package/typedoc/classes/shared_noderef.NodeRef.html +60 -60
- package/typedoc/enums/core_parse_ast-type.ASTType.html +38 -38
- package/typedoc/enums/router_common_trace.Category.html +568 -0
- package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +18 -33
- package/typedoc/{interfaces/types.ServiceProviderClass.html → enums/router_transition_interface.TransitionHookScope.html} +75 -44
- package/typedoc/enums/router_transition_reject-factory.RejectType.html +14 -14
- package/typedoc/functions/animations_animate-cache.animateCache.html +14 -14
- package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +6 -6
- package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +6 -6
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +2 -2
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +2 -2
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +2 -2
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +2 -2
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +2 -2
- package/typedoc/functions/animations_shared.applyInlineStyle.html +2 -2
- package/typedoc/functions/animations_shared.assertArg.html +2 -2
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +2 -2
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +2 -2
- package/typedoc/functions/animations_shared.concatWithSpace.html +2 -2
- package/typedoc/functions/animations_shared.extractElementNode.html +2 -2
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +2 -2
- package/typedoc/functions/animations_shared.mergeClasses.html +2 -2
- package/typedoc/functions/animations_shared.packageStyles.html +2 -2
- package/typedoc/functions/animations_shared.pendClasses.html +2 -2
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +2 -2
- package/typedoc/functions/animations_shared.removeFromArray.html +2 -2
- package/typedoc/functions/animations_shared.resolveElementClasses.html +2 -2
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +2 -2
- package/typedoc/functions/core_controller_controller.identifierForController.html +2 -2
- package/typedoc/functions/core_di_injector.annotate.html +2 -2
- package/typedoc/functions/core_di_injector.createInjector.html +2 -2
- package/typedoc/functions/core_location_location.serverBase.html +2 -2
- package/typedoc/functions/core_location_location.stripBaseUrl.html +2 -2
- package/typedoc/functions/core_location_location.stripFile.html +2 -2
- package/typedoc/functions/core_location_location.stripHash.html +2 -2
- package/typedoc/functions/core_parse_interpreter.isAssignable.html +2 -2
- package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +2 -2
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +2 -2
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +2 -2
- package/typedoc/functions/core_scope_scope.createScope.html +2 -2
- package/typedoc/functions/core_scope_scope.nextId.html +2 -2
- package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +2 -2
- package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +2 -2
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +2 -2
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +2 -2
- package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +2 -2
- package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +2 -2
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +4 -4
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +4 -4
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +4 -4
- package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +6 -6
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +4 -4
- package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +4 -4
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +4 -4
- package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +4 -4
- package/typedoc/functions/directive_events_events.createEventDirective.html +8 -8
- package/typedoc/functions/directive_form_form.setupValidity.html +2 -2
- package/typedoc/functions/directive_if_if.ngIfDirective.html +6 -6
- package/typedoc/functions/directive_include_include.ngIncludeDirective.html +4 -4
- package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +6 -6
- package/typedoc/functions/directive_init_init.ngInitDirective.html +4 -4
- package/typedoc/functions/directive_input_input.badInputChecker.html +2 -2
- package/typedoc/functions/directive_input_input.countDecimals.html +2 -2
- package/typedoc/functions/directive_input_input.createDateInputType.html +2 -2
- package/typedoc/functions/directive_input_input.createDateParser.html +2 -2
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +4 -4
- package/typedoc/functions/directive_input_input.inputDirective.html +4 -4
- package/typedoc/functions/directive_input_input.isNumberInteger.html +2 -2
- package/typedoc/functions/directive_input_input.isValidForStep.html +2 -2
- package/typedoc/functions/directive_input_input.ngValueDirective.html +4 -4
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +2 -2
- package/typedoc/functions/directive_input_input.numberInputType.html +2 -2
- package/typedoc/functions/directive_input_input.rangeInputType.html +2 -2
- package/typedoc/functions/directive_input_input.weekParser.html +2 -2
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +4 -4
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +4 -4
- package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +4 -4
- package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
- package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +4 -4
- package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +4 -4
- package/typedoc/functions/directive_ref_ref.ngRefDirective.html +4 -4
- package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +6 -6
- package/typedoc/functions/directive_script_script.scriptDirective.html +6 -6
- package/typedoc/functions/directive_select_select.optionDirective.html +4 -4
- package/typedoc/functions/directive_select_select.selectDirective.html +4 -4
- package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +34 -8
- package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +6 -6
- package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +6 -6
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +4 -4
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +4 -4
- package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +6 -6
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +4 -4
- package/typedoc/functions/filters_filter.filterFilter.html +11 -76
- package/typedoc/functions/filters_filters.formatNumber.html +2 -2
- package/typedoc/functions/filters_filters.jsonFilter.html +12 -24
- package/typedoc/functions/filters_limit-to.limitToFilter.html +11 -90
- package/typedoc/functions/filters_order-by.orderByFilter.html +18 -55
- package/typedoc/functions/public.publishExternalAPI.html +8 -8
- package/typedoc/functions/router_common_glob.hasGlobs.html +306 -0
- package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +15 -8
- package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +4 -4
- package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +17 -77
- package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +4 -4
- package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +2 -2
- package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +2 -2
- package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +2 -2
- package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +2 -2
- package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +2 -2
- package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +2 -2
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +2 -2
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +2 -2
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +2 -2
- package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +2 -2
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +2 -2
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +2 -2
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +2 -2
- package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +2 -2
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +2 -2
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +2 -2
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +2 -2
- package/typedoc/functions/router_path_path-utils.makeTargetState.html +2 -2
- package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +18 -40
- package/typedoc/functions/router_state-filters._IsStateFilter.html +15 -34
- package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +2 -2
- package/typedoc/functions/router_state_state-registry.getLocals.html +2 -2
- package/typedoc/functions/{router_state_views.getNg1ViewConfigFactory.html → router_state_views.getViewConfigFactory.html} +13 -15
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +2 -2
- package/typedoc/functions/router_transition_hook-registry.makeEvent.html +2 -2
- package/typedoc/functions/router_transition_hook-registry.matchState.html +2 -2
- package/typedoc/functions/services_browser.trimEmptyHash.html +2 -2
- package/typedoc/functions/services_cookie-reader.getCookies.html +2 -2
- package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +2 -2
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +2 -2
- package/typedoc/functions/shared_common._removeFrom.html +2 -2
- package/typedoc/functions/shared_common.allTrueR.html +2 -2
- package/typedoc/functions/shared_common.ancestors.html +2 -2
- package/typedoc/functions/shared_common.anyTrueR.html +2 -2
- package/typedoc/functions/shared_common.applyPairs.html +2 -2
- package/typedoc/functions/shared_common.arrayTuples.html +2 -2
- package/typedoc/functions/shared_common.assertFn.html +2 -2
- package/typedoc/functions/shared_common.copy.html +2 -2
- package/typedoc/functions/shared_common.createProxyFunctions.html +2 -2
- package/typedoc/functions/shared_common.defaults.html +2 -2
- package/typedoc/functions/shared_common.deregAll.html +2 -2
- package/typedoc/functions/shared_common.equals.html +2 -2
- package/typedoc/functions/shared_common.filter.html +2 -2
- package/typedoc/functions/shared_common.find.html +2 -2
- package/typedoc/functions/shared_common.flatten.html +2 -2
- package/typedoc/functions/shared_common.flattenR.html +2 -2
- package/typedoc/functions/shared_common.inherit.html +2 -2
- package/typedoc/functions/shared_common.map.html +2 -2
- package/typedoc/functions/shared_common.omit.html +2 -2
- package/typedoc/functions/shared_common.pairs.html +2 -2
- package/typedoc/functions/shared_common.pick.html +2 -2
- package/typedoc/functions/shared_common.pushR.html +2 -2
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +2 -2
- package/typedoc/functions/shared_common.silentRejection.html +2 -2
- package/typedoc/functions/shared_common.tail.html +2 -2
- package/typedoc/functions/shared_common.uniqR.html +2 -2
- package/typedoc/functions/shared_common.unnest.html +2 -2
- package/typedoc/functions/shared_common.unnestR.html +2 -2
- package/typedoc/functions/shared_dom.appendNodesToElement.html +2 -2
- package/typedoc/functions/shared_dom.buildFragment.html +2 -2
- package/typedoc/functions/shared_dom.cleanElementData.html +2 -2
- package/typedoc/functions/shared_dom.createElementFromHTML.html +2 -2
- package/typedoc/functions/shared_dom.createNodelistFromHTML.html +2 -2
- package/typedoc/functions/shared_dom.dealoc.html +2 -2
- package/typedoc/functions/shared_dom.deleteCacheData.html +2 -2
- package/typedoc/functions/shared_dom.domInsert.html +2 -2
- package/typedoc/functions/shared_dom.emptyElement.html +2 -2
- package/typedoc/functions/shared_dom.getBlockNodes.html +2 -2
- package/typedoc/functions/shared_dom.getBooleanAttrName.html +2 -2
- package/typedoc/functions/shared_dom.getCacheData.html +2 -2
- package/typedoc/functions/shared_dom.getController.html +2 -2
- package/typedoc/functions/shared_dom.getExpando.html +2 -2
- package/typedoc/functions/shared_dom.getInheritedData.html +2 -2
- package/typedoc/functions/shared_dom.getInjector.html +2 -2
- package/typedoc/functions/shared_dom.getIsolateScope.html +2 -2
- package/typedoc/functions/shared_dom.getOrSetCacheData.html +2 -2
- package/typedoc/functions/shared_dom.getScope.html +2 -2
- package/typedoc/functions/shared_dom.isRoot.html +2 -2
- package/typedoc/functions/shared_dom.isTextNode.html +2 -2
- package/typedoc/functions/shared_dom.kebabToCamel.html +2 -2
- package/typedoc/functions/shared_dom.parseHtml.html +2 -2
- package/typedoc/functions/shared_dom.removeElement.html +2 -2
- package/typedoc/functions/shared_dom.removeElementData.html +2 -2
- package/typedoc/functions/shared_dom.setCacheData.html +2 -2
- package/typedoc/functions/shared_dom.setInheritedData.html +2 -2
- package/typedoc/functions/shared_dom.setIsolateScope.html +2 -2
- package/typedoc/functions/shared_dom.setScope.html +2 -2
- package/typedoc/functions/shared_dom.snakeToCamel.html +2 -2
- package/typedoc/functions/shared_dom.startingTag.html +2 -2
- package/typedoc/functions/shared_hof.all.html +2 -2
- package/typedoc/functions/shared_hof.compose.html +2 -2
- package/typedoc/functions/shared_hof.curry.html +2 -2
- package/typedoc/functions/shared_hof.is.html +2 -2
- package/typedoc/functions/shared_hof.or.html +2 -2
- package/typedoc/functions/shared_hof.parse.html +2 -2
- package/typedoc/functions/shared_hof.pattern.html +2 -2
- package/typedoc/functions/shared_hof.pipe.html +2 -2
- package/typedoc/functions/shared_hof.val.html +2 -2
- package/typedoc/functions/shared_predicates.isInjectable.html +2 -2
- package/typedoc/functions/shared_predicates.isPromise.html +2 -2
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +2 -2
- package/typedoc/functions/shared_strings.fnToString.html +2 -2
- package/typedoc/functions/shared_strings.functionToString.html +2 -2
- package/typedoc/functions/shared_strings.joinNeighborsR.html +2 -2
- package/typedoc/functions/shared_strings.kebobString.html +2 -2
- package/typedoc/functions/shared_strings.maxLength.html +2 -2
- package/typedoc/functions/shared_strings.padString.html +2 -2
- package/typedoc/functions/shared_strings.splitOnDelim.html +2 -2
- package/typedoc/functions/shared_strings.stringify.html +2 -2
- package/typedoc/functions/shared_strings.stripLastPathElement.html +2 -2
- package/typedoc/functions/shared_strings.trimHashVal.html +2 -2
- package/typedoc/functions/shared_test-utils.bootstrap.html +2 -2
- package/typedoc/functions/shared_test-utils.browserTrigger.html +2 -2
- package/typedoc/functions/shared_test-utils.wait.html +2 -2
- package/typedoc/functions/shared_utils.addDateMinutes.html +2 -2
- package/typedoc/functions/shared_utils.arrayRemove.html +2 -2
- package/typedoc/functions/shared_utils.assert.html +2 -2
- package/typedoc/functions/shared_utils.assertArg.html +2 -2
- package/typedoc/functions/shared_utils.assertArgFn.html +2 -2
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +2 -2
- package/typedoc/functions/shared_utils.baseExtend.html +2 -2
- package/typedoc/functions/shared_utils.bind.html +2 -2
- package/typedoc/functions/shared_utils.concat.html +2 -2
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +2 -2
- package/typedoc/functions/shared_utils.csp.html +2 -2
- package/typedoc/functions/shared_utils.directiveNormalize.html +2 -2
- package/typedoc/functions/shared_utils.encodeUriQuery.html +2 -2
- package/typedoc/functions/shared_utils.encodeUriSegment.html +2 -2
- package/typedoc/functions/shared_utils.equals.html +2 -2
- package/typedoc/functions/shared_utils.errorHandlingConfig.html +2 -2
- package/typedoc/functions/shared_utils.extend.html +3 -3
- package/typedoc/functions/shared_utils.fromJson.html +2 -2
- package/typedoc/functions/shared_utils.getNgAttribute.html +2 -2
- package/typedoc/functions/shared_utils.getNodeName.html +2 -2
- package/typedoc/functions/shared_utils.hasAnimate.html +2 -2
- package/typedoc/functions/shared_utils.hasCustomToString.html +2 -2
- package/typedoc/functions/{shared_utils.merge.html → shared_utils.hasOwn.html} +44 -91
- package/typedoc/functions/shared_utils.hashKey.html +2 -2
- package/typedoc/functions/shared_utils.includes.html +2 -2
- package/typedoc/functions/shared_utils.inherit.html +2 -2
- package/typedoc/functions/shared_utils.isArrayBuffer.html +2 -2
- package/typedoc/functions/shared_utils.isArrayLike.html +2 -2
- package/typedoc/functions/shared_utils.isBlankObject.html +2 -2
- package/typedoc/functions/shared_utils.isBlob.html +2 -2
- package/typedoc/functions/shared_utils.isBoolean.html +2 -2
- package/typedoc/functions/shared_utils.isDate.html +2 -2
- package/typedoc/functions/shared_utils.isDefined.html +2 -2
- package/typedoc/functions/shared_utils.isElement.html +2 -2
- package/typedoc/functions/shared_utils.isError.html +2 -2
- package/typedoc/functions/shared_utils.isFile.html +2 -2
- package/typedoc/functions/shared_utils.isFormData.html +2 -2
- package/typedoc/functions/shared_utils.isFunction.html +2 -2
- package/typedoc/functions/shared_utils.isNull.html +2 -2
- package/typedoc/functions/shared_utils.isNullOrUndefined.html +2 -2
- package/typedoc/functions/shared_utils.isNumber.html +2 -2
- package/typedoc/functions/shared_utils.isNumberNaN.html +2 -2
- package/typedoc/functions/shared_utils.isObject.html +2 -2
- package/typedoc/functions/shared_utils.isObjectEmpty.html +2 -2
- package/typedoc/functions/shared_utils.isPromiseLike.html +2 -2
- package/typedoc/functions/shared_utils.isProxy.html +2 -2
- package/typedoc/functions/shared_utils.isRegExp.html +2 -2
- package/typedoc/functions/shared_utils.isScope.html +2 -2
- package/typedoc/functions/shared_utils.isString.html +2 -2
- package/typedoc/functions/shared_utils.isTypedArray.html +2 -2
- package/typedoc/functions/shared_utils.isUndefined.html +2 -2
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +2 -2
- package/typedoc/functions/shared_utils.isWindow.html +2 -2
- package/typedoc/functions/shared_utils.lowercase.html +2 -2
- package/typedoc/functions/shared_utils.mergeClasses.html +2 -2
- package/typedoc/functions/shared_utils.minErr.html +3 -3
- package/typedoc/functions/shared_utils.nextUid.html +2 -2
- package/typedoc/functions/shared_utils.parseKeyValue.html +2 -2
- package/typedoc/functions/shared_utils.replaceInline.html +2 -2
- package/typedoc/functions/shared_utils.setHashKey.html +2 -2
- package/typedoc/functions/shared_utils.shallowCopy.html +2 -2
- package/typedoc/functions/shared_utils.simpleCompare.html +2 -2
- package/typedoc/functions/shared_utils.sliceArgs.html +2 -2
- package/typedoc/functions/shared_utils.snakeCase.html +2 -2
- package/typedoc/functions/shared_utils.stringify.html +2 -2
- package/typedoc/functions/shared_utils.timezoneToOffset.html +2 -2
- package/typedoc/functions/shared_utils.toDebugString.html +2 -2
- package/typedoc/functions/shared_utils.toInt.html +2 -2
- package/typedoc/functions/shared_utils.toJson.html +3 -3
- package/typedoc/functions/shared_utils.toKeyValue.html +2 -2
- package/typedoc/functions/shared_utils.trim.html +2 -2
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +2 -2
- package/typedoc/functions/shared_utils.uppercase.html +2 -2
- package/typedoc/hierarchy.html +3 -3
- package/typedoc/index.html +24 -24
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +10 -10
- package/typedoc/interfaces/{types.OnChangesObject.html → animations_raf-scheduler.ServiceProvider.html} +38 -35
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +8 -8
- package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +24 -24
- package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +676 -0
- package/typedoc/interfaces/core_compile_compile.SimpleChange.html +6 -6
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +8 -8
- package/typedoc/interfaces/core_location_location.Html5Mode.html +8 -8
- package/typedoc/interfaces/core_parse_ast_ast.Token.html +14 -14
- package/typedoc/interfaces/{core_parse_parse.CompiledExpressionHandlerMap.html → core_parse_interface.CompiledExpressionHandlerMap.html} +30 -14
- package/typedoc/interfaces/{core_parse_parse.CompiledExpressionProps.html → core_parse_interface.CompiledExpressionProps.html} +204 -50
- package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +6 -6
- package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +4 -4
- package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +319 -0
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +8 -8
- package/typedoc/interfaces/core_scope_scope.Listener.html +20 -20
- package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +12 -12
- package/typedoc/interfaces/{types.ChangesObject.html → interface.ChangesObject.html} +35 -71
- package/typedoc/interfaces/interface.ComponentOptions.html +803 -0
- package/typedoc/interfaces/{types.Controller.html → interface.Controller.html} +27 -58
- package/typedoc/interfaces/{types.Directive.html → interface.Directive.html} +200 -163
- package/typedoc/interfaces/{types.DirectivePrePost.html → interface.DirectivePrePost.html} +20 -19
- package/typedoc/interfaces/interface.NgModelController.html +1530 -0
- package/typedoc/interfaces/{types.NgModelOptions.html → interface.NgModelOptions.html} +44 -26
- package/typedoc/interfaces/interface.Provider.html +1136 -0
- package/typedoc/interfaces/interface.TranscludeFunctionObject.html +770 -0
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +4 -4
- package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +1324 -0
- package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +1375 -0
- package/typedoc/{types/animations_raf-scheduler.RafSchedulerFunction.html → interfaces/router_params_interface.RawParams.html} +56 -13
- package/typedoc/interfaces/router_params_interface.Replace.html +465 -0
- package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +305 -0
- package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +660 -0
- package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +670 -0
- package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +674 -0
- package/typedoc/interfaces/router_state_interface.HrefOptions.html +588 -0
- package/typedoc/interfaces/{types.Annotated.html → router_state_interface.LazyLoadResult.html} +45 -24
- package/typedoc/interfaces/router_state_interface.StateDeclaration.html +2662 -0
- package/typedoc/interfaces/router_state_interface.TargetStateDef.html +515 -0
- package/typedoc/interfaces/router_state_interface.TransitionPromise.html +1241 -0
- package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +1678 -0
- package/typedoc/interfaces/router_template-factory.BindingTuple.html +6 -6
- package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +788 -0
- package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +529 -0
- package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +3093 -0
- package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +663 -0
- package/typedoc/interfaces/{animations_raf-scheduler.RafSchedulerObject.html → router_transition_interface.PathType.html} +76 -28
- package/typedoc/interfaces/{types.TranscludeFunctionObject.html → router_transition_interface.PathTypes.html} +199 -164
- package/typedoc/{types/core_parse_parse.CompiledExpressionFunction.html → interfaces/router_transition_interface.RegisteredHooks.html} +28 -14
- package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +330 -0
- package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +366 -0
- package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +718 -0
- package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +1231 -0
- package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +388 -0
- package/typedoc/interfaces/router_transition_interface.TreeChanges.html +849 -0
- package/typedoc/interfaces/router_view_interface.ActiveUIView.html +700 -0
- package/typedoc/{classes/router_globals.UIRouterGlobals.html → interfaces/router_view_interface.ViewConfig.html} +235 -226
- package/typedoc/interfaces/router_view_interface.ViewContext.html +455 -0
- package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +4 -4
- package/typedoc/interfaces/services_log.LogService.html +14 -14
- package/typedoc/{types/types.Injectable.html → interfaces/shared_interface.TypedMap.html} +24 -22
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +6 -6
- package/typedoc/media/CONTRIBUTING.md +9 -9
- package/typedoc/media/DEVELOPERS.md +30 -30
- package/typedoc/modules/animations_interface.html +325 -0
- package/typedoc/modules/animations_raf-scheduler.html +15 -45
- package/typedoc/modules/core_compile_compile.html +27 -0
- package/typedoc/modules/core_error-handler.html +325 -0
- package/typedoc/modules/core_exception-handler.html +48 -12
- package/typedoc/modules/core_parse_ast_ast.html +0 -62
- package/typedoc/modules/core_parse_interface.html +473 -0
- package/typedoc/modules/core_parse_parse.html +0 -213
- package/typedoc/modules/core_sanitize_interface.html +323 -0
- package/typedoc/modules/core_sanitize_sanitize-uri.html +64 -0
- package/typedoc/modules/core_sce_sce.html +1 -1
- package/typedoc/modules/{types.html → interface.html} +106 -414
- package/typedoc/modules/router_common_glob.html +62 -181
- package/typedoc/modules/router_common_trace.html +65 -27
- package/typedoc/modules/router_globals.html +70 -6
- package/typedoc/modules/router_params_interface.html +405 -0
- package/typedoc/modules/router_resolve_interface.html +524 -0
- package/typedoc/modules/router_state_interface.html +609 -0
- package/typedoc/modules/router_state_state-object.html +64 -0
- package/typedoc/modules/router_state_state-registry.html +64 -0
- package/typedoc/modules/router_state_views.html +12 -14
- package/typedoc/modules/router_transition_interface.html +553 -14
- package/typedoc/modules/router_transition_transition.html +64 -0
- package/typedoc/modules/router_view_interface.html +376 -0
- package/typedoc/modules/shared_interface.html +439 -0
- package/typedoc/modules/shared_utils.html +26 -26
- package/typedoc/modules.html +267 -23
- package/typedoc/types/animations_animate.AnimationMethod.html +2 -2
- package/typedoc/types/animations_interface.RafScheduler.html +638 -0
- package/typedoc/types/core_cache_cache-factory.TemplateCache.html +2 -2
- package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +2 -2
- package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +2 -2
- package/typedoc/types/core_compile_compile.CompileFn.html +2 -2
- package/typedoc/types/core_compile_compile.CompileNodesFn.html +2 -2
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +2 -2
- package/typedoc/types/core_compile_compile.NodeLinkFn.html +4 -34
- package/typedoc/types/core_compile_compile.PublicLinkFn.html +11 -2
- package/typedoc/types/core_compile_compile.TranscludeFn.html +2 -2
- package/typedoc/types/{core_exception-handler.ErrorHandler.html → core_error-handler.ErrorHandler.html} +8 -5
- package/typedoc/types/core_exception-handler.LogService.html +2 -2
- package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +52 -52
- package/typedoc/types/{core_parse_parse.CompiledExpression.html → core_parse_interface.CompiledExpression.html} +13 -5
- package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +360 -0
- package/typedoc/types/core_parse_interface.ParseService.html +487 -0
- package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +2 -2
- package/typedoc/types/core_scope_scope.ListenerFunction.html +2 -2
- package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +2 -2
- package/typedoc/types/interface.AnnotatedFactory.html +288 -0
- package/typedoc/types/{types.CloneAttachFunction.html → interface.CloneAttachFunction.html} +6 -11
- package/typedoc/types/interface.ControllerConstructor.html +329 -0
- package/typedoc/types/interface.DirectiveCompileFn.html +420 -0
- package/typedoc/types/{types.DirectiveController.html → interface.DirectiveController.html} +9 -6
- package/typedoc/types/{types.DirectiveFactory.html → interface.DirectiveFactory.html} +12 -9
- package/typedoc/types/{types.DirectiveLinkFn.html → interface.DirectiveLinkFn.html} +60 -52
- package/typedoc/types/{types.Expression.html → interface.Expression.html} +14 -3
- package/typedoc/types/interface.FilterFactory.html +324 -0
- package/typedoc/types/interface.FilterFn.html +328 -0
- package/typedoc/types/{types.TAttributes.html → interface.Injectable.html} +15 -10
- package/typedoc/types/interface.InjectableFactory.html +323 -0
- package/typedoc/types/{types.Attributes.html → interface.OnChangesObject.html} +15 -9
- package/typedoc/types/{types.TController.html → interface.TController.html} +8 -5
- package/typedoc/types/{types.AnnotatedFunction.html → router_resolve_interface.PolicyAsync.html} +17 -15
- package/typedoc/types/{types.ServiceProvider.html → router_resolve_interface.PolicyWhen.html} +13 -10
- package/typedoc/{variables/router_transition_interface.TransitionHookScope.html → types/router_state_interface.RedirectToResult.html} +40 -38
- package/typedoc/types/router_state_interface.ResolveTypes.html +281 -0
- package/typedoc/types/{animations_raf-scheduler.RafScheduler.html → router_state_interface.StateOrName.html} +16 -15
- package/typedoc/types/router_state_interface._StateDeclaration.html +288 -0
- package/typedoc/types/router_transition_interface.HookFn.html +281 -0
- package/typedoc/{variables/router_common_trace.Category.html → types/router_transition_interface.HookMatchCriterion.html} +23 -19
- package/typedoc/types/router_transition_interface.HookResult.html +324 -0
- package/typedoc/types/{types.DirectiveCompileFn.html → router_transition_interface.IHookRegistration.html} +53 -53
- package/typedoc/{variables/core_parse_ast_ast.literals.html → types/router_transition_interface.IStateMatch.html} +27 -13
- package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +2 -2
- package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +2 -2
- package/typedoc/types/services_browser.UrlChangeListener.html +2 -2
- package/typedoc/types/services_log.LogCall.html +2 -2
- package/typedoc/types/shared_interface.Mapper.html +351 -0
- package/typedoc/types/shared_interface.Predicate.html +319 -0
- package/typedoc/types/shared_interface.PredicateBinary.html +344 -0
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +2 -2
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +2 -2
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +2 -2
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +2 -2
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +2 -2
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +2 -2
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +2 -2
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +2 -2
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +2 -2
- package/typedoc/variables/animations_shared.DELAY_KEY.html +2 -2
- package/typedoc/variables/animations_shared.DURATION_KEY.html +2 -2
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +2 -2
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +2 -2
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +2 -2
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +2 -2
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +2 -2
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +2 -2
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +2 -2
- package/typedoc/variables/animations_shared.TIMING_KEY.html +2 -2
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +2 -2
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +2 -2
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +2 -2
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +2 -2
- package/typedoc/variables/animations_shared.ngMinErr.html +2 -2
- package/typedoc/variables/core_cache_cache.Cache.html +2 -2
- package/typedoc/variables/core_cache_cache.EXPANDO.html +2 -2
- package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +2 -2
- package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +2 -2
- package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +2 -2
- package/typedoc/variables/core_di_injector.path.html +2 -2
- package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +2 -2
- package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +2 -2
- package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +2 -2
- package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +2 -2
- package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +2 -2
- package/typedoc/variables/core_di_ng-module.PROVIDE_LITERAL.html +2 -2
- package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +2 -2
- package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +2 -2
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +2 -2
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +2 -2
- package/typedoc/variables/core_scope_scope.NONSCOPE.html +2 -2
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +2 -2
- package/typedoc/variables/core_scope_scope._postUpdateQueue.html +2 -2
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +2 -2
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +2 -2
- package/typedoc/variables/directive_class_class.ngClassDirective.html +5 -5
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +5 -5
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +5 -5
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +2 -2
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +2 -2
- package/typedoc/variables/directive_form_form.formDirective.html +2 -2
- package/typedoc/variables/directive_form_form.ngFormDirective.html +2 -2
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +2 -2
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +2 -2
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +2 -2
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +2 -2
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +2 -2
- package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
- package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +2 -2
- package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +2 -2
- package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +2 -2
- package/typedoc/variables/directive_model_model.ngModelMinErr.html +2 -2
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +6 -6
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +6 -6
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +12 -12
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +4 -4
- package/typedoc/variables/directive_validators_validators.patternDirective.html +12 -12
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +12 -12
- package/typedoc/variables/index.angular.html +2 -2
- package/typedoc/variables/public.VERSION.html +3 -7
- package/typedoc/variables/router_common_trace.trace.html +2 -2
- package/typedoc/variables/router_directives_view-directive.ngView.html +7 -7
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +2 -2
- package/typedoc/variables/router_params_param.DefType.html +2 -2
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +2 -2
- package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +2 -2
- package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +2 -2
- package/typedoc/variables/services_log.LogService.html +4 -4
- package/typedoc/variables/shared_common.assertMap.html +2 -2
- package/typedoc/variables/shared_common.assertPredicate.html +2 -2
- package/typedoc/variables/shared_common.pushTo.html +2 -2
- package/typedoc/variables/shared_common.removeFrom.html +2 -2
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +2 -2
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +2 -2
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +2 -2
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +2 -2
- package/typedoc/variables/shared_constants.VALID_CLASS.html +2 -2
- package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +2 -2
- package/typedoc/variables/shared_hof.propEq.html +2 -2
- package/typedoc/variables/shared_strings.hostRegex.html +2 -2
- package/typedoc/variables/shared_strings.splitEqual.html +2 -2
- package/typedoc/variables/shared_strings.splitHash.html +2 -2
- package/typedoc/variables/shared_strings.splitQuery.html +2 -2
- package/typedoc/variables/shared_utils.isProxySymbol.html +2 -2
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +2 -2
- package/@types/directive/change/change.d.ts +0 -4
- package/@types/types.d.ts +0 -595
- package/src/types.js +0 -427
- package/typedoc/interfaces/types.FormController.html +0 -1541
- package/typedoc/interfaces/types.Module.html +0 -1566
- package/typedoc/interfaces/types.NgModelController.html +0 -2088
- package/typedoc/types/core_parse_parse.ParseService.html +0 -266
- package/typedoc/types/types.AsyncModelValidators.html +0 -266
- package/typedoc/types/types.BootstrapConfig.html +0 -262
- package/typedoc/types/types.ComponentOptions.html +0 -262
- package/typedoc/types/types.ControllerConstructor.html +0 -262
- package/typedoc/types/types.FilterFactory.html +0 -262
- package/typedoc/types/types.FilterFunction.html +0 -262
- package/typedoc/types/types.ModelValidators.html +0 -266
- package/typedoc/types/types.ServiceProviderFactory.html +0 -262
- package/typedoc/types/types.TElement.html +0 -262
- package/typedoc/types/types.TScope.html +0 -266
- package/typedoc/types/types.TranscludeFunction.html +0 -262
- package/typedoc/types/types.transcludeWithScope.html +0 -262
- package/typedoc/types/types.transcludeWithoutScope.html +0 -262
|
@@ -0,0 +1,1324 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html class="default" lang="en" data-base="../">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<meta http-equiv="x-ua-compatible" content="IE=edge" />
|
|
6
|
+
<title>ParamDeclaration | @angular-wave/angular.ts</title>
|
|
7
|
+
<meta
|
|
8
|
+
name="description"
|
|
9
|
+
content="Documentation for @angular-wave/angular.ts"
|
|
10
|
+
/>
|
|
11
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
12
|
+
<link rel="stylesheet" href="../assets/style.css" />
|
|
13
|
+
<link rel="stylesheet" href="../assets/highlight.css" />
|
|
14
|
+
<script defer src="../assets/main.js"></script>
|
|
15
|
+
<script async src="../assets/icons.js" id="tsd-icons-script"></script>
|
|
16
|
+
<script async src="../assets/search.js" id="tsd-search-script"></script>
|
|
17
|
+
<script async src="../assets/navigation.js" id="tsd-nav-script"></script>
|
|
18
|
+
<script
|
|
19
|
+
async
|
|
20
|
+
src="../assets/hierarchy.js"
|
|
21
|
+
id="tsd-hierarchy-script"
|
|
22
|
+
></script>
|
|
23
|
+
</head>
|
|
24
|
+
<body>
|
|
25
|
+
<script>
|
|
26
|
+
document.documentElement.dataset.theme =
|
|
27
|
+
localStorage.getItem("tsd-theme") || "os";
|
|
28
|
+
document.body.style.display = "none";
|
|
29
|
+
setTimeout(
|
|
30
|
+
() =>
|
|
31
|
+
window.app
|
|
32
|
+
? app.showPage()
|
|
33
|
+
: document.body.style.removeProperty("display"),
|
|
34
|
+
500,
|
|
35
|
+
);
|
|
36
|
+
</script>
|
|
37
|
+
<header class="tsd-page-toolbar">
|
|
38
|
+
<div class="tsd-toolbar-contents container">
|
|
39
|
+
<a href="../index.html" class="title">@angular-wave/angular.ts</a>
|
|
40
|
+
<div id="tsd-toolbar-links"></div>
|
|
41
|
+
<button id="tsd-search-trigger" class="tsd-widget" aria-label="Search">
|
|
42
|
+
<svg
|
|
43
|
+
width="16"
|
|
44
|
+
height="16"
|
|
45
|
+
viewBox="0 0 16 16"
|
|
46
|
+
fill="none"
|
|
47
|
+
aria-hidden="true"
|
|
48
|
+
>
|
|
49
|
+
<use href="../assets/icons.svg#icon-search"></use>
|
|
50
|
+
</svg>
|
|
51
|
+
</button>
|
|
52
|
+
<dialog id="tsd-search" aria-label="Search">
|
|
53
|
+
<input
|
|
54
|
+
role="combobox"
|
|
55
|
+
id="tsd-search-input"
|
|
56
|
+
aria-controls="tsd-search-results"
|
|
57
|
+
aria-autocomplete="list"
|
|
58
|
+
aria-expanded="true"
|
|
59
|
+
autocapitalize="off"
|
|
60
|
+
autocomplete="off"
|
|
61
|
+
placeholder="Search the docs"
|
|
62
|
+
maxlength="100"
|
|
63
|
+
/>
|
|
64
|
+
<ul role="listbox" id="tsd-search-results"></ul>
|
|
65
|
+
<div id="tsd-search-status" aria-live="polite" aria-atomic="true">
|
|
66
|
+
<div>Preparing search index...</div>
|
|
67
|
+
</div>
|
|
68
|
+
</dialog>
|
|
69
|
+
<a
|
|
70
|
+
href="#"
|
|
71
|
+
class="tsd-widget menu"
|
|
72
|
+
id="tsd-toolbar-menu-trigger"
|
|
73
|
+
data-toggle="menu"
|
|
74
|
+
aria-label="Menu"
|
|
75
|
+
><svg
|
|
76
|
+
width="16"
|
|
77
|
+
height="16"
|
|
78
|
+
viewBox="0 0 16 16"
|
|
79
|
+
fill="none"
|
|
80
|
+
aria-hidden="true"
|
|
81
|
+
>
|
|
82
|
+
<use href="../assets/icons.svg#icon-menu"></use></svg
|
|
83
|
+
></a>
|
|
84
|
+
</div>
|
|
85
|
+
</header>
|
|
86
|
+
<div class="container container-main">
|
|
87
|
+
<div class="col-content">
|
|
88
|
+
<div class="tsd-page-title">
|
|
89
|
+
<ul class="tsd-breadcrumb" aria-label="Breadcrumb">
|
|
90
|
+
<li>
|
|
91
|
+
<a href="../modules/router_params_interface.html"
|
|
92
|
+
>router/params/interface</a
|
|
93
|
+
>
|
|
94
|
+
</li>
|
|
95
|
+
<li><a href="" aria-current="page">ParamDeclaration</a></li>
|
|
96
|
+
</ul>
|
|
97
|
+
<h1>Interface ParamDeclaration</h1>
|
|
98
|
+
</div>
|
|
99
|
+
<section class="tsd-panel tsd-comment">
|
|
100
|
+
<div class="tsd-comment tsd-typography">
|
|
101
|
+
<p>Configuration for a single Parameter</p>
|
|
102
|
+
<p>
|
|
103
|
+
In a [[StateDeclaration.params]], each
|
|
104
|
+
<code>ParamDeclaration</code> defines how a single State Parameter
|
|
105
|
+
should work.
|
|
106
|
+
</p>
|
|
107
|
+
<h4 id="example" class="tsd-anchor-link">
|
|
108
|
+
Example:<a
|
|
109
|
+
href="#example"
|
|
110
|
+
aria-label="Permalink"
|
|
111
|
+
class="tsd-anchor-icon"
|
|
112
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
113
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
114
|
+
></a>
|
|
115
|
+
</h4>
|
|
116
|
+
<pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">mystate</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">template:</span><span class="hl-1"> </span><span class="hl-2">'<div ui-view/>'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-0">controller</span><span class="hl-10">:</span><span class="hl-1"> </span><span class="hl-11">function</span><span class="hl-1">() {}</span><br/><span class="hl-1"> </span><span class="hl-10">url</span><span class="hl-1">: </span><span class="hl-2">'/mystate/:start?{count:int}'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">params:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">start:</span><span class="hl-1"> { </span><span class="hl-9">// <-- ParamDeclaration for `start`</span><br/><span class="hl-1"> </span><span class="hl-10">type:</span><span class="hl-1"> </span><span class="hl-2">'date'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">value:</span><span class="hl-1"> </span><span class="hl-11">new</span><span class="hl-1"> </span><span class="hl-0">Date</span><span class="hl-1">(), </span><span class="hl-9">// <-- Default value</span><br/><span class="hl-1"> </span><span class="hl-10">squash:</span><span class="hl-1"> </span><span class="hl-11">true</span><span class="hl-1">,</span><br/><span class="hl-1"> },</span><br/><br/><span class="hl-1"> </span><span class="hl-10">nonUrlParam:</span><span class="hl-1"> { </span><span class="hl-9">// <-- ParamDeclaration for 'nonUrlParam'</span><br/><span class="hl-1"> </span><span class="hl-10">type:</span><span class="hl-1"> </span><span class="hl-2">"int"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">array:</span><span class="hl-1"> </span><span class="hl-11">true</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">value:</span><span class="hl-1"> []</span><br/><span class="hl-1"> },</span><br/><br/><span class="hl-1"> </span><span class="hl-10">count:</span><span class="hl-1"> </span><span class="hl-16">0</span><span class="hl-1">, </span><span class="hl-9">// <-- Default value for 'param1'</span><br/><span class="hl-1"> </span><span class="hl-9">// (shorthand ParamDeclaration.value)</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
|
117
|
+
</code><button type="button">Copy</button></pre>
|
|
118
|
+
</div>
|
|
119
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
120
|
+
</section>
|
|
121
|
+
<div class="tsd-signature">
|
|
122
|
+
<span class="tsd-signature-keyword">interface</span>
|
|
123
|
+
<span class="tsd-kind-interface">ParamDeclaration</span>
|
|
124
|
+
<span class="tsd-signature-symbol">{</span><br /> <a
|
|
125
|
+
class="tsd-kind-property"
|
|
126
|
+
href="#array"
|
|
127
|
+
>array</a
|
|
128
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
129
|
+
<span class="tsd-signature-type">boolean</span
|
|
130
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
131
|
+
class="tsd-kind-property"
|
|
132
|
+
href="#dynamic"
|
|
133
|
+
>dynamic</a
|
|
134
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
135
|
+
<span class="tsd-signature-type">boolean</span
|
|
136
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
137
|
+
class="tsd-kind-property"
|
|
138
|
+
href="#inherit"
|
|
139
|
+
>inherit</a
|
|
140
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
141
|
+
<span class="tsd-signature-type">boolean</span
|
|
142
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
143
|
+
class="tsd-kind-property"
|
|
144
|
+
href="#isoptional"
|
|
145
|
+
>isOptional</a
|
|
146
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
147
|
+
<span class="tsd-signature-type">boolean</span
|
|
148
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
149
|
+
class="tsd-kind-property"
|
|
150
|
+
href="#raw"
|
|
151
|
+
>raw</a
|
|
152
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
153
|
+
<span class="tsd-signature-type">boolean</span
|
|
154
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
155
|
+
class="tsd-kind-property"
|
|
156
|
+
href="#replace"
|
|
157
|
+
>replace</a
|
|
158
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
159
|
+
<a
|
|
160
|
+
href="router_params_interface.Replace.html"
|
|
161
|
+
class="tsd-signature-type tsd-kind-interface"
|
|
162
|
+
>Replace</a
|
|
163
|
+
><span class="tsd-signature-symbol">[]</span
|
|
164
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
165
|
+
class="tsd-kind-property"
|
|
166
|
+
href="#squash"
|
|
167
|
+
>squash</a
|
|
168
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
169
|
+
<span class="tsd-signature-type">string</span>
|
|
170
|
+
<span class="tsd-signature-symbol">|</span>
|
|
171
|
+
<span class="tsd-signature-type">boolean</span
|
|
172
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
173
|
+
class="tsd-kind-property"
|
|
174
|
+
href="#type"
|
|
175
|
+
>type</a
|
|
176
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
177
|
+
<span class="tsd-signature-type">string</span>
|
|
178
|
+
<span class="tsd-signature-symbol">|</span>
|
|
179
|
+
<a
|
|
180
|
+
href="../classes/router_params_param-type.ParamType.html"
|
|
181
|
+
class="tsd-signature-type tsd-kind-class"
|
|
182
|
+
>ParamType</a
|
|
183
|
+
><span class="tsd-signature-symbol">;</span><br /> <a
|
|
184
|
+
class="tsd-kind-property"
|
|
185
|
+
href="#value"
|
|
186
|
+
>value</a
|
|
187
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
188
|
+
<span class="tsd-signature-type">any</span
|
|
189
|
+
><span class="tsd-signature-symbol">;</span><br /><span
|
|
190
|
+
class="tsd-signature-symbol"
|
|
191
|
+
>}</span
|
|
192
|
+
>
|
|
193
|
+
</div>
|
|
194
|
+
<aside class="tsd-sources">
|
|
195
|
+
<ul>
|
|
196
|
+
<li>
|
|
197
|
+
Defined in
|
|
198
|
+
<a
|
|
199
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L51"
|
|
200
|
+
>src/router/params/interface.ts:51</a
|
|
201
|
+
>
|
|
202
|
+
</li>
|
|
203
|
+
</ul>
|
|
204
|
+
</aside>
|
|
205
|
+
<section class="tsd-panel-group tsd-index-group">
|
|
206
|
+
<section class="tsd-panel tsd-index-panel">
|
|
207
|
+
<details class="tsd-index-content tsd-accordion" open>
|
|
208
|
+
<summary class="tsd-accordion-summary tsd-index-summary">
|
|
209
|
+
<svg
|
|
210
|
+
width="20"
|
|
211
|
+
height="20"
|
|
212
|
+
viewBox="0 0 24 24"
|
|
213
|
+
fill="none"
|
|
214
|
+
aria-hidden="true"
|
|
215
|
+
>
|
|
216
|
+
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
217
|
+
</svg>
|
|
218
|
+
<h5 class="tsd-index-heading uppercase">Index</h5>
|
|
219
|
+
</summary>
|
|
220
|
+
<div class="tsd-accordion-details">
|
|
221
|
+
<section class="tsd-index-section">
|
|
222
|
+
<h3 class="tsd-index-heading">Properties</h3>
|
|
223
|
+
<div class="tsd-index-list">
|
|
224
|
+
<a href="#array" class="tsd-index-link"
|
|
225
|
+
><svg
|
|
226
|
+
class="tsd-kind-icon"
|
|
227
|
+
viewBox="0 0 24 24"
|
|
228
|
+
aria-label="Property"
|
|
229
|
+
>
|
|
230
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
231
|
+
><span>array?</span></a
|
|
232
|
+
>
|
|
233
|
+
<a href="#dynamic" class="tsd-index-link"
|
|
234
|
+
><svg
|
|
235
|
+
class="tsd-kind-icon"
|
|
236
|
+
viewBox="0 0 24 24"
|
|
237
|
+
aria-label="Property"
|
|
238
|
+
>
|
|
239
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
240
|
+
><span>dynamic?</span></a
|
|
241
|
+
>
|
|
242
|
+
<a href="#inherit" class="tsd-index-link"
|
|
243
|
+
><svg
|
|
244
|
+
class="tsd-kind-icon"
|
|
245
|
+
viewBox="0 0 24 24"
|
|
246
|
+
aria-label="Property"
|
|
247
|
+
>
|
|
248
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
249
|
+
><span>inherit?</span></a
|
|
250
|
+
>
|
|
251
|
+
<a href="#isoptional" class="tsd-index-link"
|
|
252
|
+
><svg
|
|
253
|
+
class="tsd-kind-icon"
|
|
254
|
+
viewBox="0 0 24 24"
|
|
255
|
+
aria-label="Property"
|
|
256
|
+
>
|
|
257
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
258
|
+
><span>is<wbr />Optional?</span></a
|
|
259
|
+
>
|
|
260
|
+
<a href="#raw" class="tsd-index-link"
|
|
261
|
+
><svg
|
|
262
|
+
class="tsd-kind-icon"
|
|
263
|
+
viewBox="0 0 24 24"
|
|
264
|
+
aria-label="Property"
|
|
265
|
+
>
|
|
266
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
267
|
+
><span>raw?</span></a
|
|
268
|
+
>
|
|
269
|
+
<a href="#replace" class="tsd-index-link"
|
|
270
|
+
><svg
|
|
271
|
+
class="tsd-kind-icon"
|
|
272
|
+
viewBox="0 0 24 24"
|
|
273
|
+
aria-label="Property"
|
|
274
|
+
>
|
|
275
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
276
|
+
><span>replace?</span></a
|
|
277
|
+
>
|
|
278
|
+
<a href="#squash" class="tsd-index-link"
|
|
279
|
+
><svg
|
|
280
|
+
class="tsd-kind-icon"
|
|
281
|
+
viewBox="0 0 24 24"
|
|
282
|
+
aria-label="Property"
|
|
283
|
+
>
|
|
284
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
285
|
+
><span>squash?</span></a
|
|
286
|
+
>
|
|
287
|
+
<a href="#type" class="tsd-index-link"
|
|
288
|
+
><svg
|
|
289
|
+
class="tsd-kind-icon"
|
|
290
|
+
viewBox="0 0 24 24"
|
|
291
|
+
aria-label="Property"
|
|
292
|
+
>
|
|
293
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
294
|
+
><span>type?</span></a
|
|
295
|
+
>
|
|
296
|
+
<a href="#value" class="tsd-index-link"
|
|
297
|
+
><svg
|
|
298
|
+
class="tsd-kind-icon"
|
|
299
|
+
viewBox="0 0 24 24"
|
|
300
|
+
aria-label="Property"
|
|
301
|
+
>
|
|
302
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
303
|
+
><span>value?</span></a
|
|
304
|
+
>
|
|
305
|
+
</div>
|
|
306
|
+
</section>
|
|
307
|
+
</div>
|
|
308
|
+
</details>
|
|
309
|
+
</section>
|
|
310
|
+
</section>
|
|
311
|
+
<details class="tsd-panel-group tsd-member-group tsd-accordion" open>
|
|
312
|
+
<summary class="tsd-accordion-summary" data-key="section-Properties">
|
|
313
|
+
<svg
|
|
314
|
+
width="20"
|
|
315
|
+
height="20"
|
|
316
|
+
viewBox="0 0 24 24"
|
|
317
|
+
fill="none"
|
|
318
|
+
aria-hidden="true"
|
|
319
|
+
>
|
|
320
|
+
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
321
|
+
</svg>
|
|
322
|
+
<h2>Properties</h2>
|
|
323
|
+
</summary>
|
|
324
|
+
<section>
|
|
325
|
+
<section class="tsd-panel tsd-member">
|
|
326
|
+
<h3 class="tsd-anchor-link" id="array">
|
|
327
|
+
<code class="tsd-tag">Optional</code><span>array</span
|
|
328
|
+
><a href="#array" aria-label="Permalink" class="tsd-anchor-icon"
|
|
329
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
330
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
331
|
+
></a>
|
|
332
|
+
</h3>
|
|
333
|
+
<div class="tsd-signature">
|
|
334
|
+
<span class="tsd-kind-property">array</span
|
|
335
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
336
|
+
<span class="tsd-signature-type">boolean</span>
|
|
337
|
+
</div>
|
|
338
|
+
<div class="tsd-comment tsd-typography">
|
|
339
|
+
<p>The parameter's <code>array</code> mode</p>
|
|
340
|
+
<p>Explicitly specifies the array mode of a URL parameter</p>
|
|
341
|
+
<ul>
|
|
342
|
+
<li>
|
|
343
|
+
If <code>false</code>, the parameter value will be treated
|
|
344
|
+
(encoded/decoded) as a single value
|
|
345
|
+
</li>
|
|
346
|
+
<li>
|
|
347
|
+
If <code>true</code>, the parameter value will be treated
|
|
348
|
+
(encoded/decoded) as an array of values.
|
|
349
|
+
</li>
|
|
350
|
+
<li>
|
|
351
|
+
If <code>auto</code> (for query parameters only), if
|
|
352
|
+
multiple values for a single parameter are present in the
|
|
353
|
+
URL (e.g.: /foo?bar=1&bar=2&bar=3) then the values
|
|
354
|
+
are mapped to an array (e.g.:
|
|
355
|
+
<code>{ foo: [ '1', '2', '3' ] }</code>). However, if only
|
|
356
|
+
one value is present (e.g.: /foo?bar=1) then the value is
|
|
357
|
+
treated as single value (e.g.: { foo: '1' }).
|
|
358
|
+
</li>
|
|
359
|
+
</ul>
|
|
360
|
+
<p>
|
|
361
|
+
If you specified a [[type]] for the parameter, the value will
|
|
362
|
+
be treated as an array of the specified [[ParamType]].
|
|
363
|
+
</p>
|
|
364
|
+
<h4 id="example-1" class="tsd-anchor-link">
|
|
365
|
+
Example:<a
|
|
366
|
+
href="#example-1"
|
|
367
|
+
aria-label="Permalink"
|
|
368
|
+
class="tsd-anchor-icon"
|
|
369
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
370
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
371
|
+
></a>
|
|
372
|
+
</h4>
|
|
373
|
+
<pre><code class="js"><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-15">name</span><span class="hl-1">: </span><span class="hl-2">'foo'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">'/foo/{arrayParam:int}`</span><span class="hl-12">,</span><br/><span class="hl-1"> </span><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">arrayParam</span><span class="hl-1">: { </span><span class="hl-15">array</span><span class="hl-1">: </span><span class="hl-11">true</span><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-9">// After the transition, URL should be '/foo/1-2-3'</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">"foo"</span><span class="hl-1">, { </span><span class="hl-10">arrayParam:</span><span class="hl-1"> [ </span><span class="hl-16">1</span><span class="hl-1">, </span><span class="hl-16">2</span><span class="hl-1">, </span><span class="hl-16">3</span><span class="hl-1"> ] });</span>
|
|
374
|
+
</code><button type="button">Copy</button></pre>
|
|
375
|
+
</div>
|
|
376
|
+
<div class="tsd-comment tsd-typography">
|
|
377
|
+
<div class="tsd-tag-default">
|
|
378
|
+
<h4 class="tsd-anchor-link" id="default">
|
|
379
|
+
Default<a
|
|
380
|
+
href="#default"
|
|
381
|
+
aria-label="Permalink"
|
|
382
|
+
class="tsd-anchor-icon"
|
|
383
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
384
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
385
|
+
></a>
|
|
386
|
+
</h4>
|
|
387
|
+
<p>
|
|
388
|
+
<code>false</code> for path parameters, such as
|
|
389
|
+
<code>url: '/foo/:pathParam'</code>
|
|
390
|
+
</p>
|
|
391
|
+
</div>
|
|
392
|
+
<div class="tsd-tag-default">
|
|
393
|
+
<h4 class="tsd-anchor-link" id="default-1">
|
|
394
|
+
Default<a
|
|
395
|
+
href="#default-1"
|
|
396
|
+
aria-label="Permalink"
|
|
397
|
+
class="tsd-anchor-icon"
|
|
398
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
399
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
400
|
+
></a>
|
|
401
|
+
</h4>
|
|
402
|
+
<p>
|
|
403
|
+
<code>auto</code> for query parameters, such as
|
|
404
|
+
<code>url: '/foo?queryParam'</code>
|
|
405
|
+
</p>
|
|
406
|
+
</div>
|
|
407
|
+
<div class="tsd-tag-default">
|
|
408
|
+
<h4 class="tsd-anchor-link" id="default-2">
|
|
409
|
+
Default<a
|
|
410
|
+
href="#default-2"
|
|
411
|
+
aria-label="Permalink"
|
|
412
|
+
class="tsd-anchor-icon"
|
|
413
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
414
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
415
|
+
></a>
|
|
416
|
+
</h4>
|
|
417
|
+
<p>
|
|
418
|
+
<code>true</code> if the parameter name ends in
|
|
419
|
+
<code>[]</code>, such as
|
|
420
|
+
<code>url: '/foo/{implicitArrayParam:int[]}'</code>
|
|
421
|
+
</p>
|
|
422
|
+
</div>
|
|
423
|
+
</div>
|
|
424
|
+
<aside class="tsd-sources">
|
|
425
|
+
<ul>
|
|
426
|
+
<li>
|
|
427
|
+
Defined in
|
|
428
|
+
<a
|
|
429
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L163"
|
|
430
|
+
>src/router/params/interface.ts:163</a
|
|
431
|
+
>
|
|
432
|
+
</li>
|
|
433
|
+
</ul>
|
|
434
|
+
</aside>
|
|
435
|
+
</section>
|
|
436
|
+
<section class="tsd-panel tsd-member">
|
|
437
|
+
<h3 class="tsd-anchor-link" id="dynamic">
|
|
438
|
+
<code class="tsd-tag">Optional</code><span>dynamic</span
|
|
439
|
+
><a
|
|
440
|
+
href="#dynamic"
|
|
441
|
+
aria-label="Permalink"
|
|
442
|
+
class="tsd-anchor-icon"
|
|
443
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
444
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
445
|
+
></a>
|
|
446
|
+
</h3>
|
|
447
|
+
<div class="tsd-signature">
|
|
448
|
+
<span class="tsd-kind-property">dynamic</span
|
|
449
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
450
|
+
<span class="tsd-signature-type">boolean</span>
|
|
451
|
+
</div>
|
|
452
|
+
<div class="tsd-comment tsd-typography">
|
|
453
|
+
<p>Dynamic flag</p>
|
|
454
|
+
<p>
|
|
455
|
+
When <code>dynamic</code> is <code>true</code>, changes to the
|
|
456
|
+
parameter value will not cause the state to be entered/exited.
|
|
457
|
+
The resolves will not be re-fetched, nor will views be
|
|
458
|
+
reloaded.
|
|
459
|
+
</p>
|
|
460
|
+
<p>
|
|
461
|
+
Normally, if a parameter value changes, the state which
|
|
462
|
+
declared that the parameter will be reloaded (entered/exited).
|
|
463
|
+
When a parameter is <code>dynamic</code>, a transition still
|
|
464
|
+
occurs, but it does not cause the state to exit/enter.
|
|
465
|
+
</p>
|
|
466
|
+
<p>
|
|
467
|
+
This can be useful to build UI where the component updates
|
|
468
|
+
itself when the param values change. A common scenario where
|
|
469
|
+
this is useful is searching/paging/sorting.
|
|
470
|
+
</p>
|
|
471
|
+
<hr />
|
|
472
|
+
<p>
|
|
473
|
+
Note: this value overrides the <code>dynamic</code> value on a
|
|
474
|
+
custom parameter type ([[ParamTypeDefinition.dynamic]]).
|
|
475
|
+
</p>
|
|
476
|
+
<hr />
|
|
477
|
+
<p>Default: <code>false</code></p>
|
|
478
|
+
</div>
|
|
479
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
480
|
+
<aside class="tsd-sources">
|
|
481
|
+
<ul>
|
|
482
|
+
<li>
|
|
483
|
+
Defined in
|
|
484
|
+
<a
|
|
485
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L267"
|
|
486
|
+
>src/router/params/interface.ts:267</a
|
|
487
|
+
>
|
|
488
|
+
</li>
|
|
489
|
+
</ul>
|
|
490
|
+
</aside>
|
|
491
|
+
</section>
|
|
492
|
+
<section class="tsd-panel tsd-member">
|
|
493
|
+
<h3 class="tsd-anchor-link" id="inherit">
|
|
494
|
+
<code class="tsd-tag">Optional</code><span>inherit</span
|
|
495
|
+
><a
|
|
496
|
+
href="#inherit"
|
|
497
|
+
aria-label="Permalink"
|
|
498
|
+
class="tsd-anchor-icon"
|
|
499
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
500
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
501
|
+
></a>
|
|
502
|
+
</h3>
|
|
503
|
+
<div class="tsd-signature">
|
|
504
|
+
<span class="tsd-kind-property">inherit</span
|
|
505
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
506
|
+
<span class="tsd-signature-type">boolean</span>
|
|
507
|
+
</div>
|
|
508
|
+
<div class="tsd-comment tsd-typography">
|
|
509
|
+
<p>Enables/disables inheriting of this parameter's value</p>
|
|
510
|
+
<p>
|
|
511
|
+
When a transition is run with [[TransitionOptions.inherit]]
|
|
512
|
+
set to <code>true</code>, the current param values are
|
|
513
|
+
inherited in the new transition. However, parameters values
|
|
514
|
+
which have <code>inherit: false</code> set will
|
|
515
|
+
<em>not be inherited</em>.
|
|
516
|
+
</p>
|
|
517
|
+
<h4 id="example-state-" class="tsd-anchor-link">
|
|
518
|
+
Example state :<a
|
|
519
|
+
href="#example-state-"
|
|
520
|
+
aria-label="Permalink"
|
|
521
|
+
class="tsd-anchor-icon"
|
|
522
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
523
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
524
|
+
></a>
|
|
525
|
+
</h4>
|
|
526
|
+
<pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">fooState</span><span class="hl-1"> = {</span><br/><span class="hl-1"> </span><span class="hl-10">name:</span><span class="hl-1"> </span><span class="hl-2">'foo'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">url:</span><span class="hl-1"> </span><span class="hl-2">'/:fooId?mode&refresh'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-10">params:</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">refresh:</span><span class="hl-1"> { </span><span class="hl-10">inherit:</span><span class="hl-1"> </span><span class="hl-11">false</span><span class="hl-1"> }</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-9">// Set fooId to 123</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'fooState'</span><span class="hl-1">, { </span><span class="hl-10">fooId:</span><span class="hl-1"> </span><span class="hl-16">1234</span><span class="hl-1">, </span><span class="hl-10">mode:</span><span class="hl-1"> </span><span class="hl-2">'list'</span><span class="hl-1">, </span><span class="hl-10">refresh:</span><span class="hl-1"> </span><span class="hl-11">true</span><span class="hl-1"> });</span>
|
|
527
|
+
</code><button type="button">Copy</button></pre>
|
|
528
|
+
|
|
529
|
+
<p>
|
|
530
|
+
In the component:
|
|
531
|
+
<code
|
|
532
|
+
>mode: 'list' is inherited, but refresh: true is not
|
|
533
|
+
inherited. // The param values are thus: </code
|
|
534
|
+
>{ fooId: 4567, mode: 'list' }`
|
|
535
|
+
</p>
|
|
536
|
+
<pre><code><span class="hl-1"><</span><span class="hl-10">ui</span><span class="hl-1">-</span><span class="hl-10">sref</span><span class="hl-1">=</span><span class="hl-2">"foo({ fooId: 4567 })"</span><span class="hl-1">></span><span class="hl-16">4567</span><span class="hl-1"></</span><span class="hl-10">ui</span><span class="hl-1">-</span><span class="hl-10">sref</span><span class="hl-1">></span>
|
|
537
|
+
</code><button>Copy</button></pre>
|
|
538
|
+
|
|
539
|
+
<hr />
|
|
540
|
+
<p>
|
|
541
|
+
See also [[TransitionOptions.inherit]] and
|
|
542
|
+
[[ParamTypeDefinition.inherit]]
|
|
543
|
+
</p>
|
|
544
|
+
<hr />
|
|
545
|
+
<p>Default: <code>true</code></p>
|
|
546
|
+
</div>
|
|
547
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
548
|
+
<aside class="tsd-sources">
|
|
549
|
+
<ul>
|
|
550
|
+
<li>
|
|
551
|
+
Defined in
|
|
552
|
+
<a
|
|
553
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L343"
|
|
554
|
+
>src/router/params/interface.ts:343</a
|
|
555
|
+
>
|
|
556
|
+
</li>
|
|
557
|
+
</ul>
|
|
558
|
+
</aside>
|
|
559
|
+
</section>
|
|
560
|
+
<section class="tsd-panel tsd-member">
|
|
561
|
+
<h3 class="tsd-anchor-link" id="isoptional">
|
|
562
|
+
<code class="tsd-tag">Optional</code>
|
|
563
|
+
<code class="tsd-tag">Internal</code
|
|
564
|
+
><span>is<wbr />Optional</span
|
|
565
|
+
><a
|
|
566
|
+
href="#isoptional"
|
|
567
|
+
aria-label="Permalink"
|
|
568
|
+
class="tsd-anchor-icon"
|
|
569
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
570
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
571
|
+
></a>
|
|
572
|
+
</h3>
|
|
573
|
+
<div class="tsd-signature">
|
|
574
|
+
<span class="tsd-kind-property">isOptional</span
|
|
575
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
576
|
+
<span class="tsd-signature-type">boolean</span>
|
|
577
|
+
</div>
|
|
578
|
+
<div class="tsd-comment tsd-typography">
|
|
579
|
+
<p>
|
|
580
|
+
This is not part of the declaration; it is a calculated value
|
|
581
|
+
depending on if a default value was specified or not.
|
|
582
|
+
</p>
|
|
583
|
+
</div>
|
|
584
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
585
|
+
<aside class="tsd-sources">
|
|
586
|
+
<ul>
|
|
587
|
+
<li>
|
|
588
|
+
Defined in
|
|
589
|
+
<a
|
|
590
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L245"
|
|
591
|
+
>src/router/params/interface.ts:245</a
|
|
592
|
+
>
|
|
593
|
+
</li>
|
|
594
|
+
</ul>
|
|
595
|
+
</aside>
|
|
596
|
+
</section>
|
|
597
|
+
<section class="tsd-panel tsd-member">
|
|
598
|
+
<h3 class="tsd-anchor-link" id="raw">
|
|
599
|
+
<code class="tsd-tag">Optional</code><span>raw</span
|
|
600
|
+
><a href="#raw" aria-label="Permalink" class="tsd-anchor-icon"
|
|
601
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
602
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
603
|
+
></a>
|
|
604
|
+
</h3>
|
|
605
|
+
<div class="tsd-signature">
|
|
606
|
+
<span class="tsd-kind-property">raw</span
|
|
607
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
608
|
+
<span class="tsd-signature-type">boolean</span>
|
|
609
|
+
</div>
|
|
610
|
+
<div class="tsd-comment tsd-typography">
|
|
611
|
+
<p>Disables url-encoding of parameter values</p>
|
|
612
|
+
<p>
|
|
613
|
+
When <code>true</code>, parameter values are not url-encoded.
|
|
614
|
+
This is commonly used to allow "slug" urls, with a
|
|
615
|
+
parameter value including non-semantic slashes.
|
|
616
|
+
</p>
|
|
617
|
+
<h4 id="example-2" class="tsd-anchor-link">
|
|
618
|
+
Example:<a
|
|
619
|
+
href="#example-2"
|
|
620
|
+
aria-label="Permalink"
|
|
621
|
+
class="tsd-anchor-icon"
|
|
622
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
623
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
624
|
+
></a>
|
|
625
|
+
</h4>
|
|
626
|
+
<pre><code class="js"><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">'/product/:slug'</span><span class="hl-1">,</span><br/><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">slug</span><span class="hl-1">: { </span><span class="hl-15">type</span><span class="hl-1">: </span><span class="hl-2">'string'</span><span class="hl-1">, </span><span class="hl-15">raw</span><span class="hl-1">: </span><span class="hl-11">true</span><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
|
627
|
+
</code><button type="button">Copy</button></pre>
|
|
628
|
+
|
|
629
|
+
<p>
|
|
630
|
+
This allows a URL parameter of
|
|
631
|
+
<code>{ slug: 'camping/tents/awesome_tent' }</code> to
|
|
632
|
+
serialize to
|
|
633
|
+
<code>/product/camping/tents/awesome_tent</code> instead of
|
|
634
|
+
<code>/product/camping%2Ftents%2Fawesome_tent</code>.
|
|
635
|
+
</p>
|
|
636
|
+
<hr />
|
|
637
|
+
<p>
|
|
638
|
+
Note: this value overrides the <code>raw</code> value on a
|
|
639
|
+
custom parameter type ([[ParamTypeDefinition.raw]]).
|
|
640
|
+
</p>
|
|
641
|
+
<h3 id="decoding-warning" class="tsd-anchor-link">
|
|
642
|
+
Decoding warning<a
|
|
643
|
+
href="#decoding-warning"
|
|
644
|
+
aria-label="Permalink"
|
|
645
|
+
class="tsd-anchor-icon"
|
|
646
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
647
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
648
|
+
></a>
|
|
649
|
+
</h3>
|
|
650
|
+
<p>
|
|
651
|
+
The decoding behavior of raw parameters is not defined. For
|
|
652
|
+
example, given a url template such as
|
|
653
|
+
<code>/:raw1/:raw2</code> the url
|
|
654
|
+
<code>/foo/bar/baz/qux/</code>, there is no way to determine
|
|
655
|
+
which slashes belong to which params.
|
|
656
|
+
</p>
|
|
657
|
+
<p>
|
|
658
|
+
It's generally safe to use a raw parameter at the end of a
|
|
659
|
+
path, like '/product/:slug'. However, beware of the characters
|
|
660
|
+
you allow in your raw parameter values. Avoid unencoded
|
|
661
|
+
characters that could disrupt normal URL parsing, such as
|
|
662
|
+
<code>?</code> and <code>#</code>.
|
|
663
|
+
</p>
|
|
664
|
+
<hr />
|
|
665
|
+
<p>Default: <code>false</code></p>
|
|
666
|
+
</div>
|
|
667
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
668
|
+
<aside class="tsd-sources">
|
|
669
|
+
<ul>
|
|
670
|
+
<li>
|
|
671
|
+
Defined in
|
|
672
|
+
<a
|
|
673
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L305"
|
|
674
|
+
>src/router/params/interface.ts:305</a
|
|
675
|
+
>
|
|
676
|
+
</li>
|
|
677
|
+
</ul>
|
|
678
|
+
</aside>
|
|
679
|
+
</section>
|
|
680
|
+
<section class="tsd-panel tsd-member">
|
|
681
|
+
<h3 class="tsd-anchor-link" id="replace">
|
|
682
|
+
<code class="tsd-tag">Optional</code>
|
|
683
|
+
<code class="tsd-tag">Internal</code><span>replace</span
|
|
684
|
+
><a
|
|
685
|
+
href="#replace"
|
|
686
|
+
aria-label="Permalink"
|
|
687
|
+
class="tsd-anchor-icon"
|
|
688
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
689
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
690
|
+
></a>
|
|
691
|
+
</h3>
|
|
692
|
+
<div class="tsd-signature">
|
|
693
|
+
<span class="tsd-kind-property">replace</span
|
|
694
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
695
|
+
<a
|
|
696
|
+
href="router_params_interface.Replace.html"
|
|
697
|
+
class="tsd-signature-type tsd-kind-interface"
|
|
698
|
+
>Replace</a
|
|
699
|
+
><span class="tsd-signature-symbol">[]</span>
|
|
700
|
+
</div>
|
|
701
|
+
<div class="tsd-comment tsd-typography">
|
|
702
|
+
<p>An array of [[Replace]] objects.</p>
|
|
703
|
+
<p>
|
|
704
|
+
When creating a Transition, defines how to handle certain
|
|
705
|
+
special values, such as <code>undefined</code>,
|
|
706
|
+
<code>null</code>, or empty string <code>""</code>.
|
|
707
|
+
If the transition is started, and the parameter value is equal
|
|
708
|
+
to one of the "to" values, then the parameter value
|
|
709
|
+
is replaced with the "from" value.
|
|
710
|
+
</p>
|
|
711
|
+
<h4 id="example-3" class="tsd-anchor-link">
|
|
712
|
+
Example:<a
|
|
713
|
+
href="#example-3"
|
|
714
|
+
aria-label="Permalink"
|
|
715
|
+
class="tsd-anchor-icon"
|
|
716
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
717
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
718
|
+
></a>
|
|
719
|
+
</h4>
|
|
720
|
+
<pre><code class="js"><span class="hl-15">replace</span><span class="hl-1">: [</span><br/><span class="hl-1"> { </span><span class="hl-10">from:</span><span class="hl-1"> </span><span class="hl-11">undefined</span><span class="hl-1">, </span><span class="hl-10">to:</span><span class="hl-1"> </span><span class="hl-11">null</span><span class="hl-1"> },</span><br/><span class="hl-1"> { </span><span class="hl-10">from:</span><span class="hl-1"> </span><span class="hl-2">""</span><span class="hl-1">, </span><span class="hl-10">to:</span><span class="hl-1"> </span><span class="hl-11">null</span><span class="hl-1"> }</span><br/><span class="hl-1">]</span>
|
|
721
|
+
</code><button type="button">Copy</button></pre>
|
|
722
|
+
</div>
|
|
723
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
724
|
+
<aside class="tsd-sources">
|
|
725
|
+
<ul>
|
|
726
|
+
<li>
|
|
727
|
+
Defined in
|
|
728
|
+
<a
|
|
729
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L237"
|
|
730
|
+
>src/router/params/interface.ts:237</a
|
|
731
|
+
>
|
|
732
|
+
</li>
|
|
733
|
+
</ul>
|
|
734
|
+
</aside>
|
|
735
|
+
</section>
|
|
736
|
+
<section class="tsd-panel tsd-member">
|
|
737
|
+
<h3 class="tsd-anchor-link" id="squash">
|
|
738
|
+
<code class="tsd-tag">Optional</code><span>squash</span
|
|
739
|
+
><a
|
|
740
|
+
href="#squash"
|
|
741
|
+
aria-label="Permalink"
|
|
742
|
+
class="tsd-anchor-icon"
|
|
743
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
744
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
745
|
+
></a>
|
|
746
|
+
</h3>
|
|
747
|
+
<div class="tsd-signature">
|
|
748
|
+
<span class="tsd-kind-property">squash</span
|
|
749
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
750
|
+
<span class="tsd-signature-type">string</span>
|
|
751
|
+
<span class="tsd-signature-symbol">|</span>
|
|
752
|
+
<span class="tsd-signature-type">boolean</span>
|
|
753
|
+
</div>
|
|
754
|
+
<div class="tsd-comment tsd-typography">
|
|
755
|
+
<p>Squash mode: omit default parameter values in URL</p>
|
|
756
|
+
<p>
|
|
757
|
+
Configures how a default parameter value is represented in the
|
|
758
|
+
URL when the current parameter value is the same as the
|
|
759
|
+
default value.
|
|
760
|
+
</p>
|
|
761
|
+
<p>There are three squash settings:</p>
|
|
762
|
+
<ul>
|
|
763
|
+
<li>
|
|
764
|
+
<code>false</code>: The parameter's default value is not
|
|
765
|
+
squashed. It is encoded and included in the URL
|
|
766
|
+
</li>
|
|
767
|
+
<li>
|
|
768
|
+
<code>true</code>: The parameter's default value is omitted
|
|
769
|
+
from the URL. If the parameter is preceeded and followed by
|
|
770
|
+
slashes in the state's url declaration, then one of those
|
|
771
|
+
slashes are omitted. This can allow for cleaner looking
|
|
772
|
+
URLs.
|
|
773
|
+
</li>
|
|
774
|
+
<li>
|
|
775
|
+
<code>"&lt;arbitrary string&gt;"</code>:
|
|
776
|
+
The parameter's default value is replaced with an arbitrary
|
|
777
|
+
placeholder of your choice.
|
|
778
|
+
</li>
|
|
779
|
+
</ul>
|
|
780
|
+
<h4 id="example-4" class="tsd-anchor-link">
|
|
781
|
+
Example:<a
|
|
782
|
+
href="#example-4"
|
|
783
|
+
aria-label="Permalink"
|
|
784
|
+
class="tsd-anchor-icon"
|
|
785
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
786
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
787
|
+
></a>
|
|
788
|
+
</h4>
|
|
789
|
+
<pre><code class="js"><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-15">name</span><span class="hl-1">: </span><span class="hl-2">'mystate'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">'/mystate/:myparam'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">myparam</span><span class="hl-1">: </span><span class="hl-2">'defaultParamValue'</span><br/><span class="hl-1"> </span><span class="hl-15">squash</span><span class="hl-1">: </span><span class="hl-11">true</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-9">// URL will be `/mystate/`</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'mystate'</span><span class="hl-1">, { </span><span class="hl-10">myparam:</span><span class="hl-1"> </span><span class="hl-2">'defaultParamValue'</span><span class="hl-1"> });</span><br/><br/><span class="hl-9">// URL will be `/mystate/someOtherValue`</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'mystate'</span><span class="hl-1">, { </span><span class="hl-10">myparam:</span><span class="hl-1"> </span><span class="hl-2">'someOtherValue'</span><span class="hl-1"> });</span>
|
|
790
|
+
</code><button type="button">Copy</button></pre>
|
|
791
|
+
|
|
792
|
+
<h4 id="example-5" class="tsd-anchor-link">
|
|
793
|
+
Example:<a
|
|
794
|
+
href="#example-5"
|
|
795
|
+
aria-label="Permalink"
|
|
796
|
+
class="tsd-anchor-icon"
|
|
797
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
798
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
799
|
+
></a>
|
|
800
|
+
</h4>
|
|
801
|
+
<pre><code class="js"><span class="hl-1">{</span><br/><span class="hl-1"> </span><span class="hl-15">name</span><span class="hl-1">: </span><span class="hl-2">'mystate2'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">url</span><span class="hl-1">: </span><span class="hl-2">'/mystate2/:myparam2'</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">myparam2</span><span class="hl-1">: </span><span class="hl-2">'defaultParamValue'</span><br/><span class="hl-1"> </span><span class="hl-15">squash</span><span class="hl-1">: </span><span class="hl-2">"~"</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-9">// URL will be `/mystate/~`</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'mystate'</span><span class="hl-1">, { </span><span class="hl-10">myparam2:</span><span class="hl-1"> </span><span class="hl-2">'defaultParamValue'</span><span class="hl-1"> });</span><br/><br/><span class="hl-9">// URL will be `/mystate/someOtherValue`</span><br/><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">'mystate'</span><span class="hl-1">, { </span><span class="hl-10">myparam2:</span><span class="hl-1"> </span><span class="hl-2">'someOtherValue'</span><span class="hl-1"> });</span>
|
|
802
|
+
</code><button type="button">Copy</button></pre>
|
|
803
|
+
|
|
804
|
+
<p>
|
|
805
|
+
Default: If squash is not set, it uses the configured default
|
|
806
|
+
squash policy. (See <a href="">[defaultSquashPolicy]</a>)
|
|
807
|
+
</p>
|
|
808
|
+
</div>
|
|
809
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
810
|
+
<aside class="tsd-sources">
|
|
811
|
+
<ul>
|
|
812
|
+
<li>
|
|
813
|
+
Defined in
|
|
814
|
+
<a
|
|
815
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L218"
|
|
816
|
+
>src/router/params/interface.ts:218</a
|
|
817
|
+
>
|
|
818
|
+
</li>
|
|
819
|
+
</ul>
|
|
820
|
+
</aside>
|
|
821
|
+
</section>
|
|
822
|
+
<section class="tsd-panel tsd-member">
|
|
823
|
+
<h3 class="tsd-anchor-link" id="type">
|
|
824
|
+
<code class="tsd-tag">Optional</code><span>type</span
|
|
825
|
+
><a href="#type" aria-label="Permalink" class="tsd-anchor-icon"
|
|
826
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
827
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
828
|
+
></a>
|
|
829
|
+
</h3>
|
|
830
|
+
<div class="tsd-signature">
|
|
831
|
+
<span class="tsd-kind-property">type</span
|
|
832
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
833
|
+
<span class="tsd-signature-type">string</span>
|
|
834
|
+
<span class="tsd-signature-symbol">|</span>
|
|
835
|
+
<a
|
|
836
|
+
href="../classes/router_params_param-type.ParamType.html"
|
|
837
|
+
class="tsd-signature-type tsd-kind-class"
|
|
838
|
+
>ParamType</a
|
|
839
|
+
>
|
|
840
|
+
</div>
|
|
841
|
+
<div class="tsd-comment tsd-typography">
|
|
842
|
+
<p>The parameter's type</p>
|
|
843
|
+
<p>
|
|
844
|
+
Specifies the [[ParamType]] of the parameter. Parameter types
|
|
845
|
+
can be used to customize the encoding/decoding of parameter
|
|
846
|
+
values.
|
|
847
|
+
</p>
|
|
848
|
+
<p>
|
|
849
|
+
Set this property to the name of parameter's type. The type
|
|
850
|
+
may be either one of the built in types, or a custom type that
|
|
851
|
+
has been registered with the [[UrlMatcherFactory]].
|
|
852
|
+
</p>
|
|
853
|
+
<p>See [[ParamTypes]] for the list of built in types.</p>
|
|
854
|
+
<hr />
|
|
855
|
+
<p>Default:</p>
|
|
856
|
+
<ul>
|
|
857
|
+
<li>
|
|
858
|
+
Path parameters (<code>/:fooParam</code>): <code>path</code>
|
|
859
|
+
</li>
|
|
860
|
+
<li>
|
|
861
|
+
Query parameters (<code>?queryParam</code>):
|
|
862
|
+
<code>query</code>
|
|
863
|
+
</li>
|
|
864
|
+
<li>
|
|
865
|
+
Non-url parameters (<code>param: { foo: null }</code>):
|
|
866
|
+
<code>any</code>
|
|
867
|
+
</li>
|
|
868
|
+
</ul>
|
|
869
|
+
</div>
|
|
870
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
871
|
+
<aside class="tsd-sources">
|
|
872
|
+
<ul>
|
|
873
|
+
<li>
|
|
874
|
+
Defined in
|
|
875
|
+
<a
|
|
876
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L128"
|
|
877
|
+
>src/router/params/interface.ts:128</a
|
|
878
|
+
>
|
|
879
|
+
</li>
|
|
880
|
+
</ul>
|
|
881
|
+
</aside>
|
|
882
|
+
</section>
|
|
883
|
+
<section class="tsd-panel tsd-member">
|
|
884
|
+
<h3 class="tsd-anchor-link" id="value">
|
|
885
|
+
<code class="tsd-tag">Optional</code><span>value</span
|
|
886
|
+
><a href="#value" aria-label="Permalink" class="tsd-anchor-icon"
|
|
887
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
888
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
889
|
+
></a>
|
|
890
|
+
</h3>
|
|
891
|
+
<div class="tsd-signature">
|
|
892
|
+
<span class="tsd-kind-property">value</span
|
|
893
|
+
><span class="tsd-signature-symbol">?:</span>
|
|
894
|
+
<span class="tsd-signature-type">any</span>
|
|
895
|
+
</div>
|
|
896
|
+
<div class="tsd-comment tsd-typography">
|
|
897
|
+
<p>The default value for this parameter.</p>
|
|
898
|
+
<p>
|
|
899
|
+
Specifies the default value for this parameter. This
|
|
900
|
+
implicitly sets this parameter as optional.
|
|
901
|
+
</p>
|
|
902
|
+
<p>
|
|
903
|
+
When UI-Router routes to a state and no value is specified for
|
|
904
|
+
this parameter in the URL or transition, the default value
|
|
905
|
+
will be used instead. If value is a function, it will be
|
|
906
|
+
injected and invoked, and the return value used.
|
|
907
|
+
</p>
|
|
908
|
+
<p>
|
|
909
|
+
Note: <code>value: undefined</code> is treated as though
|
|
910
|
+
<strong>no default value was specified</strong>, while
|
|
911
|
+
<code>value: null</code> is treated as
|
|
912
|
+
<strong>"the default value is null"</strong>.
|
|
913
|
+
</p>
|
|
914
|
+
<pre><code><span class="hl-9">// define default values for param1 and param2</span><br/><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">param1</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: </span><span class="hl-2">"defaultValue"</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-15">param2</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: </span><span class="hl-2">"param2Default</span><span class="hl-12">;</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span>
|
|
915
|
+
</code><button>Copy</button></pre>
|
|
916
|
+
|
|
917
|
+
<h3 id="shorthand-declaration" class="tsd-anchor-link">
|
|
918
|
+
Shorthand Declaration<a
|
|
919
|
+
href="#shorthand-declaration"
|
|
920
|
+
aria-label="Permalink"
|
|
921
|
+
class="tsd-anchor-icon"
|
|
922
|
+
><svg viewBox="0 0 24 24" aria-hidden="true">
|
|
923
|
+
<use href="../assets/icons.svg#icon-anchor"></use></svg
|
|
924
|
+
></a>
|
|
925
|
+
</h3>
|
|
926
|
+
<p>
|
|
927
|
+
If you only want to set the default value of the parameter,
|
|
928
|
+
you may use a shorthand syntax. In the params map, instead
|
|
929
|
+
mapping the param name to a full parameter configuration
|
|
930
|
+
object, simply set map it to the default parameter value,
|
|
931
|
+
e.g.:
|
|
932
|
+
</p>
|
|
933
|
+
<pre><code><span class="hl-9">// Normal (non-shorthand) default value syntax</span><br/><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">param1</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: </span><span class="hl-2">"defaultValue"</span><br/><span class="hl-1"> },</span><br/><span class="hl-1"> </span><span class="hl-15">param2</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">value</span><span class="hl-1">: </span><span class="hl-2">"param2Default"</span><br/><span class="hl-1"> }</span><br/><span class="hl-1">}</span><br/><br/><span class="hl-9">// Shorthand default value syntax</span><br/><span class="hl-15">params</span><span class="hl-1">: {</span><br/><span class="hl-1"> </span><span class="hl-15">param1</span><span class="hl-1">: </span><span class="hl-2">"defaultValue"</span><span class="hl-1">,</span><br/><span class="hl-1"> </span><span class="hl-15">param2</span><span class="hl-1">: </span><span class="hl-2">"param2Default"</span><br/><span class="hl-1">}</span>
|
|
934
|
+
</code><button>Copy</button></pre>
|
|
935
|
+
|
|
936
|
+
<p>
|
|
937
|
+
This defines a default value for the parameter. If a parameter
|
|
938
|
+
value is <code>undefined</code>, this default value will be
|
|
939
|
+
used instead
|
|
940
|
+
</p>
|
|
941
|
+
<hr />
|
|
942
|
+
<p>Default: <code>undefined</code></p>
|
|
943
|
+
</div>
|
|
944
|
+
<div class="tsd-comment tsd-typography"></div>
|
|
945
|
+
<aside class="tsd-sources">
|
|
946
|
+
<ul>
|
|
947
|
+
<li>
|
|
948
|
+
Defined in
|
|
949
|
+
<a
|
|
950
|
+
href="https://github.com/Angular-Wave/angular.ts/blob/e14e445af22a0918c5aea3160db49b26512bc6c0/src/router/params/interface.ts#L107"
|
|
951
|
+
>src/router/params/interface.ts:107</a
|
|
952
|
+
>
|
|
953
|
+
</li>
|
|
954
|
+
</ul>
|
|
955
|
+
</aside>
|
|
956
|
+
</section>
|
|
957
|
+
</section>
|
|
958
|
+
</details>
|
|
959
|
+
</div>
|
|
960
|
+
<div class="col-sidebar">
|
|
961
|
+
<div class="page-menu">
|
|
962
|
+
<div class="tsd-navigation settings">
|
|
963
|
+
<details class="tsd-accordion">
|
|
964
|
+
<summary class="tsd-accordion-summary">
|
|
965
|
+
<svg
|
|
966
|
+
width="20"
|
|
967
|
+
height="20"
|
|
968
|
+
viewBox="0 0 24 24"
|
|
969
|
+
fill="none"
|
|
970
|
+
aria-hidden="true"
|
|
971
|
+
>
|
|
972
|
+
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
973
|
+
</svg>
|
|
974
|
+
<h3>Settings</h3>
|
|
975
|
+
</summary>
|
|
976
|
+
<div class="tsd-accordion-details">
|
|
977
|
+
<div class="tsd-filter-visibility">
|
|
978
|
+
<span class="settings-label">Member Visibility</span>
|
|
979
|
+
<ul id="tsd-filter-options">
|
|
980
|
+
<li class="tsd-filter-item">
|
|
981
|
+
<label class="tsd-filter-input"
|
|
982
|
+
><input
|
|
983
|
+
type="checkbox"
|
|
984
|
+
id="tsd-filter-protected"
|
|
985
|
+
name="protected"
|
|
986
|
+
/><svg
|
|
987
|
+
width="32"
|
|
988
|
+
height="32"
|
|
989
|
+
viewBox="0 0 32 32"
|
|
990
|
+
aria-hidden="true"
|
|
991
|
+
>
|
|
992
|
+
<rect
|
|
993
|
+
class="tsd-checkbox-background"
|
|
994
|
+
width="30"
|
|
995
|
+
height="30"
|
|
996
|
+
x="1"
|
|
997
|
+
y="1"
|
|
998
|
+
rx="6"
|
|
999
|
+
fill="none"
|
|
1000
|
+
></rect>
|
|
1001
|
+
<path
|
|
1002
|
+
class="tsd-checkbox-checkmark"
|
|
1003
|
+
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
1004
|
+
stroke="none"
|
|
1005
|
+
stroke-width="3.5"
|
|
1006
|
+
stroke-linejoin="round"
|
|
1007
|
+
fill="none"
|
|
1008
|
+
></path></svg
|
|
1009
|
+
><span>Protected</span></label
|
|
1010
|
+
>
|
|
1011
|
+
</li>
|
|
1012
|
+
<li class="tsd-filter-item">
|
|
1013
|
+
<label class="tsd-filter-input"
|
|
1014
|
+
><input
|
|
1015
|
+
type="checkbox"
|
|
1016
|
+
id="tsd-filter-inherited"
|
|
1017
|
+
name="inherited"
|
|
1018
|
+
checked
|
|
1019
|
+
/><svg
|
|
1020
|
+
width="32"
|
|
1021
|
+
height="32"
|
|
1022
|
+
viewBox="0 0 32 32"
|
|
1023
|
+
aria-hidden="true"
|
|
1024
|
+
>
|
|
1025
|
+
<rect
|
|
1026
|
+
class="tsd-checkbox-background"
|
|
1027
|
+
width="30"
|
|
1028
|
+
height="30"
|
|
1029
|
+
x="1"
|
|
1030
|
+
y="1"
|
|
1031
|
+
rx="6"
|
|
1032
|
+
fill="none"
|
|
1033
|
+
></rect>
|
|
1034
|
+
<path
|
|
1035
|
+
class="tsd-checkbox-checkmark"
|
|
1036
|
+
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
1037
|
+
stroke="none"
|
|
1038
|
+
stroke-width="3.5"
|
|
1039
|
+
stroke-linejoin="round"
|
|
1040
|
+
fill="none"
|
|
1041
|
+
></path></svg
|
|
1042
|
+
><span>Inherited</span></label
|
|
1043
|
+
>
|
|
1044
|
+
</li>
|
|
1045
|
+
<li class="tsd-filter-item">
|
|
1046
|
+
<label class="tsd-filter-input"
|
|
1047
|
+
><input
|
|
1048
|
+
type="checkbox"
|
|
1049
|
+
id="tsd-filter-external"
|
|
1050
|
+
name="external"
|
|
1051
|
+
/><svg
|
|
1052
|
+
width="32"
|
|
1053
|
+
height="32"
|
|
1054
|
+
viewBox="0 0 32 32"
|
|
1055
|
+
aria-hidden="true"
|
|
1056
|
+
>
|
|
1057
|
+
<rect
|
|
1058
|
+
class="tsd-checkbox-background"
|
|
1059
|
+
width="30"
|
|
1060
|
+
height="30"
|
|
1061
|
+
x="1"
|
|
1062
|
+
y="1"
|
|
1063
|
+
rx="6"
|
|
1064
|
+
fill="none"
|
|
1065
|
+
></rect>
|
|
1066
|
+
<path
|
|
1067
|
+
class="tsd-checkbox-checkmark"
|
|
1068
|
+
d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25"
|
|
1069
|
+
stroke="none"
|
|
1070
|
+
stroke-width="3.5"
|
|
1071
|
+
stroke-linejoin="round"
|
|
1072
|
+
fill="none"
|
|
1073
|
+
></path></svg
|
|
1074
|
+
><span>External</span></label
|
|
1075
|
+
>
|
|
1076
|
+
</li>
|
|
1077
|
+
</ul>
|
|
1078
|
+
</div>
|
|
1079
|
+
<div class="tsd-theme-toggle">
|
|
1080
|
+
<label class="settings-label" for="tsd-theme">Theme</label
|
|
1081
|
+
><select id="tsd-theme">
|
|
1082
|
+
<option value="os">OS</option>
|
|
1083
|
+
<option value="light">Light</option>
|
|
1084
|
+
<option value="dark">Dark</option>
|
|
1085
|
+
</select>
|
|
1086
|
+
</div>
|
|
1087
|
+
</div>
|
|
1088
|
+
</details>
|
|
1089
|
+
</div>
|
|
1090
|
+
<details open class="tsd-accordion tsd-page-navigation">
|
|
1091
|
+
<summary class="tsd-accordion-summary">
|
|
1092
|
+
<svg
|
|
1093
|
+
width="20"
|
|
1094
|
+
height="20"
|
|
1095
|
+
viewBox="0 0 24 24"
|
|
1096
|
+
fill="none"
|
|
1097
|
+
aria-hidden="true"
|
|
1098
|
+
>
|
|
1099
|
+
<use href="../assets/icons.svg#icon-chevronDown"></use>
|
|
1100
|
+
</svg>
|
|
1101
|
+
<h3>On This Page</h3>
|
|
1102
|
+
</summary>
|
|
1103
|
+
<div class="tsd-accordion-details">
|
|
1104
|
+
<a href="#example"><span>Example:</span></a>
|
|
1105
|
+
<details open class="tsd-accordion tsd-page-navigation-section">
|
|
1106
|
+
<summary
|
|
1107
|
+
class="tsd-accordion-summary"
|
|
1108
|
+
data-key="section-Properties"
|
|
1109
|
+
>
|
|
1110
|
+
<svg
|
|
1111
|
+
width="20"
|
|
1112
|
+
height="20"
|
|
1113
|
+
viewBox="0 0 24 24"
|
|
1114
|
+
fill="none"
|
|
1115
|
+
aria-hidden="true"
|
|
1116
|
+
>
|
|
1117
|
+
<use href="../assets/icons.svg#icon-chevronDown"></use></svg
|
|
1118
|
+
>Properties
|
|
1119
|
+
</summary>
|
|
1120
|
+
<div>
|
|
1121
|
+
<a href="#array"
|
|
1122
|
+
><svg
|
|
1123
|
+
class="tsd-kind-icon"
|
|
1124
|
+
viewBox="0 0 24 24"
|
|
1125
|
+
aria-label="Property"
|
|
1126
|
+
>
|
|
1127
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1128
|
+
><span>array</span></a
|
|
1129
|
+
>
|
|
1130
|
+
<ul>
|
|
1131
|
+
<li>
|
|
1132
|
+
<ul>
|
|
1133
|
+
<li>
|
|
1134
|
+
<ul>
|
|
1135
|
+
<li>
|
|
1136
|
+
<ul>
|
|
1137
|
+
<li>
|
|
1138
|
+
<a href="#example-1"><span>Example:</span></a>
|
|
1139
|
+
</li>
|
|
1140
|
+
</ul>
|
|
1141
|
+
</li>
|
|
1142
|
+
</ul>
|
|
1143
|
+
</li>
|
|
1144
|
+
</ul>
|
|
1145
|
+
</li>
|
|
1146
|
+
</ul>
|
|
1147
|
+
<a href="#dynamic"
|
|
1148
|
+
><svg
|
|
1149
|
+
class="tsd-kind-icon"
|
|
1150
|
+
viewBox="0 0 24 24"
|
|
1151
|
+
aria-label="Property"
|
|
1152
|
+
>
|
|
1153
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1154
|
+
><span>dynamic</span></a
|
|
1155
|
+
><a href="#inherit"
|
|
1156
|
+
><svg
|
|
1157
|
+
class="tsd-kind-icon"
|
|
1158
|
+
viewBox="0 0 24 24"
|
|
1159
|
+
aria-label="Property"
|
|
1160
|
+
>
|
|
1161
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1162
|
+
><span>inherit</span></a
|
|
1163
|
+
>
|
|
1164
|
+
<ul>
|
|
1165
|
+
<li>
|
|
1166
|
+
<ul>
|
|
1167
|
+
<li>
|
|
1168
|
+
<ul>
|
|
1169
|
+
<li>
|
|
1170
|
+
<ul>
|
|
1171
|
+
<li>
|
|
1172
|
+
<a href="#example-state-"
|
|
1173
|
+
><span>Example state :</span></a
|
|
1174
|
+
>
|
|
1175
|
+
</li>
|
|
1176
|
+
</ul>
|
|
1177
|
+
</li>
|
|
1178
|
+
</ul>
|
|
1179
|
+
</li>
|
|
1180
|
+
</ul>
|
|
1181
|
+
</li>
|
|
1182
|
+
</ul>
|
|
1183
|
+
<a href="#isoptional"
|
|
1184
|
+
><svg
|
|
1185
|
+
class="tsd-kind-icon"
|
|
1186
|
+
viewBox="0 0 24 24"
|
|
1187
|
+
aria-label="Property"
|
|
1188
|
+
>
|
|
1189
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1190
|
+
><span>is<wbr />Optional</span></a
|
|
1191
|
+
><a href="#raw"
|
|
1192
|
+
><svg
|
|
1193
|
+
class="tsd-kind-icon"
|
|
1194
|
+
viewBox="0 0 24 24"
|
|
1195
|
+
aria-label="Property"
|
|
1196
|
+
>
|
|
1197
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1198
|
+
><span>raw</span></a
|
|
1199
|
+
>
|
|
1200
|
+
<ul>
|
|
1201
|
+
<li>
|
|
1202
|
+
<ul>
|
|
1203
|
+
<li>
|
|
1204
|
+
<ul>
|
|
1205
|
+
<li>
|
|
1206
|
+
<ul>
|
|
1207
|
+
<li>
|
|
1208
|
+
<a href="#example-2"><span>Example:</span></a>
|
|
1209
|
+
</li>
|
|
1210
|
+
</ul>
|
|
1211
|
+
</li>
|
|
1212
|
+
<li>
|
|
1213
|
+
<a href="#decoding-warning"
|
|
1214
|
+
><span>Decoding warning</span></a
|
|
1215
|
+
>
|
|
1216
|
+
</li>
|
|
1217
|
+
</ul>
|
|
1218
|
+
</li>
|
|
1219
|
+
</ul>
|
|
1220
|
+
</li>
|
|
1221
|
+
</ul>
|
|
1222
|
+
<a href="#replace"
|
|
1223
|
+
><svg
|
|
1224
|
+
class="tsd-kind-icon"
|
|
1225
|
+
viewBox="0 0 24 24"
|
|
1226
|
+
aria-label="Property"
|
|
1227
|
+
>
|
|
1228
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1229
|
+
><span>replace</span></a
|
|
1230
|
+
>
|
|
1231
|
+
<ul>
|
|
1232
|
+
<li>
|
|
1233
|
+
<ul>
|
|
1234
|
+
<li>
|
|
1235
|
+
<ul>
|
|
1236
|
+
<li>
|
|
1237
|
+
<ul>
|
|
1238
|
+
<li>
|
|
1239
|
+
<a href="#example-3"><span>Example:</span></a>
|
|
1240
|
+
</li>
|
|
1241
|
+
</ul>
|
|
1242
|
+
</li>
|
|
1243
|
+
</ul>
|
|
1244
|
+
</li>
|
|
1245
|
+
</ul>
|
|
1246
|
+
</li>
|
|
1247
|
+
</ul>
|
|
1248
|
+
<a href="#squash"
|
|
1249
|
+
><svg
|
|
1250
|
+
class="tsd-kind-icon"
|
|
1251
|
+
viewBox="0 0 24 24"
|
|
1252
|
+
aria-label="Property"
|
|
1253
|
+
>
|
|
1254
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1255
|
+
><span>squash</span></a
|
|
1256
|
+
>
|
|
1257
|
+
<ul>
|
|
1258
|
+
<li>
|
|
1259
|
+
<ul>
|
|
1260
|
+
<li>
|
|
1261
|
+
<ul>
|
|
1262
|
+
<li>
|
|
1263
|
+
<ul>
|
|
1264
|
+
<li>
|
|
1265
|
+
<a href="#example-4"><span>Example:</span></a>
|
|
1266
|
+
</li>
|
|
1267
|
+
<li>
|
|
1268
|
+
<a href="#example-5"><span>Example:</span></a>
|
|
1269
|
+
</li>
|
|
1270
|
+
</ul>
|
|
1271
|
+
</li>
|
|
1272
|
+
</ul>
|
|
1273
|
+
</li>
|
|
1274
|
+
</ul>
|
|
1275
|
+
</li>
|
|
1276
|
+
</ul>
|
|
1277
|
+
<a href="#type"
|
|
1278
|
+
><svg
|
|
1279
|
+
class="tsd-kind-icon"
|
|
1280
|
+
viewBox="0 0 24 24"
|
|
1281
|
+
aria-label="Property"
|
|
1282
|
+
>
|
|
1283
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1284
|
+
><span>type</span></a
|
|
1285
|
+
><a href="#value"
|
|
1286
|
+
><svg
|
|
1287
|
+
class="tsd-kind-icon"
|
|
1288
|
+
viewBox="0 0 24 24"
|
|
1289
|
+
aria-label="Property"
|
|
1290
|
+
>
|
|
1291
|
+
<use href="../assets/icons.svg#icon-1024"></use></svg
|
|
1292
|
+
><span>value</span></a
|
|
1293
|
+
>
|
|
1294
|
+
<ul>
|
|
1295
|
+
<li>
|
|
1296
|
+
<a href="#shorthand-declaration"
|
|
1297
|
+
><span>Shorthand <wbr />Declaration</span></a
|
|
1298
|
+
>
|
|
1299
|
+
</li>
|
|
1300
|
+
</ul>
|
|
1301
|
+
</div>
|
|
1302
|
+
</details>
|
|
1303
|
+
</div>
|
|
1304
|
+
</details>
|
|
1305
|
+
</div>
|
|
1306
|
+
<div class="site-menu">
|
|
1307
|
+
<nav class="tsd-navigation">
|
|
1308
|
+
<a href="../modules.html">@angular-wave/angular.ts</a>
|
|
1309
|
+
<ul class="tsd-small-nested-navigation" id="tsd-nav-container">
|
|
1310
|
+
<li>Loading...</li>
|
|
1311
|
+
</ul>
|
|
1312
|
+
</nav>
|
|
1313
|
+
</div>
|
|
1314
|
+
</div>
|
|
1315
|
+
</div>
|
|
1316
|
+
<footer>
|
|
1317
|
+
<p class="tsd-generator">
|
|
1318
|
+
Generated using
|
|
1319
|
+
<a href="https://typedoc.org/" target="_blank">TypeDoc</a>
|
|
1320
|
+
</p>
|
|
1321
|
+
</footer>
|
|
1322
|
+
<div class="overlay"></div>
|
|
1323
|
+
</body>
|
|
1324
|
+
</html>
|