@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">
|
|
@@ -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
|
NavigationProgressBarComponent</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/navigation-progress-bar/navigation-progress-bar.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/navigation-progress-bar/navigation-progress-bar.component.ts</code>
|
|
124
|
-
</p>
|
|
125
|
-
|
|
126
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
127
154
|
|
|
128
155
|
|
|
129
156
|
|
|
@@ -157,7 +184,8 @@
|
|
|
157
184
|
<tr>
|
|
158
185
|
<td class="col-md-3">imports</td>
|
|
159
186
|
<td class="col-md-9">
|
|
160
|
-
|
|
187
|
+
<div> <code>MatProgressBar</code>
|
|
188
|
+
</div>
|
|
161
189
|
</td>
|
|
162
190
|
</tr>
|
|
163
191
|
|
|
@@ -168,6 +196,7 @@
|
|
|
168
196
|
|
|
169
197
|
|
|
170
198
|
|
|
199
|
+
|
|
171
200
|
<tr>
|
|
172
201
|
<td class="col-md-3">templateUrl</td>
|
|
173
202
|
<td class="col-md-9"><code>./navigation-progress-bar.component.html</code></td>
|
|
@@ -184,24 +213,52 @@
|
|
|
184
213
|
</table>
|
|
185
214
|
</section>
|
|
186
215
|
|
|
187
|
-
|
|
216
|
+
<section data-compodoc="block-relationships">
|
|
217
|
+
<h3>Relationships</h3>
|
|
218
|
+
|
|
219
|
+
<div class="row pt-3">
|
|
220
|
+
<div class="col-sm-6">
|
|
221
|
+
<h4>Used by</h4>
|
|
222
|
+
<ul class="list-unstyled relationships-list">
|
|
223
|
+
<li>
|
|
224
|
+
<code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
|
|
225
|
+
</li>
|
|
226
|
+
<li>
|
|
227
|
+
<code><a href="../components/MinimalLayoutComponent.html" target="_self" >MinimalLayoutComponent</a></code>
|
|
228
|
+
</li>
|
|
229
|
+
</ul>
|
|
230
|
+
</div>
|
|
231
|
+
|
|
232
|
+
<div class="col-sm-6">
|
|
233
|
+
<h4>Depends on</h4>
|
|
234
|
+
<ul class="list-unstyled relationships-list">
|
|
235
|
+
<li>
|
|
236
|
+
<code>MatProgressBar</code>
|
|
237
|
+
</li>
|
|
238
|
+
</ul>
|
|
239
|
+
</div>
|
|
240
|
+
</div>
|
|
241
|
+
</section>
|
|
242
|
+
</div>
|
|
243
|
+
|
|
244
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
188
245
|
<h3 id="index">Index</h3>
|
|
189
|
-
|
|
190
|
-
|
|
246
|
+
<table class="table table-sm table-bordered index-table">
|
|
247
|
+
<tbody>
|
|
191
248
|
<tr>
|
|
192
|
-
<td class="col-md-
|
|
249
|
+
<td class="col-md-3">
|
|
193
250
|
<h6><b>Properties</b></h6>
|
|
194
251
|
</td>
|
|
195
|
-
|
|
196
|
-
<tr>
|
|
197
|
-
<td class="col-md-4">
|
|
252
|
+
<td class="col-md-9">
|
|
198
253
|
<ul class="index-list">
|
|
199
254
|
<li>
|
|
255
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
200
256
|
<span class="modifier">Public</span>
|
|
201
257
|
<span class="modifier">Readonly</span>
|
|
202
258
|
<a href="#navigating" >navigating</a>
|
|
203
259
|
</li>
|
|
204
260
|
<li>
|
|
261
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
205
262
|
<span class="modifier">Public</span>
|
|
206
263
|
<span class="modifier">Readonly</span>
|
|
207
264
|
<a href="#router" >router</a>
|
|
@@ -209,14 +266,14 @@
|
|
|
209
266
|
</ul>
|
|
210
267
|
</td>
|
|
211
268
|
</tr>
|
|
269
|
+
</tbody>
|
|
270
|
+
</table>
|
|
212
271
|
|
|
213
272
|
|
|
214
273
|
|
|
215
274
|
|
|
216
275
|
|
|
217
276
|
|
|
218
|
-
</tbody>
|
|
219
|
-
</table>
|
|
220
277
|
</section>
|
|
221
278
|
|
|
222
279
|
|
|
@@ -243,6 +300,12 @@
|
|
|
243
300
|
</span>
|
|
244
301
|
</td>
|
|
245
302
|
</tr>
|
|
303
|
+
<tr>
|
|
304
|
+
<td class="col-md-4">
|
|
305
|
+
<i>Type : </i> <code>unknown</code>
|
|
306
|
+
|
|
307
|
+
</td>
|
|
308
|
+
</tr>
|
|
246
309
|
<tr>
|
|
247
310
|
<td class="col-md-4">
|
|
248
311
|
<i>Default value : </i><code>toSignal(this.router.events.pipe(
|
|
@@ -258,7 +321,7 @@
|
|
|
258
321
|
</tr>
|
|
259
322
|
<tr>
|
|
260
323
|
<td class="col-md-4">
|
|
261
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
324
|
+
<div class="io-line">Defined in <a href="" data-line="43" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:43</a></div>
|
|
262
325
|
</td>
|
|
263
326
|
</tr>
|
|
264
327
|
|
|
@@ -278,6 +341,12 @@
|
|
|
278
341
|
</span>
|
|
279
342
|
</td>
|
|
280
343
|
</tr>
|
|
344
|
+
<tr>
|
|
345
|
+
<td class="col-md-4">
|
|
346
|
+
<i>Type : </i> <code>unknown</code>
|
|
347
|
+
|
|
348
|
+
</td>
|
|
349
|
+
</tr>
|
|
281
350
|
<tr>
|
|
282
351
|
<td class="col-md-4">
|
|
283
352
|
<i>Default value : </i><code>inject(Router)</code>
|
|
@@ -285,7 +354,7 @@
|
|
|
285
354
|
</tr>
|
|
286
355
|
<tr>
|
|
287
356
|
<td class="col-md-4">
|
|
288
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
357
|
+
<div class="io-line">Defined in <a href="" data-line="41" class="link-to-prism">src/lib/navigation-progress-bar/navigation-progress-bar.component.ts:41</a></div>
|
|
289
358
|
</td>
|
|
290
359
|
</tr>
|
|
291
360
|
|
|
@@ -315,7 +384,18 @@ import {
|
|
|
315
384
|
filter,
|
|
316
385
|
map,
|
|
317
386
|
} from 'rxjs/operators';
|
|
318
|
-
|
|
387
|
+
import { Showcase } from '@ng-prism/core';
|
|
388
|
+
|
|
389
|
+
@Showcase({
|
|
390
|
+
title: 'Navigation Progress Bar',
|
|
391
|
+
category: 'Layout',
|
|
392
|
+
description: 'Indeterminate progress bar that is shown while the router navigates. In the styleguide no navigation has completed yet, so the bar is shown.',
|
|
393
|
+
status: 'stable',
|
|
394
|
+
canvasLayout: 'stretch',
|
|
395
|
+
variants: [
|
|
396
|
+
{ name: 'Navigating' },
|
|
397
|
+
],
|
|
398
|
+
})
|
|
319
399
|
@Component({
|
|
320
400
|
selector: 'rxap-navigation-progress-bar',
|
|
321
401
|
templateUrl: './navigation-progress-bar.component.html',
|
|
@@ -378,7 +458,7 @@ export class NavigationProgressBarComponent {
|
|
|
378
458
|
|
|
379
459
|
</div>
|
|
380
460
|
|
|
381
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
461
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
382
462
|
<script src="../js/libs/htmlparser.js"></script>
|
|
383
463
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
384
464
|
<script>
|
|
@@ -437,6 +517,24 @@ export class NavigationProgressBarComponent {
|
|
|
437
517
|
|
|
438
518
|
<script>
|
|
439
519
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
520
|
+
var updateDarkModeSwitchOffset = function () {
|
|
521
|
+
var content = document.querySelector('.content');
|
|
522
|
+
var scrollbarWidth = 0;
|
|
523
|
+
|
|
524
|
+
if (content) {
|
|
525
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
526
|
+
}
|
|
527
|
+
|
|
528
|
+
document.documentElement.style.setProperty(
|
|
529
|
+
'--content-scrollbar-width',
|
|
530
|
+
scrollbarWidth + 'px'
|
|
531
|
+
);
|
|
532
|
+
};
|
|
533
|
+
|
|
534
|
+
updateDarkModeSwitchOffset();
|
|
535
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
536
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
537
|
+
|
|
440
538
|
checkToggle(darkModeState);
|
|
441
539
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
442
540
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -452,14 +550,12 @@ export class NavigationProgressBarComponent {
|
|
|
452
550
|
<script src="../js/libs/lit-html.js"></script>
|
|
453
551
|
|
|
454
552
|
<script src="../js/menu-wc.js" defer></script>
|
|
455
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
456
553
|
|
|
457
554
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
458
555
|
|
|
459
556
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
460
557
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
461
558
|
<script src="../js/libs/promise.min.js"></script>
|
|
462
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
463
559
|
|
|
464
560
|
<script src="../js/compodoc.js"></script>
|
|
465
561
|
|
|
@@ -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
|
ReleaseInfoComponent</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/release-info/release-info.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>
|
|
@@ -105,6 +139,10 @@
|
|
|
105
139
|
<a href="#templateData" class="nav-link"
|
|
106
140
|
role="tab" id="templateData-tab" data-bs-toggle="tab" data-link="template">Template</a>
|
|
107
141
|
</li>
|
|
142
|
+
<li class="nav-item">
|
|
143
|
+
<a href="#styleData" class="nav-link"
|
|
144
|
+
role="tab" id="styleData-tab" data-bs-toggle="tab" data-link="style">Styles</a>
|
|
145
|
+
</li>
|
|
108
146
|
<li class="nav-item">
|
|
109
147
|
<a href="#tree" class="nav-link"
|
|
110
148
|
role="tab" id="tree-tab" data-bs-toggle="tab" data-link="dom-tree">DOM Tree</a>
|
|
@@ -112,14 +150,7 @@
|
|
|
112
150
|
</ul>
|
|
113
151
|
|
|
114
152
|
<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/release-info/release-info.component.ts</code>
|
|
120
|
-
</p>
|
|
121
|
-
|
|
122
|
-
|
|
153
|
+
<div class="tab-pane fade active in" id="info">
|
|
123
154
|
|
|
124
155
|
|
|
125
156
|
|
|
@@ -153,10 +184,16 @@
|
|
|
153
184
|
<tr>
|
|
154
185
|
<td class="col-md-3">imports</td>
|
|
155
186
|
<td class="col-md-9">
|
|
156
|
-
|
|
187
|
+
<div> <code>MatButton</code>
|
|
188
|
+
</div>
|
|
157
189
|
</td>
|
|
158
190
|
</tr>
|
|
159
191
|
|
|
192
|
+
<tr>
|
|
193
|
+
<td class="col-md-3">styleUrls</td>
|
|
194
|
+
<td class="col-md-9"><code>./release-info.component.scss</code></td>
|
|
195
|
+
</tr>
|
|
196
|
+
|
|
160
197
|
|
|
161
198
|
|
|
162
199
|
|
|
@@ -180,29 +217,55 @@
|
|
|
180
217
|
</table>
|
|
181
218
|
</section>
|
|
182
219
|
|
|
183
|
-
|
|
220
|
+
<section data-compodoc="block-relationships">
|
|
221
|
+
<h3>Relationships</h3>
|
|
222
|
+
|
|
223
|
+
<div class="row pt-3">
|
|
224
|
+
<div class="col-sm-6">
|
|
225
|
+
<h4>Used by</h4>
|
|
226
|
+
<ul class="list-unstyled relationships-list">
|
|
227
|
+
<li>
|
|
228
|
+
<code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
|
|
229
|
+
</li>
|
|
230
|
+
</ul>
|
|
231
|
+
</div>
|
|
232
|
+
|
|
233
|
+
<div class="col-sm-6">
|
|
234
|
+
<h4>Depends on</h4>
|
|
235
|
+
<ul class="list-unstyled relationships-list">
|
|
236
|
+
<li>
|
|
237
|
+
<code>MatButton</code>
|
|
238
|
+
</li>
|
|
239
|
+
</ul>
|
|
240
|
+
</div>
|
|
241
|
+
</div>
|
|
242
|
+
</section>
|
|
243
|
+
</div>
|
|
244
|
+
|
|
245
|
+
<div class="tab-pane fade " id="api"> <section data-compodoc="block-index">
|
|
184
246
|
<h3 id="index">Index</h3>
|
|
185
|
-
|
|
186
|
-
|
|
247
|
+
<table class="table table-sm table-bordered index-table">
|
|
248
|
+
<tbody>
|
|
187
249
|
<tr>
|
|
188
|
-
<td class="col-md-
|
|
250
|
+
<td class="col-md-3">
|
|
189
251
|
<h6><b>Properties</b></h6>
|
|
190
252
|
</td>
|
|
191
|
-
|
|
192
|
-
<tr>
|
|
193
|
-
<td class="col-md-4">
|
|
253
|
+
<td class="col-md-9">
|
|
194
254
|
<ul class="index-list">
|
|
195
255
|
<li>
|
|
256
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
196
257
|
<span class="modifier">Protected</span>
|
|
197
258
|
<span class="modifier">Readonly</span>
|
|
198
259
|
<a href="#dialog" >dialog</a>
|
|
199
260
|
</li>
|
|
200
261
|
<li>
|
|
262
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
201
263
|
<span class="modifier">Public</span>
|
|
202
264
|
<span class="modifier">Readonly</span>
|
|
203
265
|
<a href="#modules" >modules</a>
|
|
204
266
|
</li>
|
|
205
267
|
<li>
|
|
268
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
206
269
|
<span class="modifier">Public</span>
|
|
207
270
|
<span class="modifier">Readonly</span>
|
|
208
271
|
<a href="#release" >release</a>
|
|
@@ -210,28 +273,31 @@
|
|
|
210
273
|
</ul>
|
|
211
274
|
</td>
|
|
212
275
|
</tr>
|
|
276
|
+
</tbody>
|
|
277
|
+
</table>
|
|
213
278
|
|
|
279
|
+
<table class="table table-sm table-bordered index-table">
|
|
280
|
+
<tbody>
|
|
214
281
|
<tr>
|
|
215
|
-
<td class="col-md-
|
|
282
|
+
<td class="col-md-3">
|
|
216
283
|
<h6><b>Methods</b></h6>
|
|
217
284
|
</td>
|
|
218
|
-
|
|
219
|
-
<tr>
|
|
220
|
-
<td class="col-md-4">
|
|
285
|
+
<td class="col-md-9">
|
|
221
286
|
<ul class="index-list">
|
|
222
287
|
<li>
|
|
288
|
+
<span class="reference-badge reference-badge--method" aria-hidden="true">M</span>
|
|
223
289
|
<a href="#openEnvironmentInfo" >openEnvironmentInfo</a>
|
|
224
290
|
</li>
|
|
225
291
|
</ul>
|
|
226
292
|
</td>
|
|
227
293
|
</tr>
|
|
294
|
+
</tbody>
|
|
295
|
+
</table>
|
|
228
296
|
|
|
229
297
|
|
|
230
298
|
|
|
231
299
|
|
|
232
300
|
|
|
233
|
-
</tbody>
|
|
234
|
-
</table>
|
|
235
301
|
</section>
|
|
236
302
|
|
|
237
303
|
|
|
@@ -264,8 +330,8 @@
|
|
|
264
330
|
|
|
265
331
|
<tr>
|
|
266
332
|
<td class="col-md-4">
|
|
267
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
268
|
-
class="link-to-prism">src/lib/release-info/release-info.component.ts:
|
|
333
|
+
<div class="io-line">Defined in <a href="" data-line="42"
|
|
334
|
+
class="link-to-prism">src/lib/release-info/release-info.component.ts:42</a></div>
|
|
269
335
|
</td>
|
|
270
336
|
</tr>
|
|
271
337
|
|
|
@@ -282,6 +348,7 @@
|
|
|
282
348
|
</tbody>
|
|
283
349
|
</table>
|
|
284
350
|
</section>
|
|
351
|
+
|
|
285
352
|
<section data-compodoc="block-properties">
|
|
286
353
|
|
|
287
354
|
<h3 id="inputs">
|
|
@@ -300,6 +367,12 @@
|
|
|
300
367
|
</span>
|
|
301
368
|
</td>
|
|
302
369
|
</tr>
|
|
370
|
+
<tr>
|
|
371
|
+
<td class="col-md-4">
|
|
372
|
+
<i>Type : </i> <code>unknown</code>
|
|
373
|
+
|
|
374
|
+
</td>
|
|
375
|
+
</tr>
|
|
303
376
|
<tr>
|
|
304
377
|
<td class="col-md-4">
|
|
305
378
|
<i>Default value : </i><code>inject(MatDialog)</code>
|
|
@@ -307,7 +380,7 @@
|
|
|
307
380
|
</tr>
|
|
308
381
|
<tr>
|
|
309
382
|
<td class="col-md-4">
|
|
310
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
383
|
+
<div class="io-line">Defined in <a href="" data-line="40" class="link-to-prism">src/lib/release-info/release-info.component.ts:40</a></div>
|
|
311
384
|
</td>
|
|
312
385
|
</tr>
|
|
313
386
|
|
|
@@ -327,6 +400,12 @@
|
|
|
327
400
|
</span>
|
|
328
401
|
</td>
|
|
329
402
|
</tr>
|
|
403
|
+
<tr>
|
|
404
|
+
<td class="col-md-4">
|
|
405
|
+
<i>Type : </i> <code>unknown</code>
|
|
406
|
+
|
|
407
|
+
</td>
|
|
408
|
+
</tr>
|
|
330
409
|
<tr>
|
|
331
410
|
<td class="col-md-4">
|
|
332
411
|
<i>Default value : </i><code>coerceArray(inject(RXAP_RELEASE_INFO_MODULE, { optional: true }))</code>
|
|
@@ -334,7 +413,7 @@
|
|
|
334
413
|
</tr>
|
|
335
414
|
<tr>
|
|
336
415
|
<td class="col-md-4">
|
|
337
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
416
|
+
<div class="io-line">Defined in <a href="" data-line="37" class="link-to-prism">src/lib/release-info/release-info.component.ts:37</a></div>
|
|
338
417
|
</td>
|
|
339
418
|
</tr>
|
|
340
419
|
|
|
@@ -354,6 +433,12 @@
|
|
|
354
433
|
</span>
|
|
355
434
|
</td>
|
|
356
435
|
</tr>
|
|
436
|
+
<tr>
|
|
437
|
+
<td class="col-md-4">
|
|
438
|
+
<i>Type : </i> <code>unknown</code>
|
|
439
|
+
|
|
440
|
+
</td>
|
|
441
|
+
</tr>
|
|
357
442
|
<tr>
|
|
358
443
|
<td class="col-md-4">
|
|
359
444
|
<i>Default value : </i><code>DetermineReleaseName(inject(RXAP_ENVIRONMENT))</code>
|
|
@@ -361,7 +446,7 @@
|
|
|
361
446
|
</tr>
|
|
362
447
|
<tr>
|
|
363
448
|
<td class="col-md-4">
|
|
364
|
-
<div class="io-line">Defined in <a href="" data-line="
|
|
449
|
+
<div class="io-line">Defined in <a href="" data-line="38" class="link-to-prism">src/lib/release-info/release-info.component.ts:38</a></div>
|
|
365
450
|
</td>
|
|
366
451
|
</tr>
|
|
367
452
|
|
|
@@ -388,7 +473,17 @@ import {
|
|
|
388
473
|
} from '@rxap/environment';
|
|
389
474
|
import { RXAP_RELEASE_INFO_MODULE } from '../tokens';
|
|
390
475
|
import { coerceArray } from '@rxap/utilities';
|
|
391
|
-
|
|
476
|
+
import { Showcase } from '@ng-prism/core';
|
|
477
|
+
|
|
478
|
+
@Showcase({
|
|
479
|
+
title: 'Release Info',
|
|
480
|
+
category: 'Layout',
|
|
481
|
+
description: 'Shows the name of the release and a table with the version and hash of the configured modules. The release name opens the environment dialog. The values are provided with demo data by the styleguide host.',
|
|
482
|
+
status: 'stable',
|
|
483
|
+
variants: [
|
|
484
|
+
{ name: 'Default' },
|
|
485
|
+
],
|
|
486
|
+
})
|
|
392
487
|
@Component({
|
|
393
488
|
selector: 'rxap-release-info',
|
|
394
489
|
imports: [
|
|
@@ -440,6 +535,12 @@ export class ReleaseInfoComponent {
|
|
|
440
535
|
</code></pre>
|
|
441
536
|
</div>
|
|
442
537
|
|
|
538
|
+
<div class="tab-pane fade " id="styleData">
|
|
539
|
+
<p class="comment">
|
|
540
|
+
<code>./release-info.component.scss</code>
|
|
541
|
+
</p>
|
|
542
|
+
<pre class="line-numbers"><code class="language-scss"></code></pre>
|
|
543
|
+
</div>
|
|
443
544
|
|
|
444
545
|
<div class="tab-pane fade " id="tree">
|
|
445
546
|
<div id="tree-container"></div>
|
|
@@ -462,7 +563,7 @@ export class ReleaseInfoComponent {
|
|
|
462
563
|
|
|
463
564
|
</div>
|
|
464
565
|
|
|
465
|
-
<script src="../js/libs/vis.min.js"></script>
|
|
566
|
+
<script src="../js/libs/vis-network.min.js"></script>
|
|
466
567
|
<script src="../js/libs/htmlparser.js"></script>
|
|
467
568
|
<script src="../js/libs/deep-iterator.js"></script>
|
|
468
569
|
<script>
|
|
@@ -521,6 +622,24 @@ export class ReleaseInfoComponent {
|
|
|
521
622
|
|
|
522
623
|
<script>
|
|
523
624
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
625
|
+
var updateDarkModeSwitchOffset = function () {
|
|
626
|
+
var content = document.querySelector('.content');
|
|
627
|
+
var scrollbarWidth = 0;
|
|
628
|
+
|
|
629
|
+
if (content) {
|
|
630
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
631
|
+
}
|
|
632
|
+
|
|
633
|
+
document.documentElement.style.setProperty(
|
|
634
|
+
'--content-scrollbar-width',
|
|
635
|
+
scrollbarWidth + 'px'
|
|
636
|
+
);
|
|
637
|
+
};
|
|
638
|
+
|
|
639
|
+
updateDarkModeSwitchOffset();
|
|
640
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
641
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
642
|
+
|
|
524
643
|
checkToggle(darkModeState);
|
|
525
644
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
526
645
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -536,14 +655,12 @@ export class ReleaseInfoComponent {
|
|
|
536
655
|
<script src="../js/libs/lit-html.js"></script>
|
|
537
656
|
|
|
538
657
|
<script src="../js/menu-wc.js" defer></script>
|
|
539
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
540
658
|
|
|
541
659
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
542
660
|
|
|
543
661
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
544
662
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
545
663
|
<script src="../js/libs/promise.min.js"></script>
|
|
546
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
547
664
|
|
|
548
665
|
<script src="../js/compodoc.js"></script>
|
|
549
666
|
|