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

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 -302
  32. package/dist/angular-ts.umd.js +440 -302
  33. package/dist/angular-ts.umd.min.js +1 -1
  34. package/docs/.cspell.yml +2 -2
  35. package/docs/.github/dependabot.yml +12 -12
  36. package/docs/README.md +10 -7
  37. package/docs/assets/icons/logo.svg +1 -0
  38. package/docs/assets/scss/_variables_project.scss +1 -0
  39. package/docs/content/en/_index.md +5 -64
  40. package/docs/content/en/docs/_index.md +3 -4
  41. package/docs/docker-compose.yaml +1 -0
  42. package/docs/go.mod +1 -1
  43. package/docs/go.sum +6 -6
  44. package/docs/hugo-disabled.toml +6 -7
  45. package/docs/hugo.yaml +45 -64
  46. package/docs/layouts/404.html +2 -8
  47. package/docs/layouts/_markup/render-heading.html +1 -0
  48. package/docs/package-lock.json +2293 -0
  49. package/docs/package.json +18 -7
  50. package/index.html +1 -1
  51. package/package.json +1 -1
  52. package/src/animations/animate-children-directive.js +2 -1
  53. package/src/animations/animate-css.js +2 -2
  54. package/src/animations/animate-runner.js +3 -3
  55. package/src/animations/animate-swap.js +16 -19
  56. package/src/animations/animate.js +3 -1
  57. package/src/animations/shared.js +1 -1
  58. package/src/core/compile/attributes.js +4 -1
  59. package/src/core/compile/compile.js +29 -24
  60. package/src/core/compile/compile.spec.js +368 -371
  61. package/src/core/controller/controller.spec.js +27 -20
  62. package/src/core/di/injector.js +2 -5
  63. package/src/core/di/internal-injector.js +2 -0
  64. package/src/core/di/ng-module.js +19 -7
  65. package/src/core/di/ng-module.spec.js +16 -16
  66. package/src/core/error-handler.ts +1 -1
  67. package/src/core/exception-handler.js +1 -1
  68. package/src/core/filter/filter.js +0 -1
  69. package/src/core/parse/ast/ast.spec.js +1 -9
  70. package/src/core/parse/interface.ts +3 -3
  71. package/src/core/parse/parse.js +6 -6
  72. package/src/core/pubsub/pubsub.js +20 -0
  73. package/src/core/pubsub/pubsub.spec.js +14 -1
  74. package/src/core/sanitize/sanitize-uri.js +1 -0
  75. package/src/core/sce/sce.js +7 -15
  76. package/src/core/scope/scope.js +114 -117
  77. package/src/core/scope/scope.spec.js +11 -11
  78. package/src/core/task-tracker-factory.js +7 -0
  79. package/src/directive/aria/aria.js +11 -10
  80. package/src/directive/attrs/attrs.js +2 -1
  81. package/src/directive/bind/bind.js +2 -3
  82. package/src/directive/channel/channel.js +0 -1
  83. package/src/directive/class/class.js +0 -1
  84. package/src/directive/cloak/cloak.js +0 -1
  85. package/src/directive/include/include.js +22 -11
  86. package/src/directive/include/include.spec.js +1 -0
  87. package/src/directive/input/input-example.html +15 -0
  88. package/src/directive/input/input.js +8 -2
  89. package/src/directive/input/input.spec.js +12 -14
  90. package/src/directive/messages/messages.js +2 -2
  91. package/src/directive/non-bindable/non-bindable.js +0 -1
  92. package/src/directive/observe/test.html +1 -1
  93. package/src/directive/options/options-example.html +13 -0
  94. package/src/directive/options/options.js +33 -21
  95. package/src/directive/options/options.spec.js +207 -146
  96. package/src/directive/repeat/repeat.js +8 -7
  97. package/src/directive/select/select.spec.js +1 -1
  98. package/src/directive/setter/setter.js +1 -1
  99. package/src/directive/setter/setter.spec.js +5 -4
  100. package/src/directive/style/style.spec.js +1 -1
  101. package/src/directive/switch/switch.js +1 -2
  102. package/src/directive/transclude/transclude.js +0 -1
  103. package/src/directive/validators/validators.js +5 -5
  104. package/src/examples/counter.html +20 -0
  105. package/src/filters/order-by.js +2 -1
  106. package/src/filters/order-by.spec.js +4 -4
  107. package/src/index.spec.js +11 -0
  108. package/src/injection-tokens.js +71 -0
  109. package/src/interface.ts +4 -4
  110. package/src/loader.js +2 -0
  111. package/src/public.js +10 -3
  112. package/src/public.spec.js +1 -0
  113. package/src/router/directives/state-directives.js +1 -1
  114. package/src/router/directives/state-directives.spec.js +0 -2
  115. package/src/router/directives/view-directive.js +1 -2
  116. package/src/router/params/param.js +1 -1
  117. package/src/router/state/interface.ts +3 -3
  118. package/src/router/state/state-builder.js +4 -0
  119. package/src/router/state/state-builder.spec.js +21 -15
  120. package/src/router/state/state-registry.js +7 -6
  121. package/src/router/template-factory.spec.js +15 -9
  122. package/src/router/transition/transition-service.js +1 -0
  123. package/src/router/view/view.spec.js +1 -1
  124. package/src/router/view-scroll.spec.js +3 -4
  125. package/src/services/anchor-scroll.html +1 -1
  126. package/src/services/anchor-scroll.js +0 -4
  127. package/src/services/template-request.js +11 -7
  128. package/src/shared/noderef.js +1 -3
  129. package/src/shared/utils.js +5 -22
  130. package/src/src.html +2 -1
  131. package/typedoc/assets/hierarchy.js +1 -1
  132. package/typedoc/assets/navigation.js +1 -1
  133. package/typedoc/assets/search.js +1 -1
  134. package/typedoc/classes/animations_animate-cache.AnimateCacheProvider.html +4 -40
  135. package/typedoc/classes/animations_animate-css-driver.AnimateCssDriverProvider.html +4 -58
  136. package/typedoc/classes/animations_animate-css.AnimateCssProvider.html +4 -40
  137. package/typedoc/classes/animations_animate-js-driver.AnimateJsDriverProvider.html +4 -58
  138. package/typedoc/classes/animations_animate-js.AnimateJsProvider.html +4 -58
  139. package/typedoc/classes/animations_animate-queue.AnimateQueueProvider.html +4 -69
  140. package/typedoc/classes/animations_animate-runner.AnimateAsyncRunFactoryProvider.html +4 -40
  141. package/typedoc/classes/animations_animate-runner.AnimateRunner.html +4 -263
  142. package/typedoc/classes/animations_animate-runner.AnimateRunnerFactoryProvider.html +4 -40
  143. package/typedoc/classes/animations_animate.AnimateProvider.html +42 -108
  144. package/typedoc/classes/animations_animation.AnimationProvider.html +4 -51
  145. package/typedoc/classes/animations_raf-scheduler.RafSchedulerProvider.html +4 -115
  146. package/typedoc/classes/core_cache_cache-factory.TemplateCacheProvider.html +4 -29
  147. package/typedoc/classes/core_compile_attributes.Attributes.html +19 -227
  148. package/typedoc/classes/core_compile_compile.CompileProvider.html +52 -137
  149. package/typedoc/classes/core_controller_controller.ControllerProvider.html +4 -73
  150. package/typedoc/classes/core_di_internal-injector.InjectorService.html +7 -141
  151. package/typedoc/classes/core_di_internal-injector.ProviderInjector.html +7 -119
  152. package/typedoc/classes/core_di_ng-module.NgModule.html +4 -256
  153. package/typedoc/classes/core_exception-handler.ExceptionHandlerProvider.html +4 -69
  154. package/typedoc/classes/core_filter_filter.FilterProvider.html +4 -69
  155. package/typedoc/classes/core_interpolate_interpolate.InterpolateProvider.html +4 -84
  156. package/typedoc/classes/core_location_location.Location.html +5 -387
  157. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +5 -340
  158. package/typedoc/classes/core_location_location.LocationHtml5Url.html +5 -340
  159. package/typedoc/classes/core_location_location.LocationProvider.html +4 -113
  160. package/typedoc/classes/core_parse_ast_ast.AST.html +4 -359
  161. package/typedoc/classes/core_parse_interpreter.ASTInterpreter.html +4 -315
  162. package/typedoc/classes/core_parse_lexer_lexer.Lexer.html +4 -238
  163. package/typedoc/classes/core_parse_parse.ParseProvider.html +4 -51
  164. package/typedoc/classes/core_parse_parser_parser.Parser.html +4 -73
  165. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +4 -146
  166. package/typedoc/classes/core_pubsub_pubsub.PubSubProvider.html +576 -0
  167. package/typedoc/classes/core_sanitize_sanitize-uri.SanitizeUriProvider.html +4 -62
  168. package/typedoc/classes/core_sce_sce.SceDelegateProvider.html +4 -73
  169. package/typedoc/classes/core_sce_sce.SceProvider.html +10 -63
  170. package/typedoc/classes/core_scope_scope.RootScopeProvider.html +4 -51
  171. package/typedoc/classes/core_scope_scope.Scope.html +49 -1280
  172. package/typedoc/classes/core_task-tracker-factory.TaskTracker.html +4 -84
  173. package/typedoc/classes/core_task-tracker-factory.TaskTrackerFactoryProvider.html +23 -128
  174. package/typedoc/classes/directive_aria_aria.AriaProvider.html +4 -51
  175. package/typedoc/classes/directive_form_form.FormController.html +4 -429
  176. package/typedoc/classes/directive_model_model.NgModelController.html +4 -983
  177. package/typedoc/classes/loader.Angular.html +46 -179
  178. package/typedoc/classes/router_common_glob.Glob.html +4 -84
  179. package/typedoc/classes/router_common_queue.Queue.html +4 -161
  180. package/typedoc/classes/router_common_trace.Trace.html +4 -249
  181. package/typedoc/classes/router_globals.RouterGlobals.html +4 -117
  182. package/typedoc/classes/router_params_param-factory.ParamFactory.html +4 -73
  183. package/typedoc/classes/router_params_param-type.ParamType.html +4 -150
  184. package/typedoc/classes/router_params_param-types.ParamTypes.html +4 -95
  185. package/typedoc/classes/router_params_param.Param.html +4 -260
  186. package/typedoc/classes/router_params_state-params.StateParams.html +4 -40
  187. package/typedoc/classes/router_path_path-node.PathNode.html +4 -174
  188. package/typedoc/classes/router_path_path-utils.PathUtils.html +4 -128
  189. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -256
  190. package/typedoc/classes/router_resolve_resolve-context.ResolveContext.html +4 -150
  191. package/typedoc/classes/router_state-provider.StateProvider.html +4 -84
  192. package/typedoc/classes/router_state_state-builder.StateBuilder.html +4 -106
  193. package/typedoc/classes/router_state_state-matcher.StateMatcher.html +4 -73
  194. package/typedoc/classes/router_state_state-object.StateObject.html +4 -230
  195. package/typedoc/classes/router_state_state-queue-manager.StateQueueManager.html +4 -128
  196. package/typedoc/classes/router_state_state-registry.StateRegistryProvider.html +5 -246
  197. package/typedoc/classes/router_state_state-service.StateProvider.html +4 -322
  198. package/typedoc/classes/router_state_target-state.TargetState.html +4 -252
  199. package/typedoc/classes/router_state_views.ViewConfig.html +4 -161
  200. package/typedoc/classes/router_template-factory.TemplateFactoryProvider.html +4 -179
  201. package/typedoc/classes/router_transition_hook-builder.HookBuilder.html +4 -73
  202. package/typedoc/classes/router_transition_hook-registry.RegisteredHook.html +4 -201
  203. package/typedoc/classes/router_transition_reject-factory.Rejection.html +4 -183
  204. package/typedoc/classes/router_transition_transition-event-type.TransitionEventType.html +4 -117
  205. package/typedoc/classes/router_transition_transition-hook.TransitionHook.html +4 -280
  206. package/typedoc/classes/router_transition_transition-service.TransitionProvider.html +5 -238
  207. package/typedoc/classes/router_transition_transition.Transition.html +4 -648
  208. package/typedoc/classes/router_url_url-config.UrlConfigProvider.html +4 -149
  209. package/typedoc/classes/router_url_url-matcher.UrlMatcher.html +4 -274
  210. package/typedoc/classes/router_url_url-rule.BaseUrlRule.html +4 -95
  211. package/typedoc/classes/router_url_url-rule.UrlRuleFactory.html +4 -124
  212. package/typedoc/classes/router_url_url-rules.UrlRules.html +4 -222
  213. package/typedoc/classes/router_url_url-service.UrlService.html +4 -373
  214. package/typedoc/classes/router_view-scroll.ViewScrollProvider.html +4 -69
  215. package/typedoc/classes/router_view_view.ViewService.html +4 -223
  216. package/typedoc/classes/services_anchor-scroll.AnchorScrollProvider.html +4 -164
  217. package/typedoc/classes/services_browser.Browser.html +4 -276
  218. package/typedoc/classes/services_browser.BrowserProvider.html +4 -29
  219. package/typedoc/classes/services_http-backend_http-backend.HttpBackendProvider.html +4 -40
  220. package/typedoc/classes/services_http_http.HttpParamSerializerProvider.html +4 -40
  221. package/typedoc/classes/services_http_http.HttpProvider.html +4 -84
  222. package/typedoc/classes/services_log.LogProvider.html +4 -91
  223. package/typedoc/classes/services_template-request.TemplateRequestProvider.html +4 -51
  224. package/typedoc/classes/shared_noderef.NodeRef.html +4 -301
  225. package/typedoc/enums/core_parse_ast-type.ASTType.html +4 -212
  226. package/typedoc/enums/router_common_trace.Category.html +4 -80
  227. package/typedoc/enums/router_transition_interface.TransitionHookPhase.html +4 -73
  228. package/typedoc/enums/router_transition_interface.TransitionHookScope.html +4 -40
  229. package/typedoc/enums/router_transition_reject-factory.RejectType.html +4 -80
  230. package/typedoc/functions/animations_animate-cache.animateCache.html +4 -84
  231. package/typedoc/functions/animations_animate-children-directive.__AnimateChildrenDirective.html +4 -29
  232. package/typedoc/functions/animations_animate-swap.ngAnimateSwapDirective.html +4 -29
  233. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +4 -18
  234. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +4 -18
  235. package/typedoc/functions/animations_shared.applyAnimationStyles.html +4 -18
  236. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +4 -18
  237. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +4 -18
  238. package/typedoc/functions/animations_shared.applyInlineStyle.html +4 -18
  239. package/typedoc/functions/animations_shared.assertArg.html +4 -18
  240. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +4 -18
  241. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +4 -18
  242. package/typedoc/functions/animations_shared.concatWithSpace.html +4 -18
  243. package/typedoc/functions/animations_shared.extractElementNode.html +4 -18
  244. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +4 -18
  245. package/typedoc/functions/animations_shared.mergeClasses.html +4 -18
  246. package/typedoc/functions/animations_shared.packageStyles.html +4 -18
  247. package/typedoc/functions/animations_shared.pendClasses.html +4 -18
  248. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +4 -18
  249. package/typedoc/functions/animations_shared.removeFromArray.html +4 -18
  250. package/typedoc/functions/animations_shared.resolveElementClasses.html +4 -18
  251. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +4 -18
  252. package/typedoc/functions/core_controller_controller.identifierForController.html +4 -18
  253. package/typedoc/functions/core_di_injector.annotate.html +4 -18
  254. package/typedoc/functions/core_di_injector.createInjector.html +4 -18
  255. package/typedoc/functions/core_location_location.serverBase.html +4 -18
  256. package/typedoc/functions/core_location_location.stripBaseUrl.html +4 -18
  257. package/typedoc/functions/core_location_location.stripFile.html +4 -18
  258. package/typedoc/functions/core_location_location.stripHash.html +4 -18
  259. package/typedoc/functions/core_parse_interpreter.isAssignable.html +4 -18
  260. package/typedoc/functions/core_parse_parse.constantWatchDelegate.html +4 -18
  261. package/typedoc/functions/core_sce_sce.adjustMatcher.html +4 -18
  262. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +4 -18
  263. package/typedoc/functions/core_scope_scope.createScope.html +4 -18
  264. package/typedoc/functions/core_scope_scope.nextId.html +4 -18
  265. package/typedoc/functions/core_url-utils_url-utils.getBaseUrl.html +4 -18
  266. package/typedoc/functions/core_url-utils_url-utils.urlIsAllowedOriginFactory.html +4 -18
  267. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOrigin.html +4 -18
  268. package/typedoc/functions/core_url-utils_url-utils.urlIsSameOriginAsBaseUrl.html +4 -18
  269. package/typedoc/functions/core_url-utils_url-utils.urlResolve.html +4 -18
  270. package/typedoc/functions/core_url-utils_url-utils.urlsAreSameOrigin.html +4 -18
  271. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +4 -29
  272. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +6 -31
  273. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +4 -29
  274. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +4 -29
  275. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +4 -29
  276. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +4 -18
  277. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +4 -29
  278. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +4 -29
  279. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +4 -29
  280. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +4 -29
  281. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +4 -29
  282. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +4 -18
  283. package/typedoc/functions/directive_bind_bind.ngBindHtmlDirective.html +4 -29
  284. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +4 -18
  285. package/typedoc/functions/directive_channel_channel.ngChannelDirective.html +4 -18
  286. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +4 -18
  287. package/typedoc/functions/directive_controller_controller.ngControllerDirective.html +4 -18
  288. package/typedoc/functions/directive_events_events.createEventDirective.html +4 -18
  289. package/typedoc/functions/directive_form_form.setupValidity.html +4 -18
  290. package/typedoc/functions/directive_if_if.ngIfDirective.html +4 -29
  291. package/typedoc/functions/directive_include_include.ngIncludeDirective.html +33 -178
  292. package/typedoc/functions/directive_include_include.ngIncludeFillContentDirective.html +4 -29
  293. package/typedoc/functions/directive_init_init.ngInitDirective.html +4 -18
  294. package/typedoc/functions/directive_input_input.badInputChecker.html +4 -18
  295. package/typedoc/functions/directive_input_input.countDecimals.html +4 -18
  296. package/typedoc/functions/directive_input_input.createDateInputType.html +4 -18
  297. package/typedoc/functions/directive_input_input.createDateParser.html +4 -18
  298. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +4 -18
  299. package/typedoc/functions/directive_input_input.inputDirective.html +4 -29
  300. package/typedoc/functions/directive_input_input.isNumberInteger.html +4 -18
  301. package/typedoc/functions/directive_input_input.isValidForStep.html +4 -18
  302. package/typedoc/functions/directive_input_input.ngValueDirective.html +4 -18
  303. package/typedoc/functions/directive_input_input.numberFormatterParser.html +4 -18
  304. package/typedoc/functions/directive_input_input.numberInputType.html +4 -18
  305. package/typedoc/functions/directive_input_input.rangeInputType.html +4 -18
  306. package/typedoc/functions/directive_input_input.weekParser.html +4 -18
  307. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +4 -29
  308. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +4 -29
  309. package/typedoc/functions/directive_model-options_model-options.ngModelOptionsDirective.html +4 -18
  310. package/typedoc/functions/directive_model_model.ngModelDirective.html +4 -18
  311. package/typedoc/functions/directive_non-bindable_non-bindable.ngNonBindableDirective.html +4 -18
  312. package/typedoc/functions/directive_observe_observe.ngObserveDirective.html +4 -18
  313. package/typedoc/functions/directive_ref_ref.ngRefDirective.html +4 -29
  314. package/typedoc/functions/directive_repeat_repeat.ngRepeatDirective.html +4 -29
  315. package/typedoc/functions/directive_script_script.scriptDirective.html +4 -29
  316. package/typedoc/functions/directive_select_select.optionDirective.html +4 -29
  317. package/typedoc/functions/directive_select_select.selectDirective.html +4 -18
  318. package/typedoc/functions/directive_setter_setter.ngSetterDirective.html +4 -29
  319. package/typedoc/functions/directive_show-hide_show-hide.ngHideDirective.html +4 -29
  320. package/typedoc/functions/directive_show-hide_show-hide.ngShowDirective.html +4 -29
  321. package/typedoc/functions/directive_style_style.ngStyleDirective.html +4 -18
  322. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +4 -18
  323. package/typedoc/functions/directive_switch_switch.ngSwitchDirective.html +4 -29
  324. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +4 -18
  325. package/typedoc/functions/filters_filter.filterFilter.html +4 -18
  326. package/typedoc/functions/filters_filters.formatNumber.html +4 -18
  327. package/typedoc/functions/filters_filters.jsonFilter.html +4 -18
  328. package/typedoc/functions/filters_limit-to.limitToFilter.html +4 -18
  329. package/typedoc/functions/filters_order-by.orderByFilter.html +4 -29
  330. package/typedoc/functions/public.publishExternalAPI.html +6 -24
  331. package/typedoc/functions/router_common_glob.hasGlobs.html +4 -18
  332. package/typedoc/functions/router_directives_state-directives._StateRefActiveDirective.html +4 -29
  333. package/typedoc/functions/router_directives_state-directives._StateRefDirective.html +4 -29
  334. package/typedoc/functions/router_directives_state-directives._StateRefDynamicDirective.html +4 -29
  335. package/typedoc/functions/router_directives_view-directive._ViewDirectiveFill.html +4 -39
  336. package/typedoc/functions/router_hooks_core-resolvables.registerAddCoreResolvables.html +4 -18
  337. package/typedoc/functions/router_hooks_core-resolvables.treeChangesCleanup.html +4 -18
  338. package/typedoc/functions/router_hooks_ignored-transition.registerIgnoredTransitionHook.html +4 -18
  339. package/typedoc/functions/router_hooks_invalid-transition.registerInvalidTransitionHook.html +4 -18
  340. package/typedoc/functions/router_hooks_lazy-load.lazyLoadState.html +4 -18
  341. package/typedoc/functions/router_hooks_lazy-load.registerLazyLoadHook.html +4 -18
  342. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnEnterHook.html +4 -18
  343. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnExitHook.html +4 -18
  344. package/typedoc/functions/router_hooks_on-enter-exit-retain.registerOnRetainHook.html +4 -18
  345. package/typedoc/functions/router_hooks_redirect-to.registerRedirectToHook.html +4 -18
  346. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +4 -18
  347. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +4 -18
  348. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +4 -18
  349. package/typedoc/functions/router_hooks_update-globals.registerUpdateGlobalState.html +4 -18
  350. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +4 -18
  351. package/typedoc/functions/router_hooks_views.registerActivateViews.html +4 -18
  352. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +4 -18
  353. package/typedoc/functions/router_path_path-utils.makeTargetState.html +4 -18
  354. package/typedoc/functions/router_state-filters._IncludedByStateFilter.html +4 -29
  355. package/typedoc/functions/router_state-filters._IsStateFilter.html +4 -29
  356. package/typedoc/functions/router_state_state-builder.resolvablesBuilder.html +4 -18
  357. package/typedoc/functions/router_state_state-registry.getLocals.html +4 -18
  358. package/typedoc/functions/router_state_views.getViewConfigFactory.html +4 -18
  359. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +4 -18
  360. package/typedoc/functions/router_transition_hook-registry.makeEvent.html +4 -18
  361. package/typedoc/functions/router_transition_hook-registry.matchState.html +4 -18
  362. package/typedoc/functions/services_browser.trimEmptyHash.html +4 -18
  363. package/typedoc/functions/services_cookie-reader.getCookies.html +4 -18
  364. package/typedoc/functions/services_http-backend_http-backend.createHttpBackend.html +4 -18
  365. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +4 -18
  366. package/typedoc/functions/shared_common._removeFrom.html +4 -18
  367. package/typedoc/functions/shared_common.allTrueR.html +4 -18
  368. package/typedoc/functions/shared_common.ancestors.html +4 -18
  369. package/typedoc/functions/shared_common.anyTrueR.html +4 -18
  370. package/typedoc/functions/shared_common.applyPairs.html +4 -18
  371. package/typedoc/functions/shared_common.arrayTuples.html +4 -18
  372. package/typedoc/functions/shared_common.assertFn.html +4 -18
  373. package/typedoc/functions/shared_common.copy.html +4 -18
  374. package/typedoc/functions/shared_common.createProxyFunctions.html +4 -18
  375. package/typedoc/functions/shared_common.defaults.html +4 -18
  376. package/typedoc/functions/shared_common.deregAll.html +4 -18
  377. package/typedoc/functions/shared_common.equals.html +4 -18
  378. package/typedoc/functions/shared_common.filter.html +4 -18
  379. package/typedoc/functions/shared_common.find.html +4 -18
  380. package/typedoc/functions/shared_common.flatten.html +4 -18
  381. package/typedoc/functions/shared_common.flattenR.html +4 -18
  382. package/typedoc/functions/shared_common.inherit.html +4 -18
  383. package/typedoc/functions/shared_common.map.html +4 -18
  384. package/typedoc/functions/shared_common.omit.html +4 -18
  385. package/typedoc/functions/shared_common.pairs.html +4 -18
  386. package/typedoc/functions/shared_common.pick.html +4 -18
  387. package/typedoc/functions/shared_common.pushR.html +4 -18
  388. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +4 -18
  389. package/typedoc/functions/shared_common.silentRejection.html +4 -18
  390. package/typedoc/functions/shared_common.tail.html +4 -18
  391. package/typedoc/functions/shared_common.uniqR.html +4 -18
  392. package/typedoc/functions/shared_common.unnest.html +4 -18
  393. package/typedoc/functions/shared_common.unnestR.html +4 -18
  394. package/typedoc/functions/shared_dom.appendNodesToElement.html +4 -18
  395. package/typedoc/functions/shared_dom.buildFragment.html +4 -18
  396. package/typedoc/functions/shared_dom.cleanElementData.html +4 -18
  397. package/typedoc/functions/shared_dom.createElementFromHTML.html +4 -18
  398. package/typedoc/functions/shared_dom.createNodelistFromHTML.html +4 -18
  399. package/typedoc/functions/shared_dom.dealoc.html +4 -18
  400. package/typedoc/functions/shared_dom.deleteCacheData.html +4 -18
  401. package/typedoc/functions/shared_dom.domInsert.html +4 -18
  402. package/typedoc/functions/shared_dom.emptyElement.html +4 -18
  403. package/typedoc/functions/shared_dom.getBlockNodes.html +4 -18
  404. package/typedoc/functions/shared_dom.getBooleanAttrName.html +4 -18
  405. package/typedoc/functions/shared_dom.getCacheData.html +4 -18
  406. package/typedoc/functions/shared_dom.getController.html +4 -18
  407. package/typedoc/functions/shared_dom.getExpando.html +4 -18
  408. package/typedoc/functions/shared_dom.getInheritedData.html +4 -18
  409. package/typedoc/functions/shared_dom.getInjector.html +4 -18
  410. package/typedoc/functions/shared_dom.getIsolateScope.html +4 -18
  411. package/typedoc/functions/shared_dom.getOrSetCacheData.html +4 -18
  412. package/typedoc/functions/shared_dom.getScope.html +4 -18
  413. package/typedoc/functions/shared_dom.isRoot.html +4 -18
  414. package/typedoc/functions/shared_dom.isTextNode.html +4 -18
  415. package/typedoc/functions/shared_dom.kebabToCamel.html +4 -18
  416. package/typedoc/functions/shared_dom.parseHtml.html +4 -18
  417. package/typedoc/functions/shared_dom.removeElement.html +4 -18
  418. package/typedoc/functions/shared_dom.removeElementData.html +4 -18
  419. package/typedoc/functions/shared_dom.setCacheData.html +4 -18
  420. package/typedoc/functions/shared_dom.setInheritedData.html +4 -18
  421. package/typedoc/functions/shared_dom.setIsolateScope.html +4 -18
  422. package/typedoc/functions/shared_dom.setScope.html +4 -18
  423. package/typedoc/functions/shared_dom.snakeToCamel.html +4 -18
  424. package/typedoc/functions/shared_dom.startingTag.html +4 -18
  425. package/typedoc/functions/shared_hof.all.html +4 -18
  426. package/typedoc/functions/shared_hof.compose.html +4 -18
  427. package/typedoc/functions/shared_hof.curry.html +4 -18
  428. package/typedoc/functions/shared_hof.is.html +4 -18
  429. package/typedoc/functions/shared_hof.or.html +4 -18
  430. package/typedoc/functions/shared_hof.parse.html +4 -18
  431. package/typedoc/functions/shared_hof.pattern.html +4 -18
  432. package/typedoc/functions/shared_hof.pipe.html +4 -18
  433. package/typedoc/functions/shared_hof.val.html +4 -18
  434. package/typedoc/functions/shared_predicates.isInjectable.html +4 -18
  435. package/typedoc/functions/shared_predicates.isPromise.html +4 -18
  436. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +4 -18
  437. package/typedoc/functions/shared_strings.fnToString.html +4 -18
  438. package/typedoc/functions/shared_strings.functionToString.html +4 -18
  439. package/typedoc/functions/shared_strings.joinNeighborsR.html +4 -18
  440. package/typedoc/functions/shared_strings.kebobString.html +4 -18
  441. package/typedoc/functions/shared_strings.maxLength.html +4 -18
  442. package/typedoc/functions/shared_strings.padString.html +4 -18
  443. package/typedoc/functions/shared_strings.splitOnDelim.html +4 -18
  444. package/typedoc/functions/shared_strings.stringify.html +4 -18
  445. package/typedoc/functions/shared_strings.stripLastPathElement.html +4 -18
  446. package/typedoc/functions/shared_strings.trimHashVal.html +4 -18
  447. package/typedoc/functions/shared_test-utils.bootstrap.html +4 -18
  448. package/typedoc/functions/shared_test-utils.browserTrigger.html +4 -18
  449. package/typedoc/functions/shared_test-utils.wait.html +4 -18
  450. package/typedoc/functions/shared_utils.addDateMinutes.html +4 -18
  451. package/typedoc/functions/shared_utils.arrayRemove.html +4 -18
  452. package/typedoc/functions/shared_utils.assert.html +4 -18
  453. package/typedoc/functions/shared_utils.assertArg.html +4 -18
  454. package/typedoc/functions/shared_utils.assertArgFn.html +4 -18
  455. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -18
  456. package/typedoc/functions/shared_utils.baseExtend.html +4 -18
  457. package/typedoc/functions/shared_utils.bind.html +4 -18
  458. package/typedoc/functions/shared_utils.concat.html +4 -18
  459. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +4 -18
  460. package/typedoc/functions/shared_utils.csp.html +4 -18
  461. package/typedoc/functions/shared_utils.directiveNormalize.html +4 -18
  462. package/typedoc/functions/shared_utils.encodeUriQuery.html +4 -18
  463. package/typedoc/functions/shared_utils.encodeUriSegment.html +4 -18
  464. package/typedoc/functions/shared_utils.equals.html +4 -18
  465. package/typedoc/functions/shared_utils.errorHandlingConfig.html +4 -18
  466. package/typedoc/functions/shared_utils.extend.html +4 -18
  467. package/typedoc/functions/shared_utils.fromJson.html +4 -18
  468. package/typedoc/functions/shared_utils.getNgAttribute.html +4 -18
  469. package/typedoc/functions/shared_utils.getNodeName.html +4 -18
  470. package/typedoc/functions/shared_utils.hasAnimate.html +4 -18
  471. package/typedoc/functions/shared_utils.hasCustomToString.html +4 -18
  472. package/typedoc/functions/shared_utils.hasOwn.html +4 -18
  473. package/typedoc/functions/shared_utils.hashKey.html +4 -18
  474. package/typedoc/functions/shared_utils.includes.html +4 -18
  475. package/typedoc/functions/shared_utils.inherit.html +4 -18
  476. package/typedoc/functions/shared_utils.isArrayBuffer.html +4 -18
  477. package/typedoc/functions/shared_utils.isArrayLike.html +7 -18
  478. package/typedoc/functions/shared_utils.isBlankObject.html +8 -18
  479. package/typedoc/functions/shared_utils.isBlob.html +4 -18
  480. package/typedoc/functions/shared_utils.isBoolean.html +4 -18
  481. package/typedoc/functions/shared_utils.isDate.html +4 -18
  482. package/typedoc/functions/shared_utils.isDefined.html +4 -18
  483. package/typedoc/functions/shared_utils.isElement.html +4 -18
  484. package/typedoc/functions/shared_utils.isError.html +4 -18
  485. package/typedoc/functions/shared_utils.isFile.html +4 -18
  486. package/typedoc/functions/shared_utils.isFormData.html +4 -18
  487. package/typedoc/functions/shared_utils.isFunction.html +4 -18
  488. package/typedoc/functions/shared_utils.isNull.html +4 -18
  489. package/typedoc/functions/shared_utils.isNullOrUndefined.html +4 -18
  490. package/typedoc/functions/shared_utils.isNumber.html +4 -18
  491. package/typedoc/functions/shared_utils.isNumberNaN.html +4 -18
  492. package/typedoc/functions/shared_utils.isObject.html +4 -18
  493. package/typedoc/functions/shared_utils.isObjectEmpty.html +4 -18
  494. package/typedoc/functions/shared_utils.isPromiseLike.html +4 -18
  495. package/typedoc/functions/shared_utils.isProxy.html +4 -18
  496. package/typedoc/functions/shared_utils.isRegExp.html +4 -18
  497. package/typedoc/functions/shared_utils.isScope.html +4 -18
  498. package/typedoc/functions/shared_utils.isString.html +4 -18
  499. package/typedoc/functions/shared_utils.isTypedArray.html +4 -18
  500. package/typedoc/functions/shared_utils.isUndefined.html +4 -18
  501. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +4 -18
  502. package/typedoc/functions/shared_utils.isWindow.html +4 -18
  503. package/typedoc/functions/shared_utils.lowercase.html +4 -18
  504. package/typedoc/functions/shared_utils.mergeClasses.html +4 -18
  505. package/typedoc/functions/shared_utils.minErr.html +4 -18
  506. package/typedoc/functions/shared_utils.nextUid.html +4 -18
  507. package/typedoc/functions/shared_utils.parseKeyValue.html +4 -18
  508. package/typedoc/functions/shared_utils.setHashKey.html +4 -18
  509. package/typedoc/functions/shared_utils.shallowCopy.html +4 -18
  510. package/typedoc/functions/shared_utils.simpleCompare.html +4 -18
  511. package/typedoc/functions/shared_utils.sliceArgs.html +4 -18
  512. package/typedoc/functions/shared_utils.snakeCase.html +4 -18
  513. package/typedoc/functions/shared_utils.stringify.html +4 -18
  514. package/typedoc/functions/shared_utils.timezoneToOffset.html +4 -18
  515. package/typedoc/functions/shared_utils.toDebugString.html +4 -18
  516. package/typedoc/functions/shared_utils.toInt.html +4 -18
  517. package/typedoc/functions/shared_utils.toJson.html +4 -18
  518. package/typedoc/functions/shared_utils.toKeyValue.html +4 -18
  519. package/typedoc/functions/shared_utils.trim.html +4 -18
  520. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +9 -19
  521. package/typedoc/functions/shared_utils.uppercase.html +4 -18
  522. package/typedoc/hierarchy.html +8 -11
  523. package/typedoc/index.html +5 -8
  524. package/typedoc/interfaces/animations_animate.AnimationOptions.html +4 -62
  525. package/typedoc/interfaces/animations_raf-scheduler.ServiceProvider.html +5 -30
  526. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -51
  527. package/typedoc/interfaces/core_compile_compile.LinkFnMapping.html +4 -51
  528. package/typedoc/interfaces/core_compile_compile.NodeLinkFnCtx.html +4 -84
  529. package/typedoc/interfaces/core_compile_compile.SimpleChange.html +4 -40
  530. package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -51
  531. package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -51
  532. package/typedoc/interfaces/core_parse_ast_ast.Token.html +4 -84
  533. package/typedoc/interfaces/core_parse_interface.CompiledExpressionHandlerMap.html +4 -73
  534. package/typedoc/interfaces/core_parse_interface.CompiledExpressionProps.html +5 -107
  535. package/typedoc/interfaces/core_parse_lexer_lexer.LexerOptions.html +4 -40
  536. package/typedoc/interfaces/core_parse_parser_parser.ParsedAST.html +4 -29
  537. package/typedoc/interfaces/core_sanitize_interface.SanitizerFn.html +4 -18
  538. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -51
  539. package/typedoc/interfaces/core_scope_scope.Listener.html +4 -106
  540. package/typedoc/interfaces/directive_model-options_model-options.ModelOptionsConfig.html +4 -73
  541. package/typedoc/interfaces/interface.ChangesObject.html +4 -40
  542. package/typedoc/interfaces/interface.ComponentOptions.html +4 -95
  543. package/typedoc/interfaces/interface.Controller.html +5 -74
  544. package/typedoc/interfaces/interface.Directive.html +6 -207
  545. package/typedoc/interfaces/interface.DirectivePrePost.html +4 -40
  546. package/typedoc/interfaces/interface.NgModelController.html +4 -172
  547. package/typedoc/interfaces/interface.NgModelOptions.html +4 -95
  548. package/typedoc/interfaces/interface.Provider.html +4 -84
  549. package/typedoc/interfaces/interface.TranscludeFunctionObject.html +4 -51
  550. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +4 -29
  551. package/typedoc/interfaces/router_params_interface.ParamDeclaration.html +4 -117
  552. package/typedoc/interfaces/router_params_interface.ParamTypeDefinition.html +4 -106
  553. package/typedoc/interfaces/router_params_interface.RawParams.html +4 -18
  554. package/typedoc/interfaces/router_params_interface.Replace.html +4 -40
  555. package/typedoc/interfaces/router_resolve_interface.CustomAsyncPolicy.html +4 -18
  556. package/typedoc/interfaces/router_resolve_interface.ProviderLike.html +4 -84
  557. package/typedoc/interfaces/router_resolve_interface.ResolvableLiteral.html +4 -73
  558. package/typedoc/interfaces/router_resolve_interface.ResolvePolicy.html +4 -40
  559. package/typedoc/interfaces/router_state_interface.HrefOptions.html +4 -62
  560. package/typedoc/interfaces/router_state_interface.LazyLoadResult.html +4 -29
  561. package/typedoc/interfaces/router_state_interface.StateDeclaration.html +11 -212
  562. package/typedoc/interfaces/router_state_interface.TargetStateDef.html +4 -51
  563. package/typedoc/interfaces/router_state_interface.TransitionPromise.html +5 -54
  564. package/typedoc/interfaces/router_state_interface.ViewDeclaration.html +4 -183
  565. package/typedoc/interfaces/router_template-factory.BindingTuple.html +4 -40
  566. package/typedoc/interfaces/router_transition_interface.HookMatchCriteria.html +4 -73
  567. package/typedoc/interfaces/router_transition_interface.HookRegOptions.html +4 -51
  568. package/typedoc/interfaces/router_transition_interface.IHookRegistry.html +4 -128
  569. package/typedoc/interfaces/router_transition_interface.IMatchingNodes.html +4 -73
  570. package/typedoc/interfaces/router_transition_interface.PathType.html +4 -40
  571. package/typedoc/interfaces/router_transition_interface.PathTypes.html +4 -73
  572. package/typedoc/interfaces/router_transition_interface.RegisteredHooks.html +4 -18
  573. package/typedoc/interfaces/router_transition_interface.TransitionCreateHookFn.html +4 -18
  574. package/typedoc/interfaces/router_transition_interface.TransitionHookFn.html +4 -18
  575. package/typedoc/interfaces/router_transition_interface.TransitionHookOptions.html +4 -95
  576. package/typedoc/interfaces/router_transition_interface.TransitionOptions.html +4 -139
  577. package/typedoc/interfaces/router_transition_interface.TransitionStateHookFn.html +4 -18
  578. package/typedoc/interfaces/router_transition_interface.TreeChanges.html +4 -84
  579. package/typedoc/interfaces/router_view_interface.ActiveUIView.html +4 -84
  580. package/typedoc/interfaces/router_view_interface.ViewConfig.html +4 -73
  581. package/typedoc/interfaces/router_view_interface.ViewContext.html +4 -40
  582. package/typedoc/interfaces/services_anchor-scroll.AnchorScrollObject.html +4 -29
  583. package/typedoc/interfaces/services_log.LogService.html +4 -80
  584. package/typedoc/interfaces/shared_interface.TypedMap.html +4 -18
  585. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +4 -40
  586. package/typedoc/modules/animations_animate-cache.html +4 -7
  587. package/typedoc/modules/animations_animate-children-directive.html +4 -9
  588. package/typedoc/modules/animations_animate-css-driver.html +4 -7
  589. package/typedoc/modules/animations_animate-css.html +4 -7
  590. package/typedoc/modules/animations_animate-js-driver.html +4 -7
  591. package/typedoc/modules/animations_animate-js.html +4 -7
  592. package/typedoc/modules/animations_animate-queue.html +4 -7
  593. package/typedoc/modules/animations_animate-runner.html +4 -7
  594. package/typedoc/modules/animations_animate-swap.html +4 -7
  595. package/typedoc/modules/animations_animate.html +4 -7
  596. package/typedoc/modules/animations_animation.html +4 -7
  597. package/typedoc/modules/animations_interface.html +4 -7
  598. package/typedoc/modules/animations_raf-scheduler.html +4 -7
  599. package/typedoc/modules/animations_shared.html +4 -7
  600. package/typedoc/modules/core_cache_cache-factory.html +4 -7
  601. package/typedoc/modules/core_cache_cache.html +4 -7
  602. package/typedoc/modules/core_compile_attributes.html +4 -7
  603. package/typedoc/modules/core_compile_compile.html +4 -7
  604. package/typedoc/modules/core_controller_controller.html +4 -7
  605. package/typedoc/modules/core_di_injector.html +4 -65
  606. package/typedoc/modules/core_di_internal-injector.html +4 -7
  607. package/typedoc/modules/core_di_ng-module.html +4 -34
  608. package/typedoc/modules/core_error-handler.html +4 -7
  609. package/typedoc/modules/core_exception-handler.html +4 -7
  610. package/typedoc/modules/core_filter_filter.html +4 -7
  611. package/typedoc/modules/core_interpolate_interpolate.html +4 -7
  612. package/typedoc/modules/core_location_location.html +4 -7
  613. package/typedoc/modules/core_parse_ast-type.html +4 -7
  614. package/typedoc/modules/core_parse_ast_ast-node.html +4 -7
  615. package/typedoc/modules/core_parse_ast_ast.html +4 -7
  616. package/typedoc/modules/core_parse_interface.html +4 -7
  617. package/typedoc/modules/core_parse_interpreter.html +4 -7
  618. package/typedoc/modules/core_parse_lexer_lexer.html +4 -7
  619. package/typedoc/modules/core_parse_lexer_token.html +4 -7
  620. package/typedoc/modules/core_parse_parse.html +4 -7
  621. package/typedoc/modules/core_parse_parser_parser.html +4 -7
  622. package/typedoc/modules/core_pubsub_pubsub.html +95 -7
  623. package/typedoc/modules/core_sanitize_interface.html +4 -7
  624. package/typedoc/modules/core_sanitize_sanitize-uri.html +4 -7
  625. package/typedoc/modules/core_sce_sce.html +4 -7
  626. package/typedoc/modules/core_scope_scope.html +4 -7
  627. package/typedoc/modules/core_task-tracker-factory.html +134 -7
  628. package/typedoc/modules/core_url-utils_url-utils.html +4 -7
  629. package/typedoc/modules/directive_aria_aria.html +4 -7
  630. package/typedoc/modules/directive_attrs_attrs.html +4 -7
  631. package/typedoc/modules/directive_bind_bind.html +4 -7
  632. package/typedoc/modules/directive_channel_channel.html +4 -7
  633. package/typedoc/modules/directive_class_class.html +4 -7
  634. package/typedoc/modules/directive_cloak_cloak.html +4 -7
  635. package/typedoc/modules/directive_controller_controller.html +4 -7
  636. package/typedoc/modules/directive_events_events.html +4 -7
  637. package/typedoc/modules/directive_form_form.html +4 -7
  638. package/typedoc/modules/directive_if_if.html +4 -7
  639. package/typedoc/modules/directive_include_include.html +4 -7
  640. package/typedoc/modules/directive_init_init.html +4 -7
  641. package/typedoc/modules/directive_input_input.html +4 -7
  642. package/typedoc/modules/directive_messages_messages.html +4 -7
  643. package/typedoc/modules/directive_model-options_model-options.html +4 -9
  644. package/typedoc/modules/directive_model_model.html +4 -7
  645. package/typedoc/modules/directive_non-bindable_non-bindable.html +4 -9
  646. package/typedoc/modules/directive_observe_observe.html +4 -7
  647. package/typedoc/modules/directive_options_options.html +4 -7
  648. package/typedoc/modules/directive_ref_ref.html +4 -7
  649. package/typedoc/modules/directive_repeat_repeat.html +4 -7
  650. package/typedoc/modules/directive_script_script.html +4 -7
  651. package/typedoc/modules/directive_select_select.html +4 -7
  652. package/typedoc/modules/directive_setter_setter.html +4 -7
  653. package/typedoc/modules/directive_show-hide_show-hide.html +4 -7
  654. package/typedoc/modules/directive_style_style.html +4 -7
  655. package/typedoc/modules/directive_switch_switch.html +4 -7
  656. package/typedoc/modules/directive_transclude_transclude.html +4 -7
  657. package/typedoc/modules/directive_validators_validators.html +4 -7
  658. package/typedoc/modules/filters_filter.html +4 -7
  659. package/typedoc/modules/filters_filters.html +4 -7
  660. package/typedoc/modules/filters_limit-to.html +4 -7
  661. package/typedoc/modules/filters_order-by.html +4 -7
  662. package/typedoc/modules/index.html +4 -84
  663. package/typedoc/{variables/index.angular.html → modules/injection-tokens.html} +84 -30
  664. package/typedoc/modules/interface.html +35 -36
  665. package/typedoc/modules/loader.html +4 -7
  666. package/typedoc/modules/public.html +4 -7
  667. package/typedoc/modules/router_common_glob.html +4 -7
  668. package/typedoc/modules/router_common_queue.html +4 -7
  669. package/typedoc/modules/router_common_trace.html +4 -7
  670. package/typedoc/modules/router_directives_state-directives.html +4 -7
  671. package/typedoc/modules/router_directives_view-directive.html +4 -7
  672. package/typedoc/modules/router_globals.html +4 -7
  673. package/typedoc/modules/router_hooks_core-resolvables.html +4 -7
  674. package/typedoc/modules/router_hooks_ignored-transition.html +4 -7
  675. package/typedoc/modules/router_hooks_invalid-transition.html +4 -7
  676. package/typedoc/modules/router_hooks_lazy-load.html +4 -7
  677. package/typedoc/modules/router_hooks_on-enter-exit-retain.html +4 -7
  678. package/typedoc/modules/router_hooks_redirect-to.html +4 -7
  679. package/typedoc/modules/router_hooks_resolve.html +4 -7
  680. package/typedoc/modules/router_hooks_update-globals.html +4 -7
  681. package/typedoc/modules/router_hooks_url.html +4 -7
  682. package/typedoc/modules/router_hooks_views.html +4 -7
  683. package/typedoc/modules/router_params_interface.html +4 -7
  684. package/typedoc/modules/router_params_param-factory.html +4 -7
  685. package/typedoc/modules/router_params_param-type.html +4 -7
  686. package/typedoc/modules/router_params_param-types.html +4 -7
  687. package/typedoc/modules/router_params_param.html +4 -7
  688. package/typedoc/modules/router_params_state-params.html +4 -7
  689. package/typedoc/modules/router_path_path-node.html +4 -7
  690. package/typedoc/modules/router_path_path-utils.html +4 -7
  691. package/typedoc/modules/router_resolve_interface.html +4 -7
  692. package/typedoc/modules/router_resolve_resolvable.html +4 -7
  693. package/typedoc/modules/router_resolve_resolve-context.html +4 -7
  694. package/typedoc/modules/router_state-filters.html +4 -7
  695. package/typedoc/modules/router_state-provider.html +4 -7
  696. package/typedoc/modules/router_state_interface.html +4 -7
  697. package/typedoc/modules/router_state_state-builder.html +4 -7
  698. package/typedoc/modules/router_state_state-matcher.html +4 -7
  699. package/typedoc/modules/router_state_state-object.html +4 -7
  700. package/typedoc/modules/router_state_state-queue-manager.html +4 -7
  701. package/typedoc/modules/router_state_state-registry.html +4 -7
  702. package/typedoc/modules/router_state_state-service.html +4 -7
  703. package/typedoc/modules/router_state_target-state.html +4 -7
  704. package/typedoc/modules/router_state_views.html +4 -7
  705. package/typedoc/modules/router_template-factory.html +4 -7
  706. package/typedoc/modules/router_transition_hook-builder.html +4 -7
  707. package/typedoc/modules/router_transition_hook-registry.html +4 -7
  708. package/typedoc/modules/router_transition_interface.html +4 -7
  709. package/typedoc/modules/router_transition_reject-factory.html +4 -7
  710. package/typedoc/modules/router_transition_transition-event-type.html +4 -9
  711. package/typedoc/modules/router_transition_transition-hook.html +4 -7
  712. package/typedoc/modules/router_transition_transition-service.html +4 -9
  713. package/typedoc/modules/router_transition_transition.html +4 -7
  714. package/typedoc/modules/router_url_url-config.html +4 -7
  715. package/typedoc/modules/router_url_url-matcher.html +4 -7
  716. package/typedoc/modules/router_url_url-rule.html +4 -7
  717. package/typedoc/modules/router_url_url-rules.html +4 -7
  718. package/typedoc/modules/router_url_url-service.html +4 -7
  719. package/typedoc/modules/router_view-scroll.html +4 -7
  720. package/typedoc/modules/router_view_interface.html +4 -7
  721. package/typedoc/modules/router_view_view.html +4 -7
  722. package/typedoc/modules/services_anchor-scroll.html +4 -7
  723. package/typedoc/modules/services_browser.html +4 -7
  724. package/typedoc/modules/services_cookie-reader.html +4 -7
  725. package/typedoc/modules/services_http-backend_http-backend.html +4 -7
  726. package/typedoc/modules/services_http_http.html +4 -7
  727. package/typedoc/modules/services_log.html +4 -7
  728. package/typedoc/modules/services_template-request.html +4 -7
  729. package/typedoc/modules/shared_common.html +4 -7
  730. package/typedoc/modules/shared_constants.html +4 -7
  731. package/typedoc/modules/shared_dom.html +4 -7
  732. package/typedoc/modules/shared_hof.html +4 -7
  733. package/typedoc/modules/shared_interface.html +4 -7
  734. package/typedoc/modules/shared_noderef.html +4 -7
  735. package/typedoc/modules/shared_predicates.html +4 -7
  736. package/typedoc/modules/shared_strings.html +4 -7
  737. package/typedoc/modules/shared_test-utils.html +4 -7
  738. package/typedoc/modules/shared_utils.html +4 -34
  739. package/typedoc/modules.html +31 -8
  740. package/typedoc/types/animations_animate.AnimationMethod.html +4 -18
  741. package/typedoc/types/animations_interface.RafScheduler.html +4 -40
  742. package/typedoc/types/core_cache_cache-factory.TemplateCache.html +4 -18
  743. package/typedoc/types/core_compile_compile.ApplyDirectivesToNodeFn.html +4 -18
  744. package/typedoc/types/core_compile_compile.BoundTranscludeFn.html +4 -18
  745. package/typedoc/types/core_compile_compile.CompileFn.html +4 -18
  746. package/typedoc/types/core_compile_compile.CompileNodesFn.html +4 -18
  747. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +4 -18
  748. package/typedoc/types/core_compile_compile.NodeLinkFn.html +4 -18
  749. package/typedoc/types/core_compile_compile.PublicLinkFn.html +4 -18
  750. package/typedoc/types/core_compile_compile.TranscludeFn.html +4 -18
  751. package/typedoc/types/core_error-handler.ErrorHandler.html +4 -18
  752. package/typedoc/types/core_exception-handler.LogService.html +4 -18
  753. package/typedoc/types/core_parse_ast_ast-node.ASTNode.html +4 -293
  754. package/typedoc/types/core_parse_interface.CompiledExpression.html +4 -18
  755. package/typedoc/types/core_parse_interface.CompiledExpressionFunction.html +7 -20
  756. package/typedoc/types/core_parse_interface.ParseService.html +7 -20
  757. package/typedoc/types/core_parse_interpreter.DecoratedASTNode.html +4 -18
  758. package/typedoc/types/core_scope_scope.ListenerFunction.html +4 -18
  759. package/typedoc/types/{interface.AnnotatedFactory.html → core_task-tracker-factory.AnnotatedFactory.html} +9 -19
  760. package/typedoc/types/core_url-utils_url-utils.HttpProtocol.html +4 -18
  761. package/typedoc/types/interface.CloneAttachFunction.html +4 -18
  762. package/typedoc/types/interface.ControllerConstructor.html +5 -19
  763. package/typedoc/types/interface.DirectiveCompileFn.html +4 -18
  764. package/typedoc/types/interface.DirectiveController.html +4 -18
  765. package/typedoc/types/interface.DirectiveFactory.html +4 -18
  766. package/typedoc/types/interface.DirectiveLinkFn.html +4 -18
  767. package/typedoc/types/interface.Expression.html +4 -18
  768. package/typedoc/types/interface.FilterFactory.html +4 -18
  769. package/typedoc/types/interface.FilterFn.html +4 -18
  770. package/typedoc/types/interface.Injectable.html +5 -19
  771. package/typedoc/types/interface.InjectableFactory.html +5 -19
  772. package/typedoc/types/interface.OnChangesObject.html +4 -18
  773. package/typedoc/types/interface.TController.html +4 -18
  774. package/typedoc/types/router_resolve_interface.PolicyAsync.html +4 -18
  775. package/typedoc/types/router_resolve_interface.PolicyWhen.html +4 -18
  776. package/typedoc/types/router_state_interface.RedirectToResult.html +4 -18
  777. package/typedoc/types/router_state_interface.ResolveTypes.html +4 -18
  778. package/typedoc/types/router_state_interface.StateOrName.html +4 -18
  779. package/typedoc/types/router_state_interface._StateDeclaration.html +4 -18
  780. package/typedoc/types/router_transition_interface.HookFn.html +4 -18
  781. package/typedoc/types/router_transition_interface.HookMatchCriterion.html +4 -18
  782. package/typedoc/types/router_transition_interface.HookResult.html +4 -18
  783. package/typedoc/types/router_transition_interface.IHookRegistration.html +4 -18
  784. package/typedoc/types/router_transition_interface.IStateMatch.html +4 -18
  785. package/typedoc/types/services_anchor-scroll.AnchorScrollFunction.html +4 -18
  786. package/typedoc/types/services_anchor-scroll.AnchorScrollService.html +4 -18
  787. package/typedoc/types/services_browser.UrlChangeListener.html +4 -18
  788. package/typedoc/types/services_log.LogCall.html +4 -18
  789. package/typedoc/types/shared_interface.Mapper.html +4 -18
  790. package/typedoc/types/shared_interface.Predicate.html +4 -18
  791. package/typedoc/types/shared_interface.PredicateBinary.html +4 -18
  792. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +4 -18
  793. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +4 -18
  794. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +4 -18
  795. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +4 -18
  796. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +4 -18
  797. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +4 -18
  798. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +4 -18
  799. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +4 -18
  800. package/typedoc/variables/animations_shared.CSS_PREFIX.html +4 -18
  801. package/typedoc/variables/animations_shared.DELAY_KEY.html +4 -18
  802. package/typedoc/variables/animations_shared.DURATION_KEY.html +4 -18
  803. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +4 -18
  804. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +4 -18
  805. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +4 -18
  806. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +4 -18
  807. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +4 -18
  808. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +4 -18
  809. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +4 -18
  810. package/typedoc/variables/animations_shared.TIMING_KEY.html +4 -18
  811. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +4 -18
  812. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +4 -18
  813. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +4 -18
  814. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +4 -18
  815. package/typedoc/variables/animations_shared.ngMinErr.html +4 -18
  816. package/typedoc/variables/core_cache_cache.Cache.html +4 -18
  817. package/typedoc/variables/core_cache_cache.EXPANDO.html +4 -18
  818. package/typedoc/variables/core_cache_cache.ISOLATE_SCOPE_KEY.html +4 -18
  819. package/typedoc/variables/core_cache_cache.SCOPE_KEY.html +4 -18
  820. package/typedoc/variables/core_compile_compile.DirectiveSuffix.html +4 -18
  821. package/typedoc/variables/core_di_ng-module.ANIMATION_LITERAL.html +4 -18
  822. package/typedoc/variables/core_di_ng-module.COMPILE_LITERAL.html +4 -18
  823. package/typedoc/variables/core_di_ng-module.CONTROLLER_LITERAL.html +4 -18
  824. package/typedoc/variables/core_di_ng-module.FILTER_LITERAL.html +4 -18
  825. package/typedoc/variables/core_di_ng-module.INJECTOR_LITERAL.html +4 -18
  826. package/typedoc/variables/core_parse_interpreter.PURITY_ABSOLUTE.html +4 -18
  827. package/typedoc/variables/core_parse_interpreter.PURITY_RELATIVE.html +4 -18
  828. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +4 -18
  829. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +4 -18
  830. package/typedoc/variables/core_scope_scope.NONSCOPE.html +4 -18
  831. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +4 -18
  832. package/typedoc/variables/core_scope_scope._postUpdateQueue.html +4 -18
  833. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +4 -18
  834. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +4 -18
  835. package/typedoc/variables/directive_class_class.ngClassDirective.html +4 -18
  836. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +4 -18
  837. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +4 -18
  838. package/typedoc/variables/directive_events_events.ngEventDirectives.html +4 -18
  839. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +4 -18
  840. package/typedoc/variables/directive_form_form.formDirective.html +4 -18
  841. package/typedoc/variables/directive_form_form.ngFormDirective.html +4 -18
  842. package/typedoc/variables/directive_form_form.nullFormCtrl.html +4 -18
  843. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +4 -18
  844. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +4 -18
  845. package/typedoc/variables/directive_input_input.URL_REGEXP.html +4 -18
  846. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +4 -18
  847. package/typedoc/variables/directive_messages_messages.ngMessageDefaultDirective.html +4 -18
  848. package/typedoc/variables/directive_messages_messages.ngMessageDirective.html +4 -18
  849. package/typedoc/variables/directive_messages_messages.ngMessageExpDirective.html +4 -18
  850. package/typedoc/variables/directive_model-options_model-options.defaultModelOptions.html +4 -18
  851. package/typedoc/variables/directive_model_model.ngModelMinErr.html +4 -18
  852. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +20 -22
  853. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +4 -18
  854. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +4 -18
  855. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +4 -18
  856. package/typedoc/variables/directive_validators_validators.patternDirective.html +4 -18
  857. package/typedoc/variables/directive_validators_validators.requiredDirective.html +4 -18
  858. package/typedoc/variables/{core_di_injector.path.html → injection-tokens._injectTokens.html} +28 -24
  859. package/typedoc/variables/public.VERSION.html +4 -18
  860. package/typedoc/variables/router_common_trace.trace.html +4 -18
  861. package/typedoc/variables/router_directives_view-directive.ngView.html +4 -23
  862. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +4 -18
  863. package/typedoc/variables/router_params_param.DefType.html +4 -18
  864. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +4 -18
  865. package/typedoc/variables/router_resolve_resolve-context.resolvePolicies.html +4 -18
  866. package/typedoc/variables/router_transition_transition-service.defaultTransOpts.html +4 -18
  867. package/typedoc/variables/services_log.LogService.html +4 -25
  868. package/typedoc/variables/shared_common.assertMap.html +4 -18
  869. package/typedoc/variables/shared_common.assertPredicate.html +4 -18
  870. package/typedoc/variables/shared_common.pushTo.html +4 -18
  871. package/typedoc/variables/shared_common.removeFrom.html +4 -18
  872. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +4 -18
  873. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +4 -18
  874. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +4 -18
  875. package/typedoc/variables/shared_constants.INVALID_CLASS.html +4 -18
  876. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +4 -18
  877. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +4 -18
  878. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +4 -18
  879. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +4 -18
  880. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +4 -18
  881. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +4 -18
  882. package/typedoc/variables/shared_constants.VALID_CLASS.html +4 -18
  883. package/typedoc/variables/shared_dom.BOOLEAN_ATTR.html +4 -18
  884. package/typedoc/variables/shared_hof.propEq.html +4 -18
  885. package/typedoc/variables/shared_strings.hostRegex.html +4 -18
  886. package/typedoc/variables/shared_strings.splitEqual.html +4 -18
  887. package/typedoc/variables/shared_strings.splitHash.html +4 -18
  888. package/typedoc/variables/shared_strings.splitQuery.html +4 -18
  889. package/typedoc/variables/shared_utils.isProxySymbol.html +4 -18
  890. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +4 -18
  891. package/typedoc.json +3 -1
  892. package/SECURITY.md +0 -16
  893. package/TODO.md +0 -13
  894. package/docs/content/en/about/featured-background.jpg +0 -0
  895. package/docs/content/en/about/index.md +0 -37
  896. package/docs/content/en/blog/_index.md +0 -8
  897. package/docs/content/en/blog/news/_index.md +0 -4
  898. package/docs/content/en/blog/news/first-post/featured-sunset-get.png +0 -0
  899. package/docs/content/en/blog/news/first-post/index.md +0 -46
  900. package/docs/content/en/blog/news/second-post.md +0 -238
  901. package/docs/content/en/blog/releases/_index.md +0 -4
  902. package/docs/content/en/blog/releases/in-depth-monoliths-detailed-spec.md +0 -238
  903. package/docs/content/en/community/_index.md +0 -6
  904. package/docs/content/en/docs/concepts/_index.md +0 -14
  905. package/docs/content/en/docs/contribution-guidelines/_index.md +0 -77
  906. package/docs/content/en/docs/examples/_index.md +0 -13
  907. package/docs/content/en/docs/getting-started/_index.md +0 -35
  908. package/docs/content/en/docs/getting-started/example-page.md +0 -231
  909. package/docs/content/en/docs/overview/_index.md +0 -34
  910. package/docs/content/en/docs/reference/_index.md +0 -12
  911. package/docs/content/en/docs/reference/parameter-reference.md +0 -207
  912. package/docs/content/en/docs/tasks/Ponycopters/_index.md +0 -12
  913. package/docs/content/en/docs/tasks/Ponycopters/configuring-ponycopters.md +0 -230
  914. package/docs/content/en/docs/tasks/Ponycopters/launching-ponycopters.md +0 -230
  915. package/docs/content/en/docs/tasks/_index.md +0 -21
  916. package/docs/content/en/docs/tasks/beds.md +0 -230
  917. package/docs/content/en/docs/tasks/porridge.md +0 -230
  918. package/docs/content/en/docs/tasks/task.md +0 -230
  919. package/docs/content/en/docs/tutorials/_index.md +0 -12
  920. package/docs/content/en/docs/tutorials/multi-bear.md +0 -230
  921. package/docs/content/en/docs/tutorials/tutorial2.md +0 -230
  922. package/docs/content/en/featured-background.jpg +0 -0
  923. package/docs/content/en/search.md +0 -4
  924. package/docs/layouts/_default/_markup/render-heading.html +0 -1
  925. package/public/public/legacy.html +0 -13203
  926. package/typedoc/functions/shared_utils.replaceInline.html +0 -331
  927. package/typedoc/variables/core_di_ng-module.PROVIDE_LITERAL.html +0 -263
