@angular-wave/angular.ts 0.7.7 → 0.8.0

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 (376) hide show
  1. package/@types/animations/raf-scheduler.d.ts +2 -2
  2. package/@types/animations/shared.d.ts +0 -1
  3. package/@types/core/compile/attributes.d.ts +3 -3
  4. package/@types/core/compile/compile.d.ts +1 -1
  5. package/@types/core/di/injector.d.ts +0 -1
  6. package/@types/core/di/internal-injector.d.ts +1 -0
  7. package/@types/core/di/ng-module.d.ts +5 -0
  8. package/@types/core/filter/filter.d.ts +11 -13
  9. package/@types/core/parse/parse.d.ts +6 -7
  10. package/@types/core/sanitize/sanitize-uri.d.ts +3 -6
  11. package/@types/core/scope/scope.d.ts +1 -1
  12. package/@types/directive/attrs/attrs.d.ts +7 -1
  13. package/@types/directive/bind/bind.d.ts +2 -1
  14. package/@types/directive/events/events.d.ts +9 -3
  15. package/@types/directive/http/http.d.ts +6 -2
  16. package/@types/directive/include/include.d.ts +2 -2
  17. package/@types/directive/input/input.d.ts +2 -12
  18. package/@types/directive/messages/messages.d.ts +9 -48
  19. package/@types/directive/model/model.d.ts +3 -3
  20. package/@types/directive/options/options.d.ts +13 -20
  21. package/@types/directive/switch/switch.d.ts +1 -0
  22. package/@types/directive/transclude/transclude.d.ts +10 -6
  23. package/@types/index.d.ts +1 -1
  24. package/@types/interface.d.ts +56 -18
  25. package/@types/{public.d.ts → ng.d.ts} +2 -2
  26. package/@types/router/directives/view-directive.d.ts +2 -19
  27. package/@types/router/{common → glob}/glob.d.ts +5 -1
  28. package/@types/router/globals.d.ts +2 -3
  29. package/@types/router/path/path-utils.d.ts +8 -11
  30. package/@types/router/state/interface.d.ts +1 -1
  31. package/@types/router/state/state-object.d.ts +1 -1
  32. package/@types/router/state/state-registry.d.ts +1 -2
  33. package/@types/router/state/state-service.d.ts +8 -7
  34. package/@types/router/state-filters.d.ts +24 -2
  35. package/@types/router/transition/transition.d.ts +12 -15
  36. package/@types/router/url/url-matcher.d.ts +3 -3
  37. package/@types/router/url/url-rule.d.ts +1 -0
  38. package/@types/router/url/url-rules.d.ts +26 -6
  39. package/@types/router/url/url-service.d.ts +30 -42
  40. package/@types/services/anchor-scroll.d.ts +1 -1
  41. package/@types/{core → services/exception}/exception-handler.d.ts +4 -4
  42. package/@types/{core/error-handler.d.ts → services/exception/interface.d.ts} +1 -1
  43. package/@types/services/http/http.d.ts +48 -3
  44. package/@types/services/http/interface.d.ts +2 -2
  45. package/@types/services/http-backend/http-backend.d.ts +49 -44
  46. package/@types/services/location/interface.d.ts +63 -0
  47. package/@types/services/location/location.d.ts +330 -0
  48. package/@types/{core → services}/sce/sce.d.ts +1 -1
  49. package/@types/services/template-cache/interface.d.ts +8 -2
  50. package/@types/services/template-cache/template-cache.d.ts +1 -1
  51. package/@types/services/template-request.d.ts +1 -1
  52. package/@types/shared/cache.d.ts +0 -2
  53. package/@types/shared/common.d.ts +0 -2
  54. package/@types/shared/dom.d.ts +6 -0
  55. package/@types/shared/interface.d.ts +0 -4
  56. package/@types/{router/common → shared}/queue.d.ts +2 -2
  57. package/@types/shared/test-utils.d.ts +1 -0
  58. package/@types/shared/url-utils/interface.d.ts +46 -0
  59. package/@types/shared/url-utils/url-utils.d.ts +64 -0
  60. package/@types/shared/utils.d.ts +44 -6
  61. package/Makefile +8 -4
  62. package/dist/angular-ts.esm.js +1889 -2199
  63. package/dist/angular-ts.umd.js +1889 -2199
  64. package/dist/angular-ts.umd.min.js +1 -1
  65. package/docs/assets/scss/index.scss +23 -0
  66. package/docs/content/_index.md +9 -8
  67. package/docs/content/docs/_index.md +1 -1
  68. package/docs/content/docs/directive/app.md +1 -1
  69. package/docs/content/docs/directive/bind.md +10 -8
  70. package/docs/content/docs/directive/blur.md +1 -1
  71. package/docs/content/docs/directive/channel.md +2 -2
  72. package/docs/content/docs/directive/class-even.md +1 -1
  73. package/docs/content/docs/directive/class-odd.md +1 -1
  74. package/docs/content/docs/directive/class.md +1 -1
  75. package/docs/content/docs/directive/click.md +1 -1
  76. package/docs/content/docs/directive/copy.md +1 -1
  77. package/docs/content/docs/directive/cut.md +1 -1
  78. package/docs/content/docs/directive/dblclick.md +1 -1
  79. package/docs/content/docs/directive/focus.md +1 -1
  80. package/docs/content/docs/directive/get.md +203 -0
  81. package/docs/content/docs/directive/keydown.md +1 -1
  82. package/docs/content/docs/directive/keyup.md +1 -1
  83. package/docs/content/docs/directive/load.md +1 -1
  84. package/docs/content/docs/directive/mousedown.md +1 -1
  85. package/docs/content/docs/directive/mouseenter.md +1 -1
  86. package/docs/content/docs/directive/mouseleave.md +1 -1
  87. package/docs/content/docs/directive/mousemove.md +1 -1
  88. package/docs/content/docs/directive/mouseout.md +1 -1
  89. package/docs/content/docs/directive/mouseover.md +1 -1
  90. package/docs/content/docs/directive/mouseup.md +1 -1
  91. package/docs/content/docs/directive/non-bindable.md +28 -0
  92. package/docs/content/docs/provider/locationProvider.md +26 -0
  93. package/docs/content/docs/provider/templateCacheProvider.md +66 -1
  94. package/docs/content/docs/service/location.md +57 -0
  95. package/docs/content/docs/service/templateCache.md +2 -2
  96. package/docs/content/docs/service/url.md +5 -0
  97. package/docs/layouts/partials/hooks/head-end.html +1 -1
  98. package/docs/layouts/shortcodes/showcss.html +2 -0
  99. package/docs/layouts/shortcodes/version.html +1 -0
  100. package/docs/static/examples/counter/counter-test.html +0 -4
  101. package/docs/static/examples/eventbus/eventbus-test.html +0 -4
  102. package/docs/static/examples/ng-bind/ng-bind.html +2 -2
  103. package/docs/static/examples/ng-non-bindable/ng-non-bindable-test.html +13 -0
  104. package/docs/static/examples/ng-non-bindable/ng-non-bindable.html +3 -0
  105. package/docs/static/examples/ng-non-bindable/ng-non-bindable.test.js +11 -0
  106. package/docs/static/typedoc/assets/hierarchy.js +1 -1
  107. package/docs/static/typedoc/assets/highlight.css +6 -6
  108. package/docs/static/typedoc/assets/navigation.js +1 -1
  109. package/docs/static/typedoc/assets/search.js +1 -1
  110. package/docs/static/typedoc/classes/Location.html +55 -0
  111. package/docs/static/typedoc/classes/LocationProvider.html +20 -0
  112. package/docs/static/typedoc/classes/NgModule.html +32 -0
  113. package/docs/static/typedoc/classes/TemplateCacheProvider.html +1 -1
  114. package/docs/static/typedoc/hierarchy.html +1 -1
  115. package/docs/static/typedoc/index.html +1 -1
  116. package/docs/static/typedoc/interfaces/DefaultPorts.html +5 -0
  117. package/docs/static/typedoc/interfaces/Directive.html +5 -4
  118. package/docs/static/typedoc/interfaces/Html5Mode.html +23 -0
  119. package/docs/static/typedoc/interfaces/HttpProviderDefaults.html +1 -1
  120. package/docs/static/typedoc/interfaces/HttpResponse.html +2 -3
  121. package/docs/static/typedoc/interfaces/Provider.html +16 -10
  122. package/docs/static/typedoc/interfaces/RequestConfig.html +1 -1
  123. package/docs/static/typedoc/interfaces/RequestShortcutConfig.html +1 -1
  124. package/docs/static/typedoc/interfaces/TemplateCache.html +7 -0
  125. package/docs/static/typedoc/interfaces/UrlParts.html +9 -0
  126. package/docs/static/typedoc/types/AnnotatedDirectiveFactory.html +1 -0
  127. package/docs/static/typedoc/types/AnnotatedFactory.html +1 -1
  128. package/docs/static/typedoc/types/DirectiveFactory.html +1 -2
  129. package/docs/static/typedoc/types/DirectiveFactoryFn.html +1 -0
  130. package/docs/static/typedoc/types/Expression.html +1 -1
  131. package/docs/static/typedoc/types/HttpResponseStatus.html +1 -0
  132. package/docs/static/typedoc/types/{TemplateCache.html → SwapModeType.html} +1 -1
  133. package/docs/static/typedoc/types/UrlChangeListener.html +5 -0
  134. package/docs/static/typedoc/variables/SwapMode.html +11 -0
  135. package/docs/static/version.js +13 -0
  136. package/docs/test-results/.last-run.json +4 -0
  137. package/docs/test-results/static-examples-counter-counter-counter-example/error-context.md +50 -0
  138. package/legacy.d.ts +0 -10
  139. package/package.json +1 -3
  140. package/src/{loader.js → angular.js} +5 -10
  141. package/src/angular.spec.js +189 -21
  142. package/src/animations/animate-children-directive.js +2 -2
  143. package/src/animations/animate-css.js +17 -18
  144. package/src/animations/animate.spec.js +1 -1
  145. package/src/animations/raf-scheduler.js +1 -1
  146. package/src/animations/shared.js +2 -12
  147. package/src/binding.spec.js +1 -1
  148. package/src/core/compile/attributes.js +1 -1
  149. package/src/core/compile/compile.js +7 -10
  150. package/src/core/compile/compile.spec.js +1 -1
  151. package/src/core/controller/controller.spec.js +1 -1
  152. package/src/core/controller/controller.test.js +1 -0
  153. package/src/core/di/injector.js +11 -25
  154. package/src/core/di/injector.spec.js +2 -2
  155. package/src/core/di/injector.test.js +2 -2
  156. package/src/core/di/internal-injector.js +7 -7
  157. package/src/core/di/ng-module.js +12 -27
  158. package/src/core/filter/filter.js +28 -28
  159. package/src/core/filter/filter.spec.js +1 -1
  160. package/src/core/filter/filter.test.js +1 -0
  161. package/src/core/interpolate/interpolate.js +4 -6
  162. package/src/core/interpolate/interpolate.spec.js +1 -1
  163. package/src/core/interpolate/interpolate.test.js +1 -0
  164. package/src/core/parse/ast/ast.spec.js +1 -1
  165. package/src/core/parse/ast/ast.test.js +1 -1
  166. package/src/core/parse/interpreter.js +32 -38
  167. package/src/core/parse/lexer/lexer.spec.js +1 -1
  168. package/src/core/parse/parse.js +150 -146
  169. package/src/core/parse/parse.spec.js +17 -16
  170. package/src/core/prop.spec.js +1 -1
  171. package/src/core/root-element.spec.js +1 -1
  172. package/src/core/sanitize/sanitize-uri.js +3 -3
  173. package/src/core/scope/scope.js +12 -13
  174. package/src/core/scope/scope.spec.js +3 -4
  175. package/src/directive/aria/aria.spec.js +1 -1
  176. package/src/directive/aria/aria.test.js +1 -0
  177. package/src/directive/attrs/attrs.js +7 -4
  178. package/src/directive/attrs/attrs.spec.js +1 -1
  179. package/src/directive/attrs/attrs.test.js +1 -0
  180. package/src/directive/attrs/boolean.spec.js +1 -1
  181. package/src/directive/attrs/boolean.test.js +1 -0
  182. package/src/directive/attrs/element-style.spec.js +1 -1
  183. package/src/directive/attrs/element-style.test.js +1 -0
  184. package/src/directive/attrs/src.spec.js +1 -1
  185. package/src/directive/attrs/src.test.js +1 -0
  186. package/src/directive/bind/bind-html.spec.js +1 -1
  187. package/src/directive/bind/bind.js +1 -0
  188. package/src/directive/bind/bind.spec.js +1 -1
  189. package/src/directive/bind/bind.test.js +1 -0
  190. package/src/directive/channel/channel.spec.js +1 -1
  191. package/src/directive/channel/channel.test.js +1 -0
  192. package/src/directive/class/class.spec.js +1 -1
  193. package/src/directive/class/class.test.js +1 -0
  194. package/src/directive/cloak/cloak.spec.js +1 -1
  195. package/src/directive/cloak/cloak.test.js +1 -0
  196. package/src/directive/controller/controller.spec.js +1 -1
  197. package/src/directive/controller/controller.test.js +1 -0
  198. package/src/directive/events/click.spec.js +1 -1
  199. package/src/directive/events/event.spec.js +1 -1
  200. package/src/directive/events/events.js +6 -2
  201. package/src/directive/events/events.test.js +1 -0
  202. package/src/directive/form/form.js +8 -5
  203. package/src/directive/form/form.spec.js +1 -1
  204. package/src/directive/form/form.test.js +1 -0
  205. package/src/directive/http/delete.spec.js +3 -1
  206. package/src/directive/http/form-test.html +18 -0
  207. package/src/directive/http/get.spec.js +281 -4
  208. package/src/directive/http/http.js +112 -15
  209. package/src/directive/http/http.test.js +2 -2
  210. package/src/directive/http/post.spec.js +506 -9
  211. package/src/directive/http/put.spec.js +3 -1
  212. package/src/directive/if/if.spec.js +1 -1
  213. package/src/directive/include/include.js +7 -7
  214. package/src/directive/include/include.spec.js +1 -1
  215. package/src/directive/init/init.spec.js +1 -1
  216. package/src/directive/init/init.test.js +1 -0
  217. package/src/directive/input/input.js +19 -43
  218. package/src/directive/input/input.spec.js +1 -2
  219. package/src/directive/input/input.test.js +1 -0
  220. package/src/directive/messages/messages.js +4 -0
  221. package/src/directive/messages/messages.spec.js +1 -1
  222. package/src/directive/messages/messages.test.js +1 -0
  223. package/src/directive/model/model.js +14 -14
  224. package/src/directive/model/model.spec.js +1 -1
  225. package/src/directive/model/model.test.js +1 -0
  226. package/src/directive/model-options/model-option.test.js +1 -0
  227. package/src/directive/model-options/model-options.js +1 -1
  228. package/src/directive/model-options/model-options.spec.js +1 -1
  229. package/src/directive/non-bindable/non-bindable.spec.js +1 -1
  230. package/src/directive/non-bindable/non-bindable.test.js +1 -0
  231. package/src/directive/observe/observe.spec.js +1 -1
  232. package/src/directive/observe/observe.test.js +1 -0
  233. package/src/directive/on/on.spec.js +1 -1
  234. package/src/directive/on/on.test.js +1 -0
  235. package/src/directive/options/options.js +454 -464
  236. package/src/directive/options/options.spec.js +1 -1
  237. package/src/directive/options/options.test.js +1 -0
  238. package/src/directive/ref/href.spec.js +1 -1
  239. package/src/directive/ref/href.test.js +2 -0
  240. package/src/directive/ref/ref.spec.js +1 -1
  241. package/src/directive/repeat/repeat.spec.js +2 -3
  242. package/src/directive/repeat/repeat.test.js +1 -0
  243. package/src/directive/script/script.spec.js +1 -1
  244. package/src/directive/script/script.test.js +1 -0
  245. package/src/directive/select/select.js +1 -1
  246. package/src/directive/select/select.spec.js +1 -1
  247. package/src/directive/select/select.test.js +1 -0
  248. package/src/directive/setter/setter.js +12 -14
  249. package/src/directive/setter/setter.spec.js +40 -17
  250. package/src/directive/setter/setter.test.js +1 -0
  251. package/src/directive/show-hide/show-hide.spec.js +1 -1
  252. package/src/directive/show-hide/show-hide.test.js +1 -0
  253. package/src/directive/style/style.spec.js +1 -1
  254. package/src/directive/style/style.test.js +1 -0
  255. package/src/directive/switch/switch.js +1 -0
  256. package/src/directive/switch/switch.spec.js +1 -1
  257. package/src/directive/switch/switch.test.js +1 -0
  258. package/src/directive/transclude/transclude.js +87 -89
  259. package/src/directive/validators/validators.js +82 -84
  260. package/src/directive/validators/validators.spec.js +5 -4
  261. package/src/directive/validators/validators.test.js +1 -0
  262. package/src/filters/filter.spec.js +1 -1
  263. package/src/filters/filters.spec.js +1 -1
  264. package/src/filters/limit-to.js +2 -3
  265. package/src/filters/limit-to.spec.js +1 -1
  266. package/src/filters/order-by.spec.js +1 -1
  267. package/src/index.js +1 -1
  268. package/src/injection-tokens.js +6 -2
  269. package/src/interface.ts +70 -19
  270. package/src/loader.md +0 -155
  271. package/src/{public.js → ng.js} +16 -23
  272. package/src/{public.spec.js → ng.spec.js} +1 -1
  273. package/src/router/directives/state-directives.spec.js +9 -8
  274. package/src/router/directives/view-directive.js +11 -9
  275. package/src/router/directives/view-directive.spec.js +8 -9
  276. package/src/router/{common/common.html → glob/glob.html} +2 -3
  277. package/src/router/{common → glob}/glob.js +5 -0
  278. package/src/router/{common/common.test.js → glob/glob.test.js} +2 -1
  279. package/src/router/globals.js +1 -2
  280. package/src/router/path/path-utils.js +5 -0
  281. package/src/router/router-test-hashbang.html +45 -0
  282. package/src/router/services.spec.js +5 -6
  283. package/src/router/state/interface.ts +1 -1
  284. package/src/router/state/state-builder.js +3 -3
  285. package/src/router/state/state-builder.spec.js +1 -1
  286. package/src/router/state/state-object.js +1 -1
  287. package/src/router/state/state-registry.js +2 -3
  288. package/src/router/state/state-service.js +13 -10
  289. package/src/router/state/state.spec.js +23 -22
  290. package/src/router/state/state.test.js +1 -0
  291. package/src/router/state/views.js +1 -1
  292. package/src/router/state-filter.spec.js +1 -1
  293. package/src/router/state-filters.js +15 -11
  294. package/src/router/template-factory.js +5 -4
  295. package/src/router/template-factory.spec.js +1 -1
  296. package/src/router/transition/hook-registry.js +1 -1
  297. package/src/router/transition/transition-service.js +6 -5
  298. package/src/router/transition/transition.js +4 -4
  299. package/src/router/url/url-matcher.js +3 -3
  300. package/src/router/url/url-rule.js +1 -0
  301. package/src/router/url/url-rules.js +8 -5
  302. package/src/router/url/url-service.js +82 -85
  303. package/src/router/url/url-service.spec.js +55 -39
  304. package/src/router/url/url.test.js +1 -0
  305. package/src/router/view/view.js +4 -5
  306. package/src/router/view/view.spec.js +10 -12
  307. package/src/router/view/view.test.js +1 -0
  308. package/src/router/view-hook.spec.js +1 -1
  309. package/src/router/view-scroll.spec.js +1 -1
  310. package/src/services/anchor-scroll.html +2 -9
  311. package/src/services/anchor-scroll.js +6 -5
  312. package/src/{core → services/exception}/exception-handler.js +2 -2
  313. package/src/{core/error-handler.ts → services/exception/interface.ts} +1 -1
  314. package/src/services/http/http.js +11 -17
  315. package/src/services/http/http.spec.js +2 -7
  316. package/src/services/http/interface.ts +2 -2
  317. package/src/services/http/template-request.spec.js +1 -1
  318. package/src/services/http-backend/http-backend.js +53 -89
  319. package/src/services/http-backend/http-backend.spec.js +2 -6
  320. package/src/services/http-backend/http-backend.test.js +1 -0
  321. package/src/services/location/interface.ts +70 -0
  322. package/src/{core → services}/location/location.html +4 -1
  323. package/src/services/location/location.js +999 -0
  324. package/src/{core → services}/location/location.spec.js +911 -532
  325. package/src/{core → services}/location/location.test.js +2 -2
  326. package/src/services/log/log.spec.js +1 -1
  327. package/src/services/log/log.test.js +1 -0
  328. package/src/services/pubsub/pubsub.spec.js +1 -1
  329. package/src/{core → services}/sce/sce.html +1 -1
  330. package/src/{core → services}/sce/sce.js +14 -10
  331. package/src/{core → services}/sce/sce.md +2 -2
  332. package/src/{core → services}/sce/sce.spec.js +3 -4
  333. package/src/{core → services}/sce/sce.test.js +1 -1
  334. package/src/services/template-cache/interface.ts +8 -2
  335. package/src/services/template-cache/template-cache.js +3 -1
  336. package/src/services/template-cache/template-cache.spec.js +73 -1
  337. package/src/services/template-cache/template-cache.test.js +1 -0
  338. package/src/services/template-request.js +2 -1
  339. package/src/shared/cache.js +0 -2
  340. package/src/shared/common.js +0 -5
  341. package/src/shared/common.spec.js +1 -1
  342. package/src/shared/dom.js +10 -0
  343. package/src/shared/interface.ts +0 -4
  344. package/src/{router/common → shared}/queue.js +7 -7
  345. package/src/shared/shared.html +1 -0
  346. package/src/shared/shared.test.js +1 -0
  347. package/src/shared/test-utils.js +1 -0
  348. package/src/shared/url-utils/interface.ts +54 -0
  349. package/src/{core → shared}/url-utils/url-utils.html +4 -1
  350. package/src/{core → shared}/url-utils/url-utils.js +26 -47
  351. package/src/{core → shared}/url-utils/url-utils.spec.js +10 -17
  352. package/src/{core → shared}/url-utils/url-utils.test.js +1 -1
  353. package/src/shared/utils.js +60 -9
  354. package/src/shared/utils.spec.js +35 -1
  355. package/src/src.html +1 -2
  356. package/typedoc.json +0 -1
  357. package/utils/express.js +36 -2
  358. package/utils/version.cjs +23 -0
  359. package/@types/core/location/location.d.ts +0 -317
  360. package/@types/core/task-tracker-factory.d.ts +0 -76
  361. package/@types/core/url-utils/url-utils.d.ts +0 -56
  362. package/@types/router/state-provider.d.ts +0 -123
  363. package/@types/services/browser.d.ts +0 -101
  364. package/docs/static/typedoc/types/SwapInsertPosition.html +0 -2
  365. package/jsdoc.json +0 -22
  366. package/src/core/location/location.js +0 -984
  367. package/src/core/location/location.md +0 -114
  368. package/src/core/task-tracker-factory.js +0 -145
  369. package/src/core/url-utils/url-utils.md +0 -46
  370. package/src/directive/non-bindable/non-bindable.md +0 -17
  371. package/src/loader.spec.js +0 -169
  372. package/src/router/state-provider.js +0 -146
  373. package/src/services/browser.js +0 -212
  374. /package/@types/{loader.d.ts → angular.d.ts} +0 -0
  375. /package/src/router/{common → glob}/glob.spec.js +0 -0
  376. /package/src/{router/common → shared}/queue.spec.js +0 -0
