@eui/mobile-core 16.8.0-snapshot-1710507304234 → 17.0.0-next.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/docs/classes/EuimStepperChangeEvent.html +58 -0
- package/docs/components/EuiMUserProfileActionComponent.html +58 -0
- package/docs/components/EuiMUserProfileAvatarComponent.html +58 -0
- package/docs/components/EuiMUserProfileInfosComponent.html +58 -0
- package/docs/components/EuiMUserProfileInfosItemComponent.html +58 -0
- package/docs/components/EuimAlertMessageComponent.html +58 -0
- package/docs/components/EuimAppComponent.html +58 -0
- package/docs/components/EuimAppSidebarComponent.html +58 -0
- package/docs/components/EuimAppSidebarFooterComponent.html +58 -0
- package/docs/components/EuimAppSidebarHeaderComponent.html +58 -0
- package/docs/components/EuimAppSidebarMenuComponent.html +58 -0
- package/docs/components/EuimAvatarComponent.html +58 -0
- package/docs/components/EuimAvatarIconComponent.html +58 -0
- package/docs/components/EuimBadgeComponent.html +58 -0
- package/docs/components/EuimChipSelectorComponent.html +58 -0
- package/docs/components/EuimControlFeedbackComponent.html +58 -0
- package/docs/components/EuimDataSummaryColComponent.html +58 -0
- package/docs/components/EuimDataSummaryComponent.html +58 -0
- package/docs/components/EuimEmptyListPlaceholderComponent.html +58 -0
- package/docs/components/EuimFieldSetComponent.html +58 -0
- package/docs/components/EuimFieldsetActionsComponent.html +58 -0
- package/docs/components/EuimFieldsetLegendComponent.html +58 -0
- package/docs/components/EuimHeaderDetailsComponent.html +58 -0
- package/docs/components/EuimInfoScreenComponent.html +58 -0
- package/docs/components/EuimLabelComponent.html +58 -0
- package/docs/components/EuimLanguageListComponent.html +72 -14
- package/docs/components/EuimLanguageSelectorComponent.html +63 -69
- package/docs/components/EuimMediaHeaderComponent.html +58 -0
- package/docs/components/EuimMenuComponent.html +58 -0
- package/docs/components/EuimMessageComponent.html +58 -0
- package/docs/components/EuimMessageTitleComponent.html +58 -0
- package/docs/components/EuimMultiselectComponent.html +58 -0
- package/docs/components/EuimMultiselectFilterComponent.html +58 -34
- package/docs/components/EuimMultiselectInfoComponent.html +58 -0
- package/docs/components/EuimMultiselectListComponent.html +58 -0
- package/docs/components/EuimMultiselectToolbarComponent.html +58 -0
- package/docs/components/EuimNotificationItemComponent.html +58 -0
- package/docs/components/EuimScrollerXComponent.html +58 -0
- package/docs/components/EuimSidebarComponent.html +58 -0
- package/docs/components/EuimSidebarContentComponent.html +58 -0
- package/docs/components/EuimSkeletonListComponent.html +58 -0
- package/docs/components/EuimSkeletonListItemComponent.html +58 -0
- package/docs/components/EuimSlideComponent.html +58 -0
- package/docs/components/EuimSlideInfoScreenComponent.html +58 -0
- package/docs/components/EuimSliderComponent.html +58 -0
- package/docs/components/EuimSliderInfoScreenComponent.html +58 -0
- package/docs/components/EuimSpinnerComponent.html +58 -0
- package/docs/components/EuimSpinnerDescriptionComponent.html +58 -0
- package/docs/components/EuimSpinnerMessageComponent.html +58 -0
- package/docs/components/EuimStepperComponent.html +58 -0
- package/docs/components/EuimToolbarActionItemsComponent.html +58 -0
- package/docs/components/EuimToolbarComponent.html +58 -0
- package/docs/components/EuimToolbarTitleComponent.html +58 -0
- package/docs/components/EuimUserProfileComponent.html +58 -0
- package/docs/dependencies.html +60 -2
- package/docs/directives/BaseStatesDirective.html +58 -0
- package/docs/directives/EuimAvatarMainIconDirective.html +58 -0
- package/docs/directives/EuimAvatarSubIconDirective.html +58 -0
- package/docs/directives/EuimChipSelectorItemDirective.html +58 -0
- package/docs/directives/EuimDataSummaryColLabelDirective.html +58 -0
- package/docs/directives/EuimDataSummaryColValueDirective.html +58 -0
- package/docs/directives/EuimDividerDirective.html +58 -0
- package/docs/directives/EuimHeaderDetailsIconDirective.html +58 -0
- package/docs/directives/EuimHeaderDetailsMetaDirective.html +58 -0
- package/docs/directives/EuimHeaderDetailsTitleDirective.html +58 -0
- package/docs/directives/EuimInfoScreenContentDirective.html +58 -0
- package/docs/directives/EuimInfoScreenSubTitleDirective.html +58 -0
- package/docs/directives/EuimInfoScreenTitleDirective.html +58 -0
- package/docs/directives/EuimItemDividerDirective.html +58 -0
- package/docs/directives/EuimListHeaderDirective.html +58 -0
- package/docs/directives/EuimMediaHeaderImageDirective.html +58 -0
- package/docs/directives/EuimMediaHeaderSubTitleDirective.html +58 -0
- package/docs/directives/EuimMediaHeaderTitleDirective.html +58 -0
- package/docs/directives/EuimMultiselectAllDirective.html +58 -0
- package/docs/directives/EuimMultiselectSelectFieldDirective.html +58 -0
- package/docs/directives/EuimSkeletonTextAvatarDirective.html +58 -0
- package/docs/directives/EuimSliderInfoScreenContentDirective.html +58 -0
- package/docs/directives/EuimSliderInfoScreenSubTitleDirective.html +58 -0
- package/docs/directives/EuimSliderInfoScreenTitleDirective.html +58 -0
- package/docs/index.html +58 -0
- package/docs/injectables/EuimAppService.html +58 -0
- package/docs/interfaces/ActionBtnNames.html +58 -0
- package/docs/interfaces/ActionBtnsNames.html +58 -0
- package/docs/interfaces/Badge.html +58 -0
- package/docs/interfaces/EuimMenuItem.html +58 -0
- package/docs/interfaces/EuimMenuSection.html +58 -0
- package/docs/interfaces/FilteredData.html +58 -0
- package/docs/interfaces/Notification.html +58 -0
- package/docs/interfaces/UIState.html +58 -0
- package/docs/js/libs/bootstrap-native.js +2 -1
- package/docs/js/libs/es6-shim.min.js +11 -10
- package/docs/js/libs/tablesort.min.js +3 -3
- package/docs/js/libs/tablesort.number.min.js +2 -2
- package/docs/js/libs/vis.min.js +1 -1
- package/docs/js/menu.js +0 -55
- package/docs/js/search/search_index.js +2 -2
- package/docs/license.html +58 -0
- package/docs/miscellaneous/typealiases.html +58 -0
- package/docs/miscellaneous/variables.html +58 -0
- package/docs/modules/EuimAlertMessageModule.html +58 -0
- package/docs/modules/EuimAllModule.html +58 -0
- package/docs/modules/EuimAppModule.html +58 -0
- package/docs/modules/EuimAppSidebarModule.html +58 -0
- package/docs/modules/EuimAvatarIconModule.html +58 -0
- package/docs/modules/EuimAvatarModule.html +58 -0
- package/docs/modules/EuimBadgeModule.html +58 -0
- package/docs/modules/EuimChipSelectorComponentModule.html +58 -0
- package/docs/modules/EuimControlFeedbackModule.html +58 -0
- package/docs/modules/EuimDataSummaryModule.html +58 -0
- package/docs/modules/EuimDividerModule.html +58 -0
- package/docs/modules/EuimEmptyListPlaceholderModule.html +58 -0
- package/docs/modules/EuimFieldsetModule.html +58 -0
- package/docs/modules/EuimHeaderDetailsModule.html +58 -0
- package/docs/modules/EuimInfoScreenModule.html +58 -0
- package/docs/modules/EuimItemDividerModule.html +58 -0
- package/docs/modules/EuimLabelModule.html +58 -0
- package/docs/modules/EuimLanguageSelectorModule.html +58 -0
- package/docs/modules/EuimListHeaderModule.html +58 -0
- package/docs/modules/EuimMediaHeaderModule.html +58 -0
- package/docs/modules/EuimMenuModule.html +58 -0
- package/docs/modules/EuimMessageModule.html +58 -0
- package/docs/modules/EuimMultiselectModule.html +58 -0
- package/docs/modules/EuimNotificationItemModule.html +58 -0
- package/docs/modules/EuimScrollerXComponentModule.html +58 -0
- package/docs/modules/EuimSidebarModule.html +58 -0
- package/docs/modules/EuimSkeletonListItemModule.html +58 -0
- package/docs/modules/EuimSkeletonListModule.html +58 -0
- package/docs/modules/EuimSkeletonTextAvatarModule.html +58 -0
- package/docs/modules/EuimSliderInfoScreenModule.html +58 -0
- package/docs/modules/EuimSliderModule.html +58 -0
- package/docs/modules/EuimSpinnerComponentModule.html +58 -0
- package/docs/modules/EuimStepperComponentModule.html +58 -0
- package/docs/modules/EuimToolbarComponentModule.html +58 -0
- package/docs/modules/EuimUserProfileModule.html +58 -0
- package/docs/modules.html +58 -0
- package/docs/properties.html +58 -0
- package/esm2022/lib/components/atoms/euim-control-feedback/euim-control-feedback.component.mjs +5 -5
- package/esm2022/lib/components/atoms/euim-control-feedback/euim-control-feedback.module.mjs +5 -5
- package/esm2022/lib/components/atoms/euim-label/euim-label.component.mjs +5 -5
- package/esm2022/lib/components/atoms/euim-label/euim-label.module.mjs +5 -5
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.component.mjs +5 -5
- package/esm2022/lib/components/atoms/euim-notification-item/euim-notification-item.module.mjs +5 -5
- package/esm2022/lib/components/base-states.directive.mjs +4 -4
- package/esm2022/lib/components/directives/euim-divider/euim-divider.directive.mjs +4 -4
- package/esm2022/lib/components/directives/euim-divider/euim-divider.module.mjs +5 -5
- package/esm2022/lib/components/directives/euim-item-divider/euim-item-divider.directive.mjs +4 -4
- package/esm2022/lib/components/directives/euim-item-divider/euim-item-divider.module.mjs +5 -5
- package/esm2022/lib/components/directives/euim-list-header/euim-list-header.directive.mjs +4 -4
- package/esm2022/lib/components/directives/euim-list-header/euim-list-header.module.mjs +5 -5
- package/esm2022/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.directive.mjs +4 -4
- package/esm2022/lib/components/directives/euim-skeleton-text-avatar/euim-skeleton-text-avatar.module.mjs +5 -5
- package/esm2022/lib/components/euim-alert-message/euim-alert-message.module.mjs +5 -5
- package/esm2022/lib/components/euim-alert-message/euim-alert-messsage.component.mjs +5 -5
- package/esm2022/lib/components/euim-avatar/euim-avatar-main-icon/euim-avatar-main-icon.directive.mjs +4 -4
- package/esm2022/lib/components/euim-avatar/euim-avatar-sub-icon/euim-avatar-sub-icon.directive.mjs +4 -4
- package/esm2022/lib/components/euim-avatar/euim-avatar.component.mjs +4 -4
- package/esm2022/lib/components/euim-avatar/euim-avatar.module.mjs +5 -5
- package/esm2022/lib/components/euim-avatar-icon/euim-avatar-icon.component.mjs +4 -4
- package/esm2022/lib/components/euim-avatar-icon/euim-avatar-icon.module.mjs +5 -5
- package/esm2022/lib/components/euim-badge/euim-badge.component.mjs +5 -5
- package/esm2022/lib/components/euim-badge/euim-badge.module.mjs +5 -5
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector-item/euim-chip-selector-item.directive.mjs +5 -5
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector.component.mjs +4 -4
- package/esm2022/lib/components/euim-chip-selector/euim-chip-selector.module.mjs +5 -5
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col/euim-data-summary-col.component.mjs +4 -4
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-label/euim-data-summary-col-label.directive.mjs +5 -5
- package/esm2022/lib/components/euim-data-summary/euim-data-summary-col-value/euim-data-summary-col-value.directive.mjs +5 -5
- package/esm2022/lib/components/euim-data-summary/euim-data-summary.component.mjs +5 -5
- package/esm2022/lib/components/euim-data-summary/euim-data-summary.module.mjs +5 -5
- package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.component.mjs +4 -4
- package/esm2022/lib/components/euim-empty-list-placeholder/euim-empty-list-placeholder.module.mjs +5 -5
- package/esm2022/lib/components/euim-fieldset/euim-fieldset-actions/euim-fieldset-actions.component.mjs +4 -4
- package/esm2022/lib/components/euim-fieldset/euim-fieldset-legend/euim-fieldset-legend.component.mjs +4 -4
- package/esm2022/lib/components/euim-fieldset/euim-fieldset.component.mjs +5 -5
- package/esm2022/lib/components/euim-fieldset/euim-fieldset.module.mjs +5 -5
- package/esm2022/lib/components/euim-media-header/euim-media-header-image/euim-media-header-image.directive.mjs +4 -4
- package/esm2022/lib/components/euim-media-header/euim-media-header-sub-title/euim-media-header-sub-title.directive.mjs +4 -4
- package/esm2022/lib/components/euim-media-header/euim-media-header-title/euim-media-header-title.directive.mjs +4 -4
- package/esm2022/lib/components/euim-media-header/euim-media-header.component.mjs +6 -6
- package/esm2022/lib/components/euim-media-header/euim-media-header.module.mjs +5 -5
- package/esm2022/lib/components/euim-menu/euim-menu.component.mjs +5 -5
- package/esm2022/lib/components/euim-menu/euim-menu.module.mjs +5 -5
- package/esm2022/lib/components/euim-message/euim-message-title/euim-message-title.component.mjs +4 -4
- package/esm2022/lib/components/euim-message/euim-message.component.mjs +5 -5
- package/esm2022/lib/components/euim-message/euim-message.module.mjs +5 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.mjs +11 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.mjs +5 -25
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-info/euim-multiselect-info.component.mjs +5 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-list/euim-multiselect-list.component.mjs +5 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-select-field/euim-multiselect-select-field.directive.mjs +5 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect-toolbar/euim-multiselect-toolbar.component.mjs +5 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect.component.mjs +5 -5
- package/esm2022/lib/components/euim-multiselect/euim-multiselect.module.mjs +5 -5
- package/esm2022/lib/components/euim-scroller-x/euim-scroller-x.component.mjs +4 -4
- package/esm2022/lib/components/euim-scroller-x/euim-scroller-x.module.mjs +5 -5
- package/esm2022/lib/components/euim-skeleton-list/euim-skeleton-list.component.mjs +4 -4
- package/esm2022/lib/components/euim-skeleton-list/euim-skeleton-list.module.mjs +5 -5
- package/esm2022/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.component.mjs +5 -5
- package/esm2022/lib/components/euim-skeleton-list-item/euim-skeleton-list-item.module.mjs +5 -5
- package/esm2022/lib/components/euim-slider/euim-slide/euim-slide.component.mjs +4 -4
- package/esm2022/lib/components/euim-slider/euim-slider.component.mjs +5 -5
- package/esm2022/lib/components/euim-slider/euim-slider.module.mjs +5 -5
- package/esm2022/lib/components/euim-slider-info-screen/euim-slide-info-screen/euim-slide-info-screen.component.mjs +4 -4
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen-content/euim-slider-info-screen-content.directive.mjs +4 -4
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen-sub-title/euim-slider-info-screen-sub-title.directive.mjs +4 -4
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen-title/euim-slider-info-screen-title.directive.mjs +4 -4
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen.component.mjs +6 -6
- package/esm2022/lib/components/euim-slider-info-screen/euim-slider-info-screen.module.mjs +5 -5
- package/esm2022/lib/components/euim-spinner/euim-spinner-description/euim-spinner-description.component.mjs +4 -4
- package/esm2022/lib/components/euim-spinner/euim-spinner-message/euim-spinner-message.component.mjs +4 -4
- package/esm2022/lib/components/euim-spinner/euim-spinner.component.mjs +4 -4
- package/esm2022/lib/components/euim-spinner/euim-spinner.module.mjs +5 -5
- package/esm2022/lib/components/euim-stepper/euim-steper.module.mjs +5 -5
- package/esm2022/lib/components/euim-stepper/euim-stepper.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar-footer/sidebar-footer.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar-header/sidebar-header.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar-menu/sidebar-menu.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-app/euim-app-sidebar/sidebar.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-app/euim-app.component.mjs +5 -5
- package/esm2022/lib/components/layout/euim-app/euim-app.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details-icon/euim-header-details-icon.directive.mjs +4 -4
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details-meta/euim-header-details-meta.directive.mjs +4 -4
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details-title/euim-header-details-title.directive.mjs +4 -4
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details.component.mjs +5 -5
- package/esm2022/lib/components/layout/euim-header-details/euim-header-details.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen-content/euim-info-screen-content.directive.mjs +4 -4
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen-sub-title/euim-info-screen-sub-title.directive.mjs +4 -4
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen-title/euim-info-screen-title.directive.mjs +4 -4
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen.component.mjs +5 -5
- package/esm2022/lib/components/layout/euim-info-screen/euim-info-screen.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-list.component.mjs +10 -10
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.component.mjs +8 -15
- package/esm2022/lib/components/layout/euim-language-selector/euim-language-selector.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-sidebar/euim-sidebar-content/euim-sidebar-content.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-sidebar/euim-sidebar.component.mjs +5 -5
- package/esm2022/lib/components/layout/euim-sidebar/euim-sidebar.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-action-items/euim-toolbar-action-items.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar-title/euim-toolbar-title.component.mjs +5 -5
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-toolbar/euim-toolbar.module.mjs +5 -5
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-action/euim-user-profile-action.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-avatar/euim-user-profile-avatar.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos/euim-user-profile-infos.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile-infos-item/euim-user-profile-infos-item.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile.component.mjs +4 -4
- package/esm2022/lib/components/layout/euim-user-profile/euim-user-profile.module.mjs +5 -5
- package/esm2022/lib/euim-all.module.mjs +5 -5
- package/esm2022/lib/services/euim-app.service.mjs +5 -5
- package/fesm2022/eui-mobile-core.mjs +420 -441
- package/fesm2022/eui-mobile-core.mjs.map +1 -1
- package/lib/components/euim-multiselect/euim-multiselect-all/euim-multiselect-all.directive.d.ts.map +1 -1
- package/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.d.ts +0 -1
- package/lib/components/euim-multiselect/euim-multiselect-filter/euim-multiselect-filter.component.d.ts.map +1 -1
- package/lib/components/layout/euim-language-selector/euim-language-list.component.d.ts +13 -13
- package/lib/components/layout/euim-language-selector/euim-language-list.component.d.ts.map +1 -1
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts +5 -7
- package/lib/components/layout/euim-language-selector/euim-language-selector.component.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
package/docs/dependencies.html
CHANGED
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="./styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="./" class="navbar-brand">csdr documentation</a>
|
|
@@ -51,9 +109,9 @@
|
|
|
51
109
|
</ol>
|
|
52
110
|
<ul class="dependencies-list">
|
|
53
111
|
<li>
|
|
54
|
-
<b>@eui/deps-base</b> :
|
|
112
|
+
<b>@eui/deps-base</b> : 17.3.0-snapshot-1710814694744</li>
|
|
55
113
|
<li>
|
|
56
|
-
<b>@eui/styles-base</b> :
|
|
114
|
+
<b>@eui/styles-base</b> : 17.3.0-snapshot-1710814694744</li>
|
|
57
115
|
<li>
|
|
58
116
|
<b>@ionic/angular-toolkit</b> : 7.0.0</li>
|
|
59
117
|
<li>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|
|
@@ -13,6 +13,64 @@
|
|
|
13
13
|
<link rel="stylesheet" href="../styles/material.css">
|
|
14
14
|
</head>
|
|
15
15
|
<body>
|
|
16
|
+
<script>
|
|
17
|
+
// Blocking script to avaoid flickering dark mode
|
|
18
|
+
// Dark mode toggle button
|
|
19
|
+
var useDark = window.matchMedia('(prefers-color-scheme: dark)');
|
|
20
|
+
var darkModeState = useDark.matches;
|
|
21
|
+
var $darkModeToggleSwitchers = document.querySelectorAll('.dark-mode-switch input');
|
|
22
|
+
var $darkModeToggles = document.querySelectorAll('.dark-mode-switch');
|
|
23
|
+
var darkModeStateLocal = localStorage.getItem('compodoc_darkmode-state');
|
|
24
|
+
|
|
25
|
+
function checkToggle(check) {
|
|
26
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
27
|
+
$darkModeToggleSwitchers[i].checked = check;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
function toggleDarkMode(state) {
|
|
32
|
+
if (window.localStorage) {
|
|
33
|
+
localStorage.setItem('compodoc_darkmode-state', state);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
checkToggle(state);
|
|
37
|
+
|
|
38
|
+
const hasClass = document.body.classList.contains('dark');
|
|
39
|
+
|
|
40
|
+
if (state) {
|
|
41
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
42
|
+
$darkModeToggles[i].classList.add('dark');
|
|
43
|
+
}
|
|
44
|
+
if (!hasClass) {
|
|
45
|
+
document.body.classList.add('dark');
|
|
46
|
+
}
|
|
47
|
+
} else {
|
|
48
|
+
for (var i = 0; i < $darkModeToggles.length; i++) {
|
|
49
|
+
$darkModeToggles[i].classList.remove('dark');
|
|
50
|
+
}
|
|
51
|
+
if (hasClass) {
|
|
52
|
+
document.body.classList.remove('dark');
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
useDark.addEventListener('change', function (evt) {
|
|
58
|
+
toggleDarkMode(evt.matches);
|
|
59
|
+
});
|
|
60
|
+
if (darkModeStateLocal) {
|
|
61
|
+
darkModeState = darkModeStateLocal === 'true';
|
|
62
|
+
}
|
|
63
|
+
toggleDarkMode(darkModeState);
|
|
64
|
+
|
|
65
|
+
if ($darkModeToggles.length > 0) {
|
|
66
|
+
for (var i = 0; i < $darkModeToggleSwitchers.length; i++) {
|
|
67
|
+
$darkModeToggleSwitchers[i].addEventListener('change', function (event) {
|
|
68
|
+
darkModeState = !darkModeState;
|
|
69
|
+
toggleDarkMode(darkModeState);
|
|
70
|
+
});
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
</script>
|
|
16
74
|
|
|
17
75
|
<div class="navbar navbar-default navbar-fixed-top d-block d-sm-none">
|
|
18
76
|
<a href="../" class="navbar-brand">csdr documentation</a>
|