@@ -1,4 +1,4 @@
1
- /* Version: 0.7.0-beta.1 - June 19, 2025 01:16:31 */
1
+ /* Version: 0.7.2 - June 28, 2025 21:48:50 */
2
2
  (function (global, factory) {
3
3
  typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :
4
4
  typeof define === 'function' && define.amd ? define(['exports'], factory) :
@@ -74,7 +74,7 @@
74
74
  }
75
75
 
76
76
  /**
77
- * @param {*} obj
77
+ * @param {*} obj Reference to check.
78
78
  * @return {boolean} Returns true if `obj` is an array or array-like object (NodeList, Arguments,
79
79
  * String ...)
80
80
  */
@@ -749,7 +749,7 @@
749
749
  key = tryDecodeURIComponent(key);
750
750
  if (isDefined(key)) {
751
751
  val = isDefined(val) ? tryDecodeURIComponent(val) : true;
752
- if (!hasOwn(obj, key)) {
752
+ if (!hasOwn(obj, /** @type {string} */ (key))) {
753
753
  obj[key] = val;
754
754
  } else if (Array.isArray(obj[key])) {
755
755
  obj[key].push(val);
@@ -789,12 +789,13 @@
789
789
  * Tries to decode the URI component without throwing an exception.
790
790
  *
791
791
  * @param {string} value potential URI component to check.
792
- * @returns {string}
792
+ * @returns {string|void}
793
793
  */
794
794
  function tryDecodeURIComponent(value) {
795
795
  try {
796
796
  return decodeURIComponent(value);
797
797
  } catch {
798
+ return;
798
799
  }
799
800
  }
800
801
 
@@ -1712,7 +1713,78 @@
1712
1713
  }
1713
1714
  }
1714
1715
 
1715
- const PROVIDE_LITERAL = "$provide";
1716
+ /**
1717
+ * A helper list of tokens matching the standard injectables that come predefined in the core `ng` module.
1718
+ * These string tokens are commonly injected into services, directives, or components via `$inject`.
1719
+ *
1720
+ * Example:
1721
+ * ```js
1722
+ *
1723
+ * myDirective.$inject = [
1724
+ * angular.$injectTokens.$animate,
1725
+ * angular.$injectTokens.$templateRequest,
1726
+ * ];
1727
+ * ```
1728
+ * @type Readonly<Record<string, string>>
1729
+ */
1730
+ const $injectTokens = Object.freeze({
1731
+ $$AnimateRunner: "$$AnimateRunner",
1732
+ $$animateAsyncRun: "$$animateAsyncRun",
1733
+ $$animateCache: "$$animateCache",
1734
+ $$animateCssDriver: "$$animateCssDriver",
1735
+ $$animateJs: "$$animateJs",
1736
+ $$animateJsDriver: "$$animateJsDriver",
1737
+ $$animateQueue: "$$animateQueue",
1738
+ $$animation: "$$animation",
1739
+ $$rAFScheduler: "$$rAFScheduler",
1740
+ $$taskTrackerFactory: "$$taskTrackerFactory",
1741
+ $anchorScroll: "$anchorScroll",
1742
+ $animate: "$animate",
1743
+ $animateCss: "$animateCss",
1744
+ $aria: "$aria",
1745
+ $browser: "$browser",
1746
+ $controller: "$controller",
1747
+ $eventBus: "$eventBus",
1748
+ $exceptionHandler: "$exceptionHandler",
1749
+ $filter: "$filter",
1750
+ $http: "$http",
1751
+ $httpBackend: "$httpBackend",
1752
+ $httpParamSerializer: "$httpParamSerializer",
1753
+ $interpolate: "$interpolate",
1754
+ $location: "$location",
1755
+ $log: "$log",
1756
+ $ngViewScroll: "$ngViewScroll",
1757
+ $parse: "$parse",
1758
+ $rootScope: "$rootScope",
1759
+ $routerGlobals: "$routerGlobals",
1760
+ $sce: "$sce",
1761
+ $sceDelegate: "$sceDelegate",
1762
+ $state: "$state",
1763
+ $stateRegistry: "$stateRegistry",
1764
+ $templateCache: "$templateCache",
1765
+ $templateFactory: "$templateFactory",
1766
+ $templateRequest: "$templateRequest",
1767
+ $transitions: "$transitions",
1768
+ $urlConfig: "$urlConfig",
1769
+ $urlService: "$urlService",
1770
+ $view: "$view",
1771
+ // provide literals
1772
+ $provide: "$provide",
1773
+ $injector: "$injector",
1774
+ $compileProvider: "$compileProvider",
1775
+ $animateProvider: "$animateProvider",
1776
+ $filterProvider: "$filterProvider",
1777
+ $controllerProvider: "$controllerProvider",
1778
+ });
1779
+
1780
+ /**
1781
+ * Utility for mapping to service-names to providers
1782
+ * @param {String[]} services
1783
+ */
1784
+ function provider(services) {
1785
+ return services.map((x) => x + "Provider");
1786
+ }
1787
+
1716
1788
  const INJECTOR_LITERAL = "$injector";
1717
1789
  const COMPILE_LITERAL = "$compileProvider";
1718
1790
  const ANIMATION_LITERAL = "$animateProvider";
@@ -1789,7 +1861,7 @@
1789
1861
  * @returns {NgModule}
1790
1862
  */
1791
1863
  value(name, object) {
1792
- this.invokeQueue.push([PROVIDE_LITERAL, "value", [name, object]]);
1864
+ this.invokeQueue.push([$injectTokens.$provide, "value", [name, object]]);
1793
1865
  return this;
1794
1866
  }
1795
1867
 
@@ -1799,7 +1871,11 @@
1799
1871
  * @returns {NgModule}
1800
1872
  */
1801
1873
  constant(name, object) {
1802
- this.invokeQueue.unshift([PROVIDE_LITERAL, "constant", [name, object]]);
1874
+ this.invokeQueue.unshift([
1875
+ $injectTokens.$provide,
1876
+ "constant",
1877
+ [name, object],
1878
+ ]);
1803
1879
  return this;
1804
1880
  }
1805
1881
 
@@ -1845,7 +1921,7 @@
1845
1921
  providerFunction.$$moduleName = name;
1846
1922
  }
1847
1923
  this.invokeQueue.push([
1848
- PROVIDE_LITERAL,
1924
+ $injectTokens.$provide,
1849
1925
  "factory",
1850
1926
  [name, providerFunction],
1851
1927
  ]);
@@ -1862,7 +1938,7 @@
1862
1938
  serviceFunction.$$moduleName = name;
1863
1939
  }
