@rxap/layout 22.0.0-dev.0 → 22.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/README.md +5 -3
- package/compodoc/{directives/FooterDirective-1.html → architecture.html} +68 -139
- package/compodoc/changelog.html +98 -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 +50 -8
- 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 +525 -0
- package/compodoc/miscellaneous/functions.html +171 -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 +1700 -1219
- 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 +96 -21
- 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 +6 -4
- 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/Home.md +5 -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 +38 -40
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/package.json +3 -0
- 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/compodoc/components/LanguageSelectorComponent.html +0 -478
- package/compodoc/components/ResetButtonComponent.html +0 -486
- package/compodoc/components/SignOutComponent.html +0 -440
- package/compodoc/components/ToggleWindowSidenavButtonComponent.html +0 -549
- package/compodoc/components/VersionComponent.html +0 -524
- package/compodoc/components/WindowContainerSidenavComponent.html +0 -687
- package/compodoc/injectables/AppUrlService.html +0 -829
- package/compodoc/injectables/AuthenticationServiceMock.html +0 -303
- package/compodoc/injectables/LayoutComponentService.html +0 -848
- package/compodoc/injectables/ReplaceRouterPathsService.html +0 -337
- package/compodoc/injectables/SidenavComponentService.html +0 -408
- package/compodoc/interfaces/ExternalApps.html +0 -634
- package/compodoc/interfaces/LogoConfig.html +0 -381
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/compodoc/pipes/ReplaceRouterPathsPipe.html +0 -363
- package/src/generators/init/generator.spec.ts +0 -228
- package/src/generators/init/generator.ts +0 -139
- package/src/generators/init/index.ts +0 -5
- package/src/generators/init/schema.d.ts +0 -2
- package/theme.css +0 -425
|
@@ -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
|
LayoutComponent</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/layout/layout.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/layout/layout.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,23 +184,40 @@
|
|
|
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
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
187
|
+
<div> <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatSidenavModule</code>
|
|
190
|
+
</div>
|
|
191
|
+
<div> <code><a href="https://angular.dev/api/common/AsyncPipe" target="_blank" >AsyncPipe</a></code>
|
|
192
|
+
</div>
|
|
193
|
+
<div> <code>MatIconModule</code>
|
|
194
|
+
</div>
|
|
195
|
+
<div> <code>MatButtonModule</code>
|
|
196
|
+
</div>
|
|
197
|
+
<div> <code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
|
|
198
|
+
</div>
|
|
199
|
+
<div> <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
|
|
200
|
+
</div>
|
|
201
|
+
<div> <code>MatMenuModule</code>
|
|
202
|
+
</div>
|
|
203
|
+
<div> <code><a href="https://angular.dev/api/common/NgOptimizedImage" target="_blank" >NgOptimizedImage</a></code>
|
|
204
|
+
</div>
|
|
205
|
+
<div> <code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
|
|
206
|
+
</div>
|
|
207
|
+
<div> <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
|
|
208
|
+
</div>
|
|
209
|
+
<div> <code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
|
|
210
|
+
</div>
|
|
211
|
+
<div> <code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
|
|
212
|
+
</div>
|
|
213
|
+
<div> <code><a href="../components/SidenavComponent.html" target="_self" >SidenavComponent</a></code>
|
|
214
|
+
</div>
|
|
215
|
+
<div> <code><a href="../components/ReleaseInfoComponent.html" target="_self" >ReleaseInfoComponent</a></code>
|
|
216
|
+
</div>
|
|
217
|
+
<div> <code><a href="../directives/SidenavFooterDirective.html" target="_self" >SidenavFooterDirective</a></code>
|
|
218
|
+
</div>
|
|
219
|
+
<div> <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
|
|
220
|
+
</div>
|
|
177
221
|
</td>
|
|
178
222
|
</tr>
|
|
179
223
|
|
|
@@ -184,6 +228,7 @@
|
|
|
184
228
|
|
|
185
229
|
|
|
186
230
|
|
|
231
|
+
|
|
187
232
|
<tr>
|
|
188
233
|
<td class="col-md-3">templateUrl</td>
|
|
189
234
|
<td class="col-md-9"><code>./layout.component.html</code></td>
|
|
@@ -200,34 +245,105 @@
|
|
|
200
245
|
</table>
|
|
201
246
|
</section>
|
|
202
247
|
|
|
203
|
-
|
|
248
|
+
<section data-compodoc="block-relationships">
|
|
249
|
+
<h3>Relationships</h3>
|
|
250
|
+
|
|
251
|
+
<div class="row pt-3">
|
|
252
|
+
<div class="col-sm-6">
|
|
253
|
+
<h4>Used by</h4>
|
|
254
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
255
|
+
</div>
|
|
256
|
+
|
|
257
|
+
<div class="col-sm-6">
|
|
258
|
+
<h4>Depends on</h4>
|
|
259
|
+
<ul class="list-unstyled relationships-list">
|
|
260
|
+
<li>
|
|
261
|
+
<code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
|
|
262
|
+
</li>
|
|
263
|
+
<li>
|
|
264
|
+
<code>MatSidenavModule</code>
|
|
265
|
+
</li>
|
|
266
|
+
<li>
|
|
267
|
+
<code><a href="https://angular.dev/api/common/AsyncPipe" target="_blank" >AsyncPipe</a></code>
|
|
268
|
+
</li>
|
|
269
|
+
<li>
|
|
270
|
+
<code>MatIconModule</code>
|
|
271
|
+
</li>
|
|
272
|
+
<li>
|
|
273
|
+
<code>MatButtonModule</code>
|
|
274
|
+
</li>
|
|
275
|
+
<li>
|
|
276
|
+
<code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
|
|
277
|
+
</li>
|
|
278
|
+
<li>
|
|
279
|
+
<code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
|
|
280
|
+
</li>
|
|
281
|
+
<li>
|
|
282
|
+
<code>MatMenuModule</code>
|
|
283
|
+
</li>
|
|
284
|
+
<li>
|
|
285
|
+
<code><a href="https://angular.dev/api/common/NgOptimizedImage" target="_blank" >NgOptimizedImage</a></code>
|
|
286
|
+
</li>
|
|
287
|
+
<li>
|
|
288
|
+
<code><a href="../components/NavigationComponent.html" target="_self" >NavigationComponent</a></code>
|
|
289
|
+
</li>
|
|
290
|
+
<li>
|
|
291
|
+
<code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
|
|
292
|
+
</li>
|
|
293
|
+
<li>
|
|
294
|
+
<code><a href="https://angular.dev/api/common/NgStyle" target="_blank" >NgStyle</a></code>
|
|
295
|
+
</li>
|
|
296
|
+
<li>
|
|
297
|
+
<code><a href="https://angular.dev/api/common/NgClass" target="_blank" >NgClass</a></code>
|
|
298
|
+
</li>
|
|
299
|
+
<li>
|
|
300
|
+
<code><a href="../components/SidenavComponent.html" target="_self" >SidenavComponent</a></code>
|
|
301
|
+
</li>
|
|
302
|
+
<li>
|
|
303
|
+
<code><a href="../components/ReleaseInfoComponent.html" target="_self" >ReleaseInfoComponent</a></code>
|
|
304
|
+
</li>
|
|
305
|
+
<li>
|
|
306
|
+
<code><a href="../directives/SidenavFooterDirective.html" target="_self" >SidenavFooterDirective</a></code>
|
|
307
|
+
</li>
|
|
308
|
+
<li>
|
|
309
|
+
<code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
|
|
310
|
+
</li>
|
|
311
|
+
</ul>
|
|
312
|
+
</div>
|
|
313
|
+
</div>
|
|
314
|
+
</section>
|
|
315
|
+
</div>
|
|
316
|
+
|
|
317
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
204
318
|
<h3 id="index">Index</h3>
|
|
205
|
-
|
|
206
|
-
|
|
319
|
+
<table class="table table-sm table-bordered index-table">
|
|
320
|
+
<tbody>
|
|
207
321
|
<tr>
|
|
208
|
-
<td class="col-md-
|
|
322
|
+
<td class="col-md-3">
|
|
209
323
|
<h6><b>Properties</b></h6>
|
|
210
324
|
</td>
|
|
211
|
-
|
|
212
|
-
<tr>
|
|
213
|
-
<td class="col-md-4">
|
|
325
|
+
<td class="col-md-9">
|
|
214
326
|
<ul class="index-list">
|
|
215
327
|
<li>
|
|
328
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
216
329
|
<span class="modifier">Public</span>
|
|
217
330
|
<span class="modifier">Readonly</span>
|
|
218
331
|
<a href="#logoHeight" >logoHeight</a>
|
|
219
332
|
</li>
|
|
220
333
|
<li>
|
|
334
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
221
335
|
<span class="modifier">Protected</span>
|
|
222
336
|
<span class="modifier">Readonly</span>
|
|
223
337
|
<a href="#logoService" >logoService</a>
|
|
224
338
|
</li>
|
|
225
339
|
<li>
|
|
340
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
226
341
|
<span class="modifier">Public</span>
|
|
227
342
|
<span class="modifier">Readonly</span>
|
|
228
343
|
<a href="#logoSrc" >logoSrc</a>
|
|
229
344
|
</li>
|
|
230
345
|
<li>
|
|
346
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
231
347
|
<span class="modifier">Public</span>
|
|
232
348
|
<span class="modifier">Readonly</span>
|
|
233
349
|
<a href="#logoWidth" >logoWidth</a>
|
|
@@ -235,14 +351,14 @@
|
|
|
235
351
|
</ul>
|
|
236
352
|
</td>
|
|
237
353
|
</tr>
|
|
354
|
+
</tbody>
|
|
355
|
+
</table>
|
|
238
356
|
|
|
239
357
|
|
|
240
358
|
|
|
241
359
|
|
|
242
360
|
|
|
243
361
|
|
|
244
|
-
</tbody>
|
|
245
|
-
</table>
|
|
246
362
|
</section>
|
|
247
363
|
|
|
248
364
|
|
|
@@ -282,7 +398,7 @@
|
|
|
282
398
|
</tr>
|
|
283
399
|
<tr>
|
|
284
400
|
<td class="col-md-4">
|
|
285
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
401
|
+
<div class="io-line">Defined in <a href="" data-line="69" class="link-to-prism">src/lib/layout/layout.component.ts:69</a></div>
|
|
286
402
|
</td>
|
|
287
403
|
</tr>
|
|
288
404
|
|
|
@@ -302,6 +418,12 @@
|
|
|
302
418
|
</span>
|
|
303
419
|
</td>
|
|
304
420
|
</tr>
|
|
421
|
+
<tr>
|
|
422
|
+
<td class="col-md-4">
|
|
423
|
+
<i>Type : </i> <code>unknown</code>
|
|
424
|
+
|
|
425
|
+
</td>
|
|
426
|
+
</tr>
|
|
305
427
|
<tr>
|
|
306
428
|
<td class="col-md-4">
|
|
307
429
|
<i>Default value : </i><code>inject(LogoService)</code>
|
|
@@ -309,7 +431,7 @@
|
|
|
309
431
|
</tr>
|
|
310
432
|
<tr>
|
|
311
433
|
<td class="col-md-4">
|
|
312
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
434
|
+
<div class="io-line">Defined in <a href="" data-line="66" class="link-to-prism">src/lib/layout/layout.component.ts:66</a></div>
|
|
313
435
|
</td>
|
|
314
436
|
</tr>
|
|
315
437
|
|
|
@@ -342,7 +464,7 @@
|
|
|
342
464
|
</tr>
|
|
343
465
|
<tr>
|
|
344
466
|
<td class="col-md-4">
|
|
345
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
467
|
+
<div class="io-line">Defined in <a href="" data-line="67" class="link-to-prism">src/lib/layout/layout.component.ts:67</a></div>
|
|
346
468
|
</td>
|
|
347
469
|
</tr>
|
|
348
470
|
|
|
@@ -375,7 +497,7 @@
|
|
|
375
497
|
</tr>
|
|
376
498
|
<tr>
|
|
377
499
|
<td class="col-md-4">
|
|
378
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
500
|
+
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/lib/layout/layout.component.ts:68</a></div>
|
|
379
501
|
</td>
|
|
380
502
|
</tr>
|
|
381
503
|
|
|
@@ -412,8 +534,20 @@ import { NavigationComponent } from '../navigation/navigation.component
|
|
|
412
534
|
import { ReleaseInfoComponent } from '../release-info/release-info.component';
|
|
413
535
|
import { SidenavFooterDirective } from '../sidenav/sidenav-footer.directive';
|
|
414
536
|
import { SidenavComponent } from '../sidenav/sidenav.component';
|
|
415
|
-
|
|
416
|
-
|
|
537
|
+
import { Showcase } from '@ng-prism/core';
|
|
538
|
+
|
|
539
|
+
|
|
540
|
+
@Showcase({
|
|
541
|
+
title: 'Layout',
|
|
542
|
+
category: 'Layout',
|
|
543
|
+
description: 'Application shell with header, navigation sidenav, router outlet and footer. The sidenav footer shows the logo and the release info. The navigation, the logo and the release modules come from the layout tokens, which the styleguide host provides with demo data.',
|
|
544
|
+
status: 'stable',
|
|
545
|
+
canvasLayout: 'stretch',
|
|
546
|
+
host: { template: '<div style="height: 480px"><rxap-layout /></div>' },
|
|
547
|
+
variants: [
|
|
548
|
+
{ name: 'Default' },
|
|
549
|
+
],
|
|
550
|
+
})
|
|
417
551
|
@Component({
|
|
418
552
|
selector: 'rxap-layout',
|
|
419
553
|
templateUrl: './layout.component.html',
|
|
@@ -501,7 +635,7 @@ export class LayoutComponent {
|
|
|
501
635
|
|
|
502
636
|
</div>
|
|
503
637
|
|
|
504
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
638
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
505
639
|
<script src="../js/libs/htmlparser.js"></script>
|
|
506
640
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
507
641
|
<script>
|
|
@@ -560,6 +694,24 @@ export class LayoutComponent {
|
|
|
560
694
|
|
|
561
695
|
<script>
|
|
562
696
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
697
|
+
var updateDarkModeSwitchOffset = function () {
|
|
698
|
+
var content = document.querySelector('.content');
|
|
699
|
+
var scrollbarWidth = 0;
|
|
700
|
+
|
|
701
|
+
if (content) {
|
|
702
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
703
|
+
}
|
|
704
|
+
|
|
705
|
+
document.documentElement.style.setProperty(
|
|
706
|
+
'--content-scrollbar-width',
|
|
707
|
+
scrollbarWidth + 'px'
|
|
708
|
+
);
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
updateDarkModeSwitchOffset();
|
|
712
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
713
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
714
|
+
|
|
563
715
|
checkToggle(darkModeState);
|
|
564
716
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
565
717
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -575,14 +727,12 @@ export class LayoutComponent {
|
|
|
575
727
|
<script src="../js/libs/lit-html.js"></script>
|
|
576
728
|
|
|
577
729
|
<script src="../js/menu-wc.js" defer></script>
|
|
578
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
579
730
|
|
|
580
731
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
581
732
|
|
|
582
733
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
583
734
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
584
735
|
<script src="../js/libs/promise.min.js"></script>
|
|
585
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
586
736
|
|
|
587
737
|
<script src="../js/compodoc.js"></script>
|
|
588
738
|
|
|
@@ -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,6 +117,11 @@
|
|
|
92
117
|
MinimalLayoutComponent</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/minimal-layout/minimal-layout.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"
|
|
@@ -105,6 +135,10 @@
|
|
|
105
135
|
<a href="#templateData" class="nav-link"
|
|
106
136
|
role="tab" id="templateData-tab" data-bs-toggle="tab" data-link="template">Template</a>
|
|
107
137
|
</li>
|
|
138
|
+
<li class="nav-item">
|
|
139
|
+
<a href="#styleData" class="nav-link"
|
|
140
|
+
role="tab" id="styleData-tab" data-bs-toggle="tab" data-link="style">Styles</a>
|
|
141
|
+
</li>
|
|
108
142
|
<li class="nav-item">
|
|
109
143
|
<a href="#tree" class="nav-link"
|
|
110
144
|
role="tab" id="tree-tab" data-bs-toggle="tab" data-link="dom-tree">DOM Tree</a>
|
|
@@ -112,14 +146,7 @@
|
|
|
112
146
|
</ul>
|
|
113
147
|
|
|
114
148
|
<div class="tab-content">
|
|
115
|
-
<div class="tab-pane fade active in" id="info"
|
|
116
|
-
<h3>File</h3>
|
|
117
|
-
</p>
|
|
118
|
-
<p class="comment">
|
|
119
|
-
<code>src/lib/minimal-layout/minimal-layout.component.ts</code>
|
|
120
|
-
</p>
|
|
121
|
-
|
|
122
|
-
|
|
149
|
+
<div class="tab-pane fade active in" id="info">
|
|
123
150
|
|
|
124
151
|
|
|
125
152
|
|
|
@@ -153,14 +180,24 @@
|
|
|
153
180
|
<tr>
|
|
154
181
|
<td class="col-md-3">imports</td>
|
|
155
182
|
<td class="col-md-9">
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
183
|
+
<div> <code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
|
|
184
|
+
</div>
|
|
185
|
+
<div> <code><a href="../components/BaseLayoutComponent.html" target="_self" >BaseLayoutComponent</a></code>
|
|
186
|
+
</div>
|
|
187
|
+
<div> <code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
|
|
190
|
+
</div>
|
|
191
|
+
<div> <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
|
|
192
|
+
</div>
|
|
161
193
|
</td>
|
|
162
194
|
</tr>
|
|
163
195
|
|
|
196
|
+
<tr>
|
|
197
|
+
<td class="col-md-3">styleUrls</td>
|
|
198
|
+
<td class="col-md-9"><code>./minimal-layout.component.scss</code></td>
|
|
199
|
+
</tr>
|
|
200
|
+
|
|
164
201
|
|
|
165
202
|
|
|
166
203
|
|
|
@@ -184,17 +221,41 @@
|
|
|
184
221
|
</table>
|
|
185
222
|
</section>
|
|
186
223
|
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
224
|
+
<section data-compodoc="block-relationships">
|
|
225
|
+
<h3>Relationships</h3>
|
|
226
|
+
|
|
227
|
+
<div class="row pt-3">
|
|
228
|
+
<div class="col-sm-6">
|
|
229
|
+
<h4>Used by</h4>
|
|
230
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
<div class="col-sm-6">
|
|
234
|
+
<h4>Depends on</h4>
|
|
235
|
+
<ul class="list-unstyled relationships-list">
|
|
236
|
+
<li>
|
|
237
|
+
<code><a href="https://angular.dev/api/router/RouterOutlet" target="_blank" >RouterOutlet</a></code>
|
|
238
|
+
</li>
|
|
239
|
+
<li>
|
|
240
|
+
<code><a href="../components/BaseLayoutComponent.html" target="_self" >BaseLayoutComponent</a></code>
|
|
241
|
+
</li>
|
|
242
|
+
<li>
|
|
243
|
+
<code><a href="../components/NavigationProgressBarComponent.html" target="_self" >NavigationProgressBarComponent</a></code>
|
|
244
|
+
</li>
|
|
245
|
+
<li>
|
|
246
|
+
<code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
|
|
247
|
+
</li>
|
|
248
|
+
<li>
|
|
249
|
+
<code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
|
|
250
|
+
</li>
|
|
251
|
+
</ul>
|
|
252
|
+
</div>
|
|
253
|
+
</div>
|
|
254
|
+
</section>
|
|
195
255
|
</div>
|
|
196
256
|
|
|
197
257
|
|
|
258
|
+
|
|
198
259
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
199
260
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
200
261
|
ChangeDetectionStrategy,
|
|
@@ -205,7 +266,18 @@ import { BaseLayoutComponent } from '../base-layout/base-layout.component&#
|
|
|
205
266
|
import { FooterComponent } from '../footer/footer.component';
|
|
206
267
|
import { HeaderComponent } from '../header/header.component';
|
|
207
268
|
import { NavigationProgressBarComponent } from '../navigation-progress-bar/navigation-progress-bar.component';
|
|
208
|
-
|
|
269
|
+
import { Showcase } from '@ng-prism/core';
|
|
270
|
+
|
|
271
|
+
@Showcase({
|
|
272
|
+
title: 'Minimal Layout',
|
|
273
|
+
category: 'Layout',
|
|
274
|
+
description: 'Route shell without navigation: header, navigation progress bar, router outlet and footer. In the styleguide no navigation has completed yet, so the progress bar is shown.',
|
|
275
|
+
status: 'stable',
|
|
276
|
+
canvasLayout: 'stretch',
|
|
277
|
+
variants: [
|
|
278
|
+
{ name: 'Default' },
|
|
279
|
+
],
|
|
280
|
+
})
|
|
209
281
|
@Component({
|
|
210
282
|
selector: 'rxap-minimal-layout',
|
|
211
283
|
imports: [RouterOutlet, BaseLayoutComponent, NavigationProgressBarComponent, HeaderComponent, FooterComponent],
|
|
@@ -225,6 +297,12 @@ export class MinimalLayoutComponent {}
|
|
|
225
297
|
</code></pre>
|
|
226
298
|
</div>
|
|
227
299
|
|
|
300
|
+
<div class="tab-pane fade " id="styleData">
|
|
301
|
+
<p class="comment">
|
|
302
|
+
<code>./minimal-layout.component.scss</code>
|
|
303
|
+
</p>
|
|
304
|
+
<pre class="line-numbers"><code class="language-scss"></code></pre>
|
|
305
|
+
</div>
|
|
228
306
|
|
|
229
307
|
<div class="tab-pane fade " id="tree">
|
|
230
308
|
<div id="tree-container"></div>
|
|
@@ -247,7 +325,7 @@ export class MinimalLayoutComponent {}
|
|
|
247
325
|
|
|
248
326
|
</div>
|
|
249
327
|
|
|
250
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
328
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
251
329
|
<script src="../js/libs/htmlparser.js"></script>
|
|
252
330
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
253
331
|
<script>
|
|
@@ -306,6 +384,24 @@ export class MinimalLayoutComponent {}
|
|
|
306
384
|
|
|
307
385
|
<script>
|
|
308
386
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
387
|
+
var updateDarkModeSwitchOffset = function () {
|
|
388
|
+
var content = document.querySelector('.content');
|
|
389
|
+
var scrollbarWidth = 0;
|
|
390
|
+
|
|
391
|
+
if (content) {
|
|
392
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
393
|
+
}
|
|
394
|
+
|
|
395
|
+
document.documentElement.style.setProperty(
|
|
396
|
+
'--content-scrollbar-width',
|
|
397
|
+
scrollbarWidth + 'px'
|
|
398
|
+
);
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
updateDarkModeSwitchOffset();
|
|
402
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
403
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
404
|
+
|
|
309
405
|
checkToggle(darkModeState);
|
|
310
406
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
311
407
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -321,14 +417,12 @@ export class MinimalLayoutComponent {}
|
|
|
321
417
|
<script src="../js/libs/lit-html.js"></script>
|
|
322
418
|
|
|
323
419
|
<script src="../js/menu-wc.js" defer></script>
|
|
324
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
325
420
|
|
|
326
421
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
327
422
|
|
|
328
423
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
329
424
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
330
425
|
<script src="../js/libs/promise.min.js"></script>
|
|
331
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
332
426
|
|
|
333
427
|
<script src="../js/compodoc.js"></script>
|
|
334
428
|
|