@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
|
NavigationItemComponent</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-item/navigation-item.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-item/navigation-item.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -165,14 +192,22 @@
|
|
|
165
192
|
<tr>
|
|
166
193
|
<td class="col-md-3">imports</td>
|
|
167
194
|
<td class="col-md-9">
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
195
|
+
<div> <code><a href="https://angular.dev/api/router/RouterLinkActive" target="_blank" >RouterLinkActive</a></code>
|
|
196
|
+
</div>
|
|
197
|
+
<div> <code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
|
|
198
|
+
</div>
|
|
199
|
+
<div> <code>MatRippleModule</code>
|
|
200
|
+
</div>
|
|
201
|
+
<div> <code>MatIconModule</code>
|
|
202
|
+
</div>
|
|
203
|
+
<div> <code>IconDirective</code>
|
|
204
|
+
</div>
|
|
205
|
+
<div> <code>MatDividerModule</code>
|
|
206
|
+
</div>
|
|
207
|
+
<div> <code><a href="../components/NavigationComponent.html" target="_self" >forwardRef(() => NavigationComponent)</a></code>
|
|
208
|
+
</div>
|
|
209
|
+
<div> <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
|
|
210
|
+
</div>
|
|
176
211
|
</td>
|
|
177
212
|
</tr>
|
|
178
213
|
|
|
@@ -183,6 +218,7 @@
|
|
|
183
218
|
|
|
184
219
|
|
|
185
220
|
|
|
221
|
+
|
|
186
222
|
<tr>
|
|
187
223
|
<td class="col-md-3">templateUrl</td>
|
|
188
224
|
<td class="col-md-9"><code>./navigation-item.component.html</code></td>
|
|
@@ -199,54 +235,90 @@
|
|
|
199
235
|
</table>
|
|
200
236
|
</section>
|
|
201
237
|
|
|
202
|
-
|
|
238
|
+
<section data-compodoc="block-relationships">
|
|
239
|
+
<h3>Relationships</h3>
|
|
240
|
+
|
|
241
|
+
<div class="row pt-3">
|
|
242
|
+
<div class="col-sm-6">
|
|
243
|
+
<h4>Used by</h4>
|
|
244
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
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><a href="https://angular.dev/api/router/RouterLinkActive" target="_blank" >RouterLinkActive</a></code>
|
|
252
|
+
</li>
|
|
253
|
+
<li>
|
|
254
|
+
<code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
|
|
255
|
+
</li>
|
|
256
|
+
<li>
|
|
257
|
+
<code>MatRippleModule</code>
|
|
258
|
+
</li>
|
|
259
|
+
<li>
|
|
260
|
+
<code>MatIconModule</code>
|
|
261
|
+
</li>
|
|
262
|
+
<li>
|
|
263
|
+
<code>IconDirective</code>
|
|
264
|
+
</li>
|
|
265
|
+
<li>
|
|
266
|
+
<code>MatDividerModule</code>
|
|
267
|
+
</li>
|
|
268
|
+
<li>
|
|
269
|
+
<code><a href="../components/NavigationComponent.html" target="_self" >forwardRef(() => NavigationComponent)</a></code>
|
|
270
|
+
</li>
|
|
271
|
+
<li>
|
|
272
|
+
<code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
|
|
273
|
+
</li>
|
|
274
|
+
</ul>
|
|
275
|
+
</div>
|
|
276
|
+
</div>
|
|
277
|
+
</section>
|
|
278
|
+
</div>
|
|
279
|
+
|
|
280
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
203
281
|
<h3 id="index">Index</h3>
|
|
204
|
-
|
|
205
|
-
|
|
282
|
+
<table class="table table-sm table-bordered index-table">
|
|
283
|
+
<tbody>
|
|
206
284
|
<tr>
|
|
207
|
-
<td class="col-md-
|
|
285
|
+
<td class="col-md-3">
|
|
208
286
|
<h6><b>Properties</b></h6>
|
|
209
287
|
</td>
|
|
210
|
-
|
|
211
|
-
<tr>
|
|
212
|
-
<td class="col-md-4">
|
|
288
|
+
<td class="col-md-9">
|
|
213
289
|
<ul class="index-list">
|
|
214
290
|
<li>
|
|
291
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
215
292
|
<span class="modifier">Public</span>
|
|
216
293
|
<span class="modifier">Readonly</span>
|
|
217
294
|
<a href="#active" >active</a>
|
|
218
295
|
</li>
|
|
219
296
|
<li>
|
|
297
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
220
298
|
<span class="modifier">Public</span>
|
|
221
299
|
<span class="modifier">Readonly</span>
|
|
222
300
|
<a href="#children" >children</a>
|
|
223
301
|
</li>
|
|
224
302
|
<li>
|
|
303
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
225
304
|
<span class="modifier">Public</span>
|
|
226
305
|
<span class="modifier">Readonly</span>
|
|
227
306
|
<a href="#collapsed" >collapsed</a>
|
|
228
307
|
</li>
|
|
229
308
|
<li>
|
|
230
|
-
|
|
231
|
-
<span class="modifier">Readonly</span>
|
|
232
|
-
<a href="#item" >item</a>
|
|
233
|
-
</li>
|
|
234
|
-
<li>
|
|
309
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
235
310
|
<span class="modifier">Public</span>
|
|
236
311
|
<span class="modifier">Readonly</span>
|
|
237
312
|
<a href="#itemClasses" >itemClasses</a>
|
|
238
313
|
</li>
|
|
239
314
|
<li>
|
|
315
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
240
316
|
<span class="modifier">Protected</span>
|
|
241
317
|
<span class="modifier">Readonly</span>
|
|
242
318
|
<a href="#layoutService" >layoutService</a>
|
|
243
319
|
</li>
|
|
244
320
|
<li>
|
|
245
|
-
|
|
246
|
-
<span class="modifier">Readonly</span>
|
|
247
|
-
<a href="#level" >level</a>
|
|
248
|
-
</li>
|
|
249
|
-
<li>
|
|
321
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
250
322
|
<span class="modifier">Protected</span>
|
|
251
323
|
<span class="modifier">Readonly</span>
|
|
252
324
|
<a href="#router" >router</a>
|
|
@@ -254,57 +326,65 @@
|
|
|
254
326
|
</ul>
|
|
255
327
|
</td>
|
|
256
328
|
</tr>
|
|
329
|
+
</tbody>
|
|
330
|
+
</table>
|
|
257
331
|
|
|
332
|
+
<table class="table table-sm table-bordered index-table">
|
|
333
|
+
<tbody>
|
|
258
334
|
<tr>
|
|
259
|
-
<td class="col-md-
|
|
335
|
+
<td class="col-md-3">
|
|
260
336
|
<h6><b>Methods</b></h6>
|
|
261
337
|
</td>
|
|
262
|
-
|
|
263
|
-
<tr>
|
|
264
|
-
<td class="col-md-4">
|
|
338
|
+
<td class="col-md-9">
|
|
265
339
|
<ul class="index-list">
|
|
266
340
|
<li>
|
|
341
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
267
342
|
<span class="modifier">Public</span>
|
|
268
343
|
<a href="#asNavigationItem" >asNavigationItem</a>
|
|
269
344
|
</li>
|
|
270
345
|
<li>
|
|
346
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
271
347
|
<span class="modifier">Public</span>
|
|
272
348
|
<a href="#isNavigationDividerItem" >isNavigationDividerItem</a>
|
|
273
349
|
</li>
|
|
274
350
|
<li>
|
|
351
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
275
352
|
<span class="modifier">Public</span>
|
|
276
353
|
<a href="#isNavigationItem" >isNavigationItem</a>
|
|
277
354
|
</li>
|
|
278
355
|
<li>
|
|
356
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
279
357
|
<a href="#onClick" >onClick</a>
|
|
280
358
|
</li>
|
|
281
359
|
</ul>
|
|
282
360
|
</td>
|
|
283
361
|
</tr>
|
|
362
|
+
</tbody>
|
|
363
|
+
</table>
|
|
284
364
|
|
|
365
|
+
<table class="table table-sm table-bordered index-table">
|
|
366
|
+
<tbody>
|
|
285
367
|
<tr>
|
|
286
|
-
<td class="col-md-
|
|
368
|
+
<td class="col-md-3">
|
|
287
369
|
<h6><b>Inputs</b></h6>
|
|
288
370
|
</td>
|
|
289
|
-
|
|
290
|
-
<tr>
|
|
291
|
-
<td class="col-md-4">
|
|
371
|
+
<td class="col-md-9">
|
|
292
372
|
<ul class="index-list">
|
|
293
373
|
<li>
|
|
294
|
-
<a href="#item" >item</a>
|
|
374
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#item" >item</a>
|
|
295
375
|
</li>
|
|
296
376
|
<li>
|
|
297
|
-
<a href="#level" >level</a>
|
|
377
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#level" >level</a>
|
|
298
378
|
</li>
|
|
299
379
|
</ul>
|
|
300
380
|
</td>
|
|
301
381
|
</tr>
|
|
382
|
+
</tbody>
|
|
383
|
+
</table>
|
|
302
384
|
|
|
303
385
|
|
|
304
386
|
|
|
305
387
|
|
|
306
|
-
</tbody>
|
|
307
|
-
</table>
|
|
308
388
|
</section>
|
|
309
389
|
|
|
310
390
|
|
|
@@ -318,6 +398,12 @@
|
|
|
318
398
|
<b>item</b>
|
|
319
399
|
</td>
|
|
320
400
|
</tr>
|
|
401
|
+
<tr>
|
|
402
|
+
<td class="col-md-4">
|
|
403
|
+
<i>Type : </i> <code><a href="../interfaces/NavigationItem.html" target="_self" >NavigationItem</a></code>
|
|
404
|
+
|
|
405
|
+
</td>
|
|
406
|
+
</tr>
|
|
321
407
|
<tr>
|
|
322
408
|
<td class="col-md-4">
|
|
323
409
|
<i>Required : </i> <b>true</b>
|
|
@@ -325,7 +411,7 @@
|
|
|
325
411
|
</tr>
|
|
326
412
|
<tr>
|
|
327
413
|
<td class="col-md-2" colspan="2">
|
|
328
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
414
|
+
<div class="io-line">Defined in <a href="" data-line="127" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:127</a></div>
|
|
329
415
|
</td>
|
|
330
416
|
</tr>
|
|
331
417
|
</tbody>
|
|
@@ -338,6 +424,12 @@
|
|
|
338
424
|
<b>level</b>
|
|
339
425
|
</td>
|
|
340
426
|
</tr>
|
|
427
|
+
<tr>
|
|
428
|
+
<td class="col-md-4">
|
|
429
|
+
<i>Type : </i> <code><a href="https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/number" target="_blank" >number</a></code>
|
|
430
|
+
|
|
431
|
+
</td>
|
|
432
|
+
</tr>
|
|
341
433
|
<tr>
|
|
342
434
|
<td class="col-md-4">
|
|
343
435
|
<i>Default value : </i><code>0</code>
|
|
@@ -345,7 +437,7 @@
|
|
|
345
437
|
</tr>
|
|
346
438
|
<tr>
|
|
347
439
|
<td class="col-md-2" colspan="2">
|
|
348
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
440
|
+
<div class="io-line">Defined in <a href="" data-line="120" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:120</a></div>
|
|
349
441
|
</td>
|
|
350
442
|
</tr>
|
|
351
443
|
</tbody>
|
|
@@ -354,6 +446,7 @@
|
|
|
354
446
|
|
|
355
447
|
|
|
356
448
|
|
|
449
|
+
|
|
357
450
|
<section data-compodoc="block-methods">
|
|
358
451
|
|
|
359
452
|
<h3 id="methods">
|
|
@@ -374,15 +467,15 @@
|
|
|
374
467
|
<tr>
|
|
375
468
|
<td class="col-md-4">
|
|
376
469
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
377
|
-
<code>asNavigationItem(item: <a href="../
|
|
470
|
+
<code>asNavigationItem(item: <a href="../miscellaneous/typealiases.html#Navigation" target="_self">NavigationItem | NavigationDividerItem</a>)</code>
|
|
378
471
|
</td>
|
|
379
472
|
</tr>
|
|
380
473
|
|
|
381
474
|
|
|
382
475
|
<tr>
|
|
383
476
|
<td class="col-md-4">
|
|
384
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
385
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
477
|
+
<div class="io-line">Defined in <a href="" data-line="195"
|
|
478
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:195</a></div>
|
|
386
479
|
</td>
|
|
387
480
|
</tr>
|
|
388
481
|
|
|
@@ -443,15 +536,15 @@
|
|
|
443
536
|
<tr>
|
|
444
537
|
<td class="col-md-4">
|
|
445
538
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
446
|
-
<code>isNavigationDividerItem(item: <a href="../
|
|
539
|
+
<code>isNavigationDividerItem(item: <a href="../miscellaneous/typealiases.html#Navigation" target="_self">NavigationItem | NavigationDividerItem</a>)</code>
|
|
447
540
|
</td>
|
|
448
541
|
</tr>
|
|
449
542
|
|
|
450
543
|
|
|
451
544
|
<tr>
|
|
452
545
|
<td class="col-md-4">
|
|
453
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
454
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
546
|
+
<div class="io-line">Defined in <a href="" data-line="183"
|
|
547
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:183</a></div>
|
|
455
548
|
</td>
|
|
456
549
|
</tr>
|
|
457
550
|
|
|
@@ -512,15 +605,15 @@
|
|
|
512
605
|
<tr>
|
|
513
606
|
<td class="col-md-4">
|
|
514
607
|
<span class="modifier-icon icon ion-ios-reset"></span>
|
|
515
|
-
<code>isNavigationItem(item: <a href="../
|
|
608
|
+
<code>isNavigationItem(item: <a href="../miscellaneous/typealiases.html#Navigation" target="_self">NavigationItem | NavigationDividerItem</a>)</code>
|
|
516
609
|
</td>
|
|
517
610
|
</tr>
|
|
518
611
|
|
|
519
612
|
|
|
520
613
|
<tr>
|
|
521
614
|
<td class="col-md-4">
|
|
522
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
523
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
615
|
+
<div class="io-line">Defined in <a href="" data-line="189"
|
|
616
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:189</a></div>
|
|
524
617
|
</td>
|
|
525
618
|
</tr>
|
|
526
619
|
|
|
@@ -586,8 +679,8 @@
|
|
|
586
679
|
|
|
587
680
|
<tr>
|
|
588
681
|
<td class="col-md-4">
|
|
589
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
590
|
-
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:
|
|
682
|
+
<div class="io-line">Defined in <a href="" data-line="173"
|
|
683
|
+
class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:173</a></div>
|
|
591
684
|
</td>
|
|
592
685
|
</tr>
|
|
593
686
|
|
|
@@ -604,6 +697,7 @@
|
|
|
604
697
|
</tbody>
|
|
605
698
|
</table>
|
|
606
699
|
</section>
|
|
700
|
+
|
|
607
701
|
<section data-compodoc="block-properties">
|
|
608
702
|
|
|
609
703
|
<h3 id="inputs">
|
|
@@ -622,6 +716,12 @@
|
|
|
622
716
|
</span>
|
|
623
717
|
</td>
|
|
624
718
|
</tr>
|
|
719
|
+
<tr>
|
|
720
|
+
<td class="col-md-4">
|
|
721
|
+
<i>Type : </i> <code>unknown</code>
|
|
722
|
+
|
|
723
|
+
</td>
|
|
724
|
+
</tr>
|
|
625
725
|
<tr>
|
|
626
726
|
<td class="col-md-4">
|
|
627
727
|
<i>Default value : </i><code>computed(() => {
|
|
@@ -644,7 +744,7 @@
|
|
|
644
744
|
</tr>
|
|
645
745
|
<tr>
|
|
646
746
|
<td class="col-md-4">
|
|
647
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
747
|
+
<div class="io-line">Defined in <a href="" data-line="156" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:156</a></div>
|
|
648
748
|
</td>
|
|
649
749
|
</tr>
|
|
650
750
|
|
|
@@ -664,6 +764,12 @@
|
|
|
664
764
|
</span>
|
|
665
765
|
</td>
|
|
666
766
|
</tr>
|
|
767
|
+
<tr>
|
|
768
|
+
<td class="col-md-4">
|
|
769
|
+
<i>Type : </i> <code>unknown</code>
|
|
770
|
+
|
|
771
|
+
</td>
|
|
772
|
+
</tr>
|
|
667
773
|
<tr>
|
|
668
774
|
<td class="col-md-4">
|
|
669
775
|
<i>Default value : </i><code>computed<Navigation | null>(() => {
|
|
@@ -674,7 +780,7 @@
|
|
|
674
780
|
</tr>
|
|
675
781
|
<tr>
|
|
676
782
|
<td class="col-md-4">
|
|
677
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
783
|
+
<div class="io-line">Defined in <a href="" data-line="122" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:122</a></div>
|
|
678
784
|
</td>
|
|
679
785
|
</tr>
|
|
680
786
|
|
|
@@ -694,6 +800,12 @@
|
|
|
694
800
|
</span>
|
|
695
801
|
</td>
|
|
696
802
|
</tr>
|
|
803
|
+
<tr>
|
|
804
|
+
<td class="col-md-4">
|
|
805
|
+
<i>Type : </i> <code>unknown</code>
|
|
806
|
+
|
|
807
|
+
</td>
|
|
808
|
+
</tr>
|
|
697
809
|
<tr>
|
|
698
810
|
<td class="col-md-4">
|
|
699
811
|
<i>Default value : </i><code>computed(() => this.layoutService.collapsed())</code>
|
|
@@ -701,29 +813,7 @@
|
|
|
701
813
|
</tr>
|
|
702
814
|
<tr>
|
|
703
815
|
<td class="col-md-4">
|
|
704
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
705
|
-
</td>
|
|
706
|
-
</tr>
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
</tbody>
|
|
710
|
-
</table>
|
|
711
|
-
<table class="table table-sm table-bordered">
|
|
712
|
-
<tbody>
|
|
713
|
-
<tr>
|
|
714
|
-
<td class="col-md-4">
|
|
715
|
-
<a name="item"></a>
|
|
716
|
-
<span class="name">
|
|
717
|
-
<span class="modifier">Public</span>
|
|
718
|
-
<span class="modifier">Readonly</span>
|
|
719
|
-
<span ><b>item</b></span>
|
|
720
|
-
<a href="#item"><span class="icon ion-ios-link"></span></a>
|
|
721
|
-
</span>
|
|
722
|
-
</td>
|
|
723
|
-
</tr>
|
|
724
|
-
<tr>
|
|
725
|
-
<td class="col-md-4">
|
|
726
|
-
<div class="io-line">Defined in <a href="" data-line="91" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:91</a></div>
|
|
816
|
+
<div class="io-line">Defined in <a href="" data-line="139" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:139</a></div>
|
|
727
817
|
</td>
|
|
728
818
|
</tr>
|
|
729
819
|
|
|
@@ -743,6 +833,12 @@
|
|
|
743
833
|
</span>
|
|
744
834
|
</td>
|
|
745
835
|
</tr>
|
|
836
|
+
<tr>
|
|
837
|
+
<td class="col-md-4">
|
|
838
|
+
<i>Type : </i> <code>unknown</code>
|
|
839
|
+
|
|
840
|
+
</td>
|
|
841
|
+
</tr>
|
|
746
842
|
<tr>
|
|
747
843
|
<td class="col-md-4">
|
|
748
844
|
<i>Default value : </i><code>computed(() => {
|
|
@@ -756,7 +852,7 @@
|
|
|
756
852
|
</tr>
|
|
757
853
|
<tr>
|
|
758
854
|
<td class="col-md-4">
|
|
759
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
855
|
+
<div class="io-line">Defined in <a href="" data-line="129" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:129</a></div>
|
|
760
856
|
</td>
|
|
761
857
|
</tr>
|
|
762
858
|
|
|
@@ -778,39 +874,18 @@
|
|
|
778
874
|
</tr>
|
|
779
875
|
<tr>
|
|
780
876
|
<td class="col-md-4">
|
|
781
|
-
<i>
|
|
877
|
+
<i>Type : </i> <code>unknown</code>
|
|
878
|
+
|
|
782
879
|
</td>
|
|
783
880
|
</tr>
|
|
784
|
-
<tr>
|
|
785
|
-
<td class="col-md-4">
|
|
786
|
-
<div class="io-line">Defined in <a href="" data-line="101" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:101</a></div>
|
|
787
|
-
</td>
|
|
788
|
-
</tr>
|
|
789
|
-
|
|
790
|
-
|
|
791
|
-
</tbody>
|
|
792
|
-
</table>
|
|
793
|
-
<table class="table table-sm table-bordered">
|
|
794
|
-
<tbody>
|
|
795
|
-
<tr>
|
|
796
|
-
<td class="col-md-4">
|
|
797
|
-
<a name="level"></a>
|
|
798
|
-
<span class="name">
|
|
799
|
-
<span class="modifier">Public</span>
|
|
800
|
-
<span class="modifier">Readonly</span>
|
|
801
|
-
<span ><b>level</b></span>
|
|
802
|
-
<a href="#level"><span class="icon ion-ios-link"></span></a>
|
|
803
|
-
</span>
|
|
804
|
-
</td>
|
|
805
|
-
</tr>
|
|
806
881
|
<tr>
|
|
807
882
|
<td class="col-md-4">
|
|
808
|
-
<i>Default value : </i><code>
|
|
883
|
+
<i>Default value : </i><code>inject(LayoutService)</code>
|
|
809
884
|
</td>
|
|
810
885
|
</tr>
|
|
811
886
|
<tr>
|
|
812
887
|
<td class="col-md-4">
|
|
813
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
888
|
+
<div class="io-line">Defined in <a href="" data-line="137" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:137</a></div>
|
|
814
889
|
</td>
|
|
815
890
|
</tr>
|
|
816
891
|
|
|
@@ -830,6 +905,12 @@
|
|
|
830
905
|
</span>
|
|
831
906
|
</td>
|
|
832
907
|
</tr>
|
|
908
|
+
<tr>
|
|
909
|
+
<td class="col-md-4">
|
|
910
|
+
<i>Type : </i> <code>unknown</code>
|
|
911
|
+
|
|
912
|
+
</td>
|
|
913
|
+
</tr>
|
|
833
914
|
<tr>
|
|
834
915
|
<td class="col-md-4">
|
|
835
916
|
<i>Default value : </i><code>inject(Router)</code>
|
|
@@ -837,7 +918,7 @@
|
|
|
837
918
|
</tr>
|
|
838
919
|
<tr>
|
|
839
920
|
<td class="col-md-4">
|
|
840
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
921
|
+
<div class="io-line">Defined in <a href="" data-line="141" class="link-to-prism">src/lib/navigation/navigation-item/navigation-item.component.ts:141</a></div>
|
|
841
922
|
</td>
|
|
842
923
|
</tr>
|
|
843
924
|
|
|
@@ -892,7 +973,43 @@ import {
|
|
|
892
973
|
NavigationItem,
|
|
893
974
|
} from '../navigation-item';
|
|
894
975
|
import { NavigationComponent } from '../navigation.component';
|
|
895
|
-
|
|
976
|
+
import { Showcase } from '@ng-prism/core';
|
|
977
|
+
|
|
978
|
+
@Showcase<NavigationItemComponent>({
|
|
979
|
+
title: 'Navigation Item',
|
|
980
|
+
category: 'Layout',
|
|
981
|
+
description: 'A single entry of the navigation. The item that matches the current route is highlighted and expands its children.',
|
|
982
|
+
status: 'stable',
|
|
983
|
+
variants: [
|
|
984
|
+
{
|
|
985
|
+
name: 'Default',
|
|
986
|
+
inputs: { item: { label: 'Users', routerLink: '/users' } },
|
|
987
|
+
},
|
|
988
|
+
{
|
|
989
|
+
name: 'With icon',
|
|
990
|
+
inputs: { item: { label: 'Users', routerLink: '/users', icon: 'group' } },
|
|
991
|
+
},
|
|
992
|
+
{
|
|
993
|
+
name: 'Active',
|
|
994
|
+
description: 'The route of the item matches the current route of the styleguide.',
|
|
995
|
+
inputs: { item: { label: 'Home', routerLink: '/', icon: 'home' } },
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
name: 'Active with children',
|
|
999
|
+
inputs: {
|
|
1000
|
+
item: {
|
|
1001
|
+
label: 'Administration',
|
|
1002
|
+
routerLink: '/',
|
|
1003
|
+
icon: 'admin_panel_settings',
|
|
1004
|
+
children: [
|
|
1005
|
+
{ label: 'Users', routerLink: '/users' },
|
|
1006
|
+
{ label: 'Roles', routerLink: '/roles' },
|
|
1007
|
+
],
|
|
1008
|
+
},
|
|
1009
|
+
},
|
|
1010
|
+
},
|
|
1011
|
+
],
|
|
1012
|
+
})
|
|
896
1013
|
@Component({
|
|
897
1014
|
// eslint-disable-next-line @angular-eslint/component-selector
|
|
898
1015
|
selector: 'li[rxap-navigation-item]',
|
|
@@ -1087,7 +1204,7 @@ export class NavigationItemComponent {
|
|
|
1087
1204
|
|
|
1088
1205
|
</div>
|
|
1089
1206
|
|
|
1090
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
1207
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
1091
1208
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1092
1209
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1093
1210
|
<script>
|
|
@@ -1146,6 +1263,24 @@ export class NavigationItemComponent {
|
|
|
1146
1263
|
|
|
1147
1264
|
<script>
|
|
1148
1265
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1266
|
+
var updateDarkModeSwitchOffset = function () {
|
|
1267
|
+
var content = document.querySelector('.content');
|
|
1268
|
+
var scrollbarWidth = 0;
|
|
1269
|
+
|
|
1270
|
+
if (content) {
|
|
1271
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
1272
|
+
}
|
|
1273
|
+
|
|
1274
|
+
document.documentElement.style.setProperty(
|
|
1275
|
+
'--content-scrollbar-width',
|
|
1276
|
+
scrollbarWidth + 'px'
|
|
1277
|
+
);
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
updateDarkModeSwitchOffset();
|
|
1281
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
1282
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
1283
|
+
|
|
1149
1284
|
checkToggle(darkModeState);
|
|
1150
1285
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
1151
1286
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -1161,14 +1296,12 @@ export class NavigationItemComponent {
|
|
|
1161
1296
|
<script src="../js/libs/lit-html.js"></script>
|
|
1162
1297
|
|
|
1163
1298
|
<script src="../js/menu-wc.js" defer></script>
|
|
1164
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
1165
1299
|
|
|
1166
1300
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
1167
1301
|
|
|
1168
1302
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
1169
1303
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
1170
1304
|
<script src="../js/libs/promise.min.js"></script>
|
|
1171
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
1172
1305
|
|
|
1173
1306
|
<script src="../js/compodoc.js"></script>
|
|
1174
1307
|
|