@@ -4,9 +4,9 @@
4
4
  */
5
5
  /**
6
6
  * Service provider that creates a requestAnimationFrame-based scheduler.
7
- * @implements {ServiceProvider}
7
+ * @type {ServiceProvider}
8
8
  */
9
- export class RafSchedulerProvider implements ServiceProvider {
9
+ export class RafSchedulerProvider {
10
10
  /**
11
11
  * Internal task queue, where each item is an array of functions to run.
12
12
  * @type {Array<Array<() => void>>}
@@ -1,5 +1,4 @@
1
1
  export function assertArg(arg: any, name: any, reason: any): any;
2
- export function mergeClasses(a: any, b: any): any;
3
2
  export function packageStyles(options: any): {
4
3
  to: any;
5
4
  from: any;
@@ -6,7 +6,7 @@ export class Attributes implements Record<string, any> {
6
6
  /**
7
7
  * @param {import('../scope/scope.js').Scope} $rootScope
8
8
  * @param {*} $animate
9
- * @param {import("../exception-handler.js").ErrorHandler} $exceptionHandler
9
+ * @param {import("../../services/exception/exception-handler.js").ErrorHandler} $exceptionHandler
10
10
  * @param {*} $sce
11
11
  * @param {import("../../shared/noderef.js").NodeRef} [nodeRef]
12
12
  * @param {Object} [attributesToCopy]
@@ -14,14 +14,14 @@ export class Attributes implements Record<string, any> {
14
14
  constructor(
15
15
  $rootScope: import("../scope/scope.js").Scope,
16
16
  $animate: any,
17
- $exceptionHandler: import("../exception-handler.js").ErrorHandler,
17
+ $exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
18
18
  $sce: any,
19
19
  nodeRef?: import("../../shared/noderef.js").NodeRef,
20
20
  attributesToCopy?: any,
21
21
  );
22
22
  $rootScope: import("../scope/scope.js").Scope;
23
23
  $animate: any;
24
- $exceptionHandler: import("../error-handler.ts").ErrorHandler;
24
+ $exceptionHandler: import("../../services/exception/interface.ts").Interface;
25
25
  $sce: any;
26
26
  $attr: {};
27
27
  /** @type {import("../../shared/noderef.js").NodeRef} */
@@ -123,7 +123,7 @@ export class CompileProvider {
123
123
  | ((
124
124
  $injector: import("../../core/di/internal-injector.js").InjectorService,
125
125
  $interpolate: any,
126
- $exceptionHandler: import("../exception-handler.js").ErrorHandler,
126
+ $exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
127
127
  $templateRequest: any,
128
128
  $parse: import("../parse/interface.ts").ParseService,
129
129
  $controller: any,
@@ -9,7 +9,6 @@ export function createInjector(
9
9
  strictDi?: boolean,
10
10
  ): InjectorService;
11
11
  /**
12
- *
13
12
  * @param {any} fn
14
13
  * @param {boolean} [strictDi]
15
14
  * @param {String} [name]
@@ -23,6 +23,7 @@ export class InjectorService extends AbstractInjector {
23
23
  * @param {boolean} strictDi - Indicates if strict dependency injection is enforced.
24
24
  */
25
25
  constructor(providerInjector: ProviderInjector, strictDi: boolean);
26
+ /** @type {ProviderInjector} */
26
27
  providerInjector: ProviderInjector;
27
28
  /**
28
29
  *
@@ -1,7 +1,12 @@
1
+ /** @private */
1
2
  export const INJECTOR_LITERAL: "$injector";
3
+ /** @private */
2
4
  export const COMPILE_LITERAL: "$compileProvider";
5
+ /** @private */
3
6
  export const ANIMATION_LITERAL: "$animateProvider";
7
+ /** @private */
4
8
  export const FILTER_LITERAL: "$filterProvider";
9
+ /** @private */
5
10
  export const CONTROLLER_LITERAL: "$controllerProvider";
6
11
  /**
7
12
  * Modules are collections of application configuration information for components:
@@ -1,25 +1,23 @@
1
- /**
2
- * @param {import('../../interface.ts').Provider} $provide
3
- */
4
- export function FilterProvider(
5
- $provide: import("../../interface.ts").Provider,
6
- ): void;
7
1
  export class FilterProvider {
2
+ static $inject: string[];
8
3
  /**
9
4
  * @param {import('../../interface.ts').Provider} $provide
10
5
  */
11
6
  constructor($provide: import("../../interface.ts").Provider);
12
- register: (
7
+ $provide: import("../../interface.ts").Provider;
8
+ /**
9
+ * @param {string|Record<string, import('../../interface.ts').FilterFactory>} name
10
+ * @param {import('../../interface.ts').FilterFactory} [factory]
11
+ * @return {import('../../interface.ts').Provider}
12
+ */
13
+ register(
13
14
  name: string | Record<string, import("../../interface.ts").FilterFactory>,
14
- factory: import("../../interface.ts").FilterFactory,
15
- ) => import("../../interface.ts").ServiceProvider;
15
+ factory?: import("../../interface.ts").FilterFactory,
16
+ ): import("../../interface.ts").Provider;
16
17
  $get: (
17
18
  | string
18
19
  | ((
19
20
  $injector: import("../../core/di/internal-injector.js").InjectorService,
20
- ) => (name: any) => any)
21
+ ) => import("../../interface.ts").FilterFn)
21
22
  )[];
22
23
  }
23
- export namespace FilterProvider {
24
- let $inject: string[];
25
- }
@@ -1,4 +1,9 @@
1
- export function ParseProvider(): void;
1
+ export function constantWatchDelegate(
2
+ scope: any,
3
+ listener: any,
4
+ objectEquality: any,
5
+ parsedExpression: any,
6
+ ): any;
2
7
  export class ParseProvider {
3
8
  /**
4
9
  * Allows defining the set of characters that are allowed in AngularTS expressions. The function
@@ -26,9 +31,3 @@ export class ParseProvider {
26
31
  ) => ParseProvider;
27
32
  $get: (string | (($filter: (any: any) => any) => any))[];
28
33
  }
29
- export function constantWatchDelegate(
30
- scope: any,
31
- listener: any,
32
- objectEquality: any,
33
- parsedExpression: any,
34
- ): any;
@@ -1,4 +1,4 @@
1
- /** @typedef {import('../../interface.ts').ServiceProvider} ServiceProvider } */
1
+ /** @typedef {import('../../interface.ts').ServiceProvider} ServiceProvider */
2
2
  /**
3
3
  * Private service to sanitize uris for links and images. Used by $compile.
4
4
  * @implements {ServiceProvider}
@@ -33,11 +33,8 @@ export class SanitizeUriProvider implements ServiceProvider {
33
33
  regexp?: RegExp | undefined,
34
34
  ): RegExp | SanitizeUriProvider;
35
35
  /**
36
- * @returns {import("./interface.js").SanitizerFn} Sanitizer function.
36
+ * @returns {import("./interface").SanitizerFn}
37
37
  */
38
- $get(): import("./interface.js").SanitizerFn;
38
+ $get(): any;
39
39
  }
40
- /**
41
- * }
42
- */
43
40
  export type ServiceProvider = import("../../interface.ts").ServiceProvider;
@@ -25,7 +25,7 @@ export class RootScopeProvider {
25
25
  $get: (
26
26
  | string
27
27
  | ((
28
- exceptionHandler: import("../exception-handler.js").ErrorHandler,
28
+ exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
29
29
  parse: import("../parse/interface.ts").ParseService,
30
30
  ) => Scope)
31
31
  )[];
@@ -1,2 +1,8 @@
1
1
  export const REGEX_STRING_REGEXP: RegExp;
2
- export const ngAttributeAliasDirectives: {};
2
+ /**
3
+ * @type {Record<string, import("../../interface.js").DirectiveFactory>}
4
+ */
5
+ export const ngAttributeAliasDirectives: Record<
6
+ string,
7
+ import("../../interface.js").DirectiveFactory
8
+ >;
@@ -7,10 +7,11 @@ export function ngBindDirective(): import("../../interface.ts").Directive;
7
7
  */
8
8
  export function ngBindTemplateDirective(): import("../../interface.ts").Directive;
9
9
  /**
10
+ * @param {import('../../core/parse/interface.ts').ParseService} $parse
10
11
  * @returns {import('../../interface.ts').Directive}
11
12
  */
12
13
  export function ngBindHtmlDirective(
13
- $parse: any,
14
+ $parse: import("../../core/parse/interface.ts").ParseService,
14
15
  ): import("../../interface.ts").Directive;
15
16
  export namespace ngBindHtmlDirective {
16
17
  let $inject: string[];
@@ -1,15 +1,21 @@
1
1
  /**
2
2
  *
3
3
  * @param {import("../../core/parse/interface.ts").ParseService} $parse
4
- * @param {import('../../core/exception-handler.js').ErrorHandler} $exceptionHandler
4
+ * @param {import('../../services/exception/exception-handler.js').ErrorHandler} $exceptionHandler
5
5
  * @param {string} directiveName
6
6
  * @param {string} eventName
7
7
  * @returns {import("../../interface.ts").Directive}
8
8
  */
9
9
  export function createEventDirective(
10
10
  $parse: import("../../core/parse/interface.ts").ParseService,
11
- $exceptionHandler: import("../../core/exception-handler.js").ErrorHandler,
11
+ $exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
12
12
  directiveName: string,
13
13
  eventName: string,
14
14
  ): import("../../interface.ts").Directive;
15
- export const ngEventDirectives: {};
15
+ /**
16
+ * @type {Record<string, import("../../interface.js").DirectiveFactory>}
17
+ */
18
+ export const ngEventDirectives: Record<
19
+ string,
20
+ import("../../interface.js").DirectiveFactory
21
+ >;
@@ -12,14 +12,14 @@ export function getEventNameForElement(element: Element): EventType;
12
12
  * Handles DOM manipulation based on a swap strategy and server-rendered HTML.
13
13
  *
14
14
  * @param {string} html - The HTML string returned from the server.
15
- * @param {import("../../interface.ts").SwapInsertPosition} swap
15
+ * @param {import("../../interface.ts").SwapModeType} swap
16
16
  * @param {Element} target - The target DOM element to apply the swap to.
17
17
  * @param {import('../../core/scope/scope.js').Scope} scope
18
18
  * @param {import('../../core/compile/compile.js').CompileFn} $compile
19
19
  */
20
20
  export function handleSwapResponse(
21
21
  html: string,
22
- swap: import("../../interface.ts").SwapInsertPosition,
22
+ swap: import("../../interface.ts").SwapModeType,
23
23
  target: Element,
24
24
  scope: import("../../core/scope/scope.js").Scope,
25
25
  $compile: import("../../core/compile/compile.js").CompileFn,
@@ -35,8 +35,12 @@ export function createHttpDirective(
35
35
  method: "get" | "delete" | "post" | "put",
36
36
  attrName: string,
37
37
  ): import("../../interface.ts").DirectiveFactory;
38
+ /** @type {import('../../interface.ts').DirectiveFactory} */
38
39
  export const ngGetDirective: import("../../interface.ts").DirectiveFactory;
40
+ /** @type {import('../../interface.ts').DirectiveFactory} */
39
41
  export const ngDeleteDirective: import("../../interface.ts").DirectiveFactory;
42
+ /** @type {import('../../interface.ts').DirectiveFactory} */
40
43
  export const ngPostDirective: import("../../interface.ts").DirectiveFactory;
44
+ /** @type {import('../../interface.ts').DirectiveFactory} */
41
45
  export const ngPutDirective: import("../../interface.ts").DirectiveFactory;
42
46
  export type EventType = "click" | "change" | "submit";
@@ -3,14 +3,14 @@
3
3
  * @param {*} $templateRequest
4
4
  * @param {import("../../services/anchor-scroll.js").AnchorScrollFunction} $anchorScroll
5
5
  * @param {*} $animate
6
- * @param {import('../../core/error-handler.js').ErrorHandler} $exceptionHandler
6
+ * @param {import('../../services/exception/interface.ts').Interface} $exceptionHandler
7
7
  * @returns {import('../../interface.js').Directive}
8
8
  */
9
9
  export function ngIncludeDirective(
10
10
  $templateRequest: any,
11
11
  $anchorScroll: import("../../services/anchor-scroll.js").AnchorScrollFunction,
12
12
  $animate: any,
13
- $exceptionHandler: import("../../core/error-handler.js").ErrorHandler,
13
+ $exceptionHandler: import("../../services/exception/interface.ts").Interface,
14
14
  ): import("../../interface.js").Directive;
15
15
  export namespace ngIncludeDirective {
16
16
  let $inject: string[];
@@ -12,7 +12,6 @@ export function createDateInputType(
12
12
  element: any,
13
13
  attr: any,
14
14
  ctrl: any,
15
- $browser: any,
16
15
  $filter: any,
17
16
  $parse: any,
18
17
  ) => void;
@@ -36,7 +35,6 @@ export function numberInputType(
36
35
  element: any,
37
36
  attr: any,
38
37
  ctrl: any,
39
- $browser: any,
40
38
  $filter: any,
41
39
  $parse: any,
42
40
  ): void;
@@ -47,22 +45,14 @@ export function rangeInputType(
47
45
  ctrl: any,
48
46
  ): void;
49
47
  /**
50
- * @param {import('../../services/browser').Browser} $browser
51
48
  * @param {*} $filter
52
49
  * @param {*} $parse
53
- * @returns
50
+ * @returns {import('../../interface.ts').Directive}
54
51
  */
55
52
  export function inputDirective(
56
- $browser: any,
57
53
  $filter: any,
58
54
  $parse: any,
59
- ): {
60
- restrict: string;
61
- require: string[];
62
- link: {
63
- pre(scope: any, element: any, attr: any, ctrls: any): void;
64
- };
65
- };
55
+ ): import("../../interface.ts").Directive;
66
56
  export namespace inputDirective {
67
57
  let $inject: string[];
68
58
  }
@@ -18,54 +18,15 @@ export namespace ngMessagesIncludeDirective {
18
18
  let $inject_1: string[];
19
19
  export { $inject_1 as $inject };
20
20
  }
21
- export function ngMessageDirective($animate: any): {
22
- restrict: string;
23
- transclude: string;
24
- priority: number;
25
- terminal: boolean;
26
- require: string;
27
- link(
28
- scope: any,
29
- element: any,
30
- attrs: any,
31
- ngMessagesCtrl: any,
32
- $transclude: any,
33
- ): void;
34
- };
35
- export namespace ngMessageDirective {
36
- let $inject_2: string[];
37
- export { $inject_2 as $inject };
38
- }
39
- export function ngMessageExpDirective($animate: any): {
40
- restrict: string;
41
- transclude: string;
42
- priority: number;
43
- terminal: boolean;
44
- require: string;
45
- link(
46
- scope: any,
47
- element: any,
48
- attrs: any,
49
- ngMessagesCtrl: any,
50
- $transclude: any,
51
- ): void;
52
- };
53
- export namespace ngMessageExpDirective {}
54
- export function ngMessageDefaultDirective($animate: any): {
55
- restrict: string;
56
- transclude: string;
57
- priority: number;
58
- terminal: boolean;
59
- require: string;
60
- link(
61
- scope: any,
62
- element: any,
63
- attrs: any,
64
- ngMessagesCtrl: any,
65
- $transclude: any,
66
- ): void;
67
- };
68
- export namespace ngMessageDefaultDirective {}
21
+ export const ngMessageDirective: (
22
+ any: any,
23
+ ) => import("../../interface.js").Directive;
24
+ export const ngMessageExpDirective: (
25
+ any: any,
26
+ ) => import("../../interface.js").Directive;
27
+ export const ngMessageDefaultDirective: (
28
+ any: any,
29
+ ) => import("../../interface.js").Directive;
69
30
  declare class NgMessageCtrl {
70
31
  /**
71
32
  * @param {Element} $element
@@ -50,7 +50,7 @@ export class NgModelController {
50
50
  static $inject: string[];
51
51
  /**
52
52
  * @param {import('../../core/scope/scope.js').Scope} $scope
53
- * @param {import('../../core/exception-handler.js').ErrorHandler} $exceptionHandler
53
+ * @param {import('../../services/exception/exception-handler.js').ErrorHandler} $exceptionHandler
54
54
  * @param {import('../../core/compile/attributes.js').Attributes} $attr
55
55
  * @param {Element} $element
56
56
  * @param {import("../../core/parse/interface.ts").ParseService} $parse
@@ -59,7 +59,7 @@ export class NgModelController {
59
59
  */
60
60
  constructor(
61
61
  $scope: import("../../core/scope/scope.js").Scope,
62
- $exceptionHandler: import("../../core/exception-handler.js").ErrorHandler,
62
+ $exceptionHandler: import("../../services/exception/exception-handler.js").ErrorHandler,
63
63
  $attr: import("../../core/compile/attributes.js").Attributes,
64
64
  $element: Element,
65
65
  $parse: import("../../core/parse/interface.ts").ParseService,
@@ -141,7 +141,7 @@ export class NgModelController {
141
141
  $$element: Element;
142
142
  $$animate: any;
143
143
  $$parse: import("../../core/parse/interface.ts").ParseService;
144
- $$exceptionHandler: import("../../core/error-handler.ts").ErrorHandler;
144
+ $$exceptionHandler: import("../../services/exception/interface.ts").Interface;
145
145
  $$hasNativeValidators: boolean;
146
146
  $$classCache: {};
147
147
  $$eventRemovers: Set<any>;
@@ -1,20 +1,13 @@
1
- export const ngOptionsDirective: (
2
- | string
3
- | ((
4
- $compile: import("../../core/compile/compile.js").CompileFn,
5
- $parse: import("../../core/parse/interface.ts").ParseService,
6
- ) => {
7
- restrict: string;
8
- terminal: boolean;
9
- require: string[];
10
- link: {
11
- pre: (scope: any, selectElement: any, attr: any, ctrls: any) => void;
12
- post: (
13
- scope: import("../../core/scope/scope.js").Scope,
14
- selectElement: HTMLSelectElement,
15
- attr: import("../../core/compile/attributes.js").Attributes,
16
- ctrls: any,
17
- ) => void;
18
- };
19
- })
20
- )[];
1
+ /**
2
+ *
3
+ * @param {import("../../core/compile/compile.js").CompileFn} $compile
4
+ * @param {import("../../core/parse/interface.ts").ParseService} $parse
5
+ * @returns {import("../../interface.ts").Directive}
6
+ */
7
+ export function ngOptionsDirective(
8
+ $compile: import("../../core/compile/compile.js").CompileFn,
9
+ $parse: import("../../core/parse/interface.ts").ParseService,
10
+ ): import("../../interface.ts").Directive;
11
+ export namespace ngOptionsDirective {
12
+ let $inject: string[];
13
+ }
@@ -1,4 +1,5 @@
1
1
  /**
2
+ * @param {*} $animate
2
3
  * @returns {import('../../interface.ts').Directive}
3
4
  */
4
5
  export function ngSwitchDirective(
@@ -1,6 +1,10 @@
1
- export const ngTranscludeDirective: (
2
- | string
3
- | ((
4
- $compile: import("../../core/compile/compile.js").CompileFn,
5
- ) => import("../../interface.ts").Directive)
6
- )[];
1
+ /**
2
+ * @param {import("../../core/compile/compile.js").CompileFn} $compile
3
+ * @returns {import("../../interface.ts").Directive}
4
+ */
5
+ export function ngTranscludeDirective(
6
+ $compile: import("../../core/compile/compile.js").CompileFn,
7
+ ): import("../../interface.ts").Directive;
8
+ export namespace ngTranscludeDirective {
9
+ let $inject: string[];
10
+ }
package/@types/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
1
  export const angular: Angular;
2
- import { Angular } from "./loader.js";
2
+ import { Angular } from "./angular.js";
@@ -1,8 +1,11 @@
1
1
  import { Attributes } from "./core/compile/attributes.js";
2
2
  import { Scope } from "./core/scope/scope.js";
3
+ export * from "./core/di/ng-module.js";
3
4
  export * from "./services/http/interface.ts";
4
5
  export * from "./services/log/interface.ts";
5
6
  export * from "./services/log/log.js";
7
+ export * from "./services/location/interface.ts";
8
+ export * from "./services/location/location.js";
6
9
  export * from "./services/pubsub/pubsub.js";
7
10
  export * from "./services/template-cache/interface.ts";
8
11
  export * from "./services/template-cache/template-cache.js";
@@ -57,42 +60,58 @@ export interface ServiceProvider {
57
60
  * services, factories, constants, values, decorators, etc.
58
61
  */
59
62
  export interface Provider {
63
+ /**
64
+ * Register a directive
65
+ * @param name - The name of the directive.
66
+ * @param directive - An object with a `$get` property that defines how the service is created.
67
+ */
68
+ directive(name: string, directive: DirectiveFactory): Provider;
69
+ /**
70
+ * Register multiple directives
71
+ * @param obj
72
+ */
73
+ directive(obj: Record<string, DirectiveFactory>): Provider;
60
74
  /**
61
75
  * Register a service provider.
62
76
  * @param name - The name of the service.
63
77
  * @param provider - An object with a `$get` property that defines how the service is created.
64
78
  */
65
- provider(name: string, provider: ServiceProvider): ServiceProvider;
79
+ provider(name: string, provider: Function): Provider;
80
+ /**
81
+ * Register multiple service providers
82
+ * @param obj
83
+ */
84
+ provider(obj: Record<string, Function>): Provider;
66
85
  /**
67
86
  * Register a factory function to create a service.
68
87
  * @param name - The name of the service.
69
88
  * @param factoryFn - A function (or annotated array) that returns the service instance.
70
89
  */
71
- factory(name: string, factoryFn: Injectable): ServiceProvider;
90
+ factory(name: string, factoryFn: Injectable): Provider;
72
91
  /**
73
92
  * Register a constructor function to create a service.
74
93
  * @param name - The name of the service.
75
94
  * @param constructor - A class or function to instantiate.
76
95
  */
77
- service(name: string, constructor: Injectable): ServiceProvider;
96
+ service(name: string, constructor: Injectable): Provider;
78
97
  /**
79
98
  * Register a fixed value as a service.
80
99
  * @param name - The name of the service.
81
100
  * @param val - The value to use.
82
101
  */
83
- value(name: string, val: any): ServiceProvider;
102
+ value(name: string, val: any): Provider;
84
103
  /**
85
104
  * Register a constant value (available during config).
86
105
  * @param name - The name of the constant.
87
106
  * @param val - The constant value.
88
107
  */
89
- constant(name: string, val: any): void;
108
+ constant(name: string, val: any): Provider;
90
109
  /**
91
110
  * Register a decorator function to modify or replace an existing service.
92
111
  * @param name - The name of the service to decorate.
93
112
  * @param fn - A function that takes `$delegate` and returns a decorated service.
94
113
  */
95
- decorator(name: string, fn: Injectable): void;
114
+ decorator(name: string, fn: Function): Provider;
96
115
  }
97
116
  /**
98
117
  * A filter function takes an input and optional arguments, and returns a transformed value.
@@ -226,14 +245,16 @@ export interface Directive {
226
245
  /** Template URL for loading from server */
227
246
  templateUrl?: string | ((element: Element, attrs: Attributes) => string);
228
247
  /** Enables transclusion or configures named slots */
229
- transclude?: boolean | "element" | Record<string, string>;
248
+ transclude?: boolean | string | Record<string, string>;
230
249
  /** Internal hook for directive compilation state */
231
250
  $$addStateInfo?: (...args: any[]) => any;
251
+ count?: number;
232
252
  }
233
- /**
234
- * A factory function returning a directive definition.
235
- */
236
- export type DirectiveFactory = (...args: any[]) => Directive | DirectiveLinkFn;
253
+ export type DirectiveFactoryFn = (
254
+ ...args: any[]
255
+ ) => Directive | DirectiveLinkFn;
256
+ export type AnnotatedDirectiveFactory = Array<string | DirectiveFactoryFn>;
257
+ export type DirectiveFactory = DirectiveFactoryFn | AnnotatedDirectiveFactory;
237
258
  /**
238
259
  * Represents advanced transclusion functions used in directives.
239
260
  */
@@ -316,10 +337,27 @@ export interface NgModelController {
316
337
  /**
317
338
  * Possible values for `data-swap` attribute
318
339
  */
319
- export type SwapInsertPosition =
320
- | InsertPosition
321
- | "textContent"
322
- | "innerHTML"
323
- | "outerHTML"
324
- | "delete"
325
- | "none";
340
+ export declare const SwapMode: {
341
+ /** (default) Replaces the contents inside the element */
342
+ readonly innerHTML: "innerHTML";
343
+ /** Replaces the entire element, including the tag itself */
344
+ readonly outerHTML: "outerHTML";
345
+ /** Inserts plain text (without parsing HTML) */
346
+ readonly textContent: "textContent";
347
+ /** Inserts HTML immediately before the element itself */
348
+ readonly beforebegin: "beforebegin";
349
+ /** Inserts HTML inside the element, before its first child */
350
+ readonly afterbegin: "afterbegin";
351
+ /** Inserts HTML inside the element, after its last child */
352
+ readonly beforeend: "beforeend";
353
+ /** Inserts HTML immediately after the element itself */
354
+ readonly afterend: "afterend";
355
+ /** Removes the element entirely */
356
+ readonly delete: "delete";
357
+ /** Performs no insertion (no-op) */
358
+ readonly none: "none";
359
+ };
360
+ /**
361
+ * Union type representing all possible DOM insertion modes.
362
+ */
363
+ export type SwapModeType = keyof typeof SwapMode;
@@ -1,8 +1,8 @@
1
1
  /**
2
2
  * Initializes core `ng` module.
3
- * @param {import('./loader.js').Angular} angular
3
+ * @param {import('./angular.js').Angular} angular
4
4
  * @returns {import('./core/di/ng-module.js').NgModule} `ng` module
5
5
  */
6
6
  export function registerNgModule(
7
- angular: import("./loader.js").Angular,
7
+ angular: import("./angular.js").Angular,
8
8
  ): import("./core/di/ng-module.js").NgModule;
@@ -134,22 +134,5 @@ export namespace $ViewDirectiveFill {
134
134
  * });
135
135
  * ```
136
136
  */
137
- export let ngView: (
138
- | string
139
- | ((
140
- $view: any,
141
- $animate: any,
142
- $ngViewScroll: any,
143
- $interpolate: any,
144
- ) => {
145
- count: number;
146
- terminal: boolean;
147
- priority: number;
148
- transclude: string;
149
- compile: (
150
- _tElement: any,
151
- _tAttrs: any,
152
- $transclude: any,
153
- ) => (scope: any, $element: any, attrs: any) => void;
154
- })
155
- )[];
137
+ /** @type {import("../../interface.js").AnnotatedDirectiveFactory} */
138
+ export let ngView: import("../../interface.js").AnnotatedDirectiveFactory;