@angular-wave/angular.ts 0.1.2 → 0.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (749) hide show
  1. package/.github/workflows/lint.yml +19 -0
  2. package/dist/angular-ts.esm.js +2 -2
  3. package/dist/angular-ts.umd.js +2 -2
  4. package/package.json +1 -1
  5. package/src/angular.spec.js +0 -77
  6. package/src/animations/animate-css.html +1 -7
  7. package/src/animations/animate-css.js +4 -9
  8. package/src/core/compile/compile.js +1 -1
  9. package/src/core/location/location.js +3 -5
  10. package/src/core/task-tracker-factory.js +94 -78
  11. package/src/loader.js +34 -50
  12. package/src/public.js +0 -1
  13. package/src/router/common/coreservices.js +1 -2
  14. package/src/router/params/param-type.js +3 -8
  15. package/src/router/params/param-types.js +3 -10
  16. package/src/router/resolve/resolvable.js +7 -15
  17. package/src/router/resolve/resolve-context.js +3 -5
  18. package/src/router/state/state-service.js +1 -0
  19. package/src/router/transition/transition.js +2 -2
  20. package/src/router/url/url-matcher.js +4 -4
  21. package/src/services/anchor-scroll.js +9 -7
  22. package/src/services/browser.js +146 -194
  23. package/src/services/http/http.spec.js +1 -0
  24. package/src/services/http-backend/http-backend.js +3 -4
  25. package/src/shared/common.js +33 -36
  26. package/src/shared/hof.js +0 -14
  27. package/src/shared/predicates.js +11 -12
  28. package/typedoc/assets/navigation.js +1 -1
  29. package/typedoc/assets/search.js +1 -1
  30. package/typedoc/classes/animations_animate.AnimateProvider.html +5 -5
  31. package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +2 -2
  32. package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +2 -2
  33. package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +2 -2
  34. package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +2 -2
  35. package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +2 -2
  36. package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +2 -2
  37. package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +2 -2
  38. package/typedoc/classes/animations_animate_runner.AnimateRunner.html +2 -2
  39. package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +2 -2
  40. package/typedoc/classes/animations_animation.__AnimationProvider.html +2 -2
  41. package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +3 -3
  42. package/typedoc/classes/core_compile_attributes.Attributes.html +8 -8
  43. package/typedoc/classes/core_compile_compile._CompileProvider.html +7 -7
  44. package/typedoc/classes/core_controller_controller._ControllerProvider.html +4 -4
  45. package/typedoc/classes/core_di_internal_injector.InjectorService.html +6 -6
  46. package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +7 -7
  47. package/typedoc/classes/core_di_ng_module.NgModule.html +4 -4
  48. package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +2 -2
  49. package/typedoc/classes/core_filter_filter._FilterProvider.html +2 -2
  50. package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +4 -4
  51. package/typedoc/classes/core_interval_interval._IntervalProvider.html +2 -2
  52. package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +2 -2
  53. package/typedoc/classes/core_location_location.Location.html +20 -20
  54. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +21 -21
  55. package/typedoc/classes/core_location_location.LocationHtml5Url.html +21 -21
  56. package/typedoc/classes/core_location_location._LocationProvider.html +4 -4
  57. package/typedoc/classes/core_parser_ast.AST.html +28 -28
  58. package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +26 -26
  59. package/typedoc/classes/core_parser_lexer.Lexer.html +16 -16
  60. package/typedoc/classes/core_parser_parse._ParseProvider.html +3 -3
  61. package/typedoc/classes/core_parser_parser.Parser.html +4 -4
  62. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +9 -9
  63. package/typedoc/classes/core_q_q._QProvider.html +3 -3
  64. package/typedoc/classes/core_q_q.__QProvider.html +2 -2
  65. package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +4 -4
  66. package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +4 -4
  67. package/typedoc/classes/core_sce_sce._SceProvider.html +3 -3
  68. package/typedoc/classes/core_scope_scope.Scope.html +18 -18
  69. package/typedoc/classes/core_scope_scope._RootScopeProvider.html +2 -2
  70. package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +5 -5
  71. package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +2 -2
  72. package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +2 -2
  73. package/typedoc/classes/directive_aria_aria.AriaProvider.html +2 -2
  74. package/typedoc/classes/directive_form_form.FormController.html +21 -21
  75. package/typedoc/classes/directive_model_model.NgModelController.html +32 -32
  76. package/typedoc/classes/loader.Angular.html +5 -5
  77. package/typedoc/classes/router_common_glob.Glob.html +4 -4
  78. package/typedoc/classes/router_common_queue.Queue.html +2 -2
  79. package/typedoc/classes/router_common_trace.Trace.html +17 -17
  80. package/typedoc/classes/router_globals.UIRouterGlobals.html +3 -3
  81. package/typedoc/classes/router_params_param.Param.html +6 -6
  82. package/typedoc/classes/router_params_param_factory.ParamFactory.html +2 -2
  83. package/typedoc/classes/router_params_param_type.ParamType.html +4 -4
  84. package/typedoc/classes/router_params_param_types.ParamTypes.html +3 -3
  85. package/typedoc/classes/router_params_state_params.StateParams.html +3 -3
  86. package/typedoc/classes/router_path_path_node.PathNode.html +7 -7
  87. package/typedoc/classes/router_path_path_utils.PathUtils.html +10 -10
  88. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +4 -4
  89. package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +9 -9
  90. package/typedoc/classes/router_state_state_builder.StateBuilder.html +3 -3
  91. package/typedoc/classes/router_state_state_matcher.StateMatcher.html +2 -2
  92. package/typedoc/classes/router_state_state_object.StateObject.html +9 -9
  93. package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +2 -2
  94. package/typedoc/classes/router_state_state_registry.StateRegistry.html +8 -8
  95. package/typedoc/classes/router_state_state_service.StateService.html +17 -17
  96. package/typedoc/classes/router_state_target_state.TargetState.html +15 -15
  97. package/typedoc/classes/router_state_views.Ng1ViewConfig.html +4 -4
  98. package/typedoc/classes/router_template_factory.TemplateFactory.html +9 -9
  99. package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +4 -4
  100. package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +6 -6
  101. package/typedoc/classes/router_transition_reject_factory.Rejection.html +9 -9
  102. package/typedoc/classes/router_transition_transition.Transition.html +31 -31
  103. package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +3 -3
  104. package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +10 -10
  105. package/typedoc/classes/router_transition_transition_service.TransitionService.html +8 -8
  106. package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +6 -6
  107. package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +12 -12
  108. package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +3 -3
  109. package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +5 -5
  110. package/typedoc/classes/router_url_url_rules.UrlRules.html +9 -9
  111. package/typedoc/classes/router_url_url_service.UrlService.html +20 -20
  112. package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +2 -2
  113. package/typedoc/classes/router_view_view.ViewService.html +7 -7
  114. package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +2 -2
  115. package/typedoc/classes/services_browser.Browser.html +10 -10
  116. package/typedoc/classes/services_browser.BrowserProvider.html +2 -2
  117. package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +2 -2
  118. package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +2 -2
  119. package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +2 -2
  120. package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +2 -2
  121. package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +2 -2
  122. package/typedoc/classes/services_http_http._HttpProvider.html +3 -3
  123. package/typedoc/classes/services_log._LogProvider.html +3 -3
  124. package/typedoc/classes/services_template_request.TemplateRequestProvider.html +4 -4
  125. package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +16 -16
  126. package/typedoc/enums/core_parser_ast_type.ASTType.html +2 -2
  127. package/typedoc/enums/core_scope_scope.ScopePhase.html +2 -2
  128. package/typedoc/enums/router_transition_reject_factory.RejectType.html +6 -6
  129. package/typedoc/functions/animations_animate.domInsert.html +1 -1
  130. package/typedoc/functions/animations_animate_cache.animateCache.html +6 -6
  131. package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -2
  132. package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -2
  133. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -1
  134. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -1
  135. package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -1
  136. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -1
  137. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -1
  138. package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -1
  139. package/typedoc/functions/animations_shared.assertArg.html +1 -1
  140. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -1
  141. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -1
  142. package/typedoc/functions/animations_shared.concatWithSpace.html +1 -1
  143. package/typedoc/functions/animations_shared.extractElementNode.html +1 -1
  144. package/typedoc/functions/animations_shared.getDomNode.html +1 -1
  145. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -1
  146. package/typedoc/functions/animations_shared.mergeClasses.html +1 -1
  147. package/typedoc/functions/animations_shared.ngMinErr.html +1 -1
  148. package/typedoc/functions/animations_shared.packageStyles.html +1 -1
  149. package/typedoc/functions/animations_shared.pendClasses.html +1 -1
  150. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -1
  151. package/typedoc/functions/animations_shared.removeFromArray.html +1 -1
  152. package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -1
  153. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -1
  154. package/typedoc/functions/core_controller_controller.identifierForController.html +1 -1
  155. package/typedoc/functions/core_di_injector.annotate.html +1 -1
  156. package/typedoc/functions/core_di_injector.createInjector.html +1 -1
  157. package/typedoc/functions/core_exception_handler.errorHandler-1.html +1 -1
  158. package/typedoc/functions/core_location_location.serverBase.html +1 -1
  159. package/typedoc/functions/core_location_location.stripBaseUrl.html +1 -1
  160. package/typedoc/functions/core_location_location.stripFile.html +1 -1
  161. package/typedoc/functions/core_location_location.stripHash.html +1 -1
  162. package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -1
  163. package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -1
  164. package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -1
  165. package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -1
  166. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -1
  167. package/typedoc/functions/core_scope_scope.countChildScopes.html +1 -1
  168. package/typedoc/functions/core_scope_scope.countWatchers.html +1 -1
  169. package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +1 -1
  170. package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +1 -1
  171. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +1 -1
  172. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +1 -1
  173. package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -1
  174. package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +1 -1
  175. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -2
  176. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -2
  177. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -2
  178. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -2
  179. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -2
  180. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -1
  181. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -2
  182. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -2
  183. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -2
  184. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -2
  185. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -2
  186. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -1
  187. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -1
  188. package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -1
  189. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -1
  190. package/typedoc/functions/directive_events_events.createEventDirective.html +1 -1
  191. package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -1
  192. package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -1
  193. package/typedoc/functions/directive_form_form.setupValidity.html +1 -1
  194. package/typedoc/functions/directive_if_if.ngIfDirective.html +2 -2
  195. package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -1
  196. package/typedoc/functions/directive_input_input.badInputChecker.html +1 -1
  197. package/typedoc/functions/directive_input_input.countDecimals.html +1 -1
  198. package/typedoc/functions/directive_input_input.createDateInputType.html +1 -1
  199. package/typedoc/functions/directive_input_input.createDateParser.html +1 -1
  200. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -1
  201. package/typedoc/functions/directive_input_input.inputDirective.html +2 -2
  202. package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -1
  203. package/typedoc/functions/directive_input_input.isValidForStep.html +1 -1
  204. package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -1
  205. package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -1
  206. package/typedoc/functions/directive_input_input.numberInputType.html +1 -1
  207. package/typedoc/functions/directive_input_input.rangeInputType.html +1 -1
  208. package/typedoc/functions/directive_input_input.weekParser.html +1 -1
  209. package/typedoc/functions/directive_list_list.ngListDirective.html +1 -1
  210. package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -2
  211. package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -2
  212. package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -2
  213. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -2
  214. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -2
  215. package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -2
  216. package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -1
  217. package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -1
  218. package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -1
  219. package/typedoc/functions/directive_select_select.optionDirective.html +2 -2
  220. package/typedoc/functions/directive_select_select.selectDirective.html +1 -1
  221. package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -2
  222. package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -2
  223. package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -1
  224. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -1
  225. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -1
  226. package/typedoc/functions/filters_filter.filterFilter.html +1 -1
  227. package/typedoc/functions/filters_filters.formatNumber.html +1 -1
  228. package/typedoc/functions/filters_filters.jsonFilter.html +1 -1
  229. package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -1
  230. package/typedoc/functions/filters_order_by.orderByFilter.html +2 -2
  231. package/typedoc/functions/public.publishExternalAPI.html +1 -1
  232. package/typedoc/functions/router.initRouter.html +1 -1
  233. package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -2
  234. package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -2
  235. package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -2
  236. package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -2
  237. package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -1
  238. package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -1
  239. package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -1
  240. package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -1
  241. package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +1 -1
  242. package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +1 -1
  243. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -1
  244. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -1
  245. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -1
  246. package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -1
  247. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -1
  248. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -1
  249. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -1
  250. package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -1
  251. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -1
  252. package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -1
  253. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -1
  254. package/typedoc/functions/router_services.runBlock.html +2 -2
  255. package/typedoc/functions/router_services.watchDigests.html +2 -2
  256. package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +2 -2
  257. package/typedoc/functions/router_state_filters._IsStateFilter.html +2 -2
  258. package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +1 -1
  259. package/typedoc/functions/router_state_state_registry.getLocals.html +1 -1
  260. package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -1
  261. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +1 -1
  262. package/typedoc/functions/router_transition_hook_registry.makeEvent.html +1 -1
  263. package/typedoc/functions/router_transition_hook_registry.matchState.html +1 -1
  264. package/typedoc/functions/services_browser.trimEmptyHash.html +1 -1
  265. package/typedoc/functions/services_cookie_reader.getCookies.html +1 -1
  266. package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -1
  267. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -1
  268. package/typedoc/functions/shared_common._removeFrom.html +1 -1
  269. package/typedoc/functions/shared_common.allTrueR.html +1 -1
  270. package/typedoc/functions/shared_common.ancestors.html +1 -1
  271. package/typedoc/functions/shared_common.anyTrueR.html +1 -1
  272. package/typedoc/functions/shared_common.applyPairs.html +1 -1
  273. package/typedoc/functions/shared_common.arrayTuples.html +1 -1
  274. package/typedoc/functions/shared_common.assertFn.html +1 -1
  275. package/typedoc/functions/shared_common.assertMap.html +1 -1
  276. package/typedoc/functions/shared_common.assertPredicate.html +1 -1
  277. package/typedoc/functions/shared_common.copy.html +1 -1
  278. package/typedoc/functions/shared_common.createProxyFunctions.html +1 -1
  279. package/typedoc/functions/shared_common.defaults.html +1 -1
  280. package/typedoc/functions/shared_common.deregAll.html +1 -1
  281. package/typedoc/functions/shared_common.equals.html +1 -1
  282. package/typedoc/functions/shared_common.filter.html +1 -1
  283. package/typedoc/functions/shared_common.find.html +1 -1
  284. package/typedoc/functions/shared_common.flatten.html +1 -1
  285. package/typedoc/functions/shared_common.flattenR.html +1 -1
  286. package/typedoc/functions/shared_common.forEach.html +1 -2
  287. package/typedoc/functions/shared_common.inherit.html +1 -1
  288. package/typedoc/functions/shared_common.map.html +1 -1
  289. package/typedoc/functions/shared_common.mapObj.html +1 -1
  290. package/typedoc/functions/shared_common.mergeR.html +1 -1
  291. package/typedoc/functions/shared_common.omit.html +1 -1
  292. package/typedoc/functions/shared_common.pairs.html +1 -1
  293. package/typedoc/functions/shared_common.pick.html +1 -1
  294. package/typedoc/functions/shared_common.pluck.html +1 -1
  295. package/typedoc/functions/shared_common.pushR.html +1 -1
  296. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -1
  297. package/typedoc/functions/shared_common.silentRejection.html +1 -1
  298. package/typedoc/functions/shared_common.tail.html +1 -1
  299. package/typedoc/functions/shared_common.uniqR.html +1 -1
  300. package/typedoc/functions/shared_common.unnest.html +1 -1
  301. package/typedoc/functions/shared_common.unnestR.html +1 -1
  302. package/typedoc/functions/shared_hof.all.html +1 -1
  303. package/typedoc/functions/shared_hof.and.html +1 -1
  304. package/typedoc/functions/shared_hof.any.html +1 -1
  305. package/typedoc/functions/shared_hof.compose.html +1 -1
  306. package/typedoc/functions/shared_hof.curry.html +1 -1
  307. package/typedoc/functions/shared_hof.eq.html +1 -1
  308. package/typedoc/functions/shared_hof.invoke.html +1 -1
  309. package/typedoc/functions/shared_hof.is.html +1 -1
  310. package/typedoc/functions/shared_hof.or.html +1 -1
  311. package/typedoc/functions/shared_hof.parse.html +1 -1
  312. package/typedoc/functions/shared_hof.pattern.html +1 -1
  313. package/typedoc/functions/shared_hof.pipe.html +1 -1
  314. package/typedoc/functions/shared_hof.prop.html +1 -1
  315. package/typedoc/functions/shared_hof.val.html +1 -1
  316. package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -1
  317. package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +1 -1
  318. package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -1
  319. package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +1 -1
  320. package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -1
  321. package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +1 -1
  322. package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +1 -1
  323. package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +1 -1
  324. package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -1
  325. package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +1 -1
  326. package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +1 -1
  327. package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +1 -1
  328. package/typedoc/functions/shared_predicates.isInjectable.html +1 -1
  329. package/typedoc/functions/shared_predicates.isNull.html +1 -1
  330. package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -1
  331. package/typedoc/functions/shared_predicates.isPromise.html +2 -2
  332. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +1 -1
  333. package/typedoc/functions/shared_strings.fnToString.html +1 -1
  334. package/typedoc/functions/shared_strings.functionToString.html +1 -1
  335. package/typedoc/functions/shared_strings.joinNeighborsR.html +1 -1
  336. package/typedoc/functions/shared_strings.kebobString.html +1 -1
  337. package/typedoc/functions/shared_strings.maxLength.html +1 -1
  338. package/typedoc/functions/shared_strings.padString.html +1 -1
  339. package/typedoc/functions/shared_strings.splitEqual.html +1 -1
  340. package/typedoc/functions/shared_strings.splitHash.html +1 -1
  341. package/typedoc/functions/shared_strings.splitOnDelim.html +1 -1
  342. package/typedoc/functions/shared_strings.splitQuery.html +1 -1
  343. package/typedoc/functions/shared_strings.stringify.html +1 -1
  344. package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -1
  345. package/typedoc/functions/shared_strings.trimHashVal.html +1 -1
  346. package/typedoc/functions/shared_utils.addDateMinutes.html +1 -1
  347. package/typedoc/functions/shared_utils.arrayRemove.html +1 -1
  348. package/typedoc/functions/shared_utils.assert.html +1 -1
  349. package/typedoc/functions/shared_utils.assertArg.html +1 -1
  350. package/typedoc/functions/shared_utils.assertArgFn.html +1 -1
  351. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +1 -1
  352. package/typedoc/functions/shared_utils.baseExtend.html +1 -1
  353. package/typedoc/functions/shared_utils.bind.html +1 -1
  354. package/typedoc/functions/shared_utils.concat.html +1 -1
  355. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -1
  356. package/typedoc/functions/shared_utils.csp.html +1 -1
  357. package/typedoc/functions/shared_utils.directiveNormalize.html +1 -1
  358. package/typedoc/functions/shared_utils.encodeUriQuery.html +1 -1
  359. package/typedoc/functions/shared_utils.encodeUriSegment.html +1 -1
  360. package/typedoc/functions/shared_utils.equals.html +1 -1
  361. package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -1
  362. package/typedoc/functions/shared_utils.extend.html +1 -1
  363. package/typedoc/functions/shared_utils.forEach.html +1 -1
  364. package/typedoc/functions/shared_utils.forEachSorted.html +1 -1
  365. package/typedoc/functions/shared_utils.fromJson.html +1 -1
  366. package/typedoc/functions/shared_utils.getNgAttribute.html +1 -1
  367. package/typedoc/functions/shared_utils.getNodeName.html +1 -1
  368. package/typedoc/functions/shared_utils.getter.html +1 -1
  369. package/typedoc/functions/shared_utils.hasAnimate.html +1 -1
  370. package/typedoc/functions/shared_utils.hasCustomToString.html +1 -1
  371. package/typedoc/functions/shared_utils.hashKey.html +1 -1
  372. package/typedoc/functions/shared_utils.includes.html +1 -1
  373. package/typedoc/functions/shared_utils.inherit.html +1 -1
  374. package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -1
  375. package/typedoc/functions/shared_utils.isArrayLike.html +1 -1
  376. package/typedoc/functions/shared_utils.isBlankObject.html +1 -1
  377. package/typedoc/functions/shared_utils.isBlob.html +1 -1
  378. package/typedoc/functions/shared_utils.isBoolean.html +1 -1
  379. package/typedoc/functions/shared_utils.isDate.html +1 -1
  380. package/typedoc/functions/shared_utils.isDefined.html +1 -1
  381. package/typedoc/functions/shared_utils.isElement.html +1 -1
  382. package/typedoc/functions/shared_utils.isError.html +1 -1
  383. package/typedoc/functions/shared_utils.isFile.html +1 -1
  384. package/typedoc/functions/shared_utils.isFormData.html +1 -1
  385. package/typedoc/functions/shared_utils.isFunction.html +1 -1
  386. package/typedoc/functions/shared_utils.isNumber.html +1 -1
  387. package/typedoc/functions/shared_utils.isNumberNaN.html +1 -1
  388. package/typedoc/functions/shared_utils.isObject.html +1 -1
  389. package/typedoc/functions/shared_utils.isPromiseLike.html +1 -1
  390. package/typedoc/functions/shared_utils.isRegExp.html +1 -1
  391. package/typedoc/functions/shared_utils.isScope.html +1 -1
  392. package/typedoc/functions/shared_utils.isString.html +1 -1
  393. package/typedoc/functions/shared_utils.isTypedArray.html +1 -1
  394. package/typedoc/functions/shared_utils.isUndefined.html +1 -1
  395. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -1
  396. package/typedoc/functions/shared_utils.isWindow.html +1 -1
  397. package/typedoc/functions/shared_utils.lowercase.html +1 -1
  398. package/typedoc/functions/shared_utils.merge.html +1 -1
  399. package/typedoc/functions/shared_utils.mergeClasses.html +1 -1
  400. package/typedoc/functions/shared_utils.minErr.html +1 -1
  401. package/typedoc/functions/shared_utils.nextUid.html +1 -1
  402. package/typedoc/functions/shared_utils.parseKeyValue.html +1 -1
  403. package/typedoc/functions/shared_utils.reverseParams.html +1 -1
  404. package/typedoc/functions/shared_utils.setHashKey.html +1 -1
  405. package/typedoc/functions/shared_utils.shallowCopy.html +1 -1
  406. package/typedoc/functions/shared_utils.simpleCompare.html +1 -1
  407. package/typedoc/functions/shared_utils.sliceArgs.html +1 -1
  408. package/typedoc/functions/shared_utils.snakeCase.html +1 -1
  409. package/typedoc/functions/shared_utils.stringify.html +1 -1
  410. package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -1
  411. package/typedoc/functions/shared_utils.toDebugString.html +1 -1
  412. package/typedoc/functions/shared_utils.toInt.html +1 -1
  413. package/typedoc/functions/shared_utils.toJson.html +1 -1
  414. package/typedoc/functions/shared_utils.toKeyValue.html +1 -1
  415. package/typedoc/functions/shared_utils.trim.html +1 -1
  416. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +1 -1
  417. package/typedoc/functions/shared_utils.uppercase.html +1 -1
  418. package/typedoc/functions/shared_utils.valueFn.html +1 -1
  419. package/typedoc/index.html +3 -8
  420. package/typedoc/interfaces/animations_animate.AnimationOptions.html +5 -5
  421. package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +2 -2
  422. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +2 -2
  423. package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -2
  424. package/typedoc/interfaces/core_location_location.DefaultPorts.html +2 -2
  425. package/typedoc/interfaces/core_location_location.Html5Mode.html +2 -2
  426. package/typedoc/interfaces/core_parser_ast.ASTNode.html +23 -23
  427. package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +3 -3
  428. package/typedoc/interfaces/core_parser_lexer.Token.html +7 -7
  429. package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +5 -5
  430. package/typedoc/interfaces/core_parser_parser.ParsedAST.html +3 -3
  431. package/typedoc/interfaces/core_q_q.Deferred.html +5 -5
  432. package/typedoc/interfaces/core_q_q.QPromise.html +6 -6
  433. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +2 -2
  434. package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +5 -5
  435. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +2 -2
  436. package/typedoc/interfaces/router_template_factory.BindingTuple.html +2 -2
  437. package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -2
  438. package/typedoc/interfaces/services_log.LogService.html +6 -6
  439. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +3 -3
  440. package/typedoc/interfaces/types.Annotated.html +2 -2
  441. package/typedoc/interfaces/types.ChangesObject.html +4 -4
  442. package/typedoc/interfaces/types.Controller.html +7 -7
  443. package/typedoc/interfaces/types.Directive.html +18 -18
  444. package/typedoc/interfaces/types.DirectivePrePost.html +3 -3
  445. package/typedoc/interfaces/types.FormController.html +20 -20
  446. package/typedoc/interfaces/types.Module.html +15 -15
  447. package/typedoc/interfaces/types.NgModelController.html +30 -30
  448. package/typedoc/interfaces/types.NgModelOptions.html +8 -8
  449. package/typedoc/interfaces/types.OnChangesObject.html +2 -2
  450. package/typedoc/interfaces/types.ServiceProviderClass.html +2 -2
  451. package/typedoc/interfaces/types.TranscludeFunctionObject.html +2 -2
  452. package/typedoc/modules/animations_animate.html +1 -1
  453. package/typedoc/modules/animations_animate_cache.html +1 -1
  454. package/typedoc/modules/animations_animate_children_directive.html +1 -1
  455. package/typedoc/modules/animations_animate_css.html +1 -1
  456. package/typedoc/modules/animations_animate_css_driver.html +1 -1
  457. package/typedoc/modules/animations_animate_js.html +1 -1
  458. package/typedoc/modules/animations_animate_js_driver.html +1 -1
  459. package/typedoc/modules/animations_animate_queue.html +1 -1
  460. package/typedoc/modules/animations_animate_runner.html +1 -1
  461. package/typedoc/modules/animations_animate_swap.html +1 -1
  462. package/typedoc/modules/animations_animation.html +1 -1
  463. package/typedoc/modules/animations_raf_scheduler.html +1 -1
  464. package/typedoc/modules/animations_shared.html +1 -1
  465. package/typedoc/modules/core_cache_cache.html +1 -1
  466. package/typedoc/modules/core_compile_attributes.html +1 -1
  467. package/typedoc/modules/core_compile_compile.html +1 -1
  468. package/typedoc/modules/core_controller_controller.html +1 -1
  469. package/typedoc/modules/core_di_injector.html +1 -1
  470. package/typedoc/modules/core_di_internal_injector.html +1 -1
  471. package/typedoc/modules/core_di_ng_module.html +1 -1
  472. package/typedoc/modules/core_exception_handler.html +1 -1
  473. package/typedoc/modules/core_filter_filter.html +1 -1
  474. package/typedoc/modules/core_interpolate_interpolate.html +1 -1
  475. package/typedoc/modules/core_interval_interval.html +1 -1
  476. package/typedoc/modules/core_interval_interval_factory.html +1 -1
  477. package/typedoc/modules/core_location_location.html +1 -1
  478. package/typedoc/modules/core_parser_ast.html +1 -1
  479. package/typedoc/modules/core_parser_ast_type.html +1 -1
  480. package/typedoc/modules/core_parser_interpreter.html +1 -1
  481. package/typedoc/modules/core_parser_lexer.html +1 -1
  482. package/typedoc/modules/core_parser_parse.html +1 -1
  483. package/typedoc/modules/core_parser_parser.html +1 -1
  484. package/typedoc/modules/core_pubsub_pubsub.html +1 -1
  485. package/typedoc/modules/core_q_q.html +1 -1
  486. package/typedoc/modules/core_sanitize_sanitize_uri.html +1 -1
  487. package/typedoc/modules/core_sce_sce.html +1 -1
  488. package/typedoc/modules/core_scope_scope.html +1 -1
  489. package/typedoc/modules/core_task_tracker_factory.html +1 -1
  490. package/typedoc/modules/core_timeout_timeout.html +1 -1
  491. package/typedoc/modules/core_url_utils_url_utils.html +1 -1
  492. package/typedoc/modules/directive_aria_aria.html +1 -1
  493. package/typedoc/modules/directive_attrs_attrs.html +1 -1
  494. package/typedoc/modules/directive_bind_bind.html +1 -1
  495. package/typedoc/modules/directive_change_change.html +1 -1
  496. package/typedoc/modules/directive_class_class.html +1 -1
  497. package/typedoc/modules/directive_cloak_cloak.html +1 -1
  498. package/typedoc/modules/directive_controller_controller.html +1 -1
  499. package/typedoc/modules/directive_events_events.html +1 -1
  500. package/typedoc/modules/directive_form_form.html +1 -1
  501. package/typedoc/modules/directive_if_if.html +1 -1
  502. package/typedoc/modules/directive_include_include.html +1 -1
  503. package/typedoc/modules/directive_init_init.html +1 -1
  504. package/typedoc/modules/directive_input_input.html +1 -1
  505. package/typedoc/modules/directive_list_list.html +1 -1
  506. package/typedoc/modules/directive_messages_messages.html +1 -1
  507. package/typedoc/modules/directive_model_model.html +1 -1
  508. package/typedoc/modules/directive_model_options_model_options.html +1 -1
  509. package/typedoc/modules/directive_non_bindable_non_bindable.html +1 -1
  510. package/typedoc/modules/directive_options_options.html +1 -1
  511. package/typedoc/modules/directive_ref_ref.html +1 -1
  512. package/typedoc/modules/directive_repeat_repeat.html +1 -1
  513. package/typedoc/modules/directive_script_script.html +1 -1
  514. package/typedoc/modules/directive_select_select.html +1 -1
  515. package/typedoc/modules/directive_show_hide_show_hide.html +1 -1
  516. package/typedoc/modules/directive_style_style.html +1 -1
  517. package/typedoc/modules/directive_switch_switch.html +1 -1
  518. package/typedoc/modules/directive_transclude_transclude.html +1 -1
  519. package/typedoc/modules/directive_validators_validators.html +1 -1
  520. package/typedoc/modules/filters_filter.html +1 -1
  521. package/typedoc/modules/filters_filters.html +1 -1
  522. package/typedoc/modules/filters_limit_to.html +1 -1
  523. package/typedoc/modules/filters_order_by.html +1 -1
  524. package/typedoc/modules/index.html +1 -1
  525. package/typedoc/modules/loader.html +1 -1
  526. package/typedoc/modules/public.html +1 -1
  527. package/typedoc/modules/router.html +1 -1
  528. package/typedoc/modules/router_common_coreservices.html +1 -1
  529. package/typedoc/modules/router_common_glob.html +1 -1
  530. package/typedoc/modules/router_common_queue.html +1 -1
  531. package/typedoc/modules/router_common_trace.html +1 -1
  532. package/typedoc/modules/router_directives_state_directives.html +1 -1
  533. package/typedoc/modules/router_directives_view_directive.html +1 -1
  534. package/typedoc/modules/router_globals.html +1 -1
  535. package/typedoc/modules/router_hooks_core_resolvables.html +1 -1
  536. package/typedoc/modules/router_hooks_ignored_transition.html +1 -1
  537. package/typedoc/modules/router_hooks_invalid_transition.html +1 -1
  538. package/typedoc/modules/router_hooks_lazy_load.html +1 -1
  539. package/typedoc/modules/router_hooks_on_enter_exit_retain.html +1 -1
  540. package/typedoc/modules/router_hooks_redirect_to.html +1 -1
  541. package/typedoc/modules/router_hooks_resolve.html +1 -1
  542. package/typedoc/modules/router_hooks_update_globals.html +1 -1
  543. package/typedoc/modules/router_hooks_url.html +1 -1
  544. package/typedoc/modules/router_hooks_views.html +1 -1
  545. package/typedoc/modules/router_params_param.html +1 -1
  546. package/typedoc/modules/router_params_param_factory.html +1 -1
  547. package/typedoc/modules/router_params_param_type.html +1 -1
  548. package/typedoc/modules/router_params_param_types.html +1 -1
  549. package/typedoc/modules/router_params_state_params.html +1 -1
  550. package/typedoc/modules/router_path_path_node.html +1 -1
  551. package/typedoc/modules/router_path_path_utils.html +1 -1
  552. package/typedoc/modules/router_resolve_resolvable.html +1 -1
  553. package/typedoc/modules/router_resolve_resolve_context.html +1 -1
  554. package/typedoc/modules/router_services.html +1 -1
  555. package/typedoc/modules/router_state_filters.html +1 -1
  556. package/typedoc/modules/router_state_state_builder.html +1 -1
  557. package/typedoc/modules/router_state_state_matcher.html +1 -1
  558. package/typedoc/modules/router_state_state_object.html +1 -1
  559. package/typedoc/modules/router_state_state_queue_manager.html +1 -1
  560. package/typedoc/modules/router_state_state_registry.html +1 -1
  561. package/typedoc/modules/router_state_state_service.html +1 -1
  562. package/typedoc/modules/router_state_target_state.html +1 -1
  563. package/typedoc/modules/router_state_views.html +1 -1
  564. package/typedoc/modules/router_template_factory.html +1 -1
  565. package/typedoc/modules/router_transition_hook_builder.html +1 -1
  566. package/typedoc/modules/router_transition_hook_registry.html +1 -1
  567. package/typedoc/modules/router_transition_interface.html +1 -1
  568. package/typedoc/modules/router_transition_reject_factory.html +1 -1
  569. package/typedoc/modules/router_transition_transition.html +1 -1
  570. package/typedoc/modules/router_transition_transition_event_type.html +1 -1
  571. package/typedoc/modules/router_transition_transition_hook.html +1 -1
  572. package/typedoc/modules/router_transition_transition_service.html +1 -1
  573. package/typedoc/modules/router_url_url_config.html +1 -1
  574. package/typedoc/modules/router_url_url_matcher.html +1 -1
  575. package/typedoc/modules/router_url_url_rule.html +1 -1
  576. package/typedoc/modules/router_url_url_rules.html +1 -1
  577. package/typedoc/modules/router_url_url_service.html +1 -1
  578. package/typedoc/modules/router_view_scroll.html +1 -1
  579. package/typedoc/modules/router_view_view.html +1 -1
  580. package/typedoc/modules/services_anchor_scroll.html +1 -1
  581. package/typedoc/modules/services_browser.html +1 -1
  582. package/typedoc/modules/services_cache_factory.html +1 -1
  583. package/typedoc/modules/services_cookie_reader.html +1 -1
  584. package/typedoc/modules/services_http_backend_http_backend.html +1 -1
  585. package/typedoc/modules/services_http_http.html +1 -1
  586. package/typedoc/modules/services_log.html +1 -1
  587. package/typedoc/modules/services_template_request.html +1 -1
  588. package/typedoc/modules/shared_common.html +1 -3
  589. package/typedoc/modules/shared_constants.html +1 -1
  590. package/typedoc/modules/shared_hof.html +1 -1
  591. package/typedoc/modules/shared_jqlite_jqlite.html +1 -1
  592. package/typedoc/modules/shared_predicates.html +1 -4
  593. package/typedoc/modules/shared_strings.html +1 -1
  594. package/typedoc/modules/shared_utils.html +1 -1
  595. package/typedoc/modules/types.html +1 -1
  596. package/typedoc/types/animations_animate.AnimationMethod.html +1 -1
  597. package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -1
  598. package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -1
  599. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -1
  600. package/typedoc/types/core_exception_handler.ErrorHandler.html +1 -1
  601. package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -1
  602. package/typedoc/types/core_interval_interval.IntervalId.html +1 -1
  603. package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -1
  604. package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -1
  605. package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -1
  606. package/typedoc/types/core_parser_parse.ParseService.html +1 -1
  607. package/typedoc/types/core_scope_scope.TTL.html +1 -1
  608. package/typedoc/types/core_scope_scope.WatchExpression.html +1 -1
  609. package/typedoc/types/core_scope_scope.WatchListener.html +1 -1
  610. package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -1
  611. package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -1
  612. package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -1
  613. package/typedoc/types/services_browser.UrlChangeListener.html +1 -1
  614. package/typedoc/types/services_log.LogCall.html +1 -1
  615. package/typedoc/types/types.AnnotatedFunction.html +1 -1
  616. package/typedoc/types/types.AsyncModelValidators.html +1 -1
  617. package/typedoc/types/types.Attributes.html +1 -1
  618. package/typedoc/types/types.BootstrapConfig.html +1 -1
  619. package/typedoc/types/types.CloneAttachFunction.html +1 -1
  620. package/typedoc/types/types.ComponentOptions.html +1 -1
  621. package/typedoc/types/types.ControllerConstructor.html +1 -1
  622. package/typedoc/types/types.DirectiveCompileFn.html +1 -1
  623. package/typedoc/types/types.DirectiveController.html +1 -1
  624. package/typedoc/types/types.DirectiveFactory.html +1 -1
  625. package/typedoc/types/types.DirectiveLinkFn.html +1 -1
  626. package/typedoc/types/types.FilterFactory.html +1 -1
  627. package/typedoc/types/types.FilterFunction.html +1 -1
  628. package/typedoc/types/types.Injectable.html +1 -1
  629. package/typedoc/types/types.ModelValidators.html +1 -1
  630. package/typedoc/types/types.ServiceProviderFactory.html +1 -1
  631. package/typedoc/types/types.TAttributes.html +1 -1
  632. package/typedoc/types/types.TController.html +1 -1
  633. package/typedoc/types/types.TElement.html +1 -1
  634. package/typedoc/types/types.TScope.html +1 -1
  635. package/typedoc/types/types.TranscludeFunction.html +1 -1
  636. package/typedoc/types/types.transcludeWithScope.html +1 -1
  637. package/typedoc/types/types.transcludeWithoutScope.html +1 -1
  638. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -1
  639. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -1
  640. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -1
  641. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -1
  642. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -1
  643. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -1
  644. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -1
  645. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -1
  646. package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -1
  647. package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -1
  648. package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -1
  649. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -1
  650. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -1
  651. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -1
  652. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -1
  653. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -1
  654. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -1
  655. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -1
  656. package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -1
  657. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -1
  658. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -1
  659. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -1
  660. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -1
  661. package/typedoc/variables/core_cache_cache.CACHE.html +1 -1
  662. package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -1
  663. package/typedoc/variables/core_di_injector.path.html +1 -1
  664. package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -1
  665. package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -1
  666. package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -1
  667. package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -1
  668. package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -1
  669. package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -1
  670. package/typedoc/variables/core_parser_ast.literals.html +1 -1
  671. package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -1
  672. package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -1
  673. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -1
  674. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -1
  675. package/typedoc/variables/core_scope_scope.TTL-1.html +1 -1
  676. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -1
  677. package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -1
  678. package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -1
  679. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -1
  680. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -1
  681. package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +1 -1
  682. package/typedoc/variables/directive_class_class.ngClassDirective.html +1 -1
  683. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +1 -1
  684. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +1 -1
  685. package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -1
  686. package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -1
  687. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -1
  688. package/typedoc/variables/directive_form_form.formDirective.html +1 -1
  689. package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -1
  690. package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -1
  691. package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -1
  692. package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -1
  693. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -1
  694. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -1
  695. package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -1
  696. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -1
  697. package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -1
  698. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -1
  699. package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -1
  700. package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -1
  701. package/typedoc/variables/directive_script_script.scriptDirective.html +1 -1
  702. package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -1
  703. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -1
  704. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +1 -1
  705. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +1 -1
  706. package/typedoc/variables/directive_validators_validators.patternDirective.html +1 -1
  707. package/typedoc/variables/directive_validators_validators.requiredDirective.html +1 -1
  708. package/typedoc/variables/index.angular.html +1 -1
  709. package/typedoc/variables/public.VERSION.html +1 -1
  710. package/typedoc/variables/router_common_coreservices.services.html +1 -1
  711. package/typedoc/variables/router_common_trace.Category.html +1 -1
  712. package/typedoc/variables/router_common_trace.trace-1.html +1 -1
  713. package/typedoc/variables/router_directives_view_directive.ngView.html +1 -1
  714. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -1
  715. package/typedoc/variables/router_params_param.DefType.html +1 -1
  716. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -1
  717. package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +1 -1
  718. package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -1
  719. package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +1 -1
  720. package/typedoc/variables/router_transition_interface.TransitionHookScope.html +1 -1
  721. package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +1 -1
  722. package/typedoc/variables/services_log.LogService-1.html +1 -1
  723. package/typedoc/variables/shared_common.pushTo.html +1 -1
  724. package/typedoc/variables/shared_common.removeFrom.html +1 -1
  725. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -1
  726. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -1
  727. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -1
  728. package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -1
  729. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -1
  730. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -1
  731. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -1
  732. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -1
  733. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -1
  734. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -1
  735. package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -1
  736. package/typedoc/variables/shared_hof.propEq.html +1 -1
  737. package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -1
  738. package/typedoc/variables/shared_strings.hostRegex.html +1 -1
  739. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -1
  740. package/types/core/task-tracker-factory.d.ts +44 -33
  741. package/types/loader.d.ts +1 -1
  742. package/types/router/params/param-type.d.ts +1 -7
  743. package/types/router/url/url-service.d.ts +2 -2
  744. package/types/services/browser.d.ts +41 -103
  745. package/types/services/http-backend/http-backend.d.ts +1 -2
  746. package/types/shared/common.d.ts +2 -5
  747. package/types/shared/predicates.d.ts +5 -3
  748. package/typedoc/variables/shared_common.fromJson.html +0 -1
  749. package/typedoc/variables/shared_common.toJson.html +0 -1
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@angular-wave/angular.ts",
3
3
  "description": "A modern, optimized and typesafe version of AngularJS",
