@rws-framework/client 2.7.2 → 2.8.0

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 (241) hide show
  1. package/.emerge-vis-output/fast-element/emerge-file_result_dependency_graph.graphml +126 -127
  2. package/.emerge-vis-output/fast-element/emerge-filesystem_graph.graphml +122 -123
  3. package/.emerge-vis-output/fast-element/emerge-statistics-and-metrics.json +1 -1
  4. package/.emerge-vis-output/fast-element/emerge-statistics-metrics.txt +43 -44
  5. package/.emerge-vis-output/fast-element/html/emerge.html +0 -0
  6. package/.emerge-vis-output/fast-element/html/jsconfig.json +0 -0
  7. package/.emerge-vis-output/fast-element/html/resources/css/custom.css +0 -0
  8. package/.emerge-vis-output/fast-element/html/resources/js/emerge_common.js +0 -0
  9. package/.emerge-vis-output/fast-element/html/resources/js/emerge_data.js +9 -9
  10. package/.emerge-vis-output/fast-element/html/resources/js/emerge_git.js +0 -0
  11. package/.emerge-vis-output/fast-element/html/resources/js/emerge_graph.js +0 -0
  12. package/.emerge-vis-output/fast-element/html/resources/js/emerge_heatmap.js +0 -0
  13. package/.emerge-vis-output/fast-element/html/resources/js/emerge_hull.js +0 -0
  14. package/.emerge-vis-output/fast-element/html/resources/js/emerge_main.js +0 -0
  15. package/.emerge-vis-output/fast-element/html/resources/js/emerge_search.js +0 -0
  16. package/.emerge-vis-output/fast-element/html/resources/js/emerge_ui.js +0 -0
  17. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.css +0 -0
  18. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.css.map +0 -0
  19. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.min.css +0 -0
  20. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.min.css.map +0 -0
  21. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.rtl.css +0 -0
  22. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.rtl.css.map +0 -0
  23. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.rtl.min.css +0 -0
  24. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-grid.rtl.min.css.map +0 -0
  25. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.css +0 -0
  26. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.css.map +0 -0
  27. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.min.css +0 -0
  28. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.min.css.map +0 -0
  29. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.rtl.css +0 -0
  30. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.rtl.css.map +0 -0
  31. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.rtl.min.css +0 -0
  32. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-reboot.rtl.min.css.map +0 -0
  33. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.css +0 -0
  34. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.css.map +0 -0
  35. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.min.css +0 -0
  36. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.min.css.map +0 -0
  37. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.rtl.css +0 -0
  38. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.rtl.css.map +0 -0
  39. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.rtl.min.css +0 -0
  40. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap-utilities.rtl.min.css.map +0 -0
  41. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.css +0 -0
  42. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.css.map +0 -0
  43. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.min.css +0 -0
  44. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.min.css.map +0 -0
  45. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.rtl.css +0 -0
  46. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.rtl.css.map +0 -0
  47. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.rtl.min.css +0 -0
  48. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/css/bootstrap.rtl.min.css.map +0 -0
  49. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.bundle.js +0 -0
  50. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.bundle.js.map +0 -0
  51. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.bundle.min.js +0 -0
  52. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.bundle.min.js.map +0 -0
  53. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.esm.js +0 -0
  54. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.esm.js.map +0 -0
  55. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.esm.min.js +0 -0
  56. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.esm.min.js.map +0 -0
  57. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.js +0 -0
  58. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.js.map +0 -0
  59. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.min.js +0 -0
  60. package/.emerge-vis-output/fast-element/html/vendors/bootstrap/js/bootstrap.min.js.map +0 -0
  61. package/.emerge-vis-output/fast-element/html/vendors/d3/d3.v7.8.4.min.js +0 -0
  62. package/.emerge-vis-output/fast-element/html/vendors/d3/d3.v7.min.js +0 -0
  63. package/.emerge-vis-output/fast-element/html/vendors/dark-mode-switch/css/dark-mode.css +0 -0
  64. package/.emerge-vis-output/fast-element/html/vendors/dark-mode-switch/js/dark-mode-switch.min.js +0 -0
  65. package/.emerge-vis-output/fast-element/html/vendors/daterangepicker/daterangepicker.css +0 -0
  66. package/.emerge-vis-output/fast-element/html/vendors/daterangepicker/daterangepicker.min.js +0 -0
  67. package/.emerge-vis-output/fast-element/html/vendors/daterangepicker/moment.min.js +0 -0
  68. package/.emerge-vis-output/fast-element/html/vendors/jquery/jquery-3.6.0.min.js +0 -0
  69. package/.emerge-vis-output/fast-element/html/vendors/popper/popper.min.js +0 -0
  70. package/.emerge-vis-output/fast-element/html/vendors/simpleheat/simpleheat.js +0 -0
  71. package/.emerge-vis-output/fast-foundation/emerge-file_result_dependency_graph.graphml +1351 -1339
  72. package/.emerge-vis-output/fast-foundation/emerge-filesystem_graph.graphml +1314 -1299
  73. package/.emerge-vis-output/fast-foundation/emerge-statistics-and-metrics.json +1 -1
  74. package/.emerge-vis-output/fast-foundation/emerge-statistics-metrics.txt +1024 -1016
  75. package/.emerge-vis-output/fast-foundation/html/emerge.html +0 -0
  76. package/.emerge-vis-output/fast-foundation/html/jsconfig.json +0 -0
  77. package/.emerge-vis-output/fast-foundation/html/resources/css/custom.css +0 -0
  78. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_common.js +0 -0
  79. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_data.js +9 -9
  80. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_git.js +0 -0
  81. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_graph.js +0 -0
  82. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_heatmap.js +0 -0
  83. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_hull.js +0 -0
  84. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_main.js +0 -0
  85. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_search.js +0 -0
  86. package/.emerge-vis-output/fast-foundation/html/resources/js/emerge_ui.js +0 -0
  87. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.css +0 -0
  88. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.css.map +0 -0
  89. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.min.css +0 -0
  90. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.min.css.map +0 -0
  91. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.rtl.css +0 -0
  92. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.rtl.css.map +0 -0
  93. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.rtl.min.css +0 -0
  94. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-grid.rtl.min.css.map +0 -0
  95. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.css +0 -0
  96. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.css.map +0 -0
  97. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.min.css +0 -0
  98. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.min.css.map +0 -0
  99. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.rtl.css +0 -0
  100. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.rtl.css.map +0 -0
  101. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.rtl.min.css +0 -0
  102. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-reboot.rtl.min.css.map +0 -0
  103. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.css +0 -0
  104. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.css.map +0 -0
  105. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.min.css +0 -0
  106. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.min.css.map +0 -0
  107. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.rtl.css +0 -0
  108. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.rtl.css.map +0 -0
  109. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.rtl.min.css +0 -0
  110. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap-utilities.rtl.min.css.map +0 -0
  111. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.css +0 -0
  112. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.css.map +0 -0
  113. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.min.css +0 -0
  114. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.min.css.map +0 -0
  115. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.rtl.css +0 -0
  116. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.rtl.css.map +0 -0
  117. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.rtl.min.css +0 -0
  118. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/css/bootstrap.rtl.min.css.map +0 -0
  119. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.bundle.js +0 -0
  120. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.bundle.js.map +0 -0
  121. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.bundle.min.js +0 -0
  122. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.bundle.min.js.map +0 -0
  123. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.esm.js +0 -0
  124. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.esm.js.map +0 -0
  125. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.esm.min.js +0 -0
  126. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.esm.min.js.map +0 -0
  127. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.js +0 -0
  128. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.js.map +0 -0
  129. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.min.js +0 -0
  130. package/.emerge-vis-output/fast-foundation/html/vendors/bootstrap/js/bootstrap.min.js.map +0 -0
  131. package/.emerge-vis-output/fast-foundation/html/vendors/d3/d3.v7.8.4.min.js +0 -0
  132. package/.emerge-vis-output/fast-foundation/html/vendors/d3/d3.v7.min.js +0 -0
  133. package/.emerge-vis-output/fast-foundation/html/vendors/dark-mode-switch/css/dark-mode.css +0 -0
  134. package/.emerge-vis-output/fast-foundation/html/vendors/dark-mode-switch/js/dark-mode-switch.min.js +0 -0
  135. package/.emerge-vis-output/fast-foundation/html/vendors/daterangepicker/daterangepicker.css +0 -0
  136. package/.emerge-vis-output/fast-foundation/html/vendors/daterangepicker/daterangepicker.min.js +0 -0
  137. package/.emerge-vis-output/fast-foundation/html/vendors/daterangepicker/moment.min.js +0 -0
  138. package/.emerge-vis-output/fast-foundation/html/vendors/jquery/jquery-3.6.0.min.js +0 -0
  139. package/.emerge-vis-output/fast-foundation/html/vendors/popper/popper.min.js +0 -0
  140. package/.emerge-vis-output/fast-foundation/html/vendors/simpleheat/simpleheat.js +0 -0
  141. package/.emerge-vis-output/rws-client/emerge-file_result_dependency_graph.graphml +61 -61
  142. package/.emerge-vis-output/rws-client/emerge-filesystem_graph.graphml +34 -34
  143. package/.emerge-vis-output/rws-client/emerge-statistics-and-metrics.json +1 -1
  144. package/.emerge-vis-output/rws-client/emerge-statistics-metrics.txt +623 -623
  145. package/.emerge-vis-output/rws-client/html/resources/js/emerge_data.js +9 -9
  146. package/_tools.js +22 -21
  147. package/docs/.nojekyll +0 -0
  148. package/docs/assets/26e93147f10415a0ed4a.svg +0 -0
  149. package/docs/assets/75c9471662e97ee24f29.svg +0 -0
  150. package/docs/assets/db90e4df2373980c497d.svg +0 -0
  151. package/docs/assets/hierarchy.css +0 -0
  152. package/docs/assets/hierarchy.js +0 -0
  153. package/docs/assets/highlight.css +0 -0
  154. package/docs/assets/icons.js +0 -0
  155. package/docs/assets/icons.svg +0 -0
  156. package/docs/assets/main.js +0 -0
  157. package/docs/assets/navigation.js +1 -1
  158. package/docs/assets/search.js +1 -1
  159. package/docs/assets/style.css +0 -0
  160. package/docs/classes/ApiServiceInstance.html +2 -2
  161. package/docs/classes/ConfigServiceInstance.html +2 -2
  162. package/docs/classes/DOMServiceInstance.html +2 -2
  163. package/docs/classes/NotifyServiceInstance.html +2 -2
  164. package/docs/classes/RWSRouter.html +2 -2
  165. package/docs/classes/RWSService.html +2 -2
  166. package/docs/classes/RWSViewComponent.html +22 -22
  167. package/docs/classes/RoutingServiceInstance.html +2 -2
  168. package/docs/classes/ServiceWorkerServiceInstance.html +2 -2
  169. package/docs/classes/UtilsServiceInstance.html +2 -2
  170. package/docs/classes/WSServiceInstance.html +2 -2
  171. package/docs/functions/ApiService.html +1 -1
  172. package/docs/functions/ConfigService.html +1 -1
  173. package/docs/functions/DOMService.html +1 -1
  174. package/docs/functions/NotifyService.html +1 -1
  175. package/docs/functions/RWSContainer.html +1 -1
  176. package/docs/functions/RWSIgnore.html +1 -1
  177. package/docs/functions/RWSInject.html +1 -1
  178. package/docs/functions/RWSView.html +1 -1
  179. package/docs/functions/RoutingService.html +1 -1
  180. package/docs/functions/ServiceWorkerService.html +1 -1
  181. package/docs/functions/UtilsService.html +1 -1
  182. package/docs/functions/WSService.html +1 -1
  183. package/docs/functions/attr.html +0 -0
  184. package/docs/functions/declareRWSComponents.html +1 -1
  185. package/docs/functions/ngAttr.html +1 -1
  186. package/docs/functions/observable.html +0 -0
  187. package/docs/functions/provideRWSDesignSystem.html +1 -1
  188. package/docs/functions/realtimeWebSuiteClientPackage.html +1 -1
  189. package/docs/functions/renderRouteComponent.html +1 -1
  190. package/docs/functions/sanitizedAttr.html +1 -1
  191. package/docs/hierarchy.html +0 -0
  192. package/docs/index.html +0 -0
  193. package/docs/interfaces/HTMLAttributes.html +0 -0
  194. package/docs/interfaces/HTMLTag.html +0 -0
  195. package/docs/interfaces/IRWSConfig.html +2 -2
  196. package/docs/interfaces/IRWSDecoratorOptions.html +2 -2
  197. package/docs/interfaces/IRWSHttpRoute.html +2 -2
  198. package/docs/interfaces/IRWSPrefixedHTTProutes.html +2 -2
  199. package/docs/interfaces/IRWSUser.html +2 -2
  200. package/docs/interfaces/IRoutingEvent.html +2 -2
  201. package/docs/modules.html +0 -0
  202. package/docs/types/DOMOutputType.html +1 -1
  203. package/docs/types/HTMLTagTransformerType.html +0 -0
  204. package/docs/types/IRWSAssetShowOptions.html +1 -1
  205. package/docs/types/IRWSBackendRoute.html +1 -1
  206. package/docs/types/IRWSFrontRoutes.html +1 -1
  207. package/docs/types/IRWSRouteResult.html +1 -1
  208. package/docs/types/IRWSWebsocketStatus.html +1 -1
  209. package/docs/types/NotifyLogType.html +1 -1
  210. package/docs/types/NotifyUiType.html +1 -1
  211. package/docs/types/RWSNotify.html +1 -1
  212. package/docs/types/RouteReturn.html +1 -1
  213. package/docs/types/TagsProcessorType.html +1 -1
  214. package/docs/variables/_ROUTING_EVENT_NAME.html +1 -1
  215. package/package.json +1 -1
  216. package/rws.webpack.config.js +24 -20
  217. package/src/client/components.ts +16 -4
  218. package/src/client/config.ts +38 -7
  219. package/src/client.ts +12 -17
  220. package/src/components/_component.ts +1 -3
  221. package/src/components/_decorator.ts +20 -3
  222. package/src/components/index.ts +1 -3
  223. package/src/components/loader/component.ts +1 -1
  224. package/src/index.ts +12 -26
  225. package/src/interfaces/IRWSConfig.ts +6 -1
  226. package/src/interfaces/RWSWindow.ts +5 -2
  227. package/src/plugins/_builder.js +32 -0
  228. package/src/plugins/_plugin.ts +63 -0
  229. package/src/services/ConfigService.ts +9 -1
  230. package/src/services/ServiceWorkerService.ts +1 -1
  231. package/tsconfig.json +3 -0
  232. package/webpack/loaders/rws_fast_ts_loader.js +14 -28
  233. package/package.webpack.config.js +0 -17
  234. package/src/components/router/component.ts +0 -79
  235. package/src/components/router/template.html +0 -1
  236. package/src/routing/_router.ts +0 -61
  237. package/src/routing/index.ts +0 -7
  238. package/src/run.ts +0 -33
  239. package/src/services/RoutingService.ts +0 -47
  240. package/src/services/WSService.ts +0 -226
  241. package/tsdoc.json +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>_ROUTING_EVENT_NAME | Realtime Web Suite Client package</title><meta name="description" content="Documentation for Realtime Web Suite Client package"/><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><link rel="stylesheet" href="../assets/hierarchy.css"/></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">Realtime Web Suite Client package</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="../modules.html">Realtime Web Suite Client package</a></li><li><a href="_ROUTING_EVENT_NAME.html">_ROUTING_EVENT_NAME</a></li></ul><h1>Variable _ROUTING_EVENT_NAME<code class="tsd-tag ts-flagConst">Const</code> </h1></div><div class="tsd-signature"><span class="tsd-kind-variable">_ROUTING_<wbr/>EVENT_<wbr/>NAME</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;routing.route.change&quot;</span><span class="tsd-signature-symbol"> = &#39;routing.route.change&#39;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/papablack/rws-client/blob/ef5e66a6a5927e1d89896e04d7b3286d2bbd6b86/src/services/RoutingService.ts#L40">src/services/RoutingService.ts:40</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-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"><h4 class="uppercase">Member Visibility</h4><form><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-private" name="private"/><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>Private</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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><div class="tree"><div class="tree-config"><button class="tree-config__button tree-config__button--expand js-tree-expand" title="Expand All"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 490.72 490.72" fill="currentColor"><path d="M480.027,288.027H10.693c-5.867,0-10.667,4.8-10.667,10.667c0,5.867,4.8,10.667,10.667,10.667h213.333v144.96l-45.76-45.76c-4.267-4.053-10.987-3.947-15.04,0.213c-3.947,4.16-3.947,10.667,0,14.827l64,64c4.16,4.16,10.88,4.16,15.04,0l64-64c4.053-4.267,3.947-10.987-0.213-15.04c-4.16-3.947-10.667-3.947-14.827,0l-45.867,45.76V309.36h234.667c5.867,0,10.667-4.8,10.667-10.667C490.693,292.827,485.893,288.027,480.027,288.027z"></path><path d="M10.693,224.027h469.333c5.867,0,10.667-4.8,10.667-10.667c0-5.867-4.8-10.667-10.667-10.667H245.36V36.4l45.76,45.76c4.267,4.053,10.987,3.947,15.04-0.213c3.947-4.16,3.947-10.667,0-14.827l-64-64c-4.16-4.16-10.88-4.16-15.04,0l-64,64c-4.053,4.267-3.947,10.987,0.213,15.04c4.16,3.947,10.667,3.947,14.827,0l45.867-45.76v166.293H10.693c-5.867,0-10.667,4.8-10.667,10.667C0.027,219.227,4.827,224.027,10.693,224.027z"></path></svg></button><button class="tree-config__button tree-config__button--collapse js-tree-collapse" title="Collapse All"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zm7-8a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 4.293V.5A.5.5 0 0 1 8 0zm-.5 11.707-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 11.707V15.5a.5.5 0 0 1-1 0v-3.793z"></path></svg></button><button class="tree-config__button tree-config__button--target js-tree-target" title="Scroll to current file"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><circle cx="12" cy="12" r="3"></circle><path d="M13 4.069V2h-2v2.069A8.008 8.008 0 0 0 4.069 11H2v2h2.069A8.007 8.007 0 0 0 11 19.931V22h2v-2.069A8.007 8.007 0 0 0 19.931 13H22v-2h-2.069A8.008 8.008 0 0 0 13 4.069zM12 18c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6z"></path></svg></button></div><div class="tree-content"><ul class="js-category-list category" data-id="root"><li><span class="js-category-title category__title" data-id="root-src"><div class="category__folder" data-id="root-src"></div>src</span><ul class="js-category-list category" data-id="root-src"><li><span class="js-category-title category__title" data-id="root-src-services"><div class="category__folder" data-id="root-src-services"></div>services</span><ul class="js-category-list category" data-id="root-src-services"><li><span class="category__link category__link--disable js-category-link category__link--ts">ApiService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/ApiServiceInstance.html" data-id="/classes/ApiServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>ApiServiceInstance</a></li><li><a class="category__link js-category-link" href="../interfaces/IRWSHttpRoute.html" data-id="/interfaces/IRWSHttpRoute.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSHttpRoute</a></li><li><a class="category__link js-category-link" href="../interfaces/IRWSPrefixedHTTProutes.html" data-id="/interfaces/IRWSPrefixedHTTProutes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSPrefixedHTTProutes</a></li><li><a class="category__link js-category-link" href="../types/IRWSBackendRoute.html" data-id="/types/IRWSBackendRoute.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSBackendRoute</a></li><li><a class="category__link js-category-link" href="../functions/ApiService.html" data-id="/functions/ApiService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ApiService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">ConfigService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/ConfigServiceInstance.html" data-id="/classes/ConfigServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>ConfigServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/ConfigService.html" data-id="/functions/ConfigService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ConfigService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">DOMService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/DOMServiceInstance.html" data-id="/classes/DOMServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>DOMServiceInstance</a></li><li><a class="category__link js-category-link" href="../types/DOMOutputType.html" data-id="/types/DOMOutputType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>DOMOutputType</a></li><li><a class="category__link js-category-link" href="../types/TagsProcessorType.html" data-id="/types/TagsProcessorType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>TagsProcessorType</a></li><li><a class="category__link js-category-link" href="../functions/DOMService.html" data-id="/functions/DOMService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>DOMService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">NotifyService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/NotifyServiceInstance.html" data-id="/classes/NotifyServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>NotifyServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/NotifyService.html" data-id="/functions/NotifyService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>NotifyService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_service.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RWSService.html" data-id="/classes/RWSService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RWSService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">RoutingService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RoutingServiceInstance.html" data-id="/classes/RoutingServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RoutingServiceInstance</a></li><li><a class="category__link js-category-link" href="../interfaces/IRoutingEvent.html" data-id="/interfaces/IRoutingEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRoutingEvent</a></li><li><a class="category__link js-category-link" href="../types/IRWSFrontRoutes.html" data-id="/types/IRWSFrontRoutes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSFrontRoutes</a></li><li><a class="category__link js-category-link" href="_ROUTING_EVENT_NAME.html" data-id="/variables/_ROUTING_EVENT_NAME.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-32"></use></svg>_ROUTING_EVENT_NAME</a></li><li><a class="category__link js-category-link" href="../functions/RoutingService.html" data-id="/functions/RoutingService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RoutingService</a></li><li><a class="category__link js-category-link" href="../functions/renderRouteComponent.html" data-id="/functions/renderRouteComponent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>renderRouteComponent</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">ServiceWorkerService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/ServiceWorkerServiceInstance.html" data-id="/classes/ServiceWorkerServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>ServiceWorkerServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/ServiceWorkerService.html" data-id="/functions/ServiceWorkerService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ServiceWorkerService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">UtilsService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/UtilsServiceInstance.html" data-id="/classes/UtilsServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>UtilsServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/UtilsService.html" data-id="/functions/UtilsService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>UtilsService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">WSService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/WSServiceInstance.html" data-id="/classes/WSServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>WSServiceInstance</a></li><li><a class="category__link js-category-link" href="../types/IRWSWebsocketStatus.html" data-id="/types/IRWSWebsocketStatus.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSWebsocketStatus</a></li><li><a class="category__link js-category-link" href="../functions/WSService.html" data-id="/functions/WSService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>WSService</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-routing"><div class="category__folder" data-id="root-src-routing"></div>routing</span><ul class="js-category-list category" data-id="root-src-routing"><li><span class="category__link category__link--disable js-category-link category__link--ts">_router.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RWSRouter.html" data-id="/classes/RWSRouter.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RWSRouter</a></li><li><a class="category__link js-category-link" href="../types/IRWSRouteResult.html" data-id="/types/IRWSRouteResult.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSRouteResult</a></li><li><a class="category__link js-category-link" href="../types/RouteReturn.html" data-id="/types/RouteReturn.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>RouteReturn</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-components"><div class="category__folder" data-id="root-src-components"></div>components</span><ul class="js-category-list category" data-id="root-src-components"><li><span class="js-category-title category__title" data-id="root-src-components-_decorators"><div class="category__folder" data-id="root-src-components-_decorators"></div>_decorators</span><ul class="js-category-list category" data-id="root-src-components-_decorators"><li><span class="category__link category__link--disable js-category-link category__link--ts">RWSInject.ts</span><ul><li><a class="category__link js-category-link" href="../functions/RWSInject.html" data-id="/functions/RWSInject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSInject</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-components-_attrs"><div class="category__folder" data-id="root-src-components-_attrs"></div>_attrs</span><ul class="js-category-list category" data-id="root-src-components-_attrs"><li><span class="category__link category__link--disable js-category-link category__link--ts">angular-attr.ts</span><ul><li><a class="category__link js-category-link" href="../functions/ngAttr.html" data-id="/functions/ngAttr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ngAttr</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">sanitize-html.ts</span><ul><li><a class="category__link js-category-link" href="../functions/sanitizedAttr.html" data-id="/functions/sanitizedAttr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>sanitizedAttr</a></li></ul></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_component.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RWSViewComponent.html" data-id="/classes/RWSViewComponent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RWSViewComponent</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_decorator.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/IRWSDecoratorOptions.html" data-id="/interfaces/IRWSDecoratorOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSDecoratorOptions</a></li><li><a class="category__link js-category-link" href="../functions/RWSIgnore.html" data-id="/functions/RWSIgnore.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSIgnore</a></li><li><a class="category__link js-category-link" href="../functions/RWSView.html" data-id="/functions/RWSView.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSView</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_container.ts</span><ul><li><a class="category__link js-category-link" href="../functions/RWSContainer.html" data-id="/functions/RWSContainer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSContainer</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">index.ts</span><ul><li><a class="category__link js-category-link" href="../functions/declareRWSComponents.html" data-id="/functions/declareRWSComponents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>declareRWSComponents</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_design_system.ts</span><ul><li><a class="category__link js-category-link" href="../functions/provideRWSDesignSystem.html" data-id="/functions/provideRWSDesignSystem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>provideRWSDesignSystem</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-interfaces"><div class="category__folder" data-id="root-src-interfaces"></div>interfaces</span><ul class="js-category-list category" data-id="root-src-interfaces"><li><span class="category__link category__link--disable js-category-link category__link--ts">IRWSConfig.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/IRWSConfig.html" data-id="/interfaces/IRWSConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSConfig</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">IRWSUser.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/IRWSUser.html" data-id="/interfaces/IRWSUser.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSUser</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">IRWSViewComponent.ts</span><ul><li><a class="category__link js-category-link" href="../types/IRWSAssetShowOptions.html" data-id="/types/IRWSAssetShowOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSAssetShowOptions</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-types"><div class="category__folder" data-id="root-src-types"></div>types</span><ul class="js-category-list category" data-id="root-src-types"><li><span class="category__link category__link--disable js-category-link category__link--ts">RWSNotify.ts</span><ul><li><a class="category__link js-category-link" href="../types/NotifyLogType.html" data-id="/types/NotifyLogType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>NotifyLogType</a></li><li><a class="category__link js-category-link" href="../types/NotifyUiType.html" data-id="/types/NotifyUiType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>NotifyUiType</a></li><li><a class="category__link js-category-link" href="../types/RWSNotify.html" data-id="/types/RWSNotify.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>RWSNotify</a></li></ul></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">client.ts</span><ul><li><a class="category__link js-category-link" href="../functions/realtimeWebSuiteClientPackage.html" data-id="/functions/realtimeWebSuiteClientPackage.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>realtimeWebSuiteClientPackage</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-node_modules"><div class="category__folder" data-id="root-node_modules"></div>node_modules</span><ul class="js-category-list category" data-id="root-node_modules"><li><span class="js-category-title category__title" data-id="root-node_modules-@types"><div class="category__folder" data-id="root-node_modules-@types"></div>@types</span><ul class="js-category-list category" data-id="root-node_modules-@types"><li><span class="js-category-title category__title" data-id="root-node_modules-@types-sanitize-html"><div class="category__folder" data-id="root-node_modules-@types-sanitize-html"></div>sanitize-html</span><ul class="js-category-list category" data-id="root-node_modules-@types-sanitize-html"><li><span class="category__link category__link--disable js-category-link category__link--ts">index.d.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/HTMLAttributes.html" data-id="/interfaces/HTMLAttributes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>HTMLAttributes</a></li><li><a class="category__link js-category-link" href="../interfaces/HTMLTag.html" data-id="/interfaces/HTMLTag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>HTMLTag</a></li><li><a class="category__link js-category-link" href="../types/HTMLTagTransformerType.html" data-id="/types/HTMLTagTransformerType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>HTMLTagTransformerType</a></li></ul></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-node_modules-@microsoft"><div class="category__folder" data-id="root-node_modules-@microsoft"></div>@microsoft</span><ul class="js-category-list category" data-id="root-node_modules-@microsoft"><li><span class="js-category-title category__title" data-id="root-node_modules-@microsoft-fast-element"><div class="category__folder" data-id="root-node_modules-@microsoft-fast-element"></div>fast-element</span><ul class="js-category-list category" data-id="root-node_modules-@microsoft-fast-element"><li><span class="js-category-title category__title" data-id="root-node_modules-@microsoft-fast-element-dist"><div class="category__folder" data-id="root-node_modules-@microsoft-fast-element-dist"></div>dist</span><ul class="js-category-list category" data-id="root-node_modules-@microsoft-fast-element-dist"><li><span class="category__link category__link--disable js-category-link category__link--ts">fast-element.d.ts</span><ul><li><a class="category__link js-category-link" href="../functions/attr.html" data-id="/functions/attr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>attr</a></li><li><a class="category__link js-category-link" href="../functions/observable.html" data-id="/functions/observable.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>observable</a></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></div></div></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><script src="../assets/hierarchy.js"></script></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en"><head><meta charSet="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>_ROUTING_EVENT_NAME | Realtime Web Suite Client package</title><meta name="description" content="Documentation for Realtime Web Suite Client package"/><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><link rel="stylesheet" href="../assets/hierarchy.css"/></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">Realtime Web Suite Client package</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="../modules.html">Realtime Web Suite Client package</a></li><li><a href="_ROUTING_EVENT_NAME.html">_ROUTING_EVENT_NAME</a></li></ul><h1>Variable _ROUTING_EVENT_NAME<code class="tsd-tag ts-flagConst">Const</code> </h1></div><div class="tsd-signature"><span class="tsd-kind-variable">_ROUTING_<wbr/>EVENT_<wbr/>NAME</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;routing.route.change&quot;</span><span class="tsd-signature-symbol"> = &#39;routing.route.change&#39;</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/papablack/rws-client/blob/266d57bd76810a5caf304310a845c8ea61450f99/src/services/RoutingService.ts#L40">src/services/RoutingService.ts:40</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-index-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"><h4 class="uppercase">Member Visibility</h4><form><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-private" name="private"/><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>Private</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></form></div><div class="tsd-theme-toggle"><h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><div class="tree"><div class="tree-config"><button class="tree-config__button tree-config__button--expand js-tree-expand" title="Expand All"><svg xmlns="http://www.w3.org/2000/svg" x="0px" y="0px" viewBox="0 0 490.72 490.72" fill="currentColor"><path d="M480.027,288.027H10.693c-5.867,0-10.667,4.8-10.667,10.667c0,5.867,4.8,10.667,10.667,10.667h213.333v144.96l-45.76-45.76c-4.267-4.053-10.987-3.947-15.04,0.213c-3.947,4.16-3.947,10.667,0,14.827l64,64c4.16,4.16,10.88,4.16,15.04,0l64-64c4.053-4.267,3.947-10.987-0.213-15.04c-4.16-3.947-10.667-3.947-14.827,0l-45.867,45.76V309.36h234.667c5.867,0,10.667-4.8,10.667-10.667C490.693,292.827,485.893,288.027,480.027,288.027z"></path><path d="M10.693,224.027h469.333c5.867,0,10.667-4.8,10.667-10.667c0-5.867-4.8-10.667-10.667-10.667H245.36V36.4l45.76,45.76c4.267,4.053,10.987,3.947,15.04-0.213c3.947-4.16,3.947-10.667,0-14.827l-64-64c-4.16-4.16-10.88-4.16-15.04,0l-64,64c-4.053,4.267-3.947,10.987,0.213,15.04c4.16,3.947,10.667,3.947,14.827,0l45.867-45.76v166.293H10.693c-5.867,0-10.667,4.8-10.667,10.667C0.027,219.227,4.827,224.027,10.693,224.027z"></path></svg></button><button class="tree-config__button tree-config__button--collapse js-tree-collapse" title="Collapse All"><svg viewBox="0 0 16 16" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><path fill-rule="evenodd" d="M1 8a.5.5 0 0 1 .5-.5h13a.5.5 0 0 1 0 1h-13A.5.5 0 0 1 1 8zm7-8a.5.5 0 0 1 .5.5v3.793l1.146-1.147a.5.5 0 0 1 .708.708l-2 2a.5.5 0 0 1-.708 0l-2-2a.5.5 0 1 1 .708-.708L7.5 4.293V.5A.5.5 0 0 1 8 0zm-.5 11.707-1.146 1.147a.5.5 0 0 1-.708-.708l2-2a.5.5 0 0 1 .708 0l2 2a.5.5 0 0 1-.708.708L8.5 11.707V15.5a.5.5 0 0 1-1 0v-3.793z"></path></svg></button><button class="tree-config__button tree-config__button--target js-tree-target" title="Scroll to current file"><svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" fill="currentColor"><circle cx="12" cy="12" r="3"></circle><path d="M13 4.069V2h-2v2.069A8.008 8.008 0 0 0 4.069 11H2v2h2.069A8.007 8.007 0 0 0 11 19.931V22h2v-2.069A8.007 8.007 0 0 0 19.931 13H22v-2h-2.069A8.008 8.008 0 0 0 13 4.069zM12 18c-3.309 0-6-2.691-6-6s2.691-6 6-6 6 2.691 6 6-2.691 6-6 6z"></path></svg></button></div><div class="tree-content"><ul class="js-category-list category" data-id="root"><li><span class="js-category-title category__title" data-id="root-src"><div class="category__folder" data-id="root-src"></div>src</span><ul class="js-category-list category" data-id="root-src"><li><span class="js-category-title category__title" data-id="root-src-services"><div class="category__folder" data-id="root-src-services"></div>services</span><ul class="js-category-list category" data-id="root-src-services"><li><span class="category__link category__link--disable js-category-link category__link--ts">ApiService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/ApiServiceInstance.html" data-id="/classes/ApiServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>ApiServiceInstance</a></li><li><a class="category__link js-category-link" href="../interfaces/IRWSHttpRoute.html" data-id="/interfaces/IRWSHttpRoute.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSHttpRoute</a></li><li><a class="category__link js-category-link" href="../interfaces/IRWSPrefixedHTTProutes.html" data-id="/interfaces/IRWSPrefixedHTTProutes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSPrefixedHTTProutes</a></li><li><a class="category__link js-category-link" href="../types/IRWSBackendRoute.html" data-id="/types/IRWSBackendRoute.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSBackendRoute</a></li><li><a class="category__link js-category-link" href="../functions/ApiService.html" data-id="/functions/ApiService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ApiService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">ConfigService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/ConfigServiceInstance.html" data-id="/classes/ConfigServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>ConfigServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/ConfigService.html" data-id="/functions/ConfigService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ConfigService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">DOMService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/DOMServiceInstance.html" data-id="/classes/DOMServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>DOMServiceInstance</a></li><li><a class="category__link js-category-link" href="../types/DOMOutputType.html" data-id="/types/DOMOutputType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>DOMOutputType</a></li><li><a class="category__link js-category-link" href="../types/TagsProcessorType.html" data-id="/types/TagsProcessorType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>TagsProcessorType</a></li><li><a class="category__link js-category-link" href="../functions/DOMService.html" data-id="/functions/DOMService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>DOMService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">NotifyService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/NotifyServiceInstance.html" data-id="/classes/NotifyServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>NotifyServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/NotifyService.html" data-id="/functions/NotifyService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>NotifyService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_service.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RWSService.html" data-id="/classes/RWSService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RWSService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">RoutingService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RoutingServiceInstance.html" data-id="/classes/RoutingServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RoutingServiceInstance</a></li><li><a class="category__link js-category-link" href="../interfaces/IRoutingEvent.html" data-id="/interfaces/IRoutingEvent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRoutingEvent</a></li><li><a class="category__link js-category-link" href="../types/IRWSFrontRoutes.html" data-id="/types/IRWSFrontRoutes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSFrontRoutes</a></li><li><a class="category__link js-category-link" href="_ROUTING_EVENT_NAME.html" data-id="/variables/_ROUTING_EVENT_NAME.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-32"></use></svg>_ROUTING_EVENT_NAME</a></li><li><a class="category__link js-category-link" href="../functions/RoutingService.html" data-id="/functions/RoutingService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RoutingService</a></li><li><a class="category__link js-category-link" href="../functions/renderRouteComponent.html" data-id="/functions/renderRouteComponent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>renderRouteComponent</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">ServiceWorkerService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/ServiceWorkerServiceInstance.html" data-id="/classes/ServiceWorkerServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>ServiceWorkerServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/ServiceWorkerService.html" data-id="/functions/ServiceWorkerService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ServiceWorkerService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">UtilsService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/UtilsServiceInstance.html" data-id="/classes/UtilsServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>UtilsServiceInstance</a></li><li><a class="category__link js-category-link" href="../functions/UtilsService.html" data-id="/functions/UtilsService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>UtilsService</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">WSService.ts</span><ul><li><a class="category__link js-category-link" href="../classes/WSServiceInstance.html" data-id="/classes/WSServiceInstance.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>WSServiceInstance</a></li><li><a class="category__link js-category-link" href="../types/IRWSWebsocketStatus.html" data-id="/types/IRWSWebsocketStatus.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSWebsocketStatus</a></li><li><a class="category__link js-category-link" href="../functions/WSService.html" data-id="/functions/WSService.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>WSService</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-routing"><div class="category__folder" data-id="root-src-routing"></div>routing</span><ul class="js-category-list category" data-id="root-src-routing"><li><span class="category__link category__link--disable js-category-link category__link--ts">_router.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RWSRouter.html" data-id="/classes/RWSRouter.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RWSRouter</a></li><li><a class="category__link js-category-link" href="../types/IRWSRouteResult.html" data-id="/types/IRWSRouteResult.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSRouteResult</a></li><li><a class="category__link js-category-link" href="../types/RouteReturn.html" data-id="/types/RouteReturn.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>RouteReturn</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-components"><div class="category__folder" data-id="root-src-components"></div>components</span><ul class="js-category-list category" data-id="root-src-components"><li><span class="js-category-title category__title" data-id="root-src-components-_decorators"><div class="category__folder" data-id="root-src-components-_decorators"></div>_decorators</span><ul class="js-category-list category" data-id="root-src-components-_decorators"><li><span class="category__link category__link--disable js-category-link category__link--ts">RWSInject.ts</span><ul><li><a class="category__link js-category-link" href="../functions/RWSInject.html" data-id="/functions/RWSInject.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSInject</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-components-_attrs"><div class="category__folder" data-id="root-src-components-_attrs"></div>_attrs</span><ul class="js-category-list category" data-id="root-src-components-_attrs"><li><span class="category__link category__link--disable js-category-link category__link--ts">angular-attr.ts</span><ul><li><a class="category__link js-category-link" href="../functions/ngAttr.html" data-id="/functions/ngAttr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>ngAttr</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">sanitize-html.ts</span><ul><li><a class="category__link js-category-link" href="../functions/sanitizedAttr.html" data-id="/functions/sanitizedAttr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>sanitizedAttr</a></li></ul></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_component.ts</span><ul><li><a class="category__link js-category-link" href="../classes/RWSViewComponent.html" data-id="/classes/RWSViewComponent.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-128"></use></svg>RWSViewComponent</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_decorator.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/IRWSDecoratorOptions.html" data-id="/interfaces/IRWSDecoratorOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSDecoratorOptions</a></li><li><a class="category__link js-category-link" href="../functions/RWSIgnore.html" data-id="/functions/RWSIgnore.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSIgnore</a></li><li><a class="category__link js-category-link" href="../functions/RWSView.html" data-id="/functions/RWSView.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSView</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_container.ts</span><ul><li><a class="category__link js-category-link" href="../functions/RWSContainer.html" data-id="/functions/RWSContainer.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>RWSContainer</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">index.ts</span><ul><li><a class="category__link js-category-link" href="../functions/declareRWSComponents.html" data-id="/functions/declareRWSComponents.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>declareRWSComponents</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">_design_system.ts</span><ul><li><a class="category__link js-category-link" href="../functions/provideRWSDesignSystem.html" data-id="/functions/provideRWSDesignSystem.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>provideRWSDesignSystem</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-interfaces"><div class="category__folder" data-id="root-src-interfaces"></div>interfaces</span><ul class="js-category-list category" data-id="root-src-interfaces"><li><span class="category__link category__link--disable js-category-link category__link--ts">IRWSConfig.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/IRWSConfig.html" data-id="/interfaces/IRWSConfig.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSConfig</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">IRWSUser.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/IRWSUser.html" data-id="/interfaces/IRWSUser.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>IRWSUser</a></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">IRWSViewComponent.ts</span><ul><li><a class="category__link js-category-link" href="../types/IRWSAssetShowOptions.html" data-id="/types/IRWSAssetShowOptions.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>IRWSAssetShowOptions</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-src-types"><div class="category__folder" data-id="root-src-types"></div>types</span><ul class="js-category-list category" data-id="root-src-types"><li><span class="category__link category__link--disable js-category-link category__link--ts">RWSNotify.ts</span><ul><li><a class="category__link js-category-link" href="../types/NotifyLogType.html" data-id="/types/NotifyLogType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>NotifyLogType</a></li><li><a class="category__link js-category-link" href="../types/NotifyUiType.html" data-id="/types/NotifyUiType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>NotifyUiType</a></li><li><a class="category__link js-category-link" href="../types/RWSNotify.html" data-id="/types/RWSNotify.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>RWSNotify</a></li></ul></li></ul></li><li><span class="category__link category__link--disable js-category-link category__link--ts">client.ts</span><ul><li><a class="category__link js-category-link" href="../functions/realtimeWebSuiteClientPackage.html" data-id="/functions/realtimeWebSuiteClientPackage.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>realtimeWebSuiteClientPackage</a></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-node_modules"><div class="category__folder" data-id="root-node_modules"></div>node_modules</span><ul class="js-category-list category" data-id="root-node_modules"><li><span class="js-category-title category__title" data-id="root-node_modules-@types"><div class="category__folder" data-id="root-node_modules-@types"></div>@types</span><ul class="js-category-list category" data-id="root-node_modules-@types"><li><span class="js-category-title category__title" data-id="root-node_modules-@types-sanitize-html"><div class="category__folder" data-id="root-node_modules-@types-sanitize-html"></div>sanitize-html</span><ul class="js-category-list category" data-id="root-node_modules-@types-sanitize-html"><li><span class="category__link category__link--disable js-category-link category__link--ts">index.d.ts</span><ul><li><a class="category__link js-category-link" href="../interfaces/HTMLAttributes.html" data-id="/interfaces/HTMLAttributes.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>HTMLAttributes</a></li><li><a class="category__link js-category-link" href="../interfaces/HTMLTag.html" data-id="/interfaces/HTMLTag.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-256"></use></svg>HTMLTag</a></li><li><a class="category__link js-category-link" href="../types/HTMLTagTransformerType.html" data-id="/types/HTMLTagTransformerType.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-2097152"></use></svg>HTMLTagTransformerType</a></li></ul></li></ul></li></ul></li><li><span class="js-category-title category__title" data-id="root-node_modules-@microsoft"><div class="category__folder" data-id="root-node_modules-@microsoft"></div>@microsoft</span><ul class="js-category-list category" data-id="root-node_modules-@microsoft"><li><span class="js-category-title category__title" data-id="root-node_modules-@microsoft-fast-element"><div class="category__folder" data-id="root-node_modules-@microsoft-fast-element"></div>fast-element</span><ul class="js-category-list category" data-id="root-node_modules-@microsoft-fast-element"><li><span class="js-category-title category__title" data-id="root-node_modules-@microsoft-fast-element-dist"><div class="category__folder" data-id="root-node_modules-@microsoft-fast-element-dist"></div>dist</span><ul class="js-category-list category" data-id="root-node_modules-@microsoft-fast-element-dist"><li><span class="category__link category__link--disable js-category-link category__link--ts">fast-element.d.ts</span><ul><li><a class="category__link js-category-link" href="../functions/attr.html" data-id="/functions/attr.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>attr</a></li><li><a class="category__link js-category-link" href="../functions/observable.html" data-id="/functions/observable.html"><svg class="tsd-kind-icon" viewBox="0 0 24 24"><use href="../assets/icons.svg#icon-64"></use></svg>observable</a></li></ul></li></ul></li></ul></li></ul></li></ul></li></ul></div></div></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><script src="../assets/hierarchy.js"></script></body></html>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@rws-framework/client",
