@angular-wave/angular.ts 0.7.0-beta.1 → 0.7.1

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 (927) hide show
  1. package/.github/workflows/ci.yml +58 -14
  2. package/.github/workflows/gh-pages.yml +75 -0
  3. package/@types/animations/animate.d.ts +11 -4
  4. package/@types/core/compile/attributes.d.ts +5 -2
  5. package/@types/core/compile/compile.d.ts +6 -6
  6. package/@types/core/di/injector.d.ts +1 -2
  7. package/@types/core/di/internal-injector.d.ts +10 -7
  8. package/@types/core/di/ng-module.d.ts +0 -1
  9. package/@types/core/error-handler.d.ts +1 -1
  10. package/@types/core/exception-handler.d.ts +1 -1
  11. package/@types/core/parse/interface.d.ts +3 -3
  12. package/@types/core/pubsub/pubsub.d.ts +21 -0
  13. package/@types/core/sce/sce.d.ts +2 -5
  14. package/@types/core/scope/scope.d.ts +23 -36
  15. package/@types/core/task-tracker-factory.d.ts +10 -5
  16. package/@types/directive/aria/aria.d.ts +4 -1
  17. package/@types/directive/include/include.d.ts +4 -18
  18. package/@types/directive/options/options.d.ts +1 -1
  19. package/@types/injection-tokens.d.ts +20 -0
  20. package/@types/interface.d.ts +4 -4
  21. package/@types/loader.d.ts +1 -0
  22. package/@types/public.d.ts +2 -2
  23. package/@types/router/directives/view-directive.d.ts +0 -2
  24. package/@types/router/params/param.d.ts +1 -1
  25. package/@types/router/state/interface.d.ts +3 -3
  26. package/@types/router/state/state-builder.d.ts +9 -2
  27. package/@types/router/transition/transition-service.d.ts +1 -0
  28. package/@types/services/anchor-scroll.d.ts +0 -1
  29. package/@types/shared/utils.d.ts +4 -14
  30. package/README.md +7 -9
  31. package/dist/angular-ts.esm.js +440 -304
  32. package/dist/angular-ts.umd.js +444 -309
  33. package/dist/angular-ts.umd.min.js +1 -1
  34. package/docs/.cspell.yml +2 -2
  35. package/docs/.github/dependabot.yml +12 -12
  36. package/docs/README.md +10 -7
  37. package/docs/assets/icons/logo.svg +1 -0
  38. package/docs/assets/scss/_variables_project.scss +1 -0
  39. package/docs/content/en/_index.md +5 -64
  40. package/docs/content/en/docs/_index.md +3 -4
  41. package/docs/docker-compose.yaml +1 -0
  42. package/docs/go.mod +1 -1
  43. package/docs/go.sum +6 -6
  44. package/docs/hugo-disabled.toml +6 -7
  45. package/docs/hugo.yaml +45 -64
  46. package/docs/layouts/404.html +2 -8
  47. package/docs/layouts/_markup/render-heading.html +1 -0
  48. package/docs/package-lock.json +2293 -0
  49. package/docs/package.json +18 -7
  50. package/index.html +1 -1
  51. package/package.json +1 -1
  52. package/src/animations/animate-children-directive.js +2 -1
  53. package/src/animations/animate-css.js +2 -2
  54. package/src/animations/animate-runner.js +3 -3
  55. package/src/animations/animate-swap.js +16 -19
  56. package/src/animations/animate.js +3 -1
  57. package/src/animations/shared.js +1 -1
  58. package/src/core/compile/attributes.js +4 -1
  59. package/src/core/compile/compile.js +29 -24
  60. package/src/core/compile/compile.spec.js +368 -371
  61. package/src/core/controller/controller.spec.js +27 -20
  62. package/src/core/di/injector.js +2 -5
  63. package/src/core/di/internal-injector.js +2 -0
  64. package/src/core/di/ng-module.js +19 -7
  65. package/src/core/di/ng-module.spec.js +16 -16
  66. package/src/core/error-handler.ts +1 -1
  67. package/src/core/exception-handler.js +1 -1
  68. package/src/core/filter/filter.js +0 -1
  69. package/src/core/parse/ast/ast.spec.js +1 -9
  70. package/src/core/parse/interface.ts +3 -3
  71. package/src/core/parse/parse.js +6 -6
  72. package/src/core/pubsub/pubsub.js +20 -0
  73. package/src/core/pubsub/pubsub.spec.js +14 -1
  74. package/src/core/sanitize/sanitize-uri.js +1 -0
  75. package/src/core/sce/sce.js +7 -15
  76. package/src/core/scope/scope.js +114 -117
  77. package/src/core/scope/scope.spec.js +11 -11
  78. package/src/core/task-tracker-factory.js +7 -0
  79. package/src/directive/aria/aria.js +11 -10
  80. package/src/directive/attrs/attrs.js +2 -1
  81. package/src/directive/bind/bind.js +2 -3
  82. package/src/directive/channel/channel.js +0 -1
  83. package/src/directive/class/class.js +0 -1
  84. package/src/directive/cloak/cloak.js +0 -1
  85. package/src/directive/include/include.js +22 -11
  86. package/src/directive/include/include.spec.js +1 -0
  87. package/src/directive/input/input-example.html +15 -0
  88. package/src/directive/input/input.js +8 -2
  89. package/src/directive/input/input.spec.js +12 -14
  90. package/src/directive/messages/messages.js +2 -2
  91. package/src/directive/non-bindable/non-bindable.js +0 -1
  92. package/src/directive/observe/test.html +1 -1
  93. package/src/directive/options/options-example.html +13 -0
  94. package/src/directive/options/options.js +33 -21
  95. package/src/directive/options/options.spec.js +207 -146
  96. package/src/directive/repeat/repeat.js +8 -7
  97. package/src/directive/select/select.spec.js +1 -1
  98. package/src/directive/setter/setter.js +1 -1
  99. package/src/directive/setter/setter.spec.js +5 -4
  100. package/src/directive/style/style.spec.js +1 -1
  101. package/src/directive/switch/switch.js +1 -2
  102. package/src/directive/transclude/transclude.js +0 -1
  103. package/src/directive/validators/validators.js +5 -5
  104. package/src/examples/counter.html +20 -0
  105. package/src/filters/order-by.js +2 -1
  106. package/src/filters/order-by.spec.js +4 -4
  107. package/src/index.spec.js +11 -0
  108. package/src/injection-tokens.js +71 -0
  109. package/src/interface.ts +4 -4
  110. package/src/loader.js +2 -0
  111. package/src/public.js +10 -3
  112. package/src/public.spec.js +1 -0
  113. package/src/router/directives/state-directives.js +1 -1
  114. package/src/router/directives/state-directives.spec.js +0 -2
  115. package/src/router/directives/view-directive.js +1 -2
  116. package/src/router/params/param.js +1 -1
  117. package/src/router/state/interface.ts +3 -3
  118. package/src/router/state/state-builder.js +4 -0
  119. package/src/router/state/state-builder.spec.js +21 -15
  120. package/src/router/state/state-registry.js +7 -6
  121. package/src/router/template-factory.spec.js +15 -9
  122. package/src/router/transition/transition-service.js +1 -0
  123. package/src/router/view/view.spec.js +1 -1
  124. package/src/router/view-scroll.spec.js +3 -4
  125. package/src/services/anchor-scroll.html +1 -1
  126. package/src/services/anchor-scroll.js +0 -4
  127. package/src/services/template-request.js +11 -7
  128. package/src/shared/noderef.js +1 -3
  129. package/src/shared/utils.js +5 -22
  130. package/src/src.html +2 -1
  131. package/typedoc/assets/hierarchy.js +1 -1
  132. package/typedoc/assets/navigation.js +1 -1
  133. package/typedoc/assets/search.js +1 -1
  134. package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +4 -40
  135. package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +4 -58
  136. package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +4 -40
  137. package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +4 -58
  138. package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +4 -58
  139. package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +4 -69
  140. package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +4 -40
  141. package/typedoc/classes/animations_animate-runner.AnimateRunner.html +4 -263
  142. package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +4 -40
  143. package/typedoc/classes/animations_animate.AnimateProvider.html +42 -108
  144. package/typedoc/classes/animations_animation.AnimationProvider.html +4 -51
  145. package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +4 -115
  146. package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +4 -29
  147. package/typedoc/classes/core_compile_attributes.Attributes.html +19 -227
  148. package/typedoc/classes/core_compile_compile.CompileProvider.html +52 -137
  149. package/typedoc/classes/core_controller_controller.ControllerProvider.html +4 -73
  150. package/typedoc/classes/core_di_internal-injector.InjectorService.html +7 -141
  151. package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +7 -119
  152. package/typedoc/classes/core_di_ng-module.NgModule.html +4 -256
  153. package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +4 -69
  154. package/typedoc/classes/core_filter_filter.FilterProvider.html +4 -69
  155. package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +4 -84
  156. package/typedoc/classes/core_location_location.Location.html +5 -387
  157. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +5 -340
  158. package/typedoc/classes/core_location_location.LocationHtml5Url.html +5 -340
  159. package/typedoc/classes/core_location_location.LocationProvider.html +4 -113
  160. package/typedoc/classes/core_parse_ast_ast.AST.html +4 -359
  161. package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +4 -315
  162. package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +4 -238
  163. package/typedoc/classes/core_parse_parse.ParseProvider.html +4 -51
  164. package/typedoc/classes/core_parse_parser_parser.Parser.html +4 -73
  165. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +4 -146
  166. package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +576 -0
  167. package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +4 -62
  168. package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +4 -73
  169. package/typedoc/classes/core_sce_sce.SceProvider.html +10 -63
  170. package/typedoc/classes/core_scope_scope.RootScopeProvider.html +4 -51
  171. package/typedoc/classes/core_scope_scope.Scope.html +49 -1280
  172. package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +4 -84
  173. package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +23 -128
  174. package/typedoc/classes/directive_aria_aria.AriaProvider.html +4 -51
  175. package/typedoc/classes/directive_form_form.FormController.html +4 -429
  176. package/typedoc/classes/directive_model_model.NgModelController.html +4 -983
  177. package/typedoc/classes/loader.Angular.html +46 -179
  178. package/typedoc/classes/router_common_glob.Glob.html +4 -84
  179. package/typedoc/classes/router_common_queue.Queue.html +4 -161
  180. package/typedoc/classes/router_common_trace.Trace.html +4 -249
  181. package/typedoc/classes/router_globals.RouterGlobals.html +4 -117
  182. package/typedoc/classes/router_params_param-factory.ParamFactory.html +4 -73
  183. package/typedoc/classes/router_params_param-type.ParamType.html +4 -150
  184. package/typedoc/classes/router_params_param-types.ParamTypes.html +4 -95
  185. package/typedoc/classes/router_params_param.Param.html +4 -260
  186. package/typedoc/classes/router_params_state-params.StateParams.html +4 -40
  187. package/typedoc/classes/router_path_path-node.PathNode.html +4 -174
  188. package/typedoc/classes/router_path_path-utils.PathUtils.html +4 -128
  189. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -256
  190. package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +4 -150
  191. package/typedoc/classes/router_state-provider.StateProvider.html +4 -84
  192. package/typedoc/classes/router_state_state-builder.StateBuilder.html +4 -106
  193. package/typedoc/classes/router_state_state-matcher.StateMatcher.html +4 -73
  194. package/typedoc/classes/router_state_state-object.StateObject.html +4 -230
  195. package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +4 -128
  196. package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +5 -246
  197. package/typedoc/classes/router_state_state-service.StateProvider.html +4 -322
  198. package/typedoc/classes/router_state_target-state.TargetState.html +4 -252
  199. package/typedoc/classes/router_state_views.ViewConfig.html +4 -161
  200. package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +4 -179
  201. package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +4 -73
  202. package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +4 -201
  203. package/typedoc/classes/router_transition_reject-factory.Rejection.html +4 -183
  204. package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +4 -117
  205. package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +4 -280
  206. package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +5 -238
  207. package/typedoc/classes/router_transition_transition.Transition.html +4 -648
  208. package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +4 -149
  209. package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +4 -274
  210. package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +4 -95
  211. package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +4 -124
  212. package/typedoc/classes/router_url_url-rules.UrlRules.html +4 -222
  213. package/typedoc/classes/router_url_url-service.UrlService.html +4 -373
  214. package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +4 -69
  215. package/typedoc/classes/router_view_view.ViewService.html +4 -223
  216. package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +4 -164
  217. package/typedoc/classes/services_browser.Browser.html +4 -276
  218. package/typedoc/classes/services_browser.BrowserProvider.html +4 -29
  219. package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +4 -40
  220. package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +4 -40
  221. package/typedoc/classes/services_http_http.HttpProvider.html +4 -84
  222. package/typedoc/classes/services_log.LogProvider.html +4 -91
  223. package/typedoc/classes/services_template-request.TemplateRequestProvider.html +4 -51
  224. package/typedoc/classes/shared_noderef.NodeRef.html +4 -301
  225. package/typedoc/enums/core_parse_ast-type.ASTType.html +4 -212
  226. package/typedoc/enums/router_common_trace.Category.html +4 -80
  227. package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +4 -73
  228. package/typedoc/enums/router_transition_interface.TransitionHookScope.html +4 -40
  229. package/typedoc/enums/router_transition_reject-factory.RejectType.html +4 -80
  230. package/typedoc/functions/animations_animate-cache.animateCache.html +4 -84
  231. package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +4 -29
  232. package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +4 -29
  233. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +4 -18
  234. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +4 -18
  235. package/typedoc/functions/animations_shared.applyAnimationStyles.html +4 -18
  236. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +4 -18
  237. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +4 -18
  238. package/typedoc/functions/animations_shared.applyInlineStyle.html +4 -18
  239. package/typedoc/functions/animations_shared.assertArg.html +4 -18
  240. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +4 -18
  241. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +4 -18
  242. package/typedoc/functions/animations_shared.concatWithSpace.html +4 -18
  243. package/typedoc/functions/animations_shared.extractElementNode.html +4 -18
  244. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +4 -18
  245. package/typedoc/functions/animations_shared.mergeClasses.html +4 -18
  246. package/typedoc/functions/animations_shared.packageStyles.html +4 -18
  247. package/typedoc/functions/animations_shared.pendClasses.html +4 -18
  248. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +4 -18
  249. package/typedoc/functions/animations_shared.removeFromArray.html +4 -18
  250. package/typedoc/functions/animations_shared.resolveElementClasses.html +4 -18
  251. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +4 -18
  252. package/typedoc/functions/core_controller_controller.identifierForController.html +4 -18
  253. package/typedoc/functions/core_di_injector.annotate.html +4 -18
  254. package/typedoc/functions/core_di_injector.createInjector.html +4 -18
  255. package/typedoc/functions/core_location_location.serverBase.html +4 -18
  256. package/typedoc/functions/core_location_location.stripBaseUrl.html +4 -18
  257. package/typedoc/functions/core_location_location.stripFile.html +4 -18
  258. package/typedoc/functions/core_location_location.stripHash.html +4 -18
  259. package/typedoc/functions/core_parse_interpreter.isAssignable.html +4 -18
  260. package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +4 -18
  261. package/typedoc/functions/core_sce_sce.adjustMatcher.html +4 -18
  262. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +4 -18
  263. package/typedoc/functions/core_scope_scope.createScope.html +4 -18
  264. package/typedoc/functions/core_scope_scope.nextId.html +4 -18
  265. package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +4 -18
  266. package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +4 -18
  267. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +4 -18
  268. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +4 -18
  269. package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +4 -18
  270. package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +4 -18
  271. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +4 -29
  272. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +6 -31
  273. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +4 -29
  274. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +4 -29
  275. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +4 -29
  276. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +4 -18
  277. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +4 -29
  278. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +4 -29
  279. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +4 -29
  280. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +4 -29
  281. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +4 -29
  282. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +4 -18
  283. package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +4 -29
  284. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +4 -18
  285. package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +4 -18
  286. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +4 -18
  287. package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +4 -18
  288. package/typedoc/functions/directive_events_events.createEventDirective.html +4 -18
  289. package/typedoc/functions/directive_form_form.setupValidity.html +4 -18
  290. package/typedoc/functions/directive_if_if.ngIfDirective.html +4 -29
  291. package/typedoc/functions/directive_include_include.ngIncludeDirective.html +33 -178
  292. package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +4 -29
  293. package/typedoc/functions/directive_init_init.ngInitDirective.html +4 -18
  294. package/typedoc/functions/directive_input_input.badInputChecker.html +4 -18
  295. package/typedoc/functions/directive_input_input.countDecimals.html +4 -18
  296. package/typedoc/functions/directive_input_input.createDateInputType.html +4 -18
  297. package/typedoc/functions/directive_input_input.createDateParser.html +4 -18
  298. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +4 -18
  299. package/typedoc/functions/directive_input_input.inputDirective.html +4 -29
  300. package/typedoc/functions/directive_input_input.isNumberInteger.html +4 -18
  301. package/typedoc/functions/directive_input_input.isValidForStep.html +4 -18
  302. package/typedoc/functions/directive_input_input.ngValueDirective.html +4 -18
  303. package/typedoc/functions/directive_input_input.numberFormatterParser.html +4 -18
  304. package/typedoc/functions/directive_input_input.numberInputType.html +4 -18
  305. package/typedoc/functions/directive_input_input.rangeInputType.html +4 -18
  306. package/typedoc/functions/directive_input_input.weekParser.html +4 -18
  307. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +4 -29
  308. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +4 -29
  309. package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +4 -18
  310. package/typedoc/functions/directive_model_model.ngModelDirective.html +4 -18
  311. package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +4 -18
  312. package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +4 -18
  313. package/typedoc/functions/directive_ref_ref.ngRefDirective.html +4 -29
  314. package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +4 -29
  315. package/typedoc/functions/directive_script_script.scriptDirective.html +4 -29
  316. package/typedoc/functions/directive_select_select.optionDirective.html +4 -29
  317. package/typedoc/functions/directive_select_select.selectDirective.html +4 -18
  318. package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +4 -29
  319. package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +4 -29
  320. package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +4 -29
  321. package/typedoc/functions/directive_style_style.ngStyleDirective.html +4 -18
  322. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +4 -18
  323. package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +4 -29
  324. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +4 -18
  325. package/typedoc/functions/filters_filter.filterFilter.html +4 -18
  326. package/typedoc/functions/filters_filters.formatNumber.html +4 -18
  327. package/typedoc/functions/filters_filters.jsonFilter.html +4 -18
  328. package/typedoc/functions/filters_limit-to.limitToFilter.html +4 -18
  329. package/typedoc/functions/filters_order-by.orderByFilter.html +4 -29
  330. package/typedoc/functions/public.publishExternalAPI.html +6 -24
  331. package/typedoc/functions/router_common_glob.hasGlobs.html +4 -18
  332. package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +4 -29
  333. package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +4 -29
  334. package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +4 -29
  335. package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +4 -39
  336. package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +4 -18
  337. package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +4 -18
  338. package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +4 -18
  339. package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +4 -18
  340. package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +4 -18
  341. package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +4 -18
  342. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +4 -18
  343. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +4 -18
  344. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +4 -18
  345. package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +4 -18
  346. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +4 -18
  347. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +4 -18
  348. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +4 -18
  349. package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +4 -18
  350. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +4 -18
  351. package/typedoc/functions/router_hooks_views.registerActivateViews.html +4 -18
  352. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +4 -18
  353. package/typedoc/functions/router_path_path-utils.makeTargetState.html +4 -18
  354. package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +4 -29
  355. package/typedoc/functions/router_state-filters._IsStateFilter.html +4 -29
  356. package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +4 -18
  357. package/typedoc/functions/router_state_state-registry.getLocals.html +4 -18
  358. package/typedoc/functions/router_state_views.getViewConfigFactory.html +4 -18
  359. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +4 -18
  360. package/typedoc/functions/router_transition_hook-registry.makeEvent.html +4 -18
  361. package/typedoc/functions/router_transition_hook-registry.matchState.html +4 -18
  362. package/typedoc/functions/services_browser.trimEmptyHash.html +4 -18
  363. package/typedoc/functions/services_cookie-reader.getCookies.html +4 -18
  364. package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +4 -18
  365. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +4 -18
  366. package/typedoc/functions/shared_common._removeFrom.html +4 -18
  367. package/typedoc/functions/shared_common.allTrueR.html +4 -18
  368. package/typedoc/functions/shared_common.ancestors.html +4 -18
  369. package/typedoc/functions/shared_common.anyTrueR.html +4 -18
  370. package/typedoc/functions/shared_common.applyPairs.html +4 -18
  371. package/typedoc/functions/shared_common.arrayTuples.html +4 -18
  372. package/typedoc/functions/shared_common.assertFn.html +4 -18
  373. package/typedoc/functions/shared_common.copy.html +4 -18
  374. package/typedoc/functions/shared_common.createProxyFunctions.html +4 -18
  375. package/typedoc/functions/shared_common.defaults.html +4 -18
  376. package/typedoc/functions/shared_common.deregAll.html +4 -18
  377. package/typedoc/functions/shared_common.equals.html +4 -18
  378. package/typedoc/functions/shared_common.filter.html +4 -18
  379. package/typedoc/functions/shared_common.find.html +4 -18
  380. package/typedoc/functions/shared_common.flatten.html +4 -18
  381. package/typedoc/functions/shared_common.flattenR.html +4 -18
  382. package/typedoc/functions/shared_common.inherit.html +4 -18
  383. package/typedoc/functions/shared_common.map.html +4 -18
  384. package/typedoc/functions/shared_common.omit.html +4 -18
  385. package/typedoc/functions/shared_common.pairs.html +4 -18
  386. package/typedoc/functions/shared_common.pick.html +4 -18
  387. package/typedoc/functions/shared_common.pushR.html +4 -18
  388. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +4 -18
  389. package/typedoc/functions/shared_common.silentRejection.html +4 -18
  390. package/typedoc/functions/shared_common.tail.html +4 -18
  391. package/typedoc/functions/shared_common.uniqR.html +4 -18
  392. package/typedoc/functions/shared_common.unnest.html +4 -18
  393. package/typedoc/functions/shared_common.unnestR.html +4 -18
  394. package/typedoc/functions/shared_dom.appendNodesToElement.html +4 -18
  395. package/typedoc/functions/shared_dom.buildFragment.html +4 -18
  396. package/typedoc/functions/shared_dom.cleanElementData.html +4 -18
  397. package/typedoc/functions/shared_dom.createElementFromHTML.html +4 -18
  398. package/typedoc/functions/shared_dom.createNodelistFromHTML.html +4 -18
  399. package/typedoc/functions/shared_dom.dealoc.html +4 -18
  400. package/typedoc/functions/shared_dom.deleteCacheData.html +4 -18
  401. package/typedoc/functions/shared_dom.domInsert.html +4 -18
  402. package/typedoc/functions/shared_dom.emptyElement.html +4 -18
  403. package/typedoc/functions/shared_dom.getBlockNodes.html +4 -18
  404. package/typedoc/functions/shared_dom.getBooleanAttrName.html +4 -18
  405. package/typedoc/functions/shared_dom.getCacheData.html +4 -18
  406. package/typedoc/functions/shared_dom.getController.html +4 -18
  407. package/typedoc/functions/shared_dom.getExpando.html +4 -18
  408. package/typedoc/functions/shared_dom.getInheritedData.html +4 -18
  409. package/typedoc/functions/shared_dom.getInjector.html +4 -18
  410. package/typedoc/functions/shared_dom.getIsolateScope.html +4 -18
  411. package/typedoc/functions/shared_dom.getOrSetCacheData.html +4 -18
  412. package/typedoc/functions/shared_dom.getScope.html +4 -18
  413. package/typedoc/functions/shared_dom.isRoot.html +4 -18
  414. package/typedoc/functions/shared_dom.isTextNode.html +4 -18
  415. package/typedoc/functions/shared_dom.kebabToCamel.html +4 -18
  416. package/typedoc/functions/shared_dom.parseHtml.html +4 -18
  417. package/typedoc/functions/shared_dom.removeElement.html +4 -18
  418. package/typedoc/functions/shared_dom.removeElementData.html +4 -18
  419. package/typedoc/functions/shared_dom.setCacheData.html +4 -18
  420. package/typedoc/functions/shared_dom.setInheritedData.html +4 -18
  421. package/typedoc/functions/shared_dom.setIsolateScope.html +4 -18
  422. package/typedoc/functions/shared_dom.setScope.html +4 -18
  423. package/typedoc/functions/shared_dom.snakeToCamel.html +4 -18
  424. package/typedoc/functions/shared_dom.startingTag.html +4 -18
  425. package/typedoc/functions/shared_hof.all.html +4 -18
  426. package/typedoc/functions/shared_hof.compose.html +4 -18
  427. package/typedoc/functions/shared_hof.curry.html +4 -18
  428. package/typedoc/functions/shared_hof.is.html +4 -18
  429. package/typedoc/functions/shared_hof.or.html +4 -18
  430. package/typedoc/functions/shared_hof.parse.html +4 -18
  431. package/typedoc/functions/shared_hof.pattern.html +4 -18
  432. package/typedoc/functions/shared_hof.pipe.html +4 -18
  433. package/typedoc/functions/shared_hof.val.html +4 -18
  434. package/typedoc/functions/shared_predicates.isInjectable.html +4 -18
  435. package/typedoc/functions/shared_predicates.isPromise.html +4 -18
  436. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +4 -18
  437. package/typedoc/functions/shared_strings.fnToString.html +4 -18
  438. package/typedoc/functions/shared_strings.functionToString.html +4 -18
  439. package/typedoc/functions/shared_strings.joinNeighborsR.html +4 -18
  440. package/typedoc/functions/shared_strings.kebobString.html +4 -18
  441. package/typedoc/functions/shared_strings.maxLength.html +4 -18
  442. package/typedoc/functions/shared_strings.padString.html +4 -18
  443. package/typedoc/functions/shared_strings.splitOnDelim.html +4 -18
  444. package/typedoc/functions/shared_strings.stringify.html +4 -18
  445. package/typedoc/functions/shared_strings.stripLastPathElement.html +4 -18
  446. package/typedoc/functions/shared_strings.trimHashVal.html +4 -18
  447. package/typedoc/functions/shared_test-utils.bootstrap.html +4 -18
  448. package/typedoc/functions/shared_test-utils.browserTrigger.html +4 -18
  449. package/typedoc/functions/shared_test-utils.wait.html +4 -18
  450. package/typedoc/functions/shared_utils.addDateMinutes.html +4 -18
  451. package/typedoc/functions/shared_utils.arrayRemove.html +4 -18
  452. package/typedoc/functions/shared_utils.assert.html +4 -18
  453. package/typedoc/functions/shared_utils.assertArg.html +4 -18
  454. package/typedoc/functions/shared_utils.assertArgFn.html +4 -18
  455. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -18
  456. package/typedoc/functions/shared_utils.baseExtend.html +4 -18
  457. package/typedoc/functions/shared_utils.bind.html +4 -18
  458. package/typedoc/functions/shared_utils.concat.html +4 -18
  459. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +4 -18
  460. package/typedoc/functions/shared_utils.csp.html +4 -18
  461. package/typedoc/functions/shared_utils.directiveNormalize.html +4 -18
  462. package/typedoc/functions/shared_utils.encodeUriQuery.html +4 -18
  463. package/typedoc/functions/shared_utils.encodeUriSegment.html +4 -18
  464. package/typedoc/functions/shared_utils.equals.html +4 -18
  465. package/typedoc/functions/shared_utils.errorHandlingConfig.html +4 -18
  466. package/typedoc/functions/shared_utils.extend.html +4 -18
  467. package/typedoc/functions/shared_utils.fromJson.html +4 -18
  468. package/typedoc/functions/shared_utils.getNgAttribute.html +4 -18
  469. package/typedoc/functions/shared_utils.getNodeName.html +4 -18
  470. package/typedoc/functions/shared_utils.hasAnimate.html +4 -18
  471. package/typedoc/functions/shared_utils.hasCustomToString.html +4 -18
  472. package/typedoc/functions/shared_utils.hasOwn.html +4 -18
  473. package/typedoc/functions/shared_utils.hashKey.html +4 -18
  474. package/typedoc/functions/shared_utils.includes.html +4 -18
  475. package/typedoc/functions/shared_utils.inherit.html +4 -18
  476. package/typedoc/functions/shared_utils.isArrayBuffer.html +4 -18
  477. package/typedoc/functions/shared_utils.isArrayLike.html +7 -18
  478. package/typedoc/functions/shared_utils.isBlankObject.html +8 -18
  479. package/typedoc/functions/shared_utils.isBlob.html +4 -18
  480. package/typedoc/functions/shared_utils.isBoolean.html +4 -18
  481. package/typedoc/functions/shared_utils.isDate.html +4 -18
  482. package/typedoc/functions/shared_utils.isDefined.html +4 -18
  483. package/typedoc/functions/shared_utils.isElement.html +4 -18
  484. package/typedoc/functions/shared_utils.isError.html +4 -18
  485. package/typedoc/functions/shared_utils.isFile.html +4 -18
  486. package/typedoc/functions/shared_utils.isFormData.html +4 -18
  487. package/typedoc/functions/shared_utils.isFunction.html +4 -18
  488. package/typedoc/functions/shared_utils.isNull.html +4 -18
  489. package/typedoc/functions/shared_utils.isNullOrUndefined.html +4 -18
  490. package/typedoc/functions/shared_utils.isNumber.html +4 -18
  491. package/typedoc/functions/shared_utils.isNumberNaN.html +4 -18
  492. package/typedoc/functions/shared_utils.isObject.html +4 -18
  493. package/typedoc/functions/shared_utils.isObjectEmpty.html +4 -18
  494. package/typedoc/functions/shared_utils.isPromiseLike.html +4 -18
  495. package/typedoc/functions/shared_utils.isProxy.html +4 -18
  496. package/typedoc/functions/shared_utils.isRegExp.html +4 -18
  497. package/typedoc/functions/shared_utils.isScope.html +4 -18
  498. package/typedoc/functions/shared_utils.isString.html +4 -18
  499. package/typedoc/functions/shared_utils.isTypedArray.html +4 -18
  500. package/typedoc/functions/shared_utils.isUndefined.html +4 -18
  501. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +4 -18
  502. package/typedoc/functions/shared_utils.isWindow.html +4 -18
  503. package/typedoc/functions/shared_utils.lowercase.html +4 -18
  504. package/typedoc/functions/shared_utils.mergeClasses.html +4 -18
  505. package/typedoc/functions/shared_utils.minErr.html +4 -18
  506. package/typedoc/functions/shared_utils.nextUid.html +4 -18
  507. package/typedoc/functions/shared_utils.parseKeyValue.html +4 -18
  508. package/typedoc/functions/shared_utils.setHashKey.html +4 -18
  509. package/typedoc/functions/shared_utils.shallowCopy.html +4 -18
  510. package/typedoc/functions/shared_utils.simpleCompare.html +4 -18
  511. package/typedoc/functions/shared_utils.sliceArgs.html +4 -18
  512. package/typedoc/functions/shared_utils.snakeCase.html +4 -18
  513. package/typedoc/functions/shared_utils.stringify.html +4 -18
  514. package/typedoc/functions/shared_utils.timezoneToOffset.html +4 -18
  515. package/typedoc/functions/shared_utils.toDebugString.html +4 -18
  516. package/typedoc/functions/shared_utils.toInt.html +4 -18
  517. package/typedoc/functions/shared_utils.toJson.html +4 -18
  518. package/typedoc/functions/shared_utils.toKeyValue.html +4 -18
  519. package/typedoc/functions/shared_utils.trim.html +4 -18
  520. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +9 -19
  521. package/typedoc/functions/shared_utils.uppercase.html +4 -18
  522. package/typedoc/hierarchy.html +8 -11
  523. package/typedoc/index.html +5 -8
  524. package/typedoc/interfaces/animations_animate.AnimationOptions.html +4 -62
  525. package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +5 -30
  526. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -51
  527. package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +4 -51
  528. package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +4 -84
  529. package/typedoc/interfaces/core_compile_compile.SimpleChange.html +4 -40
  530. package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -51
  531. package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -51
  532. package/typedoc/interfaces/core_parse_ast_ast.Token.html +4 -84
  533. package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +4 -73
  534. package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +5 -107
  535. package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +4 -40
  536. package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +4 -29
  537. package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +4 -18
  538. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -51
  539. package/typedoc/interfaces/core_scope_scope.Listener.html +4 -106
  540. package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +4 -73
  541. package/typedoc/interfaces/interface.ChangesObject.html +4 -40
  542. package/typedoc/interfaces/interface.ComponentOptions.html +4 -95
  543. package/typedoc/interfaces/interface.Controller.html +5 -74
  544. package/typedoc/interfaces/interface.Directive.html +6 -207
  545. package/typedoc/interfaces/interface.DirectivePrePost.html +4 -40
  546. package/typedoc/interfaces/interface.NgModelController.html +4 -172
  547. package/typedoc/interfaces/interface.NgModelOptions.html +4 -95
  548. package/typedoc/interfaces/interface.Provider.html +4 -84
  549. package/typedoc/interfaces/interface.TranscludeFunctionObject.html +4 -51
  550. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +4 -29
  551. package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +4 -117
  552. package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +4 -106
  553. package/typedoc/interfaces/router_params_interface.RawParams.html +4 -18
  554. package/typedoc/interfaces/router_params_interface.Replace.html +4 -40
  555. package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +4 -18
  556. package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +4 -84
  557. package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +4 -73
  558. package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +4 -40
  559. package/typedoc/interfaces/router_state_interface.HrefOptions.html +4 -62
  560. package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +4 -29
  561. package/typedoc/interfaces/router_state_interface.StateDeclaration.html +11 -212
  562. package/typedoc/interfaces/router_state_interface.TargetStateDef.html +4 -51
  563. package/typedoc/interfaces/router_state_interface.TransitionPromise.html +5 -54
  564. package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +4 -183
  565. package/typedoc/interfaces/router_template-factory.BindingTuple.html +4 -40
  566. package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +4 -73
  567. package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +4 -51
  568. package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +4 -128
  569. package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +4 -73
  570. package/typedoc/interfaces/router_transition_interface.PathType.html +4 -40
  571. package/typedoc/interfaces/router_transition_interface.PathTypes.html +4 -73
  572. package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +4 -18
  573. package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +4 -18
  574. package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +4 -18
  575. package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +4 -95
  576. package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +4 -139
  577. package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +4 -18
  578. package/typedoc/interfaces/router_transition_interface.TreeChanges.html +4 -84
  579. package/typedoc/interfaces/router_view_interface.ActiveUIView.html +4 -84
  580. package/typedoc/interfaces/router_view_interface.ViewConfig.html +4 -73
  581. package/typedoc/interfaces/router_view_interface.ViewContext.html +4 -40
  582. package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +4 -29
  583. package/typedoc/interfaces/services_log.LogService.html +4 -80
  584. package/typedoc/interfaces/shared_interface.TypedMap.html +4 -18
  585. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +4 -40
  586. package/typedoc/modules/animations_animate-cache.html +4 -7
  587. package/typedoc/modules/animations_animate-children-directive.html +4 -9
  588. package/typedoc/modules/animations_animate-css-driver.html +4 -7
  589. package/typedoc/modules/animations_animate-css.html +4 -7
  590. package/typedoc/modules/animations_animate-js-driver.html +4 -7
  591. package/typedoc/modules/animations_animate-js.html +4 -7
  592. package/typedoc/modules/animations_animate-queue.html +4 -7
  593. package/typedoc/modules/animations_animate-runner.html +4 -7
  594. package/typedoc/modules/animations_animate-swap.html +4 -7
  595. package/typedoc/modules/animations_animate.html +4 -7
  596. package/typedoc/modules/animations_animation.html +4 -7
  597. package/typedoc/modules/animations_interface.html +4 -7
  598. package/typedoc/modules/animations_raf-scheduler.html +4 -7
  599. package/typedoc/modules/animations_shared.html +4 -7
  600. package/typedoc/modules/core_cache_cache-factory.html +4 -7
  601. package/typedoc/modules/core_cache_cache.html +4 -7
  602. package/typedoc/modules/core_compile_attributes.html +4 -7
  603. package/typedoc/modules/core_compile_compile.html +4 -7
  604. package/typedoc/modules/core_controller_controller.html +4 -7
  605. package/typedoc/modules/core_di_injector.html +4 -65
  606. package/typedoc/modules/core_di_internal-injector.html +4 -7
  607. package/typedoc/modules/core_di_ng-module.html +4 -34
  608. package/typedoc/modules/core_error-handler.html +4 -7
  609. package/typedoc/modules/core_exception-handler.html +4 -7
  610. package/typedoc/modules/core_filter_filter.html +4 -7
  611. package/typedoc/modules/core_interpolate_interpolate.html +4 -7
  612. package/typedoc/modules/core_location_location.html +4 -7
  613. package/typedoc/modules/core_parse_ast-type.html +4 -7
  614. package/typedoc/modules/core_parse_ast_ast-node.html +4 -7
  615. package/typedoc/modules/core_parse_ast_ast.html +4 -7
  616. package/typedoc/modules/core_parse_interface.html +4 -7
  617. package/typedoc/modules/core_parse_interpreter.html +4 -7
  618. package/typedoc/modules/core_parse_lexer_lexer.html +4 -7
  619. package/typedoc/modules/core_parse_lexer_token.html +4 -7
  620. package/typedoc/modules/core_parse_parse.html +4 -7
  621. package/typedoc/modules/core_parse_parser_parser.html +4 -7
  622. package/typedoc/modules/core_pubsub_pubsub.html +95 -7
  623. package/typedoc/modules/core_sanitize_interface.html +4 -7
  624. package/typedoc/modules/core_sanitize_sanitize-uri.html +4 -7
  625. package/typedoc/modules/core_sce_sce.html +4 -7
  626. package/typedoc/modules/core_scope_scope.html +4 -7
  627. package/typedoc/modules/core_task-tracker-factory.html +134 -7
  628. package/typedoc/modules/core_url-utils_url-utils.html +4 -7
  629. package/typedoc/modules/directive_aria_aria.html +4 -7
  630. package/typedoc/modules/directive_attrs_attrs.html +4 -7
  631. package/typedoc/modules/directive_bind_bind.html +4 -7
  632. package/typedoc/modules/directive_channel_channel.html +4 -7
  633. package/typedoc/modules/directive_class_class.html +4 -7
  634. package/typedoc/modules/directive_cloak_cloak.html +4 -7
  635. package/typedoc/modules/directive_controller_controller.html +4 -7
  636. package/typedoc/modules/directive_events_events.html +4 -7
  637. package/typedoc/modules/directive_form_form.html +4 -7
  638. package/typedoc/modules/directive_if_if.html +4 -7
  639. package/typedoc/modules/directive_include_include.html +4 -7
  640. package/typedoc/modules/directive_init_init.html +4 -7
  641. package/typedoc/modules/directive_input_input.html +4 -7
  642. package/typedoc/modules/directive_messages_messages.html +4 -7
  643. package/typedoc/modules/directive_model-options_model-options.html +4 -9
  644. package/typedoc/modules/directive_model_model.html +4 -7
  645. package/typedoc/modules/directive_non-bindable_non-bindable.html +4 -9
  646. package/typedoc/modules/directive_observe_observe.html +4 -7
  647. package/typedoc/modules/directive_options_options.html +4 -7
  648. package/typedoc/modules/directive_ref_ref.html +4 -7
  649. package/typedoc/modules/directive_repeat_repeat.html +4 -7
  650. package/typedoc/modules/directive_script_script.html +4 -7
  651. package/typedoc/modules/directive_select_select.html +4 -7
  652. package/typedoc/modules/directive_setter_setter.html +4 -7
  653. package/typedoc/modules/directive_show-hide_show-hide.html +4 -7
  654. package/typedoc/modules/directive_style_style.html +4 -7
  655. package/typedoc/modules/directive_switch_switch.html +4 -7
  656. package/typedoc/modules/directive_transclude_transclude.html +4 -7
  657. package/typedoc/modules/directive_validators_validators.html +4 -7
  658. package/typedoc/modules/filters_filter.html +4 -7
  659. package/typedoc/modules/filters_filters.html +4 -7
  660. package/typedoc/modules/filters_limit-to.html +4 -7
  661. package/typedoc/modules/filters_order-by.html +4 -7
  662. package/typedoc/modules/index.html +4 -84
  663. package/typedoc/{variables/index.angular.html → modules/injection-tokens.html} +84 -30
  664. package/typedoc/modules/interface.html +35 -36
  665. package/typedoc/modules/loader.html +4 -7
  666. package/typedoc/modules/public.html +4 -7
  667. package/typedoc/modules/router_common_glob.html +4 -7
  668. package/typedoc/modules/router_common_queue.html +4 -7
  669. package/typedoc/modules/router_common_trace.html +4 -7
  670. package/typedoc/modules/router_directives_state-directives.html +4 -7
  671. package/typedoc/modules/router_directives_view-directive.html +4 -7
  672. package/typedoc/modules/router_globals.html +4 -7
  673. package/typedoc/modules/router_hooks_core-resolvables.html +4 -7
  674. package/typedoc/modules/router_hooks_ignored-transition.html +4 -7
  675. package/typedoc/modules/router_hooks_invalid-transition.html +4 -7
  676. package/typedoc/modules/router_hooks_lazy-load.html +4 -7
  677. package/typedoc/modules/router_hooks_on-enter-exit-retain.html +4 -7
  678. package/typedoc/modules/router_hooks_redirect-to.html +4 -7
  679. package/typedoc/modules/router_hooks_resolve.html +4 -7
  680. package/typedoc/modules/router_hooks_update-globals.html +4 -7
  681. package/typedoc/modules/router_hooks_url.html +4 -7
  682. package/typedoc/modules/router_hooks_views.html +4 -7
  683. package/typedoc/modules/router_params_interface.html +4 -7
  684. package/typedoc/modules/router_params_param-factory.html +4 -7
  685. package/typedoc/modules/router_params_param-type.html +4 -7
  686. package/typedoc/modules/router_params_param-types.html +4 -7
  687. package/typedoc/modules/router_params_param.html +4 -7
  688. package/typedoc/modules/router_params_state-params.html +4 -7
  689. package/typedoc/modules/router_path_path-node.html +4 -7
  690. package/typedoc/modules/router_path_path-utils.html +4 -7
  691. package/typedoc/modules/router_resolve_interface.html +4 -7
  692. package/typedoc/modules/router_resolve_resolvable.html +4 -7
  693. package/typedoc/modules/router_resolve_resolve-context.html +4 -7
  694. package/typedoc/modules/router_state-filters.html +4 -7
  695. package/typedoc/modules/router_state-provider.html +4 -7
  696. package/typedoc/modules/router_state_interface.html +4 -7
  697. package/typedoc/modules/router_state_state-builder.html +4 -7
  698. package/typedoc/modules/router_state_state-matcher.html +4 -7
  699. package/typedoc/modules/router_state_state-object.html +4 -7
  700. package/typedoc/modules/router_state_state-queue-manager.html +4 -7
  701. package/typedoc/modules/router_state_state-registry.html +4 -7
  702. package/typedoc/modules/router_state_state-service.html +4 -7
  703. package/typedoc/modules/router_state_target-state.html +4 -7
  704. package/typedoc/modules/router_state_views.html +4 -7
  705. package/typedoc/modules/router_template-factory.html +4 -7
  706. package/typedoc/modules/router_transition_hook-builder.html +4 -7
  707. package/typedoc/modules/router_transition_hook-registry.html +4 -7
  708. package/typedoc/modules/router_transition_interface.html +4 -7
  709. package/typedoc/modules/router_transition_reject-factory.html +4 -7
  710. package/typedoc/modules/router_transition_transition-event-type.html +4 -9
  711. package/typedoc/modules/router_transition_transition-hook.html +4 -7
  712. package/typedoc/modules/router_transition_transition-service.html +4 -9
  713. package/typedoc/modules/router_transition_transition.html +4 -7
  714. package/typedoc/modules/router_url_url-config.html +4 -7
  715. package/typedoc/modules/router_url_url-matcher.html +4 -7
  716. package/typedoc/modules/router_url_url-rule.html +4 -7
  717. package/typedoc/modules/router_url_url-rules.html +4 -7
  718. package/typedoc/modules/router_url_url-service.html +4 -7
  719. package/typedoc/modules/router_view-scroll.html +4 -7
  720. package/typedoc/modules/router_view_interface.html +4 -7
  721. package/typedoc/modules/router_view_view.html +4 -7
  722. package/typedoc/modules/services_anchor-scroll.html +4 -7
  723. package/typedoc/modules/services_browser.html +4 -7
  724. package/typedoc/modules/services_cookie-reader.html +4 -7
  725. package/typedoc/modules/services_http-backend_http-backend.html +4 -7
  726. package/typedoc/modules/services_http_http.html +4 -7
  727. package/typedoc/modules/services_log.html +4 -7
  728. package/typedoc/modules/services_template-request.html +4 -7
  729. package/typedoc/modules/shared_common.html +4 -7
  730. package/typedoc/modules/shared_constants.html +4 -7
  731. package/typedoc/modules/shared_dom.html +4 -7
  732. package/typedoc/modules/shared_hof.html +4 -7
  733. package/typedoc/modules/shared_interface.html +4 -7
  734. package/typedoc/modules/shared_noderef.html +4 -7
  735. package/typedoc/modules/shared_predicates.html +4 -7
  736. package/typedoc/modules/shared_strings.html +4 -7
  737. package/typedoc/modules/shared_test-utils.html +4 -7
  738. package/typedoc/modules/shared_utils.html +4 -34
  739. package/typedoc/modules.html +31 -8
  740. package/typedoc/types/animations_animate.AnimationMethod.html +4 -18
  741. package/typedoc/types/animations_interface.RafScheduler.html +4 -40
  742. package/typedoc/types/core_cache_cache-factory.TemplateCache.html +4 -18
  743. package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +4 -18
  744. package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +4 -18
  745. package/typedoc/types/core_compile_compile.CompileFn.html +4 -18
  746. package/typedoc/types/core_compile_compile.CompileNodesFn.html +4 -18
  747. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +4 -18
  748. package/typedoc/types/core_compile_compile.NodeLinkFn.html +4 -18
  749. package/typedoc/types/core_compile_compile.PublicLinkFn.html +4 -18
  750. package/typedoc/types/core_compile_compile.TranscludeFn.html +4 -18
  751. package/typedoc/types/core_error-handler.ErrorHandler.html +4 -18
  752. package/typedoc/types/core_exception-handler.LogService.html +4 -18
  753. package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +4 -293
  754. package/typedoc/types/core_parse_interface.CompiledExpression.html +4 -18
  755. package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +7 -20
  756. package/typedoc/types/core_parse_interface.ParseService.html +7 -20
  757. package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +4 -18
  758. package/typedoc/types/core_scope_scope.ListenerFunction.html +4 -18
  759. package/typedoc/types/{interface.AnnotatedFactory.html → core_task-tracker-factory.AnnotatedFactory.html} +9 -19
  760. package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +4 -18
  761. package/typedoc/types/interface.CloneAttachFunction.html +4 -18
  762. package/typedoc/types/interface.ControllerConstructor.html +5 -19
  763. package/typedoc/types/interface.DirectiveCompileFn.html +4 -18
  764. package/typedoc/types/interface.DirectiveController.html +4 -18
  765. package/typedoc/types/interface.DirectiveFactory.html +4 -18
  766. package/typedoc/types/interface.DirectiveLinkFn.html +4 -18
  767. package/typedoc/types/interface.Expression.html +4 -18
  768. package/typedoc/types/interface.FilterFactory.html +4 -18
  769. package/typedoc/types/interface.FilterFn.html +4 -18
  770. package/typedoc/types/interface.Injectable.html +5 -19
  771. package/typedoc/types/interface.InjectableFactory.html +5 -19
  772. package/typedoc/types/interface.OnChangesObject.html +4 -18
  773. package/typedoc/types/interface.TController.html +4 -18
  774. package/typedoc/types/router_resolve_interface.PolicyAsync.html +4 -18
  775. package/typedoc/types/router_resolve_interface.PolicyWhen.html +4 -18
  776. package/typedoc/types/router_state_interface.RedirectToResult.html +4 -18
  777. package/typedoc/types/router_state_interface.ResolveTypes.html +4 -18
  778. package/typedoc/types/router_state_interface.StateOrName.html +4 -18
  779. package/typedoc/types/router_state_interface._StateDeclaration.html +4 -18
  780. package/typedoc/types/router_transition_interface.HookFn.html +4 -18
  781. package/typedoc/types/router_transition_interface.HookMatchCriterion.html +4 -18
  782. package/typedoc/types/router_transition_interface.HookResult.html +4 -18
  783. package/typedoc/types/router_transition_interface.IHookRegistration.html +4 -18
  784. package/typedoc/types/router_transition_interface.IStateMatch.html +4 -18
  785. package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +4 -18
  786. package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +4 -18
  787. package/typedoc/types/services_browser.UrlChangeListener.html +4 -18
  788. package/typedoc/types/services_log.LogCall.html +4 -18
  789. package/typedoc/types/shared_interface.Mapper.html +4 -18
  790. package/typedoc/types/shared_interface.Predicate.html +4 -18
  791. package/typedoc/types/shared_interface.PredicateBinary.html +4 -18
  792. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +4 -18
  793. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +4 -18
  794. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +4 -18
  795. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +4 -18
  796. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +4 -18
  797. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +4 -18
  798. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +4 -18
  799. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +4 -18
  800. package/typedoc/variables/animations_shared.CSS_PREFIX.html +4 -18
  801. package/typedoc/variables/animations_shared.DELAY_KEY.html +4 -18
  802. package/typedoc/variables/animations_shared.DURATION_KEY.html +4 -18
  803. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +4 -18
  804. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +4 -18
  805. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +4 -18
  806. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +4 -18
  807. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +4 -18
  808. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +4 -18
  809. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +4 -18
  810. package/typedoc/variables/animations_shared.TIMING_KEY.html +4 -18
  811. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +4 -18
  812. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +4 -18
  813. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +4 -18
  814. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +4 -18
  815. package/typedoc/variables/animations_shared.ngMinErr.html +4 -18
  816. package/typedoc/variables/core_cache_cache.Cache.html +4 -18
  817. package/typedoc/variables/core_cache_cache.EXPANDO.html +4 -18
  818. package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +4 -18
  819. package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +4 -18
  820. package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +4 -18
  821. package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +4 -18
  822. package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +4 -18
  823. package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +4 -18
  824. package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +4 -18
  825. package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +4 -18
  826. package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +4 -18
  827. package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +4 -18
  828. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +4 -18
  829. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +4 -18
  830. package/typedoc/variables/core_scope_scope.NONSCOPE.html +4 -18
  831. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +4 -18
  832. package/typedoc/variables/core_scope_scope._postUpdateQueue.html +4 -18
  833. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +4 -18
  834. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +4 -18
  835. package/typedoc/variables/directive_class_class.ngClassDirective.html +4 -18
  836. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +4 -18
  837. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +4 -18
  838. package/typedoc/variables/directive_events_events.ngEventDirectives.html +4 -18
  839. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +4 -18
  840. package/typedoc/variables/directive_form_form.formDirective.html +4 -18
  841. package/typedoc/variables/directive_form_form.ngFormDirective.html +4 -18
  842. package/typedoc/variables/directive_form_form.nullFormCtrl.html +4 -18
  843. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +4 -18
  844. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +4 -18
  845. package/typedoc/variables/directive_input_input.URL_REGEXP.html +4 -18
  846. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +4 -18
  847. package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +4 -18
  848. package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +4 -18
  849. package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +4 -18
  850. package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +4 -18
  851. package/typedoc/variables/directive_model_model.ngModelMinErr.html +4 -18
  852. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +20 -22
  853. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +4 -18
  854. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +4 -18
  855. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +4 -18
  856. package/typedoc/variables/directive_validators_validators.patternDirective.html +4 -18
  857. package/typedoc/variables/directive_validators_validators.requiredDirective.html +4 -18
  858. package/typedoc/variables/{core_di_injector.path.html → injection-tokens._injectTokens.html} +28 -24
  859. package/typedoc/variables/public.VERSION.html +4 -18
  860. package/typedoc/variables/router_common_trace.trace.html +4 -18
  861. package/typedoc/variables/router_directives_view-directive.ngView.html +4 -23
  862. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +4 -18
  863. package/typedoc/variables/router_params_param.DefType.html +4 -18
  864. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +4 -18
  865. package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +4 -18
  866. package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +4 -18
  867. package/typedoc/variables/services_log.LogService.html +4 -25
  868. package/typedoc/variables/shared_common.assertMap.html +4 -18
  869. package/typedoc/variables/shared_common.assertPredicate.html +4 -18
  870. package/typedoc/variables/shared_common.pushTo.html +4 -18
  871. package/typedoc/variables/shared_common.removeFrom.html +4 -18
  872. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +4 -18
  873. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +4 -18
  874. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +4 -18
  875. package/typedoc/variables/shared_constants.INVALID_CLASS.html +4 -18
  876. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +4 -18
  877. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +4 -18
  878. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +4 -18
  879. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +4 -18
  880. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +4 -18
  881. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +4 -18
  882. package/typedoc/variables/shared_constants.VALID_CLASS.html +4 -18
  883. package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +4 -18
  884. package/typedoc/variables/shared_hof.propEq.html +4 -18
  885. package/typedoc/variables/shared_strings.hostRegex.html +4 -18
  886. package/typedoc/variables/shared_strings.splitEqual.html +4 -18
  887. package/typedoc/variables/shared_strings.splitHash.html +4 -18
  888. package/typedoc/variables/shared_strings.splitQuery.html +4 -18
  889. package/typedoc/variables/shared_utils.isProxySymbol.html +4 -18
  890. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +4 -18
  891. package/typedoc.json +3 -1
  892. package/SECURITY.md +0 -16
  893. package/TODO.md +0 -13
  894. package/docs/content/en/about/featured-background.jpg +0 -0
  895. package/docs/content/en/about/index.md +0 -37
  896. package/docs/content/en/blog/_index.md +0 -8
  897. package/docs/content/en/blog/news/_index.md +0 -4
  898. package/docs/content/en/blog/news/first-post/featured-sunset-get.png +0 -0
  899. package/docs/content/en/blog/news/first-post/index.md +0 -46
  900. package/docs/content/en/blog/news/second-post.md +0 -238
  901. package/docs/content/en/blog/releases/_index.md +0 -4
  902. package/docs/content/en/blog/releases/in-depth-monoliths-detailed-spec.md +0 -238
  903. package/docs/content/en/community/_index.md +0 -6
  904. package/docs/content/en/docs/concepts/_index.md +0 -14
  905. package/docs/content/en/docs/contribution-guidelines/_index.md +0 -77
  906. package/docs/content/en/docs/examples/_index.md +0 -13
  907. package/docs/content/en/docs/getting-started/_index.md +0 -35
  908. package/docs/content/en/docs/getting-started/example-page.md +0 -231
  909. package/docs/content/en/docs/overview/_index.md +0 -34
  910. package/docs/content/en/docs/reference/_index.md +0 -12
  911. package/docs/content/en/docs/reference/parameter-reference.md +0 -207
  912. package/docs/content/en/docs/tasks/Ponycopters/_index.md +0 -12
  913. package/docs/content/en/docs/tasks/Ponycopters/configuring-ponycopters.md +0 -230
  914. package/docs/content/en/docs/tasks/Ponycopters/launching-ponycopters.md +0 -230
  915. package/docs/content/en/docs/tasks/_index.md +0 -21
  916. package/docs/content/en/docs/tasks/beds.md +0 -230
  917. package/docs/content/en/docs/tasks/porridge.md +0 -230
  918. package/docs/content/en/docs/tasks/task.md +0 -230
  919. package/docs/content/en/docs/tutorials/_index.md +0 -12
  920. package/docs/content/en/docs/tutorials/multi-bear.md +0 -230
  921. package/docs/content/en/docs/tutorials/tutorial2.md +0 -230
  922. package/docs/content/en/featured-background.jpg +0 -0
  923. package/docs/content/en/search.md +0 -4
  924. package/docs/layouts/_default/_markup/render-heading.html +0 -1
  925. package/public/public/legacy.html +0 -13203
  926. package/typedoc/functions/shared_utils.replaceInline.html +0 -331
  927. package/typedoc/variables/core_di_ng-module.PROVIDE_LITERAL.html +0 -263