4
4
  "license": "MIT",
5
- "version": "0.1.2",
5
+ "version": "0.1.4",
6
6
  "type": "module",
7
7
  "main": "dist/angular-ts.esm.js",
8
8
  "browser": "dist/angular-ts.umd.js",
@@ -1893,83 +1893,6 @@ describe("angular", () => {
1893
1893
  expect(element.html()).toBe("{{1+2}}");
1894
1894
  dealoc(element);
1895
1895
  });
1896
-
1897
- describe("deferred bootstrap", () => {
1898
- const originalName = window.name;
1899
- let element;
1900
-
1901
- beforeEach(() => {
1902
- window.name = "";
1903
- element = JQLite("<div>{{1+2}}</div>");
1904
- });
1905
-
1906
- afterEach(() => {
1907
- dealoc(element);
1908
- window.name = originalName;
1909
- });
1910
-
1911
- it("should provide injector for deferred bootstrap", () => {
1912
- window.name = "NG_DEFER_BOOTSTRAP!";
1913
-
1914
- injector = angular.bootstrap(element);
1915
- expect(injector).toBeUndefined();
1916
-
1917
- injector = angular.resumeBootstrap();
1918
- expect(injector).toBeDefined();
1919
- });
1920
-
1921
- it("should wait for extra modules", () => {
1922
- window.name = "NG_DEFER_BOOTSTRAP!";
1923
- angular.bootstrap(element);
1924
-
1925
- expect(element.html()).toBe("{{1+2}}");
1926
-
1927
- angular.resumeBootstrap();
1928
-
1929
- expect(element.html()).toBe("3");
1930
- expect(window.name).toEqual("");
1931
- });
1932
-
1933
- it("should load extra modules", () => {
1934
- element = JQLite("<div>{{1+2}}</div>");
1935
- window.name = "NG_DEFER_BOOTSTRAP!";
1936
-
1937
- const bootstrapping = jasmine.createSpy("bootstrapping");
1938
- angular.bootstrap(element, [bootstrapping]);
1939
-
1940
- expect(bootstrapping).not.toHaveBeenCalled();
1941
- expect(element.injector()).toBeUndefined();
1942
-
1943
- angular.module("addedModule", []).value("foo", "bar");
1944
- angular.resumeBootstrap(["addedModule"]);
1945
-
1946
- expect(bootstrapping).toHaveBeenCalled();
1947
- expect(element.injector().get("foo")).toEqual("bar");
1948
- });
1949
-
1950
- it("should not defer bootstrap without window.name cue", () => {
1951
- angular.bootstrap(element, []);
1952
- angular.module("addedModule", []).value("foo", "bar");
1953
-
1954
- expect(() => {
1955
- element.injector().get("foo");
1956
- }).toThrowError(/unpr/);
1957
-
1958
- expect(element.injector().get("$http")).toBeDefined();
1959
- });
1960
-
1961
- it("should restore the original window.name after bootstrap", () => {
1962
- window.name = "NG_DEFER_BOOTSTRAP!my custom name";
1963
- angular.bootstrap(element);
1964
-
1965
- expect(element.html()).toBe("{{1+2}}");
1966
-
1967
- angular.resumeBootstrap();
1968
-
1969
- expect(element.html()).toBe("3");
1970
- expect(window.name).toEqual("my custom name");
1971
- });
1972
- });
1973
1896
  });
