@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,9 +1,8 @@
1
- /* Version: 0.7.0-beta.1 - June 19, 2025 01:16:31 */
2
- (function (global, factory) {
3
- typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
- typeof define === 'function' && define.amd ? define(['exports'], factory) :
5
- (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.angular = {}));
6
- })(this, (function (exports) { 'use strict';
1
+ /* Version: 0.7.0 - June 28, 2025 13:06:07 */
2
+ (function (factory) {
3
+ typeof define === 'function' && define.amd ? define(factory) :
4
+ factory();
5
+ })((function () { 'use strict';
7
6
 
8
7
  const VALID_CLASS = "ng-valid";
9
8
  const INVALID_CLASS = "ng-invalid";
@@ -74,7 +73,7 @@
74
73
  }
75
74
 
76
75
  /**
77
- * @param {*} obj
76
+ * @param {*} obj Reference to check.
78
77
  * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,
79
78
  * String ...)
80
79
  */
@@ -749,7 +748,7 @@
749
748
  key = tryDecodeURIComponent(key);
750
749
  if (isDefined(key)) {
751
750
  val = isDefined(val) ? tryDecodeURIComponent(val) : true;
752
- if (!hasOwn(obj, key)) {
751
+ if (!hasOwn(obj, /** @type {string} */ (key))) {
753
752
  obj[key] = val;
754
753
  } else if (Array.isArray(obj[key])) {
755
754
  obj[key].push(val);
@@ -789,12 +788,13 @@
789
788
  * Tries to decode the URI component without throwing an exception.
790
789
  *
791
790
  * @param {string} value potential URI component to check.
792
- * @returns {string}
791
+ * @returns {string|void}
793
792
  */
794
793
  function tryDecodeURIComponent(value) {
795
794
  try {
796
795
  return decodeURIComponent(value);
797
796
  } catch {
797
+ return;
798
798
  }
799
799
  }
800
800
 
@@ -1712,7 +1712,78 @@
1712
1712
  }
1713
1713
  }
1714
1714
 
1715
- const PROVIDE_LITERAL = "$provide";
1715
+ /**
1716
+ * A helper list of tokens matching the standard injectables that come predefined in the core `ng` module.
1717
+ * These string tokens are commonly injected into services, directives, or components via `$inject`.
1718
+ *
1719
+ * Example:
1720
+ * ```js
1721
+ *
1722
+ * myDirective.$inject = [
1723
+ * angular.$injectTokens.$animate,
1724
+ * angular.$injectTokens.$templateRequest,
1725
+ * ];
1726
+ * ```
1727
+ * @type Readonly<Record<string, string>>
1728
+ */
1729
+ const $injectTokens = Object.freeze({
1730
+ $$AnimateRunner: "$$AnimateRunner",
1731
+ $$animateAsyncRun: "$$animateAsyncRun",
1732
+ $$animateCache: "$$animateCache",
1733
+ $$animateCssDriver: "$$animateCssDriver",
1734
+ $$animateJs: "$$animateJs",
1735
+ $$animateJsDriver: "$$animateJsDriver",
1736
+ $$animateQueue: "$$animateQueue",
1737
+ $$animation: "$$animation",
1738
+ $$rAFScheduler: "$$rAFScheduler",
1739
+ $$taskTrackerFactory: "$$taskTrackerFactory",
1740
+ $anchorScroll: "$anchorScroll",
1741
+ $animate: "$animate",
1742
+ $animateCss: "$animateCss",
1743
+ $aria: "$aria",
1744
+ $browser: "$browser",
1745
+ $controller: "$controller",
1746
+ $eventBus: "$eventBus",
1747
+ $exceptionHandler: "$exceptionHandler",
1748
+ $filter: "$filter",
1749
+ $http: "$http",
1750
+ $httpBackend: "$httpBackend",
1751
+ $httpParamSerializer: "$httpParamSerializer",
1752
+ $interpolate: "$interpolate",
1753
+ $location: "$location",
1754
+ $log: "$log",
1755
+ $ngViewScroll: "$ngViewScroll",
1756
+ $parse: "$parse",
1757
+ $rootScope: "$rootScope",
1758
+ $routerGlobals: "$routerGlobals",
1759
+ $sce: "$sce",
1760
+ $sceDelegate: "$sceDelegate",
1761
+ $state: "$state",
1762
+ $stateRegistry: "$stateRegistry",
1763
+ $templateCache: "$templateCache",
1764
+ $templateFactory: "$templateFactory",
1765
+ $templateRequest: "$templateRequest",
1766
+ $transitions: "$transitions",
1767
+ $urlConfig: "$urlConfig",
1768
+ $urlService: "$urlService",
1769
+ $view: "$view",
1770
+ // provide literals
1771
+ $provide: "$provide",
1772
+ $injector: "$injector",
1773
+ $compileProvider: "$compileProvider",
1774
+ $animateProvider: "$animateProvider",
1775
+ $filterProvider: "$filterProvider",
1776
+ $controllerProvider: "$controllerProvider",
1777
+ });
1778
+
1779
+ /**
1780
+ * Utility for mapping to service-names to providers
1781
+ * @param {String[]} services
1782
+ */
1783
+ function provider(services) {
1784
+ return services.map((x) => x + "Provider");
1785
+ }
1786
+
1716
1787
  const INJECTOR_LITERAL = "$injector";
1717
1788
  const COMPILE_LITERAL = "$compileProvider";
1718
1789
  const ANIMATION_LITERAL = "$animateProvider";
@@ -1789,7 +1860,7 @@
1789
1860
  * @returns {NgModule}
1790
1861
  */
1791
1862
  value(name, object) {
1792
- this.invokeQueue.push([PROVIDE_LITERAL, "value", [name, object]]);
1863
+ this.invokeQueue.push([$injectTokens.$provide, "value", [name, object]]);
1793
1864
  return this;
1794
1865
  }
1795
1866
 
@@ -1799,7 +1870,11 @@
1799
1870
  * @returns {NgModule}
1800
1871
  */
1801
1872
  constant(name, object) {
1802
- this.invokeQueue.unshift([PROVIDE_LITERAL, "constant", [name, object]]);
1873
+ this.invokeQueue.unshift([
1874
+ $injectTokens.$provide,
1875
+ "constant",
1876
+ [name, object],
1877
+ ]);
1803
1878
  return this;
1804
1879
  }
1805
1880
 
@@ -1845,7 +1920,7 @@
1845
1920
  providerFunction.$$moduleName = name;
1846
1921
  }
1847
1922
  this.invokeQueue.push([
1848
- PROVIDE_LITERAL,
1923
+ $injectTokens.$provide,
1849
1924
  "factory",
1850
1925
  [name, providerFunction],
1851
1926
  ]);
@@ -1862,7 +1937,7 @@
1862
1937
  serviceFunction.$$moduleName = name;
1863
1938
  }
1864
1939
  this.invokeQueue.push([
1865
- PROVIDE_LITERAL,
1940
+ $injectTokens.$provide,
1866
1941
  "service",
1867
1942
  [name, serviceFunction],
1868
1943
  ]);
@@ -1878,7 +1953,11 @@
1878
1953
  if (providerType && isFunction(providerType)) {
1879
1954
  providerType.$$moduleName = name;
1880
1955
  }
1881
- this.invokeQueue.push([PROVIDE_LITERAL, "provider", [name, providerType]]);
1956
+ this.invokeQueue.push([
1957
+ $injectTokens.$provide,
1958
+ "provider",
1959
+ [name, providerType],
1960
+ ]);
1882
1961
  return this;
1883
1962
  }
1884
1963
 
@@ -1891,7 +1970,11 @@
1891
1970
  if (decorFn && isFunction(decorFn)) {
1892
1971
  decorFn.$$moduleName = name;
1893
1972
  }
1894
- this.configBlocks.push([PROVIDE_LITERAL, "decorator", [name, decorFn]]);
1973
+ this.configBlocks.push([
1974
+ $injectTokens.$provide,
1975
+ "decorator",
1976
+ [name, decorFn],
1977
+ ]);
1895
1978
  return this;
1896
1979
  }
1897
1980
 
@@ -1971,6 +2054,7 @@
1971
2054
  this.cache = {};
1972
2055
  /** @type {boolean} */
1973
2056
  this.strictDi = strictDi;
2057
+ /** @type {string[]} */
1974
2058
  this.path = [];
1975
2059
  /** @type {Object.<string, import("./ng-module.js").NgModule>} */
1976
2060
  this.modules = {};
@@ -2089,6 +2173,7 @@
2089
2173
  /**
2090
2174
  * @abstract
2091
2175
  * @param {string} _serviceName
2176
+ * @returns {any}
2092
2177
  */
2093
2178
  factory(_serviceName) {
2094
2179
  console.error(`Unhandled ${_serviceName}`);
@@ -2240,7 +2325,6 @@
2240
2325
  const FN_ARG = /^\s*(_?)(\S+?)\1\s*$/;
2241
2326
  const STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;
2242
2327
  const $injectorMinErr$1 = minErr(INJECTOR_LITERAL);
2243
-
2244
2328
  const providerSuffix = "Provider";
2245
2329
 
2246
2330
  /**
@@ -2608,7 +2692,7 @@
2608
2692
  this._node = element;
2609
2693
  }
2610
2694
 
2611
- // Nandle array of elements
2695
+ // Handle array of elements
2612
2696
  else if (element instanceof Array) {
2613
2697
  if (element.length == 1) {
2614
2698
  this.initial = element[0].cloneNode(true);
@@ -2651,8 +2735,6 @@
2651
2735
  } else {
2652
2736
  this._element = undefined;
2653
2737
  }
2654
- // this._nodes = undefined;
2655
- // this.isList = false;
2656
2738
  }
2657
2739
 
2658
2740
  /** @param {Array<Node>} nodes */
@@ -3387,7 +3469,7 @@
3387
3469
  "$exceptionHandler",
3388
3470
  /**
3389
3471
  *
3390
- * @param {import("../../core/di/internal-injector").InjectorService} $injector
3472
+ * @param {import("../../core/di/internal-injector.js").InjectorService} $injector
3391
3473
  * @param {*} $$sanitizeUri
3392
3474
  * @param {ErrorHandler} $exceptionHandler
3393
3475
  * @returns
@@ -3614,14 +3696,11 @@
3614
3696
  if (isResourceUrlAllowedByPolicy(maybeTrusted)) {
3615
3697
  return maybeTrusted;
3616
3698
  }
3617
- $exceptionHandler(
3618
- $sceMinErr(
3619
- "insecurl",
3620
- "Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",
3621
- maybeTrusted.toString(),
3622
- ),
3699
+ throw $sceMinErr(
3700
+ "insecurl",
3701
+ "Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",
3702
+ maybeTrusted.toString(),
3623
3703
  );
3624
- return;
3625
3704
  } else if (type === SCE_CONTEXTS.HTML) {
3626
3705
  // htmlSanitizer throws its own error when no sanitizer is available.
3627
3706
  return htmlSanitizer();
@@ -3662,8 +3741,7 @@
3662
3741
  this.$get = [
3663
3742
  "$parse",
3664
3743
  "$sceDelegate",
3665
- "$exceptionHandler",
3666
- function ($parse, $sceDelegate, $exceptionHandler) {
3744
+ function ($parse, $sceDelegate) {
3667
3745
  const sce = shallowCopy(SCE_CONTEXTS);
3668
3746
 
3669
3747
  /**
@@ -3907,11 +3985,7 @@
3907
3985
  return parse(enumValue, expr);
3908
3986
  };
3909
3987
  sce[snakeToCamel(`get_trusted_${lName}`)] = function (value) {
3910
- try {
3911
- return getTrusted(enumValue, value);
3912
- } catch (e) {
3913
- $exceptionHandler(e);
3914
- }
3988
+ return getTrusted(enumValue, value);
3915
3989
  };
3916
3990
  sce[snakeToCamel(`trust_as_${lName}`)] = function (value) {
3917
3991
  return trustAs(enumValue, value);
@@ -3990,6 +4064,9 @@
3990
4064
  const SIMPLE_ATTR_NAME = /^\w/;
3991
4065
  const specialAttrHolder = document.createElement("div");
3992
4066
 
4067
+ /**
4068
+ * @implements {Record<string, any>}
4069
+ */
3993
4070
  class Attributes {
3994
4071
  static $nonscope = true;
3995
4072
 
@@ -3999,7 +4076,7 @@
3999
4076
  * @param {import("../exception-handler.js").ErrorHandler} $exceptionHandler
4000
4077
  * @param {*} $sce
4001
4078
  * @param {import("../../shared/noderef.js").NodeRef} [nodeRef]
4002
- * @param {*} [attributesToCopy]
4079
+ * @param {Object} [attributesToCopy]
4003
4080
  */
4004
4081
  constructor(
4005
4082
  $rootScope,
@@ -4446,7 +4523,7 @@
4446
4523
 
4447
4524
  /**
4448
4525
  * @param {import('../../interface.js').Provider} $provide
4449
- * @param $$sanitizeUriProvider
4526
+ * @param {import('../sanitize/sanitize-uri.js').SanitizeUriProvider} $$sanitizeUriProvider
4450
4527
  */
4451
4528
  constructor($provide, $$sanitizeUriProvider) {
4452
4529
  const hasDirectives = {};
@@ -4458,7 +4535,7 @@
4458
4535
  * @param {import("../scope/scope.js").Scope} scope
4459
4536
  * @param {string} directiveName
4460
4537
  * @param {boolean} isController
4461
- * @returns {Object} a configuartion object for attribute bindings
4538
+ * @returns {Object} a configuration object for attribute bindings
4462
4539
  */
4463
4540
  function parseIsolateBindings(scope, directiveName, isController) {
4464
4541
  const LOCAL_REGEXP = /^([@&]|[=<]())(\??)\s*([\w$]*)$/;
@@ -4754,13 +4831,13 @@
4754
4831
  * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.
4755
4832
  *
4756
4833
  * @param {RegExp=} regexp New regexp to trust urls with.
4757
- * @returns {RegExp|CompileProvider} Current RegExp if called without value or self for
4834
+ * @returns {RegExp|import('../sanitize/sanitize-uri.js').SanitizeUriProvider} Current RegExp if called without value or self for
4758
4835
  * chaining otherwise.
4759
4836
  */
4760
4837
  this.aHrefSanitizationTrustedUrlList = function (regexp) {
4761
4838
  if (isDefined(regexp)) {
4762
4839
  $$sanitizeUriProvider.aHrefSanitizationTrustedUrlList(regexp);
4763
- return this;
4840
+ return;
4764
4841
  }
4765
4842
  return $$sanitizeUriProvider.aHrefSanitizationTrustedUrlList();
4766
4843
  };
@@ -4777,13 +4854,13 @@
4777
4854
  * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.
4778
4855
  *
4779
4856
  * @param {RegExp=} regexp New regexp to trust urls with.
4780
- * @returns {RegExp|CompileProvider} Current RegExp if called without value or self for
4857
+ * @returns {RegExp|import('../sanitize/sanitize-uri.js').SanitizeUriProvider} Current RegExp if called without value or self for
4781
4858
  * chaining otherwise.
4782
4859
  */
4783
4860
  this.imgSrcSanitizationTrustedUrlList = function (regexp) {
4784
4861
  if (isDefined(regexp)) {
4785
4862
  $$sanitizeUriProvider.imgSrcSanitizationTrustedUrlList(regexp);
4786
- return this;
4863
+ return;
4787
4864
  }
4788
4865
  return $$sanitizeUriProvider.imgSrcSanitizationTrustedUrlList();
4789
4866
  };
@@ -5597,6 +5674,7 @@
5597
5674
  let controllerScope;
5598
5675
  let elementControllers;
5599
5676
  let transcludeFn;
5677
+ let scopeToChild = scope;
5600
5678
 
5601
5679
  /** @type {NodeRef} */
5602
5680
  let $element;
@@ -5768,7 +5846,7 @@
5768
5846
  // RECURSION
5769
5847
  // We only pass the isolate scope, if the isolate directive has a template,
5770
5848
  // otherwise the child elements do not belong to the isolate directive.
5771
- var scopeToChild = scope;
5849
+
5772
5850
  if (
5773
5851
  newIsolateScopeDirective &&
5774
5852
  (newIsolateScopeDirective.template ||
@@ -6773,6 +6851,8 @@
6773
6851
  .catch((error) => {
6774
6852
  if (isError(error)) {
6775
6853
  $exceptionHandler(error);
6854
+ } else {
6855
+ $exceptionHandler(new Error(error));
6776
6856
  }
6777
6857
  });
6778
6858
 
@@ -6880,11 +6960,12 @@
6880
6960
  type = (type || "html").toLowerCase();
6881
6961
  switch (type) {
6882
6962
  case "svg":
6883
- case "math":
6884
- /** @type {HTMLDivElement} */
6885
- var wrapper = document.createElement("div");
6963
+ case "math": {
6964
+ const wrapper =
6965
+ /** @type {HTMLDivElement} */ document.createElement("div");
6886
6966
  wrapper.innerHTML = `<${type}>${template}</${type}>`;
6887
6967
  return wrapper.childNodes[0].childNodes;
6968
+ }
6888
6969
  default:
6889
6970
  return template;
6890
6971
  }
@@ -6960,21 +7041,22 @@
6960
7041
  // If you want to programmatically set explicitly trusted unsafe URLs, you should use
6961
7042
  // `$sce.trustAsHtml` on the whole `img` tag and inject it into the DOM using the
6962
7043
  // `ng-bind-html` directive.
6963
- var result = "";
7044
+ let result = "";
6964
7045
 
6965
7046
  // first check if there are spaces because it's not the same pattern
6966
- var trimmedSrcset = trim(value);
7047
+ const trimmedSrcset = trim(value);
6967
7048
  // ( 999x ,| 999w ,| ,|, )
6968
- var srcPattern = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;
6969
- var pattern = /\s/.test(trimmedSrcset) ? srcPattern : /(,)/;
7049
+ const srcPattern = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;
7050
+ const pattern = /\s/.test(trimmedSrcset) ? srcPattern : /(,)/;
6970
7051
 
6971
7052
  // split srcset into tuple of uri and descriptor except for the last item
6972
- var rawUris = trimmedSrcset.split(pattern);
7053
+ const rawUris = trimmedSrcset.split(pattern);
6973
7054
 
6974
7055
  // for each tuples
6975
- var nbrUrisWith2parts = Math.floor(rawUris.length / 2);
6976
- for (var i = 0; i < nbrUrisWith2parts; i++) {
6977
- var innerIdx = i * 2;
7056
+ const nbrUrisWith2parts = Math.floor(rawUris.length / 2);
7057
+ let i;
7058
+ for (i = 0; i < nbrUrisWith2parts; i++) {
7059
+ const innerIdx = i * 2;
6978
7060
  // sanitize the uri
6979
7061
  result += $sce.getTrustedMediaUrl(trim(rawUris[innerIdx]));
6980
7062
  // add the descriptor
@@ -6982,7 +7064,7 @@
6982
7064
  }
6983
7065
 
6984
7066
  // split the last item into uri and descriptor
6985
- var lastTuple = trim(rawUris[i * 2]).split(/\s/);
7067
+ const lastTuple = trim(rawUris[i * 2]).split(/\s/);
6986
7068
 
6987
7069
  // sanitize the last uri
6988
7070
  result += $sce.getTrustedMediaUrl(trim(lastTuple[0]));
@@ -7286,7 +7368,7 @@
7286
7368
  removeWatchCollection.push(removeWatch);
7287
7369
  break;
7288
7370
 
7289
- case "=":
7371
+ case "=": {
7290
7372
  if (!hasOwn(attrs, attrName)) {
7291
7373
  if (optional) {
7292
7374
  break;
@@ -7299,7 +7381,6 @@
7299
7381
  }
7300
7382
 
7301
7383
  parentGet = $parse(attrs[attrName]);
7302
- var complexExpression = !!parentGet.inputs;
7303
7384
  if (parentGet.literal) {
7304
7385
  compare = equals$1;
7305
7386
  } else {
@@ -7324,7 +7405,7 @@
7324
7405
  lastValue = destination.$target[scopeName] = parentGet(
7325
7406
  scope.$target,
7326
7407
  );
7327
- var parentValueWatch = function parentValueWatch(
7408
+ const parentValueWatch = function parentValueWatch(
7328
7409
  parentValue,
7329
7410
  ) {
7330
7411
  if (!compare(parentValue, destination[scopeName])) {
@@ -7356,7 +7437,7 @@
7356
7437
  scope.$watch(
7357
7438
  expr,
7358
7439
  (val) => {
7359
- var res = $parse(attrs[attrName], parentValueWatch);
7440
+ const res = $parse(attrs[attrName], parentValueWatch);
7360
7441
  if (val) {
7361
7442
  if (parentGet.literal) {
7362
7443
  scope.$target[attrName] = val;
@@ -7382,7 +7463,7 @@
7382
7463
  return;
7383
7464
  }
7384
7465
  if (
7385
- (complexExpression && !parentGet.literal) ||
7466
+ (!!parentGet.inputs && !parentGet.literal) ||
7386
7467
  (isUndefined(attrs[attrName]) && isDefined(val))
7387
7468
  ) {
7388
7469
  destination.$target[attrName] = lastValue;
@@ -7414,6 +7495,7 @@
7414
7495
  }
7415
7496
  removeWatchCollection.push(removeWatch);
7416
7497
  break;
7498
+ }
7417
7499
 
7418
7500
  case "<":
7419
7501
  if (!hasOwn(attrs, attrName)) {
@@ -10363,13 +10445,19 @@
10363
10445
  };
10364
10446
 
10365
10447
  element.addEventListener("change", listener);
10366
-
10448
+ // NgModelController call
10367
10449
  ctrl.$render = function () {
10368
10450
  let { value } = attr;
10369
10451
  if (doTrim) {
10370
10452
  value = trim(value);
10371
10453
  }
10372
- element.checked = value === ctrl.$viewValue;
10454
+ const deproxy = isProxy(ctrl.$viewValue)
10455
+ ? ctrl.$viewValue.$target
10456
+ : ctrl.$viewValue;
10457
+ // the proxy may reach down two levels
10458
+ element.checked =
10459
+ (isProxy(value) ? value.$target : value) ===
10460
+ (isProxy(deproxy) ? deproxy.$target : deproxy);
10373
10461
  };
10374
10462
 
10375
10463
  attr.$observe("value", ctrl.$render);
@@ -11164,7 +11252,6 @@
11164
11252
  */
11165
11253
  function ngBindDirective() {
11166
11254
  return {
11167
- restrict: "EA",
11168
11255
  /**
11169
11256
  * @param {import('../../core/scope/scope.js').Scope} scope
11170
11257
  * @param {Element} element
@@ -11183,7 +11270,6 @@
11183
11270
  */
11184
11271
  function ngBindTemplateDirective() {
11185
11272
  return {
11186
- restrict: "EA",
11187
11273
  /**
11188
11274
  * @param {import('../../core/scope/scope.js').Scope} _scope
11189
11275
  * @param {Element} element
@@ -11197,7 +11283,7 @@
11197
11283
  };
11198
11284
  }
11199
11285
 
11200
- ngBindHtmlDirective.$inject = ["$parse"];
11286
+ ngBindHtmlDirective.$inject = [$injectTokens.$parse];
11201
11287
  /**
11202
11288
  * @returns {import('../../interface.ts').Directive}
11203
11289
  */
@@ -11232,7 +11318,6 @@
11232
11318
 
11233
11319
  return function () {
11234
11320
  return {
11235
- restrict: "EA",
11236
11321
  /**
11237
11322
  * @param {import("../../core/scope/scope.js").Scope} scope
11238
11323
  * @param {Element} element
@@ -11396,7 +11481,6 @@
11396
11481
  */
11397
11482
  function ngCloakDirective() {
11398
11483
  return {
11399
- restrict: "EA",
11400
11484
  compile(element, attr) {
11401
11485
  attr.$set("ngCloak", undefined);
11402
11486
  element.classList.remove("ng-cloak");
@@ -11552,26 +11636,36 @@
11552
11636
  };
11553
11637
  }
11554
11638
 
11555
- ngIncludeDirective.$inject = ["$templateRequest", "$anchorScroll", "$animate"];
11639
+ ngIncludeDirective.$inject = [
11640
+ $injectTokens.$templateRequest,
11641
+ $injectTokens.$anchorScroll,
11642
+ $injectTokens.$animate,
11643
+ $injectTokens.$exceptionHandler,
11644
+ ];
11556
11645
 
11557
11646
  /**
11558
11647
  *
11559
11648
  * @param {*} $templateRequest
11560
11649
  * @param {import("../../services/anchor-scroll.js").AnchorScrollFunction} $anchorScroll
11561
11650
  * @param {*} $animate
11562
- * @returns
11651
+ * @param {import('../../core/error-handler.js').ErrorHandler} $exceptionHandler
11652
+ * @returns {import('../../interface.js').Directive}
11563
11653
  */
11564
- function ngIncludeDirective($templateRequest, $anchorScroll, $animate) {
11654
+ function ngIncludeDirective(
11655
+ $templateRequest,
11656
+ $anchorScroll,
11657
+ $animate,
11658
+ $exceptionHandler,
11659
+ ) {
11565
11660
  return {
11566
- restrict: "EA",
11567
11661
  priority: 400,
11568
11662
  terminal: true,
11569
11663
  transclude: "element",
11570
11664
  controller: () => {},
11571
11665
  compile(_element, attr) {
11572
- const srcExp = attr.ngInclude || attr.src;
11573
- const onloadExp = attr.onload || "";
11574
- const autoScrollExp = attr.autoscroll;
11666
+ const srcExp = attr["ngInclude"] || attr["src"];
11667
+ const onloadExp = attr["onload"] || "";
11668
+ const autoScrollExp = attr["autoscroll"];
11575
11669
 
11576
11670
  return (scope, $element, _$attr, ctrl, $transclude) => {
11577
11671
  function maybeScroll() {
@@ -11624,7 +11718,7 @@
11624
11718
  if (scope.$$destroyed) return;
11625
11719
  if (thisChangeId !== changeCounter) return;
11626
11720
  const newScope = scope.$new();
11627
- ctrl.template = response;
11721
+ ctrl["template"] = response;
11628
11722
 
11629
11723
  // Note: This will also link all children of ng-include that were contained in the original
11630
11724
  // html. If that content contains controllers, ... they could pollute/change the scope.
@@ -11647,19 +11741,20 @@
11647
11741
  currentScope.$emit("$includeContentLoaded", src);
11648
11742
  scope.$eval(onloadExp);
11649
11743
  },
11650
- () => {
11744
+ (err) => {
11651
11745
  if (scope.$$destroyed) return;
11652
11746
 
11653
11747
  if (thisChangeId === changeCounter) {
11654
11748
  cleanupLastIncludeContent();
11655
11749
  scope.$emit("$includeContentError", src);
11656
11750
  }
11751
+ $exceptionHandler(new Error(err));
11657
11752
  },
11658
11753
  );
11659
11754
  scope.$emit("$includeContentRequested", src);
11660
11755
  } else {
11661
11756
  cleanupLastIncludeContent();
11662
- ctrl.template = null;
11757
+ ctrl["template"] = null;
11663
11758
  }
11664
11759
  });
11665
11760
  };
@@ -11680,7 +11775,6 @@
11680
11775
  */
11681
11776
  function ngIncludeFillContentDirective($compile) {
11682
11777
  return {
11683
- restrict: "EA",
11684
11778
  priority: -400,
11685
11779
  require: "ngInclude",
11686
11780
  link(scope, $element, _$attr, ctrl) {
@@ -11716,7 +11810,6 @@
11716
11810
  */
11717
11811
  function ngNonBindableDirective() {
11718
11812
  return {
11719
- restrict: "EA",
11720
11813
  terminal: true,
11721
11814
  priority: 1000,
11722
11815
  };
@@ -11826,7 +11919,7 @@
11826
11919
  const VAR_OR_TUPLE_REGEX =
11827
11920
  /^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/;
11828
11921
 
11829
- ngRepeatDirective.$inject = ["$animate"];
11922
+ ngRepeatDirective.$inject = [$injectTokens.$animate];
11830
11923
 
11831
11924
  /**
11832
11925
  * TODO // Add type for animate service
@@ -11938,15 +12031,15 @@
11938
12031
  let lastBlockMap = Object.create(null);
11939
12032
  // watch props
11940
12033
  $scope.$watch(rhs, (collection) => {
11941
- var index,
12034
+ let index,
11942
12035
  length,
11943
12036
  previousNode = $element, // node that cloned nodes should be inserted after
11944
12037
  // initialized to the comment node anchor
11945
- nextNode,
11946
- // Same as lastBlockMap but it has the current state. It will become the
12038
+ nextNode;
12039
+ const // Same as lastBlockMap but it has the current state. It will become the
11947
12040
  // lastBlockMap on the next iteration.
11948
- nextBlockMap = Object.create(null),
11949
- collectionLength,
12041
+ nextBlockMap = Object.create(null);
12042
+ let collectionLength,
11950
12043
  key,
11951
12044
  value, // key/value of iteration
11952
12045
  trackById,
@@ -12012,7 +12105,7 @@
12012
12105
  }
12013
12106
 
12014
12107
  // remove leftover items
12015
- for (var blockKey in lastBlockMap) {
12108
+ for (let blockKey in lastBlockMap) {
12016
12109
  block = lastBlockMap[blockKey];
12017
12110
  elementsToRemove = block.clone;
12018
12111
  if (hasAnimate) {
@@ -12230,7 +12323,7 @@
12230
12323
  transclude: "element",
12231
12324
  terminal: true,
12232
12325
  priority: 1200,
12233
- restrict: "EA",
12326
+
12234
12327
  require: "^ngSwitch",
12235
12328
  link(scope, element, attrs, ctrl, $transclude) {
12236
12329
  const cases = attrs["ngSwitchWhen"]
@@ -12257,7 +12350,6 @@
12257
12350
  */
12258
12351
  function ngSwitchDefaultDirective() {
12259
12352
  return {
12260
- restrict: "EA",
12261
12353
  transclude: "element",
12262
12354
  terminal: true,
12263
12355
  priority: 1200,
@@ -12271,6 +12363,12 @@
12271
12363
 
12272
12364
  const ngOptionsMinErr = minErr("ngOptions");
12273
12365
 
12366
+ /** @type {HTMLOptionElement} */
12367
+ const optionTemplate = document.createElement("option");
12368
+
12369
+ /** @type {HTMLOptGroupElement} */
12370
+ const optGroupTemplate = document.createElement("optgroup");
12371
+
12274
12372
  const NG_OPTIONS_REGEXP =
12275
12373
  /^\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]+?))?$/;
12276
12374
  // 1: value expression (valueFn)
@@ -12293,6 +12391,12 @@
12293
12391
  * @returns
12294
12392
  */
12295
12393
  function ($compile, $parse) {
12394
+ /**
12395
+ * @param {import('../../interface.ts').Expression} optionsExp
12396
+ * @param {HTMLSelectElement} selectElement
12397
+ * @param {import('../../core/scope/scope.js').Scope} scope
12398
+ * @returns
12399
+ */
12296
12400
  function parseOptionsExpression(optionsExp, selectElement, scope) {
12297
12401
  const match = optionsExp.match(NG_OPTIONS_REGEXP);
12298
12402
  if (!match) {
@@ -12419,7 +12523,9 @@
12419
12523
  }),
12420
12524
 
12421
12525
  getOptions() {
12526
+ /** @type {Option[]} */
12422
12527
  const optionItems = [];
12528
+ /** @type {Object.<string, Option>} */
12423
12529
  const selectValueMap = {};
12424
12530
 
12425
12531
  // The option values were already computed in the `getWatchables` fn,
@@ -12470,23 +12576,17 @@
12470
12576
  };
12471
12577
  }
12472
12578
 
12473
- // Support: IE 9 only
12474
- // We can't just ('<option>') since JQLite is not smart enough
12475
- // to create it in <select> and IE barfs otherwise.
12476
- const optionTemplate = document.createElement("option");
12477
- const optGroupTemplate = document.createElement("optgroup");
12478
-
12479
12579
  /**
12480
12580
  *
12481
12581
  * @param {import("../../core/scope/scope.js").Scope} scope
12482
12582
  * @param {HTMLSelectElement} selectElement
12483
- * @param {*} attr
12583
+ * @param {import("../../core/compile/attributes.js").Attributes} attr
12484
12584
  * @param {*} ctrls
12485
12585
  */
12486
12586
  function ngOptionsPostLink(scope, selectElement, attr, ctrls) {
12487
12587
  const selectCtrl = ctrls[0];
12488
12588
  const ngModelCtrl = ctrls[1];
12489
- const { multiple } = attr;
12589
+ const multiple = attr["multiple"];
12490
12590
 
12491
12591
  // The emptyOption allows the application developer to provide their own custom "empty"
12492
12592
  // option when the viewValue does not match any of the option values.
@@ -12513,7 +12613,7 @@
12513
12613
 
12514
12614
  let options;
12515
12615
  const ngOptions = parseOptionsExpression(
12516
- attr.ngOptions,
12616
+ attr["ngOptions"],
12517
12617
  selectElement,
12518
12618
  scope,
12519
12619
  );
@@ -12572,14 +12672,14 @@
12572
12672
  // If we are using `track by` then we must watch the tracked value on the model
12573
12673
  // since ngModel only watches for object identity change
12574
12674
  // FIXME: When a user selects an option, this watch will fire needlessly
12575
- // if (ngOptions.trackBy) {
12576
- // scope.$watch(
12577
- // () => ngOptions.getTrackByValue(ngModelCtrl.$viewValue),
12578
- // () => {
12579
- // ngModelCtrl.$render();
12580
- // },
12581
- // );
12582
- // }
12675
+ if (ngOptions.trackBy) {
12676
+ scope.$watch(
12677
+ ngOptions.getTrackByValue(ngModelCtrl.$viewValue),
12678
+ () => {
12679
+ ngModelCtrl.$render();
12680
+ },
12681
+ );
12682
+ }
12583
12683
  } else {
12584
12684
  selectCtrl.writeValue = function writeNgOptionsMultiple(values) {
12585
12685
  // The options might not be defined yet when ngModel tries to render
@@ -12632,11 +12732,10 @@
12632
12732
  // compile the element since there might be bindings in it
12633
12733
  const linkFn = $compile(selectCtrl.emptyOption);
12634
12734
  assertArg$1(linkFn, "LinkFn required");
12635
- linkFn(scope);
12636
-
12637
12735
  selectElement.prepend(selectCtrl.emptyOption);
12736
+ linkFn(scope);
12638
12737
 
12639
- if (selectCtrl.emptyOption[0].nodeType === Node.COMMENT_NODE) {
12738
+ if (selectCtrl.emptyOption.nodeType === Node.COMMENT_NODE) {
12640
12739
  // This means the empty option has currently no actual DOM node, probably because
12641
12740
  // it has been modified by a transclusion directive.
12642
12741
  selectCtrl.hasEmptyOption = false;
@@ -12678,7 +12777,12 @@
12678
12777
  // ------------------------------------------------------------------ //
12679
12778
 
12680
12779
  function addOptionElement(option, parent) {
12681
- const optionElement = optionTemplate.cloneNode(false);
12780
+ /**
12781
+ * @type {HTMLOptionElement}
12782
+ */
12783
+ const optionElement = /** @type {HTMLOptionElement} */ (
12784
+ optionTemplate.cloneNode(false)
12785
+ );
12682
12786
  parent.appendChild(optionElement);
12683
12787
  updateOptionElement(option, optionElement);
12684
12788
  }
@@ -12823,7 +12927,6 @@
12823
12927
  */
12824
12928
  function ($compile) {
12825
12929
  return {
12826
- restrict: "EA",
12827
12930
  compile: function ngTranscludeCompile(tElement) {
12828
12931
  // Remove and cache any original content to act as a fallback
12829
12932
  const fallbackLinkFn = $compile(tElement.childNodes);
@@ -12984,7 +13087,7 @@
12984
13087
  ["src", "srcset", "href"].forEach((attrName) => {
12985
13088
  const normalized = directiveNormalize(`ng-${attrName}`);
12986
13089
  ngAttributeAliasDirectives[normalized] = [
12987
- "$sce",
13090
+ $injectTokens.$sce,
12988
13091
  function ($sce) {
12989
13092
  return {
12990
13093
  priority: 99, // it needs to run after the attributes are interpolated
@@ -13135,8 +13238,8 @@
13135
13238
  restrict: "A",
13136
13239
  require: "?ngModel",
13137
13240
  compile: (_Elm, tAttr) => {
13138
- var patternExp;
13139
- var parseFn;
13241
+ let patternExp;
13242
+ let parseFn;
13140
13243
 
13141
13244
  if (tAttr["ngPattern"]) {
13142
13245
  patternExp = tAttr["ngPattern"];
@@ -13159,7 +13262,7 @@
13159
13262
  return function (scope, elm, attr, ctrl) {
13160
13263
  if (!ctrl) return;
13161
13264
 
13162
- var attrVal = attr["pattern"];
13265
+ let attrVal = attr["pattern"];
13163
13266
 
13164
13267
  if (attr["ngPattern"]) {
13165
13268
  attrVal = parseFn(scope);
@@ -13167,9 +13270,9 @@
13167
13270
  patternExp = attr["pattern"];
13168
13271
  }
13169
13272
 
13170
- var regexp = parsePatternAttr(attrVal, patternExp, elm);
13273
+ let regexp = parsePatternAttr(attrVal, patternExp, elm);
13171
13274
  attr.$observe("pattern", function (newVal) {
13172
- var oldRegexp = regexp;
13275
+ const oldRegexp = regexp;
13173
13276
 
13174
13277
  regexp = parsePatternAttr(newVal, patternExp, elm);
13175
13278
 
@@ -13374,10 +13477,6 @@
13374
13477
  this.autoScrollingEnabled = true;
13375
13478
  }
13376
13479
 
13377
- disableAutoScrolling() {
13378
- this.autoScrollingEnabled = false;
13379
- }
13380
-
13381
13480
  $get = [
13382
13481
  "$location",
13383
13482
  "$rootScope",
@@ -13764,7 +13863,7 @@
13764
13863
  };
13765
13864
 
13766
13865
  Object.entries(flags).forEach(([klass, val]) => {
13767
- var prop, allow;
13866
+ let prop, allow;
13768
13867
  if (val === ADD_CLASS) {
13769
13868
  prop = "addClass";
13770
13869
  allow = !existing[klass] || existing[klass + REMOVE_CLASS_SUFFIX];
@@ -13891,6 +13990,8 @@
13891
13990
  }
13892
13991
 
13893
13992
  AnimateProvider.$inject = ["$provide"];
13993
+
13994
+ /** @param {import('../interface.ts').Provider} $provide */
13894
13995
  function AnimateProvider($provide) {
13895
13996
  const provider = this;
13896
13997
  let classNameFilter = null;
@@ -13930,7 +14031,7 @@
13930
14031
  * ```
13931
14032
  *
13932
14033
  * @param {string} name The name of the animation (this is what the class-based CSS value will be compared to).
13933
- * @param {Function} factory The factory function that will be executed to return the animation
14034
+ * @param {import("../interface.ts").Injectable} factory The factory function that will be executed to return the animation
13934
14035
  * object.
13935
14036
  */
13936
14037
  this.register = function (name, factory) {
@@ -14612,13 +14713,13 @@
14612
14713
  function AnimateAsyncRunFactoryProvider() {
14613
14714
  this.$get = [
14614
14715
  function () {
14615
- var waitQueue = [];
14716
+ let waitQueue = [];
14616
14717
 
14617
14718
  function waitForTick(fn) {
14618
14719
  waitQueue.push(fn);
14619
14720
  if (waitQueue.length > 1) return;
14620
14721
  window.requestAnimationFrame(function () {
14621
- for (var i = 0; i < waitQueue.length; i++) {
14722
+ for (let i = 0; i < waitQueue.length; i++) {
14622
14723
  waitQueue[i]();
14623
14724
  }
14624
14725
  waitQueue = [];
@@ -14626,7 +14727,7 @@
14626
14727
  }
14627
14728
 
14628
14729
  return function () {
14629
- var passed = false;
14730
+ let passed = false;
14630
14731
  waitForTick(function () {
14631
14732
  passed = true;
14632
14733
  });
@@ -14869,7 +14970,7 @@
14869
14970
 
14870
14971
  /** @typedef {import('../services/log').LogService} LogService */
14871
14972
 
14872
- /** @typedef {import("./error-handler.ts").ErrorHandler } ErrorHandler */
14973
+ /** @typedef {import("./error-handler.ts").ErrorHandler} ErrorHandler */
14873
14974
 
14874
14975
  /**
14875
14976
  * Provider for `$exceptionHandler` service. Delegates uncaught exceptions to `$log.error()` by default.
@@ -15163,7 +15264,7 @@
15163
15264
  return [].slice.call(input, begin, end);
15164
15265
  }
15165
15266
 
15166
- orderByFilter.$inject = ["$parse"];
15267
+ orderByFilter.$inject = [$injectTokens.$parse];
15167
15268
 
15168
15269
  /**
15169
15270
  * @returns {import('../interface.ts').FilterFn}
@@ -15405,7 +15506,6 @@
15405
15506
  this.$get = [
15406
15507
  "$injector",
15407
15508
  /**
15408
- *
15409
15509
  * @param {import("../../core/di/internal-injector.js").InjectorService} $injector
15410
15510
  * @returns
15411
15511
  */
@@ -17296,10 +17396,10 @@
17296
17396
  const cache = Object.create(null);
17297
17397
 
17298
17398
  /** @type {function(any):boolean?} */
17299
- var identStart;
17399
+ let identStart;
17300
17400
 
17301
17401
  /** @type {function(any):boolean?} */
17302
- var identContinue;
17402
+ let identContinue;
17303
17403
 
17304
17404
  /**
17305
17405
  * Allows defining the set of characters that are allowed in AngularTS expressions. The function
@@ -17336,7 +17436,7 @@
17336
17436
  */
17337
17437
  function ($filter) {
17338
17438
  /** @type {import("./lexer/lexer.js").LexerOptions} */
17339
- var $lexerOptions = {
17439
+ const $lexerOptions = {
17340
17440
  isIdentifierStart: isFunction(identStart) && identStart,
17341
17441
  isIdentifierContinue: isFunction(identContinue) && identContinue,
17342
17442
  };
@@ -17348,7 +17448,7 @@
17348
17448
  * @returns any
17349
17449
  */
17350
17450
  function $parse(exp, interceptorFn) {
17351
- var parsedExpression, cacheKey;
17451
+ let parsedExpression, cacheKey;
17352
17452
 
17353
17453
  switch (typeof exp) {
17354
17454
  case "string":
@@ -17358,8 +17458,8 @@
17358
17458
  parsedExpression = cache[cacheKey];
17359
17459
 
17360
17460
  if (!parsedExpression) {
17361
- var lexer = new Lexer($lexerOptions);
17362
- var parser = new Parser(lexer, $filter);
17461
+ const lexer = new Lexer($lexerOptions);
17462
+ const parser = new Parser(lexer, $filter);
17363
17463
  parsedExpression = parser.parse(exp);
17364
17464
 
17365
17465
  cache[cacheKey] = addWatchDelegate(parsedExpression);
@@ -20427,6 +20527,7 @@
20427
20527
  * @param {Object} target - The target object.
20428
20528
  * @param {string} property - The name of the property being set.
20429
20529
  * @param {*} value - The new value being assigned to the property.
20530
+ * @param {Proxy} proxy - The proxy intercepting property access
20430
20531
  * @returns {boolean} - Returns true to indicate success of the operation.
20431
20532
  */
20432
20533
  set(target, property, value, proxy) {
@@ -20463,13 +20564,13 @@
20463
20564
  const listeners = this.watchers.get(property);
20464
20565
 
20465
20566
  if (listeners) {
20466
- this.scheduleListener(listeners);
20567
+ this.#scheduleListener(listeners);
20467
20568
  }
20468
20569
 
20469
20570
  const foreignListeners = this.foreignListeners.get(property);
20470
20571
 
20471
20572
  if (foreignListeners) {
20472
- this.scheduleListener(foreignListeners);
20573
+ this.#scheduleListener(foreignListeners);
20473
20574
  }
20474
20575
  }
20475
20576
 
@@ -20494,16 +20595,16 @@
20494
20595
  const listeners = this.watchers.get(property);
20495
20596
 
20496
20597
  if (listeners) {
20497
- this.scheduleListener(listeners);
20598
+ this.#scheduleListener(listeners);
20498
20599
  }
20499
20600
 
20500
20601
  const foreignListeners = this.foreignListeners.get(property);
20501
20602
 
20502
20603
  if (foreignListeners) {
20503
- this.scheduleListener(foreignListeners);
20604
+ this.#scheduleListener(foreignListeners);
20504
20605
  }
20505
20606
 
20506
- this.checkeListenersForAllKeys(value);
20607
+ this.#checkeListenersForAllKeys(value);
20507
20608
  }
20508
20609
  target[property] = createScope(value, this);
20509
20610
  //setDeepValue(target[property], value);
@@ -20524,7 +20625,7 @@
20524
20625
  let listeners = this.watchers.get(property);
20525
20626
 
20526
20627
  if (listeners) {
20527
- this.scheduleListener(listeners);
20628
+ this.#scheduleListener(listeners);
20528
20629
  }
20529
20630
  }
20530
20631
 
@@ -20536,7 +20637,7 @@
20536
20637
  let listeners = this.watchers.get(property);
20537
20638
 
20538
20639
  if (listeners) {
20539
- this.scheduleListener(listeners);
20640
+ this.#scheduleListener(listeners);
20540
20641
  }
20541
20642
 
20542
20643
  if (Array.isArray(target)) {
@@ -20545,7 +20646,7 @@
20545
20646
  keys.forEach((key) => {
20546
20647
  const listeners = this.watchers.get(key);
20547
20648
  if (listeners) {
20548
- this.scheduleListener(listeners);
20649
+ this.#scheduleListener(listeners);
20549
20650
  }
20550
20651
  });
20551
20652
  }
@@ -20558,9 +20659,10 @@
20558
20659
  if (isUndefined(target[property]) && isProxy(value)) {
20559
20660
  this.foreignProxies.add(value);
20560
20661
  target[property] = value;
20561
- return true;
20662
+ if (!this.watchers.has(property)) {
20663
+ return true;
20664
+ }
20562
20665
  }
20563
-
20564
20666
  if (isUndefined(value)) {
20565
20667
  target[property] = value;
20566
20668
  } else {
@@ -20589,7 +20691,7 @@
20589
20691
  this.watchers.get(property)?.forEach((l) => listeners.push(l));
20590
20692
  if (listeners.length > 0) {
20591
20693
  // check if the listener actually appllies to this target
20592
- this.scheduleListener(listeners, (x) => {
20694
+ this.#scheduleListener(listeners, (x) => {
20593
20695
  return x.filter((x) => {
20594
20696
  if (!x.watchProp) return true;
20595
20697
  // Compute the expected target based on `watchProp`
@@ -20617,7 +20719,7 @@
20617
20719
  );
20618
20720
  }
20619
20721
 
20620
- this.scheduleListener(foreignListeners);
20722
+ this.#scheduleListener(foreignListeners);
20621
20723
  }
20622
20724
  }
20623
20725
 
@@ -20627,7 +20729,7 @@
20627
20729
  const listeners = this.watchers.get(key);
20628
20730
  if (listeners) {
20629
20731
  if (this.scheduled !== listeners) {
20630
- this.scheduleListener(listeners);
20732
+ this.#scheduleListener(listeners);
20631
20733
  }
20632
20734
  }
20633
20735
  });
@@ -20637,22 +20739,6 @@
20637
20739
  }
20638
20740
  }
20639
20741
 
20640
- checkeListenersForAllKeys(value) {
20641
- if (isUndefined(value)) {
20642
- return;
20643
- }
20644
- Object.keys(value).forEach((k) => {
20645
- const listeners = this.watchers.get(k);
20646
-
20647
- if (listeners) {
20648
- this.scheduleListener(listeners);
20649
- }
20650
- if (isObject(value[k])) {
20651
- this.checkeListenersForAllKeys(value[k]);
20652
- }
20653
- });
20654
- }
20655
-
20656
20742
  /**
20657
20743
  * Intercepts property access on the target object. It checks for specific
20658
20744
  * properties (`watch` and `sync`) and binds their methods. For other properties,
@@ -20675,8 +20761,6 @@
20675
20761
 
20676
20762
  this.propertyMap = {
20677
20763
  $watch: this.$watch.bind(this),
20678
- $watchGroup: this.$watchGroup.bind(this),
20679
- $watchCollection: this.$watchCollection.bind(this),
20680
20764
  $new: this.$new.bind(this),
20681
20765
  $newIsolate: this.$newIsolate.bind(this),
20682
20766
  $destroy: this.$destroy.bind(this),
@@ -20684,7 +20768,7 @@
20684
20768
  $apply: this.$apply.bind(this),
20685
20769
  $evalAsync: this.$evalAsync.bind(this),
20686
20770
  $postUpdate: this.$postUpdate.bind(this),
20687
- $isRoot: this.isRoot.bind(this),
20771
+ $isRoot: this.#isRoot.bind(this),
20688
20772
  $target: target,
20689
20773
  $proxy: this.$proxy,
20690
20774
  $on: this.$on.bind(this),
@@ -20696,8 +20780,6 @@
20696
20780
  $root: this.$root,
20697
20781
  $children: this.$children,
20698
20782
  $id: this.$id,
20699
- registerForeignKey: this.registerForeignKey.bind(this),
20700
- notifyListener: this.notifyListener.bind(this),
20701
20783
  $merge: this.$merge.bind(this),
20702
20784
  $getById: this.$getById.bind(this),
20703
20785
  };
@@ -20718,7 +20800,7 @@
20718
20800
 
20719
20801
  // TODO aditional testing
20720
20802
  if (property === "unshift") {
20721
- this.scheduleListener(this.scheduled);
20803
+ this.#scheduleListener(this.scheduled);
20722
20804
  }
20723
20805
  }
20724
20806
 
@@ -20731,26 +20813,6 @@
20731
20813
  }
20732
20814
  }
20733
20815
 
20734
- /**
20735
- * @private
20736
- * @param {Listener[]} listeners
20737
- */
20738
- scheduleListener(listeners, filter = (val) => val) {
20739
- Promise.resolve().then(() => {
20740
- let index = 0;
20741
- let filteredListeners = filter(listeners);
20742
- while (index < filteredListeners.length) {
20743
- const listener = filteredListeners[index];
20744
- if (listener.foreignListener) {
20745
- listener.foreignListener.notifyListener(listener, this.$target);
20746
- } else {
20747
- this.notifyListener(listener, this.$target);
20748
- }
20749
- index++;
20750
- }
20751
- });
20752
- }
20753
-
20754
20816
  deleteProperty(target, property) {
20755
20817
  // Currently deletes $model
20756
20818
  if (target[property] && target[property][isProxySymbol]) {
@@ -20758,20 +20820,20 @@
20758
20820
 
20759
20821
  let listeners = this.watchers.get(property);
20760
20822
  if (listeners) {
20761
- this.scheduleListener(listeners);
20823
+ this.#scheduleListener(listeners);
20762
20824
  }
20763
20825
  if (this.objectListeners.has(this.$proxy)) {
20764
20826
  let keys = this.objectListeners.get(this.$proxy);
20765
20827
  keys.forEach((key) => {
20766
20828
  listeners = this.watchers.get(key);
20767
20829
  if (listeners) {
20768
- this.scheduleListener(listeners);
20830
+ this.#scheduleListener(listeners);
20769
20831
  }
20770
20832
  });
20771
20833
  }
20772
20834
 
20773
20835
  if (this.scheduled) {
20774
- this.scheduleListener(this.scheduled);
20836
+ this.#scheduleListener(this.scheduled);
20775
20837
  this.scheduled = [];
20776
20838
  }
20777
20839
  return true;
@@ -20784,19 +20846,54 @@
20784
20846
  keys.forEach((key) => {
20785
20847
  const listeners = this.watchers.get(key);
20786
20848
  if (listeners) {
20787
- this.scheduleListener(listeners);
20849
+ this.#scheduleListener(listeners);
20788
20850
  }
20789
20851
  });
20790
20852
  } else {
20791
20853
  const listeners = this.watchers.get(property);
20792
20854
  if (listeners) {
20793
- this.scheduleListener(listeners, target[property]);
20855
+ this.#scheduleListener(listeners, target[property]);
20794
20856
  }
20795
20857
  }
20796
20858
 
20797
20859
  return true;
20798
20860
  }
20799
20861
 
20862
+ #checkeListenersForAllKeys(value) {
20863
+ if (isUndefined(value)) {
20864
+ return;
20865
+ }
20866
+ Object.keys(value).forEach((k) => {
20867
+ const listeners = this.watchers.get(k);
20868
+
20869
+ if (listeners) {
20870
+ this.#scheduleListener(listeners);
20871
+ }
20872
+ if (isObject(value[k])) {
20873
+ this.#checkeListenersForAllKeys(value[k]);
20874
+ }
20875
+ });
20876
+ }
20877
+
20878
+ /**
20879
+ * @param {Listener[]} listeners
20880
+ */
20881
+ #scheduleListener(listeners, filter = (val) => val) {
20882
+ Promise.resolve().then(() => {
20883
+ let index = 0;
20884
+ let filteredListeners = filter(listeners);
20885
+ while (index < filteredListeners.length) {
20886
+ const listener = filteredListeners[index];
20887
+ if (listener.foreignListener) {
20888
+ listener.foreignListener.#notifyListener(listener, this.$target);
20889
+ } else {
20890
+ this.#notifyListener(listener, this.$target);
20891
+ }
20892
+ index++;
20893
+ }
20894
+ });
20895
+ }
20896
+
20800
20897
  /**
20801
20898
  * Registers a watcher for a property along with a listener function. The listener
20802
20899
  * function is invoked when changes to that property are detected.
@@ -20814,7 +20911,6 @@
20814
20911
  if (get.constant) {
20815
20912
  if (listenerFn) {
20816
20913
  Promise.resolve().then(() => {
20817
- // @ts-ignore
20818
20914
  let res = get();
20819
20915
  while (isFunction(res)) {
20820
20916
  res = res();
@@ -20873,11 +20969,11 @@
20873
20969
  keys.push(get.decoratedNode.body[0].expression.left.toWatch[0]?.name);
20874
20970
  keys.push(get.decoratedNode.body[0].expression.right.toWatch[0]?.name);
20875
20971
  keys.forEach((key) => {
20876
- this.registerKey(key, listener);
20972
+ this.#registerKey(key, listener);
20877
20973
  });
20878
20974
  return () => {
20879
20975
  keys.forEach((key) => {
20880
- this.deregisterKey(key, listener.id);
20976
+ this.#deregisterKey(key, listener.id);
20881
20977
  });
20882
20978
  };
20883
20979
  }
@@ -20910,13 +21006,13 @@
20910
21006
  }
20911
21007
  });
20912
21008
  keys.forEach((key) => {
20913
- this.registerKey(key, listener);
20914
- this.scheduleListener([listener]);
21009
+ this.#registerKey(key, listener);
21010
+ this.#scheduleListener([listener]);
20915
21011
  });
20916
21012
 
20917
21013
  return () => {
20918
21014
  keys.forEach((key) => {
20919
- this.deregisterKey(key, listener.id);
21015
+ this.#deregisterKey(key, listener.id);
20920
21016
  });
20921
21017
  };
20922
21018
  }
@@ -20939,10 +21035,10 @@
20939
21035
  watchProp.split(".").slice(0, -1).join("."),
20940
21036
  )(listener.originalTarget);
20941
21037
  if (potentialProxy && this.foreignProxies.has(potentialProxy)) {
20942
- potentialProxy.$handler.registerForeignKey(key, listener);
20943
- potentialProxy.$handler.scheduleListener([listener]);
21038
+ potentialProxy.$handler.#registerForeignKey(key, listener);
21039
+ potentialProxy.$handler.#scheduleListener([listener]);
20944
21040
  return () => {
20945
- return potentialProxy.$handler.deregisterKey(key, listener.id);
21041
+ return potentialProxy.$handler.#deregisterKey(key, listener.id);
20946
21042
  };
20947
21043
  }
20948
21044
  }
@@ -20973,12 +21069,12 @@
20973
21069
  })
20974
21070
  .filter((x) => !!x);
20975
21071
  keys.forEach((key) => {
20976
- this.registerKey(key, listener);
20977
- this.scheduleListener([listener]);
21072
+ this.#registerKey(key, listener);
21073
+ this.#scheduleListener([listener]);
20978
21074
  });
20979
21075
  return () => {
20980
21076
  keys.forEach((key) => {
20981
- this.deregisterKey(key, listener.id);
21077
+ this.#deregisterKey(key, listener.id);
20982
21078
  });
20983
21079
  };
20984
21080
  }
@@ -21040,39 +21136,31 @@
21040
21136
 
21041
21137
  if (keySet.length > 0) {
21042
21138
  keySet.forEach((key) => {
21043
- this.registerKey(key, listener);
21139
+ this.#registerKey(key, listener);
21044
21140
  });
21045
21141
  } else {
21046
- this.registerKey(key, listener);
21142
+ this.#registerKey(key, listener);
21047
21143
  }
21048
21144
 
21049
21145
  if (!lazy) {
21050
- this.scheduleListener([listener]);
21146
+ this.#scheduleListener([listener]);
21051
21147
  }
21052
21148
  return () => {
21053
21149
  if (keySet.length > 0) {
21054
21150
  let res = true;
21055
21151
  keySet.forEach((key) => {
21056
- let success = this.deregisterKey(key, listener.id);
21152
+ let success = this.#deregisterKey(key, listener.id);
21057
21153
  if (!success) {
21058
21154
  res = false;
21059
21155
  }
21060
21156
  });
21061
21157
  return res;
21062
21158
  } else {
21063
- return this.deregisterKey(key, listener.id);
21159
+ return this.#deregisterKey(key, listener.id);
21064
21160
  }
21065
21161
  };
21066
21162
  }
21067
21163
 
21068
- $watchGroup(watchArray, listenerFn) {
21069
- watchArray.forEach((x) => this.$watch(x, listenerFn));
21070
- }
21071
-
21072
- $watchCollection(watchProp, listenerFn) {
21073
- return this.$watch(watchProp, listenerFn);
21074
- }
21075
-
21076
21164
  $new(childInstance) {
21077
21165
  let child;
21078
21166
  if (childInstance) {
@@ -21102,7 +21190,6 @@
21102
21190
 
21103
21191
  $newIsolate(instance) {
21104
21192
  let child = instance ? Object.create(instance) : Object.create(null);
21105
- // child.$root = this.$root;
21106
21193
  const proxy = new Proxy(child, new Scope(this, this.$root));
21107
21194
  this.$children.push(proxy);
21108
21195
  return proxy;
@@ -21115,7 +21202,7 @@
21115
21202
  return proxy;
21116
21203
  }
21117
21204
 
21118
- registerKey(key, listener) {
21205
+ #registerKey(key, listener) {
21119
21206
  if (this.watchers.has(key)) {
21120
21207
  this.watchers.get(key).push(listener);
21121
21208
  } else {
@@ -21123,7 +21210,7 @@
21123
21210
  }
21124
21211
  }
21125
21212
 
21126
- registerForeignKey(key, listener) {
21213
+ #registerForeignKey(key, listener) {
21127
21214
  if (this.foreignListeners.has(key)) {
21128
21215
  this.foreignListeners.get(key).push(listener);
21129
21216
  } else {
@@ -21131,7 +21218,7 @@
21131
21218
  }
21132
21219
  }
21133
21220
 
21134
- deregisterKey(key, id) {
21221
+ #deregisterKey(key, id) {
21135
21222
  const listenerList = this.watchers.get(key);
21136
21223
  if (!listenerList) return false;
21137
21224
 
@@ -21147,21 +21234,21 @@
21147
21234
  return true;
21148
21235
  }
21149
21236
 
21150
- deregisterForeignKey(key, id) {
21151
- const listenerList = this.foreignListeners.get(key);
21152
- if (!listenerList) return false;
21237
+ // deregisterForeignKey(key, id) {
21238
+ // const listenerList = this.foreignListeners.get(key);
21239
+ // if (!listenerList) return false;
21153
21240
 
21154
- const index = listenerList.findIndex((x) => x.id === id);
21155
- if (index === -1) return false;
21241
+ // const index = listenerList.findIndex((x) => x.id === id);
21242
+ // if (index === -1) return false;
21156
21243
 
21157
- listenerList.splice(index, 1);
21158
- if (listenerList.length) {
21159
- this.foreignListeners.set(key, listenerList);
21160
- } else {
21161
- this.foreignListeners.delete(key);
21162
- }
21163
- return true;
21164
- }
21244
+ // listenerList.splice(index, 1);
21245
+ // if (listenerList.length) {
21246
+ // this.foreignListeners.set(key, listenerList);
21247
+ // } else {
21248
+ // this.foreignListeners.delete(key);
21249
+ // }
21250
+ // return true;
21251
+ // }
21165
21252
 
21166
21253
  $eval(expr, locals) {
21167
21254
  const fn = $parse(expr);
@@ -21189,12 +21276,19 @@
21189
21276
  return await this.$eval(expr, locals);
21190
21277
  }
21191
21278
 
21279
+ /**
21280
+ * @param {Object} newTarget
21281
+ */
21192
21282
  $merge(newTarget) {
21193
21283
  Object.entries(newTarget).forEach(([key, value]) => {
21194
- this.set(this.$target, key, value);
21284
+ this.set(this.$target, key, value, this.$proxy);
21195
21285
  });
21196
21286
  }
21197
21287
 
21288
+ /**
21289
+ * @param {import('../../interface.js').Expression} expr
21290
+ * @returns {any}
21291
+ */
21198
21292
  $apply(expr) {
21199
21293
  try {
21200
21294
  return $parse(expr)(this.$proxy);
@@ -21203,6 +21297,11 @@
21203
21297
  }
21204
21298
  }
21205
21299
 
21300
+ /**
21301
+ * @param {string} name
21302
+ * @param {Function} listener
21303
+ * @returns {(function(): void)|*}
21304
+ */
21206
21305
  $on(name, listener) {
21207
21306
  let namedListeners = this.$$listeners.get(name);
21208
21307
  if (!namedListeners) {
@@ -21225,10 +21324,10 @@
21225
21324
  /**
21226
21325
  * @param {string} name
21227
21326
  * @param {...any} args
21228
- * @returns
21327
+ * @returns {void}
21229
21328
  */
21230
21329
  $emit(name, ...args) {
21231
- return this.eventHelper(
21330
+ return this.#eventHelper(
21232
21331
  { name: name, event: undefined, broadcast: false },
21233
21332
  ...args,
21234
21333
  );
@@ -21240,21 +21339,20 @@
21240
21339
  * @returns {any}
21241
21340
  */
21242
21341
  $broadcast(name, ...args) {
21243
- return this.eventHelper(
21342
+ return this.#eventHelper(
21244
21343
  { name: name, event: undefined, broadcast: true },
21245
21344
  ...args,
21246
21345
  );
21247
21346
  }
21248
21347
 
21249
21348
  /**
21250
- * @private
21251
21349
  * @returns {void}
21252
21350
  */
21253
- eventHelper({ name, event, broadcast }, ...args) {
21351
+ #eventHelper({ name, event, broadcast }, ...args) {
21254
21352
  if (!broadcast) {
21255
21353
  if (!this.$$listeners.has(name)) {
21256
21354
  if (this.$parent) {
21257
- return this.$parent.$handler.eventHelper(
21355
+ return this.$parent.$handler.#eventHelper(
21258
21356
  { name: name, event: event, broadcast: broadcast },
21259
21357
  ...args,
21260
21358
  );
@@ -21309,7 +21407,7 @@
21309
21407
  if (broadcast) {
21310
21408
  if (this.$children.length > 0) {
21311
21409
  this.$children.forEach((child) => {
21312
- event = child["$handler"].eventHelper(
21410
+ event = child["$handler"].#eventHelper(
21313
21411
  { name: name, event: event, broadcast: broadcast },
21314
21412
  ...args,
21315
21413
  );
@@ -21318,7 +21416,7 @@
21318
21416
  return event;
21319
21417
  } else {
21320
21418
  if (this.$parent) {
21321
- return this.$parent?.eventHelper(
21419
+ return this.$parent.#eventHelper(
21322
21420
  { name: name, event: event, broadcast: broadcast },
21323
21421
  ...args,
21324
21422
  );
@@ -21329,10 +21427,9 @@
21329
21427
  }
21330
21428
 
21331
21429
  /**
21332
- * @private
21333
21430
  * @returns {boolean}
21334
21431
  */
21335
- isRoot() {
21432
+ #isRoot() {
21336
21433
  return this.$root == /** @type {Scope} */ (this);
21337
21434
  }
21338
21435
 
@@ -21351,7 +21448,7 @@
21351
21448
  );
21352
21449
  });
21353
21450
 
21354
- if (this.isRoot()) {
21451
+ if (this.#isRoot()) {
21355
21452
  this.watchers.clear();
21356
21453
  } else {
21357
21454
  let i = this.$parent.$children.filter((x) => x.$id == this.$id)[0];
@@ -21364,11 +21461,9 @@
21364
21461
  }
21365
21462
 
21366
21463
  /**
21367
- * Invokes the registered listener function with watched property changes.
21368
- *
21369
21464
  * @param {Listener} listener - The property path that was changed.
21370
21465
  */
21371
- notifyListener(listener, target) {
21466
+ #notifyListener(listener, target) {
21372
21467
  const { originalTarget, listenerFn, watchFn } = listener;
21373
21468
  try {
21374
21469
  let newVal = watchFn(originalTarget);
@@ -21427,6 +21522,8 @@
21427
21522
  }
21428
21523
  }
21429
21524
 
21525
+ /*------------- Private helpers -------------*/
21526
+
21430
21527
  /**
21431
21528
  * @param {Scope} model
21432
21529
  * @returns {number}
@@ -21460,7 +21557,14 @@
21460
21557
  return ids;
21461
21558
  }
21462
21559
 
21560
+ /** @typedef {import('../interface.ts').ServiceProvider} ServiceProvider */
21561
+ /** @typedef {import('../interface.ts').AnnotatedFactory} AnnotatedFactory */
21562
+
21563
+ /**
21564
+ * @implements {ServiceProvider}
21565
+ */
21463
21566
  class TaskTrackerFactoryProvider {
21567
+ /** @type {AnnotatedFactory} */
21464
21568
  $get = [
21465
21569
  "$log",
21466
21570
  /**
@@ -21599,7 +21703,7 @@
21599
21703
  }
21600
21704
  }
21601
21705
 
21602
- var $templateRequestMinErr = minErr("$templateRequest");
21706
+ const $templateRequestMinErr = minErr("$templateRequest");
21603
21707
 
21604
21708
  /**
21605
21709
  * Used to configure the options passed to the {@link $http} service when making a template request.
@@ -21608,7 +21712,7 @@
21608
21712
  * requesting a template.
21609
21713
  */
21610
21714
  function TemplateRequestProvider() {
21611
- var httpOptions;
21715
+ let httpOptions;
21612
21716
 
21613
21717
  /**
21614
21718
  * The options to be passed to the {@link $http} service when making the request.
@@ -21674,13 +21778,17 @@
21674
21778
  // AngularTS accept any script directive, no matter its name. However, we
21675
21779
  // still need to unwrap trusted types.
21676
21780
  if (!isString(tpl) || !$templateCache.has(tpl)) {
21677
- tpl = $sce.getTrustedResourceUrl(tpl);
21678
- if (!tpl) {
21679
- return Promise.reject("Template not found");
21781
+ try {
21782
+ tpl = $sce.getTrustedResourceUrl(tpl);
21783
+ if (!tpl) {
21784
+ return Promise.reject("Template not found");
21785
+ }
21786
+ } catch (e) {
21787
+ return Promise.reject(e.message);
21680
21788
  }
21681
21789
  }
21682
21790
 
21683
- var transformResponse =
21791
+ let transformResponse =
21684
21792
  $http.defaults && $http.defaults.transformResponse;
21685
21793
 
21686
21794
  if (Array.isArray(transformResponse)) {
@@ -21792,6 +21900,7 @@
21792
21900
  return (uri, isMediaUrl) => {
21793
21901
  if (!uri) return uri;
21794
21902
 
21903
+ /** @type {RegExp} */
21795
21904
  const regex = isMediaUrl
21796
21905
  ? this._imgSrcSanitizationTrustedUrlList
21797
21906
  : this._aHrefSanitizationTrustedUrlList;
@@ -21831,7 +21940,7 @@
21831
21940
  this.head = undefined;
21832
21941
  this.default = undefined;
21833
21942
 
21834
- this.$scope.$watchCollection(
21943
+ this.$scope.$watch(
21835
21944
  this.$attrs["ngMessages"] || this.$attrs["for"],
21836
21945
  this.render.bind(this),
21837
21946
  );
@@ -22073,7 +22182,7 @@
22073
22182
 
22074
22183
  if (dynamicExp) {
22075
22184
  assignRecords(scope.$eval(dynamicExp));
22076
- scope.$watchCollection(dynamicExp, assignRecords);
22185
+ scope.$watch(dynamicExp, assignRecords);
22077
22186
  } else {
22078
22187
  assignRecords(staticExp);
22079
22188
  }
@@ -22232,7 +22341,7 @@
22232
22341
  };
22233
22342
  }
22234
22343
 
22235
- ngDisabledAriaDirective.$inject = ["$aria"];
22344
+ ngDisabledAriaDirective.$inject = [$injectTokens.$aria];
22236
22345
  function ngDisabledAriaDirective($aria) {
22237
22346
  return $aria.$$watchExpr(
22238
22347
  "ngDisabled",
@@ -22242,7 +22351,7 @@
22242
22351
  );
22243
22352
  }
22244
22353
 
22245
- ngShowAriaDirective.$inject = ["$aria"];
22354
+ ngShowAriaDirective.$inject = [$injectTokens.$aria];
22246
22355
  function ngShowAriaDirective($aria) {
22247
22356
  return $aria.$$watchExpr("ngShow", "aria-hidden", [], true);
22248
22357
  }
@@ -22261,11 +22370,11 @@
22261
22370
  };
22262
22371
  }
22263
22372
 
22264
- ngClickAriaDirective.$inject = ["$aria", "$parse"];
22373
+ ngClickAriaDirective.$inject = [$injectTokens.$aria, $injectTokens.$parse];
22265
22374
  function ngClickAriaDirective($aria, $parse) {
22266
22375
  return {
22267
22376
  restrict: "A",
22268
- compile(elem, attr) {
22377
+ compile(_elem, attr) {
22269
22378
  if (hasOwn(attr, ARIA_DISABLE_ATTR)) return;
22270
22379
 
22271
22380
  const fn = $parse(attr.ngClick);
@@ -22325,7 +22434,7 @@
22325
22434
  };
22326
22435
  }
22327
22436
 
22328
- ngRequiredAriaDirective.$inject = ["$aria"];
22437
+ ngRequiredAriaDirective.$inject = [$injectTokens.$aria];
22329
22438
  function ngRequiredAriaDirective($aria) {
22330
22439
  return $aria.$$watchExpr(
22331
22440
  "ngRequired",
@@ -22345,7 +22454,7 @@
22345
22454
  );
22346
22455
  }
22347
22456
 
22348
- ngValueAriaDirective.$inject = ["$aria"];
22457
+ ngValueAriaDirective.$inject = [$injectTokens.$aria];
22349
22458
  function ngValueAriaDirective($aria) {
22350
22459
  return $aria.$$watchExpr(
22351
22460
  "ngValue",
@@ -22355,12 +22464,12 @@
22355
22464
  );
22356
22465
  }
22357
22466
 
22358
- ngHideAriaDirective.$inject = ["$aria"];
22467
+ ngHideAriaDirective.$inject = [$injectTokens.$aria];
22359
22468
  function ngHideAriaDirective($aria) {
22360
22469
  return $aria.$$watchExpr("ngHide", "aria-hidden", [], false);
22361
22470
  }
22362
22471
 
22363
- ngReadonlyAriaDirective.$inject = ["$aria"];
22472
+ ngReadonlyAriaDirective.$inject = [$injectTokens.$aria];
22364
22473
  function ngReadonlyAriaDirective($aria) {
22365
22474
  return $aria.$$watchExpr(
22366
22475
  "ngReadonly",
@@ -22370,7 +22479,7 @@
22370
22479
  );
22371
22480
  }
22372
22481
 
22373
- ngModelAriaDirective.$inject = ["$aria"];
22482
+ ngModelAriaDirective.$inject = [$injectTokens.$aria];
22374
22483
  function ngModelAriaDirective($aria) {
22375
22484
  function shouldAttachAttr(attr, normalizedAttr, elem, allowNonAriaNodes) {
22376
22485
  return (
@@ -22513,7 +22622,7 @@
22513
22622
  };
22514
22623
  }
22515
22624
 
22516
- ngDblclickAriaDirective.$inject = ["$aria"];
22625
+ ngDblclickAriaDirective.$inject = [$injectTokens.$aria];
22517
22626
  function ngDblclickAriaDirective($aria) {
22518
22627
  return function (scope, elem, attr) {
22519
22628
  if (hasOwn(attr, ARIA_DISABLE_ATTR)) return;
@@ -22765,6 +22874,7 @@
22765
22874
  // all of the animation functions should create
22766
22875
  // a copy of the options data, however, if a
22767
22876
  // parent service has already created a copy then
22877
+ let delayStyle;
22768
22878
  // we should stick to using that
22769
22879
  let options = initialOptions || {};
22770
22880
  if (!options.$$prepared) {
@@ -22977,13 +23087,12 @@
22977
23087
  return closeAndReturnNoopAnimator();
22978
23088
  }
22979
23089
 
22980
- var activeClasses = pendClasses(
23090
+ let activeClasses = pendClasses(
22981
23091
  preparationClasses,
22982
23092
  ACTIVE_CLASS_SUFFIX,
22983
23093
  );
22984
23094
 
22985
23095
  if (options.delay != null) {
22986
- var delayStyle;
22987
23096
  if (typeof options.delay !== "boolean") {
22988
23097
  delayStyle = parseFloat(options.delay);
22989
23098
  // number in options.delay means we have to recalculate the delay for the closing timeout
@@ -25646,30 +25755,27 @@
25646
25755
  link(scope, $element, attrs, ctrl, $transclude) {
25647
25756
  let previousElement;
25648
25757
  let previousScope;
25649
- scope.$watchCollection(
25650
- attrs["ngAnimateSwap"] || attrs["for"],
25651
- (value) => {
25652
- if (previousElement) {
25653
- $animate.leave(previousElement);
25654
- }
25655
- if (previousScope) {
25656
- previousScope.$destroy();
25657
- previousScope = null;
25658
- }
25659
- if (value) {
25660
- $transclude((clone, childScope) => {
25661
- previousElement = clone;
25662
- previousScope = childScope;
25663
- $animate.enter(clone, null, $element);
25664
- });
25665
- }
25666
- },
25667
- );
25758
+ scope.$watch(attrs["ngAnimateSwap"] || attrs["for"], (value) => {
25759
+ if (previousElement) {
25760
+ $animate.leave(previousElement);
25761
+ }
25762
+ if (previousScope) {
25763
+ previousScope.$destroy();
25764
+ previousScope = null;
25765
+ }
25766
+ if (value) {
25767
+ $transclude((clone, childScope) => {
25768
+ previousElement = clone;
25769
+ previousScope = childScope;
25770
+ $animate.enter(clone, null, $element);
25771
+ });
25772
+ }
25773
+ });
25668
25774
  },
25669
25775
  };
25670
25776
  }
25671
25777
 
25672
- $$AnimateChildrenDirective.$inject = ["$interpolate"];
25778
+ $$AnimateChildrenDirective.$inject = [$injectTokens.$interpolate];
25673
25779
 
25674
25780
  /**
25675
25781
  * @param {*} $interpolate
@@ -27579,7 +27685,7 @@
27579
27685
  Object.prototype.hasOwnProperty.bind(cfg || {}),
27580
27686
  ).length === 0;
27581
27687
 
27582
- var DefType;
27688
+ let DefType;
27583
27689
  (function (DefType) {
27584
27690
  DefType[(DefType["PATH"] = 0)] = "PATH";
27585
27691
  DefType[(DefType["SEARCH"] = 1)] = "SEARCH";
@@ -28866,6 +28972,26 @@
28866
28972
  }
28867
28973
  }
28868
28974
 
28975
+ /** @typedef {import('../../interface.js').ServiceProvider} ServiceProvider
28976
+
28977
+ /**
28978
+ * Configurable provider for an injectable event bus
28979
+ * @implements {ServiceProvider}
28980
+ */
28981
+ class PubSubProvider {
28982
+ constructor() {
28983
+ /**
28984
+ * @type {PubSub}
28985
+ */
28986
+ this.eventBus = EventBus;
28987
+ }
28988
+
28989
+ /**
28990
+ * @returns {PubSub}
28991
+ */
28992
+ $get = () => this.eventBus;
28993
+ }
28994
+
28869
28995
  class PubSub {
28870
28996
  /**
28871
28997
  * Topic-based publish/subscribe channel. Maintains a map of topics to
@@ -30993,6 +31119,7 @@
30993
31119
 
30994
31120
  /**
30995
31121
  * @param {import('../globals.js').RouterGlobals} globals
31122
+ * @param viewService
30996
31123
  */
30997
31124
  constructor(globals, viewService) {
30998
31125
  this._transitionCount = 0;
@@ -34133,6 +34260,10 @@
34133
34260
  * using the [[builder]] method.
34134
34261
  */
34135
34262
  class StateBuilder {
34263
+ /**
34264
+ * @param {import('./state-matcher.js').StateMatcher} matcher
34265
+ * @param urlService
34266
+ */
34136
34267
  constructor(matcher, urlService) {
34137
34268
  this.matcher = matcher;
34138
34269
  this.$injector = undefined;
@@ -34340,12 +34471,12 @@
34340
34471
  * @implements {ServiceProvider}
34341
34472
  */
34342
34473
  class StateRegistryProvider {
34343
- static $inject = [
34344
- "$urlServiceProvider",
34345
- "$stateProvider",
34346
- "$routerGlobalsProvider",
34347
- "$viewProvider",
34348
- ];
34474
+ static $inject = provider([
34475
+ $injectTokens.$urlService,
34476
+ $injectTokens.$state,
34477
+ $injectTokens.$routerGlobals,
34478
+ $injectTokens.$view,
34479
+ ]);
34349
34480
 
34350
34481
  /**
34351
34482
  * @param urlService
@@ -34643,7 +34774,7 @@
34643
34774
  // HACK: This is to allow ng-clicks to be processed before the transition is initiated:
34644
34775
  const transition = setTimeout(function () {
34645
34776
  if (!el.getAttribute("disabled")) {
34646
- var res = $state.go(
34777
+ const res = $state.go(
34647
34778
  target.ngState,
34648
34779
  target.ngStateParams,
34649
34780
  target.ngStateOpts,
@@ -35138,7 +35269,7 @@
35138
35269
  };
35139
35270
  const directive = {
35140
35271
  count: 0,
35141
- restrict: "EA",
35272
+
35142
35273
  terminal: true,
35143
35274
  priority: 400,
35144
35275
  transclude: "element",
@@ -35273,7 +35404,6 @@
35273
35404
  const getControllerAs = parse("viewDecl.controllerAs");
35274
35405
  const getResolveAs = parse("viewDecl.resolveAs");
35275
35406
  return {
35276
- restrict: "EA",
35277
35407
  priority: -400,
35278
35408
  compile: function (tElement) {
35279
35409
  const initial = tElement.innerHTML;
@@ -35469,7 +35599,6 @@
35469
35599
  */
35470
35600
  function ngChannelDirective() {
35471
35601
  return {
35472
- restrict: "EA",
35473
35602
  link: (scope, element, attrs) => {
35474
35603
  const hasTemplate = element.childNodes.length > 0;
35475
35604
  const channel = attrs["ngChannel"];
@@ -35543,7 +35672,7 @@
35543
35672
  characterData: true,
35544
35673
  });
35545
35674
  } else {
35546
- console.warn("ngSetter: Element is not a valid DOM node.");
35675
+ $log.warn("ngSetter: Element is not a valid DOM node.");
35547
35676
  return;
35548
35677
  }
35549
35678
 
@@ -35553,13 +35682,14 @@
35553
35682
  };
35554
35683
  }
35555
35684
 
35556
- //injected by Rollup plugin
35557
- const VERSION = "0.7.0-beta.1";
35685
+ // @private
35686
+
35687
+ const VERSION = "0.7.0";
35558
35688
 
35559
35689
  /**
35560
- * Initializes `ng`, `animate`, `message`, `aria` and `router` modules.
35690
+ * Initializes core `ng` module.
35561
35691
  * @param {import('./loader.js').Angular} angular
35562
- * @returns {import('./core/di/ng-module.js').NgModule} `ng`module
35692
+ * @returns {import('./core/di/ng-module.js').NgModule} `ng` module
35563
35693
  */
35564
35694
  function publishExternalAPI(angular) {
35565
35695
  const ng = angular
@@ -35568,6 +35698,7 @@
35568
35698
  [],
35569
35699
  [
35570
35700
  "$provide",
35701
+ /** @type {import('./interface.js').Provider} */
35571
35702
  ($provide) => {
35572
35703
  // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
35573
35704
  $provide.provider({
@@ -35691,12 +35822,17 @@
35691
35822
  $templateFactory: TemplateFactoryProvider,
35692
35823
  $urlService: UrlService,
35693
35824
  $stateRegistry: StateRegistryProvider,
35825
+ $eventBus: PubSubProvider,
35694
35826
  });
35695
35827
  },
35696
35828
  ],
35697
35829
  )
35698
35830
  .factory("$stateParams", [
35699
35831
  "$routerGlobals",
35832
+ /**
35833
+ * @param {import('./router/globals.js').RouterGlobals} globals
35834
+ * @returns {import('./router/params/state-params.js').StateParams }
35835
+ */
35700
35836
  function (globals) {
35701
35837
  return globals.params;
35702
35838
  },
@@ -35744,6 +35880,7 @@
35744
35880
  this.errorHandlingConfig = errorHandlingConfig;
35745
35881
 
35746
35882
  window["angular"] = this;
35883
+ this.$injectTokens = $injectTokens;
35747
35884
  publishExternalAPI(this);
35748
35885
  }
35749
35886
 
@@ -35991,6 +36128,4 @@
35991
36128
  once: true,
35992
36129
  });
35993
36130
 
35994
- exports.angular = angular;
35995
-
35996
36131
  }));