@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
package/dist/angular-ts.esm.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* Version: 0.7.
|
|
1
|
+
/* Version: 0.7.4 - July 11, 2025 03:03:27 */
|
|
2
2
|
const VALID_CLASS = "ng-valid";
|
|
3
3
|
const INVALID_CLASS = "ng-invalid";
|
|
4
4
|
const PRISTINE_CLASS = "ng-pristine";
|
|
@@ -1130,39 +1130,29 @@ function hasOwn(obj, key) {
|
|
|
1130
1130
|
return Object.prototype.hasOwnProperty.call(obj, key);
|
|
1131
1131
|
}
|
|
1132
1132
|
|
|
1133
|
-
/**
|
|
1134
|
-
* @typedef {Object} ExpandoStore
|
|
1135
|
-
*
|
|
1136
|
-
* @property {!Object<string, any>} data
|
|
1137
|
-
* @property {!Object} events
|
|
1138
|
-
* @property {?Function} handle
|
|
1139
|
-
*
|
|
1140
|
-
*/
|
|
1141
|
-
|
|
1142
|
-
const EXPANDO = "ng";
|
|
1143
|
-
|
|
1144
1133
|
/**
|
|
1145
1134
|
* Expando cache for adding properties to DOM nodes with JavaScript.
|
|
1146
1135
|
* This used to be an Object in JQLite decorator, but swapped out for a Map
|
|
1147
1136
|
* for performance reasons and convenience methods. A proxy is available for
|
|
1148
1137
|
* additional logic handling.
|
|
1149
1138
|
*
|
|
1150
|
-
* @type {Map<number, ExpandoStore>}
|
|
1139
|
+
* @type {Map<number, import('../interface.ts').ExpandoStore>}
|
|
1151
1140
|
*/
|
|
1152
1141
|
const Cache = new Map();
|
|
1153
1142
|
|
|
1154
|
-
/**
|
|
1155
|
-
|
|
1156
|
-
*/
|
|
1157
|
-
const SCOPE_KEY = "$scope";
|
|
1143
|
+
/** @type {number} */
|
|
1144
|
+
let jqId = 1;
|
|
1158
1145
|
|
|
1159
1146
|
/**
|
|
1160
1147
|
* Key for storing isolate scope data, attached to an element
|
|
1161
1148
|
*/
|
|
1162
1149
|
const ISOLATE_SCOPE_KEY = "$isolateScope";
|
|
1150
|
+
const EXPANDO = "ng";
|
|
1163
1151
|
|
|
1164
|
-
/**
|
|
1165
|
-
|
|
1152
|
+
/**
|
|
1153
|
+
* Key for storing scope data, attached to an element
|
|
1154
|
+
*/
|
|
1155
|
+
const SCOPE_KEY = "$scope";
|
|
1166
1156
|
|
|
1167
1157
|
const DASH_LOWERCASE_REGEXP = /-([a-z])/g;
|
|
1168
1158
|
const UNDERSCORE_LOWERCASE_REGEXP = /_([a-z])/g;
|
|
@@ -1263,7 +1253,7 @@ function removeElementData(element, name) {
|
|
|
1263
1253
|
*
|
|
1264
1254
|
* @param {Element} element
|
|
1265
1255
|
* @param {boolean} [createIfNecessary=false]
|
|
1266
|
-
* @returns {import("../
|
|
1256
|
+
* @returns {import("../interface.ts").ExpandoStore}
|
|
1267
1257
|
*/
|
|
1268
1258
|
function getExpando(element, createIfNecessary = false) {
|
|
1269
1259
|
let expandoId = element[EXPANDO];
|
|
@@ -1272,9 +1262,7 @@ function getExpando(element, createIfNecessary = false) {
|
|
|
1272
1262
|
if (createIfNecessary && !expandoStore) {
|
|
1273
1263
|
element[EXPANDO] = expandoId = jqNextId();
|
|
1274
1264
|
expandoStore = {
|
|
1275
|
-
events: {},
|
|
1276
1265
|
data: {},
|
|
1277
|
-
handle: null,
|
|
1278
1266
|
};
|
|
1279
1267
|
Cache.set(expandoId, expandoStore);
|
|
1280
1268
|
}
|
|
@@ -1333,19 +1321,15 @@ function dealoc(element, onlyDescendants) {
|
|
|
1333
1321
|
}
|
|
1334
1322
|
|
|
1335
1323
|
/**
|
|
1336
|
-
* If
|
|
1337
|
-
* then delete element's `ExpandoStore` and set its `ExpandoId`
|
|
1324
|
+
* If expando store data is empty, then delete it and set its expando id.
|
|
1338
1325
|
* to undefined.
|
|
1339
1326
|
* @param {Element} element
|
|
1340
1327
|
*/
|
|
1341
1328
|
function removeIfEmptyData(element) {
|
|
1342
1329
|
const expandoId = element[EXPANDO];
|
|
1343
|
-
const {
|
|
1330
|
+
const { data } = Cache.get(expandoId);
|
|
1344
1331
|
|
|
1345
|
-
if (
|
|
1346
|
-
(!data || !Object.keys(data).length) &&
|
|
1347
|
-
(!events || !Object.keys(events).length)
|
|
1348
|
-
) {
|
|
1332
|
+
if (!data || !Object.keys(data).length) {
|
|
1349
1333
|
Cache.delete(expandoId);
|
|
1350
1334
|
element[EXPANDO] = undefined; // don't delete DOM expandos. Chrome don't like it
|
|
1351
1335
|
}
|
|
@@ -1622,10 +1606,6 @@ function getBooleanAttrName(element, name) {
|
|
|
1622
1606
|
*/
|
|
1623
1607
|
function cleanElementData(nodes) {
|
|
1624
1608
|
for (let i = 0, ii = nodes.length; i < ii; i++) {
|
|
1625
|
-
const events = (Cache.get(nodes[i][EXPANDO]) || {}).events;
|
|
1626
|
-
if (events && events.$destroy) {
|
|
1627
|
-
nodes[i].dispatchEvent(new Event("$destroy"));
|
|
1628
|
-
}
|
|
1629
1609
|
removeElementData(nodes[i]);
|
|
1630
1610
|
}
|
|
1631
1611
|
}
|
|
@@ -1718,6 +1698,9 @@ function extractElementNode$1(element) {
|
|
|
1718
1698
|
* angular.$injectTokens.$animate,
|
|
1719
1699
|
* angular.$injectTokens.$templateRequest,
|
|
1720
1700
|
* ];
|
|
1701
|
+
*
|
|
1702
|
+
* function myDirective($animate, $templateRequest) { ... }
|
|
1703
|
+
*
|
|
1721
1704
|
* ```
|
|
1722
1705
|
* @type Readonly<Record<string, string>>
|
|
1723
1706
|
*/
|
|
@@ -1828,27 +1811,11 @@ class NgModule {
|
|
|
1828
1811
|
/** @type {!Array.<Function>} */
|
|
1829
1812
|
this.runBlocks = [];
|
|
1830
1813
|
|
|
1831
|
-
/** @type {Object} */
|
|
1832
|
-
this.infoState = {};
|
|
1833
|
-
|
|
1834
1814
|
if (configFn) {
|
|
1835
1815
|
this.config(configFn);
|
|
1836
1816
|
}
|
|
1837
1817
|
}
|
|
1838
1818
|
|
|
1839
|
-
/**
|
|
1840
|
-
* @param {Object} value
|
|
1841
|
-
* @returns
|
|
1842
|
-
*/
|
|
1843
|
-
info(value) {
|
|
1844
|
-
if (isDefined(value)) {
|
|
1845
|
-
assert(isObject(value), "module info value must be an object");
|
|
1846
|
-
this.infoState = value;
|
|
1847
|
-
return this;
|
|
1848
|
-
}
|
|
1849
|
-
return this.infoState;
|
|
1850
|
-
}
|
|
1851
|
-
|
|
1852
1819
|
/**
|
|
1853
1820
|
* @param {string} name
|
|
1854
1821
|
* @param {any} object
|
|
@@ -2177,7 +2144,6 @@ class AbstractInjector {
|
|
|
2177
2144
|
|
|
2178
2145
|
/**
|
|
2179
2146
|
* Injector for providers
|
|
2180
|
-
* @extends {AbstractInjector}
|
|
2181
2147
|
*/
|
|
2182
2148
|
class ProviderInjector extends AbstractInjector {
|
|
2183
2149
|
/**
|
|
@@ -2207,15 +2173,13 @@ class ProviderInjector extends AbstractInjector {
|
|
|
2207
2173
|
|
|
2208
2174
|
/**
|
|
2209
2175
|
* Injector for factories and services
|
|
2210
|
-
* @extends {AbstractInjector}
|
|
2211
2176
|
*/
|
|
2212
2177
|
class InjectorService extends AbstractInjector {
|
|
2213
2178
|
/**
|
|
2214
|
-
*
|
|
2215
|
-
* @param {boolean} strictDi - Indicates if strict dependency injection is enforced.
|
|
2216
2179
|
* @param {ProviderInjector} providerInjector
|
|
2180
|
+
* @param {boolean} strictDi - Indicates if strict dependency injection is enforced.
|
|
2217
2181
|
*/
|
|
2218
|
-
constructor(
|
|
2182
|
+
constructor(providerInjector, strictDi) {
|
|
2219
2183
|
super(strictDi);
|
|
2220
2184
|
this.providerInjector = providerInjector;
|
|
2221
2185
|
this.modules = this.providerInjector.modules;
|
|
@@ -2353,7 +2317,7 @@ function createInjector(modulesToLoad, strictDi = false) {
|
|
|
2353
2317
|
strictDi,
|
|
2354
2318
|
));
|
|
2355
2319
|
|
|
2356
|
-
const protoInstanceInjector = new InjectorService(
|
|
2320
|
+
const protoInstanceInjector = new InjectorService(providerInjector, strictDi);
|
|
2357
2321
|
|
|
2358
2322
|
providerCache.$injectorProvider = {
|
|
2359
2323
|
// $injectionProvider return instance injector
|
|
@@ -7577,7 +7541,9 @@ class CompileProvider {
|
|
|
7577
7541
|
}
|
|
7578
7542
|
|
|
7579
7543
|
function triggerOnChangesHook() {
|
|
7580
|
-
destination["$onChanges"] &&
|
|
7544
|
+
destination["$onChanges"] &&
|
|
7545
|
+
changes &&
|
|
7546
|
+
destination["$onChanges"](changes);
|
|
7581
7547
|
// Now clear the changes so that we schedule onChanges when more changes arrive
|
|
7582
7548
|
changes = undefined;
|
|
7583
7549
|
}
|
|
@@ -10645,7 +10611,7 @@ function ngValueDirective() {
|
|
|
10645
10611
|
scriptDirective.$inject = ["$templateCache"];
|
|
10646
10612
|
|
|
10647
10613
|
/**
|
|
10648
|
-
* @param {import('../../
|
|
10614
|
+
* @param {import('../../services/template-cache/interface.ts').TemplateCache} $templateCache
|
|
10649
10615
|
* @returns {import('../../interface.ts').Directive}
|
|
10650
10616
|
*/
|
|
10651
10617
|
function scriptDirective($templateCache) {
|
|
@@ -11306,6 +11272,8 @@ function ngBindHtmlDirective($parse) {
|
|
|
11306
11272
|
}
|
|
11307
11273
|
|
|
11308
11274
|
/**
|
|
11275
|
+
* @param {string} name
|
|
11276
|
+
* @param {boolean|number} selector
|
|
11309
11277
|
* @returns {() => import("../../interface.ts").Directive}
|
|
11310
11278
|
*/
|
|
11311
11279
|
function classDirective(name, selector) {
|
|
@@ -11321,6 +11289,7 @@ function classDirective(name, selector) {
|
|
|
11321
11289
|
link(scope, element, attr) {
|
|
11322
11290
|
let classCounts = getCacheData(element, "$classCounts");
|
|
11323
11291
|
let oldModulo = true;
|
|
11292
|
+
/** @type {string|undefined} */
|
|
11324
11293
|
let oldClassString;
|
|
11325
11294
|
|
|
11326
11295
|
if (!classCounts) {
|
|
@@ -11339,6 +11308,9 @@ function classDirective(name, selector) {
|
|
|
11339
11308
|
ngClassWatchAction(toClassString(val));
|
|
11340
11309
|
});
|
|
11341
11310
|
|
|
11311
|
+
/**
|
|
11312
|
+
* @param {string} classString
|
|
11313
|
+
*/
|
|
11342
11314
|
function addClasses(classString) {
|
|
11343
11315
|
classString = digestClassCounts(split(classString), 1);
|
|
11344
11316
|
if (hasAnimate(element)) {
|
|
@@ -11352,6 +11324,9 @@ function classDirective(name, selector) {
|
|
|
11352
11324
|
}
|
|
11353
11325
|
}
|
|
11354
11326
|
|
|
11327
|
+
/**
|
|
11328
|
+
* @param {string} classString
|
|
11329
|
+
*/
|
|
11355
11330
|
function removeClasses(classString) {
|
|
11356
11331
|
classString = digestClassCounts(split(classString), -1);
|
|
11357
11332
|
if (hasAnimate(element)) {
|
|
@@ -11365,6 +11340,10 @@ function classDirective(name, selector) {
|
|
|
11365
11340
|
}
|
|
11366
11341
|
}
|
|
11367
11342
|
|
|
11343
|
+
/**
|
|
11344
|
+
* @param {string} oldClassString
|
|
11345
|
+
* @param {string} newClassString
|
|
11346
|
+
*/
|
|
11368
11347
|
function updateClasses(oldClassString, newClassString) {
|
|
11369
11348
|
const oldClassArray = split(oldClassString);
|
|
11370
11349
|
const newClassArray = split(newClassString);
|
|
@@ -11415,6 +11394,9 @@ function classDirective(name, selector) {
|
|
|
11415
11394
|
oldModulo = newModulo;
|
|
11416
11395
|
}
|
|
11417
11396
|
|
|
11397
|
+
/**
|
|
11398
|
+
* @param {string} newClassString
|
|
11399
|
+
*/
|
|
11418
11400
|
function ngClassWatchAction(newClassString) {
|
|
11419
11401
|
if (oldModulo === selector) {
|
|
11420
11402
|
updateClasses(oldClassString, newClassString);
|
|
@@ -11561,8 +11543,6 @@ function ngHideDirective($animate) {
|
|
|
11561
11543
|
|
|
11562
11544
|
ngIfDirective.$inject = ["$animate"];
|
|
11563
11545
|
/**
|
|
11564
|
-
*
|
|
11565
|
-
* TODO // Add type for animate service
|
|
11566
11546
|
* @param {*} $animate
|
|
11567
11547
|
* @returns {import("../../interface.ts").Directive}
|
|
11568
11548
|
*/
|
|
@@ -12204,7 +12184,7 @@ function ngRepeatDirective($animate) {
|
|
|
12204
12184
|
function ngStyleDirective() {
|
|
12205
12185
|
return {
|
|
12206
12186
|
restrict: "A",
|
|
12207
|
-
link
|
|
12187
|
+
link(scope, element, attr) {
|
|
12208
12188
|
let oldStyles;
|
|
12209
12189
|
scope.$watch(attr["ngStyle"], (newStyles) => {
|
|
12210
12190
|
if (oldStyles) {
|
|
@@ -14900,23 +14880,17 @@ class AnimateRunner {
|
|
|
14900
14880
|
}
|
|
14901
14881
|
|
|
14902
14882
|
/**
|
|
14903
|
-
*
|
|
14904
|
-
*
|
|
14905
|
-
* @typedef {Map<string, string>} TemplateCache
|
|
14906
|
-
*/
|
|
14907
|
-
|
|
14908
|
-
/**
|
|
14909
|
-
* Service responsible for providing a cache for templates.
|
|
14910
|
-
*
|
|
14911
|
-
* @class TemplateCacheProvider
|
|
14912
|
-
* @description Provides an instance of a template cache that can be used to store and retrieve template content.
|
|
14883
|
+
* Provides an instance of a cache that can be used to store and retrieve template content.
|
|
14913
14884
|
*/
|
|
14914
14885
|
class TemplateCacheProvider {
|
|
14886
|
+
constructor() {
|
|
14887
|
+
/** @type {import('./interface.ts').TemplateCache} */
|
|
14888
|
+
this.cache = new Map();
|
|
14889
|
+
}
|
|
14915
14890
|
/**
|
|
14916
|
-
* @
|
|
14917
|
-
* @returns {TemplateCache} A new instance of the template cache (Map object).
|
|
14891
|
+
* @returns {import('./interface.ts').TemplateCache}
|
|
14918
14892
|
*/
|
|
14919
|
-
$get = () =>
|
|
14893
|
+
$get = () => this.cache;
|
|
14920
14894
|
}
|
|
14921
14895
|
|
|
14922
14896
|
/**
|
|
@@ -14963,7 +14937,7 @@ class TemplateCacheProvider {
|
|
|
14963
14937
|
* @see {@link angular.ErrorHandler AngularTS ErrorHandler}
|
|
14964
14938
|
*/
|
|
14965
14939
|
|
|
14966
|
-
/** @typedef {import('../services/log').LogService} LogService */
|
|
14940
|
+
/** @typedef {import('../services/log/interface.ts').LogService} LogService */
|
|
14967
14941
|
|
|
14968
14942
|
/** @typedef {import("./error-handler.ts").ErrorHandler} ErrorHandler */
|
|
14969
14943
|
|
|
@@ -18529,8 +18503,8 @@ function HttpProvider() {
|
|
|
18529
18503
|
*
|
|
18530
18504
|
* @param {*} $browser
|
|
18531
18505
|
* @param {*} $httpBackend
|
|
18532
|
-
* @param {
|
|
18533
|
-
* @param {import("../../core/di/internal-injector").InjectorService} $injector
|
|
18506
|
+
* @param {import("../../core/scope/scope.js").Scope} $rootScope
|
|
18507
|
+
* @param {import("../../core/di/internal-injector.js").InjectorService} $injector
|
|
18534
18508
|
* @param {*} $sce
|
|
18535
18509
|
* @returns
|
|
18536
18510
|
*/
|
|
@@ -18968,9 +18942,9 @@ function HttpProvider() {
|
|
|
18968
18942
|
Object.entries(eventHandlers).forEach(([key, eventHandler]) => {
|
|
18969
18943
|
applyHandlers[key] = function (event) {
|
|
18970
18944
|
if (useApplyAsync) {
|
|
18971
|
-
setTimeout(() =>
|
|
18945
|
+
setTimeout(() => callEventHandler());
|
|
18972
18946
|
} else {
|
|
18973
|
-
|
|
18947
|
+
callEventHandler();
|
|
18974
18948
|
}
|
|
18975
18949
|
|
|
18976
18950
|
function callEventHandler() {
|
|
@@ -19078,17 +19052,27 @@ function HttpProvider() {
|
|
|
19078
19052
|
* {@link ng.$http $http}.
|
|
19079
19053
|
*
|
|
19080
19054
|
*/
|
|
19081
|
-
|
|
19082
|
-
|
|
19083
|
-
|
|
19084
|
-
|
|
19085
|
-
|
|
19086
|
-
|
|
19087
|
-
|
|
19088
|
-
|
|
19089
|
-
|
|
19090
|
-
|
|
19091
|
-
|
|
19055
|
+
/**
|
|
19056
|
+
* HTTP backend used by the {@link ng.$http service} that delegates to
|
|
19057
|
+
* XMLHttpRequest object and deals with browser incompatibilities.
|
|
19058
|
+
*
|
|
19059
|
+
* You should never need to use this service directly, instead use the higher-level abstractions:
|
|
19060
|
+
* {@link ng.$http $http}.
|
|
19061
|
+
*
|
|
19062
|
+
*/
|
|
19063
|
+
class HttpBackendProvider {
|
|
19064
|
+
constructor() {
|
|
19065
|
+
this.$get = [
|
|
19066
|
+
"$browser",
|
|
19067
|
+
/**
|
|
19068
|
+
* @param {import('../browser.js').Browser} $browser
|
|
19069
|
+
* @returns
|
|
19070
|
+
*/
|
|
19071
|
+
function ($browser) {
|
|
19072
|
+
return createHttpBackend($browser);
|
|
19073
|
+
},
|
|
19074
|
+
];
|
|
19075
|
+
}
|
|
19092
19076
|
}
|
|
19093
19077
|
|
|
19094
19078
|
/**
|
|
@@ -19215,8 +19199,10 @@ function createHttpBackend($browser) {
|
|
|
19215
19199
|
// http.timeout = promise abort
|
|
19216
19200
|
// xhr.abort() abort (The xhr object is normally inaccessible, but
|
|
19217
19201
|
// can be exposed with the xhrFactory)
|
|
19202
|
+
/** @type {number} */
|
|
19203
|
+
let timeoutId;
|
|
19218
19204
|
if (timeout > 0) {
|
|
19219
|
-
|
|
19205
|
+
timeoutId = setTimeout(() => {
|
|
19220
19206
|
timeoutRequest("timeout");
|
|
19221
19207
|
}, timeout);
|
|
19222
19208
|
} else if (isPromiseLike(timeout)) {
|
|
@@ -20220,57 +20206,27 @@ function urlsEqual(a, b) {
|
|
|
20220
20206
|
return a === b || urlResolve(a).href === urlResolve(b).href;
|
|
20221
20207
|
}
|
|
20222
20208
|
|
|
20223
|
-
///////////////////////////////////////////////////////////////////////////
|
|
20224
|
-
// LogService
|
|
20225
|
-
// see http://docs.angularjs.org/api/ng/service/$log
|
|
20226
|
-
// see http://docs.angularjs.org/api/ng/provider/$logProvider
|
|
20227
|
-
///////////////////////////////////////////////////////////////////////////
|
|
20228
|
-
|
|
20229
|
-
/**
|
|
20230
|
-
* @typedef {(...args: any[]) => void} LogCall
|
|
20231
|
-
*/
|
|
20232
|
-
|
|
20233
|
-
/**
|
|
20234
|
-
* @typedef {Object} LogService
|
|
20235
|
-
* @property {LogCall} debug - Log a debug messages
|
|
20236
|
-
* @property {LogCall} error - Log a error message
|
|
20237
|
-
* @property {LogCall} info - Log a info message
|
|
20238
|
-
* @property {LogCall} log - Log a general message
|
|
20239
|
-
* @property {LogCall} warn - Log a warning message
|
|
20240
|
-
*/
|
|
20241
|
-
|
|
20242
|
-
/**
|
|
20243
|
-
* @type {LogService}
|
|
20244
|
-
*/
|
|
20245
|
-
let LogService = {
|
|
20246
|
-
debug: undefined,
|
|
20247
|
-
error: undefined,
|
|
20248
|
-
info: undefined,
|
|
20249
|
-
log: undefined,
|
|
20250
|
-
warn: undefined,
|
|
20251
|
-
};
|
|
20252
|
-
|
|
20253
20209
|
/**
|
|
20254
|
-
*
|
|
20255
|
-
* Use the `$logProvider` to configure how the application logs messages
|
|
20210
|
+
* Configuration provider for `$log` service
|
|
20256
20211
|
*/
|
|
20257
20212
|
class LogProvider {
|
|
20213
|
+
/** @private */
|
|
20258
20214
|
constructor() {
|
|
20259
|
-
|
|
20215
|
+
/** @type {boolean} */
|
|
20216
|
+
this.debug = false;
|
|
20217
|
+
/** @private @type {import("./interface.ts").LogServiceFactory | null} */
|
|
20218
|
+
this._override = null;
|
|
20260
20219
|
}
|
|
20261
20220
|
|
|
20262
20221
|
/**
|
|
20263
|
-
*
|
|
20264
|
-
* @
|
|
20222
|
+
* Override the default {@link LogService} implemenation
|
|
20223
|
+
* @param {import("./interface.ts").LogServiceFactory} fn
|
|
20265
20224
|
*/
|
|
20266
|
-
|
|
20267
|
-
|
|
20268
|
-
this.debug = flag;
|
|
20269
|
-
return this;
|
|
20270
|
-
}
|
|
20271
|
-
return this.debug;
|
|
20225
|
+
setLogger(fn) {
|
|
20226
|
+
this._override = fn;
|
|
20272
20227
|
}
|
|
20273
20228
|
|
|
20229
|
+
/** @private */
|
|
20274
20230
|
formatError(arg) {
|
|
20275
20231
|
if (isError(arg)) {
|
|
20276
20232
|
if (arg.stack) {
|
|
@@ -20285,6 +20241,10 @@ class LogProvider {
|
|
|
20285
20241
|
return arg;
|
|
20286
20242
|
}
|
|
20287
20243
|
|
|
20244
|
+
/**
|
|
20245
|
+
* @private
|
|
20246
|
+
* @param {string} type
|
|
20247
|
+
*/
|
|
20288
20248
|
consoleLog(type) {
|
|
20289
20249
|
const console = window.console || {};
|
|
20290
20250
|
const logFn = console[type] || console.log || (() => {});
|
|
@@ -20295,8 +20255,14 @@ class LogProvider {
|
|
|
20295
20255
|
};
|
|
20296
20256
|
}
|
|
20297
20257
|
|
|
20258
|
+
/**
|
|
20259
|
+
* @returns {import("./interface.ts").LogService}
|
|
20260
|
+
*/
|
|
20298
20261
|
$get() {
|
|
20299
|
-
|
|
20262
|
+
if (this._override) {
|
|
20263
|
+
return this._override();
|
|
20264
|
+
}
|
|
20265
|
+
return {
|
|
20300
20266
|
log: this.consoleLog("log"),
|
|
20301
20267
|
info: this.consoleLog("info"),
|
|
20302
20268
|
warn: this.consoleLog("warn"),
|
|
@@ -20310,7 +20276,6 @@ class LogProvider {
|
|
|
20310
20276
|
};
|
|
20311
20277
|
})(),
|
|
20312
20278
|
};
|
|
20313
|
-
return LogService;
|
|
20314
20279
|
}
|
|
20315
20280
|
}
|
|
20316
20281
|
|
|
@@ -21565,7 +21530,7 @@ class TaskTrackerFactoryProvider {
|
|
|
21565
21530
|
/**
|
|
21566
21531
|
* Creates a new `TaskTracker` instance.
|
|
21567
21532
|
*
|
|
21568
|
-
* @param {import('../services/log.
|
|
21533
|
+
* @param {import('../services/log/interface.ts').LogService} log - The logging service.
|
|
21569
21534
|
* @returns {TaskTracker} A new `TaskTracker` instance.
|
|
21570
21535
|
*/
|
|
21571
21536
|
(log) => new TaskTracker(log),
|
|
@@ -21580,7 +21545,7 @@ class TaskTrackerFactoryProvider {
|
|
|
21580
21545
|
*/
|
|
21581
21546
|
class TaskTracker {
|
|
21582
21547
|
/**
|
|
21583
|
-
* @param {import('../services/log.
|
|
21548
|
+
* @param {import('../services/log/interface.ts').LogService} log - The logging service.
|
|
21584
21549
|
*/
|
|
21585
21550
|
constructor(log) {
|
|
21586
21551
|
/** @private */
|
|
@@ -21758,8 +21723,8 @@ function TemplateRequestProvider() {
|
|
|
21758
21723
|
/**
|
|
21759
21724
|
*
|
|
21760
21725
|
* @param {import('../core/exception-handler.js').ErrorHandler} $exceptionHandler
|
|
21761
|
-
* @param {import('../
|
|
21762
|
-
* @param {
|
|
21726
|
+
* @param {import('../services/template-cache/interface.ts').TemplateCache} $templateCache
|
|
21727
|
+
* @param {import("interface.ts").HttpService} $http
|
|
21763
21728
|
* @param {*} $sce
|
|
21764
21729
|
* @returns
|
|
21765
21730
|
*/
|
|
@@ -26101,6 +26066,7 @@ const pushTo = curry((arr, val) => {
|
|
|
26101
26066
|
arr.push(val);
|
|
26102
26067
|
return val;
|
|
26103
26068
|
});
|
|
26069
|
+
|
|
26104
26070
|
/**
|
|
26105
26071
|
* Applies a set of defaults to an options object. The options object is filtered
|
|
26106
26072
|
* to only those properties of the objects in the defaultsList.
|
|
@@ -26268,6 +26234,7 @@ const uniqR = (acc, token) =>
|
|
|
26268
26234
|
* ```
|
|
26269
26235
|
*/
|
|
26270
26236
|
const unnest = (arr) => arr.reduce(unnestR, []);
|
|
26237
|
+
|
|
26271
26238
|
/**
|
|
26272
26239
|
* Given a .filter Predicate, builds a .filter Predicate which throws an error if any elements do not pass.
|
|
26273
26240
|
* @example
|
|
@@ -26282,6 +26249,7 @@ const unnest = (arr) => arr.reduce(unnestR, []);
|
|
|
26282
26249
|
* ```
|
|
26283
26250
|
*/
|
|
26284
26251
|
const assertPredicate = assertFn;
|
|
26252
|
+
|
|
26285
26253
|
function assertFn(predicateOrMap, errMsg = "assert failure") {
|
|
26286
26254
|
return (obj) => {
|
|
26287
26255
|
const result = predicateOrMap(obj);
|
|
@@ -26362,10 +26330,17 @@ function applyPairs(memo, keyValTuple) {
|
|
|
26362
26330
|
memo[key] = value;
|
|
26363
26331
|
return memo;
|
|
26364
26332
|
}
|
|
26365
|
-
|
|
26333
|
+
|
|
26334
|
+
/**
|
|
26335
|
+
* Returns the last element of an array, or undefined if the array is empty.
|
|
26336
|
+
* @template T
|
|
26337
|
+
* @param {T[]} arr - The input array.
|
|
26338
|
+
* @returns {T | undefined} The last element or undefined.
|
|
26339
|
+
*/
|
|
26366
26340
|
function tail(arr) {
|
|
26367
|
-
return
|
|
26341
|
+
return arr.length > 0 ? arr[arr.length - 1] : undefined;
|
|
26368
26342
|
}
|
|
26343
|
+
|
|
26369
26344
|
/**
|
|
26370
26345
|
* shallow copy from src to dest
|
|
26371
26346
|
*/
|
|
@@ -27680,12 +27655,15 @@ const isShorthand = (cfg) =>
|
|
|
27680
27655
|
Object.prototype.hasOwnProperty.bind(cfg || {}),
|
|
27681
27656
|
).length === 0;
|
|
27682
27657
|
|
|
27683
|
-
|
|
27684
|
-
|
|
27685
|
-
|
|
27686
|
-
|
|
27687
|
-
|
|
27688
|
-
|
|
27658
|
+
/**
|
|
27659
|
+
* @private
|
|
27660
|
+
* @enum {number}
|
|
27661
|
+
*/
|
|
27662
|
+
const DefType = {
|
|
27663
|
+
PATH: 0,
|
|
27664
|
+
SEARCH: 1,
|
|
27665
|
+
CONFIG: 2,
|
|
27666
|
+
};
|
|
27689
27667
|
|
|
27690
27668
|
function getParamDeclaration(paramName, location, state) {
|
|
27691
27669
|
const noReloadOnSearch =
|
|
@@ -27698,6 +27676,7 @@ function getParamDeclaration(paramName, location, state) {
|
|
|
27698
27676
|
);
|
|
27699
27677
|
return Object.assign(defaultConfig, paramConfig);
|
|
27700
27678
|
}
|
|
27679
|
+
|
|
27701
27680
|
function unwrapShorthand(cfg) {
|
|
27702
27681
|
cfg = isShorthand(cfg) ? { value: cfg } : cfg;
|
|
27703
27682
|
getStaticDefaultValue["__cacheable"] = true;
|
|
@@ -27707,6 +27686,7 @@ function unwrapShorthand(cfg) {
|
|
|
27707
27686
|
const $$fn = isInjectable(cfg.value) ? cfg.value : getStaticDefaultValue;
|
|
27708
27687
|
return Object.assign(cfg, { $$fn });
|
|
27709
27688
|
}
|
|
27689
|
+
|
|
27710
27690
|
function getType(cfg, urlType, location, id, paramTypes) {
|
|
27711
27691
|
if (cfg.type && urlType && urlType.name !== "string")
|
|
27712
27692
|
throw new Error(`Param '${id}' has two type configurations.`);
|
|
@@ -27731,6 +27711,7 @@ function getType(cfg, urlType, location, id, paramTypes) {
|
|
|
27731
27711
|
}
|
|
27732
27712
|
return cfg.type instanceof ParamType ? cfg.type : paramTypes.type(cfg.type);
|
|
27733
27713
|
}
|
|
27714
|
+
|
|
27734
27715
|
/** returns false, true, or the squash value to indicate the "default parameter url squash policy". */
|
|
27735
27716
|
function getSquashPolicy(config, isOptional, defaultPolicy) {
|
|
27736
27717
|
const squash = config.squash;
|
|
@@ -27741,6 +27722,7 @@ function getSquashPolicy(config, isOptional, defaultPolicy) {
|
|
|
27741
27722
|
`Invalid squash policy: '${squash}'. Valid policies: false, true, or arbitrary string`,
|
|
27742
27723
|
);
|
|
27743
27724
|
}
|
|
27725
|
+
|
|
27744
27726
|
function getReplace(config, arrayMode, isOptional, squash) {
|
|
27745
27727
|
const defaultPolicy = [
|
|
27746
27728
|
{ from: "", to: isOptional || arrayMode ? undefined : "" },
|
|
@@ -27754,7 +27736,16 @@ function getReplace(config, arrayMode, isOptional, squash) {
|
|
|
27754
27736
|
(item) => configuredKeys.indexOf(item.from) === -1,
|
|
27755
27737
|
).concat(replace);
|
|
27756
27738
|
}
|
|
27739
|
+
|
|
27757
27740
|
class Param {
|
|
27741
|
+
/**
|
|
27742
|
+
*
|
|
27743
|
+
* @param {*} id
|
|
27744
|
+
* @param {*} type
|
|
27745
|
+
* @param {DefType} location
|
|
27746
|
+
* @param {import("../url/url-config.js").UrlConfigProvider} urlConfig
|
|
27747
|
+
* @param {*} state
|
|
27748
|
+
*/
|
|
27758
27749
|
constructor(id, type, location, urlConfig, state) {
|
|
27759
27750
|
const config = getParamDeclaration(id, location, state);
|
|
27760
27751
|
type = getType(config, type, location, id, urlConfig.paramTypes);
|
|
@@ -28971,9 +28962,10 @@ class Rejection {
|
|
|
28971
28962
|
|
|
28972
28963
|
/**
|
|
28973
28964
|
* Configurable provider for an injectable event bus
|
|
28974
|
-
* @
|
|
28965
|
+
* @extends {ServiceProvider}
|
|
28975
28966
|
*/
|
|
28976
28967
|
class PubSubProvider {
|
|
28968
|
+
/** @private */
|
|
28977
28969
|
constructor() {
|
|
28978
28970
|
/**
|
|
28979
28971
|
* @type {PubSub}
|
|
@@ -28998,10 +28990,10 @@ class PubSub {
|
|
|
28998
28990
|
* strings corresponding to native Object properties, e.g. "constructor",
|
|
28999
28991
|
* "toString", "hasOwnProperty", etc.
|
|
29000
28992
|
*
|
|
29001
|
-
* @param {boolean=}
|
|
28993
|
+
* @param {boolean=} async Enable asynchronous behavior. Recommended for
|
|
29002
28994
|
* new code. See notes on the publish() method.
|
|
29003
28995
|
*/
|
|
29004
|
-
constructor(
|
|
28996
|
+
constructor(async = false) {
|
|
29005
28997
|
this.disposed = false;
|
|
29006
28998
|
|
|
29007
28999
|
/**
|
|
@@ -29037,7 +29029,7 @@ class PubSub {
|
|
|
29037
29029
|
* representation minimizes the number of object allocations and has been
|
|
29038
29030
|
* shown to be faster than an array of objects with three key-value pairs or
|
|
29039
29031
|
* three parallel arrays, especially on IE.) Once a subscription is removed
|
|
29040
|
-
* via {@link
|
|
29032
|
+
* via {@link unsubscribe} or {@link unsubscribeByKey}, the three
|
|
29041
29033
|
* corresponding array elements are deleted, and never reused. This means the
|
|
29042
29034
|
* total number of subscriptions during the lifetime of the pubsub channel is
|
|
29043
29035
|
* limited by the maximum length of a JavaScript array to (2^32 - 1) / 3 =
|
|
@@ -29058,7 +29050,7 @@ class PubSub {
|
|
|
29058
29050
|
/**
|
|
29059
29051
|
* @private @const {boolean}
|
|
29060
29052
|
*/
|
|
29061
|
-
this.async_ = Boolean(
|
|
29053
|
+
this.async_ = Boolean(async);
|
|
29062
29054
|
}
|
|
29063
29055
|
|
|
29064
29056
|
/**
|
|
@@ -29067,7 +29059,7 @@ class PubSub {
|
|
|
29067
29059
|
* is specified. Subscribing the same function to the same topic multiple
|
|
29068
29060
|
* times will result in multiple function invocations while publishing.
|
|
29069
29061
|
* Returns a subscription key that can be used to unsubscribe the function from
|
|
29070
|
-
* the topic via {@link
|
|
29062
|
+
* the topic via {@link unsubscribeByKey}.
|
|
29071
29063
|
*
|
|
29072
29064
|
* @param {string} topic Topic to subscribe to.
|
|
29073
29065
|
* @param {Function} fn Function to be invoked when a message is published to
|
|
@@ -29102,7 +29094,7 @@ class PubSub {
|
|
|
29102
29094
|
* method on the given `opt_context` object, or in the global scope if
|
|
29103
29095
|
* no context is specified, and is then unsubscribed. Returns a subscription
|
|
29104
29096
|
* key that can be used to unsubscribe the function from the topic via
|
|
29105
|
-
* {@link
|
|
29097
|
+
* {@link unsubscribeByKey}.
|
|
29106
29098
|
*
|
|
29107
29099
|
* @param {string} topic Topic to subscribe to.
|
|
29108
29100
|
* @param {Function} fn Function to be invoked once and then unsubscribed when
|
|
@@ -29142,9 +29134,9 @@ class PubSub {
|
|
|
29142
29134
|
* @param {Array} args Arguments to pass to the function.
|
|
29143
29135
|
*/
|
|
29144
29136
|
static runAsync_(fn, context, args) {
|
|
29145
|
-
|
|
29137
|
+
Promise.resolve().then(() => {
|
|
29146
29138
|
fn.apply(context, args);
|
|
29147
|
-
}
|
|
29139
|
+
});
|
|
29148
29140
|
}
|
|
29149
29141
|
|
|
29150
29142
|
/**
|
|
@@ -29175,7 +29167,7 @@ class PubSub {
|
|
|
29175
29167
|
}
|
|
29176
29168
|
|
|
29177
29169
|
/**
|
|
29178
|
-
* Removes a subscription based on the key returned by {@link
|
|
29170
|
+
* Removes a subscription based on the key returned by {@link subscribe}.
|
|
29179
29171
|
* No-op if no matching subscription is found. Returns a Boolean indicating
|
|
29180
29172
|
* whether a subscription was removed.
|
|
29181
29173
|
*
|
|
@@ -29210,7 +29202,7 @@ class PubSub {
|
|
|
29210
29202
|
* the order in which they were added, passing all arguments along.
|
|
29211
29203
|
*
|
|
29212
29204
|
* If this object was created with async=true, subscribed functions are called
|
|
29213
|
-
* via
|
|
29205
|
+
* via Promise.resolve(). Otherwise, the functions are called directly, and if
|
|
29214
29206
|
* any of them throw an uncaught error, publishing is aborted.
|
|
29215
29207
|
*
|
|
29216
29208
|
* @param {string} topic Topic to publish to.
|
|
@@ -32081,8 +32073,8 @@ class TemplateFactoryProvider {
|
|
|
32081
32073
|
"$templateRequest",
|
|
32082
32074
|
"$injector",
|
|
32083
32075
|
/**
|
|
32084
|
-
* @param {
|
|
32085
|
-
* @param {import("../
|
|
32076
|
+
* @param {import("interface.ts").HttpService} $http
|
|
32077
|
+
* @param {import("../services/template-cache/interface.ts").TemplateCache} $templateCache
|
|
32086
32078
|
* @param {any} $templateRequest
|
|
32087
32079
|
* @param {import("../core/di/internal-injector.js").InjectorService} $injector
|
|
32088
32080
|
* @returns
|
|
@@ -32181,7 +32173,7 @@ class TemplateFactoryProvider {
|
|
|
32181
32173
|
if (url == null) return null;
|
|
32182
32174
|
if (this._useHttp) {
|
|
32183
32175
|
return this.$http
|
|
32184
|
-
.get(url, {
|
|
32176
|
+
.get(/** @type {string} */ (url), {
|
|
32185
32177
|
cache: this.$templateCache,
|
|
32186
32178
|
headers: { Accept: "text/html" },
|
|
32187
32179
|
})
|
|
@@ -33493,7 +33485,13 @@ class UrlRules {
|
|
|
33493
33485
|
}
|
|
33494
33486
|
|
|
33495
33487
|
class ParamFactory {
|
|
33488
|
+
/**
|
|
33489
|
+
* @param {import("../url/url-config.js").UrlConfigProvider} urlServiceConfig
|
|
33490
|
+
*/
|
|
33496
33491
|
constructor(urlServiceConfig) {
|
|
33492
|
+
/**
|
|
33493
|
+
* @type {import("../url/url-config.js").UrlConfigProvider}
|
|
33494
|
+
*/
|
|
33497
33495
|
this.urlServiceConfig = urlServiceConfig;
|
|
33498
33496
|
}
|
|
33499
33497
|
|
|
@@ -33547,7 +33545,7 @@ class UrlService {
|
|
|
33547
33545
|
* The nested [[UrlConfig]] API to configure the URL and retrieve URL information
|
|
33548
33546
|
*
|
|
33549
33547
|
* See: [[UrlConfig]] for details
|
|
33550
|
-
* @type {import("./url-config").UrlConfigProvider}
|
|
33548
|
+
* @type {import("./url-config.js").UrlConfigProvider}
|
|
33551
33549
|
*/
|
|
33552
33550
|
this.config = urlConfigProvider;
|
|
33553
33551
|
|
|
@@ -34062,6 +34060,9 @@ function getNavigableBuilder(isRoot) {
|
|
|
34062
34060
|
};
|
|
34063
34061
|
}
|
|
34064
34062
|
|
|
34063
|
+
/**
|
|
34064
|
+
* @param {import("../params/param-factory.js").ParamFactory} paramFactory
|
|
34065
|
+
*/
|
|
34065
34066
|
function getParamsBuilder(paramFactory) {
|
|
34066
34067
|
return function (state) {
|
|
34067
34068
|
const makeConfigParam = (_config, id) =>
|
|
@@ -35573,43 +35574,29 @@ function registerControllerCallbacks(
|
|
|
35573
35574
|
}
|
|
35574
35575
|
}
|
|
35575
35576
|
|
|
35577
|
+
ngChannelDirective.$inject = [$injectTokens.$eventBus];
|
|
35576
35578
|
/**
|
|
35577
|
-
*
|
|
35578
|
-
* If data is sent via `EventBus` on the specified `ngChannel`, the directive attempts to update the element's content accordingly,
|
|
35579
|
-
* either by directly setting the inner HTML or merging the scope's data if the element contains a template.
|
|
35580
|
-
*
|
|
35581
|
-
* If the element has a template and incoming data is an object, the directive will merge all key/value pairs onto the scope,
|
|
35582
|
-
* allowing Angular expressions (`{{ yourModel }}`) to be evaluated and rendered.
|
|
35583
|
-
*
|
|
35584
|
-
* When the scope is destroyed, the directive automatically unsubscribes from the channel.
|
|
35585
|
-
* Example:
|
|
35586
|
-
*
|
|
35587
|
-
* HTML:
|
|
35588
|
-
* <div ng-channel="userChannel">Hello {{ user.firstName }} {{ user.lastName }}</div>
|
|
35589
|
-
*
|
|
35590
|
-
* JavaScript:
|
|
35591
|
-
* angular.EventBus.publish('userChannel', { user: { firstName: 'John', lastName: 'Smith' } });
|
|
35592
|
-
*
|
|
35579
|
+
* @param {import("../../services/pubsub/pubsub.js").PubSub} $eventBus
|
|
35593
35580
|
* @returns {import("../../interface.ts").Directive}
|
|
35594
35581
|
*/
|
|
35595
|
-
function ngChannelDirective() {
|
|
35582
|
+
function ngChannelDirective($eventBus) {
|
|
35596
35583
|
return {
|
|
35597
35584
|
link: (scope, element, attrs) => {
|
|
35598
|
-
const hasTemplate = element.childNodes.length > 0;
|
|
35599
35585
|
const channel = attrs["ngChannel"];
|
|
35586
|
+
const hasTemplateContent = element.childNodes.length > 0;
|
|
35600
35587
|
|
|
35601
|
-
const key =
|
|
35602
|
-
if (
|
|
35603
|
-
|
|
35604
|
-
|
|
35605
|
-
if (isObject(val)) {
|
|
35606
|
-
scope.$merge(val);
|
|
35588
|
+
const key = $eventBus.subscribe(channel, (value) => {
|
|
35589
|
+
if (hasTemplateContent) {
|
|
35590
|
+
if (isObject(value)) {
|
|
35591
|
+
scope.$merge(value);
|
|
35607
35592
|
}
|
|
35593
|
+
} else {
|
|
35594
|
+
element.innerHTML = value;
|
|
35608
35595
|
}
|
|
35609
35596
|
});
|
|
35610
35597
|
|
|
35611
35598
|
scope.$on("$destroy", () => {
|
|
35612
|
-
|
|
35599
|
+
$eventBus.unsubscribeByKey(key);
|
|
35613
35600
|
});
|
|
35614
35601
|
},
|
|
35615
35602
|
};
|
|
@@ -35618,7 +35605,7 @@ function ngChannelDirective() {
|
|
|
35618
35605
|
ngSetterDirective.$inject = ["$parse", "$log"];
|
|
35619
35606
|
/**
|
|
35620
35607
|
* @param {import('../../core/parse/interface.ts').ParseService} $parse
|
|
35621
|
-
* @param {import('../../services/log.
|
|
35608
|
+
* @param {import('../../services/log/interface.ts').LogService} $log
|
|
35622
35609
|
* @returns {import('../../interface.ts').Directive}
|
|
35623
35610
|
*/
|
|
35624
35611
|
function ngSetterDirective($parse, $log) {
|
|
@@ -35677,16 +35664,256 @@ function ngSetterDirective($parse, $log) {
|
|
|
35677
35664
|
};
|
|
35678
35665
|
}
|
|
35679
35666
|
|
|
35680
|
-
|
|
35667
|
+
/**
|
|
35668
|
+
* @param {"get" | "delete" | "post" | "put"} method
|
|
35669
|
+
* @returns {import('../../interface.ts').DirectiveFactory}
|
|
35670
|
+
*/
|
|
35671
|
+
function defineDirective(method) {
|
|
35672
|
+
const attrName = "ng" + method.charAt(0).toUpperCase() + method.slice(1);
|
|
35673
|
+
const directive = createHttpDirective(method, attrName);
|
|
35674
|
+
directive["$inject"] = ["$http", "$compile", "$log"];
|
|
35675
|
+
return directive;
|
|
35676
|
+
}
|
|
35681
35677
|
|
|
35682
|
-
const
|
|
35678
|
+
const ngGetDirective = defineDirective("get");
|
|
35679
|
+
const ngDeleteDirective = defineDirective("delete");
|
|
35680
|
+
const ngPostDirective = defineDirective("post");
|
|
35681
|
+
const ngPutDirective = defineDirective("put");
|
|
35682
|
+
|
|
35683
|
+
/**
|
|
35684
|
+
* @typedef {"click" | "change" | "submit"} EventType
|
|
35685
|
+
*/
|
|
35686
|
+
|
|
35687
|
+
/**
|
|
35688
|
+
* Selects DOM event to listen for based on the element type.
|
|
35689
|
+
*
|
|
35690
|
+
* @param {Element} element - The DOM element to inspect.
|
|
35691
|
+
* @returns {EventType} The name of the event to listen for.
|
|
35692
|
+
*/
|
|
35693
|
+
function getEventNameForElement(element) {
|
|
35694
|
+
const tag = element.tagName.toLowerCase();
|
|
35695
|
+
if (["input", "textarea", "select"].includes(tag)) {
|
|
35696
|
+
return "change";
|
|
35697
|
+
} else if (tag === "form") {
|
|
35698
|
+
return "submit";
|
|
35699
|
+
}
|
|
35700
|
+
return "click";
|
|
35701
|
+
}
|
|
35702
|
+
|
|
35703
|
+
/**
|
|
35704
|
+
* Handles DOM manipulation based on a swap strategy and server-rendered HTML.
|
|
35705
|
+
*
|
|
35706
|
+
* @param {string} html - The HTML string returned from the server.
|
|
35707
|
+
* @param {import("../../interface.ts").SwapInsertPosition} swap
|
|
35708
|
+
* @param {Element} target - The target DOM element to apply the swap to.
|
|
35709
|
+
* @param {import('../../core/scope/scope.js').Scope} scope
|
|
35710
|
+
* @param {import('../../core/compile/compile.js').CompileFn} $compile
|
|
35711
|
+
*/
|
|
35712
|
+
function handleSwapResponse(html, swap, target, scope, $compile) {
|
|
35713
|
+
let nodes = [];
|
|
35714
|
+
if (!["textcontent", "delete", "none"].includes(swap)) {
|
|
35715
|
+
if (!html) {
|
|
35716
|
+
return;
|
|
35717
|
+
}
|
|
35718
|
+
|
|
35719
|
+
if (isObject(html)) {
|
|
35720
|
+
scope.$merge(html);
|
|
35721
|
+
return;
|
|
35722
|
+
}
|
|
35723
|
+
|
|
35724
|
+
const compiled = $compile(html)(scope);
|
|
35725
|
+
nodes =
|
|
35726
|
+
compiled instanceof DocumentFragment
|
|
35727
|
+
? Array.from(compiled.childNodes)
|
|
35728
|
+
: [compiled];
|
|
35729
|
+
}
|
|
35730
|
+
|
|
35731
|
+
switch (swap) {
|
|
35732
|
+
case "innerHTML":
|
|
35733
|
+
target.replaceChildren(...nodes);
|
|
35734
|
+
break;
|
|
35735
|
+
|
|
35736
|
+
case "outerHTML": {
|
|
35737
|
+
const parent = target.parentNode;
|
|
35738
|
+
if (!parent) return;
|
|
35739
|
+
const frag = document.createDocumentFragment();
|
|
35740
|
+
nodes.forEach((n) => frag.appendChild(n));
|
|
35741
|
+
parent.replaceChild(frag, target);
|
|
35742
|
+
break;
|
|
35743
|
+
}
|
|
35744
|
+
|
|
35745
|
+
case "textContent":
|
|
35746
|
+
target.textContent = html;
|
|
35747
|
+
break;
|
|
35748
|
+
|
|
35749
|
+
case "beforebegin":
|
|
35750
|
+
nodes.forEach((node) => target.parentNode.insertBefore(node, target));
|
|
35751
|
+
break;
|
|
35752
|
+
|
|
35753
|
+
case "afterbegin":
|
|
35754
|
+
nodes
|
|
35755
|
+
.slice()
|
|
35756
|
+
.reverse()
|
|
35757
|
+
.forEach((node) => target.insertBefore(node, target.firstChild));
|
|
35758
|
+
break;
|
|
35759
|
+
|
|
35760
|
+
case "beforeend":
|
|
35761
|
+
nodes.forEach((node) => target.appendChild(node));
|
|
35762
|
+
break;
|
|
35763
|
+
|
|
35764
|
+
case "afterend":
|
|
35765
|
+
nodes
|
|
35766
|
+
.slice()
|
|
35767
|
+
.reverse()
|
|
35768
|
+
.forEach((node) =>
|
|
35769
|
+
target.parentNode.insertBefore(node, target.nextSibling),
|
|
35770
|
+
);
|
|
35771
|
+
break;
|
|
35772
|
+
|
|
35773
|
+
case "delete":
|
|
35774
|
+
target.remove();
|
|
35775
|
+
break;
|
|
35776
|
+
|
|
35777
|
+
case "none":
|
|
35778
|
+
break;
|
|
35779
|
+
|
|
35780
|
+
default:
|
|
35781
|
+
target.replaceChildren(...nodes);
|
|
35782
|
+
break;
|
|
35783
|
+
}
|
|
35784
|
+
}
|
|
35785
|
+
|
|
35786
|
+
/**
|
|
35787
|
+
* Creates an HTTP directive factory that supports GET, DELETE, POST, PUT.
|
|
35788
|
+
*
|
|
35789
|
+
* @param {"get" | "delete" | "post" | "put"} method - HTTP method to use.
|
|
35790
|
+
* @param {string} attrName - Attribute name containing the URL.
|
|
35791
|
+
* @returns {import('../../interface.ts').DirectiveFactory}
|
|
35792
|
+
*/
|
|
35793
|
+
function createHttpDirective(method, attrName) {
|
|
35794
|
+
/**
|
|
35795
|
+
* @param {import("interface.ts").HttpService} $http
|
|
35796
|
+
* @param {import("../../core/compile/compile.js").CompileFn} $compile
|
|
35797
|
+
* @param {import("../../services/log/interface.ts").LogService} $log
|
|
35798
|
+
* @returns {import('../../interface.ts').Directive}
|
|
35799
|
+
*/
|
|
35800
|
+
return function ($http, $compile, $log) {
|
|
35801
|
+
/**
|
|
35802
|
+
* Collects form data from the element or its associated form.
|
|
35803
|
+
*
|
|
35804
|
+
* @param {HTMLElement} element
|
|
35805
|
+
* @returns {Object<string, any>}
|
|
35806
|
+
*/
|
|
35807
|
+
function collectFormData(element) {
|
|
35808
|
+
/** @type {HTMLFormElement | null} */
|
|
35809
|
+
let form = null;
|
|
35810
|
+
|
|
35811
|
+
const tag = element.tagName.toLowerCase();
|
|
35812
|
+
|
|
35813
|
+
if (tag === "form") {
|
|
35814
|
+
/** @type {HTMLFormElement} */
|
|
35815
|
+
form = /** @type {HTMLFormElement} */ (element);
|
|
35816
|
+
} else if ("form" in element && element.form) {
|
|
35817
|
+
/** @type {HTMLFormElement} */
|
|
35818
|
+
form = /** @type {HTMLFormElement} */ (element.form);
|
|
35819
|
+
} else if (element.hasAttribute("form")) {
|
|
35820
|
+
const formId = element.getAttribute("form");
|
|
35821
|
+
if (formId) {
|
|
35822
|
+
/** @type {HTMLElement | null} */
|
|
35823
|
+
const maybeForm = document.getElementById(formId);
|
|
35824
|
+
if (maybeForm && maybeForm.tagName.toLowerCase() === "form") {
|
|
35825
|
+
form = /** @type {HTMLFormElement} */ (maybeForm);
|
|
35826
|
+
}
|
|
35827
|
+
}
|
|
35828
|
+
}
|
|
35829
|
+
|
|
35830
|
+
if (!form) {
|
|
35831
|
+
if (
|
|
35832
|
+
"name" in element &&
|
|
35833
|
+
typeof element.name === "string" &&
|
|
35834
|
+
element.name.length > 0
|
|
35835
|
+
) {
|
|
35836
|
+
if (
|
|
35837
|
+
element instanceof HTMLInputElement ||
|
|
35838
|
+
element instanceof HTMLTextAreaElement ||
|
|
35839
|
+
element instanceof HTMLSelectElement
|
|
35840
|
+
) {
|
|
35841
|
+
const key = element.name;
|
|
35842
|
+
const value = element.value;
|
|
35843
|
+
return { [key]: value };
|
|
35844
|
+
}
|
|
35845
|
+
}
|
|
35846
|
+
return {};
|
|
35847
|
+
}
|
|
35848
|
+
|
|
35849
|
+
const formData = new FormData(form);
|
|
35850
|
+
const data = {};
|
|
35851
|
+
formData.forEach((value, key) => {
|
|
35852
|
+
data[key] = value;
|
|
35853
|
+
});
|
|
35854
|
+
return data;
|
|
35855
|
+
}
|
|
35856
|
+
|
|
35857
|
+
return {
|
|
35858
|
+
restrict: "A",
|
|
35859
|
+
terminal: true,
|
|
35860
|
+
link(scope, element, attrs) {
|
|
35861
|
+
/** @type {EventType} */
|
|
35862
|
+
const eventName = getEventNameForElement(element);
|
|
35863
|
+
const tag = element.tagName.toLowerCase();
|
|
35864
|
+
|
|
35865
|
+
element.addEventListener(eventName, (event) => {
|
|
35866
|
+
if (/** @type {HTMLButtonElement} */ (element).disabled) return;
|
|
35867
|
+
if (tag === "form") event.preventDefault();
|
|
35868
|
+
|
|
35869
|
+
const swap = element.dataset.swap || "innerHTML";
|
|
35870
|
+
const targetSelector = element.dataset.target;
|
|
35871
|
+
const target = targetSelector
|
|
35872
|
+
? document.querySelector(targetSelector)
|
|
35873
|
+
: element;
|
|
35874
|
+
|
|
35875
|
+
if (!target) {
|
|
35876
|
+
$log.warn(`${attrName}: target "${targetSelector}" not found`);
|
|
35877
|
+
return;
|
|
35878
|
+
}
|
|
35879
|
+
|
|
35880
|
+
const url = attrs[attrName];
|
|
35881
|
+
if (!url) {
|
|
35882
|
+
$log.warn(`${attrName}: no URL specified`);
|
|
35883
|
+
return;
|
|
35884
|
+
}
|
|
35885
|
+
|
|
35886
|
+
const handler = (res) => {
|
|
35887
|
+
const html = res.data;
|
|
35888
|
+
handleSwapResponse(
|
|
35889
|
+
html,
|
|
35890
|
+
/** @type {import("../../interface.ts").SwapInsertPosition} */ (
|
|
35891
|
+
swap
|
|
35892
|
+
),
|
|
35893
|
+
target,
|
|
35894
|
+
scope,
|
|
35895
|
+
$compile,
|
|
35896
|
+
);
|
|
35897
|
+
};
|
|
35898
|
+
|
|
35899
|
+
if (method === "post" || method === "put") {
|
|
35900
|
+
const data = collectFormData(element);
|
|
35901
|
+
$http[method](url, data).then(handler).catch(handler);
|
|
35902
|
+
} else {
|
|
35903
|
+
$http[method](url).then(handler).catch(handler);
|
|
35904
|
+
}
|
|
35905
|
+
});
|
|
35906
|
+
},
|
|
35907
|
+
};
|
|
35908
|
+
};
|
|
35909
|
+
}
|
|
35683
35910
|
|
|
35684
35911
|
/**
|
|
35685
35912
|
* Initializes core `ng` module.
|
|
35686
35913
|
* @param {import('./loader.js').Angular} angular
|
|
35687
35914
|
* @returns {import('./core/di/ng-module.js').NgModule} `ng` module
|
|
35688
35915
|
*/
|
|
35689
|
-
function
|
|
35916
|
+
function registerNgModule(angular) {
|
|
35690
35917
|
const ng = angular
|
|
35691
35918
|
.module(
|
|
35692
35919
|
"ng",
|
|
@@ -35716,8 +35943,10 @@ function publishExternalAPI(angular) {
|
|
|
35716
35943
|
ngClassOdd: ngClassOddDirective,
|
|
35717
35944
|
ngCloak: ngCloakDirective,
|
|
35718
35945
|
ngController: ngControllerDirective,
|
|
35946
|
+
ngDelete: ngDeleteDirective,
|
|
35719
35947
|
ngDisabled: ngDisabledAriaDirective,
|
|
35720
35948
|
ngForm: ngFormDirective,
|
|
35949
|
+
ngGet: ngGetDirective,
|
|
35721
35950
|
ngHide: ngHideDirective,
|
|
35722
35951
|
ngIf: ngIfDirective,
|
|
35723
35952
|
ngInclude: ngIncludeDirective,
|
|
@@ -35728,6 +35957,8 @@ function publishExternalAPI(angular) {
|
|
|
35728
35957
|
ngMessagesInclude: ngMessagesIncludeDirective,
|
|
35729
35958
|
ngMessageDefault: ngMessageDefaultDirective,
|
|
35730
35959
|
ngNonBindable: ngNonBindableDirective,
|
|
35960
|
+
ngPost: ngPostDirective,
|
|
35961
|
+
ngPut: ngPutDirective,
|
|
35731
35962
|
ngRef: ngRefDirective,
|
|
35732
35963
|
ngRepeat: ngRepeatDirective,
|
|
35733
35964
|
ngSetter: ngSetterDirective,
|
|
@@ -35832,8 +36063,7 @@ function publishExternalAPI(angular) {
|
|
|
35832
36063
|
return globals.params;
|
|
35833
36064
|
},
|
|
35834
36065
|
])
|
|
35835
|
-
.value("$trace", trace)
|
|
35836
|
-
.info({ version: VERSION });
|
|
36066
|
+
.value("$trace", trace);
|
|
35837
36067
|
|
|
35838
36068
|
return ng;
|
|
35839
36069
|
}
|
|
@@ -35853,18 +36083,15 @@ const modules = {};
|
|
|
35853
36083
|
|
|
35854
36084
|
class Angular {
|
|
35855
36085
|
constructor() {
|
|
35856
|
-
Cache
|
|
35857
|
-
|
|
35858
|
-
/** @type {Map<number, import("./core/cache/cache").ExpandoStore>} */
|
|
35859
|
-
this.Cache = Cache;
|
|
36086
|
+
this.$cache = Cache;
|
|
35860
36087
|
|
|
35861
|
-
/** @type {import('./
|
|
35862
|
-
this
|
|
36088
|
+
/** @type {import('./services/pubsub/pubsub.js').PubSub} */
|
|
36089
|
+
this.$eventBus = EventBus;
|
|
35863
36090
|
|
|
35864
36091
|
/**
|
|
35865
36092
|
* @type {string} `version` from `package.json`
|
|
35866
36093
|
*/
|
|
35867
|
-
this.version =
|
|
36094
|
+
this.version = "0.7.4"; //inserted via rollup plugin
|
|
35868
36095
|
|
|
35869
36096
|
/** @type {!Array<string|any>} */
|
|
35870
36097
|
this.bootsrappedModules = [];
|
|
@@ -35876,7 +36103,7 @@ class Angular {
|
|
|
35876
36103
|
|
|
35877
36104
|
window["angular"] = this;
|
|
35878
36105
|
this.$injectTokens = $injectTokens;
|
|
35879
|
-
|
|
36106
|
+
registerNgModule(this);
|
|
35880
36107
|
}
|
|
35881
36108
|
|
|
35882
36109
|
/**
|