@angular-wave/angular.ts 0.1.0 → 0.1.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 (781) hide show
  1. package/README.md +2 -10
  2. package/dist/angular-ts.esm.js +2 -2
  3. package/dist/angular-ts.umd.js +2 -2
  4. package/package.json +3 -3
  5. package/src/animations/animate-css.js +6 -2
  6. package/src/animations/animate.js +1 -17
  7. package/src/core/compile/attributes.js +0 -20
  8. package/src/core/compile/compile.js +0 -5
  9. package/src/core/controller/controller.js +1 -9
  10. package/src/core/exception-handler.js +0 -3
  11. package/src/core/interpolate/interpolate.js +0 -14
  12. package/src/core/q/q.js +0 -5
  13. package/src/core/sce/sce.js +0 -400
  14. package/src/core/sce/sce.md +300 -0
  15. package/src/core/scope/scope.js +1 -75
  16. package/src/core/url-utils/url-utils.js +0 -47
  17. package/src/core/url-utils/url-utils.md +46 -0
  18. package/src/directive/aria/aria.js +1 -6
  19. package/src/directive/class/class.js +0 -16
  20. package/src/directive/form/form.js +0 -41
  21. package/src/directive/model/model.js +3 -49
  22. package/src/directive/ref/ref.js +0 -5
  23. package/src/directive/script/script.js +0 -15
  24. package/src/directive/script/script.md +11 -0
  25. package/src/directive/select/select.js +0 -13
  26. package/src/directive/transclude/transclude.js +0 -5
  27. package/src/directive/validators/validators.js +0 -15
  28. package/src/router/directives/view-directive.js +0 -11
  29. package/src/services/browser.js +0 -8
  30. package/src/services/cache-factory.js +0 -42
  31. package/src/services/http/http.js +0 -17
  32. package/src/services/http-backend/http-backend.js +0 -4
  33. package/src/services/log.js +4 -9
  34. package/src/types.js +9 -17
  35. package/typedoc/.nojekyll +1 -0
  36. package/typedoc/assets/highlight.css +162 -0
  37. package/typedoc/assets/icons.js +18 -0
  38. package/typedoc/assets/icons.svg +1 -0
  39. package/typedoc/assets/main.js +60 -0
  40. package/typedoc/assets/navigation.js +1 -0
  41. package/typedoc/assets/search.js +1 -0
  42. package/typedoc/assets/style.css +1448 -0
  43. package/typedoc/classes/animations_animate.AnimateProvider.html +71 -0
  44. package/typedoc/classes/animations_animate_cache.__AnimateCacheProvider.html +3 -0
  45. package/typedoc/classes/animations_animate_css._AnimateCssProvider.html +3 -0
  46. package/typedoc/classes/animations_animate_css_driver.__AnimateCssDriverProvider.html +4 -0
  47. package/typedoc/classes/animations_animate_js.__AnimateJsProvider.html +4 -0
  48. package/typedoc/classes/animations_animate_js_driver.__AnimateJsDriverProvider.html +4 -0
  49. package/typedoc/classes/animations_animate_queue.__AnimateQueueProvider.html +5 -0
  50. package/typedoc/classes/animations_animate_runner.AnimateAsyncRunFactoryProvider.html +3 -0
  51. package/typedoc/classes/animations_animate_runner.AnimateRunner.html +22 -0
  52. package/typedoc/classes/animations_animate_runner.AnimateRunnerFactoryProvider.html +3 -0
  53. package/typedoc/classes/animations_animation.__AnimationProvider.html +4 -0
  54. package/typedoc/classes/animations_raf_scheduler.RafSchedulerProvider.html +6 -0
  55. package/typedoc/classes/core_compile_attributes.Attributes.html +51 -0
  56. package/typedoc/classes/core_compile_compile._CompileProvider.html +98 -0
  57. package/typedoc/classes/core_controller_controller._ControllerProvider.html +18 -0
  58. package/typedoc/classes/core_di_internal_injector.InjectorService.html +20 -0
  59. package/typedoc/classes/core_di_internal_injector.ProviderInjector.html +21 -0
  60. package/typedoc/classes/core_di_ng_module.NgModule.html +34 -0
  61. package/typedoc/classes/core_exception_handler._ExceptionHandlerProvider.html +3 -0
  62. package/typedoc/classes/core_filter_filter._FilterProvider.html +5 -0
  63. package/typedoc/classes/core_interpolate_interpolate._InterpolateProvider.html +25 -0
  64. package/typedoc/classes/core_interval_interval._IntervalProvider.html +3 -0
  65. package/typedoc/classes/core_interval_interval_factory.__IntervalFactoryProvider.html +3 -0
  66. package/typedoc/classes/core_location_location.Location.html +94 -0
  67. package/typedoc/classes/core_location_location.LocationHashbangUrl.html +101 -0
  68. package/typedoc/classes/core_location_location.LocationHtml5Url.html +99 -0
  69. package/typedoc/classes/core_location_location._LocationProvider.html +27 -0
  70. package/typedoc/classes/core_parser_ast.AST.html +93 -0
  71. package/typedoc/classes/core_parser_interpreter.ASTInterpreter.html +144 -0
  72. package/typedoc/classes/core_parser_lexer.Lexer.html +64 -0
  73. package/typedoc/classes/core_parser_parse._ParseProvider.html +19 -0
  74. package/typedoc/classes/core_parser_parser.Parser.html +8 -0
  75. package/typedoc/classes/core_pubsub_pubsub.PubSub.html +71 -0
  76. package/typedoc/classes/core_q_q._QProvider.html +9 -0
  77. package/typedoc/classes/core_q_q.__QProvider.html +4 -0
  78. package/typedoc/classes/core_sanitize_sanitize_uri.SanitizeUriProvider.html +32 -0
  79. package/typedoc/classes/core_sce_sce._SceDelegateProvider.html +67 -0
  80. package/typedoc/classes/core_sce_sce._SceProvider.html +7 -0
  81. package/typedoc/classes/core_scope_scope.Scope.html +350 -0
  82. package/typedoc/classes/core_scope_scope._RootScopeProvider.html +10 -0
  83. package/typedoc/classes/core_task_tracker_factory.TaskTracker.html +29 -0
  84. package/typedoc/classes/core_task_tracker_factory.__TaskTrackerFactoryProvider.html +3 -0
  85. package/typedoc/classes/core_timeout_timeout._TimeoutProvider.html +3 -0
  86. package/typedoc/classes/directive_aria_aria.AriaProvider.html +14 -0
  87. package/typedoc/classes/directive_form_form.FormController.html +138 -0
  88. package/typedoc/classes/directive_model_model.NgModelController.html +235 -0
  89. package/typedoc/classes/loader.Angular.html +68 -0
  90. package/typedoc/classes/router_common_glob.Glob.html +10 -0
  91. package/typedoc/classes/router_common_queue.Queue.html +14 -0
  92. package/typedoc/classes/router_common_trace.Trace.html +42 -0
  93. package/typedoc/classes/router_globals.UIRouterGlobals.html +12 -0
  94. package/typedoc/classes/router_params_param.Param.html +34 -0
  95. package/typedoc/classes/router_params_param_factory.ParamFactory.html +6 -0
  96. package/typedoc/classes/router_params_param_type.ParamType.html +35 -0
  97. package/typedoc/classes/router_params_param_types.ParamTypes.html +28 -0
  98. package/typedoc/classes/router_params_state_params.StateParams.html +8 -0
  99. package/typedoc/classes/router_path_path_node.PathNode.html +30 -0
  100. package/typedoc/classes/router_path_path_utils.PathUtils.html +47 -0
  101. package/typedoc/classes/router_resolve_resolvable.Resolvable.html +29 -0
  102. package/typedoc/classes/router_resolve_resolve_context.ResolveContext.html +46 -0
  103. package/typedoc/classes/router_state_state_builder.StateBuilder.html +20 -0
  104. package/typedoc/classes/router_state_state_matcher.StateMatcher.html +6 -0
  105. package/typedoc/classes/router_state_state_object.StateObject.html +45 -0
  106. package/typedoc/classes/router_state_state_queue_manager.StateQueueManager.html +11 -0
  107. package/typedoc/classes/router_state_state_registry.StateRegistry.html +60 -0
  108. package/typedoc/classes/router_state_state_service.StateService.html +232 -0
  109. package/typedoc/classes/router_state_target_state.TargetState.html +72 -0
  110. package/typedoc/classes/router_state_views.Ng1ViewConfig.html +22 -0
  111. package/typedoc/classes/router_template_factory.TemplateFactory.html +56 -0
  112. package/typedoc/classes/router_transition_hook_builder.HookBuilder.html +32 -0
  113. package/typedoc/classes/router_transition_hook_registry.RegisteredHook.html +41 -0
  114. package/typedoc/classes/router_transition_reject_factory.Rejection.html +27 -0
  115. package/typedoc/classes/router_transition_transition.Transition.html +189 -0
  116. package/typedoc/classes/router_transition_transition_event_type.TransitionEventType.html +16 -0
  117. package/typedoc/classes/router_transition_transition_hook.TransitionHook.html +51 -0
  118. package/typedoc/classes/router_transition_transition_service.TransitionService.html +47 -0
  119. package/typedoc/classes/router_url_url_config.UrlConfigProvider.html +57 -0
  120. package/typedoc/classes/router_url_url_matcher.UrlMatcher.html +120 -0
  121. package/typedoc/classes/router_url_url_rule.BaseUrlRule.html +11 -0
  122. package/typedoc/classes/router_url_url_rule.UrlRuleFactory.html +55 -0
  123. package/typedoc/classes/router_url_url_rules.UrlRules.html +150 -0
  124. package/typedoc/classes/router_url_url_service.UrlService.html +138 -0
  125. package/typedoc/classes/router_view_scroll._ViewScrollProvider.html +4 -0
  126. package/typedoc/classes/router_view_view.ViewService.html +109 -0
  127. package/typedoc/classes/services_anchor_scroll.AnchorScrollProvider.html +4 -0
  128. package/typedoc/classes/services_browser.Browser.html +65 -0
  129. package/typedoc/classes/services_browser.BrowserProvider.html +9 -0
  130. package/typedoc/classes/services_cache_factory.CacheFactoryProvider.html +3 -0
  131. package/typedoc/classes/services_cache_factory.TemplateCacheProvider.html +53 -0
  132. package/typedoc/classes/services_http_backend_http_backend._HttpBackendProvider.html +11 -0
  133. package/typedoc/classes/services_http_http._HttpParamSerializerJQLikeProvider.html +31 -0
  134. package/typedoc/classes/services_http_http._HttpParamSerializerProvider.html +21 -0
  135. package/typedoc/classes/services_http_http._HttpProvider.html +19 -0
  136. package/typedoc/classes/services_log._LogProvider.html +9 -0
  137. package/typedoc/classes/services_template_request.TemplateRequestProvider.html +31 -0
  138. package/typedoc/classes/shared_jqlite_jqlite.JQLite.html +62 -0
  139. package/typedoc/enums/core_parser_ast_type.ASTType.html +18 -0
  140. package/typedoc/enums/core_scope_scope.ScopePhase.html +4 -0
  141. package/typedoc/enums/router_transition_reject_factory.RejectType.html +23 -0
  142. package/typedoc/functions/animations_animate.domInsert.html +1 -0
  143. package/typedoc/functions/animations_animate_cache.animateCache.html +29 -0
  144. package/typedoc/functions/animations_animate_children_directive.__AnimateChildrenDirective.html +2 -0
  145. package/typedoc/functions/animations_animate_swap.ngAnimateSwapDirective.html +2 -0
  146. package/typedoc/functions/animations_shared.applyAnimationClassesFactory.html +1 -0
  147. package/typedoc/functions/animations_shared.applyAnimationFromStyles.html +1 -0
  148. package/typedoc/functions/animations_shared.applyAnimationStyles.html +1 -0
  149. package/typedoc/functions/animations_shared.applyAnimationToStyles.html +1 -0
  150. package/typedoc/functions/animations_shared.applyGeneratedPreparationClasses.html +1 -0
  151. package/typedoc/functions/animations_shared.applyInlineStyle.html +1 -0
  152. package/typedoc/functions/animations_shared.assertArg.html +1 -0
  153. package/typedoc/functions/animations_shared.blockKeyframeAnimations.html +1 -0
  154. package/typedoc/functions/animations_shared.clearGeneratedClasses.html +1 -0
  155. package/typedoc/functions/animations_shared.concatWithSpace.html +1 -0
  156. package/typedoc/functions/animations_shared.extractElementNode.html +1 -0
  157. package/typedoc/functions/animations_shared.getDomNode.html +1 -0
  158. package/typedoc/functions/animations_shared.mergeAnimationDetails.html +1 -0
  159. package/typedoc/functions/animations_shared.mergeClasses.html +1 -0
  160. package/typedoc/functions/animations_shared.ngMinErr.html +1 -0
  161. package/typedoc/functions/animations_shared.packageStyles.html +1 -0
  162. package/typedoc/functions/animations_shared.pendClasses.html +1 -0
  163. package/typedoc/functions/animations_shared.prepareAnimationOptions.html +1 -0
  164. package/typedoc/functions/animations_shared.removeFromArray.html +1 -0
  165. package/typedoc/functions/animations_shared.resolveElementClasses.html +1 -0
  166. package/typedoc/functions/animations_shared.stripCommentsFromElement.html +1 -0
  167. package/typedoc/functions/core_controller_controller.identifierForController.html +1 -0
  168. package/typedoc/functions/core_di_injector.annotate.html +1 -0
  169. package/typedoc/functions/core_di_injector.createInjector.html +1 -0
  170. package/typedoc/functions/core_exception_handler.errorHandler-1.html +3 -0
  171. package/typedoc/functions/core_location_location.serverBase.html +1 -0
  172. package/typedoc/functions/core_location_location.stripBaseUrl.html +3 -0
  173. package/typedoc/functions/core_location_location.stripFile.html +1 -0
  174. package/typedoc/functions/core_location_location.stripHash.html +1 -0
  175. package/typedoc/functions/core_parser_interpreter.isAssignable.html +1 -0
  176. package/typedoc/functions/core_parser_parse.constantWatchDelegate.html +1 -0
  177. package/typedoc/functions/core_q_q.markQExceptionHandled.html +1 -0
  178. package/typedoc/functions/core_sce_sce.adjustMatcher.html +1 -0
  179. package/typedoc/functions/core_sce_sce.escapeForRegexp.html +1 -0
  180. package/typedoc/functions/core_scope_scope.countChildScopes.html +4 -0
  181. package/typedoc/functions/core_scope_scope.countWatchers.html +5 -0
  182. package/typedoc/functions/core_url_utils_url_utils.getBaseUrl.html +2 -0
  183. package/typedoc/functions/core_url_utils_url_utils.urlIsAllowedOriginFactory.html +8 -0
  184. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOrigin.html +6 -0
  185. package/typedoc/functions/core_url_utils_url_utils.urlIsSameOriginAsBaseUrl.html +7 -0
  186. package/typedoc/functions/core_url_utils_url_utils.urlResolve.html +1 -0
  187. package/typedoc/functions/core_url_utils_url_utils.urlsAreSameOrigin.html +9 -0
  188. package/typedoc/functions/directive_aria_aria.ngCheckedAriaDirective.html +2 -0
  189. package/typedoc/functions/directive_aria_aria.ngClickAriaDirective.html +2 -0
  190. package/typedoc/functions/directive_aria_aria.ngDblclickAriaDirective.html +2 -0
  191. package/typedoc/functions/directive_aria_aria.ngDisabledAriaDirective.html +2 -0
  192. package/typedoc/functions/directive_aria_aria.ngHideAriaDirective.html +2 -0
  193. package/typedoc/functions/directive_aria_aria.ngMessagesAriaDirective.html +1 -0
  194. package/typedoc/functions/directive_aria_aria.ngModelAriaDirective.html +2 -0
  195. package/typedoc/functions/directive_aria_aria.ngReadonlyAriaDirective.html +2 -0
  196. package/typedoc/functions/directive_aria_aria.ngRequiredAriaDirective.html +2 -0
  197. package/typedoc/functions/directive_aria_aria.ngShowAriaDirective.html +2 -0
  198. package/typedoc/functions/directive_aria_aria.ngValueAriaDirective.html +2 -0
  199. package/typedoc/functions/directive_bind_bind.ngBindDirective.html +1 -0
  200. package/typedoc/functions/directive_bind_bind.ngBindTemplateDirective.html +1 -0
  201. package/typedoc/functions/directive_change_change.ngChangeDirective.html +1 -0
  202. package/typedoc/functions/directive_cloak_cloak.ngCloakDirective.html +1 -0
  203. package/typedoc/functions/directive_events_events.createEventDirective.html +1 -0
  204. package/typedoc/functions/directive_form_form.addSetValidityMethod.html +1 -0
  205. package/typedoc/functions/directive_form_form.isObjectEmpty.html +1 -0
  206. package/typedoc/functions/directive_form_form.setupValidity.html +1 -0
  207. package/typedoc/functions/directive_if_if.ngIfDirective.html +3 -0
  208. package/typedoc/functions/directive_init_init.ngInitDirective.html +1 -0
  209. package/typedoc/functions/directive_input_input.badInputChecker.html +1 -0
  210. package/typedoc/functions/directive_input_input.countDecimals.html +1 -0
  211. package/typedoc/functions/directive_input_input.createDateInputType.html +1 -0
  212. package/typedoc/functions/directive_input_input.createDateParser.html +1 -0
  213. package/typedoc/functions/directive_input_input.hiddenInputBrowserCacheDirective.html +1 -0
  214. package/typedoc/functions/directive_input_input.inputDirective.html +2 -0
  215. package/typedoc/functions/directive_input_input.isNumberInteger.html +1 -0
  216. package/typedoc/functions/directive_input_input.isValidForStep.html +1 -0
  217. package/typedoc/functions/directive_input_input.ngValueDirective.html +1 -0
  218. package/typedoc/functions/directive_input_input.numberFormatterParser.html +1 -0
  219. package/typedoc/functions/directive_input_input.numberInputType.html +1 -0
  220. package/typedoc/functions/directive_input_input.rangeInputType.html +1 -0
  221. package/typedoc/functions/directive_input_input.weekParser.html +1 -0
  222. package/typedoc/functions/directive_list_list.ngListDirective.html +1 -0
  223. package/typedoc/functions/directive_messages_messages.ngMessageDefaultDirective.html +2 -0
  224. package/typedoc/functions/directive_messages_messages.ngMessageDirective.html +2 -0
  225. package/typedoc/functions/directive_messages_messages.ngMessageExpDirective.html +2 -0
  226. package/typedoc/functions/directive_messages_messages.ngMessagesDirective.html +2 -0
  227. package/typedoc/functions/directive_messages_messages.ngMessagesIncludeDirective.html +2 -0
  228. package/typedoc/functions/directive_model_model.ngModelDirective.html +2 -0
  229. package/typedoc/functions/directive_model_model.ngModelMinErr.html +1 -0
  230. package/typedoc/functions/directive_model_options_model_options.ngModelOptionsDirective.html +1 -0
  231. package/typedoc/functions/directive_non_bindable_non_bindable.ngNonBindableDirective.html +1 -0
  232. package/typedoc/functions/directive_select_select.optionDirective.html +2 -0
  233. package/typedoc/functions/directive_select_select.selectDirective.html +1 -0
  234. package/typedoc/functions/directive_show_hide_show_hide.ngHideDirective.html +2 -0
  235. package/typedoc/functions/directive_show_hide_show_hide.ngShowDirective.html +2 -0
  236. package/typedoc/functions/directive_style_style.ngStyleDirective.html +1 -0
  237. package/typedoc/functions/directive_switch_switch.ngSwitchDefaultDirective.html +1 -0
  238. package/typedoc/functions/directive_switch_switch.ngSwitchWhenDirective.html +1 -0
  239. package/typedoc/functions/filters_filter.filterFilter.html +1 -0
  240. package/typedoc/functions/filters_filters.formatNumber.html +7 -0
  241. package/typedoc/functions/filters_filters.jsonFilter.html +1 -0
  242. package/typedoc/functions/filters_limit_to.limitToFilter.html +1 -0
  243. package/typedoc/functions/filters_order_by.orderByFilter.html +2 -0
  244. package/typedoc/functions/public.publishExternalAPI.html +3 -0
  245. package/typedoc/functions/router.initRouter.html +1 -0
  246. package/typedoc/functions/router_directives_state_directives._StateRefActiveDirective.html +2 -0
  247. package/typedoc/functions/router_directives_state_directives._StateRefDirective.html +2 -0
  248. package/typedoc/functions/router_directives_state_directives._StateRefDynamicDirective.html +2 -0
  249. package/typedoc/functions/router_directives_view_directive._ViewDirectiveFill.html +2 -0
  250. package/typedoc/functions/router_hooks_core_resolvables.registerAddCoreResolvables.html +1 -0
  251. package/typedoc/functions/router_hooks_core_resolvables.treeChangesCleanup.html +1 -0
  252. package/typedoc/functions/router_hooks_ignored_transition.registerIgnoredTransitionHook.html +1 -0
  253. package/typedoc/functions/router_hooks_invalid_transition.registerInvalidTransitionHook.html +1 -0
  254. package/typedoc/functions/router_hooks_lazy_load.lazyLoadState.html +5 -0
  255. package/typedoc/functions/router_hooks_lazy_load.registerLazyLoadHook.html +31 -0
  256. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnEnterHook.html +1 -0
  257. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnExitHook.html +1 -0
  258. package/typedoc/functions/router_hooks_on_enter_exit_retain.registerOnRetainHook.html +1 -0
  259. package/typedoc/functions/router_hooks_redirect_to.registerRedirectToHook.html +1 -0
  260. package/typedoc/functions/router_hooks_resolve.registerEagerResolvePath.html +1 -0
  261. package/typedoc/functions/router_hooks_resolve.registerLazyResolveState.html +1 -0
  262. package/typedoc/functions/router_hooks_resolve.registerResolveRemaining.html +1 -0
  263. package/typedoc/functions/router_hooks_update_globals.registerUpdateGlobalState.html +1 -0
  264. package/typedoc/functions/router_hooks_url.registerUpdateUrl.html +1 -0
  265. package/typedoc/functions/router_hooks_views.registerActivateViews.html +1 -0
  266. package/typedoc/functions/router_hooks_views.registerLoadEnteringViews.html +1 -0
  267. package/typedoc/functions/router_services.runBlock.html +2 -0
  268. package/typedoc/functions/router_services.watchDigests.html +2 -0
  269. package/typedoc/functions/router_state_filters._IncludedByStateFilter.html +7 -0
  270. package/typedoc/functions/router_state_filters._IsStateFilter.html +7 -0
  271. package/typedoc/functions/router_state_state_builder.resolvablesBuilder.html +30 -0
  272. package/typedoc/functions/router_state_state_registry.getLocals.html +1 -0
  273. package/typedoc/functions/router_state_views.getNg1ViewConfigFactory.html +1 -0
  274. package/typedoc/functions/router_state_views.ng1ViewsBuilder.html +6 -0
  275. package/typedoc/functions/router_transition_hook_registry.makeEvent.html +2 -0
  276. package/typedoc/functions/router_transition_hook_registry.matchState.html +9 -0
  277. package/typedoc/functions/services_browser.trimEmptyHash.html +2 -0
  278. package/typedoc/functions/services_cookie_reader.getCookies.html +2 -0
  279. package/typedoc/functions/services_http_backend_http_backend.createHttpBackend.html +1 -0
  280. package/typedoc/functions/services_http_http.defaultHttpResponseTransform.html +1 -0
  281. package/typedoc/functions/shared_common._removeFrom.html +1 -0
  282. package/typedoc/functions/shared_common.allTrueR.html +5 -0
  283. package/typedoc/functions/shared_common.ancestors.html +5 -0
  284. package/typedoc/functions/shared_common.anyTrueR.html +8 -0
  285. package/typedoc/functions/shared_common.applyPairs.html +7 -0
  286. package/typedoc/functions/shared_common.arrayTuples.html +6 -0
  287. package/typedoc/functions/shared_common.assertFn.html +1 -0
  288. package/typedoc/functions/shared_common.assertMap.html +5 -0
  289. package/typedoc/functions/shared_common.assertPredicate.html +5 -0
  290. package/typedoc/functions/shared_common.copy.html +2 -0
  291. package/typedoc/functions/shared_common.createProxyFunctions.html +17 -0
  292. package/typedoc/functions/shared_common.defaults.html +4 -0
  293. package/typedoc/functions/shared_common.deregAll.html +2 -0
  294. package/typedoc/functions/shared_common.equals.html +1 -0
  295. package/typedoc/functions/shared_common.filter.html +2 -0
  296. package/typedoc/functions/shared_common.find.html +2 -0
  297. package/typedoc/functions/shared_common.flatten.html +5 -0
  298. package/typedoc/functions/shared_common.flattenR.html +5 -0
  299. package/typedoc/functions/shared_common.forEach.html +2 -0
  300. package/typedoc/functions/shared_common.inherit.html +8 -0
  301. package/typedoc/functions/shared_common.map.html +2 -0
  302. package/typedoc/functions/shared_common.mapObj.html +3 -0
  303. package/typedoc/functions/shared_common.mergeR.html +2 -0
  304. package/typedoc/functions/shared_common.omit.html +7 -0
  305. package/typedoc/functions/shared_common.pairs.html +5 -0
  306. package/typedoc/functions/shared_common.pick.html +7 -0
  307. package/typedoc/functions/shared_common.pluck.html +2 -0
  308. package/typedoc/functions/shared_common.pushR.html +3 -0
  309. package/typedoc/functions/shared_common.silenceUncaughtInPromise.html +1 -0
  310. package/typedoc/functions/shared_common.silentRejection.html +1 -0
  311. package/typedoc/functions/shared_common.tail.html +2 -0
  312. package/typedoc/functions/shared_common.uniqR.html +2 -0
  313. package/typedoc/functions/shared_common.unnest.html +5 -0
  314. package/typedoc/functions/shared_common.unnestR.html +5 -0
  315. package/typedoc/functions/shared_hof.all.html +4 -0
  316. package/typedoc/functions/shared_hof.and.html +3 -0
  317. package/typedoc/functions/shared_hof.any.html +1 -0
  318. package/typedoc/functions/shared_hof.compose.html +5 -0
  319. package/typedoc/functions/shared_hof.curry.html +11 -0
  320. package/typedoc/functions/shared_hof.eq.html +2 -0
  321. package/typedoc/functions/shared_hof.invoke.html +1 -0
  322. package/typedoc/functions/shared_hof.is.html +2 -0
  323. package/typedoc/functions/shared_hof.or.html +3 -0
  324. package/typedoc/functions/shared_hof.parse.html +7 -0
  325. package/typedoc/functions/shared_hof.pattern.html +15 -0
  326. package/typedoc/functions/shared_hof.pipe.html +5 -0
  327. package/typedoc/functions/shared_hof.prop.html +5 -0
  328. package/typedoc/functions/shared_hof.val.html +2 -0
  329. package/typedoc/functions/shared_jqlite_jqlite.buildFragment.html +1 -0
  330. package/typedoc/functions/shared_jqlite_jqlite.cleanElementData.html +3 -0
  331. package/typedoc/functions/shared_jqlite_jqlite.dealoc.html +1 -0
  332. package/typedoc/functions/shared_jqlite_jqlite.getBlockNodes.html +4 -0
  333. package/typedoc/functions/shared_jqlite_jqlite.getBooleanAttrName.html +1 -0
  334. package/typedoc/functions/shared_jqlite_jqlite.getOrSetCacheData.html +8 -0
  335. package/typedoc/functions/shared_jqlite_jqlite.isTextNode.html +3 -0
  336. package/typedoc/functions/shared_jqlite_jqlite.kebabToCamel.html +3 -0
  337. package/typedoc/functions/shared_jqlite_jqlite.removeElement.html +1 -0
  338. package/typedoc/functions/shared_jqlite_jqlite.removeElementData.html +5 -0
  339. package/typedoc/functions/shared_jqlite_jqlite.snakeToCamel.html +2 -0
  340. package/typedoc/functions/shared_jqlite_jqlite.startingTag.html +2 -0
  341. package/typedoc/functions/shared_predicates.isInjectable.html +4 -0
  342. package/typedoc/functions/shared_predicates.isNull.html +1 -0
  343. package/typedoc/functions/shared_predicates.isNullOrUndefined.html +1 -0
  344. package/typedoc/functions/shared_predicates.isPromise.html +3 -0
  345. package/typedoc/functions/shared_strings.beforeAfterSubstr.html +2 -0
  346. package/typedoc/functions/shared_strings.fnToString.html +1 -0
  347. package/typedoc/functions/shared_strings.functionToString.html +1 -0
  348. package/typedoc/functions/shared_strings.joinNeighborsR.html +7 -0
  349. package/typedoc/functions/shared_strings.kebobString.html +1 -0
  350. package/typedoc/functions/shared_strings.maxLength.html +6 -0
  351. package/typedoc/functions/shared_strings.padString.html +6 -0
  352. package/typedoc/functions/shared_strings.splitEqual.html +1 -0
  353. package/typedoc/functions/shared_strings.splitHash.html +1 -0
  354. package/typedoc/functions/shared_strings.splitOnDelim.html +5 -0
  355. package/typedoc/functions/shared_strings.splitQuery.html +1 -0
  356. package/typedoc/functions/shared_strings.stringify.html +1 -0
  357. package/typedoc/functions/shared_strings.stripLastPathElement.html +1 -0
  358. package/typedoc/functions/shared_strings.trimHashVal.html +1 -0
  359. package/typedoc/functions/shared_utils.addDateMinutes.html +1 -0
  360. package/typedoc/functions/shared_utils.arrayRemove.html +7 -0
  361. package/typedoc/functions/shared_utils.assert.html +2 -0
  362. package/typedoc/functions/shared_utils.assertArg.html +2 -0
  363. package/typedoc/functions/shared_utils.assertArgFn.html +1 -0
  364. package/typedoc/functions/shared_utils.assertNotHasOwnProperty.html +4 -0
  365. package/typedoc/functions/shared_utils.baseExtend.html +1 -0
  366. package/typedoc/functions/shared_utils.bind.html +8 -0
  367. package/typedoc/functions/shared_utils.concat.html +1 -0
  368. package/typedoc/functions/shared_utils.convertTimezoneToLocal.html +1 -0
  369. package/typedoc/functions/shared_utils.csp.html +1 -0
  370. package/typedoc/functions/shared_utils.directiveNormalize.html +3 -0
  371. package/typedoc/functions/shared_utils.encodeUriQuery.html +10 -0
  372. package/typedoc/functions/shared_utils.encodeUriSegment.html +10 -0
  373. package/typedoc/functions/shared_utils.equals.html +22 -0
  374. package/typedoc/functions/shared_utils.errorHandlingConfig-1.html +1 -0
  375. package/typedoc/functions/shared_utils.extend.html +9 -0
  376. package/typedoc/functions/shared_utils.forEach.html +18 -0
  377. package/typedoc/functions/shared_utils.forEachSorted.html +1 -0
  378. package/typedoc/functions/shared_utils.fromJson.html +4 -0
  379. package/typedoc/functions/shared_utils.getNgAttribute.html +1 -0
  380. package/typedoc/functions/shared_utils.getNodeName.html +3 -0
  381. package/typedoc/functions/shared_utils.getter.html +5 -0
  382. package/typedoc/functions/shared_utils.hasAnimate.html +2 -0
  383. package/typedoc/functions/shared_utils.hasCustomToString.html +1 -0
  384. package/typedoc/functions/shared_utils.hashKey.html +9 -0
  385. package/typedoc/functions/shared_utils.includes.html +1 -0
  386. package/typedoc/functions/shared_utils.inherit.html +1 -0
  387. package/typedoc/functions/shared_utils.isArrayBuffer.html +1 -0
  388. package/typedoc/functions/shared_utils.isArrayLike.html +3 -0
  389. package/typedoc/functions/shared_utils.isBlankObject.html +3 -0
  390. package/typedoc/functions/shared_utils.isBlob.html +1 -0
  391. package/typedoc/functions/shared_utils.isBoolean.html +1 -0
  392. package/typedoc/functions/shared_utils.isDate.html +1 -0
  393. package/typedoc/functions/shared_utils.isDefined.html +4 -0
  394. package/typedoc/functions/shared_utils.isElement.html +1 -0
  395. package/typedoc/functions/shared_utils.isError.html +5 -0
  396. package/typedoc/functions/shared_utils.isFile.html +1 -0
  397. package/typedoc/functions/shared_utils.isFormData.html +1 -0
  398. package/typedoc/functions/shared_utils.isFunction.html +4 -0
  399. package/typedoc/functions/shared_utils.isNumber.html +8 -0
  400. package/typedoc/functions/shared_utils.isNumberNaN.html +1 -0
  401. package/typedoc/functions/shared_utils.isObject.html +5 -0
  402. package/typedoc/functions/shared_utils.isPromiseLike.html +1 -0
  403. package/typedoc/functions/shared_utils.isRegExp.html +4 -0
  404. package/typedoc/functions/shared_utils.isScope.html +1 -0
  405. package/typedoc/functions/shared_utils.isString.html +4 -0
  406. package/typedoc/functions/shared_utils.isTypedArray.html +1 -0
  407. package/typedoc/functions/shared_utils.isUndefined.html +4 -0
  408. package/typedoc/functions/shared_utils.isValidObjectMaxDepth.html +1 -0
  409. package/typedoc/functions/shared_utils.isWindow.html +4 -0
  410. package/typedoc/functions/shared_utils.lowercase.html +4 -0
  411. package/typedoc/functions/shared_utils.merge.html +22 -0
  412. package/typedoc/functions/shared_utils.mergeClasses.html +1 -0
  413. package/typedoc/functions/shared_utils.minErr.html +19 -0
  414. package/typedoc/functions/shared_utils.nextUid.html +6 -0
  415. package/typedoc/functions/shared_utils.parseKeyValue.html +2 -0
  416. package/typedoc/functions/shared_utils.reverseParams.html +2 -0
  417. package/typedoc/functions/shared_utils.setHashKey.html +4 -0
  418. package/typedoc/functions/shared_utils.shallowCopy.html +3 -0
  419. package/typedoc/functions/shared_utils.simpleCompare.html +1 -0
  420. package/typedoc/functions/shared_utils.sliceArgs.html +1 -0
  421. package/typedoc/functions/shared_utils.snakeCase.html +1 -0
  422. package/typedoc/functions/shared_utils.stringify.html +1 -0
  423. package/typedoc/functions/shared_utils.timezoneToOffset.html +1 -0
  424. package/typedoc/functions/shared_utils.toDebugString.html +1 -0
  425. package/typedoc/functions/shared_utils.toInt.html +1 -0
  426. package/typedoc/functions/shared_utils.toJson.html +14 -0
  427. package/typedoc/functions/shared_utils.toKeyValue.html +1 -0
  428. package/typedoc/functions/shared_utils.trim.html +1 -0
  429. package/typedoc/functions/shared_utils.tryDecodeURIComponent.html +3 -0
  430. package/typedoc/functions/shared_utils.uppercase.html +4 -0
  431. package/typedoc/functions/shared_utils.valueFn.html +1 -0
  432. package/typedoc/hierarchy.html +1 -0
  433. package/typedoc/index.html +92 -0
  434. package/typedoc/interfaces/animations_animate.AnimationOptions.html +9 -0
  435. package/typedoc/interfaces/animations_raf_scheduler.RafSchedulerObject.html +3 -0
  436. package/typedoc/interfaces/core_cache_cache.ExpandoStore.html +4 -0
  437. package/typedoc/interfaces/core_compile_attributes.AttributeLike.html +2 -0
  438. package/typedoc/interfaces/core_location_location.DefaultPorts.html +4 -0
  439. package/typedoc/interfaces/core_location_location.Html5Mode.html +4 -0
  440. package/typedoc/interfaces/core_parser_ast.ASTNode.html +46 -0
  441. package/typedoc/interfaces/core_parser_lexer.LexerOptions.html +5 -0
  442. package/typedoc/interfaces/core_parser_lexer.Token.html +13 -0
  443. package/typedoc/interfaces/core_parser_parse.CompiledExpressionProps.html +11 -0
  444. package/typedoc/interfaces/core_parser_parser.ParsedAST.html +5 -0
  445. package/typedoc/interfaces/core_q_q.Deferred.html +9 -0
  446. package/typedoc/interfaces/core_q_q.QPromise.html +12 -0
  447. package/typedoc/interfaces/core_scope_scope.AsyncQueueTask.html +4 -0
  448. package/typedoc/interfaces/directive_model_options_model_options.ModelOptionsConfig.html +10 -0
  449. package/typedoc/interfaces/loader.AngularBootstrapConfig.html +3 -0
  450. package/typedoc/interfaces/router_template_factory.BindingTuple.html +3 -0
  451. package/typedoc/interfaces/services_anchor_scroll.AnchorScrollObject.html +2 -0
  452. package/typedoc/interfaces/services_log.LogService.html +11 -0
  453. package/typedoc/interfaces/shared_utils.ErrorHandlingConfig.html +8 -0
  454. package/typedoc/interfaces/types.Annotated.html +2 -0
  455. package/typedoc/interfaces/types.ChangesObject.html +8 -0
  456. package/typedoc/interfaces/types.Controller.html +32 -0
  457. package/typedoc/interfaces/types.Directive.html +35 -0
  458. package/typedoc/interfaces/types.DirectivePrePost.html +5 -0
  459. package/typedoc/interfaces/types.FormController.html +39 -0
  460. package/typedoc/interfaces/types.Module.html +30 -0
  461. package/typedoc/interfaces/types.NgModelController.html +59 -0
  462. package/typedoc/interfaces/types.NgModelOptions.html +15 -0
  463. package/typedoc/interfaces/types.OnChangesObject.html +5 -0
  464. package/typedoc/interfaces/types.ServiceProviderClass.html +3 -0
  465. package/typedoc/interfaces/types.TranscludeFunctionObject.html +5 -0
  466. package/typedoc/media/CONTRIBUTING.md +246 -0
  467. package/typedoc/media/DEVELOPERS.md +488 -0
  468. package/typedoc/modules/animations_animate.html +5 -0
  469. package/typedoc/modules/animations_animate_cache.html +3 -0
  470. package/typedoc/modules/animations_animate_children_directive.html +2 -0
  471. package/typedoc/modules/animations_animate_css.html +2 -0
  472. package/typedoc/modules/animations_animate_css_driver.html +2 -0
  473. package/typedoc/modules/animations_animate_js.html +2 -0
  474. package/typedoc/modules/animations_animate_js_driver.html +2 -0
  475. package/typedoc/modules/animations_animate_queue.html +2 -0
  476. package/typedoc/modules/animations_animate_runner.html +4 -0
  477. package/typedoc/modules/animations_animate_swap.html +2 -0
  478. package/typedoc/modules/animations_animation.html +2 -0
  479. package/typedoc/modules/animations_raf_scheduler.html +5 -0
  480. package/typedoc/modules/animations_shared.html +45 -0
  481. package/typedoc/modules/core_cache_cache.html +4 -0
  482. package/typedoc/modules/core_compile_attributes.html +3 -0
  483. package/typedoc/modules/core_compile_compile.html +3 -0
  484. package/typedoc/modules/core_controller_controller.html +3 -0
  485. package/typedoc/modules/core_di_injector.html +4 -0
  486. package/typedoc/modules/core_di_internal_injector.html +3 -0
  487. package/typedoc/modules/core_di_ng_module.html +8 -0
  488. package/typedoc/modules/core_exception_handler.html +5 -0
  489. package/typedoc/modules/core_filter_filter.html +2 -0
  490. package/typedoc/modules/core_interpolate_interpolate.html +2 -0
  491. package/typedoc/modules/core_interval_interval.html +3 -0
  492. package/typedoc/modules/core_interval_interval_factory.html +2 -0
  493. package/typedoc/modules/core_location_location.html +11 -0
  494. package/typedoc/modules/core_parser_ast.html +4 -0
  495. package/typedoc/modules/core_parser_ast_type.html +2 -0
  496. package/typedoc/modules/core_parser_interpreter.html +6 -0
  497. package/typedoc/modules/core_parser_lexer.html +4 -0
  498. package/typedoc/modules/core_parser_parse.html +7 -0
  499. package/typedoc/modules/core_parser_parser.html +3 -0
  500. package/typedoc/modules/core_pubsub_pubsub.html +3 -0
  501. package/typedoc/modules/core_q_q.html +6 -0
  502. package/typedoc/modules/core_sanitize_sanitize_uri.html +2 -0
  503. package/typedoc/modules/core_sce_sce.html +6 -0
  504. package/typedoc/modules/core_scope_scope.html +14 -0
  505. package/typedoc/modules/core_task_tracker_factory.html +3 -0
  506. package/typedoc/modules/core_timeout_timeout.html +2 -0
  507. package/typedoc/modules/core_url_utils_url_utils.html +8 -0
  508. package/typedoc/modules/directive_aria_aria.html +13 -0
  509. package/typedoc/modules/directive_attrs_attrs.html +3 -0
  510. package/typedoc/modules/directive_bind_bind.html +4 -0
  511. package/typedoc/modules/directive_change_change.html +2 -0
  512. package/typedoc/modules/directive_class_class.html +4 -0
  513. package/typedoc/modules/directive_cloak_cloak.html +2 -0
  514. package/typedoc/modules/directive_controller_controller.html +2 -0
  515. package/typedoc/modules/directive_events_events.html +3 -0
  516. package/typedoc/modules/directive_form_form.html +9 -0
  517. package/typedoc/modules/directive_if_if.html +2 -0
  518. package/typedoc/modules/directive_include_include.html +3 -0
  519. package/typedoc/modules/directive_init_init.html +2 -0
  520. package/typedoc/modules/directive_input_input.html +18 -0
  521. package/typedoc/modules/directive_list_list.html +2 -0
  522. package/typedoc/modules/directive_messages_messages.html +6 -0
  523. package/typedoc/modules/directive_model_model.html +4 -0
  524. package/typedoc/modules/directive_model_options_model_options.html +4 -0
  525. package/typedoc/modules/directive_non_bindable_non_bindable.html +2 -0
  526. package/typedoc/modules/directive_options_options.html +2 -0
  527. package/typedoc/modules/directive_ref_ref.html +2 -0
  528. package/typedoc/modules/directive_repeat_repeat.html +2 -0
  529. package/typedoc/modules/directive_script_script.html +2 -0
  530. package/typedoc/modules/directive_select_select.html +3 -0
  531. package/typedoc/modules/directive_show_hide_show_hide.html +3 -0
  532. package/typedoc/modules/directive_style_style.html +2 -0
  533. package/typedoc/modules/directive_switch_switch.html +4 -0
  534. package/typedoc/modules/directive_transclude_transclude.html +2 -0
  535. package/typedoc/modules/directive_validators_validators.html +5 -0
  536. package/typedoc/modules/filters_filter.html +2 -0
  537. package/typedoc/modules/filters_filters.html +3 -0
  538. package/typedoc/modules/filters_limit_to.html +2 -0
  539. package/typedoc/modules/filters_order_by.html +2 -0
  540. package/typedoc/modules/index.html +2 -0
  541. package/typedoc/modules/loader.html +3 -0
  542. package/typedoc/modules/public.html +3 -0
  543. package/typedoc/modules/router.html +2 -0
  544. package/typedoc/modules/router_common_coreservices.html +2 -0
  545. package/typedoc/modules/router_common_glob.html +103 -0
  546. package/typedoc/modules/router_common_queue.html +2 -0
  547. package/typedoc/modules/router_common_trace.html +20 -0
  548. package/typedoc/modules/router_directives_state_directives.html +4 -0
  549. package/typedoc/modules/router_directives_view_directive.html +3 -0
  550. package/typedoc/modules/router_globals.html +2 -0
  551. package/typedoc/modules/router_hooks_core_resolvables.html +3 -0
  552. package/typedoc/modules/router_hooks_ignored_transition.html +2 -0
  553. package/typedoc/modules/router_hooks_invalid_transition.html +2 -0
  554. package/typedoc/modules/router_hooks_lazy_load.html +3 -0
  555. package/typedoc/modules/router_hooks_on_enter_exit_retain.html +4 -0
  556. package/typedoc/modules/router_hooks_redirect_to.html +2 -0
  557. package/typedoc/modules/router_hooks_resolve.html +5 -0
  558. package/typedoc/modules/router_hooks_update_globals.html +2 -0
  559. package/typedoc/modules/router_hooks_url.html +2 -0
  560. package/typedoc/modules/router_hooks_views.html +3 -0
  561. package/typedoc/modules/router_params_param.html +3 -0
  562. package/typedoc/modules/router_params_param_factory.html +2 -0
  563. package/typedoc/modules/router_params_param_type.html +2 -0
  564. package/typedoc/modules/router_params_param_types.html +2 -0
  565. package/typedoc/modules/router_params_state_params.html +2 -0
  566. package/typedoc/modules/router_path_path_node.html +2 -0
  567. package/typedoc/modules/router_path_path_utils.html +2 -0
  568. package/typedoc/modules/router_resolve_resolvable.html +3 -0
  569. package/typedoc/modules/router_resolve_resolve_context.html +4 -0
  570. package/typedoc/modules/router_services.html +3 -0
  571. package/typedoc/modules/router_state_filters.html +3 -0
  572. package/typedoc/modules/router_state_state_builder.html +3 -0
  573. package/typedoc/modules/router_state_state_matcher.html +2 -0
  574. package/typedoc/modules/router_state_state_object.html +2 -0
  575. package/typedoc/modules/router_state_state_queue_manager.html +2 -0
  576. package/typedoc/modules/router_state_state_registry.html +3 -0
  577. package/typedoc/modules/router_state_state_service.html +2 -0
  578. package/typedoc/modules/router_state_target_state.html +2 -0
  579. package/typedoc/modules/router_state_views.html +4 -0
  580. package/typedoc/modules/router_template_factory.html +3 -0
  581. package/typedoc/modules/router_transition_hook_builder.html +2 -0
  582. package/typedoc/modules/router_transition_hook_registry.html +4 -0
  583. package/typedoc/modules/router_transition_interface.html +3 -0
  584. package/typedoc/modules/router_transition_reject_factory.html +3 -0
  585. package/typedoc/modules/router_transition_transition.html +2 -0
  586. package/typedoc/modules/router_transition_transition_event_type.html +2 -0
  587. package/typedoc/modules/router_transition_transition_hook.html +2 -0
  588. package/typedoc/modules/router_transition_transition_service.html +3 -0
  589. package/typedoc/modules/router_url_url_config.html +2 -0
  590. package/typedoc/modules/router_url_url_matcher.html +2 -0
  591. package/typedoc/modules/router_url_url_rule.html +3 -0
  592. package/typedoc/modules/router_url_url_rules.html +2 -0
  593. package/typedoc/modules/router_url_url_service.html +2 -0
  594. package/typedoc/modules/router_view_scroll.html +2 -0
  595. package/typedoc/modules/router_view_view.html +2 -0
  596. package/typedoc/modules/services_anchor_scroll.html +5 -0
  597. package/typedoc/modules/services_browser.html +5 -0
  598. package/typedoc/modules/services_cache_factory.html +3 -0
  599. package/typedoc/modules/services_cookie_reader.html +2 -0
  600. package/typedoc/modules/services_http_backend_http_backend.html +3 -0
  601. package/typedoc/modules/services_http_http.html +5 -0
  602. package/typedoc/modules/services_log.html +6 -0
  603. package/typedoc/modules/services_template_request.html +2 -0
  604. package/typedoc/modules/shared_common.html +39 -0
  605. package/typedoc/modules/shared_constants.html +12 -0
  606. package/typedoc/modules/shared_hof.html +18 -0
  607. package/typedoc/modules/shared_jqlite_jqlite.html +15 -0
  608. package/typedoc/modules/shared_predicates.html +8 -0
  609. package/typedoc/modules/shared_strings.html +18 -0
  610. package/typedoc/modules/shared_utils.html +76 -0
  611. package/typedoc/modules/types.html +37 -0
  612. package/typedoc/types/animations_animate.AnimationMethod.html +1 -0
  613. package/typedoc/types/animations_raf_scheduler.RafScheduler.html +1 -0
  614. package/typedoc/types/animations_raf_scheduler.RafSchedulerFunction.html +1 -0
  615. package/typedoc/types/core_compile_compile.CompositeLinkFn.html +1 -0
  616. package/typedoc/types/core_exception_handler.ErrorHandler.html +3 -0
  617. package/typedoc/types/core_exception_handler.ExceptionHandlerProvider.html +1 -0
  618. package/typedoc/types/core_interval_interval.IntervalId.html +2 -0
  619. package/typedoc/types/core_parser_interpreter.DecoratedASTNode.html +1 -0
  620. package/typedoc/types/core_parser_parse.CompiledExpression.html +1 -0
  621. package/typedoc/types/core_parser_parse.CompiledExpressionFunction.html +1 -0
  622. package/typedoc/types/core_parser_parse.ParseService.html +1 -0
  623. package/typedoc/types/core_scope_scope.TTL.html +2 -0
  624. package/typedoc/types/core_scope_scope.WatchExpression.html +1 -0
  625. package/typedoc/types/core_scope_scope.WatchListener.html +2 -0
  626. package/typedoc/types/core_url_utils_url_utils.HttpProtocol.html +1 -0
  627. package/typedoc/types/services_anchor_scroll.AnchorScrollFunction.html +1 -0
  628. package/typedoc/types/services_anchor_scroll.AnchorScrollService.html +1 -0
  629. package/typedoc/types/services_browser.UrlChangeListener.html +1 -0
  630. package/typedoc/types/services_log.LogCall.html +1 -0
  631. package/typedoc/types/types.AnnotatedFunction.html +1 -0
  632. package/typedoc/types/types.AsyncModelValidators.html +1 -0
  633. package/typedoc/types/types.Attributes.html +1 -0
  634. package/typedoc/types/types.BootstrapConfig.html +1 -0
  635. package/typedoc/types/types.CloneAttachFunction.html +2 -0
  636. package/typedoc/types/types.ComponentOptions.html +1 -0
  637. package/typedoc/types/types.ControllerConstructor.html +1 -0
  638. package/typedoc/types/types.DirectiveCompileFn.html +3 -0
  639. package/typedoc/types/types.DirectiveController.html +1 -0
  640. package/typedoc/types/types.DirectiveFactory.html +1 -0
  641. package/typedoc/types/types.DirectiveLinkFn.html +1 -0
  642. package/typedoc/types/types.FilterFactory.html +1 -0
  643. package/typedoc/types/types.FilterFunction.html +1 -0
  644. package/typedoc/types/types.Injectable.html +1 -0
  645. package/typedoc/types/types.ModelValidators.html +1 -0
  646. package/typedoc/types/types.ServiceProviderFactory.html +1 -0
  647. package/typedoc/types/types.TAttributes.html +1 -0
  648. package/typedoc/types/types.TController.html +1 -0
  649. package/typedoc/types/types.TElement.html +1 -0
  650. package/typedoc/types/types.TScope.html +1 -0
  651. package/typedoc/types/types.TranscludeFunction.html +1 -0
  652. package/typedoc/types/types.transcludeWithScope.html +1 -0
  653. package/typedoc/types/types.transcludeWithoutScope.html +1 -0
  654. package/typedoc/variables/animations_shared.ACTIVE_CLASS_SUFFIX.html +1 -0
  655. package/typedoc/variables/animations_shared.ADD_CLASS_SUFFIX.html +1 -0
  656. package/typedoc/variables/animations_shared.ANIMATIONEND_EVENT.html +1 -0
  657. package/typedoc/variables/animations_shared.ANIMATION_DELAY_PROP.html +1 -0
  658. package/typedoc/variables/animations_shared.ANIMATION_DURATION_PROP.html +1 -0
  659. package/typedoc/variables/animations_shared.ANIMATION_ITERATION_COUNT_KEY.html +1 -0
  660. package/typedoc/variables/animations_shared.ANIMATION_PLAYSTATE_KEY.html +1 -0
  661. package/typedoc/variables/animations_shared.ANIMATION_PROP.html +1 -0
  662. package/typedoc/variables/animations_shared.CSS_PREFIX.html +1 -0
  663. package/typedoc/variables/animations_shared.DELAY_KEY.html +1 -0
  664. package/typedoc/variables/animations_shared.DURATION_KEY.html +1 -0
  665. package/typedoc/variables/animations_shared.EVENT_CLASS_PREFIX.html +1 -0
  666. package/typedoc/variables/animations_shared.NG_ANIMATE_CHILDREN_DATA.html +1 -0
  667. package/typedoc/variables/animations_shared.NG_ANIMATE_CLASSNAME.html +1 -0
  668. package/typedoc/variables/animations_shared.PREPARE_CLASS_SUFFIX.html +1 -0
  669. package/typedoc/variables/animations_shared.PROPERTY_KEY.html +1 -0
  670. package/typedoc/variables/animations_shared.REMOVE_CLASS_SUFFIX.html +1 -0
  671. package/typedoc/variables/animations_shared.SAFE_FAST_FORWARD_DURATION_VALUE.html +1 -0
  672. package/typedoc/variables/animations_shared.TIMING_KEY.html +1 -0
  673. package/typedoc/variables/animations_shared.TRANSITIONEND_EVENT.html +1 -0
  674. package/typedoc/variables/animations_shared.TRANSITION_DELAY_PROP.html +1 -0
  675. package/typedoc/variables/animations_shared.TRANSITION_DURATION_PROP.html +1 -0
  676. package/typedoc/variables/animations_shared.TRANSITION_PROP.html +1 -0
  677. package/typedoc/variables/core_cache_cache.CACHE.html +5 -0
  678. package/typedoc/variables/core_cache_cache.EXPANDO.html +1 -0
  679. package/typedoc/variables/core_di_injector.path.html +1 -0
  680. package/typedoc/variables/core_di_ng_module.ANIMATION_LITERAL.html +1 -0
  681. package/typedoc/variables/core_di_ng_module.COMPILE_LITERAL.html +1 -0
  682. package/typedoc/variables/core_di_ng_module.CONTROLLER_LITERAL.html +1 -0
  683. package/typedoc/variables/core_di_ng_module.FILTER_LITERAL.html +1 -0
  684. package/typedoc/variables/core_di_ng_module.INJECTOR_LITERAL.html +1 -0
  685. package/typedoc/variables/core_di_ng_module.PROVIDE_LITERAL.html +1 -0
  686. package/typedoc/variables/core_parser_ast.literals.html +1 -0
  687. package/typedoc/variables/core_parser_interpreter.PURITY_ABSOLUTE.html +1 -0
  688. package/typedoc/variables/core_parser_interpreter.PURITY_RELATIVE.html +1 -0
  689. package/typedoc/variables/core_pubsub_pubsub.EventBus.html +1 -0
  690. package/typedoc/variables/core_sce_sce.SCE_CONTEXTS.html +1 -0
  691. package/typedoc/variables/core_scope_scope.TTL-1.html +4 -0
  692. package/typedoc/variables/core_scope_scope.__applyAsyncQueue.html +1 -0
  693. package/typedoc/variables/core_scope_scope.__asyncQueue.html +1 -0
  694. package/typedoc/variables/core_scope_scope.__postDigestQueue.html +1 -0
  695. package/typedoc/variables/directive_attrs_attrs.REGEX_STRING_REGEXP.html +1 -0
  696. package/typedoc/variables/directive_attrs_attrs.ngAttributeAliasDirectives.html +1 -0
  697. package/typedoc/variables/directive_bind_bind.ngBindHtmlDirective.html +2 -0
  698. package/typedoc/variables/directive_class_class.ngClassDirective.html +58 -0
  699. package/typedoc/variables/directive_class_class.ngClassEvenDirective.html +27 -0
  700. package/typedoc/variables/directive_class_class.ngClassOddDirective.html +27 -0
  701. package/typedoc/variables/directive_controller_controller.ngControllerDirective.html +1 -0
  702. package/typedoc/variables/directive_events_events.ngEventDirectives.html +1 -0
  703. package/typedoc/variables/directive_form_form.PENDING_CLASS.html +1 -0
  704. package/typedoc/variables/directive_form_form.formDirective.html +1 -0
  705. package/typedoc/variables/directive_form_form.ngFormDirective.html +1 -0
  706. package/typedoc/variables/directive_form_form.nullFormCtrl.html +1 -0
  707. package/typedoc/variables/directive_include_include.ngIncludeDirective.html +1 -0
  708. package/typedoc/variables/directive_include_include.ngIncludeFillContentDirective.html +1 -0
  709. package/typedoc/variables/directive_input_input.EMAIL_REGEXP.html +1 -0
  710. package/typedoc/variables/directive_input_input.ISO_DATE_REGEXP.html +1 -0
  711. package/typedoc/variables/directive_input_input.URL_REGEXP.html +1 -0
  712. package/typedoc/variables/directive_input_input.VALIDITY_STATE_PROPERTY.html +1 -0
  713. package/typedoc/variables/directive_model_options_model_options.defaultModelOptions.html +1 -0
  714. package/typedoc/variables/directive_options_options.ngOptionsDirective.html +1 -0
  715. package/typedoc/variables/directive_ref_ref.ngRefDirective.html +1 -0
  716. package/typedoc/variables/directive_repeat_repeat.ngRepeatDirective.html +1 -0
  717. package/typedoc/variables/directive_script_script.scriptDirective.html +1 -0
  718. package/typedoc/variables/directive_switch_switch.ngSwitchDirective.html +1 -0
  719. package/typedoc/variables/directive_transclude_transclude.ngTranscludeDirective.html +1 -0
  720. package/typedoc/variables/directive_validators_validators.maxlengthDirective.html +22 -0
  721. package/typedoc/variables/directive_validators_validators.minlengthDirective.html +22 -0
  722. package/typedoc/variables/directive_validators_validators.patternDirective.html +36 -0
  723. package/typedoc/variables/directive_validators_validators.requiredDirective.html +16 -0
  724. package/typedoc/variables/index.angular.html +1 -0
  725. package/typedoc/variables/public.VERSION.html +1 -0
  726. package/typedoc/variables/router_common_coreservices.services.html +1 -0
  727. package/typedoc/variables/router_common_trace.Category.html +7 -0
  728. package/typedoc/variables/router_common_trace.trace-1.html +5 -0
  729. package/typedoc/variables/router_directives_view_directive.ngView.html +59 -0
  730. package/typedoc/variables/router_hooks_resolve.RESOLVE_HOOK_PRIORITY.html +1 -0
  731. package/typedoc/variables/router_params_param.DefType.html +1 -0
  732. package/typedoc/variables/router_resolve_resolvable.defaultResolvePolicy.html +1 -0
  733. package/typedoc/variables/router_resolve_resolve_context.NATIVE_INJECTOR_TOKEN.html +1 -0
  734. package/typedoc/variables/router_resolve_resolve_context.resolvePolicies.html +1 -0
  735. package/typedoc/variables/router_transition_interface.TransitionHookPhase.html +2 -0
  736. package/typedoc/variables/router_transition_interface.TransitionHookScope.html +2 -0
  737. package/typedoc/variables/router_transition_transition_service.defaultTransOpts.html +5 -0
  738. package/typedoc/variables/services_log.LogService-1.html +1 -0
  739. package/typedoc/variables/shared_common.fromJson.html +1 -0
  740. package/typedoc/variables/shared_common.pushTo.html +2 -0
  741. package/typedoc/variables/shared_common.removeFrom.html +3 -0
  742. package/typedoc/variables/shared_common.toJson.html +1 -0
  743. package/typedoc/variables/shared_constants.ALIASED_ATTR.html +1 -0
  744. package/typedoc/variables/shared_constants.DIRTY_CLASS.html +1 -0
  745. package/typedoc/variables/shared_constants.EMPTY_CLASS.html +1 -0
  746. package/typedoc/variables/shared_constants.INVALID_CLASS.html +1 -0
  747. package/typedoc/variables/shared_constants.NOT_EMPTY_CLASS.html +1 -0
  748. package/typedoc/variables/shared_constants.PREFIX_REGEXP.html +1 -0
  749. package/typedoc/variables/shared_constants.PRISTINE_CLASS.html +1 -0
  750. package/typedoc/variables/shared_constants.SPECIAL_CHARS_REGEXP.html +1 -0
  751. package/typedoc/variables/shared_constants.TOUCHED_CLASS.html +1 -0
  752. package/typedoc/variables/shared_constants.UNTOUCHED_CLASS.html +1 -0
  753. package/typedoc/variables/shared_constants.VALID_CLASS.html +1 -0
  754. package/typedoc/variables/shared_hof.propEq.html +6 -0
  755. package/typedoc/variables/shared_jqlite_jqlite.BOOLEAN_ATTR.html +1 -0
  756. package/typedoc/variables/shared_strings.hostRegex.html +1 -0
  757. package/typedoc/variables/shared_utils.ngAttrPrefixes.html +1 -0
  758. package/typedoc.json +6 -0
  759. package/types/animations/animate.d.ts +1 -17
  760. package/types/core/compile/attributes.d.ts +0 -20
  761. package/types/core/compile/compile.d.ts +0 -5
  762. package/types/core/controller/controller.d.ts +0 -4
  763. package/types/core/exception-handler.d.ts +1 -1
  764. package/types/core/interpolate/interpolate.d.ts +0 -6
  765. package/types/core/q/q.d.ts +0 -5
  766. package/types/core/sce/sce.d.ts +0 -265
  767. package/types/core/scope/scope.d.ts +1 -75
  768. package/types/core/task-tracker-factory.d.ts +3 -3
  769. package/types/core/url-utils/url-utils.d.ts +1 -47
  770. package/types/directive/aria/aria.d.ts +0 -6
  771. package/types/directive/class/class.d.ts +0 -16
  772. package/types/directive/form/form.d.ts +0 -24
  773. package/types/directive/model/model.d.ts +5 -49
  774. package/types/directive/script/script.d.ts +0 -15
  775. package/types/directive/validators/validators.d.ts +0 -15
  776. package/types/services/browser.d.ts +0 -8
  777. package/types/services/cache-factory.d.ts +0 -8
  778. package/types/services/http/http.d.ts +0 -13
  779. package/types/services/http-backend/http-backend.d.ts +0 -4
  780. package/types/services/log.d.ts +29 -36
  781. package/types/types.d.ts +130 -3
