@rxap/layout 22.0.0-dev.0 → 22.0.0-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +27 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +72 -5
- package/compodoc/components/AppsButtonComponent.html +174 -40
- package/compodoc/components/BaseLayoutComponent.html +115 -23
- package/compodoc/components/DefaultHeaderComponent.html +205 -36
- package/compodoc/components/FooterComponent.html +142 -27
- package/compodoc/components/HeaderComponent.html +165 -61
- package/compodoc/components/LayoutComponent.html +194 -44
- package/compodoc/components/MinimalLayoutComponent.html +120 -26
- package/compodoc/components/NavigationComponent.html +220 -133
- package/compodoc/components/NavigationItemComponent.html +248 -115
- package/compodoc/components/NavigationProgressBarComponent.html +121 -25
- package/compodoc/components/ReleaseInfoComponent.html +149 -32
- package/compodoc/components/SettingsButtonComponent.html +220 -62
- package/compodoc/components/SidenavComponent.html +222 -56
- package/compodoc/components/SidenavToggleButtonComponent.html +117 -27
- package/compodoc/components/UserProfileIconComponent.html +155 -66
- package/compodoc/dependencies.html +152 -49
- package/compodoc/directives/FooterDirective.html +74 -20
- package/compodoc/directives/HeaderDirective.html +74 -20
- package/compodoc/directives/SidenavFooterDirective.html +91 -19
- package/compodoc/directives/SidenavHeaderDirective.html +72 -19
- package/compodoc/index.html +46 -5
- package/compodoc/injectables/DefaultHeaderService.html +91 -25
- package/compodoc/injectables/ExternalAppsService.html +123 -21
- package/compodoc/injectables/FooterService.html +91 -25
- package/compodoc/injectables/HeaderService.html +91 -25
- package/compodoc/injectables/LayoutService.html +91 -21
- package/compodoc/injectables/LogoService.html +103 -17
- package/compodoc/injectables/NavigationService.html +84 -24
- package/compodoc/interfaces/NavigationDividerItem.html +155 -100
- package/compodoc/interfaces/NavigationInsertItem.html +114 -64
- package/compodoc/interfaces/NavigationItem.html +305 -216
- package/compodoc/interfaces/NavigationStatus.html +80 -35
- package/compodoc/interfaces/ReleaseInfoModule.html +197 -137
- package/compodoc/interfaces/SettingsMenuItem.html +197 -137
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +26 -13
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +523 -0
- package/compodoc/miscellaneous/functions.html +90 -41
- package/compodoc/miscellaneous/typealiases.html +55 -12
- package/compodoc/miscellaneous/variables.html +163 -20
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1672 -1215
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AppsButtonComponent.html +110 -8
- package/docs/html/classes/BaseLayoutComponent.html +56 -2
- package/docs/html/classes/DefaultHeaderComponent.html +112 -10
- package/docs/html/classes/DefaultHeaderService.html +128 -13
- package/docs/html/classes/ExternalAppsService.html +240 -19
- package/docs/html/classes/FooterComponent.html +82 -5
- package/docs/html/classes/FooterDirective.html +95 -6
- package/docs/html/classes/FooterService.html +128 -13
- package/docs/html/classes/HeaderComponent.html +88 -6
- package/docs/html/classes/HeaderDirective.html +95 -6
- package/docs/html/classes/HeaderService.html +128 -13
- package/docs/html/classes/LayoutComponent.html +88 -6
- package/docs/html/classes/LayoutService.html +174 -16
- package/docs/html/classes/LogoService.html +88 -6
- package/docs/html/classes/MinimalLayoutComponent.html +56 -2
- package/docs/html/classes/NavigationComponent.html +156 -12
- package/docs/html/classes/NavigationItemComponent.html +172 -14
- package/docs/html/classes/NavigationProgressBarComponent.html +76 -4
- package/docs/html/classes/NavigationService.html +197 -12
- package/docs/html/classes/ReleaseInfoComponent.html +100 -6
- package/docs/html/classes/SettingsButtonComponent.html +242 -19
- package/docs/html/classes/SidenavComponent.html +190 -19
- package/docs/html/classes/SidenavFooterDirective.html +70 -3
- package/docs/html/classes/SidenavHeaderDirective.html +70 -3
- package/docs/html/classes/SidenavToggleButtonComponent.html +94 -5
- package/docs/html/classes/UserProfileIconComponent.html +106 -7
- package/docs/html/functions/IsNavigationDividerItem.html +42 -1
- package/docs/html/functions/IsNavigationInsertItem.html +42 -1
- package/docs/html/functions/IsNavigationItem.html +42 -1
- package/docs/html/functions/provideExternalApps.html +42 -1
- package/docs/html/functions/provideLayout.html +42 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +38 -1
- package/docs/html/functions/withDefaultHeaderItems.html +42 -1
- package/docs/html/functions/withFooterComponents.html +42 -1
- package/docs/html/functions/withHeaderComponents.html +42 -1
- package/docs/html/functions/withNavigationConfig.html +42 -1
- package/docs/html/functions/withNavigationInserts.html +42 -1
- package/docs/html/functions/withReleaseInfoModules.html +42 -1
- package/docs/html/functions/withSettingsMenuItems.html +42 -1
- package/docs/html/functions/withUserProfileDataSource.html +43 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +92 -18
- package/docs/html/interfaces/NavigationDividerItem.html +61 -3
- package/docs/html/interfaces/NavigationInsertItem.html +55 -2
- package/docs/html/interfaces/NavigationItem.html +94 -6
- package/docs/html/interfaces/NavigationStatus.html +63 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +67 -4
- package/docs/html/interfaces/SettingsMenuItem.html +67 -4
- package/docs/html/modules.html +52 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +33 -1
- package/docs/html/types/ExternalApp.html +33 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +49 -1
- package/docs/html/types/Navigation.html +33 -1
- package/docs/html/types/NavigationWithInserts.html +33 -1
- package/docs/html/types/SettingsMenuItemComponent.html +33 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +33 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +33 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +33 -1
- package/docs/markdown/README.md +1 -1
- package/docs/markdown/classes/AppsButtonComponent.md +11 -11
- package/docs/markdown/classes/BaseLayoutComponent.md +5 -5
- package/docs/markdown/classes/DefaultHeaderComponent.md +13 -13
- package/docs/markdown/classes/DefaultHeaderService.md +9 -9
- package/docs/markdown/classes/ExternalAppsService.md +29 -29
- package/docs/markdown/classes/FooterComponent.md +8 -8
- package/docs/markdown/classes/FooterDirective.md +7 -7
- package/docs/markdown/classes/FooterService.md +9 -9
- package/docs/markdown/classes/HeaderComponent.md +9 -9
- package/docs/markdown/classes/HeaderDirective.md +7 -7
- package/docs/markdown/classes/HeaderService.md +9 -9
- package/docs/markdown/classes/LayoutComponent.md +9 -9
- package/docs/markdown/classes/LayoutService.md +21 -21
- package/docs/markdown/classes/LogoService.md +9 -9
- package/docs/markdown/classes/MinimalLayoutComponent.md +5 -5
- package/docs/markdown/classes/NavigationComponent.md +19 -19
- package/docs/markdown/classes/NavigationItemComponent.md +21 -21
- package/docs/markdown/classes/NavigationProgressBarComponent.md +7 -7
- package/docs/markdown/classes/NavigationService.md +26 -26
- package/docs/markdown/classes/ReleaseInfoComponent.md +9 -9
- package/docs/markdown/classes/SettingsButtonComponent.md +24 -24
- package/docs/markdown/classes/SidenavComponent.md +24 -24
- package/docs/markdown/classes/SidenavFooterDirective.md +6 -6
- package/docs/markdown/classes/SidenavHeaderDirective.md +6 -6
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +8 -8
- package/docs/markdown/classes/UserProfileIconComponent.md +11 -11
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +3 -3
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +3 -3
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +3 -3
- package/docs/markdown/functions/withUserProfileDataSource.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +5 -5
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +14 -12
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +6 -6
- package/docs/markdown/interfaces/SettingsMenuItem.md +7 -7
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +3 -3
- package/docs/markdown/type-aliases/ExternalApp.md +3 -3
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +7 -5
- package/docs/markdown/type-aliases/Navigation.md +3 -3
- package/docs/markdown/type-aliases/NavigationWithInserts.md +3 -3
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +3 -3
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +3 -3
- package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +3 -3
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +3 -3
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +10 -10
- package/docs/wiki/Class.BaseLayoutComponent.md +4 -4
- package/docs/wiki/Class.DefaultHeaderComponent.md +12 -12
- package/docs/wiki/Class.DefaultHeaderService.md +8 -8
- package/docs/wiki/Class.ExternalAppsService.md +28 -28
- package/docs/wiki/Class.FooterComponent.md +7 -7
- package/docs/wiki/Class.FooterDirective.md +6 -6
- package/docs/wiki/Class.FooterService.md +8 -8
- package/docs/wiki/Class.HeaderComponent.md +8 -8
- package/docs/wiki/Class.HeaderDirective.md +6 -6
- package/docs/wiki/Class.HeaderService.md +8 -8
- package/docs/wiki/Class.LayoutComponent.md +8 -8
- package/docs/wiki/Class.LayoutService.md +20 -20
- package/docs/wiki/Class.LogoService.md +8 -8
- package/docs/wiki/Class.MinimalLayoutComponent.md +4 -4
- package/docs/wiki/Class.NavigationComponent.md +18 -18
- package/docs/wiki/Class.NavigationItemComponent.md +20 -20
- package/docs/wiki/Class.NavigationProgressBarComponent.md +6 -6
- package/docs/wiki/Class.NavigationService.md +25 -25
- package/docs/wiki/Class.ReleaseInfoComponent.md +8 -8
- package/docs/wiki/Class.SettingsButtonComponent.md +23 -23
- package/docs/wiki/Class.SidenavComponent.md +23 -23
- package/docs/wiki/Class.SidenavFooterDirective.md +5 -5
- package/docs/wiki/Class.SidenavHeaderDirective.md +5 -5
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +7 -7
- package/docs/wiki/Class.UserProfileIconComponent.md +10 -10
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +2 -2
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +2 -2
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +2 -2
- package/docs/wiki/Function.withUserProfileDataSource.md +3 -3
- package/docs/wiki/Interface.NavigationDividerItem.md +4 -4
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +13 -11
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +5 -5
- package/docs/wiki/Interface.SettingsMenuItem.md +6 -6
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +2 -2
- package/docs/wiki/TypeAlias.ExternalApp.md +2 -2
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +6 -4
- package/docs/wiki/TypeAlias.Navigation.md +2 -2
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +2 -2
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +2 -2
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +19 -17
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +35 -35
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +9 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +9 -0
- package/src/test-setup.ts +4 -17
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >LayoutService</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/layout.service.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,75 +147,80 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/layout.service.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
123
153
|
|
|
124
154
|
|
|
155
|
+
</div>
|
|
156
|
+
|
|
157
|
+
<div class="tab-pane fade " id="api">
|
|
125
158
|
<section data-compodoc="block-index">
|
|
126
159
|
<h3 id="index">Index</h3>
|
|
127
|
-
|
|
128
|
-
|
|
160
|
+
<table class="table table-sm table-bordered index-table">
|
|
161
|
+
<tbody>
|
|
129
162
|
<tr>
|
|
130
|
-
<td class="col-md-
|
|
163
|
+
<td class="col-md-3">
|
|
131
164
|
<h6><b>Properties</b></h6>
|
|
132
165
|
</td>
|
|
133
|
-
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
166
|
+
<td class="col-md-9">
|
|
136
167
|
<ul class="index-list">
|
|
137
168
|
<li>
|
|
169
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
138
170
|
<span class="modifier">Public</span>
|
|
139
171
|
<span class="modifier">Readonly</span>
|
|
140
172
|
<a href="#collapsable" >collapsable</a>
|
|
141
173
|
</li>
|
|
142
174
|
<li>
|
|
175
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
143
176
|
<span class="modifier">Public</span>
|
|
144
177
|
<span class="modifier">Readonly</span>
|
|
145
178
|
<a href="#collapsed" >collapsed</a>
|
|
146
179
|
</li>
|
|
147
180
|
<li>
|
|
181
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
148
182
|
<span class="modifier">Public</span>
|
|
149
183
|
<span class="modifier">Readonly</span>
|
|
150
184
|
<a href="#currentThemeDensity" >currentThemeDensity</a>
|
|
151
185
|
</li>
|
|
152
186
|
<li>
|
|
187
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
153
188
|
<span class="modifier">Public</span>
|
|
154
189
|
<span class="modifier">Readonly</span>
|
|
155
190
|
<a href="#fixedBottomGap" >fixedBottomGap</a>
|
|
156
191
|
</li>
|
|
157
192
|
<li>
|
|
193
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
158
194
|
<span class="modifier">Public</span>
|
|
159
195
|
<span class="modifier">Readonly</span>
|
|
160
196
|
<a href="#fixedInViewport" >fixedInViewport</a>
|
|
161
197
|
</li>
|
|
162
198
|
<li>
|
|
199
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
163
200
|
<span class="modifier">Public</span>
|
|
164
201
|
<span class="modifier">Readonly</span>
|
|
165
202
|
<a href="#fixedTopGap" >fixedTopGap</a>
|
|
166
203
|
</li>
|
|
167
204
|
<li>
|
|
205
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
168
206
|
<span class="modifier">Public</span>
|
|
169
207
|
<span class="modifier">Readonly</span>
|
|
170
208
|
<a href="#isMobile" >isMobile</a>
|
|
171
209
|
</li>
|
|
172
210
|
<li>
|
|
211
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
173
212
|
<span class="modifier">Public</span>
|
|
174
213
|
<span class="modifier">Readonly</span>
|
|
175
214
|
<a href="#mode" >mode</a>
|
|
176
215
|
</li>
|
|
177
216
|
<li>
|
|
217
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
178
218
|
<span class="modifier">Public</span>
|
|
179
219
|
<span class="modifier">Readonly</span>
|
|
180
220
|
<a href="#opened" >opened</a>
|
|
181
221
|
</li>
|
|
182
222
|
<li>
|
|
223
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
183
224
|
<span class="modifier">Public</span>
|
|
184
225
|
<span class="modifier">Readonly</span>
|
|
185
226
|
<a href="#pinned" >pinned</a>
|
|
@@ -187,39 +228,45 @@
|
|
|
187
228
|
</ul>
|
|
188
229
|
</td>
|
|
189
230
|
</tr>
|
|
231
|
+
</tbody>
|
|
232
|
+
</table>
|
|
190
233
|
|
|
234
|
+
<table class="table table-sm table-bordered index-table">
|
|
235
|
+
<tbody>
|
|
191
236
|
<tr>
|
|
192
|
-
<td class="col-md-
|
|
237
|
+
<td class="col-md-3">
|
|
193
238
|
<h6><b>Methods</b></h6>
|
|
194
239
|
</td>
|
|
195
|
-
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
240
|
+
<td class="col-md-9">
|
|
198
241
|
<ul class="index-list">
|
|
199
242
|
<li>
|
|
243
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
200
244
|
<a href="#closeSidenav" >closeSidenav</a>
|
|
201
245
|
</li>
|
|
202
246
|
<li>
|
|
247
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
203
248
|
<a href="#openSidenav" >openSidenav</a>
|
|
204
249
|
</li>
|
|
205
250
|
<li>
|
|
251
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
206
252
|
<span class="modifier">Public</span>
|
|
207
253
|
<a href="#toggleOpened" >toggleOpened</a>
|
|
208
254
|
</li>
|
|
209
255
|
<li>
|
|
256
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
210
257
|
<span class="modifier">Public</span>
|
|
211
258
|
<a href="#togglePinned" >togglePinned</a>
|
|
212
259
|
</li>
|
|
213
260
|
</ul>
|
|
214
261
|
</td>
|
|
215
262
|
</tr>
|
|
263
|
+
</tbody>
|
|
264
|
+
</table>
|
|
216
265
|
|
|
217
266
|
|
|
218
267
|
|
|
219
268
|
|
|
220
269
|
|
|
221
|
-
</tbody>
|
|
222
|
-
</table>
|
|
223
270
|
</section>
|
|
224
271
|
|
|
225
272
|
<section data-compodoc="block-constructor">
|
|
@@ -399,6 +446,7 @@
|
|
|
399
446
|
</tbody>
|
|
400
447
|
</table>
|
|
401
448
|
</section>
|
|
449
|
+
|
|
402
450
|
<section data-compodoc="block-properties">
|
|
403
451
|
|
|
404
452
|
<h3 id="inputs">
|
|
@@ -473,6 +521,12 @@
|
|
|
473
521
|
</span>
|
|
474
522
|
</td>
|
|
475
523
|
</tr>
|
|
524
|
+
<tr>
|
|
525
|
+
<td class="col-md-4">
|
|
526
|
+
<i>Type : </i> <code>unknown</code>
|
|
527
|
+
|
|
528
|
+
</td>
|
|
529
|
+
</tr>
|
|
476
530
|
<tr>
|
|
477
531
|
<td class="col-md-4">
|
|
478
532
|
<i>Default value : </i><code>toSignal(ObserveCurrentThemeDensity())</code>
|
|
@@ -854,6 +908,24 @@ export class LayoutService {
|
|
|
854
908
|
|
|
855
909
|
<script>
|
|
856
910
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
911
|
+
var updateDarkModeSwitchOffset = function () {
|
|
912
|
+
var content = document.querySelector('.content');
|
|
913
|
+
var scrollbarWidth = 0;
|
|
914
|
+
|
|
915
|
+
if (content) {
|
|
916
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
917
|
+
}
|
|
918
|
+
|
|
919
|
+
document.documentElement.style.setProperty(
|
|
920
|
+
'--content-scrollbar-width',
|
|
921
|
+
scrollbarWidth + 'px'
|
|
922
|
+
);
|
|
923
|
+
};
|
|
924
|
+
|
|
925
|
+
updateDarkModeSwitchOffset();
|
|
926
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
927
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
928
|
+
|
|
857
929
|
checkToggle(darkModeState);
|
|
858
930
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
859
931
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -869,14 +941,12 @@ export class LayoutService {
|
|
|
869
941
|
<script src="../js/libs/lit-html.js"></script>
|
|
870
942
|
|
|
871
943
|
<script src="../js/menu-wc.js" defer></script>
|
|
872
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
873
944
|
|
|
874
945
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
875
946
|
|
|
876
947
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
877
948
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
878
949
|
<script src="../js/libs/promise.min.js"></script>
|
|
879
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
880
950
|
|
|
881
951
|
<script src="../js/compodoc.js"></script>
|
|
882
952
|
|
|
@@ -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">
|
|
@@ -89,11 +110,20 @@
|
|
|
89
110
|
|
|
90
111
|
|
|
91
112
|
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
92
117
|
<ol class="breadcrumb">
|
|
93
118
|
<li class="breadcrumb-item">Injectables</li>
|
|
94
119
|
<li class="breadcrumb-item" >LogoService</li>
|
|
95
120
|
</ol>
|
|
96
121
|
|
|
122
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
123
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
124
|
+
<code>src/lib/logo.service.ts</code>
|
|
125
|
+
</div>
|
|
126
|
+
|
|
97
127
|
<ul class="nav nav-tabs" role="tablist">
|
|
98
128
|
<li class="nav-item">
|
|
99
129
|
<a href="#info"
|
|
@@ -101,6 +131,12 @@
|
|
|
101
131
|
class="nav-link active"
|
|
102
132
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
103
133
|
</li>
|
|
134
|
+
<li class="nav-item">
|
|
135
|
+
<a href="#api"
|
|
136
|
+
class="nav-link"
|
|
137
|
+
|
|
138
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
139
|
+
</li>
|
|
104
140
|
<li class="nav-item">
|
|
105
141
|
<a href="#source"
|
|
106
142
|
class="nav-link"
|
|
@@ -111,45 +147,55 @@
|
|
|
111
147
|
|
|
112
148
|
<div class="tab-content">
|
|
113
149
|
<div class="tab-pane fade active in" id="info">
|
|
114
|
-
<p class="comment">
|
|
115
|
-
<h3>File</h3>
|
|
116
|
-
</p>
|
|
117
|
-
<p class="comment">
|
|
118
|
-
<code>src/lib/logo.service.ts</code>
|
|
119
|
-
</p>
|
|
120
150
|
|
|
121
151
|
|
|
122
152
|
|
|
153
|
+
<section data-compodoc="block-metadata">
|
|
154
|
+
<h3>Metadata</h3>
|
|
155
|
+
<table class="table table-sm table-hover metadata">
|
|
156
|
+
<tbody>
|
|
157
|
+
<tr>
|
|
158
|
+
<td class="col-md-3">providedIn</td>
|
|
159
|
+
<td class="col-md-9"><code>root</code></td>
|
|
160
|
+
</tr>
|
|
161
|
+
</tbody>
|
|
162
|
+
</table>
|
|
163
|
+
</section>
|
|
164
|
+
|
|
123
165
|
|
|
166
|
+
</div>
|
|
124
167
|
|
|
168
|
+
<div class="tab-pane fade " id="api">
|
|
125
169
|
<section data-compodoc="block-index">
|
|
126
170
|
<h3 id="index">Index</h3>
|
|
127
|
-
|
|
128
|
-
|
|
171
|
+
<table class="table table-sm table-bordered index-table">
|
|
172
|
+
<tbody>
|
|
129
173
|
<tr>
|
|
130
|
-
<td class="col-md-
|
|
174
|
+
<td class="col-md-3">
|
|
131
175
|
<h6><b>Properties</b></h6>
|
|
132
176
|
</td>
|
|
133
|
-
|
|
134
|
-
<tr>
|
|
135
|
-
<td class="col-md-4">
|
|
177
|
+
<td class="col-md-9">
|
|
136
178
|
<ul class="index-list">
|
|
137
179
|
<li>
|
|
180
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
138
181
|
<span class="modifier">Public</span>
|
|
139
182
|
<span class="modifier">Readonly</span>
|
|
140
183
|
<a href="#height" >height</a>
|
|
141
184
|
</li>
|
|
142
185
|
<li>
|
|
186
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
143
187
|
<span class="modifier">Public</span>
|
|
144
188
|
<span class="modifier">Readonly</span>
|
|
145
189
|
<a href="#logo" >logo</a>
|
|
146
190
|
</li>
|
|
147
191
|
<li>
|
|
192
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
148
193
|
<span class="modifier">Public</span>
|
|
149
194
|
<span class="modifier">Readonly</span>
|
|
150
195
|
<a href="#src" >src</a>
|
|
151
196
|
</li>
|
|
152
197
|
<li>
|
|
198
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
153
199
|
<span class="modifier">Public</span>
|
|
154
200
|
<span class="modifier">Readonly</span>
|
|
155
201
|
<a href="#width" >width</a>
|
|
@@ -157,14 +203,14 @@
|
|
|
157
203
|
</ul>
|
|
158
204
|
</td>
|
|
159
205
|
</tr>
|
|
206
|
+
</tbody>
|
|
207
|
+
</table>
|
|
160
208
|
|
|
161
209
|
|
|
162
210
|
|
|
163
211
|
|
|
164
212
|
|
|
165
213
|
|
|
166
|
-
</tbody>
|
|
167
|
-
</table>
|
|
168
214
|
</section>
|
|
169
215
|
|
|
170
216
|
|
|
@@ -187,6 +233,12 @@
|
|
|
187
233
|
</span>
|
|
188
234
|
</td>
|
|
189
235
|
</tr>
|
|
236
|
+
<tr>
|
|
237
|
+
<td class="col-md-4">
|
|
238
|
+
<i>Type : </i> <code>unknown</code>
|
|
239
|
+
|
|
240
|
+
</td>
|
|
241
|
+
</tr>
|
|
190
242
|
<tr>
|
|
191
243
|
<td class="col-md-4">
|
|
192
244
|
<i>Default value : </i><code>computed(() => this.logo().height)</code>
|
|
@@ -214,6 +266,12 @@
|
|
|
214
266
|
</span>
|
|
215
267
|
</td>
|
|
216
268
|
</tr>
|
|
269
|
+
<tr>
|
|
270
|
+
<td class="col-md-4">
|
|
271
|
+
<i>Type : </i> <code>unknown</code>
|
|
272
|
+
|
|
273
|
+
</td>
|
|
274
|
+
</tr>
|
|
217
275
|
<tr>
|
|
218
276
|
<td class="col-md-4">
|
|
219
277
|
<i>Default value : </i><code>signal(
|
|
@@ -247,6 +305,12 @@
|
|
|
247
305
|
</span>
|
|
248
306
|
</td>
|
|
249
307
|
</tr>
|
|
308
|
+
<tr>
|
|
309
|
+
<td class="col-md-4">
|
|
310
|
+
<i>Type : </i> <code>unknown</code>
|
|
311
|
+
|
|
312
|
+
</td>
|
|
313
|
+
</tr>
|
|
250
314
|
<tr>
|
|
251
315
|
<td class="col-md-4">
|
|
252
316
|
<i>Default value : </i><code>computed(() => this.logo().src)</code>
|
|
@@ -274,6 +338,12 @@
|
|
|
274
338
|
</span>
|
|
275
339
|
</td>
|
|
276
340
|
</tr>
|
|
341
|
+
<tr>
|
|
342
|
+
<td class="col-md-4">
|
|
343
|
+
<i>Type : </i> <code>unknown</code>
|
|
344
|
+
|
|
345
|
+
</td>
|
|
346
|
+
</tr>
|
|
277
347
|
<tr>
|
|
278
348
|
<td class="col-md-4">
|
|
279
349
|
<i>Default value : </i><code>computed(() => this.logo().width)</code>
|
|
@@ -372,6 +442,24 @@ export class LogoService {
|
|
|
372
442
|
|
|
373
443
|
<script>
|
|
374
444
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
445
|
+
var updateDarkModeSwitchOffset = function () {
|
|
446
|
+
var content = document.querySelector('.content');
|
|
447
|
+
var scrollbarWidth = 0;
|
|
448
|
+
|
|
449
|
+
if (content) {
|
|
450
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
document.documentElement.style.setProperty(
|
|
454
|
+
'--content-scrollbar-width',
|
|
455
|
+
scrollbarWidth + 'px'
|
|
456
|
+
);
|
|
457
|
+
};
|
|
458
|
+
|
|
459
|
+
updateDarkModeSwitchOffset();
|
|
460
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
461
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
462
|
+
|
|
375
463
|
checkToggle(darkModeState);
|
|
376
464
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
377
465
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -387,14 +475,12 @@ export class LogoService {
|
|
|
387
475
|
<script src="../js/libs/lit-html.js"></script>
|
|
388
476
|
|
|
389
477
|
<script src="../js/menu-wc.js" defer></script>
|
|
390
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
391
478
|
|
|
392
479
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
393
480
|
|
|
394
481
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
395
482
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
396
483
|
<script src="../js/libs/promise.min.js"></script>
|
|
397
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
398
484
|
|
|
399
485
|
<script src="../js/compodoc.js"></script>
|
|
400
486
|
|