@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
|
UserProfileIconComponent</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/default-header/user-profile-icon/user-profile-icon.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/default-header/user-profile-icon/user-profile-icon.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,8 +184,10 @@
|
|
|
157
184
|
<tr>
|
|
158
185
|
<td class="col-md-3">imports</td>
|
|
159
186
|
<td class="col-md-9">
|
|
160
|
-
|
|
161
|
-
|
|
187
|
+
<div> <code>MatMenuModule</code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatIconModule</code>
|
|
190
|
+
</div>
|
|
162
191
|
</td>
|
|
163
192
|
</tr>
|
|
164
193
|
|
|
@@ -169,6 +198,7 @@
|
|
|
169
198
|
|
|
170
199
|
|
|
171
200
|
|
|
201
|
+
|
|
172
202
|
<tr>
|
|
173
203
|
<td class="col-md-3">templateUrl</td>
|
|
174
204
|
<td class="col-md-9"><code>./user-profile-icon.component.html</code></td>
|
|
@@ -185,34 +215,58 @@
|
|
|
185
215
|
</table>
|
|
186
216
|
</section>
|
|
187
217
|
|
|
188
|
-
|
|
218
|
+
<section data-compodoc="block-relationships">
|
|
219
|
+
<h3>Relationships</h3>
|
|
220
|
+
|
|
221
|
+
<div class="row pt-3">
|
|
222
|
+
<div class="col-sm-6">
|
|
223
|
+
<h4>Used by</h4>
|
|
224
|
+
<ul class="list-unstyled relationships-list">
|
|
225
|
+
<li>
|
|
226
|
+
<code><a href="../components/DefaultHeaderComponent.html" target="_self" >DefaultHeaderComponent</a></code>
|
|
227
|
+
</li>
|
|
228
|
+
</ul>
|
|
229
|
+
</div>
|
|
230
|
+
|
|
231
|
+
<div class="col-sm-6">
|
|
232
|
+
<h4>Depends on</h4>
|
|
233
|
+
<ul class="list-unstyled relationships-list">
|
|
234
|
+
<li>
|
|
235
|
+
<code>MatMenuModule</code>
|
|
236
|
+
</li>
|
|
237
|
+
<li>
|
|
238
|
+
<code>MatIconModule</code>
|
|
239
|
+
</li>
|
|
240
|
+
</ul>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</section>
|
|
244
|
+
</div>
|
|
245
|
+
|
|
246
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
189
247
|
<h3 id="index">Index</h3>
|
|
190
|
-
|
|
191
|
-
|
|
248
|
+
<table class="table table-sm table-bordered index-table">
|
|
249
|
+
<tbody>
|
|
192
250
|
<tr>
|
|
193
|
-
<td class="col-md-
|
|
251
|
+
<td class="col-md-3">
|
|
194
252
|
<h6><b>Properties</b></h6>
|
|
195
253
|
</td>
|
|
196
|
-
|
|
197
|
-
<tr>
|
|
198
|
-
<td class="col-md-4">
|
|
254
|
+
<td class="col-md-9">
|
|
199
255
|
<ul class="index-list">
|
|
200
256
|
<li>
|
|
257
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
201
258
|
<span class="modifier">Protected</span>
|
|
202
259
|
<span class="modifier">Readonly</span>
|
|
203
260
|
<a href="#extractUsernameFromProfile" >extractUsernameFromProfile</a>
|
|
204
261
|
</li>
|
|
205
262
|
<li>
|
|
206
|
-
|
|
207
|
-
<span class="modifier">Readonly</span>
|
|
208
|
-
<a href="#profile" >profile</a>
|
|
209
|
-
</li>
|
|
210
|
-
<li>
|
|
263
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
211
264
|
<span class="modifier">Protected</span>
|
|
212
265
|
<span class="modifier">Readonly</span>
|
|
213
266
|
<a href="#pubSubService" >pubSubService</a>
|
|
214
267
|
</li>
|
|
215
268
|
<li>
|
|
269
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
216
270
|
<span class="modifier">Public</span>
|
|
217
271
|
<span class="modifier">Readonly</span>
|
|
218
272
|
<a href="#username" >username</a>
|
|
@@ -220,43 +274,48 @@
|
|
|
220
274
|
</ul>
|
|
221
275
|
</td>
|
|
222
276
|
</tr>
|
|
277
|
+
</tbody>
|
|
278
|
+
</table>
|
|
223
279
|
|
|
280
|
+
<table class="table table-sm table-bordered index-table">
|
|
281
|
+
<tbody>
|
|
224
282
|
<tr>
|
|
225
|
-
<td class="col-md-
|
|
283
|
+
<td class="col-md-3">
|
|
226
284
|
<h6><b>Methods</b></h6>
|
|
227
285
|
</td>
|
|
228
|
-
|
|
229
|
-
<tr>
|
|
230
|
-
<td class="col-md-4">
|
|
286
|
+
<td class="col-md-9">
|
|
231
287
|
<ul class="index-list">
|
|
232
288
|
<li>
|
|
289
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
233
290
|
<span class="modifier">Public</span>
|
|
234
291
|
<a href="#logout" >logout</a>
|
|
235
292
|
</li>
|
|
236
293
|
</ul>
|
|
237
294
|
</td>
|
|
238
295
|
</tr>
|
|
296
|
+
</tbody>
|
|
297
|
+
</table>
|
|
239
298
|
|
|
299
|
+
<table class="table table-sm table-bordered index-table">
|
|
300
|
+
<tbody>
|
|
240
301
|
<tr>
|
|
241
|
-
<td class="col-md-
|
|
302
|
+
<td class="col-md-3">
|
|
242
303
|
<h6><b>Inputs</b></h6>
|
|
243
304
|
</td>
|
|
244
|
-
|
|
245
|
-
<tr>
|
|
246
|
-
<td class="col-md-4">
|
|
305
|
+
<td class="col-md-9">
|
|
247
306
|
<ul class="index-list">
|
|
248
307
|
<li>
|
|
249
|
-
<a href="#profile" >profile</a>
|
|
308
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">I</span><a href="#profile" >profile</a>
|
|
250
309
|
</li>
|
|
251
310
|
</ul>
|
|
252
311
|
</td>
|
|
253
312
|
</tr>
|
|
313
|
+
</tbody>
|
|
314
|
+
</table>
|
|
254
315
|
|
|
255
316
|
|
|
256
317
|
|
|
257
318
|
|
|
258
|
-
</tbody>
|
|
259
|
-
</table>
|
|
260
319
|
</section>
|
|
261
320
|
|
|
262
321
|
|
|
@@ -277,7 +336,7 @@
|
|
|
277
336
|
</tr>
|
|
278
337
|
<tr>
|
|
279
338
|
<td class="col-md-2" colspan="2">
|
|
280
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
339
|
+
<div class="io-line">Defined in <a href="" data-line="54" class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:54</a></div>
|
|
281
340
|
</td>
|
|
282
341
|
</tr>
|
|
283
342
|
</tbody>
|
|
@@ -286,6 +345,7 @@
|
|
|
286
345
|
|
|
287
346
|
|
|
288
347
|
|
|
348
|
+
|
|
289
349
|
<section data-compodoc="block-methods">
|
|
290
350
|
|
|
291
351
|
<h3 id="methods">
|
|
@@ -313,8 +373,8 @@
|
|
|
313
373
|
|
|
314
374
|
<tr>
|
|
315
375
|
<td class="col-md-4">
|
|
316
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
317
|
-
class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:
|
|
376
|
+
<div class="io-line">Defined in <a href="" data-line="64"
|
|
377
|
+
class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:64</a></div>
|
|
318
378
|
</td>
|
|
319
379
|
</tr>
|
|
320
380
|
|
|
@@ -331,6 +391,7 @@
|
|
|
331
391
|
</tbody>
|
|
332
392
|
</table>
|
|
333
393
|
</section>
|
|
394
|
+
|
|
334
395
|
<section data-compodoc="block-properties">
|
|
335
396
|
|
|
336
397
|
<h3 id="inputs">
|
|
@@ -362,29 +423,7 @@
|
|
|
362
423
|
</tr>
|
|
363
424
|
<tr>
|
|
364
425
|
<td class="col-md-4">
|
|
365
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
366
|
-
</td>
|
|
367
|
-
</tr>
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
</tbody>
|
|
371
|
-
</table>
|
|
372
|
-
<table class="table table-sm table-bordered">
|
|
373
|
-
<tbody>
|
|
374
|
-
<tr>
|
|
375
|
-
<td class="col-md-4">
|
|
376
|
-
<a name="profile"></a>
|
|
377
|
-
<span class="name">
|
|
378
|
-
<span class="modifier">Public</span>
|
|
379
|
-
<span class="modifier">Readonly</span>
|
|
380
|
-
<span ><b>profile</b></span>
|
|
381
|
-
<a href="#profile"><span class="icon ion-ios-link"></span></a>
|
|
382
|
-
</span>
|
|
383
|
-
</td>
|
|
384
|
-
</tr>
|
|
385
|
-
<tr>
|
|
386
|
-
<td class="col-md-4">
|
|
387
|
-
<div class="io-line">Defined in <a href="" data-line="32" class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:32</a></div>
|
|
426
|
+
<div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:51</a></div>
|
|
388
427
|
</td>
|
|
389
428
|
</tr>
|
|
390
429
|
|
|
@@ -404,6 +443,12 @@
|
|
|
404
443
|
</span>
|
|
405
444
|
</td>
|
|
406
445
|
</tr>
|
|
446
|
+
<tr>
|
|
447
|
+
<td class="col-md-4">
|
|
448
|
+
<i>Type : </i> <code>unknown</code>
|
|
449
|
+
|
|
450
|
+
</td>
|
|
451
|
+
</tr>
|
|
407
452
|
<tr>
|
|
408
453
|
<td class="col-md-4">
|
|
409
454
|
<i>Default value : </i><code>inject(PubSubService)</code>
|
|
@@ -411,7 +456,7 @@
|
|
|
411
456
|
</tr>
|
|
412
457
|
<tr>
|
|
413
458
|
<td class="col-md-4">
|
|
414
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
459
|
+
<div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:52</a></div>
|
|
415
460
|
</td>
|
|
416
461
|
</tr>
|
|
417
462
|
|
|
@@ -431,6 +476,12 @@
|
|
|
431
476
|
</span>
|
|
432
477
|
</td>
|
|
433
478
|
</tr>
|
|
479
|
+
<tr>
|
|
480
|
+
<td class="col-md-4">
|
|
481
|
+
<i>Type : </i> <code>unknown</code>
|
|
482
|
+
|
|
483
|
+
</td>
|
|
484
|
+
</tr>
|
|
434
485
|
<tr>
|
|
435
486
|
<td class="col-md-4">
|
|
436
487
|
<i>Default value : </i><code>computed(() => {
|
|
@@ -444,7 +495,7 @@
|
|
|
444
495
|
</tr>
|
|
445
496
|
<tr>
|
|
446
497
|
<td class="col-md-4">
|
|
447
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
498
|
+
<div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">src/lib/default-header/user-profile-icon/user-profile-icon.component.ts:56</a></div>
|
|
448
499
|
</td>
|
|
449
500
|
</tr>
|
|
450
501
|
|
|
@@ -472,7 +523,29 @@ import {
|
|
|
472
523
|
} from '@rxap/ngx-pub-sub';
|
|
473
524
|
import { EXTRACT_USERNAME_FROM_PROFILE } from '../../tokens';
|
|
474
525
|
import { ExtractUsernameFromProfileFn } from '../../types';
|
|
475
|
-
|
|
526
|
+
import { Showcase } from '@ng-prism/core';
|
|
527
|
+
|
|
528
|
+
@Showcase<UserProfileIconComponent>({
|
|
529
|
+
title: 'User Profile Icon',
|
|
530
|
+
category: 'Layout',
|
|
531
|
+
description: 'Account icon that opens a menu with the name of the user and the logout action. The name is extracted from the profile with the `EXTRACT_USERNAME_FROM_PROFILE` function.',
|
|
532
|
+
status: 'stable',
|
|
533
|
+
variants: [
|
|
534
|
+
{
|
|
535
|
+
name: 'Display name',
|
|
536
|
+
inputs: { profile: { displayName: 'Jane Doe' } },
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
name: 'Email only',
|
|
540
|
+
inputs: { profile: { email: 'jane.doe@example.com' } },
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
name: 'Without name',
|
|
544
|
+
inputs: { profile: {} },
|
|
545
|
+
description: 'The menu only contains the logout action.',
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
})
|
|
476
549
|
@Component({
|
|
477
550
|
selector: 'rxap-user-profile-icon',
|
|
478
551
|
templateUrl: './user-profile-icon.component.html',
|
|
@@ -560,7 +633,7 @@ export class UserProfileIconComponent {
|
|
|
560
633
|
|
|
561
634
|
</div>
|
|
562
635
|
|
|
563
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
636
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
564
637
|
<script src="../js/libs/htmlparser.js"></script>
|
|
565
638
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
566
639
|
<script>
|
|
@@ -619,6 +692,24 @@ export class UserProfileIconComponent {
|
|
|
619
692
|
|
|
620
693
|
<script>
|
|
621
694
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
695
|
+
var updateDarkModeSwitchOffset = function () {
|
|
696
|
+
var content = document.querySelector('.content');
|
|
697
|
+
var scrollbarWidth = 0;
|
|
698
|
+
|
|
699
|
+
if (content) {
|
|
700
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
701
|
+
}
|
|
702
|
+
|
|
703
|
+
document.documentElement.style.setProperty(
|
|
704
|
+
'--content-scrollbar-width',
|
|
705
|
+
scrollbarWidth + 'px'
|
|
706
|
+
);
|
|
707
|
+
};
|
|
708
|
+
|
|
709
|
+
updateDarkModeSwitchOffset();
|
|
710
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
711
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
712
|
+
|
|
622
713
|
checkToggle(darkModeState);
|
|
623
714
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
624
715
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -634,14 +725,12 @@ export class UserProfileIconComponent {
|
|
|
634
725
|
<script src="../js/libs/lit-html.js"></script>
|
|
635
726
|
|
|
636
727
|
<script src="../js/menu-wc.js" defer></script>
|
|
637
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
638
728
|
|
|
639
729
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
640
730
|
|
|
641
731
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
642
732
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
643
733
|
<script src="../js/libs/promise.min.js"></script>
|
|
644
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
645
734
|
|
|
646
735
|
<script src="../js/compodoc.js"></script>
|
|
647
736
|
|