@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
|
SidenavComponent</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/sidenav/sidenav.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/sidenav/sidenav.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,16 +184,26 @@
|
|
|
157
184
|
<tr>
|
|
158
185
|
<td class="col-md-3">imports</td>
|
|
159
186
|
<td class="col-md-9">
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
187
|
+
<div> <code>MatIcon</code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatIconButton</code>
|
|
190
|
+
</div>
|
|
191
|
+
<div> <code>MatSidenav</code>
|
|
192
|
+
</div>
|
|
193
|
+
<div> <code>MatSidenavContainer</code>
|
|
194
|
+
</div>
|
|
195
|
+
<div> <code>MatSidenavContent</code>
|
|
196
|
+
</div>
|
|
197
|
+
<div> <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
|
|
198
|
+
</div>
|
|
199
|
+
<div> <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
|
|
200
|
+
</div>
|
|
201
|
+
<div> <code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
|
|
202
|
+
</div>
|
|
203
|
+
<div> <code>MatDivider</code>
|
|
204
|
+
</div>
|
|
205
|
+
<div> <code><a href="https://angular.dev/api/common/NgTemplateOutlet" target="_blank" >NgTemplateOutlet</a></code>
|
|
206
|
+
</div>
|
|
170
207
|
</td>
|
|
171
208
|
</tr>
|
|
172
209
|
|
|
@@ -177,6 +214,7 @@
|
|
|
177
214
|
|
|
178
215
|
|
|
179
216
|
|
|
217
|
+
|
|
180
218
|
<tr>
|
|
181
219
|
<td class="col-md-3">templateUrl</td>
|
|
182
220
|
<td class="col-md-9"><code>./sidenav.component.html</code></td>
|
|
@@ -193,74 +231,136 @@
|
|
|
193
231
|
</table>
|
|
194
232
|
</section>
|
|
195
233
|
|
|
196
|
-
|
|
234
|
+
<section data-compodoc="block-relationships">
|
|
235
|
+
<h3>Relationships</h3>
|
|
236
|
+
|
|
237
|
+
<div class="row pt-3">
|
|
238
|
+
<div class="col-sm-6">
|
|
239
|
+
<h4>Used by</h4>
|
|
240
|
+
<ul class="list-unstyled relationships-list">
|
|
241
|
+
<li>
|
|
242
|
+
<code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
|
|
243
|
+
</li>
|
|
244
|
+
</ul>
|
|
245
|
+
</div>
|
|
246
|
+
|
|
247
|
+
<div class="col-sm-6">
|
|
248
|
+
<h4>Depends on</h4>
|
|
249
|
+
<ul class="list-unstyled relationships-list">
|
|
250
|
+
<li>
|
|
251
|
+
<code>MatIcon</code>
|
|
252
|
+
</li>
|
|
253
|
+
<li>
|
|
254
|
+
<code>MatIconButton</code>
|
|
255
|
+
</li>
|
|
256
|
+
<li>
|
|
257
|
+
<code>MatSidenav</code>
|
|
258
|
+
</li>
|
|
259
|
+
<li>
|
|
260
|
+
<code>MatSidenavContainer</code>
|
|
261
|
+
</li>
|
|
262
|
+
<li>
|
|
263
|
+
<code>MatSidenavContent</code>
|
|
264
|
+
</li>
|
|
265
|
+
<li>
|
|
266
|
+
<code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
|
|
267
|
+
</li>
|
|
268
|
+
<li>
|
|
269
|
+
<code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
|
|
270
|
+
</li>
|
|
271
|
+
<li>
|
|
272
|
+
<code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
|
|
273
|
+
</li>
|
|
274
|
+
<li>
|
|
275
|
+
<code>MatDivider</code>
|
|
276
|
+
</li>
|
|
277
|
+
<li>
|
|
278
|
+
<code><a href="https://angular.dev/api/common/NgTemplateOutlet" target="_blank" >NgTemplateOutlet</a></code>
|
|
279
|
+
</li>
|
|
280
|
+
</ul>
|
|
281
|
+
</div>
|
|
282
|
+
</div>
|
|
283
|
+
</section>
|
|
284
|
+
</div>
|
|
285
|
+
|
|
286
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
197
287
|
<h3 id="index">Index</h3>
|
|
198
|
-
|
|
199
|
-
|
|
288
|
+
<table class="table table-sm table-bordered index-table">
|
|
289
|
+
<tbody>
|
|
200
290
|
<tr>
|
|
201
|
-
<td class="col-md-
|
|
291
|
+
<td class="col-md-3">
|
|
202
292
|
<h6><b>Properties</b></h6>
|
|
203
293
|
</td>
|
|
204
|
-
|
|
205
|
-
<tr>
|
|
206
|
-
<td class="col-md-4">
|
|
294
|
+
<td class="col-md-9">
|
|
207
295
|
<ul class="index-list">
|
|
208
296
|
<li>
|
|
297
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
209
298
|
<span class="modifier">Public</span>
|
|
210
299
|
<span class="modifier">Readonly</span>
|
|
211
300
|
<a href="#collapsable" >collapsable</a>
|
|
212
301
|
</li>
|
|
213
302
|
<li>
|
|
303
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
214
304
|
<span class="modifier">Public</span>
|
|
215
305
|
<span class="modifier">Readonly</span>
|
|
216
306
|
<a href="#collapsed" >collapsed</a>
|
|
217
307
|
</li>
|
|
218
308
|
<li>
|
|
309
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
219
310
|
<span class="modifier">Public</span>
|
|
220
311
|
<span class="modifier">Readonly</span>
|
|
221
312
|
<a href="#fixedBottomGap" >fixedBottomGap</a>
|
|
222
313
|
</li>
|
|
223
314
|
<li>
|
|
315
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
224
316
|
<span class="modifier">Public</span>
|
|
225
317
|
<span class="modifier">Readonly</span>
|
|
226
318
|
<a href="#fixedInViewport" >fixedInViewport</a>
|
|
227
319
|
</li>
|
|
228
320
|
<li>
|
|
321
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
229
322
|
<span class="modifier">Public</span>
|
|
230
323
|
<span class="modifier">Readonly</span>
|
|
231
324
|
<a href="#fixedTopGap" >fixedTopGap</a>
|
|
232
325
|
</li>
|
|
233
326
|
<li>
|
|
327
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
234
328
|
<span class="modifier">Protected</span>
|
|
235
329
|
<span class="modifier">Readonly</span>
|
|
236
330
|
<a href="#layoutService" >layoutService</a>
|
|
237
331
|
</li>
|
|
238
332
|
<li>
|
|
333
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
239
334
|
<span class="modifier">Public</span>
|
|
240
335
|
<span class="modifier">Readonly</span>
|
|
241
336
|
<a href="#opened" >opened</a>
|
|
242
337
|
</li>
|
|
243
338
|
<li>
|
|
339
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
244
340
|
<span class="modifier">Public</span>
|
|
245
341
|
<span class="modifier">Readonly</span>
|
|
246
342
|
<a href="#pinned" >pinned</a>
|
|
247
343
|
</li>
|
|
248
344
|
<li>
|
|
345
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
249
346
|
<span class="modifier">Protected</span>
|
|
250
347
|
<span class="modifier">Readonly</span>
|
|
251
348
|
<a href="#sidenav" >sidenav</a>
|
|
252
349
|
</li>
|
|
253
350
|
<li>
|
|
351
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
254
352
|
<span class="modifier">Public</span>
|
|
255
353
|
<span class="modifier">Readonly</span>
|
|
256
354
|
<a href="#sidenavFooterDirective" >sidenavFooterDirective</a>
|
|
257
355
|
</li>
|
|
258
356
|
<li>
|
|
357
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
259
358
|
<span class="modifier">Public</span>
|
|
260
359
|
<span class="modifier">Readonly</span>
|
|
261
360
|
<a href="#sidenavHeaderDirective" >sidenavHeaderDirective</a>
|
|
262
361
|
</li>
|
|
263
362
|
<li>
|
|
363
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
264
364
|
<span class="modifier">Public</span>
|
|
265
365
|
<span class="modifier">Readonly</span>
|
|
266
366
|
<a href="#sidenavMode" >sidenavMode</a>
|
|
@@ -268,39 +368,45 @@
|
|
|
268
368
|
</ul>
|
|
269
369
|
</td>
|
|
270
370
|
</tr>
|
|
371
|
+
</tbody>
|
|
372
|
+
</table>
|
|
271
373
|
|
|
374
|
+
<table class="table table-sm table-bordered index-table">
|
|
375
|
+
<tbody>
|
|
272
376
|
<tr>
|
|
273
|
-
<td class="col-md-
|
|
377
|
+
<td class="col-md-3">
|
|
274
378
|
<h6><b>Methods</b></h6>
|
|
275
379
|
</td>
|
|
276
|
-
|
|
277
|
-
<tr>
|
|
278
|
-
<td class="col-md-4">
|
|
380
|
+
<td class="col-md-9">
|
|
279
381
|
<ul class="index-list">
|
|
280
382
|
<li>
|
|
383
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
281
384
|
<span class="modifier">Async</span>
|
|
282
385
|
<a href="#closeSidenav" >closeSidenav</a>
|
|
283
386
|
</li>
|
|
284
387
|
<li>
|
|
388
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
285
389
|
<a href="#onOpenedChanged" >onOpenedChanged</a>
|
|
286
390
|
</li>
|
|
287
391
|
<li>
|
|
392
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
288
393
|
<span class="modifier">Async</span>
|
|
289
394
|
<a href="#openSidenav" >openSidenav</a>
|
|
290
395
|
</li>
|
|
291
396
|
<li>
|
|
397
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
292
398
|
<a href="#togglePinned" >togglePinned</a>
|
|
293
399
|
</li>
|
|
294
400
|
</ul>
|
|
295
401
|
</td>
|
|
296
402
|
</tr>
|
|
403
|
+
</tbody>
|
|
404
|
+
</table>
|
|
297
405
|
|
|
298
406
|
|
|
299
407
|
|
|
300
408
|
|
|
301
409
|
|
|
302
|
-
</tbody>
|
|
303
|
-
</table>
|
|
304
410
|
</section>
|
|
305
411
|
|
|
306
412
|
|
|
@@ -335,8 +441,8 @@
|
|
|
335
441
|
|
|
336
442
|
<tr>
|
|
337
443
|
<td class="col-md-4">
|
|
338
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
339
|
-
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:
|
|
444
|
+
<div class="io-line">Defined in <a href="" data-line="99"
|
|
445
|
+
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:99</a></div>
|
|
340
446
|
</td>
|
|
341
447
|
</tr>
|
|
342
448
|
|
|
@@ -372,8 +478,8 @@
|
|
|
372
478
|
|
|
373
479
|
<tr>
|
|
374
480
|
<td class="col-md-4">
|
|
375
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
376
|
-
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:
|
|
481
|
+
<div class="io-line">Defined in <a href="" data-line="88"
|
|
482
|
+
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:88</a></div>
|
|
377
483
|
</td>
|
|
378
484
|
</tr>
|
|
379
485
|
|
|
@@ -444,8 +550,8 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
444
550
|
|
|
445
551
|
<tr>
|
|
446
552
|
<td class="col-md-4">
|
|
447
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
448
|
-
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:
|
|
553
|
+
<div class="io-line">Defined in <a href="" data-line="94"
|
|
554
|
+
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:94</a></div>
|
|
449
555
|
</td>
|
|
450
556
|
</tr>
|
|
451
557
|
|
|
@@ -481,8 +587,8 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
481
587
|
|
|
482
588
|
<tr>
|
|
483
589
|
<td class="col-md-4">
|
|
484
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
485
|
-
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:
|
|
590
|
+
<div class="io-line">Defined in <a href="" data-line="79"
|
|
591
|
+
class="link-to-prism">src/lib/sidenav/sidenav.component.ts:79</a></div>
|
|
486
592
|
</td>
|
|
487
593
|
</tr>
|
|
488
594
|
|
|
@@ -499,6 +605,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
499
605
|
</tbody>
|
|
500
606
|
</table>
|
|
501
607
|
</section>
|
|
608
|
+
|
|
502
609
|
<section data-compodoc="block-properties">
|
|
503
610
|
|
|
504
611
|
<h3 id="inputs">
|
|
@@ -530,7 +637,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
530
637
|
</tr>
|
|
531
638
|
<tr>
|
|
532
639
|
<td class="col-md-4">
|
|
533
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
640
|
+
<div class="io-line">Defined in <a href="" data-line="74" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:74</a></div>
|
|
534
641
|
</td>
|
|
535
642
|
</tr>
|
|
536
643
|
|
|
@@ -563,7 +670,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
563
670
|
</tr>
|
|
564
671
|
<tr>
|
|
565
672
|
<td class="col-md-4">
|
|
566
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
673
|
+
<div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:73</a></div>
|
|
567
674
|
</td>
|
|
568
675
|
</tr>
|
|
569
676
|
|
|
@@ -596,7 +703,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
596
703
|
</tr>
|
|
597
704
|
<tr>
|
|
598
705
|
<td class="col-md-4">
|
|
599
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
706
|
+
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:69</a></div>
|
|
600
707
|
</td>
|
|
601
708
|
</tr>
|
|
602
709
|
|
|
@@ -629,7 +736,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
629
736
|
</tr>
|
|
630
737
|
<tr>
|
|
631
738
|
<td class="col-md-4">
|
|
632
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
739
|
+
<div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:71</a></div>
|
|
633
740
|
</td>
|
|
634
741
|
</tr>
|
|
635
742
|
|
|
@@ -662,7 +769,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
662
769
|
</tr>
|
|
663
770
|
<tr>
|
|
664
771
|
<td class="col-md-4">
|
|
665
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
772
|
+
<div class="io-line">Defined in <a href="" data-line="70" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:70</a></div>
|
|
666
773
|
</td>
|
|
667
774
|
</tr>
|
|
668
775
|
|
|
@@ -682,6 +789,12 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
682
789
|
</span>
|
|
683
790
|
</td>
|
|
684
791
|
</tr>
|
|
792
|
+
<tr>
|
|
793
|
+
<td class="col-md-4">
|
|
794
|
+
<i>Type : </i> <code>unknown</code>
|
|
795
|
+
|
|
796
|
+
</td>
|
|
797
|
+
</tr>
|
|
685
798
|
<tr>
|
|
686
799
|
<td class="col-md-4">
|
|
687
800
|
<i>Default value : </i><code>inject(LayoutService)</code>
|
|
@@ -689,7 +802,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
689
802
|
</tr>
|
|
690
803
|
<tr>
|
|
691
804
|
<td class="col-md-4">
|
|
692
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
805
|
+
<div class="io-line">Defined in <a href="" data-line="64" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:64</a></div>
|
|
693
806
|
</td>
|
|
694
807
|
</tr>
|
|
695
808
|
|
|
@@ -722,7 +835,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
722
835
|
</tr>
|
|
723
836
|
<tr>
|
|
724
837
|
<td class="col-md-4">
|
|
725
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
838
|
+
<div class="io-line">Defined in <a href="" data-line="75" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:75</a></div>
|
|
726
839
|
</td>
|
|
727
840
|
</tr>
|
|
728
841
|
|
|
@@ -755,7 +868,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
755
868
|
</tr>
|
|
756
869
|
<tr>
|
|
757
870
|
<td class="col-md-4">
|
|
758
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
871
|
+
<div class="io-line">Defined in <a href="" data-line="72" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:72</a></div>
|
|
759
872
|
</td>
|
|
760
873
|
</tr>
|
|
761
874
|
|
|
@@ -775,6 +888,12 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
775
888
|
</span>
|
|
776
889
|
</td>
|
|
777
890
|
</tr>
|
|
891
|
+
<tr>
|
|
892
|
+
<td class="col-md-4">
|
|
893
|
+
<i>Type : </i> <code>unknown</code>
|
|
894
|
+
|
|
895
|
+
</td>
|
|
896
|
+
</tr>
|
|
778
897
|
<tr>
|
|
779
898
|
<td class="col-md-4">
|
|
780
899
|
<i>Default value : </i><code>viewChild(MatSidenav)</code>
|
|
@@ -782,7 +901,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
782
901
|
</tr>
|
|
783
902
|
<tr>
|
|
784
903
|
<td class="col-md-4">
|
|
785
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
904
|
+
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:66</a></div>
|
|
786
905
|
</td>
|
|
787
906
|
</tr>
|
|
788
907
|
|
|
@@ -802,6 +921,12 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
802
921
|
</span>
|
|
803
922
|
</td>
|
|
804
923
|
</tr>
|
|
924
|
+
<tr>
|
|
925
|
+
<td class="col-md-4">
|
|
926
|
+
<i>Type : </i> <code>unknown</code>
|
|
927
|
+
|
|
928
|
+
</td>
|
|
929
|
+
</tr>
|
|
805
930
|
<tr>
|
|
806
931
|
<td class="col-md-4">
|
|
807
932
|
<i>Default value : </i><code>contentChild(SidenavFooterDirective)</code>
|
|
@@ -809,7 +934,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
809
934
|
</tr>
|
|
810
935
|
<tr>
|
|
811
936
|
<td class="col-md-4">
|
|
812
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
937
|
+
<div class="io-line">Defined in <a href="" data-line="76" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:76</a></div>
|
|
813
938
|
</td>
|
|
814
939
|
</tr>
|
|
815
940
|
|
|
@@ -829,6 +954,12 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
829
954
|
</span>
|
|
830
955
|
</td>
|
|
831
956
|
</tr>
|
|
957
|
+
<tr>
|
|
958
|
+
<td class="col-md-4">
|
|
959
|
+
<i>Type : </i> <code>unknown</code>
|
|
960
|
+
|
|
961
|
+
</td>
|
|
962
|
+
</tr>
|
|
832
963
|
<tr>
|
|
833
964
|
<td class="col-md-4">
|
|
834
965
|
<i>Default value : </i><code>contentChild(SidenavHeaderDirective)</code>
|
|
@@ -836,7 +967,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
836
967
|
</tr>
|
|
837
968
|
<tr>
|
|
838
969
|
<td class="col-md-4">
|
|
839
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
970
|
+
<div class="io-line">Defined in <a href="" data-line="77" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:77</a></div>
|
|
840
971
|
</td>
|
|
841
972
|
</tr>
|
|
842
973
|
|
|
@@ -869,7 +1000,7 @@ it is required to manually update the state in the LayoutService.</p>
|
|
|
869
1000
|
</tr>
|
|
870
1001
|
<tr>
|
|
871
1002
|
<td class="col-md-4">
|
|
872
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1003
|
+
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/lib/sidenav/sidenav.component.ts:68</a></div>
|
|
873
1004
|
</td>
|
|
874
1005
|
</tr>
|
|
875
1006
|
|
|
@@ -905,7 +1036,26 @@ import { LayoutService } from '../layout.service';
|
|
|
905
1036
|
import { NavigationComponent } from '../navigation/navigation.component';
|
|
906
1037
|
import { SidenavFooterDirective } from './sidenav-footer.directive';
|
|
907
1038
|
import { SidenavHeaderDirective } from './sidenav-header.directive';
|
|
908
|
-
|
|
1039
|
+
import { Showcase } from '@ng-prism/core';
|
|
1040
|
+
|
|
1041
|
+
@Showcase({
|
|
1042
|
+
title: 'Sidenav',
|
|
1043
|
+
category: 'Layout',
|
|
1044
|
+
description: 'Collapsible sidenav with the navigation and the page content as projected content. A `rxapSidenavHeader` and a `rxapSidenavFooter` template are rendered above and below the navigation.',
|
|
1045
|
+
status: 'stable',
|
|
1046
|
+
canvasLayout: 'stretch',
|
|
1047
|
+
host: { template: '<div style="height: 420px"><rxap-sidenav /></div>' },
|
|
1048
|
+
variants: [
|
|
1049
|
+
{
|
|
1050
|
+
name: 'Default',
|
|
1051
|
+
template: '<div style="padding: 16px">Page content</div>',
|
|
1052
|
+
},
|
|
1053
|
+
{
|
|
1054
|
+
name: 'With header and footer',
|
|
1055
|
+
template: '<ng-template rxapSidenavHeader><div style="padding: 8px 16px">Signed in as Jane Doe</div></ng-template><ng-template rxapSidenavFooter><div style="padding: 8px 16px">Version 1.4.2</div></ng-template><div style="padding: 16px">Page content</div>',
|
|
1056
|
+
},
|
|
1057
|
+
],
|
|
1058
|
+
})
|
|
909
1059
|
@Component({
|
|
910
1060
|
selector: 'rxap-sidenav',
|
|
911
1061
|
templateUrl: './sidenav.component.html',
|
|
@@ -1086,7 +1236,7 @@ export class SidenavComponent {
|
|
|
1086
1236
|
|
|
1087
1237
|
</div>
|
|
1088
1238
|
|
|
1089
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
1239
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
1090
1240
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1091
1241
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1092
1242
|
<script>
|
|
@@ -1145,6 +1295,24 @@ export class SidenavComponent {
|
|
|
1145
1295
|
|
|
1146
1296
|
<script>
|
|
1147
1297
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1298
|
+
var updateDarkModeSwitchOffset = function () {
|
|
1299
|
+
var content = document.querySelector('.content');
|
|
1300
|
+
var scrollbarWidth = 0;
|
|
1301
|
+
|
|
1302
|
+
if (content) {
|
|
1303
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
1304
|
+
}
|
|
1305
|
+
|
|
1306
|
+
document.documentElement.style.setProperty(
|
|
1307
|
+
'--content-scrollbar-width',
|
|
1308
|
+
scrollbarWidth + 'px'
|
|
1309
|
+
);
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
updateDarkModeSwitchOffset();
|
|
1313
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
1314
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
1315
|
+
|
|
1148
1316
|
checkToggle(darkModeState);
|
|
1149
1317
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
1150
1318
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -1160,14 +1328,12 @@ export class SidenavComponent {
|
|
|
1160
1328
|
<script src="../js/libs/lit-html.js"></script>
|
|
1161
1329
|
|
|
1162
1330
|
<script src="../js/menu-wc.js" defer></script>
|
|
1163
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
1164
1331
|
|
|
1165
1332
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
1166
1333
|
|
|
1167
1334
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
1168
1335
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
1169
1336
|
<script src="../js/libs/promise.min.js"></script>
|
|
1170
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
1171
1337
|
|
|
1172
1338
|
<script src="../js/compodoc.js"></script>
|
|
1173
1339
|
|