1864
1940
  this.invokeQueue.push([
1865
- PROVIDE_LITERAL,
1941
+ $injectTokens.$provide,
1866
1942
  "service",
1867
1943
  [name, serviceFunction],
1868
1944
  ]);
@@ -1878,7 +1954,11 @@
1878
1954
  if (providerType && isFunction(providerType)) {
1879
1955
  providerType.$$moduleName = name;
1880
1956
  }
1881
- this.invokeQueue.push([PROVIDE_LITERAL, "provider", [name, providerType]]);
1957
+ this.invokeQueue.push([
1958
+ $injectTokens.$provide,
1959
+ "provider",
1960
+ [name, providerType],
1961
+ ]);
1882
1962
  return this;
1883
1963
  }
1884
1964
 
@@ -1891,7 +1971,11 @@
1891
1971
  if (decorFn && isFunction(decorFn)) {
1892
1972
  decorFn.$$moduleName = name;
1893
1973
  }
1894
- this.configBlocks.push([PROVIDE_LITERAL, "decorator", [name, decorFn]]);
1974
+ this.configBlocks.push([
1975
+ $injectTokens.$provide,
1976
+ "decorator",
1977
+ [name, decorFn],
1978
+ ]);
1895
1979
  return this;
1896
1980
  }
1897
1981
 
