@rxap/layout 21.0.1 → 22.0.0-dev.1
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.
- package/CHANGELOG.md +41 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +85 -5
- package/compodoc/components/AppsButtonComponent.html +174 -40
- package/compodoc/components/BaseLayoutComponent.html +115 -23
- package/compodoc/components/DefaultHeaderComponent.html +205 -36
- package/compodoc/components/FooterComponent.html +142 -27
- package/compodoc/components/HeaderComponent.html +165 -61
- package/compodoc/components/LayoutComponent.html +194 -44
- package/compodoc/components/MinimalLayoutComponent.html +120 -26
- package/compodoc/components/NavigationComponent.html +220 -133
- package/compodoc/components/NavigationItemComponent.html +248 -115
- package/compodoc/components/NavigationProgressBarComponent.html +121 -25
- package/compodoc/components/ReleaseInfoComponent.html +149 -32
- package/compodoc/components/SettingsButtonComponent.html +224 -60
- package/compodoc/components/SidenavComponent.html +222 -56
- package/compodoc/components/SidenavToggleButtonComponent.html +117 -27
- package/compodoc/components/UserProfileIconComponent.html +155 -66
- package/compodoc/dependencies.html +152 -49
- package/compodoc/directives/FooterDirective.html +74 -20
- package/compodoc/directives/HeaderDirective.html +74 -20
- package/compodoc/directives/SidenavFooterDirective.html +91 -19
- package/compodoc/directives/SidenavHeaderDirective.html +72 -19
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/DefaultHeaderService.html +91 -25
- package/compodoc/injectables/ExternalAppsService.html +123 -21
- package/compodoc/injectables/FooterService.html +91 -25
- package/compodoc/injectables/HeaderService.html +91 -25
- package/compodoc/injectables/LayoutService.html +91 -21
- package/compodoc/injectables/LogoService.html +103 -17
- package/compodoc/injectables/NavigationService.html +84 -24
- package/compodoc/interfaces/NavigationDividerItem.html +155 -100
- package/compodoc/interfaces/NavigationInsertItem.html +114 -64
- package/compodoc/interfaces/NavigationItem.html +305 -216
- package/compodoc/interfaces/NavigationStatus.html +80 -35
- package/compodoc/interfaces/ReleaseInfoModule.html +197 -137
- package/compodoc/interfaces/SettingsMenuItem.html +197 -137
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +26 -13
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +523 -0
- package/compodoc/miscellaneous/functions.html +90 -41
- package/compodoc/miscellaneous/typealiases.html +55 -12
- package/compodoc/miscellaneous/variables.html +163 -20
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1672 -1215
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AppsButtonComponent.html +110 -8
- package/docs/html/classes/BaseLayoutComponent.html +56 -2
- package/docs/html/classes/DefaultHeaderComponent.html +112 -10
- package/docs/html/classes/DefaultHeaderService.html +128 -13
- package/docs/html/classes/ExternalAppsService.html +240 -19
- package/docs/html/classes/FooterComponent.html +82 -5
- package/docs/html/classes/FooterDirective.html +95 -6
- package/docs/html/classes/FooterService.html +128 -13
- package/docs/html/classes/HeaderComponent.html +88 -6
- package/docs/html/classes/HeaderDirective.html +95 -6
- package/docs/html/classes/HeaderService.html +128 -13
- package/docs/html/classes/LayoutComponent.html +88 -6
- package/docs/html/classes/LayoutService.html +174 -16
- package/docs/html/classes/LogoService.html +88 -6
- package/docs/html/classes/MinimalLayoutComponent.html +56 -2
- package/docs/html/classes/NavigationComponent.html +156 -12
- package/docs/html/classes/NavigationItemComponent.html +172 -14
- package/docs/html/classes/NavigationProgressBarComponent.html +76 -4
- package/docs/html/classes/NavigationService.html +197 -12
- package/docs/html/classes/ReleaseInfoComponent.html +100 -6
- package/docs/html/classes/SettingsButtonComponent.html +242 -19
- package/docs/html/classes/SidenavComponent.html +190 -19
- package/docs/html/classes/SidenavFooterDirective.html +70 -3
- package/docs/html/classes/SidenavHeaderDirective.html +70 -3
- package/docs/html/classes/SidenavToggleButtonComponent.html +94 -5
- package/docs/html/classes/UserProfileIconComponent.html +106 -7
- package/docs/html/functions/IsNavigationDividerItem.html +42 -1
- package/docs/html/functions/IsNavigationInsertItem.html +42 -1
- package/docs/html/functions/IsNavigationItem.html +42 -1
- package/docs/html/functions/provideExternalApps.html +42 -1
- package/docs/html/functions/provideLayout.html +42 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +38 -1
- package/docs/html/functions/withDefaultHeaderItems.html +42 -1
- package/docs/html/functions/withFooterComponents.html +42 -1
- package/docs/html/functions/withHeaderComponents.html +42 -1
- package/docs/html/functions/withNavigationConfig.html +42 -1
- package/docs/html/functions/withNavigationInserts.html +42 -1
- package/docs/html/functions/withReleaseInfoModules.html +42 -1
- package/docs/html/functions/withSettingsMenuItems.html +42 -1
- package/docs/html/functions/withUserProfileDataSource.html +43 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +92 -18
- package/docs/html/interfaces/NavigationDividerItem.html +61 -3
- package/docs/html/interfaces/NavigationInsertItem.html +55 -2
- package/docs/html/interfaces/NavigationItem.html +94 -6
- package/docs/html/interfaces/NavigationStatus.html +63 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +67 -4
- package/docs/html/interfaces/SettingsMenuItem.html +67 -4
- package/docs/html/modules.html +52 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +33 -1
- package/docs/html/types/ExternalApp.html +33 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +49 -1
- package/docs/html/types/Navigation.html +33 -1
- package/docs/html/types/NavigationWithInserts.html +33 -1
- package/docs/html/types/SettingsMenuItemComponent.html +33 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +33 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +33 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppsButtonComponent.md +11 -11
- package/docs/markdown/classes/BaseLayoutComponent.md +5 -5
- package/docs/markdown/classes/DefaultHeaderComponent.md +13 -13
- package/docs/markdown/classes/DefaultHeaderService.md +9 -9
- package/docs/markdown/classes/ExternalAppsService.md +29 -29
- package/docs/markdown/classes/FooterComponent.md +8 -8
- package/docs/markdown/classes/FooterDirective.md +7 -7
- package/docs/markdown/classes/FooterService.md +9 -9
- package/docs/markdown/classes/HeaderComponent.md +9 -9
- package/docs/markdown/classes/HeaderDirective.md +7 -7
- package/docs/markdown/classes/HeaderService.md +9 -9
- package/docs/markdown/classes/LayoutComponent.md +9 -9
- package/docs/markdown/classes/LayoutService.md +21 -21
- package/docs/markdown/classes/LogoService.md +9 -9
- package/docs/markdown/classes/MinimalLayoutComponent.md +5 -5
- package/docs/markdown/classes/NavigationComponent.md +19 -19
- package/docs/markdown/classes/NavigationItemComponent.md +21 -21
- package/docs/markdown/classes/NavigationProgressBarComponent.md +7 -7
- package/docs/markdown/classes/NavigationService.md +26 -26
- package/docs/markdown/classes/ReleaseInfoComponent.md +9 -9
- package/docs/markdown/classes/SettingsButtonComponent.md +24 -24
- package/docs/markdown/classes/SidenavComponent.md +24 -24
- package/docs/markdown/classes/SidenavFooterDirective.md +6 -6
- package/docs/markdown/classes/SidenavHeaderDirective.md +6 -6
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +8 -8
- package/docs/markdown/classes/UserProfileIconComponent.md +11 -11
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +3 -3
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +3 -3
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +3 -3
- package/docs/markdown/functions/withUserProfileDataSource.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +5 -5
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +14 -12
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +6 -6
- package/docs/markdown/interfaces/SettingsMenuItem.md +7 -7
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +3 -3
- package/docs/markdown/type-aliases/ExternalApp.md +3 -3
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +7 -5
- package/docs/markdown/type-aliases/Navigation.md +3 -3
- package/docs/markdown/type-aliases/NavigationWithInserts.md +3 -3
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +3 -3
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +3 -3
- package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +3 -3
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +3 -3
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +10 -10
- package/docs/wiki/Class.BaseLayoutComponent.md +4 -4
- package/docs/wiki/Class.DefaultHeaderComponent.md +12 -12
- package/docs/wiki/Class.DefaultHeaderService.md +8 -8
- package/docs/wiki/Class.ExternalAppsService.md +28 -28
- package/docs/wiki/Class.FooterComponent.md +7 -7
- package/docs/wiki/Class.FooterDirective.md +6 -6
- package/docs/wiki/Class.FooterService.md +8 -8
- package/docs/wiki/Class.HeaderComponent.md +8 -8
- package/docs/wiki/Class.HeaderDirective.md +6 -6
- package/docs/wiki/Class.HeaderService.md +8 -8
- package/docs/wiki/Class.LayoutComponent.md +8 -8
- package/docs/wiki/Class.LayoutService.md +20 -20
- package/docs/wiki/Class.LogoService.md +8 -8
- package/docs/wiki/Class.MinimalLayoutComponent.md +4 -4
- package/docs/wiki/Class.NavigationComponent.md +18 -18
- package/docs/wiki/Class.NavigationItemComponent.md +20 -20
- package/docs/wiki/Class.NavigationProgressBarComponent.md +6 -6
- package/docs/wiki/Class.NavigationService.md +25 -25
- package/docs/wiki/Class.ReleaseInfoComponent.md +8 -8
- package/docs/wiki/Class.SettingsButtonComponent.md +23 -23
- package/docs/wiki/Class.SidenavComponent.md +23 -23
- package/docs/wiki/Class.SidenavFooterDirective.md +5 -5
- package/docs/wiki/Class.SidenavHeaderDirective.md +5 -5
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +7 -7
- package/docs/wiki/Class.UserProfileIconComponent.md +10 -10
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +2 -2
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +2 -2
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +2 -2
- package/docs/wiki/Function.withUserProfileDataSource.md +3 -3
- package/docs/wiki/Interface.NavigationDividerItem.md +4 -4
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +13 -11
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +5 -5
- package/docs/wiki/Interface.SettingsMenuItem.md +6 -6
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +2 -2
- package/docs/wiki/TypeAlias.ExternalApp.md +2 -2
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +6 -4
- package/docs/wiki/TypeAlias.Navigation.md +2 -2
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +2 -2
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +2 -2
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +2035 -697
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +44 -44
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +9 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +9 -0
- package/src/test-setup.ts +4 -17
- package/types/rxap-layout.d.ts +508 -507
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -85,6 +106,10 @@
|
|
|
85
106
|
|
|
86
107
|
|
|
87
108
|
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
|
|
112
|
+
|
|
88
113
|
<ol class="breadcrumb">
|
|
89
114
|
<li class="breadcrumb-item">Components</li>
|
|
90
115
|
<li class="breadcrumb-item"
|
|
@@ -92,11 +117,20 @@
|
|
|
92
117
|
HeaderComponent</li>
|
|
93
118
|
</ol>
|
|
94
119
|
|
|
120
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
121
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
122
|
+
<code>src/lib/header/header.component.ts</code>
|
|
123
|
+
</div>
|
|
124
|
+
|
|
95
125
|
<ul class="nav nav-tabs" role="tablist">
|
|
96
126
|
<li class="nav-item">
|
|
97
127
|
<a href="#info" class="nav-link active"
|
|
98
128
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
99
129
|
</li>
|
|
130
|
+
<li class="nav-item">
|
|
131
|
+
<a href="#api" class="nav-link"
|
|
132
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
133
|
+
</li>
|
|
100
134
|
<li class="nav-item">
|
|
101
135
|
<a href="#source" class="nav-link"
|
|
102
136
|
role="tab" id="source-tab" data-bs-toggle="tab" data-link="source">Source</a>
|
|
@@ -116,14 +150,7 @@
|
|
|
116
150
|
</ul>
|
|
117
151
|
|
|
118
152
|
<div class="tab-content">
|
|
119
|
-
<div class="tab-pane fade active in" id="info"
|
|
120
|
-
<h3>File</h3>
|
|
121
|
-
</p>
|
|
122
|
-
<p class="comment">
|
|
123
|
-
<code>src/lib/header/header.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,9 +184,12 @@
|
|
|
157
184
|
<tr>
|
|
158
185
|
<td class="col-md-3">imports</td>
|
|
159
186
|
<td class="col-md-9">
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
187
|
+
<div> <code>MatToolbar</code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatToolbarRow</code>
|
|
190
|
+
</div>
|
|
191
|
+
<div> <code>CdkPortalOutlet</code>
|
|
192
|
+
</div>
|
|
163
193
|
</td>
|
|
164
194
|
</tr>
|
|
165
195
|
|
|
@@ -170,6 +200,7 @@
|
|
|
170
200
|
|
|
171
201
|
|
|
172
202
|
|
|
203
|
+
|
|
173
204
|
<tr>
|
|
174
205
|
<td class="col-md-3">templateUrl</td>
|
|
175
206
|
<td class="col-md-9"><code>./header.component.html</code></td>
|
|
@@ -186,34 +217,67 @@
|
|
|
186
217
|
</table>
|
|
187
218
|
</section>
|
|
188
219
|
|
|
189
|
-
|
|
220
|
+
<section data-compodoc="block-relationships">
|
|
221
|
+
<h3>Relationships</h3>
|
|
222
|
+
|
|
223
|
+
<div class="row pt-3">
|
|
224
|
+
<div class="col-sm-6">
|
|
225
|
+
<h4>Used by</h4>
|
|
226
|
+
<ul class="list-unstyled relationships-list">
|
|
227
|
+
<li>
|
|
228
|
+
<code><a href="../components/BaseLayoutComponent.html" target="_self" >BaseLayoutComponent</a></code>
|
|
229
|
+
</li>
|
|
230
|
+
<li>
|
|
231
|
+
<code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
|
|
232
|
+
</li>
|
|
233
|
+
<li>
|
|
234
|
+
<code><a href="../components/MinimalLayoutComponent.html" target="_self" >MinimalLayoutComponent</a></code>
|
|
235
|
+
</li>
|
|
236
|
+
</ul>
|
|
237
|
+
</div>
|
|
238
|
+
|
|
239
|
+
<div class="col-sm-6">
|
|
240
|
+
<h4>Depends on</h4>
|
|
241
|
+
<ul class="list-unstyled relationships-list">
|
|
242
|
+
<li>
|
|
243
|
+
<code>MatToolbar</code>
|
|
244
|
+
</li>
|
|
245
|
+
<li>
|
|
246
|
+
<code>MatToolbarRow</code>
|
|
247
|
+
</li>
|
|
248
|
+
<li>
|
|
249
|
+
<code>CdkPortalOutlet</code>
|
|
250
|
+
</li>
|
|
251
|
+
</ul>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</section>
|
|
255
|
+
</div>
|
|
256
|
+
|
|
257
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
190
258
|
<h3 id="index">Index</h3>
|
|
191
|
-
|
|
192
|
-
|
|
259
|
+
<table class="table table-sm table-bordered index-table">
|
|
260
|
+
<tbody>
|
|
193
261
|
<tr>
|
|
194
|
-
<td class="col-md-
|
|
262
|
+
<td class="col-md-3">
|
|
195
263
|
<h6><b>Properties</b></h6>
|
|
196
264
|
</td>
|
|
197
|
-
|
|
198
|
-
<tr>
|
|
199
|
-
<td class="col-md-4">
|
|
265
|
+
<td class="col-md-9">
|
|
200
266
|
<ul class="index-list">
|
|
201
267
|
<li>
|
|
202
|
-
|
|
203
|
-
<span class="modifier">Readonly</span>
|
|
204
|
-
<a href="#color" >color</a>
|
|
205
|
-
</li>
|
|
206
|
-
<li>
|
|
268
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
207
269
|
<span class="modifier">Public</span>
|
|
208
270
|
<span class="modifier">Readonly</span>
|
|
209
271
|
<a href="#hasPortals" >hasPortals</a>
|
|
210
272
|
</li>
|
|
211
273
|
<li>
|
|
274
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
212
275
|
<span class="modifier">Protected</span>
|
|
213
276
|
<span class="modifier">Readonly</span>
|
|
214
277
|
<a href="#headerService" >headerService</a>
|
|
215
278
|
</li>
|
|
216
279
|
<li>
|
|
280
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
217
281
|
<span class="modifier">Public</span>
|
|
218
282
|
<span class="modifier">Readonly</span>
|
|
219
283
|
<a href="#portals" >portals</a>
|
|
@@ -221,28 +285,30 @@
|
|
|
221
285
|
</ul>
|
|
222
286
|
</td>
|
|
223
287
|
</tr>
|
|
288
|
+
</tbody>
|
|
289
|
+
</table>
|
|
224
290
|
|
|
225
291
|
|
|
292
|
+
<table class="table table-sm table-bordered index-table">
|
|
293
|
+
<tbody>
|
|
226
294
|
<tr>
|
|
227
|
-
<td class="col-md-
|
|
295
|
+
<td class="col-md-3">
|
|
228
296
|
<h6><b>Inputs</b></h6>
|
|
229
297
|
</td>
|
|
230
|
-
|
|
231
|
-
<tr>
|
|
232
|
-
<td class="col-md-4">
|
|
298
|
+
<td class="col-md-9">
|
|
233
299
|
<ul class="index-list">
|
|
234
300
|
<li>
|
|
235
|
-
<a href="#color" >color</a>
|
|
301
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#color" >color</a>
|
|
236
302
|
</li>
|
|
237
303
|
</ul>
|
|
238
304
|
</td>
|
|
239
305
|
</tr>
|
|
306
|
+
</tbody>
|
|
307
|
+
</table>
|
|
240
308
|
|
|
241
309
|
|
|
242
310
|
|
|
243
311
|
|
|
244
|
-
</tbody>
|
|
245
|
-
</table>
|
|
246
312
|
</section>
|
|
247
313
|
|
|
248
314
|
|
|
@@ -255,10 +321,16 @@
|
|
|
255
321
|
<a name="color"></a>
|
|
256
322
|
<b>color</b>
|
|
257
323
|
</td>
|
|
324
|
+
</tr>
|
|
325
|
+
<tr>
|
|
326
|
+
<td class="col-md-4">
|
|
327
|
+
<i>Type : </i> <code>ThemePalette</code>
|
|
328
|
+
|
|
329
|
+
</td>
|
|
258
330
|
</tr>
|
|
259
331
|
<tr>
|
|
260
332
|
<td class="col-md-2" colspan="2">
|
|
261
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
333
|
+
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/header/header.component.ts:48</a></div>
|
|
262
334
|
</td>
|
|
263
335
|
</tr>
|
|
264
336
|
</tbody>
|
|
@@ -268,33 +340,12 @@
|
|
|
268
340
|
|
|
269
341
|
|
|
270
342
|
|
|
343
|
+
|
|
271
344
|
<section data-compodoc="block-properties">
|
|
272
345
|
|
|
273
346
|
<h3 id="inputs">
|
|
274
347
|
Properties
|
|
275
348
|
</h3>
|
|
276
|
-
<table class="table table-sm table-bordered">
|
|
277
|
-
<tbody>
|
|
278
|
-
<tr>
|
|
279
|
-
<td class="col-md-4">
|
|
280
|
-
<a name="color"></a>
|
|
281
|
-
<span class="name">
|
|
282
|
-
<span class="modifier">Public</span>
|
|
283
|
-
<span class="modifier">Readonly</span>
|
|
284
|
-
<span ><b>color</b></span>
|
|
285
|
-
<a href="#color"><span class="icon ion-ios-link"></span></a>
|
|
286
|
-
</span>
|
|
287
|
-
</td>
|
|
288
|
-
</tr>
|
|
289
|
-
<tr>
|
|
290
|
-
<td class="col-md-4">
|
|
291
|
-
<div class="io-line">Defined in <a href="" data-line="29" class="link-to-prism">src/lib/header/header.component.ts:29</a></div>
|
|
292
|
-
</td>
|
|
293
|
-
</tr>
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
</tbody>
|
|
297
|
-
</table>
|
|
298
349
|
<table class="table table-sm table-bordered">
|
|
299
350
|
<tbody>
|
|
300
351
|
<tr>
|
|
@@ -308,6 +359,12 @@
|
|
|
308
359
|
</span>
|
|
309
360
|
</td>
|
|
310
361
|
</tr>
|
|
362
|
+
<tr>
|
|
363
|
+
<td class="col-md-4">
|
|
364
|
+
<i>Type : </i> <code>unknown</code>
|
|
365
|
+
|
|
366
|
+
</td>
|
|
367
|
+
</tr>
|
|
311
368
|
<tr>
|
|
312
369
|
<td class="col-md-4">
|
|
313
370
|
<i>Default value : </i><code>computed(() => this.portals().length > 0)</code>
|
|
@@ -315,7 +372,7 @@
|
|
|
315
372
|
</tr>
|
|
316
373
|
<tr>
|
|
317
374
|
<td class="col-md-4">
|
|
318
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
375
|
+
<div class="io-line">Defined in <a href="" data-line="53" class="link-to-prism">src/lib/header/header.component.ts:53</a></div>
|
|
319
376
|
</td>
|
|
320
377
|
</tr>
|
|
321
378
|
|
|
@@ -335,6 +392,12 @@
|
|
|
335
392
|
</span>
|
|
336
393
|
</td>
|
|
337
394
|
</tr>
|
|
395
|
+
<tr>
|
|
396
|
+
<td class="col-md-4">
|
|
397
|
+
<i>Type : </i> <code>unknown</code>
|
|
398
|
+
|
|
399
|
+
</td>
|
|
400
|
+
</tr>
|
|
338
401
|
<tr>
|
|
339
402
|
<td class="col-md-4">
|
|
340
403
|
<i>Default value : </i><code>inject(HeaderService)</code>
|
|
@@ -342,7 +405,7 @@
|
|
|
342
405
|
</tr>
|
|
343
406
|
<tr>
|
|
344
407
|
<td class="col-md-4">
|
|
345
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
408
|
+
<div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/header/header.component.ts:50</a></div>
|
|
346
409
|
</td>
|
|
347
410
|
</tr>
|
|
348
411
|
|
|
@@ -362,6 +425,12 @@
|
|
|
362
425
|
</span>
|
|
363
426
|
</td>
|
|
364
427
|
</tr>
|
|
428
|
+
<tr>
|
|
429
|
+
<td class="col-md-4">
|
|
430
|
+
<i>Type : </i> <code>unknown</code>
|
|
431
|
+
|
|
432
|
+
</td>
|
|
433
|
+
</tr>
|
|
365
434
|
<tr>
|
|
366
435
|
<td class="col-md-4">
|
|
367
436
|
<i>Default value : </i><code>computed(() => this.headerService.portals())</code>
|
|
@@ -369,7 +438,7 @@
|
|
|
369
438
|
</tr>
|
|
370
439
|
<tr>
|
|
371
440
|
<td class="col-md-4">
|
|
372
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
441
|
+
<div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/header/header.component.ts:52</a></div>
|
|
373
442
|
</td>
|
|
374
443
|
</tr>
|
|
375
444
|
|
|
@@ -396,7 +465,26 @@ import {
|
|
|
396
465
|
MatToolbarRow,
|
|
397
466
|
} from '@angular/material/toolbar';
|
|
398
467
|
import { HeaderService } from '../header.service';
|
|
399
|
-
|
|
468
|
+
import { Showcase } from '@ng-prism/core';
|
|
469
|
+
|
|
470
|
+
@Showcase<HeaderComponent>({
|
|
471
|
+
title: 'Header',
|
|
472
|
+
category: 'Layout',
|
|
473
|
+
description: 'Toolbar that renders one row for each template registered with the `rxapHeader` directive. Without a registered template nothing is rendered.',
|
|
474
|
+
status: 'stable',
|
|
475
|
+
canvasLayout: 'stretch',
|
|
476
|
+
host: { template: '<rxap-header /><ng-template rxapHeader><span style="font-size: 20px">Application title</span></ng-template>' },
|
|
477
|
+
variants: [
|
|
478
|
+
{ name: 'Default' },
|
|
479
|
+
{ name: 'Primary', inputs: { color: 'primary' } },
|
|
480
|
+
{ name: 'Accent', inputs: { color: 'accent' } },
|
|
481
|
+
{ name: 'Warn', inputs: { color: 'warn' } },
|
|
482
|
+
{
|
|
483
|
+
name: 'Two rows',
|
|
484
|
+
host: { template: '<rxap-header /><ng-template rxapHeader><span style="font-size: 20px">Application title</span></ng-template><ng-template rxapHeader><span>Sub header</span></ng-template>' },
|
|
485
|
+
},
|
|
486
|
+
],
|
|
487
|
+
})
|
|
400
488
|
@Component({
|
|
401
489
|
selector: 'rxap-header',
|
|
402
490
|
templateUrl: './header.component.html',
|
|
@@ -462,7 +550,7 @@ export class HeaderComponent {
|
|
|
462
550
|
|
|
463
551
|
</div>
|
|
464
552
|
|
|
465
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
553
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
466
554
|
<script src="../js/libs/htmlparser.js"></script>
|
|
467
555
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
468
556
|
<script>
|
|
@@ -521,6 +609,24 @@ export class HeaderComponent {
|
|
|
521
609
|
|
|
522
610
|
<script>
|
|
523
611
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
612
|
+
var updateDarkModeSwitchOffset = function () {
|
|
613
|
+
var content = document.querySelector('.content');
|
|
614
|
+
var scrollbarWidth = 0;
|
|
615
|
+
|
|
616
|
+
if (content) {
|
|
617
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
document.documentElement.style.setProperty(
|
|
621
|
+
'--content-scrollbar-width',
|
|
622
|
+
scrollbarWidth + 'px'
|
|
623
|
+
);
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
updateDarkModeSwitchOffset();
|
|
627
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
628
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
629
|
+
|
|
524
630
|
checkToggle(darkModeState);
|
|
525
631
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
526
632
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -536,14 +642,12 @@ export class HeaderComponent {
|
|
|
536
642
|
<script src="../js/libs/lit-html.js"></script>
|
|
537
643
|
|
|
538
644
|
<script src="../js/menu-wc.js" defer></script>
|
|
539
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
540
645
|
|
|
541
646
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
542
647
|
|
|
543
648
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
544
649
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
545
650
|
<script src="../js/libs/promise.min.js"></script>
|
|
546
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
547
651
|
|
|
548
652
|
<script src="../js/compodoc.js"></script>
|
|
549
653
|
|