3
3
  "private": false,
4
- "version": "2.7.2",
4
+ "version": "2.8.0",
5
5
  "main": "src/index.ts",
6
6
  "scripts": {
7
7
  "docs": "typedoc --tsconfig ./tsconfig.json"
@@ -18,7 +18,7 @@ const JsMinimizerPlugin = require('terser-webpack-plugin');
18
18
  const json5 = require('json5');
19
19
  const { rwsPath } = require('@rws-framework/console');
20
20
 
21
- const RWSWebpackWrapper = (config) => {
21
+ const RWSWebpackWrapper = async (config) => {
22
22
  const BuildConfigurator = new RWSConfigBuilder(RWSPath.findPackageDir(process.cwd()) + '/.rws.json', {..._DEFAULT_CONFIG, ...config});
23
23
 
24
24
  config.packageDir = RWSPath.findPackageDir(process.cwd());
@@ -33,8 +33,8 @@ const RWSWebpackWrapper = (config) => {
33
33
  const partedPrefix = BuildConfigurator.get('partedPrefix', config.partedPrefix);
34
34
  const partedDirUrlPrefix = BuildConfigurator.get('partedDirUrlPrefix', config.partedDirUrlPrefix);
35
35
 
36
- const partedComponentsLocations = BuildConfigurator.get('partedComponentsLocations', config.partedComponentsLocations);
37
- const customServiceLocations = BuildConfigurator.get('customServiceLocations', config.customServiceLocations);
36
+ let partedComponentsLocations = BuildConfigurator.get('partedComponentsLocations', config.partedComponentsLocations);
37
+ const customServiceLocations = BuildConfigurator.get('customServiceLocations', config.customServiceLocations); //@todo: check if needed
38
38
  const outputDir = RWSPath.relativize(BuildConfigurator.get('outputDir', config.outputDir), config.packageDir);
39
39
 
40
40
  const outputFileName = BuildConfigurator.get('outputFileName') || config.outputFileName;
@@ -45,7 +45,14 @@ const RWSWebpackWrapper = (config) => {
45
45
 
46
46
 
47
47
  const tsConfigPath = rwsPath.relativize(BuildConfigurator.get('tsConfigPath') || config.tsConfigPath, executionDir);
48
+ const rwsPlugins = {};
48
49
 
50
+ if(config.rwsPlugins){
51
+ for(const pluginEntry of config.rwsPlugins){
52
+ const pluginBuilder = (await import(`${pluginEntry}/build.js`)).default;
53
+ rwsPlugins[pluginEntry] = new pluginBuilder(BuildConfigurator, config);
54
+ }
55
+ }
49
56
 
50
57
  RWSPath.removeDirectory(outputDir, true);
51
58
 
@@ -126,19 +133,6 @@ const RWSWebpackWrapper = (config) => {
126
133
  const foundRWSClientClasses = tools.findComponentFilesWithText(__dirname, '@RWSView', ['dist', 'node_modules']);
127
134
  let RWSComponents = [...foundRWSUserClasses, ...foundRWSClientClasses];
128
135
 
129
- const servicePath = path.resolve(__dirname, 'src', 'services', '_service.ts');
130
-
131
- const servicesLocations = [
132
- path.resolve(__dirname, 'src', 'services'),
133
- path.resolve(executionDir, 'src', 'services')
134
- ];
135
-
136
- if (customServiceLocations) {
137
- customServiceLocations.forEach((serviceDir) => {
138
- servicesLocations.push(serviceDir);
139
- });
140
- }
141
-
142
136
  const optimConfig = {};
143
137
 
144
138
  if(!isDev){
@@ -167,12 +161,17 @@ const RWSWebpackWrapper = (config) => {
167
161
  if (isParted) {
168
162
  WEBPACK_PLUGINS.push(new webpack.BannerPlugin(tools.getPartedModeVendorsBannerParams(partedDirUrlPrefix, partedPrefix)));
169
163
 
164
+ for (const pluginKey of Object.keys(rwsPlugins)){
165
+ const plugin = rwsPlugins[pluginKey];
166
+ partedComponentsLocations = await plugin.onComponentsLocated(partedComponentsLocations);
167
+ }
168
+
170
169
  if (partedComponentsLocations) {
171
170
  partedComponentsLocations.forEach((componentDir) => {
172
171
  RWSComponents = [...RWSComponents, ...(tools.findComponentFilesWithText(path.resolve(componentDir), '@RWSView', ['dist', 'node_modules', '@rws-framework/client']))];
173
172
  });
174
173
  }
175
-
174
+
176
175
  RWSComponents.forEach((fileInfo) => {
177
176
  const isIgnored = fileInfo.isIgnored;
178
177
 
@@ -181,7 +180,7 @@ const RWSWebpackWrapper = (config) => {
181
180
  return;
182
181
  }
183
182
 
184
- automatedEntries[fileInfo.sanitName] = fileInfo.filePath;
183
+ automatedEntries[fileInfo.tagName] = fileInfo.filePath;
185
184
  });
186
185
 
187
186
  fs.writeFileSync(rwsInfoJson, JSON.stringify({ components: Object.keys(automatedEntries) }, null, 2));
@@ -218,9 +217,9 @@ const RWSWebpackWrapper = (config) => {
218
217
 
219
218
  if (!tsValidated) {
220
219
  throw new Error('RWS Webpack build failed.');
221
- }
220
+ }
222
221
 
223
- const cfgExport = {
222
+ let cfgExport = {
224
223
  context: executionDir,
225
224
  entry: {
226
225
  client: config.entry,
@@ -299,6 +298,11 @@ const RWSWebpackWrapper = (config) => {
299
298
  }
300
299
  }
301
300
 
301
+ for (const pluginKey of Object.keys(rwsPlugins)){
302
+ const plugin = rwsPlugins[pluginKey];
303
+ cfgExport = await plugin.onBuild(cfgExport);
304
+ }
305
+
302
306
  return cfgExport;
303
307
  }
304
308
 
@@ -1,25 +1,30 @@
1
1
  import RWSWindow, { RWSWindowComponentRegister } from "../interfaces/RWSWindow";
2
2
  import { RWSClientInstance } from "../client";
3
3
  import RWSViewComponent, { IWithCompose } from "../components/_component";
4
+ import { RWSPlugin } from "../plugins/_plugin";
4
5
  type RWSInfoType = { components: string[] };
5
6
 
6
- async function loadPartedComponents(this: RWSClientInstance): Promise<void> {
7
+ async function loadPartedComponents(this: RWSClientInstance): Promise<RWSInfoType> {
7
8
  this.assignClientToBrowser();
8
9
 
9
10
  const componentParts: RWSInfoType = await this.apiService.get<RWSInfoType>(this.appConfig.get('partedDirUrlPrefix') + '/rws_info.json');
10
11
 
11
12
  const componentsPromises: Promise<string>[] = [];
12
13
 
14
+ let compList = '';
15
+
13
16
  componentParts.components.forEach((componentName: string, key: number) => {
14
17
  const partUrl = `${this.appConfig.get('partedDirUrlPrefix')}/${this.appConfig.get('partedPrefix')}.${componentName}.js`;
15
18
  componentsPromises.push(this.apiService.pureGet(partUrl, {
16
19
  headers: {
17
20
  'Content-Type': 'script'
18
21
  } as any
19
- }));
20
- console.log(`Appended ${componentParts.components[key]} component (${partUrl})`);
22
+ }));
21
23
 
24
+ compList += ` - \x1b[1m${componentParts.components[key]}:\x1b[0m component (${partUrl}) \n`;
22
25
  });
26
+
27
+ console.info(`\x1b[1m[RWS]\x1b[0m" \x1b[1mPARTED\x1b[0m" mode asynchronously added components: \n${compList}`);
23
28
 
24
29
  const downloadedComponents = await Promise.all(componentsPromises);
25
30
 
@@ -29,6 +34,8 @@ async function loadPartedComponents(this: RWSClientInstance): Promise<void> {
29
34
  script.type = 'text/javascript';
30
35
  document.body.appendChild(script);
31
36
  });
37
+
38
+ return componentParts;
32
39
  }
33
40
 
34
41
  function defineAllComponents() {
@@ -37,6 +44,10 @@ function defineAllComponents() {
37
44
  Object.keys(richWindowComponents).map(key => richWindowComponents[key].component).forEach((el: IWithCompose<RWSViewComponent>) => {
38
45
  el.define(el as any, el.definition);
39
46
  });
47
+
48
+ for (const plugin of RWSPlugin.getAllPlugins()){
49
+ plugin.onComponentsDeclare();
50
+ }
40
51
  }
41
52
 
42
53
  function getBinds(this: RWSClientInstance){
@@ -52,5 +63,6 @@ const ComponentHelperStatic = {
52
63
  }
53
64
 
54
65
  export {
55
- ComponentHelperStatic
66
+ ComponentHelperStatic,
67
+ RWSInfoType
56
68
  }
@@ -1,6 +1,8 @@
1
1
  import { IRWSConfig, IRWSUser } from "../index";
2
2
  import { RWSClientInstance } from "../client";
3
- import startClient from '../run';
3
+
4
+ import { RWSPlugin, DefaultRWSPluginOptionsType } from "../plugins/_plugin";
5
+ import RWSWindow, {loadRWSRichWindow } from '../interfaces/RWSWindow';
4
6
 
5
7
  type RWSInfoType = { components: string[] };
6
8
 
@@ -24,10 +26,13 @@ function setUser(this: RWSClientInstance, user: IRWSUser): RWSClientInstance {
24
26
  this.user = user;
25
27
 
26
28
  this.apiService.setToken(this.user.jwt_token);
27
- this.wsService.setUser(this.user);
28
29
 
29
30
  localStorage.setItem('the_rws_user', JSON.stringify(this.user));
30
31
 
32
+ for(const plugin of RWSPlugin.getAllPlugins()){
33
+ plugin.onSetUser(user);
34
+ }
35
+
31
36
  return this;
32
37
  }
33
38
 
@@ -66,18 +71,42 @@ function get(this: RWSClientInstance, key: string): any | null
66
71
  return null;
67
72
  }
68
73
 
74
+ type PluginConstructor<T extends DefaultRWSPluginOptionsType> = new (options: T) => RWSPlugin<T>;
75
+ type RWSPluginEntry<T extends DefaultRWSPluginOptionsType> = PluginConstructor<T> | [PluginConstructor<T>, T];
76
+
77
+ function addPlugin<T extends DefaultRWSPluginOptionsType>(this: RWSClientInstance, pluginEntry: RWSPluginEntry<T>){
78
+ const rwsWindow: RWSWindow = loadRWSRichWindow();
79
+ const pluginClass: PluginConstructor<T> = (Array.isArray(pluginEntry) ? pluginEntry[0] : pluginEntry) as PluginConstructor<T>;
80
+ const pluginOptions: T = (Array.isArray(pluginEntry) ? pluginEntry[1] : { enabled: true }) as T;
81
+
82
+ if(!Object.keys(rwsWindow.RWS.plugins).includes(pluginClass.name)){
83
+ const pluginInstance: RWSPlugin<T> = new pluginClass(pluginOptions);
84
+ this.plugins[pluginClass.name] = pluginInstance;
85
+ rwsWindow.RWS.plugins[pluginClass.name] = pluginInstance;
86
+ }
87
+ }
88
+
69
89
  async function setup(this: RWSClientInstance, config: IRWSConfig = {}): Promise<IRWSConfig> {
70
90
  if (this.isSetup) {
71
91
  return this.config;
72
92
  }
73
93
 
74
94
  this.config = { ...this.config, ...config };
75
- this.appConfig.mergeConfig(this.config);
95
+ this.appConfig.mergeConfig(this.config);
96
+
97
+ if(this.config.plugins){
98
+ for (const pluginEntry of this.config.plugins){
99
+ addPlugin.bind(this)(pluginEntry);
100
+ }
101
+ }
76
102
 
77
103
  if (this.appConfig.get('parted')) {
78
- await this.loadPartedComponents();
79
- }
104
+ const componentParts = await this.loadPartedComponents();
80
105
 
106
+ for (const plugin of RWSPlugin.getAllPlugins()){
107
+ plugin.onPartedComponentsLoad(componentParts);
108
+ }
109
+ }
81
110
 
82
111
  this.isSetup = true;
83
112
  return this.config;
@@ -98,10 +127,12 @@ async function start(this: RWSClientInstance, config: IRWSConfig = {}): Promise<
98
127
  this.pushUserToServiceWorker(this.user);
99
128
  }
100
129
 
101
- await startClient(this.appConfig, this.wsService, this.notifyService, this.routingService);
102
-
103
130
  await this.initCallback();
104
131
 
132
+ for (const plugin of RWSPlugin.getAllPlugins()){
133
+ plugin.onClientStart();
134
+ }
135
+
105
136
  return this;
106
137
  }
107
138
 
package/src/client.ts CHANGED
@@ -7,8 +7,7 @@ import UtilsService, { UtilsServiceInstance } from './services/UtilsService';
7
7
  import DOMService, { DOMServiceInstance } from './services/DOMService';
8
8
  import ApiService, { ApiServiceInstance } from './services/ApiService';
9
9
  import NotifyService, { NotifyServiceInstance } from './services/NotifyService';
10
- import RoutingService, { RoutingServiceInstance } from './services/RoutingService';
11
- import WSService, { WSServiceInstance } from './services/WSService';
10
+
12
11
  import ServiceWorkerService, { ServiceWorkerServiceInstance } from './services/ServiceWorkerService';
13
12
  import { IBackendRoute } from './services/ApiService';
14
13
  import IRWSUser from './interfaces/IRWSUser';
@@ -16,17 +15,14 @@ import RWSWindow, { RWSWindowComponentRegister, loadRWSRichWindow } from './inte
16
15
 
17
16
  import { DI, Container, Registration } from '@microsoft/fast-foundation';
18
17
 
19
- import {
20
- IFrontRoutes
21
- } from './services/RoutingService';
22
-
23
18
  import RWSViewComponent, { IWithCompose } from './components/_component';
24
19
  import RWSContainer from './components/_container';
25
20
  import TheRWSService from './services/_service';
26
21
 
27
- import ComponentHelper, { ComponentHelperStatic } from './client/components';
22
+ import ComponentHelper, { ComponentHelperStatic, RWSInfoType } from './client/components';
28
23
  import ServicesHelper from './client/services';
29
24
  import ConfigHelper from './client/config';
25
+ import { DefaultRWSPluginOptionsType, RWSPlugin } from './plugins/_plugin';
30
26
 
31
27
  interface IHotModule extends NodeModule {
32
28
  hot?: {
@@ -37,7 +33,6 @@ interface IHotModule extends NodeModule {
37
33
  }
38
34
  }
39
35
 
40
- type RWSInfoType = { components: string[] };
41
36
  type RWSEventListener = (event: CustomEvent) => void;
42
37
 
43
38
  class RWSClient {
@@ -45,6 +40,7 @@ class RWSClient {
45
40
  protected user: IRWSUser = null;
46
41
 
47
42
  protected config: IRWSConfig = {};
43
+ protected plugins: {[key: string]: RWSPlugin<DefaultRWSPluginOptionsType>} = {}
48
44
  protected isSetup = false;
49
45
  protected devStorage: { [key: string]: any } = {};
50
46
  protected customServices: { [serviceName: string]: TheRWSService} = {};
@@ -57,12 +53,10 @@ class RWSClient {
57
53
  protected initCallback: () => Promise<void> = async () => { };
58
54
 
59
55
  constructor(
60
- @ConfigService public appConfig: ConfigServiceInstance,
61
- @RoutingService public routingService: RoutingServiceInstance,
56
+ @ConfigService public appConfig: ConfigServiceInstance,
62
57
  @DOMService public domService: DOMServiceInstance,
63
58
  @UtilsService public utilsService: UtilsServiceInstance,
64
59
  @ApiService public apiService: ApiServiceInstance,
65
- @WSService public wsService: WSServiceInstance,
66
60
  @ServiceWorkerService public swService: ServiceWorkerServiceInstance,
67
61
  @NotifyService public notifyService: NotifyServiceInstance
68
62
  ) {
@@ -93,11 +87,7 @@ class RWSClient {
93
87
  get(key: string): any | null
94
88
  {
95
89
  return this.configHelper.get(key);
96
- }
97
-
98
- addRoutes(routes: IFrontRoutes) {
99
- this.config.routes = routes;
100
- }
90
+ }
101
91
 
102
92
  setNotifier(notifier: RWSNotify): RWSClient {
103
93
  this.notifyService.setNotifier(notifier);
@@ -118,6 +108,11 @@ class RWSClient {
118
108
 
119
109
  async onInit(callback: () => Promise<void>): Promise<RWSClient> {
120
110
  this.initCallback = callback;
111
+
112
+ for (const plugin of RWSPlugin.getAllPlugins()){
113
+ plugin.onComponentsDeclare();
114
+ }
115
+
121
116
  return this;
122
117
  }
123
118
 
@@ -161,7 +156,7 @@ class RWSClient {
161
156
 
162
157
  }
163
158
 
164
- async loadPartedComponents(): Promise<void> {
159
+ async loadPartedComponents(): Promise<RWSInfoType> {
165
160
  return this.componentHelper.loadPartedComponents();
166
161
  }
167
162
 
@@ -5,7 +5,6 @@ import UtilsService, { UtilsServiceInstance } from '../services/UtilsService';
5
5
  import DOMService, { DOMServiceInstance, DOMOutputType } from '../services/DOMService';
6
6
  import ApiService, { ApiServiceInstance } from '../services/ApiService';
7
7
  import NotifyService, { NotifyServiceInstance } from '../services/NotifyService';
8
- import WSService, { WSServiceInstance } from '../services/WSService';
9
8
  import { IRWSViewComponent, IAssetShowOptions } from '../interfaces/IRWSViewComponent';
10
9
  import RWSWindow, { RWSWindowComponentInterface, loadRWSRichWindow } from '../interfaces/RWSWindow';
11
10
  import { applyConstructor, RWSInject } from './_decorator';
@@ -52,8 +51,7 @@ abstract class RWSViewComponent extends FoundationElement implements IRWSViewCom
52
51
  @RWSInject(ConfigService, true) protected config: ConfigServiceInstance;
53
52
  @RWSInject(DOMService, true) protected domService: DOMServiceInstance;
54
53
  @RWSInject(UtilsService, true) protected utilsService: UtilsServiceInstance;
55
- @RWSInject(ApiService, true) protected apiService: ApiServiceInstance;
56
- @RWSInject(WSService, true) protected wsService: WSServiceInstance;
54
+ @RWSInject(ApiService, true) protected apiService: ApiServiceInstance;
57
55
  @RWSInject(NotifyService, true) protected notifyService: NotifyServiceInstance;
58
56
 
59
57
  @observable trashIterator: number = 0;
@@ -1,6 +1,6 @@
1
1
  import RWSViewComponent, { IWithCompose } from './_component';
2
2
  import { RWSInject } from './_decorators/RWSInject';
3
-
3
+ import { ElementStyles, ViewTemplate } from '@microsoft/fast-element';
4
4
  import 'reflect-metadata';
5
5
 
6
6
  interface RWSDecoratorOptions {
@@ -13,11 +13,28 @@ interface RWSDecoratorOptions {
13
13
 
14
14
  //const _PARAMTYPES_METADATA_KEY = 'design:paramtypes';
15
15
 
16
- function RWSView<T extends RWSViewComponent>(name: string, data?: RWSDecoratorOptions): (type: any) => void {
17
- return (constructor: T) => {
16
+ function RWSView<Component extends RWSViewComponent>(name: string, data?: RWSDecoratorOptions, override?: { styles?: ElementStyles, template?: ViewTemplate, options?: any }): (type: any) => void {
17
+ return (theComponent: IWithCompose<Component>) => {
18
+ theComponent.definition = { name, template: null }
19
+
20
+ if(override){
21
+ if(override.styles){
22
+ theComponent.definition.styles = override.styles;
23
+ }
24
+
25
+ if(override.template){
26
+ theComponent.definition.template = override.template;
27
+ }
28
+
29
+
30
+ if(override.options){
31
+ (theComponent.definition as any).options = override.options;
32
+ }
33
+ }
18
34
  };
19
35
  }
20
36
 
37
+
21
38
  function RWSIgnore(params: { mergeToApp?: boolean } | null = null): () => void {
22
39
  return () => { };
23
40
  }
@@ -1,5 +1,4 @@
1
1
  import { RWSUploader } from './uploader/component';
2
- import { RouterComponent } from './router/component';
3
2
  import { RWSProgress } from './progress/component';
4
3
  import { RWSLoader } from './loader/component';
5
4
 
@@ -7,8 +6,7 @@ import { RWSLoader } from './loader/component';
7
6
  function declareRWSComponents(parted: boolean = false): void
8
7
  {
9
8
  if(!parted){
10
- RWSUploader;
11
- RouterComponent;
9
+ RWSUploader;
12
10
  RWSProgress;
13
11
  RWSLoader;
14
12
  }
@@ -1,4 +1,4 @@
1
- import { RWSView, RWSViewComponent } from '@rws-framework/client';
1
+ import { RWSView, RWSViewComponent } from '../../index';
2
2
 
3
3
  @RWSView('the-loader')
4
4
  class RWSLoader extends RWSViewComponent {