@rxap/layout 22.0.0-dev.0 → 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 +27 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +72 -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 +220 -62
- 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 +19 -17
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +35 -35
- 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
|
@@ -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
|
NavigationComponent</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/navigation/navigation.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/navigation/navigation.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -165,9 +192,12 @@
|
|
|
165
192
|
<tr>
|
|
166
193
|
<td class="col-md-3">imports</td>
|
|
167
194
|
<td class="col-md-9">
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
195
|
+
<div> <code>MatDividerModule</code>
|
|
196
|
+
</div>
|
|
197
|
+
<div> <code><a href="../interfaces/NavigationItem.html" target="_self" >forwardRef(() => NavigationItemComponent)</a></code>
|
|
198
|
+
</div>
|
|
199
|
+
<div> <code><a href="https://angular.dev/api/common/AsyncPipe" target="_blank" >AsyncPipe</a></code>
|
|
200
|
+
</div>
|
|
171
201
|
</td>
|
|
172
202
|
</tr>
|
|
173
203
|
|
|
@@ -178,6 +208,7 @@
|
|
|
178
208
|
|
|
179
209
|
|
|
180
210
|
|
|
211
|
+
|
|
181
212
|
<tr>
|
|
182
213
|
<td class="col-md-3">templateUrl</td>
|
|
183
214
|
<td class="col-md-9"><code>./navigation.component.html</code></td>
|
|
@@ -194,105 +225,135 @@
|
|
|
194
225
|
</table>
|
|
195
226
|
</section>
|
|
196
227
|
|
|
197
|
-
|
|
228
|
+
<section data-compodoc="block-relationships">
|
|
229
|
+
<h3>Relationships</h3>
|
|
230
|
+
|
|
231
|
+
<div class="row pt-3">
|
|
232
|
+
<div class="col-sm-6">
|
|
233
|
+
<h4>Used by</h4>
|
|
234
|
+
<ul class="list-unstyled relationships-list">
|
|
235
|
+
<li>
|
|
236
|
+
<code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
|
|
237
|
+
</li>
|
|
238
|
+
<li>
|
|
239
|
+
<code><a href="../components/SidenavComponent.html" target="_self" >SidenavComponent</a></code>
|
|
240
|
+
</li>
|
|
241
|
+
</ul>
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
<div class="col-sm-6">
|
|
245
|
+
<h4>Depends on</h4>
|
|
246
|
+
<ul class="list-unstyled relationships-list">
|
|
247
|
+
<li>
|
|
248
|
+
<code>MatDividerModule</code>
|
|
249
|
+
</li>
|
|
250
|
+
<li>
|
|
251
|
+
<code><a href="../interfaces/NavigationItem.html" target="_self" >forwardRef(() => NavigationItemComponent)</a></code>
|
|
252
|
+
</li>
|
|
253
|
+
<li>
|
|
254
|
+
<code><a href="https://angular.dev/api/common/AsyncPipe" target="_blank" >AsyncPipe</a></code>
|
|
255
|
+
</li>
|
|
256
|
+
</ul>
|
|
257
|
+
</div>
|
|
258
|
+
</div>
|
|
259
|
+
</section>
|
|
260
|
+
</div>
|
|
261
|
+
|
|
262
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
198
263
|
<h3 id="index">Index</h3>
|
|
199
|
-
|
|
200
|
-
|
|
264
|
+
<table class="table table-sm table-bordered index-table">
|
|
265
|
+
<tbody>
|
|
201
266
|
<tr>
|
|
202
|
-
<td class="col-md-
|
|
267
|
+
<td class="col-md-3">
|
|
203
268
|
<h6><b>Properties</b></h6>
|
|
204
269
|
</td>
|
|
205
|
-
|
|
206
|
-
<tr>
|
|
207
|
-
<td class="col-md-4">
|
|
270
|
+
<td class="col-md-9">
|
|
208
271
|
<ul class="index-list">
|
|
209
272
|
<li>
|
|
273
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
210
274
|
<span class="modifier">Public</span>
|
|
211
275
|
<span class="modifier">Readonly</span>
|
|
212
276
|
<a href="#collapsed" >collapsed</a>
|
|
213
277
|
</li>
|
|
214
278
|
<li>
|
|
215
|
-
|
|
216
|
-
<a href="#items" >items</a>
|
|
217
|
-
</li>
|
|
218
|
-
<li>
|
|
279
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
219
280
|
<span class="modifier">Protected</span>
|
|
220
281
|
<span class="modifier">Readonly</span>
|
|
221
282
|
<a href="#layoutService" >layoutService</a>
|
|
222
283
|
</li>
|
|
223
284
|
<li>
|
|
224
|
-
|
|
225
|
-
<a href="#level" >level</a>
|
|
226
|
-
</li>
|
|
227
|
-
<li>
|
|
285
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
228
286
|
<span class="modifier">Public</span>
|
|
229
287
|
<span class="modifier">Readonly</span>
|
|
230
288
|
<a href="#navigationItems" >navigationItems</a>
|
|
231
289
|
</li>
|
|
232
290
|
<li>
|
|
291
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
233
292
|
<span class="modifier">Protected</span>
|
|
234
293
|
<span class="modifier">Readonly</span>
|
|
235
294
|
<a href="#navigationService" >navigationService</a>
|
|
236
295
|
</li>
|
|
237
|
-
<li>
|
|
238
|
-
<span class="modifier">Public</span>
|
|
239
|
-
<span class="modifier">Readonly</span>
|
|
240
|
-
<a href="#root" >root</a>
|
|
241
|
-
</li>
|
|
242
296
|
</ul>
|
|
243
297
|
</td>
|
|
244
298
|
</tr>
|
|
299
|
+
</tbody>
|
|
300
|
+
</table>
|
|
245
301
|
|
|
302
|
+
<table class="table table-sm table-bordered index-table">
|
|
303
|
+
<tbody>
|
|
246
304
|
<tr>
|
|
247
|
-
<td class="col-md-
|
|
305
|
+
<td class="col-md-3">
|
|
248
306
|
<h6><b>Methods</b></h6>
|
|
249
307
|
</td>
|
|
250
|
-
|
|
251
|
-
<tr>
|
|
252
|
-
<td class="col-md-4">
|
|
308
|
+
<td class="col-md-9">
|
|
253
309
|
<ul class="index-list">
|
|
254
310
|
<li>
|
|
311
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
255
312
|
<span class="modifier">Public</span>
|
|
256
313
|
<a href="#asNavigationItem" >asNavigationItem</a>
|
|
257
314
|
</li>
|
|
258
315
|
<li>
|
|
316
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
259
317
|
<span class="modifier">Public</span>
|
|
260
318
|
<a href="#isNavigationDividerItem" >isNavigationDividerItem</a>
|
|
261
319
|
</li>
|
|
262
320
|
<li>
|
|
321
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
263
322
|
<span class="modifier">Public</span>
|
|
264
323
|
<a href="#isNavigationItem" >isNavigationItem</a>
|
|
265
324
|
</li>
|
|
266
325
|
</ul>
|
|
267
326
|
</td>
|
|
268
327
|
</tr>
|
|
328
|
+
</tbody>
|
|
329
|
+
</table>
|
|
269
330
|
|
|
331
|
+
<table class="table table-sm table-bordered index-table">
|
|
332
|
+
<tbody>
|
|
270
333
|
<tr>
|
|
271
|
-
<td class="col-md-
|
|
334
|
+
<td class="col-md-3">
|
|
272
335
|
<h6><b>Inputs</b></h6>
|
|
273
336
|
</td>
|
|
274
|
-
|
|
275
|
-
<tr>
|
|
276
|
-
<td class="col-md-4">
|
|
337
|
+
<td class="col-md-9">
|
|
277
338
|
<ul class="index-list">
|
|
278
339
|
<li>
|
|
279
|
-
<a href="#items" >items</a>
|
|
340
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#items" >items</a>
|
|
280
341
|
</li>
|
|
281
342
|
<li>
|
|
282
|
-
<a href="#level" >level</a>
|
|
343
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#level" >level</a>
|
|
283
344
|
</li>
|
|
284
345
|
<li>
|
|
285
|
-
<a href="#root" >root</a>
|
|
346
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#root" >root</a>
|
|
286
347
|
</li>
|
|
287
348
|
</ul>
|
|
288
349
|
</td>
|
|
289
350
|
</tr>
|
|
351
|
+
</tbody>
|
|
352
|
+
</table>
|
|
290
353
|
|
|
291
354
|
|
|
292
355
|
|
|
293
356
|
|
|
294
|
-
</tbody>
|
|
295
|
-
</table>
|
|
296
357
|
</section>
|
|
297
358
|
|
|
298
359
|
|
|
@@ -305,10 +366,16 @@
|
|
|
305
366
|
<a name="items"></a>
|
|
306
367
|
<b>items</b>
|
|
307
368
|
</td>
|
|
369
|
+
</tr>
|
|
370
|
+
<tr>
|
|
371
|
+
<td class="col-md-4">
|
|
372
|
+
<i>Type : </i> <code><a href="../miscellaneous/typealiases.html#Navigation" target="_self" >Navigation</a></code>
|
|
373
|
+
|
|
374
|
+
</td>
|
|
308
375
|
</tr>
|
|
309
376
|
<tr>
|
|
310
377
|
<td class="col-md-2" colspan="2">
|
|
311
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
378
|
+
<div class="io-line">Defined in <a href="" data-line="82" class="link-to-prism">src/lib/navigation/navigation.component.ts:82</a></div>
|
|
312
379
|
</td>
|
|
313
380
|
</tr>
|
|
314
381
|
</tbody>
|
|
@@ -321,6 +388,12 @@
|
|
|
321
388
|
<b>level</b>
|
|
322
389
|
</td>
|
|
323
390
|
</tr>
|
|
391
|
+
<tr>
|
|
392
|
+
<td class="col-md-4">
|
|
393
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
394
|
+
|
|
395
|
+
</td>
|
|
396
|
+
</tr>
|
|
324
397
|
<tr>
|
|
325
398
|
<td class="col-md-4">
|
|
326
399
|
<i>Default value : </i><code>0</code>
|
|
@@ -328,7 +401,7 @@
|
|
|
328
401
|
</tr>
|
|
329
402
|
<tr>
|
|
330
403
|
<td class="col-md-2" colspan="2">
|
|
331
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
404
|
+
<div class="io-line">Defined in <a href="" data-line="84" class="link-to-prism">src/lib/navigation/navigation.component.ts:84</a></div>
|
|
332
405
|
</td>
|
|
333
406
|
</tr>
|
|
334
407
|
</tbody>
|
|
@@ -341,6 +414,12 @@
|
|
|
341
414
|
<b>root</b>
|
|
342
415
|
</td>
|
|
343
416
|
</tr>
|
|
417
|
+
<tr>
|
|
418
|
+
<td class="col-md-4">
|
|
419
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/boolean" target="_blank" >boolean</a></code>
|
|
420
|
+
|
|
421
|
+
</td>
|
|
422
|
+
</tr>
|
|
344
423
|
<tr>
|
|
345
424
|
<td class="col-md-4">
|
|
346
425
|
<i>Default value : </i><code>false</code>
|
|
@@ -348,7 +427,7 @@
|
|
|
348
427
|
</tr>
|
|
349
428
|
<tr>
|
|
350
429
|
<td class="col-md-2" colspan="2">
|
|
351
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
430
|
+
<div class="io-line">Defined in <a href="" data-line="92" class="link-to-prism">src/lib/navigation/navigation.component.ts:92</a></div>
|
|
352
431
|
</td>
|
|
353
432
|
</tr>
|
|
354
433
|
</tbody>
|
|
@@ -357,6 +436,7 @@
|
|
|
357
436
|
|
|
358
437
|
|
|
359
438
|
|
|
439
|
+
|
|
360
440
|
<section data-compodoc="block-methods">
|
|
361
441
|
|
|
362
442
|
<h3 id="methods">
|
|
@@ -377,15 +457,15 @@
|
|
|
377
457
|
<tr>
|
|
378
458
|
<td class="col-md-4">
|
|
379
459
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
380
|
-
<code>asNavigationItem(item: <a href="../
|
|
460
|
+
<code>asNavigationItem(item: <a href="../miscellaneous/typealiases.html#Navigation" target="_self">NavigationItem | NavigationDividerItem</a>)</code>
|
|
381
461
|
</td>
|
|
382
462
|
</tr>
|
|
383
463
|
|
|
384
464
|
|
|
385
465
|
<tr>
|
|
386
466
|
<td class="col-md-4">
|
|
387
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
388
|
-
class="link-to-prism">src/lib/navigation/navigation.component.ts:
|
|
467
|
+
<div class="io-line">Defined in <a href="" data-line="122"
|
|
468
|
+
class="link-to-prism">src/lib/navigation/navigation.component.ts:122</a></div>
|
|
389
469
|
</td>
|
|
390
470
|
</tr>
|
|
391
471
|
|
|
@@ -446,15 +526,15 @@
|
|
|
446
526
|
<tr>
|
|
447
527
|
<td class="col-md-4">
|
|
448
528
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
449
|
-
<code>isNavigationDividerItem(item: <a href="../
|
|
529
|
+
<code>isNavigationDividerItem(item: <a href="../miscellaneous/typealiases.html#Navigation" target="_self">NavigationItem | NavigationDividerItem</a>)</code>
|
|
450
530
|
</td>
|
|
451
531
|
</tr>
|
|
452
532
|
|
|
453
533
|
|
|
454
534
|
<tr>
|
|
455
535
|
<td class="col-md-4">
|
|
456
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
457
|
-
class="link-to-prism">src/lib/navigation/navigation.component.ts:
|
|
536
|
+
<div class="io-line">Defined in <a href="" data-line="110"
|
|
537
|
+
class="link-to-prism">src/lib/navigation/navigation.component.ts:110</a></div>
|
|
458
538
|
</td>
|
|
459
539
|
</tr>
|
|
460
540
|
|
|
@@ -515,15 +595,15 @@
|
|
|
515
595
|
<tr>
|
|
516
596
|
<td class="col-md-4">
|
|
517
597
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
518
|
-
<code>isNavigationItem(item: <a href="../
|
|
598
|
+
<code>isNavigationItem(item: <a href="../miscellaneous/typealiases.html#Navigation" target="_self">NavigationItem | NavigationDividerItem</a>)</code>
|
|
519
599
|
</td>
|
|
520
600
|
</tr>
|
|
521
601
|
|
|
522
602
|
|
|
523
603
|
<tr>
|
|
524
604
|
<td class="col-md-4">
|
|
525
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
526
|
-
class="link-to-prism">src/lib/navigation/navigation.component.ts:
|
|
605
|
+
<div class="io-line">Defined in <a href="" data-line="116"
|
|
606
|
+
class="link-to-prism">src/lib/navigation/navigation.component.ts:116</a></div>
|
|
527
607
|
</td>
|
|
528
608
|
</tr>
|
|
529
609
|
|
|
@@ -570,6 +650,7 @@
|
|
|
570
650
|
</tbody>
|
|
571
651
|
</table>
|
|
572
652
|
</section>
|
|
653
|
+
|
|
573
654
|
<section data-compodoc="block-properties">
|
|
574
655
|
|
|
575
656
|
<h3 id="inputs">
|
|
@@ -588,6 +669,12 @@
|
|
|
588
669
|
</span>
|
|
589
670
|
</td>
|
|
590
671
|
</tr>
|
|
672
|
+
<tr>
|
|
673
|
+
<td class="col-md-4">
|
|
674
|
+
<i>Type : </i> <code>unknown</code>
|
|
675
|
+
|
|
676
|
+
</td>
|
|
677
|
+
</tr>
|
|
591
678
|
<tr>
|
|
592
679
|
<td class="col-md-4">
|
|
593
680
|
<i>Default value : </i><code>computed(() => this.layoutService.collapsed())</code>
|
|
@@ -595,28 +682,7 @@
|
|
|
595
682
|
</tr>
|
|
596
683
|
<tr>
|
|
597
684
|
<td class="col-md-4">
|
|
598
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
599
|
-
</td>
|
|
600
|
-
</tr>
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
</tbody>
|
|
604
|
-
</table>
|
|
605
|
-
<table class="table table-sm table-bordered">
|
|
606
|
-
<tbody>
|
|
607
|
-
<tr>
|
|
608
|
-
<td class="col-md-4">
|
|
609
|
-
<a name="items"></a>
|
|
610
|
-
<span class="name">
|
|
611
|
-
<span class="modifier">Public</span>
|
|
612
|
-
<span ><b>items</b></span>
|
|
613
|
-
<a href="#items"><span class="icon ion-ios-link"></span></a>
|
|
614
|
-
</span>
|
|
615
|
-
</td>
|
|
616
|
-
</tr>
|
|
617
|
-
<tr>
|
|
618
|
-
<td class="col-md-4">
|
|
619
|
-
<div class="io-line">Defined in <a href="" data-line="42" class="link-to-prism">src/lib/navigation/navigation.component.ts:42</a></div>
|
|
685
|
+
<div class="io-line">Defined in <a href="" data-line="90" class="link-to-prism">src/lib/navigation/navigation.component.ts:90</a></div>
|
|
620
686
|
</td>
|
|
621
687
|
</tr>
|
|
622
688
|
|
|
@@ -638,38 +704,18 @@
|
|
|
638
704
|
</tr>
|
|
639
705
|
<tr>
|
|
640
706
|
<td class="col-md-4">
|
|
641
|
-
<i>
|
|
707
|
+
<i>Type : </i> <code>unknown</code>
|
|
708
|
+
|
|
642
709
|
</td>
|
|
643
710
|
</tr>
|
|
644
|
-
<tr>
|
|
645
|
-
<td class="col-md-4">
|
|
646
|
-
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/navigation/navigation.component.ts:48</a></div>
|
|
647
|
-
</td>
|
|
648
|
-
</tr>
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
</tbody>
|
|
652
|
-
</table>
|
|
653
|
-
<table class="table table-sm table-bordered">
|
|
654
|
-
<tbody>
|
|
655
|
-
<tr>
|
|
656
|
-
<td class="col-md-4">
|
|
657
|
-
<a name="level"></a>
|
|
658
|
-
<span class="name">
|
|
659
|
-
<span class="modifier">Public</span>
|
|
660
|
-
<span ><b>level</b></span>
|
|
661
|
-
<a href="#level"><span class="icon ion-ios-link"></span></a>
|
|
662
|
-
</span>
|
|
663
|
-
</td>
|
|
664
|
-
</tr>
|
|
665
711
|
<tr>
|
|
666
712
|
<td class="col-md-4">
|
|
667
|
-
<i>Default value : </i><code>
|
|
713
|
+
<i>Default value : </i><code>inject(LayoutService)</code>
|
|
668
714
|
</td>
|
|
669
715
|
</tr>
|
|
670
716
|
<tr>
|
|
671
717
|
<td class="col-md-4">
|
|
672
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
718
|
+
<div class="io-line">Defined in <a href="" data-line="88" class="link-to-prism">src/lib/navigation/navigation.component.ts:88</a></div>
|
|
673
719
|
</td>
|
|
674
720
|
</tr>
|
|
675
721
|
|
|
@@ -689,6 +735,12 @@
|
|
|
689
735
|
</span>
|
|
690
736
|
</td>
|
|
691
737
|
</tr>
|
|
738
|
+
<tr>
|
|
739
|
+
<td class="col-md-4">
|
|
740
|
+
<i>Type : </i> <code>unknown</code>
|
|
741
|
+
|
|
742
|
+
</td>
|
|
743
|
+
</tr>
|
|
692
744
|
<tr>
|
|
693
745
|
<td class="col-md-4">
|
|
694
746
|
<i>Default value : </i><code>computed(() => this.root() ? this.rootItems() : (this.items() ?? []))</code>
|
|
@@ -696,7 +748,7 @@
|
|
|
696
748
|
</tr>
|
|
697
749
|
<tr>
|
|
698
750
|
<td class="col-md-4">
|
|
699
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
751
|
+
<div class="io-line">Defined in <a href="" data-line="104" class="link-to-prism">src/lib/navigation/navigation.component.ts:104</a></div>
|
|
700
752
|
</td>
|
|
701
753
|
</tr>
|
|
702
754
|
|
|
@@ -718,39 +770,18 @@
|
|
|
718
770
|
</tr>
|
|
719
771
|
<tr>
|
|
720
772
|
<td class="col-md-4">
|
|
721
|
-
<i>
|
|
773
|
+
<i>Type : </i> <code>unknown</code>
|
|
774
|
+
|
|
722
775
|
</td>
|
|
723
776
|
</tr>
|
|
724
|
-
<tr>
|
|
725
|
-
<td class="col-md-4">
|
|
726
|
-
<div class="io-line">Defined in <a href="" data-line="46" class="link-to-prism">src/lib/navigation/navigation.component.ts:46</a></div>
|
|
727
|
-
</td>
|
|
728
|
-
</tr>
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
</tbody>
|
|
732
|
-
</table>
|
|
733
|
-
<table class="table table-sm table-bordered">
|
|
734
|
-
<tbody>
|
|
735
|
-
<tr>
|
|
736
|
-
<td class="col-md-4">
|
|
737
|
-
<a name="root"></a>
|
|
738
|
-
<span class="name">
|
|
739
|
-
<span class="modifier">Public</span>
|
|
740
|
-
<span class="modifier">Readonly</span>
|
|
741
|
-
<span ><b>root</b></span>
|
|
742
|
-
<a href="#root"><span class="icon ion-ios-link"></span></a>
|
|
743
|
-
</span>
|
|
744
|
-
</td>
|
|
745
|
-
</tr>
|
|
746
777
|
<tr>
|
|
747
778
|
<td class="col-md-4">
|
|
748
|
-
<i>Default value : </i><code>
|
|
779
|
+
<i>Default value : </i><code>inject(NavigationService)</code>
|
|
749
780
|
</td>
|
|
750
781
|
</tr>
|
|
751
782
|
<tr>
|
|
752
783
|
<td class="col-md-4">
|
|
753
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
784
|
+
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/navigation/navigation.component.ts:86</a></div>
|
|
754
785
|
</td>
|
|
755
786
|
</tr>
|
|
756
787
|
|
|
@@ -784,7 +815,47 @@ import {
|
|
|
784
815
|
NavigationItem,
|
|
785
816
|
} from './navigation-item';
|
|
786
817
|
import { NavigationItemComponent } from './navigation-item/navigation-item.component';
|
|
787
|
-
|
|
818
|
+
import { Showcase } from '@ng-prism/core';
|
|
819
|
+
|
|
820
|
+
@Showcase<NavigationComponent>({
|
|
821
|
+
title: 'Navigation',
|
|
822
|
+
category: 'Layout',
|
|
823
|
+
description: 'List of navigation items and dividers. A root navigation reads the items from the `NavigationService`, a nested navigation renders the `items` input.',
|
|
824
|
+
status: 'stable',
|
|
825
|
+
variants: [
|
|
826
|
+
{
|
|
827
|
+
name: 'Flat',
|
|
828
|
+
inputs: {
|
|
829
|
+
items: [
|
|
830
|
+
{ label: 'Dashboard', routerLink: '/dashboard' },
|
|
831
|
+
{ label: 'Users', routerLink: '/users' },
|
|
832
|
+
{ label: 'Settings', routerLink: '/settings' },
|
|
833
|
+
],
|
|
834
|
+
},
|
|
835
|
+
},
|
|
836
|
+
{
|
|
837
|
+
name: 'With icons',
|
|
838
|
+
inputs: {
|
|
839
|
+
items: [
|
|
840
|
+
{ label: 'Dashboard', routerLink: '/dashboard', icon: 'dashboard' },
|
|
841
|
+
{ label: 'Users', routerLink: '/users', icon: 'group' },
|
|
842
|
+
{ label: 'Settings', routerLink: '/settings', icon: 'settings' },
|
|
843
|
+
],
|
|
844
|
+
},
|
|
845
|
+
},
|
|
846
|
+
{
|
|
847
|
+
name: 'With divider',
|
|
848
|
+
inputs: {
|
|
849
|
+
items: [
|
|
850
|
+
{ label: 'Dashboard', routerLink: '/dashboard', icon: 'dashboard' },
|
|
851
|
+
{ divider: true, title: 'Administration' },
|
|
852
|
+
{ label: 'Users', routerLink: '/users', icon: 'group' },
|
|
853
|
+
{ label: 'Settings', routerLink: '/settings', icon: 'settings' },
|
|
854
|
+
],
|
|
855
|
+
},
|
|
856
|
+
},
|
|
857
|
+
],
|
|
858
|
+
})
|
|
788
859
|
@Component({
|
|
789
860
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
790
861
|
selector: 'ul[rxap-navigation]',
|
|
@@ -907,7 +978,7 @@ export class NavigationComponent {
|
|
|
907
978
|
|
|
908
979
|
</div>
|
|
909
980
|
|
|
910
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
981
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
911
982
|
<script src="../js/libs/htmlparser.js"></script>
|
|
912
983
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
913
984
|
<script>
|
|
@@ -966,6 +1037,24 @@ export class NavigationComponent {
|
|
|
966
1037
|
|
|
967
1038
|
<script>
|
|
968
1039
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1040
|
+
var updateDarkModeSwitchOffset = function () {
|
|
1041
|
+
var content = document.querySelector('.content');
|
|
1042
|
+
var scrollbarWidth = 0;
|
|
1043
|
+
|
|
1044
|
+
if (content) {
|
|
1045
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
1046
|
+
}
|
|
1047
|
+
|
|
1048
|
+
document.documentElement.style.setProperty(
|
|
1049
|
+
'--content-scrollbar-width',
|
|
1050
|
+
scrollbarWidth + 'px'
|
|
1051
|
+
);
|
|
1052
|
+
};
|
|
1053
|
+
|
|
1054
|
+
updateDarkModeSwitchOffset();
|
|
1055
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
1056
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
1057
|
+
|
|
969
1058
|
checkToggle(darkModeState);
|
|
970
1059
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
971
1060
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -981,14 +1070,12 @@ export class NavigationComponent {
|
|
|
981
1070
|
<script src="../js/libs/lit-html.js"></script>
|
|
982
1071
|
|
|
983
1072
|
<script src="../js/menu-wc.js" defer></script>
|
|
984
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
985
1073
|
|
|
986
1074
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
987
1075
|
|
|
988
1076
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
989
1077
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
990
1078
|
<script src="../js/libs/promise.min.js"></script>
|
|
991
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
992
1079
|
|
|
993
1080
|
<script src="../js/compodoc.js"></script>
|
|
994
1081
|
|