1974
1897
 
1975
1898
  describe("startingElementHtml", () => {
@@ -49,13 +49,7 @@
49
49
  </style>
50
50
  </head>
51
51
  <body ng-app="test">
52
- <div ng-if="bool" id="data-animate" class="fade" data-animate="true">
53
- Fade me in out
54
- </div>
55
- <div ng-if="bool" id="animate" class="fade" animate="true">
56
- Fade me in out
57
- </div>
58
- <div ng-if="bool" id="no-animate" class="fade">Fade me in out</div>
52
+ <div class="{{bool}}">{{bool}}</div>
59
53
  <button ng-click="bool=true">Fade In!</button>
60
54
  <button ng-click="bool=false">Fade Out!</button>
61
55
  </body>
@@ -392,7 +392,7 @@ export function $AnimateCssProvider() {
392
392
 
393
393
  if (!options.$$skipPreparationClasses) {
394
394
  element[0].classList.add(
395
- preparationClasses.split(" ").filter((x) => x !== ""),
395
+ ...preparationClasses.split(" ").filter((x) => x !== ""),
396
396
  );
397
397
  }
398
398
 
@@ -589,15 +589,11 @@ export function $AnimateCssProvider() {
589
589
  animationPaused = false;
590
590
 
591
591
  if (preparationClasses && !options.$$skipPreparationClasses) {
592
- preparationClasses.split(" ").forEach(function (cls) {
593
- element[0].classList.remove(cls);
594
- });
592
+ element[0].classList.remove(...preparationClasses.split(" "));
595
593
  }
596
594
  activeClasses = pendClasses(preparationClasses, ACTIVE_CLASS_SUFFIX);
597
595
  if (activeClasses) {
598
- activeClasses.split(" ").forEach(function (cls) {
599
- element[0].classList.remove(cls);
600
- });
596
+ element[0].classList.remove(...activeClasses.split(" "));
601
597
  }
602
598
 
603
599
  blockKeyframeAnimations(node, false);
@@ -786,9 +782,8 @@ export function $AnimateCssProvider() {
786
782
  });
787
783
 
788
784
  applyAnimationClasses(element, options);
789
-
790
785
  element[0].classList.add(
791
- activeClasses.split(" ").filter((x) => x !== ""),
786
+ ...activeClasses.split(" ").filter((x) => x !== ""),
792
787
  );
793
788
  if (flags.recalculateTimingStyles) {
794
789
  cacheKey = $$animateCache.cacheKey(
@@ -2352,7 +2352,7 @@ export function $CompileProvider($provide, $$sanitizeUriProvider) {
2352
2352
  // Copy in CSS classes from original node
2353
2353
  try {
2354
2354
  if (oldClasses !== "") {
2355
- linkNode.classList.add(oldClasses);
2355
+ linkNode.classList.add(...oldClasses.trim().split(" "));
2356
2356
  }
2357
2357
  } catch (e) {
2358
2358
  // ignore, since it means that we are trying to set class on
@@ -649,11 +649,11 @@ export function $LocationProvider() {
649
649
 
650
650
  const IGNORE_URI_REGEXP = /^\s*(javascript|mailto):/i;
651
651
 
652
- function setBrowserUrlWithFallback(url, replace, state) {
652
+ function setBrowserUrlWithFallback(url, state) {
653
653
  const oldUrl = $location.url();
654
654
  const oldState = $location.$$state;
655
655
  try {
656
- $browser.url(url, replace, state);
656
+ $browser.url(url, state);
657
657
 
658
658
  // Make sure $location.state() returns referentially identical (not just deeply equal)
659
659
  // state object; this makes possible quick checking if the state changed in the digest
@@ -762,7 +762,7 @@ export function $LocationProvider() {
762
762
  if (defaultPrevented) {
763
763
  $location.$$parse(oldUrl);
764
764
  $location.$$state = oldState;
765
- setBrowserUrlWithFallback(oldUrl, false, oldState);
765
+ setBrowserUrlWithFallback(oldUrl, oldState);
766
766
  } else {
767
767
  initializing = false;
768
768
  afterLocationChange(oldUrl, oldState);
@@ -779,7 +779,6 @@ export function $LocationProvider() {
779
779
  const oldUrl = /** @type {string} */ ($browser.url());
780
780
  const newUrl = $location.absUrl();
781
781
  const oldState = $browser.state();
782
- const currentReplace = $location.$$replace;
783
782
  const urlOrStateChanged =
784
783
  !urlsEqual(oldUrl, newUrl) ||
785
784
  ($location.$$html5 && oldState !== $location.$$state);
@@ -808,7 +807,6 @@ export function $LocationProvider() {
808
807
  if (urlOrStateChanged) {
809
808
  setBrowserUrlWithFallback(
810
809
  newUrl,
811
- currentReplace,
812
810
  oldState === $location.$$state ? null : $location.$$state,
813
811
  );
814
812
  }
@@ -1,122 +1,138 @@
1
- export function $$TaskTrackerFactoryProvider() {
2
- this.$get = [
1
+ export class $$TaskTrackerFactoryProvider {
2
+ $get = [
3
3
  "$log",
4
- /** @param {import('../services/log').LogService} log */
4
+ /**
5
+ * Creates a new `TaskTracker` instance.
6
+ *
7
+ * @param {import('../services/log').LogService} log - The logging service.
8
+ * @returns {TaskTracker} A new `TaskTracker` instance.
9
+ */
5
10
  (log) => new TaskTracker(log),
6
11
  ];
7
12
  }
8
13
 
9
14
  /**
10
- * ! This is a private undocumented service !
15
+ * A factory function to create `TaskTracker` instances.
11
16
  *
12
- * @name $$taskTrackerFactory
13
- * @description
14
- * A function to create `TaskTracker` instances.
15
- *
16
- * A `TaskTracker` can keep track of pending tasks (grouped by type) and can notify interested
17
+ * A `TaskTracker` tracks pending tasks (grouped by type) and notifies interested
17
18
  * parties when all pending tasks (or tasks of a specific type) have been completed.
18
- * @param {import('../services/log').LogService} log
19
19
  */
20
- export function TaskTracker(log) {
21
- const self = this;
22
- const taskCounts = {};
23
- const taskCallbacks = [];
24
-
25
- const ALL_TASKS_TYPE = (self.ALL_TASKS_TYPE = "$$all$$");
26
- const DEFAULT_TASK_TYPE = (self.DEFAULT_TASK_TYPE = "$$default$$");
27
-
20
+ export class TaskTracker {
28
21
  /**
29
- * Execute the specified function and decrement the appropriate `taskCounts` counter.
30
- * If the counter reaches 0, all corresponding `taskCallbacks` are executed.
31
- *
32
- * @param {Function} fn - The function to execute.
33
- * @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task that is being completed.
22
+ * @param {import('../services/log').LogService} log - The logging service.
34
23
  */
35
- self.completeTask = completeTask;
24
+ constructor(log) {
25
+ /** @private */
26
+ this.log = log;
36
27
 
37
- /**
38
- * Increase the task count for the specified task type (or the default task type if non is
39
- * specified).
40
- *
41
- * @param {string=} [taskType=DEFAULT_TASK_TYPE] - The type of task whose count will be increased.
42
- */
43
- self.incTaskCount = incTaskCount;
28
+ /** @private */
29
+ this.taskCounts = {};
30
+
31
+ /** @private */
32
+ this.taskCallbacks = [];
33
+
34
+ /**
35
+ * Special task types used for tracking all tasks and default tasks.
36
+ * @type {string}
37
+ */
38
+ this.ALL_TASKS_TYPE = "$$all$$";
39
+
40
+ /**
41
+ * Default task type.
42
+ * @type {string}
43
+ */
44
+ this.DEFAULT_TASK_TYPE = "$$default$$";
45
+ }
44
46
 
45
47
  /**
46
- * Execute the specified callback when all pending tasks have been completed.
47
- *
48
- * If there are no pending tasks, the callback is executed immediately. You can optionally limit
49
- * the tasks that will be waited for to a specific type, by passing a `taskType`.
48
+ * Completes a task and decrements the associated task counter.
49
+ * If the counter reaches 0, all corresponding callbacks are executed.
50
50
  *
51
- * @param {function} callback - The function to call when there are no pending tasks.
52
- * @param {string=} [taskType=ALL_TASKS_TYPE] - The type of tasks that will be waited for.
51
+ * @param {Function} fn - The function to execute when completing the task.
52
+ * @param {string} [taskType=this.DEFAULT_TASK_TYPE] - The type of task being completed.
53
53
  */
54
- self.notifyWhenNoPendingTasks = notifyWhenNoPendingTasks;
55
-
56
- function completeTask(fn, taskType) {
57
- taskType = taskType || DEFAULT_TASK_TYPE;
58
-
54
+ completeTask(fn, taskType = this.DEFAULT_TASK_TYPE) {
59
55
  try {
60
56
  fn();
61
57
  } finally {
62
- decTaskCount(taskType);
58
+ if (this.taskCounts[taskType]) {
59
+ this.taskCounts[taskType]--;
60
+ this.taskCounts[this.ALL_TASKS_TYPE]--;
61
+ }
63
62
 
64
- const countForType = taskCounts[taskType];
65
- const countForAll = taskCounts[ALL_TASKS_TYPE];
63
+ const countForType = this.taskCounts[taskType];
64
+ const countForAll = this.taskCounts[this.ALL_TASKS_TYPE];
66
65
 
67
- // If at least one of the queues (`ALL_TASKS_TYPE` or `taskType`) is empty, run callbacks.
66
+ // If either the overall task queue or the specific task type queue is empty, run callbacks.
68
67
  if (!countForAll || !countForType) {
69
68
  const getNextCallback = !countForAll
70
- ? getLastCallback
71
- : getLastCallbackForType;
72
- let nextCb;
69
+ ? this.getLastCallback.bind(this)
70
+ : () => this.getLastCallbackForType(taskType);
73
71
 
74
- while ((nextCb = getNextCallback(taskType))) {
72
+ let nextCb;
73
+ while ((nextCb = getNextCallback())) {
75
74
  try {
76
75
  nextCb();
77
76
  } catch (e) {
78
- log.error(e);
77
+ this.log.error(e);
79
78
  }
80
79
  }
81
80
  }
82
81
  }
83
82
  }
84
83
 
85
- function decTaskCount(taskType) {
86
- taskType = taskType || DEFAULT_TASK_TYPE;
87
- if (taskCounts[taskType]) {
88
- taskCounts[taskType]--;
89
- taskCounts[ALL_TASKS_TYPE]--;
84
+ /**
85
+ * Increments the task count for the specified task type.
86
+ *
87
+ * @param {string} [taskType=this.DEFAULT_TASK_TYPE] - The type of task whose count will be increased.
88
+ */
89
+ incTaskCount(taskType = this.DEFAULT_TASK_TYPE) {
90
+ this.taskCounts[taskType] = (this.taskCounts[taskType] || 0) + 1;
91
+ this.taskCounts[this.ALL_TASKS_TYPE] =
92
+ (this.taskCounts[this.ALL_TASKS_TYPE] || 0) + 1;
93
+ }
94
+
95
+ /**
96
+ * Registers a callback to be executed when all pending tasks of the specified type are completed.
97
+ * If there are no pending tasks of the specified type, the callback is executed immediately.
98
+ *
99
+ * @param {Function} callback - The function to execute when no pending tasks remain.
100
+ * @param {string} [taskType=this.ALL_TASKS_TYPE] - The type of tasks to wait for completion.
101
+ */
102
+ notifyWhenNoPendingTasks(callback, taskType = this.ALL_TASKS_TYPE) {
103
+ if (!this.taskCounts[taskType]) {
104
+ callback();
105
+ } else {
106
+ this.taskCallbacks.push({ type: taskType, cb: callback });
90
107
  }
91
108
  }
92
109
 
93
- function getLastCallback() {
94
- const cbInfo = taskCallbacks.pop();
95
- return cbInfo && cbInfo.cb;
110
+ /**
111
+ * Retrieves and removes the last registered callback from the queue.
112
+ *
113
+ * @private
114
+ * @returns {Function|undefined} The last callback function or undefined if none exist.
115
+ */
116
+ getLastCallback() {
117
+ const cbInfo = this.taskCallbacks.pop();
118
+ return cbInfo ? cbInfo.cb : undefined;
96
119
  }
97
120
 
98
- function getLastCallbackForType(taskType) {
99
- for (let i = taskCallbacks.length - 1; i >= 0; --i) {
100
- const cbInfo = taskCallbacks[i];
121
+ /**
122
+ * Retrieves and removes the last registered callback for the specified task type.
123
+ *
124
+ * @private
125
+ * @param {string} taskType - The type of task for which the callback was registered.
126
+ * @returns {Function|undefined} The last callback function for the task type, or undefined if none exist.
127
+ */
128
+ getLastCallbackForType(taskType) {
129
+ for (let i = this.taskCallbacks.length - 1; i >= 0; --i) {
130
+ const cbInfo = this.taskCallbacks[i];
101
131
  if (cbInfo.type === taskType) {
102
- taskCallbacks.splice(i, 1);
132
+ this.taskCallbacks.splice(i, 1);
103
133
  return cbInfo.cb;
104
134
  }
105
135
  }
106
- }
107
-
108
- function incTaskCount(taskType) {
109
- taskType = taskType || DEFAULT_TASK_TYPE;
110
- taskCounts[taskType] = (taskCounts[taskType] || 0) + 1;
111
- taskCounts[ALL_TASKS_TYPE] = (taskCounts[ALL_TASKS_TYPE] || 0) + 1;
112
- }
113
-
114
- function notifyWhenNoPendingTasks(callback, taskType) {
115
- taskType = taskType || ALL_TASKS_TYPE;
116
- if (!taskCounts[taskType]) {
117
- callback();
118
- } else {
119
- taskCallbacks.push({ type: taskType, cb: callback });
120
- }
136
+ return undefined;
121
137
  }
122
138
  }
package/src/loader.js CHANGED
@@ -113,61 +113,45 @@ export class Angular {
113
113
  strictDi: false,
114
114
  };
115
115
 
116
- this.doBootstrap = function () {
117
- const jqLite = JQLite(element);
116
+ const jqLite = JQLite(element);
118
117
 
119
- if (jqLite.injector()) {
120
- throw ngMinErr("btstrpd", "App already bootstrapped");
121
- }
122
-
123
- if (Array.isArray(modules)) {
124
- this.bootsrappedModules = modules;
125
- }
126
-
127
- this.bootsrappedModules.unshift([
128
- "$provide",
129
- ($provide) => {
130
- $provide.value("$rootElement", jqLite);
131
- },
132
- ]);
133
-
134
- this.bootsrappedModules.unshift("ng");
118
+ if (jqLite.injector()) {
119
+ throw ngMinErr("btstrpd", "App already bootstrapped");
120
+ }
135
121
 
136
- const injector = createInjector(this.bootsrappedModules, config.strictDi);
137
- injector.invoke([
138
- "$rootScope",
139
- "$rootElement",
140
- "$compile",
141
- "$injector",
142
- /**
143
- * @param {import('./core/scope/scope').Scope} scope
144
- * @param {JQLite} el
145
- * @param {*} compile
146
- * @param {import("./core/di/internal-injector").InjectorService} $injector
147
- */
148
- function (scope, el, compile, $injector) {
149
- scope.$apply(() => {
150
- el.data("$injector", $injector);
151
- compile(el)(scope);
152
- });
153
- },
154
- ]);
155
- return injector;
156
- };
122
+ if (Array.isArray(modules)) {
123
+ this.bootsrappedModules = modules;
124
+ }
157
125
 
158
- const NG_DEFER_BOOTSTRAP = /^NG_DEFER_BOOTSTRAP!/;
126
+ this.bootsrappedModules.unshift([
127
+ "$provide",
128
+ ($provide) => {
129
+ $provide.value("$rootElement", jqLite);
130
+ },
131
+ ]);
159
132
 
160
- if (window && !NG_DEFER_BOOTSTRAP.test(window.name)) {
161
- return this.doBootstrap();
162
- }
133
+ this.bootsrappedModules.unshift("ng");
163
134
 
164
- window.name = window.name.replace(NG_DEFER_BOOTSTRAP, "");
165
- this.resumeBootstrap = function (extraModules) {
166
- if (Array.isArray(extraModules)) {
167
- extraModules.forEach((module) => modules.push(module));
168
- }
169
- return this.doBootstrap();
170
- };
135
+ const injector = createInjector(this.bootsrappedModules, config.strictDi);
136
+ injector.invoke([
137
+ "$rootScope",
138
+ "$rootElement",
139
+ "$compile",
140
+ "$injector",
141
+ /**
142
+ * @param {import('./core/scope/scope').Scope} scope
143
+ * @param {JQLite} el
144
+ * @param {*} compile
145
+ * @param {import("./core/di/internal-injector").InjectorService} $injector
146
+ */
147
+ function (scope, el, compile, $injector) {
148
+ scope.$apply(() => {
149
+ el.data("$injector", $injector);
150
+ compile(el)(scope);
151
+ });
152
+ },
153
+ ]);
154
+ return injector;
171
155
  }
172
156
 
173
157
  /**
package/src/public.js CHANGED
@@ -129,7 +129,6 @@ export const VERSION = "[VI]{version}[/VI]";
129
129
  * @returns {import('./types').Module} `ng`module
130
130
  */
131
131
  export function publishExternalAPI(angular) {
132
- console.assert(angular !== undefined, `angular is %s`, angular);
133
132
  const ng = angular
134
133
  .module(
135
134
  "ng",
@@ -1,5 +1,4 @@
1
- const services = {
1
+ export const services = {
2
2
  $q: undefined,
3
3
  $injector: undefined,
4
4
  };
5
- export { services };
@@ -30,27 +30,22 @@ export class ParamType {
30
30
  * @returns a new ParamType object
31
31
  */
32
32
  constructor(def) {
33
- /** @inheritdoc */
34
33
  this.pattern = /.*/;
35
- /** @inheritdoc */
36
34
  this.inherit = true;
37
35
  Object.assign(this, def);
38
36
  this.name = undefined;
39
37
  }
40
38
  // consider these four methods to be "abstract methods" that should be overridden
41
- /** @inheritdoc */
42
- is(_val) {
43
- return true;
39
+
40
+ is(val) {
41
+ return !!val;
44
42
  }
45
- /** @inheritdoc */
46
43
  encode(val) {
47
44
  return val;
48
45
  }
49
- /** @inheritdoc */
50
46
  decode(val) {
51
47
  return val;
52
48
  }
53
- /** @inheritdoc */
54
49
  equals(a, b) {
55
50
  return a == b;
56
51
  }
@@ -1,11 +1,4 @@
1
- import {
2
- fromJson,
3
- toJson,
4
- equals,
5
- inherit,
6
- map,
7
- pick,
8
- } from "../../shared/common";
1
+ import { equals, inherit, map, pick } from "../../shared/common";
9
2
  import { isNullOrUndefined } from "../../shared/predicates";
10
3
  import { isDefined } from "../../shared/utils";
11
4
  import { is } from "../../shared/hof";
@@ -141,8 +134,8 @@ function initDefaultTypes() {
141
134
  capture: /([0-9]{4})-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])/,
142
135
  }),
143
136
  json: makeDefaultType({
144
- encode: toJson,
145
- decode: fromJson,
137
+ encode: JSON.stringify,
138
+ decode: JSON.parse,
146
139
  is: is(Object),
147
140
  equals: equals,
148
141
  pattern: /[^/]*/,
@@ -1,4 +1,4 @@
1
- import { isFunction, isObject } from "../../shared/utils";
1
+ import { assert, isFunction, isObject } from "../../shared/utils";
2
2
  import { services } from "../common/coreservices";
3
3
  import { trace } from "../common/trace";
4
4
  import { stringify } from "../../shared/strings";
@@ -27,12 +27,7 @@ export class Resolvable {
27
27
  if (arg1 instanceof Resolvable) {
28
28
  Object.assign(this, arg1);
29
29
  } else if (isFunction(resolveFn)) {
30
- if (isNullOrUndefined(arg1))
31
- throw new Error("new Resolvable(): token argument is required");
32
- if (!isFunction(resolveFn))
33
- throw new Error(
34
- "new Resolvable(): resolveFn argument must be a function",
35
- );
30
+ assert(!isNullOrUndefined(arg1), "token argument is required");
36
31
  this.token = arg1;
37
32
  this.policy = policy;
38
33
  this.resolveFn = resolveFn;
@@ -46,14 +41,11 @@ export class Resolvable {
46
41
  (Object.prototype.hasOwnProperty.call(arg1, "resolveFn") ||
47
42
  Object.prototype.hasOwnProperty.call(arg1, "data"))
48
43
  ) {
49
- const literal = arg1;
50
- return new Resolvable(
51
- literal.token,
52
- literal.resolveFn,
53
- literal.deps,
54
- literal.policy,
55
- literal.data,
56
- );
44
+ this.token = arg1.token;
45
+ this.resolveFn = arg1.resolveFn;
46
+ this.deps = arg1.deps;
47
+ this.policy = arg1.policy;
48
+ this.data = arg1.data;
57
49
  }
58
50
  }
59
51
  getPolicy(state) {
@@ -7,7 +7,7 @@ import { PathUtils } from "../path/path-utils";
7
7
  import { stringify } from "../../shared/strings";
8
8
  import { isUndefined } from "../../shared/utils";
9
9
 
10
- export let resolvePolicies = {
10
+ export const resolvePolicies = {
11
11
  when: {
12
12
  LAZY: "LAZY",
13
13
  EAGER: "EAGER",
@@ -18,10 +18,8 @@ export let resolvePolicies = {
18
18
  },
19
19
  };
20
20
 
21
- const whens = resolvePolicies.when;
22
- const ALL_WHENS = [whens.EAGER, whens.LAZY];
23
- const EAGER_WHENS = [whens.EAGER];
24
- export const NATIVE_INJECTOR_TOKEN = "Native Injector";
21
+ const ALL_WHENS = [resolvePolicies.when.EAGER, resolvePolicies.when.LAZY];
22
+ const EAGER_WHENS = [resolvePolicies.when.EAGER];
25
23
  /**
26
24
  * Encapsulates Dependency Injection for a path of nodes
27
25
  *
@@ -667,6 +667,7 @@ export class StateService {
667
667
  defaultErrorHandler(handler) {
668
668
  return (this._defaultErrorHandler = handler || this._defaultErrorHandler);
669
669
  }
670
+
670
671
  get(stateOrName, base) {
671
672
  const reg = this.stateRegistry;
672
673
  if (arguments.length === 0) return reg.get();