@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.
Files changed (1012) hide show
  1. package/.github/workflows/ci.yml +1 -1
  2. package/.prettierignore +3 -1
  3. package/@types/core/di/internal-injector.d.ts +2 -5
  4. package/@types/core/di/ng-module.d.ts +0 -7
  5. package/@types/core/exception-handler.d.ts +2 -2
  6. package/@types/core/task-tracker-factory.d.ts +2 -2
  7. package/@types/directive/channel/channel.d.ts +7 -17
  8. package/@types/directive/http/http.d.ts +42 -0
  9. package/@types/directive/if/if.d.ts +0 -2
  10. package/@types/directive/script/script.d.ts +2 -2
  11. package/@types/directive/setter/setter.d.ts +2 -2
  12. package/@types/injection-tokens.d.ts +3 -0
  13. package/@types/interface.d.ts +27 -4
  14. package/@types/loader.d.ts +3 -4
  15. package/@types/public.d.ts +1 -2
  16. package/@types/router/params/param-factory.d.ts +10 -2
  17. package/@types/router/params/param.d.ts +22 -3
  18. package/@types/router/template-factory.d.ts +2 -2
  19. package/@types/router/url/url-service.d.ts +2 -2
  20. package/@types/services/http/http.d.ts +2 -2
  21. package/@types/services/http/interface.d.ts +219 -0
  22. package/@types/services/http-backend/http-backend.d.ts +26 -19
  23. package/@types/services/log/interface.d.ts +33 -0
  24. package/@types/services/log/log.d.ts +25 -0
  25. package/@types/{core → services}/pubsub/pubsub.d.ts +9 -9
  26. package/@types/services/template-cache/interface.d.ts +4 -0
  27. package/@types/services/template-cache/template-cache.d.ts +11 -0
  28. package/@types/services/template-request.d.ts +1 -1
  29. package/@types/shared/cache.d.ts +9 -0
  30. package/@types/shared/common.d.ts +7 -8
  31. package/@types/shared/dom.d.ts +2 -2
  32. package/Makefile +9 -1
  33. package/dist/angular-ts.esm.js +426 -199
  34. package/dist/angular-ts.umd.js +426 -199
  35. package/dist/angular-ts.umd.min.js +1 -1
  36. package/docs/README.md +69 -39
  37. package/docs/assets/scss/_variables_project.scss +6 -0
  38. package/docs/assets/scss/_variables_project_after_bs.scss +8 -0
  39. package/docs/assets/scss/index.scss +13 -0
  40. package/docs/content/{en/_index.md → _index.md} +6 -1
  41. package/docs/content/docs/_index.md +60 -0
  42. package/docs/content/docs/directive/_index.md +4 -0
  43. package/docs/content/docs/directive/app.md +11 -0
  44. package/docs/content/docs/directive/aria.md +0 -0
  45. package/docs/content/docs/directive/channel.md +39 -0
  46. package/docs/content/docs/directive/class-even.md +47 -0
  47. package/docs/content/docs/directive/class-odd.md +48 -0
  48. package/docs/content/docs/directive/class.md +64 -0
  49. package/docs/content/docs/directive/cloak.md +78 -0
  50. package/docs/content/docs/directive/include.md +7 -0
  51. package/docs/content/docs/filter/_index.md +4 -0
  52. package/docs/content/docs/provider/_index.md +4 -0
  53. package/docs/content/docs/provider/eventBusProvider.md +35 -0
  54. package/docs/content/docs/provider/logProvider.md +59 -0
  55. package/docs/content/docs/provider/templateCacheProvider.md +35 -0
  56. package/docs/content/docs/service/_index.md +4 -0
  57. package/docs/content/docs/service/eventBus.md +56 -0
  58. package/docs/content/docs/service/log.md +113 -0
  59. package/docs/content/docs/service/templateCache.md +64 -0
  60. package/docs/docker-compose.yaml +2 -3
  61. package/docs/hugo.yaml +18 -19
  62. package/docs/layouts/404.html +8 -2
  63. package/docs/layouts/partials/hooks/head-end.html +3 -0
  64. package/docs/layouts/shortcodes/showhtml.html +2 -0
  65. package/docs/layouts/shortcodes/showjs.html +2 -0
  66. package/docs/layouts/shortcodes/showraw.html +1 -0
  67. package/docs/static/examples/counter/counter-test.html +17 -0
  68. package/docs/static/examples/counter/counter.html +5 -0
  69. package/docs/static/examples/counter/counter.test.js +28 -0
  70. package/docs/static/examples/eventbus/eventbus-test.html +19 -0
  71. package/docs/static/examples/eventbus/eventbus.html +13 -0
  72. package/docs/static/examples/eventbus/eventbus.js +15 -0
  73. package/docs/static/examples/eventbus/eventbus.test.js +19 -0
  74. package/docs/static/examples/ng-channel/ng-channel-test.html +17 -0
  75. package/docs/static/examples/ng-channel/ng-channel.html +24 -0
  76. package/docs/static/examples/ng-channel/ng-channel.test.js +31 -0
  77. package/docs/static/examples/ng-class/ng-class.html +71 -0
  78. package/docs/static/examples/ng-class/ng-class.js +0 -0
  79. package/docs/static/examples/ng-class-even/ng-class-even.html +8 -0
  80. package/docs/static/examples/ng-class-odd/ng-class-odd.html +8 -0
  81. package/docs/static/typedoc/assets/hierarchy.js +1 -0
  82. package/docs/static/typedoc/assets/highlight.css +78 -0
  83. package/docs/static/typedoc/assets/icons.js +18 -0
  84. package/docs/static/typedoc/assets/main.js +60 -0
  85. package/docs/static/typedoc/assets/navigation.js +1 -0
  86. package/docs/static/typedoc/assets/search.js +1 -0
  87. package/docs/static/typedoc/assets/style.css +1640 -0
  88. package/docs/static/typedoc/classes/LogProvider.html +6 -0
  89. package/docs/static/typedoc/classes/PubSub.html +71 -0
  90. package/docs/static/typedoc/classes/PubSubProvider.html +3 -0
  91. package/docs/static/typedoc/classes/TemplateCacheProvider.html +5 -0
  92. package/docs/static/typedoc/hierarchy.html +1 -0
  93. package/docs/static/typedoc/index.html +1 -0
  94. package/docs/static/typedoc/interfaces/ChangesObject.html +6 -0
  95. package/docs/static/typedoc/interfaces/ComponentOptions.html +16 -0
  96. package/docs/static/typedoc/interfaces/Controller.html +12 -0
  97. package/docs/static/typedoc/interfaces/Directive.html +36 -0
  98. package/docs/static/typedoc/interfaces/DirectivePrePost.html +4 -0
  99. package/docs/static/typedoc/interfaces/HttpHeadersGetter.html +1 -0
  100. package/docs/static/typedoc/interfaces/HttpProviderDefaults.html +31 -0
  101. package/docs/static/typedoc/interfaces/HttpRequestConfigHeaders.html +6 -0
  102. package/docs/static/typedoc/interfaces/HttpRequestTransformer.html +1 -0
  103. package/docs/static/typedoc/interfaces/HttpResponse.html +8 -0
  104. package/docs/static/typedoc/interfaces/HttpResponseTransformer.html +1 -0
  105. package/docs/static/typedoc/interfaces/HttpService.html +38 -0
  106. package/docs/static/typedoc/interfaces/LogService.html +12 -0
  107. package/docs/static/typedoc/interfaces/NgModelController.html +30 -0
  108. package/docs/static/typedoc/interfaces/NgModelOptions.html +16 -0
  109. package/docs/static/typedoc/interfaces/Provider.html +28 -0
  110. package/docs/static/typedoc/interfaces/RequestConfig.html +48 -0
  111. package/docs/static/typedoc/interfaces/RequestShortcutConfig.html +38 -0
  112. package/docs/static/typedoc/interfaces/ServiceProvider.html +5 -0
  113. package/docs/static/typedoc/interfaces/TranscludeFunctionObject.html +8 -0
  114. package/docs/static/typedoc/types/AnnotatedFactory.html +8 -0
  115. package/docs/static/typedoc/types/CloneAttachFunction.html +2 -0
  116. package/docs/static/typedoc/types/ControllerConstructor.html +2 -0
  117. package/docs/static/typedoc/types/DirectiveCompileFn.html +2 -0
  118. package/docs/static/typedoc/types/DirectiveController.html +2 -0
  119. package/docs/static/typedoc/types/DirectiveFactory.html +2 -0
  120. package/docs/static/typedoc/types/DirectiveLinkFn.html +2 -0
  121. package/docs/static/typedoc/types/ExpandoStore.html +2 -0
  122. package/docs/static/typedoc/types/Expression.html +6 -0
  123. package/docs/static/typedoc/types/FilterFactory.html +2 -0
  124. package/docs/static/typedoc/types/FilterFn.html +2 -0
  125. package/docs/static/typedoc/types/HttpPromise.html +1 -0
  126. package/docs/static/typedoc/types/Injectable.html +1 -0
  127. package/docs/static/typedoc/types/InjectableFactory.html +4 -0
  128. package/docs/static/typedoc/types/LogCall.html +2 -0
  129. package/docs/static/typedoc/types/LogServiceFactory.html +2 -0
  130. package/docs/static/typedoc/types/OnChangesObject.html +2 -0
  131. package/docs/static/typedoc/types/SwapInsertPosition.html +2 -0
  132. package/docs/static/typedoc/types/TController.html +2 -0
  133. package/docs/static/typedoc/types/TemplateCache.html +2 -0
  134. package/docs/static/typedoc/variables/EventBus.html +1 -0
  135. package/index.html +4 -2
  136. package/legacy.d.ts +2695 -0
  137. package/package.json +3 -3
  138. package/playwright.config.ts +2 -0
  139. package/src/animations/animate-css.js +5 -1
  140. package/src/animations/animate.spec.js +1 -1
  141. package/src/binding.spec.js +2 -0
  142. package/src/core/compile/compile.js +3 -1
  143. package/src/core/compile/compile.spec.js +21 -100
  144. package/src/core/core.html +0 -1
  145. package/src/core/di/injector.js +1 -1
  146. package/src/core/di/injector.spec.js +0 -30
  147. package/src/core/di/internal-injector.js +2 -5
  148. package/src/core/di/ng-module.js +1 -23
  149. package/src/core/di/ng-module.spec.js +0 -6
  150. package/src/core/exception-handler.js +1 -1
  151. package/src/core/prop.spec.js +1 -0
  152. package/src/core/task-tracker-factory.js +2 -2
  153. package/src/directive/bind/bind.spec.js +1 -4
  154. package/src/directive/channel/channel.js +12 -26
  155. package/src/directive/channel/channel.spec.js +4 -2
  156. package/src/directive/class/class.js +16 -0
  157. package/src/directive/class/class.spec.js +2 -0
  158. package/src/directive/events/event.spec.js +1 -0
  159. package/src/directive/form/form.spec.js +2 -0
  160. package/src/directive/http/delete.spec.js +24 -0
  161. package/src/directive/http/get.spec.js +211 -0
  162. package/src/directive/http/http.html +22 -0
  163. package/src/directive/http/http.js +245 -0
  164. package/src/directive/http/http.test.js +12 -0
  165. package/src/directive/http/post-example.html +30 -0
  166. package/src/directive/http/post.spec.js +24 -0
  167. package/src/directive/http/put.spec.js +24 -0
  168. package/src/directive/if/if.js +0 -2
  169. package/src/directive/if/if.spec.js +2 -0
  170. package/src/directive/include/include.spec.js +1 -1
  171. package/src/directive/input/input.spec.js +1 -0
  172. package/src/directive/model/model.spec.js +3 -0
  173. package/src/directive/model-options/model-options.spec.js +3 -5
  174. package/src/directive/observe/observe.spec.js +2 -1
  175. package/src/{core/pubsub/pubsub.html → directive/on/on.html} +1 -1
  176. package/src/{core → directive/on}/on.spec.js +5 -3
  177. package/src/directive/on/on.test.js +11 -0
  178. package/src/directive/options/options.spec.js +1 -0
  179. package/src/directive/repeat/repeat.spec.js +1 -1
  180. package/src/directive/script/script.js +1 -1
  181. package/src/directive/select/select.spec.js +1 -0
  182. package/src/directive/setter/setter.js +1 -1
  183. package/src/directive/setter/setter.spec.js +3 -1
  184. package/src/directive/style/style.js +1 -1
  185. package/src/directive/switch/switch.spec.js +1 -0
  186. package/src/injection-tokens.js +3 -0
  187. package/src/interface.ts +27 -4
  188. package/src/loader.js +8 -12
  189. package/src/loader.spec.js +0 -31
  190. package/src/public.js +15 -9
  191. package/src/router/directives/state-directives.spec.js +3 -1
  192. package/src/router/params/param-factory.js +6 -0
  193. package/src/router/params/param.js +22 -7
  194. package/src/router/router.html +0 -1
  195. package/src/router/router.test.js +2 -1
  196. package/src/router/services.spec.js +2 -0
  197. package/src/router/state/state-builder.js +3 -0
  198. package/src/router/state/state-builder.spec.js +2 -0
  199. package/src/router/state/state-service.js +1 -1
  200. package/src/router/state-filter.spec.js +2 -0
  201. package/src/router/template-factory.html +19 -0
  202. package/src/router/template-factory.js +3 -3
  203. package/src/router/template-factory.spec.js +1 -0
  204. package/src/router/template-factory.test.js +12 -0
  205. package/src/router/transition/transition-hook.js +1 -1
  206. package/src/router/url/url-service.js +1 -1
  207. package/src/router/view-scroll.spec.js +3 -1
  208. package/src/services/http/http.js +4 -4
  209. package/src/services/http/http.test.js +1 -1
  210. package/src/services/http/interface.ts +243 -0
  211. package/src/services/http-backend/http-backend.js +24 -12
  212. package/src/services/log/interface.ts +39 -0
  213. package/src/services/log/log.html +19 -0
  214. package/src/services/log/log.js +74 -0
  215. package/src/services/log/log.spec.js +64 -0
  216. package/src/services/log/log.test.js +11 -0
  217. package/src/services/pubsub/pubsub.html +19 -0
  218. package/src/{core → services}/pubsub/pubsub.js +12 -11
  219. package/src/{core → services}/pubsub/pubsub.spec.js +3 -3
  220. package/src/{core → services}/pubsub/pubsub.test.js +1 -1
  221. package/src/services/template-cache/interface.ts +4 -0
  222. package/src/services/template-cache/template-cache.html +22 -0
  223. package/src/services/template-cache/template-cache.js +13 -0
  224. package/src/services/template-cache/template-cache.spec.js +62 -0
  225. package/src/services/template-cache/template-cache.test.js +11 -0
  226. package/src/services/template-request.js +2 -2
  227. package/src/shared/cache.js +9 -0
  228. package/src/shared/common.js +11 -36
  229. package/src/shared/common.spec.js +34 -3
  230. package/src/shared/dom.js +16 -21
  231. package/typedoc.json +3 -2
  232. package/utils/express.js +11 -0
  233. package/@types/core/cache/cache-factory.d.ts +0 -22
  234. package/@types/core/cache/cache.d.ts +0 -33
  235. package/@types/services/log.d.ts +0 -53
  236. package/docs/content/en/docs/_index.md +0 -28
  237. package/docs/netlify.toml +0 -12
  238. package/src/core/cache/cache-factory.js +0 -19
  239. package/src/core/cache/cache.js +0 -30
  240. package/src/directive/class/class.md +0 -90
  241. package/src/directive/cloak/cloak.md +0 -24
  242. package/src/examples/counter.html +0 -20
  243. package/src/services/log.js +0 -95
  244. package/src/services/log.md +0 -39
  245. package/typedoc/assets/hierarchy.js +0 -2
  246. package/typedoc/assets/highlight.css +0 -209
  247. package/typedoc/assets/icons.js +0 -21
  248. package/typedoc/assets/main.js +0 -2589
  249. package/typedoc/assets/navigation.js +0 -2
  250. package/typedoc/assets/search.js +0 -2
  251. package/typedoc/assets/style.css +0 -1623
  252. package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +0 -543
  253. package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +0 -691
  254. package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +0 -712
  255. package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +0 -536
  256. package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +0 -795
  257. package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +0 -1137
  258. package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +0 -473
  259. package/typedoc/classes/animations_animate-runner.AnimateRunner.html +0 -1589
  260. package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +0 -474
  261. package/typedoc/classes/animations_animate.AnimateProvider.html +0 -1278
  262. package/typedoc/classes/animations_animation.AnimationProvider.html +0 -749
  263. package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +0 -699
  264. package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +0 -525
  265. package/typedoc/classes/core_compile_attributes.Attributes.html +0 -1776
  266. package/typedoc/classes/core_compile_compile.CompileProvider.html +0 -2137
  267. package/typedoc/classes/core_controller_controller.ControllerProvider.html +0 -894
  268. package/typedoc/classes/core_di_internal-injector.InjectorService.html +0 -1336
  269. package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +0 -1242
  270. package/typedoc/classes/core_di_ng-module.NgModule.html +0 -1880
  271. package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +0 -631
  272. package/typedoc/classes/core_filter_filter.FilterProvider.html +0 -786
  273. package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +0 -1318
  274. package/typedoc/classes/core_location_location.Location.html +0 -2128
  275. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +0 -2502
  276. package/typedoc/classes/core_location_location.LocationHtml5Url.html +0 -2490
  277. package/typedoc/classes/core_location_location.LocationProvider.html +0 -1023
  278. package/typedoc/classes/core_parse_ast_ast.AST.html +0 -2520
  279. package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +0 -3314
  280. package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +0 -1788
  281. package/typedoc/classes/core_parse_parse.ParseProvider.html +0 -753
  282. package/typedoc/classes/core_parse_parser_parser.Parser.html +0 -741
  283. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +0 -1346
  284. package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +0 -576
  285. package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +0 -696
  286. package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +0 -1219
  287. package/typedoc/classes/core_sce_sce.SceProvider.html +0 -589
  288. package/typedoc/classes/core_scope_scope.RootScopeProvider.html +0 -520
  289. package/typedoc/classes/core_scope_scope.Scope.html +0 -2753
  290. package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +0 -882
  291. package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +0 -478
  292. package/typedoc/classes/directive_aria_aria.AriaProvider.html +0 -605
  293. package/typedoc/classes/directive_form_form.FormController.html +0 -2320
  294. package/typedoc/classes/directive_model_model.NgModelController.html +0 -4214
  295. package/typedoc/classes/loader.Angular.html +0 -1634
  296. package/typedoc/classes/router_common_glob.Glob.html +0 -904
  297. package/typedoc/classes/router_common_queue.Queue.html +0 -1284
  298. package/typedoc/classes/router_common_trace.Trace.html +0 -2020
  299. package/typedoc/classes/router_globals.RouterGlobals.html +0 -824
  300. package/typedoc/classes/router_params_param-factory.ParamFactory.html +0 -797
  301. package/typedoc/classes/router_params_param-type.ParamType.html +0 -1168
  302. package/typedoc/classes/router_params_param-types.ParamTypes.html +0 -770
  303. package/typedoc/classes/router_params_param.Param.html +0 -1614
  304. package/typedoc/classes/router_params_state-params.StateParams.html +0 -558
  305. package/typedoc/classes/router_path_path-node.PathNode.html +0 -1046
  306. package/typedoc/classes/router_path_path-utils.PathUtils.html +0 -1432
  307. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +0 -1225
  308. package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +0 -1315
  309. package/typedoc/classes/router_state-provider.StateProvider.html +0 -957
  310. package/typedoc/classes/router_state_state-builder.StateBuilder.html +0 -1045
  311. package/typedoc/classes/router_state_state-matcher.StateMatcher.html +0 -742
  312. package/typedoc/classes/router_state_state-object.StateObject.html +0 -1515
  313. package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +0 -941
  314. package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +0 -1712
  315. package/typedoc/classes/router_state_state-service.StateProvider.html +0 -3038
  316. package/typedoc/classes/router_state_target-state.TargetState.html +0 -1655
  317. package/typedoc/classes/router_state_views.ViewConfig.html +0 -1123
  318. package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +0 -1689
  319. package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +0 -823
  320. package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +0 -1302
  321. package/typedoc/classes/router_transition_reject-factory.Rejection.html +0 -1299
  322. package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +0 -995
  323. package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +0 -1739
  324. package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +0 -1763
  325. package/typedoc/classes/router_transition_transition.Transition.html +0 -3942
  326. package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +0 -1198
  327. package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +0 -2056
  328. package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +0 -736
  329. package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +0 -1461
  330. package/typedoc/classes/router_url_url-rules.UrlRules.html +0 -1808
  331. package/typedoc/classes/router_url_url-service.UrlService.html +0 -2792
  332. package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +0 -687
  333. package/typedoc/classes/router_view_view.ViewService.html +0 -1691
  334. package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +0 -618
  335. package/typedoc/classes/services_browser.Browser.html +0 -1331
  336. package/typedoc/classes/services_browser.BrowserProvider.html +0 -564
  337. package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +0 -782
  338. package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +0 -535
  339. package/typedoc/classes/services_http_http.HttpProvider.html +0 -1537
  340. package/typedoc/classes/services_log.LogProvider.html +0 -776
  341. package/typedoc/classes/services_template-request.TemplateRequestProvider.html +0 -914
  342. package/typedoc/classes/shared_noderef.NodeRef.html +0 -1529
  343. package/typedoc/enums/core_parse_ast-type.ASTType.html +0 -903
  344. package/typedoc/enums/router_common_trace.Category.html +0 -492
  345. package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +0 -489
  346. package/typedoc/enums/router_transition_interface.TransitionHookScope.html +0 -390
  347. package/typedoc/enums/router_transition_reject-factory.RejectType.html +0 -546
  348. package/typedoc/functions/animations_animate-cache.animateCache.html +0 -818
  349. package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +0 -412
  350. package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +0 -409
  351. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +0 -294
  352. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +0 -297
  353. package/typedoc/functions/animations_shared.applyAnimationStyles.html +0 -296
  354. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +0 -297
  355. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +0 -311
  356. package/typedoc/functions/animations_shared.applyInlineStyle.html +0 -293
  357. package/typedoc/functions/animations_shared.assertArg.html +0 -303
  358. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +0 -299
  359. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +0 -297
  360. package/typedoc/functions/animations_shared.concatWithSpace.html +0 -293
  361. package/typedoc/functions/animations_shared.extractElementNode.html +0 -292
  362. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +0 -307
  363. package/typedoc/functions/animations_shared.mergeClasses.html +0 -293
  364. package/typedoc/functions/animations_shared.packageStyles.html +0 -299
  365. package/typedoc/functions/animations_shared.pendClasses.html +0 -303
  366. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +0 -287
  367. package/typedoc/functions/animations_shared.removeFromArray.html +0 -293
  368. package/typedoc/functions/animations_shared.resolveElementClasses.html +0 -328
  369. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +0 -299
  370. package/typedoc/functions/core_controller_controller.identifierForController.html +0 -299
  371. package/typedoc/functions/core_di_injector.annotate.html +0 -311
  372. package/typedoc/functions/core_di_injector.createInjector.html +0 -323
  373. package/typedoc/functions/core_location_location.serverBase.html +0 -285
  374. package/typedoc/functions/core_location_location.stripBaseUrl.html +0 -303
  375. package/typedoc/functions/core_location_location.stripFile.html +0 -285
  376. package/typedoc/functions/core_location_location.stripHash.html +0 -285
  377. package/typedoc/functions/core_parse_interpreter.isAssignable.html +0 -294
  378. package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +0 -323
  379. package/typedoc/functions/core_sce_sce.adjustMatcher.html +0 -281
  380. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +0 -281
  381. package/typedoc/functions/core_scope_scope.createScope.html +0 -334
  382. package/typedoc/functions/core_scope_scope.nextId.html +0 -268
  383. package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +0 -274
  384. package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +0 -314
  385. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +0 -303
  386. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +0 -309
  387. package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +0 -285
  388. package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +0 -320
  389. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +0 -400
  390. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +0 -489
  391. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +0 -428
  392. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +0 -400
  393. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +0 -399
  394. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +0 -334
  395. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +0 -512
  396. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +0 -400
  397. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +0 -400
  398. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +0 -399
  399. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +0 -399
  400. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +0 -279
  401. package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +0 -408
  402. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +0 -283
  403. package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +0 -312
  404. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +0 -279
  405. package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +0 -283
  406. package/typedoc/functions/directive_events_events.createEventDirective.html +0 -353
  407. package/typedoc/functions/directive_form_form.setupValidity.html +0 -285
  408. package/typedoc/functions/directive_if_if.ngIfDirective.html +0 -407
  409. package/typedoc/functions/directive_include_include.ngIncludeDirective.html +0 -464
  410. package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +0 -419
  411. package/typedoc/functions/directive_init_init.ngInitDirective.html +0 -279
  412. package/typedoc/functions/directive_input_input.badInputChecker.html +0 -332
  413. package/typedoc/functions/directive_input_input.countDecimals.html +0 -285
  414. package/typedoc/functions/directive_input_input.createDateInputType.html +0 -392
  415. package/typedoc/functions/directive_input_input.createDateParser.html +0 -319
  416. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +0 -287
  417. package/typedoc/functions/directive_input_input.inputDirective.html +0 -523
  418. package/typedoc/functions/directive_input_input.isNumberInteger.html +0 -285
  419. package/typedoc/functions/directive_input_input.isValidForStep.html +0 -305
  420. package/typedoc/functions/directive_input_input.ngValueDirective.html +0 -279
  421. package/typedoc/functions/directive_input_input.numberFormatterParser.html +0 -289
  422. package/typedoc/functions/directive_input_input.numberInputType.html +0 -354
  423. package/typedoc/functions/directive_input_input.rangeInputType.html +0 -315
  424. package/typedoc/functions/directive_input_input.weekParser.html +0 -295
  425. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +0 -464
  426. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +0 -476
  427. package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +0 -283
  428. package/typedoc/functions/directive_model_model.ngModelDirective.html +0 -449
  429. package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +0 -283
  430. package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +0 -317
  431. package/typedoc/functions/directive_ref_ref.ngRefDirective.html +0 -483
  432. package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +0 -409
  433. package/typedoc/functions/directive_script_script.scriptDirective.html +0 -413
  434. package/typedoc/functions/directive_select_select.optionDirective.html +0 -498
  435. package/typedoc/functions/directive_select_select.selectDirective.html +0 -279
  436. package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +0 -431
  437. package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +0 -405
  438. package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +0 -405
  439. package/typedoc/functions/directive_style_style.ngStyleDirective.html +0 -279
  440. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +0 -283
  441. package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +0 -405
  442. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +0 -283
  443. package/typedoc/functions/filters_filter.filterFilter.html +0 -275
  444. package/typedoc/functions/filters_filters.formatNumber.html +0 -435
  445. package/typedoc/functions/filters_filters.jsonFilter.html +0 -277
  446. package/typedoc/functions/filters_limit-to.limitToFilter.html +0 -277
  447. package/typedoc/functions/filters_order-by.orderByFilter.html +0 -403
  448. package/typedoc/functions/public.publishExternalAPI.html +0 -305
  449. package/typedoc/functions/router_common_glob.hasGlobs.html +0 -292
  450. package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +0 -468
  451. package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +0 -493
  452. package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +0 -439
  453. package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +0 -477
  454. package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +0 -292
  455. package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +0 -288
  456. package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +0 -292
  457. package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +0 -292
  458. package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +0 -318
  459. package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +0 -381
  460. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +0 -289
  461. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +0 -289
  462. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +0 -289
  463. package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +0 -300
  464. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +0 -290
  465. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +0 -290
  466. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +0 -290
  467. package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +0 -292
  468. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +0 -309
  469. package/typedoc/functions/router_hooks_views.registerActivateViews.html +0 -300
  470. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +0 -292
  471. package/typedoc/functions/router_path_path-utils.makeTargetState.html +0 -324
  472. package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +0 -437
  473. package/typedoc/functions/router_state-filters._IsStateFilter.html +0 -433
  474. package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +0 -347
  475. package/typedoc/functions/router_state_state-registry.getLocals.html +0 -285
  476. package/typedoc/functions/router_state_views.getViewConfigFactory.html +0 -300
  477. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +0 -304
  478. package/typedoc/functions/router_transition_hook-registry.makeEvent.html +0 -343
  479. package/typedoc/functions/router_transition_hook-registry.matchState.html +0 -334
  480. package/typedoc/functions/services_browser.trimEmptyHash.html +0 -291
  481. package/typedoc/functions/services_cookie-reader.getCookies.html +0 -272
  482. package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +0 -406
  483. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +0 -301
  484. package/typedoc/functions/shared_common._removeFrom.html +0 -291
  485. package/typedoc/functions/shared_common.allTrueR.html +0 -314
  486. package/typedoc/functions/shared_common.ancestors.html +0 -309
  487. package/typedoc/functions/shared_common.anyTrueR.html +0 -317
  488. package/typedoc/functions/shared_common.applyPairs.html +0 -322
  489. package/typedoc/functions/shared_common.arrayTuples.html +0 -313
  490. package/typedoc/functions/shared_common.assertFn.html +0 -306
  491. package/typedoc/functions/shared_common.copy.html +0 -292
  492. package/typedoc/functions/shared_common.createProxyFunctions.html +0 -430
  493. package/typedoc/functions/shared_common.defaults.html +0 -304
  494. package/typedoc/functions/shared_common.deregAll.html +0 -288
  495. package/typedoc/functions/shared_common.equals.html +0 -291
  496. package/typedoc/functions/shared_common.filter.html +0 -298
  497. package/typedoc/functions/shared_common.find.html +0 -295
  498. package/typedoc/functions/shared_common.flatten.html +0 -301
  499. package/typedoc/functions/shared_common.flattenR.html +0 -311
  500. package/typedoc/functions/shared_common.inherit.html +0 -317
  501. package/typedoc/functions/shared_common.map.html +0 -304
  502. package/typedoc/functions/shared_common.omit.html +0 -322
  503. package/typedoc/functions/shared_common.pairs.html +0 -305
  504. package/typedoc/functions/shared_common.pick.html +0 -334
  505. package/typedoc/functions/shared_common.pushR.html +0 -296
  506. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +0 -285
  507. package/typedoc/functions/shared_common.silentRejection.html +0 -281
  508. package/typedoc/functions/shared_common.tail.html +0 -282
  509. package/typedoc/functions/shared_common.uniqR.html +0 -292
  510. package/typedoc/functions/shared_common.unnest.html +0 -303
  511. package/typedoc/functions/shared_common.unnestR.html +0 -311
  512. package/typedoc/functions/shared_dom.appendNodesToElement.html +0 -316
  513. package/typedoc/functions/shared_dom.buildFragment.html +0 -284
  514. package/typedoc/functions/shared_dom.cleanElementData.html +0 -302
  515. package/typedoc/functions/shared_dom.createElementFromHTML.html +0 -299
  516. package/typedoc/functions/shared_dom.createNodelistFromHTML.html +0 -296
  517. package/typedoc/functions/shared_dom.dealoc.html +0 -295
  518. package/typedoc/functions/shared_dom.deleteCacheData.html +0 -306
  519. package/typedoc/functions/shared_dom.domInsert.html +0 -301
  520. package/typedoc/functions/shared_dom.emptyElement.html +0 -289
  521. package/typedoc/functions/shared_dom.getBlockNodes.html +0 -298
  522. package/typedoc/functions/shared_dom.getBooleanAttrName.html +0 -316
  523. package/typedoc/functions/shared_dom.getCacheData.html +0 -313
  524. package/typedoc/functions/shared_dom.getController.html +0 -318
  525. package/typedoc/functions/shared_dom.getExpando.html +0 -333
  526. package/typedoc/functions/shared_dom.getInheritedData.html +0 -294
  527. package/typedoc/functions/shared_dom.getInjector.html +0 -294
  528. package/typedoc/functions/shared_dom.getIsolateScope.html +0 -295
  529. package/typedoc/functions/shared_dom.getOrSetCacheData.html +0 -330
  530. package/typedoc/functions/shared_dom.getScope.html +0 -295
  531. package/typedoc/functions/shared_dom.isRoot.html +0 -286
  532. package/typedoc/functions/shared_dom.isTextNode.html +0 -290
  533. package/typedoc/functions/shared_dom.kebabToCamel.html +0 -289
  534. package/typedoc/functions/shared_dom.parseHtml.html +0 -295
  535. package/typedoc/functions/shared_dom.removeElement.html +0 -297
  536. package/typedoc/functions/shared_dom.removeElementData.html +0 -305
  537. package/typedoc/functions/shared_dom.setCacheData.html +0 -328
  538. package/typedoc/functions/shared_dom.setInheritedData.html +0 -312
  539. package/typedoc/functions/shared_dom.setIsolateScope.html +0 -310
  540. package/typedoc/functions/shared_dom.setScope.html +0 -318
  541. package/typedoc/functions/shared_dom.snakeToCamel.html +0 -286
  542. package/typedoc/functions/shared_dom.startingTag.html +0 -301
  543. package/typedoc/functions/shared_hof.all.html +0 -305
  544. package/typedoc/functions/shared_hof.compose.html +0 -306
  545. package/typedoc/functions/shared_hof.curry.html +0 -319
  546. package/typedoc/functions/shared_hof.is.html +0 -297
  547. package/typedoc/functions/shared_hof.or.html +0 -312
  548. package/typedoc/functions/shared_hof.parse.html +0 -292
  549. package/typedoc/functions/shared_hof.pattern.html +0 -343
  550. package/typedoc/functions/shared_hof.pipe.html +0 -289
  551. package/typedoc/functions/shared_hof.val.html +0 -288
  552. package/typedoc/functions/shared_predicates.isInjectable.html +0 -294
  553. package/typedoc/functions/shared_predicates.isPromise.html +0 -292
  554. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +0 -302
  555. package/typedoc/functions/shared_strings.fnToString.html +0 -281
  556. package/typedoc/functions/shared_strings.functionToString.html +0 -281
  557. package/typedoc/functions/shared_strings.joinNeighborsR.html +0 -327
  558. package/typedoc/functions/shared_strings.kebobString.html +0 -281
  559. package/typedoc/functions/shared_strings.maxLength.html +0 -309
  560. package/typedoc/functions/shared_strings.padString.html +0 -312
  561. package/typedoc/functions/shared_strings.splitOnDelim.html +0 -328
  562. package/typedoc/functions/shared_strings.stringify.html +0 -281
  563. package/typedoc/functions/shared_strings.stripLastPathElement.html +0 -284
  564. package/typedoc/functions/shared_strings.trimHashVal.html +0 -281
  565. package/typedoc/functions/shared_test-utils.bootstrap.html +0 -297
  566. package/typedoc/functions/shared_test-utils.browserTrigger.html +0 -307
  567. package/typedoc/functions/shared_test-utils.wait.html +0 -301
  568. package/typedoc/functions/shared_utils.addDateMinutes.html +0 -291
  569. package/typedoc/functions/shared_utils.arrayRemove.html +0 -344
  570. package/typedoc/functions/shared_utils.assert.html +0 -300
  571. package/typedoc/functions/shared_utils.assertArg.html +0 -305
  572. package/typedoc/functions/shared_utils.assertArgFn.html +0 -302
  573. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +0 -310
  574. package/typedoc/functions/shared_utils.baseExtend.html +0 -301
  575. package/typedoc/functions/shared_utils.bind.html +0 -333
  576. package/typedoc/functions/shared_utils.concat.html +0 -301
  577. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +0 -305
  578. package/typedoc/functions/shared_utils.csp.html +0 -263
  579. package/typedoc/functions/shared_utils.directiveNormalize.html +0 -295
  580. package/typedoc/functions/shared_utils.encodeUriQuery.html +0 -314
  581. package/typedoc/functions/shared_utils.encodeUriSegment.html +0 -302
  582. package/typedoc/functions/shared_utils.equals.html +0 -357
  583. package/typedoc/functions/shared_utils.errorHandlingConfig.html +0 -313
  584. package/typedoc/functions/shared_utils.extend.html +0 -323
  585. package/typedoc/functions/shared_utils.fromJson.html +0 -290
  586. package/typedoc/functions/shared_utils.getNgAttribute.html +0 -291
  587. package/typedoc/functions/shared_utils.getNodeName.html +0 -292
  588. package/typedoc/functions/shared_utils.hasAnimate.html +0 -286
  589. package/typedoc/functions/shared_utils.hasCustomToString.html +0 -281
  590. package/typedoc/functions/shared_utils.hasOwn.html +0 -339
  591. package/typedoc/functions/shared_utils.hashKey.html +0 -296
  592. package/typedoc/functions/shared_utils.includes.html +0 -291
  593. package/typedoc/functions/shared_utils.inherit.html +0 -294
  594. package/typedoc/functions/shared_utils.isArrayBuffer.html +0 -283
  595. package/typedoc/functions/shared_utils.isArrayLike.html +0 -290
  596. package/typedoc/functions/shared_utils.isBlankObject.html +0 -295
  597. package/typedoc/functions/shared_utils.isBlob.html +0 -283
  598. package/typedoc/functions/shared_utils.isBoolean.html +0 -283
  599. package/typedoc/functions/shared_utils.isDate.html +0 -281
  600. package/typedoc/functions/shared_utils.isDefined.html +0 -290
  601. package/typedoc/functions/shared_utils.isElement.html +0 -281
  602. package/typedoc/functions/shared_utils.isError.html +0 -296
  603. package/typedoc/functions/shared_utils.isFile.html +0 -283
  604. package/typedoc/functions/shared_utils.isFormData.html +0 -283
  605. package/typedoc/functions/shared_utils.isFunction.html +0 -290
  606. package/typedoc/functions/shared_utils.isNull.html +0 -290
  607. package/typedoc/functions/shared_utils.isNullOrUndefined.html +0 -290
  608. package/typedoc/functions/shared_utils.isNumber.html +0 -303
  609. package/typedoc/functions/shared_utils.isNumberNaN.html +0 -283
  610. package/typedoc/functions/shared_utils.isObject.html +0 -298
  611. package/typedoc/functions/shared_utils.isObjectEmpty.html +0 -283
  612. package/typedoc/functions/shared_utils.isPromiseLike.html +0 -283
  613. package/typedoc/functions/shared_utils.isProxy.html +0 -283
  614. package/typedoc/functions/shared_utils.isRegExp.html +0 -290
  615. package/typedoc/functions/shared_utils.isScope.html +0 -283
  616. package/typedoc/functions/shared_utils.isString.html +0 -290
  617. package/typedoc/functions/shared_utils.isTypedArray.html +0 -283
  618. package/typedoc/functions/shared_utils.isUndefined.html +0 -290
  619. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +0 -287
  620. package/typedoc/functions/shared_utils.isWindow.html +0 -290
  621. package/typedoc/functions/shared_utils.lowercase.html +0 -302
  622. package/typedoc/functions/shared_utils.mergeClasses.html +0 -291
  623. package/typedoc/functions/shared_utils.minErr.html +0 -341
  624. package/typedoc/functions/shared_utils.nextUid.html +0 -268
  625. package/typedoc/functions/shared_utils.parseKeyValue.html +0 -288
  626. package/typedoc/functions/shared_utils.setHashKey.html +0 -303
  627. package/typedoc/functions/shared_utils.shallowCopy.html +0 -299
  628. package/typedoc/functions/shared_utils.simpleCompare.html +0 -291
  629. package/typedoc/functions/shared_utils.sliceArgs.html +0 -291
  630. package/typedoc/functions/shared_utils.snakeCase.html +0 -291
  631. package/typedoc/functions/shared_utils.stringify.html +0 -281
  632. package/typedoc/functions/shared_utils.timezoneToOffset.html +0 -291
  633. package/typedoc/functions/shared_utils.toDebugString.html +0 -281
  634. package/typedoc/functions/shared_utils.toInt.html +0 -280
  635. package/typedoc/functions/shared_utils.toJson.html +0 -350
  636. package/typedoc/functions/shared_utils.toKeyValue.html +0 -281
  637. package/typedoc/functions/shared_utils.trim.html +0 -280
  638. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +0 -300
  639. package/typedoc/functions/shared_utils.uppercase.html +0 -302
  640. package/typedoc/hierarchy.html +0 -274
  641. package/typedoc/index.html +0 -668
  642. package/typedoc/interfaces/animations_animate.AnimationOptions.html +0 -506
  643. package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +0 -390
  644. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +0 -448
  645. package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +0 -466
  646. package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +0 -596
  647. package/typedoc/interfaces/core_compile_compile.SimpleChange.html +0 -412
  648. package/typedoc/interfaces/core_location_location.DefaultPorts.html +0 -444
  649. package/typedoc/interfaces/core_location_location.Html5Mode.html +0 -491
  650. package/typedoc/interfaces/core_parse_ast_ast.Token.html +0 -598
  651. package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +0 -570
  652. package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +0 -959
  653. package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +0 -466
  654. package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +0 -378
  655. package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +0 -305
  656. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +0 -455
  657. package/typedoc/interfaces/core_scope_scope.Listener.html +0 -688
  658. package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +0 -570
  659. package/typedoc/interfaces/interface.ChangesObject.html +0 -445
  660. package/typedoc/interfaces/interface.ComponentOptions.html +0 -712
  661. package/typedoc/interfaces/interface.Controller.html +0 -582
  662. package/typedoc/interfaces/interface.Directive.html +0 -1250
  663. package/typedoc/interfaces/interface.DirectivePrePost.html +0 -423
  664. package/typedoc/interfaces/interface.NgModelController.html +0 -1362
  665. package/typedoc/interfaces/interface.NgModelOptions.html +0 -660
  666. package/typedoc/interfaces/interface.Provider.html +0 -1056
  667. package/typedoc/interfaces/interface.TranscludeFunctionObject.html +0 -723
  668. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +0 -374
  669. package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +0 -1211
  670. package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +0 -1273
  671. package/typedoc/interfaces/router_params_interface.RawParams.html +0 -295
  672. package/typedoc/interfaces/router_params_interface.Replace.html +0 -429
  673. package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +0 -291
  674. package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +0 -580
  675. package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +0 -601
  676. package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +0 -638
  677. package/typedoc/interfaces/router_state_interface.HrefOptions.html +0 -530
  678. package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +0 -390
  679. package/typedoc/interfaces/router_state_interface.StateDeclaration.html +0 -2461
  680. package/typedoc/interfaces/router_state_interface.TargetStateDef.html +0 -468
  681. package/typedoc/interfaces/router_state_interface.TransitionPromise.html +0 -1192
  682. package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +0 -1499
  683. package/typedoc/interfaces/router_template-factory.BindingTuple.html +0 -406
  684. package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +0 -719
  685. package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +0 -482
  686. package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +0 -2969
  687. package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +0 -594
  688. package/typedoc/interfaces/router_transition_interface.PathType.html +0 -411
  689. package/typedoc/interfaces/router_transition_interface.PathTypes.html +0 -588
  690. package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +0 -266
  691. package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +0 -316
  692. package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +0 -352
  693. package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +0 -627
  694. package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +0 -1096
  695. package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +0 -374
  696. package/typedoc/interfaces/router_transition_interface.TreeChanges.html +0 -769
  697. package/typedoc/interfaces/router_view_interface.ActiveUIView.html +0 -620
  698. package/typedoc/interfaces/router_view_interface.ViewConfig.html +0 -651
  699. package/typedoc/interfaces/router_view_interface.ViewContext.html +0 -419
  700. package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +0 -379
  701. package/typedoc/interfaces/services_log.LogService.html +0 -566
  702. package/typedoc/interfaces/shared_interface.TypedMap.html +0 -268
  703. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +0 -435
  704. package/typedoc/media/CONTRIBUTING.md +0 -248
  705. package/typedoc/media/DEVELOPERS.md +0 -500
  706. package/typedoc/modules/animations_animate-cache.html +0 -383
  707. package/typedoc/modules/animations_animate-children-directive.html +0 -326
  708. package/typedoc/modules/animations_animate-css-driver.html +0 -324
  709. package/typedoc/modules/animations_animate-css.html +0 -320
  710. package/typedoc/modules/animations_animate-js-driver.html +0 -324
  711. package/typedoc/modules/animations_animate-js.html +0 -320
  712. package/typedoc/modules/animations_animate-queue.html +0 -320
  713. package/typedoc/modules/animations_animate-runner.html +0 -382
  714. package/typedoc/modules/animations_animate-swap.html +0 -320
  715. package/typedoc/modules/animations_animate.html +0 -447
  716. package/typedoc/modules/animations_animation.html +0 -320
  717. package/typedoc/modules/animations_interface.html +0 -322
  718. package/typedoc/modules/animations_raf-scheduler.html +0 -446
  719. package/typedoc/modules/animations_shared.html +0 -1535
  720. package/typedoc/modules/core_cache_cache-factory.html +0 -385
  721. package/typedoc/modules/core_cache_cache.html +0 -457
  722. package/typedoc/modules/core_compile_attributes.html +0 -319
  723. package/typedoc/modules/core_compile_compile.html +0 -755
  724. package/typedoc/modules/core_controller_controller.html +0 -385
  725. package/typedoc/modules/core_di_injector.html +0 -346
  726. package/typedoc/modules/core_di_internal-injector.html +0 -350
  727. package/typedoc/modules/core_di_ng-module.html +0 -490
  728. package/typedoc/modules/core_error-handler.html +0 -322
  729. package/typedoc/modules/core_exception-handler.html +0 -448
  730. package/typedoc/modules/core_filter_filter.html +0 -319
  731. package/typedoc/modules/core_interpolate_interpolate.html +0 -322
  732. package/typedoc/modules/core_location_location.html +0 -636
  733. package/typedoc/modules/core_parse_ast-type.html +0 -321
  734. package/typedoc/modules/core_parse_ast_ast-node.html +0 -322
  735. package/typedoc/modules/core_parse_ast_ast.html +0 -436
  736. package/typedoc/modules/core_parse_interface.html +0 -470
  737. package/typedoc/modules/core_parse_interpreter.html +0 -537
  738. package/typedoc/modules/core_parse_lexer_lexer.html +0 -440
  739. package/typedoc/modules/core_parse_lexer_token.html +0 -319
  740. package/typedoc/modules/core_parse_parse.html +0 -382
  741. package/typedoc/modules/core_parse_parser_parser.html +0 -381
  742. package/typedoc/modules/core_pubsub_pubsub.html +0 -471
  743. package/typedoc/modules/core_sanitize_interface.html +0 -320
  744. package/typedoc/modules/core_sanitize_sanitize-uri.html +0 -386
  745. package/typedoc/modules/core_sce_sce.html +0 -560
  746. package/typedoc/modules/core_scope_scope.html +0 -700
  747. package/typedoc/modules/core_task-tracker-factory.html +0 -481
  748. package/typedoc/modules/core_url-utils_url-utils.html +0 -527
  749. package/typedoc/modules/directive_aria_aria.html +0 -672
  750. package/typedoc/modules/directive_attrs_attrs.html +0 -350
  751. package/typedoc/modules/directive_bind_bind.html +0 -377
  752. package/typedoc/modules/directive_channel_channel.html +0 -322
  753. package/typedoc/modules/directive_class_class.html +0 -376
  754. package/typedoc/modules/directive_cloak_cloak.html +0 -320
  755. package/typedoc/modules/directive_controller_controller.html +0 -322
  756. package/typedoc/modules/directive_events_events.html +0 -383
  757. package/typedoc/modules/directive_form_form.html +0 -524
  758. package/typedoc/modules/directive_if_if.html +0 -319
  759. package/typedoc/modules/directive_include_include.html +0 -352
  760. package/typedoc/modules/directive_init_init.html +0 -319
  761. package/typedoc/modules/directive_input_input.html +0 -804
  762. package/typedoc/modules/directive_messages_messages.html +0 -473
  763. package/typedoc/modules/directive_model-options_model-options.html +0 -452
  764. package/typedoc/modules/directive_model_model.html +0 -445
  765. package/typedoc/modules/directive_non-bindable_non-bindable.html +0 -324
  766. package/typedoc/modules/directive_observe_observe.html +0 -322
  767. package/typedoc/modules/directive_options_options.html +0 -322
  768. package/typedoc/modules/directive_ref_ref.html +0 -319
  769. package/typedoc/modules/directive_repeat_repeat.html +0 -320
  770. package/typedoc/modules/directive_script_script.html +0 -320
  771. package/typedoc/modules/directive_select_select.html +0 -348
  772. package/typedoc/modules/directive_setter_setter.html +0 -320
  773. package/typedoc/modules/directive_show-hide_show-hide.html +0 -350
  774. package/typedoc/modules/directive_style_style.html +0 -320
  775. package/typedoc/modules/directive_switch_switch.html +0 -378
  776. package/typedoc/modules/directive_transclude_transclude.html +0 -322
  777. package/typedoc/modules/directive_validators_validators.html +0 -406
  778. package/typedoc/modules/filters_filter.html +0 -319
  779. package/typedoc/modules/filters_filters.html +0 -346
  780. package/typedoc/modules/filters_limit-to.html +0 -319
  781. package/typedoc/modules/filters_order-by.html +0 -319
  782. package/typedoc/modules/index.html +0 -241
  783. package/typedoc/modules/injection-tokens.html +0 -319
  784. package/typedoc/modules/interface.html +0 -1010
  785. package/typedoc/modules/loader.html +0 -380
  786. package/typedoc/modules/public.html +0 -380
  787. package/typedoc/modules/router_common_glob.html +0 -377
  788. package/typedoc/modules/router_common_queue.html +0 -315
  789. package/typedoc/modules/router_common_trace.html +0 -522
  790. package/typedoc/modules/router_directives_state-directives.html +0 -384
  791. package/typedoc/modules/router_directives_view-directive.html +0 -387
  792. package/typedoc/modules/router_globals.html +0 -383
  793. package/typedoc/modules/router_hooks_core-resolvables.html +0 -352
  794. package/typedoc/modules/router_hooks_ignored-transition.html +0 -324
  795. package/typedoc/modules/router_hooks_invalid-transition.html +0 -324
  796. package/typedoc/modules/router_hooks_lazy-load.html +0 -348
  797. package/typedoc/modules/router_hooks_on-enter-exit-retain.html +0 -380
  798. package/typedoc/modules/router_hooks_redirect-to.html +0 -320
  799. package/typedoc/modules/router_hooks_resolve.html +0 -443
  800. package/typedoc/modules/router_hooks_update-globals.html +0 -324
  801. package/typedoc/modules/router_hooks_url.html +0 -319
  802. package/typedoc/modules/router_hooks_views.html +0 -350
  803. package/typedoc/modules/router_params_interface.html +0 -402
  804. package/typedoc/modules/router_params_param-factory.html +0 -322
  805. package/typedoc/modules/router_params_param-type.html +0 -319
  806. package/typedoc/modules/router_params_param-types.html +0 -321
  807. package/typedoc/modules/router_params_param.html +0 -377
  808. package/typedoc/modules/router_params_state-params.html +0 -322
  809. package/typedoc/modules/router_path_path-node.html +0 -319
  810. package/typedoc/modules/router_path_path-utils.html +0 -382
  811. package/typedoc/modules/router_resolve_interface.html +0 -521
  812. package/typedoc/modules/router_resolve_resolvable.html +0 -384
  813. package/typedoc/modules/router_resolve_resolve-context.html +0 -385
  814. package/typedoc/modules/router_state-filters.html +0 -349
  815. package/typedoc/modules/router_state-provider.html +0 -319
  816. package/typedoc/modules/router_state_interface.html +0 -606
  817. package/typedoc/modules/router_state_state-builder.html +0 -385
  818. package/typedoc/modules/router_state_state-matcher.html +0 -322
  819. package/typedoc/modules/router_state_state-object.html +0 -385
  820. package/typedoc/modules/router_state_state-queue-manager.html +0 -324
  821. package/typedoc/modules/router_state_state-registry.html +0 -449
  822. package/typedoc/modules/router_state_state-service.html +0 -322
  823. package/typedoc/modules/router_state_target-state.html +0 -321
  824. package/typedoc/modules/router_state_views.html +0 -409
  825. package/typedoc/modules/router_template-factory.html +0 -383
  826. package/typedoc/modules/router_transition_hook-builder.html +0 -322
  827. package/typedoc/modules/router_transition_hook-registry.html +0 -413
  828. package/typedoc/modules/router_transition_interface.html +0 -927
  829. package/typedoc/modules/router_transition_reject-factory.html +0 -390
  830. package/typedoc/modules/router_transition_transition-event-type.html +0 -324
  831. package/typedoc/modules/router_transition_transition-hook.html +0 -324
  832. package/typedoc/modules/router_transition_transition-service.html +0 -387
  833. package/typedoc/modules/router_transition_transition.html +0 -386
  834. package/typedoc/modules/router_url_url-config.html +0 -320
  835. package/typedoc/modules/router_url_url-matcher.html +0 -319
  836. package/typedoc/modules/router_url_url-rule.html +0 -346
  837. package/typedoc/modules/router_url_url-rules.html +0 -319
  838. package/typedoc/modules/router_url_url-service.html +0 -319
  839. package/typedoc/modules/router_view-scroll.html +0 -319
  840. package/typedoc/modules/router_view_interface.html +0 -373
  841. package/typedoc/modules/router_view_view.html +0 -319
  842. package/typedoc/modules/services_anchor-scroll.html +0 -477
  843. package/typedoc/modules/services_browser.html +0 -472
  844. package/typedoc/modules/services_cookie-reader.html +0 -319
  845. package/typedoc/modules/services_http-backend_http-backend.html +0 -387
  846. package/typedoc/modules/services_http_http.html +0 -414
  847. package/typedoc/modules/services_log.html +0 -507
  848. package/typedoc/modules/services_template-request.html +0 -322
  849. package/typedoc/modules/shared_common.html +0 -1145
  850. package/typedoc/modules/shared_constants.html +0 -590
  851. package/typedoc/modules/shared_dom.html +0 -1185
  852. package/typedoc/modules/shared_hof.html +0 -566
  853. package/typedoc/modules/shared_interface.html +0 -436
  854. package/typedoc/modules/shared_noderef.html +0 -318
  855. package/typedoc/modules/shared_predicates.html +0 -346
  856. package/typedoc/modules/shared_strings.html +0 -732
  857. package/typedoc/modules/shared_test-utils.html +0 -369
  858. package/typedoc/modules/shared_utils.html +0 -2343
  859. package/typedoc/modules.html +0 -4406
  860. package/typedoc/types/animations_animate.AnimationMethod.html +0 -265
  861. package/typedoc/types/animations_interface.RafScheduler.html +0 -602
  862. package/typedoc/types/core_cache_cache-factory.TemplateCache.html +0 -257
  863. package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +0 -251
  864. package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +0 -279
  865. package/typedoc/types/core_compile_compile.CompileFn.html +0 -445
  866. package/typedoc/types/core_compile_compile.CompileNodesFn.html +0 -252
  867. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +0 -358
  868. package/typedoc/types/core_compile_compile.NodeLinkFn.html +0 -285
  869. package/typedoc/types/core_compile_compile.PublicLinkFn.html +0 -381
  870. package/typedoc/types/core_compile_compile.TranscludeFn.html +0 -364
  871. package/typedoc/types/core_error-handler.ErrorHandler.html +0 -321
  872. package/typedoc/types/core_exception-handler.LogService.html +0 -256
  873. package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +0 -1457
  874. package/typedoc/types/core_parse_interface.CompiledExpression.html +0 -268
  875. package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +0 -347
  876. package/typedoc/types/core_parse_interface.ParseService.html +0 -474
  877. package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +0 -279
  878. package/typedoc/types/core_scope_scope.ListenerFunction.html +0 -313
  879. package/typedoc/types/core_task-tracker-factory.AnnotatedFactory.html +0 -278
  880. package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +0 -254
  881. package/typedoc/types/interface.CloneAttachFunction.html +0 -318
  882. package/typedoc/types/interface.ControllerConstructor.html +0 -315
  883. package/typedoc/types/interface.DirectiveCompileFn.html +0 -406
  884. package/typedoc/types/interface.DirectiveController.html +0 -274
  885. package/typedoc/types/interface.DirectiveFactory.html +0 -328
  886. package/typedoc/types/interface.DirectiveLinkFn.html +0 -420
  887. package/typedoc/types/interface.Expression.html +0 -259
  888. package/typedoc/types/interface.FilterFactory.html +0 -310
  889. package/typedoc/types/interface.FilterFn.html +0 -314
  890. package/typedoc/types/interface.Injectable.html +0 -257
  891. package/typedoc/types/interface.InjectableFactory.html +0 -309
  892. package/typedoc/types/interface.OnChangesObject.html +0 -259
  893. package/typedoc/types/interface.TController.html +0 -261
  894. package/typedoc/types/router_resolve_interface.PolicyAsync.html +0 -259
  895. package/typedoc/types/router_resolve_interface.PolicyWhen.html +0 -253
  896. package/typedoc/types/router_state_interface.RedirectToResult.html +0 -287
  897. package/typedoc/types/router_state_interface.ResolveTypes.html +0 -267
  898. package/typedoc/types/router_state_interface.StateOrName.html +0 -263
  899. package/typedoc/types/router_state_interface._StateDeclaration.html +0 -274
  900. package/typedoc/types/router_transition_interface.HookFn.html +0 -267
  901. package/typedoc/types/router_transition_interface.HookMatchCriterion.html +0 -270
  902. package/typedoc/types/router_transition_interface.HookResult.html +0 -310
  903. package/typedoc/types/router_transition_interface.IHookRegistration.html +0 -362
  904. package/typedoc/types/router_transition_interface.IStateMatch.html +0 -272
  905. package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +0 -292
  906. package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +0 -262
  907. package/typedoc/types/services_browser.UrlChangeListener.html +0 -250
  908. package/typedoc/types/services_log.LogCall.html +0 -294
  909. package/typedoc/types/shared_interface.Mapper.html +0 -337
  910. package/typedoc/types/shared_interface.Predicate.html +0 -305
  911. package/typedoc/types/shared_interface.PredicateBinary.html +0 -330
  912. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +0 -251
  913. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +0 -249
  914. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +0 -249
  915. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +0 -252
  916. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +0 -252
  917. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +0 -255
  918. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +0 -251
  919. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +0 -249
  920. package/typedoc/variables/animations_shared.CSS_PREFIX.html +0 -250
  921. package/typedoc/variables/animations_shared.DELAY_KEY.html +0 -249
  922. package/typedoc/variables/animations_shared.DURATION_KEY.html +0 -249
  923. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +0 -249
  924. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +0 -253
  925. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +0 -251
  926. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +0 -251
  927. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +0 -250
  928. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +0 -251
  929. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +0 -257
  930. package/typedoc/variables/animations_shared.TIMING_KEY.html +0 -249
  931. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +0 -249
  932. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +0 -252
  933. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +0 -252
  934. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +0 -249
  935. package/typedoc/variables/animations_shared.ngMinErr.html +0 -307
  936. package/typedoc/variables/core_cache_cache.Cache.html +0 -267
  937. package/typedoc/variables/core_cache_cache.EXPANDO.html +0 -250
  938. package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +0 -253
  939. package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +0 -253
  940. package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +0 -251
  941. package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +0 -249
  942. package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +0 -249
  943. package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +0 -251
  944. package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +0 -249
  945. package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +0 -249
  946. package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +0 -251
  947. package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +0 -251
  948. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +0 -255
  949. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +0 -327
  950. package/typedoc/variables/core_scope_scope.NONSCOPE.html +0 -253
  951. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +0 -252
  952. package/typedoc/variables/core_scope_scope._postUpdateQueue.html +0 -252
  953. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +0 -254
  954. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +0 -262
  955. package/typedoc/variables/directive_class_class.ngClassDirective.html +0 -285
  956. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +0 -287
  957. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +0 -287
  958. package/typedoc/variables/directive_events_events.ngEventDirectives.html +0 -256
  959. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +0 -251
  960. package/typedoc/variables/directive_form_form.formDirective.html +0 -340
  961. package/typedoc/variables/directive_form_form.ngFormDirective.html +0 -340
  962. package/typedoc/variables/directive_form_form.nullFormCtrl.html +0 -424
  963. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +0 -252
  964. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +0 -252
  965. package/typedoc/variables/directive_input_input.URL_REGEXP.html +0 -252
  966. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +0 -253
  967. package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +0 -496
  968. package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +0 -492
  969. package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +0 -494
  970. package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +0 -254
  971. package/typedoc/variables/directive_model_model.ngModelMinErr.html +0 -309
  972. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +0 -692
  973. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +0 -343
  974. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +0 -401
  975. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +0 -363
  976. package/typedoc/variables/directive_validators_validators.patternDirective.html +0 -424
  977. package/typedoc/variables/directive_validators_validators.requiredDirective.html +0 -388
  978. package/typedoc/variables/injection-tokens._injectTokens.html +0 -270
  979. package/typedoc/variables/public.VERSION.html +0 -247
  980. package/typedoc/variables/router_common_trace.trace.html +0 -287
  981. package/typedoc/variables/router_directives_view-directive.ngView.html +0 -499
  982. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +0 -253
  983. package/typedoc/variables/router_params_param.DefType.html +0 -251
  984. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +0 -279
  985. package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +0 -315
  986. package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +0 -380
  987. package/typedoc/variables/services_log.LogService.html +0 -252
  988. package/typedoc/variables/shared_common.assertMap.html +0 -344
  989. package/typedoc/variables/shared_common.assertPredicate.html +0 -344
  990. package/typedoc/variables/shared_common.pushTo.html +0 -252
  991. package/typedoc/variables/shared_common.removeFrom.html +0 -255
  992. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +0 -329
  993. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +0 -249
  994. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +0 -249
  995. package/typedoc/variables/shared_constants.INVALID_CLASS.html +0 -249
  996. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +0 -249
  997. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +0 -250
  998. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +0 -249
  999. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +0 -252
  1000. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +0 -249
  1001. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +0 -249
  1002. package/typedoc/variables/shared_constants.VALID_CLASS.html +0 -249
  1003. package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +0 -253
  1004. package/typedoc/variables/shared_hof.propEq.html +0 -258
  1005. package/typedoc/variables/shared_strings.hostRegex.html +0 -248
  1006. package/typedoc/variables/shared_strings.splitEqual.html +0 -291
  1007. package/typedoc/variables/shared_strings.splitHash.html +0 -291
  1008. package/typedoc/variables/shared_strings.splitQuery.html +0 -291
  1009. package/typedoc/variables/shared_utils.isProxySymbol.html +0 -250
  1010. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +0 -249
  1011. /package/{typedoc → docs/static/typedoc}/.nojekyll +0 -0
  1012. /package/{typedoc → docs/static/typedoc}/assets/icons.svg +0 -0
