@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,634 +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 interface">
83
- <div class="content-data">
84
-
85
-
86
-
87
-
88
-
89
-
90
-
91
-
92
-
93
-
94
-
95
-
96
-
97
- <ol class="breadcrumb">
98
- <li class="breadcrumb-item">Interfaces</li>
99
- <li class="breadcrumb-item"
100
- >
101
- ExternalApps</li>
102
- </ol>
103
-
104
- <ul class="nav nav-tabs" role="tablist">
105
- <li class="nav-item">
106
- <a href="#info"
107
- class="nav-link"
108
- class="nav-link active"
109
- role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
110
- </li>
111
- <li class="nav-item">
112
- <a href="#source"
113
- class="nav-link"
114
-
115
- role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
116
- </li>
117
- </ul>
118
-
119
- <div class="tab-content">
120
- <div class="tab-pane fade active in" id="info">
121
- <p class="comment">
122
- <h3>File</h3>
123
- </p>
124
- <p class="comment">
125
- <code>src/lib/app-url.service.ts</code>
126
- </p>
127
-
128
-
129
-
130
-
131
- <section data-compodoc="block-index">
132
- <h3 id="index">Index</h3>
133
- <table class="table table-sm table-bordered index-table">
134
- <tbody>
135
- <tr>
136
- <td class="col-md-4">
137
- <h6><b>Properties</b></h6>
138
- </td>
139
- </tr>
140
- <tr>
141
- <td class="col-md-4">
142
- <ul class="index-list">
143
- <li>
144
- <span class="modifier">Optional</span>
145
- <a href="#empty"
146
- >
147
- empty
148
- </a>
149
- </li>
150
- <li>
151
- <span class="modifier">Optional</span>
152
- <a href="#hidden"
153
- >
154
- hidden
155
- </a>
156
- </li>
157
- <li>
158
- <a href="#href"
159
- >
160
- href
161
- </a>
162
- </li>
163
- <li>
164
- <span class="modifier">Optional</span>
165
- <a href="#id"
166
- >
167
- id
168
- </a>
169
- </li>
170
- <li>
171
- <span class="modifier">Optional</span>
172
- <a href="#image"
173
- >
174
- image
175
- </a>
176
- </li>
177
- <li>
178
- <a href="#label"
179
- >
180
- label
181
- </a>
182
- </li>
183
- <li>
184
- <a href="#permissions"
185
- >
186
- permissions
187
- </a>
188
- </li>
189
- </ul>
190
- </td>
191
- </tr>
192
- </tbody>
193
- </table>
194
- </section>
195
-
196
-
197
-
198
- <section data-compodoc="block-properties">
199
- <h3 id="inputs">Properties</h3>
200
- <table class="table table-sm table-bordered">
201
- <tbody>
202
- <tr>
203
- <td class="col-md-4">
204
- <a name="empty"></a>
205
- <span class="name "><b>empty</b>
206
- <a href="#empty">
207
- <span class="icon ion-ios-link"></span>
208
- </a>
209
- </span>
210
- </td>
211
- </tr>
212
- <tr>
213
- <td class="col-md-4">
214
- <code>empty: <code></code>
215
- </code>
216
- </td>
217
- </tr>
218
-
219
-
220
-
221
- <tr>
222
- <td class="col-md-4">
223
- <i>Optional</i>
224
- </td>
225
- </tr>
226
-
227
-
228
-
229
-
230
- </tbody>
231
- </table>
232
- <table class="table table-sm table-bordered">
233
- <tbody>
234
- <tr>
235
- <td class="col-md-4">
236
- <a name="hidden"></a>
237
- <span class="name "><b>hidden</b>
238
- <a href="#hidden">
239
- <span class="icon ion-ios-link"></span>
240
- </a>
241
- </span>
242
- </td>
243
- </tr>
244
- <tr>
245
- <td class="col-md-4">
246
- <code>hidden: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
247
- </code>
248
- </td>
249
- </tr>
250
-
251
-
252
- <tr>
253
- <td class="col-md-4">
254
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
255
-
256
- </td>
257
- </tr>
258
-
259
- <tr>
260
- <td class="col-md-4">
261
- <i>Optional</i>
262
- </td>
263
- </tr>
264
-
265
-
266
-
267
-
268
- </tbody>
269
- </table>
270
- <table class="table table-sm table-bordered">
271
- <tbody>
272
- <tr>
273
- <td class="col-md-4">
274
- <a name="href"></a>
275
- <span class="name "><b>href</b>
276
- <a href="#href">
277
- <span class="icon ion-ios-link"></span>
278
- </a>
279
- </span>
280
- </td>
281
- </tr>
282
- <tr>
283
- <td class="col-md-4">
284
- <code>href: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
285
- </code>
286
- </td>
287
- </tr>
288
-
289
-
290
- <tr>
291
- <td class="col-md-4">
292
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
293
-
294
- </td>
295
- </tr>
296
-
297
-
298
-
299
-
300
-
301
- </tbody>
302
- </table>
303
- <table class="table table-sm table-bordered">
304
- <tbody>
305
- <tr>
306
- <td class="col-md-4">
307
- <a name="id"></a>
308
- <span class="name "><b>id</b>
309
- <a href="#id">
310
- <span class="icon ion-ios-link"></span>
311
- </a>
312
- </span>
313
- </td>
314
- </tr>
315
- <tr>
316
- <td class="col-md-4">
317
- <code>id: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
318
- </code>
319
- </td>
320
- </tr>
321
-
322
-
323
- <tr>
324
- <td class="col-md-4">
325
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
326
-
327
- </td>
328
- </tr>
329
-
330
- <tr>
331
- <td class="col-md-4">
332
- <i>Optional</i>
333
- </td>
334
- </tr>
335
-
336
-
337
-
338
-
339
- </tbody>
340
- </table>
341
- <table class="table table-sm table-bordered">
342
- <tbody>
343
- <tr>
344
- <td class="col-md-4">
345
- <a name="image"></a>
346
- <span class="name "><b>image</b>
347
- <a href="#image">
348
- <span class="icon ion-ios-link"></span>
349
- </a>
350
- </span>
351
- </td>
352
- </tr>
353
- <tr>
354
- <td class="col-md-4">
355
- <code>image: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
356
- </code>
357
- </td>
358
- </tr>
359
-
360
-
361
- <tr>
362
- <td class="col-md-4">
363
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
364
-
365
- </td>
366
- </tr>
367
-
368
- <tr>
369
- <td class="col-md-4">
370
- <i>Optional</i>
371
- </td>
372
- </tr>
373
-
374
-
375
-
376
-
377
- </tbody>
378
- </table>
379
- <table class="table table-sm table-bordered">
380
- <tbody>
381
- <tr>
382
- <td class="col-md-4">
383
- <a name="label"></a>
384
- <span class="name "><b>label</b>
385
- <a href="#label">
386
- <span class="icon ion-ios-link"></span>
387
- </a>
388
- </span>
389
- </td>
390
- </tr>
391
- <tr>
392
- <td class="col-md-4">
393
- <code>label: <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
394
- </code>
395
- </td>
396
- </tr>
397
-
398
-
399
- <tr>
400
- <td class="col-md-4">
401
- <i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/string" target="_blank" >string</a></code>
402
-
403
- </td>
404
- </tr>
405
-
406
-
407
-
408
-
409
-
410
- </tbody>
411
- </table>
412
- <table class="table table-sm table-bordered">
413
- <tbody>
414
- <tr>
415
- <td class="col-md-4">
416
- <a name="permissions"></a>
417
- <span class="name "><b>permissions</b>
418
- <a href="#permissions">
419
- <span class="icon ion-ios-link"></span>
420
- </a>
421
- </span>
422
- </td>
423
- </tr>
424
- <tr>
425
- <td class="col-md-4">
426
- <code>permissions: <code>string[]</code>
427
- </code>
428
- </td>
429
- </tr>
430
-
431
-
432
- <tr>
433
- <td class="col-md-4">
434
- <i>Type : </i> <code>string[]</code>
435
-
436
- </td>
437
- </tr>
438
-
439
-
440
-
441
-
442
-
443
- </tbody>
444
- </table>
445
- </section>
446
- </div>
447
-
448
-
449
- <div class="tab-pane fade tab-source-code" id="source">
450
- <pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
451
- Inject,
452
- Injectable,
453
- LOCALE_ID,
454
- } from &#x27;@angular/core&#x27;;
455
- import { AuthorizationService } from &#x27;@rxap/authorization&#x27;;
456
- // eslint-disable-next-line @nx/enforce-module-boundaries
457
- import { ClickOnLink } from &#x27;@rxap/browser-utilities&#x27;;
458
- import { ConfigService } from &#x27;@rxap/config&#x27;;
459
- import {
460
- Environment,
461
- RXAP_ENVIRONMENT,
462
- } from &#x27;@rxap/environment&#x27;;
463
- import { JoinPath } from &#x27;@rxap/utilities&#x27;;
464
- import { firstValueFrom } from &#x27;rxjs&#x27;;
465
-
466
- export interface ExternalApps {
467
- image?: string;
468
- label: string;
469
- href: string;
470
- empty?: false;
471
- hidden?: boolean;
472
- id?: string;
473
- permissions: string[];
474
- }
475
-
476
- @Injectable({ providedIn: &#x27;root&#x27; })
477
- export class AppUrlService {
478
-
479
- private _apps: Array&lt;ExternalApps&gt;;
480
-
481
- constructor(
482
- private readonly config: ConfigService,
483
- @Inject(LOCALE_ID)
484
- private readonly localeId: string,
485
- private readonly authorizationService: AuthorizationService,
486
- @Inject(RXAP_ENVIRONMENT)
487
- private readonly environment: Environment,
488
- ) {
489
- this._apps &#x3D; this.config.get(&#x27;navigation.apps&#x27;, []);
490
- }
491
-
492
- public getApp(appId: string): ExternalApps | null {
493
- return this._apps.find(app &#x3D;&gt; app.id &#x3D;&#x3D;&#x3D; appId) ?? null;
494
- }
495
-
496
- public getAppUrl(appId: string, path: string, infix: string | null &#x3D; this.getPathPrefix()): string | null {
497
-
498
- const app &#x3D; this.getApp(appId);
499
-
500
- if (app) {
501
- return JoinPath(app.href, infix, path);
502
- }
503
-
504
- return null;
505
-
506
- }
507
-
508
- public getAppUrlOrThrow(appId: string, path: string): string {
509
- const url &#x3D; this.getAppUrl(appId, path);
510
- if (url) {
511
- return url;
512
- }
513
- throw new Error(&#x60;Could not find app with id &quot;${ appId }&quot;&#x60;);
514
- }
515
-
516
- public navigate(appId: string, path: string): void {
517
-
518
- const url &#x3D; this.getAppUrl(appId, path);
519
-
520
- if (url) {
521
- ClickOnLink(url);
522
- }
523
-
524
- }
525
-
526
- public async getAppList(): Promise&lt;Array&lt;ExternalApps&gt;&gt; {
527
- const appList &#x3D; this
528
- ._apps
529
- .filter(app &#x3D;&gt; !app.hidden)
530
- .map(app &#x3D;&gt; ({
531
- ...app,
532
- href: JoinPath(app.href, this.getPathPrefix()),
533
- }));
534
-
535
- const filteredAppList: Array&lt;ExternalApps&gt; &#x3D; [];
536
- for (const app of appList) {
537
- if (await firstValueFrom(this.authorizationService.hasPermission$(app.permissions))) {
538
- filteredAppList.push(app);
539
- }
540
- }
541
- return filteredAppList;
542
- }
543
-
544
- private getPathPrefix(): string {
545
- if (this.environment.production &amp;&amp; this.localeId) {
546
- return this.localeId.replace(/-.+$/, &#x27;&#x27;);
547
- }
548
- return &#x27;&#x27;;
549
- }
550
-
551
- }
552
- </code></pre>
553
- </div>
554
- </div>
555
-
556
-
557
-
558
-
559
-
560
-
561
-
562
-
563
- </div><div class="search-results">
564
- <div class="has-results">
565
- <h1 class="search-results-title"><span class='search-results-count'></span> results matching "<span class='search-query'></span>"</h1>
566
- <ul class="search-results-list"></ul>
567
- </div>
568
- <div class="no-results">
569
- <h1 class="search-results-title">No results matching "<span class='search-query'></span>"</h1>
570
- </div>
571
- </div>
572
- </div>
573
- <!-- END CONTENT -->
574
- </div>
575
- </div>
576
-
577
- <label class="dark-mode-switch">
578
- <input type="checkbox">
579
- <span class="slider">
580
- <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">
581
- <path d="M21 12.79A9 9 0 1111.21 3 7 7 0 0021 12.79z"></path>
582
- </svg>
583
- </span>
584
- </label>
585
-
586
- <script>
587
- var COMPODOC_CURRENT_PAGE_DEPTH = 1;
588
- var COMPODOC_CURRENT_PAGE_CONTEXT = 'interface';
589
- var COMPODOC_CURRENT_PAGE_URL = 'ExternalApps.html';
590
- var MAX_SEARCH_RESULTS = 15;
591
- </script>
592
-
593
- <script>
594
- $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
595
- checkToggle(darkModeState);
596
- if ($darkModeToggleSwitchers.length > 0) {
597
- for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
598
- $darkModeToggleSwitchers[i].addEventListener('change', function (event) {
599
- darkModeState = !darkModeState;
600
- toggleDarkMode(darkModeState);
601
- });
602
- }
603
- }
604
- </script>
605
-
606
- <script src="../js/libs/custom-elements.min.js"></script>
607
- <script src="../js/libs/lit-html.js"></script>
608
-
609
- <script src="../js/menu-wc.js" defer></script>
610
- <script nomodule src="../js/menu-wc_es5.js" defer></script>
611
-
612
- <script src="../js/libs/bootstrap-native.js"></script>
613
-
614
- <script src="../js/libs/es6-shim.min.js"></script>
615
- <script src="../js/libs/EventDispatcher.js"></script>
616
- <script src="../js/libs/promise.min.js"></script>
617
- <script src="../js/libs/zepto.min.js"></script>
618
-
619
- <script src="../js/compodoc.js"></script>
620
-
621
- <script src="../js/tabs.js"></script>
622
- <script src="../js/menu.js"></script>
623
- <script src="../js/libs/clipboard.min.js"></script>
624
- <script src="../js/libs/prism.js"></script>
625
- <script src="../js/sourceCode.js"></script>
626
- <script src="../js/search/search.js"></script>
627
- <script src="../js/search/lunr.min.js"></script>
628
- <script src="../js/search/search-lunr.js"></script>
629
- <script src="../js/search/search_index.js"></script>
630
- <script src="../js/lazy-load-graphs.js"></script>
631
-
632
-
633
- </body>
634
- </html>