@rxap/layout 21.0.1 → 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 +41 -0
- package/compodoc/architecture.html +222 -0
- package/compodoc/changelog.html +85 -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 +224 -60
- 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 +2035 -697
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +44 -44
- 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/types/rxap-layout.d.ts +508 -507
|
@@ -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
|
SettingsButtonComponent</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/settings-button/settings-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/settings-button/settings-button.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -133,6 +160,10 @@
|
|
|
133
160
|
<table class="table table-sm table-hover metadata">
|
|
134
161
|
<tbody>
|
|
135
162
|
|
|
163
|
+
<tr>
|
|
164
|
+
<td class="col-md-3">changeDetection</td>
|
|
165
|
+
<td class="col-md-9"><code>ChangeDetectionStrategy.OnPush</code></td>
|
|
166
|
+
</tr>
|
|
136
167
|
|
|
137
168
|
|
|
138
169
|
|
|
@@ -153,13 +184,20 @@
|
|
|
153
184
|
<tr>
|
|
154
185
|
<td class="col-md-3">imports</td>
|
|
155
186
|
<td class="col-md-9">
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
187
|
+
<div> <code>MatIconButton</code>
|
|
188
|
+
</div>
|
|
189
|
+
<div> <code>MatIcon</code>
|
|
190
|
+
</div>
|
|
191
|
+
<div> <code>MatMenu</code>
|
|
192
|
+
</div>
|
|
193
|
+
<div> <code>MatMenuTrigger</code>
|
|
194
|
+
</div>
|
|
195
|
+
<div> <code>MatMenuItem</code>
|
|
196
|
+
</div>
|
|
197
|
+
<div> <code>CdkPortalOutlet</code>
|
|
198
|
+
</div>
|
|
199
|
+
<div> <code>IconDirective</code>
|
|
200
|
+
</div>
|
|
163
201
|
</td>
|
|
164
202
|
</tr>
|
|
165
203
|
|
|
@@ -170,6 +208,7 @@
|
|
|
170
208
|
|
|
171
209
|
|
|
172
210
|
|
|
211
|
+
|
|
173
212
|
<tr>
|
|
174
213
|
<td class="col-md-3">templateUrl</td>
|
|
175
214
|
<td class="col-md-9"><code>./settings-button.component.html</code></td>
|
|
@@ -186,44 +225,92 @@
|
|
|
186
225
|
</table>
|
|
187
226
|
</section>
|
|
188
227
|
|
|
189
|
-
|
|
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>MatIconButton</code>
|
|
246
|
+
</li>
|
|
247
|
+
<li>
|
|
248
|
+
<code>MatIcon</code>
|
|
249
|
+
</li>
|
|
250
|
+
<li>
|
|
251
|
+
<code>MatMenu</code>
|
|
252
|
+
</li>
|
|
253
|
+
<li>
|
|
254
|
+
<code>MatMenuTrigger</code>
|
|
255
|
+
</li>
|
|
256
|
+
<li>
|
|
257
|
+
<code>MatMenuItem</code>
|
|
258
|
+
</li>
|
|
259
|
+
<li>
|
|
260
|
+
<code>CdkPortalOutlet</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">
|
|
190
272
|
<h3 id="index">Index</h3>
|
|
191
|
-
|
|
192
|
-
|
|
273
|
+
<table class="table table-sm table-bordered index-table">
|
|
274
|
+
<tbody>
|
|
193
275
|
<tr>
|
|
194
|
-
<td class="col-md-
|
|
276
|
+
<td class="col-md-3">
|
|
195
277
|
<h6><b>Properties</b></h6>
|
|
196
278
|
</td>
|
|
197
|
-
|
|
198
|
-
<tr>
|
|
199
|
-
<td class="col-md-4">
|
|
279
|
+
<td class="col-md-9">
|
|
200
280
|
<ul class="index-list">
|
|
201
281
|
<li>
|
|
282
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
202
283
|
<span class="modifier">Public</span>
|
|
203
284
|
<span class="modifier">Readonly</span>
|
|
204
285
|
<a href="#availableThemes" >availableThemes</a>
|
|
205
286
|
</li>
|
|
206
287
|
<li>
|
|
288
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
207
289
|
<span class="modifier">Public</span>
|
|
208
290
|
<span class="modifier">Readonly</span>
|
|
209
291
|
<a href="#availableTypographies" >availableTypographies</a>
|
|
210
292
|
</li>
|
|
211
293
|
<li>
|
|
294
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
212
295
|
<a href="#customItemComponents" >customItemComponents</a>
|
|
213
296
|
</li>
|
|
214
297
|
<li>
|
|
298
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
215
299
|
<a href="#customItems" >customItems</a>
|
|
216
300
|
</li>
|
|
217
301
|
<li>
|
|
302
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
218
303
|
<span class="modifier">Protected</span>
|
|
219
304
|
<span class="modifier">Readonly</span>
|
|
220
305
|
<a href="#injector" >injector</a>
|
|
221
306
|
</li>
|
|
222
307
|
<li>
|
|
308
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
223
309
|
<span class="modifier">Public</span>
|
|
224
310
|
<a href="#isDevMode" >isDevMode</a>
|
|
225
311
|
</li>
|
|
226
312
|
<li>
|
|
313
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
227
314
|
<span class="modifier">Public</span>
|
|
228
315
|
<span class="modifier">Readonly</span>
|
|
229
316
|
<a href="#theme" >theme</a>
|
|
@@ -231,55 +318,67 @@
|
|
|
231
318
|
</ul>
|
|
232
319
|
</td>
|
|
233
320
|
</tr>
|
|
321
|
+
</tbody>
|
|
322
|
+
</table>
|
|
234
323
|
|
|
324
|
+
<table class="table table-sm table-bordered index-table">
|
|
325
|
+
<tbody>
|
|
235
326
|
<tr>
|
|
236
|
-
<td class="col-md-
|
|
327
|
+
<td class="col-md-3">
|
|
237
328
|
<h6><b>Methods</b></h6>
|
|
238
329
|
</td>
|
|
239
|
-
|
|
240
|
-
<tr>
|
|
241
|
-
<td class="col-md-4">
|
|
330
|
+
<td class="col-md-9">
|
|
242
331
|
<ul class="index-list">
|
|
243
332
|
<li>
|
|
333
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
244
334
|
<a href="#clickItem" >clickItem</a>
|
|
245
335
|
</li>
|
|
246
336
|
<li>
|
|
337
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
247
338
|
<a href="#previewDensity" >previewDensity</a>
|
|
248
339
|
</li>
|
|
249
340
|
<li>
|
|
341
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
250
342
|
<a href="#previewTheme" >previewTheme</a>
|
|
251
343
|
</li>
|
|
252
344
|
<li>
|
|
345
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
253
346
|
<a href="#previewTypography" >previewTypography</a>
|
|
254
347
|
</li>
|
|
255
348
|
<li>
|
|
349
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
256
350
|
<a href="#restoreDensity" >restoreDensity</a>
|
|
257
351
|
</li>
|
|
258
352
|
<li>
|
|
353
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
259
354
|
<a href="#restoreTheme" >restoreTheme</a>
|
|
260
355
|
</li>
|
|
261
356
|
<li>
|
|
357
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
262
358
|
<a href="#restoreTypography" >restoreTypography</a>
|
|
263
359
|
</li>
|
|
264
360
|
<li>
|
|
361
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
265
362
|
<a href="#setDensity" >setDensity</a>
|
|
266
363
|
</li>
|
|
267
364
|
<li>
|
|
365
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
268
366
|
<a href="#setTheme" >setTheme</a>
|
|
269
367
|
</li>
|
|
270
368
|
<li>
|
|
369
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
271
370
|
<a href="#setTypography" >setTypography</a>
|
|
272
371
|
</li>
|
|
273
372
|
</ul>
|
|
274
373
|
</td>
|
|
275
374
|
</tr>
|
|
375
|
+
</tbody>
|
|
376
|
+
</table>
|
|
276
377
|
|
|
277
378
|
|
|
278
379
|
|
|
279
380
|
|
|
280
381
|
|
|
281
|
-
</tbody>
|
|
282
|
-
</table>
|
|
283
382
|
</section>
|
|
284
383
|
|
|
285
384
|
|
|
@@ -312,8 +411,8 @@
|
|
|
312
411
|
|
|
313
412
|
<tr>
|
|
314
413
|
<td class="col-md-4">
|
|
315
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
316
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
414
|
+
<div class="io-line">Defined in <a href="" data-line="128"
|
|
415
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:128</a></div>
|
|
317
416
|
</td>
|
|
318
417
|
</tr>
|
|
319
418
|
|
|
@@ -379,8 +478,8 @@
|
|
|
379
478
|
|
|
380
479
|
<tr>
|
|
381
480
|
<td class="col-md-4">
|
|
382
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
383
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
481
|
+
<div class="io-line">Defined in <a href="" data-line="92"
|
|
482
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:92</a></div>
|
|
384
483
|
</td>
|
|
385
484
|
</tr>
|
|
386
485
|
|
|
@@ -446,8 +545,8 @@
|
|
|
446
545
|
|
|
447
546
|
<tr>
|
|
448
547
|
<td class="col-md-4">
|
|
449
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
450
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
548
|
+
<div class="io-line">Defined in <a href="" data-line="116"
|
|
549
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:116</a></div>
|
|
451
550
|
</td>
|
|
452
551
|
</tr>
|
|
453
552
|
|
|
@@ -513,8 +612,8 @@
|
|
|
513
612
|
|
|
514
613
|
<tr>
|
|
515
614
|
<td class="col-md-4">
|
|
516
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
517
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
615
|
+
<div class="io-line">Defined in <a href="" data-line="104"
|
|
616
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:104</a></div>
|
|
518
617
|
</td>
|
|
519
618
|
</tr>
|
|
520
619
|
|
|
@@ -580,8 +679,8 @@
|
|
|
580
679
|
|
|
581
680
|
<tr>
|
|
582
681
|
<td class="col-md-4">
|
|
583
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
584
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
682
|
+
<div class="io-line">Defined in <a href="" data-line="96"
|
|
683
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:96</a></div>
|
|
585
684
|
</td>
|
|
586
685
|
</tr>
|
|
587
686
|
|
|
@@ -617,8 +716,8 @@
|
|
|
617
716
|
|
|
618
717
|
<tr>
|
|
619
718
|
<td class="col-md-4">
|
|
620
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
621
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
719
|
+
<div class="io-line">Defined in <a href="" data-line="120"
|
|
720
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:120</a></div>
|
|
622
721
|
</td>
|
|
623
722
|
</tr>
|
|
624
723
|
|
|
@@ -654,8 +753,8 @@
|
|
|
654
753
|
|
|
655
754
|
<tr>
|
|
656
755
|
<td class="col-md-4">
|
|
657
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
658
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
756
|
+
<div class="io-line">Defined in <a href="" data-line="108"
|
|
757
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:108</a></div>
|
|
659
758
|
</td>
|
|
660
759
|
</tr>
|
|
661
760
|
|
|
@@ -691,8 +790,8 @@
|
|
|
691
790
|
|
|
692
791
|
<tr>
|
|
693
792
|
<td class="col-md-4">
|
|
694
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
695
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
793
|
+
<div class="io-line">Defined in <a href="" data-line="100"
|
|
794
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:100</a></div>
|
|
696
795
|
</td>
|
|
697
796
|
</tr>
|
|
698
797
|
|
|
@@ -758,8 +857,8 @@
|
|
|
758
857
|
|
|
759
858
|
<tr>
|
|
760
859
|
<td class="col-md-4">
|
|
761
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
762
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
860
|
+
<div class="io-line">Defined in <a href="" data-line="124"
|
|
861
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:124</a></div>
|
|
763
862
|
</td>
|
|
764
863
|
</tr>
|
|
765
864
|
|
|
@@ -825,8 +924,8 @@
|
|
|
825
924
|
|
|
826
925
|
<tr>
|
|
827
926
|
<td class="col-md-4">
|
|
828
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
829
|
-
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:
|
|
927
|
+
<div class="io-line">Defined in <a href="" data-line="112"
|
|
928
|
+
class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:112</a></div>
|
|
830
929
|
</td>
|
|
831
930
|
</tr>
|
|
832
931
|
|
|
@@ -873,6 +972,7 @@
|
|
|
873
972
|
</tbody>
|
|
874
973
|
</table>
|
|
875
974
|
</section>
|
|
975
|
+
|
|
876
976
|
<section data-compodoc="block-properties">
|
|
877
977
|
|
|
878
978
|
<h3 id="inputs">
|
|
@@ -891,6 +991,12 @@
|
|
|
891
991
|
</span>
|
|
892
992
|
</td>
|
|
893
993
|
</tr>
|
|
994
|
+
<tr>
|
|
995
|
+
<td class="col-md-4">
|
|
996
|
+
<i>Type : </i> <code>unknown</code>
|
|
997
|
+
|
|
998
|
+
</td>
|
|
999
|
+
</tr>
|
|
894
1000
|
<tr>
|
|
895
1001
|
<td class="col-md-4">
|
|
896
1002
|
<i>Default value : </i><code>this.theme.getAvailableThemes()</code>
|
|
@@ -898,7 +1004,7 @@
|
|
|
898
1004
|
</tr>
|
|
899
1005
|
<tr>
|
|
900
1006
|
<td class="col-md-4">
|
|
901
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1007
|
+
<div class="io-line">Defined in <a href="" data-line="89" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:89</a></div>
|
|
902
1008
|
</td>
|
|
903
1009
|
</tr>
|
|
904
1010
|
|
|
@@ -918,6 +1024,12 @@
|
|
|
918
1024
|
</span>
|
|
919
1025
|
</td>
|
|
920
1026
|
</tr>
|
|
1027
|
+
<tr>
|
|
1028
|
+
<td class="col-md-4">
|
|
1029
|
+
<i>Type : </i> <code>unknown</code>
|
|
1030
|
+
|
|
1031
|
+
</td>
|
|
1032
|
+
</tr>
|
|
921
1033
|
<tr>
|
|
922
1034
|
<td class="col-md-4">
|
|
923
1035
|
<i>Default value : </i><code>this.theme.getAvailableTypographies()</code>
|
|
@@ -925,7 +1037,7 @@
|
|
|
925
1037
|
</tr>
|
|
926
1038
|
<tr>
|
|
927
1039
|
<td class="col-md-4">
|
|
928
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1040
|
+
<div class="io-line">Defined in <a href="" data-line="86" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:86</a></div>
|
|
929
1041
|
</td>
|
|
930
1042
|
</tr>
|
|
931
1043
|
|
|
@@ -959,7 +1071,7 @@
|
|
|
959
1071
|
</tr>
|
|
960
1072
|
<tr>
|
|
961
1073
|
<td class="col-md-4">
|
|
962
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1074
|
+
<div class="io-line">Defined in <a href="" data-line="73" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:73</a></div>
|
|
963
1075
|
</td>
|
|
964
1076
|
</tr>
|
|
965
1077
|
|
|
@@ -977,6 +1089,12 @@
|
|
|
977
1089
|
</span>
|
|
978
1090
|
</td>
|
|
979
1091
|
</tr>
|
|
1092
|
+
<tr>
|
|
1093
|
+
<td class="col-md-4">
|
|
1094
|
+
<i>Type : </i> <code>unknown</code>
|
|
1095
|
+
|
|
1096
|
+
</td>
|
|
1097
|
+
</tr>
|
|
980
1098
|
<tr>
|
|
981
1099
|
<td class="col-md-4">
|
|
982
1100
|
<i>Default value : </i><code>signal(coerceArray(inject(RXAP_SETTINGS_MENU_ITEM, { optional: true })))</code>
|
|
@@ -984,7 +1102,7 @@
|
|
|
984
1102
|
</tr>
|
|
985
1103
|
<tr>
|
|
986
1104
|
<td class="col-md-4">
|
|
987
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1105
|
+
<div class="io-line">Defined in <a href="" data-line="78" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:78</a></div>
|
|
988
1106
|
</td>
|
|
989
1107
|
</tr>
|
|
990
1108
|
|
|
@@ -1004,6 +1122,12 @@
|
|
|
1004
1122
|
</span>
|
|
1005
1123
|
</td>
|
|
1006
1124
|
</tr>
|
|
1125
|
+
<tr>
|
|
1126
|
+
<td class="col-md-4">
|
|
1127
|
+
<i>Type : </i> <code>unknown</code>
|
|
1128
|
+
|
|
1129
|
+
</td>
|
|
1130
|
+
</tr>
|
|
1007
1131
|
<tr>
|
|
1008
1132
|
<td class="col-md-4">
|
|
1009
1133
|
<i>Default value : </i><code>inject(Injector)</code>
|
|
@@ -1011,7 +1135,7 @@
|
|
|
1011
1135
|
</tr>
|
|
1012
1136
|
<tr>
|
|
1013
1137
|
<td class="col-md-4">
|
|
1014
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1138
|
+
<div class="io-line">Defined in <a href="" data-line="71" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:71</a></div>
|
|
1015
1139
|
</td>
|
|
1016
1140
|
</tr>
|
|
1017
1141
|
|
|
@@ -1030,6 +1154,12 @@
|
|
|
1030
1154
|
</span>
|
|
1031
1155
|
</td>
|
|
1032
1156
|
</tr>
|
|
1157
|
+
<tr>
|
|
1158
|
+
<td class="col-md-4">
|
|
1159
|
+
<i>Type : </i> <code>unknown</code>
|
|
1160
|
+
|
|
1161
|
+
</td>
|
|
1162
|
+
</tr>
|
|
1033
1163
|
<tr>
|
|
1034
1164
|
<td class="col-md-4">
|
|
1035
1165
|
<i>Default value : </i><code>isDevMode()</code>
|
|
@@ -1037,7 +1167,7 @@
|
|
|
1037
1167
|
</tr>
|
|
1038
1168
|
<tr>
|
|
1039
1169
|
<td class="col-md-4">
|
|
1040
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1170
|
+
<div class="io-line">Defined in <a href="" data-line="68" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:68</a></div>
|
|
1041
1171
|
</td>
|
|
1042
1172
|
</tr>
|
|
1043
1173
|
|
|
@@ -1057,6 +1187,12 @@
|
|
|
1057
1187
|
</span>
|
|
1058
1188
|
</td>
|
|
1059
1189
|
</tr>
|
|
1190
|
+
<tr>
|
|
1191
|
+
<td class="col-md-4">
|
|
1192
|
+
<i>Type : </i> <code>unknown</code>
|
|
1193
|
+
|
|
1194
|
+
</td>
|
|
1195
|
+
</tr>
|
|
1060
1196
|
<tr>
|
|
1061
1197
|
<td class="col-md-4">
|
|
1062
1198
|
<i>Default value : </i><code>inject(ThemeService)</code>
|
|
@@ -1064,7 +1200,7 @@
|
|
|
1064
1200
|
</tr>
|
|
1065
1201
|
<tr>
|
|
1066
1202
|
<td class="col-md-4">
|
|
1067
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
1203
|
+
<div class="io-line">Defined in <a href="" data-line="70" class="link-to-prism">src/lib/default-header/settings-button/settings-button.component.ts:70</a></div>
|
|
1068
1204
|
</td>
|
|
1069
1205
|
</tr>
|
|
1070
1206
|
|
|
@@ -1090,6 +1226,7 @@ import {
|
|
|
1090
1226
|
runInInjectionContext,
|
|
1091
1227
|
Signal,
|
|
1092
1228
|
signal,
|
|
1229
|
+
ChangeDetectionStrategy
|
|
1093
1230
|
} from '@angular/core';
|
|
1094
1231
|
import { toSignal } from '@angular/core/rxjs-interop';
|
|
1095
1232
|
import { MatIconButton } from '@angular/material/button';
|
|
@@ -1115,11 +1252,22 @@ import {
|
|
|
1115
1252
|
RXAP_SETTINGS_MENU_ITEM_COMPONENT,
|
|
1116
1253
|
} from '../../tokens';
|
|
1117
1254
|
import { SettingsMenuItem } from '../../types';
|
|
1118
|
-
|
|
1255
|
+
import { Showcase } from '@ng-prism/core';
|
|
1256
|
+
|
|
1257
|
+
@Showcase({
|
|
1258
|
+
title: 'Settings Button',
|
|
1259
|
+
category: 'Layout',
|
|
1260
|
+
description: 'Icon button that opens the settings menu of the header: dark mode, theme, density, typography and custom menu items.',
|
|
1261
|
+
status: 'stable',
|
|
1262
|
+
variants: [
|
|
1263
|
+
{ name: 'Default' },
|
|
1264
|
+
],
|
|
1265
|
+
})
|
|
1119
1266
|
@Component({
|
|
1120
1267
|
selector: 'rxap-settings-button',
|
|
1121
1268
|
templateUrl: './settings-button.component.html',
|
|
1122
1269
|
styleUrls: ['./settings-button.component.scss'],
|
|
1270
|
+
changeDetection: ChangeDetectionStrategy.OnPush,
|
|
1123
1271
|
imports: [
|
|
1124
1272
|
MatIconButton,
|
|
1125
1273
|
MatIcon,
|
|
@@ -1319,7 +1467,7 @@ export class SettingsButtonComponent {
|
|
|
1319
1467
|
|
|
1320
1468
|
</div>
|
|
1321
1469
|
|
|
1322
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
1470
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
1323
1471
|
<script src="../js/libs/htmlparser.js"></script>
|
|
1324
1472
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
1325
1473
|
<script>
|
|
@@ -1378,6 +1526,24 @@ export class SettingsButtonComponent {
|
|
|
1378
1526
|
|
|
1379
1527
|
<script>
|
|
1380
1528
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
1529
|
+
var updateDarkModeSwitchOffset = function () {
|
|
1530
|
+
var content = document.querySelector('.content');
|
|
1531
|
+
var scrollbarWidth = 0;
|
|
1532
|
+
|
|
1533
|
+
if (content) {
|
|
1534
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
1535
|
+
}
|
|
1536
|
+
|
|
1537
|
+
document.documentElement.style.setProperty(
|
|
1538
|
+
'--content-scrollbar-width',
|
|
1539
|
+
scrollbarWidth + 'px'
|
|
1540
|
+
);
|
|
1541
|
+
};
|
|
1542
|
+
|
|
1543
|
+
updateDarkModeSwitchOffset();
|
|
1544
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
1545
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
1546
|
+
|
|
1381
1547
|
checkToggle(darkModeState);
|
|
1382
1548
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
1383
1549
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -1393,14 +1559,12 @@ export class SettingsButtonComponent {
|
|
|
1393
1559
|
<script src="../js/libs/lit-html.js"></script>
|
|
1394
1560
|
|
|
1395
1561
|
<script src="../js/menu-wc.js" defer></script>
|
|
1396
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
1397
1562
|
|
|
1398
1563
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
1399
1564
|
|
|
1400
1565
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
1401
1566
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
1402
1567
|
<script src="../js/libs/promise.min.js"></script>
|
|
1403
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
1404
1568
|
|
|
1405
1569
|
<script src="../js/compodoc.js"></script>
|
|
1406
1570
|
|