@rxap/layout 22.0.0-dev.0 → 22.0.0-dev.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +54 -0
- package/README.md +5 -3
- package/compodoc/{directives/FooterDirective-1.html → architecture.html} +68 -139
- package/compodoc/changelog.html +98 -5
- package/compodoc/components/AppsButtonComponent.html +174 -40
- package/compodoc/components/BaseLayoutComponent.html +115 -23
- package/compodoc/components/DefaultHeaderComponent.html +205 -36
- package/compodoc/components/FooterComponent.html +142 -27
- package/compodoc/components/HeaderComponent.html +165 -61
- package/compodoc/components/LayoutComponent.html +194 -44
- package/compodoc/components/MinimalLayoutComponent.html +120 -26
- package/compodoc/components/NavigationComponent.html +220 -133
- package/compodoc/components/NavigationItemComponent.html +248 -115
- package/compodoc/components/NavigationProgressBarComponent.html +121 -25
- package/compodoc/components/ReleaseInfoComponent.html +149 -32
- package/compodoc/components/SettingsButtonComponent.html +220 -62
- package/compodoc/components/SidenavComponent.html +222 -56
- package/compodoc/components/SidenavToggleButtonComponent.html +117 -27
- package/compodoc/components/UserProfileIconComponent.html +155 -66
- package/compodoc/dependencies.html +152 -49
- package/compodoc/directives/FooterDirective.html +74 -20
- package/compodoc/directives/HeaderDirective.html +74 -20
- package/compodoc/directives/SidenavFooterDirective.html +91 -19
- package/compodoc/directives/SidenavHeaderDirective.html +72 -19
- package/compodoc/index.html +50 -8
- package/compodoc/injectables/DefaultHeaderService.html +91 -25
- package/compodoc/injectables/ExternalAppsService.html +123 -21
- package/compodoc/injectables/FooterService.html +91 -25
- package/compodoc/injectables/HeaderService.html +91 -25
- package/compodoc/injectables/LayoutService.html +91 -21
- package/compodoc/injectables/LogoService.html +103 -17
- package/compodoc/injectables/NavigationService.html +84 -24
- package/compodoc/interfaces/NavigationDividerItem.html +155 -100
- package/compodoc/interfaces/NavigationInsertItem.html +114 -64
- package/compodoc/interfaces/NavigationItem.html +305 -216
- package/compodoc/interfaces/NavigationStatus.html +80 -35
- package/compodoc/interfaces/ReleaseInfoModule.html +197 -137
- package/compodoc/interfaces/SettingsMenuItem.html +197 -137
- package/compodoc/js/architecture-graph.js +288 -0
- package/compodoc/js/libs/bootstrap-native.js +4 -2
- package/compodoc/js/libs/jszip.min.js +13 -0
- package/compodoc/js/libs/svg-pan-zoom.min.js +3 -3
- package/compodoc/js/libs/tablesort.min.js +3 -3
- package/compodoc/js/libs/tablesort.number.min.js +3 -3
- package/compodoc/js/libs/vis-network.min.js +78 -0
- package/compodoc/js/menu-wc.js +26 -13
- package/compodoc/js/menu.js +10 -11
- package/compodoc/js/routes/routes_index.js +1 -0
- package/compodoc/js/routes.js +142 -34
- package/compodoc/js/search/search-lunr.js +6 -8
- package/compodoc/js/search/search.js +118 -66
- package/compodoc/js/search/search_index.js +2 -2
- package/compodoc/js/tabs.js +98 -15
- package/compodoc/js/tree.js +44 -7
- package/compodoc/license.html +48 -6
- package/compodoc/llms.txt +525 -0
- package/compodoc/miscellaneous/functions.html +171 -41
- package/compodoc/miscellaneous/typealiases.html +55 -12
- package/compodoc/miscellaneous/variables.html +163 -20
- package/compodoc/modules.html +44 -3
- package/compodoc/overview.html +54 -3
- package/compodoc/properties.html +45 -4
- package/compodoc/routes.html +227 -0
- package/compodoc/styles/compodoc.css +365 -44
- package/compodoc/styles/dark.css +16 -0
- package/compodoc/template-playground/default-templates.json +192 -0
- package/compodoc/template-playground/hbs-render.service.ts +217 -0
- package/compodoc/template-playground/main.ts +9 -0
- package/compodoc/template-playground/template-editor.service.ts +173 -0
- package/compodoc/template-playground/template-playground.component.ts +614 -0
- package/compodoc/template-playground/template-playground.module.ts +29 -0
- package/compodoc/template-playground/zip-export.service.ts +86 -0
- package/compodoc/template-playground-app/app.js +1389 -0
- package/compodoc/template-playground-app/index.html +462 -0
- package/docs/documentation.json +1700 -1219
- package/docs/html/assets/highlight.css +1 -1
- package/docs/html/assets/icons.js +1 -1
- package/docs/html/assets/icons.svg +1 -1
- package/docs/html/assets/main.js +5 -5
- package/docs/html/assets/search.js +1 -1
- package/docs/html/assets/style.css +265 -228
- package/docs/html/classes/AppsButtonComponent.html +110 -8
- package/docs/html/classes/BaseLayoutComponent.html +56 -2
- package/docs/html/classes/DefaultHeaderComponent.html +112 -10
- package/docs/html/classes/DefaultHeaderService.html +128 -13
- package/docs/html/classes/ExternalAppsService.html +240 -19
- package/docs/html/classes/FooterComponent.html +82 -5
- package/docs/html/classes/FooterDirective.html +95 -6
- package/docs/html/classes/FooterService.html +128 -13
- package/docs/html/classes/HeaderComponent.html +88 -6
- package/docs/html/classes/HeaderDirective.html +95 -6
- package/docs/html/classes/HeaderService.html +128 -13
- package/docs/html/classes/LayoutComponent.html +88 -6
- package/docs/html/classes/LayoutService.html +174 -16
- package/docs/html/classes/LogoService.html +88 -6
- package/docs/html/classes/MinimalLayoutComponent.html +56 -2
- package/docs/html/classes/NavigationComponent.html +156 -12
- package/docs/html/classes/NavigationItemComponent.html +172 -14
- package/docs/html/classes/NavigationProgressBarComponent.html +76 -4
- package/docs/html/classes/NavigationService.html +197 -12
- package/docs/html/classes/ReleaseInfoComponent.html +100 -6
- package/docs/html/classes/SettingsButtonComponent.html +242 -19
- package/docs/html/classes/SidenavComponent.html +190 -19
- package/docs/html/classes/SidenavFooterDirective.html +70 -3
- package/docs/html/classes/SidenavHeaderDirective.html +70 -3
- package/docs/html/classes/SidenavToggleButtonComponent.html +94 -5
- package/docs/html/classes/UserProfileIconComponent.html +106 -7
- package/docs/html/functions/IsNavigationDividerItem.html +42 -1
- package/docs/html/functions/IsNavigationInsertItem.html +42 -1
- package/docs/html/functions/IsNavigationItem.html +42 -1
- package/docs/html/functions/provideExternalApps.html +42 -1
- package/docs/html/functions/provideLayout.html +42 -1
- package/docs/html/functions/withDefaultHeaderComponent.html +38 -1
- package/docs/html/functions/withDefaultHeaderItems.html +42 -1
- package/docs/html/functions/withFooterComponents.html +42 -1
- package/docs/html/functions/withHeaderComponents.html +42 -1
- package/docs/html/functions/withNavigationConfig.html +42 -1
- package/docs/html/functions/withNavigationInserts.html +42 -1
- package/docs/html/functions/withReleaseInfoModules.html +42 -1
- package/docs/html/functions/withSettingsMenuItems.html +42 -1
- package/docs/html/functions/withUserProfileDataSource.html +43 -1
- package/docs/html/hierarchy.html +29 -0
- package/docs/html/index.html +96 -21
- package/docs/html/interfaces/NavigationDividerItem.html +61 -3
- package/docs/html/interfaces/NavigationInsertItem.html +55 -2
- package/docs/html/interfaces/NavigationItem.html +94 -6
- package/docs/html/interfaces/NavigationStatus.html +63 -2
- package/docs/html/interfaces/ReleaseInfoModule.html +67 -4
- package/docs/html/interfaces/SettingsMenuItem.html +67 -4
- package/docs/html/modules.html +52 -1
- package/docs/html/types/DefaultHeaderItemComponent.html +33 -1
- package/docs/html/types/ExternalApp.html +33 -1
- package/docs/html/types/ExtractUsernameFromProfileFn.html +49 -1
- package/docs/html/types/Navigation.html +33 -1
- package/docs/html/types/NavigationWithInserts.html +33 -1
- package/docs/html/types/SettingsMenuItemComponent.html +33 -1
- package/docs/html/variables/EXTRACT_USERNAME_FROM_PROFILE.html +33 -1
- package/docs/html/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP.html +33 -1
- package/docs/html/variables/RXAP_EXTERNAL_APP_FILTER.html +33 -1
- package/docs/html/variables/RXAP_FOOTER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_HEADER_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_LAYOUT_APPS_GRID.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_LOGO_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_CONFIG_INSERTS.html +33 -1
- package/docs/html/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.html +33 -1
- package/docs/html/variables/RXAP_RELEASE_INFO_MODULE.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM.html +33 -1
- package/docs/html/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.html +33 -1
- package/docs/html/variables/RXAP_USER_PROFILE_DATA_SOURCE.html +33 -1
- package/docs/markdown/README.md +6 -4
- package/docs/markdown/classes/AppsButtonComponent.md +11 -11
- package/docs/markdown/classes/BaseLayoutComponent.md +5 -5
- package/docs/markdown/classes/DefaultHeaderComponent.md +13 -13
- package/docs/markdown/classes/DefaultHeaderService.md +9 -9
- package/docs/markdown/classes/ExternalAppsService.md +29 -29
- package/docs/markdown/classes/FooterComponent.md +8 -8
- package/docs/markdown/classes/FooterDirective.md +7 -7
- package/docs/markdown/classes/FooterService.md +9 -9
- package/docs/markdown/classes/HeaderComponent.md +9 -9
- package/docs/markdown/classes/HeaderDirective.md +7 -7
- package/docs/markdown/classes/HeaderService.md +9 -9
- package/docs/markdown/classes/LayoutComponent.md +9 -9
- package/docs/markdown/classes/LayoutService.md +21 -21
- package/docs/markdown/classes/LogoService.md +9 -9
- package/docs/markdown/classes/MinimalLayoutComponent.md +5 -5
- package/docs/markdown/classes/NavigationComponent.md +19 -19
- package/docs/markdown/classes/NavigationItemComponent.md +21 -21
- package/docs/markdown/classes/NavigationProgressBarComponent.md +7 -7
- package/docs/markdown/classes/NavigationService.md +26 -26
- package/docs/markdown/classes/ReleaseInfoComponent.md +9 -9
- package/docs/markdown/classes/SettingsButtonComponent.md +24 -24
- package/docs/markdown/classes/SidenavComponent.md +24 -24
- package/docs/markdown/classes/SidenavFooterDirective.md +6 -6
- package/docs/markdown/classes/SidenavHeaderDirective.md +6 -6
- package/docs/markdown/classes/SidenavToggleButtonComponent.md +8 -8
- package/docs/markdown/classes/UserProfileIconComponent.md +11 -11
- package/docs/markdown/functions/IsNavigationDividerItem.md +2 -2
- package/docs/markdown/functions/IsNavigationInsertItem.md +2 -2
- package/docs/markdown/functions/IsNavigationItem.md +2 -2
- package/docs/markdown/functions/provideExternalApps.md +2 -2
- package/docs/markdown/functions/provideLayout.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderComponent.md +2 -2
- package/docs/markdown/functions/withDefaultHeaderItems.md +3 -3
- package/docs/markdown/functions/withFooterComponents.md +2 -2
- package/docs/markdown/functions/withHeaderComponents.md +2 -2
- package/docs/markdown/functions/withNavigationConfig.md +3 -3
- package/docs/markdown/functions/withNavigationInserts.md +2 -2
- package/docs/markdown/functions/withReleaseInfoModules.md +2 -2
- package/docs/markdown/functions/withSettingsMenuItems.md +3 -3
- package/docs/markdown/functions/withUserProfileDataSource.md +4 -4
- package/docs/markdown/globals.md +2 -2
- package/docs/markdown/interfaces/NavigationDividerItem.md +5 -5
- package/docs/markdown/interfaces/NavigationInsertItem.md +3 -3
- package/docs/markdown/interfaces/NavigationItem.md +14 -12
- package/docs/markdown/interfaces/NavigationStatus.md +3 -3
- package/docs/markdown/interfaces/ReleaseInfoModule.md +6 -6
- package/docs/markdown/interfaces/SettingsMenuItem.md +7 -7
- package/docs/markdown/type-aliases/DefaultHeaderItemComponent.md +3 -3
- package/docs/markdown/type-aliases/ExternalApp.md +3 -3
- package/docs/markdown/type-aliases/ExtractUsernameFromProfileFn.md +7 -5
- package/docs/markdown/type-aliases/Navigation.md +3 -3
- package/docs/markdown/type-aliases/NavigationWithInserts.md +3 -3
- package/docs/markdown/type-aliases/SettingsMenuItemComponent.md +3 -3
- package/docs/markdown/variables/EXTRACT_USERNAME_FROM_PROFILE.md +2 -2
- package/docs/markdown/variables/RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +3 -3
- package/docs/markdown/variables/RXAP_EXTERNAL_APP.md +2 -2
- package/docs/markdown/variables/RXAP_EXTERNAL_APP_FILTER.md +2 -2
- package/docs/markdown/variables/RXAP_FOOTER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_HEADER_COMPONENT.md +2 -2
- package/docs/markdown/variables/RXAP_LAYOUT_APPS_GRID.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG.md +2 -2
- package/docs/markdown/variables/RXAP_LOGO_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG.md +3 -3
- package/docs/markdown/variables/RXAP_NAVIGATION_CONFIG_INSERTS.md +2 -2
- package/docs/markdown/variables/RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +2 -2
- package/docs/markdown/variables/RXAP_RELEASE_INFO_MODULE.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM.md +2 -2
- package/docs/markdown/variables/RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +3 -3
- package/docs/markdown/variables/RXAP_USER_PROFILE_DATA_SOURCE.md +2 -2
- package/docs/wiki/Class.AppsButtonComponent.md +10 -10
- package/docs/wiki/Class.BaseLayoutComponent.md +4 -4
- package/docs/wiki/Class.DefaultHeaderComponent.md +12 -12
- package/docs/wiki/Class.DefaultHeaderService.md +8 -8
- package/docs/wiki/Class.ExternalAppsService.md +28 -28
- package/docs/wiki/Class.FooterComponent.md +7 -7
- package/docs/wiki/Class.FooterDirective.md +6 -6
- package/docs/wiki/Class.FooterService.md +8 -8
- package/docs/wiki/Class.HeaderComponent.md +8 -8
- package/docs/wiki/Class.HeaderDirective.md +6 -6
- package/docs/wiki/Class.HeaderService.md +8 -8
- package/docs/wiki/Class.LayoutComponent.md +8 -8
- package/docs/wiki/Class.LayoutService.md +20 -20
- package/docs/wiki/Class.LogoService.md +8 -8
- package/docs/wiki/Class.MinimalLayoutComponent.md +4 -4
- package/docs/wiki/Class.NavigationComponent.md +18 -18
- package/docs/wiki/Class.NavigationItemComponent.md +20 -20
- package/docs/wiki/Class.NavigationProgressBarComponent.md +6 -6
- package/docs/wiki/Class.NavigationService.md +25 -25
- package/docs/wiki/Class.ReleaseInfoComponent.md +8 -8
- package/docs/wiki/Class.SettingsButtonComponent.md +23 -23
- package/docs/wiki/Class.SidenavComponent.md +23 -23
- package/docs/wiki/Class.SidenavFooterDirective.md +5 -5
- package/docs/wiki/Class.SidenavHeaderDirective.md +5 -5
- package/docs/wiki/Class.SidenavToggleButtonComponent.md +7 -7
- package/docs/wiki/Class.UserProfileIconComponent.md +10 -10
- package/docs/wiki/Function.IsNavigationDividerItem.md +1 -1
- package/docs/wiki/Function.IsNavigationInsertItem.md +1 -1
- package/docs/wiki/Function.IsNavigationItem.md +1 -1
- package/docs/wiki/Function.provideExternalApps.md +1 -1
- package/docs/wiki/Function.provideLayout.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderComponent.md +1 -1
- package/docs/wiki/Function.withDefaultHeaderItems.md +2 -2
- package/docs/wiki/Function.withFooterComponents.md +1 -1
- package/docs/wiki/Function.withHeaderComponents.md +1 -1
- package/docs/wiki/Function.withNavigationConfig.md +2 -2
- package/docs/wiki/Function.withNavigationInserts.md +1 -1
- package/docs/wiki/Function.withReleaseInfoModules.md +1 -1
- package/docs/wiki/Function.withSettingsMenuItems.md +2 -2
- package/docs/wiki/Function.withUserProfileDataSource.md +3 -3
- package/docs/wiki/Home.md +5 -3
- package/docs/wiki/Interface.NavigationDividerItem.md +4 -4
- package/docs/wiki/Interface.NavigationInsertItem.md +2 -2
- package/docs/wiki/Interface.NavigationItem.md +13 -11
- package/docs/wiki/Interface.NavigationStatus.md +2 -2
- package/docs/wiki/Interface.ReleaseInfoModule.md +5 -5
- package/docs/wiki/Interface.SettingsMenuItem.md +6 -6
- package/docs/wiki/TypeAlias.DefaultHeaderItemComponent.md +2 -2
- package/docs/wiki/TypeAlias.ExternalApp.md +2 -2
- package/docs/wiki/TypeAlias.ExtractUsernameFromProfileFn.md +6 -4
- package/docs/wiki/TypeAlias.Navigation.md +2 -2
- package/docs/wiki/TypeAlias.NavigationWithInserts.md +2 -2
- package/docs/wiki/TypeAlias.SettingsMenuItemComponent.md +2 -2
- package/docs/wiki/Variable.EXTRACT_USERNAME_FROM_PROFILE.md +1 -1
- package/docs/wiki/Variable.RXAP_DEFAULT_HEADER_ITEM_COMPONENT.md +2 -2
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP.md +1 -1
- package/docs/wiki/Variable.RXAP_EXTERNAL_APP_FILTER.md +1 -1
- package/docs/wiki/Variable.RXAP_FOOTER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_HEADER_COMPONENT.md +1 -1
- package/docs/wiki/Variable.RXAP_LAYOUT_APPS_GRID.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG.md +1 -1
- package/docs/wiki/Variable.RXAP_LOGO_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG.md +2 -2
- package/docs/wiki/Variable.RXAP_NAVIGATION_CONFIG_INSERTS.md +1 -1
- package/docs/wiki/Variable.RXAP_NAVIGATION_LAYOUT_CONFIG_DEFAULTS.md +1 -1
- package/docs/wiki/Variable.RXAP_RELEASE_INFO_MODULE.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM.md +1 -1
- package/docs/wiki/Variable.RXAP_SETTINGS_MENU_ITEM_COMPONENT.md +2 -2
- package/docs/wiki/Variable.RXAP_USER_PROFILE_DATA_SOURCE.md +1 -1
- package/docs/wiki/globals.md +1 -1
- package/fesm2022/rxap-layout.mjs +19 -17
- package/fesm2022/rxap-layout.mjs.map +1 -1
- package/package.json +38 -40
- package/src/generators/init/generator.js +120 -0
- package/src/generators/init/index.js +6 -0
- package/src/generators/package.json +3 -0
- package/src/migrations/18.0.0/add-user-theme-provider-to-layout-providers/add-user-theme-provider-to-layout-providers.spec.ts +9 -0
- package/src/migrations/18.0.0/add-with-user-profile-provider/add-with-user-profile-provider.spec.ts +9 -0
- package/src/test-setup.ts +4 -17
- package/compodoc/components/LanguageSelectorComponent.html +0 -478
- package/compodoc/components/ResetButtonComponent.html +0 -486
- package/compodoc/components/SignOutComponent.html +0 -440
- package/compodoc/components/ToggleWindowSidenavButtonComponent.html +0 -549
- package/compodoc/components/VersionComponent.html +0 -524
- package/compodoc/components/WindowContainerSidenavComponent.html +0 -687
- package/compodoc/injectables/AppUrlService.html +0 -829
- package/compodoc/injectables/AuthenticationServiceMock.html +0 -303
- package/compodoc/injectables/LayoutComponentService.html +0 -848
- package/compodoc/injectables/ReplaceRouterPathsService.html +0 -337
- package/compodoc/injectables/SidenavComponentService.html +0 -408
- package/compodoc/interfaces/ExternalApps.html +0 -634
- package/compodoc/interfaces/LogoConfig.html +0 -381
- package/compodoc/js/libs/vis.min.js +0 -47
- package/compodoc/js/menu-wc_es5.js +0 -40
- package/compodoc/pipes/ReplaceRouterPathsPipe.html +0 -363
- package/src/generators/init/generator.spec.ts +0 -228
- package/src/generators/init/generator.ts +0 -139
- package/src/generators/init/index.ts +0 -5
- package/src/generators/init/schema.d.ts +0 -2
- package/theme.css +0 -425
|
@@ -61,6 +61,20 @@
|
|
|
61
61
|
}
|
|
62
62
|
toggleDarkMode(darkModeState);
|
|
63
63
|
</script>
|
|
64
|
+
<script>
|
|
65
|
+
// --- Iframe navigation tracking for Template Playground ---
|
|
66
|
+
function sendCurrentUrlToParent() {
|
|
67
|
+
if (window.parent && window.parent !== window) {
|
|
68
|
+
window.parent.postMessage({
|
|
69
|
+
type: 'compodoc-iframe-navigate',
|
|
70
|
+
url: window.location.pathname + window.location.hash
|
|
71
|
+
}, '*');
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
window.addEventListener('hashchange', sendCurrentUrlToParent, false);
|
|
75
|
+
window.addEventListener('popstate', sendCurrentUrlToParent, false);
|
|
76
|
+
window.addEventListener('DOMContentLoaded', sendCurrentUrlToParent, false);
|
|
77
|
+
</script>
|
|
64
78
|
|
|
65
79
|
<div class="navbar navbar-default navbar-fixed-top d-md-none p-0">
|
|
66
80
|
<div class="d-flex">
|
|
@@ -70,7 +84,14 @@
|
|
|
70
84
|
</div>
|
|
71
85
|
|
|
72
86
|
<div class="xs-menu menu" id="mobile-menu">
|
|
73
|
-
<div id="book-search-input" role="search"
|
|
87
|
+
<div id="book-search-input" role="search">
|
|
88
|
+
<input type="text" placeholder="Type to search">
|
|
89
|
+
<button type="button"
|
|
90
|
+
class="search-input-clear"
|
|
91
|
+
aria-label="Clear search"
|
|
92
|
+
data-search-input-clear>×</button>
|
|
93
|
+
</div>
|
|
94
|
+
<compodoc-menu></compodoc-menu>
|
|
74
95
|
</div>
|
|
75
96
|
|
|
76
97
|
<div class="container-fluid main">
|
|
@@ -96,61 +117,127 @@
|
|
|
96
117
|
|
|
97
118
|
|
|
98
119
|
|
|
120
|
+
|
|
121
|
+
|
|
122
|
+
|
|
123
|
+
|
|
99
124
|
<ol class="breadcrumb">
|
|
100
125
|
<li class="breadcrumb-item">Dependencies</li>
|
|
101
126
|
</ol>
|
|
102
|
-
<
|
|
103
|
-
<
|
|
104
|
-
<
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
<
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
127
|
+
<div class="dependencies-table-wrapper">
|
|
128
|
+
<table class="table table-sm table-bordered dependencies-table">
|
|
129
|
+
<thead>
|
|
130
|
+
<tr>
|
|
131
|
+
<th>Name</th>
|
|
132
|
+
<th>Version</th>
|
|
133
|
+
</tr>
|
|
134
|
+
</thead>
|
|
135
|
+
<tbody>
|
|
136
|
+
<tr>
|
|
137
|
+
<td><b>@nx/devkit</b></td>
|
|
138
|
+
<td>24.0.6</td>
|
|
139
|
+
</tr>
|
|
140
|
+
<tr>
|
|
141
|
+
<td><b>@rxap/ts-morph</b></td>
|
|
142
|
+
<td>^1.7.2-dev.1</td>
|
|
143
|
+
</tr>
|
|
144
|
+
<tr>
|
|
145
|
+
<td><b>@rxap/workspace-ts-morph</b></td>
|
|
146
|
+
<td>^24.0.0-dev.2</td>
|
|
147
|
+
</tr>
|
|
148
|
+
<tr>
|
|
149
|
+
<td><b>@rxap/workspace-utilities</b></td>
|
|
150
|
+
<td>^24.0.0-dev.2</td>
|
|
151
|
+
</tr>
|
|
152
|
+
<tr>
|
|
153
|
+
<td><b>tslib</b></td>
|
|
154
|
+
<td>2.9.1</td>
|
|
155
|
+
</tr>
|
|
156
|
+
</tbody>
|
|
157
|
+
</table>
|
|
158
|
+
</div>
|
|
114
159
|
|
|
115
160
|
|
|
116
161
|
<br/>
|
|
117
162
|
<ol class="breadcrumb">
|
|
118
163
|
<li class="breadcrumb-item">Peer dependencies</li>
|
|
119
164
|
</ol>
|
|
120
|
-
<
|
|
121
|
-
<
|
|
122
|
-
<
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
<
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
165
|
+
<div class="dependencies-table-wrapper">
|
|
166
|
+
<table class="table table-sm table-bordered dependencies-table">
|
|
167
|
+
<thead>
|
|
168
|
+
<tr>
|
|
169
|
+
<th>Name</th>
|
|
170
|
+
<th>Version</th>
|
|
171
|
+
</tr>
|
|
172
|
+
</thead>
|
|
173
|
+
<tbody>
|
|
174
|
+
<tr>
|
|
175
|
+
<td><b>@angular/animations</b></td>
|
|
176
|
+
<td>^22.0.0</td>
|
|
177
|
+
</tr>
|
|
178
|
+
<tr>
|
|
179
|
+
<td><b>@angular/cdk</b></td>
|
|
180
|
+
<td>^22.0.0</td>
|
|
181
|
+
</tr>
|
|
182
|
+
<tr>
|
|
183
|
+
<td><b>@angular/common</b></td>
|
|
184
|
+
<td>^22.0.0</td>
|
|
185
|
+
</tr>
|
|
186
|
+
<tr>
|
|
187
|
+
<td><b>@angular/core</b></td>
|
|
188
|
+
<td>^22.0.0</td>
|
|
189
|
+
</tr>
|
|
190
|
+
<tr>
|
|
191
|
+
<td><b>@angular/material</b></td>
|
|
192
|
+
<td>^22.0.0</td>
|
|
193
|
+
</tr>
|
|
194
|
+
<tr>
|
|
195
|
+
<td><b>@angular/router</b></td>
|
|
196
|
+
<td>^22.0.0</td>
|
|
197
|
+
</tr>
|
|
198
|
+
<tr>
|
|
199
|
+
<td><b>@rxap/browser-utilities</b></td>
|
|
200
|
+
<td>^1.1.16-dev.1</td>
|
|
201
|
+
</tr>
|
|
202
|
+
<tr>
|
|
203
|
+
<td><b>@rxap/config</b></td>
|
|
204
|
+
<td>^22.0.0-dev.2</td>
|
|
205
|
+
</tr>
|
|
206
|
+
<tr>
|
|
207
|
+
<td><b>@rxap/data-source</b></td>
|
|
208
|
+
<td>^22.0.0-dev.2</td>
|
|
209
|
+
</tr>
|
|
210
|
+
<tr>
|
|
211
|
+
<td><b>@rxap/environment</b></td>
|
|
212
|
+
<td>^22.0.0-dev.2</td>
|
|
213
|
+
</tr>
|
|
214
|
+
<tr>
|
|
215
|
+
<td><b>@rxap/material-directives</b></td>
|
|
216
|
+
<td>^22.0.0-dev.2</td>
|
|
217
|
+
</tr>
|
|
218
|
+
<tr>
|
|
219
|
+
<td><b>@rxap/ngx-pub-sub</b></td>
|
|
220
|
+
<td>^22.0.0-dev.2</td>
|
|
221
|
+
</tr>
|
|
222
|
+
<tr>
|
|
223
|
+
<td><b>@rxap/ngx-theme</b></td>
|
|
224
|
+
<td>^22.0.0-dev.2</td>
|
|
225
|
+
</tr>
|
|
226
|
+
<tr>
|
|
227
|
+
<td><b>@rxap/pattern</b></td>
|
|
228
|
+
<td>^1.1.17-dev.1</td>
|
|
229
|
+
</tr>
|
|
230
|
+
<tr>
|
|
231
|
+
<td><b>@rxap/utilities</b></td>
|
|
232
|
+
<td>^16.5.3-dev.1</td>
|
|
233
|
+
</tr>
|
|
234
|
+
<tr>
|
|
235
|
+
<td><b>rxjs</b></td>
|
|
236
|
+
<td>^7.0.0</td>
|
|
237
|
+
</tr>
|
|
238
|
+
</tbody>
|
|
239
|
+
</table>
|
|
240
|
+
</div>
|
|
154
241
|
|
|
155
242
|
|
|
156
243
|
|
|
@@ -189,6 +276,24 @@
|
|
|
189
276
|
|
|
190
277
|
<script>
|
|
191
278
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
279
|
+
var updateDarkModeSwitchOffset = function () {
|
|
280
|
+
var content = document.querySelector('.content');
|
|
281
|
+
var scrollbarWidth = 0;
|
|
282
|
+
|
|
283
|
+
if (content) {
|
|
284
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
document.documentElement.style.setProperty(
|
|
288
|
+
'--content-scrollbar-width',
|
|
289
|
+
scrollbarWidth + 'px'
|
|
290
|
+
);
|
|
291
|
+
};
|
|
292
|
+
|
|
293
|
+
updateDarkModeSwitchOffset();
|
|
294
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
295
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
296
|
+
|
|
192
297
|
checkToggle(darkModeState);
|
|
193
298
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
194
299
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -204,14 +309,12 @@
|
|
|
204
309
|
<script src="./js/libs/lit-html.js"></script>
|
|
205
310
|
|
|
206
311
|
<script src="./js/menu-wc.js" defer></script>
|
|
207
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
208
312
|
|
|
209
313
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
210
314
|
|
|
211
315
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
212
316
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
213
317
|
<script src="./js/libs/promise.min.js"></script>
|
|
214
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
215
318
|
|
|
216
319
|
<script src="./js/compodoc.js"></script>
|
|
217
320
|
|
|
@@ -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">
|
|
@@ -88,11 +109,20 @@
|
|
|
88
109
|
|
|
89
110
|
|
|
90
111
|
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
91
116
|
<ol class="breadcrumb">
|
|
92
117
|
<li class="breadcrumb-item">Directives</li>
|
|
93
118
|
<li class="breadcrumb-item" >FooterDirective</li>
|
|
94
119
|
</ol>
|
|
95
120
|
|
|
121
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
122
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
123
|
+
<code>src/lib/footer/footer.directive.ts</code>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
96
126
|
<ul class="nav nav-tabs" role="tablist">
|
|
97
127
|
<li class="nav-item">
|
|
98
128
|
<a href="#info"
|
|
@@ -110,13 +140,6 @@
|
|
|
110
140
|
|
|
111
141
|
<div class="tab-content">
|
|
112
142
|
<div class="tab-pane fade active in" id="info">
|
|
113
|
-
<p class="comment">
|
|
114
|
-
<h3>File</h3>
|
|
115
|
-
</p>
|
|
116
|
-
<p class="comment">
|
|
117
|
-
<code>src/lib/footer/footer.directive.ts</code>
|
|
118
|
-
</p>
|
|
119
|
-
|
|
120
143
|
|
|
121
144
|
|
|
122
145
|
|
|
@@ -124,8 +147,8 @@
|
|
|
124
147
|
<h3>Implements</h3>
|
|
125
148
|
</p>
|
|
126
149
|
<p class="comment">
|
|
127
|
-
|
|
128
|
-
|
|
150
|
+
<code><a href="https://angular.dev/api/core/OnInit" target="_blank" >OnInit</a></code>
|
|
151
|
+
<code><a href="https://angular.dev/api/core/OnDestroy" target="_blank" >OnDestroy</a></code>
|
|
129
152
|
</p>
|
|
130
153
|
|
|
131
154
|
|
|
@@ -150,18 +173,33 @@
|
|
|
150
173
|
</table>
|
|
151
174
|
</section>
|
|
152
175
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
176
|
+
<section data-compodoc="block-relationships">
|
|
177
|
+
<h3>Relationships</h3>
|
|
178
|
+
|
|
179
|
+
<div class="row pt-3">
|
|
180
|
+
<div class="col-sm-6">
|
|
181
|
+
<h4>Used by</h4>
|
|
182
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="col-sm-6">
|
|
186
|
+
<h4>Depends on</h4>
|
|
187
|
+
<ul class="list-unstyled relationships-list">
|
|
188
|
+
<li>
|
|
189
|
+
<code><a href="https://angular.dev/api/core/OnInit" target="_blank" >OnInit</a></code>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<code><a href="https://angular.dev/api/core/OnDestroy" target="_blank" >OnDestroy</a></code>
|
|
193
|
+
</li>
|
|
194
|
+
</ul>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</section>
|
|
161
198
|
|
|
162
199
|
</div>
|
|
163
200
|
|
|
164
201
|
|
|
202
|
+
|
|
165
203
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
166
204
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { TemplatePortal } from '@angular/cdk/portal';
|
|
167
205
|
import {
|
|
@@ -251,6 +289,24 @@ export class FooterDirective implements OnInit, OnDestroy {
|
|
|
251
289
|
|
|
252
290
|
<script>
|
|
253
291
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
292
|
+
var updateDarkModeSwitchOffset = function () {
|
|
293
|
+
var content = document.querySelector('.content');
|
|
294
|
+
var scrollbarWidth = 0;
|
|
295
|
+
|
|
296
|
+
if (content) {
|
|
297
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
document.documentElement.style.setProperty(
|
|
301
|
+
'--content-scrollbar-width',
|
|
302
|
+
scrollbarWidth + 'px'
|
|
303
|
+
);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
updateDarkModeSwitchOffset();
|
|
307
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
308
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
309
|
+
|
|
254
310
|
checkToggle(darkModeState);
|
|
255
311
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
256
312
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -266,14 +322,12 @@ export class FooterDirective implements OnInit, OnDestroy {
|
|
|
266
322
|
<script src="../js/libs/lit-html.js"></script>
|
|
267
323
|
|
|
268
324
|
<script src="../js/menu-wc.js" defer></script>
|
|
269
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
270
325
|
|
|
271
326
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
272
327
|
|
|
273
328
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
274
329
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
275
330
|
<script src="../js/libs/promise.min.js"></script>
|
|
276
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
277
331
|
|
|
278
332
|
<script src="../js/compodoc.js"></script>
|
|
279
333
|
|
|
@@ -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">
|
|
@@ -88,11 +109,20 @@
|
|
|
88
109
|
|
|
89
110
|
|
|
90
111
|
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
|
|
115
|
+
|
|
91
116
|
<ol class="breadcrumb">
|
|
92
117
|
<li class="breadcrumb-item">Directives</li>
|
|
93
118
|
<li class="breadcrumb-item" >HeaderDirective</li>
|
|
94
119
|
</ol>
|
|
95
120
|
|
|
121
|
+
<div class="io-file io-file-path" data-compodoc="entity-file-path">
|
|
122
|
+
<span class="icon ion-ios-document" aria-hidden="true"></span>
|
|
123
|
+
<code>src/lib/header/header.directive.ts</code>
|
|
124
|
+
</div>
|
|
125
|
+
|
|
96
126
|
<ul class="nav nav-tabs" role="tablist">
|
|
97
127
|
<li class="nav-item">
|
|
98
128
|
<a href="#info"
|
|
@@ -110,13 +140,6 @@
|
|
|
110
140
|
|
|
111
141
|
<div class="tab-content">
|
|
112
142
|
<div class="tab-pane fade active in" id="info">
|
|
113
|
-
<p class="comment">
|
|
114
|
-
<h3>File</h3>
|
|
115
|
-
</p>
|
|
116
|
-
<p class="comment">
|
|
117
|
-
<code>src/lib/header/header.directive.ts</code>
|
|
118
|
-
</p>
|
|
119
|
-
|
|
120
143
|
|
|
121
144
|
|
|
122
145
|
|
|
@@ -124,8 +147,8 @@
|
|
|
124
147
|
<h3>Implements</h3>
|
|
125
148
|
</p>
|
|
126
149
|
<p class="comment">
|
|
127
|
-
|
|
128
|
-
|
|
150
|
+
<code><a href="https://angular.dev/api/core/OnInit" target="_blank" >OnInit</a></code>
|
|
151
|
+
<code><a href="https://angular.dev/api/core/OnDestroy" target="_blank" >OnDestroy</a></code>
|
|
129
152
|
</p>
|
|
130
153
|
|
|
131
154
|
|
|
@@ -150,18 +173,33 @@
|
|
|
150
173
|
</table>
|
|
151
174
|
</section>
|
|
152
175
|
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
176
|
+
<section data-compodoc="block-relationships">
|
|
177
|
+
<h3>Relationships</h3>
|
|
178
|
+
|
|
179
|
+
<div class="row pt-3">
|
|
180
|
+
<div class="col-sm-6">
|
|
181
|
+
<h4>Used by</h4>
|
|
182
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
183
|
+
</div>
|
|
184
|
+
|
|
185
|
+
<div class="col-sm-6">
|
|
186
|
+
<h4>Depends on</h4>
|
|
187
|
+
<ul class="list-unstyled relationships-list">
|
|
188
|
+
<li>
|
|
189
|
+
<code><a href="https://angular.dev/api/core/OnInit" target="_blank" >OnInit</a></code>
|
|
190
|
+
</li>
|
|
191
|
+
<li>
|
|
192
|
+
<code><a href="https://angular.dev/api/core/OnDestroy" target="_blank" >OnDestroy</a></code>
|
|
193
|
+
</li>
|
|
194
|
+
</ul>
|
|
195
|
+
</div>
|
|
196
|
+
</div>
|
|
197
|
+
</section>
|
|
161
198
|
|
|
162
199
|
</div>
|
|
163
200
|
|
|
164
201
|
|
|
202
|
+
|
|
165
203
|
<div class="tab-pane fade tab-source-code" id="source">
|
|
166
204
|
<pre class="line-numbers compodoc-sourcecode"><code class="language-typescript">import { TemplatePortal } from '@angular/cdk/portal';
|
|
167
205
|
import {
|
|
@@ -251,6 +289,24 @@ export class HeaderDirective implements OnInit, OnDestroy {
|
|
|
251
289
|
|
|
252
290
|
<script>
|
|
253
291
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
292
|
+
var updateDarkModeSwitchOffset = function () {
|
|
293
|
+
var content = document.querySelector('.content');
|
|
294
|
+
var scrollbarWidth = 0;
|
|
295
|
+
|
|
296
|
+
if (content) {
|
|
297
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
document.documentElement.style.setProperty(
|
|
301
|
+
'--content-scrollbar-width',
|
|
302
|
+
scrollbarWidth + 'px'
|
|
303
|
+
);
|
|
304
|
+
};
|
|
305
|
+
|
|
306
|
+
updateDarkModeSwitchOffset();
|
|
307
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
308
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
309
|
+
|
|
254
310
|
checkToggle(darkModeState);
|
|
255
311
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
256
312
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -266,14 +322,12 @@ export class HeaderDirective implements OnInit, OnDestroy {
|
|
|
266
322
|
<script src="../js/libs/lit-html.js"></script>
|
|
267
323
|
|
|
268
324
|
<script src="../js/menu-wc.js" defer></script>
|
|
269
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
270
325
|
|
|
271
326
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
272
327
|
|
|
273
328
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
274
329
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
275
330
|
<script src="../js/libs/promise.min.js"></script>
|
|
276
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
277
331
|
|
|
278
332
|
<script src="../js/compodoc.js"></script>
|
|
279
333
|
|