@angular-wave/angular.ts 0.7.1 → 0.7.3
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 +1 -0
- package/@types/core/cache/cache.d.ts +0 -5
- 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/pubsub/pubsub.d.ts +3 -3
- package/@types/directive/channel/channel.d.ts +9 -3
- package/@types/directive/http/http.d.ts +39 -0
- package/@types/directive/if/if.d.ts +0 -2
- package/@types/interface.d.ts +16 -4
- package/@types/loader.d.ts +3 -3
- package/@types/public.d.ts +1 -2
- package/@types/shared/common.d.ts +7 -8
- package/Makefile +8 -0
- package/dist/angular-ts.esm.js +291 -68
- package/dist/angular-ts.umd.js +296 -72
- 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 +14 -0
- package/docs/content/{en/_index.md → _index.md} +6 -1
- package/docs/content/{en/docs → docs}/_index.md +9 -10
- package/docs/docker-compose.yaml +2 -3
- package/docs/hugo.yaml +17 -18
- package/docs/layouts/404.html +8 -2
- 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/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/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/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/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/Injectable.html +1 -0
- package/docs/static/typedoc/types/InjectableFactory.html +4 -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/legacy.d.ts +2695 -0
- package/package.json +2 -2
- package/playwright.config.ts +2 -0
- package/src/animations/animate.spec.js +1 -1
- package/src/binding.spec.js +1 -1
- package/src/core/cache/cache.js +0 -3
- package/src/core/compile/compile.js +3 -1
- package/src/core/compile/compile.spec.js +9 -95
- 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/pubsub/pubsub.js +6 -6
- package/src/directive/channel/channel.js +8 -6
- 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/include/include.spec.js +0 -1
- package/src/directive/model-options/model-options.spec.js +1 -5
- package/src/directive/repeat/repeat.spec.js +1 -1
- package/src/directive/setter/setter.spec.js +1 -1
- package/src/directive/style/style.js +1 -1
- package/src/interface.ts +17 -4
- package/src/loader.js +6 -7
- package/src/loader.spec.js +0 -31
- package/src/public.js +12 -6
- package/src/services/http-backend/http-backend.js +3 -1
- package/src/shared/common.js +11 -36
- package/src/shared/common.spec.js +34 -3
- package/src/shared/dom.js +3 -14
- package/typedoc.json +3 -2
- package/utils/express.js +13 -0
- package/docs/netlify.toml +0 -12
- 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,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
|
+
/**
|
|
2
|
+
* @param {"get" | "delete" | "post" | "put"} method
|
|
3
|
+
* @returns {import('../../interface.ts').DirectiveFactory}
|
|
4
|
+
*/
|
|
5
|
+
function defineDirective(method) {
|
|
6
|
+
const attrName = "ng" + method.charAt(0).toUpperCase() + method.slice(1);
|
|
7
|
+
const directive = createHttpDirective(method, attrName);
|
|
8
|
+
directive["$inject"] = ["$http", "$compile", "$log"];
|
|
9
|
+
return directive;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
export const ngGetDirective = defineDirective("get");
|
|
13
|
+
export const ngDeleteDirective = defineDirective("delete");
|
|
14
|
+
export const ngPostDirective = defineDirective("post");
|
|
15
|
+
export const ngPutDirective = defineDirective("put");
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* @typedef {"click" | "change" | "submit"} EventType
|
|
19
|
+
*/
|
|
20
|
+
|
|
21
|
+
import { isObject } from "../../shared/utils";
|
|
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 {{ [key: string]: Function }} $http
|
|
132
|
+
* @param {import("../../core/compile/compile.js").CompileFn} $compile
|
|
133
|
+
* @param {import("../../services/log.js").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,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
|
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Angular } from "../../loader.js";
|
|
2
|
-
import { createElementFromHTML, dealoc
|
|
2
|
+
import { createElementFromHTML, dealoc } from "../../shared/dom.js";
|
|
3
3
|
import { wait } from "../../shared/test-utils.js";
|
|
4
4
|
|
|
5
5
|
describe("ngRepeat", () => {
|
|
@@ -6,7 +6,7 @@ describe("setter", () => {
|
|
|
6
6
|
|
|
7
7
|
beforeEach(() => {
|
|
8
8
|
window.angular = new Angular();
|
|
9
|
-
angular.module("myModule", [
|
|
9
|
+
angular.module("myModule", []);
|
|
10
10
|
angular
|
|
11
11
|
.bootstrap(document.getElementById("app"), ["myModule"])
|
|
12
12
|
.invoke((_$compile_, _$rootScope_, _$parse_, _$log_) => {
|
package/src/interface.ts
CHANGED
|
@@ -2,11 +2,13 @@ import { Attributes } from "./core/compile/attributes.js";
|
|
|
2
2
|
import { Scope } from "./core/scope/scope.js";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
|
-
* A JavaScript expression represented as a string.
|
|
5
|
+
* A JavaScript expression represented as a string, typically used in interpolation bindings.
|
|
6
|
+
*
|
|
7
|
+
* Example:
|
|
8
|
+
* ```html
|
|
9
|
+
* <span title="{{ attrBinding }}">{{ textBinding }}</span>
|
|
10
|
+
* ```
|
|
6
11
|
*
|
|
7
|
-
* Often used in interpolation bindings such as:
|
|
8
|
-
* `<span title="{{ attrBinding }}">{{ textBinding }}</span>`.
|
|
9
|
-
* Evaluated in the context of a {@link import('./core/scope/scope.js').Scope `scope`} object.
|
|
10
12
|
*/
|
|
11
13
|
export type Expression = string;
|
|
12
14
|
|
|
@@ -327,3 +329,14 @@ export interface NgModelController {
|
|
|
327
329
|
/** Current value shown in the view */
|
|
328
330
|
$viewValue: any;
|
|
329
331
|
}
|
|
332
|
+
|
|
333
|
+
/**
|
|
334
|
+
* Possible values for `data-swap` attribute
|
|
335
|
+
*/
|
|
336
|
+
export type SwapInsertPosition =
|
|
337
|
+
| InsertPosition
|
|
338
|
+
| "textContent"
|
|
339
|
+
| "innerHTML"
|
|
340
|
+
| "outerHTML"
|
|
341
|
+
| "delete"
|
|
342
|
+
| "none";
|
package/src/loader.js
CHANGED
|
@@ -15,8 +15,7 @@ import {
|
|
|
15
15
|
import { annotate, createInjector } from "./core/di/injector.js";
|
|
16
16
|
import { NgModule } from "./core/di/ng-module.js";
|
|
17
17
|
import { Cache } from "./core/cache/cache.js";
|
|
18
|
-
import {
|
|
19
|
-
import { VERSION } from "./public.js";
|
|
18
|
+
import { registerNgModule } from "./public.js";
|
|
20
19
|
import { unnestR } from "./shared/common.js";
|
|
21
20
|
import { EventBus } from "./core/pubsub/pubsub.js";
|
|
22
21
|
import { $injectTokens } from "./injection-tokens.js";
|
|
@@ -38,16 +37,16 @@ export class Angular {
|
|
|
38
37
|
constructor() {
|
|
39
38
|
Cache.clear(); // a ensure new instance of angular gets a clean cache
|
|
40
39
|
|
|
41
|
-
/** @type {Map<number, import("./core/cache/cache").ExpandoStore>} */
|
|
42
|
-
this
|
|
40
|
+
/** @type {Map<number, import("./core/cache/cache.js").ExpandoStore>} */
|
|
41
|
+
this.$cache = Cache;
|
|
43
42
|
|
|
44
43
|
/** @type {import('./core/pubsub/pubsub.js').PubSub} */
|
|
45
|
-
this
|
|
44
|
+
this.$eventBus = EventBus;
|
|
46
45
|
|
|
47
46
|
/**
|
|
48
47
|
* @type {string} `version` from `package.json`
|
|
49
48
|
*/
|
|
50
|
-
this.version =
|
|
49
|
+
this.version = "[VI]{version}[/VI]"; //inserted via rollup plugin
|
|
51
50
|
|
|
52
51
|
/** @type {!Array<string|any>} */
|
|
53
52
|
this.bootsrappedModules = [];
|
|
@@ -59,7 +58,7 @@ export class Angular {
|
|
|
59
58
|
|
|
60
59
|
window["angular"] = this;
|
|
61
60
|
this.$injectTokens = $injectTokens;
|
|
62
|
-
|
|
61
|
+
registerNgModule(this);
|
|
63
62
|
}
|
|
64
63
|
|
|
65
64
|
/**
|
package/src/loader.spec.js
CHANGED
|
@@ -166,35 +166,4 @@ describe("module loader", () => {
|
|
|
166
166
|
angular.module("hasOwnProperty", []);
|
|
167
167
|
}).toThrow();
|
|
168
168
|
});
|
|
169
|
-
|
|
170
|
-
describe("Module", () => {
|
|
171
|
-
describe("info()", () => {
|
|
172
|
-
let theModule;
|
|
173
|
-
|
|
174
|
-
beforeEach(() => {
|
|
175
|
-
theModule = angular.module("theModule", []);
|
|
176
|
-
});
|
|
177
|
-
|
|
178
|
-
it("should default to an empty object", () => {
|
|
179
|
-
expect(theModule.info()).toEqual({});
|
|
180
|
-
});
|
|
181
|
-
|
|
182
|
-
it("should store the object passed as a param", () => {
|
|
183
|
-
theModule.info({ version: "1.2" });
|
|
184
|
-
expect(theModule.info()).toEqual({ version: "1.2" });
|
|
185
|
-
});
|
|
186
|
-
|
|
187
|
-
it("should throw if the parameter is not an object", () => {
|
|
188
|
-
expect(() => {
|
|
189
|
-
theModule.info("some text");
|
|
190
|
-
}).toThrow();
|
|
191
|
-
});
|
|
192
|
-
|
|
193
|
-
it("should completely replace the previous info object", () => {
|
|
194
|
-
theModule.info({ value: "X" });
|
|
195
|
-
theModule.info({ newValue: "Y" });
|
|
196
|
-
expect(theModule.info()).toEqual({ newValue: "Y" });
|
|
197
|
-
});
|
|
198
|
-
});
|
|
199
|
-
});
|
|
200
169
|
});
|
package/src/public.js
CHANGED
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
// @private
|
|
2
1
|
import { CompileProvider } from "./core/compile/compile.js";
|
|
3
2
|
import {
|
|
4
3
|
inputDirective,
|
|
@@ -129,15 +128,19 @@ import {
|
|
|
129
128
|
import { ngChannelDirective } from "./directive/channel/channel.js";
|
|
130
129
|
import { ngSetterDirective } from "./directive/setter/setter.js";
|
|
131
130
|
import { PubSubProvider } from "./core/pubsub/pubsub.js";
|
|
132
|
-
|
|
133
|
-
|
|
131
|
+
import {
|
|
132
|
+
ngDeleteDirective,
|
|
133
|
+
ngGetDirective,
|
|
134
|
+
ngPostDirective,
|
|
135
|
+
ngPutDirective,
|
|
136
|
+
} from "./directive/http/http.js";
|
|
134
137
|
|
|
135
138
|
/**
|
|
136
139
|
* Initializes core `ng` module.
|
|
137
140
|
* @param {import('./loader.js').Angular} angular
|
|
138
141
|
* @returns {import('./core/di/ng-module.js').NgModule} `ng` module
|
|
139
142
|
*/
|
|
140
|
-
export function
|
|
143
|
+
export function registerNgModule(angular) {
|
|
141
144
|
const ng = angular
|
|
142
145
|
.module(
|
|
143
146
|
"ng",
|
|
@@ -167,8 +170,10 @@ export function publishExternalAPI(angular) {
|
|
|
167
170
|
ngClassOdd: ngClassOddDirective,
|
|
168
171
|
ngCloak: ngCloakDirective,
|
|
169
172
|
ngController: ngControllerDirective,
|
|
173
|
+
ngDelete: ngDeleteDirective,
|
|
170
174
|
ngDisabled: ngDisabledAriaDirective,
|
|
171
175
|
ngForm: ngFormDirective,
|
|
176
|
+
ngGet: ngGetDirective,
|
|
172
177
|
ngHide: ngHideDirective,
|
|
173
178
|
ngIf: ngIfDirective,
|
|
174
179
|
ngInclude: ngIncludeDirective,
|
|
@@ -179,6 +184,8 @@ export function publishExternalAPI(angular) {
|
|
|
179
184
|
ngMessagesInclude: ngMessagesIncludeDirective,
|
|
180
185
|
ngMessageDefault: ngMessageDefaultDirective,
|
|
181
186
|
ngNonBindable: ngNonBindableDirective,
|
|
187
|
+
ngPost: ngPostDirective,
|
|
188
|
+
ngPut: ngPutDirective,
|
|
182
189
|
ngRef: ngRefDirective,
|
|
183
190
|
ngRepeat: ngRepeatDirective,
|
|
184
191
|
ngSetter: ngSetterDirective,
|
|
@@ -283,8 +290,7 @@ export function publishExternalAPI(angular) {
|
|
|
283
290
|
return globals.params;
|
|
284
291
|
},
|
|
285
292
|
])
|
|
286
|
-
.value("$trace", trace)
|
|
287
|
-
.info({ version: VERSION });
|
|
293
|
+
.value("$trace", trace);
|
|
288
294
|
|
|
289
295
|
return ng;
|
|
290
296
|
}
|
|
@@ -146,8 +146,10 @@ export function createHttpBackend($browser) {
|
|
|
146
146
|
// http.timeout = promise abort
|
|
147
147
|
// xhr.abort() abort (The xhr object is normally inaccessible, but
|
|
148
148
|
// can be exposed with the xhrFactory)
|
|
149
|
+
/** @type {number} */
|
|
150
|
+
let timeoutId;
|
|
149
151
|
if (timeout > 0) {
|
|
150
|
-
|
|
152
|
+
timeoutId = setTimeout(() => {
|
|
151
153
|
timeoutRequest("timeout");
|
|
152
154
|
}, timeout);
|
|
153
155
|
} else if (isPromiseLike(timeout)) {
|
package/src/shared/common.js
CHANGED
|
@@ -139,12 +139,6 @@ export const pushTo = curry((arr, val) => {
|
|
|
139
139
|
return val;
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
/** Given an array of (deregistration) functions, calls all functions and removes each one from the source array */
|
|
143
|
-
export const deregAll = (functions) =>
|
|
144
|
-
functions.slice().forEach((fn) => {
|
|
145
|
-
typeof fn === "function" && fn();
|
|
146
|
-
removeFrom(functions, fn);
|
|
147
|
-
});
|
|
148
142
|
/**
|
|
149
143
|
* Applies a set of defaults to an options object. The options object is filtered
|
|
150
144
|
* to only those properties of the objects in the defaultsList.
|
|
@@ -312,17 +306,7 @@ export const uniqR = (acc, token) =>
|
|
|
312
306
|
* ```
|
|
313
307
|
*/
|
|
314
308
|
export const unnest = (arr) => arr.reduce(unnestR, []);
|
|
315
|
-
|
|
316
|
-
* Return a completely flattened version of an array.
|
|
317
|
-
*
|
|
318
|
-
* @example
|
|
319
|
-
* ```
|
|
320
|
-
*
|
|
321
|
-
* let input = [ [ "a", "b" ], [ "c", "d" ], [ [ "double", "nested" ] ] ];
|
|
322
|
-
* flatten(input) // [ "a", "b", "c", "d", "double, "nested" ]
|
|
323
|
-
* ```
|
|
324
|
-
*/
|
|
325
|
-
export const flatten = (arr) => arr.reduce(flattenR, []);
|
|
309
|
+
|
|
326
310
|
/**
|
|
327
311
|
* Given a .filter Predicate, builds a .filter Predicate which throws an error if any elements do not pass.
|
|
328
312
|
* @example
|
|
@@ -337,23 +321,7 @@ export const flatten = (arr) => arr.reduce(flattenR, []);
|
|
|
337
321
|
* ```
|
|
338
322
|
*/
|
|
339
323
|
export const assertPredicate = assertFn;
|
|
340
|
-
|
|
341
|
-
* Given a .map function, builds a .map function which throws an error if any mapped elements do not pass a truthyness test.
|
|
342
|
-
* @example
|
|
343
|
-
* ```
|
|
344
|
-
*
|
|
345
|
-
* var data = { foo: 1, bar: 2 };
|
|
346
|
-
*
|
|
347
|
-
* let keys = [ 'foo', 'bar' ]
|
|
348
|
-
* let values = keys.map(assertMap(key => data[key], "Key not found"));
|
|
349
|
-
* // values is [1, 2]
|
|
350
|
-
*
|
|
351
|
-
* let keys = [ 'foo', 'bar', 'baz' ]
|
|
352
|
-
* let values = keys.map(assertMap(key => data[key], "Key not found"));
|
|
353
|
-
* // throws Error("Key not found")
|
|
354
|
-
* ```
|
|
355
|
-
*/
|
|
356
|
-
export const assertMap = assertFn;
|
|
324
|
+
|
|
357
325
|
export function assertFn(predicateOrMap, errMsg = "assert failure") {
|
|
358
326
|
return (obj) => {
|
|
359
327
|
const result = predicateOrMap(obj);
|
|
@@ -444,10 +412,17 @@ export function applyPairs(memo, keyValTuple) {
|
|
|
444
412
|
memo[key] = value;
|
|
445
413
|
return memo;
|
|
446
414
|
}
|
|
447
|
-
|
|
415
|
+
|
|
416
|
+
/**
|
|
417
|
+
* Returns the last element of an array, or undefined if the array is empty.
|
|
418
|
+
* @template T
|
|
419
|
+
* @param {T[]} arr - The input array.
|
|
420
|
+
* @returns {T | undefined} The last element or undefined.
|
|
421
|
+
*/
|
|
448
422
|
export function tail(arr) {
|
|
449
|
-
return
|
|
423
|
+
return arr.length > 0 ? arr[arr.length - 1] : undefined;
|
|
450
424
|
}
|
|
425
|
+
|
|
451
426
|
/**
|
|
452
427
|
* shallow copy from src to dest
|
|
453
428
|
*/
|