@@ -0,0 +1,55 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UrlRuleFactory | @angular-wave/angular.ts</title><meta name="description" content="Documentation for @angular-wave/angular.ts"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@angular-wave/angular.ts</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@angular-wave/angular.ts</a></li><li><a href="../modules/router_url_url_rule.html">router/url/url-rule</a></li><li><a href="router_url_url_rule.UrlRuleFactory.html">UrlRuleFactory</a></li></ul><h1>Class UrlRuleFactory</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>Creates a [[UrlRule]]</p>
2
+ <p>Creates a [[UrlRule]] from a:</p>
3
+ <ul>
4
+ <li><code>string</code></li>
5
+ <li>[[UrlMatcher]]</li>
6
+ <li><code>RegExp</code></li>
7
+ <li>[[StateObject]]</li>
8
+ </ul>
9
+ </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L21">router/url/url-rule.js:21</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L199">router/url/url-rule.js:199</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="router_url_url_rule.UrlRuleFactory.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
10
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="router_url_url_rule.UrlRuleFactory.html#routerGlobals" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>router<wbr/>Globals</span></a>
11
+ <a href="router_url_url_rule.UrlRuleFactory.html#stateService" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Service</span></a>
12
+ <a href="router_url_url_rule.UrlRuleFactory.html#urlService" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url<wbr/>Service</span></a>
13
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="router_url_url_rule.UrlRuleFactory.html#create" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a>
14
+ <a href="router_url_url_rule.UrlRuleFactory.html#fromRegExp" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>from<wbr/>Reg<wbr/>Exp</span></a>
15
+ <a href="router_url_url_rule.UrlRuleFactory.html#fromState" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>from<wbr/>State</span></a>
16
+ <a href="router_url_url_rule.UrlRuleFactory.html#fromUrlMatcher" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>from<wbr/>Url<wbr/>Matcher</span></a>
17
+ <a href="router_url_url_rule.UrlRuleFactory.html#isUrlRule" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Url<wbr/>Rule</span></a>
18
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_UrlRuleFactory" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Url<wbr/>Rule<wbr/>Factory</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">urlService</span>, <span class="tsd-kind-parameter">stateService</span>, <span class="tsd-kind-parameter">routerGlobals</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="router_url_url_rule.UrlRuleFactory.html" class="tsd-signature-type tsd-kind-class">UrlRuleFactory</a><a href="#constructor.new_UrlRuleFactory" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">urlService</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">stateService</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">routerGlobals</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="router_url_url_rule.UrlRuleFactory.html" class="tsd-signature-type tsd-kind-class">UrlRuleFactory</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L22">router/url/url-rule.js:22</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="routerGlobals" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>router<wbr/>Globals</span><a href="#routerGlobals" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">router<wbr/>Globals</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L25">router/url/url-rule.js:25</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="stateService" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>state<wbr/>Service</span><a href="#stateService" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">state<wbr/>Service</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L24">router/url/url-rule.js:24</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="urlService" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>url<wbr/>Service</span><a href="#urlService" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">url<wbr/>Service</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L23">router/url/url-rule.js:23</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="create" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>create</span><a href="#create" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="create.create-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">create</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">what</span>, <span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><a href="#create.create-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">what</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L34">router/url/url-rule.js:34</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fromRegExp" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>from<wbr/>Reg<wbr/>Exp</span><a href="#fromRegExp" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="fromRegExp.fromRegExp-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">from<wbr/>Reg<wbr/>Exp</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">regexp</span>, <span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">regexp</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#fromRegExp.fromRegExp-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A UrlRule which matches based on a regular expression</p>
19
+ <p>The <code>handler</code> may be either a [[UrlRuleHandlerFn]] or a string.</p>
20
+ <a id="md:handler-as-a-function" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Handler as a function<a href="#md:handler-as-a-function" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2><p>If <code>handler</code> is a function, the function is invoked with:</p>
21
+ <ul>
22
+ <li>regexp match array (from <code>regexp</code>)</li>
23
+ <li>url: the current Url ([[UrlParts]])</li>
24
+ <li>router: the router object ([[UIRouter]])</li>
25
+ </ul>
26
+ <a id="md:example" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">rule</span><span class="hl-1"> = </span><span class="hl-10">factory</span><span class="hl-1">.</span><span class="hl-0">fromRegExp</span><span class="hl-1">(/^</span><span class="hl-16">/foo/</span><span class="hl-1">(</span><span class="hl-10">bar</span><span class="hl-1">|</span><span class="hl-10">baz</span><span class="hl-1">)</span><span class="hl-10">$</span><span class="hl-1">/, </span><span class="hl-10">match</span><span class="hl-1"> </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-2">&quot;/home/&quot;</span><span class="hl-1"> + </span><span class="hl-10">match</span><span class="hl-1">[</span><span class="hl-12">1</span><span class="hl-1">])</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">match</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">match</span><span class="hl-1">(</span><span class="hl-2">&#39;/foo/bar&#39;</span><span class="hl-1">); </span><span class="hl-9">// results in [ &#39;/foo/bar&#39;, &#39;bar&#39; ]</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">handler</span><span class="hl-1">(</span><span class="hl-10">match</span><span class="hl-1">); </span><span class="hl-9">// &#39;/home/bar&#39;</span>
27
+ </code><button type="button">Copy</button></pre>
28
+
29
+ <a id="md:handler-as-string" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Handler as string<a href="#md:handler-as-string" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2><p>If <code>handler</code> is a string, the url is <em>replaced by the string</em> when the Rule is invoked.
30
+ The string is first interpolated using <code>string.replace()</code> style pattern.</p>
31
+ <a id="md:example-1" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">rule</span><span class="hl-1"> = </span><span class="hl-10">factory</span><span class="hl-1">.</span><span class="hl-0">fromRegExp</span><span class="hl-1">(/^</span><span class="hl-16">/foo/</span><span class="hl-1">(</span><span class="hl-10">bar</span><span class="hl-1">|</span><span class="hl-10">baz</span><span class="hl-1">)</span><span class="hl-10">$</span><span class="hl-1">/, </span><span class="hl-2">&quot;/home/$1&quot;</span><span class="hl-1">)</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">match</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">match</span><span class="hl-1">(</span><span class="hl-2">&#39;/foo/bar&#39;</span><span class="hl-1">); </span><span class="hl-9">// results in [ &#39;/foo/bar&#39;, &#39;bar&#39; ]</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">handler</span><span class="hl-1">(</span><span class="hl-10">match</span><span class="hl-1">); </span><span class="hl-9">// &#39;/home/bar&#39;</span>
32
+ </code><button type="button">Copy</button></pre>
33
+
34
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">regexp</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">regexp</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L176">router/url/url-rule.js:176</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fromState" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>from<wbr/>State</span><a href="#fromState" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="fromState.fromState-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">from<wbr/>State</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">stateOrDecl</span>, <span class="tsd-kind-parameter">stateService</span>, <span class="tsd-kind-parameter">globals</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">matchPriority</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">urlMatcher</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">state</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#fromState.fromState-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A UrlRule which matches a state by its url</p>
35
+ <a id="md:example-2" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">rule</span><span class="hl-1"> = </span><span class="hl-10">factory</span><span class="hl-1">.</span><span class="hl-0">fromState</span><span class="hl-1">(</span><span class="hl-10">$state</span><span class="hl-1">.</span><span class="hl-0">get</span><span class="hl-1">(</span><span class="hl-2">&#39;foo&#39;</span><span class="hl-1">), </span><span class="hl-10">router</span><span class="hl-1">);</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">match</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">match</span><span class="hl-1">(</span><span class="hl-2">&#39;/foo/123/456&#39;</span><span class="hl-1">); </span><span class="hl-9">// results in { fooId: &#39;123&#39;, barId: &#39;456&#39; }</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">handler</span><span class="hl-1">(</span><span class="hl-10">match</span><span class="hl-1">);</span><br/><span class="hl-9">// Starts a transition to &#39;foo&#39; with params: { fooId: &#39;123&#39;, barId: &#39;456&#39; }</span>
36
+ </code><button type="button">Copy</button></pre>
37
+
38
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">stateOrDecl</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">stateService</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">globals</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">matchPriority</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">urlMatcher</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">state</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L121">router/url/url-rule.js:121</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="fromUrlMatcher" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>from<wbr/>Url<wbr/>Matcher</span><a href="#fromUrlMatcher" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="fromUrlMatcher.fromUrlMatcher-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">from<wbr/>Url<wbr/>Matcher</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">urlMatcher</span>, <span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">matchPriority</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">urlMatcher</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span><a href="#fromUrlMatcher.fromUrlMatcher-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>A UrlRule which matches based on a UrlMatcher</p>
39
+ <p>The <code>handler</code> may be either a <code>string</code>, a [[UrlRuleHandlerFn]] or another [[UrlMatcher]]</p>
40
+ <a id="md:handler-as-a-function-1" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Handler as a function<a href="#md:handler-as-a-function-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2><p>If <code>handler</code> is a function, the function is invoked with:</p>
41
+ <ul>
42
+ <li>matched parameter values ([[RawParams]] from [[UrlMatcher.exec]])</li>
43
+ <li>url: the current Url ([[UrlParts]])</li>
44
+ <li>router: the router object ([[UIRouter]])</li>
45
+ </ul>
46
+ <a id="md:example-3" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">urlMatcher</span><span class="hl-1"> = </span><span class="hl-10">$umf</span><span class="hl-1">.</span><span class="hl-0">compile</span><span class="hl-1">(</span><span class="hl-2">&quot;/foo/:fooId/:barId&quot;</span><span class="hl-1">);</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">rule</span><span class="hl-1"> = </span><span class="hl-10">factory</span><span class="hl-1">.</span><span class="hl-0">fromUrlMatcher</span><span class="hl-1">(</span><span class="hl-10">urlMatcher</span><span class="hl-1">, </span><span class="hl-10">match</span><span class="hl-1"> </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-2">&quot;/home/&quot;</span><span class="hl-1"> + </span><span class="hl-10">match</span><span class="hl-1">.</span><span class="hl-10">fooId</span><span class="hl-1"> + </span><span class="hl-2">&quot;/&quot;</span><span class="hl-1"> + </span><span class="hl-10">match</span><span class="hl-1">.</span><span class="hl-10">barId</span><span class="hl-1">);</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">match</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">match</span><span class="hl-1">(</span><span class="hl-2">&#39;/foo/123/456&#39;</span><span class="hl-1">); </span><span class="hl-9">// results in { fooId: &#39;123&#39;, barId: &#39;456&#39; }</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">handler</span><span class="hl-1">(</span><span class="hl-10">match</span><span class="hl-1">); </span><span class="hl-9">// &#39;/home/123/456&#39;</span>
47
+ </code><button type="button">Copy</button></pre>
48
+
49
+ <a id="md:handler-as-urlmatcher" class="tsd-anchor"></a><h2 class="tsd-anchor-link">Handler as UrlMatcher<a href="#md:handler-as-urlmatcher" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h2><p>If <code>handler</code> is a UrlMatcher, the handler matcher is used to create the new url.
50
+ The <code>handler</code> UrlMatcher is formatted using the matched param from the first matcher.
51
+ The url is replaced with the result.</p>
52
+ <a id="md:example-4" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><pre><code class="js"><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">urlMatcher</span><span class="hl-1"> = </span><span class="hl-10">$umf</span><span class="hl-1">.</span><span class="hl-0">compile</span><span class="hl-1">(</span><span class="hl-2">&quot;/foo/:fooId/:barId&quot;</span><span class="hl-1">);</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">handler</span><span class="hl-1"> = </span><span class="hl-10">$umf</span><span class="hl-1">.</span><span class="hl-0">compile</span><span class="hl-1">(</span><span class="hl-2">&quot;/home/:fooId/:barId&quot;</span><span class="hl-1">);</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">rule</span><span class="hl-1"> = </span><span class="hl-10">factory</span><span class="hl-1">.</span><span class="hl-0">fromUrlMatcher</span><span class="hl-1">(</span><span class="hl-10">urlMatcher</span><span class="hl-1">, </span><span class="hl-10">handler</span><span class="hl-1">);</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">match</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">match</span><span class="hl-1">(</span><span class="hl-2">&#39;/foo/123/456&#39;</span><span class="hl-1">); </span><span class="hl-9">// results in { fooId: &#39;123&#39;, barId: &#39;456&#39; }</span><br/><span class="hl-11">var</span><span class="hl-1"> </span><span class="hl-10">result</span><span class="hl-1"> = </span><span class="hl-10">rule</span><span class="hl-1">.</span><span class="hl-0">handler</span><span class="hl-1">(</span><span class="hl-10">match</span><span class="hl-1">); </span><span class="hl-9">// &#39;/home/123/456&#39;</span>
53
+ </code><button type="button">Copy</button></pre>
54
+
55
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">urlMatcher</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="router_url_url_rule.BaseUrlRule.html" class="tsd-signature-type tsd-kind-class">BaseUrlRule</a><span class="tsd-signature-symbol"> &amp; </span><span class="tsd-signature-symbol">{ </span><br/><span>    </span><span class="tsd-kind-property">matchPriority</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">params</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">number</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">type</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">; </span><br/><span>    </span><span class="tsd-kind-property">urlMatcher</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">; </span><br/><span class="tsd-signature-symbol">}</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L86">router/url/url-rule.js:86</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="isUrlRule" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><code class="tsd-tag">Static</code><span>is<wbr/>Url<wbr/>Rule</span><a href="#isUrlRule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="isUrlRule.isUrlRule-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">is<wbr/>Url<wbr/>Rule</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">obj</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">boolean</span><a href="#isUrlRule.isUrlRule-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">obj</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">boolean</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rule.js#L199">router/url/url-rule.js:199</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#routerGlobals" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>router<wbr/>Globals</span></a><a href="#stateService" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>state<wbr/>Service</span></a><a href="#urlService" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url<wbr/>Service</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#create" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>create</span></a><a href="#fromRegExp" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>from<wbr/>Reg<wbr/>Exp</span></a><ul><li><ul><li><a href="#md:handler-as-a-function"><span>Handler as a function</span></a></li><li><ul><li><ul><li><a href="#md:example"><span>Example:</span></a></li></ul></li></ul></li><li><a href="#md:handler-as-string"><span>Handler as string</span></a></li><li><ul><li><ul><li><a href="#md:example-1"><span>Example:</span></a></li></ul></li></ul></li></ul></li></ul><a href="#fromState" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>from<wbr/>State</span></a><ul><li><ul><li><ul><li><ul><li><a href="#md:example-2"><span>Example:</span></a></li></ul></li></ul></li></ul></li></ul><a href="#fromUrlMatcher" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>from<wbr/>Url<wbr/>Matcher</span></a><ul><li><ul><li><a href="#md:handler-as-a-function-1"><span>Handler as a function</span></a></li><li><ul><li><ul><li><a href="#md:example-3"><span>Example:</span></a></li></ul></li></ul></li><li><a href="#md:handler-as-urlmatcher"><span>Handler as <wbr/>Url<wbr/>Matcher</span></a></li><li><ul><li><ul><li><a href="#md:example-4"><span>Example:</span></a></li></ul></li></ul></li></ul></li></ul><a href="#isUrlRule" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>is<wbr/>Url<wbr/>Rule</span></a></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@angular-wave/angular.ts</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,150 @@
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>UrlRules | @angular-wave/angular.ts</title><meta name="description" content="Documentation for @angular-wave/angular.ts"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><div class="table-cell" id="tsd-search" data-base=".."><div class="field"><label for="tsd-search-field" class="tsd-widget tsd-toolbar-icon search no-caption"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-search"></use></svg></label><input type="text" id="tsd-search-field" aria-label="Search"/></div><div class="field"><div id="tsd-toolbar-links"></div></div><ul class="results"><li class="state loading">Preparing search index...</li><li class="state failure">The search index is not available</li></ul><a href="../index.html" class="title">@angular-wave/angular.ts</a></div><div class="table-cell" id="tsd-widgets"><a href="#" class="tsd-widget tsd-toolbar-icon menu no-caption" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb"><li><a href="../index.html">@angular-wave/angular.ts</a></li><li><a href="../modules/router_url_url_rules.html">router/url/url-rules</a></li><li><a href="router_url_url_rules.UrlRules.html">UrlRules</a></li></ul><h1>Class UrlRules</h1></div><section class="tsd-panel tsd-comment"><div class="tsd-comment tsd-typography"><p>API for managing URL rules</p>
2
+ <p>This API is used to create and manage URL rules.
3
+ URL rules are a mechanism to respond to specific URL patterns.</p>
4
+ <p>The most commonly used methods are [[otherwise]] and [[when]].</p>
5
+ <p>This API is found at <code>$urlService.rules</code> (see: [[UIRouter.urlService]], [[URLService.rules]])</p>
6
+ </div><div class="tsd-comment tsd-typography"></div></section><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L67">router/url/url-rules.js:67</a></li></ul></aside><section class="tsd-panel-group tsd-index-group"><section class="tsd-panel tsd-index-panel"><details class="tsd-index-content tsd-accordion" open><summary class="tsd-accordion-summary tsd-index-summary"><h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabIndex="0"><svg width="16" height="16" viewBox="0 0 16 16" fill="none"><use href="../assets/icons.svg#icon-chevronSmall"></use></svg> Index</h5></summary><div class="tsd-accordion-details"><section class="tsd-index-section"><h3 class="tsd-index-heading">Constructors</h3><div class="tsd-index-list"><a href="router_url_url_rules.UrlRules.html#constructor" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a>
7
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Properties</h3><div class="tsd-index-list"><a href="router_url_url_rules.UrlRules.html#_id" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_id</span></a>
8
+ <a href="router_url_url_rules.UrlRules.html#_otherwiseFn" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_otherwise<wbr/>Fn</span></a>
9
+ <a href="router_url_url_rules.UrlRules.html#_rules" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_rules</span></a>
10
+ <a href="router_url_url_rules.UrlRules.html#_sortFn" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_sort<wbr/>Fn</span></a>
11
+ <a href="router_url_url_rules.UrlRules.html#_sorted" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_sorted</span></a>
12
+ <a href="router_url_url_rules.UrlRules.html#urlRuleFactory" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url<wbr/>Rule<wbr/>Factory</span></a>
13
+ </div></section><section class="tsd-index-section"><h3 class="tsd-index-heading">Methods</h3><div class="tsd-index-list"><a href="router_url_url_rules.UrlRules.html#ensureSorted" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ensure<wbr/>Sorted</span></a>
14
+ <a href="router_url_url_rules.UrlRules.html#initial" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>initial</span></a>
15
+ <a href="router_url_url_rules.UrlRules.html#otherwise" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>otherwise</span></a>
16
+ <a href="router_url_url_rules.UrlRules.html#removeRule" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Rule</span></a>
17
+ <a href="router_url_url_rules.UrlRules.html#rule" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rule</span></a>
18
+ <a href="router_url_url_rules.UrlRules.html#rules" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rules</span></a>
19
+ <a href="router_url_url_rules.UrlRules.html#sort" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sort</span></a>
20
+ <a href="router_url_url_rules.UrlRules.html#stableSort" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stable<wbr/>Sort</span></a>
21
+ <a href="router_url_url_rules.UrlRules.html#when" class="tsd-index-link"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>when</span></a>
22
+ </div></section></div></details></section></section><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Constructors"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Constructors</h2></summary><section><section class="tsd-panel tsd-member"><a id="constructor" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>constructor</span><a href="#constructor" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="constructor.new_UrlRules" class="tsd-anchor"></a><span class="tsd-kind-constructor-signature">new <wbr/>Url<wbr/>Rules</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">urlRuleFactory</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><a href="router_url_url_rules.UrlRules.html" class="tsd-signature-type tsd-kind-class">UrlRules</a><a href="#constructor.new_UrlRules" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">urlRuleFactory</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <a href="router_url_url_rules.UrlRules.html" class="tsd-signature-type tsd-kind-class">UrlRules</a></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L68">router/url/url-rules.js:68</a></li></ul></aside></li></ul></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Properties"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Properties</h2></summary><section><section class="tsd-panel tsd-member"><a id="_id" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>_id</span><a href="#_id" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_id</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L71">router/url/url-rules.js:71</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_otherwiseFn" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>_otherwise<wbr/>Fn</span><a href="#_otherwiseFn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_otherwise<wbr/>Fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L162">router/url/url-rules.js:162</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_rules" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>_rules</span><a href="#_rules" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_rules</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L70">router/url/url-rules.js:70</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L260">router/url/url-rules.js:260</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_sortFn" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>_sort<wbr/>Fn</span><a href="#_sortFn" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_sort<wbr/>Fn</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L69">router/url/url-rules.js:69</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L247">router/url/url-rules.js:247</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="_sorted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>_sorted</span><a href="#_sorted" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">_sorted</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L163">router/url/url-rules.js:163</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L190">router/url/url-rules.js:190</a></li><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L261">router/url/url-rules.js:261</a></li></ul></aside></section><section class="tsd-panel tsd-member"><a id="urlRuleFactory" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>url<wbr/>Rule<wbr/>Factory</span><a href="#urlRuleFactory" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><div class="tsd-signature"><span class="tsd-kind-property">url<wbr/>Rule<wbr/>Factory</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">any</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L72">router/url/url-rules.js:72</a></li></ul></aside></section></section></details><details class="tsd-panel-group tsd-member-group tsd-accordion" open><summary class="tsd-accordion-summary" data-key="section-Methods"><h2><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg> Methods</h2></summary><section><section class="tsd-panel tsd-member"><a id="ensureSorted" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>ensure<wbr/>Sorted</span><a href="#ensureSorted" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="ensureSorted.ensureSorted-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">ensure<wbr/>Sorted</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#ensureSorted.ensureSorted-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L264">router/url/url-rules.js:264</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="initial" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>initial</span><a href="#initial" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="initial.initial-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">initial</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#initial.initial-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Defines the initial state, path, or behavior to use when the app starts.</p>
23
+ <p>This rule defines the initial/starting state for the application.</p>
24
+ <p>This rule is triggered the first time the URL is checked (when the app initially loads).
25
+ The rule is triggered only when the url matches either <code>&quot;&quot;</code> or <code>&quot;/&quot;</code>.</p>
26
+ <p>Note: The rule is intended to be used when the root of the application is directly linked to.
27
+ When the URL is <em>not</em> <code>&quot;&quot;</code> or <code>&quot;/&quot;</code> and doesn't match other rules, the [[otherwise]] rule is triggered.
28
+ This allows 404-like behavior when an unknown URL is deep-linked.</p>
29
+ <a id="md:example" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Start app at <code>home</code> state.</p>
30
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">initial</span><span class="hl-1">({ </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">&#39;home&#39;</span><span class="hl-1"> });</span>
31
+ </code><button type="button">Copy</button></pre>
32
+
33
+ <a id="md:example-1" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>Start app at <code>/home</code> (by url)</p>
34
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">initial</span><span class="hl-1">(</span><span class="hl-2">&#39;/home&#39;</span><span class="hl-1">);</span>
35
+ </code><button type="button">Copy</button></pre>
36
+
37
+ <a id="md:example-2" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-2" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When no other url rule matches, go to <code>home</code> state</p>
38
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">initial</span><span class="hl-1">((</span><span class="hl-10">matchValue</span><span class="hl-1">, </span><span class="hl-10">url</span><span class="hl-1">, </span><span class="hl-10">router</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">console</span><span class="hl-1">.</span><span class="hl-0">log</span><span class="hl-1">(</span><span class="hl-2">&#39;initial state&#39;</span><span class="hl-1">);</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> { </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">&#39;home&#39;</span><span class="hl-1"> };</span><br/><span class="hl-1">})</span>
39
+ </code><button type="button">Copy</button></pre>
40
+
41
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The initial state or url path, or a function which returns the state or url path (or performs custom logic).</p>
42
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L110">router/url/url-rules.js:110</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="otherwise" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>otherwise</span><a href="#otherwise" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="otherwise.otherwise-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">otherwise</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">handler</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#otherwise.otherwise-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Defines the state, url, or behavior to use when no other rule matches the URL.</p>
43
+ <p>This rule is matched when <em>no other rule</em> matches.
44
+ It is generally used to handle unknown URLs (similar to &quot;404&quot; behavior, but on the client side).</p>
45
+ <ul>
46
+ <li>If <code>handler</code> a string, it is treated as a url redirect</li>
47
+ </ul>
48
+ <a id="md:example-3" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-3" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When no other url rule matches, redirect to <code>/index</code></p>
49
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">otherwise</span><span class="hl-1">(</span><span class="hl-2">&#39;/index&#39;</span><span class="hl-1">);</span>
50
+ </code><button type="button">Copy</button></pre>
51
+
52
+ <ul>
53
+ <li>If <code>handler</code> is an object with a <code>state</code> property, the state is activated.</li>
54
+ </ul>
55
+ <a id="md:example-4" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-4" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When no other url rule matches, redirect to <code>home</code> and provide a <code>dashboard</code> parameter value.</p>
56
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">otherwise</span><span class="hl-1">({ </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">&#39;home&#39;</span><span class="hl-1">, </span><span class="hl-10">params:</span><span class="hl-1"> { </span><span class="hl-10">dashboard:</span><span class="hl-1"> </span><span class="hl-2">&#39;default&#39;</span><span class="hl-1"> } });</span>
57
+ </code><button type="button">Copy</button></pre>
58
+
59
+ <ul>
60
+ <li>If <code>handler</code> is a function, the function receives the current url ([[UrlParts]]) and the [[UIRouter]] object.
61
+ The function can perform actions, and/or return a value.</li>
62
+ </ul>
63
+ <a id="md:example-5" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-5" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When no other url rule matches, manually trigger a transition to the <code>home</code> state</p>
64
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">otherwise</span><span class="hl-1">((</span><span class="hl-10">matchValue</span><span class="hl-1">, </span><span class="hl-10">urlParts</span><span class="hl-1">, </span><span class="hl-10">router</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-10">router</span><span class="hl-1">.</span><span class="hl-10">stateService</span><span class="hl-1">.</span><span class="hl-0">go</span><span class="hl-1">(</span><span class="hl-2">&#39;home&#39;</span><span class="hl-1">);</span><br/><span class="hl-1">});</span>
65
+ </code><button type="button">Copy</button></pre>
66
+
67
+ <a id="md:example-6" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-6" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When no other url rule matches, go to <code>home</code> state</p>
68
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">otherwise</span><span class="hl-1">((</span><span class="hl-10">matchValue</span><span class="hl-1">, </span><span class="hl-10">urlParts</span><span class="hl-1">, </span><span class="hl-10">router</span><span class="hl-1">) </span><span class="hl-11">=&gt;</span><span class="hl-1"> {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> { </span><span class="hl-10">state:</span><span class="hl-1"> </span><span class="hl-2">&#39;home&#39;</span><span class="hl-1"> };</span><br/><span class="hl-1">});</span>
69
+ </code><button type="button">Copy</button></pre>
70
+
71
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The url path to redirect to, or a function which returns the url path (or performs custom logic).</p>
72
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L160">router/url/url-rules.js:160</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="removeRule" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>remove<wbr/>Rule</span><a href="#removeRule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="removeRule.removeRule-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">remove<wbr/>Rule</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">rule</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#removeRule.removeRule-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Remove a rule previously registered</p>
73
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">rule</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>the matcher rule that was previously registered using [[rule]]</p>
74
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L170">router/url/url-rules.js:170</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="rule" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rule</span><a href="#rule" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="rule.rule-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">rule</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">rule</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span><a href="#rule.rule-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Manually adds a URL Rule.</p>
75
+ <p>Usually, a url rule is added using [[StateDeclaration.url]] or [[when]].
76
+ This api can be used directly for more control (to register a [[BaseUrlRule]], for example).
77
+ Rules can be created using [[urlRuleFactory]], or created manually as simple objects.</p>
78
+ <p>A rule should have a <code>match</code> function which returns truthy if the rule matched.
79
+ It should also have a <code>handler</code> function which is invoked if the rule is the best match.</p>
80
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">rule</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol"> =&gt; </span><span class="tsd-signature-type">void</span><span class="tsd-signature-symbol">)</span></h4><p>a function that deregisters the rule</p>
81
+ <ul class="tsd-parameters"><li class="tsd-parameter-signature"><ul class="tsd-signatures"><li class="tsd-signature" id="rule.rule-1.__type.__type-1"><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span></li><li class="tsd-description"><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4></li></ul></li></ul><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L185">router/url/url-rules.js:185</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="rules" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>rules</span><a href="#rules" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="rules.rules-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">rules</span><span class="tsd-signature-symbol">(</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span><a href="#rules.rules-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Gets all registered rules</p>
82
+ </div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span><span class="tsd-signature-symbol">[]</span></h4><p>an array of all the registered rules</p>
83
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L198">router/url/url-rules.js:198</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="sort" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>sort</span><a href="#sort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="sort.sort-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">sort</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">compareFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">void</span><a href="#sort.sort-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Defines URL Rule priorities</p>
84
+ <p>More than one rule ([[UrlRule]]) might match a given URL.
85
+ This <code>compareFn</code> is used to sort the rules by priority.
86
+ Higher priority rules should sort earlier.</p>
87
+ <p>The [[defaultRuleSortFn]] is used by default.</p>
88
+ <p>You only need to call this function once.
89
+ The <code>compareFn</code> will be used to sort the rules as each is registered.</p>
90
+ <p>If called without any parameter, it will re-sort the rules.</p>
91
+ <hr>
92
+ <p>Url rules may come from multiple sources: states's urls ([[StateDeclaration.url]]), [[when]], and [[rule]].
93
+ Each rule has a (user-provided) [[UrlRule.priority]], a [[UrlRule.type]], and a [[UrlRule.$id]]
94
+ The <code>$id</code> is is the order in which the rule was registered.</p>
95
+ <p>The sort function should use these data, or data found on a specific type
96
+ of [[UrlRule]] (such as [[StateRule.state]]), to order the rules as desired.</p>
97
+ <a id="md:example-7" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-7" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>This compare function prioritizes rules by the order in which the rules were registered.
98
+ A rule registered earlier has higher priority.</p>
99
+ <pre><code class="js"><span class="hl-11">function</span><span class="hl-1"> </span><span class="hl-0">compareFn</span><span class="hl-1">(</span><span class="hl-10">a</span><span class="hl-1">, </span><span class="hl-10">b</span><span class="hl-1">) {</span><br/><span class="hl-1"> </span><span class="hl-8">return</span><span class="hl-1"> </span><span class="hl-10">a</span><span class="hl-1">.</span><span class="hl-10">$id</span><span class="hl-1"> - </span><span class="hl-10">b</span><span class="hl-1">.</span><span class="hl-10">$id</span><span class="hl-1">;</span><br/><span class="hl-1">}</span>
100
+ </code><button type="button">Copy</button></pre>
101
+
102
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">compareFn</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>a function that compares to [[UrlRule]] objects.
103
+ The <code>compareFn</code> should abide by the <code>Array.sort</code> compare function rules.
104
+ Given two rules, <code>a</code> and <code>b</code>, return a negative number if <code>a</code> should be higher priority.
105
+ Return a positive number if <code>b</code> should be higher priority.
106
+ Return <code>0</code> if the rules are identical.</p>
107
+ <p>See the <a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort#Description">mozilla reference</a>
108
+ for details.</p>
109
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">void</span></h4><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L244">router/url/url-rules.js:244</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="stableSort" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>stable<wbr/>Sort</span><a href="#stableSort" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="stableSort.stableSort-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">stable<wbr/>Sort</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">arr</span>, <span class="tsd-kind-parameter">compareFn</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#stableSort.stableSort-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">arr</span>: <span class="tsd-signature-type">any</span></span></li><li><span><span class="tsd-kind-parameter">compareFn</span>: <span class="tsd-signature-type">any</span></span></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L268">router/url/url-rules.js:268</a></li></ul></aside></li></ul></section><section class="tsd-panel tsd-member"><a id="when" class="tsd-anchor"></a><h3 class="tsd-anchor-link"><span>when</span><a href="#when" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h3><ul class="tsd-signatures"><li class="tsd-signature tsd-anchor-link"><a id="when.when-1" class="tsd-anchor"></a><span class="tsd-kind-call-signature">when</span><span class="tsd-signature-symbol">(</span><span class="tsd-kind-parameter">matcher</span>, <span class="tsd-kind-parameter">handler</span>, <span class="tsd-kind-parameter">options</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">any</span><a href="#when.when-1" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></li><li class="tsd-description"><div class="tsd-comment tsd-typography"><p>Registers a <code>matcher</code> and <code>handler</code> for custom URLs handling.</p>
110
+ <p>The <code>matcher</code> can be:</p>
111
+ <ul>
112
+ <li>a [[UrlMatcher]]: See: [[UrlMatcherFactory.compile]]</li>
113
+ <li>a <code>string</code>: The string is compiled to a [[UrlMatcher]]</li>
114
+ <li>a <code>RegExp</code>: The regexp is used to match the url.</li>
115
+ </ul>
116
+ <p>The <code>handler</code> can be:</p>
117
+ <ul>
118
+ <li>a string: The url is redirected to the value of the string.</li>
119
+ <li>a function: The url is redirected to the return value of the function.</li>
120
+ </ul>
121
+ <hr>
122
+ <p>When the <code>handler</code> is a <code>string</code> and the <code>matcher</code> is a <code>UrlMatcher</code> (or string), the redirect
123
+ string is interpolated with parameter values.</p>
124
+ <a id="md:example-8" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-8" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When the URL is <code>/foo/123</code> the rule will redirect to <code>/bar/123</code>.</p>
125
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">when</span><span class="hl-1">(</span><span class="hl-2">&quot;/foo/:param1&quot;</span><span class="hl-1">, </span><span class="hl-2">&quot;/bar/:param1&quot;</span><span class="hl-1">)</span>
126
+ </code><button type="button">Copy</button></pre>
127
+
128
+ <hr>
129
+ <p>When the <code>handler</code> is a string and the <code>matcher</code> is a <code>RegExp</code>, the redirect string is
130
+ interpolated with capture groups from the RegExp.</p>
131
+ <a id="md:example-9" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-9" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When the URL is <code>/foo/123</code> the rule will redirect to <code>/bar/123</code>.</p>
132
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">when</span><span class="hl-1">(</span><span class="hl-11">new</span><span class="hl-1"> </span><span class="hl-0">RegExp</span><span class="hl-1">(</span><span class="hl-2">&quot;^/foo/(.*)$&quot;</span><span class="hl-1">), </span><span class="hl-2">&quot;/bar/$1&quot;</span><span class="hl-1">);</span>
133
+ </code><button type="button">Copy</button></pre>
134
+
135
+ <hr>
136
+ <p>When the handler is a function, it receives the matched value, the current URL, and the <code>UIRouter</code> object (See [[UrlRuleHandlerFn]]).
137
+ The &quot;matched value&quot; differs based on the <code>matcher</code>.
138
+ For [[UrlMatcher]]s, it will be the matched state params.
139
+ For <code>RegExp</code>, it will be the match array from <code>regexp.exec()</code>.</p>
140
+ <p>If the handler returns a string, the URL is redirected to the string.</p>
141
+ <a id="md:example-10" class="tsd-anchor"></a><h4 class="tsd-anchor-link">Example:<a href="#md:example-10" aria-label="Permalink" class="tsd-anchor-icon"><svg viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-anchor"></use></svg></a></h4><p>When the URL is <code>/foo/123</code> the rule will redirect to <code>/bar/123</code>.</p>
142
+ <pre><code class="js"><span class="hl-1">.</span><span class="hl-0">when</span><span class="hl-1">(</span><span class="hl-11">new</span><span class="hl-1"> </span><span class="hl-0">RegExp</span><span class="hl-1">(</span><span class="hl-2">&quot;^/foo/(.*)$&quot;</span><span class="hl-1">), </span><span class="hl-10">match</span><span class="hl-1"> </span><span class="hl-11">=&gt;</span><span class="hl-1"> </span><span class="hl-2">&quot;/bar/&quot;</span><span class="hl-1"> + </span><span class="hl-10">match</span><span class="hl-1">[</span><span class="hl-12">1</span><span class="hl-1">]);</span>
143
+ </code><button type="button">Copy</button></pre>
144
+
145
+ <p>Note: the <code>handler</code> may also invoke arbitrary code, such as <code>$state.go()</code></p>
146
+ </div><div class="tsd-parameters"><h4 class="tsd-parameters-title">Parameters</h4><ul class="tsd-parameter-list"><li><span><span class="tsd-kind-parameter">matcher</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>A pattern <code>string</code> to match, compiled as a [[UrlMatcher]], or a <code>RegExp</code>.</p>
147
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">handler</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p>The path to redirect to, or a function that returns the path.</p>
148
+ </div><div class="tsd-comment tsd-typography"></div></li><li><span><span class="tsd-kind-parameter">options</span>: <span class="tsd-signature-type">any</span></span><div class="tsd-comment tsd-typography"><p><code>{ priority: number }</code></p>
149
+ </div><div class="tsd-comment tsd-typography"></div></li></ul></div><h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">any</span></h4><p>the registered [[UrlRule]]</p>
150
+ <div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/Angular-Wave/angular.ts/blob/05a131c80ef07721d40886837ab4c4b72fbae7cd/src/router/url/url-rules.js#L335">router/url/url-rules.js:335</a></li></ul></aside></li></ul></section></section></details></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div><details open class="tsd-accordion tsd-page-navigation"><summary class="tsd-accordion-summary"><h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>On This Page</h3></summary><div class="tsd-accordion-details"><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Constructors"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Constructors</summary><div><a href="#constructor" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-512"></use></svg><span>constructor</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Properties"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Properties</summary><div><a href="#_id" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_id</span></a><a href="#_otherwiseFn" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_otherwise<wbr/>Fn</span></a><a href="#_rules" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_rules</span></a><a href="#_sortFn" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_sort<wbr/>Fn</span></a><a href="#_sorted" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>_sorted</span></a><a href="#urlRuleFactory" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1024"></use></svg><span>url<wbr/>Rule<wbr/>Factory</span></a></div></details><details open class="tsd-accordion tsd-page-navigation-section"><summary class="tsd-accordion-summary" data-key="tsd-otp-Methods"><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="../assets/icons.svg#icon-chevronDown"></use></svg>Methods</summary><div><a href="#ensureSorted" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>ensure<wbr/>Sorted</span></a><a href="#initial" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>initial</span></a><ul><li><ul><li><ul><li><ul><li><a href="#md:example"><span>Example:</span></a></li><li><a href="#md:example-1"><span>Example:</span></a></li><li><a href="#md:example-2"><span>Example:</span></a></li></ul></li></ul></li></ul></li></ul><a href="#otherwise" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>otherwise</span></a><ul><li><ul><li><ul><li><ul><li><a href="#md:example-3"><span>Example:</span></a></li><li><a href="#md:example-4"><span>Example:</span></a></li><li><a href="#md:example-5"><span>Example:</span></a></li><li><a href="#md:example-6"><span>Example:</span></a></li></ul></li></ul></li></ul></li></ul><a href="#removeRule" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>remove<wbr/>Rule</span></a><a href="#rule" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rule</span></a><a href="#rules" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>rules</span></a><a href="#sort" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>sort</span></a><ul><li><ul><li><ul><li><ul><li><a href="#md:example-7"><span>Example:</span></a></li></ul></li></ul></li></ul></li></ul><a href="#stableSort" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>stable<wbr/>Sort</span></a><a href="#when" class=""><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2048"></use></svg><span>when</span></a><ul><li><a href="#md:example-8"><span>Example:</span></a></li><li><a href="#md:example-9"><span>Example:</span></a></li><li><a href="#md:example-10"><span>Example:</span></a></li></ul></div></details></div></details></div><div class="site-menu"><nav class="tsd-navigation"><a href="../index.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-1"></use></svg><span>@angular-wave/angular.ts</span></a><ul class="tsd-small-nested-navigation" id="tsd-nav-container" data-base=".."><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>