@angular-wave/angular.ts 0.7.0-beta.0 → 0.7.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/.github/workflows/ci.yml +58 -14
- package/.github/workflows/gh-pages.yml +75 -0
- 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 +12 -5
- package/@types/animations/interface.d.ts +17 -0
- package/@types/animations/raf-scheduler.d.ts +29 -16
- package/@types/core/compile/attributes.d.ts +6 -3
- package/@types/core/compile/compile.d.ts +26 -19
- package/@types/core/controller/controller.d.ts +1 -1
- package/@types/core/di/injector.d.ts +1 -2
- package/@types/core/di/internal-injector.d.ts +15 -8
- package/@types/core/di/ng-module.d.ts +3 -4
- 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/pubsub/pubsub.d.ts +21 -0
- 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 +107 -33
- package/@types/core/scope/scope.d.ts +26 -39
- package/@types/core/task-tracker-factory.d.ts +10 -5
- package/@types/directive/aria/aria.d.ts +4 -1
- 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 +6 -20
- 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 +2 -2
- 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/injection-tokens.d.ts +20 -0
- package/@types/interface.d.ts +302 -0
- package/@types/loader.d.ts +16 -18
- package/@types/public.d.ts +7 -8
- 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 -5
- package/@types/router/globals.d.ts +25 -7
- package/@types/router/params/interface.d.ts +606 -0
- package/@types/router/params/param.d.ts +1 -1
- package/@types/router/resolve/interface.d.ts +200 -0
- package/@types/router/state/interface.d.ts +983 -0
- package/@types/router/state/state-builder.d.ts +9 -2
- 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 +4 -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/services/anchor-scroll.d.ts +0 -1
- package/@types/shared/interface.d.ts +6 -0
- package/@types/shared/utils.d.ts +19 -44
- 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 +24 -26
- package/RELEASE.md +3 -3
- package/TRIAGING.md +3 -3
- package/dist/angular-ts.esm.js +4218 -3743
- package/dist/angular-ts.umd.js +4223 -3748
- package/dist/angular-ts.umd.min.js +1 -1
- package/docs/.cspell.yml +2 -2
- package/docs/.github/dependabot.yml +12 -12
- package/docs/README.md +10 -7
- package/docs/assets/icons/logo.svg +1 -0
- package/docs/assets/scss/_variables_project.scss +1 -0
- package/docs/content/en/_index.md +5 -64
- package/docs/content/en/docs/_index.md +3 -4
- package/docs/docker-compose.yaml +1 -0
- package/docs/go.mod +1 -1
- package/docs/go.sum +6 -6
- package/docs/hugo-disabled.toml +6 -7
- package/docs/hugo.yaml +45 -64
- package/docs/layouts/404.html +2 -8
- package/docs/layouts/_markup/render-heading.html +1 -0
- package/docs/package-lock.json +2293 -0
- package/docs/package.json +18 -7
- package/index.html +3 -12
- package/package.json +3 -3
- package/src/angular.spec.js +1 -99
- package/src/animations/animate-children-directive.js +4 -3
- package/src/animations/animate-css.js +2 -2
- package/src/animations/animate-css.md +1 -1
- package/src/animations/animate-queue.js +1 -1
- package/src/animations/animate-runner.js +3 -3
- package/src/animations/animate-swap.js +2 -2
- package/src/animations/animate.js +4 -2
- 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/animations/shared.js +1 -1
- package/src/core/compile/attributes.js +17 -16
- package/src/core/compile/compile.js +2742 -2631
- package/src/core/compile/compile.md +13 -13
- package/src/core/compile/compile.spec.js +376 -479
- package/src/core/controller/controller.js +1 -1
- package/src/core/controller/controller.spec.js +27 -20
- package/src/core/di/injector.js +36 -11
- package/src/core/di/injector.md +6 -6
- package/src/core/di/internal-injector.js +21 -21
- package/src/core/di/ng-module.js +23 -10
- package/src/core/di/ng-module.spec.js +16 -16
- package/src/core/error-handler.ts +7 -0
- package/src/core/exception-handler.js +4 -9
- package/src/core/filter/filter.js +12 -4
- 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/ast/ast.spec.js +1 -9
- package/src/core/parse/interface.ts +84 -0
- package/src/core/parse/interpreter.js +33 -28
- package/src/core/parse/parse.js +14 -61
- package/src/core/parse/parse.md +6 -6
- package/src/core/parse/parser/parser.js +1 -1
- package/src/core/pubsub/pubsub.js +20 -0
- package/src/core/pubsub/pubsub.spec.js +14 -1
- package/src/core/sanitize/interface.ts +10 -0
- package/src/core/sanitize/sanitize-uri.js +47 -56
- package/src/core/sanitize/sanitize-uri.spec.js +1 -1
- package/src/core/sce/sce.js +376 -307
- package/src/core/sce/sce.md +13 -13
- package/src/core/scope/scope.js +121 -122
- package/src/core/scope/scope.spec.js +11 -11
- package/src/core/task-tracker-factory.js +7 -0
- package/src/directive/aria/aria.js +20 -21
- package/src/directive/attrs/attrs.js +2 -1
- package/src/directive/attrs/attrs.md +7 -7
- package/src/directive/bind/bind.js +7 -8
- package/src/directive/bind/bind.md +3 -3
- package/src/directive/channel/channel.js +1 -2
- package/src/directive/class/class.js +1 -2
- package/src/directive/cloak/cloak.js +1 -2
- 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 +23 -12
- package/src/directive/include/include.md +2 -2
- package/src/directive/include/include.spec.js +1 -0
- package/src/directive/init/init.js +1 -1
- package/src/directive/input/input-example.html +15 -0
- package/src/directive/input/input.js +15 -9
- package/src/directive/input/input.md +54 -54
- package/src/directive/input/input.spec.js +12 -14
- package/src/directive/messages/messages.js +4 -4
- 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 -2
- package/src/directive/non-bindable/non-bindable.md +1 -1
- package/src/directive/observe/observe.js +1 -1
- package/src/directive/observe/test.html +1 -1
- package/src/directive/options/options-example.html +13 -0
- package/src/directive/options/options.js +36 -26
- package/src/directive/options/options.md +1 -1
- package/src/directive/options/options.spec.js +207 -146
- package/src/directive/ref/ref.js +9 -4
- package/src/directive/repeat/repeat.js +15 -15
- 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/select/select.spec.js +1 -1
- package/src/directive/setter/setter.js +9 -7
- package/src/directive/setter/setter.spec.js +5 -4
- 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/style/style.spec.js +1 -1
- package/src/directive/switch/switch.js +7 -8
- package/src/directive/transclude/transclude.js +2 -3
- package/src/directive/validators/validators.js +41 -40
- package/src/examples/counter.html +20 -0
- 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 +5 -1
- package/src/filters/order-by.md +1 -1
- package/src/filters/order-by.spec.js +4 -4
- package/src/index.spec.js +11 -0
- package/src/injection-tokens.js +71 -0
- package/src/interface.ts +329 -0
- package/src/loader.js +22 -19
- package/src/loader.md +7 -7
- package/src/public.js +13 -8
- package/src/public.spec.js +1 -0
- 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 +14 -13
- package/src/router/directives/state-directives.spec.js +49 -46
- package/src/router/directives/view-directive.js +7 -8
- 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/params/param.js +1 -1
- 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 +6 -2
- package/src/router/state/state-builder.spec.js +21 -15
- 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 +21 -9
- 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/template-factory.spec.js +15 -9
- package/src/router/transition/interface.ts +922 -0
- package/src/router/transition/transition-service.js +2 -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 +3 -3
- package/src/router/view-scroll.spec.js +3 -4
- package/src/services/anchor-scroll.html +1 -1
- package/src/services/anchor-scroll.js +0 -4
- package/src/services/http/http.md +8 -8
- package/src/services/log.md +1 -1
- package/src/services/template-request.js +12 -8
- package/src/shared/dom.js +2 -2
- package/src/shared/interface.ts +6 -0
- package/src/shared/noderef.js +1 -3
- package/src/shared/utils.js +21 -53
- package/src/src.html +2 -1
- 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 +4 -40
- package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +4 -58
- package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +8 -44
- package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +4 -58
- package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +4 -58
- package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +4 -69
- package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +4 -40
- package/typedoc/classes/animations_animate-runner.AnimateRunner.html +4 -263
- package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +4 -40
- package/typedoc/classes/animations_animate.AnimateProvider.html +42 -108
- package/typedoc/classes/animations_animation.AnimationProvider.html +8 -55
- package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +246 -86
- package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +4 -29
- package/typedoc/classes/core_compile_attributes.Attributes.html +22 -230
- package/typedoc/classes/core_compile_compile.CompileProvider.html +83 -160
- package/typedoc/classes/core_controller_controller.ControllerProvider.html +5 -74
- package/typedoc/classes/core_di_internal-injector.InjectorService.html +12 -144
- package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +7 -119
- package/typedoc/classes/core_di_ng-module.NgModule.html +8 -260
- package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +9 -74
- package/typedoc/classes/core_filter_filter.FilterProvider.html +146 -76
- package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +12 -92
- package/typedoc/classes/core_location_location.Location.html +6 -388
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +6 -341
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +6 -341
- package/typedoc/classes/core_location_location.LocationProvider.html +4 -113
- package/typedoc/classes/core_parse_ast_ast.AST.html +4 -359
- package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +60 -337
- package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +4 -238
- package/typedoc/classes/core_parse_parse.ParseProvider.html +9 -57
- package/typedoc/classes/core_parse_parser_parser.Parser.html +6 -75
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +4 -146
- package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +576 -0
- package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +172 -344
- package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +10 -146
- package/typedoc/classes/core_sce_sce.SceProvider.html +10 -63
- package/typedoc/classes/core_scope_scope.RootScopeProvider.html +6 -53
- package/typedoc/classes/core_scope_scope.Scope.html +179 -1493
- package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +4 -84
- package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +23 -128
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +4 -51
- package/typedoc/classes/directive_form_form.FormController.html +5 -430
- package/typedoc/classes/directive_model_model.NgModelController.html +17 -996
- package/typedoc/classes/loader.Angular.html +72 -209
- package/typedoc/classes/router_common_glob.Glob.html +198 -171
- package/typedoc/classes/router_common_queue.Queue.html +252 -198
- package/typedoc/classes/router_common_trace.Trace.html +4 -249
- package/typedoc/classes/{router_globals.UIRouterGlobals.html → router_globals.RouterGlobals.html} +222 -109
- package/typedoc/classes/router_params_param-factory.ParamFactory.html +4 -73
- package/typedoc/classes/router_params_param-type.ParamType.html +4 -150
- package/typedoc/classes/router_params_param-types.ParamTypes.html +4 -95
- package/typedoc/classes/router_params_param.Param.html +4 -260
- package/typedoc/classes/router_params_state-params.StateParams.html +4 -40
- package/typedoc/classes/router_path_path-node.PathNode.html +4 -174
- package/typedoc/classes/router_path_path-utils.PathUtils.html +4 -128
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -256
- package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +4 -150
- package/typedoc/classes/router_state-provider.StateProvider.html +4 -84
- package/typedoc/classes/router_state_state-builder.StateBuilder.html +4 -106
- package/typedoc/classes/router_state_state-matcher.StateMatcher.html +4 -73
- package/typedoc/classes/router_state_state-object.StateObject.html +155 -224
- package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +4 -128
- package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +36 -334
- package/typedoc/classes/router_state_state-service.StateProvider.html +66 -336
- package/typedoc/classes/router_state_target-state.TargetState.html +4 -252
- package/typedoc/classes/{router_state_views.Ng1ViewConfig.html → router_state_views.ViewConfig.html} +58 -183
- package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +8 -209
- package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +13 -75
- package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +4 -201
- package/typedoc/classes/router_transition_reject-factory.Rejection.html +4 -183
- package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +4 -117
- package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +4 -280
- package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +11 -244
- package/typedoc/classes/router_transition_transition.Transition.html +412 -604
- package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +4 -149
- package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +4 -274
- package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +4 -95
- package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +4 -124
- package/typedoc/classes/router_url_url-rules.UrlRules.html +4 -222
- package/typedoc/classes/router_url_url-service.UrlService.html +4 -373
- package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +4 -69
- package/typedoc/classes/router_view_view.ViewService.html +166 -369
- package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +4 -164
- package/typedoc/classes/services_browser.Browser.html +4 -276
- package/typedoc/classes/services_browser.BrowserProvider.html +4 -29
- package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +4 -40
- package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +4 -40
- package/typedoc/classes/services_http_http.HttpProvider.html +4 -84
- package/typedoc/classes/services_log.LogProvider.html +4 -91
- package/typedoc/classes/services_template-request.TemplateRequestProvider.html +8 -55
- package/typedoc/classes/shared_noderef.NodeRef.html +4 -301
- package/typedoc/enums/core_parse_ast-type.ASTType.html +4 -212
- package/typedoc/enums/router_common_trace.Category.html +492 -0
- package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +10 -94
- package/typedoc/enums/router_transition_interface.TransitionHookScope.html +390 -0
- package/typedoc/enums/router_transition_reject-factory.RejectType.html +4 -80
- package/typedoc/functions/animations_animate-cache.animateCache.html +4 -84
- package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +6 -31
- package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +6 -31
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +4 -18
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +4 -18
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +4 -18
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +4 -18
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +4 -18
- package/typedoc/functions/animations_shared.applyInlineStyle.html +4 -18
- package/typedoc/functions/animations_shared.assertArg.html +4 -18
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +4 -18
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +4 -18
- package/typedoc/functions/animations_shared.concatWithSpace.html +4 -18
- package/typedoc/functions/animations_shared.extractElementNode.html +4 -18
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +4 -18
- package/typedoc/functions/animations_shared.mergeClasses.html +4 -18
- package/typedoc/functions/animations_shared.packageStyles.html +4 -18
- package/typedoc/functions/animations_shared.pendClasses.html +4 -18
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +4 -18
- package/typedoc/functions/animations_shared.removeFromArray.html +4 -18
- package/typedoc/functions/animations_shared.resolveElementClasses.html +4 -18
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +4 -18
- package/typedoc/functions/core_controller_controller.identifierForController.html +4 -18
- package/typedoc/functions/core_di_injector.annotate.html +4 -18
- package/typedoc/functions/core_di_injector.createInjector.html +4 -18
- package/typedoc/functions/core_location_location.serverBase.html +4 -18
- package/typedoc/functions/core_location_location.stripBaseUrl.html +4 -18
- package/typedoc/functions/core_location_location.stripFile.html +4 -18
- package/typedoc/functions/core_location_location.stripHash.html +4 -18
- package/typedoc/functions/core_parse_interpreter.isAssignable.html +4 -18
- package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +4 -18
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +4 -18
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +4 -18
- package/typedoc/functions/core_scope_scope.createScope.html +4 -18
- package/typedoc/functions/core_scope_scope.nextId.html +4 -18
- package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +4 -18
- package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +4 -18
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +4 -18
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +4 -18
- package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +4 -18
- package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +4 -18
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +6 -31
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +4 -18
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +4 -29
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +4 -29
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +6 -20
- package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +6 -31
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +6 -20
- package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +6 -20
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +6 -20
- package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +6 -20
- package/typedoc/functions/directive_events_events.createEventDirective.html +10 -24
- package/typedoc/functions/directive_form_form.setupValidity.html +4 -18
- package/typedoc/functions/directive_if_if.ngIfDirective.html +6 -31
- package/typedoc/functions/directive_include_include.ngIncludeDirective.html +33 -178
- package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +6 -31
- package/typedoc/functions/directive_init_init.ngInitDirective.html +6 -20
- package/typedoc/functions/directive_input_input.badInputChecker.html +4 -18
- package/typedoc/functions/directive_input_input.countDecimals.html +4 -18
- package/typedoc/functions/directive_input_input.createDateInputType.html +4 -18
- package/typedoc/functions/directive_input_input.createDateParser.html +4 -18
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +6 -20
- package/typedoc/functions/directive_input_input.inputDirective.html +4 -29
- package/typedoc/functions/directive_input_input.isNumberInteger.html +4 -18
- package/typedoc/functions/directive_input_input.isValidForStep.html +4 -18
- package/typedoc/functions/directive_input_input.ngValueDirective.html +6 -20
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +4 -18
- package/typedoc/functions/directive_input_input.numberInputType.html +4 -18
- package/typedoc/functions/directive_input_input.rangeInputType.html +4 -18
- package/typedoc/functions/directive_input_input.weekParser.html +4 -18
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +4 -29
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +4 -29
- package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +6 -20
- package/typedoc/functions/directive_model_model.ngModelDirective.html +4 -18
- package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +6 -20
- package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +6 -20
- package/typedoc/functions/directive_ref_ref.ngRefDirective.html +4 -29
- package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +6 -31
- package/typedoc/functions/directive_script_script.scriptDirective.html +6 -31
- package/typedoc/functions/directive_select_select.optionDirective.html +4 -29
- package/typedoc/functions/directive_select_select.selectDirective.html +6 -20
- package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +34 -33
- package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +6 -31
- package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +6 -31
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +6 -20
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +6 -20
- package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +6 -31
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +6 -20
- package/typedoc/functions/filters_filter.filterFilter.html +13 -92
- package/typedoc/functions/filters_filters.formatNumber.html +4 -18
- package/typedoc/functions/filters_filters.jsonFilter.html +14 -40
- package/typedoc/functions/filters_limit-to.limitToFilter.html +13 -106
- package/typedoc/functions/filters_order-by.orderByFilter.html +18 -80
- package/typedoc/functions/public.publishExternalAPI.html +12 -30
- package/typedoc/{types/types.Injectable.html → functions/router_common_glob.hasGlobs.html} +53 -41
- package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +15 -33
- package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +4 -29
- package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +17 -102
- package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +4 -39
- package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +4 -18
- package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +4 -18
- package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +4 -18
- package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +4 -18
- package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +4 -18
- package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +4 -18
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +4 -18
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +4 -18
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +4 -18
- package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +4 -18
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +4 -18
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +4 -18
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +4 -18
- package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +4 -18
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +4 -18
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +4 -18
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +4 -18
- package/typedoc/functions/router_path_path-utils.makeTargetState.html +4 -18
- package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +18 -65
- package/typedoc/functions/router_state-filters._IsStateFilter.html +15 -59
- package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +4 -18
- package/typedoc/functions/router_state_state-registry.getLocals.html +4 -18
- package/typedoc/functions/{router_state_views.getNg1ViewConfigFactory.html → router_state_views.getViewConfigFactory.html} +14 -30
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +4 -18
- package/typedoc/functions/router_transition_hook-registry.makeEvent.html +4 -18
- package/typedoc/functions/router_transition_hook-registry.matchState.html +4 -18
- package/typedoc/functions/services_browser.trimEmptyHash.html +4 -18
- package/typedoc/functions/services_cookie-reader.getCookies.html +4 -18
- package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +4 -18
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +4 -18
- package/typedoc/functions/shared_common._removeFrom.html +4 -18
- package/typedoc/functions/shared_common.allTrueR.html +4 -18
- package/typedoc/functions/shared_common.ancestors.html +4 -18
- package/typedoc/functions/shared_common.anyTrueR.html +4 -18
- package/typedoc/functions/shared_common.applyPairs.html +4 -18
- package/typedoc/functions/shared_common.arrayTuples.html +4 -18
- package/typedoc/functions/shared_common.assertFn.html +4 -18
- package/typedoc/functions/shared_common.copy.html +4 -18
- package/typedoc/functions/shared_common.createProxyFunctions.html +4 -18
- package/typedoc/functions/shared_common.defaults.html +4 -18
- package/typedoc/functions/shared_common.deregAll.html +4 -18
- package/typedoc/functions/shared_common.equals.html +4 -18
- package/typedoc/functions/shared_common.filter.html +4 -18
- package/typedoc/functions/shared_common.find.html +4 -18
- package/typedoc/functions/shared_common.flatten.html +4 -18
- package/typedoc/functions/shared_common.flattenR.html +4 -18
- package/typedoc/functions/shared_common.inherit.html +4 -18
- package/typedoc/functions/shared_common.map.html +4 -18
- package/typedoc/functions/shared_common.omit.html +4 -18
- package/typedoc/functions/shared_common.pairs.html +4 -18
- package/typedoc/functions/shared_common.pick.html +4 -18
- package/typedoc/functions/shared_common.pushR.html +4 -18
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +4 -18
- package/typedoc/functions/shared_common.silentRejection.html +4 -18
- package/typedoc/functions/shared_common.tail.html +4 -18
- package/typedoc/functions/shared_common.uniqR.html +4 -18
- package/typedoc/functions/shared_common.unnest.html +4 -18
- package/typedoc/functions/shared_common.unnestR.html +4 -18
- package/typedoc/functions/shared_dom.appendNodesToElement.html +4 -18
- package/typedoc/functions/shared_dom.buildFragment.html +4 -18
- package/typedoc/functions/shared_dom.cleanElementData.html +4 -18
- package/typedoc/functions/shared_dom.createElementFromHTML.html +4 -18
- package/typedoc/functions/shared_dom.createNodelistFromHTML.html +4 -18
- package/typedoc/functions/shared_dom.dealoc.html +4 -18
- package/typedoc/functions/shared_dom.deleteCacheData.html +4 -18
- package/typedoc/functions/shared_dom.domInsert.html +4 -18
- package/typedoc/functions/shared_dom.emptyElement.html +4 -18
- package/typedoc/functions/shared_dom.getBlockNodes.html +4 -18
- package/typedoc/functions/shared_dom.getBooleanAttrName.html +4 -18
- package/typedoc/functions/shared_dom.getCacheData.html +4 -18
- package/typedoc/functions/shared_dom.getController.html +4 -18
- package/typedoc/functions/shared_dom.getExpando.html +4 -18
- package/typedoc/functions/shared_dom.getInheritedData.html +4 -18
- package/typedoc/functions/shared_dom.getInjector.html +4 -18
- package/typedoc/functions/shared_dom.getIsolateScope.html +4 -18
- package/typedoc/functions/shared_dom.getOrSetCacheData.html +4 -18
- package/typedoc/functions/shared_dom.getScope.html +4 -18
- package/typedoc/functions/shared_dom.isRoot.html +4 -18
- package/typedoc/functions/shared_dom.isTextNode.html +4 -18
- package/typedoc/functions/shared_dom.kebabToCamel.html +4 -18
- package/typedoc/functions/shared_dom.parseHtml.html +4 -18
- package/typedoc/functions/shared_dom.removeElement.html +4 -18
- package/typedoc/functions/shared_dom.removeElementData.html +4 -18
- package/typedoc/functions/shared_dom.setCacheData.html +4 -18
- package/typedoc/functions/shared_dom.setInheritedData.html +4 -18
- package/typedoc/functions/shared_dom.setIsolateScope.html +4 -18
- package/typedoc/functions/shared_dom.setScope.html +4 -18
- package/typedoc/functions/shared_dom.snakeToCamel.html +4 -18
- package/typedoc/functions/shared_dom.startingTag.html +4 -18
- package/typedoc/functions/shared_hof.all.html +4 -18
- package/typedoc/functions/shared_hof.compose.html +4 -18
- package/typedoc/functions/shared_hof.curry.html +4 -18
- package/typedoc/functions/shared_hof.is.html +4 -18
- package/typedoc/functions/shared_hof.or.html +4 -18
- package/typedoc/functions/shared_hof.parse.html +4 -18
- package/typedoc/functions/shared_hof.pattern.html +4 -18
- package/typedoc/functions/shared_hof.pipe.html +4 -18
- package/typedoc/functions/shared_hof.val.html +4 -18
- package/typedoc/functions/shared_predicates.isInjectable.html +4 -18
- package/typedoc/functions/shared_predicates.isPromise.html +4 -18
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +4 -18
- package/typedoc/functions/shared_strings.fnToString.html +4 -18
- package/typedoc/functions/shared_strings.functionToString.html +4 -18
- package/typedoc/functions/shared_strings.joinNeighborsR.html +4 -18
- package/typedoc/functions/shared_strings.kebobString.html +4 -18
- package/typedoc/functions/shared_strings.maxLength.html +4 -18
- package/typedoc/functions/shared_strings.padString.html +4 -18
- package/typedoc/functions/shared_strings.splitOnDelim.html +4 -18
- package/typedoc/functions/shared_strings.stringify.html +4 -18
- package/typedoc/functions/shared_strings.stripLastPathElement.html +4 -18
- package/typedoc/functions/shared_strings.trimHashVal.html +4 -18
- package/typedoc/functions/shared_test-utils.bootstrap.html +4 -18
- package/typedoc/functions/shared_test-utils.browserTrigger.html +4 -18
- package/typedoc/functions/shared_test-utils.wait.html +4 -18
- package/typedoc/functions/shared_utils.addDateMinutes.html +4 -18
- package/typedoc/functions/shared_utils.arrayRemove.html +4 -18
- package/typedoc/functions/shared_utils.assert.html +4 -18
- package/typedoc/functions/shared_utils.assertArg.html +4 -18
- package/typedoc/functions/shared_utils.assertArgFn.html +4 -18
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -18
- package/typedoc/functions/shared_utils.baseExtend.html +4 -18
- package/typedoc/functions/shared_utils.bind.html +4 -18
- package/typedoc/functions/shared_utils.concat.html +4 -18
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +4 -18
- package/typedoc/functions/shared_utils.csp.html +4 -18
- package/typedoc/functions/shared_utils.directiveNormalize.html +4 -18
- package/typedoc/functions/shared_utils.encodeUriQuery.html +4 -18
- package/typedoc/functions/shared_utils.encodeUriSegment.html +4 -18
- package/typedoc/functions/shared_utils.equals.html +4 -18
- package/typedoc/functions/shared_utils.errorHandlingConfig.html +4 -18
- package/typedoc/functions/shared_utils.extend.html +5 -19
- package/typedoc/functions/shared_utils.fromJson.html +4 -18
- package/typedoc/functions/shared_utils.getNgAttribute.html +4 -18
- package/typedoc/functions/shared_utils.getNodeName.html +4 -18
- package/typedoc/functions/shared_utils.hasAnimate.html +4 -18
- package/typedoc/functions/shared_utils.hasCustomToString.html +4 -18
- package/typedoc/functions/{shared_utils.merge.html → shared_utils.hasOwn.html} +45 -106
- package/typedoc/functions/shared_utils.hashKey.html +4 -18
- package/typedoc/functions/shared_utils.includes.html +4 -18
- package/typedoc/functions/shared_utils.inherit.html +4 -18
- package/typedoc/functions/shared_utils.isArrayBuffer.html +4 -18
- package/typedoc/functions/shared_utils.isArrayLike.html +7 -18
- package/typedoc/functions/shared_utils.isBlankObject.html +8 -18
- package/typedoc/functions/shared_utils.isBlob.html +4 -18
- package/typedoc/functions/shared_utils.isBoolean.html +4 -18
- package/typedoc/functions/shared_utils.isDate.html +4 -18
- package/typedoc/functions/shared_utils.isDefined.html +4 -18
- package/typedoc/functions/shared_utils.isElement.html +4 -18
- package/typedoc/functions/shared_utils.isError.html +4 -18
- package/typedoc/functions/shared_utils.isFile.html +4 -18
- package/typedoc/functions/shared_utils.isFormData.html +4 -18
- package/typedoc/functions/shared_utils.isFunction.html +4 -18
- package/typedoc/functions/shared_utils.isNull.html +4 -18
- package/typedoc/functions/shared_utils.isNullOrUndefined.html +4 -18
- package/typedoc/functions/shared_utils.isNumber.html +4 -18
- package/typedoc/functions/shared_utils.isNumberNaN.html +4 -18
- package/typedoc/functions/shared_utils.isObject.html +4 -18
- package/typedoc/functions/shared_utils.isObjectEmpty.html +4 -18
- package/typedoc/functions/shared_utils.isPromiseLike.html +4 -18
- package/typedoc/functions/shared_utils.isProxy.html +4 -18
- package/typedoc/functions/shared_utils.isRegExp.html +4 -18
- package/typedoc/functions/shared_utils.isScope.html +4 -18
- package/typedoc/functions/shared_utils.isString.html +4 -18
- package/typedoc/functions/shared_utils.isTypedArray.html +4 -18
- package/typedoc/functions/shared_utils.isUndefined.html +4 -18
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +4 -18
- package/typedoc/functions/shared_utils.isWindow.html +4 -18
- package/typedoc/functions/shared_utils.lowercase.html +4 -18
- package/typedoc/functions/shared_utils.mergeClasses.html +4 -18
- package/typedoc/functions/shared_utils.minErr.html +5 -19
- package/typedoc/functions/shared_utils.nextUid.html +4 -18
- package/typedoc/functions/shared_utils.parseKeyValue.html +4 -18
- package/typedoc/functions/shared_utils.setHashKey.html +4 -18
- package/typedoc/functions/shared_utils.shallowCopy.html +4 -18
- package/typedoc/functions/shared_utils.simpleCompare.html +4 -18
- package/typedoc/functions/shared_utils.sliceArgs.html +4 -18
- package/typedoc/functions/shared_utils.snakeCase.html +4 -18
- package/typedoc/functions/shared_utils.stringify.html +4 -18
- package/typedoc/functions/shared_utils.timezoneToOffset.html +4 -18
- package/typedoc/functions/shared_utils.toDebugString.html +4 -18
- package/typedoc/functions/shared_utils.toInt.html +4 -18
- package/typedoc/functions/shared_utils.toJson.html +5 -19
- package/typedoc/functions/shared_utils.toKeyValue.html +4 -18
- package/typedoc/functions/shared_utils.trim.html +4 -18
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +9 -19
- package/typedoc/functions/shared_utils.uppercase.html +4 -18
- package/typedoc/hierarchy.html +8 -11
- package/typedoc/index.html +29 -32
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +4 -62
- package/typedoc/interfaces/{types.Annotated.html → animations_raf-scheduler.ServiceProvider.html} +47 -51
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -51
- package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +20 -67
- package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +596 -0
- package/typedoc/interfaces/core_compile_compile.SimpleChange.html +4 -40
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -51
- package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -51
- package/typedoc/interfaces/core_parse_ast_ast.Token.html +4 -84
- package/typedoc/interfaces/{core_parse_parse.CompiledExpressionHandlerMap.html → core_parse_interface.CompiledExpressionHandlerMap.html} +22 -75
- package/typedoc/interfaces/{core_parse_parse.CompiledExpressionProps.html → core_parse_interface.CompiledExpressionProps.html} +189 -137
- package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +4 -40
- package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +4 -29
- package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +305 -0
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -51
- package/typedoc/interfaces/core_scope_scope.Listener.html +6 -108
- package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +4 -73
- package/typedoc/interfaces/{types.ChangesObject.html → interface.ChangesObject.html} +29 -101
- package/typedoc/interfaces/interface.ComponentOptions.html +712 -0
- package/typedoc/interfaces/{types.Controller.html → interface.Controller.html} +19 -119
- package/typedoc/interfaces/{types.Directive.html → interface.Directive.html} +159 -323
- package/typedoc/interfaces/{types.DirectivePrePost.html → interface.DirectivePrePost.html} +18 -53
- package/typedoc/interfaces/interface.NgModelController.html +1362 -0
- package/typedoc/interfaces/{types.NgModelOptions.html → interface.NgModelOptions.html} +32 -105
- package/typedoc/interfaces/interface.Provider.html +1056 -0
- package/typedoc/interfaces/interface.TranscludeFunctionObject.html +723 -0
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +4 -29
- package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +1211 -0
- package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +1273 -0
- package/typedoc/interfaces/router_params_interface.RawParams.html +295 -0
- package/typedoc/interfaces/router_params_interface.Replace.html +429 -0
- package/typedoc/{types/animations_raf-scheduler.RafSchedulerFunction.html → interfaces/router_resolve_interface.CustomAsyncPolicy.html} +51 -26
- package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +580 -0
- package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +601 -0
- package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +638 -0
- package/typedoc/interfaces/router_state_interface.HrefOptions.html +530 -0
- package/typedoc/interfaces/{types.ServiceProviderClass.html → router_state_interface.LazyLoadResult.html} +46 -51
- package/typedoc/interfaces/router_state_interface.StateDeclaration.html +2461 -0
- package/typedoc/interfaces/router_state_interface.TargetStateDef.html +468 -0
- package/typedoc/interfaces/router_state_interface.TransitionPromise.html +1192 -0
- package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +1499 -0
- package/typedoc/interfaces/router_template-factory.BindingTuple.html +4 -40
- package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +719 -0
- package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +482 -0
- package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +2969 -0
- package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +594 -0
- package/typedoc/interfaces/{animations_raf-scheduler.RafSchedulerObject.html → router_transition_interface.PathType.html} +64 -52
- package/typedoc/interfaces/router_transition_interface.PathTypes.html +588 -0
- package/typedoc/{variables/core_di_ng-module.PROVIDE_LITERAL.html → interfaces/router_transition_interface.RegisteredHooks.html} +27 -24
- package/typedoc/{functions/shared_utils.replaceInline.html → interfaces/router_transition_interface.TransitionCreateHookFn.html} +44 -59
- package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +352 -0
- package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +627 -0
- package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +1096 -0
- package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +374 -0
- package/typedoc/interfaces/router_transition_interface.TreeChanges.html +769 -0
- package/typedoc/interfaces/{types.TranscludeFunctionObject.html → router_view_interface.ActiveUIView.html} +197 -199
- package/typedoc/interfaces/router_view_interface.ViewConfig.html +651 -0
- package/typedoc/interfaces/{types.OnChangesObject.html → router_view_interface.ViewContext.html} +65 -58
- package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +4 -29
- package/typedoc/interfaces/services_log.LogService.html +4 -80
- package/typedoc/{types/core_parse_parse.CompiledExpressionFunction.html → interfaces/shared_interface.TypedMap.html} +28 -26
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +4 -40
- package/typedoc/media/CONTRIBUTING.md +9 -9
- package/typedoc/media/DEVELOPERS.md +30 -30
- package/typedoc/modules/animations_animate-cache.html +4 -7
- package/typedoc/modules/animations_animate-children-directive.html +4 -9
- package/typedoc/modules/animations_animate-css-driver.html +4 -7
- package/typedoc/modules/animations_animate-css.html +4 -7
- package/typedoc/modules/animations_animate-js-driver.html +4 -7
- package/typedoc/modules/animations_animate-js.html +4 -7
- package/typedoc/modules/animations_animate-queue.html +4 -7
- package/typedoc/modules/animations_animate-runner.html +4 -7
- package/typedoc/modules/animations_animate-swap.html +4 -7
- package/typedoc/modules/animations_animate.html +4 -7
- package/typedoc/modules/animations_animation.html +4 -7
- package/typedoc/modules/animations_interface.html +322 -0
- package/typedoc/modules/animations_raf-scheduler.html +19 -52
- package/typedoc/modules/animations_shared.html +4 -7
- package/typedoc/modules/core_cache_cache-factory.html +4 -7
- package/typedoc/modules/core_cache_cache.html +4 -7
- package/typedoc/modules/core_compile_attributes.html +4 -7
- package/typedoc/modules/core_compile_compile.html +31 -7
- package/typedoc/modules/core_controller_controller.html +4 -7
- package/typedoc/modules/core_di_injector.html +4 -65
- package/typedoc/modules/core_di_internal-injector.html +4 -7
- package/typedoc/modules/core_di_ng-module.html +4 -34
- package/typedoc/{types/types.AnnotatedFunction.html → modules/core_error-handler.html} +86 -35
- package/typedoc/modules/core_exception-handler.html +52 -19
- package/typedoc/modules/core_filter_filter.html +4 -7
- package/typedoc/modules/core_interpolate_interpolate.html +4 -7
- package/typedoc/modules/core_location_location.html +4 -7
- package/typedoc/modules/core_parse_ast-type.html +4 -7
- package/typedoc/modules/core_parse_ast_ast-node.html +4 -7
- package/typedoc/modules/core_parse_ast_ast.html +4 -69
- package/typedoc/modules/core_parse_interface.html +470 -0
- package/typedoc/modules/core_parse_interpreter.html +4 -7
- package/typedoc/modules/core_parse_lexer_lexer.html +4 -7
- package/typedoc/modules/core_parse_lexer_token.html +4 -7
- package/typedoc/modules/core_parse_parse.html +4 -220
- package/typedoc/modules/core_parse_parser_parser.html +4 -7
- package/typedoc/modules/core_pubsub_pubsub.html +95 -7
- package/typedoc/modules/core_sanitize_interface.html +320 -0
- package/typedoc/modules/core_sanitize_sanitize-uri.html +68 -7
- package/typedoc/modules/core_sce_sce.html +5 -8
- package/typedoc/modules/core_scope_scope.html +4 -7
- package/typedoc/modules/core_task-tracker-factory.html +134 -7
- package/typedoc/modules/core_url-utils_url-utils.html +4 -7
- package/typedoc/modules/directive_aria_aria.html +4 -7
- package/typedoc/modules/directive_attrs_attrs.html +4 -7
- package/typedoc/modules/directive_bind_bind.html +4 -7
- package/typedoc/modules/directive_channel_channel.html +4 -7
- package/typedoc/modules/directive_class_class.html +4 -7
- package/typedoc/modules/directive_cloak_cloak.html +4 -7
- package/typedoc/modules/directive_controller_controller.html +4 -7
- package/typedoc/modules/directive_events_events.html +4 -7
- package/typedoc/modules/directive_form_form.html +4 -7
- package/typedoc/modules/directive_if_if.html +4 -7
- package/typedoc/modules/directive_include_include.html +4 -7
- package/typedoc/modules/directive_init_init.html +4 -7
- package/typedoc/modules/directive_input_input.html +4 -7
- package/typedoc/modules/directive_messages_messages.html +4 -7
- package/typedoc/modules/directive_model-options_model-options.html +4 -9
- package/typedoc/modules/directive_model_model.html +4 -7
- package/typedoc/modules/directive_non-bindable_non-bindable.html +4 -9
- package/typedoc/modules/directive_observe_observe.html +4 -7
- package/typedoc/modules/directive_options_options.html +4 -7
- package/typedoc/modules/directive_ref_ref.html +4 -7
- package/typedoc/modules/directive_repeat_repeat.html +4 -7
- package/typedoc/modules/directive_script_script.html +4 -7
- package/typedoc/modules/directive_select_select.html +4 -7
- package/typedoc/modules/directive_setter_setter.html +4 -7
- package/typedoc/modules/directive_show-hide_show-hide.html +4 -7
- package/typedoc/modules/directive_style_style.html +4 -7
- package/typedoc/modules/directive_switch_switch.html +4 -7
- package/typedoc/modules/directive_transclude_transclude.html +4 -7
- package/typedoc/modules/directive_validators_validators.html +4 -7
- package/typedoc/modules/filters_filter.html +4 -7
- package/typedoc/modules/filters_filters.html +4 -7
- package/typedoc/modules/filters_limit-to.html +4 -7
- package/typedoc/modules/filters_order-by.html +4 -7
- package/typedoc/modules/index.html +4 -84
- package/typedoc/{types/types.transcludeWithScope.html → modules/injection-tokens.html} +84 -27
- package/typedoc/modules/{types.html → interface.html} +111 -420
- package/typedoc/modules/loader.html +4 -7
- package/typedoc/modules/public.html +4 -7
- package/typedoc/modules/router_common_glob.html +66 -188
- package/typedoc/modules/router_common_queue.html +4 -7
- package/typedoc/modules/router_common_trace.html +69 -34
- package/typedoc/modules/router_directives_state-directives.html +4 -7
- package/typedoc/modules/router_directives_view-directive.html +4 -7
- package/typedoc/modules/router_globals.html +74 -13
- package/typedoc/modules/router_hooks_core-resolvables.html +4 -7
- package/typedoc/modules/router_hooks_ignored-transition.html +4 -7
- package/typedoc/modules/router_hooks_invalid-transition.html +4 -7
- package/typedoc/modules/router_hooks_lazy-load.html +4 -7
- package/typedoc/modules/router_hooks_on-enter-exit-retain.html +4 -7
- package/typedoc/modules/router_hooks_redirect-to.html +4 -7
- package/typedoc/modules/router_hooks_resolve.html +4 -7
- package/typedoc/modules/router_hooks_update-globals.html +4 -7
- package/typedoc/modules/router_hooks_url.html +4 -7
- package/typedoc/modules/router_hooks_views.html +4 -7
- package/typedoc/modules/router_params_interface.html +402 -0
- package/typedoc/modules/router_params_param-factory.html +4 -7
- package/typedoc/modules/router_params_param-type.html +4 -7
- package/typedoc/modules/router_params_param-types.html +4 -7
- package/typedoc/modules/router_params_param.html +4 -7
- package/typedoc/modules/router_params_state-params.html +4 -7
- package/typedoc/modules/router_path_path-node.html +4 -7
- package/typedoc/modules/router_path_path-utils.html +4 -7
- package/typedoc/modules/router_resolve_interface.html +521 -0
- package/typedoc/modules/router_resolve_resolvable.html +4 -7
- package/typedoc/modules/router_resolve_resolve-context.html +4 -7
- package/typedoc/modules/router_state-filters.html +4 -7
- package/typedoc/modules/router_state-provider.html +4 -7
- package/typedoc/modules/router_state_interface.html +606 -0
- package/typedoc/modules/router_state_state-builder.html +4 -7
- package/typedoc/modules/router_state_state-matcher.html +4 -7
- package/typedoc/modules/router_state_state-object.html +68 -7
- package/typedoc/modules/router_state_state-queue-manager.html +4 -7
- package/typedoc/modules/router_state_state-registry.html +68 -7
- package/typedoc/modules/router_state_state-service.html +4 -7
- package/typedoc/modules/router_state_target-state.html +4 -7
- package/typedoc/modules/router_state_views.html +16 -21
- package/typedoc/modules/router_template-factory.html +4 -7
- package/typedoc/modules/router_transition_hook-builder.html +4 -7
- package/typedoc/modules/router_transition_hook-registry.html +4 -7
- package/typedoc/modules/router_transition_interface.html +557 -21
- package/typedoc/modules/router_transition_reject-factory.html +4 -7
- package/typedoc/modules/router_transition_transition-event-type.html +4 -9
- package/typedoc/modules/router_transition_transition-hook.html +4 -7
- package/typedoc/modules/router_transition_transition-service.html +4 -9
- package/typedoc/modules/router_transition_transition.html +68 -7
- package/typedoc/modules/router_url_url-config.html +4 -7
- package/typedoc/modules/router_url_url-matcher.html +4 -7
- package/typedoc/modules/router_url_url-rule.html +4 -7
- package/typedoc/modules/router_url_url-rules.html +4 -7
- package/typedoc/modules/router_url_url-service.html +4 -7
- package/typedoc/modules/router_view-scroll.html +4 -7
- package/typedoc/modules/router_view_interface.html +373 -0
- package/typedoc/modules/router_view_view.html +4 -7
- package/typedoc/modules/services_anchor-scroll.html +4 -7
- package/typedoc/modules/services_browser.html +4 -7
- package/typedoc/modules/services_cookie-reader.html +4 -7
- package/typedoc/modules/services_http-backend_http-backend.html +4 -7
- package/typedoc/modules/services_http_http.html +4 -7
- package/typedoc/modules/services_log.html +4 -7
- package/typedoc/modules/services_template-request.html +4 -7
- package/typedoc/modules/shared_common.html +4 -7
- package/typedoc/modules/shared_constants.html +4 -7
- package/typedoc/modules/shared_dom.html +4 -7
- package/typedoc/modules/shared_hof.html +4 -7
- package/typedoc/modules/shared_interface.html +436 -0
- package/typedoc/modules/shared_noderef.html +4 -7
- package/typedoc/modules/shared_predicates.html +4 -7
- package/typedoc/modules/shared_strings.html +4 -7
- package/typedoc/modules/shared_test-utils.html +4 -7
- package/typedoc/modules/shared_utils.html +30 -60
- package/typedoc/modules.html +298 -31
- package/typedoc/types/animations_animate.AnimationMethod.html +4 -18
- package/typedoc/types/animations_interface.RafScheduler.html +602 -0
- package/typedoc/types/core_cache_cache-factory.TemplateCache.html +4 -18
- package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +4 -18
- package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +4 -18
- package/typedoc/types/core_compile_compile.CompileFn.html +4 -18
- package/typedoc/types/core_compile_compile.CompileNodesFn.html +4 -18
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +4 -18
- package/typedoc/types/core_compile_compile.NodeLinkFn.html +6 -50
- package/typedoc/types/core_compile_compile.PublicLinkFn.html +13 -18
- package/typedoc/types/core_compile_compile.TranscludeFn.html +4 -18
- package/typedoc/types/{core_exception-handler.ErrorHandler.html → core_error-handler.ErrorHandler.html} +10 -21
- package/typedoc/types/core_exception-handler.LogService.html +4 -18
- package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +4 -293
- package/typedoc/types/{core_parse_parse.CompiledExpression.html → core_parse_interface.CompiledExpression.html} +15 -21
- package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +347 -0
- package/typedoc/types/core_parse_interface.ParseService.html +474 -0
- package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +4 -18
- package/typedoc/types/core_scope_scope.ListenerFunction.html +4 -18
- package/typedoc/{variables/router_common_trace.Category.html → types/core_task-tracker-factory.AnnotatedFactory.html} +30 -32
- package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +4 -18
- package/typedoc/types/{types.CloneAttachFunction.html → interface.CloneAttachFunction.html} +8 -27
- package/typedoc/types/interface.ControllerConstructor.html +315 -0
- package/typedoc/types/interface.DirectiveCompileFn.html +406 -0
- package/typedoc/types/{types.DirectiveController.html → interface.DirectiveController.html} +11 -22
- package/typedoc/types/{types.DirectiveFactory.html → interface.DirectiveFactory.html} +14 -25
- package/typedoc/types/{types.DirectiveLinkFn.html → interface.DirectiveLinkFn.html} +62 -68
- package/typedoc/types/{types.Expression.html → interface.Expression.html} +16 -19
- package/typedoc/types/interface.FilterFactory.html +310 -0
- package/typedoc/types/interface.FilterFn.html +314 -0
- package/typedoc/types/{types.TAttributes.html → interface.Injectable.html} +16 -25
- package/typedoc/types/interface.InjectableFactory.html +309 -0
- package/typedoc/types/{types.Attributes.html → interface.OnChangesObject.html} +16 -24
- package/typedoc/types/{types.TController.html → interface.TController.html} +10 -21
- package/typedoc/types/{types.FilterFactory.html → router_resolve_interface.PolicyAsync.html} +21 -24
- package/typedoc/types/{types.TElement.html → router_resolve_interface.PolicyWhen.html} +15 -24
- package/typedoc/types/router_state_interface.RedirectToResult.html +287 -0
- package/typedoc/{variables/index.angular.html → types/router_state_interface.ResolveTypes.html} +27 -25
- package/typedoc/types/{types.TScope.html → router_state_interface.StateOrName.html} +22 -25
- package/typedoc/types/{animations_raf-scheduler.RafScheduler.html → router_state_interface._StateDeclaration.html} +28 -30
- package/typedoc/types/{types.ServiceProvider.html → router_transition_interface.HookFn.html} +28 -25
- package/typedoc/types/router_transition_interface.HookMatchCriterion.html +270 -0
- package/typedoc/{variables/router_transition_interface.TransitionHookScope.html → types/router_transition_interface.HookResult.html} +61 -50
- package/typedoc/types/{types.DirectiveCompileFn.html → router_transition_interface.IHookRegistration.html} +54 -68
- package/typedoc/{variables/core_parse_ast_ast.literals.html → types/router_transition_interface.IStateMatch.html} +28 -28
- package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +4 -18
- package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +4 -18
- package/typedoc/types/services_browser.UrlChangeListener.html +4 -18
- package/typedoc/types/services_log.LogCall.html +4 -18
- package/typedoc/types/shared_interface.Mapper.html +337 -0
- package/typedoc/types/shared_interface.Predicate.html +305 -0
- package/typedoc/types/shared_interface.PredicateBinary.html +330 -0
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +4 -18
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +4 -18
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +4 -18
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +4 -18
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +4 -18
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +4 -18
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +4 -18
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +4 -18
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +4 -18
- package/typedoc/variables/animations_shared.DELAY_KEY.html +4 -18
- package/typedoc/variables/animations_shared.DURATION_KEY.html +4 -18
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +4 -18
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +4 -18
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +4 -18
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +4 -18
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +4 -18
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +4 -18
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +4 -18
- package/typedoc/variables/animations_shared.TIMING_KEY.html +4 -18
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +4 -18
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +4 -18
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +4 -18
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +4 -18
- package/typedoc/variables/animations_shared.ngMinErr.html +4 -18
- package/typedoc/variables/core_cache_cache.Cache.html +4 -18
- package/typedoc/variables/core_cache_cache.EXPANDO.html +4 -18
- package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +4 -18
- package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +4 -18
- package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +4 -18
- package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +4 -18
- package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +4 -18
- package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +4 -18
- package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +4 -18
- package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +4 -18
- package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +4 -18
- package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +4 -18
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +4 -18
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +4 -18
- package/typedoc/variables/core_scope_scope.NONSCOPE.html +4 -18
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +4 -18
- package/typedoc/variables/core_scope_scope._postUpdateQueue.html +4 -18
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +4 -18
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +4 -18
- package/typedoc/variables/directive_class_class.ngClassDirective.html +7 -21
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +7 -21
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +7 -21
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +4 -18
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +4 -18
- package/typedoc/variables/directive_form_form.formDirective.html +4 -18
- package/typedoc/variables/directive_form_form.ngFormDirective.html +4 -18
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +4 -18
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +4 -18
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +4 -18
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +4 -18
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +4 -18
- package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +4 -18
- package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +4 -18
- package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +4 -18
- package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +4 -18
- package/typedoc/variables/directive_model_model.ngModelMinErr.html +4 -18
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +24 -26
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +8 -22
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +14 -28
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +6 -20
- package/typedoc/variables/directive_validators_validators.patternDirective.html +14 -28
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +14 -28
- package/typedoc/{types/types.AsyncModelValidators.html → variables/injection-tokens._injectTokens.html} +29 -25
- package/typedoc/variables/public.VERSION.html +5 -23
- package/typedoc/variables/router_common_trace.trace.html +4 -18
- package/typedoc/variables/router_directives_view-directive.ngView.html +9 -28
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +4 -18
- package/typedoc/variables/router_params_param.DefType.html +4 -18
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +4 -18
- package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +4 -18
- package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +4 -18
- package/typedoc/variables/services_log.LogService.html +4 -25
- package/typedoc/variables/shared_common.assertMap.html +4 -18
- package/typedoc/variables/shared_common.assertPredicate.html +4 -18
- package/typedoc/variables/shared_common.pushTo.html +4 -18
- package/typedoc/variables/shared_common.removeFrom.html +4 -18
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +4 -18
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +4 -18
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +4 -18
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +4 -18
- package/typedoc/variables/shared_constants.VALID_CLASS.html +4 -18
- package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +4 -18
- package/typedoc/variables/shared_hof.propEq.html +4 -18
- package/typedoc/variables/shared_strings.hostRegex.html +4 -18
- package/typedoc/variables/shared_strings.splitEqual.html +4 -18
- package/typedoc/variables/shared_strings.splitHash.html +4 -18
- package/typedoc/variables/shared_strings.splitQuery.html +4 -18
- package/typedoc/variables/shared_utils.isProxySymbol.html +4 -18
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +4 -18
- package/typedoc.json +3 -1
- package/@types/directive/change/change.d.ts +0 -4
- package/@types/types.d.ts +0 -595
- package/SECURITY.md +0 -16
- package/TODO.md +0 -13
- package/docs/content/en/about/featured-background.jpg +0 -0
- package/docs/content/en/about/index.md +0 -37
- package/docs/content/en/blog/_index.md +0 -8
- package/docs/content/en/blog/news/_index.md +0 -4
- package/docs/content/en/blog/news/first-post/featured-sunset-get.png +0 -0
- package/docs/content/en/blog/news/first-post/index.md +0 -46
- package/docs/content/en/blog/news/second-post.md +0 -238
- package/docs/content/en/blog/releases/_index.md +0 -4
- package/docs/content/en/blog/releases/in-depth-monoliths-detailed-spec.md +0 -238
- package/docs/content/en/community/_index.md +0 -6
- package/docs/content/en/docs/concepts/_index.md +0 -14
- package/docs/content/en/docs/contribution-guidelines/_index.md +0 -77
- package/docs/content/en/docs/examples/_index.md +0 -13
- package/docs/content/en/docs/getting-started/_index.md +0 -35
- package/docs/content/en/docs/getting-started/example-page.md +0 -231
- package/docs/content/en/docs/overview/_index.md +0 -34
- package/docs/content/en/docs/reference/_index.md +0 -12
- package/docs/content/en/docs/reference/parameter-reference.md +0 -207
- package/docs/content/en/docs/tasks/Ponycopters/_index.md +0 -12
- package/docs/content/en/docs/tasks/Ponycopters/configuring-ponycopters.md +0 -230
- package/docs/content/en/docs/tasks/Ponycopters/launching-ponycopters.md +0 -230
- package/docs/content/en/docs/tasks/_index.md +0 -21
- package/docs/content/en/docs/tasks/beds.md +0 -230
- package/docs/content/en/docs/tasks/porridge.md +0 -230
- package/docs/content/en/docs/tasks/task.md +0 -230
- package/docs/content/en/docs/tutorials/_index.md +0 -12
- package/docs/content/en/docs/tutorials/multi-bear.md +0 -230
- package/docs/content/en/docs/tutorials/tutorial2.md +0 -230
- package/docs/content/en/featured-background.jpg +0 -0
- package/docs/content/en/search.md +0 -4
- package/docs/layouts/_default/_markup/render-heading.html +0 -1
- package/public/public/legacy.html +0 -13203
- 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.BootstrapConfig.html +0 -262
- package/typedoc/types/types.ComponentOptions.html +0 -262
- package/typedoc/types/types.ControllerConstructor.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.TranscludeFunction.html +0 -262
- package/typedoc/types/types.transcludeWithoutScope.html +0 -262
- package/typedoc/variables/core_di_injector.path.html +0 -266
|
@@ -64,7 +64,8 @@ export class TransitionProvider {
|
|
|
64
64
|
static $inject = ["$routerGlobalsProvider", "$viewProvider"];
|
|
65
65
|
|
|
66
66
|
/**
|
|
67
|
-
* @param {import('../globals').
|
|
67
|
+
* @param {import('../globals.js').RouterGlobals} globals
|
|
68
|
+
* @param viewService
|
|
68
69
|
*/
|
|
69
70
|
constructor(globals, viewService) {
|
|
70
71
|
this._transitionCount = 0;
|
|
@@ -23,6 +23,8 @@ import { Resolvable } from "../resolve/resolvable.js";
|
|
|
23
23
|
import { ResolveContext } from "../resolve/resolve-context.js";
|
|
24
24
|
import { Rejection } from "./reject-factory.js";
|
|
25
25
|
|
|
26
|
+
/** @typedef {import('./interface.ts').IHookRegistry} IHookRegistry */
|
|
27
|
+
|
|
26
28
|
/**
|
|
27
29
|
* Represents a transition between two states.
|
|
28
30
|
*
|
|
@@ -30,6 +32,7 @@ import { Rejection } from "./reject-factory.js";
|
|
|
30
32
|
*
|
|
31
33
|
* This object contains all contextual information about the to/from states, parameters, resolves.
|
|
32
34
|
* It has information about all states being entered and exited as a result of the transition.
|
|
35
|
+
* @implements {IHookRegistry}
|
|
33
36
|
*/
|
|
34
37
|
export class Transition {
|
|
35
38
|
/**
|
|
@@ -37,15 +40,16 @@ export class Transition {
|
|
|
37
40
|
*
|
|
38
41
|
* If the target state is not valid, an error is thrown.
|
|
39
42
|
*
|
|
40
|
-
* @internal
|
|
41
|
-
*
|
|
42
43
|
* @param fromPath The path of [[PathNode]]s from which the transition is leaving. The last node in the `fromPath`
|
|
43
44
|
* encapsulates the "from state".
|
|
44
45
|
* @param targetState The target state and parameters being transitioned to (also, the transition options)
|
|
45
46
|
* @param {import('../transition/transition-service.js').TransitionProvider} transitionService The [[TransitionService]] instance
|
|
46
|
-
* @
|
|
47
|
+
* @param {import('../globals.js').RouterGlobals} globals
|
|
47
48
|
*/
|
|
48
49
|
constructor(fromPath, targetState, transitionService, globals) {
|
|
50
|
+
/**
|
|
51
|
+
* @type {import('../globals.js').RouterGlobals}
|
|
52
|
+
*/
|
|
49
53
|
this.globals = globals;
|
|
50
54
|
this.transitionService = transitionService;
|
|
51
55
|
this._deferred = Promise.withResolvers();
|
|
@@ -84,6 +88,14 @@ export class Transition {
|
|
|
84
88
|
);
|
|
85
89
|
TransitionHook.invokeHooks(onCreateHooks, () => null);
|
|
86
90
|
this.applyViewConfigs();
|
|
91
|
+
this.onStart = undefined;
|
|
92
|
+
this.onBefore = undefined;
|
|
93
|
+
this.onSuccess = undefined;
|
|
94
|
+
this.onEnter = undefined;
|
|
95
|
+
this.onRetain = undefined;
|
|
96
|
+
this.onExit = undefined;
|
|
97
|
+
this.onFinish = undefined;
|
|
98
|
+
this.onError = undefined;
|
|
87
99
|
}
|
|
88
100
|
|
|
89
101
|
/**
|
|
@@ -110,15 +122,13 @@ export class Transition {
|
|
|
110
122
|
);
|
|
111
123
|
}
|
|
112
124
|
/**
|
|
113
|
-
* @internal
|
|
114
|
-
* @returns the internal from [State] object
|
|
125
|
+
* @returns {import('../state/state-object.js').StateObject} the internal from [State] object
|
|
115
126
|
*/
|
|
116
127
|
$from() {
|
|
117
128
|
return tail(this._treeChanges.from).state;
|
|
118
129
|
}
|
|
119
130
|
/**
|
|
120
|
-
* @internal
|
|
121
|
-
* @returns the internal to [State] object
|
|
131
|
+
* @returns {import('../state/state-object.js').StateObject} the internal to [State] object
|
|
122
132
|
*/
|
|
123
133
|
$to() {
|
|
124
134
|
return tail(this._treeChanges.to).state;
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
defaults,
|
|
11
11
|
} from "../../shared/common.js";
|
|
12
12
|
import { propEq } from "../../shared/hof.js";
|
|
13
|
-
import { isDefined, isString } from "../../shared/utils.js";
|
|
13
|
+
import { hasOwn, isDefined, isString } from "../../shared/utils.js";
|
|
14
14
|
import { Param, DefType } from "../params/param.js";
|
|
15
15
|
import { joinNeighborsR, splitOnDelim } from "../../shared/strings.js";
|
|
16
16
|
|
|
@@ -436,7 +436,7 @@ export class UrlMatcher {
|
|
|
436
436
|
params = params || {};
|
|
437
437
|
// I'm not sure why this checks only the param keys passed in, and not all the params known to the matcher
|
|
438
438
|
const paramSchema = this.parameters().filter((paramDef) =>
|
|
439
|
-
|
|
439
|
+
hasOwn(params, paramDef.id),
|
|
440
440
|
);
|
|
441
441
|
return paramSchema
|
|
442
442
|
.map((paramDef) => validParamVal(paramDef, params[paramDef.id]))
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { ViewDeclaration } from "../state/interface.ts";
|
|
2
|
+
import { PathNode } from "../path/path-node.js";
|
|
3
|
+
|
|
4
|
+
/** The context ref can be anything that has a `name` and a `parent` reference to another IContextRef */
|
|
5
|
+
export interface ViewContext {
|
|
6
|
+
name: string;
|
|
7
|
+
parent: ViewContext;
|
|
8
|
+
}
|
|
9
|
+
|
|
10
|
+
export interface ActiveUIView {
|
|
11
|
+
/** An auto-incremented id */
|
|
12
|
+
id: number;
|
|
13
|
+
/** The ui-view short name */
|
|
14
|
+
name: string;
|
|
15
|
+
/** The ui-view's fully qualified name */
|
|
16
|
+
fqn: string;
|
|
17
|
+
/** The ViewConfig that is currently loaded into the ui-view */
|
|
18
|
+
config: ViewConfig;
|
|
19
|
+
/** The state context in which the ui-view tag was created. */
|
|
20
|
+
creationContext: ViewContext;
|
|
21
|
+
/** A callback that should apply a ViewConfig (or clear the ui-view, if config is undefined) */
|
|
22
|
+
configUpdated: (config: ViewConfig) => void;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* This interface represents a [[_ViewDeclaration]] that is bound to a [[PathNode]].
|
|
27
|
+
*
|
|
28
|
+
* A `ViewConfig` is the runtime definition of a single view.
|
|
29
|
+
*
|
|
30
|
+
* During a transition, `ViewConfig`s are created for each [[_ViewDeclaration]] defined on each "entering" [[StateObject]].
|
|
31
|
+
* Then, the [[ViewService]] finds any matching `ui-view`(s) in the DOM, and supplies the ui-view
|
|
32
|
+
* with the `ViewConfig`. The `ui-view` then loads itself using the information found in the `ViewConfig`.
|
|
33
|
+
*
|
|
34
|
+
* A `ViewConfig` if matched with a `ui-view` by finding all `ui-view`s which were created in the
|
|
35
|
+
* context named by the `uiViewContextAnchor`, and finding the `ui-view` or child `ui-view` that matches
|
|
36
|
+
* the `uiViewName` address.
|
|
37
|
+
*/
|
|
38
|
+
export interface ViewConfig {
|
|
39
|
+
/* The unique id for the ViewConfig instance */
|
|
40
|
+
$id: number;
|
|
41
|
+
/** The normalized view declaration from [[State.views]] */
|
|
42
|
+
viewDecl: ViewDeclaration;
|
|
43
|
+
|
|
44
|
+
/** The node the ViewConfig is bound to */
|
|
45
|
+
path: PathNode[];
|
|
46
|
+
|
|
47
|
+
loaded: boolean;
|
|
48
|
+
|
|
49
|
+
/** Fetches templates, runs dynamic (controller|template)Provider code, lazy loads Components, etc */
|
|
50
|
+
load(): Promise<ViewConfig>;
|
|
51
|
+
}
|
package/src/router/view/view.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { equals, applyPairs, removeFrom, find } from "../../shared/common.js";
|
|
2
2
|
import { curry } from "../../shared/hof.js";
|
|
3
3
|
import { trace } from "../common/trace.js";
|
|
4
|
-
import {
|
|
4
|
+
import { getViewConfigFactory } from "../state/views.js";
|
|
5
5
|
/**
|
|
6
6
|
* The View service
|
|
7
7
|
*
|
|
@@ -25,13 +25,10 @@ export class ViewService {
|
|
|
25
25
|
this._viewConfigFactories = {};
|
|
26
26
|
this._listeners = [];
|
|
27
27
|
this._pluginapi = {
|
|
28
|
-
_rootViewContext: this._rootViewContext.bind(this),
|
|
29
|
-
_viewConfigFactory: this._viewConfigFactory.bind(this),
|
|
30
28
|
_registeredUIView: (id) => {
|
|
31
29
|
const res = find(this._ngViews, (view) => view.id === id);
|
|
32
30
|
return res;
|
|
33
31
|
},
|
|
34
|
-
|
|
35
32
|
_registeredUIViews: () => this._ngViews,
|
|
36
33
|
_activeViewConfigs: () => this._viewConfigs,
|
|
37
34
|
_onSync: (listener) => {
|
|
@@ -39,27 +36,37 @@ export class ViewService {
|
|
|
39
36
|
return () => removeFrom(this._listeners, listener);
|
|
40
37
|
},
|
|
41
38
|
};
|
|
42
|
-
this.
|
|
39
|
+
this.viewConfigFactory(getViewConfigFactory());
|
|
43
40
|
}
|
|
44
41
|
|
|
45
42
|
$get = [() => this];
|
|
46
43
|
|
|
47
|
-
|
|
44
|
+
/**
|
|
45
|
+
* @param {?import('../state/state-object.js').StateObject} context
|
|
46
|
+
* @return {?import('../state/state-object.js').StateObject}
|
|
47
|
+
*/
|
|
48
|
+
rootViewContext(context) {
|
|
48
49
|
return (this._rootContext = context || this._rootContext);
|
|
49
50
|
}
|
|
50
51
|
|
|
51
|
-
|
|
52
|
-
this.
|
|
52
|
+
viewConfigFactory(factory) {
|
|
53
|
+
this.viewConfigFactory = factory;
|
|
53
54
|
}
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* @param path
|
|
58
|
+
* @param decl
|
|
59
|
+
* @return {import("../state/views.js").ViewConfig}
|
|
60
|
+
*/
|
|
54
61
|
createViewConfig(path, decl) {
|
|
55
62
|
/** @type {function(any, any): any} */
|
|
56
|
-
const cfgFactory = this.
|
|
63
|
+
const cfgFactory = this.viewConfigFactory;
|
|
57
64
|
if (!cfgFactory)
|
|
58
65
|
throw new Error(
|
|
59
66
|
"ViewService: No view config factory registered for type " + decl.$type,
|
|
60
67
|
);
|
|
61
68
|
const cfgs = cfgFactory(path, decl);
|
|
62
|
-
return
|
|
69
|
+
return cfgs;
|
|
63
70
|
}
|
|
64
71
|
/**
|
|
65
72
|
* Deactivates a ViewConfig.
|
|
@@ -5,7 +5,7 @@ import { StateMatcher } from "../state/state-matcher.js";
|
|
|
5
5
|
import { StateBuilder } from "../state/state-builder.js";
|
|
6
6
|
import { StateObject } from "../state/state-object.js";
|
|
7
7
|
import { ViewService } from "./view.js";
|
|
8
|
-
import { ng1ViewsBuilder,
|
|
8
|
+
import { ng1ViewsBuilder, getViewConfigFactory } from "../state/views.js";
|
|
9
9
|
import { PathNode } from "../path/path-node.js";
|
|
10
10
|
import { PathUtils } from "../path/path-utils.js";
|
|
11
11
|
import { tail } from "../../shared/common.js";
|
|
@@ -81,14 +81,14 @@ describe("view", () => {
|
|
|
81
81
|
|
|
82
82
|
state = register(stateDeclaration);
|
|
83
83
|
const $view = new ViewService(null);
|
|
84
|
-
$view.
|
|
84
|
+
$view.viewConfigFactory(getViewConfigFactory());
|
|
85
85
|
|
|
86
86
|
const _states = [root, state];
|
|
87
87
|
path = _states.map((_state) => new PathNode(_state));
|
|
88
88
|
PathUtils.applyViewConfigs($view, path, _states);
|
|
89
89
|
});
|
|
90
90
|
|
|
91
|
-
|
|
91
|
+
it("uses the controllerProvider to get controller dynamically", async () => {
|
|
92
92
|
$controllerProvider.register("AcmeFooController", () => {});
|
|
93
93
|
elem.innerHTML = "<div><ng-view></ng-view></div>";
|
|
94
94
|
$compile(elem)(scope);
|
|
@@ -20,8 +20,7 @@ describe("ngView", () => {
|
|
|
20
20
|
});
|
|
21
21
|
elem = [{ scrollIntoView: jasmine.createSpy("scrollIntoView") }];
|
|
22
22
|
});
|
|
23
|
-
|
|
24
|
-
xit("should scroll element into view after timeout", async () => {
|
|
23
|
+
it("should scroll element into view after timeout", async () => {
|
|
25
24
|
$ngViewScroll(elem[0]);
|
|
26
25
|
expect(elem[0].scrollIntoView).not.toHaveBeenCalled();
|
|
27
26
|
|
|
@@ -29,8 +28,8 @@ describe("ngView", () => {
|
|
|
29
28
|
expect(elem[0].scrollIntoView).toHaveBeenCalled();
|
|
30
29
|
});
|
|
31
30
|
|
|
32
|
-
|
|
33
|
-
const promise = $ngViewScroll(elem);
|
|
31
|
+
it("should return the promise from the timeout", async () => {
|
|
32
|
+
const promise = $ngViewScroll(elem[0]);
|
|
34
33
|
|
|
35
34
|
await wait(100);
|
|
36
35
|
expect(elem[0].scrollIntoView).toHaveBeenCalled();
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
function ($anchorScroll, $location, $scope) {
|
|
30
30
|
$scope.gotoAnchor = function (x) {
|
|
31
31
|
window.$locationTest = $location;
|
|
32
|
-
|
|
32
|
+
const newHash = "anchor" + x;
|
|
33
33
|
if ($location.hash() !== newHash) {
|
|
34
34
|
// set the $location.hash to `newHash` and
|
|
35
35
|
// $anchorScroll will automatically scroll to it
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
_ The `$http` service is a core
|
|
2
|
+
_ The `$http` service is a core AngularTS service that facilitates communication with the remote
|
|
3
3
|
_ HTTP servers via the browser's [XMLHttpRequest](https://developer.mozilla.org/en/xmlhttprequest)
|
|
4
4
|
_ object or via [JSONP](http://en.wikipedia.org/wiki/JSONP).
|
|
5
5
|
_
|
|
@@ -112,7 +112,7 @@ _ the $q service. While for simple usage patterns this doesn't matter much, for
|
|
|
112
112
|
* the transformed value (`function(data, headersGetter, status)`) or an array of such transformation functions,
|
|
113
113
|
* which allows you to `push`or`unshift` a new transformation function into the transformation chain. \*
|
|
114
114
|
_ <div class="alert alert-warning">
|
|
115
|
-
_ **Note:**
|
|
115
|
+
_ **Note:** AngularTS does not make a copy of the `data` parameter before it is passed into the `transformRequest` pipeline.
|
|
116
116
|
_ That means changes to the properties of `data` are not local to the transform function (since Javascript passes objects by reference).
|
|
117
117
|
_ For example, when calling `$http.get(url, $scope.myObject)`, modifications to the object's properties in a transformRequest
|
|
118
118
|
_ function will be reflected on the scope and in any templates where the object is data-bound.
|
|
@@ -127,7 +127,7 @@ _ then these will be applied.
|
|
|
127
127
|
_
|
|
128
128
|
_ You can augment or replace the default transformations by modifying these properties by adding to or
|
|
129
129
|
_ replacing the array. \*
|
|
130
|
-
_
|
|
130
|
+
_ AngularTS provides the following default transformations:
|
|
131
131
|
_
|
|
132
132
|
_ Request transformations (`$httpProvider.defaults.transformRequest` and `$http.defaults.transformRequest`) is
|
|
133
133
|
_ an array with one function that does the following: \*
|
|
@@ -282,7 +282,7 @@ _ `` *
|
|
|
282
282
|
* - [JSON vulnerability](http://haacked.com/archive/2008/11/20/anatomy-of-a-subtle-json-vulnerability.aspx)
|
|
283
283
|
* - [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery)
|
|
284
284
|
*
|
|
285
|
-
* Both server and the client must cooperate in order to eliminate these threats.
|
|
285
|
+
* Both server and the client must cooperate in order to eliminate these threats. AngularTS comes
|
|
286
286
|
* pre-configured with strategies that address these issues, but for this to work backend server
|
|
287
287
|
* cooperation is required.
|
|
288
288
|
*
|
|
@@ -292,7 +292,7 @@ _ `` *
|
|
|
292
292
|
* allows third party website to turn your JSON resource URL into
|
|
293
293
|
* [JSONP](http://en.wikipedia.org/wiki/JSONP) request under some conditions. To
|
|
294
294
|
* counter this your server can prefix all JSON requests with following string `")]}',\n"`.
|
|
295
|
-
*
|
|
295
|
+
* AngularTS will automatically strip the prefix before processing it as JSON.
|
|
296
296
|
*
|
|
297
297
|
* For example if your server needs to return:
|
|
298
298
|
*``js
|
|
@@ -304,13 +304,13 @@ _ )]}',
|
|
|
304
304
|
_ ['one','two']
|
|
305
305
|
_ ```
|
|
306
306
|
_
|
|
307
|
-
_
|
|
307
|
+
_ AngularTS will strip the prefix, before processing the JSON.
|
|
308
308
|
_ \*
|
|
309
309
|
_ ### Cross Site Request Forgery (XSRF) Protection
|
|
310
310
|
_
|
|
311
311
|
_ [XSRF](http://en.wikipedia.org/wiki/Cross-site_request_forgery) is an attack technique by
|
|
312
312
|
_ which the attacker can trick an authenticated user into unknowingly executing actions on your
|
|
313
|
-
_ website.
|
|
313
|
+
_ website. AngularTS provides a mechanism to counter XSRF. When performing XHR requests, the
|
|
314
314
|
_ $http service reads a token from a cookie (by default, `XSRF-TOKEN`) and sets it as an HTTP
|
|
315
315
|
_ header (by default `X-XSRF-TOKEN`). Since only JavaScript that runs on your domain could read
|
|
316
316
|
_ the cookie, your server can be assured that the XHR came from JavaScript running on your
|
|
@@ -343,7 +343,7 @@ _ The name of the cookie and the header can be specified using the `xsrfCookieNa
|
|
|
343
343
|
_ `xsrfHeaderName` properties of either `$httpProvider.defaults` at config-time,
|
|
344
344
|
_ `$http.defaults` at run-time, or the per-request config object.
|
|
345
345
|
_
|
|
346
|
-
_ In order to prevent collisions in environments where multiple
|
|
346
|
+
_ In order to prevent collisions in environments where multiple AngularTS apps share the
|
|
347
347
|
_ same domain or subdomain, we recommend that each application uses a unique cookie name. \* \*
|
|
348
348
|
_ @param {object} requestConfig Object describing the request to be made and how it should be
|
|
349
349
|
_ processed. The object has following properties: \* \* - **method** – `{string}` – HTTP method (e.g. 'GET', 'POST', etc) \* - **url** – `{string|TrustedObject}` – Absolute or relative URL of the resource that is being requested;
|
package/src/services/log.md
CHANGED
|
@@ -4,7 +4,7 @@ Simple service for logging. Default implementation safely writes the message int
|
|
|
4
4
|
|
|
5
5
|
The main purpose of this service is to simplify debugging and troubleshooting.
|
|
6
6
|
|
|
7
|
-
To reveal the location of the calls to `$log` in the JavaScript console, you can "blackbox" the
|
|
7
|
+
To reveal the location of the calls to `$log` in the JavaScript console, you can "blackbox" the AngularTS source in your browser:
|
|
8
8
|
|
|
9
9
|
- [Mozilla description of blackboxing](https://developer.mozilla.org/en-US/docs/Tools/Debugger/How_to/Black_box_a_source).
|
|
10
10
|
- [Chrome description of blackboxing](https://developer.chrome.com/devtools/docs/blackboxing).
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { defaultHttpResponseTransform } from "./http/http";
|
|
1
|
+
import { defaultHttpResponseTransform } from "./http/http.js";
|
|
2
2
|
import { extend, isString, minErr } from "../shared/utils.js";
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
const $templateRequestMinErr = minErr("$templateRequest");
|
|
5
5
|
|
|
6
6
|
/**
|
|
7
7
|
* Used to configure the options passed to the {@link $http} service when making a template request.
|
|
@@ -10,7 +10,7 @@ var $templateRequestMinErr = minErr("$templateRequest");
|
|
|
10
10
|
* requesting a template.
|
|
11
11
|
*/
|
|
12
12
|
export function TemplateRequestProvider() {
|
|
13
|
-
|
|
13
|
+
let httpOptions;
|
|
14
14
|
|
|
15
15
|
/**
|
|
16
16
|
* The options to be passed to the {@link $http} service when making the request.
|
|
@@ -73,16 +73,20 @@ export function TemplateRequestProvider() {
|
|
|
73
73
|
// We consider the template cache holds only trusted templates, so
|
|
74
74
|
// there's no need to go through adding the template again to the trusted
|
|
75
75
|
// resources for keys that already are included in there. This also makes
|
|
76
|
-
//
|
|
76
|
+
// AngularTS accept any script directive, no matter its name. However, we
|
|
77
77
|
// still need to unwrap trusted types.
|
|
78
78
|
if (!isString(tpl) || !$templateCache.has(tpl)) {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
79
|
+
try {
|
|
80
|
+
tpl = $sce.getTrustedResourceUrl(tpl);
|
|
81
|
+
if (!tpl) {
|
|
82
|
+
return Promise.reject("Template not found");
|
|
83
|
+
}
|
|
84
|
+
} catch (e) {
|
|
85
|
+
return Promise.reject(e.message);
|
|
82
86
|
}
|
|
83
87
|
}
|
|
84
88
|
|
|
85
|
-
|
|
89
|
+
let transformResponse =
|
|
86
90
|
$http.defaults && $http.defaults.transformResponse;
|
|
87
91
|
|
|
88
92
|
if (Array.isArray(transformResponse)) {
|
package/src/shared/dom.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { concat, isDefined, isObject } from "./utils.js";
|
|
1
|
+
import { concat, hasOwn, isDefined, isObject } from "./utils.js";
|
|
2
2
|
import {
|
|
3
3
|
Cache,
|
|
4
4
|
EXPANDO,
|
|
@@ -370,7 +370,7 @@ export function deleteCacheData(element, key) {
|
|
|
370
370
|
const expandoStore = getExpando(element, false); // Don't create if it doesn't exist
|
|
371
371
|
const data = expandoStore?.data;
|
|
372
372
|
|
|
373
|
-
if (data &&
|
|
373
|
+
if (data && hasOwn(data, kebabToCamel(key))) {
|
|
374
374
|
delete data[kebabToCamel(key)];
|
|
375
375
|
}
|
|
376
376
|
}
|
package/src/shared/noderef.js
CHANGED
|
@@ -66,7 +66,7 @@ export class NodeRef {
|
|
|
66
66
|
this._node = element;
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
//
|
|
69
|
+
// Handle array of elements
|
|
70
70
|
else if (element instanceof Array) {
|
|
71
71
|
if (element.length == 1) {
|
|
72
72
|
this.initial = element[0].cloneNode(true);
|
|
@@ -109,8 +109,6 @@ export class NodeRef {
|
|
|
109
109
|
} else {
|
|
110
110
|
this._element = undefined;
|
|
111
111
|
}
|
|
112
|
-
// this._nodes = undefined;
|
|
113
|
-
// this.isList = false;
|
|
114
112
|
}
|
|
115
113
|
|
|
116
114
|
/** @param {Array<Node>} nodes */
|
package/src/shared/utils.js
CHANGED
|
@@ -47,7 +47,7 @@ export function uppercase(string) {
|
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
|
-
* @param {*} obj
|
|
50
|
+
* @param {*} obj Reference to check.
|
|
51
51
|
* @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,
|
|
52
52
|
* String ...)
|
|
53
53
|
*/
|
|
@@ -107,6 +107,7 @@ export function isObject(value) {
|
|
|
107
107
|
/**
|
|
108
108
|
* Determines if a value is an object with a null prototype
|
|
109
109
|
*
|
|
110
|
+
* @param {*} value Reference to check.
|
|
110
111
|
* @returns {boolean} True if `value` is an `Object` with a null prototype
|
|
111
112
|
*/
|
|
112
113
|
export function isBlankObject(value) {
|
|
@@ -364,8 +365,7 @@ export function baseExtend(dst, objs, deep) {
|
|
|
364
365
|
* to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so
|
|
365
366
|
* by passing an empty object as the target: `let object = angular.extend({}, object1, object2)`.
|
|
366
367
|
*
|
|
367
|
-
* **Note:** Keep in mind that `angular.extend` does not support recursive merge (deep copy).
|
|
368
|
-
* {@link angular.merge} for this.
|
|
368
|
+
* **Note:** Keep in mind that `angular.extend` does not support recursive merge (deep copy).
|
|
369
369
|
*
|
|
370
370
|
* @param {Object} dst Destination object.
|
|
371
371
|
* @param {...Object} src Source object(s).
|
|
@@ -375,38 +375,6 @@ export function extend(dst, ...src) {
|
|
|
375
375
|
return baseExtend(dst, src, false);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
/**
|
|
379
|
-
* Deeply extends the destination object `dst` by copying own enumerable properties from the `src` object(s)
|
|
380
|
-
* to `dst`. You can specify multiple `src` objects. If you want to preserve original objects, you can do so
|
|
381
|
-
* by passing an empty object as the target: `let object = angular.merge({}, object1, object2)`.
|
|
382
|
-
*
|
|
383
|
-
* Unlike {@link angular.extend extend()}, `merge()` recursively descends into object properties of source
|
|
384
|
-
* objects, performing a deep copy.
|
|
385
|
-
*
|
|
386
|
-
* @deprecated
|
|
387
|
-
* sinceVersion="1.6.5"
|
|
388
|
-
* This function is deprecated, but will not be removed in the 1.x lifecycle.
|
|
389
|
-
* There are edge cases (see {@link angular.merge#known-issues known issues}) that are not
|
|
390
|
-
* supported by this function. We suggest using another, similar library for all-purpose merging,
|
|
391
|
-
* such as [lodash's merge()](https://lodash.com/docs/4.17.4#merge).
|
|
392
|
-
*
|
|
393
|
-
* @knownIssue
|
|
394
|
-
* This is a list of (known) object types that are not handled correctly by this function:
|
|
395
|
-
* - [`Blob`](https://developer.mozilla.org/docs/Web/API/Blob)
|
|
396
|
-
* - [`MediaStream`](https://developer.mozilla.org/docs/Web/API/MediaStream)
|
|
397
|
-
* - [`CanvasGradient`](https://developer.mozilla.org/docs/Web/API/CanvasGradient)
|
|
398
|
-
* - AngularJS {@link $rootScope.Scope scopes};
|
|
399
|
-
*
|
|
400
|
-
* `angular.merge` also does not support merging objects with circular references.
|
|
401
|
-
*
|
|
402
|
-
* @param {Object} dst Destination object.
|
|
403
|
-
* @param {...Object} src Source object(s).
|
|
404
|
-
* @returns {Object} Reference to `dst`.
|
|
405
|
-
*/
|
|
406
|
-
export function merge(dst, ...src) {
|
|
407
|
-
return baseExtend(dst, src, true);
|
|
408
|
-
}
|
|
409
|
-
|
|
410
378
|
/**
|
|
411
379
|
* @param {string} str
|
|
412
380
|
* @returns {number}
|
|
@@ -748,7 +716,7 @@ function toJsonReplacer(key, value) {
|
|
|
748
716
|
|
|
749
717
|
/**
|
|
750
718
|
* Serializes input into a JSON-formatted string. Properties with leading $$ characters will be
|
|
751
|
-
* stripped since
|
|
719
|
+
* stripped since AngularTS uses this notation internally.
|
|
752
720
|
*
|
|
753
721
|
* @param {Object|Array|Date|string|number|boolean} obj Input to be serialized into JSON.
|
|
754
722
|
* @param {boolean|number} [pretty=2] If set to true, the JSON output will contain newlines and whitespace.
|
|
@@ -839,7 +807,7 @@ export function parseKeyValue(keyValue) {
|
|
|
839
807
|
key = tryDecodeURIComponent(key);
|
|
840
808
|
if (isDefined(key)) {
|
|
841
809
|
val = isDefined(val) ? tryDecodeURIComponent(val) : true;
|
|
842
|
-
if (!
|
|
810
|
+
if (!hasOwn(obj, /** @type {string} */ (key))) {
|
|
843
811
|
obj[key] = val;
|
|
844
812
|
} else if (Array.isArray(obj[key])) {
|
|
845
813
|
obj[key].push(val);
|
|
@@ -879,13 +847,13 @@ export function toKeyValue(obj) {
|
|
|
879
847
|
* Tries to decode the URI component without throwing an exception.
|
|
880
848
|
*
|
|
881
849
|
* @param {string} value potential URI component to check.
|
|
882
|
-
* @returns {string}
|
|
850
|
+
* @returns {string|void}
|
|
883
851
|
*/
|
|
884
852
|
export function tryDecodeURIComponent(value) {
|
|
885
853
|
try {
|
|
886
854
|
return decodeURIComponent(value);
|
|
887
855
|
} catch {
|
|
888
|
-
|
|
856
|
+
return;
|
|
889
857
|
}
|
|
890
858
|
}
|
|
891
859
|
|
|
@@ -1052,7 +1020,7 @@ export function errorHandlingConfig(config) {
|
|
|
1052
1020
|
|
|
1053
1021
|
/**
|
|
1054
1022
|
* This object provides a utility for producing rich Error messages within
|
|
1055
|
-
*
|
|
1023
|
+
* AngularTS. It can be called as follows:
|
|
1056
1024
|
*
|
|
1057
1025
|
* let exampleMinErr = minErr('example');
|
|
1058
1026
|
* throw exampleMinErr('one', 'This {0} is {1}', foo, bar);
|
|
@@ -1209,19 +1177,19 @@ export function isObjectEmpty(obj) {
|
|
|
1209
1177
|
}
|
|
1210
1178
|
|
|
1211
1179
|
/**
|
|
1212
|
-
*
|
|
1213
|
-
* with those of a new element (`newElem`), while keeping the original reference.
|
|
1180
|
+
* Checks whether the given object has the specified property as its own (not inherited).
|
|
1214
1181
|
*
|
|
1215
|
-
*
|
|
1216
|
-
*
|
|
1182
|
+
* This is a safe version of `hasOwnProperty` that avoids issues with objects
|
|
1183
|
+
* that have it overridden or missing from their prototype chain.
|
|
1184
|
+
*
|
|
1185
|
+
* @param {object} obj - The object to check.
|
|
1186
|
+
* @param {string|number|symbol} key - The property key to look for.
|
|
1187
|
+
* @returns {boolean} True if the object has the property as its own; otherwise, false.
|
|
1188
|
+
*
|
|
1189
|
+
* @example
|
|
1190
|
+
* hasOwn({ foo: 123 }, 'foo'); // true
|
|
1191
|
+
* hasOwn({}, 'bar'); // false
|
|
1217
1192
|
*/
|
|
1218
|
-
export function
|
|
1219
|
-
|
|
1220
|
-
replacedElem.setAttribute(attr.name, attr.value);
|
|
1221
|
-
}
|
|
1222
|
-
replacedElem.innerHTML = "";
|
|
1223
|
-
|
|
1224
|
-
for (const child of Array.from(newElem.childNodes)) {
|
|
1225
|
-
replacedElem.appendChild(child.cloneNode(true));
|
|
1226
|
-
}
|
|
1193
|
+
export function hasOwn(obj, key) {
|
|
1194
|
+
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
1227
1195
|
}
|
package/src/src.html
CHANGED
|
@@ -12,10 +12,11 @@
|
|
|
12
12
|
<script src="/jasmine/boot0.js"></script>
|
|
13
13
|
<script src="/jasmine/boot1.js"></script>
|
|
14
14
|
<script type="module" src="/src/angular.spec.js"></script>
|
|
15
|
+
<script type="module" src="/src/index.spec.js"></script>
|
|
15
16
|
<script type="module" src="/src/loader.spec.js"></script>
|
|
16
17
|
<script type="module" src="/src/public.spec.js"></script>
|
|
17
18
|
</head>
|
|
18
19
|
<body>
|
|
19
|
-
<div id="app"></div>
|
|
20
|
+
<div ng-app id="app"></div>
|
|
20
21
|
</body>
|
|
21
22
|
</html>
|
package/tsconfig.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
|
-
"allowJs": true,
|
|
4
3
|
"checkJs": true,
|
|
5
4
|
"noEmit": true,
|
|
6
5
|
"esModuleInterop": true,
|
|
6
|
+
"allowJs": true,
|
|
7
7
|
"allowSyntheticDefaultImports": true,
|
|
8
|
+
"allowImportingTsExtensions": true,
|
|
8
9
|
"lib": ["ESNext", "DOM"],
|
|
9
10
|
"target": "ES2017",
|
|
10
11
|
"downlevelIteration": true,
|
package/tsconfig.types.json
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
window.hierarchyData =
|
|
2
|
-
"
|
|
2
|
+
"eJyljr0OgjAQx9/l5oJChGCfwMHVyRBTS7WNR5u0dSK8u1cVXUgYmO7y/8pvAO9cDMDP+7JuGXh1QyWjcZa0AUhMx4peAYejkyJZwOBhbAe8KBsGT4/kSRQhqLCRzqsLfoO/J5+quY49Uv8dp1oMXZa2so9AhjbYeWUTUVOxYrur25EB/TMgBxqrTh5XAE0TC2CEkFDmGETQV2HvKzH+K0sk4/gCI4KU+g==";
|