@rxap/layout 22.0.0-dev.1 → 22.0.0-dev.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (247) hide show
  1. package/CHANGELOG.md +27 -0
  2. package/README.md +5 -3
  3. package/compodoc/changelog.html +26 -0
  4. package/compodoc/dependencies.html +12 -12
  5. package/compodoc/index.html +4 -3
  6. package/compodoc/js/search/search_index.js +2 -2
  7. package/compodoc/llms.txt +3 -1
  8. package/compodoc/miscellaneous/functions.html +81 -0
  9. package/compodoc/properties.html +1 -1
  10. package/docs/documentation.json +343 -319
  11. package/docs/html/classes/AppsButtonComponent.html +10 -10
  12. package/docs/html/classes/BaseLayoutComponent.html +4 -4
  13. package/docs/html/classes/DefaultHeaderComponent.html +12 -12
  14. package/docs/html/classes/DefaultHeaderService.html +8 -8
  15. package/docs/html/classes/ExternalAppsService.html +20 -20
  16. package/docs/html/classes/FooterComponent.html +7 -7
  17. package/docs/html/classes/FooterDirective.html +6 -6
  18. package/docs/html/classes/FooterService.html +8 -8
  19. package/docs/html/classes/HeaderComponent.html +8 -8
  20. package/docs/html/classes/HeaderDirective.html +6 -6
  21. package/docs/html/classes/HeaderService.html +8 -8
  22. package/docs/html/classes/LayoutComponent.html +8 -8
  23. package/docs/html/classes/LayoutService.html +19 -19
  24. package/docs/html/classes/LogoService.html +8 -8
  25. package/docs/html/classes/MinimalLayoutComponent.html +4 -4
  26. package/docs/html/classes/NavigationComponent.html +14 -14
  27. package/docs/html/classes/NavigationItemComponent.html +16 -16
  28. package/docs/html/classes/NavigationProgressBarComponent.html +6 -6
  29. package/docs/html/classes/NavigationService.html +14 -14
  30. package/docs/html/classes/ReleaseInfoComponent.html +8 -8
  31. package/docs/html/classes/SettingsButtonComponent.html +21 -21
  32. package/docs/html/classes/SidenavComponent.html +20 -20
  33. package/docs/html/classes/SidenavFooterDirective.html +5 -5
  34. package/docs/html/classes/SidenavHeaderDirective.html +5 -5
  35. package/docs/html/classes/SidenavToggleButtonComponent.html +7 -7
  36. package/docs/html/classes/UserProfileIconComponent.html +9 -9
  37. package/docs/html/functions/IsNavigationDividerItem.html +4 -4
  38. package/docs/html/functions/IsNavigationInsertItem.html +4 -4
  39. package/docs/html/functions/IsNavigationItem.html +4 -4
  40. package/docs/html/functions/provideExternalApps.html +4 -4
  41. package/docs/html/functions/provideLayout.html +4 -4
  42. package/docs/html/functions/withDefaultHeaderComponent.html +4 -4
  43. package/docs/html/functions/withDefaultHeaderItems.html +4 -4
  44. package/docs/html/functions/withFooterComponents.html +4 -4
  45. package/docs/html/functions/withHeaderComponents.html +4 -4
  46. package/docs/html/functions/withNavigationConfig.html +4 -4
  47. package/docs/html/functions/withNavigationInserts.html +4 -4
  48. package/docs/html/functions/withReleaseInfoModules.html +4 -4
  49. package/docs/html/functions/withSettingsMenuItems.html +4 -4
  50. package/docs/html/functions/withUserProfileDataSource.html +4 -4
  51. package/docs/html/hierarchy.html +4 -4
  52. package/docs/html/index.html +8 -7
  53. package/docs/html/interfaces/NavigationDividerItem.html +6 -6
  54. package/docs/html/interfaces/NavigationInsertItem.html +5 -5
  55. package/docs/html/interfaces/NavigationItem.html +9 -9
  56. package/docs/html/interfaces/NavigationStatus.html +5 -5
  57. package/docs/html/interfaces/ReleaseInfoModule.html +7 -7
  58. package/docs/html/interfaces/SettingsMenuItem.html +7 -7
  59. package/docs/html/modules.html +4 -4
  60. package/docs/html/types/DefaultHeaderItemComponent.html +4 -4
  61. package/docs/html/types/ExternalApp.html +4 -4
  62. package/docs/html/types/ExtractUsernameFromProfileFn.html +4 -4
  63. package/docs/html/types/Navigation.html +4 -4
  64. package/docs/html/types/NavigationWithInserts.html +4 -4
  65. package/docs/html/types/SettingsMenuItemComponent.html +4 -4
  66. package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +4 -4
  67. package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +4 -4
  68. package/docs/html/variables/RXAP_EXTERNAL_APP.html +4 -4
  69. package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +4 -4
  70. package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +4 -4
  71. package/docs/html/variables/RXAP_HEADER_COMPONENT.html +4 -4
  72. package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +4 -4
  73. package/docs/html/variables/RXAP_LOGO_CONFIG.html +4 -4
  74. package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +4 -4
  75. package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +4 -4
  76. package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +4 -4
  77. package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +4 -4
  78. package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +4 -4
  79. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +4 -4
  80. package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +4 -4
  81. package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +4 -4
  82. package/docs/markdown/README.md +6 -4
  83. package/docs/markdown/classes/AppsButtonComponent.md +8 -8
  84. package/docs/markdown/classes/BaseLayoutComponent.md +2 -2
  85. package/docs/markdown/classes/DefaultHeaderComponent.md +10 -10
  86. package/docs/markdown/classes/DefaultHeaderService.md +6 -6
  87. package/docs/markdown/classes/ExternalAppsService.md +18 -18
  88. package/docs/markdown/classes/FooterComponent.md +5 -5
  89. package/docs/markdown/classes/FooterDirective.md +4 -4
  90. package/docs/markdown/classes/FooterService.md +6 -6
  91. package/docs/markdown/classes/HeaderComponent.md +6 -6
  92. package/docs/markdown/classes/HeaderDirective.md +4 -4
  93. package/docs/markdown/classes/HeaderService.md +6 -6
  94. package/docs/markdown/classes/LayoutComponent.md +6 -6
  95. package/docs/markdown/classes/LayoutService.md +17 -17
  96. package/docs/markdown/classes/LogoService.md +6 -6
  97. package/docs/markdown/classes/MinimalLayoutComponent.md +2 -2
  98. package/docs/markdown/classes/NavigationComponent.md +12 -12
  99. package/docs/markdown/classes/NavigationItemComponent.md +14 -14
  100. package/docs/markdown/classes/NavigationProgressBarComponent.md +4 -4
  101. package/docs/markdown/classes/NavigationService.md +12 -12
  102. package/docs/markdown/classes/ReleaseInfoComponent.md +6 -6
  103. package/docs/markdown/classes/SettingsButtonComponent.md +19 -19
  104. package/docs/markdown/classes/SidenavComponent.md +18 -18
  105. package/docs/markdown/classes/SidenavFooterDirective.md +3 -3
  106. package/docs/markdown/classes/SidenavHeaderDirective.md +3 -3
  107. package/docs/markdown/classes/SidenavToggleButtonComponent.md +5 -5
  108. package/docs/markdown/classes/UserProfileIconComponent.md +7 -7
  109. package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
  110. package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
  111. package/docs/markdown/functions/IsNavigationItem.md +2 -2
  112. package/docs/markdown/functions/provideExternalApps.md +2 -2
  113. package/docs/markdown/functions/provideLayout.md +2 -2
  114. package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
  115. package/docs/markdown/functions/withDefaultHeaderItems.md +2 -2
  116. package/docs/markdown/functions/withFooterComponents.md +2 -2
  117. package/docs/markdown/functions/withHeaderComponents.md +2 -2
  118. package/docs/markdown/functions/withNavigationConfig.md +2 -2
  119. package/docs/markdown/functions/withNavigationInserts.md +2 -2
  120. package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
  121. package/docs/markdown/functions/withSettingsMenuItems.md +2 -2
  122. package/docs/markdown/functions/withUserProfileDataSource.md +2 -2
  123. package/docs/markdown/globals.md +2 -2
  124. package/docs/markdown/interfaces/NavigationDividerItem.md +4 -4
  125. package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
  126. package/docs/markdown/interfaces/NavigationItem.md +7 -7
  127. package/docs/markdown/interfaces/NavigationStatus.md +3 -3
  128. package/docs/markdown/interfaces/ReleaseInfoModule.md +5 -5
  129. package/docs/markdown/interfaces/SettingsMenuItem.md +5 -5
  130. package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +2 -2
  131. package/docs/markdown/type-aliases/ExternalApp.md +2 -2
  132. package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +2 -2
  133. package/docs/markdown/type-aliases/Navigation.md +2 -2
  134. package/docs/markdown/type-aliases/NavigationWithInserts.md +2 -2
  135. package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +2 -2
  136. package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
  137. package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
  138. package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
  139. package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
  140. package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
  141. package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
  142. package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
  143. package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
  144. package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
  145. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +2 -2
  146. package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
  147. package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
  148. package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
  149. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
  150. package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
  151. package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
  152. package/docs/wiki/Class.AppsButtonComponent.md +7 -7
  153. package/docs/wiki/Class.BaseLayoutComponent.md +1 -1
  154. package/docs/wiki/Class.DefaultHeaderComponent.md +9 -9
  155. package/docs/wiki/Class.DefaultHeaderService.md +5 -5
  156. package/docs/wiki/Class.ExternalAppsService.md +17 -17
  157. package/docs/wiki/Class.FooterComponent.md +4 -4
  158. package/docs/wiki/Class.FooterDirective.md +3 -3
  159. package/docs/wiki/Class.FooterService.md +5 -5
  160. package/docs/wiki/Class.HeaderComponent.md +5 -5
  161. package/docs/wiki/Class.HeaderDirective.md +3 -3
  162. package/docs/wiki/Class.HeaderService.md +5 -5
  163. package/docs/wiki/Class.LayoutComponent.md +5 -5
  164. package/docs/wiki/Class.LayoutService.md +16 -16
  165. package/docs/wiki/Class.LogoService.md +5 -5
  166. package/docs/wiki/Class.MinimalLayoutComponent.md +1 -1
  167. package/docs/wiki/Class.NavigationComponent.md +11 -11
  168. package/docs/wiki/Class.NavigationItemComponent.md +13 -13
  169. package/docs/wiki/Class.NavigationProgressBarComponent.md +3 -3
  170. package/docs/wiki/Class.NavigationService.md +11 -11
  171. package/docs/wiki/Class.ReleaseInfoComponent.md +5 -5
  172. package/docs/wiki/Class.SettingsButtonComponent.md +18 -18
  173. package/docs/wiki/Class.SidenavComponent.md +17 -17
  174. package/docs/wiki/Class.SidenavFooterDirective.md +2 -2
  175. package/docs/wiki/Class.SidenavHeaderDirective.md +2 -2
  176. package/docs/wiki/Class.SidenavToggleButtonComponent.md +4 -4
  177. package/docs/wiki/Class.UserProfileIconComponent.md +6 -6
  178. package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
  179. package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
  180. package/docs/wiki/Function.IsNavigationItem.md +1 -1
  181. package/docs/wiki/Function.provideExternalApps.md +1 -1
  182. package/docs/wiki/Function.provideLayout.md +1 -1
  183. package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
  184. package/docs/wiki/Function.withDefaultHeaderItems.md +1 -1
  185. package/docs/wiki/Function.withFooterComponents.md +1 -1
  186. package/docs/wiki/Function.withHeaderComponents.md +1 -1
  187. package/docs/wiki/Function.withNavigationConfig.md +1 -1
  188. package/docs/wiki/Function.withNavigationInserts.md +1 -1
  189. package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
  190. package/docs/wiki/Function.withSettingsMenuItems.md +1 -1
  191. package/docs/wiki/Function.withUserProfileDataSource.md +1 -1
  192. package/docs/wiki/Home.md +5 -3
  193. package/docs/wiki/Interface.NavigationDividerItem.md +3 -3
  194. package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
  195. package/docs/wiki/Interface.NavigationItem.md +6 -6
  196. package/docs/wiki/Interface.NavigationStatus.md +2 -2
  197. package/docs/wiki/Interface.ReleaseInfoModule.md +4 -4
  198. package/docs/wiki/Interface.SettingsMenuItem.md +4 -4
  199. package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +1 -1
  200. package/docs/wiki/TypeAlias.ExternalApp.md +1 -1
  201. package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +1 -1
  202. package/docs/wiki/TypeAlias.Navigation.md +1 -1
  203. package/docs/wiki/TypeAlias.NavigationWithInserts.md +1 -1
  204. package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +1 -1
  205. package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
  206. package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +1 -1
  207. package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
  208. package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
  209. package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
  210. package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
  211. package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
  212. package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
  213. package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
  214. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +1 -1
  215. package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
  216. package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
  217. package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
  218. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
  219. package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +1 -1
  220. package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
  221. package/docs/wiki/globals.md +1 -1
  222. package/package.json +30 -32
  223. package/src/generators/init/generator.js +120 -0
  224. package/src/generators/init/index.js +6 -0
  225. package/src/generators/package.json +3 -0
  226. package/compodoc/components/LanguageSelectorComponent.html +0 -478
  227. package/compodoc/components/ResetButtonComponent.html +0 -486
  228. package/compodoc/components/SignOutComponent.html +0 -440
  229. package/compodoc/components/ToggleWindowSidenavButtonComponent.html +0 -549
  230. package/compodoc/components/VersionComponent.html +0 -524
  231. package/compodoc/components/WindowContainerSidenavComponent.html +0 -687
  232. package/compodoc/directives/FooterDirective-1.html +0 -293
  233. package/compodoc/injectables/AppUrlService.html +0 -829
  234. package/compodoc/injectables/AuthenticationServiceMock.html +0 -303
  235. package/compodoc/injectables/LayoutComponentService.html +0 -848
  236. package/compodoc/injectables/ReplaceRouterPathsService.html +0 -337
  237. package/compodoc/injectables/SidenavComponentService.html +0 -408
  238. package/compodoc/interfaces/ExternalApps.html +0 -634
  239. package/compodoc/interfaces/LogoConfig.html +0 -381
  240. package/compodoc/js/libs/vis.min.js +0 -47
  241. package/compodoc/js/menu-wc_es5.js +0 -40
  242. package/compodoc/pipes/ReplaceRouterPathsPipe.html +0 -363
  243. package/src/generators/init/generator.spec.ts +0 -228
  244. package/src/generators/init/generator.ts +0 -139
  245. package/src/generators/init/index.ts +0 -5
  246. package/src/generators/init/schema.d.ts +0 -2
  247. package/theme.css +0 -425
