@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,848 +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" >LayoutComponentService</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/layout/layout.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="#collapsable" >collapsable</a>
141
- </li>
142
- <li>
143
- <span class="modifier">Public</span>
144
- <span class="modifier">Readonly</span>
145
- <a href="#fixedBottomGap" >fixedBottomGap</a>
146
- </li>
147
- <li>
148
- <span class="modifier">Public</span>
149
- <span class="modifier">Readonly</span>
150
- <a href="#fixedTopGap" >fixedTopGap</a>
151
- </li>
152
- <li>
153
- <span class="modifier">Public</span>
154
- <span class="modifier">Readonly</span>
155
- <a href="#footerComponentService" >footerComponentService</a>
156
- </li>
157
- <li>
158
- <span class="modifier">Public</span>
159
- <span class="modifier">Readonly</span>
160
- <a href="#headerComponentService" >headerComponentService</a>
161
- </li>
162
- <li>
163
- <span class="modifier">Public</span>
164
- <a href="#logo" >logo</a>
165
- </li>
166
- <li>
167
- <span class="modifier">Public</span>
168
- <span class="modifier">Readonly</span>
169
- <a href="#mode" >mode</a>
170
- </li>
171
- <li>
172
- <span class="modifier">Public</span>
173
- <span class="modifier">Readonly</span>
174
- <a href="#opened" >opened</a>
175
- </li>
176
- <li>
177
- <span class="modifier">Public</span>
178
- <span class="modifier">Readonly</span>
179
- <a href="#pinned" >pinned</a>
180
- </li>
181
- </ul>
182
- </td>
183
- </tr>
184
-
185
- <tr>
186
- <td class="col-md-4">
187
- <h6><b>Methods</b></h6>
188
- </td>
189
- </tr>
190
- <tr>
191
- <td class="col-md-4">
192
- <ul class="index-list">
193
- <li>
194
- <span class="modifier">Public</span>
195
- <a href="#toggleOpened" >toggleOpened</a>
196
- </li>
197
- <li>
198
- <span class="modifier">Public</span>
199
- <a href="#togglePinned" >togglePinned</a>
200
- </li>
201
- </ul>
202
- </td>
203
- </tr>
204
-
205
-
206
-
207
-
208
-
209
- </tbody>
210
- </table>
211
- </section>
212
-
213
- <section data-compodoc="block-constructor">
214
- <h3 id="constructor">Constructor</h3>
215
- <table class="table table-sm table-bordered">
216
- <tbody>
217
- <tr>
218
- <td class="col-md-4">
219
- <span class="modifier">Public</span>
220
- <code>constructor(footerComponentService: FooterService, headerComponentService: HeaderService, logoConfig: <a href="../interfaces/LogoConfig.html" target="_self">LogoConfig | null</a>, config: ConfigService, mediaMatcher: MediaMatcher)</code>
221
- </td>
222
- </tr>
223
- <tr>
224
- <td class="col-md-4">
225
- <div class="io-line">Defined in <a href="" data-line="35" class="link-to-prism">src/lib/layout/layout.component.service.ts:35</a></div>
226
- </td>
227
- </tr>
228
-
229
- <tr>
230
- <td class="col-md-4">
231
- <div>
232
- <b>Parameters :</b>
233
- <table class="params">
234
- <thead>
235
- <tr>
236
- <td>Name</td>
237
- <td>Type</td>
238
- <td>Optional</td>
239
- </tr>
240
- </thead>
241
- <tbody>
242
- <tr>
243
- <td>footerComponentService</td>
244
-
245
- <td>
246
- <code>FooterService</code>
247
- </td>
248
-
249
- <td>
250
- No
251
- </td>
252
-
253
- </tr>
254
- <tr>
255
- <td>headerComponentService</td>
256
-
257
- <td>
258
- <code>HeaderService</code>
259
- </td>
260
-
261
- <td>
262
- No
263
- </td>
264
-
265
- </tr>
266
- <tr>
267
- <td>logoConfig</td>
268
-
269
- <td>
270
- <code><a href="../interfaces/LogoConfig.html" target="_self" >LogoConfig | null</a></code>
271
- </td>
272
-
273
- <td>
274
- No
275
- </td>
276
-
277
- </tr>
278
- <tr>
279
- <td>config</td>
280
-
281
- <td>
282
- <code>ConfigService</code>
283
- </td>
284
-
285
- <td>
286
- No
287
- </td>
288
-
289
- </tr>
290
- <tr>
291
- <td>mediaMatcher</td>
292
-
293
- <td>
294
- <code>MediaMatcher</code>
295
- </td>
296
-
297
- <td>
298
- No
299
- </td>
300
-
301
- </tr>
302
- </tbody>
303
- </table>
304
- </div>
305
- </td>
306
- </tr>
307
- </tbody>
308
- </table>
309
- </section>
310
-
311
- <section data-compodoc="block-methods">
312
-
313
- <h3 id="methods">
314
- Methods
315
- </h3>
316
- <table class="table table-sm table-bordered">
317
- <tbody>
318
- <tr>
319
- <td class="col-md-4">
320
- <a name="toggleOpened"></a>
321
- <span class="name">
322
- <span class="modifier">Public</span>
323
- <span ><b>toggleOpened</b></span>
324
- <a href="#toggleOpened"><span class="icon ion-ios-link"></span></a>
325
- </span>
326
- </td>
327
- </tr>
328
- <tr>
329
- <td class="col-md-4">
330
- <span class="modifier-icon icon ion-ios-reset"></span>
331
- <code>toggleOpened()</code>
332
- </td>
333
- </tr>
334
-
335
-
336
- <tr>
337
- <td class="col-md-4">
338
- <div class="io-line">Defined in <a href="" data-line="95"
339
- class="link-to-prism">src/lib/layout/layout.component.service.ts:95</a></div>
340
- </td>
341
- </tr>
342
-
343
-
344
- <tr>
345
- <td class="col-md-4">
346
-
347
- <div class="io-description">
348
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
349
-
350
- </div>
351
- </td>
352
- </tr>
353
- </tbody>
354
- </table>
355
- <table class="table table-sm table-bordered">
356
- <tbody>
357
- <tr>
358
- <td class="col-md-4">
359
- <a name="togglePinned"></a>
360
- <span class="name">
361
- <span class="modifier">Public</span>
362
- <span ><b>togglePinned</b></span>
363
- <a href="#togglePinned"><span class="icon ion-ios-link"></span></a>
364
- </span>
365
- </td>
366
- </tr>
367
- <tr>
368
- <td class="col-md-4">
369
- <span class="modifier-icon icon ion-ios-reset"></span>
370
- <code>togglePinned()</code>
371
- </td>
372
- </tr>
373
-
374
-
375
- <tr>
376
- <td class="col-md-4">
377
- <div class="io-line">Defined in <a href="" data-line="99"
378
- class="link-to-prism">src/lib/layout/layout.component.service.ts:99</a></div>
379
- </td>
380
- </tr>
381
-
382
-
383
- <tr>
384
- <td class="col-md-4">
385
-
386
- <div class="io-description">
387
- <b>Returns : </b> <code><a href="https://www.typescriptlang.org/docs/handbook/basic-types.html" target="_blank" >void</a></code>
388
-
389
- </div>
390
- </td>
391
- </tr>
392
- </tbody>
393
- </table>
394
- </section>
395
- <section data-compodoc="block-properties">
396
-
397
- <h3 id="inputs">
398
- Properties
399
- </h3>
400
- <table class="table table-sm table-bordered">
401
- <tbody>
402
- <tr>
403
- <td class="col-md-4">
404
- <a name="collapsable"></a>
405
- <span class="name">
406
- <span class="modifier">Public</span>
407
- <span class="modifier">Readonly</span>
408
- <span ><b>collapsable</b></span>
409
- <a href="#collapsable"><span class="icon ion-ios-link"></span></a>
410
- </span>
411
- </td>
412
- </tr>
413
- <tr>
414
- <td class="col-md-4">
415
- <i>Type : </i> <code>WritableSignal&lt;boolean&gt;</code>
416
-
417
- </td>
418
- </tr>
419
- <tr>
420
- <td class="col-md-4">
421
- <div class="io-line">Defined in <a href="" data-line="31" class="link-to-prism">src/lib/layout/layout.component.service.ts:31</a></div>
422
- </td>
423
- </tr>
424
-
425
-
426
- </tbody>
427
- </table>
428
- <table class="table table-sm table-bordered">
429
- <tbody>
430
- <tr>
431
- <td class="col-md-4">
432
- <a name="fixedBottomGap"></a>
433
- <span class="name">
434
- <span class="modifier">Public</span>
435
- <span class="modifier">Readonly</span>
436
- <span ><b>fixedBottomGap</b></span>
437
- <a href="#fixedBottomGap"><span class="icon ion-ios-link"></span></a>
438
- </span>
439
- </td>
440
- </tr>
441
- <tr>
442
- <td class="col-md-4">
443
- <i>Type : </i> <code>Signal&lt;number&gt;</code>
444
-
445
- </td>
446
- </tr>
447
- <tr>
448
- <td class="col-md-4">
449
- <div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/layout/layout.component.service.ts:32</a></div>
450
- </td>
451
- </tr>
452
-
453
-
454
- </tbody>
455
- </table>
456
- <table class="table table-sm table-bordered">
457
- <tbody>
458
- <tr>
459
- <td class="col-md-4">
460
- <a name="fixedTopGap"></a>
461
- <span class="name">
462
- <span class="modifier">Public</span>
463
- <span class="modifier">Readonly</span>
464
- <span ><b>fixedTopGap</b></span>
465
- <a href="#fixedTopGap"><span class="icon ion-ios-link"></span></a>
466
- </span>
467
- </td>
468
- </tr>
469
- <tr>
470
- <td class="col-md-4">
471
- <i>Type : </i> <code>Signal&lt;number&gt;</code>
472
-
473
- </td>
474
- </tr>
475
- <tr>
476
- <td class="col-md-4">
477
- <div class="io-line">Defined in <a href="" data-line="33" class="link-to-prism">src/lib/layout/layout.component.service.ts:33</a></div>
478
- </td>
479
- </tr>
480
-
481
-
482
- </tbody>
483
- </table>
484
- <table class="table table-sm table-bordered">
485
- <tbody>
486
- <tr>
487
- <td class="col-md-4">
488
- <a name="footerComponentService"></a>
489
- <span class="name">
490
- <span class="modifier">Public</span>
491
- <span class="modifier">Readonly</span>
492
- <span ><b>footerComponentService</b></span>
493
- <a href="#footerComponentService"><span class="icon ion-ios-link"></span></a>
494
- </span>
495
- </td>
496
- </tr>
497
- <tr>
498
- <td class="col-md-4">
499
- <i>Type : </i> <code>FooterService</code>
500
-
501
- </td>
502
- </tr>
503
- <tr>
504
- <td class="col-md-4">
505
- <div class="io-line">Defined in <a href="" data-line="39" class="link-to-prism">src/lib/layout/layout.component.service.ts:39</a></div>
506
- </td>
507
- </tr>
508
-
509
-
510
- </tbody>
511
- </table>
512
- <table class="table table-sm table-bordered">
513
- <tbody>
514
- <tr>
515
- <td class="col-md-4">
516
- <a name="headerComponentService"></a>
517
- <span class="name">
518
- <span class="modifier">Public</span>
519
- <span class="modifier">Readonly</span>
520
- <span ><b>headerComponentService</b></span>
521
- <a href="#headerComponentService"><span class="icon ion-ios-link"></span></a>
522
- </span>
523
- </td>
524
- </tr>
525
- <tr>
526
- <td class="col-md-4">
527
- <i>Type : </i> <code>HeaderService</code>
528
-
529
- </td>
530
- </tr>
531
- <tr>
532
- <td class="col-md-4">
533
- <div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/lib/layout/layout.component.service.ts:40</a></div>
534
- </td>
535
- </tr>
536
-
537
-
538
- </tbody>
539
- </table>
540
- <table class="table table-sm table-bordered">
541
- <tbody>
542
- <tr>
543
- <td class="col-md-4">
544
- <a name="logo"></a>
545
- <span class="name">
546
- <span class="modifier">Public</span>
547
- <span ><b>logo</b></span>
548
- <a href="#logo"><span class="icon ion-ios-link"></span></a>
549
- </span>
550
- </td>
551
- </tr>
552
- <tr>
553
- <td class="col-md-4">
554
- <i>Type : </i> <code><a href="../interfaces/LogoConfig.html" target="_self" >LogoConfig</a></code>
555
-
556
- </td>
557
- </tr>
558
- <tr>
559
- <td class="col-md-4">
560
- <div class="io-line">Defined in <a href="" data-line="26" class="link-to-prism">src/lib/layout/layout.component.service.ts:26</a></div>
561
- </td>
562
- </tr>
563
-
564
-
565
- </tbody>
566
- </table>
567
- <table class="table table-sm table-bordered">
568
- <tbody>
569
- <tr>
570
- <td class="col-md-4">
571
- <a name="mode"></a>
572
- <span class="name">
573
- <span class="modifier">Public</span>
574
- <span class="modifier">Readonly</span>
575
- <span ><b>mode</b></span>
576
- <a href="#mode"><span class="icon ion-ios-link"></span></a>
577
- </span>
578
- </td>
579
- </tr>
580
- <tr>
581
- <td class="col-md-4">
582
- <i>Type : </i> <code>WritableSignal&lt;MatDrawerMode&gt;</code>
583
-
584
- </td>
585
- </tr>
586
- <tr>
587
- <td class="col-md-4">
588
- <div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/layout/layout.component.service.ts:29</a></div>
589
- </td>
590
- </tr>
591
-
592
-
593
- </tbody>
594
- </table>
595
- <table class="table table-sm table-bordered">
596
- <tbody>
597
- <tr>
598
- <td class="col-md-4">
599
- <a name="opened"></a>
600
- <span class="name">
601
- <span class="modifier">Public</span>
602
- <span class="modifier">Readonly</span>
603
- <span ><b>opened</b></span>
604
- <a href="#opened"><span class="icon ion-ios-link"></span></a>
605
- </span>
606
- </td>
607
- </tr>
608
- <tr>
609
- <td class="col-md-4">
610
- <i>Type : </i> <code>WritableSignal&lt;boolean&gt;</code>
611
-
612
- </td>
613
- </tr>
614
- <tr>
615
- <td class="col-md-4">
616
- <div class="io-line">Defined in <a href="" data-line="28" class="link-to-prism">src/lib/layout/layout.component.service.ts:28</a></div>
617
- </td>
618
- </tr>
619
-
620
-
621
- </tbody>
622
- </table>
623
- <table class="table table-sm table-bordered">
624
- <tbody>
625
- <tr>
626
- <td class="col-md-4">
627
- <a name="pinned"></a>
628
- <span class="name">
629
- <span class="modifier">Public</span>
630
- <span class="modifier">Readonly</span>
631
- <span ><b>pinned</b></span>
632
- <a href="#pinned"><span class="icon ion-ios-link"></span></a>
633
- </span>
634
- </td>
635
- </tr>
636
- <tr>
637
- <td class="col-md-4">
638
- <i>Type : </i> <code>WritableSignal&lt;boolean&gt;</code>
639
-
640
- </td>
641
- </tr>
642
- <tr>
643
- <td class="col-md-4">
644
- <div class="io-line">Defined in <a href="" data-line="30" class="link-to-prism">src/lib/layout/layout.component.service.ts:30</a></div>
645
- </td>
646
- </tr>
647
-
648
-
649
- </tbody>
650
- </table>
651
- </section>
652
-
653
- </div>
654
-
655
-
656
- <div class="tab-pane fade tab-source-code" id="source">
657
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { MediaMatcher } from &#x27;@angular/cdk/layout&#x27;;
658
- import {
659
- computed,
660
- effect,
661
- Inject,
662
- Injectable,
663
- Optional,
664
- signal,
665
- Signal,
666
- WritableSignal,
667
- } from &#x27;@angular/core&#x27;;
668
- import { toSignal } from &#x27;@angular/core/rxjs-interop&#x27;;
669
- import { MatDrawerMode } from &#x27;@angular/material/sidenav&#x27;;
670
- import { ConfigService } from &#x27;@rxap/config&#x27;;
671
- import { ObserveCurrentThemeDensity } from &#x27;@rxap/ngx-theme&#x27;;
672
- import {
673
- FooterService,
674
- HeaderService,
675
- } from &#x27;@rxap/services&#x27;;
676
- import { RXAP_LOGO_CONFIG } from &#x27;../tokens&#x27;;
677
- import { LogoConfig } from &#x27;../types&#x27;;
678
-
679
- @Injectable({ providedIn: &#x27;root&#x27; })
680
- export class LayoutComponentService {
681
-
682
- public logo: LogoConfig;
683
-
684
- public readonly opened: WritableSignal&lt;boolean&gt;;
685
- public readonly mode: WritableSignal&lt;MatDrawerMode&gt;;
686
- public readonly pinned: WritableSignal&lt;boolean&gt;;
687
- public readonly collapsable: WritableSignal&lt;boolean&gt;;
688
- public readonly fixedBottomGap: Signal&lt;number&gt;;
689
- public readonly fixedTopGap: Signal&lt;number&gt;;
690
-
691
- private readonly currentThemeDensity &#x3D; toSignal(ObserveCurrentThemeDensity());
692
-
693
-
694
- public constructor(
695
- public readonly footerComponentService: FooterService,
696
- public readonly headerComponentService: HeaderService,
697
- @Optional() @Inject(RXAP_LOGO_CONFIG) logoConfig: LogoConfig | null &#x3D; null,
698
- @Inject(ConfigService)
699
- private readonly config: ConfigService,
700
- mediaMatcher: MediaMatcher,
701
- ) {
702
- const mobileQuery &#x3D; mediaMatcher.matchMedia(&#x27;(max-width: 959px)&#x27;);
703
- const mobile &#x3D; mobileQuery.matches;
704
- const initialCollapsable &#x3D; this.config.get(&#x27;navigation.collapsable&#x27;, true);
705
- const collapsable &#x3D; initialCollapsable &amp;&amp; !mobile;
706
- const pinned &#x3D; this.config.get(&#x27;navigation.pinned&#x27;, false);
707
- const mode &#x3D; this.config.get(&#x27;navigation.mode&#x27;, pinned || !collapsable ? &#x27;side&#x27; : &#x27;over&#x27;);
708
- const opened &#x3D; this.config.get(&#x27;navigation.opened&#x27;, (!collapsable || pinned) &amp;&amp; !mobile);
709
-
710
- this.opened &#x3D; signal(opened);
711
- this.mode &#x3D; signal(mode);
712
- this.pinned &#x3D; signal(pinned);
713
- this.collapsable &#x3D; signal(collapsable);
714
-
715
- this.fixedBottomGap &#x3D; computed(() &#x3D;&gt; this.footerComponentService.portalCount() * (
716
- 64 + (
717
- this.currentThemeDensity() ?? 0
718
- ) * 4
719
- ));
720
- this.fixedTopGap &#x3D; computed(() &#x3D;&gt; this.headerComponentService.componentCount() * (
721
- 64 + (
722
- this.currentThemeDensity() ?? 0
723
- ) * 4
724
- ));
725
-
726
- this.logo &#x3D; logoConfig ?? {
727
- src: &#x27;assets/logo.png&#x27;,
728
- width: 192,
729
- };
730
- mobileQuery.addEventListener(&#x27;change&#x27;, (event) &#x3D;&gt; {
731
- if (initialCollapsable) {
732
- this.collapsable.set(!event.matches);
733
- if (this.collapsable()) {
734
- if (!this.pinned()) {
735
- this.opened.set(false);
736
- }
737
- }
738
- }
739
- });
740
- effect(() &#x3D;&gt; {
741
- if (this.pinned()) {
742
- this.mode.set(&#x27;side&#x27;);
743
- this.opened.set(true);
744
- } else {
745
- this.mode.set(&#x27;over&#x27;);
746
- this.opened.set(false);
747
- }
748
- }, { allowSignalWrites: true });
749
- }
750
-
751
- public toggleOpened() {
752
- this.opened.set(!this.opened());
753
- }
754
-
755
- public togglePinned() {
756
- this.pinned.set(!this.pinned());
757
- }
758
-
759
- }
760
- </code></pre>
761
- </div>
762
-
763
- </div>
764
-
765
-
766
-
767
-
768
-
769
-
770
-
771
-
772
-
773
-
774
-
775
-
776
-
777
- </div><div class="search-results">
778
- <div class="has-results">
779
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
780
- <ul class="search-results-list"></ul>
781
- </div>
782
- <div class="no-results">
783
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
784
- </div>
785
- </div>
786
- </div>
787
- <!-- END CONTENT -->
788
- </div>
789
- </div>
790
-
791
- <label class="dark-mode-switch">
792
- <input type="checkbox">
793
- <span class="slider">
794
- <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">
795
- <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
796
- </svg>
797
- </span>
798
- </label>
799
-
800
- <script>
801
- var COMPODOC_CURRENT_PAGE_DEPTH = 1;
802
- var COMPODOC_CURRENT_PAGE_CONTEXT = 'injectable';
803
- var COMPODOC_CURRENT_PAGE_URL = 'LayoutComponentService.html';
804
- var MAX_SEARCH_RESULTS = 15;
805
- </script>
806
-
807
- <script>
808
- $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
809
- checkToggle(darkModeState);
810
- if ($darkModeToggleSwitchers.length > 0) {
811
- for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
812
- $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
813
- darkModeState = !darkModeState;
814
- toggleDarkMode(darkModeState);
815
- });
816
- }
817
- }
818
- </script>
819
-
820
- <script src="../js/libs/custom-elements.min.js"></script>
821
- <script src="../js/libs/lit-html.js"></script>
822
-
823
- <script src="../js/menu-wc.js" defer></script>
824
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
825
-
826
- <script src="../js/libs/bootstrap-native.js"></script>
827
-
828
- <script src="../js/libs/es6-shim.min.js"></script>
829
- <script src="../js/libs/EventDispatcher.js"></script>
830
- <script src="../js/libs/promise.min.js"></script>
831
- <script src="../js/libs/zepto.min.js"></script>
832
-
833
- <script src="../js/compodoc.js"></script>
834
-
835
- <script src="../js/tabs.js"></script>
836
- <script src="../js/menu.js"></script>
837
- <script src="../js/libs/clipboard.min.js"></script>
838
- <script src="../js/libs/prism.js"></script>
839
- <script src="../js/sourceCode.js"></script>
840
- <script src="../js/search/search.js"></script>
841
- <script src="../js/search/lunr.min.js"></script>
842
- <script src="../js/search/search-lunr.js"></script>
843
- <script src="../js/search/search_index.js"></script>
844
- <script src="../js/lazy-load-graphs.js"></script>
845
-
846
-
847
- </body>
848
- </html>