@angular-wave/angular.ts 0.7.2 → 0.7.4
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 +1 -1
- package/.prettierignore +3 -1
- package/@types/core/di/internal-injector.d.ts +2 -5
- package/@types/core/di/ng-module.d.ts +0 -7
- package/@types/core/exception-handler.d.ts +2 -2
- package/@types/core/task-tracker-factory.d.ts +2 -2
- package/@types/directive/channel/channel.d.ts +7 -17
- package/@types/directive/http/http.d.ts +42 -0
- package/@types/directive/if/if.d.ts +0 -2
- package/@types/directive/script/script.d.ts +2 -2
- package/@types/directive/setter/setter.d.ts +2 -2
- package/@types/injection-tokens.d.ts +3 -0
- package/@types/interface.d.ts +27 -4
- package/@types/loader.d.ts +3 -4
- package/@types/public.d.ts +1 -2
- package/@types/router/params/param-factory.d.ts +10 -2
- package/@types/router/params/param.d.ts +22 -3
- package/@types/router/template-factory.d.ts +2 -2
- package/@types/router/url/url-service.d.ts +2 -2
- package/@types/services/http/http.d.ts +2 -2
- package/@types/services/http/interface.d.ts +219 -0
- package/@types/services/http-backend/http-backend.d.ts +26 -19
- package/@types/services/log/interface.d.ts +33 -0
- package/@types/services/log/log.d.ts +25 -0
- package/@types/{core → services}/pubsub/pubsub.d.ts +9 -9
- package/@types/services/template-cache/interface.d.ts +4 -0
- package/@types/services/template-cache/template-cache.d.ts +11 -0
- package/@types/services/template-request.d.ts +1 -1
- package/@types/shared/cache.d.ts +9 -0
- package/@types/shared/common.d.ts +7 -8
- package/@types/shared/dom.d.ts +2 -2
- package/Makefile +9 -1
- package/dist/angular-ts.esm.js +426 -199
- package/dist/angular-ts.umd.js +426 -199
- package/dist/angular-ts.umd.min.js +1 -1
- package/docs/README.md +69 -39
- package/docs/assets/scss/_variables_project.scss +6 -0
- package/docs/assets/scss/_variables_project_after_bs.scss +8 -0
- package/docs/assets/scss/index.scss +13 -0
- package/docs/content/{en/_index.md → _index.md} +6 -1
- package/docs/content/docs/_index.md +60 -0
- package/docs/content/docs/directive/_index.md +4 -0
- package/docs/content/docs/directive/app.md +11 -0
- package/docs/content/docs/directive/aria.md +0 -0
- package/docs/content/docs/directive/channel.md +39 -0
- package/docs/content/docs/directive/class-even.md +47 -0
- package/docs/content/docs/directive/class-odd.md +48 -0
- package/docs/content/docs/directive/class.md +64 -0
- package/docs/content/docs/directive/cloak.md +78 -0
- package/docs/content/docs/directive/include.md +7 -0
- package/docs/content/docs/filter/_index.md +4 -0
- package/docs/content/docs/provider/_index.md +4 -0
- package/docs/content/docs/provider/eventBusProvider.md +35 -0
- package/docs/content/docs/provider/logProvider.md +59 -0
- package/docs/content/docs/provider/templateCacheProvider.md +35 -0
- package/docs/content/docs/service/_index.md +4 -0
- package/docs/content/docs/service/eventBus.md +56 -0
- package/docs/content/docs/service/log.md +113 -0
- package/docs/content/docs/service/templateCache.md +64 -0
- package/docs/docker-compose.yaml +2 -3
- package/docs/hugo.yaml +18 -19
- package/docs/layouts/404.html +8 -2
- package/docs/layouts/partials/hooks/head-end.html +3 -0
- package/docs/layouts/shortcodes/showhtml.html +2 -0
- package/docs/layouts/shortcodes/showjs.html +2 -0
- package/docs/layouts/shortcodes/showraw.html +1 -0
- package/docs/static/examples/counter/counter-test.html +17 -0
- package/docs/static/examples/counter/counter.html +5 -0
- package/docs/static/examples/counter/counter.test.js +28 -0
- package/docs/static/examples/eventbus/eventbus-test.html +19 -0
- package/docs/static/examples/eventbus/eventbus.html +13 -0
- package/docs/static/examples/eventbus/eventbus.js +15 -0
- package/docs/static/examples/eventbus/eventbus.test.js +19 -0
- package/docs/static/examples/ng-channel/ng-channel-test.html +17 -0
- package/docs/static/examples/ng-channel/ng-channel.html +24 -0
- package/docs/static/examples/ng-channel/ng-channel.test.js +31 -0
- package/docs/static/examples/ng-class/ng-class.html +71 -0
- package/docs/static/examples/ng-class/ng-class.js +0 -0
- package/docs/static/examples/ng-class-even/ng-class-even.html +8 -0
- package/docs/static/examples/ng-class-odd/ng-class-odd.html +8 -0
- package/docs/static/typedoc/assets/hierarchy.js +1 -0
- package/docs/static/typedoc/assets/highlight.css +78 -0
- package/docs/static/typedoc/assets/icons.js +18 -0
- package/docs/static/typedoc/assets/main.js +60 -0
- package/docs/static/typedoc/assets/navigation.js +1 -0
- package/docs/static/typedoc/assets/search.js +1 -0
- package/docs/static/typedoc/assets/style.css +1640 -0
- package/docs/static/typedoc/classes/LogProvider.html +6 -0
- package/docs/static/typedoc/classes/PubSub.html +71 -0
- package/docs/static/typedoc/classes/PubSubProvider.html +3 -0
- package/docs/static/typedoc/classes/TemplateCacheProvider.html +5 -0
- package/docs/static/typedoc/hierarchy.html +1 -0
- package/docs/static/typedoc/index.html +1 -0
- package/docs/static/typedoc/interfaces/ChangesObject.html +6 -0
- package/docs/static/typedoc/interfaces/ComponentOptions.html +16 -0
- package/docs/static/typedoc/interfaces/Controller.html +12 -0
- package/docs/static/typedoc/interfaces/Directive.html +36 -0
- package/docs/static/typedoc/interfaces/DirectivePrePost.html +4 -0
- package/docs/static/typedoc/interfaces/HttpHeadersGetter.html +1 -0
- package/docs/static/typedoc/interfaces/HttpProviderDefaults.html +31 -0
- package/docs/static/typedoc/interfaces/HttpRequestConfigHeaders.html +6 -0
- package/docs/static/typedoc/interfaces/HttpRequestTransformer.html +1 -0
- package/docs/static/typedoc/interfaces/HttpResponse.html +8 -0
- package/docs/static/typedoc/interfaces/HttpResponseTransformer.html +1 -0
- package/docs/static/typedoc/interfaces/HttpService.html +38 -0
- package/docs/static/typedoc/interfaces/LogService.html +12 -0
- package/docs/static/typedoc/interfaces/NgModelController.html +30 -0
- package/docs/static/typedoc/interfaces/NgModelOptions.html +16 -0
- package/docs/static/typedoc/interfaces/Provider.html +28 -0
- package/docs/static/typedoc/interfaces/RequestConfig.html +48 -0
- package/docs/static/typedoc/interfaces/RequestShortcutConfig.html +38 -0
- package/docs/static/typedoc/interfaces/ServiceProvider.html +5 -0
- package/docs/static/typedoc/interfaces/TranscludeFunctionObject.html +8 -0
- package/docs/static/typedoc/types/AnnotatedFactory.html +8 -0
- package/docs/static/typedoc/types/CloneAttachFunction.html +2 -0
- package/docs/static/typedoc/types/ControllerConstructor.html +2 -0
- package/docs/static/typedoc/types/DirectiveCompileFn.html +2 -0
- package/docs/static/typedoc/types/DirectiveController.html +2 -0
- package/docs/static/typedoc/types/DirectiveFactory.html +2 -0
- package/docs/static/typedoc/types/DirectiveLinkFn.html +2 -0
- package/docs/static/typedoc/types/ExpandoStore.html +2 -0
- package/docs/static/typedoc/types/Expression.html +6 -0
- package/docs/static/typedoc/types/FilterFactory.html +2 -0
- package/docs/static/typedoc/types/FilterFn.html +2 -0
- package/docs/static/typedoc/types/HttpPromise.html +1 -0
- package/docs/static/typedoc/types/Injectable.html +1 -0
- package/docs/static/typedoc/types/InjectableFactory.html +4 -0
- package/docs/static/typedoc/types/LogCall.html +2 -0
- package/docs/static/typedoc/types/LogServiceFactory.html +2 -0
- package/docs/static/typedoc/types/OnChangesObject.html +2 -0
- package/docs/static/typedoc/types/SwapInsertPosition.html +2 -0
- package/docs/static/typedoc/types/TController.html +2 -0
- package/docs/static/typedoc/types/TemplateCache.html +2 -0
- package/docs/static/typedoc/variables/EventBus.html +1 -0
- package/index.html +4 -2
- package/legacy.d.ts +2695 -0
- package/package.json +3 -3
- package/playwright.config.ts +2 -0
- package/src/animations/animate-css.js +5 -1
- package/src/animations/animate.spec.js +1 -1
- package/src/binding.spec.js +2 -0
- package/src/core/compile/compile.js +3 -1
- package/src/core/compile/compile.spec.js +21 -100
- package/src/core/core.html +0 -1
- package/src/core/di/injector.js +1 -1
- package/src/core/di/injector.spec.js +0 -30
- package/src/core/di/internal-injector.js +2 -5
- package/src/core/di/ng-module.js +1 -23
- package/src/core/di/ng-module.spec.js +0 -6
- package/src/core/exception-handler.js +1 -1
- package/src/core/prop.spec.js +1 -0
- package/src/core/task-tracker-factory.js +2 -2
- package/src/directive/bind/bind.spec.js +1 -4
- package/src/directive/channel/channel.js +12 -26
- package/src/directive/channel/channel.spec.js +4 -2
- package/src/directive/class/class.js +16 -0
- package/src/directive/class/class.spec.js +2 -0
- package/src/directive/events/event.spec.js +1 -0
- package/src/directive/form/form.spec.js +2 -0
- package/src/directive/http/delete.spec.js +24 -0
- package/src/directive/http/get.spec.js +211 -0
- package/src/directive/http/http.html +22 -0
- package/src/directive/http/http.js +245 -0
- package/src/directive/http/http.test.js +12 -0
- package/src/directive/http/post-example.html +30 -0
- package/src/directive/http/post.spec.js +24 -0
- package/src/directive/http/put.spec.js +24 -0
- package/src/directive/if/if.js +0 -2
- package/src/directive/if/if.spec.js +2 -0
- package/src/directive/include/include.spec.js +1 -1
- package/src/directive/input/input.spec.js +1 -0
- package/src/directive/model/model.spec.js +3 -0
- package/src/directive/model-options/model-options.spec.js +3 -5
- package/src/directive/observe/observe.spec.js +2 -1
- package/src/{core/pubsub/pubsub.html → directive/on/on.html} +1 -1
- package/src/{core → directive/on}/on.spec.js +5 -3
- package/src/directive/on/on.test.js +11 -0
- package/src/directive/options/options.spec.js +1 -0
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/directive/script/script.js +1 -1
- package/src/directive/select/select.spec.js +1 -0
- package/src/directive/setter/setter.js +1 -1
- package/src/directive/setter/setter.spec.js +3 -1
- package/src/directive/style/style.js +1 -1
- package/src/directive/switch/switch.spec.js +1 -0
- package/src/injection-tokens.js +3 -0
- package/src/interface.ts +27 -4
- package/src/loader.js +8 -12
- package/src/loader.spec.js +0 -31
- package/src/public.js +15 -9
- package/src/router/directives/state-directives.spec.js +3 -1
- package/src/router/params/param-factory.js +6 -0
- package/src/router/params/param.js +22 -7
- package/src/router/router.html +0 -1
- package/src/router/router.test.js +2 -1
- package/src/router/services.spec.js +2 -0
- package/src/router/state/state-builder.js +3 -0
- package/src/router/state/state-builder.spec.js +2 -0
- package/src/router/state/state-service.js +1 -1
- package/src/router/state-filter.spec.js +2 -0
- package/src/router/template-factory.html +19 -0
- package/src/router/template-factory.js +3 -3
- package/src/router/template-factory.spec.js +1 -0
- package/src/router/template-factory.test.js +12 -0
- package/src/router/transition/transition-hook.js +1 -1
- package/src/router/url/url-service.js +1 -1
- package/src/router/view-scroll.spec.js +3 -1
- package/src/services/http/http.js +4 -4
- package/src/services/http/http.test.js +1 -1
- package/src/services/http/interface.ts +243 -0
- package/src/services/http-backend/http-backend.js +24 -12
- package/src/services/log/interface.ts +39 -0
- package/src/services/log/log.html +19 -0
- package/src/services/log/log.js +74 -0
- package/src/services/log/log.spec.js +64 -0
- package/src/services/log/log.test.js +11 -0
- package/src/services/pubsub/pubsub.html +19 -0
- package/src/{core → services}/pubsub/pubsub.js +12 -11
- package/src/{core → services}/pubsub/pubsub.spec.js +3 -3
- package/src/{core → services}/pubsub/pubsub.test.js +1 -1
- package/src/services/template-cache/interface.ts +4 -0
- package/src/services/template-cache/template-cache.html +22 -0
- package/src/services/template-cache/template-cache.js +13 -0
- package/src/services/template-cache/template-cache.spec.js +62 -0
- package/src/services/template-cache/template-cache.test.js +11 -0
- package/src/services/template-request.js +2 -2
- package/src/shared/cache.js +9 -0
- package/src/shared/common.js +11 -36
- package/src/shared/common.spec.js +34 -3
- package/src/shared/dom.js +16 -21
- package/typedoc.json +3 -2
- package/utils/express.js +11 -0
- package/@types/core/cache/cache-factory.d.ts +0 -22
- package/@types/core/cache/cache.d.ts +0 -33
- package/@types/services/log.d.ts +0 -53
- package/docs/content/en/docs/_index.md +0 -28
- package/docs/netlify.toml +0 -12
- package/src/core/cache/cache-factory.js +0 -19
- package/src/core/cache/cache.js +0 -30
- package/src/directive/class/class.md +0 -90
- package/src/directive/cloak/cloak.md +0 -24
- package/src/examples/counter.html +0 -20
- package/src/services/log.js +0 -95
- package/src/services/log.md +0 -39
- package/typedoc/assets/hierarchy.js +0 -2
- package/typedoc/assets/highlight.css +0 -209
- package/typedoc/assets/icons.js +0 -21
- package/typedoc/assets/main.js +0 -2589
- package/typedoc/assets/navigation.js +0 -2
- package/typedoc/assets/search.js +0 -2
- package/typedoc/assets/style.css +0 -1623
- package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +0 -543
- package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +0 -691
- package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +0 -712
- package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +0 -536
- package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +0 -795
- package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +0 -1137
- package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +0 -473
- package/typedoc/classes/animations_animate-runner.AnimateRunner.html +0 -1589
- package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +0 -474
- package/typedoc/classes/animations_animate.AnimateProvider.html +0 -1278
- package/typedoc/classes/animations_animation.AnimationProvider.html +0 -749
- package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +0 -699
- package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +0 -525
- package/typedoc/classes/core_compile_attributes.Attributes.html +0 -1776
- package/typedoc/classes/core_compile_compile.CompileProvider.html +0 -2137
- package/typedoc/classes/core_controller_controller.ControllerProvider.html +0 -894
- package/typedoc/classes/core_di_internal-injector.InjectorService.html +0 -1336
- package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +0 -1242
- package/typedoc/classes/core_di_ng-module.NgModule.html +0 -1880
- package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +0 -631
- package/typedoc/classes/core_filter_filter.FilterProvider.html +0 -786
- package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +0 -1318
- package/typedoc/classes/core_location_location.Location.html +0 -2128
- package/typedoc/classes/core_location_location.LocationHashbangUrl.html +0 -2502
- package/typedoc/classes/core_location_location.LocationHtml5Url.html +0 -2490
- package/typedoc/classes/core_location_location.LocationProvider.html +0 -1023
- package/typedoc/classes/core_parse_ast_ast.AST.html +0 -2520
- package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +0 -3314
- package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +0 -1788
- package/typedoc/classes/core_parse_parse.ParseProvider.html +0 -753
- package/typedoc/classes/core_parse_parser_parser.Parser.html +0 -741
- package/typedoc/classes/core_pubsub_pubsub.PubSub.html +0 -1346
- package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +0 -576
- package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +0 -696
- package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +0 -1219
- package/typedoc/classes/core_sce_sce.SceProvider.html +0 -589
- package/typedoc/classes/core_scope_scope.RootScopeProvider.html +0 -520
- package/typedoc/classes/core_scope_scope.Scope.html +0 -2753
- package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +0 -882
- package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +0 -478
- package/typedoc/classes/directive_aria_aria.AriaProvider.html +0 -605
- package/typedoc/classes/directive_form_form.FormController.html +0 -2320
- package/typedoc/classes/directive_model_model.NgModelController.html +0 -4214
- package/typedoc/classes/loader.Angular.html +0 -1634
- package/typedoc/classes/router_common_glob.Glob.html +0 -904
- package/typedoc/classes/router_common_queue.Queue.html +0 -1284
- package/typedoc/classes/router_common_trace.Trace.html +0 -2020
- package/typedoc/classes/router_globals.RouterGlobals.html +0 -824
- package/typedoc/classes/router_params_param-factory.ParamFactory.html +0 -797
- package/typedoc/classes/router_params_param-type.ParamType.html +0 -1168
- package/typedoc/classes/router_params_param-types.ParamTypes.html +0 -770
- package/typedoc/classes/router_params_param.Param.html +0 -1614
- package/typedoc/classes/router_params_state-params.StateParams.html +0 -558
- package/typedoc/classes/router_path_path-node.PathNode.html +0 -1046
- package/typedoc/classes/router_path_path-utils.PathUtils.html +0 -1432
- package/typedoc/classes/router_resolve_resolvable.Resolvable.html +0 -1225
- package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +0 -1315
- package/typedoc/classes/router_state-provider.StateProvider.html +0 -957
- package/typedoc/classes/router_state_state-builder.StateBuilder.html +0 -1045
- package/typedoc/classes/router_state_state-matcher.StateMatcher.html +0 -742
- package/typedoc/classes/router_state_state-object.StateObject.html +0 -1515
- package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +0 -941
- package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +0 -1712
- package/typedoc/classes/router_state_state-service.StateProvider.html +0 -3038
- package/typedoc/classes/router_state_target-state.TargetState.html +0 -1655
- package/typedoc/classes/router_state_views.ViewConfig.html +0 -1123
- package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +0 -1689
- package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +0 -823
- package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +0 -1302
- package/typedoc/classes/router_transition_reject-factory.Rejection.html +0 -1299
- package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +0 -995
- package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +0 -1739
- package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +0 -1763
- package/typedoc/classes/router_transition_transition.Transition.html +0 -3942
- package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +0 -1198
- package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +0 -2056
- package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +0 -736
- package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +0 -1461
- package/typedoc/classes/router_url_url-rules.UrlRules.html +0 -1808
- package/typedoc/classes/router_url_url-service.UrlService.html +0 -2792
- package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +0 -687
- package/typedoc/classes/router_view_view.ViewService.html +0 -1691
- package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +0 -618
- package/typedoc/classes/services_browser.Browser.html +0 -1331
- package/typedoc/classes/services_browser.BrowserProvider.html +0 -564
- package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +0 -782
- package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +0 -535
- package/typedoc/classes/services_http_http.HttpProvider.html +0 -1537
- package/typedoc/classes/services_log.LogProvider.html +0 -776
- package/typedoc/classes/services_template-request.TemplateRequestProvider.html +0 -914
- package/typedoc/classes/shared_noderef.NodeRef.html +0 -1529
- package/typedoc/enums/core_parse_ast-type.ASTType.html +0 -903
- package/typedoc/enums/router_common_trace.Category.html +0 -492
- package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +0 -489
- package/typedoc/enums/router_transition_interface.TransitionHookScope.html +0 -390
- package/typedoc/enums/router_transition_reject-factory.RejectType.html +0 -546
- package/typedoc/functions/animations_animate-cache.animateCache.html +0 -818
- package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +0 -412
- package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +0 -409
- package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +0 -294
- package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +0 -297
- package/typedoc/functions/animations_shared.applyAnimationStyles.html +0 -296
- package/typedoc/functions/animations_shared.applyAnimationToStyles.html +0 -297
- package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +0 -311
- package/typedoc/functions/animations_shared.applyInlineStyle.html +0 -293
- package/typedoc/functions/animations_shared.assertArg.html +0 -303
- package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +0 -299
- package/typedoc/functions/animations_shared.clearGeneratedClasses.html +0 -297
- package/typedoc/functions/animations_shared.concatWithSpace.html +0 -293
- package/typedoc/functions/animations_shared.extractElementNode.html +0 -292
- package/typedoc/functions/animations_shared.mergeAnimationDetails.html +0 -307
- package/typedoc/functions/animations_shared.mergeClasses.html +0 -293
- package/typedoc/functions/animations_shared.packageStyles.html +0 -299
- package/typedoc/functions/animations_shared.pendClasses.html +0 -303
- package/typedoc/functions/animations_shared.prepareAnimationOptions.html +0 -287
- package/typedoc/functions/animations_shared.removeFromArray.html +0 -293
- package/typedoc/functions/animations_shared.resolveElementClasses.html +0 -328
- package/typedoc/functions/animations_shared.stripCommentsFromElement.html +0 -299
- package/typedoc/functions/core_controller_controller.identifierForController.html +0 -299
- package/typedoc/functions/core_di_injector.annotate.html +0 -311
- package/typedoc/functions/core_di_injector.createInjector.html +0 -323
- package/typedoc/functions/core_location_location.serverBase.html +0 -285
- package/typedoc/functions/core_location_location.stripBaseUrl.html +0 -303
- package/typedoc/functions/core_location_location.stripFile.html +0 -285
- package/typedoc/functions/core_location_location.stripHash.html +0 -285
- package/typedoc/functions/core_parse_interpreter.isAssignable.html +0 -294
- package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +0 -323
- package/typedoc/functions/core_sce_sce.adjustMatcher.html +0 -281
- package/typedoc/functions/core_sce_sce.escapeForRegexp.html +0 -281
- package/typedoc/functions/core_scope_scope.createScope.html +0 -334
- package/typedoc/functions/core_scope_scope.nextId.html +0 -268
- package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +0 -274
- package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +0 -314
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +0 -303
- package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +0 -309
- package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +0 -285
- package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +0 -320
- package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +0 -489
- package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +0 -428
- package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +0 -399
- package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +0 -334
- package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +0 -512
- package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +0 -400
- package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +0 -399
- package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +0 -399
- package/typedoc/functions/directive_bind_bind.ngBindDirective.html +0 -279
- package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +0 -408
- package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +0 -283
- package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +0 -312
- package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +0 -279
- package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +0 -283
- package/typedoc/functions/directive_events_events.createEventDirective.html +0 -353
- package/typedoc/functions/directive_form_form.setupValidity.html +0 -285
- package/typedoc/functions/directive_if_if.ngIfDirective.html +0 -407
- package/typedoc/functions/directive_include_include.ngIncludeDirective.html +0 -464
- package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +0 -419
- package/typedoc/functions/directive_init_init.ngInitDirective.html +0 -279
- package/typedoc/functions/directive_input_input.badInputChecker.html +0 -332
- package/typedoc/functions/directive_input_input.countDecimals.html +0 -285
- package/typedoc/functions/directive_input_input.createDateInputType.html +0 -392
- package/typedoc/functions/directive_input_input.createDateParser.html +0 -319
- package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +0 -287
- package/typedoc/functions/directive_input_input.inputDirective.html +0 -523
- package/typedoc/functions/directive_input_input.isNumberInteger.html +0 -285
- package/typedoc/functions/directive_input_input.isValidForStep.html +0 -305
- package/typedoc/functions/directive_input_input.ngValueDirective.html +0 -279
- package/typedoc/functions/directive_input_input.numberFormatterParser.html +0 -289
- package/typedoc/functions/directive_input_input.numberInputType.html +0 -354
- package/typedoc/functions/directive_input_input.rangeInputType.html +0 -315
- package/typedoc/functions/directive_input_input.weekParser.html +0 -295
- package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +0 -464
- package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +0 -476
- package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +0 -283
- package/typedoc/functions/directive_model_model.ngModelDirective.html +0 -449
- package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +0 -283
- package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +0 -317
- package/typedoc/functions/directive_ref_ref.ngRefDirective.html +0 -483
- package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +0 -409
- package/typedoc/functions/directive_script_script.scriptDirective.html +0 -413
- package/typedoc/functions/directive_select_select.optionDirective.html +0 -498
- package/typedoc/functions/directive_select_select.selectDirective.html +0 -279
- package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +0 -431
- package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +0 -405
- package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +0 -405
- package/typedoc/functions/directive_style_style.ngStyleDirective.html +0 -279
- package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +0 -283
- package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +0 -405
- package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +0 -283
- package/typedoc/functions/filters_filter.filterFilter.html +0 -275
- package/typedoc/functions/filters_filters.formatNumber.html +0 -435
- package/typedoc/functions/filters_filters.jsonFilter.html +0 -277
- package/typedoc/functions/filters_limit-to.limitToFilter.html +0 -277
- package/typedoc/functions/filters_order-by.orderByFilter.html +0 -403
- package/typedoc/functions/public.publishExternalAPI.html +0 -305
- package/typedoc/functions/router_common_glob.hasGlobs.html +0 -292
- package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +0 -468
- package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +0 -493
- package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +0 -439
- package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +0 -477
- package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +0 -292
- package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +0 -288
- package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +0 -292
- package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +0 -292
- package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +0 -318
- package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +0 -381
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +0 -289
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +0 -289
- package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +0 -289
- package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +0 -300
- package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +0 -290
- package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +0 -290
- package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +0 -290
- package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +0 -292
- package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +0 -309
- package/typedoc/functions/router_hooks_views.registerActivateViews.html +0 -300
- package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +0 -292
- package/typedoc/functions/router_path_path-utils.makeTargetState.html +0 -324
- package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +0 -437
- package/typedoc/functions/router_state-filters._IsStateFilter.html +0 -433
- package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +0 -347
- package/typedoc/functions/router_state_state-registry.getLocals.html +0 -285
- package/typedoc/functions/router_state_views.getViewConfigFactory.html +0 -300
- package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +0 -304
- package/typedoc/functions/router_transition_hook-registry.makeEvent.html +0 -343
- package/typedoc/functions/router_transition_hook-registry.matchState.html +0 -334
- package/typedoc/functions/services_browser.trimEmptyHash.html +0 -291
- package/typedoc/functions/services_cookie-reader.getCookies.html +0 -272
- package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +0 -406
- package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +0 -301
- package/typedoc/functions/shared_common._removeFrom.html +0 -291
- package/typedoc/functions/shared_common.allTrueR.html +0 -314
- package/typedoc/functions/shared_common.ancestors.html +0 -309
- package/typedoc/functions/shared_common.anyTrueR.html +0 -317
- package/typedoc/functions/shared_common.applyPairs.html +0 -322
- package/typedoc/functions/shared_common.arrayTuples.html +0 -313
- package/typedoc/functions/shared_common.assertFn.html +0 -306
- package/typedoc/functions/shared_common.copy.html +0 -292
- package/typedoc/functions/shared_common.createProxyFunctions.html +0 -430
- package/typedoc/functions/shared_common.defaults.html +0 -304
- package/typedoc/functions/shared_common.deregAll.html +0 -288
- package/typedoc/functions/shared_common.equals.html +0 -291
- package/typedoc/functions/shared_common.filter.html +0 -298
- package/typedoc/functions/shared_common.find.html +0 -295
- package/typedoc/functions/shared_common.flatten.html +0 -301
- package/typedoc/functions/shared_common.flattenR.html +0 -311
- package/typedoc/functions/shared_common.inherit.html +0 -317
- package/typedoc/functions/shared_common.map.html +0 -304
- package/typedoc/functions/shared_common.omit.html +0 -322
- package/typedoc/functions/shared_common.pairs.html +0 -305
- package/typedoc/functions/shared_common.pick.html +0 -334
- package/typedoc/functions/shared_common.pushR.html +0 -296
- package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +0 -285
- package/typedoc/functions/shared_common.silentRejection.html +0 -281
- package/typedoc/functions/shared_common.tail.html +0 -282
- package/typedoc/functions/shared_common.uniqR.html +0 -292
- package/typedoc/functions/shared_common.unnest.html +0 -303
- package/typedoc/functions/shared_common.unnestR.html +0 -311
- package/typedoc/functions/shared_dom.appendNodesToElement.html +0 -316
- package/typedoc/functions/shared_dom.buildFragment.html +0 -284
- package/typedoc/functions/shared_dom.cleanElementData.html +0 -302
- package/typedoc/functions/shared_dom.createElementFromHTML.html +0 -299
- package/typedoc/functions/shared_dom.createNodelistFromHTML.html +0 -296
- package/typedoc/functions/shared_dom.dealoc.html +0 -295
- package/typedoc/functions/shared_dom.deleteCacheData.html +0 -306
- package/typedoc/functions/shared_dom.domInsert.html +0 -301
- package/typedoc/functions/shared_dom.emptyElement.html +0 -289
- package/typedoc/functions/shared_dom.getBlockNodes.html +0 -298
- package/typedoc/functions/shared_dom.getBooleanAttrName.html +0 -316
- package/typedoc/functions/shared_dom.getCacheData.html +0 -313
- package/typedoc/functions/shared_dom.getController.html +0 -318
- package/typedoc/functions/shared_dom.getExpando.html +0 -333
- package/typedoc/functions/shared_dom.getInheritedData.html +0 -294
- package/typedoc/functions/shared_dom.getInjector.html +0 -294
- package/typedoc/functions/shared_dom.getIsolateScope.html +0 -295
- package/typedoc/functions/shared_dom.getOrSetCacheData.html +0 -330
- package/typedoc/functions/shared_dom.getScope.html +0 -295
- package/typedoc/functions/shared_dom.isRoot.html +0 -286
- package/typedoc/functions/shared_dom.isTextNode.html +0 -290
- package/typedoc/functions/shared_dom.kebabToCamel.html +0 -289
- package/typedoc/functions/shared_dom.parseHtml.html +0 -295
- package/typedoc/functions/shared_dom.removeElement.html +0 -297
- package/typedoc/functions/shared_dom.removeElementData.html +0 -305
- package/typedoc/functions/shared_dom.setCacheData.html +0 -328
- package/typedoc/functions/shared_dom.setInheritedData.html +0 -312
- package/typedoc/functions/shared_dom.setIsolateScope.html +0 -310
- package/typedoc/functions/shared_dom.setScope.html +0 -318
- package/typedoc/functions/shared_dom.snakeToCamel.html +0 -286
- package/typedoc/functions/shared_dom.startingTag.html +0 -301
- package/typedoc/functions/shared_hof.all.html +0 -305
- package/typedoc/functions/shared_hof.compose.html +0 -306
- package/typedoc/functions/shared_hof.curry.html +0 -319
- package/typedoc/functions/shared_hof.is.html +0 -297
- package/typedoc/functions/shared_hof.or.html +0 -312
- package/typedoc/functions/shared_hof.parse.html +0 -292
- package/typedoc/functions/shared_hof.pattern.html +0 -343
- package/typedoc/functions/shared_hof.pipe.html +0 -289
- package/typedoc/functions/shared_hof.val.html +0 -288
- package/typedoc/functions/shared_predicates.isInjectable.html +0 -294
- package/typedoc/functions/shared_predicates.isPromise.html +0 -292
- package/typedoc/functions/shared_strings.beforeAfterSubstr.html +0 -302
- package/typedoc/functions/shared_strings.fnToString.html +0 -281
- package/typedoc/functions/shared_strings.functionToString.html +0 -281
- package/typedoc/functions/shared_strings.joinNeighborsR.html +0 -327
- package/typedoc/functions/shared_strings.kebobString.html +0 -281
- package/typedoc/functions/shared_strings.maxLength.html +0 -309
- package/typedoc/functions/shared_strings.padString.html +0 -312
- package/typedoc/functions/shared_strings.splitOnDelim.html +0 -328
- package/typedoc/functions/shared_strings.stringify.html +0 -281
- package/typedoc/functions/shared_strings.stripLastPathElement.html +0 -284
- package/typedoc/functions/shared_strings.trimHashVal.html +0 -281
- package/typedoc/functions/shared_test-utils.bootstrap.html +0 -297
- package/typedoc/functions/shared_test-utils.browserTrigger.html +0 -307
- package/typedoc/functions/shared_test-utils.wait.html +0 -301
- package/typedoc/functions/shared_utils.addDateMinutes.html +0 -291
- package/typedoc/functions/shared_utils.arrayRemove.html +0 -344
- package/typedoc/functions/shared_utils.assert.html +0 -300
- package/typedoc/functions/shared_utils.assertArg.html +0 -305
- package/typedoc/functions/shared_utils.assertArgFn.html +0 -302
- package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +0 -310
- package/typedoc/functions/shared_utils.baseExtend.html +0 -301
- package/typedoc/functions/shared_utils.bind.html +0 -333
- package/typedoc/functions/shared_utils.concat.html +0 -301
- package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +0 -305
- package/typedoc/functions/shared_utils.csp.html +0 -263
- package/typedoc/functions/shared_utils.directiveNormalize.html +0 -295
- package/typedoc/functions/shared_utils.encodeUriQuery.html +0 -314
- package/typedoc/functions/shared_utils.encodeUriSegment.html +0 -302
- package/typedoc/functions/shared_utils.equals.html +0 -357
- package/typedoc/functions/shared_utils.errorHandlingConfig.html +0 -313
- package/typedoc/functions/shared_utils.extend.html +0 -323
- package/typedoc/functions/shared_utils.fromJson.html +0 -290
- package/typedoc/functions/shared_utils.getNgAttribute.html +0 -291
- package/typedoc/functions/shared_utils.getNodeName.html +0 -292
- package/typedoc/functions/shared_utils.hasAnimate.html +0 -286
- package/typedoc/functions/shared_utils.hasCustomToString.html +0 -281
- package/typedoc/functions/shared_utils.hasOwn.html +0 -339
- package/typedoc/functions/shared_utils.hashKey.html +0 -296
- package/typedoc/functions/shared_utils.includes.html +0 -291
- package/typedoc/functions/shared_utils.inherit.html +0 -294
- package/typedoc/functions/shared_utils.isArrayBuffer.html +0 -283
- package/typedoc/functions/shared_utils.isArrayLike.html +0 -290
- package/typedoc/functions/shared_utils.isBlankObject.html +0 -295
- package/typedoc/functions/shared_utils.isBlob.html +0 -283
- package/typedoc/functions/shared_utils.isBoolean.html +0 -283
- package/typedoc/functions/shared_utils.isDate.html +0 -281
- package/typedoc/functions/shared_utils.isDefined.html +0 -290
- package/typedoc/functions/shared_utils.isElement.html +0 -281
- package/typedoc/functions/shared_utils.isError.html +0 -296
- package/typedoc/functions/shared_utils.isFile.html +0 -283
- package/typedoc/functions/shared_utils.isFormData.html +0 -283
- package/typedoc/functions/shared_utils.isFunction.html +0 -290
- package/typedoc/functions/shared_utils.isNull.html +0 -290
- package/typedoc/functions/shared_utils.isNullOrUndefined.html +0 -290
- package/typedoc/functions/shared_utils.isNumber.html +0 -303
- package/typedoc/functions/shared_utils.isNumberNaN.html +0 -283
- package/typedoc/functions/shared_utils.isObject.html +0 -298
- package/typedoc/functions/shared_utils.isObjectEmpty.html +0 -283
- package/typedoc/functions/shared_utils.isPromiseLike.html +0 -283
- package/typedoc/functions/shared_utils.isProxy.html +0 -283
- package/typedoc/functions/shared_utils.isRegExp.html +0 -290
- package/typedoc/functions/shared_utils.isScope.html +0 -283
- package/typedoc/functions/shared_utils.isString.html +0 -290
- package/typedoc/functions/shared_utils.isTypedArray.html +0 -283
- package/typedoc/functions/shared_utils.isUndefined.html +0 -290
- package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +0 -287
- package/typedoc/functions/shared_utils.isWindow.html +0 -290
- package/typedoc/functions/shared_utils.lowercase.html +0 -302
- package/typedoc/functions/shared_utils.mergeClasses.html +0 -291
- package/typedoc/functions/shared_utils.minErr.html +0 -341
- package/typedoc/functions/shared_utils.nextUid.html +0 -268
- package/typedoc/functions/shared_utils.parseKeyValue.html +0 -288
- package/typedoc/functions/shared_utils.setHashKey.html +0 -303
- package/typedoc/functions/shared_utils.shallowCopy.html +0 -299
- package/typedoc/functions/shared_utils.simpleCompare.html +0 -291
- package/typedoc/functions/shared_utils.sliceArgs.html +0 -291
- package/typedoc/functions/shared_utils.snakeCase.html +0 -291
- package/typedoc/functions/shared_utils.stringify.html +0 -281
- package/typedoc/functions/shared_utils.timezoneToOffset.html +0 -291
- package/typedoc/functions/shared_utils.toDebugString.html +0 -281
- package/typedoc/functions/shared_utils.toInt.html +0 -280
- package/typedoc/functions/shared_utils.toJson.html +0 -350
- package/typedoc/functions/shared_utils.toKeyValue.html +0 -281
- package/typedoc/functions/shared_utils.trim.html +0 -280
- package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +0 -300
- package/typedoc/functions/shared_utils.uppercase.html +0 -302
- package/typedoc/hierarchy.html +0 -274
- package/typedoc/index.html +0 -668
- package/typedoc/interfaces/animations_animate.AnimationOptions.html +0 -506
- package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +0 -390
- package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +0 -448
- package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +0 -466
- package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +0 -596
- package/typedoc/interfaces/core_compile_compile.SimpleChange.html +0 -412
- package/typedoc/interfaces/core_location_location.DefaultPorts.html +0 -444
- package/typedoc/interfaces/core_location_location.Html5Mode.html +0 -491
- package/typedoc/interfaces/core_parse_ast_ast.Token.html +0 -598
- package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +0 -570
- package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +0 -959
- package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +0 -466
- package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +0 -378
- package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +0 -305
- package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +0 -455
- package/typedoc/interfaces/core_scope_scope.Listener.html +0 -688
- package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +0 -570
- package/typedoc/interfaces/interface.ChangesObject.html +0 -445
- package/typedoc/interfaces/interface.ComponentOptions.html +0 -712
- package/typedoc/interfaces/interface.Controller.html +0 -582
- package/typedoc/interfaces/interface.Directive.html +0 -1250
- package/typedoc/interfaces/interface.DirectivePrePost.html +0 -423
- package/typedoc/interfaces/interface.NgModelController.html +0 -1362
- package/typedoc/interfaces/interface.NgModelOptions.html +0 -660
- package/typedoc/interfaces/interface.Provider.html +0 -1056
- package/typedoc/interfaces/interface.TranscludeFunctionObject.html +0 -723
- package/typedoc/interfaces/loader.AngularBootstrapConfig.html +0 -374
- package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +0 -1211
- package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +0 -1273
- package/typedoc/interfaces/router_params_interface.RawParams.html +0 -295
- package/typedoc/interfaces/router_params_interface.Replace.html +0 -429
- package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +0 -291
- package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +0 -580
- package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +0 -601
- package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +0 -638
- package/typedoc/interfaces/router_state_interface.HrefOptions.html +0 -530
- package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +0 -390
- package/typedoc/interfaces/router_state_interface.StateDeclaration.html +0 -2461
- package/typedoc/interfaces/router_state_interface.TargetStateDef.html +0 -468
- package/typedoc/interfaces/router_state_interface.TransitionPromise.html +0 -1192
- package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +0 -1499
- package/typedoc/interfaces/router_template-factory.BindingTuple.html +0 -406
- package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +0 -719
- package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +0 -482
- package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +0 -2969
- package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +0 -594
- package/typedoc/interfaces/router_transition_interface.PathType.html +0 -411
- package/typedoc/interfaces/router_transition_interface.PathTypes.html +0 -588
- package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +0 -266
- package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +0 -316
- package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +0 -352
- package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +0 -627
- package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +0 -1096
- package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +0 -374
- package/typedoc/interfaces/router_transition_interface.TreeChanges.html +0 -769
- package/typedoc/interfaces/router_view_interface.ActiveUIView.html +0 -620
- package/typedoc/interfaces/router_view_interface.ViewConfig.html +0 -651
- package/typedoc/interfaces/router_view_interface.ViewContext.html +0 -419
- package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +0 -379
- package/typedoc/interfaces/services_log.LogService.html +0 -566
- package/typedoc/interfaces/shared_interface.TypedMap.html +0 -268
- package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +0 -435
- package/typedoc/media/CONTRIBUTING.md +0 -248
- package/typedoc/media/DEVELOPERS.md +0 -500
- package/typedoc/modules/animations_animate-cache.html +0 -383
- package/typedoc/modules/animations_animate-children-directive.html +0 -326
- package/typedoc/modules/animations_animate-css-driver.html +0 -324
- package/typedoc/modules/animations_animate-css.html +0 -320
- package/typedoc/modules/animations_animate-js-driver.html +0 -324
- package/typedoc/modules/animations_animate-js.html +0 -320
- package/typedoc/modules/animations_animate-queue.html +0 -320
- package/typedoc/modules/animations_animate-runner.html +0 -382
- package/typedoc/modules/animations_animate-swap.html +0 -320
- package/typedoc/modules/animations_animate.html +0 -447
- package/typedoc/modules/animations_animation.html +0 -320
- package/typedoc/modules/animations_interface.html +0 -322
- package/typedoc/modules/animations_raf-scheduler.html +0 -446
- package/typedoc/modules/animations_shared.html +0 -1535
- package/typedoc/modules/core_cache_cache-factory.html +0 -385
- package/typedoc/modules/core_cache_cache.html +0 -457
- package/typedoc/modules/core_compile_attributes.html +0 -319
- package/typedoc/modules/core_compile_compile.html +0 -755
- package/typedoc/modules/core_controller_controller.html +0 -385
- package/typedoc/modules/core_di_injector.html +0 -346
- package/typedoc/modules/core_di_internal-injector.html +0 -350
- package/typedoc/modules/core_di_ng-module.html +0 -490
- package/typedoc/modules/core_error-handler.html +0 -322
- package/typedoc/modules/core_exception-handler.html +0 -448
- package/typedoc/modules/core_filter_filter.html +0 -319
- package/typedoc/modules/core_interpolate_interpolate.html +0 -322
- package/typedoc/modules/core_location_location.html +0 -636
- package/typedoc/modules/core_parse_ast-type.html +0 -321
- package/typedoc/modules/core_parse_ast_ast-node.html +0 -322
- package/typedoc/modules/core_parse_ast_ast.html +0 -436
- package/typedoc/modules/core_parse_interface.html +0 -470
- package/typedoc/modules/core_parse_interpreter.html +0 -537
- package/typedoc/modules/core_parse_lexer_lexer.html +0 -440
- package/typedoc/modules/core_parse_lexer_token.html +0 -319
- package/typedoc/modules/core_parse_parse.html +0 -382
- package/typedoc/modules/core_parse_parser_parser.html +0 -381
- package/typedoc/modules/core_pubsub_pubsub.html +0 -471
- package/typedoc/modules/core_sanitize_interface.html +0 -320
- package/typedoc/modules/core_sanitize_sanitize-uri.html +0 -386
- package/typedoc/modules/core_sce_sce.html +0 -560
- package/typedoc/modules/core_scope_scope.html +0 -700
- package/typedoc/modules/core_task-tracker-factory.html +0 -481
- package/typedoc/modules/core_url-utils_url-utils.html +0 -527
- package/typedoc/modules/directive_aria_aria.html +0 -672
- package/typedoc/modules/directive_attrs_attrs.html +0 -350
- package/typedoc/modules/directive_bind_bind.html +0 -377
- package/typedoc/modules/directive_channel_channel.html +0 -322
- package/typedoc/modules/directive_class_class.html +0 -376
- package/typedoc/modules/directive_cloak_cloak.html +0 -320
- package/typedoc/modules/directive_controller_controller.html +0 -322
- package/typedoc/modules/directive_events_events.html +0 -383
- package/typedoc/modules/directive_form_form.html +0 -524
- package/typedoc/modules/directive_if_if.html +0 -319
- package/typedoc/modules/directive_include_include.html +0 -352
- package/typedoc/modules/directive_init_init.html +0 -319
- package/typedoc/modules/directive_input_input.html +0 -804
- package/typedoc/modules/directive_messages_messages.html +0 -473
- package/typedoc/modules/directive_model-options_model-options.html +0 -452
- package/typedoc/modules/directive_model_model.html +0 -445
- package/typedoc/modules/directive_non-bindable_non-bindable.html +0 -324
- package/typedoc/modules/directive_observe_observe.html +0 -322
- package/typedoc/modules/directive_options_options.html +0 -322
- package/typedoc/modules/directive_ref_ref.html +0 -319
- package/typedoc/modules/directive_repeat_repeat.html +0 -320
- package/typedoc/modules/directive_script_script.html +0 -320
- package/typedoc/modules/directive_select_select.html +0 -348
- package/typedoc/modules/directive_setter_setter.html +0 -320
- package/typedoc/modules/directive_show-hide_show-hide.html +0 -350
- package/typedoc/modules/directive_style_style.html +0 -320
- package/typedoc/modules/directive_switch_switch.html +0 -378
- package/typedoc/modules/directive_transclude_transclude.html +0 -322
- package/typedoc/modules/directive_validators_validators.html +0 -406
- package/typedoc/modules/filters_filter.html +0 -319
- package/typedoc/modules/filters_filters.html +0 -346
- package/typedoc/modules/filters_limit-to.html +0 -319
- package/typedoc/modules/filters_order-by.html +0 -319
- package/typedoc/modules/index.html +0 -241
- package/typedoc/modules/injection-tokens.html +0 -319
- package/typedoc/modules/interface.html +0 -1010
- package/typedoc/modules/loader.html +0 -380
- package/typedoc/modules/public.html +0 -380
- package/typedoc/modules/router_common_glob.html +0 -377
- package/typedoc/modules/router_common_queue.html +0 -315
- package/typedoc/modules/router_common_trace.html +0 -522
- package/typedoc/modules/router_directives_state-directives.html +0 -384
- package/typedoc/modules/router_directives_view-directive.html +0 -387
- package/typedoc/modules/router_globals.html +0 -383
- package/typedoc/modules/router_hooks_core-resolvables.html +0 -352
- package/typedoc/modules/router_hooks_ignored-transition.html +0 -324
- package/typedoc/modules/router_hooks_invalid-transition.html +0 -324
- package/typedoc/modules/router_hooks_lazy-load.html +0 -348
- package/typedoc/modules/router_hooks_on-enter-exit-retain.html +0 -380
- package/typedoc/modules/router_hooks_redirect-to.html +0 -320
- package/typedoc/modules/router_hooks_resolve.html +0 -443
- package/typedoc/modules/router_hooks_update-globals.html +0 -324
- package/typedoc/modules/router_hooks_url.html +0 -319
- package/typedoc/modules/router_hooks_views.html +0 -350
- package/typedoc/modules/router_params_interface.html +0 -402
- package/typedoc/modules/router_params_param-factory.html +0 -322
- package/typedoc/modules/router_params_param-type.html +0 -319
- package/typedoc/modules/router_params_param-types.html +0 -321
- package/typedoc/modules/router_params_param.html +0 -377
- package/typedoc/modules/router_params_state-params.html +0 -322
- package/typedoc/modules/router_path_path-node.html +0 -319
- package/typedoc/modules/router_path_path-utils.html +0 -382
- package/typedoc/modules/router_resolve_interface.html +0 -521
- package/typedoc/modules/router_resolve_resolvable.html +0 -384
- package/typedoc/modules/router_resolve_resolve-context.html +0 -385
- package/typedoc/modules/router_state-filters.html +0 -349
- package/typedoc/modules/router_state-provider.html +0 -319
- package/typedoc/modules/router_state_interface.html +0 -606
- package/typedoc/modules/router_state_state-builder.html +0 -385
- package/typedoc/modules/router_state_state-matcher.html +0 -322
- package/typedoc/modules/router_state_state-object.html +0 -385
- package/typedoc/modules/router_state_state-queue-manager.html +0 -324
- package/typedoc/modules/router_state_state-registry.html +0 -449
- package/typedoc/modules/router_state_state-service.html +0 -322
- package/typedoc/modules/router_state_target-state.html +0 -321
- package/typedoc/modules/router_state_views.html +0 -409
- package/typedoc/modules/router_template-factory.html +0 -383
- package/typedoc/modules/router_transition_hook-builder.html +0 -322
- package/typedoc/modules/router_transition_hook-registry.html +0 -413
- package/typedoc/modules/router_transition_interface.html +0 -927
- package/typedoc/modules/router_transition_reject-factory.html +0 -390
- package/typedoc/modules/router_transition_transition-event-type.html +0 -324
- package/typedoc/modules/router_transition_transition-hook.html +0 -324
- package/typedoc/modules/router_transition_transition-service.html +0 -387
- package/typedoc/modules/router_transition_transition.html +0 -386
- package/typedoc/modules/router_url_url-config.html +0 -320
- package/typedoc/modules/router_url_url-matcher.html +0 -319
- package/typedoc/modules/router_url_url-rule.html +0 -346
- package/typedoc/modules/router_url_url-rules.html +0 -319
- package/typedoc/modules/router_url_url-service.html +0 -319
- package/typedoc/modules/router_view-scroll.html +0 -319
- package/typedoc/modules/router_view_interface.html +0 -373
- package/typedoc/modules/router_view_view.html +0 -319
- package/typedoc/modules/services_anchor-scroll.html +0 -477
- package/typedoc/modules/services_browser.html +0 -472
- package/typedoc/modules/services_cookie-reader.html +0 -319
- package/typedoc/modules/services_http-backend_http-backend.html +0 -387
- package/typedoc/modules/services_http_http.html +0 -414
- package/typedoc/modules/services_log.html +0 -507
- package/typedoc/modules/services_template-request.html +0 -322
- package/typedoc/modules/shared_common.html +0 -1145
- package/typedoc/modules/shared_constants.html +0 -590
- package/typedoc/modules/shared_dom.html +0 -1185
- package/typedoc/modules/shared_hof.html +0 -566
- package/typedoc/modules/shared_interface.html +0 -436
- package/typedoc/modules/shared_noderef.html +0 -318
- package/typedoc/modules/shared_predicates.html +0 -346
- package/typedoc/modules/shared_strings.html +0 -732
- package/typedoc/modules/shared_test-utils.html +0 -369
- package/typedoc/modules/shared_utils.html +0 -2343
- package/typedoc/modules.html +0 -4406
- package/typedoc/types/animations_animate.AnimationMethod.html +0 -265
- package/typedoc/types/animations_interface.RafScheduler.html +0 -602
- package/typedoc/types/core_cache_cache-factory.TemplateCache.html +0 -257
- package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +0 -251
- package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +0 -279
- package/typedoc/types/core_compile_compile.CompileFn.html +0 -445
- package/typedoc/types/core_compile_compile.CompileNodesFn.html +0 -252
- package/typedoc/types/core_compile_compile.CompositeLinkFn.html +0 -358
- package/typedoc/types/core_compile_compile.NodeLinkFn.html +0 -285
- package/typedoc/types/core_compile_compile.PublicLinkFn.html +0 -381
- package/typedoc/types/core_compile_compile.TranscludeFn.html +0 -364
- package/typedoc/types/core_error-handler.ErrorHandler.html +0 -321
- package/typedoc/types/core_exception-handler.LogService.html +0 -256
- package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +0 -1457
- package/typedoc/types/core_parse_interface.CompiledExpression.html +0 -268
- package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +0 -347
- package/typedoc/types/core_parse_interface.ParseService.html +0 -474
- package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +0 -279
- package/typedoc/types/core_scope_scope.ListenerFunction.html +0 -313
- package/typedoc/types/core_task-tracker-factory.AnnotatedFactory.html +0 -278
- package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +0 -254
- package/typedoc/types/interface.CloneAttachFunction.html +0 -318
- package/typedoc/types/interface.ControllerConstructor.html +0 -315
- package/typedoc/types/interface.DirectiveCompileFn.html +0 -406
- package/typedoc/types/interface.DirectiveController.html +0 -274
- package/typedoc/types/interface.DirectiveFactory.html +0 -328
- package/typedoc/types/interface.DirectiveLinkFn.html +0 -420
- package/typedoc/types/interface.Expression.html +0 -259
- package/typedoc/types/interface.FilterFactory.html +0 -310
- package/typedoc/types/interface.FilterFn.html +0 -314
- package/typedoc/types/interface.Injectable.html +0 -257
- package/typedoc/types/interface.InjectableFactory.html +0 -309
- package/typedoc/types/interface.OnChangesObject.html +0 -259
- package/typedoc/types/interface.TController.html +0 -261
- package/typedoc/types/router_resolve_interface.PolicyAsync.html +0 -259
- package/typedoc/types/router_resolve_interface.PolicyWhen.html +0 -253
- package/typedoc/types/router_state_interface.RedirectToResult.html +0 -287
- package/typedoc/types/router_state_interface.ResolveTypes.html +0 -267
- package/typedoc/types/router_state_interface.StateOrName.html +0 -263
- package/typedoc/types/router_state_interface._StateDeclaration.html +0 -274
- package/typedoc/types/router_transition_interface.HookFn.html +0 -267
- package/typedoc/types/router_transition_interface.HookMatchCriterion.html +0 -270
- package/typedoc/types/router_transition_interface.HookResult.html +0 -310
- package/typedoc/types/router_transition_interface.IHookRegistration.html +0 -362
- package/typedoc/types/router_transition_interface.IStateMatch.html +0 -272
- package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +0 -292
- package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +0 -262
- package/typedoc/types/services_browser.UrlChangeListener.html +0 -250
- package/typedoc/types/services_log.LogCall.html +0 -294
- package/typedoc/types/shared_interface.Mapper.html +0 -337
- package/typedoc/types/shared_interface.Predicate.html +0 -305
- package/typedoc/types/shared_interface.PredicateBinary.html +0 -330
- package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +0 -249
- package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +0 -249
- package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +0 -252
- package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +0 -252
- package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +0 -255
- package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +0 -251
- package/typedoc/variables/animations_shared.ANIMATION_PROP.html +0 -249
- package/typedoc/variables/animations_shared.CSS_PREFIX.html +0 -250
- package/typedoc/variables/animations_shared.DELAY_KEY.html +0 -249
- package/typedoc/variables/animations_shared.DURATION_KEY.html +0 -249
- package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +0 -249
- package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +0 -253
- package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +0 -251
- package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.PROPERTY_KEY.html +0 -250
- package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +0 -251
- package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +0 -257
- package/typedoc/variables/animations_shared.TIMING_KEY.html +0 -249
- package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +0 -249
- package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +0 -252
- package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +0 -252
- package/typedoc/variables/animations_shared.TRANSITION_PROP.html +0 -249
- package/typedoc/variables/animations_shared.ngMinErr.html +0 -307
- package/typedoc/variables/core_cache_cache.Cache.html +0 -267
- package/typedoc/variables/core_cache_cache.EXPANDO.html +0 -250
- package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +0 -253
- package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +0 -253
- package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +0 -251
- package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +0 -251
- package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +0 -249
- package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +0 -249
- package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +0 -251
- package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +0 -251
- package/typedoc/variables/core_pubsub_pubsub.EventBus.html +0 -255
- package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +0 -327
- package/typedoc/variables/core_scope_scope.NONSCOPE.html +0 -253
- package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +0 -252
- package/typedoc/variables/core_scope_scope._postUpdateQueue.html +0 -252
- package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +0 -254
- package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +0 -262
- package/typedoc/variables/directive_class_class.ngClassDirective.html +0 -285
- package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +0 -287
- package/typedoc/variables/directive_class_class.ngClassOddDirective.html +0 -287
- package/typedoc/variables/directive_events_events.ngEventDirectives.html +0 -256
- package/typedoc/variables/directive_form_form.PENDING_CLASS.html +0 -251
- package/typedoc/variables/directive_form_form.formDirective.html +0 -340
- package/typedoc/variables/directive_form_form.ngFormDirective.html +0 -340
- package/typedoc/variables/directive_form_form.nullFormCtrl.html +0 -424
- package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.URL_REGEXP.html +0 -252
- package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +0 -253
- package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +0 -496
- package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +0 -492
- package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +0 -494
- package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +0 -254
- package/typedoc/variables/directive_model_model.ngModelMinErr.html +0 -309
- package/typedoc/variables/directive_options_options.ngOptionsDirective.html +0 -692
- package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +0 -343
- package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +0 -401
- package/typedoc/variables/directive_validators_validators.minlengthDirective.html +0 -363
- package/typedoc/variables/directive_validators_validators.patternDirective.html +0 -424
- package/typedoc/variables/directive_validators_validators.requiredDirective.html +0 -388
- package/typedoc/variables/injection-tokens._injectTokens.html +0 -270
- package/typedoc/variables/public.VERSION.html +0 -247
- package/typedoc/variables/router_common_trace.trace.html +0 -287
- package/typedoc/variables/router_directives_view-directive.ngView.html +0 -499
- package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +0 -253
- package/typedoc/variables/router_params_param.DefType.html +0 -251
- package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +0 -279
- package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +0 -315
- package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +0 -380
- package/typedoc/variables/services_log.LogService.html +0 -252
- package/typedoc/variables/shared_common.assertMap.html +0 -344
- package/typedoc/variables/shared_common.assertPredicate.html +0 -344
- package/typedoc/variables/shared_common.pushTo.html +0 -252
- package/typedoc/variables/shared_common.removeFrom.html +0 -255
- package/typedoc/variables/shared_constants.ALIASED_ATTR.html +0 -329
- package/typedoc/variables/shared_constants.DIRTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.EMPTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.INVALID_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +0 -250
- package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +0 -252
- package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +0 -249
- package/typedoc/variables/shared_constants.VALID_CLASS.html +0 -249
- package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +0 -253
- package/typedoc/variables/shared_hof.propEq.html +0 -258
- package/typedoc/variables/shared_strings.hostRegex.html +0 -248
- package/typedoc/variables/shared_strings.splitEqual.html +0 -291
- package/typedoc/variables/shared_strings.splitHash.html +0 -291
- package/typedoc/variables/shared_strings.splitQuery.html +0 -291
- package/typedoc/variables/shared_utils.isProxySymbol.html +0 -250
- package/typedoc/variables/shared_utils.ngAttrPrefixes.html +0 -249
- /package/{typedoc → docs/static/typedoc}/.nojekyll +0 -0
- /package/{typedoc → docs/static/typedoc}/assets/icons.svg +0 -0
|
@@ -0,0 +1,211 @@
|
|
|
1
|
+
import { Angular } from "../../loader.js";
|
|
2
|
+
import { browserTrigger, wait } from "../../shared/test-utils.js";
|
|
3
|
+
|
|
4
|
+
describe("ngGet", () => {
|
|
5
|
+
let $compile, $rootScope, $log, el;
|
|
6
|
+
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
el = document.getElementById("app");
|
|
9
|
+
el.innerHTML = "";
|
|
10
|
+
let angular = new Angular();
|
|
11
|
+
angular.module("default", []);
|
|
12
|
+
angular
|
|
13
|
+
.bootstrap(el, ["default"])
|
|
14
|
+
.invoke((_$compile_, _$rootScope_, _$log_) => {
|
|
15
|
+
$compile = _$compile_;
|
|
16
|
+
$rootScope = _$rootScope_;
|
|
17
|
+
$log = _$log_;
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it("should replace innerHTML (default) on click", async () => {
|
|
22
|
+
const scope = $rootScope.$new();
|
|
23
|
+
el.innerHTML = '<button ng-get="/mock/hello">Load</button>';
|
|
24
|
+
$compile(el)(scope);
|
|
25
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
26
|
+
await wait(100);
|
|
27
|
+
expect(el.innerText).toBe("Hello");
|
|
28
|
+
});
|
|
29
|
+
|
|
30
|
+
it("should replace innerHTML (default) on click when used with expression", async () => {
|
|
31
|
+
const scope = $rootScope.$new();
|
|
32
|
+
el.innerHTML = '<button ng-get="/mock/{{a}}">Load</button>';
|
|
33
|
+
scope.a = "div";
|
|
34
|
+
$compile(el)(scope);
|
|
35
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
36
|
+
await wait(100);
|
|
37
|
+
expect(el.firstChild.innerHTML).toBe("<div>Hello</div>");
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it("should replace innerHTML on error", async () => {
|
|
41
|
+
const scope = $rootScope.$new();
|
|
42
|
+
el.innerHTML = '<button ng-get="/mock/422">Load</button>';
|
|
43
|
+
$compile(el)(scope);
|
|
44
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
45
|
+
await wait(100);
|
|
46
|
+
expect(el.innerText).toBe("Invalid data");
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("should not trigger request if element is disabled", async () => {
|
|
50
|
+
el.innerHTML = '<button ng-get="/mock/hello" disabled>Load</button>';
|
|
51
|
+
const scope = $rootScope.$new();
|
|
52
|
+
$compile(el)(scope);
|
|
53
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
54
|
+
await wait(100);
|
|
55
|
+
expect(el.innerText).toBe("Load");
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
it("should replace innerHTML on statuc error without a body", async () => {
|
|
59
|
+
const scope = $rootScope.$new();
|
|
60
|
+
el.innerHTML = '<button ng-get="/mock/401">Load</button>';
|
|
61
|
+
$compile(el)(scope);
|
|
62
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
63
|
+
await wait(100);
|
|
64
|
+
expect(el.innerText).toBe("Unauthorized");
|
|
65
|
+
});
|
|
66
|
+
|
|
67
|
+
describe("data-swap", () => {
|
|
68
|
+
it("should not change anything if swap is 'none'", async () => {
|
|
69
|
+
const scope = $rootScope.$new();
|
|
70
|
+
el.innerHTML =
|
|
71
|
+
'<button ng-get="/mock/div" data-swap="none" data-target="#found">Load</button><div id="found">Original</div>';
|
|
72
|
+
$compile(el)(scope);
|
|
73
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
74
|
+
await wait(100);
|
|
75
|
+
const found = el.querySelector("#found");
|
|
76
|
+
expect(found.textContent).toBe("Original");
|
|
77
|
+
});
|
|
78
|
+
|
|
79
|
+
it("should replace outerHTML on click", async () => {
|
|
80
|
+
const scope = $rootScope.$new();
|
|
81
|
+
el.innerHTML =
|
|
82
|
+
'<button ng-get="/mock/hello" data-swap="outerHTML">Load</button>';
|
|
83
|
+
$compile(el)(scope);
|
|
84
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
85
|
+
await wait(100);
|
|
86
|
+
expect(el.innerText).toBe("Hello");
|
|
87
|
+
});
|
|
88
|
+
|
|
89
|
+
it("should replace textcontent on click", async () => {
|
|
90
|
+
const scope = $rootScope.$new();
|
|
91
|
+
el.innerHTML =
|
|
92
|
+
'<button ng-get="/mock/hello" data-swap="textContent">Load</button>';
|
|
93
|
+
$compile(el)(scope);
|
|
94
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
95
|
+
await wait(100);
|
|
96
|
+
expect(el.innerText).toBe("Hello");
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
it("should replace beforebegin on click", async () => {
|
|
100
|
+
const scope = $rootScope.$new();
|
|
101
|
+
el.innerHTML =
|
|
102
|
+
'<button ng-get="/mock/div" data-swap="beforebegin">Load</button>';
|
|
103
|
+
$compile(el)(scope);
|
|
104
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
105
|
+
await wait(100);
|
|
106
|
+
expect(el.firstChild.innerText).toBe("Hello");
|
|
107
|
+
});
|
|
108
|
+
|
|
109
|
+
it("should replace beforeend on click", async () => {
|
|
110
|
+
const scope = $rootScope.$new();
|
|
111
|
+
el.innerHTML =
|
|
112
|
+
'<button ng-get="/mock/div" data-swap="beforeend">Load</button>';
|
|
113
|
+
$compile(el)(scope);
|
|
114
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
115
|
+
await wait(100);
|
|
116
|
+
expect(el.firstChild.lastChild.innerText).toBe("Hello");
|
|
117
|
+
});
|
|
118
|
+
|
|
119
|
+
it("should delete the target on click", async () => {
|
|
120
|
+
const scope = $rootScope.$new();
|
|
121
|
+
el.innerHTML =
|
|
122
|
+
'<button ng-get="/mock/hello" data-swap="delete" data-target="#found">Load</button><div id="found"></div>';
|
|
123
|
+
$compile(el)(scope);
|
|
124
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
125
|
+
await wait(100);
|
|
126
|
+
expect(el.querySelector("#found")).toBeNull();
|
|
127
|
+
});
|
|
128
|
+
});
|
|
129
|
+
|
|
130
|
+
describe("data-target", () => {
|
|
131
|
+
it("should remain unchanged if target is not found and log a warning", async () => {
|
|
132
|
+
const scope = $rootScope.$new();
|
|
133
|
+
spyOn($log, "warn");
|
|
134
|
+
el.innerHTML =
|
|
135
|
+
'<button ng-get="/mock/hello" data-target="#missing">Load</button>';
|
|
136
|
+
$compile(el)(scope);
|
|
137
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
138
|
+
await wait(100);
|
|
139
|
+
expect(el.firstChild.innerText).toBe("Load");
|
|
140
|
+
expect($log.warn).toHaveBeenCalled();
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
it("should replace target innerHTML (default) on click", async () => {
|
|
144
|
+
const scope = $rootScope.$new();
|
|
145
|
+
el.innerHTML =
|
|
146
|
+
'<button ng-get="/mock/hello" data-target="#found">Load</button><div id="found"></div>';
|
|
147
|
+
$compile(el)(scope);
|
|
148
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
149
|
+
await wait(100);
|
|
150
|
+
expect(el.lastChild.innerHTML).toBe("Hello");
|
|
151
|
+
});
|
|
152
|
+
|
|
153
|
+
it("should replace textcontent on click", async () => {
|
|
154
|
+
const scope = $rootScope.$new();
|
|
155
|
+
el.innerHTML =
|
|
156
|
+
'<button ng-get="/mock/hello" data-swap="textContent" data-target="#found">Load</button><div id="found"></div>';
|
|
157
|
+
$compile(el)(scope);
|
|
158
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
159
|
+
await wait(100);
|
|
160
|
+
expect(el.lastChild.innerText).toBe("Hello");
|
|
161
|
+
});
|
|
162
|
+
|
|
163
|
+
it("should replace beforebegin on click", async () => {
|
|
164
|
+
const scope = $rootScope.$new();
|
|
165
|
+
el.innerHTML =
|
|
166
|
+
'<button ng-get="/mock/div" data-swap="beforebegin" data-target="#found">Load</button><div id="found"></div>';
|
|
167
|
+
$compile(el)(scope);
|
|
168
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
169
|
+
await wait(100);
|
|
170
|
+
const found = el.querySelector("#found");
|
|
171
|
+
// The sibling before #found should contain "Hello"
|
|
172
|
+
const prevSibling = found.previousSibling;
|
|
173
|
+
expect(prevSibling.textContent).toBe("Hello");
|
|
174
|
+
expect(found.textContent).toBe(""); // found itself unchanged
|
|
175
|
+
});
|
|
176
|
+
|
|
177
|
+
it("should replace beforeend on click", async () => {
|
|
178
|
+
const scope = $rootScope.$new();
|
|
179
|
+
el.innerHTML =
|
|
180
|
+
'<button ng-get="/mock/div" data-swap="beforeend" data-target="#found">Load</button><div id="found"></div>';
|
|
181
|
+
$compile(el)(scope);
|
|
182
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
183
|
+
await wait(100);
|
|
184
|
+
const found = el.querySelector("#found");
|
|
185
|
+
expect(found.textContent).toBe("Hello");
|
|
186
|
+
});
|
|
187
|
+
|
|
188
|
+
it("should insert afterbegin on click", async () => {
|
|
189
|
+
const scope = $rootScope.$new();
|
|
190
|
+
el.innerHTML =
|
|
191
|
+
'<button ng-get="/mock/div" data-swap="afterbegin" data-target="#found">Load</button><div id="found"><div>World</div></div>';
|
|
192
|
+
$compile(el)(scope);
|
|
193
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
194
|
+
await wait(100);
|
|
195
|
+
const found = el.querySelector("#found");
|
|
196
|
+
expect(found.textContent).toBe("HelloWorld");
|
|
197
|
+
});
|
|
198
|
+
|
|
199
|
+
it("should insert afterend on click", async () => {
|
|
200
|
+
const scope = $rootScope.$new();
|
|
201
|
+
el.innerHTML =
|
|
202
|
+
'<button ng-get="/mock/div" data-swap="afterend" data-target="#found">Load</button><div id="found"><div>World</div></div>';
|
|
203
|
+
$compile(el)(scope);
|
|
204
|
+
browserTrigger(el.querySelector("button"), "click");
|
|
205
|
+
await wait(100);
|
|
206
|
+
const found = el.querySelector("#found");
|
|
207
|
+
const next = found.nextSibling;
|
|
208
|
+
expect(el.lastChild.textContent).toBe("Hello");
|
|
209
|
+
});
|
|
210
|
+
});
|
|
211
|
+
});
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>AngularTS Test Runner</title>
|
|
6
|
+
|
|
7
|
+
<link rel="shortcut icon" type="image/png" href="/images/favicon.ico" />
|
|
8
|
+
<link rel="stylesheet" href="/jasmine/jasmine.css" />
|
|
9
|
+
<link rel="stylesheet" href="/public/jasmine-helper.css" />
|
|
10
|
+
<script src="/jasmine/jasmine.js"></script>
|
|
11
|
+
<script src="/jasmine/jasmine-html.js"></script>
|
|
12
|
+
<script src="/jasmine/boot0.js"></script>
|
|
13
|
+
<script src="/jasmine/boot1.js"></script>
|
|
14
|
+
<script type="module" src="/src/directive/http/get.spec.js"></script>
|
|
15
|
+
<script type="module" src="/src/directive/http/post.spec.js"></script>
|
|
16
|
+
<script type="module" src="/src/directive/http/put.spec.js"></script>
|
|
17
|
+
<script type="module" src="/src/directive/http/delete.spec.js"></script>
|
|
18
|
+
</head>
|
|
19
|
+
<body>
|
|
20
|
+
<div id="app"></div>
|
|
21
|
+
</body>
|
|
22
|
+
</html>
|
|
@@ -0,0 +1,245 @@
|
|
|
1
|
+
import { isObject } from "../../shared/utils.js";
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* @param {"get" | "delete" | "post" | "put"} method
|
|
5
|
+
* @returns {import('../../interface.ts').DirectiveFactory}
|
|
6
|
+
*/
|
|
7
|
+
function defineDirective(method) {
|
|
8
|
+
const attrName = "ng" + method.charAt(0).toUpperCase() + method.slice(1);
|
|
9
|
+
const directive = createHttpDirective(method, attrName);
|
|
10
|
+
directive["$inject"] = ["$http", "$compile", "$log"];
|
|
11
|
+
return directive;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export const ngGetDirective = defineDirective("get");
|
|
15
|
+
export const ngDeleteDirective = defineDirective("delete");
|
|
16
|
+
export const ngPostDirective = defineDirective("post");
|
|
17
|
+
export const ngPutDirective = defineDirective("put");
|
|
18
|
+
|
|
19
|
+
/**
|
|
20
|
+
* @typedef {"click" | "change" | "submit"} EventType
|
|
21
|
+
*/
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* Selects DOM event to listen for based on the element type.
|
|
25
|
+
*
|
|
26
|
+
* @param {Element} element - The DOM element to inspect.
|
|
27
|
+
* @returns {EventType} The name of the event to listen for.
|
|
28
|
+
*/
|
|
29
|
+
export function getEventNameForElement(element) {
|
|
30
|
+
const tag = element.tagName.toLowerCase();
|
|
31
|
+
if (["input", "textarea", "select"].includes(tag)) {
|
|
32
|
+
return "change";
|
|
33
|
+
} else if (tag === "form") {
|
|
34
|
+
return "submit";
|
|
35
|
+
}
|
|
36
|
+
return "click";
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* Handles DOM manipulation based on a swap strategy and server-rendered HTML.
|
|
41
|
+
*
|
|
42
|
+
* @param {string} html - The HTML string returned from the server.
|
|
43
|
+
* @param {import("../../interface.ts").SwapInsertPosition} swap
|
|
44
|
+
* @param {Element} target - The target DOM element to apply the swap to.
|
|
45
|
+
* @param {import('../../core/scope/scope.js').Scope} scope
|
|
46
|
+
* @param {import('../../core/compile/compile.js').CompileFn} $compile
|
|
47
|
+
*/
|
|
48
|
+
export function handleSwapResponse(html, swap, target, scope, $compile) {
|
|
49
|
+
let nodes = [];
|
|
50
|
+
if (!["textcontent", "delete", "none"].includes(swap)) {
|
|
51
|
+
if (!html) {
|
|
52
|
+
return;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
if (isObject(html)) {
|
|
56
|
+
scope.$merge(html);
|
|
57
|
+
return;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
const compiled = $compile(html)(scope);
|
|
61
|
+
nodes =
|
|
62
|
+
compiled instanceof DocumentFragment
|
|
63
|
+
? Array.from(compiled.childNodes)
|
|
64
|
+
: [compiled];
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
switch (swap) {
|
|
68
|
+
case "innerHTML":
|
|
69
|
+
target.replaceChildren(...nodes);
|
|
70
|
+
break;
|
|
71
|
+
|
|
72
|
+
case "outerHTML": {
|
|
73
|
+
const parent = target.parentNode;
|
|
74
|
+
if (!parent) return;
|
|
75
|
+
const frag = document.createDocumentFragment();
|
|
76
|
+
nodes.forEach((n) => frag.appendChild(n));
|
|
77
|
+
parent.replaceChild(frag, target);
|
|
78
|
+
break;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
case "textContent":
|
|
82
|
+
target.textContent = html;
|
|
83
|
+
break;
|
|
84
|
+
|
|
85
|
+
case "beforebegin":
|
|
86
|
+
nodes.forEach((node) => target.parentNode.insertBefore(node, target));
|
|
87
|
+
break;
|
|
88
|
+
|
|
89
|
+
case "afterbegin":
|
|
90
|
+
nodes
|
|
91
|
+
.slice()
|
|
92
|
+
.reverse()
|
|
93
|
+
.forEach((node) => target.insertBefore(node, target.firstChild));
|
|
94
|
+
break;
|
|
95
|
+
|
|
96
|
+
case "beforeend":
|
|
97
|
+
nodes.forEach((node) => target.appendChild(node));
|
|
98
|
+
break;
|
|
99
|
+
|
|
100
|
+
case "afterend":
|
|
101
|
+
nodes
|
|
102
|
+
.slice()
|
|
103
|
+
.reverse()
|
|
104
|
+
.forEach((node) =>
|
|
105
|
+
target.parentNode.insertBefore(node, target.nextSibling),
|
|
106
|
+
);
|
|
107
|
+
break;
|
|
108
|
+
|
|
109
|
+
case "delete":
|
|
110
|
+
target.remove();
|
|
111
|
+
break;
|
|
112
|
+
|
|
113
|
+
case "none":
|
|
114
|
+
break;
|
|
115
|
+
|
|
116
|
+
default:
|
|
117
|
+
target.replaceChildren(...nodes);
|
|
118
|
+
break;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
/**
|
|
123
|
+
* Creates an HTTP directive factory that supports GET, DELETE, POST, PUT.
|
|
124
|
+
*
|
|
125
|
+
* @param {"get" | "delete" | "post" | "put"} method - HTTP method to use.
|
|
126
|
+
* @param {string} attrName - Attribute name containing the URL.
|
|
127
|
+
* @returns {import('../../interface.ts').DirectiveFactory}
|
|
128
|
+
*/
|
|
129
|
+
export function createHttpDirective(method, attrName) {
|
|
130
|
+
/**
|
|
131
|
+
* @param {import("interface.ts").HttpService} $http
|
|
132
|
+
* @param {import("../../core/compile/compile.js").CompileFn} $compile
|
|
133
|
+
* @param {import("../../services/log/interface.ts").LogService} $log
|
|
134
|
+
* @returns {import('../../interface.ts').Directive}
|
|
135
|
+
*/
|
|
136
|
+
return function ($http, $compile, $log) {
|
|
137
|
+
/**
|
|
138
|
+
* Collects form data from the element or its associated form.
|
|
139
|
+
*
|
|
140
|
+
* @param {HTMLElement} element
|
|
141
|
+
* @returns {Object<string, any>}
|
|
142
|
+
*/
|
|
143
|
+
function collectFormData(element) {
|
|
144
|
+
/** @type {HTMLFormElement | null} */
|
|
145
|
+
let form = null;
|
|
146
|
+
|
|
147
|
+
const tag = element.tagName.toLowerCase();
|
|
148
|
+
|
|
149
|
+
if (tag === "form") {
|
|
150
|
+
/** @type {HTMLFormElement} */
|
|
151
|
+
form = /** @type {HTMLFormElement} */ (element);
|
|
152
|
+
} else if ("form" in element && element.form) {
|
|
153
|
+
/** @type {HTMLFormElement} */
|
|
154
|
+
form = /** @type {HTMLFormElement} */ (element.form);
|
|
155
|
+
} else if (element.hasAttribute("form")) {
|
|
156
|
+
const formId = element.getAttribute("form");
|
|
157
|
+
if (formId) {
|
|
158
|
+
/** @type {HTMLElement | null} */
|
|
159
|
+
const maybeForm = document.getElementById(formId);
|
|
160
|
+
if (maybeForm && maybeForm.tagName.toLowerCase() === "form") {
|
|
161
|
+
form = /** @type {HTMLFormElement} */ (maybeForm);
|
|
162
|
+
}
|
|
163
|
+
}
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
if (!form) {
|
|
167
|
+
if (
|
|
168
|
+
"name" in element &&
|
|
169
|
+
typeof element.name === "string" &&
|
|
170
|
+
element.name.length > 0
|
|
171
|
+
) {
|
|
172
|
+
if (
|
|
173
|
+
element instanceof HTMLInputElement ||
|
|
174
|
+
element instanceof HTMLTextAreaElement ||
|
|
175
|
+
element instanceof HTMLSelectElement
|
|
176
|
+
) {
|
|
177
|
+
const key = element.name;
|
|
178
|
+
const value = element.value;
|
|
179
|
+
return { [key]: value };
|
|
180
|
+
}
|
|
181
|
+
}
|
|
182
|
+
return {};
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
const formData = new FormData(form);
|
|
186
|
+
const data = {};
|
|
187
|
+
formData.forEach((value, key) => {
|
|
188
|
+
data[key] = value;
|
|
189
|
+
});
|
|
190
|
+
return data;
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
return {
|
|
194
|
+
restrict: "A",
|
|
195
|
+
terminal: true,
|
|
196
|
+
link(scope, element, attrs) {
|
|
197
|
+
/** @type {EventType} */
|
|
198
|
+
const eventName = getEventNameForElement(element);
|
|
199
|
+
const tag = element.tagName.toLowerCase();
|
|
200
|
+
|
|
201
|
+
element.addEventListener(eventName, (event) => {
|
|
202
|
+
if (/** @type {HTMLButtonElement} */ (element).disabled) return;
|
|
203
|
+
if (tag === "form") event.preventDefault();
|
|
204
|
+
|
|
205
|
+
const swap = element.dataset.swap || "innerHTML";
|
|
206
|
+
const targetSelector = element.dataset.target;
|
|
207
|
+
const target = targetSelector
|
|
208
|
+
? document.querySelector(targetSelector)
|
|
209
|
+
: element;
|
|
210
|
+
|
|
211
|
+
if (!target) {
|
|
212
|
+
$log.warn(`${attrName}: target "${targetSelector}" not found`);
|
|
213
|
+
return;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
const url = attrs[attrName];
|
|
217
|
+
if (!url) {
|
|
218
|
+
$log.warn(`${attrName}: no URL specified`);
|
|
219
|
+
return;
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
const handler = (res) => {
|
|
223
|
+
const html = res.data;
|
|
224
|
+
handleSwapResponse(
|
|
225
|
+
html,
|
|
226
|
+
/** @type {import("../../interface.ts").SwapInsertPosition} */ (
|
|
227
|
+
swap
|
|
228
|
+
),
|
|
229
|
+
target,
|
|
230
|
+
scope,
|
|
231
|
+
$compile,
|
|
232
|
+
);
|
|
233
|
+
};
|
|
234
|
+
|
|
235
|
+
if (method === "post" || method === "put") {
|
|
236
|
+
const data = collectFormData(element);
|
|
237
|
+
$http[method](url, data).then(handler).catch(handler);
|
|
238
|
+
} else {
|
|
239
|
+
$http[method](url).then(handler).catch(handler);
|
|
240
|
+
}
|
|
241
|
+
});
|
|
242
|
+
},
|
|
243
|
+
};
|
|
244
|
+
};
|
|
245
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { test, expect } from "@playwright/test";
|
|
2
|
+
|
|
3
|
+
const TEST_URL = "src/directive/http/http.html";
|
|
4
|
+
|
|
5
|
+
test("unit tests contain no errors", async ({ page }) => {
|
|
6
|
+
await page.goto(TEST_URL);
|
|
7
|
+
await page.content();
|
|
8
|
+
await page.waitForTimeout(3000);
|
|
9
|
+
await expect(page.locator(".jasmine-overall-result")).toHaveText(
|
|
10
|
+
/0 failures/,
|
|
11
|
+
);
|
|
12
|
+
});
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
<!doctype html>
|
|
2
|
+
<html>
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="utf-8" />
|
|
5
|
+
<title>AngularTS</title>
|
|
6
|
+
<link rel="shortcut icon" type="image/png" href="images/favicon.ico" />
|
|
7
|
+
<script type="module" src="/src/index.js"></script>
|
|
8
|
+
</head>
|
|
9
|
+
<body ng-app>
|
|
10
|
+
InnerHTML
|
|
11
|
+
<form ng-post="/mock/posthtml">
|
|
12
|
+
<input name="name" />
|
|
13
|
+
<button type="submit">Test</button>
|
|
14
|
+
</form>
|
|
15
|
+
|
|
16
|
+
Target
|
|
17
|
+
<form ng-post="/mock/posthtml" data-target="#output">
|
|
18
|
+
<input name="name" />
|
|
19
|
+
<button type="submit">Test</button>
|
|
20
|
+
</form>
|
|
21
|
+
<div id="output"></div>
|
|
22
|
+
|
|
23
|
+
Target
|
|
24
|
+
<form ng-post="/mock/posthtml" data-target="#output">
|
|
25
|
+
<input name="name" />
|
|
26
|
+
<button type="submit">Test</button>
|
|
27
|
+
</form>
|
|
28
|
+
<div id="output"></div>
|
|
29
|
+
</body>
|
|
30
|
+
</html>
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Angular } from "../../loader.js";
|
|
2
|
+
// import { browserTrigger, wait } from "../../shared/test-utils.js";
|
|
3
|
+
|
|
4
|
+
describe("ngPost", () => {
|
|
5
|
+
let $compile, $rootScope, $httpBackend, el;
|
|
6
|
+
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
el = document.getElementById("app");
|
|
9
|
+
el.innerHTML = "";
|
|
10
|
+
let angular = new Angular();
|
|
11
|
+
angular.module("default", []);
|
|
12
|
+
angular
|
|
13
|
+
.bootstrap(el, ["default"])
|
|
14
|
+
.invoke((_$compile_, _$rootScope_, _$httpBackend_) => {
|
|
15
|
+
$compile = _$compile_;
|
|
16
|
+
$rootScope = _$rootScope_;
|
|
17
|
+
$httpBackend = _$httpBackend_;
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it("should pass", () => {
|
|
22
|
+
expect(true).toBeTrue();
|
|
23
|
+
});
|
|
24
|
+
});
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { Angular } from "../../loader.js";
|
|
2
|
+
// import { browserTrigger, wait } from "../../shared/test-utils.js";
|
|
3
|
+
|
|
4
|
+
describe("ngPut", () => {
|
|
5
|
+
let $compile, $rootScope, $httpBackend, el;
|
|
6
|
+
|
|
7
|
+
beforeEach(() => {
|
|
8
|
+
el = document.getElementById("app");
|
|
9
|
+
el.innerHTML = "";
|
|
10
|
+
let angular = new Angular();
|
|
11
|
+
angular.module("default", []);
|
|
12
|
+
angular
|
|
13
|
+
.bootstrap(el, ["default"])
|
|
14
|
+
.invoke((_$compile_, _$rootScope_, _$httpBackend_) => {
|
|
15
|
+
$compile = _$compile_;
|
|
16
|
+
$rootScope = _$rootScope_;
|
|
17
|
+
$httpBackend = _$httpBackend_;
|
|
18
|
+
});
|
|
19
|
+
});
|
|
20
|
+
|
|
21
|
+
it("should pass", () => {
|
|
22
|
+
expect(true).toBeTrue();
|
|
23
|
+
});
|
|
24
|
+
});
|
package/src/directive/if/if.js
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createElementFromHTML,
|
|
3
|
+
dealoc,
|
|
3
4
|
getCacheData,
|
|
4
5
|
setCacheData,
|
|
5
6
|
} from "../../shared/dom.js";
|
|
@@ -17,6 +18,7 @@ describe("ngIf", () => {
|
|
|
17
18
|
let angular;
|
|
18
19
|
|
|
19
20
|
beforeEach(function () {
|
|
21
|
+
dealoc(document.getElementById("app"));
|
|
20
22
|
angular = window.angular = new Angular();
|
|
21
23
|
window.angular.module("test", []);
|
|
22
24
|
injector = window.angular.bootstrap(document.getElementById("app"), [
|
|
@@ -18,6 +18,7 @@ describe("ngInclude", () => {
|
|
|
18
18
|
|
|
19
19
|
beforeEach(() => {
|
|
20
20
|
errorLog = [];
|
|
21
|
+
dealoc(document.getElementById("app"));
|
|
21
22
|
delete window.angular;
|
|
22
23
|
angular = window.angular = new Angular();
|
|
23
24
|
module = angular
|
|
@@ -100,7 +101,6 @@ describe("ngInclude", () => {
|
|
|
100
101
|
$rootScope = injector.get("$rootScope");
|
|
101
102
|
$rootScope.url = "http://example.com/myUrl";
|
|
102
103
|
await wait(100);
|
|
103
|
-
debugger;
|
|
104
104
|
expect(errorLog[0]).toMatch(/insecurl/);
|
|
105
105
|
});
|
|
106
106
|
|
|
@@ -17,6 +17,7 @@ describe("ngModel", () => {
|
|
|
17
17
|
|
|
18
18
|
beforeEach(() => {
|
|
19
19
|
errors = [];
|
|
20
|
+
dealoc(document.getElementById("app"));
|
|
20
21
|
window.angular = new Angular();
|
|
21
22
|
window.angular
|
|
22
23
|
.module("myModule", ["ng"])
|
|
@@ -1554,6 +1555,7 @@ describe("ngModel", () => {
|
|
|
1554
1555
|
let module;
|
|
1555
1556
|
|
|
1556
1557
|
beforeEach(() => {
|
|
1558
|
+
dealoc(document.getElementById("app"));
|
|
1557
1559
|
window.angular = new Angular();
|
|
1558
1560
|
module = window.angular
|
|
1559
1561
|
.module("myModule", [])
|
|
@@ -1900,6 +1902,7 @@ describe("data-change", () => {
|
|
|
1900
1902
|
let el = document.getElementById("app");
|
|
1901
1903
|
|
|
1902
1904
|
beforeEach(() => {
|
|
1905
|
+
dealoc(document.getElementById("app"));
|
|
1903
1906
|
window.angular = new Angular();
|
|
1904
1907
|
});
|
|
1905
1908
|
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
import { defaultModelOptions } from "./model-options.js";
|
|
2
|
-
import {
|
|
3
|
-
createElementFromHTML,
|
|
4
|
-
dealoc,
|
|
5
|
-
getController,
|
|
6
|
-
} from "../../shared/dom.js";
|
|
2
|
+
import { dealoc, getController } from "../../shared/dom.js";
|
|
7
3
|
import { Angular } from "../../loader.js";
|
|
8
4
|
import { bootstrap, wait } from "../../shared/test-utils.js";
|
|
9
5
|
|
|
@@ -37,6 +33,7 @@ describe("ngModelOptions", () => {
|
|
|
37
33
|
let injector;
|
|
38
34
|
|
|
39
35
|
beforeEach(() => {
|
|
36
|
+
dealoc(document.getElementById("app"));
|
|
40
37
|
window.angular = new Angular();
|
|
41
38
|
window.angular
|
|
42
39
|
.module("myModule", ["ng"])
|
|
@@ -1005,6 +1002,7 @@ describe("ngModelOptions", () => {
|
|
|
1005
1002
|
let inputElm, module, $rootScope, angular;
|
|
1006
1003
|
|
|
1007
1004
|
beforeEach(() => {
|
|
1005
|
+
dealoc(document.getElementById("app"));
|
|
1008
1006
|
window.angular = angular = new Angular();
|
|
1009
1007
|
module = angular.module("myModule", []).directive("foo", () => ({
|
|
1010
1008
|
replace: true,
|