@@ -1,408 +0,0 @@
1
- <!doctype html>
2
- <html class="no-js" lang="">
3
- <head>
4
- <meta charset="utf-8">
5
- <meta http-equiv="x-ua-compatible" content="ie=edge">
6
- <title>angular-layout</title>
7
- <meta name="description" content="">
8
- <meta name="viewport" content="width=device-width, initial-scale=1">
9
-
10
- <link rel="icon" type="image/x-icon" href="../images/favicon.ico">
11
- <link rel="stylesheet" href="../styles/style.css">
12
- <link rel="stylesheet" href="../styles/dark.css">
13
- </head>
14
- <body>
15
- <script>
16
- // Blocking script to avoid flickering dark mode
17
- // Dark mode toggle button
18
- var useDark = window.matchMedia('(prefers-color-scheme: dark)');
19
- var darkModeState = useDark.matches;
20
- var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
21
- var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
22
- var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
23
-
24
- function checkToggle(check) {
25
- for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
26
- $darkModeToggleSwitchers[i].checked = check;
27
- }
28
- }
29
-
30
- function toggleDarkMode(state) {
31
- if (window.localStorage) {
32
- localStorage.setItem('compodoc_darkmode-state', state);
33
- }
34
-
35
- checkToggle(state);
36
-
37
- const hasClass = document.body.classList.contains('dark');
38
-
39
- if (state) {
40
- for (var i = 0; i < $darkModeToggles.length; i++) {
41
- $darkModeToggles[i].classList.add('dark');
42
- }
43
- if (!hasClass) {
44
- document.body.classList.add('dark');
45
- }
46
- } else {
47
- for (var i = 0; i < $darkModeToggles.length; i++) {
48
- $darkModeToggles[i].classList.remove('dark');
49
- }
50
- if (hasClass) {
51
- document.body.classList.remove('dark');
52
- }
53
- }
54
- }
55
-
56
- useDark.addEventListener('change', function (evt) {
57
- toggleDarkMode(evt.matches);
58
- });
59
- if (darkModeStateLocal) {
60
- darkModeState = darkModeStateLocal === 'true';
61
- }
62
- toggleDarkMode(darkModeState);
63
- </script>
64
-
65
- <div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
66
- <div class="d-flex">
67
- <a href="../" class="navbar-brand">angular-layout</a>
68
- <button type="button" class="btn btn-default btn-menu ion-ios-menu" id="btn-menu"></button>
69
- </div>
70
- </div>
71
-
72
- <div class="xs-menu menu" id="mobile-menu">
73
- <div id="book-search-input" role="search"><input type="text" placeholder="Type to search"></div> <compodoc-menu></compodoc-menu>
74
- </div>
75
-
76
- <div class="container-fluid main">
77
- <div class="row main">
78
- <div class="d-none d-md-block menu">
79
- <compodoc-menu mode="normal"></compodoc-menu>
80
- </div>
81
- <!-- START CONTENT -->
82
- <div class="content injectable">
83
- <div class="content-data">
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
- <ol class="breadcrumb">
93
- <li class="breadcrumb-item">Injectables</li>
94
- <li class="breadcrumb-item" >SidenavComponentService</li>
95
- </ol>
96
-
97
- <ul class="nav nav-tabs" role="tablist">
98
- <li class="nav-item">
99
- <a href="#info"
100
- class="nav-link"
101
- class="nav-link active"
102
- role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
103
- </li>
104
- <li class="nav-item">
105
- <a href="#source"
106
- class="nav-link"
107
-
108
- role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
109
- </li>
110
- </ul>
111
-
112
- <div class="tab-content">
113
- <div class="tab-pane fade active in" id="info">
114
- <p class="comment">
115
- <h3>File</h3>
116
- </p>
117
- <p class="comment">
118
- <code>src/lib/sidenav/sidenav.component.service.ts</code>
119
- </p>
120
-
121
-
122
-
123
-
124
-
125
- <section data-compodoc="block-index">
126
- <h3 id="index">Index</h3>
127
- <table class="table table-sm table-bordered index-table">
128
- <tbody>
129
- <tr>
130
- <td class="col-md-4">
131
- <h6><b>Properties</b></h6>
132
- </td>
133
- </tr>
134
- <tr>
135
- <td class="col-md-4">
136
- <ul class="index-list">
137
- <li>
138
- <span class="modifier">Public</span>
139
- <span class="modifier">Readonly</span>
140
- <a href="#collapsed$" >collapsed$</a>
141
- </li>
142
- </ul>
143
- </td>
144
- </tr>
145
-
146
- <tr>
147
- <td class="col-md-4">
148
- <h6><b>Methods</b></h6>
149
- </td>
150
- </tr>
151
- <tr>
152
- <td class="col-md-4">
153
- <ul class="index-list">
154
- <li>
155
- <span class="modifier">Public</span>
156
- <a href="#toggleNavigationCollapse" >toggleNavigationCollapse</a>
157
- </li>
158
- </ul>
159
- </td>
160
- </tr>
161
-
162
-
163
-
164
-
165
-
166
- </tbody>
167
- </table>
168
- </section>
169
-
170
- <section data-compodoc="block-constructor">
171
- <h3 id="constructor">Constructor</h3>
172
- <table class="table table-sm table-bordered">
173
- <tbody>
174
- <tr>
175
- <td class="col-md-4">
176
- <code>constructor(config: ConfigService)</code>
177
- </td>
178
- </tr>
179
- <tr>
180
- <td class="col-md-4">
181
- <div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">src/lib/sidenav/sidenav.component.service.ts:8</a></div>
182
- </td>
183
- </tr>
184
-
185
- <tr>
186
- <td class="col-md-4">
187
- <div>
188
- <b>Parameters :</b>
189
- <table class="params">
190
- <thead>
191
- <tr>
192
- <td>Name</td>
193
- <td>Type</td>
194
- <td>Optional</td>
195
- </tr>
196
- </thead>
197
- <tbody>
198
- <tr>
199
- <td>config</td>
200
-
201
- <td>
202
- <code>ConfigService</code>
203
- </td>
204
-
205
- <td>
206
- No
207
- </td>
208
-
209
- </tr>
210
- </tbody>
211
- </table>
212
- </div>
213
- </td>
214
- </tr>
215
- </tbody>
216
- </table>
217
- </section>
218
-
219
- <section data-compodoc="block-methods">
220
-
221
- <h3 id="methods">
222
- Methods
223
- </h3>
224
- <table class="table table-sm table-bordered">
225
- <tbody>
226
- <tr>
227
- <td class="col-md-4">
228
- <a name="toggleNavigationCollapse"></a>
229
- <span class="name">
230
- <span class="modifier">Public</span>
231
- <span ><b>toggleNavigationCollapse</b></span>
232
- <a href="#toggleNavigationCollapse"><span class="icon ion-ios-link"></span></a>
233
- </span>
234
- </td>
235
- </tr>
236
- <tr>
237
- <td class="col-md-4">
238
- <span class="modifier-icon icon ion-ios-reset"></span>
239
- <code>toggleNavigationCollapse()</code>
240
- </td>
241
- </tr>
242
-
243
-
244
- <tr>
245
- <td class="col-md-4">
246
- <div class="io-line">Defined in <a href="" data-line="14"
247
- class="link-to-prism">src/lib/sidenav/sidenav.component.service.ts:14</a></div>
248
- </td>
249
- </tr>
250
-
251
-
252
- <tr>
253
- <td class="col-md-4">
254
-
255
- <div class="io-description">
256
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
257
-
258
- </div>
259
- </td>
260
- </tr>
261
- </tbody>
262
- </table>
263
- </section>
264
- <section data-compodoc="block-properties">
265
-
266
- <h3 id="inputs">
267
- Properties
268
- </h3>
269
- <table class="table table-sm table-bordered">
270
- <tbody>
271
- <tr>
272
- <td class="col-md-4">
273
- <a name="collapsed$"></a>
274
- <span class="name">
275
- <span class="modifier">Public</span>
276
- <span class="modifier">Readonly</span>
277
- <span ><b>collapsed$</b></span>
278
- <a href="#collapsed$"><span class="icon ion-ios-link"></span></a>
279
- </span>
280
- </td>
281
- </tr>
282
- <tr>
283
- <td class="col-md-4">
284
- <i>Default value : </i><code>new BehaviorSubject(true)</code>
285
- </td>
286
- </tr>
287
- <tr>
288
- <td class="col-md-4">
289
- <div class="io-line">Defined in <a href="" data-line="8" class="link-to-prism">src/lib/sidenav/sidenav.component.service.ts:8</a></div>
290
- </td>
291
- </tr>
292
-
293
-
294
- </tbody>
295
- </table>
296
- </section>
297
-
298
- </div>
299
-
300
-
301
- <div class="tab-pane fade tab-source-code" id="source">
302
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { Injectable } from &#x27;@angular/core&#x27;;
303
- import { BehaviorSubject } from &#x27;rxjs&#x27;;
304
- import { ConfigService } from &#x27;@rxap/config&#x27;;
305
-
306
- @Injectable({ providedIn: &#x27;root&#x27; })
307
- export class SidenavComponentService {
308
-
309
- public readonly collapsed$ &#x3D; new BehaviorSubject(true);
310
-
311
- constructor(private readonly config: ConfigService) {
312
- this.collapsed$.next(this.config.get(&#x27;navigation.collapsed&#x27;, this.collapsed$.value));
313
- }
314
-
315
- public toggleNavigationCollapse(): void {
316
- this.collapsed$.next(!this.collapsed$.value);
317
- }
318
-
319
- }
320
- </code></pre>
321
- </div>
322
-
323
- </div>
324
-
325
-
326
-
327
-
328
-
329
-
330
-
331
-
332
-
333
-
334
-
335
-
336
-
337
- </div><div class="search-results">
338
- <div class="has-results">
339
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
340
- <ul class="search-results-list"></ul>
341
- </div>
342
- <div class="no-results">
343
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
344
- </div>
345
- </div>
346
- </div>
347
- <!-- END CONTENT -->
348
- </div>
349
- </div>
350
-
351
- <label class="dark-mode-switch">
352
- <input type="checkbox">
353
- <span class="slider">
354
- <svg class="slider-icon" viewBox="0 0 24 24" fill="none" height="20" stroke="#000" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" width="20" xmlns="http://www.w3.org/2000/svg">
355
- <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
356
- </svg>
357
- </span>
358
- </label>
359
-
360
- <script>
361
- var COMPODOC_CURRENT_PAGE_DEPTH = 1;
362
- var COMPODOC_CURRENT_PAGE_CONTEXT = 'injectable';
363
- var COMPODOC_CURRENT_PAGE_URL = 'SidenavComponentService.html';
364
- var MAX_SEARCH_RESULTS = 15;
365
- </script>
366
-
367
- <script>
368
- $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
369
- checkToggle(darkModeState);
370
- if ($darkModeToggleSwitchers.length > 0) {
371
- for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
372
- $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
373
- darkModeState = !darkModeState;
374
- toggleDarkMode(darkModeState);
375
- });
376
- }
377
- }
378
- </script>
379
-
380
- <script src="../js/libs/custom-elements.min.js"></script>
381
- <script src="../js/libs/lit-html.js"></script>
382
-
383
- <script src="../js/menu-wc.js" defer></script>
384
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
385
-
386
- <script src="../js/libs/bootstrap-native.js"></script>
387
-
388
- <script src="../js/libs/es6-shim.min.js"></script>
389
- <script src="../js/libs/EventDispatcher.js"></script>
390
- <script src="../js/libs/promise.min.js"></script>
391
- <script src="../js/libs/zepto.min.js"></script>
392
-
393
- <script src="../js/compodoc.js"></script>
394
-
395
- <script src="../js/tabs.js"></script>
396
- <script src="../js/menu.js"></script>
397
- <script src="../js/libs/clipboard.min.js"></script>
398
- <script src="../js/libs/prism.js"></script>
399
- <script src="../js/sourceCode.js"></script>
400
- <script src="../js/search/search.js"></script>
401
- <script src="../js/search/lunr.min.js"></script>
402
- <script src="../js/search/search-lunr.js"></script>
403
- <script src="../js/search/search_index.js"></script>
404
- <script src="../js/lazy-load-graphs.js"></script>
405
-
406
-
407
- </body>
408
- </html>