@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">
|
|
@@ -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" >SidenavFooterDirective</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/sidenav/sidenav-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"
|
|
@@ -100,6 +130,12 @@
|
|
|
100
130
|
class="nav-link active"
|
|
101
131
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
102
132
|
</li>
|
|
133
|
+
<li class="nav-item">
|
|
134
|
+
<a href="#api"
|
|
135
|
+
class="nav-link"
|
|
136
|
+
|
|
137
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
138
|
+
</li>
|
|
103
139
|
<li class="nav-item">
|
|
104
140
|
<a href="#source"
|
|
105
141
|
class="nav-link"
|
|
@@ -110,13 +146,6 @@
|
|
|
110
146
|
|
|
111
147
|
<div class="tab-content">
|
|
112
148
|
<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/sidenav/sidenav-footer.directive.ts</code>
|
|
118
|
-
</p>
|
|
119
|
-
|
|
120
149
|
|
|
121
150
|
|
|
122
151
|
|
|
@@ -143,33 +172,55 @@
|
|
|
143
172
|
</table>
|
|
144
173
|
</section>
|
|
145
174
|
|
|
175
|
+
<section data-compodoc="block-relationships">
|
|
176
|
+
<h3>Relationships</h3>
|
|
177
|
+
|
|
178
|
+
<div class="row pt-3">
|
|
179
|
+
<div class="col-sm-6">
|
|
180
|
+
<h4>Used by</h4>
|
|
181
|
+
<ul class="list-unstyled relationships-list">
|
|
182
|
+
<li>
|
|
183
|
+
<code><a href="../components/LayoutComponent.html" target="_self" >LayoutComponent</a></code>
|
|
184
|
+
</li>
|
|
185
|
+
</ul>
|
|
186
|
+
</div>
|
|
187
|
+
|
|
188
|
+
<div class="col-sm-6">
|
|
189
|
+
<h4>Depends on</h4>
|
|
190
|
+
<p class="comment"><i>No results matching.</i></p>
|
|
191
|
+
</div>
|
|
192
|
+
</div>
|
|
193
|
+
</section>
|
|
194
|
+
|
|
195
|
+
</div>
|
|
196
|
+
|
|
197
|
+
<div class="tab-pane fade " id="api">
|
|
146
198
|
<section data-compodoc="block-index">
|
|
147
199
|
<h3 id="index">Index</h3>
|
|
148
|
-
|
|
149
|
-
|
|
200
|
+
<table class="table table-sm table-bordered index-table">
|
|
201
|
+
<tbody>
|
|
150
202
|
<tr>
|
|
151
|
-
<td class="col-md-
|
|
203
|
+
<td class="col-md-3">
|
|
152
204
|
<h6><b>Properties</b></h6>
|
|
153
205
|
</td>
|
|
154
|
-
|
|
155
|
-
<tr>
|
|
156
|
-
<td class="col-md-4">
|
|
206
|
+
<td class="col-md-9">
|
|
157
207
|
<ul class="index-list">
|
|
158
208
|
<li>
|
|
209
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
159
210
|
<span class="modifier">Readonly</span>
|
|
160
211
|
<a href="#template" >template</a>
|
|
161
212
|
</li>
|
|
162
213
|
</ul>
|
|
163
214
|
</td>
|
|
164
215
|
</tr>
|
|
216
|
+
</tbody>
|
|
217
|
+
</table>
|
|
165
218
|
|
|
166
219
|
|
|
167
220
|
|
|
168
221
|
|
|
169
222
|
|
|
170
223
|
|
|
171
|
-
</tbody>
|
|
172
|
-
</table>
|
|
173
224
|
</section>
|
|
174
225
|
|
|
175
226
|
|
|
@@ -195,6 +246,12 @@
|
|
|
195
246
|
</span>
|
|
196
247
|
</td>
|
|
197
248
|
</tr>
|
|
249
|
+
<tr>
|
|
250
|
+
<td class="col-md-4">
|
|
251
|
+
<i>Type : </i> <code>unknown</code>
|
|
252
|
+
|
|
253
|
+
</td>
|
|
254
|
+
</tr>
|
|
198
255
|
<tr>
|
|
199
256
|
<td class="col-md-4">
|
|
200
257
|
<i>Default value : </i><code>inject<TemplateRef<void>>(TemplateRef)</code>
|
|
@@ -211,7 +268,6 @@
|
|
|
211
268
|
</table>
|
|
212
269
|
</section>
|
|
213
270
|
|
|
214
|
-
|
|
215
271
|
</div>
|
|
216
272
|
|
|
217
273
|
|
|
@@ -275,6 +331,24 @@ export class SidenavFooterDirective {
|
|
|
275
331
|
|
|
276
332
|
<script>
|
|
277
333
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
334
|
+
var updateDarkModeSwitchOffset = function () {
|
|
335
|
+
var content = document.querySelector('.content');
|
|
336
|
+
var scrollbarWidth = 0;
|
|
337
|
+
|
|
338
|
+
if (content) {
|
|
339
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
340
|
+
}
|
|
341
|
+
|
|
342
|
+
document.documentElement.style.setProperty(
|
|
343
|
+
'--content-scrollbar-width',
|
|
344
|
+
scrollbarWidth + 'px'
|
|
345
|
+
);
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
updateDarkModeSwitchOffset();
|
|
349
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
350
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
351
|
+
|
|
278
352
|
checkToggle(darkModeState);
|
|
279
353
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
280
354
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -290,14 +364,12 @@ export class SidenavFooterDirective {
|
|
|
290
364
|
<script src="../js/libs/lit-html.js"></script>
|
|
291
365
|
|
|
292
366
|
<script src="../js/menu-wc.js" defer></script>
|
|
293
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
294
367
|
|
|
295
368
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
296
369
|
|
|
297
370
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
298
371
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
299
372
|
<script src="../js/libs/promise.min.js"></script>
|
|
300
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
301
373
|
|
|
302
374
|
<script src="../js/compodoc.js"></script>
|
|
303
375
|
|
|
@@ -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" >SidenavHeaderDirective</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/sidenav/sidenav-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"
|
|
@@ -100,6 +130,12 @@
|
|
|
100
130
|
class="nav-link active"
|
|
101
131
|
role="tab" id="info-tab" data-bs-toggle="tab" data-link="info">Info</a>
|
|
102
132
|
</li>
|
|
133
|
+
<li class="nav-item">
|
|
134
|
+
<a href="#api"
|
|
135
|
+
class="nav-link"
|
|
136
|
+
|
|
137
|
+
role="tab" id="api-tab" data-bs-toggle="tab" data-link="api">API</a>
|
|
138
|
+
</li>
|
|
103
139
|
<li class="nav-item">
|
|
104
140
|
<a href="#source"
|
|
105
141
|
class="nav-link"
|
|
@@ -110,13 +146,6 @@
|
|
|
110
146
|
|
|
111
147
|
<div class="tab-content">
|
|
112
148
|
<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/sidenav/sidenav-header.directive.ts</code>
|
|
118
|
-
</p>
|
|
119
|
-
|
|
120
149
|
|
|
121
150
|
|
|
122
151
|
|
|
@@ -143,33 +172,36 @@
|
|
|
143
172
|
</table>
|
|
144
173
|
</section>
|
|
145
174
|
|
|
175
|
+
|
|
176
|
+
</div>
|
|
177
|
+
|
|
178
|
+
<div class="tab-pane fade " id="api">
|
|
146
179
|
<section data-compodoc="block-index">
|
|
147
180
|
<h3 id="index">Index</h3>
|
|
148
|
-
|
|
149
|
-
|
|
181
|
+
<table class="table table-sm table-bordered index-table">
|
|
182
|
+
<tbody>
|
|
150
183
|
<tr>
|
|
151
|
-
<td class="col-md-
|
|
184
|
+
<td class="col-md-3">
|
|
152
185
|
<h6><b>Properties</b></h6>
|
|
153
186
|
</td>
|
|
154
|
-
|
|
155
|
-
<tr>
|
|
156
|
-
<td class="col-md-4">
|
|
187
|
+
<td class="col-md-9">
|
|
157
188
|
<ul class="index-list">
|
|
158
189
|
<li>
|
|
190
|
+
<span class="reference-badge reference-badge--property" aria-hidden="true">P</span>
|
|
159
191
|
<span class="modifier">Readonly</span>
|
|
160
192
|
<a href="#template" >template</a>
|
|
161
193
|
</li>
|
|
162
194
|
</ul>
|
|
163
195
|
</td>
|
|
164
196
|
</tr>
|
|
197
|
+
</tbody>
|
|
198
|
+
</table>
|
|
165
199
|
|
|
166
200
|
|
|
167
201
|
|
|
168
202
|
|
|
169
203
|
|
|
170
204
|
|
|
171
|
-
</tbody>
|
|
172
|
-
</table>
|
|
173
205
|
</section>
|
|
174
206
|
|
|
175
207
|
|
|
@@ -195,6 +227,12 @@
|
|
|
195
227
|
</span>
|
|
196
228
|
</td>
|
|
197
229
|
</tr>
|
|
230
|
+
<tr>
|
|
231
|
+
<td class="col-md-4">
|
|
232
|
+
<i>Type : </i> <code>unknown</code>
|
|
233
|
+
|
|
234
|
+
</td>
|
|
235
|
+
</tr>
|
|
198
236
|
<tr>
|
|
199
237
|
<td class="col-md-4">
|
|
200
238
|
<i>Default value : </i><code>inject<TemplateRef<void>>(TemplateRef)</code>
|
|
@@ -211,7 +249,6 @@
|
|
|
211
249
|
</table>
|
|
212
250
|
</section>
|
|
213
251
|
|
|
214
|
-
|
|
215
252
|
</div>
|
|
216
253
|
|
|
217
254
|
|
|
@@ -275,6 +312,24 @@ export class SidenavHeaderDirective {
|
|
|
275
312
|
|
|
276
313
|
<script>
|
|
277
314
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
315
|
+
var updateDarkModeSwitchOffset = function () {
|
|
316
|
+
var content = document.querySelector('.content');
|
|
317
|
+
var scrollbarWidth = 0;
|
|
318
|
+
|
|
319
|
+
if (content) {
|
|
320
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
document.documentElement.style.setProperty(
|
|
324
|
+
'--content-scrollbar-width',
|
|
325
|
+
scrollbarWidth + 'px'
|
|
326
|
+
);
|
|
327
|
+
};
|
|
328
|
+
|
|
329
|
+
updateDarkModeSwitchOffset();
|
|
330
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
331
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
332
|
+
|
|
278
333
|
checkToggle(darkModeState);
|
|
279
334
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
280
335
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -290,14 +345,12 @@ export class SidenavHeaderDirective {
|
|
|
290
345
|
<script src="../js/libs/lit-html.js"></script>
|
|
291
346
|
|
|
292
347
|
<script src="../js/menu-wc.js" defer></script>
|
|
293
|
-
<script nomodule src="../js/menu-wc_es5.js" defer></script>
|
|
294
348
|
|
|
295
349
|
<script src="../js/libs/bootstrap-native.js"></script>
|
|
296
350
|
|
|
297
351
|
<script src="../js/libs/es6-shim.min.js"></script>
|
|
298
352
|
<script src="../js/libs/EventDispatcher.js"></script>
|
|
299
353
|
<script src="../js/libs/promise.min.js"></script>
|
|
300
|
-
<script src="../js/libs/zepto.min.js"></script>
|
|
301
354
|
|
|
302
355
|
<script src="../js/compodoc.js"></script>
|
|
303
356
|
|
package/compodoc/index.html
CHANGED
|
@@ -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">
|
|
@@ -79,9 +100,10 @@
|
|
|
79
100
|
<compodoc-menu mode="normal"></compodoc-menu>
|
|
80
101
|
</div>
|
|
81
102
|
<!-- START CONTENT -->
|
|
82
|
-
<div class="content
|
|
103
|
+
<div class="content readme">
|
|
83
104
|
<div class="content-data">
|
|
84
105
|
|
|
106
|
+
|
|
85
107
|
<p>This library provides a set of Angular components and services for creating consistent and configurable application layouts, including headers, footers, side navigation, and content areas. It offers features such as dynamic navigation, external application integration, and customizable themes. The library also includes directives for extending header and footer areas with custom content.</p>
|
|
86
108
|
<p><a href="https://www.npmjs.com/package/@rxap/layout"><img src="https://img.shields.io/npm/v/@rxap/layout?style=flat-square" alt="npm version" class="img-responsive"></a>
|
|
87
109
|
<a href="https://commitizen.github.io/cz-cli/"><img src="https://img.shields.io/badge/commitizen-friendly-brightgreen.svg?style=flat-square" alt="commitizen friendly" class="img-responsive"></a>
|
|
@@ -99,9 +121,10 @@
|
|
|
99
121
|
</ul>
|
|
100
122
|
<h1>Installation</h1>
|
|
101
123
|
<p><strong>Add the package to your workspace:</strong></p>
|
|
102
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">
|
|
103
|
-
<
|
|
104
|
-
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">
|
|
124
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">npm install @rxap/layout</code></pre></div><p>With pnpm or yarn use <code>pnpm add</code> or <code>yarn add</code> instead of <code>npm install</code>.</p>
|
|
125
|
+
<p><strong>Install peer dependencies:</strong></p>
|
|
126
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">npm install @angular/animations @angular/cdk @angular/common @angular/core @angular/material @angular/router @rxap/browser-utilities @rxap/config @rxap/data-source @rxap/environment @rxap/material-directives @rxap/ngx-pub-sub @rxap/ngx-theme @rxap/pattern @rxap/utilities rxjs </code></pre></div><p><strong>Execute the init generator:</strong></p>
|
|
127
|
+
<b>Example :</b><div><pre class="line-numbers"><code class="language-bash">nx g @rxap/layout:init</code></pre></div><h1>Get started</h1>
|
|
105
128
|
<h2>Layout</h2>
|
|
106
129
|
<p>Create a new file <code>layout.routes.ts</code> in the <code>app</code> folder. This file will contain all child routes that should be loaded within the layout component.</p>
|
|
107
130
|
<b>Example :</b><div><pre class="line-numbers"><code class="language-typescript">import { LayoutComponent, provideLayout } from '@rxap/layout';
|
|
@@ -298,6 +321,9 @@ that is rendered in the layout component, the template is rendered in the footer
|
|
|
298
321
|
|
|
299
322
|
|
|
300
323
|
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
|
|
301
327
|
|
|
302
328
|
|
|
303
329
|
|
|
@@ -326,13 +352,31 @@ that is rendered in the layout component, the template is rendered in the footer
|
|
|
326
352
|
|
|
327
353
|
<script>
|
|
328
354
|
var COMPODOC_CURRENT_PAGE_DEPTH = 0;
|
|
329
|
-
var COMPODOC_CURRENT_PAGE_CONTEXT = '
|
|
355
|
+
var COMPODOC_CURRENT_PAGE_CONTEXT = 'readme';
|
|
330
356
|
var COMPODOC_CURRENT_PAGE_URL = 'index.html';
|
|
331
357
|
var MAX_SEARCH_RESULTS = 15;
|
|
332
358
|
</script>
|
|
333
359
|
|
|
334
360
|
<script>
|
|
335
361
|
$darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
362
|
+
var updateDarkModeSwitchOffset = function () {
|
|
363
|
+
var content = document.querySelector('.content');
|
|
364
|
+
var scrollbarWidth = 0;
|
|
365
|
+
|
|
366
|
+
if (content) {
|
|
367
|
+
scrollbarWidth = Math.max(0, content.offsetWidth - content.clientWidth);
|
|
368
|
+
}
|
|
369
|
+
|
|
370
|
+
document.documentElement.style.setProperty(
|
|
371
|
+
'--content-scrollbar-width',
|
|
372
|
+
scrollbarWidth + 'px'
|
|
373
|
+
);
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
updateDarkModeSwitchOffset();
|
|
377
|
+
requestAnimationFrame(updateDarkModeSwitchOffset);
|
|
378
|
+
window.addEventListener('resize', updateDarkModeSwitchOffset);
|
|
379
|
+
|
|
336
380
|
checkToggle(darkModeState);
|
|
337
381
|
if ($darkModeToggleSwitchers.length > 0) {
|
|
338
382
|
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
@@ -348,14 +392,12 @@ that is rendered in the layout component, the template is rendered in the footer
|
|
|
348
392
|
<script src="./js/libs/lit-html.js"></script>
|
|
349
393
|
|
|
350
394
|
<script src="./js/menu-wc.js" defer></script>
|
|
351
|
-
<script nomodule src="./js/menu-wc_es5.js" defer></script>
|
|
352
395
|
|
|
353
396
|
<script src="./js/libs/bootstrap-native.js"></script>
|
|
354
397
|
|
|
355
398
|
<script src="./js/libs/es6-shim.min.js"></script>
|
|
356
399
|
<script src="./js/libs/EventDispatcher.js"></script>
|
|
357
400
|
<script src="./js/libs/promise.min.js"></script>
|
|
358
|
-
<script src="./js/libs/zepto.min.js"></script>
|
|
359
401
|
|
|
360
402
|
<script src="./js/compodoc.js"></script>
|
|
361
403
|
|