@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
|
AppsButtonComponent</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/apps-button/apps-button.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/apps-button/apps-button.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,13 +184,20 @@
|
|
|
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
|
-
|
|
187
|
+
<div> <code><a href="https://angular.dev/api/common/NgOptimizedImage" target="_blank" >NgOptimizedImage</a></code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatButton</code>
|
|
190
|
+
</div>
|
|
191
|
+
<div> <code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
|
|
192
|
+
</div>
|
|
193
|
+
<div> <code>MatAnchor</code>
|
|
194
|
+
</div>
|
|
195
|
+
<div> <code>MatIconButton</code>
|
|
196
|
+
</div>
|
|
197
|
+
<div> <code>MatIcon</code>
|
|
198
|
+
</div>
|
|
199
|
+
<div> <code>IconDirective</code>
|
|
200
|
+
</div>
|
|
167
201
|
</td>
|
|
168
202
|
</tr>
|
|
169
203
|
|
|
@@ -174,6 +208,7 @@
|
|
|
174
208
|
|
|
175
209
|
|
|
176
210
|
|
|
211
|
+
|
|
177
212
|
<tr>
|
|
178
213
|
<td class="col-md-3">templateUrl</td>
|
|
179
214
|
<td class="col-md-9"><code>./apps-button.component.html</code></td>
|
|
@@ -190,34 +225,79 @@
|
|
|
190
225
|
</table>
|
|
191
226
|
</section>
|
|
192
227
|
|
|
193
|
-
|
|
228
|
+
<section data-compodoc="block-relationships">
|
|
229
|
+
<h3>Relationships</h3>
|
|
230
|
+
|
|
231
|
+
<div class="row pt-3">
|
|
232
|
+
<div class="col-sm-6">
|
|
233
|
+
<h4>Used by</h4>
|
|
234
|
+
<ul class="list-unstyled relationships-list">
|
|
235
|
+
<li>
|
|
236
|
+
<code><a href="../components/DefaultHeaderComponent.html" target="_self" >DefaultHeaderComponent</a></code>
|
|
237
|
+
</li>
|
|
238
|
+
</ul>
|
|
239
|
+
</div>
|
|
240
|
+
|
|
241
|
+
<div class="col-sm-6">
|
|
242
|
+
<h4>Depends on</h4>
|
|
243
|
+
<ul class="list-unstyled relationships-list">
|
|
244
|
+
<li>
|
|
245
|
+
<code><a href="https://angular.dev/api/common/NgOptimizedImage" target="_blank" >NgOptimizedImage</a></code>
|
|
246
|
+
</li>
|
|
247
|
+
<li>
|
|
248
|
+
<code>MatButton</code>
|
|
249
|
+
</li>
|
|
250
|
+
<li>
|
|
251
|
+
<code><a href="https://angular.dev/api/router/RouterLink" target="_blank" >RouterLink</a></code>
|
|
252
|
+
</li>
|
|
253
|
+
<li>
|
|
254
|
+
<code>MatAnchor</code>
|
|
255
|
+
</li>
|
|
256
|
+
<li>
|
|
257
|
+
<code>MatIconButton</code>
|
|
258
|
+
</li>
|
|
259
|
+
<li>
|
|
260
|
+
<code>MatIcon</code>
|
|
261
|
+
</li>
|
|
262
|
+
<li>
|
|
263
|
+
<code>IconDirective</code>
|
|
264
|
+
</li>
|
|
265
|
+
</ul>
|
|
266
|
+
</div>
|
|
267
|
+
</div>
|
|
268
|
+
</section>
|
|
269
|
+
</div>
|
|
270
|
+
|
|
271
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
194
272
|
<h3 id="index">Index</h3>
|
|
195
|
-
|
|
196
|
-
|
|
273
|
+
<table class="table table-sm table-bordered index-table">
|
|
274
|
+
<tbody>
|
|
197
275
|
<tr>
|
|
198
|
-
<td class="col-md-
|
|
276
|
+
<td class="col-md-3">
|
|
199
277
|
<h6><b>Properties</b></h6>
|
|
200
278
|
</td>
|
|
201
|
-
|
|
202
|
-
<tr>
|
|
203
|
-
<td class="col-md-4">
|
|
279
|
+
<td class="col-md-9">
|
|
204
280
|
<ul class="index-list">
|
|
205
281
|
<li>
|
|
282
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
206
283
|
<span class="modifier">Public</span>
|
|
207
284
|
<span class="modifier">Readonly</span>
|
|
208
285
|
<a href="#appList" >appList</a>
|
|
209
286
|
</li>
|
|
210
287
|
<li>
|
|
288
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
211
289
|
<span class="modifier">Protected</span>
|
|
212
290
|
<span class="modifier">Readonly</span>
|
|
213
291
|
<a href="#externalAppsService" >externalAppsService</a>
|
|
214
292
|
</li>
|
|
215
293
|
<li>
|
|
294
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
216
295
|
<span class="modifier">Public</span>
|
|
217
296
|
<span class="modifier">Readonly</span>
|
|
218
297
|
<a href="#hasApps" >hasApps</a>
|
|
219
298
|
</li>
|
|
220
299
|
<li>
|
|
300
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
221
301
|
<span class="modifier">Public</span>
|
|
222
302
|
<span class="modifier">Readonly</span>
|
|
223
303
|
<a href="#isOpen" >isOpen</a>
|
|
@@ -225,29 +305,32 @@
|
|
|
225
305
|
</ul>
|
|
226
306
|
</td>
|
|
227
307
|
</tr>
|
|
308
|
+
</tbody>
|
|
309
|
+
</table>
|
|
228
310
|
|
|
311
|
+
<table class="table table-sm table-bordered index-table">
|
|
312
|
+
<tbody>
|
|
229
313
|
<tr>
|
|
230
|
-
<td class="col-md-
|
|
314
|
+
<td class="col-md-3">
|
|
231
315
|
<h6><b>Methods</b></h6>
|
|
232
316
|
</td>
|
|
233
|
-
|
|
234
|
-
<tr>
|
|
235
|
-
<td class="col-md-4">
|
|
317
|
+
<td class="col-md-9">
|
|
236
318
|
<ul class="index-list">
|
|
237
319
|
<li>
|
|
320
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
238
321
|
<span class="modifier">Public</span>
|
|
239
322
|
<a href="#toggle" >toggle</a>
|
|
240
323
|
</li>
|
|
241
324
|
</ul>
|
|
242
325
|
</td>
|
|
243
326
|
</tr>
|
|
327
|
+
</tbody>
|
|
328
|
+
</table>
|
|
244
329
|
|
|
245
330
|
|
|
246
331
|
|
|
247
332
|
|
|
248
333
|
|
|
249
|
-
</tbody>
|
|
250
|
-
</table>
|
|
251
334
|
</section>
|
|
252
335
|
|
|
253
336
|
<section data-compodoc="block-constructor">
|
|
@@ -261,7 +344,7 @@
|
|
|
261
344
|
</tr>
|
|
262
345
|
<tr>
|
|
263
346
|
<td class="col-md-4">
|
|
264
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
347
|
+
<div class="io-line">Defined in <a href="" data-line="56" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:56</a></div>
|
|
265
348
|
</td>
|
|
266
349
|
</tr>
|
|
267
350
|
|
|
@@ -300,8 +383,8 @@
|
|
|
300
383
|
|
|
301
384
|
<tr>
|
|
302
385
|
<td class="col-md-4">
|
|
303
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
304
|
-
class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:
|
|
386
|
+
<div class="io-line">Defined in <a href="" data-line="54"
|
|
387
|
+
class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:54</a></div>
|
|
305
388
|
</td>
|
|
306
389
|
</tr>
|
|
307
390
|
|
|
@@ -318,6 +401,7 @@
|
|
|
318
401
|
</tbody>
|
|
319
402
|
</table>
|
|
320
403
|
</section>
|
|
404
|
+
|
|
321
405
|
<section data-compodoc="block-properties">
|
|
322
406
|
|
|
323
407
|
<h3 id="inputs">
|
|
@@ -336,6 +420,12 @@
|
|
|
336
420
|
</span>
|
|
337
421
|
</td>
|
|
338
422
|
</tr>
|
|
423
|
+
<tr>
|
|
424
|
+
<td class="col-md-4">
|
|
425
|
+
<i>Type : </i> <code>unknown</code>
|
|
426
|
+
|
|
427
|
+
</td>
|
|
428
|
+
</tr>
|
|
339
429
|
<tr>
|
|
340
430
|
<td class="col-md-4">
|
|
341
431
|
<i>Default value : </i><code>computed(() => this.externalAppsService.activeAppList())</code>
|
|
@@ -343,7 +433,7 @@
|
|
|
343
433
|
</tr>
|
|
344
434
|
<tr>
|
|
345
435
|
<td class="col-md-4">
|
|
346
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
436
|
+
<div class="io-line">Defined in <a href="" data-line="51" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:51</a></div>
|
|
347
437
|
</td>
|
|
348
438
|
</tr>
|
|
349
439
|
|
|
@@ -363,6 +453,12 @@
|
|
|
363
453
|
</span>
|
|
364
454
|
</td>
|
|
365
455
|
</tr>
|
|
456
|
+
<tr>
|
|
457
|
+
<td class="col-md-4">
|
|
458
|
+
<i>Type : </i> <code>unknown</code>
|
|
459
|
+
|
|
460
|
+
</td>
|
|
461
|
+
</tr>
|
|
366
462
|
<tr>
|
|
367
463
|
<td class="col-md-4">
|
|
368
464
|
<i>Default value : </i><code>inject(ExternalAppsService)</code>
|
|
@@ -370,7 +466,7 @@
|
|
|
370
466
|
</tr>
|
|
371
467
|
<tr>
|
|
372
468
|
<td class="col-md-4">
|
|
373
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
469
|
+
<div class="io-line">Defined in <a href="" data-line="50" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:50</a></div>
|
|
374
470
|
</td>
|
|
375
471
|
</tr>
|
|
376
472
|
|
|
@@ -390,6 +486,12 @@
|
|
|
390
486
|
</span>
|
|
391
487
|
</td>
|
|
392
488
|
</tr>
|
|
489
|
+
<tr>
|
|
490
|
+
<td class="col-md-4">
|
|
491
|
+
<i>Type : </i> <code>unknown</code>
|
|
492
|
+
|
|
493
|
+
</td>
|
|
494
|
+
</tr>
|
|
393
495
|
<tr>
|
|
394
496
|
<td class="col-md-4">
|
|
395
497
|
<i>Default value : </i><code>computed(() => this.appList().length > 0)</code>
|
|
@@ -397,7 +499,7 @@
|
|
|
397
499
|
</tr>
|
|
398
500
|
<tr>
|
|
399
501
|
<td class="col-md-4">
|
|
400
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
502
|
+
<div class="io-line">Defined in <a href="" data-line="52" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:52</a></div>
|
|
401
503
|
</td>
|
|
402
504
|
</tr>
|
|
403
505
|
|
|
@@ -417,6 +519,12 @@
|
|
|
417
519
|
</span>
|
|
418
520
|
</td>
|
|
419
521
|
</tr>
|
|
522
|
+
<tr>
|
|
523
|
+
<td class="col-md-4">
|
|
524
|
+
<i>Type : </i> <code>unknown</code>
|
|
525
|
+
|
|
526
|
+
</td>
|
|
527
|
+
</tr>
|
|
420
528
|
<tr>
|
|
421
529
|
<td class="col-md-4">
|
|
422
530
|
<i>Default value : </i><code>signal(false)</code>
|
|
@@ -424,7 +532,7 @@
|
|
|
424
532
|
</tr>
|
|
425
533
|
<tr>
|
|
426
534
|
<td class="col-md-4">
|
|
427
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
535
|
+
<div class="io-line">Defined in <a href="" data-line="48" class="link-to-prism">src/lib/default-header/apps-button/apps-button.component.ts:48</a></div>
|
|
428
536
|
</td>
|
|
429
537
|
</tr>
|
|
430
538
|
|
|
@@ -460,7 +568,17 @@ import { MatIcon } from '@angular/material/icon';
|
|
|
460
568
|
import { RouterLink } from '@angular/router';
|
|
461
569
|
import { IconDirective } from '@rxap/material-directives/icon';
|
|
462
570
|
import { ExternalAppsService } from '../../external-apps.service';
|
|
463
|
-
|
|
571
|
+
import { Showcase } from '@ng-prism/core';
|
|
572
|
+
|
|
573
|
+
@Showcase({
|
|
574
|
+
title: 'Apps Button',
|
|
575
|
+
category: 'Layout',
|
|
576
|
+
description: 'Icon button that expands a list of links to the external apps. It is only rendered if at least one app is configured. The apps are provided with demo data by the styleguide host.',
|
|
577
|
+
status: 'stable',
|
|
578
|
+
variants: [
|
|
579
|
+
{ name: 'Default' },
|
|
580
|
+
],
|
|
581
|
+
})
|
|
464
582
|
@Component({
|
|
465
583
|
selector: 'rxap-apps-button',
|
|
466
584
|
templateUrl: './apps-button.component.html',
|
|
@@ -585,7 +703,7 @@ export class AppsButtonComponent {
|
|
|
585
703
|
|
|
586
704
|
</div>
|
|
587
705
|
|
|
588
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
706
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
589
707
|
<script src="../js/libs/htmlparser.js"></script>
|
|
590
708
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
591
709
|
<script>
|
|
@@ -644,6 +762,24 @@ export class AppsButtonComponent {
|
|
|
644
762
|
|
|
645
763
|
<script>
|
|
646
764
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
765
|
+
var updateDarkModeSwitchOffset = function () {
|
|
766
|
+
var content = document.querySelector('.content');
|
|
767
|
+
var scrollbarWidth = 0;
|
|
768
|
+
|
|
769
|
+
if (content) {
|
|
770
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
771
|
+
}
|
|
772
|
+
|
|
773
|
+
document.documentElement.style.setProperty(
|
|
774
|
+
'--content-scrollbar-width',
|
|
775
|
+
scrollbarWidth + 'px'
|
|
776
|
+
);
|
|
777
|
+
};
|
|
778
|
+
|
|
779
|
+
updateDarkModeSwitchOffset();
|
|
780
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
781
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
782
|
+
|
|
647
783
|
checkToggle(darkModeState);
|
|
648
784
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
649
785
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -659,14 +795,12 @@ export class AppsButtonComponent {
|
|
|
659
795
|
<script src="../js/libs/lit-html.js"></script>
|
|
660
796
|
|
|
661
797
|
<script src="../js/menu-wc.js" defer></script>
|
|
662
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
663
798
|
|
|
664
799
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
665
800
|
|
|
666
801
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
667
802
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
668
803
|
<script src="../js/libs/promise.min.js"></script>
|
|
669
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
670
804
|
|
|
671
805
|
<script src="../js/compodoc.js"></script>
|
|
672
806
|
|
|
@@ -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
|
BaseLayoutComponent</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/base-layout/base-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/base-layout/base-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,11 +180,18 @@
|
|
|
153
180
|
<tr>
|
|
154
181
|
<td class="col-md-3">imports</td>
|
|
155
182
|
<td class="col-md-9">
|
|
156
|
-
|
|
157
|
-
|
|
183
|
+
<div> <code><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
|
|
184
|
+
</div>
|
|
185
|
+
<div> <code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
|
|
186
|
+
</div>
|
|
158
187
|
</td>
|
|
159
188
|
</tr>
|
|
160
189
|
|
|
190
|
+
<tr>
|
|
191
|
+
<td class="col-md-3">styleUrls</td>
|
|
192
|
+
<td class="col-md-9"><code>./base-layout.component.scss</code></td>
|
|
193
|
+
</tr>
|
|
194
|
+
|
|
161
195
|
|
|
162
196
|
|
|
163
197
|
|
|
@@ -181,17 +215,36 @@
|
|
|
181
215
|
</table>
|
|
182
216
|
</section>
|
|
183
217
|
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
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/MinimalLayoutComponent.html" target="_self" >MinimalLayoutComponent</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><a href="../components/HeaderComponent.html" target="_self" >HeaderComponent</a></code>
|
|
236
|
+
</li>
|
|
237
|
+
<li>
|
|
238
|
+
<code><a href="../components/FooterComponent.html" target="_self" >FooterComponent</a></code>
|
|
239
|
+
</li>
|
|
240
|
+
</ul>
|
|
241
|
+
</div>
|
|
242
|
+
</div>
|
|
243
|
+
</section>
|
|
192
244
|
</div>
|
|
193
245
|
|
|
194
246
|
|
|
247
|
+
|
|
195
248
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
196
249
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import {
|
|
197
250
|
ChangeDetectionStrategy,
|
|
@@ -199,7 +252,24 @@
|
|
|
199
252
|
} from '@angular/core';
|
|
200
253
|
import { FooterComponent } from '../footer/footer.component';
|
|
201
254
|
import { HeaderComponent } from '../header/header.component';
|
|
202
|
-
|
|
255
|
+
import { Showcase } from '@ng-prism/core';
|
|
256
|
+
|
|
257
|
+
@Showcase({
|
|
258
|
+
title: 'Base Layout',
|
|
259
|
+
category: 'Layout',
|
|
260
|
+
description: 'Page frame with a fixed header and footer around the projected page content. The header and footer are only rendered while a `rxapHeader` or `rxapFooter` template is registered.',
|
|
261
|
+
status: 'stable',
|
|
262
|
+
canvasLayout: 'stretch',
|
|
263
|
+
variants: [
|
|
264
|
+
{
|
|
265
|
+
name: 'With content',
|
|
266
|
+
content: '<div style="padding: 16px"><h2>Page content</h2><p>The projected content is placed between the header and the footer.</p></div>',
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
name: 'Empty',
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
})
|
|
203
273
|
@Component({
|
|
204
274
|
selector: 'rxap-base-layout',
|
|
205
275
|
imports: [
|
|
@@ -221,6 +291,12 @@ export class BaseLayoutComponent {}
|
|
|
221
291
|
</code></pre>
|
|
222
292
|
</div>
|
|
223
293
|
|
|
294
|
+
<div class="tab-pane fade " id="styleData">
|
|
295
|
+
<p class="comment">
|
|
296
|
+
<code>./base-layout.component.scss</code>
|
|
297
|
+
</p>
|
|
298
|
+
<pre class="line-numbers"><code class="language-scss"></code></pre>
|
|
299
|
+
</div>
|
|
224
300
|
|
|
225
301
|
<div class="tab-pane fade " id="tree">
|
|
226
302
|
<div id="tree-container"></div>
|
|
@@ -243,7 +319,7 @@ export class BaseLayoutComponent {}
|
|
|
243
319
|
|
|
244
320
|
</div>
|
|
245
321
|
|
|
246
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
322
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
247
323
|
<script src="../js/libs/htmlparser.js"></script>
|
|
248
324
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
249
325
|
<script>
|
|
@@ -302,6 +378,24 @@ export class BaseLayoutComponent {}
|
|
|
302
378
|
|
|
303
379
|
<script>
|
|
304
380
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
381
|
+
var updateDarkModeSwitchOffset = function () {
|
|
382
|
+
var content = document.querySelector('.content');
|
|
383
|
+
var scrollbarWidth = 0;
|
|
384
|
+
|
|
385
|
+
if (content) {
|
|
386
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
document.documentElement.style.setProperty(
|
|
390
|
+
'--content-scrollbar-width',
|
|
391
|
+
scrollbarWidth + 'px'
|
|
392
|
+
);
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
updateDarkModeSwitchOffset();
|
|
396
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
397
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
398
|
+
|
|
305
399
|
checkToggle(darkModeState);
|
|
306
400
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
307
401
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -317,14 +411,12 @@ export class BaseLayoutComponent {}
|
|
|
317
411
|
<script src="../js/libs/lit-html.js"></script>
|
|
318
412
|
|
|
319
413
|
<script src="../js/menu-wc.js" defer></script>
|
|
320
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
321
414
|
|
|
322
415
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
323
416
|
|
|
324
417
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
325
418
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
326
419
|
<script src="../js/libs/promise.min.js"></script>
|
|
327
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
328
420
|
|
|
329
421
|
<script src="../js/compodoc.js"></script>
|
|
330
422
|
|