@@ -1971,6 +2055,7 @@
1971
2055
  this.cache = {};
1972
2056
  /** @type {boolean} */
1973
2057
  this.strictDi = strictDi;
2058
+ /** @type {string[]} */
1974
2059
  this.path = [];
1975
2060
  /** @type {Object.<string, import("./ng-module.js").NgModule>} */
1976
2061
  this.modules = {};
@@ -2089,6 +2174,7 @@
2089
2174
  /**
2090
2175
  * @abstract
2091
2176
  * @param {string} _serviceName
2177
+ * @returns {any}
2092
2178
  */
2093
2179
  factory(_serviceName) {
2094
2180
  console.error(`Unhandled ${_serviceName}`);
@@ -2240,7 +2326,6 @@
2240
2326
  const FN_ARG = /^\s*(_?)(\S+?)\1\s*$/;
2241
2327
  const STRIP_COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm;
2242
2328
  const $injectorMinErr$1 = minErr(INJECTOR_LITERAL);
2243
-
2244
2329
  const providerSuffix = "Provider";
2245
2330
 
2246
2331
  /**
@@ -2608,7 +2693,7 @@
2608
2693
  this._node = element;
2609
2694
  }
2610
2695
 
2611
- // Nandle array of elements
2696
+ // Handle array of elements
2612
2697
  else if (element instanceof Array) {
2613
2698
  if (element.length == 1) {
2614
2699
  this.initial = element[0].cloneNode(true);
@@ -2651,8 +2736,6 @@
2651
2736
  } else {
2652
2737
  this._element = undefined;
2653
2738
  }
2654
- // this._nodes = undefined;
2655
- // this.isList = false;
2656
2739
  }
2657
2740
 
2658
2741
  /** @param {Array<Node>} nodes */
@@ -3387,7 +3470,7 @@
3387
3470
  "$exceptionHandler",
3388
3471
  /**
3389
3472
  *
3390
- * @param {import("../../core/di/internal-injector").InjectorService} $injector
3473
+ * @param {import("../../core/di/internal-injector.js").InjectorService} $injector
3391
3474
  * @param {*} $$sanitizeUri
3392
3475
  * @param {ErrorHandler} $exceptionHandler
3393
3476
  * @returns
@@ -3614,14 +3697,11 @@
3614
3697
  if (isResourceUrlAllowedByPolicy(maybeTrusted)) {
3615
3698
  return maybeTrusted;
3616
3699
  }
3617
- $exceptionHandler(
3618
- $sceMinErr(
3619
- "insecurl",
3620
- "Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",
3621
- maybeTrusted.toString(),
3622
- ),
3700
+ throw $sceMinErr(
3701
+ "insecurl",
3702
+ "Blocked loading resource from url not allowed by $sceDelegate policy. URL: {0}",
3703
+ maybeTrusted.toString(),
3623
3704
  );
3624
- return;
3625
3705
  } else if (type === SCE_CONTEXTS.HTML) {
3626
3706
  // htmlSanitizer throws its own error when no sanitizer is available.
3627
3707
  return htmlSanitizer();
@@ -3662,8 +3742,7 @@
3662
3742
  this.$get = [
3663
3743
  "$parse",
3664
3744
  "$sceDelegate",
3665
- "$exceptionHandler",
3666
- function ($parse, $sceDelegate, $exceptionHandler) {
3745
+ function ($parse, $sceDelegate) {
3667
3746
  const sce = shallowCopy(SCE_CONTEXTS);
3668
3747
 
3669
3748
  /**
@@ -3907,11 +3986,7 @@
3907
3986
  return parse(enumValue, expr);
3908
3987
  };
3909
3988
  sce[snakeToCamel(`get_trusted_${lName}`)] = function (value) {
3910
- try {
3911
- return getTrusted(enumValue, value);
3912
- } catch (e) {
3913
- $exceptionHandler(e);
3914
- }
3989
+ return getTrusted(enumValue, value);
3915
3990
  };
3916
3991
  sce[snakeToCamel(`trust_as_${lName}`)] = function (value) {
3917
3992
  return trustAs(enumValue, value);
@@ -3990,6 +4065,9 @@
3990
4065
  const SIMPLE_ATTR_NAME = /^\w/;
3991
4066
  const specialAttrHolder = document.createElement("div");
3992
4067
 
4068
+ /**
4069
+ * @implements {Record<string, any>}
4070
+ */
3993
4071
  class Attributes {
3994
4072
  static $nonscope = true;
3995
4073
 
@@ -3999,7 +4077,7 @@
3999
4077
  * @param {import("../exception-handler.js").ErrorHandler} $exceptionHandler
4000
4078
  * @param {*} $sce
4001
4079
  * @param {import("../../shared/noderef.js").NodeRef} [nodeRef]
4002
- * @param {*} [attributesToCopy]
4080
+ * @param {Object} [attributesToCopy]
4003
4081
  */
4004
4082
  constructor(
4005
4083
  $rootScope,
@@ -4446,7 +4524,7 @@
4446
4524
 
4447
4525
  /**
4448
4526
  * @param {import('../../interface.js').Provider} $provide
4449
- * @param $$sanitizeUriProvider
4527
+ * @param {import('../sanitize/sanitize-uri.js').SanitizeUriProvider} $$sanitizeUriProvider
4450
4528
  */
4451
4529
  constructor($provide, $$sanitizeUriProvider) {
4452
4530
  const hasDirectives = {};
@@ -4458,7 +4536,7 @@
4458
4536
  * @param {import("../scope/scope.js").Scope} scope
4459
4537
  * @param {string} directiveName
4460
4538
  * @param {boolean} isController
4461
- * @returns {Object} a configuartion object for attribute bindings
4539
+ * @returns {Object} a configuration object for attribute bindings
4462
4540
  */
4463
4541
  function parseIsolateBindings(scope, directiveName, isController) {
4464
4542
  const LOCAL_REGEXP = /^([@&]|[=<]())(\??)\s*([\w$]*)$/;
@@ -4754,13 +4832,13 @@
4754
4832
  * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.
4755
4833
  *
4756
4834
  * @param {RegExp=} regexp New regexp to trust urls with.
4757
- * @returns {RegExp|CompileProvider} Current RegExp if called without value or self for
4835
+ * @returns {RegExp|import('../sanitize/sanitize-uri.js').SanitizeUriProvider} Current RegExp if called without value or self for
4758
4836
  * chaining otherwise.
4759
4837
  */
4760
4838
  this.aHrefSanitizationTrustedUrlList = function (regexp) {
4761
4839
  if (isDefined(regexp)) {
4762
4840
  $$sanitizeUriProvider.aHrefSanitizationTrustedUrlList(regexp);
4763
- return this;
4841
+ return;
4764
4842
  }
4765
4843
  return $$sanitizeUriProvider.aHrefSanitizationTrustedUrlList();
4766
4844
  };
@@ -4777,13 +4855,13 @@
4777
4855
  * the absolute url is prefixed with `'unsafe:'` string and only then is it written into the DOM.
4778
4856
  *
4779
4857
  * @param {RegExp=} regexp New regexp to trust urls with.
4780
- * @returns {RegExp|CompileProvider} Current RegExp if called without value or self for
4858
+ * @returns {RegExp|import('../sanitize/sanitize-uri.js').SanitizeUriProvider} Current RegExp if called without value or self for
4781
4859
  * chaining otherwise.
4782
4860
  */
4783
4861
  this.imgSrcSanitizationTrustedUrlList = function (regexp) {
4784
4862
  if (isDefined(regexp)) {
4785
4863
  $$sanitizeUriProvider.imgSrcSanitizationTrustedUrlList(regexp);
4786
- return this;
4864
+ return;
4787
4865
  }
4788
4866
  return $$sanitizeUriProvider.imgSrcSanitizationTrustedUrlList();
4789
4867
  };
@@ -5597,6 +5675,7 @@
5597
5675
  let controllerScope;
5598
5676
  let elementControllers;
5599
5677
  let transcludeFn;
5678
+ let scopeToChild = scope;
5600
5679
 
5601
5680
  /** @type {NodeRef} */
5602
5681
  let $element;
@@ -5768,7 +5847,7 @@
5768
5847
  // RECURSION
5769
5848
  // We only pass the isolate scope, if the isolate directive has a template,
5770
5849
  // otherwise the child elements do not belong to the isolate directive.
5771
- var scopeToChild = scope;
5850
+
5772
5851
  if (
5773
5852
  newIsolateScopeDirective &&
5774
5853
  (newIsolateScopeDirective.template ||
@@ -6773,6 +6852,8 @@
6773
6852
  .catch((error) => {
6774
6853
  if (isError(error)) {
6775
6854
  $exceptionHandler(error);
6855
+ } else {
6856
+ $exceptionHandler(new Error(error));
6776
6857
  }
6777
6858
  });
6778
6859
 
@@ -6880,11 +6961,12 @@
6880
6961
  type = (type || "html").toLowerCase();
6881
6962
  switch (type) {
6882
6963
  case "svg":
6883
- case "math":
6884
- /** @type {HTMLDivElement} */
6885
- var wrapper = document.createElement("div");
6964
+ case "math": {
6965
+ const wrapper =
6966
+ /** @type {HTMLDivElement} */ document.createElement("div");
6886
6967
  wrapper.innerHTML = `<${type}>${template}</${type}>`;
6887
6968
  return wrapper.childNodes[0].childNodes;
6969
+ }
6888
6970
  default:
6889
6971
  return template;
6890
6972
  }
@@ -6960,21 +7042,22 @@
6960
7042
  // If you want to programmatically set explicitly trusted unsafe URLs, you should use
6961
7043
  // `$sce.trustAsHtml` on the whole `img` tag and inject it into the DOM using the
6962
7044
  // `ng-bind-html` directive.
6963
- var result = "";
7045
+ let result = "";
6964
7046
 
6965
7047
  // first check if there are spaces because it's not the same pattern
6966
- var trimmedSrcset = trim(value);
7048
+ const trimmedSrcset = trim(value);
6967
7049
  // ( 999x ,| 999w ,| ,|, )
6968
- var srcPattern = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;
6969
- var pattern = /\s/.test(trimmedSrcset) ? srcPattern : /(,)/;
7050
+ const srcPattern = /(\s+\d+x\s*,|\s+\d+w\s*,|\s+,|,\s+)/;
7051
+ const pattern = /\s/.test(trimmedSrcset) ? srcPattern : /(,)/;
6970
7052
 
6971
7053
  // split srcset into tuple of uri and descriptor except for the last item
6972
- var rawUris = trimmedSrcset.split(pattern);
7054
+ const rawUris = trimmedSrcset.split(pattern);
6973
7055
 
6974
7056
  // for each tuples
6975
- var nbrUrisWith2parts = Math.floor(rawUris.length / 2);
6976
- for (var i = 0; i < nbrUrisWith2parts; i++) {
6977
- var innerIdx = i * 2;
7057
+ const nbrUrisWith2parts = Math.floor(rawUris.length / 2);
7058
+ let i;
7059
+ for (i = 0; i < nbrUrisWith2parts; i++) {
7060
+ const innerIdx = i * 2;
6978
7061
  // sanitize the uri
6979
7062
  result += $sce.getTrustedMediaUrl(trim(rawUris[innerIdx]));
6980
7063
  // add the descriptor
@@ -6982,7 +7065,7 @@
6982
7065
  }
6983
7066
 
6984
7067
  // split the last item into uri and descriptor
6985
- var lastTuple = trim(rawUris[i * 2]).split(/\s/);
7068
+ const lastTuple = trim(rawUris[i * 2]).split(/\s/);
6986
7069
 
6987
7070
  // sanitize the last uri
6988
7071
  result += $sce.getTrustedMediaUrl(trim(lastTuple[0]));
@@ -7286,7 +7369,7 @@
7286
7369
  removeWatchCollection.push(removeWatch);
7287
7370
  break;
7288
7371
 
7289
- case "=":
7372
+ case "=": {
7290
7373
  if (!hasOwn(attrs, attrName)) {
7291
7374
  if (optional) {
7292
7375
  break;
@@ -7299,7 +7382,6 @@
7299
7382
  }
7300
7383
 
7301
7384
  parentGet = $parse(attrs[attrName]);
7302
- var complexExpression = !!parentGet.inputs;
7303
7385
  if (parentGet.literal) {
7304
7386
  compare = equals$1;
7305
7387
  } else {
@@ -7324,7 +7406,7 @@
7324
7406
  lastValue = destination.$target[scopeName] = parentGet(
7325
7407
  scope.$target,
7326
7408
  );
7327
- var parentValueWatch = function parentValueWatch(
7409
+ const parentValueWatch = function parentValueWatch(
7328
7410
  parentValue,
7329
7411
  ) {
7330
7412
  if (!compare(parentValue, destination[scopeName])) {
@@ -7356,7 +7438,7 @@
7356
7438
  scope.$watch(
7357
7439
  expr,
7358
7440
  (val) => {
7359
- var res = $parse(attrs[attrName], parentValueWatch);
7441
+ const res = $parse(attrs[attrName], parentValueWatch);
7360
7442
  if (val) {
7361
7443
  if (parentGet.literal) {
7362
7444
  scope.$target[attrName] = val;
@@ -7382,7 +7464,7 @@
7382
7464
  return;
7383
7465
  }
7384
7466
  if (
7385
- (complexExpression && !parentGet.literal) ||
7467
+ (!!parentGet.inputs && !parentGet.literal) ||
7386
7468
  (isUndefined(attrs[attrName]) && isDefined(val))
7387
7469
  ) {
7388
7470
  destination.$target[attrName] = lastValue;
@@ -7414,6 +7496,7 @@
7414
7496
  }
7415
7497
  removeWatchCollection.push(removeWatch);
7416
7498
  break;
7499
+ }
7417
7500
 
7418
7501
  case "<":
7419
7502
  if (!hasOwn(attrs, attrName)) {
@@ -10363,13 +10446,19 @@
10363
10446
  };
10364
10447
 
10365
10448
  element.addEventListener("change", listener);
10366
-
10449
+ // NgModelController call
10367
10450
  ctrl.$render = function () {
10368
10451
  let { value } = attr;
10369
10452
  if (doTrim) {
10370
10453
  value = trim(value);
10371
10454
  }
10372
- element.checked = value === ctrl.$viewValue;
10455
+ const deproxy = isProxy(ctrl.$viewValue)
10456
+ ? ctrl.$viewValue.$target
10457
+ : ctrl.$viewValue;
10458
+ // the proxy may reach down two levels
10459
+ element.checked =
10460
+ (isProxy(value) ? value.$target : value) ===
10461
+ (isProxy(deproxy) ? deproxy.$target : deproxy);
10373
10462
  };
10374
10463
 
10375
10464
  attr.$observe("value", ctrl.$render);
@@ -11164,7 +11253,6 @@
11164
11253
  */
11165
11254
  function ngBindDirective() {
11166
11255
  return {
11167
- restrict: "EA",
11168
11256
  /**
11169
11257
  * @param {import('../../core/scope/scope.js').Scope} scope
11170
11258
  * @param {Element} element
@@ -11183,7 +11271,6 @@
11183
11271
  */
11184
11272
  function ngBindTemplateDirective() {
11185
11273
  return {
11186
- restrict: "EA",
11187
11274
  /**
11188
11275
  * @param {import('../../core/scope/scope.js').Scope} _scope
11189
11276
  * @param {Element} element
@@ -11197,7 +11284,7 @@
11197
11284
  };
11198
11285
  }
11199
11286
 
11200
- ngBindHtmlDirective.$inject = ["$parse"];
11287
+ ngBindHtmlDirective.$inject = [$injectTokens.$parse];
11201
11288
  /**
11202
11289
  * @returns {import('../../interface.ts').Directive}
11203
11290
  */
@@ -11232,7 +11319,6 @@
11232
11319
 
11233
11320
  return function () {
11234
11321
  return {
11235
- restrict: "EA",
11236
11322
  /**
11237
11323
  * @param {import("../../core/scope/scope.js").Scope} scope
11238
11324
  * @param {Element} element
@@ -11396,7 +11482,6 @@
11396
11482
  */
11397
11483
  function ngCloakDirective() {
11398
11484
  return {
11399
- restrict: "EA",
11400
11485
  compile(element, attr) {
11401
11486
  attr.$set("ngCloak", undefined);
11402
11487
  element.classList.remove("ng-cloak");
@@ -11552,26 +11637,36 @@
11552
11637
  };
11553
11638
  }
11554
11639
 
11555
- ngIncludeDirective.$inject = ["$templateRequest", "$anchorScroll", "$animate"];
11640
+ ngIncludeDirective.$inject = [
11641
+ $injectTokens.$templateRequest,
11642
+ $injectTokens.$anchorScroll,
11643
+ $injectTokens.$animate,
11644
+ $injectTokens.$exceptionHandler,
11645
+ ];
11556
11646
 
11557
11647
  /**
11558
11648
  *
11559
11649
  * @param {*} $templateRequest
11560
11650
  * @param {import("../../services/anchor-scroll.js").AnchorScrollFunction} $anchorScroll
11561
11651
  * @param {*} $animate
11562
- * @returns
11652
+ * @param {import('../../core/error-handler.js').ErrorHandler} $exceptionHandler
11653
+ * @returns {import('../../interface.js').Directive}
11563
11654
  */
11564
- function ngIncludeDirective($templateRequest, $anchorScroll, $animate) {
11655
+ function ngIncludeDirective(
11656
+ $templateRequest,
11657
+ $anchorScroll,
11658
+ $animate,
11659
+ $exceptionHandler,
11660
+ ) {
11565
11661
  return {
11566
- restrict: "EA",
11567
11662
  priority: 400,
11568
11663
  terminal: true,
11569
11664
  transclude: "element",
11570
11665
  controller: () => {},
11571
11666
  compile(_element, attr) {
11572
- const srcExp = attr.ngInclude || attr.src;
11573
- const onloadExp = attr.onload || "";
11574
- const autoScrollExp = attr.autoscroll;
11667
+ const srcExp = attr["ngInclude"] || attr["src"];
11668
+ const onloadExp = attr["onload"] || "";
11669
+ const autoScrollExp = attr["autoscroll"];
11575
11670
 
11576
11671
  return (scope, $element, _$attr, ctrl, $transclude) => {
11577
11672
  function maybeScroll() {
@@ -11624,7 +11719,7 @@
11624
11719
  if (scope.$$destroyed) return;
11625
11720
  if (thisChangeId !== changeCounter) return;
11626
11721
  const newScope = scope.$new();
11627
- ctrl.template = response;
11722
+ ctrl["template"] = response;
11628
11723
 
11629
11724
  // Note: This will also link all children of ng-include that were contained in the original
11630
11725
  // html. If that content contains controllers, ... they could pollute/change the scope.
@@ -11647,19 +11742,20 @@
11647
11742
  currentScope.$emit("$includeContentLoaded", src);
11648
11743
  scope.$eval(onloadExp);
11649
11744
  },
11650
- () => {
11745
+ (err) => {
11651
11746
  if (scope.$$destroyed) return;
11652
11747
 
11653
11748
  if (thisChangeId === changeCounter) {
11654
11749
  cleanupLastIncludeContent();
11655
11750
  scope.$emit("$includeContentError", src);
11656
11751
  }
11752
+ $exceptionHandler(new Error(err));
11657
11753
  },
11658
11754
  );
11659
11755
  scope.$emit("$includeContentRequested", src);
11660
11756
  } else {
11661
11757
  cleanupLastIncludeContent();
11662
- ctrl.template = null;
11758
+ ctrl["template"] = null;
11663
11759
  }
11664
11760
  });
11665
11761
  };
@@ -11680,7 +11776,6 @@
11680
11776
  */
11681
11777
  function ngIncludeFillContentDirective($compile) {
11682
11778
  return {
11683
- restrict: "EA",
11684
11779
  priority: -400,
11685
11780
  require: "ngInclude",
11686
11781
  link(scope, $element, _$attr, ctrl) {
@@ -11716,7 +11811,6 @@
11716
11811
  */
11717
11812
  function ngNonBindableDirective() {
11718
11813
  return {
11719
- restrict: "EA",
11720
11814
  terminal: true,
11721
11815
  priority: 1000,
11722
11816
  };
@@ -11826,7 +11920,7 @@
11826
11920
  const VAR_OR_TUPLE_REGEX =
11827
11921
  /^(?:(\s*[$\w]+)|\(\s*([$\w]+)\s*,\s*([$\w]+)\s*\))$/;
11828
11922
 
11829
- ngRepeatDirective.$inject = ["$animate"];
11923
+ ngRepeatDirective.$inject = [$injectTokens.$animate];
11830
11924
 
11831
11925
  /**
11832
11926
  * TODO // Add type for animate service
@@ -11938,15 +12032,15 @@
11938
12032
  let lastBlockMap = Object.create(null);
11939
12033
  // watch props
11940
12034
  $scope.$watch(rhs, (collection) => {
11941
- var index,
12035
+ let index,
11942
12036
  length,
11943
12037
  previousNode = $element, // node that cloned nodes should be inserted after
11944
12038
  // initialized to the comment node anchor
11945
- nextNode,
11946
- // Same as lastBlockMap but it has the current state. It will become the
12039
+ nextNode;
12040
+ const // Same as lastBlockMap but it has the current state. It will become the
11947
12041
  // lastBlockMap on the next iteration.
11948
- nextBlockMap = Object.create(null),
11949
- collectionLength,
12042
+ nextBlockMap = Object.create(null);
12043
+ let collectionLength,
11950
12044
  key,
11951
12045
  value, // key/value of iteration
11952
12046
  trackById,
@@ -12012,7 +12106,7 @@
12012
12106
  }
12013
12107
 
12014
12108
  // remove leftover items
12015
- for (var blockKey in lastBlockMap) {
12109
+ for (let blockKey in lastBlockMap) {
12016
12110
  block = lastBlockMap[blockKey];
12017
12111
  elementsToRemove = block.clone;
12018
12112
  if (hasAnimate) {
@@ -12230,7 +12324,7 @@
12230
12324
  transclude: "element",
12231
12325
  terminal: true,
12232
12326
  priority: 1200,
12233
- restrict: "EA",
12327
+
12234
12328
  require: "^ngSwitch",
12235
12329
  link(scope, element, attrs, ctrl, $transclude) {
12236
12330
  const cases = attrs["ngSwitchWhen"]
@@ -12257,7 +12351,6 @@
12257
12351
  */
12258
12352
  function ngSwitchDefaultDirective() {
12259
12353
  return {
12260
- restrict: "EA",
12261
12354
  transclude: "element",
12262
12355
  terminal: true,
12263
12356
  priority: 1200,
@@ -12271,6 +12364,12 @@
12271
12364
 
12272
12365
  const ngOptionsMinErr = minErr("ngOptions");
12273
12366
 
12367
+ /** @type {HTMLOptionElement} */
12368
+ const optionTemplate = document.createElement("option");
12369
+
12370
+ /** @type {HTMLOptGroupElement} */
12371
+ const optGroupTemplate = document.createElement("optgroup");
12372
+
12274
12373
  const NG_OPTIONS_REGEXP =
12275
12374
  /^\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
12375
  // 1: value expression (valueFn)
@@ -12293,6 +12392,12 @@
12293
12392
  * @returns
12294
12393
  */
12295
12394
  function ($compile, $parse) {
12395
+ /**
12396
+ * @param {import('../../interface.ts').Expression} optionsExp
12397
+ * @param {HTMLSelectElement} selectElement
12398
+ * @param {import('../../core/scope/scope.js').Scope} scope
12399
+ * @returns
12400
+ */
12296
12401
  function parseOptionsExpression(optionsExp, selectElement, scope) {
12297
12402
  const match = optionsExp.match(NG_OPTIONS_REGEXP);
12298
12403
  if (!match) {
@@ -12419,7 +12524,9 @@
12419
12524
  }),
12420
12525
 
12421
12526
  getOptions() {
12527
+ /** @type {Option[]} */
12422
12528
  const optionItems = [];
12529
+ /** @type {Object.<string, Option>} */
12423
12530
  const selectValueMap = {};
12424
12531
 
12425
12532
  // The option values were already computed in the `getWatchables` fn,
@@ -12470,23 +12577,17 @@
12470
12577
  };
12471
12578
  }
12472
12579
 
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
12580
  /**
12480
12581
  *
12481
12582
  * @param {import("../../core/scope/scope.js").Scope} scope
12482
12583
  * @param {HTMLSelectElement} selectElement
12483
- * @param {*} attr
12584
+ * @param {import("../../core/compile/attributes.js").Attributes} attr
12484
12585
  * @param {*} ctrls
12485
12586
  */
12486
12587
  function ngOptionsPostLink(scope, selectElement, attr, ctrls) {
12487
12588
  const selectCtrl = ctrls[0];
12488
12589
  const ngModelCtrl = ctrls[1];
12489
- const { multiple } = attr;
12590
+ const multiple = attr["multiple"];
12490
12591
 
12491
12592
  // The emptyOption allows the application developer to provide their own custom "empty"
12492
12593
  // option when the viewValue does not match any of the option values.
@@ -12513,7 +12614,7 @@
12513
12614
 
12514
12615
  let options;
12515
12616
  const ngOptions = parseOptionsExpression(
12516
- attr.ngOptions,
12617
+ attr["ngOptions"],
12517
12618
  selectElement,
12518
12619
  scope,
12519
12620
  );
@@ -12572,14 +12673,14 @@
12572
12673
  // If we are using `track by` then we must watch the tracked value on the model
12573
12674
  // since ngModel only watches for object identity change
12574
12675
  // 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
- // }
12676
+ if (ngOptions.trackBy) {
12677
+ scope.$watch(
12678
+ ngOptions.getTrackByValue(ngModelCtrl.$viewValue),
12679
+ () => {
12680
+ ngModelCtrl.$render();
12681
+ },
12682
+ );
12683
+ }
12583
12684
  } else {
12584
12685
  selectCtrl.writeValue = function writeNgOptionsMultiple(values) {
12585
12686
  // The options might not be defined yet when ngModel tries to render
@@ -12632,11 +12733,10 @@
12632
12733
  // compile the element since there might be bindings in it
12633
12734
  const linkFn = $compile(selectCtrl.emptyOption);
12634
12735
  assertArg$1(linkFn, "LinkFn required");
12635
- linkFn(scope);
12636
-
12637
12736
  selectElement.prepend(selectCtrl.emptyOption);
12737
+ linkFn(scope);
12638
12738
 
12639
- if (selectCtrl.emptyOption[0].nodeType === Node.COMMENT_NODE) {
12739
+ if (selectCtrl.emptyOption.nodeType === Node.COMMENT_NODE) {
12640
12740
  // This means the empty option has currently no actual DOM node, probably because
12641
12741
  // it has been modified by a transclusion directive.
12642
12742
  selectCtrl.hasEmptyOption = false;
@@ -12678,7 +12778,12 @@
12678
12778
  // ------------------------------------------------------------------ //
12679
12779
 
12680
12780
  function addOptionElement(option, parent) {
12681
- const optionElement = optionTemplate.cloneNode(false);
12781
+ /**
12782
+ * @type {HTMLOptionElement}
12783
+ */
12784
+ const optionElement = /** @type {HTMLOptionElement} */ (
12785
+ optionTemplate.cloneNode(false)
12786
+ );
12682
12787
  parent.appendChild(optionElement);
12683
12788
  updateOptionElement(option, optionElement);
12684
12789
  }
@@ -12823,7 +12928,6 @@
12823
12928
  */
12824
12929
  function ($compile) {
12825
12930
  return {
12826
- restrict: "EA",
12827
12931
  compile: function ngTranscludeCompile(tElement) {
12828
12932
  // Remove and cache any original content to act as a fallback
12829
12933
  const fallbackLinkFn = $compile(tElement.childNodes);
@@ -12984,7 +13088,7 @@
12984
13088
  ["src", "srcset", "href"].forEach((attrName) => {
12985
13089
  const normalized = directiveNormalize(`ng-${attrName}`);
12986
13090
  ngAttributeAliasDirectives[normalized] = [
12987
- "$sce",
13091
+ $injectTokens.$sce,
12988
13092
  function ($sce) {
12989
13093
  return {
12990
13094
  priority: 99, // it needs to run after the attributes are interpolated
@@ -13135,8 +13239,8 @@
13135
13239
  restrict: "A",
13136
13240
  require: "?ngModel",
13137
13241
  compile: (_Elm, tAttr) => {
13138
- var patternExp;
13139
- var parseFn;
13242
+ let patternExp;
13243
+ let parseFn;
13140
13244
 
13141
13245
  if (tAttr["ngPattern"]) {
13142
13246
  patternExp = tAttr["ngPattern"];
@@ -13159,7 +13263,7 @@
13159
13263
  return function (scope, elm, attr, ctrl) {
13160
13264
  if (!ctrl) return;
13161
13265
 
13162
- var attrVal = attr["pattern"];
13266
+ let attrVal = attr["pattern"];
13163
13267
 
13164
13268
  if (attr["ngPattern"]) {
13165
13269
  attrVal = parseFn(scope);
@@ -13167,9 +13271,9 @@
13167
13271
  patternExp = attr["pattern"];
13168
13272
  }
13169
13273
 
13170
- var regexp = parsePatternAttr(attrVal, patternExp, elm);
13274
+ let regexp = parsePatternAttr(attrVal, patternExp, elm);
13171
13275
  attr.$observe("pattern", function (newVal) {
13172
- var oldRegexp = regexp;
13276
+ const oldRegexp = regexp;
13173
13277
 
13174
13278
  regexp = parsePatternAttr(newVal, patternExp, elm);
13175
13279
 
@@ -13374,10 +13478,6 @@
13374
13478
  this.autoScrollingEnabled = true;
13375
13479
  }
13376
13480
 
13377
- disableAutoScrolling() {
13378
- this.autoScrollingEnabled = false;
13379
- }
13380
-
13381
13481
  $get = [
13382
13482
  "$location",
13383
13483
  "$rootScope",
@@ -13764,7 +13864,7 @@
13764
13864
  };
13765
13865
 
13766
13866
  Object.entries(flags).forEach(([klass, val]) => {
13767
- var prop, allow;
13867
+ let prop, allow;
13768
13868
  if (val === ADD_CLASS) {
13769
13869
  prop = "addClass";
13770
13870
  allow = !existing[klass] || existing[klass + REMOVE_CLASS_SUFFIX];
@@ -13891,6 +13991,8 @@
13891
13991
  }
13892
13992
 
13893
13993
  AnimateProvider.$inject = ["$provide"];
13994
+
13995
+ /** @param {import('../interface.ts').Provider} $provide */
13894
13996
  function AnimateProvider($provide) {
13895
13997
  const provider = this;
13896
13998
  let classNameFilter = null;
@@ -13930,7 +14032,7 @@
13930
14032
  * ```
13931
14033
  *
13932
14034
  * @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
14035
+ * @param {import("../interface.ts").Injectable} factory The factory function that will be executed to return the animation
13934
14036
  * object.
13935
14037
  */
13936
14038
  this.register = function (name, factory) {
@@ -14612,13 +14714,13 @@
14612
14714
  function AnimateAsyncRunFactoryProvider() {
14613
14715
  this.$get = [
14614
14716
  function () {
14615
- var waitQueue = [];
14717
+ let waitQueue = [];
14616
14718
 
14617
14719
  function waitForTick(fn) {
14618
14720
  waitQueue.push(fn);
14619
14721
  if (waitQueue.length > 1) return;
14620
14722
  window.requestAnimationFrame(function () {
14621
- for (var i = 0; i < waitQueue.length; i++) {
14723
+ for (let i = 0; i < waitQueue.length; i++) {
14622
14724
  waitQueue[i]();
14623
14725
  }
14624
14726
  waitQueue = [];
@@ -14626,7 +14728,7 @@
14626
14728
  }
14627
14729
 
14628
14730
  return function () {
14629
- var passed = false;
14731
+ let passed = false;
14630
14732
  waitForTick(function () {
14631
14733
  passed = true;
14632
14734
  });
@@ -14869,7 +14971,7 @@
14869
14971
 
14870
14972
  /** @typedef {import('../services/log').LogService} LogService */
14871
14973
 
14872
- /** @typedef {import("./error-handler.ts").ErrorHandler } ErrorHandler */
14974
+ /** @typedef {import("./error-handler.ts").ErrorHandler} ErrorHandler */
14873
14975
 
14874
14976
  /**
14875
14977
  * Provider for `$exceptionHandler` service. Delegates uncaught exceptions to `$log.error()` by default.
@@ -15163,7 +15265,7 @@
15163
15265
  return [].slice.call(input, begin, end);
15164
15266
  }
15165
15267
 
15166
- orderByFilter.$inject = ["$parse"];
15268
+ orderByFilter.$inject = [$injectTokens.$parse];
15167
15269
 
15168
15270
  /**
15169
15271
  * @returns {import('../interface.ts').FilterFn}
@@ -15405,7 +15507,6 @@
15405
15507
  this.$get = [
15406
15508
  "$injector",
15407
15509
  /**
15408
- *
15409
15510
  * @param {import("../../core/di/internal-injector.js").InjectorService} $injector
15410
15511
  * @returns
15411
15512
  */
@@ -17296,10 +17397,10 @@
17296
17397
  const cache = Object.create(null);
17297
17398
 
17298
17399
  /** @type {function(any):boolean?} */
17299
- var identStart;
17400
+ let identStart;
17300
17401
 
17301
17402
  /** @type {function(any):boolean?} */
17302
- var identContinue;
17403
+ let identContinue;
17303
17404
 
17304
17405
  /**
17305
17406
  * Allows defining the set of characters that are allowed in AngularTS expressions. The function
@@ -17336,7 +17437,7 @@
17336
17437
  */
17337
17438
  function ($filter) {
17338
17439
  /** @type {import("./lexer/lexer.js").LexerOptions} */
17339
- var $lexerOptions = {
17440
+ const $lexerOptions = {
17340
17441
  isIdentifierStart: isFunction(identStart) && identStart,
17341
17442
  isIdentifierContinue: isFunction(identContinue) && identContinue,
17342
17443
  };
@@ -17348,7 +17449,7 @@
17348
17449
  * @returns any
17349
17450
  */
17350
17451
  function $parse(exp, interceptorFn) {
17351
- var parsedExpression, cacheKey;
17452
+ let parsedExpression, cacheKey;
17352
17453
 
17353
17454
  switch (typeof exp) {
17354
17455
  case "string":
@@ -17358,8 +17459,8 @@
17358
17459
  parsedExpression = cache[cacheKey];
17359
17460
 
17360
17461
  if (!parsedExpression) {
17361
- var lexer = new Lexer($lexerOptions);
17362
- var parser = new Parser(lexer, $filter);
17462
+ const lexer = new Lexer($lexerOptions);
17463
+ const parser = new Parser(lexer, $filter);
17363
17464
  parsedExpression = parser.parse(exp);
17364
17465
 
17365
17466
  cache[cacheKey] = addWatchDelegate(parsedExpression);
@@ -20427,6 +20528,7 @@
20427
20528
  * @param {Object} target - The target object.
20428
20529
  * @param {string} property - The name of the property being set.
20429
20530
  * @param {*} value - The new value being assigned to the property.
20531
+ * @param {Proxy} proxy - The proxy intercepting property access
20430
20532
  * @returns {boolean} - Returns true to indicate success of the operation.
20431
20533
  */
20432
20534
  set(target, property, value, proxy) {
@@ -20463,13 +20565,13 @@
20463
20565
  const listeners = this.watchers.get(property);
20464
20566
 
20465
20567
  if (listeners) {
20466
- this.scheduleListener(listeners);
20568
+ this.#scheduleListener(listeners);
20467
20569
  }
20468
20570
 
20469
20571
  const foreignListeners = this.foreignListeners.get(property);
20470
20572
 
20471
20573
  if (foreignListeners) {
20472
- this.scheduleListener(foreignListeners);
20574
+ this.#scheduleListener(foreignListeners);
20473
20575
  }
20474
20576
  }
20475
20577
 
@@ -20494,16 +20596,16 @@
20494
20596
  const listeners = this.watchers.get(property);
20495
20597
 
20496
20598
  if (listeners) {
20497
- this.scheduleListener(listeners);
20599
+ this.#scheduleListener(listeners);
20498
20600
  }
20499
20601
 
20500
20602
  const foreignListeners = this.foreignListeners.get(property);
20501
20603
 
20502
20604
  if (foreignListeners) {
20503
- this.scheduleListener(foreignListeners);
20605
+ this.#scheduleListener(foreignListeners);
20504
20606
  }
20505
20607
 
20506
- this.checkeListenersForAllKeys(value);
20608
+ this.#checkeListenersForAllKeys(value);
20507
20609
  }
20508
20610
  target[property] = createScope(value, this);
20509
20611
  //setDeepValue(target[property], value);
@@ -20524,7 +20626,7 @@
20524
20626
  let listeners = this.watchers.get(property);
20525
20627
 
20526
20628
  if (listeners) {
20527
- this.scheduleListener(listeners);
20629
+ this.#scheduleListener(listeners);
20528
20630
  }
20529
20631
  }
20530
20632
 
@@ -20536,7 +20638,7 @@
20536
20638
  let listeners = this.watchers.get(property);
20537
20639
 
20538
20640
  if (listeners) {
20539
- this.scheduleListener(listeners);
20641
+ this.#scheduleListener(listeners);
20540
20642
  }
20541
20643
 
20542
20644
  if (Array.isArray(target)) {
@@ -20545,7 +20647,7 @@
20545
20647
  keys.forEach((key) => {
20546
20648
  const listeners = this.watchers.get(key);
20547
20649
  if (listeners) {
20548
- this.scheduleListener(listeners);
20650
+ this.#scheduleListener(listeners);
20549
20651
  }
20550
20652
  });
20551
20653
  }
@@ -20558,9 +20660,10 @@
20558
20660
  if (isUndefined(target[property]) && isProxy(value)) {
20559
20661
  this.foreignProxies.add(value);
20560
20662
  target[property] = value;
20561
- return true;
20663
+ if (!this.watchers.has(property)) {
20664
+ return true;
20665
+ }
20562
20666
  }
20563
-
20564
20667
  if (isUndefined(value)) {
20565
20668
  target[property] = value;
20566
20669
  } else {
@@ -20589,7 +20692,7 @@
20589
20692
  this.watchers.get(property)?.forEach((l) => listeners.push(l));
20590
20693
  if (listeners.length > 0) {
20591
20694
  // check if the listener actually appllies to this target
20592
- this.scheduleListener(listeners, (x) => {
20695
+ this.#scheduleListener(listeners, (x) => {
20593
20696
  return x.filter((x) => {
20594
20697
  if (!x.watchProp) return true;
20595
20698
  // Compute the expected target based on `watchProp`
@@ -20617,7 +20720,7 @@
20617
20720
  );
20618
20721
  }
20619
20722
 
20620
- this.scheduleListener(foreignListeners);
20723
+ this.#scheduleListener(foreignListeners);
20621
20724
  }
20622
20725
  }
20623
20726
 
@@ -20627,7 +20730,7 @@
20627
20730
  const listeners = this.watchers.get(key);
20628
20731
  if (listeners) {
20629
20732
  if (this.scheduled !== listeners) {
20630
- this.scheduleListener(listeners);
20733
+ this.#scheduleListener(listeners);
20631
20734
  }
20632
20735
  }
20633
20736
  });
@@ -20637,22 +20740,6 @@
20637
20740
  }
20638
20741
  }
20639
20742
 
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
20743
  /**
20657
20744
  * Intercepts property access on the target object. It checks for specific
20658
20745
  * properties (`watch` and `sync`) and binds their methods. For other properties,
@@ -20675,8 +20762,6 @@
20675
20762
 
20676
20763
  this.propertyMap = {
20677
20764
  $watch: this.$watch.bind(this),
20678
- $watchGroup: this.$watchGroup.bind(this),
20679
- $watchCollection: this.$watchCollection.bind(this),
20680
20765
  $new: this.$new.bind(this),
20681
20766
  $newIsolate: this.$newIsolate.bind(this),
20682
20767
  $destroy: this.$destroy.bind(this),
@@ -20684,7 +20769,7 @@
20684
20769
  $apply: this.$apply.bind(this),
20685
20770
  $evalAsync: this.$evalAsync.bind(this),
20686
20771
  $postUpdate: this.$postUpdate.bind(this),
20687
- $isRoot: this.isRoot.bind(this),
20772
+ $isRoot: this.#isRoot.bind(this),
20688
20773
  $target: target,
20689
20774
  $proxy: this.$proxy,
20690
20775
  $on: this.$on.bind(this),
@@ -20696,8 +20781,6 @@
20696
20781
  $root: this.$root,
20697
20782
  $children: this.$children,
20698
20783
  $id: this.$id,
20699
- registerForeignKey: this.registerForeignKey.bind(this),
20700
- notifyListener: this.notifyListener.bind(this),
20701
20784
  $merge: this.$merge.bind(this),
20702
20785
  $getById: this.$getById.bind(this),
20703
20786
  };
@@ -20718,7 +20801,7 @@
20718
20801
 
20719
20802
  // TODO aditional testing
20720
20803
  if (property === "unshift") {
20721
- this.scheduleListener(this.scheduled);
20804
+ this.#scheduleListener(this.scheduled);
20722
20805
  }
20723
20806
  }
20724
20807
 
@@ -20731,26 +20814,6 @@
20731
20814
  }
20732
20815
  }
20733
20816
 
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
20817
  deleteProperty(target, property) {
20755
20818
  // Currently deletes $model
20756
20819
  if (target[property] && target[property][isProxySymbol]) {
@@ -20758,20 +20821,20 @@
20758
20821
 
20759
20822
  let listeners = this.watchers.get(property);
20760
20823
  if (listeners) {
20761
- this.scheduleListener(listeners);
20824
+ this.#scheduleListener(listeners);
20762
20825
  }
20763
20826
  if (this.objectListeners.has(this.$proxy)) {
20764
20827
  let keys = this.objectListeners.get(this.$proxy);
20765
20828
  keys.forEach((key) => {
20766
20829
  listeners = this.watchers.get(key);
20767
20830
  if (listeners) {
20768
- this.scheduleListener(listeners);
20831
+ this.#scheduleListener(listeners);
20769
20832
  }
20770
20833
  });
20771
20834
  }
20772
20835
 
20773
20836
  if (this.scheduled) {
20774
- this.scheduleListener(this.scheduled);
20837
+ this.#scheduleListener(this.scheduled);
20775
20838
  this.scheduled = [];
20776
20839
  }
20777
20840
  return true;
@@ -20784,19 +20847,54 @@
20784
20847
  keys.forEach((key) => {
20785
20848
  const listeners = this.watchers.get(key);
20786
20849
  if (listeners) {
20787
- this.scheduleListener(listeners);
20850
+ this.#scheduleListener(listeners);
20788
20851
  }
20789
20852
  });
20790
20853
  } else {
20791
20854
  const listeners = this.watchers.get(property);
20792
20855
  if (listeners) {
20793
- this.scheduleListener(listeners, target[property]);
20856
+ this.#scheduleListener(listeners, target[property]);
20794
20857
  }
20795
20858
  }
20796
20859
 
20797
20860
  return true;
20798
20861
  }
20799
20862
 
20863
+ #checkeListenersForAllKeys(value) {
20864
+ if (isUndefined(value)) {
20865
+ return;
20866
+ }
20867
+ Object.keys(value).forEach((k) => {
20868
+ const listeners = this.watchers.get(k);
20869
+
20870
+ if (listeners) {
20871
+ this.#scheduleListener(listeners);
20872
+ }
20873
+ if (isObject(value[k])) {
20874
+ this.#checkeListenersForAllKeys(value[k]);
20875
+ }
20876
+ });
20877
+ }
20878
+
20879
+ /**
20880
+ * @param {Listener[]} listeners
20881
+ */
20882
+ #scheduleListener(listeners, filter = (val) => val) {
20883
+ Promise.resolve().then(() => {
20884
+ let index = 0;
20885
+ let filteredListeners = filter(listeners);
20886
+ while (index < filteredListeners.length) {
20887
+ const listener = filteredListeners[index];
20888
+ if (listener.foreignListener) {
20889
+ listener.foreignListener.#notifyListener(listener, this.$target);
20890
+ } else {
20891
+ this.#notifyListener(listener, this.$target);
20892
+ }
20893
+ index++;
20894
+ }
20895
+ });
20896
+ }
20897
+
20800
20898
  /**
20801
20899
  * Registers a watcher for a property along with a listener function. The listener
20802
20900
  * function is invoked when changes to that property are detected.
@@ -20814,7 +20912,6 @@
20814
20912
  if (get.constant) {
20815
20913
  if (listenerFn) {
20816
20914
  Promise.resolve().then(() => {
20817
- // @ts-ignore
20818
20915
  let res = get();
20819
20916
  while (isFunction(res)) {
20820
20917
  res = res();
@@ -20873,11 +20970,11 @@
20873
20970
  keys.push(get.decoratedNode.body[0].expression.left.toWatch[0]?.name);
20874
20971
  keys.push(get.decoratedNode.body[0].expression.right.toWatch[0]?.name);
20875
20972
  keys.forEach((key) => {
20876
- this.registerKey(key, listener);
20973
+ this.#registerKey(key, listener);
20877
20974
  });
20878
20975
  return () => {
20879
20976
  keys.forEach((key) => {
20880
- this.deregisterKey(key, listener.id);
20977
+ this.#deregisterKey(key, listener.id);
20881
20978
  });
20882
20979
  };
20883
20980
  }
@@ -20910,13 +21007,13 @@
20910
21007
  }
20911
21008
  });
20912
21009
  keys.forEach((key) => {
20913
- this.registerKey(key, listener);
20914
- this.scheduleListener([listener]);
21010
+ this.#registerKey(key, listener);
21011
+ this.#scheduleListener([listener]);
20915
21012
  });
20916
21013
 
20917
21014
  return () => {
20918
21015
  keys.forEach((key) => {
20919
- this.deregisterKey(key, listener.id);
21016
+ this.#deregisterKey(key, listener.id);
20920
21017
  });
20921
21018
  };
20922
21019
  }
@@ -20939,10 +21036,10 @@
20939
21036
  watchProp.split(".").slice(0, -1).join("."),
20940
21037
  )(listener.originalTarget);
20941
21038
  if (potentialProxy && this.foreignProxies.has(potentialProxy)) {
20942
- potentialProxy.$handler.registerForeignKey(key, listener);
20943
- potentialProxy.$handler.scheduleListener([listener]);
21039
+ potentialProxy.$handler.#registerForeignKey(key, listener);
21040
+ potentialProxy.$handler.#scheduleListener([listener]);
20944
21041
  return () => {
20945
- return potentialProxy.$handler.deregisterKey(key, listener.id);
21042
+ return potentialProxy.$handler.#deregisterKey(key, listener.id);
20946
21043
  };
20947
21044
  }
20948
21045
  }
@@ -20973,12 +21070,12 @@
20973
21070
  })
20974
21071
  .filter((x) => !!x);
20975
21072
  keys.forEach((key) => {
20976
- this.registerKey(key, listener);
20977
- this.scheduleListener([listener]);
21073
+ this.#registerKey(key, listener);
21074
+ this.#scheduleListener([listener]);
20978
21075
  });
20979
21076
  return () => {
20980
21077
  keys.forEach((key) => {
20981
- this.deregisterKey(key, listener.id);
21078
+ this.#deregisterKey(key, listener.id);
20982
21079
  });
20983
21080
  };
20984
21081
  }
@@ -21040,39 +21137,31 @@
21040
21137
 
21041
21138
  if (keySet.length > 0) {
21042
21139
  keySet.forEach((key) => {
21043
- this.registerKey(key, listener);
21140
+ this.#registerKey(key, listener);
21044
21141
  });
21045
21142
  } else {
21046
- this.registerKey(key, listener);
21143
+ this.#registerKey(key, listener);
21047
21144
  }
21048
21145
 
21049
21146
  if (!lazy) {
21050
- this.scheduleListener([listener]);
21147
+ this.#scheduleListener([listener]);
21051
21148
  }
21052
21149
  return () => {
21053
21150
  if (keySet.length > 0) {
21054
21151
  let res = true;
21055
21152
  keySet.forEach((key) => {
21056
- let success = this.deregisterKey(key, listener.id);
21153
+ let success = this.#deregisterKey(key, listener.id);
21057
21154
  if (!success) {
21058
21155
  res = false;
21059
21156
  }
21060
21157
  });
21061
21158
  return res;
21062
21159
  } else {
21063
- return this.deregisterKey(key, listener.id);
21160
+ return this.#deregisterKey(key, listener.id);
21064
21161
  }
21065
21162
  };
21066
21163
  }
21067
21164
 
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
21165
  $new(childInstance) {
21077
21166
  let child;
21078
21167
  if (childInstance) {
@@ -21102,7 +21191,6 @@
21102
21191
 
21103
21192
  $newIsolate(instance) {
21104
21193
  let child = instance ? Object.create(instance) : Object.create(null);
21105
- // child.$root = this.$root;
21106
21194
  const proxy = new Proxy(child, new Scope(this, this.$root));
21107
21195
  this.$children.push(proxy);
21108
21196
  return proxy;
@@ -21115,7 +21203,7 @@
21115
21203
  return proxy;
21116
21204
  }
21117
21205
 
21118
- registerKey(key, listener) {
21206
+ #registerKey(key, listener) {
21119
21207
  if (this.watchers.has(key)) {
21120
21208
  this.watchers.get(key).push(listener);
21121
21209
  } else {
@@ -21123,7 +21211,7 @@
21123
21211
  }
21124
21212
  }
21125
21213
 
21126
- registerForeignKey(key, listener) {
21214
+ #registerForeignKey(key, listener) {
21127
21215
  if (this.foreignListeners.has(key)) {
21128
21216
  this.foreignListeners.get(key).push(listener);
21129
21217
  } else {
@@ -21131,7 +21219,7 @@
21131
21219
  }
21132
21220
  }
21133
21221
 
21134
- deregisterKey(key, id) {
21222
+ #deregisterKey(key, id) {
21135
21223
  const listenerList = this.watchers.get(key);
21136
21224
  if (!listenerList) return false;
21137
21225
 
@@ -21147,21 +21235,21 @@
21147
21235
  return true;
21148
21236
  }
21149
21237
 
21150
- deregisterForeignKey(key, id) {
21151
- const listenerList = this.foreignListeners.get(key);
21152
- if (!listenerList) return false;
21238
+ // deregisterForeignKey(key, id) {
21239
+ // const listenerList = this.foreignListeners.get(key);
21240
+ // if (!listenerList) return false;
21153
21241
 
21154
- const index = listenerList.findIndex((x) => x.id === id);
21155
- if (index === -1) return false;
21242
+ // const index = listenerList.findIndex((x) => x.id === id);
21243
+ // if (index === -1) return false;
21156
21244
 
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
- }
21245
+ // listenerList.splice(index, 1);
21246
+ // if (listenerList.length) {
21247
+ // this.foreignListeners.set(key, listenerList);
21248
+ // } else {
21249
+ // this.foreignListeners.delete(key);
21250
+ // }
21251
+ // return true;
21252
+ // }
21165
21253
 
21166
21254
  $eval(expr, locals) {
21167
21255
  const fn = $parse(expr);
@@ -21189,12 +21277,19 @@
21189
21277
  return await this.$eval(expr, locals);
21190
21278
  }
21191
21279
 
21280
+ /**
21281
+ * @param {Object} newTarget
21282
+ */
21192
21283
  $merge(newTarget) {
21193
21284
  Object.entries(newTarget).forEach(([key, value]) => {
21194
- this.set(this.$target, key, value);
21285
+ this.set(this.$target, key, value, this.$proxy);
21195
21286
  });
21196
21287
  }
21197
21288
 
21289
+ /**
21290
+ * @param {import('../../interface.js').Expression} expr
21291
+ * @returns {any}
21292
+ */
21198
21293
  $apply(expr) {
21199
21294
  try {
21200
21295
  return $parse(expr)(this.$proxy);
@@ -21203,6 +21298,11 @@
21203
21298
  }
21204
21299
  }
21205
21300
 
21301
+ /**
21302
+ * @param {string} name
21303
+ * @param {Function} listener
21304
+ * @returns {(function(): void)|*}
21305
+ */
21206
21306
  $on(name, listener) {
21207
21307
  let namedListeners = this.$$listeners.get(name);
21208
21308
  if (!namedListeners) {
@@ -21225,10 +21325,10 @@
21225
21325
  /**
21226
21326
  * @param {string} name
21227
21327
  * @param {...any} args
21228
- * @returns
21328
+ * @returns {void}
21229
21329
  */
21230
21330
  $emit(name, ...args) {
21231
- return this.eventHelper(
21331
+ return this.#eventHelper(
21232
21332
  { name: name, event: undefined, broadcast: false },
21233
21333
  ...args,
21234
21334
  );
@@ -21240,21 +21340,20 @@
21240
21340
  * @returns {any}
21241
21341
  */
21242
21342
  $broadcast(name, ...args) {
21243
- return this.eventHelper(
21343
+ return this.#eventHelper(
21244
21344
  { name: name, event: undefined, broadcast: true },
21245
21345
  ...args,
21246
21346
  );
21247
21347
  }
21248
21348
 
21249
21349
  /**
21250
- * @private
21251
21350
  * @returns {void}
21252
21351
  */
21253
- eventHelper({ name, event, broadcast }, ...args) {
21352
+ #eventHelper({ name, event, broadcast }, ...args) {
21254
21353
  if (!broadcast) {
21255
21354
  if (!this.$$listeners.has(name)) {
21256
21355
  if (this.$parent) {
21257
- return this.$parent.$handler.eventHelper(
21356
+ return this.$parent.$handler.#eventHelper(
21258
21357
  { name: name, event: event, broadcast: broadcast },
21259
21358
  ...args,
21260
21359
  );
@@ -21309,7 +21408,7 @@
21309
21408
  if (broadcast) {
21310
21409
  if (this.$children.length > 0) {
21311
21410
  this.$children.forEach((child) => {
21312
- event = child["$handler"].eventHelper(
21411
+ event = child["$handler"].#eventHelper(
21313
21412
  { name: name, event: event, broadcast: broadcast },
21314
21413
  ...args,
21315
21414
  );
@@ -21318,7 +21417,7 @@
21318
21417
  return event;
21319
21418
  } else {
21320
21419
  if (this.$parent) {
21321
- return this.$parent?.eventHelper(
21420
+ return this.$parent.#eventHelper(
21322
21421
  { name: name, event: event, broadcast: broadcast },
21323
21422
  ...args,
21324
21423
  );
@@ -21329,10 +21428,9 @@
21329
21428
  }
21330
21429
 
21331
21430
  /**
21332
- * @private
21333
21431
  * @returns {boolean}
21334
21432
  */
21335
- isRoot() {
21433
+ #isRoot() {
21336
21434
  return this.$root == /** @type {Scope} */ (this);
21337
21435
  }
21338
21436
 
@@ -21351,7 +21449,7 @@
21351
21449
  );
21352
21450
  });
21353
21451
 
21354
- if (this.isRoot()) {
21452
+ if (this.#isRoot()) {
21355
21453
  this.watchers.clear();
21356
21454
  } else {
21357
21455
  let i = this.$parent.$children.filter((x) => x.$id == this.$id)[0];
@@ -21364,11 +21462,9 @@
21364
21462
  }
21365
21463
 
21366
21464
  /**
21367
- * Invokes the registered listener function with watched property changes.
21368
- *
21369
21465
  * @param {Listener} listener - The property path that was changed.
21370
21466
  */
21371
- notifyListener(listener, target) {
21467
+ #notifyListener(listener, target) {
21372
21468
  const { originalTarget, listenerFn, watchFn } = listener;
21373
21469
  try {
21374
21470
  let newVal = watchFn(originalTarget);
@@ -21427,6 +21523,8 @@
21427
21523
  }
21428
21524
  }
21429
21525
 
21526
+ /*------------- Private helpers -------------*/
21527
+
21430
21528
  /**
21431
21529
  * @param {Scope} model
21432
21530
  * @returns {number}
@@ -21460,7 +21558,14 @@
21460
21558
  return ids;
21461
21559
  }
21462
21560
 
21561
+ /** @typedef {import('../interface.ts').ServiceProvider} ServiceProvider */
21562
+ /** @typedef {import('../interface.ts').AnnotatedFactory} AnnotatedFactory */
21563
+
21564
+ /**
21565
+ * @implements {ServiceProvider}
21566
+ */
21463
21567
  class TaskTrackerFactoryProvider {
21568
+ /** @type {AnnotatedFactory} */
21464
21569
  $get = [
21465
21570
  "$log",
21466
21571
  /**
@@ -21599,7 +21704,7 @@
21599
21704
  }
21600
21705
  }
21601
21706
 
21602
- var $templateRequestMinErr = minErr("$templateRequest");
21707
+ const $templateRequestMinErr = minErr("$templateRequest");
21603
21708
 
21604
21709
  /**
21605
21710
  * Used to configure the options passed to the {@link $http} service when making a template request.
@@ -21608,7 +21713,7 @@
21608
21713
  * requesting a template.
21609
21714
  */
21610
21715
  function TemplateRequestProvider() {
21611
- var httpOptions;
21716
+ let httpOptions;
21612
21717
 
21613
21718
  /**
21614
21719
  * The options to be passed to the {@link $http} service when making the request.
@@ -21674,13 +21779,17 @@
21674
21779
  // AngularTS accept any script directive, no matter its name. However, we
21675
21780
  // still need to unwrap trusted types.
21676
21781
  if (!isString(tpl) || !$templateCache.has(tpl)) {
21677
- tpl = $sce.getTrustedResourceUrl(tpl);
21678
- if (!tpl) {
21679
- return Promise.reject("Template not found");
21782
+ try {
21783
+ tpl = $sce.getTrustedResourceUrl(tpl);
21784
+ if (!tpl) {
21785
+ return Promise.reject("Template not found");
21786
+ }
21787
+ } catch (e) {
21788
+ return Promise.reject(e.message);
21680
21789
  }
21681
21790
  }
21682
21791
 
21683
- var transformResponse =
21792
+ let transformResponse =
21684
21793
  $http.defaults && $http.defaults.transformResponse;
21685
21794
 
21686
21795
  if (Array.isArray(transformResponse)) {
@@ -21792,6 +21901,7 @@
21792
21901
  return (uri, isMediaUrl) => {
21793
21902
  if (!uri) return uri;
21794
21903
 
21904
+ /** @type {RegExp} */
21795
21905
  const regex = isMediaUrl
21796
21906
  ? this._imgSrcSanitizationTrustedUrlList
21797
21907
  : this._aHrefSanitizationTrustedUrlList;
@@ -21831,7 +21941,7 @@
21831
21941
  this.head = undefined;
21832
21942
  this.default = undefined;
21833
21943
 
21834
- this.$scope.$watchCollection(
21944
+ this.$scope.$watch(
21835
21945
  this.$attrs["ngMessages"] || this.$attrs["for"],
21836
21946
  this.render.bind(this),
21837
21947
  );
@@ -22073,7 +22183,7 @@
22073
22183
 
22074
22184
  if (dynamicExp) {
22075
22185
  assignRecords(scope.$eval(dynamicExp));
22076
- scope.$watchCollection(dynamicExp, assignRecords);
22186
+ scope.$watch(dynamicExp, assignRecords);
22077
22187
  } else {
22078
22188
  assignRecords(staticExp);
22079
22189
  }
@@ -22232,7 +22342,7 @@
22232
22342
  };
22233
22343
  }
22234
22344
 
22235
- ngDisabledAriaDirective.$inject = ["$aria"];
22345
+ ngDisabledAriaDirective.$inject = [$injectTokens.$aria];
22236
22346
  function ngDisabledAriaDirective($aria) {
22237
22347
  return $aria.$$watchExpr(
22238
22348
  "ngDisabled",
@@ -22242,7 +22352,7 @@
22242
22352
  );
22243
22353
  }
22244
22354
 
22245
- ngShowAriaDirective.$inject = ["$aria"];
22355
+ ngShowAriaDirective.$inject = [$injectTokens.$aria];
22246
22356
  function ngShowAriaDirective($aria) {
22247
22357
  return $aria.$$watchExpr("ngShow", "aria-hidden", [], true);
22248
22358
  }
@@ -22261,11 +22371,11 @@
22261
22371
  };
22262
22372
  }
22263
22373
 
22264
- ngClickAriaDirective.$inject = ["$aria", "$parse"];
22374
+ ngClickAriaDirective.$inject = [$injectTokens.$aria, $injectTokens.$parse];
22265
22375
  function ngClickAriaDirective($aria, $parse) {
22266
22376
  return {
22267
22377
  restrict: "A",
22268
- compile(elem, attr) {
22378
+ compile(_elem, attr) {
22269
22379
  if (hasOwn(attr, ARIA_DISABLE_ATTR)) return;
22270
22380
 
22271
22381
  const fn = $parse(attr.ngClick);
@@ -22325,7 +22435,7 @@
22325
22435
  };
22326
22436
  }
22327
22437
 
22328
- ngRequiredAriaDirective.$inject = ["$aria"];
22438
+ ngRequiredAriaDirective.$inject = [$injectTokens.$aria];
22329
22439
  function ngRequiredAriaDirective($aria) {
22330
22440
  return $aria.$$watchExpr(
22331
22441
  "ngRequired",
@@ -22345,7 +22455,7 @@
22345
22455
  );
22346
22456
  }
22347
22457
 
22348
- ngValueAriaDirective.$inject = ["$aria"];
22458
+ ngValueAriaDirective.$inject = [$injectTokens.$aria];
22349
22459
  function ngValueAriaDirective($aria) {
22350
22460
  return $aria.$$watchExpr(
22351
22461
  "ngValue",
@@ -22355,12 +22465,12 @@
22355
22465
  );
22356
22466
  }
22357
22467
 
22358
- ngHideAriaDirective.$inject = ["$aria"];
22468
+ ngHideAriaDirective.$inject = [$injectTokens.$aria];
22359
22469
  function ngHideAriaDirective($aria) {
22360
22470
  return $aria.$$watchExpr("ngHide", "aria-hidden", [], false);
22361
22471
  }
22362
22472
 
22363
- ngReadonlyAriaDirective.$inject = ["$aria"];
22473
+ ngReadonlyAriaDirective.$inject = [$injectTokens.$aria];
22364
22474
  function ngReadonlyAriaDirective($aria) {
22365
22475
  return $aria.$$watchExpr(
22366
22476
  "ngReadonly",
@@ -22370,7 +22480,7 @@
22370
22480
  );
22371
22481
  }
22372
22482
 
22373
- ngModelAriaDirective.$inject = ["$aria"];
22483
+ ngModelAriaDirective.$inject = [$injectTokens.$aria];
22374
22484
  function ngModelAriaDirective($aria) {
22375
22485
  function shouldAttachAttr(attr, normalizedAttr, elem, allowNonAriaNodes) {
22376
22486
  return (
@@ -22513,7 +22623,7 @@
22513
22623
  };
22514
22624
  }
22515
22625
 
22516
- ngDblclickAriaDirective.$inject = ["$aria"];
22626
+ ngDblclickAriaDirective.$inject = [$injectTokens.$aria];
22517
22627
  function ngDblclickAriaDirective($aria) {
22518
22628
  return function (scope, elem, attr) {
22519
22629
  if (hasOwn(attr, ARIA_DISABLE_ATTR)) return;
@@ -22765,6 +22875,7 @@
22765
22875
  // all of the animation functions should create
22766
22876
  // a copy of the options data, however, if a
22767
22877
  // parent service has already created a copy then
22878
+ let delayStyle;
22768
22879
  // we should stick to using that
22769
22880
  let options = initialOptions || {};
22770
22881
  if (!options.$$prepared) {
@@ -22977,13 +23088,12 @@
22977
23088
  return closeAndReturnNoopAnimator();
22978
23089
  }
22979
23090
 
22980
- var activeClasses = pendClasses(
23091
+ let activeClasses = pendClasses(
22981
23092
  preparationClasses,
22982
23093
  ACTIVE_CLASS_SUFFIX,
22983
23094
  );
22984
23095
 
22985
23096
  if (options.delay != null) {
22986
- var delayStyle;
22987
23097
  if (typeof options.delay !== "boolean") {
22988
23098
  delayStyle = parseFloat(options.delay);
22989
23099
  // number in options.delay means we have to recalculate the delay for the closing timeout
@@ -25646,30 +25756,27 @@
25646
25756
  link(scope, $element, attrs, ctrl, $transclude) {
25647
25757
  let previousElement;
25648
25758
  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
- );
25759
+ scope.$watch(attrs["ngAnimateSwap"] || attrs["for"], (value) => {
25760
+ if (previousElement) {
25761
+ $animate.leave(previousElement);
25762
+ }
25763
+ if (previousScope) {
25764
+ previousScope.$destroy();
25765
+ previousScope = null;
25766
+ }
25767
+ if (value) {
25768
+ $transclude((clone, childScope) => {
25769
+ previousElement = clone;
25770
+ previousScope = childScope;
25771
+ $animate.enter(clone, null, $element);
25772
+ });
25773
+ }
25774
+ });
25668
25775
  },
25669
25776
  };
25670
25777
  }
25671
25778
 
25672
- $$AnimateChildrenDirective.$inject = ["$interpolate"];
25779
+ $$AnimateChildrenDirective.$inject = [$injectTokens.$interpolate];
25673
25780
 
25674
25781
  /**
25675
25782
  * @param {*} $interpolate
@@ -27579,7 +27686,7 @@
27579
27686
  Object.prototype.hasOwnProperty.bind(cfg || {}),
27580
27687
  ).length === 0;
27581
27688
 
27582
- var DefType;
27689
+ let DefType;
27583
27690
  (function (DefType) {
27584
27691
  DefType[(DefType["PATH"] = 0)] = "PATH";
27585
27692
  DefType[(DefType["SEARCH"] = 1)] = "SEARCH";
@@ -28866,6 +28973,26 @@
28866
28973
  }
28867
28974
  }
28868
28975
 
28976
+ /** @typedef {import('../../interface.js').ServiceProvider} ServiceProvider
28977
+
28978
+ /**
28979
+ * Configurable provider for an injectable event bus
28980
+ * @implements {ServiceProvider}
28981
+ */
28982
+ class PubSubProvider {
28983
+ constructor() {
28984
+ /**
28985
+ * @type {PubSub}
28986
+ */
28987
+ this.eventBus = EventBus;
28988
+ }
28989
+
28990
+ /**
28991
+ * @returns {PubSub}
28992
+ */
28993
+ $get = () => this.eventBus;
28994
+ }
28995
+
28869
28996
  class PubSub {
28870
28997
  /**
28871
28998
  * Topic-based publish/subscribe channel. Maintains a map of topics to
@@ -30993,6 +31120,7 @@
30993
31120
 
30994
31121
  /**
30995
31122
  * @param {import('../globals.js').RouterGlobals} globals
31123
+ * @param viewService
30996
31124
  */
30997
31125
  constructor(globals, viewService) {
30998
31126
  this._transitionCount = 0;
@@ -34133,6 +34261,10 @@
34133
34261
  * using the [[builder]] method.
34134
34262
  */
34135
34263
  class StateBuilder {
34264
+ /**
34265
+ * @param {import('./state-matcher.js').StateMatcher} matcher
34266
+ * @param urlService
34267
+ */
34136
34268
  constructor(matcher, urlService) {
34137
34269
  this.matcher = matcher;
34138
34270
  this.$injector = undefined;
@@ -34340,12 +34472,12 @@
34340
34472
  * @implements {ServiceProvider}
34341
34473
  */
34342
34474
  class StateRegistryProvider {
34343
- static $inject = [
34344
- "$urlServiceProvider",
34345
- "$stateProvider",
34346
- "$routerGlobalsProvider",
34347
- "$viewProvider",
34348
- ];
34475
+ static $inject = provider([
34476
+ $injectTokens.$urlService,
34477
+ $injectTokens.$state,
34478
+ $injectTokens.$routerGlobals,
34479
+ $injectTokens.$view,
34480
+ ]);
34349
34481
 
34350
34482
  /**
34351
34483
  * @param urlService
@@ -34643,7 +34775,7 @@
34643
34775
  // HACK: This is to allow ng-clicks to be processed before the transition is initiated:
34644
34776
  const transition = setTimeout(function () {
34645
34777
  if (!el.getAttribute("disabled")) {
34646
- var res = $state.go(
34778
+ const res = $state.go(
34647
34779
  target.ngState,
34648
34780
  target.ngStateParams,
34649
34781
  target.ngStateOpts,
@@ -35138,7 +35270,7 @@
35138
35270
  };
35139
35271
  const directive = {
35140
35272
  count: 0,
35141
- restrict: "EA",
35273
+
35142
35274
  terminal: true,
35143
35275
  priority: 400,
35144
35276
  transclude: "element",
@@ -35273,7 +35405,6 @@
35273
35405
  const getControllerAs = parse("viewDecl.controllerAs");
35274
35406
  const getResolveAs = parse("viewDecl.resolveAs");
35275
35407
  return {
35276
- restrict: "EA",
35277
35408
  priority: -400,
35278
35409
  compile: function (tElement) {
35279
35410
  const initial = tElement.innerHTML;
@@ -35469,7 +35600,6 @@
35469
35600
  */
35470
35601
  function ngChannelDirective() {
35471
35602
  return {
35472
- restrict: "EA",
35473
35603
  link: (scope, element, attrs) => {
35474
35604
  const hasTemplate = element.childNodes.length > 0;
35475
35605
  const channel = attrs["ngChannel"];
@@ -35543,7 +35673,7 @@
35543
35673
  characterData: true,
35544
35674
  });
35545
35675
  } else {
35546
- console.warn("ngSetter: Element is not a valid DOM node.");
35676
+ $log.warn("ngSetter: Element is not a valid DOM node.");
35547
35677
  return;
35548
35678
  }
35549
35679
 
@@ -35553,13 +35683,14 @@
35553
35683
  };
35554
35684
  }
35555
35685
 
35556
- //injected by Rollup plugin
35557
- const VERSION = "0.7.0-beta.1";
35686
+ // @private
35687
+
35688
+ const VERSION = "0.7.2";
35558
35689
 
35559
35690
  /**
35560
- * Initializes `ng`, `animate`, `message`, `aria` and `router` modules.
35691
+ * Initializes core `ng` module.
35561
35692
  * @param {import('./loader.js').Angular} angular
35562
- * @returns {import('./core/di/ng-module.js').NgModule} `ng`module
35693
+ * @returns {import('./core/di/ng-module.js').NgModule} `ng` module
35563
35694
  */
35564
35695
  function publishExternalAPI(angular) {
35565
35696
  const ng = angular
@@ -35568,6 +35699,7 @@
35568
35699
  [],
35569
35700
  [
35570
35701
  "$provide",
35702
+ /** @type {import('./interface.js').Provider} */
35571
35703
  ($provide) => {
35572
35704
  // $$sanitizeUriProvider needs to be before $compileProvider as it is used by it.
35573
35705
  $provide.provider({
@@ -35691,12 +35823,17 @@
35691
35823
  $templateFactory: TemplateFactoryProvider,
35692
35824
  $urlService: UrlService,
35693
35825
  $stateRegistry: StateRegistryProvider,
35826
+ $eventBus: PubSubProvider,
35694
35827
  });
35695
35828
  },
35696
35829
  ],
35697
35830
  )
35698
35831
  .factory("$stateParams", [
35699
35832
  "$routerGlobals",
35833
+ /**
35834
+ * @param {import('./router/globals.js').RouterGlobals} globals
35835
+ * @returns {import('./router/params/state-params.js').StateParams }
35836
+ */
35700
35837
  function (globals) {
35701
35838
  return globals.params;
35702
35839
  },
@@ -35744,6 +35881,7 @@
35744
35881
  this.errorHandlingConfig = errorHandlingConfig;
35745
35882
 
35746
35883
  window["angular"] = this;
35884
+ this.$injectTokens = $injectTokens;
35747
35885
  publishExternalAPI(this);
35748
35886
  }
35749
35887