@@ -1,4 +1,4 @@
1
- /* Version: 0.7.0-beta.1 - June 19, 2025 01:16:33 */
1
+ /* Version: 0.7.0 - June 28, 2025 13:06:09 */
2
2
  const VALID_CLASS = "ng-valid";
3
3
  const INVALID_CLASS = "ng-invalid";
4
4
  const PRISTINE_CLASS = "ng-pristine";
@@ -68,7 +68,7 @@ function uppercase(string) {
68
68
  }
69
69
 
70
70
  /**
71
- * @param {*} obj
71
+ * @param {*} obj Reference to check.
72
72
  * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,
73
73
  * String ...)
74
74
  */
@@ -743,7 +743,7 @@ function parseKeyValue(keyValue) {
743
743
  key = tryDecodeURIComponent(key);
744
744
  if (isDefined(key)) {
745
745
  val = isDefined(val) ? tryDecodeURIComponent(val) : true;
746
- if (!hasOwn(obj, key)) {
746
+ if (!hasOwn(obj, /** @type {string} */ (key))) {
747
747
  obj[key] = val;
748
748
  } else if (Array.isArray(obj[key])) {
749
749
  obj[key].push(val);
@@ -783,12 +783,13 @@ function toKeyValue(obj) {
783
783
  * Tries to decode the URI component without throwing an exception.
784
784
  *
785
785
  * @param {string} value potential URI component to check.
786
- * @returns {string}
786
+ * @returns {string|void}
787
787
  */
788
788
  function tryDecodeURIComponent(value) {
789
789
  try {
790
790
  return decodeURIComponent(value);
791
791
  } catch {
792
+ return;
792
793
  }
793
794
  }
794
795
 
@@ -1706,7 +1707,78 @@ function extractElementNode$1(element) {
1706
1707
  }
1707
1708
  }
1708
1709
 
1709
- const PROVIDE_LITERAL = "$provide";
1710
+ /**
1711
+ * A helper list of tokens matching the standard injectables that come predefined in the core `ng` module.
1712
+ * These string tokens are commonly injected into services, directives, or components via `$inject`.
1713
+ *
1714
+ * Example:
1715
+ * ```js
1716
+ *
1717
+ * myDirective.$inject = [
1718
+ * angular.$injectTokens.$animate,
1719
+ * angular.$injectTokens.$templateRequest,
1720
+ * ];
1721
+ * ```
1722
+ * @type Readonly<Record<string, string>>
1723
+ */
1724
+ const $injectTokens = Object.freeze({
1725
+ $$AnimateRunner: "$$AnimateRunner",
1726
+ $$animateAsyncRun: "$$animateAsyncRun",
1727
+ $$animateCache: "$$animateCache",
1728
+ $$animateCssDriver: "$$animateCssDriver",
1729
+ $$animateJs: "$$animateJs",
1730
+ $$animateJsDriver: "$$animateJsDriver",
1731
+ $$animateQueue: "$$animateQueue",
1732
+ $$animation: "$$animation",
1733
+ $$rAFScheduler: "$$rAFScheduler",
1734
+ $$taskTrackerFactory: "$$taskTrackerFactory",
1735
+ $anchorScroll: "$anchorScroll",
1736
+ $animate: "$animate",
1737
+ $animateCss: "$animateCss",
1738
+ $aria: "$aria",
1739
+ $browser: "$browser",
1740
+ $controller: "$controller",
1741
+ $eventBus: "$eventBus",
1742
+ $exceptionHandler: "$exceptionHandler",
1743
+ $filter: "$filter",
1744
+ $http: "$http",
1745
+ $httpBackend: "$httpBackend",
1746
+ $httpParamSerializer: "$httpParamSerializer",
1747
+ $interpolate: "$interpolate",
1748
+ $location: "$location",
1749
+ $log: "$log",
1750
+ $ngViewScroll: "$ngViewScroll",
1751
+ $parse: "$parse",
1752
+ $rootScope: "$rootScope",
1753
+ $routerGlobals: "$routerGlobals",
1754
+ $sce: "$sce",
1755
+ $sceDelegate: "$sceDelegate",
1756
+ $state: "$state",
1757
+ $stateRegistry: "$stateRegistry",
1758
+ $templateCache: "$templateCache",
1759
+ $templateFactory: "$templateFactory",
1760
+ $templateRequest: "$templateRequest",
1761
+ $transitions: "$transitions",
1762
+ $urlConfig: "$urlConfig",
1763
+ $urlService: "$urlService",
1764
+ $view: "$view",
1765
+ // provide literals
1766
+ $provide: "$provide",
1767
+ $injector: "$injector",
1768
+ $compileProvider: "$compileProvider",
1769
+ $animateProvider: "$animateProvider",
1770
+ $filterProvider: "$filterProvider",
1771
+ $controllerProvider: "$controllerProvider",
1772
+ });
1773
+
1774
+ /**
1775
+ * Utility for mapping to service-names to providers
1776
+ * @param {String[]} services
1777
+ */
1778
+ function provider(services) {
1779
+ return services.map((x) => x + "Provider");
1780
+ }
1781
+
1710
1782
  const INJECTOR_LITERAL = "$injector";
1711
1783
  const COMPILE_LITERAL = "$compileProvider";
1712
1784
  const ANIMATION_LITERAL = "$animateProvider";
@@ -1783,7 +1855,7 @@ class NgModule {
1783
1855
  * @returns {NgModule}
1784
1856
  */
1785
1857
  value(name, object) {
1786
- this.invokeQueue.push([PROVIDE_LITERAL, "value", [name, object]]);
1858
+ this.invokeQueue.push([$injectTokens.$provide, "value", [name, object]]);
1787
1859
  return this;
1788
1860
  }
1789
1861
 
@@ -1793,7 +1865,11 @@ class NgModule {
1793
1865
  * @returns {NgModule}
1794
1866
  */
1795
1867
  constant(name, object) {
1796
- this.invokeQueue.unshift([PROVIDE_LITERAL, "constant", [name, object]]);
1868
+ this.invokeQueue.unshift([
1869
+ $injectTokens.$provide,
1870
+ "constant",
1871
+ [name, object],
1872
+ ]);
1797
1873
  return this;
1798
1874
  }
1799
1875
 
@@ -1839,7 +1915,7 @@ class NgModule {
1839
1915
  providerFunction.$$moduleName = name;
1840
1916
  }
1841
1917
  this.invokeQueue.push([
1842
- PROVIDE_LITERAL,
1918
+ $injectTokens.$provide,
1843
1919
  "factory",
1844
1920
  [name, providerFunction],
1845
1921
  ]);
@@ -1856,7 +1932,7 @@ class NgModule {
1856
1932
  serviceFunction.$$moduleName = name;
1857
1933
  }
1858
1934
  this.invokeQueue.push([
1859
- PROVIDE_LITERAL,
1935
+ $injectTokens.$provide,
1860
1936
  "service",
1861
1937
  [name, serviceFunction],
1862
1938
  ]);
@@ -1872,7 +1948,11 @@ class NgModule {
1872
1948
  if (providerType && isFunction(providerType)) {
1873
1949
  providerType.$$moduleName = name;
1874
1950
  }
1875
- this.invokeQueue.push([PROVIDE_LITERAL, "provider", [name, providerType]]);
1951
+ this.invokeQueue.push([
1952
+ $injectTokens.$provide,
1953
+ "provider",
1954
+ [name, providerType],
1955
+ ]);
1876
1956
  return this;
1877
1957
  }
1878
1958
 
@@ -1885,7 +1965,11 @@ class NgModule {
1885
1965
  if (decorFn && isFunction(decorFn)) {
1886
1966
  decorFn.$$moduleName = name;
1887
1967
  }
1888
- this.configBlocks.push([PROVIDE_LITERAL, "decorator", [name, decorFn]]);
1968
+ this.configBlocks.push([
1969
+ $injectTokens.$provide,
1970
+ "decorator",
1971
+ [name, decorFn],
1972
+ ]);
1889
1973
  return this;
1890
1974
  }
1891
1975
 
@@ -1965,6 +2049,7 @@ class AbstractInjector {
1965
2049
  this.cache = {};
1966
2050
  /** @type {boolean} */
1967
2051
  this.strictDi = strictDi;
2052
+ /** @type {string[]} */
1968
2053
  this.path = [];
1969
2054
  /** @type {Object.<string, import("./ng-module.js").NgModule>} */
1970
2055
  this.modules = {};
@@ -2083,6 +2168,7 @@ class AbstractInjector {
2083
2168
  /**
2084
2169
  * @abstract
2085
2170
  * @param {string} _serviceName
2171
+ * @returns {any}
2086
2172
  */
2087
2173
  factory(_serviceName) {
2088
2174
  console.error(`Unhandled ${_serviceName}`);
@@ -2234,7 +2320,6 @@ const FN_ARG_SPLIT = /,/;
2234
2320
  const FN_ARG = /^\s*(_?)(\S+?)\1\s*$/;
2235
2321
  const STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;
2236
2322
  const $injectorMinErr$1 = minErr(INJECTOR_LITERAL);
2237
-
2238
2323
  const providerSuffix = "Provider";
2239
2324
 
2240
2325
  /**
@@ -2602,7 +2687,7 @@ class NodeRef {
2602
2687
  this._node = element;
2603
2688
  }
2604
2689
 
2605
- // Nandle array of elements
2690
+ // Handle array of elements
2606
2691
  else if (element instanceof Array) {
2607
2692
  if (element.length == 1) {
2608
2693
  this.initial = element[0].cloneNode(true);
@@ -2645,8 +2730,6 @@ class NodeRef {
2645
2730
  } else {
2646
2731
  this._element = undefined;
2647
2732
  }
2648
- // this._nodes = undefined;
2649
- // this.isList = false;
2650
2733
  }
2651
2734
 
2652
2735
  /** @param {Array<Node>} nodes */
@@ -3381,7 +3464,7 @@ class SceDelegateProvider {
3381
3464
  "$exceptionHandler",
3382
3465
  /**
3383
3466
  *
3384
- * @param {import("../../core/di/internal-injector").InjectorService} $injector
3467
+ * @param {import("../../core/di/internal-injector.js").InjectorService} $injector
3385
3468
  * @param {*} $$sanitizeUri
3386
3469
  * @param {ErrorHandler} $exceptionHandler
3387
3470
  * @returns
@@ -3608,14 +3691,11 @@ class SceDelegateProvider {
3608
3691
  if (isResourceUrlAllowedByPolicy(maybeTrusted)) {
3609
3692
  return maybeTrusted;
3610
3693
  }
3611
- $exceptionHandler(
3612
- $sceMinErr(
3613
- "insecurl",
3614
- "Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",
3615
- maybeTrusted.toString(),
3616
- ),
3694
+ throw $sceMinErr(
3695
+ "insecurl",
3696
+ "Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",
3697
+ maybeTrusted.toString(),
3617
3698
  );
3618
- return;
3619
3699
  } else if (type === SCE_CONTEXTS.HTML) {
3620
3700
  // htmlSanitizer throws its own error when no sanitizer is available.
3621
3701
  return htmlSanitizer();
@@ -3656,8 +3736,7 @@ function SceProvider() {
3656
3736
  this.$get = [
3657
3737
  "$parse",
3658
3738
  "$sceDelegate",
3659
- "$exceptionHandler",
3660
- function ($parse, $sceDelegate, $exceptionHandler) {
3739
+ function ($parse, $sceDelegate) {
3661
3740
  const sce = shallowCopy(SCE_CONTEXTS);
3662
3741
 
3663
3742
  /**
@@ -3901,11 +3980,7 @@ function SceProvider() {
3901
3980
  return parse(enumValue, expr);
3902
3981
  };
3903
3982
  sce[snakeToCamel(`get_trusted_${lName}`)] = function (value) {
3904
- try {
3905
- return getTrusted(enumValue, value);
3906
- } catch (e) {
3907
- $exceptionHandler(e);
3908
- }
3983
+ return getTrusted(enumValue, value);
3909
3984
  };
3910
3985
  sce[snakeToCamel(`trust_as_${lName}`)] = function (value) {
3911
3986
  return trustAs(enumValue, value);
@@ -3984,6 +4059,9 @@ const $compileMinErr$1 = minErr("$compile");
3984
4059
  const SIMPLE_ATTR_NAME = /^\w/;
3985
4060
  const specialAttrHolder = document.createElement("div");
3986
4061
 
4062
+ /**
4063
+ * @implements {Record<string, any>}
4064
+ */
3987
4065
  class Attributes {
3988
4066
  static $nonscope = true;
3989
4067
 
@@ -3993,7 +4071,7 @@ class Attributes {
3993
4071
  * @param {import("../exception-handler.js").ErrorHandler} $exceptionHandler
3994
4072
  * @param {*} $sce
3995
4073
  * @param {import("../../shared/noderef.js").NodeRef} [nodeRef]
3996
- * @param {*} [attributesToCopy]
4074
+ * @param {Object} [attributesToCopy]
3997
4075
  */
3998
4076
  constructor(
3999
4077
  $rootScope,
@@ -4440,7 +4518,7 @@ class CompileProvider {
4440
4518
 
4441
4519
  /**
4442
4520
  * @param {import('../../interface.js').Provider} $provide
4443
- * @param $$sanitizeUriProvider
4521
+ * @param {import('../sanitize/sanitize-uri.js').SanitizeUriProvider} $$sanitizeUriProvider
4444
4522
  */
4445
4523
  constructor($provide, $$sanitizeUriProvider) {
4446
4524
  const hasDirectives = {};
@@ -4452,7 +4530,7 @@ class CompileProvider {
4452
4530
  * @param {import("../scope/scope.js").Scope} scope
4453
4531
  * @param {string} directiveName
4454
4532
  * @param {boolean} isController
4455
- * @returns {Object} a configuartion object for attribute bindings
4533
+ * @returns {Object} a configuration object for attribute bindings
4456
4534
  */
4457
4535
  function parseIsolateBindings(scope, directiveName, isController) {
4458
4536
  const LOCAL_REGEXP = /^([@&]|[=<]())(\??)\s*([\w$]*)$/;
@@ -4748,13 +4826,13 @@ class CompileProvider {
4748
4826
  * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.
4749
4827
  *
4750
4828
  * @param {RegExp=} regexp New regexp to trust urls with.
4751
- * @returns {RegExp|CompileProvider} Current RegExp if called without value or self for
4829
+ * @returns {RegExp|import('../sanitize/sanitize-uri.js').SanitizeUriProvider} Current RegExp if called without value or self for
4752
4830
  * chaining otherwise.
4753
4831
  */
4754
4832
  this.aHrefSanitizationTrustedUrlList = function (regexp) {
4755
4833
  if (isDefined(regexp)) {
4756
4834
  $$sanitizeUriProvider.aHrefSanitizationTrustedUrlList(regexp);
4757
- return this;
4835
+ return;
4758
4836
  }
4759
4837
  return $$sanitizeUriProvider.aHrefSanitizationTrustedUrlList();
4760
4838
  };
@@ -4771,13 +4849,13 @@ class CompileProvider {
4771
4849
  * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.
4772
4850
  *
4773
4851
  * @param {RegExp=} regexp New regexp to trust urls with.
4774
- * @returns {RegExp|CompileProvider} Current RegExp if called without value or self for
4852
+ * @returns {RegExp|import('../sanitize/sanitize-uri.js').SanitizeUriProvider} Current RegExp if called without value or self for
4775
4853
  * chaining otherwise.
4776
4854
  */
4777
4855
  this.imgSrcSanitizationTrustedUrlList = function (regexp) {
4778
4856
  if (isDefined(regexp)) {
4779
4857
  $$sanitizeUriProvider.imgSrcSanitizationTrustedUrlList(regexp);
4780
- return this;
4858
+ return;
4781
4859
  }
4782
4860
  return $$sanitizeUriProvider.imgSrcSanitizationTrustedUrlList();
4783
4861
  };
@@ -5591,6 +5669,7 @@ class CompileProvider {
5591
5669
  let controllerScope;
5592
5670
  let elementControllers;
5593
5671
  let transcludeFn;
5672
+ let scopeToChild = scope;
5594
5673
 
5595
5674
  /** @type {NodeRef} */
5596
5675
  let $element;
@@ -5762,7 +5841,7 @@ class CompileProvider {
5762
5841
  // RECURSION
5763
5842
  // We only pass the isolate scope, if the isolate directive has a template,
5764
5843
  // otherwise the child elements do not belong to the isolate directive.
5765
- var scopeToChild = scope;
5844
+
5766
5845
  if (
5767
5846
  newIsolateScopeDirective &&
5768
5847
  (newIsolateScopeDirective.template ||
@@ -6767,6 +6846,8 @@ class CompileProvider {
6767
6846
  .catch((error) => {
6768
6847
  if (isError(error)) {
6769
6848
  $exceptionHandler(error);
6849
+ } else {
6850
+ $exceptionHandler(new Error(error));
6770
6851
  }
6771
6852
  });
6772
6853
 
@@ -6874,11 +6955,12 @@ class CompileProvider {
6874
6955
  type = (type || "html").toLowerCase();
6875
6956
  switch (type) {
6876
6957
  case "svg":
6877
- case "math":
6878
- /** @type {HTMLDivElement} */
6879
- var wrapper = document.createElement("div");
6958
+ case "math": {
6959
+ const wrapper =
6960
+ /** @type {HTMLDivElement} */ document.createElement("div");
6880
6961
  wrapper.innerHTML = `<${type}>${template}</${type}>`;
6881
6962
  return wrapper.childNodes[0].childNodes;
6963
+ }
6882
6964
  default:
6883
6965
  return template;
6884
6966
  }
@@ -6954,21 +7036,22 @@ class CompileProvider {
6954
7036
  // If you want to programmatically set explicitly trusted unsafe URLs, you should use
6955
7037
  // `$sce.trustAsHtml` on the whole `img` tag and inject it into the DOM using the
6956
7038
  // `ng-bind-html` directive.
6957
- var result = "";
7039
+ let result = "";
6958
7040
 
6959
7041
  // first check if there are spaces because it's not the same pattern
6960
- var trimmedSrcset = trim(value);
7042
+ const trimmedSrcset = trim(value);
6961
7043
  // ( 999x ,| 999w ,| ,|, )
6962
- var srcPattern = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;
6963
- var pattern = /\s/.test(trimmedSrcset) ? srcPattern : /(,)/;
7044
+ const srcPattern = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;
7045
+ const pattern = /\s/.test(trimmedSrcset) ? srcPattern : /(,)/;
6964
7046
 
6965
7047
  // split srcset into tuple of uri and descriptor except for the last item
6966
- var rawUris = trimmedSrcset.split(pattern);
7048
+ const rawUris = trimmedSrcset.split(pattern);
6967
7049
 
6968
7050
  // for each tuples
6969
- var nbrUrisWith2parts = Math.floor(rawUris.length / 2);
6970
- for (var i = 0; i < nbrUrisWith2parts; i++) {
6971
- var innerIdx = i * 2;
7051
+ const nbrUrisWith2parts = Math.floor(rawUris.length / 2);
7052
+ let i;
7053
+ for (i = 0; i < nbrUrisWith2parts; i++) {
7054
+ const innerIdx = i * 2;
6972
7055
  // sanitize the uri
6973
7056
  result += $sce.getTrustedMediaUrl(trim(rawUris[innerIdx]));
6974
7057
  // add the descriptor
@@ -6976,7 +7059,7 @@ class CompileProvider {
6976
7059
  }
6977
7060
 
6978
7061
  // split the last item into uri and descriptor
6979
- var lastTuple = trim(rawUris[i * 2]).split(/\s/);
7062
+ const lastTuple = trim(rawUris[i * 2]).split(/\s/);
6980
7063
 
6981
7064
  // sanitize the last uri
6982
7065
  result += $sce.getTrustedMediaUrl(trim(lastTuple[0]));
@@ -7280,7 +7363,7 @@ class CompileProvider {
7280
7363
  removeWatchCollection.push(removeWatch);
7281
7364
  break;
7282
7365
 
7283
- case "=":
7366
+ case "=": {
7284
7367
  if (!hasOwn(attrs, attrName)) {
7285
7368
  if (optional) {
7286
7369
  break;
@@ -7293,7 +7376,6 @@ class CompileProvider {
7293
7376
  }
7294
7377
 
7295
7378
  parentGet = $parse(attrs[attrName]);
7296
- var complexExpression = !!parentGet.inputs;
7297
7379
  if (parentGet.literal) {
7298
7380
  compare = equals$1;
7299
7381
  } else {
@@ -7318,7 +7400,7 @@ class CompileProvider {
7318
7400
  lastValue = destination.$target[scopeName] = parentGet(
7319
7401
  scope.$target,
7320
7402
  );
7321
- var parentValueWatch = function parentValueWatch(
7403
+ const parentValueWatch = function parentValueWatch(
7322
7404
  parentValue,
7323
7405
  ) {
7324
7406
  if (!compare(parentValue, destination[scopeName])) {
@@ -7350,7 +7432,7 @@ class CompileProvider {
7350
7432
  scope.$watch(
7351
7433
  expr,
7352
7434
  (val) => {
7353
- var res = $parse(attrs[attrName], parentValueWatch);
7435
+ const res = $parse(attrs[attrName], parentValueWatch);
7354
7436
  if (val) {
7355
7437
  if (parentGet.literal) {
7356
7438
  scope.$target[attrName] = val;
@@ -7376,7 +7458,7 @@ class CompileProvider {
7376
7458
  return;
7377
7459
  }
7378
7460
  if (
7379
- (complexExpression && !parentGet.literal) ||
7461
+ (!!parentGet.inputs && !parentGet.literal) ||
7380
7462
  (isUndefined(attrs[attrName]) && isDefined(val))
7381
7463
  ) {
7382
7464
  destination.$target[attrName] = lastValue;
@@ -7408,6 +7490,7 @@ class CompileProvider {
7408
7490
  }
7409
7491
  removeWatchCollection.push(removeWatch);
7410
7492
  break;
7493
+ }
7411
7494
 
7412
7495
  case "<":
7413
7496
  if (!hasOwn(attrs, attrName)) {
@@ -10357,13 +10440,19 @@ function radioInputType(scope, element, attr, ctrl) {
10357
10440
  };
10358
10441
 
10359
10442
  element.addEventListener("change", listener);
10360
-
10443
+ // NgModelController call
10361
10444
  ctrl.$render = function () {
10362
10445
  let { value } = attr;
10363
10446
  if (doTrim) {
10364
10447
  value = trim(value);
10365
10448
  }
10366
- element.checked = value === ctrl.$viewValue;
10449
+ const deproxy = isProxy(ctrl.$viewValue)
10450
+ ? ctrl.$viewValue.$target
10451
+ : ctrl.$viewValue;
10452
+ // the proxy may reach down two levels
10453
+ element.checked =
10454
+ (isProxy(value) ? value.$target : value) ===
10455
+ (isProxy(deproxy) ? deproxy.$target : deproxy);
10367
10456
  };
10368
10457
 
10369
10458
  attr.$observe("value", ctrl.$render);
@@ -11158,7 +11247,6 @@ function optionDirective($interpolate) {
11158
11247
  */
11159
11248
  function ngBindDirective() {
11160
11249
  return {
11161
- restrict: "EA",
11162
11250
  /**
11163
11251
  * @param {import('../../core/scope/scope.js').Scope} scope
11164
11252
  * @param {Element} element
@@ -11177,7 +11265,6 @@ function ngBindDirective() {
11177
11265
  */
11178
11266
  function ngBindTemplateDirective() {
11179
11267
  return {
11180
- restrict: "EA",
11181
11268
  /**
11182
11269
  * @param {import('../../core/scope/scope.js').Scope} _scope
11183
11270
  * @param {Element} element
@@ -11191,7 +11278,7 @@ function ngBindTemplateDirective() {
11191
11278
  };
11192
11279
  }
11193
11280
 
11194
- ngBindHtmlDirective.$inject = ["$parse"];
11281
+ ngBindHtmlDirective.$inject = [$injectTokens.$parse];
11195
11282
  /**
11196
11283
  * @returns {import('../../interface.ts').Directive}
11197
11284
  */
@@ -11226,7 +11313,6 @@ function classDirective(name, selector) {
11226
11313
 
11227
11314
  return function () {
11228
11315
  return {
11229
- restrict: "EA",
11230
11316
  /**
11231
11317
  * @param {import("../../core/scope/scope.js").Scope} scope
11232
11318
  * @param {Element} element
@@ -11390,7 +11476,6 @@ const ngClassEvenDirective = classDirective("Even", 1);
11390
11476
  */
11391
11477
  function ngCloakDirective() {
11392
11478
  return {
11393
- restrict: "EA",
11394
11479
  compile(element, attr) {
11395
11480
  attr.$set("ngCloak", undefined);
11396
11481
  element.classList.remove("ng-cloak");
@@ -11546,26 +11631,36 @@ function ngIfDirective($animate) {
11546
11631
  };
11547
11632
  }
11548
11633
 
11549
- ngIncludeDirective.$inject = ["$templateRequest", "$anchorScroll", "$animate"];
11634
+ ngIncludeDirective.$inject = [
11635
+ $injectTokens.$templateRequest,
11636
+ $injectTokens.$anchorScroll,
11637
+ $injectTokens.$animate,
11638
+ $injectTokens.$exceptionHandler,
11639
+ ];
11550
11640
 
11551
11641
  /**
11552
11642
  *
11553
11643
  * @param {*} $templateRequest
11554
11644
  * @param {import("../../services/anchor-scroll.js").AnchorScrollFunction} $anchorScroll
11555
11645
  * @param {*} $animate
11556
- * @returns
11646
+ * @param {import('../../core/error-handler.js').ErrorHandler} $exceptionHandler
11647
+ * @returns {import('../../interface.js').Directive}
11557
11648
  */
11558
- function ngIncludeDirective($templateRequest, $anchorScroll, $animate) {
11649
+ function ngIncludeDirective(
11650
+ $templateRequest,
11651
+ $anchorScroll,
11652
+ $animate,
11653
+ $exceptionHandler,
11654
+ ) {
11559
11655
  return {
11560
- restrict: "EA",
11561
11656
  priority: 400,
11562
11657
  terminal: true,
11563
11658
  transclude: "element",
11564
11659
  controller: () => {},
11565
11660
  compile(_element, attr) {
11566
- const srcExp = attr.ngInclude || attr.src;
11567
- const onloadExp = attr.onload || "";
11568
- const autoScrollExp = attr.autoscroll;
11661
+ const srcExp = attr["ngInclude"] || attr["src"];
11662
+ const onloadExp = attr["onload"] || "";
11663
+ const autoScrollExp = attr["autoscroll"];
11569
11664
 
11570
11665
  return (scope, $element, _$attr, ctrl, $transclude) => {
11571
11666
  function maybeScroll() {
@@ -11618,7 +11713,7 @@ function ngIncludeDirective($templateRequest, $anchorScroll, $animate) {
11618
11713
  if (scope.$$destroyed) return;
11619
11714
  if (thisChangeId !== changeCounter) return;
11620
11715
  const newScope = scope.$new();
11621
- ctrl.template = response;
11716
+ ctrl["template"] = response;
11622
11717
 
11623
11718
  // Note: This will also link all children of ng-include that were contained in the original
11624
11719
  // html. If that content contains controllers, ... they could pollute/change the scope.
@@ -11641,19 +11736,20 @@ function ngIncludeDirective($templateRequest, $anchorScroll, $animate) {
11641
11736
  currentScope.$emit("$includeContentLoaded", src);
11642
11737
  scope.$eval(onloadExp);
11643
11738
  },
11644
- () => {
11739
+ (err) => {
11645
11740
  if (scope.$$destroyed) return;
11646
11741
 
11647
11742
  if (thisChangeId === changeCounter) {
11648
11743
  cleanupLastIncludeContent();
11649
11744
  scope.$emit("$includeContentError", src);
11650
11745
  }
11746
+ $exceptionHandler(new Error(err));
11651
11747
  },
11652
11748
  );
11653
11749
  scope.$emit("$includeContentRequested", src);
11654
11750
  } else {
11655
11751
  cleanupLastIncludeContent();
11656
- ctrl.template = null;
11752
+ ctrl["template"] = null;
11657
11753
  }
11658
11754
  });
11659
11755
  };
@@ -11674,7 +11770,6 @@ ngIncludeFillContentDirective.$inject = ["$compile"];
11674
11770
  */
11675
11771
  function ngIncludeFillContentDirective($compile) {
11676
11772
  return {
11677
- restrict: "EA",
11678
11773
  priority: -400,
11679
11774
  require: "ngInclude",
11680
11775
  link(scope, $element, _$attr, ctrl) {
@@ -11710,7 +11805,6 @@ function ngInitDirective() {
11710
11805
  */
11711
11806
  function ngNonBindableDirective() {
11712
11807
  return {
11713
- restrict: "EA",
11714
11808
  terminal: true,
11715
11809
  priority: 1000,
11716
11810
  };
@@ -11820,7 +11914,7 @@ const ngRepeatMinErr = minErr("ngRepeat");
11820
11914
  const VAR_OR_TUPLE_REGEX =
11821
11915
  /^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/;
11822
11916
 
11823
- ngRepeatDirective.$inject = ["$animate"];
11917
+ ngRepeatDirective.$inject = [$injectTokens.$animate];
11824
11918
 
11825
11919
  /**
11826
11920
  * TODO // Add type for animate service
@@ -11932,15 +12026,15 @@ function ngRepeatDirective($animate) {
11932
12026
  let lastBlockMap = Object.create(null);
11933
12027
  // watch props
11934
12028
  $scope.$watch(rhs, (collection) => {
11935
- var index,
12029
+ let index,
11936
12030
  length,
11937
12031
  previousNode = $element, // node that cloned nodes should be inserted after
11938
12032
  // initialized to the comment node anchor
11939
- nextNode,
11940
- // Same as lastBlockMap but it has the current state. It will become the
12033
+ nextNode;
12034
+ const // Same as lastBlockMap but it has the current state. It will become the
11941
12035
  // lastBlockMap on the next iteration.
11942
- nextBlockMap = Object.create(null),
11943
- collectionLength,
12036
+ nextBlockMap = Object.create(null);
12037
+ let collectionLength,
11944
12038
  key,
11945
12039
  value, // key/value of iteration
11946
12040
  trackById,
@@ -12006,7 +12100,7 @@ function ngRepeatDirective($animate) {
12006
12100
  }
12007
12101
 
12008
12102
  // remove leftover items
12009
- for (var blockKey in lastBlockMap) {
12103
+ for (let blockKey in lastBlockMap) {
12010
12104
  block = lastBlockMap[blockKey];
12011
12105
  elementsToRemove = block.clone;
12012
12106
  if (hasAnimate) {
@@ -12224,7 +12318,7 @@ function ngSwitchWhenDirective() {
12224
12318
  transclude: "element",
12225
12319
  terminal: true,
12226
12320
  priority: 1200,
12227
- restrict: "EA",
12321
+
12228
12322
  require: "^ngSwitch",
12229
12323
  link(scope, element, attrs, ctrl, $transclude) {
12230
12324
  const cases = attrs["ngSwitchWhen"]
@@ -12251,7 +12345,6 @@ function ngSwitchWhenDirective() {
12251
12345
  */
12252
12346
  function ngSwitchDefaultDirective() {
12253
12347
  return {
12254
- restrict: "EA",
12255
12348
  transclude: "element",
12256
12349
  terminal: true,
12257
12350
  priority: 1200,
@@ -12265,6 +12358,12 @@ function ngSwitchDefaultDirective() {
12265
12358
 
12266
12359
  const ngOptionsMinErr = minErr("ngOptions");
12267
12360
 
12361
+ /** @type {HTMLOptionElement} */
12362
+ const optionTemplate = document.createElement("option");
12363
+
12364
+ /** @type {HTMLOptGroupElement} */
12365
+ const optGroupTemplate = document.createElement("optgroup");
12366
+
12268
12367
  const NG_OPTIONS_REGEXP =
12269
12368
  /^\s*([\s\S]+?)(?:\s+as\s+([\s\S]+?))?(?:\s+group\s+by\s+([\s\S]+?))?(?:\s+disable\s+when\s+([\s\S]+?))?\s+for\s+(?:([$\w][$\w]*)|(?:\(\s*([$\w][$\w]*)\s*,\s*([$\w][$\w]*)\s*\)))\s+in\s+([\s\S]+?)(?:\s+track\s+by\s+([\s\S]+?))?$/;
12270
12369
  // 1: value expression (valueFn)
@@ -12287,6 +12386,12 @@ const ngOptionsDirective = [
12287
12386
  * @returns
12288
12387
  */
12289
12388
  function ($compile, $parse) {
12389
+ /**
12390
+ * @param {import('../../interface.ts').Expression} optionsExp
12391
+ * @param {HTMLSelectElement} selectElement
12392
+ * @param {import('../../core/scope/scope.js').Scope} scope
12393
+ * @returns
12394
+ */
12290
12395
  function parseOptionsExpression(optionsExp, selectElement, scope) {
12291
12396
  const match = optionsExp.match(NG_OPTIONS_REGEXP);
12292
12397
  if (!match) {
@@ -12413,7 +12518,9 @@ const ngOptionsDirective = [
12413
12518
  }),
12414
12519
 
12415
12520
  getOptions() {
12521
+ /** @type {Option[]} */
12416
12522
  const optionItems = [];
12523
+ /** @type {Object.<string, Option>} */
12417
12524
  const selectValueMap = {};
12418
12525
 
12419
12526
  // The option values were already computed in the `getWatchables` fn,
@@ -12464,23 +12571,17 @@ const ngOptionsDirective = [
12464
12571
  };
12465
12572
  }
12466
12573
 
12467
- // Support: IE 9 only
12468
- // We can't just ('<option>') since JQLite is not smart enough
12469
- // to create it in <select> and IE barfs otherwise.
12470
- const optionTemplate = document.createElement("option");
12471
- const optGroupTemplate = document.createElement("optgroup");
12472
-
12473
12574
  /**
12474
12575
  *
12475
12576
  * @param {import("../../core/scope/scope.js").Scope} scope
12476
12577
  * @param {HTMLSelectElement} selectElement
12477
- * @param {*} attr
12578
+ * @param {import("../../core/compile/attributes.js").Attributes} attr
12478
12579
  * @param {*} ctrls
12479
12580
  */
12480
12581
  function ngOptionsPostLink(scope, selectElement, attr, ctrls) {
12481
12582
  const selectCtrl = ctrls[0];
12482
12583
  const ngModelCtrl = ctrls[1];
12483
- const { multiple } = attr;
12584
+ const multiple = attr["multiple"];
12484
12585
 
12485
12586
  // The emptyOption allows the application developer to provide their own custom "empty"
12486
12587
  // option when the viewValue does not match any of the option values.
@@ -12507,7 +12608,7 @@ const ngOptionsDirective = [
12507
12608
 
12508
12609
  let options;
12509
12610
  const ngOptions = parseOptionsExpression(
12510
- attr.ngOptions,
12611
+ attr["ngOptions"],
12511
12612
  selectElement,
12512
12613
  scope,
12513
12614
  );
@@ -12566,14 +12667,14 @@ const ngOptionsDirective = [
12566
12667
  // If we are using `track by` then we must watch the tracked value on the model
12567
12668
  // since ngModel only watches for object identity change
12568
12669
  // FIXME: When a user selects an option, this watch will fire needlessly
12569
- // if (ngOptions.trackBy) {
12570
- // scope.$watch(
12571
- // () => ngOptions.getTrackByValue(ngModelCtrl.$viewValue),
12572
- // () => {
12573
- // ngModelCtrl.$render();
12574
- // },
12575
- // );
12576
- // }
12670
+ if (ngOptions.trackBy) {
12671
+ scope.$watch(
12672
+ ngOptions.getTrackByValue(ngModelCtrl.$viewValue),
12673
+ () => {
12674
+ ngModelCtrl.$render();
12675
+ },
12676
+ );
12677
+ }
12577
12678
  } else {
12578
12679
  selectCtrl.writeValue = function writeNgOptionsMultiple(values) {
12579
12680
  // The options might not be defined yet when ngModel tries to render
@@ -12626,11 +12727,10 @@ const ngOptionsDirective = [
12626
12727
  // compile the element since there might be bindings in it
12627
12728
  const linkFn = $compile(selectCtrl.emptyOption);
12628
12729
  assertArg$1(linkFn, "LinkFn required");
12629
- linkFn(scope);
12630
-
12631
12730
  selectElement.prepend(selectCtrl.emptyOption);
12731
+ linkFn(scope);
12632
12732
 
12633
- if (selectCtrl.emptyOption[0].nodeType === Node.COMMENT_NODE) {
12733
+ if (selectCtrl.emptyOption.nodeType === Node.COMMENT_NODE) {
12634
12734
  // This means the empty option has currently no actual DOM node, probably because
12635
12735
  // it has been modified by a transclusion directive.
12636
12736
  selectCtrl.hasEmptyOption = false;
@@ -12672,7 +12772,12 @@ const ngOptionsDirective = [
12672
12772
  // ------------------------------------------------------------------ //
12673
12773
 
12674
12774
  function addOptionElement(option, parent) {
12675
- const optionElement = optionTemplate.cloneNode(false);
12775
+ /**
12776
+ * @type {HTMLOptionElement}
12777
+ */
12778
+ const optionElement = /** @type {HTMLOptionElement} */ (
12779
+ optionTemplate.cloneNode(false)
12780
+ );
12676
12781
  parent.appendChild(optionElement);
12677
12782
  updateOptionElement(option, optionElement);
12678
12783
  }
@@ -12817,7 +12922,6 @@ const ngTranscludeDirective = [
12817
12922
  */
12818
12923
  function ($compile) {
12819
12924
  return {
12820
- restrict: "EA",
12821
12925
  compile: function ngTranscludeCompile(tElement) {
12822
12926
  // Remove and cache any original content to act as a fallback
12823
12927
  const fallbackLinkFn = $compile(tElement.childNodes);
@@ -12978,7 +13082,7 @@ Object.entries(ALIASED_ATTR).forEach(([ngAttr]) => {
12978
13082
  ["src", "srcset", "href"].forEach((attrName) => {
12979
13083
  const normalized = directiveNormalize(`ng-${attrName}`);
12980
13084
  ngAttributeAliasDirectives[normalized] = [
12981
- "$sce",
13085
+ $injectTokens.$sce,
12982
13086
  function ($sce) {
12983
13087
  return {
12984
13088
  priority: 99, // it needs to run after the attributes are interpolated
@@ -13129,8 +13233,8 @@ const patternDirective = [
13129
13233
  restrict: "A",
13130
13234
  require: "?ngModel",
13131
13235
  compile: (_Elm, tAttr) => {
13132
- var patternExp;
13133
- var parseFn;
13236
+ let patternExp;
13237
+ let parseFn;
13134
13238
 
13135
13239
  if (tAttr["ngPattern"]) {
13136
13240
  patternExp = tAttr["ngPattern"];
@@ -13153,7 +13257,7 @@ const patternDirective = [
13153
13257
  return function (scope, elm, attr, ctrl) {
13154
13258
  if (!ctrl) return;
13155
13259
 
13156
- var attrVal = attr["pattern"];
13260
+ let attrVal = attr["pattern"];
13157
13261
 
13158
13262
  if (attr["ngPattern"]) {
13159
13263
  attrVal = parseFn(scope);
@@ -13161,9 +13265,9 @@ const patternDirective = [
13161
13265
  patternExp = attr["pattern"];
13162
13266
  }
13163
13267
 
13164
- var regexp = parsePatternAttr(attrVal, patternExp, elm);
13268
+ let regexp = parsePatternAttr(attrVal, patternExp, elm);
13165
13269
  attr.$observe("pattern", function (newVal) {
13166
- var oldRegexp = regexp;
13270
+ const oldRegexp = regexp;
13167
13271
 
13168
13272
  regexp = parsePatternAttr(newVal, patternExp, elm);
13169
13273
 
@@ -13368,10 +13472,6 @@ class AnchorScrollProvider {
13368
13472
  this.autoScrollingEnabled = true;
13369
13473
  }
13370
13474
 
13371
- disableAutoScrolling() {
13372
- this.autoScrollingEnabled = false;
13373
- }
13374
-
13375
13475
  $get = [
13376
13476
  "$location",
13377
13477
  "$rootScope",
@@ -13758,7 +13858,7 @@ function resolveElementClasses(existing, toAdd, toRemove) {
13758
13858
  };
13759
13859
 
13760
13860
  Object.entries(flags).forEach(([klass, val]) => {
13761
- var prop, allow;
13861
+ let prop, allow;
13762
13862
  if (val === ADD_CLASS) {
13763
13863
  prop = "addClass";
13764
13864
  allow = !existing[klass] || existing[klass + REMOVE_CLASS_SUFFIX];
@@ -13885,6 +13985,8 @@ function prepareAnimateOptions(options) {
13885
13985
  }
13886
13986
 
13887
13987
  AnimateProvider.$inject = ["$provide"];
13988
+
13989
+ /** @param {import('../interface.ts').Provider} $provide */
13888
13990
  function AnimateProvider($provide) {
13889
13991
  const provider = this;
13890
13992
  let classNameFilter = null;
@@ -13924,7 +14026,7 @@ function AnimateProvider($provide) {
13924
14026
  * ```
13925
14027
  *
13926
14028
  * @param {string} name The name of the animation (this is what the class-based CSS value will be compared to).
13927
- * @param {Function} factory The factory function that will be executed to return the animation
14029
+ * @param {import("../interface.ts").Injectable} factory The factory function that will be executed to return the animation
13928
14030
  * object.
13929
14031
  */
13930
14032
  this.register = function (name, factory) {
@@ -14606,13 +14708,13 @@ class BrowserProvider {
14606
14708
  function AnimateAsyncRunFactoryProvider() {
14607
14709
  this.$get = [
14608
14710
  function () {
14609
- var waitQueue = [];
14711
+ let waitQueue = [];
14610
14712
 
14611
14713
  function waitForTick(fn) {
14612
14714
  waitQueue.push(fn);
14613
14715
  if (waitQueue.length > 1) return;
14614
14716
  window.requestAnimationFrame(function () {
14615
- for (var i = 0; i < waitQueue.length; i++) {
14717
+ for (let i = 0; i < waitQueue.length; i++) {
14616
14718
  waitQueue[i]();
14617
14719
  }
14618
14720
  waitQueue = [];
@@ -14620,7 +14722,7 @@ function AnimateAsyncRunFactoryProvider() {
14620
14722
  }
14621
14723
 
14622
14724
  return function () {
14623
- var passed = false;
14725
+ let passed = false;
14624
14726
  waitForTick(function () {
14625
14727
  passed = true;
14626
14728
  });
@@ -14863,7 +14965,7 @@ class TemplateCacheProvider {
14863
14965
 
14864
14966
  /** @typedef {import('../services/log').LogService} LogService */
14865
14967
 
14866
- /** @typedef {import("./error-handler.ts").ErrorHandler } ErrorHandler */
14968
+ /** @typedef {import("./error-handler.ts").ErrorHandler} ErrorHandler */
14867
14969
 
14868
14970
  /**
14869
14971
  * Provider for `$exceptionHandler` service. Delegates uncaught exceptions to `$log.error()` by default.
@@ -15157,7 +15259,7 @@ function sliceFn(input, begin, end) {
15157
15259
  return [].slice.call(input, begin, end);
15158
15260
  }
15159
15261
 
15160
- orderByFilter.$inject = ["$parse"];
15262
+ orderByFilter.$inject = [$injectTokens.$parse];
15161
15263
 
15162
15264
  /**
15163
15265
  * @returns {import('../interface.ts').FilterFn}
@@ -15399,7 +15501,6 @@ function FilterProvider($provide) {
15399
15501
  this.$get = [
15400
15502
  "$injector",
15401
15503
  /**
15402
- *
15403
15504
  * @param {import("../../core/di/internal-injector.js").InjectorService} $injector
15404
15505
  * @returns
15405
15506
  */
@@ -17290,10 +17391,10 @@ function ParseProvider() {
17290
17391
  const cache = Object.create(null);
17291
17392
 
17292
17393
  /** @type {function(any):boolean?} */
17293
- var identStart;
17394
+ let identStart;
17294
17395
 
17295
17396
  /** @type {function(any):boolean?} */
17296
- var identContinue;
17397
+ let identContinue;
17297
17398
 
17298
17399
  /**
17299
17400
  * Allows defining the set of characters that are allowed in AngularTS expressions. The function
@@ -17330,7 +17431,7 @@ function ParseProvider() {
17330
17431
  */
17331
17432
  function ($filter) {
17332
17433
  /** @type {import("./lexer/lexer.js").LexerOptions} */
17333
- var $lexerOptions = {
17434
+ const $lexerOptions = {
17334
17435
  isIdentifierStart: isFunction(identStart) && identStart,
17335
17436
  isIdentifierContinue: isFunction(identContinue) && identContinue,
17336
17437
  };
@@ -17342,7 +17443,7 @@ function ParseProvider() {
17342
17443
  * @returns any
17343
17444
  */
17344
17445
  function $parse(exp, interceptorFn) {
17345
- var parsedExpression, cacheKey;
17446
+ let parsedExpression, cacheKey;
17346
17447
 
17347
17448
  switch (typeof exp) {
17348
17449
  case "string":
@@ -17352,8 +17453,8 @@ function ParseProvider() {
17352
17453
  parsedExpression = cache[cacheKey];
17353
17454
 
17354
17455
  if (!parsedExpression) {
17355
- var lexer = new Lexer($lexerOptions);
17356
- var parser = new Parser(lexer, $filter);
17456
+ const lexer = new Lexer($lexerOptions);
17457
+ const parser = new Parser(lexer, $filter);
17357
17458
  parsedExpression = parser.parse(exp);
17358
17459
 
17359
17460
  cache[cacheKey] = addWatchDelegate(parsedExpression);
@@ -20421,6 +20522,7 @@ class Scope {
20421
20522
  * @param {Object} target - The target object.
20422
20523
  * @param {string} property - The name of the property being set.
20423
20524
  * @param {*} value - The new value being assigned to the property.
20525
+ * @param {Proxy} proxy - The proxy intercepting property access
20424
20526
  * @returns {boolean} - Returns true to indicate success of the operation.
20425
20527
  */
20426
20528
  set(target, property, value, proxy) {
@@ -20457,13 +20559,13 @@ class Scope {
20457
20559
  const listeners = this.watchers.get(property);
20458
20560
 
20459
20561
  if (listeners) {
20460
- this.scheduleListener(listeners);
20562
+ this.#scheduleListener(listeners);
20461
20563
  }
20462
20564
 
20463
20565
  const foreignListeners = this.foreignListeners.get(property);
20464
20566
 
20465
20567
  if (foreignListeners) {
20466
- this.scheduleListener(foreignListeners);
20568
+ this.#scheduleListener(foreignListeners);
20467
20569
  }
20468
20570
  }
20469
20571
 
@@ -20488,16 +20590,16 @@ class Scope {
20488
20590
  const listeners = this.watchers.get(property);
20489
20591
 
20490
20592
  if (listeners) {
20491
- this.scheduleListener(listeners);
20593
+ this.#scheduleListener(listeners);
20492
20594
  }
20493
20595
 
20494
20596
  const foreignListeners = this.foreignListeners.get(property);
20495
20597
 
20496
20598
  if (foreignListeners) {
20497
- this.scheduleListener(foreignListeners);
20599
+ this.#scheduleListener(foreignListeners);
20498
20600
  }
20499
20601
 
20500
- this.checkeListenersForAllKeys(value);
20602
+ this.#checkeListenersForAllKeys(value);
20501
20603
  }
20502
20604
  target[property] = createScope(value, this);
20503
20605
  //setDeepValue(target[property], value);
@@ -20518,7 +20620,7 @@ class Scope {
20518
20620
  let listeners = this.watchers.get(property);
20519
20621
 
20520
20622
  if (listeners) {
20521
- this.scheduleListener(listeners);
20623
+ this.#scheduleListener(listeners);
20522
20624
  }
20523
20625
  }
20524
20626
 
@@ -20530,7 +20632,7 @@ class Scope {
20530
20632
  let listeners = this.watchers.get(property);
20531
20633
 
20532
20634
  if (listeners) {
20533
- this.scheduleListener(listeners);
20635
+ this.#scheduleListener(listeners);
20534
20636
  }
20535
20637
 
20536
20638
  if (Array.isArray(target)) {
@@ -20539,7 +20641,7 @@ class Scope {
20539
20641
  keys.forEach((key) => {
20540
20642
  const listeners = this.watchers.get(key);
20541
20643
  if (listeners) {
20542
- this.scheduleListener(listeners);
20644
+ this.#scheduleListener(listeners);
20543
20645
  }
20544
20646
  });
20545
20647
  }
@@ -20552,9 +20654,10 @@ class Scope {
20552
20654
  if (isUndefined(target[property]) && isProxy(value)) {
20553
20655
  this.foreignProxies.add(value);
20554
20656
  target[property] = value;
20555
- return true;
20657
+ if (!this.watchers.has(property)) {
20658
+ return true;
20659
+ }
20556
20660
  }
20557
-
20558
20661
  if (isUndefined(value)) {
20559
20662
  target[property] = value;
20560
20663
  } else {
@@ -20583,7 +20686,7 @@ class Scope {
20583
20686
  this.watchers.get(property)?.forEach((l) => listeners.push(l));
20584
20687
  if (listeners.length > 0) {
20585
20688
  // check if the listener actually appllies to this target
20586
- this.scheduleListener(listeners, (x) => {
20689
+ this.#scheduleListener(listeners, (x) => {
20587
20690
  return x.filter((x) => {
20588
20691
  if (!x.watchProp) return true;
20589
20692
  // Compute the expected target based on `watchProp`
@@ -20611,7 +20714,7 @@ class Scope {
20611
20714
  );
20612
20715
  }
20613
20716
 
20614
- this.scheduleListener(foreignListeners);
20717
+ this.#scheduleListener(foreignListeners);
20615
20718
  }
20616
20719
  }
20617
20720
 
@@ -20621,7 +20724,7 @@ class Scope {
20621
20724
  const listeners = this.watchers.get(key);
20622
20725
  if (listeners) {
20623
20726
  if (this.scheduled !== listeners) {
20624
- this.scheduleListener(listeners);
20727
+ this.#scheduleListener(listeners);
20625
20728
  }
20626
20729
  }
20627
20730
  });
@@ -20631,22 +20734,6 @@ class Scope {
20631
20734
  }
20632
20735
  }
20633
20736
 
20634
- checkeListenersForAllKeys(value) {
20635
- if (isUndefined(value)) {
20636
- return;
20637
- }
20638
- Object.keys(value).forEach((k) => {
20639
- const listeners = this.watchers.get(k);
20640
-
20641
- if (listeners) {
20642
- this.scheduleListener(listeners);
20643
- }
20644
- if (isObject(value[k])) {
20645
- this.checkeListenersForAllKeys(value[k]);
20646
- }
20647
- });
20648
- }
20649
-
20650
20737
  /**
20651
20738
  * Intercepts property access on the target object. It checks for specific
20652
20739
  * properties (`watch` and `sync`) and binds their methods. For other properties,
@@ -20669,8 +20756,6 @@ class Scope {
20669
20756
 
20670
20757
  this.propertyMap = {
20671
20758
  $watch: this.$watch.bind(this),
20672
- $watchGroup: this.$watchGroup.bind(this),
20673
- $watchCollection: this.$watchCollection.bind(this),
20674
20759
  $new: this.$new.bind(this),
20675
20760
  $newIsolate: this.$newIsolate.bind(this),
20676
20761
  $destroy: this.$destroy.bind(this),
@@ -20678,7 +20763,7 @@ class Scope {
20678
20763
  $apply: this.$apply.bind(this),
20679
20764
  $evalAsync: this.$evalAsync.bind(this),
20680
20765
  $postUpdate: this.$postUpdate.bind(this),
20681
- $isRoot: this.isRoot.bind(this),
20766
+ $isRoot: this.#isRoot.bind(this),
20682
20767
  $target: target,
20683
20768
  $proxy: this.$proxy,
20684
20769
  $on: this.$on.bind(this),
@@ -20690,8 +20775,6 @@ class Scope {
20690
20775
  $root: this.$root,
20691
20776
  $children: this.$children,
20692
20777
  $id: this.$id,
20693
- registerForeignKey: this.registerForeignKey.bind(this),
20694
- notifyListener: this.notifyListener.bind(this),
20695
20778
  $merge: this.$merge.bind(this),
20696
20779
  $getById: this.$getById.bind(this),
20697
20780
  };
@@ -20712,7 +20795,7 @@ class Scope {
20712
20795
 
20713
20796
  // TODO aditional testing
20714
20797
  if (property === "unshift") {
20715
- this.scheduleListener(this.scheduled);
20798
+ this.#scheduleListener(this.scheduled);
20716
20799
  }
20717
20800
  }
20718
20801
 
@@ -20725,26 +20808,6 @@ class Scope {
20725
20808
  }
20726
20809
  }
20727
20810
 
20728
- /**
20729
- * @private
20730
- * @param {Listener[]} listeners
20731
- */
20732
- scheduleListener(listeners, filter = (val) => val) {
20733
- Promise.resolve().then(() => {
20734
- let index = 0;
20735
- let filteredListeners = filter(listeners);
20736
- while (index < filteredListeners.length) {
20737
- const listener = filteredListeners[index];
20738
- if (listener.foreignListener) {
20739
- listener.foreignListener.notifyListener(listener, this.$target);
20740
- } else {
20741
- this.notifyListener(listener, this.$target);
20742
- }
20743
- index++;
20744
- }
20745
- });
20746
- }
20747
-
20748
20811
  deleteProperty(target, property) {
20749
20812
  // Currently deletes $model
20750
20813
  if (target[property] && target[property][isProxySymbol]) {
@@ -20752,20 +20815,20 @@ class Scope {
20752
20815
 
20753
20816
  let listeners = this.watchers.get(property);
20754
20817
  if (listeners) {
20755
- this.scheduleListener(listeners);
20818
+ this.#scheduleListener(listeners);
20756
20819
  }
20757
20820
  if (this.objectListeners.has(this.$proxy)) {
20758
20821
  let keys = this.objectListeners.get(this.$proxy);
20759
20822
  keys.forEach((key) => {
20760
20823
  listeners = this.watchers.get(key);
20761
20824
  if (listeners) {
20762
- this.scheduleListener(listeners);
20825
+ this.#scheduleListener(listeners);
20763
20826
  }
20764
20827
  });
20765
20828
  }
20766
20829
 
20767
20830
  if (this.scheduled) {
20768
- this.scheduleListener(this.scheduled);
20831
+ this.#scheduleListener(this.scheduled);
20769
20832
  this.scheduled = [];
20770
20833
  }
20771
20834
  return true;
@@ -20778,19 +20841,54 @@ class Scope {
20778
20841
  keys.forEach((key) => {
20779
20842
  const listeners = this.watchers.get(key);
20780
20843
  if (listeners) {
20781
- this.scheduleListener(listeners);
20844
+ this.#scheduleListener(listeners);
20782
20845
  }
20783
20846
  });
20784
20847
  } else {
20785
20848
  const listeners = this.watchers.get(property);
20786
20849
  if (listeners) {
20787
- this.scheduleListener(listeners, target[property]);
20850
+ this.#scheduleListener(listeners, target[property]);
20788
20851
  }
20789
20852
  }
20790
20853
 
20791
20854
  return true;
20792
20855
  }
20793
20856
 
20857
+ #checkeListenersForAllKeys(value) {
20858
+ if (isUndefined(value)) {
20859
+ return;
20860
+ }
20861
+ Object.keys(value).forEach((k) => {
20862
+ const listeners = this.watchers.get(k);
20863
+
20864
+ if (listeners) {
20865
+ this.#scheduleListener(listeners);
20866
+ }
20867
+ if (isObject(value[k])) {
20868
+ this.#checkeListenersForAllKeys(value[k]);
20869
+ }
20870
+ });
20871
+ }
20872
+
20873
+ /**
20874
+ * @param {Listener[]} listeners
20875
+ */
20876
+ #scheduleListener(listeners, filter = (val) => val) {
20877
+ Promise.resolve().then(() => {
20878
+ let index = 0;
20879
+ let filteredListeners = filter(listeners);
20880
+ while (index < filteredListeners.length) {
20881
+ const listener = filteredListeners[index];
20882
+ if (listener.foreignListener) {
20883
+ listener.foreignListener.#notifyListener(listener, this.$target);
20884
+ } else {
20885
+ this.#notifyListener(listener, this.$target);
20886
+ }
20887
+ index++;
20888
+ }
20889
+ });
20890
+ }
20891
+
20794
20892
  /**
20795
20893
  * Registers a watcher for a property along with a listener function. The listener
20796
20894
  * function is invoked when changes to that property are detected.
@@ -20808,7 +20906,6 @@ class Scope {
20808
20906
  if (get.constant) {
20809
20907
  if (listenerFn) {
20810
20908
  Promise.resolve().then(() => {
20811
- // @ts-ignore
20812
20909
  let res = get();
20813
20910
  while (isFunction(res)) {
20814
20911
  res = res();
@@ -20867,11 +20964,11 @@ class Scope {
20867
20964
  keys.push(get.decoratedNode.body[0].expression.left.toWatch[0]?.name);
20868
20965
  keys.push(get.decoratedNode.body[0].expression.right.toWatch[0]?.name);
20869
20966
  keys.forEach((key) => {
20870
- this.registerKey(key, listener);
20967
+ this.#registerKey(key, listener);
20871
20968
  });
20872
20969
  return () => {
20873
20970
  keys.forEach((key) => {
20874
- this.deregisterKey(key, listener.id);
20971
+ this.#deregisterKey(key, listener.id);
20875
20972
  });
20876
20973
  };
20877
20974
  }
@@ -20904,13 +21001,13 @@ class Scope {
20904
21001
  }
20905
21002
  });
20906
21003
  keys.forEach((key) => {
20907
- this.registerKey(key, listener);
20908
- this.scheduleListener([listener]);
21004
+ this.#registerKey(key, listener);
21005
+ this.#scheduleListener([listener]);
20909
21006
  });
20910
21007
 
20911
21008
  return () => {
20912
21009
  keys.forEach((key) => {
20913
- this.deregisterKey(key, listener.id);
21010
+ this.#deregisterKey(key, listener.id);
20914
21011
  });
20915
21012
  };
20916
21013
  }
@@ -20933,10 +21030,10 @@ class Scope {
20933
21030
  watchProp.split(".").slice(0, -1).join("."),
20934
21031
  )(listener.originalTarget);
20935
21032
  if (potentialProxy && this.foreignProxies.has(potentialProxy)) {
20936
- potentialProxy.$handler.registerForeignKey(key, listener);
20937
- potentialProxy.$handler.scheduleListener([listener]);
21033
+ potentialProxy.$handler.#registerForeignKey(key, listener);
21034
+ potentialProxy.$handler.#scheduleListener([listener]);
20938
21035
  return () => {
20939
- return potentialProxy.$handler.deregisterKey(key, listener.id);
21036
+ return potentialProxy.$handler.#deregisterKey(key, listener.id);
20940
21037
  };
20941
21038
  }
20942
21039
  }
@@ -20967,12 +21064,12 @@ class Scope {
20967
21064
  })
20968
21065
  .filter((x) => !!x);
20969
21066
  keys.forEach((key) => {
20970
- this.registerKey(key, listener);
20971
- this.scheduleListener([listener]);
21067
+ this.#registerKey(key, listener);
21068
+ this.#scheduleListener([listener]);
20972
21069
  });
20973
21070
  return () => {
20974
21071
  keys.forEach((key) => {
20975
- this.deregisterKey(key, listener.id);
21072
+ this.#deregisterKey(key, listener.id);
20976
21073
  });
20977
21074
  };
20978
21075
  }
@@ -21034,39 +21131,31 @@ class Scope {
21034
21131
 
21035
21132
  if (keySet.length > 0) {
21036
21133
  keySet.forEach((key) => {
21037
- this.registerKey(key, listener);
21134
+ this.#registerKey(key, listener);
21038
21135
  });
21039
21136
  } else {
21040
- this.registerKey(key, listener);
21137
+ this.#registerKey(key, listener);
21041
21138
  }
21042
21139
 
21043
21140
  if (!lazy) {
21044
- this.scheduleListener([listener]);
21141
+ this.#scheduleListener([listener]);
21045
21142
  }
21046
21143
  return () => {
21047
21144
  if (keySet.length > 0) {
21048
21145
  let res = true;
21049
21146
  keySet.forEach((key) => {
21050
- let success = this.deregisterKey(key, listener.id);
21147
+ let success = this.#deregisterKey(key, listener.id);
21051
21148
  if (!success) {
21052
21149
  res = false;
21053
21150
  }
21054
21151
  });
21055
21152
  return res;
21056
21153
  } else {
21057
- return this.deregisterKey(key, listener.id);
21154
+ return this.#deregisterKey(key, listener.id);
21058
21155
  }
21059
21156
  };
21060
21157
  }
21061
21158
 
21062
- $watchGroup(watchArray, listenerFn) {
21063
- watchArray.forEach((x) => this.$watch(x, listenerFn));
21064
- }
21065
-
21066
- $watchCollection(watchProp, listenerFn) {
21067
- return this.$watch(watchProp, listenerFn);
21068
- }
21069
-
21070
21159
  $new(childInstance) {
21071
21160
  let child;
21072
21161
  if (childInstance) {
@@ -21096,7 +21185,6 @@ class Scope {
21096
21185
 
21097
21186
  $newIsolate(instance) {
21098
21187
  let child = instance ? Object.create(instance) : Object.create(null);
21099
- // child.$root = this.$root;
21100
21188
  const proxy = new Proxy(child, new Scope(this, this.$root));
21101
21189
  this.$children.push(proxy);
21102
21190
  return proxy;
@@ -21109,7 +21197,7 @@ class Scope {
21109
21197
  return proxy;
21110
21198
  }
21111
21199
 
21112
- registerKey(key, listener) {
21200
+ #registerKey(key, listener) {
21113
21201
  if (this.watchers.has(key)) {
21114
21202
  this.watchers.get(key).push(listener);
21115
21203
  } else {
@@ -21117,7 +21205,7 @@ class Scope {
21117
21205
  }
21118
21206
  }
21119
21207
 
21120
- registerForeignKey(key, listener) {
21208
+ #registerForeignKey(key, listener) {
21121
21209
  if (this.foreignListeners.has(key)) {
21122
21210
  this.foreignListeners.get(key).push(listener);
21123
21211
  } else {
@@ -21125,7 +21213,7 @@ class Scope {
21125
21213
  }
21126
21214
  }
21127
21215
 
21128
- deregisterKey(key, id) {
21216
+ #deregisterKey(key, id) {
21129
21217
  const listenerList = this.watchers.get(key);
21130
21218
  if (!listenerList) return false;
21131
21219
 
@@ -21141,21 +21229,21 @@ class Scope {
21141
21229
  return true;
21142
21230
  }
21143
21231
 
21144
- deregisterForeignKey(key, id) {
21145
- const listenerList = this.foreignListeners.get(key);
21146
- if (!listenerList) return false;
21232
+ // deregisterForeignKey(key, id) {
21233
+ // const listenerList = this.foreignListeners.get(key);
21234
+ // if (!listenerList) return false;
21147
21235
 
21148
- const index = listenerList.findIndex((x) => x.id === id);
21149
- if (index === -1) return false;
21236
+ // const index = listenerList.findIndex((x) => x.id === id);
21237
+ // if (index === -1) return false;
21150
21238
 
21151
- listenerList.splice(index, 1);
21152
- if (listenerList.length) {
21153
- this.foreignListeners.set(key, listenerList);
21154
- } else {
21155
- this.foreignListeners.delete(key);
21156
- }
21157
- return true;
21158
- }
21239
+ // listenerList.splice(index, 1);
21240
+ // if (listenerList.length) {
21241
+ // this.foreignListeners.set(key, listenerList);
21242
+ // } else {
21243
+ // this.foreignListeners.delete(key);
21244
+ // }
21245
+ // return true;
21246
+ // }
21159
21247
 
21160
21248
  $eval(expr, locals) {
21161
21249
  const fn = $parse(expr);
@@ -21183,12 +21271,19 @@ class Scope {
21183
21271
  return await this.$eval(expr, locals);
21184
21272
  }
21185
21273
 
21274
+ /**
21275
+ * @param {Object} newTarget
21276
+ */
21186
21277
  $merge(newTarget) {
21187
21278
  Object.entries(newTarget).forEach(([key, value]) => {
21188
- this.set(this.$target, key, value);
21279
+ this.set(this.$target, key, value, this.$proxy);
21189
21280
  });
21190
21281
  }
21191
21282
 
21283
+ /**
21284
+ * @param {import('../../interface.js').Expression} expr
21285
+ * @returns {any}
21286
+ */
21192
21287
  $apply(expr) {
21193
21288
  try {
21194
21289
  return $parse(expr)(this.$proxy);
@@ -21197,6 +21292,11 @@ class Scope {
21197
21292
  }
21198
21293
  }
21199
21294
 
21295
+ /**
21296
+ * @param {string} name
21297
+ * @param {Function} listener
21298
+ * @returns {(function(): void)|*}
21299
+ */
21200
21300
  $on(name, listener) {
21201
21301
  let namedListeners = this.$$listeners.get(name);
21202
21302
  if (!namedListeners) {
@@ -21219,10 +21319,10 @@ class Scope {
21219
21319
  /**
21220
21320
  * @param {string} name
21221
21321
  * @param {...any} args
21222
- * @returns
21322
+ * @returns {void}
21223
21323
  */
21224
21324
  $emit(name, ...args) {
21225
- return this.eventHelper(
21325
+ return this.#eventHelper(
21226
21326
  { name: name, event: undefined, broadcast: false },
21227
21327
  ...args,
21228
21328
  );
@@ -21234,21 +21334,20 @@ class Scope {
21234
21334
  * @returns {any}
21235
21335
  */
21236
21336
  $broadcast(name, ...args) {
21237
- return this.eventHelper(
21337
+ return this.#eventHelper(
21238
21338
  { name: name, event: undefined, broadcast: true },
21239
21339
  ...args,
21240
21340
  );
21241
21341
  }
21242
21342
 
21243
21343
  /**
21244
- * @private
21245
21344
  * @returns {void}
21246
21345
  */
21247
- eventHelper({ name, event, broadcast }, ...args) {
21346
+ #eventHelper({ name, event, broadcast }, ...args) {
21248
21347
  if (!broadcast) {
21249
21348
  if (!this.$$listeners.has(name)) {
21250
21349
  if (this.$parent) {
21251
- return this.$parent.$handler.eventHelper(
21350
+ return this.$parent.$handler.#eventHelper(
21252
21351
  { name: name, event: event, broadcast: broadcast },
21253
21352
  ...args,
21254
21353
  );
@@ -21303,7 +21402,7 @@ class Scope {
21303
21402
  if (broadcast) {
21304
21403
  if (this.$children.length > 0) {
21305
21404
  this.$children.forEach((child) => {
21306
- event = child["$handler"].eventHelper(
21405
+ event = child["$handler"].#eventHelper(
21307
21406
  { name: name, event: event, broadcast: broadcast },
21308
21407
  ...args,
21309
21408
  );
@@ -21312,7 +21411,7 @@ class Scope {
21312
21411
  return event;
21313
21412
  } else {
21314
21413
  if (this.$parent) {
21315
- return this.$parent?.eventHelper(
21414
+ return this.$parent.#eventHelper(
21316
21415
  { name: name, event: event, broadcast: broadcast },
21317
21416
  ...args,
21318
21417
  );
@@ -21323,10 +21422,9 @@ class Scope {
21323
21422
  }
21324
21423
 
21325
21424
  /**
21326
- * @private
21327
21425
  * @returns {boolean}
21328
21426
  */
21329
- isRoot() {
21427
+ #isRoot() {
21330
21428
  return this.$root == /** @type {Scope} */ (this);
21331
21429
  }
21332
21430
 
@@ -21345,7 +21443,7 @@ class Scope {
21345
21443
  );
21346
21444
  });
21347
21445
 
21348
- if (this.isRoot()) {
21446
+ if (this.#isRoot()) {
21349
21447
  this.watchers.clear();
21350
21448
  } else {
21351
21449
  let i = this.$parent.$children.filter((x) => x.$id == this.$id)[0];
@@ -21358,11 +21456,9 @@ class Scope {
21358
21456
  }
21359
21457
 
21360
21458
  /**
21361
- * Invokes the registered listener function with watched property changes.
21362
- *
21363
21459
  * @param {Listener} listener - The property path that was changed.
21364
21460
  */
21365
- notifyListener(listener, target) {
21461
+ #notifyListener(listener, target) {
21366
21462
  const { originalTarget, listenerFn, watchFn } = listener;
21367
21463
  try {
21368
21464
  let newVal = watchFn(originalTarget);
@@ -21421,6 +21517,8 @@ class Scope {
21421
21517
  }
21422
21518
  }
21423
21519
 
21520
+ /*------------- Private helpers -------------*/
21521
+
21424
21522
  /**
21425
21523
  * @param {Scope} model
21426
21524
  * @returns {number}
@@ -21454,7 +21552,14 @@ function collectChildIds(child) {
21454
21552
  return ids;
21455
21553
  }
21456
21554
 
21555
+ /** @typedef {import('../interface.ts').ServiceProvider} ServiceProvider */
21556
+ /** @typedef {import('../interface.ts').AnnotatedFactory} AnnotatedFactory */
21557
+
21558
+ /**
21559
+ * @implements {ServiceProvider}
21560
+ */
21457
21561
  class TaskTrackerFactoryProvider {
21562
+ /** @type {AnnotatedFactory} */
21458
21563
  $get = [
21459
21564
  "$log",
21460
21565
  /**
@@ -21593,7 +21698,7 @@ class TaskTracker {
21593
21698
  }
21594
21699
  }
21595
21700
 
21596
- var $templateRequestMinErr = minErr("$templateRequest");
21701
+ const $templateRequestMinErr = minErr("$templateRequest");
21597
21702
 
21598
21703
  /**
21599
21704
  * Used to configure the options passed to the {@link $http} service when making a template request.
@@ -21602,7 +21707,7 @@ var $templateRequestMinErr = minErr("$templateRequest");
21602
21707
  * requesting a template.
21603
21708
  */
21604
21709
  function TemplateRequestProvider() {
21605
- var httpOptions;
21710
+ let httpOptions;
21606
21711
 
21607
21712
  /**
21608
21713
  * The options to be passed to the {@link $http} service when making the request.
@@ -21668,13 +21773,17 @@ function TemplateRequestProvider() {
21668
21773
  // AngularTS accept any script directive, no matter its name. However, we
21669
21774
  // still need to unwrap trusted types.
21670
21775
  if (!isString(tpl) || !$templateCache.has(tpl)) {
21671
- tpl = $sce.getTrustedResourceUrl(tpl);
21672
- if (!tpl) {
21673
- return Promise.reject("Template not found");
21776
+ try {
21777
+ tpl = $sce.getTrustedResourceUrl(tpl);
21778
+ if (!tpl) {
21779
+ return Promise.reject("Template not found");
21780
+ }
21781
+ } catch (e) {
21782
+ return Promise.reject(e.message);
21674
21783
  }
21675
21784
  }
21676
21785
 
21677
- var transformResponse =
21786
+ let transformResponse =
21678
21787
  $http.defaults && $http.defaults.transformResponse;
21679
21788
 
21680
21789
  if (Array.isArray(transformResponse)) {
@@ -21786,6 +21895,7 @@ class SanitizeUriProvider {
21786
21895
  return (uri, isMediaUrl) => {
21787
21896
  if (!uri) return uri;
21788
21897
 
21898
+ /** @type {RegExp} */
21789
21899
  const regex = isMediaUrl
21790
21900
  ? this._imgSrcSanitizationTrustedUrlList
21791
21901
  : this._aHrefSanitizationTrustedUrlList;
@@ -21825,7 +21935,7 @@ class NgMessageCtrl {
21825
21935
  this.head = undefined;
21826
21936
  this.default = undefined;
21827
21937
 
21828
- this.$scope.$watchCollection(
21938
+ this.$scope.$watch(
21829
21939
  this.$attrs["ngMessages"] || this.$attrs["for"],
21830
21940
  this.render.bind(this),
21831
21941
  );
@@ -22067,7 +22177,7 @@ function ngMessageDirectiveFactory(isDefault) {
22067
22177
 
22068
22178
  if (dynamicExp) {
22069
22179
  assignRecords(scope.$eval(dynamicExp));
22070
- scope.$watchCollection(dynamicExp, assignRecords);
22180
+ scope.$watch(dynamicExp, assignRecords);
22071
22181
  } else {
22072
22182
  assignRecords(staticExp);
22073
22183
  }
@@ -22226,7 +22336,7 @@ function AriaProvider() {
22226
22336
  };
22227
22337
  }
22228
22338
 
22229
- ngDisabledAriaDirective.$inject = ["$aria"];
22339
+ ngDisabledAriaDirective.$inject = [$injectTokens.$aria];
22230
22340
  function ngDisabledAriaDirective($aria) {
22231
22341
  return $aria.$$watchExpr(
22232
22342
  "ngDisabled",
@@ -22236,7 +22346,7 @@ function ngDisabledAriaDirective($aria) {
22236
22346
  );
22237
22347
  }
22238
22348
 
22239
- ngShowAriaDirective.$inject = ["$aria"];
22349
+ ngShowAriaDirective.$inject = [$injectTokens.$aria];
22240
22350
  function ngShowAriaDirective($aria) {
22241
22351
  return $aria.$$watchExpr("ngShow", "aria-hidden", [], true);
22242
22352
  }
@@ -22255,11 +22365,11 @@ function ngMessagesAriaDirective() {
22255
22365
  };
22256
22366
  }
22257
22367
 
22258
- ngClickAriaDirective.$inject = ["$aria", "$parse"];
22368
+ ngClickAriaDirective.$inject = [$injectTokens.$aria, $injectTokens.$parse];
22259
22369
  function ngClickAriaDirective($aria, $parse) {
22260
22370
  return {
22261
22371
  restrict: "A",
22262
- compile(elem, attr) {
22372
+ compile(_elem, attr) {
22263
22373
  if (hasOwn(attr, ARIA_DISABLE_ATTR)) return;
22264
22374
 
22265
22375
  const fn = $parse(attr.ngClick);
@@ -22319,7 +22429,7 @@ function ngClickAriaDirective($aria, $parse) {
22319
22429
  };
22320
22430
  }
22321
22431
 
22322
- ngRequiredAriaDirective.$inject = ["$aria"];
22432
+ ngRequiredAriaDirective.$inject = [$injectTokens.$aria];
22323
22433
  function ngRequiredAriaDirective($aria) {
22324
22434
  return $aria.$$watchExpr(
22325
22435
  "ngRequired",
@@ -22339,7 +22449,7 @@ function ngCheckedAriaDirective($aria) {
22339
22449
  );
22340
22450
  }
22341
22451
 
22342
- ngValueAriaDirective.$inject = ["$aria"];
22452
+ ngValueAriaDirective.$inject = [$injectTokens.$aria];
22343
22453
  function ngValueAriaDirective($aria) {
22344
22454
  return $aria.$$watchExpr(
22345
22455
  "ngValue",
@@ -22349,12 +22459,12 @@ function ngValueAriaDirective($aria) {
22349
22459
  );
22350
22460
  }
22351
22461
 
22352
- ngHideAriaDirective.$inject = ["$aria"];
22462
+ ngHideAriaDirective.$inject = [$injectTokens.$aria];
22353
22463
  function ngHideAriaDirective($aria) {
22354
22464
  return $aria.$$watchExpr("ngHide", "aria-hidden", [], false);
22355
22465
  }
22356
22466
 
22357
- ngReadonlyAriaDirective.$inject = ["$aria"];
22467
+ ngReadonlyAriaDirective.$inject = [$injectTokens.$aria];
22358
22468
  function ngReadonlyAriaDirective($aria) {
22359
22469
  return $aria.$$watchExpr(
22360
22470
  "ngReadonly",
@@ -22364,7 +22474,7 @@ function ngReadonlyAriaDirective($aria) {
22364
22474
  );
22365
22475
  }
22366
22476
 
22367
- ngModelAriaDirective.$inject = ["$aria"];
22477
+ ngModelAriaDirective.$inject = [$injectTokens.$aria];
22368
22478
  function ngModelAriaDirective($aria) {
22369
22479
  function shouldAttachAttr(attr, normalizedAttr, elem, allowNonAriaNodes) {
22370
22480
  return (
@@ -22507,7 +22617,7 @@ function ngModelAriaDirective($aria) {
22507
22617
  };
22508
22618
  }
22509
22619
 
22510
- ngDblclickAriaDirective.$inject = ["$aria"];
22620
+ ngDblclickAriaDirective.$inject = [$injectTokens.$aria];
22511
22621
  function ngDblclickAriaDirective($aria) {
22512
22622
  return function (scope, elem, attr) {
22513
22623
  if (hasOwn(attr, ARIA_DISABLE_ATTR)) return;
@@ -22759,6 +22869,7 @@ function AnimateCssProvider() {
22759
22869
  // all of the animation functions should create
22760
22870
  // a copy of the options data, however, if a
22761
22871
  // parent service has already created a copy then
22872
+ let delayStyle;
22762
22873
  // we should stick to using that
22763
22874
  let options = initialOptions || {};
22764
22875
  if (!options.$$prepared) {
@@ -22971,13 +23082,12 @@ function AnimateCssProvider() {
22971
23082
  return closeAndReturnNoopAnimator();
22972
23083
  }
22973
23084
 
22974
- var activeClasses = pendClasses(
23085
+ let activeClasses = pendClasses(
22975
23086
  preparationClasses,
22976
23087
  ACTIVE_CLASS_SUFFIX,
22977
23088
  );
22978
23089
 
22979
23090
  if (options.delay != null) {
22980
- var delayStyle;
22981
23091
  if (typeof options.delay !== "boolean") {
22982
23092
  delayStyle = parseFloat(options.delay);
22983
23093
  // number in options.delay means we have to recalculate the delay for the closing timeout
@@ -25640,30 +25750,27 @@ function ngAnimateSwapDirective($animate) {
25640
25750
  link(scope, $element, attrs, ctrl, $transclude) {
25641
25751
  let previousElement;
25642
25752
  let previousScope;
25643
- scope.$watchCollection(
25644
- attrs["ngAnimateSwap"] || attrs["for"],
25645
- (value) => {
25646
- if (previousElement) {
25647
- $animate.leave(previousElement);
25648
- }
25649
- if (previousScope) {
25650
- previousScope.$destroy();
25651
- previousScope = null;
25652
- }
25653
- if (value) {
25654
- $transclude((clone, childScope) => {
25655
- previousElement = clone;
25656
- previousScope = childScope;
25657
- $animate.enter(clone, null, $element);
25658
- });
25659
- }
25660
- },
25661
- );
25753
+ scope.$watch(attrs["ngAnimateSwap"] || attrs["for"], (value) => {
25754
+ if (previousElement) {
25755
+ $animate.leave(previousElement);
25756
+ }
25757
+ if (previousScope) {
25758
+ previousScope.$destroy();
25759
+ previousScope = null;
25760
+ }
25761
+ if (value) {
25762
+ $transclude((clone, childScope) => {
25763
+ previousElement = clone;
25764
+ previousScope = childScope;
25765
+ $animate.enter(clone, null, $element);
25766
+ });
25767
+ }
25768
+ });
25662
25769
  },
25663
25770
  };
25664
25771
  }
25665
25772
 
25666
- $$AnimateChildrenDirective.$inject = ["$interpolate"];
25773
+ $$AnimateChildrenDirective.$inject = [$injectTokens.$interpolate];
25667
25774
 
25668
25775
  /**
25669
25776
  * @param {*} $interpolate
@@ -27573,7 +27680,7 @@ const isShorthand = (cfg) =>
27573
27680
  Object.prototype.hasOwnProperty.bind(cfg || {}),
27574
27681
  ).length === 0;
27575
27682
 
27576
- var DefType;
27683
+ let DefType;
27577
27684
  (function (DefType) {
27578
27685
  DefType[(DefType["PATH"] = 0)] = "PATH";
27579
27686
  DefType[(DefType["SEARCH"] = 1)] = "SEARCH";
@@ -28860,6 +28967,26 @@ class Rejection {
28860
28967
  }
28861
28968
  }
28862
28969
 
28970
+ /** @typedef {import('../../interface.js').ServiceProvider} ServiceProvider
28971
+
28972
+ /**
28973
+ * Configurable provider for an injectable event bus
28974
+ * @implements {ServiceProvider}
28975
+ */
28976
+ class PubSubProvider {
28977
+ constructor() {
28978
+ /**
28979
+ * @type {PubSub}
28980
+ */
28981
+ this.eventBus = EventBus;
28982
+ }
28983
+
28984
+ /**
28985
+ * @returns {PubSub}
28986
+ */
28987
+ $get = () => this.eventBus;
28988
+ }
28989
+
28863
28990
  class PubSub {
28864
28991
  /**
28865
28992
  * Topic-based publish/subscribe channel. Maintains a map of topics to
@@ -30987,6 +31114,7 @@ class TransitionProvider {
30987
31114
 
30988
31115
  /**
30989
31116
  * @param {import('../globals.js').RouterGlobals} globals
31117
+ * @param viewService
30990
31118
  */
30991
31119
  constructor(globals, viewService) {
30992
31120
  this._transitionCount = 0;
@@ -34127,6 +34255,10 @@ function resolvablesBuilder(state) {
34127
34255
  * using the [[builder]] method.
34128
34256
  */
34129
34257
  class StateBuilder {
34258
+ /**
34259
+ * @param {import('./state-matcher.js').StateMatcher} matcher
34260
+ * @param urlService
34261
+ */
34130
34262
  constructor(matcher, urlService) {
34131
34263
  this.matcher = matcher;
34132
34264
  this.$injector = undefined;
@@ -34334,12 +34466,12 @@ class StateQueueManager {
34334
34466
  * @implements {ServiceProvider}
34335
34467
  */
34336
34468
  class StateRegistryProvider {
34337
- static $inject = [
34338
- "$urlServiceProvider",
34339
- "$stateProvider",
34340
- "$routerGlobalsProvider",
34341
- "$viewProvider",
34342
- ];
34469
+ static $inject = provider([
34470
+ $injectTokens.$urlService,
34471
+ $injectTokens.$state,
34472
+ $injectTokens.$routerGlobals,
34473
+ $injectTokens.$view,
34474
+ ]);
34343
34475
 
34344
34476
  /**
34345
34477
  * @param urlService
@@ -34637,7 +34769,7 @@ function clickHook(el, $state, type, getDef, scope) {
34637
34769
  // HACK: This is to allow ng-clicks to be processed before the transition is initiated:
34638
34770
  const transition = setTimeout(function () {
34639
34771
  if (!el.getAttribute("disabled")) {
34640
- var res = $state.go(
34772
+ const res = $state.go(
34641
34773
  target.ngState,
34642
34774
  target.ngStateParams,
34643
34775
  target.ngStateOpts,
@@ -35132,7 +35264,7 @@ let ngView = [
35132
35264
  };
35133
35265
  const directive = {
35134
35266
  count: 0,
35135
- restrict: "EA",
35267
+
35136
35268
  terminal: true,
35137
35269
  priority: 400,
35138
35270
  transclude: "element",
@@ -35267,7 +35399,6 @@ function $ViewDirectiveFill($compile, $controller, $transitions) {
35267
35399
  const getControllerAs = parse("viewDecl.controllerAs");
35268
35400
  const getResolveAs = parse("viewDecl.resolveAs");
35269
35401
  return {
35270
- restrict: "EA",
35271
35402
  priority: -400,
35272
35403
  compile: function (tElement) {
35273
35404
  const initial = tElement.innerHTML;
@@ -35463,7 +35594,6 @@ function registerControllerCallbacks(
35463
35594
  */
35464
35595
  function ngChannelDirective() {
35465
35596
  return {
35466
- restrict: "EA",
35467
35597
  link: (scope, element, attrs) => {
35468
35598
  const hasTemplate = element.childNodes.length > 0;
35469
35599
  const channel = attrs["ngChannel"];
@@ -35537,7 +35667,7 @@ function ngSetterDirective($parse, $log) {
35537
35667
  characterData: true,
35538
35668
  });
35539
35669
  } else {
35540
- console.warn("ngSetter: Element is not a valid DOM node.");
35670
+ $log.warn("ngSetter: Element is not a valid DOM node.");
35541
35671
  return;
35542
35672
  }
35543
35673
 
@@ -35547,13 +35677,14 @@ function ngSetterDirective($parse, $log) {
35547
35677
  };
35548
35678
  }
35549
35679
 
35550
- //injected by Rollup plugin
35551
- const VERSION = "0.7.0-beta.1";
35680
+ // @private
35681
+
35682
+ const VERSION = "0.7.0";
35552
35683
 
35553
35684
  /**
35554
- * Initializes `ng`, `animate`, `message`, `aria` and `router` modules.
35685
+ * Initializes core `ng` module.
35555
35686
  * @param {import('./loader.js').Angular} angular
35556
- * @returns {import('./core/di/ng-module.js').NgModule} `ng`module
35687
+ * @returns {import('./core/di/ng-module.js').NgModule} `ng` module
35557
35688
  */
35558
35689
  function publishExternalAPI(angular) {
35559
35690
  const ng = angular
@@ -35562,6 +35693,7 @@ function publishExternalAPI(angular) {
35562
35693
  [],
35563
35694
  [
35564
35695
  "$provide",
35696
+ /** @type {import('./interface.js').Provider} */
35565
35697
  ($provide) => {
35566
35698
  // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
35567
35699
  $provide.provider({
@@ -35685,12 +35817,17 @@ function publishExternalAPI(angular) {
35685
35817
  $templateFactory: TemplateFactoryProvider,
35686
35818
  $urlService: UrlService,
35687
35819
  $stateRegistry: StateRegistryProvider,
35820
+ $eventBus: PubSubProvider,
35688
35821
  });
35689
35822
  },
35690
35823
  ],
35691
35824
  )
35692
35825
  .factory("$stateParams", [
35693
35826
  "$routerGlobals",
35827
+ /**
35828
+ * @param {import('./router/globals.js').RouterGlobals} globals
35829
+ * @returns {import('./router/params/state-params.js').StateParams }
35830
+ */
35694
35831
  function (globals) {
35695
35832
  return globals.params;
35696
35833
  },
@@ -35738,6 +35875,7 @@ class Angular {
35738
35875
  this.errorHandlingConfig = errorHandlingConfig;
35739
35876
 
35740
35877
  window["angular"] = this;
35878
+ this.$injectTokens = $injectTokens;
35741
35879
  publishExternalAPI(this);
35742
35880
  }
35743
35881
 
@@ -35984,5 +36122,3 @@ const angular = new Angular();
35984
36122
  document.addEventListener("DOMContentLoaded", () => angular.init(document), {
35985
36123
  once: true,
35986
36124
  });
35987
-
35988
- export { angular };