package/legacy.d.ts ADDED
@@ -0,0 +1,2695 @@
1
+ /// <reference path="jqlite.d.ts" />
2
+
3
+ declare var angular: angular.IAngularStatic;
4
+
5
+ // Support for painless dependency injection
6
+ declare global {
7
+ interface Function {
8
+ $inject?: readonly string[] | undefined;
9
+ }
10
+ }
11
+
12
+ export as namespace angular;
13
+ export as namespace ng;
14
+
15
+ // Support AMD require
16
+ export = angular;
17
+
18
+ import ng = angular;
19
+
20
+ ///////////////////////////////////////////////////////////////////////////////
21
+ // ng module (angular.js)
22
+ ///////////////////////////////////////////////////////////////////////////////
23
+ declare namespace angular {
24
+ type Injectable<T extends Function> = T | Array<string | T>;
25
+
26
+ // not directly implemented, but ensures that constructed class implements $get
27
+ interface IServiceProviderClass {
28
+ new (...args: any[]): IServiceProvider;
29
+ }
30
+
31
+ interface IServiceProviderFactory {
32
+ (...args: any[]): IServiceProvider;
33
+ }
34
+
35
+ // All service providers extend this interface
36
+ interface IServiceProvider {
37
+ $get: any;
38
+ }
39
+
40
+ interface IAngularBootstrapConfig {
41
+ strictDi?: boolean | undefined;
42
+ }
43
+
44
+ ///////////////////////////////////////////////////////////////////////////
45
+ // AngularStatic
46
+ // see http://docs.angularjs.org/api
47
+ ///////////////////////////////////////////////////////////////////////////
48
+ interface IAngularStatic {
49
+ bind(context: any, fn: Function, ...args: any[]): Function;
50
+
51
+ /**
52
+ * Use this function to manually start up angular application.
53
+ *
54
+ * @param element DOM element which is the root of angular application.
55
+ * @param modules An array of modules to load into the application.
56
+ * Each item in the array should be the name of a predefined module or a (DI annotated)
57
+ * function that will be invoked by the injector as a config block.
58
+ * @param config an object for defining configuration options for the application. The following keys are supported:
59
+ * - `strictDi`: disable automatic function annotation for the application. This is meant to assist in finding bugs which break minified code.
60
+ */
61
+ bootstrap(
62
+ element: string | Element | JQuery | Document,
63
+ modules?: Array<string | Function | any[]>,
64
+ config?: IAngularBootstrapConfig,
65
+ ): auto.IInjectorService;
66
+
67
+ /**
68
+ * Creates a deep copy of source, which should be an object or an array.
69
+ *
70
+ * - If no destination is supplied, a copy of the object or array is created.
71
+ * - If a destination is provided, all of its elements (for array) or properties (for objects) are deleted and then all elements/properties from the source are copied to it.
72
+ * - If source is not an object or array (inc. null and undefined), source is returned.
73
+ * - If source is identical to 'destination' an exception will be thrown.
74
+ *
75
+ * @param source The source that will be used to make a copy. Can be any type, including primitives, null, and undefined.
76
+ * @param destination Destination into which the source is copied. If provided, must be of the same type as source.
77
+ */
78
+ copy<T>(source: T, destination?: T): T;
79
+
80
+ /**
81
+ * Wraps a raw DOM element or HTML string as a jQuery element.
82
+ *
83
+ * If jQuery is available, angular.element is an alias for the jQuery function. If jQuery is not available, angular.element delegates to Angular's built-in subset of jQuery, called "jQuery lite" or "jqLite."
84
+ */
85
+ element: JQueryStatic;
86
+ /**
87
+ * Configure several aspects of error handling in AngularJS if used as a setter
88
+ * or return the current configuration if used as a getter
89
+ */
90
+ errorHandlingConfig(): IErrorHandlingConfig;
91
+ errorHandlingConfig(config: IErrorHandlingConfig): void;
92
+ equals(value1: any, value2: any): boolean;
93
+ extend(destination: any, ...sources: any[]): any;
94
+
95
+ /**
96
+ * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional.
97
+ *
98
+ * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method.
99
+ *
100
+ * @param obj Object to iterate over.
101
+ * @param iterator Iterator function.
102
+ * @param context Object to become context (this) for the iterator function.
103
+ */
104
+ forEach<T, U extends ArrayLike<T> = T[]>(
105
+ obj: U,
106
+ iterator: (value: U[number], key: number, obj: U) => void,
107
+ context?: any,
108
+ ): U;
109
+ /**
110
+ * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional.
111
+ *
112
+ * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method.
113
+ *
114
+ * @param obj Object to iterate over.
115
+ * @param iterator Iterator function.
116
+ * @param context Object to become context (this) for the iterator function.
117
+ */
118
+ forEach<T>(
119
+ obj: { [index: string]: T },
120
+ iterator: (value: T, key: string, obj: { [index: string]: T }) => void,
121
+ context?: any,
122
+ ): { [index: string]: T };
123
+ /**
124
+ * Invokes the iterator function once for each item in obj collection, which can be either an object or an array. The iterator function is invoked with iterator(value, key), where value is the value of an object property or an array element and key is the object property key or array element index. Specifying a context for the function is optional.
125
+ *
126
+ * It is worth noting that .forEach does not iterate over inherited properties because it filters using the hasOwnProperty method.
127
+ *
128
+ * @param obj Object to iterate over.
129
+ * @param iterator Iterator function.
130
+ * @param context Object to become context (this) for the iterator function.
131
+ */
132
+ forEach(
133
+ obj: any,
134
+ iterator: (value: any, key: any, obj: any) => void,
135
+ context?: any,
136
+ ): any;
137
+
138
+ fromJson(json: string): any;
139
+ identity<T>(arg?: T): T;
140
+ injector(modules?: any[], strictDi?: boolean): auto.IInjectorService;
141
+ isArray(value: any): value is any[];
142
+ isDate(value: any): value is Date;
143
+ isDefined(value: any): boolean;
144
+ isElement(value: any): boolean;
145
+ isFunction(value: any): value is Function;
146
+ isNumber(value: any): value is number;
147
+ isObject(value: any): value is Object;
148
+ isObject<T>(value: any): value is T;
149
+ isString(value: any): value is string;
150
+ isUndefined(value: any): boolean;
151
+
152
+ /**
153
+ * Deeply extends the destination object dst by copying own enumerable properties from the src object(s) to dst. You can specify multiple src objects. If you want to preserve original objects, you can do so by passing an empty object as the target: var object = angular.merge({}, object1, object2).
154
+ *
155
+ * Unlike extend(), merge() recursively descends into object properties of source objects, performing a deep copy.
156
+ *
157
+ * @param dst Destination object.
158
+ * @param src Source object(s).
159
+ */
160
+ merge(dst: any, ...src: any[]): any;
161
+
162
+ /**
163
+ * The angular.module is a global place for creating, registering and retrieving Angular modules. All modules (angular core or 3rd party) that should be available to an application must be registered using this mechanism.
164
+ *
165
+ * When passed two or more arguments, a new module is created. If passed only one argument, an existing module (the name passed as the first argument to module) is retrieved.
166
+ *
167
+ * @param name The name of the module to create or retrieve.
168
+ * @param requires The names of modules this module depends on. If specified then new module is being created. If unspecified then the module is being retrieved for further configuration.
169
+ * @param configFn Optional configuration function for the module.
170
+ */
171
+ module(
172
+ name: string,
173
+ requires?: string[],
174
+ configFn?: Injectable<Function>,
175
+ ): IModule;
176
+
177
+ noop(...args: any[]): void;
178
+ reloadWithDebugInfo(): void;
179
+ toJson(obj: any, pretty?: boolean | number): string;
180
+ version: {
181
+ full: string;
182
+ major: number;
183
+ minor: number;
184
+ dot: number;
185
+ codeName: string;
186
+ };
187
+
188
+ /**
189
+ * If window.name contains prefix NG_DEFER_BOOTSTRAP! when angular.bootstrap is called, the bootstrap process will be paused until angular.resumeBootstrap() is called.
190
+ * @param extraModules An optional array of modules that should be added to the original list of modules that the app was about to be bootstrapped with.
191
+ */
192
+ resumeBootstrap?(extraModules?: string[]): ng.auto.IInjectorService;
193
+
194
+ /**
195
+ * Restores the pre-1.8 behavior of jqLite that turns XHTML-like strings like
196
+ * `<div /><span />` to `<div></div><span></span>` instead of `<div><span></span></div>`.
197
+ * The new behavior is a security fix so if you use this method, please try to adjust
198
+ * to the change & remove the call as soon as possible.
199
+ * Note that this only patches jqLite. If you use jQuery 3.5.0 or newer, please read
200
+ * [jQuery 3.5 upgrade guide](https://jquery.com/upgrade-guide/3.5/) for more details
201
+ * about the workarounds.
202
+ */
203
+ UNSAFE_restoreLegacyJqLiteXHTMLReplacement(): void;
204
+ }
205
+
206
+ ///////////////////////////////////////////////////////////////////////////
207
+ // Module
208
+ // see http://docs.angularjs.org/api/angular.Module
209
+ ///////////////////////////////////////////////////////////////////////////
210
+ interface IModule {
211
+ /**
212
+ * Use this method to register a component.
213
+ *
214
+ * @param name The name of the component.
215
+ * @param options A definition object passed into the component.
216
+ */
217
+ component(name: string, options: IComponentOptions): IModule;
218
+ /**
219
+ * Use this method to register a component.
220
+ *
221
+ * @param object Object map of components where the keys are the names and the values are the component definition objects
222
+ */
223
+ component(object: { [componentName: string]: IComponentOptions }): IModule;
224
+ /**
225
+ * Use this method to register work which needs to be performed on module loading.
226
+ *
227
+ * @param configFn Execute this function on module load. Useful for service configuration.
228
+ */
229
+ config(configFn: Function): IModule;
230
+ /**
231
+ * Use this method to register work which needs to be performed on module loading.
232
+ *
233
+ * @param inlineAnnotatedFunction Execute this function on module load. Useful for service configuration.
234
+ */
235
+ config(inlineAnnotatedFunction: any[]): IModule;
236
+ config(object: Object): IModule;
237
+ /**
238
+ * Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.
239
+ *
240
+ * @param name The name of the constant.
241
+ * @param value The constant value.
242
+ */
243
+ constant<T>(name: string, value: T): IModule;
244
+ constant(object: Object): IModule;
245
+ /**
246
+ * The $controller service is used by Angular to create new controllers.
247
+ *
248
+ * This provider allows controller registration via the register method.
249
+ *
250
+ * @param name Controller name, or an object map of controllers where the keys are the names and the values are the constructors.
251
+ * @param controllerConstructor Controller constructor fn (optionally decorated with DI annotations in the array notation).
252
+ */
253
+ controller(
254
+ name: string,
255
+ controllerConstructor: Injectable<IControllerConstructor>,
256
+ ): IModule;
257
+ controller(object: {
258
+ [name: string]: Injectable<IControllerConstructor>;
259
+ }): IModule;
260
+ /**
261
+ * Register a new directive with the compiler.
262
+ *
263
+ * @param name Name of the directive in camel-case (i.e. ngBind which will match as ng-bind)
264
+ * @param directiveFactory An injectable directive factory function.
265
+ */
266
+ directive<
267
+ TScope extends IScope = IScope,
268
+ TElement extends JQLite = JQLite,
269
+ TAttributes extends IAttributes = IAttributes,
270
+ TController extends IDirectiveController = IController,
271
+ >(
272
+ name: string,
273
+ directiveFactory: Injectable<
274
+ IDirectiveFactory<TScope, TElement, TAttributes, TController>
275
+ >,
276
+ ): IModule;
277
+ directive<
278
+ TScope extends IScope = IScope,
279
+ TElement extends JQLite = JQLite,
280
+ TAttributes extends IAttributes = IAttributes,
281
+ TController extends IDirectiveController = IController,
282
+ >(object: {
283
+ [directiveName: string]: Injectable<
284
+ IDirectiveFactory<TScope, TElement, TAttributes, TController>
285
+ >;
286
+ }): IModule;
287
+
288
+ /**
289
+ * Register a service factory, which will be called to return the service instance. This is short for registering a service where its provider consists of only a $get property, which is the given service factory function. You should use $provide.factory(getFn) if you do not need to configure your service in a provider.
290
+ *
291
+ * @param name The name of the instance.
292
+ * @param $getFn The $getFn for the instance creation. Internally this is a short hand for $provide.provider(name, {$get: $getFn}).
293
+ */
294
+ factory(name: string, $getFn: Injectable<Function>): IModule;
295
+ factory(object: { [name: string]: Injectable<Function> }): IModule;
296
+ filter(
297
+ name: string,
298
+ filterFactoryFunction: Injectable<FilterFactory>,
299
+ ): IModule;
300
+ filter(object: { [name: string]: Injectable<FilterFactory> }): IModule;
301
+ provider(
302
+ name: string,
303
+ serviceProviderFactory: IServiceProviderFactory,
304
+ ): IModule;
305
+ provider(
306
+ name: string,
307
+ serviceProviderConstructor: IServiceProviderClass,
308
+ ): IModule;
309
+ provider(name: string, inlineAnnotatedConstructor: any[]): IModule;
310
+ provider(name: string, providerObject: IServiceProvider): IModule;
311
+ provider(object: Object): IModule;
312
+ /**
313
+ * Run blocks are the closest thing in Angular to the main method. A run block is the code which needs to run to kickstart the application. It is executed after all of the service have been configured and the injector has been created. Run blocks typically contain code which is hard to unit-test, and for this reason should be declared in isolated modules, so that they can be ignored in the unit-tests.
314
+ */
315
+ run(initializationFunction: Injectable<Function>): IModule;
316
+ /**
317
+ * Register a service constructor, which will be invoked with new to create the service instance. This is short for registering a service where its provider's $get property is a factory function that returns an instance instantiated by the injector from the service constructor function.
318
+ *
319
+ * @param name The name of the instance.
320
+ * @param serviceConstructor An injectable class (constructor function) that will be instantiated.
321
+ */
322
+ service(name: string, serviceConstructor: Injectable<Function>): IModule;
323
+ service(object: { [name: string]: Injectable<Function> }): IModule;
324
+ /**
325
+ * Register a value service with the $injector, such as a string, a number, an array, an object or a function. This is short for registering a service where its provider's $get property is a factory function that takes no arguments and returns the value service.
326
+
327
+ Value services are similar to constant services, except that they cannot be injected into a module configuration function (see config) but they can be overridden by an Angular decorator.
328
+ *
329
+ * @param name The name of the instance.
330
+ * @param value The value.
331
+ */
332
+ value<T>(name: string, value: T): IModule;
333
+ value(object: Object): IModule;
334
+
335
+ /**
336
+ * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
337
+ * @param name The name of the service to decorate
338
+ * @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments: $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.
339
+ */
340
+ decorator(name: string, decorator: Injectable<Function>): IModule;
341
+
342
+ // Properties
343
+ name: string;
344
+ requires: string[];
345
+ }
346
+
347
+ ///////////////////////////////////////////////////////////////////////////
348
+ // Attributes
349
+ // see http://docs.angularjs.org/api/ng/type/$compile.directive.Attributes
350
+ ///////////////////////////////////////////////////////////////////////////
351
+ interface IAttributes {
352
+ /**
353
+ * this is necessary to be able to access the scoped attributes. it's not very elegant
354
+ * because you have to use attrs['foo'] instead of attrs.foo but I don't know of a better way
355
+ * this should really be limited to return string but it creates this problem: http://stackoverflow.com/q/17201854/165656
356
+ */
357
+ [name: string]: any;
358
+
359
+ /**
360
+ * Converts an attribute name (e.g. dash/colon/underscore-delimited string, optionally prefixed with x- or data-) to its normalized, camelCase form.
361
+ *
362
+ * Also there is special case for Moz prefix starting with upper case letter.
363
+ *
364
+ * For further information check out the guide on @see https://docs.angularjs.org/guide/directive#matching-directives
365
+ */
366
+ $normalize(name: string): string;
367
+
368
+ /**
369
+ * Adds the CSS class value specified by the classVal parameter to the
370
+ * element. If animations are enabled then an animation will be triggered
371
+ * for the class addition.
372
+ */
373
+ $addClass(classVal: string): void;
374
+
375
+ /**
376
+ * Removes the CSS class value specified by the classVal parameter from the
377
+ * element. If animations are enabled then an animation will be triggered for
378
+ * the class removal.
379
+ */
380
+ $removeClass(classVal: string): void;
381
+
382
+ /**
383
+ * Adds and removes the appropriate CSS class values to the element based on the difference between
384
+ * the new and old CSS class values (specified as newClasses and oldClasses).
385
+ */
386
+ $updateClass(newClasses: string, oldClasses: string): void;
387
+
388
+ /**
389
+ * Set DOM element attribute value.
390
+ */
391
+ $set(key: string, value: any): void;
392
+
393
+ /**
394
+ * Observes an interpolated attribute.
395
+ * The observer function will be invoked once during the next $digest
396
+ * following compilation. The observer is then invoked whenever the
397
+ * interpolated value changes.
398
+ */
399
+ $observe<T>(name: string, fn: (value?: T) => any): Function;
400
+
401
+ /**
402
+ * A map of DOM element attribute names to the normalized name. This is needed
403
+ * to do reverse lookup from normalized name back to actual name.
404
+ */
405
+ $attr: Object;
406
+ }
407
+
408
+ /**
409
+ * form.FormController - type in module ng
410
+ * see https://docs.angularjs.org/api/ng/type/form.FormController
411
+ */
412
+ interface IFormController {
413
+ /**
414
+ * Indexer which should return ng.INgModelController for most properties but cannot because of "All named properties must be assignable to string indexer type" constraint - see https://github.com/Microsoft/TypeScript/issues/272
415
+ */
416
+ [name: string]: any;
417
+
418
+ $pristine: boolean;
419
+ $dirty: boolean;
420
+ $valid: boolean;
421
+ $invalid: boolean;
422
+ $submitted: boolean;
423
+ $error: {
424
+ [validationErrorKey: string]: Array<INgModelController | IFormController>;
425
+ };
426
+ $name?: string | undefined;
427
+ $pending?:
428
+ | {
429
+ [validationErrorKey: string]: Array<
430
+ INgModelController | IFormController
431
+ >;
432
+ }
433
+ | undefined;
434
+ $addControl(control: INgModelController | IFormController): void;
435
+ $getControls(): ReadonlyArray<INgModelController | IFormController>;
436
+ $removeControl(control: INgModelController | IFormController): void;
437
+ $setValidity(
438
+ validationErrorKey: string,
439
+ isValid: boolean,
440
+ control: INgModelController | IFormController,
441
+ ): void;
442
+ $setDirty(): void;
443
+ $setPristine(): void;
444
+ $commitViewValue(): void;
445
+ $rollbackViewValue(): void;
446
+ $setSubmitted(): void;
447
+ $setUntouched(): void;
448
+ }
449
+
450
+ ///////////////////////////////////////////////////////////////////////////
451
+ // NgModelController
452
+ // see http://docs.angularjs.org/api/ng/type/ngModel.NgModelController
453
+ ///////////////////////////////////////////////////////////////////////////
454
+ interface INgModelController {
455
+ $render(): void;
456
+ $setValidity(validationErrorKey: string, isValid: boolean): void;
457
+ // Documentation states viewValue and modelValue to be a string but other
458
+ // types do work and it's common to use them.
459
+ $setViewValue(value: any, trigger?: string): void;
460
+ $setPristine(): void;
461
+ $setDirty(): void;
462
+ $validate(): void;
463
+ $setTouched(): void;
464
+ $setUntouched(): void;
465
+ $rollbackViewValue(): void;
466
+ $commitViewValue(): void;
467
+ $processModelValue(): void;
468
+ $isEmpty(value: any): boolean;
469
+ $overrideModelOptions(options: INgModelOptions): void;
470
+
471
+ $viewValue: any;
472
+
473
+ $modelValue: any;
474
+
475
+ $parsers: IModelParser[];
476
+ $formatters: IModelFormatter[];
477
+ $viewChangeListeners: IModelViewChangeListener[];
478
+ $error: { [validationErrorKey: string]: boolean };
479
+ $name?: string | undefined;
480
+
481
+ $touched: boolean;
482
+ $untouched: boolean;
483
+
484
+ $validators: IModelValidators;
485
+ $asyncValidators: IAsyncModelValidators;
486
+
487
+ $pending?: { [validationErrorKey: string]: boolean } | undefined;
488
+ $pristine: boolean;
489
+ $dirty: boolean;
490
+ $valid: boolean;
491
+ $invalid: boolean;
492
+ }
493
+
494
+ // Allows tuning how model updates are done.
495
+ // https://docs.angularjs.org/api/ng/directive/ngModelOptions
496
+ interface INgModelOptions {
497
+ updateOn?: string | undefined;
498
+ debounce?: number | { [key: string]: number } | undefined;
499
+ allowInvalid?: boolean | undefined;
500
+ getterSetter?: boolean | undefined;
501
+ timezone?: string | undefined;
502
+ /**
503
+ * Defines if the time and datetime-local types should show seconds and milliseconds.
504
+ * The option follows the format string of date filter.
505
+ * By default, the options is undefined which is equal to 'ss.sss' (seconds and milliseconds)
506
+ */
507
+ timeSecondsFormat?: string | undefined;
508
+ /**
509
+ * Defines if the time and datetime-local types should strip the seconds and milliseconds
510
+ * from the formatted value if they are zero. This option is applied after `timeSecondsFormat`
511
+ */
512
+ timeStripZeroSeconds?: boolean | undefined;
513
+ }
514
+
515
+ interface IModelValidators {
516
+ /**
517
+ * viewValue is any because it can be an object that is called in the view like $viewValue.name:$viewValue.subName
518
+ */
519
+ [index: string]: (modelValue: any, viewValue: any) => boolean;
520
+ }
521
+
522
+ interface IAsyncModelValidators {
523
+ [index: string]: (modelValue: any, viewValue: any) => IPromise<any>;
524
+ }
525
+
526
+ interface IErrorHandlingConfig {
527
+ /**
528
+ * The max depth for stringifying objects.
529
+ * Setting to a non-positive or non-numeric value, removes the max depth limit
530
+ * @default 5
531
+ */
532
+ objectMaxDepth?: number | undefined;
533
+ /**
534
+ * Specifies whether the generated error url will contain the parameters of the thrown error.
535
+ * Disabling the parameters can be useful if the generated error url is very long.
536
+ * @default true;
537
+ */
538
+ urlErrorParamsEnabled?: boolean | undefined;
539
+ }
540
+
541
+ interface IModelParser {
542
+ (value: any): any;
543
+ }
544
+
545
+ interface IModelFormatter {
546
+ (value: any): any;
547
+ }
548
+
549
+ interface IModelViewChangeListener {
550
+ (): void;
551
+ }
552
+
553
+ /**
554
+ * $rootScope - $rootScopeProvider - service in module ng
555
+ * see https://docs.angularjs.org/api/ng/type/$rootScope.Scope and https://docs.angularjs.org/api/ng/service/$rootScope
556
+ */
557
+ interface IRootScopeService {
558
+ $apply(): any;
559
+ $apply(exp: string): any;
560
+ $apply(exp: (scope: IScope) => any): any;
561
+
562
+ $applyAsync(): any;
563
+ $applyAsync(exp: string): any;
564
+ $applyAsync(exp: (scope: IScope) => any): any;
565
+
566
+ /**
567
+ * Dispatches an event name downwards to all child scopes (and their children) notifying the registered $rootScope.Scope listeners.
568
+ *
569
+ * The event life cycle starts at the scope on which $broadcast was called. All listeners listening for name event on this scope get notified. Afterwards, the event propagates to all direct and indirect scopes of the current scope and calls all registered listeners along the way. The event cannot be canceled.
570
+ *
571
+ * Any exception emitted from the listeners will be passed onto the $exceptionHandler service.
572
+ *
573
+ * @param name Event name to broadcast.
574
+ * @param args Optional one or more arguments which will be passed onto the event listeners.
575
+ */
576
+ $broadcast(name: string, ...args: any[]): IAngularEvent;
577
+ $destroy(): void;
578
+ $digest(): void;
579
+
580
+ /**
581
+ * Suspend watchers of this scope subtree so that they will not be invoked during digest.
582
+ *
583
+ * This can be used to optimize your application when you know that running those watchers
584
+ * is redundant.
585
+ *
586
+ * **Warning**
587
+ *
588
+ * Suspending scopes from the digest cycle can have unwanted and difficult to debug results.
589
+ * Only use this approach if you are confident that you know what you are doing and have
590
+ * ample tests to ensure that bindings get updated as you expect.
591
+ *
592
+ * Some of the things to consider are:
593
+ *
594
+ * * Any external event on a directive/component will not trigger a digest while the hosting
595
+ * scope is suspended - even if the event handler calls `$apply()` or `$rootScope.$digest()`.
596
+ * * Transcluded content exists on a scope that inherits from outside a directive but exists
597
+ * as a child of the directive's containing scope. If the containing scope is suspended the
598
+ * transcluded scope will also be suspended, even if the scope from which the transcluded
599
+ * scope inherits is not suspended.
600
+ * * Multiple directives trying to manage the suspended status of a scope can confuse each other:
601
+ * * A call to `$suspend()` on an already suspended scope is a no-op.
602
+ * * A call to `$resume()` on a non-suspended scope is a no-op.
603
+ * * If two directives suspend a scope, then one of them resumes the scope, the scope will no
604
+ * longer be suspended. This could result in the other directive believing a scope to be
605
+ * suspended when it is not.
606
+ * * If a parent scope is suspended then all its descendants will be also excluded from future
607
+ * digests whether or not they have been suspended themselves. Note that this also applies to
608
+ * isolate child scopes.
609
+ * * Calling `$digest()` directly on a descendant of a suspended scope will still run the watchers
610
+ * for that scope and its descendants. When digesting we only check whether the current scope is
611
+ * locally suspended, rather than checking whether it has a suspended ancestor.
612
+ * * Calling `$resume()` on a scope that has a suspended ancestor will not cause the scope to be
613
+ * included in future digests until all its ancestors have been resumed.
614
+ * * Resolved promises, e.g. from explicit `$q` deferreds and `$http` calls, trigger `$apply()`
615
+ * against the `$rootScope` and so will still trigger a global digest even if the promise was
616
+ * initiated by a component that lives on a suspended scope.
617
+ */
618
+ $suspend(): void;
619
+
620
+ /**
621
+ * Call this method to determine if this scope has been explicitly suspended. It will not
622
+ * tell you whether an ancestor has been suspended.
623
+ * To determine if this scope will be excluded from a digest triggered at the $rootScope,
624
+ * for example, you must check all its ancestors:
625
+ *
626
+ * ```
627
+ * function isExcludedFromDigest(scope) {
628
+ * while(scope) {
629
+ * if (scope.$isSuspended()) return true;
630
+ * scope = scope.$parent;
631
+ * }
632
+ * return false;
633
+ * ```
634
+ *
635
+ * Be aware that a scope may not be included in digests if it has a suspended ancestor,
636
+ * even if `$isSuspended()` returns false.
637
+ *
638
+ * @returns true if the current scope has been suspended.
639
+ */
640
+ $isSuspended(): boolean;
641
+
642
+ /**
643
+ * Resume watchers of this scope subtree in case it was suspended.
644
+ *
645
+ * See {$rootScope.Scope#$suspend} for information about the dangers of using this approach.
646
+ */
647
+ $resume(): void;
648
+
649
+ /**
650
+ * Dispatches an event name upwards through the scope hierarchy notifying the registered $rootScope.Scope listeners.
651
+ *
652
+ * The event life cycle starts at the scope on which $emit was called. All listeners listening for name event on this scope get notified. Afterwards, the event traverses upwards toward the root scope and calls all registered listeners along the way. The event will stop propagating if one of the listeners cancels it.
653
+ *
654
+ * Any exception emitted from the listeners will be passed onto the $exceptionHandler service.
655
+ *
656
+ * @param name Event name to emit.
657
+ * @param args Optional one or more arguments which will be passed onto the event listeners.
658
+ */
659
+ $emit(name: string, ...args: any[]): IAngularEvent;
660
+
661
+ $eval(): any;
662
+ $eval(expression: string, locals?: Object): any;
663
+ $eval(expression: (scope: IScope) => any, locals?: Object): any;
664
+
665
+ $evalAsync(): void;
666
+ $evalAsync(expression: string, locals?: Object): void;
667
+ $evalAsync(expression: (scope: IScope) => void, locals?: Object): void;
668
+
669
+ // Defaults to false by the implementation checking strategy
670
+ $new(isolate?: boolean, parent?: IScope): IScope;
671
+
672
+ /**
673
+ * Listens on events of a given type. See $emit for discussion of event life cycle.
674
+ *
675
+ * The event listener function format is: function(event, args...).
676
+ *
677
+ * @param name Event name to listen on.
678
+ * @param listener Function to call when the event is emitted.
679
+ */
680
+ $on(
681
+ name: string,
682
+ listener: (event: IAngularEvent, ...args: any[]) => any,
683
+ ): () => void;
684
+
685
+ $watch(
686
+ watchExpression: string,
687
+ listener?: string,
688
+ objectEquality?: boolean,
689
+ ): () => void;
690
+ $watch<T>(
691
+ watchExpression: string,
692
+ listener?: (newValue: T, oldValue: T, scope: IScope) => any,
693
+ objectEquality?: boolean,
694
+ ): () => void;
695
+ $watch(
696
+ watchExpression: (scope: IScope) => any,
697
+ listener?: string,
698
+ objectEquality?: boolean,
699
+ ): () => void;
700
+ $watch<T>(
701
+ watchExpression: (scope: IScope) => T,
702
+ listener?: (newValue: T, oldValue: T, scope: IScope) => any,
703
+ objectEquality?: boolean,
704
+ ): () => void;
705
+
706
+ $watchCollection<T>(
707
+ watchExpression: string,
708
+ listener: (newValue: T, oldValue: T, scope: IScope) => any,
709
+ ): () => void;
710
+ $watchCollection<T>(
711
+ watchExpression: (scope: IScope) => T,
712
+ listener: (newValue: T, oldValue: T, scope: IScope) => any,
713
+ ): () => void;
714
+
715
+ $watchGroup(
716
+ watchExpressions: any[],
717
+ listener: (newValue: any, oldValue: any, scope: IScope) => any,
718
+ ): () => void;
719
+ $watchGroup(
720
+ watchExpressions: Array<{ (scope: IScope): any }>,
721
+ listener: (newValue: any, oldValue: any, scope: IScope) => any,
722
+ ): () => void;
723
+
724
+ $parent: IScope;
725
+ $root: IRootScopeService;
726
+ $id: number;
727
+
728
+ // Hidden members
729
+ $$isolateBindings: any;
730
+ $$phase: any;
731
+ }
732
+
733
+ interface IScope extends IRootScopeService {}
734
+
735
+ /**
736
+ * $scope for ngRepeat directive.
737
+ * see https://docs.angularjs.org/api/ng/directive/ngRepeat
738
+ */
739
+ interface IRepeatScope extends IScope {
740
+ /**
741
+ * iterator offset of the repeated element (0..length-1).
742
+ */
743
+ $index: number;
744
+
745
+ /**
746
+ * true if the repeated element is first in the iterator.
747
+ */
748
+ $first: boolean;
749
+
750
+ /**
751
+ * true if the repeated element is between the first and last in the iterator.
752
+ */
753
+ $middle: boolean;
754
+
755
+ /**
756
+ * true if the repeated element is last in the iterator.
757
+ */
758
+ $last: boolean;
759
+
760
+ /**
761
+ * true if the iterator position $index is even (otherwise false).
762
+ */
763
+ $even: boolean;
764
+
765
+ /**
766
+ * true if the iterator position $index is odd (otherwise false).
767
+ */
768
+ $odd: boolean;
769
+ }
770
+
771
+ interface IAngularEvent {
772
+ /**
773
+ * the scope on which the event was $emit-ed or $broadcast-ed.
774
+ */
775
+ targetScope: IScope;
776
+ /**
777
+ * the scope that is currently handling the event. Once the event propagates through the scope hierarchy, this property is set to null.
778
+ */
779
+ currentScope: IScope;
780
+ /**
781
+ * name of the event.
782
+ */
783
+ name: string;
784
+ /**
785
+ * calling stopPropagation function will cancel further event propagation (available only for events that were $emit-ed).
786
+ */
787
+ stopPropagation?(): void;
788
+ /**
789
+ * calling preventDefault sets defaultPrevented flag to true.
790
+ */
791
+ preventDefault(): void;
792
+ /**
793
+ * true if preventDefault was called.
794
+ */
795
+ defaultPrevented: boolean;
796
+ }
797
+
798
+ ///////////////////////////////////////////////////////////////////////////
799
+ // WindowService
800
+ // see http://docs.angularjs.org/api/ng/service/$window
801
+ ///////////////////////////////////////////////////////////////////////////
802
+ interface IWindowService extends Window {
803
+ [key: string]: any;
804
+ }
805
+
806
+ ///////////////////////////////////////////////////////////////////////////
807
+ // TimeoutService
808
+ // see http://docs.angularjs.org/api/ng/service/$timeout
809
+ ///////////////////////////////////////////////////////////////////////////
810
+ interface ITimeoutService {
811
+ (delay?: number, invokeApply?: boolean): IPromise<void>;
812
+ <T>(
813
+ fn: (...args: any[]) => T | IPromise<T>,
814
+ delay?: number,
815
+ invokeApply?: boolean,
816
+ ...args: any[]
817
+ ): IPromise<T>;
818
+ cancel(promise?: IPromise<any>): boolean;
819
+ }
820
+
821
+ ///////////////////////////////////////////////////////////////////////////
822
+ // IntervalService
823
+ // see http://docs.angularjs.org/api/ng/service/$interval
824
+ ///////////////////////////////////////////////////////////////////////////
825
+ interface IIntervalService {
826
+ (
827
+ func: Function,
828
+ delay: number,
829
+ count?: number,
830
+ invokeApply?: boolean,
831
+ ...args: any[]
832
+ ): IPromise<any>;
833
+ cancel(promise: IPromise<any>): boolean;
834
+ }
835
+
836
+ /**
837
+ * $filter - $filterProvider - service in module ng
838
+ *
839
+ * Filters are used for formatting data displayed to the user.
840
+ *
841
+ * see https://docs.angularjs.org/api/ng/service/$filter
842
+ */
843
+ interface IFilterService {
844
+ (name: "filter"): IFilterFilter;
845
+ (name: "currency"): IFilterCurrency;
846
+ (name: "number"): IFilterNumber;
847
+ (name: "date"): IFilterDate;
848
+ (name: "json"): IFilterJson;
849
+ (name: "lowercase"): IFilterLowercase;
850
+ (name: "uppercase"): IFilterUppercase;
851
+ (name: "limitTo"): IFilterLimitTo;
852
+ (name: "orderBy"): IFilterOrderBy;
853
+ /**
854
+ * Usage:
855
+ * $filter(name);
856
+ *
857
+ * @param name Name of the filter function to retrieve
858
+ */
859
+ <T>(name: string): T;
860
+ }
861
+
862
+ interface IFilterFilter {
863
+ <T>(
864
+ array: T[],
865
+ expression:
866
+ | string
867
+ | IFilterFilterPatternObject
868
+ | IFilterFilterPredicateFunc<T>,
869
+ comparator?: IFilterFilterComparatorFunc<T> | boolean,
870
+ ): T[];
871
+ }
872
+
873
+ interface IFilterFilterPatternObject {
874
+ [name: string]: any;
875
+ }
876
+
877
+ interface IFilterFilterPredicateFunc<T> {
878
+ (value: T, index: number, array: T[]): boolean;
879
+ }
880
+
881
+ interface IFilterFilterComparatorFunc<T> {
882
+ (actual: T, expected: T): boolean;
883
+ }
884
+
885
+ interface IFilterOrderByItem {
886
+ value: any;
887
+ type: string;
888
+ index: any;
889
+ }
890
+
891
+ interface IFilterOrderByComparatorFunc {
892
+ (left: IFilterOrderByItem, right: IFilterOrderByItem): -1 | 0 | 1;
893
+ }
894
+
895
+ interface IFilterCurrency {
896
+ /**
897
+ * Formats a number as a currency (ie $1,234.56). When no currency symbol is provided, default symbol for current locale is used.
898
+ * @param amount Input to filter.
899
+ * @param symbol Currency symbol or identifier to be displayed.
900
+ * @param fractionSize Number of decimal places to round the amount to, defaults to default max fraction size for current locale
901
+ * @return Formatted number
902
+ */
903
+ (amount: number, symbol?: string, fractionSize?: number): string;
904
+ }
905
+
906
+ interface IFilterNumber {
907
+ /**
908
+ * Formats a number as text.
909
+ * @param number Number to format.
910
+ * @param fractionSize Number of decimal places to round the number to. If this is not provided then the fraction size is computed from the current locale's number formatting pattern. In the case of the default locale, it will be 3.
911
+ * @return Number rounded to decimalPlaces and places a “,” after each third digit.
912
+ */
913
+ (value: number | string, fractionSize?: number | string): string;
914
+ }
915
+
916
+ interface IFilterDate {
917
+ /**
918
+ * Formats date to a string based on the requested format.
919
+ *
920
+ * @param date Date to format either as Date object, milliseconds (string or number) or various ISO 8601 datetime string formats (e.g. yyyy-MM-ddTHH:mm:ss.sssZ and its shorter versions like yyyy-MM-ddTHH:mmZ, yyyy-MM-dd or yyyyMMddTHHmmssZ). If no timezone is specified in the string input, the time is considered to be in the local timezone.
921
+ * @param format Formatting rules (see Description). If not specified, mediumDate is used.
922
+ * @param timezone Timezone to be used for formatting. It understands UTC/GMT and the continental US time zone abbreviations, but for general use, use a time zone offset, for example, '+0430' (4 hours, 30 minutes east of the Greenwich meridian) If not specified, the timezone of the browser will be used.
923
+ * @return Formatted string or the input if input is not recognized as date/millis.
924
+ */
925
+ (date: Date | number | string, format?: string, timezone?: string): string;
926
+ }
927
+
928
+ interface IFilterJson {
929
+ /**
930
+ * Allows you to convert a JavaScript object into JSON string.
931
+ * @param object Any JavaScript object (including arrays and primitive types) to filter.
932
+ * @param spacing The number of spaces to use per indentation, defaults to 2.
933
+ * @return JSON string.
934
+ */
935
+ (object: any, spacing?: number): string;
936
+ }
937
+
938
+ interface IFilterLowercase {
939
+ /**
940
+ * Converts string to lowercase.
941
+ */
942
+ (value: string): string;
943
+ }
944
+
945
+ interface IFilterUppercase {
946
+ /**
947
+ * Converts string to uppercase.
948
+ */
949
+ (value: string): string;
950
+ }
951
+
952
+ interface IFilterLimitTo {
953
+ /**
954
+ * Creates a new array containing only a specified number of elements. The elements are taken from either the beginning or the end of the source array, string or number, as specified by the value and sign (positive or negative) of limit.
955
+ * @param input Source array to be limited.
956
+ * @param limit The length of the returned array. If the limit number is positive, limit number of items from the beginning of the source array/string are copied. If the number is negative, limit number of items from the end of the source array are copied. The limit will be trimmed if it exceeds array.length. If limit is undefined, the input will be returned unchanged.
957
+ * @param begin Index at which to begin limitation. As a negative index, begin indicates an offset from the end of input. Defaults to 0.
958
+ * @return A new sub-array of length limit or less if input array had less than limit elements.
959
+ */
960
+ <T>(input: T[], limit: string | number, begin?: string | number): T[];
961
+ /**
962
+ * Creates a new string containing only a specified number of elements. The elements are taken from either the beginning or the end of the source string or number, as specified by the value and sign (positive or negative) of limit. If a number is used as input, it is converted to a string.
963
+ * @param input Source string or number to be limited.
964
+ * @param limit The length of the returned string. If the limit number is positive, limit number of items from the beginning of the source string are copied. If the number is negative, limit number of items from the end of the source string are copied. The limit will be trimmed if it exceeds input.length. If limit is undefined, the input will be returned unchanged.
965
+ * @param begin Index at which to begin limitation. As a negative index, begin indicates an offset from the end of input. Defaults to 0.
966
+ * @return A new substring of length limit or less if input had less than limit elements.
967
+ */
968
+ (
969
+ input: string | number,
970
+ limit: string | number,
971
+ begin?: string | number,
972
+ ): string;
973
+ }
974
+
975
+ interface IFilterOrderBy {
976
+ /**
977
+ * Orders a specified array by the expression predicate. It is ordered alphabetically for strings and numerically for numbers. Note: if you notice numbers are not being sorted as expected, make sure they are actually being saved as numbers and not strings.
978
+ * @param array The array to sort.
979
+ * @param expression A predicate to be used by the comparator to determine the order of elements.
980
+ * @param reverse Reverse the order of the array.
981
+ * @param comparator Function used to determine the relative order of value pairs.
982
+ * @return An array containing the items from the specified collection, ordered by a comparator function based on the values computed using the expression predicate.
983
+ */
984
+ <T>(
985
+ array: T[],
986
+ expression:
987
+ | string
988
+ | ((value: T) => any)
989
+ | Array<((value: T) => any) | string>,
990
+ reverse?: boolean,
991
+ comparator?: IFilterOrderByComparatorFunc,
992
+ ): T[];
993
+ }
994
+
995
+ /**
996
+ * $filterProvider - $filter - provider in module ng
997
+ *
998
+ * Filters are just functions which transform input to an output. However filters need to be Dependency Injected. To achieve this a filter definition consists of a factory function which is annotated with dependencies and is responsible for creating a filter function.
999
+ *
1000
+ * see https://docs.angularjs.org/api/ng/provider/$filterProvider
1001
+ */
1002
+ interface IFilterProvider extends IServiceProvider {
1003
+ /**
1004
+ * register(name);
1005
+ *
1006
+ * @param name Name of the filter function, or an object map of filters where the keys are the filter names and the values are the filter factories. Note: Filter names must be valid angular Expressions identifiers, such as uppercase or orderBy. Names with special characters, such as hyphens and dots, are not allowed. If you wish to namespace your filters, then you can use capitalization (myappSubsectionFilterx) or underscores (myapp_subsection_filterx).
1007
+ */
1008
+ register(name: string | {}): IServiceProvider;
1009
+ }
1010
+
1011
+ ///////////////////////////////////////////////////////////////////////////
1012
+ // LocaleService
1013
+ // see http://docs.angularjs.org/api/ng/service/$locale
1014
+ ///////////////////////////////////////////////////////////////////////////
1015
+ interface ILocaleService {
1016
+ id: string;
1017
+
1018
+ // These are not documented
1019
+ // Check angular's i18n files for exemples
1020
+ NUMBER_FORMATS: ILocaleNumberFormatDescriptor;
1021
+ DATETIME_FORMATS: ILocaleDateTimeFormatDescriptor;
1022
+ pluralCat(num: any): string;
1023
+ }
1024
+
1025
+ interface ILocaleNumberFormatDescriptor {
1026
+ DECIMAL_SEP: string;
1027
+ GROUP_SEP: string;
1028
+ PATTERNS: ILocaleNumberPatternDescriptor[];
1029
+ CURRENCY_SYM: string;
1030
+ }
1031
+
1032
+ interface ILocaleNumberPatternDescriptor {
1033
+ minInt: number;
1034
+ minFrac: number;
1035
+ maxFrac: number;
1036
+ posPre: string;
1037
+ posSuf: string;
1038
+ negPre: string;
1039
+ negSuf: string;
1040
+ gSize: number;
1041
+ lgSize: number;
1042
+ }
1043
+
1044
+ interface ILocaleDateTimeFormatDescriptor {
1045
+ MONTH: string[];
1046
+ SHORTMONTH: string[];
1047
+ DAY: string[];
1048
+ SHORTDAY: string[];
1049
+ AMPMS: string[];
1050
+ medium: string;
1051
+ short: string;
1052
+ fullDate: string;
1053
+ longDate: string;
1054
+ mediumDate: string;
1055
+ shortDate: string;
1056
+ mediumTime: string;
1057
+ shortTime: string;
1058
+ }
1059
+
1060
+ ///////////////////////////////////////////////////////////////////////////
1061
+ // LogService
1062
+ // see http://docs.angularjs.org/api/ng/service/$log
1063
+ // see http://docs.angularjs.org/api/ng/provider/$logProvider
1064
+ ///////////////////////////////////////////////////////////////////////////
1065
+ interface ILogService {
1066
+ debug: ILogCall;
1067
+ error: ILogCall;
1068
+ info: ILogCall;
1069
+ log: ILogCall;
1070
+ warn: ILogCall;
1071
+ }
1072
+
1073
+ interface ILogProvider extends IServiceProvider {
1074
+ debugEnabled(): boolean;
1075
+ debugEnabled(enabled: boolean): ILogProvider;
1076
+ }
1077
+
1078
+ // We define this as separate interface so we can reopen it later for
1079
+ // the ngMock module.
1080
+ interface ILogCall {
1081
+ (...args: any[]): void;
1082
+ }
1083
+
1084
+ ///////////////////////////////////////////////////////////////////////////
1085
+ // ParseService
1086
+ // see http://docs.angularjs.org/api/ng/service/$parse
1087
+ // see http://docs.angularjs.org/api/ng/provider/$parseProvider
1088
+ ///////////////////////////////////////////////////////////////////////////
1089
+ interface IParseService {
1090
+ (
1091
+ expression: string,
1092
+ interceptorFn?: (value: any, scope: IScope, locals: any) => any,
1093
+ expensiveChecks?: boolean,
1094
+ ): ICompiledExpression;
1095
+ }
1096
+
1097
+ interface IParseProvider {
1098
+ logPromiseWarnings(): boolean;
1099
+ logPromiseWarnings(value: boolean): IParseProvider;
1100
+
1101
+ unwrapPromises(): boolean;
1102
+ unwrapPromises(value: boolean): IParseProvider;
1103
+
1104
+ /**
1105
+ * Configure $parse service to add literal values that will be present as literal at expressions.
1106
+ *
1107
+ * @param literalName Token for the literal value. The literal name value must be a valid literal name.
1108
+ * @param literalValue Value for this literal. All literal values must be primitives or `undefined`.
1109
+ */
1110
+ addLiteral(literalName: string, literalValue: any): void;
1111
+
1112
+ /**
1113
+ * Allows defining the set of characters that are allowed in Angular expressions. The function identifierStart will get called to know if a given character is a valid character to be the first character for an identifier. The function identifierContinue will get called to know if a given character is a valid character to be a follow-up identifier character. The functions identifierStart and identifierContinue will receive as arguments the single character to be identifier and the character code point. These arguments will be string and numeric. Keep in mind that the string parameter can be two characters long depending on the character representation. It is expected for the function to return true or false, whether that character is allowed or not.
1114
+ * Since this function will be called extensivelly, keep the implementation of these functions fast, as the performance of these functions have a direct impact on the expressions parsing speed.
1115
+ *
1116
+ * @param identifierStart The function that will decide whether the given character is a valid identifier start character.
1117
+ * @param identifierContinue The function that will decide whether the given character is a valid identifier continue character.
1118
+ */
1119
+ setIdentifierFns(
1120
+ identifierStart?: (character: string, codePoint: number) => boolean,
1121
+ identifierContinue?: (character: string, codePoint: number) => boolean,
1122
+ ): void;
1123
+ }
1124
+
1125
+ interface ICompiledExpression {
1126
+ (context: any, locals?: any): any;
1127
+
1128
+ literal: boolean;
1129
+ constant: boolean;
1130
+
1131
+ // If value is not provided, undefined is gonna be used since the implementation
1132
+ // does not check the parameter. Let's force a value for consistency. If consumer
1133
+ // whants to undefine it, pass the undefined value explicitly.
1134
+ assign(context: any, value: any): any;
1135
+ }
1136
+
1137
+ /**
1138
+ * $location - $locationProvider - service in module ng
1139
+ * see https://docs.angularjs.org/api/ng/service/$location
1140
+ */
1141
+ interface ILocationService {
1142
+ absUrl(): string;
1143
+
1144
+ /**
1145
+ * Returns the hash fragment
1146
+ */
1147
+ hash(): string;
1148
+
1149
+ /**
1150
+ * Changes the hash fragment and returns `$location`
1151
+ */
1152
+ hash(newHash: string | null): ILocationService;
1153
+
1154
+ host(): string;
1155
+
1156
+ /**
1157
+ * Return path of current url
1158
+ */
1159
+ path(): string;
1160
+
1161
+ /**
1162
+ * Change path when called with parameter and return $location.
1163
+ * Note: Path should always begin with forward slash (/), this method will add the forward slash if it is missing.
1164
+ *
1165
+ * @param path New path
1166
+ */
1167
+ path(path: string): ILocationService;
1168
+
1169
+ port(): number;
1170
+ protocol(): string;
1171
+ replace(): ILocationService;
1172
+
1173
+ /**
1174
+ * Return search part (as object) of current url
1175
+ */
1176
+ search(): any;
1177
+
1178
+ /**
1179
+ * Change search part when called with parameter and return $location.
1180
+ *
1181
+ * @param search When called with a single argument the method acts as a setter, setting the search component of $location to the specified value.
1182
+ *
1183
+ * If the argument is a hash object containing an array of values, these values will be encoded as duplicate search parameters in the url.
1184
+ */
1185
+ search(search: any): ILocationService;
1186
+
1187
+ /**
1188
+ * Change search part when called with parameter and return $location.
1189
+ *
1190
+ * @param search New search params
1191
+ * @param paramValue If search is a string or a Number, then paramValue will override only a single search property. If paramValue is null, the property specified via the first argument will be deleted. If paramValue is an array, it will override the property of the search component of $location specified via the first argument. If paramValue is true, the property specified via the first argument will be added with no value nor trailing equal sign.
1192
+ */
1193
+ search(
1194
+ search: string,
1195
+ paramValue: string | number | null | string[] | boolean,
1196
+ ): ILocationService;
1197
+
1198
+ state(): any;
1199
+ state(state: any): ILocationService;
1200
+ url(): string;
1201
+ url(url: string): ILocationService;
1202
+ }
1203
+
1204
+ interface ILocationProvider extends IServiceProvider {
1205
+ hashPrefix(): string;
1206
+ hashPrefix(prefix: string): ILocationProvider;
1207
+ html5Mode(): boolean;
1208
+
1209
+ // Documentation states that parameter is string, but
1210
+ // implementation tests it as boolean, which makes more sense
1211
+ // since this is a toggler
1212
+ html5Mode(active: boolean): ILocationProvider;
1213
+ html5Mode(mode: {
1214
+ enabled?: boolean | undefined;
1215
+ requireBase?: boolean | undefined;
1216
+ rewriteLinks?: boolean | undefined;
1217
+ }): ILocationProvider;
1218
+ }
1219
+
1220
+ ///////////////////////////////////////////////////////////////////////////
1221
+ // DocumentService
1222
+ // see http://docs.angularjs.org/api/ng/service/$document
1223
+ ///////////////////////////////////////////////////////////////////////////
1224
+ interface IDocumentService extends JQLite {
1225
+ // Must return intersection type for index signature compatibility with JQuery
1226
+ [index: number]: HTMLElement & Document;
1227
+ }
1228
+
1229
+ ///////////////////////////////////////////////////////////////////////////
1230
+ // ExceptionHandlerService
1231
+ // see http://docs.angularjs.org/api/ng/service/$exceptionHandler
1232
+ ///////////////////////////////////////////////////////////////////////////
1233
+ interface IExceptionHandlerService {
1234
+ (exception: Error, cause?: string): void;
1235
+ }
1236
+
1237
+ ///////////////////////////////////////////////////////////////////////////
1238
+ // RootElementService
1239
+ // see http://docs.angularjs.org/api/ng/service/$rootElement
1240
+ ///////////////////////////////////////////////////////////////////////////
1241
+ interface IRootElementService extends JQLite {}
1242
+
1243
+ interface IQResolveReject<T> {
1244
+ (): void;
1245
+ (value: T): void;
1246
+ }
1247
+ /**
1248
+ * $q - service in module ng
1249
+ * A promise/deferred implementation inspired by Kris Kowal's Q.
1250
+ * See http://docs.angularjs.org/api/ng/service/$q
1251
+ */
1252
+ interface IQService {
1253
+ new <T>(
1254
+ resolver: (
1255
+ resolve: IQResolveReject<T>,
1256
+ reject: IQResolveReject<any>,
1257
+ ) => any,
1258
+ ): IPromise<T>;
1259
+ <T>(
1260
+ resolver: (
1261
+ resolve: IQResolveReject<T>,
1262
+ reject: IQResolveReject<any>,
1263
+ ) => any,
1264
+ ): IPromise<T>;
1265
+
1266
+ /**
1267
+ * Combines multiple promises into a single promise that is resolved when all of the input promises are resolved.
1268
+ *
1269
+ * Returns a single promise that will be resolved with an array of values, each value corresponding to the promise at the same index in the promises array. If any of the promises is resolved with a rejection, this resulting promise will be rejected with the same rejection value.
1270
+ *
1271
+ * @param promises An array of promises.
1272
+ */
1273
+ all<T1, T2, T3, T4, T5, T6, T7, T8, T9, T10>(
1274
+ values: [
1275
+ T1 | IPromise<T1>,
1276
+ T2 | IPromise<T2>,
1277
+ T3 | IPromise<T3>,
1278
+ T4 | IPromise<T4>,
1279
+ T5 | IPromise<T5>,
1280
+ T6 | IPromise<T6>,
1281
+ T7 | IPromise<T7>,
1282
+ T8 | IPromise<T8>,
1283
+ T9 | IPromise<T9>,
1284
+ T10 | IPromise<T10>,
1285
+ ],
1286
+ ): IPromise<[T1, T2, T3, T4, T5, T6, T7, T8, T9, T10]>;
1287
+ all<T1, T2, T3, T4, T5, T6, T7, T8, T9>(
1288
+ values: [
1289
+ T1 | IPromise<T1>,
1290
+ T2 | IPromise<T2>,
1291
+ T3 | IPromise<T3>,
1292
+ T4 | IPromise<T4>,
1293
+ T5 | IPromise<T5>,
1294
+ T6 | IPromise<T6>,
1295
+ T7 | IPromise<T7>,
1296
+ T8 | IPromise<T8>,
1297
+ T9 | IPromise<T9>,
1298
+ ],
1299
+ ): IPromise<[T1, T2, T3, T4, T5, T6, T7, T8, T9]>;
1300
+ all<T1, T2, T3, T4, T5, T6, T7, T8>(
1301
+ values: [
1302
+ T1 | IPromise<T1>,
1303
+ T2 | IPromise<T2>,
1304
+ T3 | IPromise<T3>,
1305
+ T4 | IPromise<T4>,
1306
+ T5 | IPromise<T5>,
1307
+ T6 | IPromise<T6>,
1308
+ T7 | IPromise<T7>,
1309
+ T8 | IPromise<T8>,
1310
+ ],
1311
+ ): IPromise<[T1, T2, T3, T4, T5, T6, T7, T8]>;
1312
+ all<T1, T2, T3, T4, T5, T6, T7>(
1313
+ values: [
1314
+ T1 | IPromise<T1>,
1315
+ T2 | IPromise<T2>,
1316
+ T3 | IPromise<T3>,
1317
+ T4 | IPromise<T4>,
1318
+ T5 | IPromise<T5>,
1319
+ T6 | IPromise<T6>,
1320
+ T7 | IPromise<T7>,
1321
+ ],
1322
+ ): IPromise<[T1, T2, T3, T4, T5, T6, T7]>;
1323
+ all<T1, T2, T3, T4, T5, T6>(
1324
+ values: [
1325
+ T1 | IPromise<T1>,
1326
+ T2 | IPromise<T2>,
1327
+ T3 | IPromise<T3>,
1328
+ T4 | IPromise<T4>,
1329
+ T5 | IPromise<T5>,
1330
+ T6 | IPromise<T6>,
1331
+ ],
1332
+ ): IPromise<[T1, T2, T3, T4, T5, T6]>;
1333
+ all<T1, T2, T3, T4, T5>(
1334
+ values: [
1335
+ T1 | IPromise<T1>,
1336
+ T2 | IPromise<T2>,
1337
+ T3 | IPromise<T3>,
1338
+ T4 | IPromise<T4>,
1339
+ T5 | IPromise<T5>,
1340
+ ],
1341
+ ): IPromise<[T1, T2, T3, T4, T5]>;
1342
+ all<T1, T2, T3, T4>(
1343
+ values: [
1344
+ T1 | IPromise<T1>,
1345
+ T2 | IPromise<T2>,
1346
+ T3 | IPromise<T3>,
1347
+ T4 | IPromise<T4>,
1348
+ ],
1349
+ ): IPromise<[T1, T2, T3, T4]>;
1350
+ all<T1, T2, T3>(
1351
+ values: [T1 | IPromise<T1>, T2 | IPromise<T2>, T3 | IPromise<T3>],
1352
+ ): IPromise<[T1, T2, T3]>;
1353
+ all<T1, T2>(
1354
+ values: [T1 | IPromise<T1>, T2 | IPromise<T2>],
1355
+ ): IPromise<[T1, T2]>;
1356
+ all<TAll>(promises: Array<TAll | IPromise<TAll>>): IPromise<TAll[]>;
1357
+ /**
1358
+ * Combines multiple promises into a single promise that is resolved when all of the input promises are resolved.
1359
+ *
1360
+ * Returns a single promise that will be resolved with a hash of values, each value corresponding to the promise at the same key in the promises hash. If any of the promises is resolved with a rejection, this resulting promise will be rejected with the same rejection value.
1361
+ *
1362
+ * @param promises A hash of promises.
1363
+ */
1364
+ all<T>(promises: { [K in keyof T]: IPromise<T[K]> | T[K] }): IPromise<T>;
1365
+ /**
1366
+ * Creates a Deferred object which represents a task which will finish in the future.
1367
+ */
1368
+ defer<T>(): IDeferred<T>;
1369
+ /**
1370
+ * Returns a promise that resolves or rejects as soon as one of those promises resolves or rejects, with the value or reason from that promise.
1371
+ *
1372
+ * @param promises A list or hash of promises.
1373
+ */
1374
+ race<T>(
1375
+ promises: Array<IPromise<T>> | { [key: string]: IPromise<T> },
1376
+ ): IPromise<T>;
1377
+ /**
1378
+ * Creates a promise that is resolved as rejected with the specified reason. This api should be used to forward rejection in a chain of promises. If you are dealing with the last promise in a promise chain, you don't need to worry about it.
1379
+ *
1380
+ * When comparing deferreds/promises to the familiar behavior of try/catch/throw, think of reject as the throw keyword in JavaScript. This also means that if you "catch" an error via a promise error callback and you want to forward the error to the promise derived from the current promise, you have to "rethrow" the error by returning a rejection constructed via reject.
1381
+ *
1382
+ * @param reason Constant, message, exception or an object representing the rejection reason.
1383
+ */
1384
+ reject(reason?: any): IPromise<never>;
1385
+ /**
1386
+ * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
1387
+ *
1388
+ * @param value Value or a promise
1389
+ */
1390
+ resolve<T>(value: PromiseLike<T> | T): IPromise<T>;
1391
+ /**
1392
+ * @deprecated Since TS 2.4, inference is stricter and no longer produces the desired type when T1 !== T2.
1393
+ * To use resolve with two different types, pass a union type to the single-type-argument overload.
1394
+ */
1395
+ resolve<T1, T2>(value: PromiseLike<T1> | T2): IPromise<T1 | T2>;
1396
+ /**
1397
+ * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
1398
+ */
1399
+ resolve(): IPromise<void>;
1400
+ /**
1401
+ * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
1402
+ *
1403
+ * @param value Value or a promise
1404
+ */
1405
+ when<T>(value: PromiseLike<T> | T): IPromise<T>;
1406
+ when<T1, T2>(value: PromiseLike<T1> | T2): IPromise<T1 | T2>;
1407
+ when<TResult, T>(
1408
+ value: PromiseLike<T> | T,
1409
+ successCallback: (promiseValue: T) => PromiseLike<TResult> | TResult,
1410
+ ): IPromise<TResult>;
1411
+ when<TResult, T>(
1412
+ value: T,
1413
+ successCallback: (promiseValue: T) => PromiseLike<TResult> | TResult,
1414
+ errorCallback: null | undefined | ((reason: any) => any),
1415
+ notifyCallback?: (state: any) => any,
1416
+ ): IPromise<TResult>;
1417
+ when<TResult, TResult2, T>(
1418
+ value: PromiseLike<T>,
1419
+ successCallback: (promiseValue: T) => PromiseLike<TResult> | TResult,
1420
+ errorCallback: (reason: any) => TResult2 | PromiseLike<TResult2>,
1421
+ notifyCallback?: (state: any) => any,
1422
+ ): IPromise<TResult | TResult2>;
1423
+ /**
1424
+ * Wraps an object that might be a value or a (3rd party) then-able promise into a $q promise. This is useful when you are dealing with an object that might or might not be a promise, or if the promise comes from a source that can't be trusted.
1425
+ */
1426
+ when(): IPromise<void>;
1427
+ }
1428
+
1429
+ interface IQProvider {
1430
+ /**
1431
+ * Retrieves or overrides whether to generate an error when a rejected promise is not handled.
1432
+ * This feature is enabled by default.
1433
+ *
1434
+ * @returns Current value
1435
+ */
1436
+ errorOnUnhandledRejections(): boolean;
1437
+
1438
+ /**
1439
+ * Retrieves or overrides whether to generate an error when a rejected promise is not handled.
1440
+ * This feature is enabled by default.
1441
+ *
1442
+ * @param value Whether to generate an error when a rejected promise is not handled.
1443
+ * @returns Self for chaining otherwise.
1444
+ */
1445
+ errorOnUnhandledRejections(value: boolean): IQProvider;
1446
+ }
1447
+
1448
+ interface IPromise<T> {
1449
+ /**
1450
+ * Regardless of when the promise was or will be resolved or rejected, then calls one of
1451
+ * the success or error callbacks asynchronously as soon as the result is available. The
1452
+ * callbacks are called with a single argument: the result or rejection reason.
1453
+ * Additionally, the notify callback may be called zero or more times to provide a
1454
+ * progress indication, before the promise is resolved or rejected.
1455
+ * The `successCallBack` may return `IPromise<never>` for when a `$q.reject()` needs to
1456
+ * be returned.
1457
+ * This method returns a new promise which is resolved or rejected via the return value
1458
+ * of the `successCallback`, `errorCallback`. It also notifies via the return value of
1459
+ * the `notifyCallback` method. The promise can not be resolved or rejected from the
1460
+ * `notifyCallback` method.
1461
+ */
1462
+ then<TResult1 = T, TResult2 = never>(
1463
+ successCallback?:
1464
+ | ((value: T) => PromiseLike<never> | PromiseLike<TResult1> | TResult1)
1465
+ | null,
1466
+ errorCallback?:
1467
+ | ((
1468
+ reason: any,
1469
+ ) => PromiseLike<never> | PromiseLike<TResult2> | TResult2)
1470
+ | null,
1471
+ notifyCallback?: (state: any) => any,
1472
+ ): IPromise<TResult1 | TResult2>;
1473
+ then<TResult1 = T, TResult2 = never>(
1474
+ successCallback?:
1475
+ | ((value: T) => IPromise<never> | IPromise<TResult1> | TResult1)
1476
+ | null,
1477
+ errorCallback?:
1478
+ | ((reason: any) => IPromise<never> | IPromise<TResult2> | TResult2)
1479
+ | null,
1480
+ notifyCallback?: (state: any) => any,
1481
+ ): IPromise<TResult1 | TResult2>;
1482
+
1483
+ /**
1484
+ * Shorthand for promise.then(null, errorCallback)
1485
+ */
1486
+ catch<TResult = never>(
1487
+ onRejected?:
1488
+ | ((reason: any) => PromiseLike<never> | PromiseLike<TResult> | TResult)
1489
+ | null,
1490
+ ): IPromise<T | TResult>;
1491
+ catch<TResult = never>(
1492
+ onRejected?:
1493
+ | ((reason: any) => IPromise<never> | IPromise<TResult> | TResult)
1494
+ | null,
1495
+ ): IPromise<T | TResult>;
1496
+
1497
+ /**
1498
+ * Allows you to observe either the fulfillment or rejection of a promise, but to do so without modifying the final value. This is useful to release resources or do some clean-up that needs to be done whether the promise was rejected or resolved. See the full specification for more information.
1499
+ *
1500
+ * Because finally is a reserved word in JavaScript and reserved keywords are not supported as property names by ES3, you'll need to invoke the method like promise['finally'](callback) to make your code IE8 and Android 2.x compatible.
1501
+ */
1502
+ finally(finallyCallback: () => void): IPromise<T>;
1503
+ }
1504
+
1505
+ interface IDeferred<T> {
1506
+ resolve(value?: T | IPromise<T>): void;
1507
+ reject(reason?: any): void;
1508
+ notify(state?: any): void;
1509
+ promise: IPromise<T>;
1510
+ }
1511
+
1512
+ ///////////////////////////////////////////////////////////////////////////
1513
+ // AnchorScrollService
1514
+ // see http://docs.angularjs.org/api/ng/service/$anchorScroll
1515
+ ///////////////////////////////////////////////////////////////////////////
1516
+ interface IAnchorScrollService {
1517
+ (): void;
1518
+ (hash: string): void;
1519
+ yOffset: any;
1520
+ }
1521
+
1522
+ interface IAnchorScrollProvider extends IServiceProvider {
1523
+ disableAutoScrolling(): void;
1524
+ }
1525
+
1526
+ /**
1527
+ * $cacheFactory - service in module ng
1528
+ *
1529
+ * Factory that constructs Cache objects and gives access to them.
1530
+ *
1531
+ * see https://docs.angularjs.org/api/ng/service/$cacheFactory
1532
+ */
1533
+ interface ICacheFactoryService {
1534
+ /**
1535
+ * Factory that constructs Cache objects and gives access to them.
1536
+ *
1537
+ * @param cacheId Name or id of the newly created cache.
1538
+ * @param optionsMap Options object that specifies the cache behavior. Properties:
1539
+ *
1540
+ * capacity — turns the cache into LRU cache.
1541
+ */
1542
+ (
1543
+ cacheId: string,
1544
+ optionsMap?: { capacity?: number | undefined },
1545
+ ): ICacheObject;
1546
+
1547
+ /**
1548
+ * Get information about all the caches that have been created.
1549
+ * @returns key-value map of cacheId to the result of calling cache#info
1550
+ */
1551
+ info(): any;
1552
+
1553
+ /**
1554
+ * Get access to a cache object by the cacheId used when it was created.
1555
+ *
1556
+ * @param cacheId Name or id of a cache to access.
1557
+ */
1558
+ get(cacheId: string): ICacheObject;
1559
+ }
1560
+
1561
+ /**
1562
+ * $cacheFactory.Cache - type in module ng
1563
+ *
1564
+ * A cache object used to store and retrieve data, primarily used by $http and the script directive to cache templates and other data.
1565
+ *
1566
+ * see https://docs.angularjs.org/api/ng/type/$cacheFactory.Cache
1567
+ */
1568
+ interface ICacheObject {
1569
+ /**
1570
+ * Retrieve information regarding a particular Cache.
1571
+ */
1572
+ info(): {
1573
+ /**
1574
+ * the id of the cache instance
1575
+ */
1576
+ id: string;
1577
+
1578
+ /**
1579
+ * the number of entries kept in the cache instance
1580
+ */
1581
+ size: number;
1582
+ // ...: any additional properties from the options object when creating the cache.
1583
+ };
1584
+
1585
+ /**
1586
+ * Inserts a named entry into the Cache object to be retrieved later, and incrementing the size of the cache if the key was not already present in the cache. If behaving like an LRU cache, it will also remove stale entries from the set.
1587
+ *
1588
+ * It will not insert undefined values into the cache.
1589
+ *
1590
+ * @param key the key under which the cached data is stored.
1591
+ * @param value the value to store alongside the key. If it is undefined, the key will not be stored.
1592
+ */
1593
+ put<T>(key: string, value?: T): T;
1594
+
1595
+ /**
1596
+ * Retrieves named data stored in the Cache object.
1597
+ *
1598
+ * @param key the key of the data to be retrieved
1599
+ */
1600
+ get<T>(key: string): T | undefined;
1601
+
1602
+ /**
1603
+ * Removes an entry from the Cache object.
1604
+ *
1605
+ * @param key the key of the entry to be removed
1606
+ */
1607
+ remove(key: string): void;
1608
+
1609
+ /**
1610
+ * Clears the cache object of any entries.
1611
+ */
1612
+ removeAll(): void;
1613
+
1614
+ /**
1615
+ * Destroys the Cache object entirely, removing it from the $cacheFactory set.
1616
+ */
1617
+ destroy(): void;
1618
+ }
1619
+
1620
+ ///////////////////////////////////////////////////////////////////////////
1621
+ // CompileService
1622
+ // see http://docs.angularjs.org/api/ng/service/$compile
1623
+ // see http://docs.angularjs.org/api/ng/provider/$compileProvider
1624
+ ///////////////////////////////////////////////////////////////////////////
1625
+ interface ICompileService {
1626
+ (
1627
+ element: string | Element | JQuery,
1628
+ transclude?: ITranscludeFunction,
1629
+ maxPriority?: number,
1630
+ ): ITemplateLinkingFunction;
1631
+ }
1632
+
1633
+ interface ICompileProvider extends IServiceProvider {
1634
+ directive<
1635
+ TScope extends IScope = IScope,
1636
+ TElement extends JQLite = JQLite,
1637
+ TAttributes extends IAttributes = IAttributes,
1638
+ TController extends IDirectiveController = IController,
1639
+ >(
1640
+ name: string,
1641
+ directiveFactory: Injectable<
1642
+ IDirectiveFactory<TScope, TElement, TAttributes, TController>
1643
+ >,
1644
+ ): ICompileProvider;
1645
+ directive<
1646
+ TScope extends IScope = IScope,
1647
+ TElement extends JQLite = JQLite,
1648
+ TAttributes extends IAttributes = IAttributes,
1649
+ TController extends IDirectiveController = IController,
1650
+ >(object: {
1651
+ [directiveName: string]: Injectable<
1652
+ IDirectiveFactory<TScope, TElement, TAttributes, TController>
1653
+ >;
1654
+ }): ICompileProvider;
1655
+
1656
+ component(name: string, options: IComponentOptions): ICompileProvider;
1657
+ component(object: {
1658
+ [componentName: string]: IComponentOptions;
1659
+ }): ICompileProvider;
1660
+
1661
+ /** @deprecated The old name of aHrefSanitizationTrustedUrlList. Kept for compatibility. */
1662
+ aHrefSanitizationWhitelist(): RegExp;
1663
+ /** @deprecated The old name of aHrefSanitizationTrustedUrlList. Kept for compatibility. */
1664
+ aHrefSanitizationWhitelist(regexp: RegExp): ICompileProvider;
1665
+
1666
+ aHrefSanitizationTrustedUrlList(): RegExp;
1667
+ aHrefSanitizationTrustedUrlList(regexp: RegExp): ICompileProvider;
1668
+
1669
+ /** @deprecated The old name of imgSrcSanitizationTrustedUrlList. Kept for compatibility. */
1670
+ imgSrcSanitizationWhitelist(): RegExp;
1671
+ /** @deprecated The old name of imgSrcSanitizationTrustedUrlList. Kept for compatibility. */
1672
+ imgSrcSanitizationWhitelist(regexp: RegExp): ICompileProvider;
1673
+
1674
+ imgSrcSanitizationTrustedUrlList(): RegExp;
1675
+ imgSrcSanitizationTrustedUrlList(regexp: RegExp): ICompileProvider;
1676
+
1677
+ debugInfoEnabled(): boolean;
1678
+ debugInfoEnabled(enabled: boolean): ICompileProvider;
1679
+
1680
+ /**
1681
+ * Sets the number of times $onChanges hooks can trigger new changes before giving up and assuming that the model is unstable.
1682
+ * Increasing the TTL could have performance implications, so you should not change it without proper justification.
1683
+ * Default: 10.
1684
+ * See: https://docs.angularjs.org/api/ng/provider/$compileProvider#onChangesTtl
1685
+ */
1686
+ onChangesTtl(): number;
1687
+ onChangesTtl(limit: number): ICompileProvider;
1688
+
1689
+ /**
1690
+ * It indicates to the compiler whether or not directives on comments should be compiled.
1691
+ * It results in a compilation performance gain since the compiler doesn't have to check comments when looking for directives.
1692
+ * Defaults to true.
1693
+ * See: https://docs.angularjs.org/api/ng/provider/$compileProvider#commentDirectivesEnabled
1694
+ */
1695
+ commentDirectivesEnabled(): boolean;
1696
+ commentDirectivesEnabled(enabled: boolean): ICompileProvider;
1697
+
1698
+ /**
1699
+ * It indicates to the compiler whether or not directives on element classes should be compiled.
1700
+ * It results in a compilation performance gain since the compiler doesn't have to check element classes when looking for directives.
1701
+ * Defaults to true.
1702
+ * See: https://docs.angularjs.org/api/ng/provider/$compileProvider#cssClassDirectivesEnabled
1703
+ */
1704
+ cssClassDirectivesEnabled(): boolean;
1705
+ cssClassDirectivesEnabled(enabled: boolean): ICompileProvider;
1706
+
1707
+ /**
1708
+ * Call this method to enable/disable strict component bindings check.
1709
+ * If enabled, the compiler will enforce that for all bindings of a
1710
+ * component that are not set as optional with ?, an attribute needs
1711
+ * to be provided on the component's HTML tag.
1712
+ * Defaults to false.
1713
+ * See: https://docs.angularjs.org/api/ng/provider/$compileProvider#strictComponentBindingsEnabled
1714
+ */
1715
+ strictComponentBindingsEnabled(): boolean;
1716
+ strictComponentBindingsEnabled(enabled: boolean): ICompileProvider;
1717
+ }
1718
+
1719
+ interface ICloneAttachFunction {
1720
+ // Let's hint but not force cloneAttachFn's signature
1721
+ (clonedElement?: JQLite, scope?: IScope): any;
1722
+ }
1723
+
1724
+ // This corresponds to the "publicLinkFn" returned by $compile.
1725
+ interface ITemplateLinkingFunction {
1726
+ (
1727
+ scope: IScope,
1728
+ cloneAttachFn?: ICloneAttachFunction,
1729
+ options?: ITemplateLinkingFunctionOptions,
1730
+ ): JQLite;
1731
+ }
1732
+
1733
+ interface ITemplateLinkingFunctionOptions {
1734
+ parentBoundTranscludeFn?: ITranscludeFunction | undefined;
1735
+ transcludeControllers?:
1736
+ | {
1737
+ [controller: string]: { instance: IController };
1738
+ }
1739
+ | undefined;
1740
+ futureParentElement?: JQuery | undefined;
1741
+ }
1742
+
1743
+ /**
1744
+ * This corresponds to $transclude passed to controllers and to the transclude function passed to link functions.
1745
+ * https://docs.angularjs.org/api/ng/service/$compile#-controller-
1746
+ * http://teropa.info/blog/2015/06/09/transclusion.html
1747
+ */
1748
+ interface ITranscludeFunction {
1749
+ // If the scope is provided, then the cloneAttachFn must be as well.
1750
+ (
1751
+ scope: IScope,
1752
+ cloneAttachFn: ICloneAttachFunction,
1753
+ futureParentElement?: JQuery,
1754
+ slotName?: string,
1755
+ ): JQLite;
1756
+ // If one argument is provided, then it's assumed to be the cloneAttachFn.
1757
+ (
1758
+ cloneAttachFn?: ICloneAttachFunction,
1759
+ futureParentElement?: JQuery,
1760
+ slotName?: string,
1761
+ ): JQLite;
1762
+
1763
+ /**
1764
+ * Returns true if the specified slot contains content (i.e. one or more DOM nodes)
1765
+ */
1766
+ isSlotFilled(slotName: string): boolean;
1767
+ }
1768
+
1769
+ ///////////////////////////////////////////////////////////////////////////
1770
+ // ControllerService
1771
+ // see http://docs.angularjs.org/api/ng/service/$controller
1772
+ // see http://docs.angularjs.org/api/ng/provider/$controllerProvider
1773
+ ///////////////////////////////////////////////////////////////////////////
1774
+
1775
+ /**
1776
+ * The minimal local definitions required by $controller(ctrl, locals) calls.
1777
+ */
1778
+ interface IControllerLocals {
1779
+ $scope: ng.IScope;
1780
+ $element: JQuery;
1781
+ }
1782
+
1783
+ interface IControllerService {
1784
+ // Although the documentation doesn't state this, locals are optional
1785
+ <T>(controllerConstructor: new (...args: any[]) => T, locals?: any): T;
1786
+ <T>(controllerConstructor: (...args: any[]) => T, locals?: any): T;
1787
+ <T>(controllerName: string, locals?: any): T;
1788
+ }
1789
+
1790
+ interface IControllerProvider extends IServiceProvider {
1791
+ register(name: string, controllerConstructor: Function): void;
1792
+ register(name: string, dependencyAnnotatedConstructor: any[]): void;
1793
+ }
1794
+
1795
+ /**
1796
+ * xhrFactory
1797
+ * Replace or decorate this service to create your own custom XMLHttpRequest objects.
1798
+ * see https://docs.angularjs.org/api/ng/service/$xhrFactory
1799
+ */
1800
+ interface IXhrFactory<T> {
1801
+ (method: string, url: string): T;
1802
+ }
1803
+
1804
+ /**
1805
+ * HttpService
1806
+ * see http://docs.angularjs.org/api/ng/service/$http
1807
+ */
1808
+ interface IHttpService {
1809
+ /**
1810
+ * Object describing the request to be made and how it should be processed.
1811
+ */
1812
+ <T>(config: IRequestConfig): IHttpPromise<T>;
1813
+
1814
+ /**
1815
+ * Shortcut method to perform GET request.
1816
+ *
1817
+ * @param url Relative or absolute URL specifying the destination of the request
1818
+ * @param config Optional configuration object
1819
+ */
1820
+ get<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;
1821
+
1822
+ /**
1823
+ * Shortcut method to perform DELETE request.
1824
+ *
1825
+ * @param url Relative or absolute URL specifying the destination of the request
1826
+ * @param config Optional configuration object
1827
+ */
1828
+ delete<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;
1829
+
1830
+ /**
1831
+ * Shortcut method to perform HEAD request.
1832
+ *
1833
+ * @param url Relative or absolute URL specifying the destination of the request
1834
+ * @param config Optional configuration object
1835
+ */
1836
+ head<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;
1837
+
1838
+ /**
1839
+ * Shortcut method to perform JSONP request.
1840
+ *
1841
+ * @param url Relative or absolute URL specifying the destination of the request
1842
+ * @param config Optional configuration object
1843
+ */
1844
+ jsonp<T>(url: string, config?: IRequestShortcutConfig): IHttpPromise<T>;
1845
+
1846
+ /**
1847
+ * Shortcut method to perform POST request.
1848
+ *
1849
+ * @param url Relative or absolute URL specifying the destination of the request
1850
+ * @param data Request content
1851
+ * @param config Optional configuration object
1852
+ */
1853
+ post<T>(
1854
+ url: string,
1855
+ data: any,
1856
+ config?: IRequestShortcutConfig,
1857
+ ): IHttpPromise<T>;
1858
+
1859
+ /**
1860
+ * Shortcut method to perform PUT request.
1861
+ *
1862
+ * @param url Relative or absolute URL specifying the destination of the request
1863
+ * @param data Request content
1864
+ * @param config Optional configuration object
1865
+ */
1866
+ put<T>(
1867
+ url: string,
1868
+ data: any,
1869
+ config?: IRequestShortcutConfig,
1870
+ ): IHttpPromise<T>;
1871
+
1872
+ /**
1873
+ * Shortcut method to perform PATCH request.
1874
+ *
1875
+ * @param url Relative or absolute URL specifying the destination of the request
1876
+ * @param data Request content
1877
+ * @param config Optional configuration object
1878
+ */
1879
+ patch<T>(
1880
+ url: string,
1881
+ data: any,
1882
+ config?: IRequestShortcutConfig,
1883
+ ): IHttpPromise<T>;
1884
+
1885
+ /**
1886
+ * Runtime equivalent of the $httpProvider.defaults property. Allows configuration of default headers, withCredentials as well as request and response transformations.
1887
+ */
1888
+ defaults: IHttpProviderDefaults;
1889
+
1890
+ /**
1891
+ * Array of config objects for currently pending requests. This is primarily meant to be used for debugging purposes.
1892
+ */
1893
+ pendingRequests: IRequestConfig[];
1894
+ }
1895
+
1896
+ /**
1897
+ * Object describing the request to be made and how it should be processed.
1898
+ * see http://docs.angularjs.org/api/ng/service/$http#usage
1899
+ */
1900
+ interface IRequestShortcutConfig extends IHttpProviderDefaults {
1901
+ /**
1902
+ * {Object.<string|Object>}
1903
+ * Map of strings or objects which will be turned to ?key1=value1&key2=value2 after the url. If the value is not a string, it will be JSONified.
1904
+ */
1905
+ params?: any;
1906
+
1907
+ /**
1908
+ * {string|Object}
1909
+ * Data to be sent as the request message data.
1910
+ */
1911
+ data?: any;
1912
+
1913
+ /**
1914
+ * Timeout in milliseconds, or promise that should abort the request when resolved.
1915
+ */
1916
+ timeout?: number | IPromise<any> | undefined;
1917
+
1918
+ /**
1919
+ * See [XMLHttpRequest.responseType]https://developer.mozilla.org/en-US/docs/Web/API/XMLHttpRequest#xmlhttprequest-responsetype
1920
+ */
1921
+ responseType?: string | undefined;
1922
+
1923
+ /**
1924
+ * Name of the parameter added (by AngularJS) to the request to specify the name (in the server response) of the JSON-P callback to invoke.
1925
+ * If unspecified, $http.defaults.jsonpCallbackParam will be used by default. This property is only applicable to JSON-P requests.
1926
+ */
1927
+ jsonpCallbackParam?: string | undefined;
1928
+ }
1929
+
1930
+ /**
1931
+ * Object describing the request to be made and how it should be processed.
1932
+ * see http://docs.angularjs.org/api/ng/service/$http#usage
1933
+ */
1934
+ interface IRequestConfig extends IRequestShortcutConfig {
1935
+ /**
1936
+ * HTTP method (e.g. 'GET', 'POST', etc)
1937
+ */
1938
+ method: string;
1939
+ /**
1940
+ * Absolute or relative URL of the resource that is being requested.
1941
+ */
1942
+ url: string;
1943
+ /**
1944
+ * Event listeners to be bound to the XMLHttpRequest object.
1945
+ * To bind events to the XMLHttpRequest upload object, use uploadEventHandlers. The handler will be called in the context of a $apply block.
1946
+ */
1947
+ eventHandlers?:
1948
+ | { [type: string]: EventListenerOrEventListenerObject }
1949
+ | undefined;
1950
+ /**
1951
+ * Event listeners to be bound to the XMLHttpRequest upload object.
1952
+ * To bind events to the XMLHttpRequest object, use eventHandlers. The handler will be called in the context of a $apply block.
1953
+ */
1954
+ uploadEventHandlers?:
1955
+ | { [type: string]: EventListenerOrEventListenerObject }
1956
+ | undefined;
1957
+ }
1958
+
1959
+ interface IHttpHeadersGetter {
1960
+ (): { [name: string]: string };
1961
+ (headerName: string): string;
1962
+ }
1963
+
1964
+ interface IHttpPromiseCallback<T> {
1965
+ (
1966
+ data: T,
1967
+ status: number,
1968
+ headers: IHttpHeadersGetter,
1969
+ config: IRequestConfig,
1970
+ ): void;
1971
+ }
1972
+
1973
+ interface IHttpResponse<T> {
1974
+ data: T;
1975
+ status: number;
1976
+ headers: IHttpHeadersGetter;
1977
+ config: IRequestConfig;
1978
+ statusText: string;
1979
+ /** Added in AngularJS 1.6.6 */
1980
+ xhrStatus: "complete" | "error" | "timeout" | "abort";
1981
+ }
1982
+
1983
+ /** @deprecated The old name of IHttpResponse. Kept for compatibility. */
1984
+ type IHttpPromiseCallbackArg<T> = IHttpResponse<T>;
1985
+
1986
+ type IHttpPromise<T> = IPromise<IHttpResponse<T>>;
1987
+
1988
+ // See the jsdoc for transformData() at https://github.com/angular/angular.js/blob/master/src/ng/http.js#L228
1989
+ interface IHttpRequestTransformer {
1990
+ (data: any, headersGetter: IHttpHeadersGetter): any;
1991
+ }
1992
+
1993
+ // The definition of fields are the same as IHttpResponse
1994
+ interface IHttpResponseTransformer {
1995
+ (data: any, headersGetter: IHttpHeadersGetter, status: number): any;
1996
+ }
1997
+
1998
+ interface HttpHeaderType {
1999
+ [requestType: string]: string | ((config: IRequestConfig) => string);
2000
+ }
2001
+
2002
+ interface IHttpRequestConfigHeaders {
2003
+ [requestType: string]: any;
2004
+ common?: any;
2005
+ get?: any;
2006
+ post?: any;
2007
+ put?: any;
2008
+ patch?: any;
2009
+ }
2010
+
2011
+ /**
2012
+ * Object that controls the defaults for $http provider. Not all fields of IRequestShortcutConfig can be configured
2013
+ * via defaults and the docs do not say which. The following is based on the inspection of the source code.
2014
+ * https://docs.angularjs.org/api/ng/service/$http#defaults
2015
+ * https://docs.angularjs.org/api/ng/service/$http#usage
2016
+ * https://docs.angularjs.org/api/ng/provider/$httpProvider The properties section
2017
+ */
2018
+ interface IHttpProviderDefaults {
2019
+ /**
2020
+ * {boolean|Cache}
2021
+ * If true, a default $http cache will be used to cache the GET request, otherwise if a cache instance built with $cacheFactory, this cache will be used for caching.
2022
+ */
2023
+ cache?: any;
2024
+
2025
+ /**
2026
+ * Transform function or an array of such functions. The transform function takes the http request body and
2027
+ * headers and returns its transformed (typically serialized) version.
2028
+ * @see {@link https://docs.angularjs.org/api/ng/service/$http#transforming-requests-and-responses}
2029
+ */
2030
+ transformRequest?:
2031
+ | IHttpRequestTransformer
2032
+ | IHttpRequestTransformer[]
2033
+ | undefined;
2034
+
2035
+ /**
2036
+ * Transform function or an array of such functions. The transform function takes the http response body and
2037
+ * headers and returns its transformed (typically deserialized) version.
2038
+ */
2039
+ transformResponse?:
2040
+ | IHttpResponseTransformer
2041
+ | IHttpResponseTransformer[]
2042
+ | undefined;
2043
+
2044
+ /**
2045
+ * Map of strings or functions which return strings representing HTTP headers to send to the server. If the
2046
+ * return value of a function is null, the header will not be sent.
2047
+ * The key of the map is the request verb in lower case. The "common" key applies to all requests.
2048
+ * @see {@link https://docs.angularjs.org/api/ng/service/$http#setting-http-headers}
2049
+ */
2050
+ headers?: IHttpRequestConfigHeaders | undefined;
2051
+
2052
+ /** Name of HTTP header to populate with the XSRF token. */
2053
+ xsrfHeaderName?: string | undefined;
2054
+
2055
+ /** Name of cookie containing the XSRF token. */
2056
+ xsrfCookieName?: string | undefined;
2057
+
2058
+ /**
2059
+ * whether to to set the withCredentials flag on the XHR object. See [requests with credentials]https://developer.mozilla.org/en/http_access_control#section_5 for more information.
2060
+ */
2061
+ withCredentials?: boolean | undefined;
2062
+
2063
+ /**
2064
+ * A function used to the prepare string representation of request parameters (specified as an object). If
2065
+ * specified as string, it is interpreted as a function registered with the $injector. Defaults to
2066
+ * $httpParamSerializer.
2067
+ */
2068
+ paramSerializer?: string | ((obj: any) => string) | undefined;
2069
+ }
2070
+
2071
+ interface IHttpInterceptor {
2072
+ request?(config: IRequestConfig): IRequestConfig | IPromise<IRequestConfig>;
2073
+ requestError?(rejection: any): IRequestConfig | IPromise<IRequestConfig>;
2074
+ response?<T>(
2075
+ response: IHttpResponse<T>,
2076
+ ): IPromise<IHttpResponse<T>> | IHttpResponse<T>;
2077
+ responseError?<T>(
2078
+ rejection: any,
2079
+ ): IPromise<IHttpResponse<T>> | IHttpResponse<T>;
2080
+ }
2081
+
2082
+ interface IHttpInterceptorFactory {
2083
+ (...args: any[]): IHttpInterceptor;
2084
+ }
2085
+
2086
+ interface IHttpProvider extends IServiceProvider {
2087
+ defaults: IHttpProviderDefaults;
2088
+
2089
+ /**
2090
+ * Register service factories (names or implementations) for interceptors which are called before and after
2091
+ * each request.
2092
+ */
2093
+ interceptors: Array<string | Injectable<IHttpInterceptorFactory>>;
2094
+ useApplyAsync(): boolean;
2095
+ useApplyAsync(value: boolean): IHttpProvider;
2096
+
2097
+ /** @deprecated The old name of xsrfTrustedOrigins. Kept for compatibility. */
2098
+ xsrfWhitelistedOrigins: string[];
2099
+ /**
2100
+ * Array containing URLs whose origins are trusted to receive the XSRF token.
2101
+ */
2102
+ xsrfTrustedOrigins: string[];
2103
+ }
2104
+
2105
+ ///////////////////////////////////////////////////////////////////////////
2106
+ // HttpBackendService
2107
+ // see http://docs.angularjs.org/api/ng/service/$httpBackend
2108
+ // You should never need to use this service directly.
2109
+ ///////////////////////////////////////////////////////////////////////////
2110
+ interface IHttpBackendService {
2111
+ // XXX Perhaps define callback signature in the future
2112
+ (
2113
+ method: string,
2114
+ url: string,
2115
+ post?: any,
2116
+ callback?: Function,
2117
+ headers?: any,
2118
+ timeout?: number,
2119
+ withCredentials?: boolean,
2120
+ ): void;
2121
+ }
2122
+
2123
+ ///////////////////////////////////////////////////////////////////////////
2124
+ // InterpolateService
2125
+ // see http://docs.angularjs.org/api/ng/service/$interpolate
2126
+ // see http://docs.angularjs.org/api/ng/provider/$interpolateProvider
2127
+ ///////////////////////////////////////////////////////////////////////////
2128
+ interface IInterpolateService {
2129
+ (
2130
+ text: string,
2131
+ mustHaveExpression?: boolean,
2132
+ trustedContext?: string,
2133
+ allOrNothing?: boolean,
2134
+ ): IInterpolationFunction;
2135
+ endSymbol(): string;
2136
+ startSymbol(): string;
2137
+ }
2138
+
2139
+ interface IInterpolationFunction {
2140
+ (context: any): string;
2141
+ }
2142
+
2143
+ interface IInterpolateProvider extends IServiceProvider {
2144
+ startSymbol(): string;
2145
+ startSymbol(value: string): IInterpolateProvider;
2146
+ endSymbol(): string;
2147
+ endSymbol(value: string): IInterpolateProvider;
2148
+ }
2149
+
2150
+ ///////////////////////////////////////////////////////////////////////////
2151
+ // TemplateCacheService
2152
+ // see http://docs.angularjs.org/api/ng/service/$templateCache
2153
+ ///////////////////////////////////////////////////////////////////////////
2154
+ interface ITemplateCacheService extends ICacheObject {}
2155
+
2156
+ ///////////////////////////////////////////////////////////////////////////
2157
+ // SCEService
2158
+ // see http://docs.angularjs.org/api/ng/service/$sce
2159
+ ///////////////////////////////////////////////////////////////////////////
2160
+ interface ISCEService {
2161
+ getTrusted(type: string, mayBeTrusted: any): any;
2162
+ getTrustedCss(value: any): any;
2163
+ getTrustedHtml(value: any): any;
2164
+ getTrustedJs(value: any): any;
2165
+ getTrustedResourceUrl(value: any): any;
2166
+ getTrustedUrl(value: any): any;
2167
+ parse(type: string, expression: string): (context: any, locals: any) => any;
2168
+ parseAsCss(expression: string): (context: any, locals: any) => any;
2169
+ parseAsHtml(expression: string): (context: any, locals: any) => any;
2170
+ parseAsJs(expression: string): (context: any, locals: any) => any;
2171
+ parseAsResourceUrl(expression: string): (context: any, locals: any) => any;
2172
+ parseAsUrl(expression: string): (context: any, locals: any) => any;
2173
+ trustAs(type: string, value: any): any;
2174
+ trustAsHtml(value: any): any;
2175
+ trustAsJs(value: any): any;
2176
+ trustAsResourceUrl(value: any): any;
2177
+ trustAsUrl(value: any): any;
2178
+ isEnabled(): boolean;
2179
+ }
2180
+
2181
+ ///////////////////////////////////////////////////////////////////////////
2182
+ // SCEProvider
2183
+ // see http://docs.angularjs.org/api/ng/provider/$sceProvider
2184
+ ///////////////////////////////////////////////////////////////////////////
2185
+ interface ISCEProvider extends IServiceProvider {
2186
+ enabled(value: boolean): void;
2187
+ }
2188
+
2189
+ ///////////////////////////////////////////////////////////////////////////
2190
+ // SCEDelegateService
2191
+ // see http://docs.angularjs.org/api/ng/service/$sceDelegate
2192
+ ///////////////////////////////////////////////////////////////////////////
2193
+ interface ISCEDelegateService {
2194
+ getTrusted(type: string, mayBeTrusted: any): any;
2195
+ trustAs(type: string, value: any): any;
2196
+ valueOf(value: any): any;
2197
+ }
2198
+
2199
+ ///////////////////////////////////////////////////////////////////////////
2200
+ // SCEDelegateProvider
2201
+ // see http://docs.angularjs.org/api/ng/provider/$sceDelegateProvider
2202
+ ///////////////////////////////////////////////////////////////////////////
2203
+ interface ISCEDelegateProvider extends IServiceProvider {
2204
+ /** @deprecated since 1.8.1 */
2205
+ resourceUrlBlacklist(): any[];
2206
+ /** @deprecated since 1.8.1 */
2207
+ resourceUrlBlacklist(bannedList: any[]): void;
2208
+ bannedResourceUrlList(): any[];
2209
+ bannedResourceUrlList(bannedList: any[]): void;
2210
+ /** @deprecated since 1.8.1 */
2211
+ resourceUrlWhitelist(): any[];
2212
+ /** @deprecated since 1.8.1 */
2213
+ resourceUrlWhitelist(trustedList: any[]): void;
2214
+ trustedResourceUrlList(): any[];
2215
+ trustedResourceUrlList(trustedList: any[]): void;
2216
+ }
2217
+
2218
+ /**
2219
+ * $templateRequest service
2220
+ * see http://docs.angularjs.org/api/ng/service/$templateRequest
2221
+ */
2222
+ interface ITemplateRequestService {
2223
+ /**
2224
+ * Downloads a template using $http and, upon success, stores the
2225
+ * contents inside of $templateCache.
2226
+ *
2227
+ * If the HTTP request fails or the response data of the HTTP request is
2228
+ * empty then a $compile error will be thrown (unless
2229
+ * {ignoreRequestError} is set to true).
2230
+ *
2231
+ * @param tpl The template URL.
2232
+ * @param ignoreRequestError Whether or not to ignore the exception
2233
+ * when the request fails or the template is
2234
+ * empty.
2235
+ *
2236
+ * @return A promise whose value is the template content.
2237
+ */
2238
+ (tpl: string, ignoreRequestError?: boolean): IPromise<string>;
2239
+ /**
2240
+ * total amount of pending template requests being downloaded.
2241
+ */
2242
+ totalPendingRequests: number;
2243
+ }
2244
+
2245
+ ///////////////////////////////////////////////////////////////////////////
2246
+ // Component
2247
+ // see http://angularjs.blogspot.com.br/2015/11/angularjs-15-beta2-and-14-releases.html
2248
+ // and http://toddmotto.com/exploring-the-angular-1-5-component-method/
2249
+ ///////////////////////////////////////////////////////////////////////////
2250
+ /**
2251
+ * Component definition object (a simplified directive definition object)
2252
+ */
2253
+ interface IComponentOptions {
2254
+ /**
2255
+ * Controller constructor function that should be associated with newly created scope or the name of a registered
2256
+ * controller if passed as a string. Empty function by default.
2257
+ * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
2258
+ */
2259
+ controller?: string | Injectable<IControllerConstructor> | undefined;
2260
+ /**
2261
+ * An identifier name for a reference to the controller. If present, the controller will be published to its scope under
2262
+ * the specified name. If not present, this will default to '$ctrl'.
2263
+ */
2264
+ controllerAs?: string | undefined;
2265
+ /**
2266
+ * html template as a string or a function that returns an html template as a string which should be used as the
2267
+ * contents of this component. Empty string by default.
2268
+ * If template is a function, then it is injected with the following locals:
2269
+ * $element - Current element
2270
+ * $attrs - Current attributes object for the element
2271
+ * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
2272
+ */
2273
+ template?: string | Injectable<(...args: any[]) => string> | undefined;
2274
+ /**
2275
+ * Path or function that returns a path to an html template that should be used as the contents of this component.
2276
+ * If templateUrl is a function, then it is injected with the following locals:
2277
+ * $element - Current element
2278
+ * $attrs - Current attributes object for the element
2279
+ * Use the array form to define dependencies (necessary if strictDi is enabled and you require dependency injection)
2280
+ */
2281
+ templateUrl?: string | Injectable<(...args: any[]) => string> | undefined;
2282
+ /**
2283
+ * Define DOM attribute binding to component properties. Component properties are always bound to the component
2284
+ * controller and not to the scope.
2285
+ */
2286
+ bindings?: { [boundProperty: string]: string } | undefined;
2287
+ /**
2288
+ * Whether transclusion is enabled. Disabled by default.
2289
+ */
2290
+ transclude?: boolean | { [slot: string]: string } | undefined;
2291
+ /**
2292
+ * Requires the controllers of other directives and binds them to this component's controller.
2293
+ * The object keys specify the property names under which the required controllers (object values) will be bound.
2294
+ * Note that the required controllers will not be available during the instantiation of the controller,
2295
+ * but they are guaranteed to be available just before the $onInit method is executed!
2296
+ */
2297
+ require?: { [controller: string]: string } | undefined;
2298
+ }
2299
+
2300
+ type IControllerConstructor =
2301
+ | (new (...args: any[]) => IController) // Instead of classes, plain functions are often used as controller constructors, especially in examples.
2302
+ | ((...args: any[]) => void | IController);
2303
+
2304
+ /**
2305
+ * Directive controllers have a well-defined lifecycle. Each controller can implement "lifecycle hooks". These are methods that
2306
+ * will be called by Angular at certain points in the life cycle of the directive.
2307
+ * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks
2308
+ * https://docs.angularjs.org/guide/component
2309
+ */
2310
+ interface IController {
2311
+ /**
2312
+ * Called on each controller after all the controllers on an element have been constructed and had their bindings
2313
+ * initialized (and before the pre & post linking functions for the directives on this element). This is a good
2314
+ * place to put initialization code for your controller.
2315
+ */
2316
+ $onInit?(): void;
2317
+ /**
2318
+ * Called on each turn of the digest cycle. Provides an opportunity to detect and act on changes.
2319
+ * Any actions that you wish to take in response to the changes that you detect must be invoked from this hook;
2320
+ * implementing this has no effect on when `$onChanges` is called. For example, this hook could be useful if you wish
2321
+ * to perform a deep equality check, or to check a `Dat`e object, changes to which would not be detected by Angular's
2322
+ * change detector and thus not trigger `$onChanges`. This hook is invoked with no arguments; if detecting changes,
2323
+ * you must store the previous value(s) for comparison to the current values.
2324
+ */
2325
+ $doCheck?(): void;
2326
+ /**
2327
+ * Called whenever one-way bindings are updated. The onChangesObj is a hash whose keys are the names of the bound
2328
+ * properties that have changed, and the values are an {@link IChangesObject} object of the form
2329
+ * { currentValue, previousValue, isFirstChange() }. Use this hook to trigger updates within a component such as
2330
+ * cloning the bound value to prevent accidental mutation of the outer value.
2331
+ */
2332
+ $onChanges?(onChangesObj: IOnChangesObject): void;
2333
+ /**
2334
+ * Called on a controller when its containing scope is destroyed. Use this hook for releasing external resources,
2335
+ * watches and event handlers.
2336
+ */
2337
+ $onDestroy?(): void;
2338
+ /**
2339
+ * Called after this controller's element and its children have been linked. Similar to the post-link function this
2340
+ * hook can be used to set up DOM event handlers and do direct DOM manipulation. Note that child elements that contain
2341
+ * templateUrl directives will not have been compiled and linked since they are waiting for their template to load
2342
+ * asynchronously and their own compilation and linking has been suspended until that occurs. This hook can be considered
2343
+ * analogous to the ngAfterViewInit and ngAfterContentInit hooks in Angular 2. Since the compilation process is rather
2344
+ * different in Angular 1 there is no direct mapping and care should be taken when upgrading.
2345
+ */
2346
+ $postLink?(): void;
2347
+
2348
+ // IController implementations frequently do not implement any of its methods.
2349
+ // A string indexer indicates to TypeScript not to issue a weak type error in this case.
2350
+ [s: string]: any;
2351
+ }
2352
+
2353
+ /**
2354
+ * Interface for the $onInit lifecycle hook
2355
+ * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks
2356
+ */
2357
+ interface IOnInit {
2358
+ /**
2359
+ * Called on each controller after all the controllers on an element have been constructed and had their bindings
2360
+ * initialized (and before the pre & post linking functions for the directives on this element). This is a good
2361
+ * place to put initialization code for your controller.
2362
+ */
2363
+ $onInit(): void;
2364
+ }
2365
+
2366
+ /**
2367
+ * Interface for the $doCheck lifecycle hook
2368
+ * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks
2369
+ */
2370
+ interface IDoCheck {
2371
+ /**
2372
+ * Called on each turn of the digest cycle. Provides an opportunity to detect and act on changes.
2373
+ * Any actions that you wish to take in response to the changes that you detect must be invoked from this hook;
2374
+ * implementing this has no effect on when `$onChanges` is called. For example, this hook could be useful if you wish
2375
+ * to perform a deep equality check, or to check a `Dat`e object, changes to which would not be detected by Angular's
2376
+ * change detector and thus not trigger `$onChanges`. This hook is invoked with no arguments; if detecting changes,
2377
+ * you must store the previous value(s) for comparison to the current values.
2378
+ */
2379
+ $doCheck(): void;
2380
+ }
2381
+
2382
+ /**
2383
+ * Interface for the $onChanges lifecycle hook
2384
+ * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks
2385
+ */
2386
+ interface IOnChanges {
2387
+ /**
2388
+ * Called whenever one-way bindings are updated. The onChangesObj is a hash whose keys are the names of the bound
2389
+ * properties that have changed, and the values are an {@link IChangesObject} object of the form
2390
+ * { currentValue, previousValue, isFirstChange() }. Use this hook to trigger updates within a component such as
2391
+ * cloning the bound value to prevent accidental mutation of the outer value.
2392
+ */
2393
+ $onChanges(onChangesObj: IOnChangesObject): void;
2394
+ }
2395
+
2396
+ /**
2397
+ * Interface for the $onDestroy lifecycle hook
2398
+ * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks
2399
+ */
2400
+ interface IOnDestroy {
2401
+ /**
2402
+ * Called on a controller when its containing scope is destroyed. Use this hook for releasing external resources,
2403
+ * watches and event handlers.
2404
+ */
2405
+ $onDestroy(): void;
2406
+ }
2407
+
2408
+ /**
2409
+ * Interface for the $postLink lifecycle hook
2410
+ * https://docs.angularjs.org/api/ng/service/$compile#life-cycle-hooks
2411
+ */
2412
+ interface IPostLink {
2413
+ /**
2414
+ * Called after this controller's element and its children have been linked. Similar to the post-link function this
2415
+ * hook can be used to set up DOM event handlers and do direct DOM manipulation. Note that child elements that contain
2416
+ * templateUrl directives will not have been compiled and linked since they are waiting for their template to load
2417
+ * asynchronously and their own compilation and linking has been suspended until that occurs. This hook can be considered
2418
+ * analogous to the ngAfterViewInit and ngAfterContentInit hooks in Angular 2. Since the compilation process is rather
2419
+ * different in Angular 1 there is no direct mapping and care should be taken when upgrading.
2420
+ */
2421
+ $postLink(): void;
2422
+ }
2423
+
2424
+ interface IOnChangesObject {
2425
+ [property: string]: IChangesObject<any>;
2426
+ }
2427
+
2428
+ interface IChangesObject<T> {
2429
+ currentValue: T;
2430
+ previousValue: T;
2431
+ isFirstChange(): boolean;
2432
+ }
2433
+
2434
+ ///////////////////////////////////////////////////////////////////////////
2435
+ // Directive
2436
+ // see http://docs.angularjs.org/api/ng/provider/$compileProvider#directive
2437
+ // and http://docs.angularjs.org/guide/directive
2438
+ ///////////////////////////////////////////////////////////////////////////
2439
+
2440
+ type IDirectiveController =
2441
+ | IController
2442
+ | IController[]
2443
+ | { [key: string]: IController };
2444
+
2445
+ interface IDirectiveFactory<
2446
+ TScope extends IScope = IScope,
2447
+ TElement extends JQLite = JQLite,
2448
+ TAttributes extends IAttributes = IAttributes,
2449
+ TController extends IDirectiveController = IController,
2450
+ > {
2451
+ (
2452
+ ...args: any[]
2453
+ ):
2454
+ | IDirective<TScope, TElement, TAttributes, TController>
2455
+ | IDirectiveLinkFn<TScope, TElement, TAttributes, TController>;
2456
+ }
2457
+
2458
+ interface IDirectiveLinkFn<
2459
+ TScope extends IScope = IScope,
2460
+ TElement extends JQLite = JQLite,
2461
+ TAttributes extends IAttributes = IAttributes,
2462
+ TController extends IDirectiveController = IController,
2463
+ > {
2464
+ (
2465
+ scope: TScope,
2466
+ instanceElement: TElement,
2467
+ instanceAttributes: TAttributes,
2468
+ controller?: TController,
2469
+ transclude?: ITranscludeFunction,
2470
+ ): void;
2471
+ }
2472
+
2473
+ interface IDirectivePrePost<
2474
+ TScope extends IScope = IScope,
2475
+ TElement extends JQLite = JQLite,
2476
+ TAttributes extends IAttributes = IAttributes,
2477
+ TController extends IDirectiveController = IController,
2478
+ > {
2479
+ pre?:
2480
+ | IDirectiveLinkFn<TScope, TElement, TAttributes, TController>
2481
+ | undefined;
2482
+ post?:
2483
+ | IDirectiveLinkFn<TScope, TElement, TAttributes, TController>
2484
+ | undefined;
2485
+ }
2486
+
2487
+ interface IDirectiveCompileFn<
2488
+ TScope extends IScope = IScope,
2489
+ TElement extends JQLite = JQLite,
2490
+ TAttributes extends IAttributes = IAttributes,
2491
+ TController extends IDirectiveController = IController,
2492
+ > {
2493
+ (
2494
+ templateElement: TElement,
2495
+ templateAttributes: TAttributes,
2496
+ /**
2497
+ * @deprecated
2498
+ * Note: The transclude function that is passed to the compile function is deprecated,
2499
+ * as it e.g. does not know about the right outer scope. Please use the transclude function
2500
+ * that is passed to the link function instead.
2501
+ */
2502
+ transclude: ITranscludeFunction,
2503
+ ):
2504
+ | void
2505
+ | IDirectiveLinkFn<TScope, TElement, TAttributes, TController>
2506
+ | IDirectivePrePost<TScope, TElement, TAttributes, TController>;
2507
+ }
2508
+
2509
+ interface IDirective<
2510
+ TScope extends IScope = IScope,
2511
+ TElement extends JQLite = JQLite,
2512
+ TAttributes extends IAttributes = IAttributes,
2513
+ TController extends IDirectiveController = IController,
2514
+ > {
2515
+ compile?:
2516
+ | IDirectiveCompileFn<TScope, TElement, TAttributes, TController>
2517
+ | undefined;
2518
+ controller?: string | Injectable<IControllerConstructor> | undefined;
2519
+ controllerAs?: string | undefined;
2520
+ /**
2521
+ * Deprecation warning: although bindings for non-ES6 class controllers are currently bound to this before
2522
+ * the controller constructor is called, this use is now deprecated. Please place initialization code that
2523
+ * relies upon bindings inside a $onInit method on the controller, instead.
2524
+ */
2525
+ bindToController?:
2526
+ | boolean
2527
+ | { [boundProperty: string]: string }
2528
+ | undefined;
2529
+ link?:
2530
+ | IDirectiveLinkFn<TScope, TElement, TAttributes, TController>
2531
+ | IDirectivePrePost<TScope, TElement, TAttributes, TController>
2532
+ | undefined;
2533
+ multiElement?: boolean | undefined;
2534
+ priority?: number | undefined;
2535
+ /**
2536
+ * @deprecated
2537
+ */
2538
+ replace?: boolean | undefined;
2539
+ require?: string | string[] | { [controller: string]: string } | undefined;
2540
+ restrict?: string | undefined;
2541
+ scope?: boolean | { [boundProperty: string]: string } | undefined;
2542
+ template?:
2543
+ | string
2544
+ | ((tElement: TElement, tAttrs: TAttributes) => string)
2545
+ | undefined;
2546
+ templateNamespace?: string | undefined;
2547
+ templateUrl?:
2548
+ | string
2549
+ | ((tElement: TElement, tAttrs: TAttributes) => string)
2550
+ | undefined;
2551
+ terminal?: boolean | undefined;
2552
+ transclude?: boolean | "element" | { [slot: string]: string } | undefined;
2553
+ }
2554
+
2555
+ /**
2556
+ * These interfaces are kept for compatibility with older versions of these type definitions.
2557
+ * Actually, Angular doesn't create a special subclass of jQuery objects. It extends jQuery.prototype
2558
+ * like jQuery plugins do, that's why all jQuery objects have these Angular-specific methods, not
2559
+ * only those returned from angular.element.
2560
+ * See: http://docs.angularjs.org/api/angular.element
2561
+ */
2562
+ interface IAugmentedJQueryStatic extends JQueryStatic {}
2563
+ interface IAugmentedJQuery extends JQLite {}
2564
+
2565
+ /**
2566
+ * Same as IController. Keeping it for compatibility with older versions of these type definitions.
2567
+ */
2568
+ interface IComponentController extends IController {}
2569
+
2570
+ ///////////////////////////////////////////////////////////////////////////
2571
+ // AUTO module (angular.js)
2572
+ ///////////////////////////////////////////////////////////////////////////
2573
+ namespace auto {
2574
+ ///////////////////////////////////////////////////////////////////////
2575
+ // InjectorService
2576
+ // see http://docs.angularjs.org/api/AUTO.$injector
2577
+ ///////////////////////////////////////////////////////////////////////
2578
+ interface IInjectorService {
2579
+ annotate(fn: Function, strictDi?: boolean): string[];
2580
+ annotate(inlineAnnotatedFunction: any[]): string[];
2581
+ get<T>(name: string, caller?: string): T;
2582
+ get(name: "$anchorScroll"): IAnchorScrollService;
2583
+ get(name: "$cacheFactory"): ICacheFactoryService;
2584
+ get(name: "$compile"): ICompileService;
2585
+ get(name: "$controller"): IControllerService;
2586
+ get(name: "$document"): IDocumentService;
2587
+ get(name: "$exceptionHandler"): IExceptionHandlerService;
2588
+ get(name: "$filter"): IFilterService;
2589
+ get(name: "$http"): IHttpService;
2590
+ get(name: "$httpBackend"): IHttpBackendService;
2591
+ get(name: "$httpParamSerializer"): IHttpParamSerializer;
2592
+ get(name: "$httpParamSerializerJQLike"): IHttpParamSerializer;
2593
+ get(name: "$interpolate"): IInterpolateService;
2594
+ get(name: "$interval"): IIntervalService;
2595
+ get(name: "$locale"): ILocaleService;
2596
+ get(name: "$location"): ILocationService;
2597
+ get(name: "$log"): ILogService;
2598
+ get(name: "$parse"): IParseService;
2599
+ get(name: "$q"): IQService;
2600
+ get(name: "$rootElement"): IRootElementService;
2601
+ get(name: "$rootScope"): IRootScopeService;
2602
+ get(name: "$sce"): ISCEService;
2603
+ get(name: "$sceDelegate"): ISCEDelegateService;
2604
+ get(name: "$templateCache"): ITemplateCacheService;
2605
+ get(name: "$templateRequest"): ITemplateRequestService;
2606
+ get(name: "$timeout"): ITimeoutService;
2607
+ get(name: "$window"): IWindowService;
2608
+ get<T>(name: "$xhrFactory"): IXhrFactory<T>;
2609
+ has(name: string): boolean;
2610
+ instantiate<T>(
2611
+ typeConstructor: { new (...args: any[]): T },
2612
+ locals?: any,
2613
+ ): T;
2614
+ invoke<T = any>(
2615
+ func: Injectable<Function | ((...args: any[]) => T)>,
2616
+ context?: any,
2617
+ locals?: any,
2618
+ ): T;
2619
+ /**
2620
+ * Add the specified modules to the current injector.
2621
+ * This method will add each of the injectables to the injector and execute all of the config and run blocks for each module passed to the method.
2622
+ * @param modules A module, module name or annotated injection function.
2623
+ */
2624
+ loadNewModules(
2625
+ modules: Array<IModule | string | Injectable<(...args: any[]) => void>>,
2626
+ ): void;
2627
+ /** An object map of all the modules that have been loaded into the injector. */
2628
+ modules: { [moduleName: string]: IModule };
2629
+ strictDi: boolean;
2630
+ }
2631
+
2632
+ ///////////////////////////////////////////////////////////////////////
2633
+ // ProvideService
2634
+ // see http://docs.angularjs.org/api/AUTO.$provide
2635
+ ///////////////////////////////////////////////////////////////////////
2636
+ interface IProvideService {
2637
+ // Documentation says it returns the registered instance, but actual
2638
+ // implementation does not return anything.
2639
+ // constant(name: string, value: any): any;
2640
+ /**
2641
+ * Register a constant service, such as a string, a number, an array, an object or a function, with the $injector. Unlike value it can be injected into a module configuration function (see config) and it cannot be overridden by an Angular decorator.
2642
+ *
2643
+ * @param name The name of the constant.
2644
+ * @param value The constant value.
2645
+ */
2646
+ constant(name: string, value: any): void;
2647
+
2648
+ /**
2649
+ * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
2650
+ *
2651
+ * @param name The name of the service to decorate.
2652
+ * @param decorator This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments:
2653
+ *
2654
+ * $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.
2655
+ */
2656
+ decorator(name: string, decorator: Function): void;
2657
+ /**
2658
+ * Register a service decorator with the $injector. A service decorator intercepts the creation of a service, allowing it to override or modify the behaviour of the service. The object returned by the decorator may be the original service, or a new service object which replaces or wraps and delegates to the original service.
2659
+ *
2660
+ * @param name The name of the service to decorate.
2661
+ * @param inlineAnnotatedFunction This function will be invoked when the service needs to be instantiated and should return the decorated service instance. The function is called using the injector.invoke method and is therefore fully injectable. Local injection arguments:
2662
+ *
2663
+ * $delegate - The original service instance, which can be monkey patched, configured, decorated or delegated to.
2664
+ */
2665
+ decorator(name: string, inlineAnnotatedFunction: any[]): void;
2666
+ factory(name: string, serviceFactoryFunction: Function): IServiceProvider;
2667
+ factory(name: string, inlineAnnotatedFunction: any[]): IServiceProvider;
2668
+ provider(name: string, provider: IServiceProvider): IServiceProvider;
2669
+ provider(
2670
+ name: string,
2671
+ serviceProviderConstructor: Function,
2672
+ ): IServiceProvider;
2673
+ service(name: string, constructor: Function): IServiceProvider;
2674
+ service(name: string, inlineAnnotatedFunction: any[]): IServiceProvider;
2675
+ value(name: string, value: any): IServiceProvider;
2676
+ }
2677
+ }
2678
+
2679
+ /**
2680
+ * $http params serializer that converts objects to strings
2681
+ * see https://docs.angularjs.org/api/ng/service/$httpParamSerializer
2682
+ */
2683
+ interface IHttpParamSerializer {
2684
+ (obj: Object): string;
2685
+ }
2686
+
2687
+ interface IFilterFunction extends Function {
2688
+ /**
2689
+ * By default, filters are only run once the input value changes. By marking the filter as `$stateful`, the filter will be run on every `$digest` to update the output. **This is strongly discouraged.**
2690
+ * See https://docs.angularjs.org/guide/filter#stateful-filters
2691
+ */
2692
+ $stateful?: boolean | undefined;
2693
+ }
2694
+ type FilterFactory = (...I: any[]) => IFilterFunction;
2695
+ }