@duetds/components 9.2.1 → 9.2.3
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/hydrate/index.js +872 -546
- package/lib/cjs/{app-globals-940f10af.js → app-globals-76b570cd.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +4 -4
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +4 -4
- package/lib/cjs/duet-card.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +60 -26
- package/lib/cjs/duet-choice_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-collapsible.cjs.entry.js +2 -2
- package/lib/cjs/duet-combobox.cjs.entry.js +4 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +1 -1
- package/lib/cjs/duet-date-picker.cjs.entry.js +48 -31
- package/lib/cjs/duet-divider_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +1 -1
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +1 -1
- package/lib/cjs/duet-footer.cjs.entry.js +3 -3
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-hero.cjs.entry.js +3 -3
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +16 -6
- package/lib/cjs/duet-modal.cjs.entry.js +4 -4
- package/lib/cjs/duet-multiselect.cjs.entry.js +3 -3
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +1 -1
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +8 -13
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +14 -11
- package/lib/cjs/duet-slideout.cjs.entry.js +38 -15
- package/lib/cjs/duet-step_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +8 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +4 -4
- package/lib/cjs/{errorcodes.utils-a9512b40.js → errorcodes.utils-ba7fae1c.js} +1 -1
- package/lib/cjs/{focus-utils-c9b32897.js → focus-utils-ce2b65c9.js} +1 -1
- package/lib/cjs/{index-ce05ed4b.js → index-340b85bb.js} +856 -609
- package/lib/cjs/{language-utils-04d69d6b.js → language-utils-07b9f155.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-83d6d31e.js → slot-utils-ac35c5be.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -1
- package/lib/collection/components/duet-action-button/duet-action-button.js +38 -0
- package/lib/collection/components/duet-alert/duet-alert.css +3 -0
- package/lib/collection/components/duet-alert/duet-alert.js +24 -0
- package/lib/collection/components/duet-badge/duet-badge.js +10 -2
- package/lib/collection/components/duet-banner/duet-banner.js +22 -0
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +14 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +8 -2
- package/lib/collection/components/duet-button/duet-button.js +78 -0
- package/lib/collection/components/duet-callout/duet-callout.js +6 -2
- package/lib/collection/components/duet-caption/duet-caption.js +8 -0
- package/lib/collection/components/duet-card/duet-card.js +32 -0
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +44 -0
- package/lib/collection/components/duet-chip/duet-chip.js +28 -0
- package/lib/collection/components/duet-choice/duet-checkmark.js +12 -2
- package/lib/collection/components/duet-choice/duet-choice.css +8 -0
- package/lib/collection/components/duet-choice/duet-choice.js +64 -0
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +32 -0
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +20 -0
- package/lib/collection/components/duet-combobox/duet-combobox.js +27 -1
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +22 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +4 -0
- package/lib/collection/components/duet-date-picker/date-i18n.js +1 -1
- package/lib/collection/components/duet-date-picker/date-picker-day.js +2 -2
- package/lib/collection/components/duet-date-picker/date-picker-input.js +7 -5
- package/lib/collection/components/duet-date-picker/date-picker-month.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +27 -15
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +85 -9
- package/lib/collection/components/duet-divider/duet-divider.js +6 -0
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +26 -0
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +6 -0
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +21 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +6 -0
- package/lib/collection/components/duet-footer/duet-footer.js +20 -0
- package/lib/collection/components/duet-grid/duet-grid.js +16 -0
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +18 -0
- package/lib/collection/components/duet-header/duet-header.js +40 -0
- package/lib/collection/components/duet-heading/duet-heading.js +18 -0
- package/lib/collection/components/duet-hero/duet-hero.js +57 -1
- package/lib/collection/components/duet-icon/duet-icon.js +29 -3
- package/lib/collection/components/duet-input/duet-input.css +3 -0
- package/lib/collection/components/duet-input/duet-input.js +90 -0
- package/lib/collection/components/duet-label/duet-label.js +12 -0
- package/lib/collection/components/duet-layout/duet-layout.js +14 -0
- package/lib/collection/components/duet-link/duet-link.js +44 -2
- package/lib/collection/components/duet-list/duet-list.js +16 -0
- package/lib/collection/components/duet-list-item/duet-list-item.js +6 -2
- package/lib/collection/components/duet-logo/duet-logo.js +16 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +5 -0
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +29 -4
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +28 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +12 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +10 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +24 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +12 -2
- package/lib/collection/components/duet-modal/duet-modal.js +38 -0
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +38 -0
- package/lib/collection/components/duet-nav/duet-nav.js +5 -1
- package/lib/collection/components/duet-notification/duet-notification.css +33 -5
- package/lib/collection/components/duet-notification/duet-notification.js +18 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +16 -0
- package/lib/collection/components/duet-number-input/duet-number-input.js +70 -0
- package/lib/collection/components/duet-overlay/duet-overlay.js +16 -0
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +8 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +32 -0
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +12 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.css +4 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +136 -29
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +32 -1
- package/lib/collection/components/duet-progress/duet-progress.js +22 -0
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +16 -2
- package/lib/collection/components/duet-radio/duet-radio.js +44 -0
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +30 -0
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +44 -0
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +16 -0
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +21 -5
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +9 -3
- package/lib/collection/components/duet-select/duet-select.js +52 -0
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +12 -2
- package/lib/collection/components/duet-show-more/duet-show-more.css +7 -0
- package/lib/collection/components/duet-show-more/duet-show-more.js +28 -0
- package/lib/collection/components/duet-slideout/duet-slideout.js +98 -16
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +3 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +20 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.css +26 -0
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +41 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +12 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +6 -0
- package/lib/collection/components/duet-spinner/duet-spinner.js +8 -0
- package/lib/collection/components/duet-step/duet-step.js +14 -0
- package/lib/collection/components/duet-stepper/duet-stepper.js +10 -0
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +13 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +12 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +14 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +23 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +9 -1
- package/lib/collection/components/duet-tab/duet-tab.js +18 -5
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +28 -0
- package/lib/collection/components/duet-table/duet-table.js +16 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +74 -5
- package/lib/collection/components/duet-toggle/duet-toggle.js +40 -0
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +8 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +16 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +14 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.css +21 -0
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +49 -4
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +14 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +12 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +15 -3
- package/lib/collection/components/duet-tooltip/duet-tooltip.js +28 -0
- package/lib/collection/components/duet-tray/duet-tray.js +20 -2
- package/lib/collection/components/duet-upload/duet-upload.js +110 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +13 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +31 -9
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +5 -5
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +9 -9
- package/lib/dist-custom-elements/duet-choice.js +7 -7
- package/lib/dist-custom-elements/duet-collapsible.js +3 -3
- package/lib/dist-custom-elements/duet-combobox.js +19 -19
- package/lib/dist-custom-elements/duet-contact-card.js +11 -11
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +63 -45
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +2 -2
- package/lib/dist-custom-elements/duet-footer.js +9 -9
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +10 -10
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +11 -11
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +2 -2
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +19 -8
- package/lib/dist-custom-elements/duet-modal.js +11 -11
- package/lib/dist-custom-elements/duet-multiselect.js +11 -11
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +5 -5
- package/lib/dist-custom-elements/duet-notification.js +6 -6
- package/lib/dist-custom-elements/duet-number-input.js +13 -13
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +4 -4
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +5 -5
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +16 -12
- package/lib/dist-custom-elements/duet-slideout.js +42 -18
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +14 -14
- package/lib/dist-custom-elements/duet-tab.js +2 -7
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +17 -18
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +10 -8
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +6 -6
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +23 -23
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +2 -2
- package/lib/dist-custom-elements/{p-3d136f5c.js → p-0230e9f7.js} +9 -9
- package/lib/dist-custom-elements/{p-6fdef72e.js → p-02c633ce.js} +1 -1
- package/lib/dist-custom-elements/{p-55989a50.js → p-1cb8476a.js} +6 -6
- package/lib/dist-custom-elements/{p-28807fbd.js → p-1ea54c70.js} +1 -1
- package/lib/dist-custom-elements/{p-1149a5f1.js → p-26b7ade3.js} +852 -613
- package/lib/dist-custom-elements/{p-782759f5.js → p-2b8ce441.js} +1 -1
- package/lib/dist-custom-elements/{p-69f6a6aa.js → p-35375593.js} +1 -1
- package/lib/dist-custom-elements/{p-e685687b.js → p-38184acb.js} +1 -1
- package/lib/dist-custom-elements/{p-9f461090.js → p-3eae8aeb.js} +1 -1
- package/lib/dist-custom-elements/{p-be13a7a6.js → p-40eaa1e8.js} +4 -4
- package/lib/dist-custom-elements/{p-95fb5b4b.js → p-4dc547d5.js} +6 -6
- package/lib/dist-custom-elements/{p-f1a4011f.js → p-52a71225.js} +1 -1
- package/lib/dist-custom-elements/{p-ab30a756.js → p-5474eeba.js} +3 -3
- package/lib/dist-custom-elements/{p-d00e8f90.js → p-5be05df5.js} +13 -13
- package/lib/dist-custom-elements/{p-a89ea763.js → p-63d7f555.js} +5 -5
- package/lib/dist-custom-elements/{p-2cc77e29.js → p-6fba1a8d.js} +7 -7
- package/lib/dist-custom-elements/{p-570cecb0.js → p-70dc7a81.js} +8 -3
- package/lib/dist-custom-elements/{p-0cf30970.js → p-75e5bd55.js} +4 -4
- package/lib/dist-custom-elements/{p-e8594dcd.js → p-78a5f782.js} +1 -1
- package/lib/dist-custom-elements/{p-1cea02c6.js → p-78ce84c0.js} +1 -1
- package/lib/dist-custom-elements/{p-a407fdb5.js → p-8a6272fd.js} +3 -3
- package/lib/dist-custom-elements/{p-c5df07b9.js → p-8b3decf2.js} +1 -1
- package/lib/dist-custom-elements/{p-791ee647.js → p-8d2d00df.js} +1 -1
- package/lib/dist-custom-elements/{p-1749d98a.js → p-8e6d8a49.js} +11 -11
- package/lib/dist-custom-elements/{p-aa53a402.js → p-92271f30.js} +13 -13
- package/lib/dist-custom-elements/{p-ae917476.js → p-94084f9c.js} +57 -27
- package/lib/dist-custom-elements/{p-bc933201.js → p-993aea39.js} +1 -1
- package/lib/dist-custom-elements/{p-87248c43.js → p-9f29df11.js} +2 -2
- package/lib/dist-custom-elements/{p-29c84284.js → p-a8ec8761.js} +1 -1
- package/lib/dist-custom-elements/{p-01dec611.js → p-aee0da4a.js} +3 -3
- package/lib/dist-custom-elements/{p-329cec9e.js → p-b0182f1f.js} +1 -1
- package/lib/dist-custom-elements/{p-b87d1e74.js → p-b0a7f776.js} +3 -3
- package/lib/dist-custom-elements/{p-c43f0450.js → p-b5ab185d.js} +2 -2
- package/lib/dist-custom-elements/{p-3883514c.js → p-b5e71a67.js} +5 -5
- package/lib/dist-custom-elements/{p-14903ee8.js → p-c5aac304.js} +6 -6
- package/lib/dist-custom-elements/{p-72bc5f40.js → p-d824ce45.js} +1 -1
- package/lib/dist-custom-elements/{p-55342fcd.js → p-dac0f309.js} +5 -5
- package/lib/dist-custom-elements/{p-a9169fe0.js → p-e30dc66d.js} +1 -1
- package/lib/dist-custom-elements/{p-aad2ab95.js → p-ee7efc3d.js} +9 -9
- package/lib/dist-custom-elements/{p-d551ba52.js → p-f0080861.js} +2 -2
- package/lib/dist-custom-elements/{p-1cf7db2a.js → p-f4db5912.js} +3 -3
- package/lib/dist-custom-elements/{p-c8e032e9.js → p-f76d6e43.js} +3 -3
- package/lib/dist-custom-elements/{p-5e4809d5.js → p-fabc88b7.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-186dc204.entry.js → p-02380a84.entry.js} +1 -1
- package/lib/duet/{p-231b853e.entry.js → p-04422a4f.entry.js} +1 -1
- package/lib/duet/p-068cf24e.system.entry.js +4 -0
- package/lib/duet/{p-28d2739c.entry.js → p-079f9e29.entry.js} +1 -1
- package/lib/duet/p-08b0bbbb.entry.js +4 -0
- package/lib/duet/p-091a5f13.system.entry.js +4 -0
- package/lib/duet/{p-19097787.system.entry.js → p-0bb7e6db.system.entry.js} +1 -1
- package/lib/duet/{p-1261a1b5.entry.js → p-0c9851a1.entry.js} +1 -1
- package/lib/duet/{p-7863c54a.entry.js → p-1057521d.entry.js} +1 -1
- package/lib/duet/{p-7f94c928.entry.js → p-12a7249e.entry.js} +1 -1
- package/lib/duet/{p-102d7289.system.entry.js → p-16038e7f.system.entry.js} +1 -1
- package/lib/duet/{p-497263c5.entry.js → p-17a92a57.entry.js} +1 -1
- package/lib/duet/{p-eb9677dc.entry.js → p-1a05b9bb.entry.js} +1 -1
- package/lib/duet/{p-eb26c1f5.system.entry.js → p-217328d7.system.entry.js} +2 -2
- package/lib/duet/p-2247d351.system.entry.js +4 -0
- package/lib/duet/{p-408a9ccb.entry.js → p-25390477.entry.js} +1 -1
- package/lib/duet/{p-dfbd0dd7.system.js → p-25c77fc5.system.js} +1 -1
- package/lib/duet/{p-db2c01b7.system.entry.js → p-2665d9ca.system.entry.js} +1 -1
- package/lib/duet/{p-7b6bacd8.entry.js → p-2993a8c3.entry.js} +1 -1
- package/lib/duet/{p-753333e9.system.entry.js → p-29dbe11f.system.entry.js} +2 -2
- package/lib/duet/{p-4068cfee.entry.js → p-2d3f0a48.entry.js} +1 -1
- package/lib/duet/{p-9c5717a5.system.entry.js → p-2e8c2654.system.entry.js} +1 -1
- package/lib/duet/{p-b4df4c57.entry.js → p-2e96eecc.entry.js} +1 -1
- package/lib/duet/{p-514b6b5b.system.js → p-30e9baf8.system.js} +1 -1
- package/lib/duet/{p-22b59f78.system.entry.js → p-33b69886.system.entry.js} +1 -1
- package/lib/duet/{p-81168888.entry.js → p-37f9b3f3.entry.js} +1 -1
- package/lib/duet/{p-a0c1c7d8.system.entry.js → p-38b0ae95.system.entry.js} +1 -1
- package/lib/duet/p-3c427358.entry.js +4 -0
- package/lib/duet/{p-a033bafa.system.entry.js → p-3e580d39.system.entry.js} +1 -1
- package/lib/duet/{p-09f97fb6.entry.js → p-3f4b8a20.entry.js} +1 -1
- package/lib/duet/{p-8bee5b14.entry.js → p-416c6bd2.entry.js} +1 -1
- package/lib/duet/{p-16e3f6f0.system.entry.js → p-4304cb65.system.entry.js} +1 -1
- package/lib/duet/p-45085ca6.system.js +4 -0
- package/lib/duet/{p-e7f0d18b.system.entry.js → p-454ce0a7.system.entry.js} +1 -1
- package/lib/duet/p-4b880bb3.entry.js +4 -0
- package/lib/duet/{p-d6fbbecc.entry.js → p-4c513203.entry.js} +1 -1
- package/lib/duet/{p-f749aa8a.system.entry.js → p-4d5f2668.system.entry.js} +1 -1
- package/lib/duet/p-4f198ebe.entry.js +4 -0
- package/lib/duet/{p-7a41aff3.system.entry.js → p-503b1f9c.system.entry.js} +1 -1
- package/lib/duet/{p-bd2768a5.system.entry.js → p-539b8b9b.system.entry.js} +1 -1
- package/lib/duet/p-53a79c8c.system.entry.js +4 -0
- package/lib/duet/{p-375948ff.entry.js → p-54e46011.entry.js} +1 -1
- package/lib/duet/{p-16a3016e.system.entry.js → p-558ea33c.system.entry.js} +1 -1
- package/lib/duet/{p-ccf2bc0a.system.entry.js → p-567227f2.system.entry.js} +1 -1
- package/lib/duet/{p-b5443923.entry.js → p-5727dc58.entry.js} +1 -1
- package/lib/duet/{p-783cc158.entry.js → p-582c6653.entry.js} +1 -1
- package/lib/duet/{p-151b3794.entry.js → p-5ae54542.entry.js} +1 -1
- package/lib/duet/{p-ce754f76.entry.js → p-5bd68f1e.entry.js} +1 -1
- package/lib/duet/{p-cf1206a8.entry.js → p-5fb91cf2.entry.js} +1 -1
- package/lib/duet/p-618bf010.entry.js +4 -0
- package/lib/duet/p-626be65a.system.entry.js +4 -0
- package/lib/duet/{p-fa2ef682.entry.js → p-63f0c13f.entry.js} +1 -1
- package/lib/duet/{p-2c42ece3.system.entry.js → p-64b767a1.system.entry.js} +1 -1
- package/lib/duet/p-6586fb03.js +5 -0
- package/lib/duet/{p-0e91ae89.js → p-6647e622.js} +1 -1
- package/lib/duet/p-672c2725.system.entry.js +4 -0
- package/lib/duet/{p-b3ab4a17.system.entry.js → p-6f86fd58.system.entry.js} +1 -1
- package/lib/duet/{p-ce7987e8.system.entry.js → p-72d24fa8.system.entry.js} +1 -1
- package/lib/duet/{p-d8d99c33.system.entry.js → p-72e2c5ff.system.entry.js} +1 -1
- package/lib/duet/p-73251b4a.system.entry.js +4 -0
- package/lib/duet/{p-d6e16c5d.entry.js → p-742e42e3.entry.js} +1 -1
- package/lib/duet/{p-962a7ed7.system.entry.js → p-7456c30b.system.entry.js} +1 -1
- package/lib/duet/{p-f930128c.system.entry.js → p-761a7665.system.entry.js} +1 -1
- package/lib/duet/{p-f6471762.system.entry.js → p-78c0a939.system.entry.js} +2 -2
- package/lib/duet/{p-fd5d4f14.entry.js → p-7a111f40.entry.js} +1 -1
- package/lib/duet/{p-3c0373cb.system.entry.js → p-7aa134f8.system.entry.js} +1 -1
- package/lib/duet/p-7c665c7b.system.entry.js +4 -0
- package/lib/duet/{p-fc100c70.entry.js → p-7c7c220c.entry.js} +1 -1
- package/lib/duet/{p-50bf90d6.entry.js → p-7e709290.entry.js} +1 -1
- package/lib/duet/{p-832862b7.system.js → p-7eb1ccc1.system.js} +1 -1
- package/lib/duet/{p-f0634b57.entry.js → p-8158f08f.entry.js} +1 -1
- package/lib/duet/{p-b274ebde.system.entry.js → p-821e7df8.system.entry.js} +1 -1
- package/lib/duet/{p-61fe7d32.entry.js → p-84ee5bc9.entry.js} +1 -1
- package/lib/duet/{p-312f509d.entry.js → p-86c7b940.entry.js} +1 -1
- package/lib/duet/{p-9abe2d23.system.entry.js → p-8845de2e.system.entry.js} +1 -1
- package/lib/duet/p-888e855d.entry.js +4 -0
- package/lib/duet/{p-176154a9.system.entry.js → p-8a709b0d.system.entry.js} +1 -1
- package/lib/duet/{p-cca4a7db.entry.js → p-8c628593.entry.js} +1 -1
- package/lib/duet/{p-f28acd06.system.entry.js → p-8db4323f.system.entry.js} +1 -1
- package/lib/duet/{p-cd0e3537.system.entry.js → p-8e94ee62.system.entry.js} +1 -1
- package/lib/duet/p-9050c043.entry.js +4 -0
- package/lib/duet/{p-e8d31be7.entry.js → p-91967747.entry.js} +1 -1
- package/lib/duet/{p-d9b32ab3.entry.js → p-91e74580.entry.js} +1 -1
- package/lib/duet/{p-528db5b3.system.entry.js → p-9220b2f7.system.entry.js} +1 -1
- package/lib/duet/{p-5f6a8312.system.entry.js → p-94283cba.system.entry.js} +1 -1
- package/lib/duet/{p-3e13fb5c.entry.js → p-959d0b38.entry.js} +1 -1
- package/lib/duet/{p-ac538db7.entry.js → p-9629f198.entry.js} +1 -1
- package/lib/duet/{p-46030b7e.entry.js → p-973eb9ef.entry.js} +1 -1
- package/lib/duet/{p-b2f64f34.entry.js → p-9828d01b.entry.js} +1 -1
- package/lib/duet/p-98ea8c33.entry.js +4 -0
- package/lib/duet/{p-aba65c68.system.entry.js → p-9ac83cce.system.entry.js} +1 -1
- package/lib/duet/{p-4a657e92.entry.js → p-9ad418dc.entry.js} +1 -1
- package/lib/duet/{p-fbcd3fb7.entry.js → p-9ea6b9ea.entry.js} +1 -1
- package/lib/duet/{p-b657f08f.system.entry.js → p-9f887a8b.system.entry.js} +1 -1
- package/lib/duet/{p-a0ffaabf.entry.js → p-9ff81f9a.entry.js} +1 -1
- package/lib/duet/{p-ec70084a.entry.js → p-a120b25b.entry.js} +1 -1
- package/lib/duet/{p-8002cdbf.system.js → p-a45b41a5.system.js} +1 -1
- package/lib/duet/{p-c8783040.entry.js → p-a7873d11.entry.js} +1 -1
- package/lib/duet/{p-2091f634.entry.js → p-a84ae2da.entry.js} +1 -1
- package/lib/duet/{p-bc2be70e.system.entry.js → p-aa908860.system.entry.js} +1 -1
- package/lib/duet/{p-03ebb87c.js → p-ab6f31bd.js} +1 -1
- package/lib/duet/{p-fdbc9c7f.system.entry.js → p-ad8efcc9.system.entry.js} +1 -1
- package/lib/duet/{p-ead4b210.system.entry.js → p-ad9a28ce.system.entry.js} +1 -1
- package/lib/duet/{p-fccf2ddc.entry.js → p-af614927.entry.js} +1 -1
- package/lib/duet/{p-832e5af8.system.entry.js → p-af70b228.system.entry.js} +2 -2
- package/lib/duet/{p-36b2ad26.system.entry.js → p-b081da29.system.entry.js} +1 -1
- package/lib/duet/{p-f33f42ce.entry.js → p-b2c3d1b0.entry.js} +1 -1
- package/lib/duet/{p-9c50306c.system.entry.js → p-b2e5c45c.system.entry.js} +1 -1
- package/lib/duet/{p-5fe9bbe0.entry.js → p-b3512b93.entry.js} +1 -1
- package/lib/duet/{p-739bfa4e.system.entry.js → p-b4d15993.system.entry.js} +1 -1
- package/lib/duet/{p-a838f364.system.entry.js → p-b51e2eee.system.entry.js} +1 -1
- package/lib/duet/{p-13f6afbe.system.entry.js → p-b69bc1e1.system.entry.js} +1 -1
- package/lib/duet/{p-ec5d2407.entry.js → p-b79fe3aa.entry.js} +1 -1
- package/lib/duet/{p-8087cdcd.system.entry.js → p-b89a059e.system.entry.js} +1 -1
- package/lib/duet/{p-48c61eee.system.entry.js → p-b8faf306.system.entry.js} +1 -1
- package/lib/duet/{p-7712eb09.system.entry.js → p-b948418d.system.entry.js} +1 -1
- package/lib/duet/{p-386c614c.system.entry.js → p-b98222bd.system.entry.js} +1 -1
- package/lib/duet/{p-033a796b.system.entry.js → p-bce0fb51.system.entry.js} +1 -1
- package/lib/duet/{p-8c95d7e7.entry.js → p-bd74bd69.entry.js} +1 -1
- package/lib/duet/{p-3beb1c58.system.entry.js → p-bf8b75d0.system.entry.js} +2 -2
- package/lib/duet/p-bfa34b21.js +4 -0
- package/lib/duet/{p-e6596826.entry.js → p-c01383c1.entry.js} +1 -1
- package/lib/duet/{p-3363aa75.entry.js → p-c1d59f6d.entry.js} +1 -1
- package/lib/duet/{p-599c6ee4.system.entry.js → p-c249faed.system.entry.js} +1 -1
- package/lib/duet/{p-646fcab7.system.entry.js → p-c558abb2.system.entry.js} +1 -1
- package/lib/duet/{p-d6c69f62.system.js → p-c5746dd0.system.js} +1 -1
- package/lib/duet/p-c6f946fe.entry.js +4 -0
- package/lib/duet/{p-14a83e9e.system.entry.js → p-c7cbe815.system.entry.js} +1 -1
- package/lib/duet/{p-91b2664a.system.entry.js → p-ccc9e30f.system.entry.js} +1 -1
- package/lib/duet/{p-dcbb4af4.entry.js → p-cccc8a6c.entry.js} +1 -1
- package/lib/duet/{p-a90efe08.entry.js → p-ccf771f5.entry.js} +1 -1
- package/lib/duet/p-cd30e156.system.entry.js +4 -0
- package/lib/duet/{p-60754704.entry.js → p-cd7e44b4.entry.js} +1 -1
- package/lib/duet/{p-3e15a291.entry.js → p-ce59f561.entry.js} +1 -1
- package/lib/duet/{p-446f79d6.entry.js → p-cf4ce1f7.entry.js} +1 -1
- package/lib/duet/{p-961a7a42.system.entry.js → p-d0aae845.system.entry.js} +1 -1
- package/lib/duet/{p-a1e13f21.entry.js → p-d468472d.entry.js} +1 -1
- package/lib/duet/{p-37b8bb50.system.entry.js → p-d4a56ffe.system.entry.js} +1 -1
- package/lib/duet/{p-ee52d40a.system.entry.js → p-d6fa4e11.system.entry.js} +1 -1
- package/lib/duet/p-d75c8108.system.entry.js +4 -0
- package/lib/duet/{p-54fbe5c8.entry.js → p-d81cefba.entry.js} +1 -1
- package/lib/duet/{p-ffdfb64b.system.entry.js → p-d84bf562.system.entry.js} +2 -2
- package/lib/duet/p-dc5c5cc4.system.js +5 -0
- package/lib/duet/p-df2bdfe3.system.entry.js +4 -0
- package/lib/duet/{p-8486a863.entry.js → p-e04146a1.entry.js} +1 -1
- package/lib/duet/{p-7db5f5b6.entry.js → p-e2bafc44.entry.js} +1 -1
- package/lib/duet/p-e511bbaa.entry.js +4 -0
- package/lib/duet/{p-f40c4ff4.entry.js → p-e6364b25.entry.js} +1 -1
- package/lib/duet/{p-75e078ac.js → p-e7f2c310.js} +1 -1
- package/lib/duet/{p-6f53cfb2.system.entry.js → p-e9246c27.system.entry.js} +1 -1
- package/lib/duet/{p-bc50d23b.entry.js → p-e9f172ff.entry.js} +1 -1
- package/lib/duet/{p-ec58f8ee.entry.js → p-ea2463be.entry.js} +1 -1
- package/lib/duet/{p-8d947a43.system.entry.js → p-ee4a44f2.system.entry.js} +1 -1
- package/lib/duet/{p-ba4bdb0d.system.entry.js → p-ef266490.system.entry.js} +1 -1
- package/lib/duet/{p-f2957e8e.entry.js → p-efa9f8e3.entry.js} +1 -1
- package/lib/duet/{p-eaeee3a3.system.entry.js → p-f0017b76.system.entry.js} +1 -1
- package/lib/duet/{p-1117cfde.system.entry.js → p-f0443463.system.entry.js} +1 -1
- package/lib/duet/{p-b224ee72.system.entry.js → p-f06b4e50.system.entry.js} +1 -1
- package/lib/duet/{p-e2122bd3.system.entry.js → p-f082acbe.system.entry.js} +1 -1
- package/lib/duet/{p-d9ad612c.entry.js → p-f263a147.entry.js} +1 -1
- package/lib/duet/{p-4217dab3.system.entry.js → p-f3bf0f9b.system.entry.js} +1 -1
- package/lib/duet/{p-f48366d3.system.entry.js → p-f55a55e1.system.entry.js} +1 -1
- package/lib/duet/{p-6f106108.entry.js → p-f6795cc3.entry.js} +1 -1
- package/lib/duet/{p-84b5b372.entry.js → p-f805492f.entry.js} +1 -1
- package/lib/duet/{p-0f61ec4f.entry.js → p-f829fc48.entry.js} +1 -1
- package/lib/duet/{p-64030845.system.entry.js → p-f98d46b5.system.entry.js} +2 -2
- package/lib/duet/{p-9832a62e.system.entry.js → p-f9f8cc8b.system.entry.js} +1 -1
- package/lib/duet/p-fc406422.system.entry.js +4 -0
- package/lib/duet/p-fe85cfac.js +4 -0
- package/lib/duet/p-feb2f78b.entry.js +4 -0
- package/lib/duet/{p-30947766.entry.js → p-ff664cb1.entry.js} +1 -1
- package/lib/esm/{app-globals-19322ff1.js → app-globals-154dbc04.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +4 -4
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +2 -2
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +4 -4
- package/lib/esm/duet-card.entry.js +1 -1
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +61 -27
- package/lib/esm/duet-choice_2.entry.js +4 -4
- package/lib/esm/duet-collapsible.entry.js +2 -2
- package/lib/esm/duet-combobox.entry.js +4 -4
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +1 -1
- package/lib/esm/duet-date-picker.entry.js +48 -31
- package/lib/esm/duet-divider_2.entry.js +1 -1
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +1 -1
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +1 -1
- package/lib/esm/duet-footer.entry.js +3 -3
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +2 -2
- package/lib/esm/duet-hero.entry.js +3 -3
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +4 -4
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +4 -4
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +16 -6
- package/lib/esm/duet-modal.entry.js +4 -4
- package/lib/esm/duet-multiselect.entry.js +3 -3
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +5 -5
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +1 -1
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +2 -2
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +8 -13
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +14 -11
- package/lib/esm/duet-slideout.entry.js +38 -15
- package/lib/esm/duet-step_2.entry.js +1 -1
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +7 -7
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +8 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +5 -5
- package/lib/esm/{errorcodes.utils-953f4d47.js → errorcodes.utils-55018fd0.js} +1 -1
- package/lib/esm/{focus-utils-5147573d.js → focus-utils-29c235cb.js} +1 -1
- package/lib/esm/{index-940c081d.js → index-f5d67bb6.js} +856 -609
- package/lib/esm/{language-utils-b0c1eb01.js → language-utils-bd643c5c.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4a318cb9.js → slot-utils-5369c9ff.js} +1 -1
- package/lib/esm-es5/{app-globals-19322ff1.js → app-globals-154dbc04.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +2 -2
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-953f4d47.js → errorcodes.utils-55018fd0.js} +1 -1
- package/lib/esm-es5/{focus-utils-5147573d.js → focus-utils-29c235cb.js} +1 -1
- package/lib/esm-es5/index-f5d67bb6.js +5 -0
- package/lib/esm-es5/{language-utils-b0c1eb01.js → language-utils-bd643c5c.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4a318cb9.js → slot-utils-5369c9ff.js} +1 -1
- package/lib/types/components/duet-date-picker/date-picker-day.d.ts +1 -1
- package/lib/types/components/duet-date-picker/date-picker-input.d.ts +1 -0
- package/lib/types/components/duet-date-picker/date-picker-month.d.ts +1 -1
- package/lib/types/components/duet-date-picker/duet-date-picker.d.ts +4 -2
- package/lib/types/components/duet-menu-bar/duet-menu-bar.d.ts +5 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +17 -5
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +11 -3
- package/lib/types/components/duet-slideout-panel/duet-slideout-panel.d.ts +4 -0
- package/lib/types/components/duet-toolbar-item/duet-toolbar-item.d.ts +4 -0
- package/lib/types/components.d.ts +52 -10
- package/package.json +7 -6
- package/lib/duet/p-16ee7d09.entry.js +0 -4
- package/lib/duet/p-1f32a819.system.entry.js +0 -4
- package/lib/duet/p-1fb804dc.system.entry.js +0 -4
- package/lib/duet/p-25deb7be.system.entry.js +0 -4
- package/lib/duet/p-2b0552dc.system.entry.js +0 -4
- package/lib/duet/p-306faf90.entry.js +0 -4
- package/lib/duet/p-39fb8819.system.js +0 -5
- package/lib/duet/p-48c90346.system.js +0 -4
- package/lib/duet/p-495d8962.system.entry.js +0 -4
- package/lib/duet/p-4d20e324.system.entry.js +0 -4
- package/lib/duet/p-529aff73.entry.js +0 -4
- package/lib/duet/p-6adc0389.system.entry.js +0 -4
- package/lib/duet/p-8002d713.system.entry.js +0 -4
- package/lib/duet/p-9d0d4329.system.entry.js +0 -4
- package/lib/duet/p-9d7aea44.entry.js +0 -4
- package/lib/duet/p-adcd2fb3.entry.js +0 -4
- package/lib/duet/p-b4e4bf04.system.entry.js +0 -4
- package/lib/duet/p-bb2d58bc.js +0 -5
- package/lib/duet/p-c1b1b16d.entry.js +0 -4
- package/lib/duet/p-cade991a.entry.js +0 -4
- package/lib/duet/p-d08a89dc.entry.js +0 -4
- package/lib/duet/p-d11659fd.js +0 -4
- package/lib/duet/p-d22c889b.entry.js +0 -4
- package/lib/duet/p-defbfc15.js +0 -4
- package/lib/duet/p-e5997320.entry.js +0 -4
- package/lib/duet/p-ee067380.system.entry.js +0 -4
- package/lib/duet/p-fa3e0628.system.entry.js +0 -4
- package/lib/duet/p-fdbc3f6c.entry.js +0 -4
- package/lib/esm-es5/index-940c081d.js +0 -5
package/hydrate/index.js
CHANGED
|
@@ -176,7 +176,7 @@ var appGlobalScript = () => {
|
|
|
176
176
|
const globalScripts = appGlobalScript;
|
|
177
177
|
|
|
178
178
|
/*
|
|
179
|
-
Stencil Hydrate Platform v4.
|
|
179
|
+
Stencil Hydrate Platform v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
180
180
|
*/
|
|
181
181
|
var __defProp = Object.defineProperty;
|
|
182
182
|
var __export = (target, all) => {
|
|
@@ -250,26 +250,13 @@ var unwrapErr = (result) => {
|
|
|
250
250
|
throw result.value;
|
|
251
251
|
}
|
|
252
252
|
};
|
|
253
|
-
var createTime = (fnName, tagName = "") => {
|
|
254
|
-
{
|
|
255
|
-
return () => {
|
|
256
|
-
return;
|
|
257
|
-
};
|
|
258
|
-
}
|
|
259
|
-
};
|
|
260
|
-
var uniqueTime = (key, measureText) => {
|
|
261
|
-
{
|
|
262
|
-
return () => {
|
|
263
|
-
return;
|
|
264
|
-
};
|
|
265
|
-
}
|
|
266
|
-
};
|
|
267
253
|
|
|
268
254
|
// src/runtime/runtime-constants.ts
|
|
269
255
|
var CONTENT_REF_ID = "r";
|
|
270
256
|
var ORG_LOCATION_ID = "o";
|
|
271
257
|
var SLOT_NODE_ID = "s";
|
|
272
258
|
var TEXT_NODE_ID = "t";
|
|
259
|
+
var COMMENT_NODE_ID = "c";
|
|
273
260
|
var HYDRATE_ID = "s-id";
|
|
274
261
|
var HYDRATED_STYLE_ID = "sty-id";
|
|
275
262
|
var HYDRATE_CHILD_ID = "c-id";
|
|
@@ -392,321 +379,6 @@ var convertToPrivate = (node) => {
|
|
|
392
379
|
vnode.$name$ = node.vname;
|
|
393
380
|
return vnode;
|
|
394
381
|
};
|
|
395
|
-
|
|
396
|
-
// src/runtime/client-hydrate.ts
|
|
397
|
-
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
398
|
-
const endHydrate = createTime("hydrateClient", tagName);
|
|
399
|
-
const shadowRoot = hostElm.shadowRoot;
|
|
400
|
-
const childRenderNodes = [];
|
|
401
|
-
const slotNodes = [];
|
|
402
|
-
const shadowRootNodes = shadowRoot ? [] : null;
|
|
403
|
-
const vnode = hostRef.$vnode$ = newVNode(tagName, null);
|
|
404
|
-
if (!plt.$orgLocNodes$) {
|
|
405
|
-
initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
406
|
-
}
|
|
407
|
-
hostElm[HYDRATE_ID] = hostId;
|
|
408
|
-
hostElm.removeAttribute(HYDRATE_ID);
|
|
409
|
-
clientHydrate(vnode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, hostElm, hostId);
|
|
410
|
-
childRenderNodes.map((c) => {
|
|
411
|
-
const orgLocationId = c.$hostId$ + "." + c.$nodeId$;
|
|
412
|
-
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
413
|
-
const node = c.$elm$;
|
|
414
|
-
if (orgLocationNode && supportsShadow && orgLocationNode["s-en"] === "") {
|
|
415
|
-
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
416
|
-
}
|
|
417
|
-
if (!shadowRoot) {
|
|
418
|
-
node["s-hn"] = tagName;
|
|
419
|
-
if (orgLocationNode) {
|
|
420
|
-
node["s-ol"] = orgLocationNode;
|
|
421
|
-
node["s-ol"]["s-nr"] = node;
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
plt.$orgLocNodes$.delete(orgLocationId);
|
|
425
|
-
});
|
|
426
|
-
if (shadowRoot) {
|
|
427
|
-
shadowRootNodes.map((shadowRootNode) => {
|
|
428
|
-
if (shadowRootNode) {
|
|
429
|
-
shadowRoot.appendChild(shadowRootNode);
|
|
430
|
-
}
|
|
431
|
-
});
|
|
432
|
-
}
|
|
433
|
-
endHydrate();
|
|
434
|
-
};
|
|
435
|
-
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId) => {
|
|
436
|
-
let childNodeType;
|
|
437
|
-
let childIdSplt;
|
|
438
|
-
let childVNode;
|
|
439
|
-
let i2;
|
|
440
|
-
if (node.nodeType === 1 /* ElementNode */) {
|
|
441
|
-
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
442
|
-
if (childNodeType) {
|
|
443
|
-
childIdSplt = childNodeType.split(".");
|
|
444
|
-
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
445
|
-
childVNode = {
|
|
446
|
-
$flags$: 0,
|
|
447
|
-
$hostId$: childIdSplt[0],
|
|
448
|
-
$nodeId$: childIdSplt[1],
|
|
449
|
-
$depth$: childIdSplt[2],
|
|
450
|
-
$index$: childIdSplt[3],
|
|
451
|
-
$tag$: node.tagName.toLowerCase(),
|
|
452
|
-
$elm$: node,
|
|
453
|
-
$attrs$: null,
|
|
454
|
-
$children$: null,
|
|
455
|
-
$key$: null,
|
|
456
|
-
$name$: null,
|
|
457
|
-
$text$: null
|
|
458
|
-
};
|
|
459
|
-
childRenderNodes.push(childVNode);
|
|
460
|
-
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
461
|
-
if (!parentVNode.$children$) {
|
|
462
|
-
parentVNode.$children$ = [];
|
|
463
|
-
}
|
|
464
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
465
|
-
parentVNode = childVNode;
|
|
466
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
467
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
468
|
-
}
|
|
469
|
-
}
|
|
470
|
-
}
|
|
471
|
-
if (node.shadowRoot) {
|
|
472
|
-
for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
|
|
473
|
-
clientHydrate(
|
|
474
|
-
parentVNode,
|
|
475
|
-
childRenderNodes,
|
|
476
|
-
slotNodes,
|
|
477
|
-
shadowRootNodes,
|
|
478
|
-
hostElm,
|
|
479
|
-
node.shadowRoot.childNodes[i2],
|
|
480
|
-
hostId
|
|
481
|
-
);
|
|
482
|
-
}
|
|
483
|
-
}
|
|
484
|
-
for (i2 = node.childNodes.length - 1; i2 >= 0; i2--) {
|
|
485
|
-
clientHydrate(
|
|
486
|
-
parentVNode,
|
|
487
|
-
childRenderNodes,
|
|
488
|
-
slotNodes,
|
|
489
|
-
shadowRootNodes,
|
|
490
|
-
hostElm,
|
|
491
|
-
node.childNodes[i2],
|
|
492
|
-
hostId
|
|
493
|
-
);
|
|
494
|
-
}
|
|
495
|
-
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
496
|
-
childIdSplt = node.nodeValue.split(".");
|
|
497
|
-
if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
|
|
498
|
-
childNodeType = childIdSplt[0];
|
|
499
|
-
childVNode = {
|
|
500
|
-
$flags$: 0,
|
|
501
|
-
$hostId$: childIdSplt[1],
|
|
502
|
-
$nodeId$: childIdSplt[2],
|
|
503
|
-
$depth$: childIdSplt[3],
|
|
504
|
-
$index$: childIdSplt[4],
|
|
505
|
-
$elm$: node,
|
|
506
|
-
$attrs$: null,
|
|
507
|
-
$children$: null,
|
|
508
|
-
$key$: null,
|
|
509
|
-
$name$: null,
|
|
510
|
-
$tag$: null,
|
|
511
|
-
$text$: null
|
|
512
|
-
};
|
|
513
|
-
if (childNodeType === TEXT_NODE_ID) {
|
|
514
|
-
childVNode.$elm$ = node.nextSibling;
|
|
515
|
-
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
516
|
-
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
517
|
-
childRenderNodes.push(childVNode);
|
|
518
|
-
node.remove();
|
|
519
|
-
if (!parentVNode.$children$) {
|
|
520
|
-
parentVNode.$children$ = [];
|
|
521
|
-
}
|
|
522
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
523
|
-
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
524
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
525
|
-
}
|
|
526
|
-
}
|
|
527
|
-
} else if (childVNode.$hostId$ === hostId) {
|
|
528
|
-
if (childNodeType === SLOT_NODE_ID) {
|
|
529
|
-
childVNode.$tag$ = "slot";
|
|
530
|
-
if (childIdSplt[5]) {
|
|
531
|
-
node["s-sn"] = childVNode.$name$ = childIdSplt[5];
|
|
532
|
-
} else {
|
|
533
|
-
node["s-sn"] = "";
|
|
534
|
-
}
|
|
535
|
-
node["s-sr"] = true;
|
|
536
|
-
if (shadowRootNodes) {
|
|
537
|
-
childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
538
|
-
if (childVNode.$name$) {
|
|
539
|
-
childVNode.$elm$.setAttribute("name", childVNode.$name$);
|
|
540
|
-
}
|
|
541
|
-
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
542
|
-
node.remove();
|
|
543
|
-
if (childVNode.$depth$ === "0") {
|
|
544
|
-
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
545
|
-
}
|
|
546
|
-
}
|
|
547
|
-
slotNodes.push(childVNode);
|
|
548
|
-
if (!parentVNode.$children$) {
|
|
549
|
-
parentVNode.$children$ = [];
|
|
550
|
-
}
|
|
551
|
-
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
552
|
-
} else if (childNodeType === CONTENT_REF_ID) {
|
|
553
|
-
if (shadowRootNodes) {
|
|
554
|
-
node.remove();
|
|
555
|
-
} else {
|
|
556
|
-
hostElm["s-cr"] = node;
|
|
557
|
-
node["s-cn"] = true;
|
|
558
|
-
}
|
|
559
|
-
}
|
|
560
|
-
}
|
|
561
|
-
}
|
|
562
|
-
} else if (parentVNode && parentVNode.$tag$ === "style") {
|
|
563
|
-
const vnode = newVNode(null, node.textContent);
|
|
564
|
-
vnode.$elm$ = node;
|
|
565
|
-
vnode.$index$ = "0";
|
|
566
|
-
parentVNode.$children$ = [vnode];
|
|
567
|
-
}
|
|
568
|
-
};
|
|
569
|
-
var initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
570
|
-
if (node.nodeType === 1 /* ElementNode */) {
|
|
571
|
-
let i2 = 0;
|
|
572
|
-
if (node.shadowRoot) {
|
|
573
|
-
for (; i2 < node.shadowRoot.childNodes.length; i2++) {
|
|
574
|
-
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
|
575
|
-
}
|
|
576
|
-
}
|
|
577
|
-
for (i2 = 0; i2 < node.childNodes.length; i2++) {
|
|
578
|
-
initializeDocumentHydrate(node.childNodes[i2], orgLocNodes);
|
|
579
|
-
}
|
|
580
|
-
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
581
|
-
const childIdSplt = node.nodeValue.split(".");
|
|
582
|
-
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
583
|
-
orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
|
|
584
|
-
node.nodeValue = "";
|
|
585
|
-
node["s-en"] = childIdSplt[3];
|
|
586
|
-
}
|
|
587
|
-
}
|
|
588
|
-
};
|
|
589
|
-
var parsePropertyValue = (propValue, propType) => {
|
|
590
|
-
if (propValue != null && !isComplexType(propValue)) {
|
|
591
|
-
if (propType & 4 /* Boolean */) {
|
|
592
|
-
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
593
|
-
}
|
|
594
|
-
if (propType & 2 /* Number */) {
|
|
595
|
-
return parseFloat(propValue);
|
|
596
|
-
}
|
|
597
|
-
if (propType & 1 /* String */) {
|
|
598
|
-
return String(propValue);
|
|
599
|
-
}
|
|
600
|
-
return propValue;
|
|
601
|
-
}
|
|
602
|
-
return propValue;
|
|
603
|
-
};
|
|
604
|
-
var getElement = (ref) => getHostRef(ref).$hostElement$ ;
|
|
605
|
-
|
|
606
|
-
// src/runtime/event-emitter.ts
|
|
607
|
-
var createEvent$2 = (ref, name, flags) => {
|
|
608
|
-
const elm = getElement(ref);
|
|
609
|
-
return {
|
|
610
|
-
emit: (detail) => {
|
|
611
|
-
return emitEvent(elm, name, {
|
|
612
|
-
bubbles: !!(flags & 4 /* Bubbles */),
|
|
613
|
-
composed: !!(flags & 2 /* Composed */),
|
|
614
|
-
cancelable: !!(flags & 1 /* Cancellable */),
|
|
615
|
-
detail
|
|
616
|
-
});
|
|
617
|
-
}
|
|
618
|
-
};
|
|
619
|
-
};
|
|
620
|
-
var emitEvent = (elm, name, opts) => {
|
|
621
|
-
const ev = plt.ce(name, opts);
|
|
622
|
-
elm.dispatchEvent(ev);
|
|
623
|
-
return ev;
|
|
624
|
-
};
|
|
625
|
-
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
626
|
-
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
627
|
-
let style = styles.get(scopeId2);
|
|
628
|
-
{
|
|
629
|
-
style = cssText;
|
|
630
|
-
}
|
|
631
|
-
styles.set(scopeId2, style);
|
|
632
|
-
};
|
|
633
|
-
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
634
|
-
var _a;
|
|
635
|
-
const scopeId2 = getScopeId(cmpMeta);
|
|
636
|
-
const style = styles.get(scopeId2);
|
|
637
|
-
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
638
|
-
if (style) {
|
|
639
|
-
if (typeof style === "string") {
|
|
640
|
-
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
641
|
-
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
642
|
-
let styleElm;
|
|
643
|
-
if (!appliedStyles) {
|
|
644
|
-
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
645
|
-
}
|
|
646
|
-
if (!appliedStyles.has(scopeId2)) {
|
|
647
|
-
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
648
|
-
styleElm.innerHTML = style;
|
|
649
|
-
} else {
|
|
650
|
-
styleElm = doc.createElement("style");
|
|
651
|
-
styleElm.innerHTML = style;
|
|
652
|
-
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
653
|
-
if (nonce != null) {
|
|
654
|
-
styleElm.setAttribute("nonce", nonce);
|
|
655
|
-
}
|
|
656
|
-
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
657
|
-
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
658
|
-
}
|
|
659
|
-
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
660
|
-
if (styleContainerNode.nodeName === "HEAD") {
|
|
661
|
-
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
662
|
-
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
663
|
-
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
664
|
-
} else if ("host" in styleContainerNode) {
|
|
665
|
-
{
|
|
666
|
-
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
667
|
-
if (existingStyleContainer) {
|
|
668
|
-
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
669
|
-
} else {
|
|
670
|
-
styleContainerNode.prepend(styleElm);
|
|
671
|
-
}
|
|
672
|
-
}
|
|
673
|
-
} else {
|
|
674
|
-
styleContainerNode.append(styleElm);
|
|
675
|
-
}
|
|
676
|
-
}
|
|
677
|
-
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
678
|
-
styleContainerNode.insertBefore(styleElm, null);
|
|
679
|
-
}
|
|
680
|
-
}
|
|
681
|
-
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
682
|
-
styleElm.innerHTML += SLOT_FB_CSS;
|
|
683
|
-
}
|
|
684
|
-
if (appliedStyles) {
|
|
685
|
-
appliedStyles.add(scopeId2);
|
|
686
|
-
}
|
|
687
|
-
}
|
|
688
|
-
}
|
|
689
|
-
}
|
|
690
|
-
return scopeId2;
|
|
691
|
-
};
|
|
692
|
-
var attachStyles = (hostRef) => {
|
|
693
|
-
const cmpMeta = hostRef.$cmpMeta$;
|
|
694
|
-
const elm = hostRef.$hostElement$;
|
|
695
|
-
const flags = cmpMeta.$flags$;
|
|
696
|
-
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
697
|
-
const scopeId2 = addStyle(
|
|
698
|
-
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
699
|
-
cmpMeta);
|
|
700
|
-
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
701
|
-
elm["s-sc"] = scopeId2;
|
|
702
|
-
elm.classList.add(scopeId2 + "-h");
|
|
703
|
-
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
704
|
-
elm.classList.add(scopeId2 + "-s");
|
|
705
|
-
}
|
|
706
|
-
}
|
|
707
|
-
endAttachStyles();
|
|
708
|
-
};
|
|
709
|
-
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
710
382
|
var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
711
383
|
if (oldValue !== newValue) {
|
|
712
384
|
let isProp = isMemberInElement(elm, memberName);
|
|
@@ -715,6 +387,9 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
715
387
|
const classList = elm.classList;
|
|
716
388
|
const oldClasses = parseClassList(oldValue);
|
|
717
389
|
const newClasses = parseClassList(newValue);
|
|
390
|
+
if (elm["s-si"] && newClasses.indexOf(elm["s-si"]) < 0) {
|
|
391
|
+
newClasses.push(elm["s-si"]);
|
|
392
|
+
}
|
|
718
393
|
classList.remove(...oldClasses.filter((c) => c && !newClasses.includes(c)));
|
|
719
394
|
classList.add(...newClasses.filter((c) => c && !oldClasses.includes(c)));
|
|
720
395
|
} else if (memberName === "style") {
|
|
@@ -928,7 +603,7 @@ var createElm = (oldParentVNode, newParentVNode, childIndex, parentElm) => {
|
|
|
928
603
|
};
|
|
929
604
|
var putBackInOriginalLocation = (parentElm, recursive) => {
|
|
930
605
|
plt.$flags$ |= 1 /* isTmpDisconnected */;
|
|
931
|
-
const oldSlotChildNodes = Array.from(parentElm.childNodes);
|
|
606
|
+
const oldSlotChildNodes = Array.from(parentElm.__childNodes || parentElm.childNodes);
|
|
932
607
|
if (parentElm["s-sr"] && BUILD.experimentalSlotFixes) {
|
|
933
608
|
let node = parentElm;
|
|
934
609
|
while (node = node.nextSibling) {
|
|
@@ -1142,7 +817,7 @@ var patch = (oldVNode, newVNode2, isInitialRender = false) => {
|
|
|
1142
817
|
}
|
|
1143
818
|
};
|
|
1144
819
|
var updateFallbackSlotVisibility = (elm) => {
|
|
1145
|
-
const childNodes = elm.childNodes;
|
|
820
|
+
const childNodes = elm.__childNodes || elm.childNodes;
|
|
1146
821
|
for (const childNode of childNodes) {
|
|
1147
822
|
if (childNode.nodeType === 1 /* ElementNode */) {
|
|
1148
823
|
if (childNode["s-sr"]) {
|
|
@@ -1155,7 +830,7 @@ var updateFallbackSlotVisibility = (elm) => {
|
|
|
1155
830
|
childNode.hidden = true;
|
|
1156
831
|
break;
|
|
1157
832
|
}
|
|
1158
|
-
} else {
|
|
833
|
+
} else if (slotName === siblingNode["s-sn"]) {
|
|
1159
834
|
if (siblingNode.nodeType === 1 /* ElementNode */ || siblingNode.nodeType === 3 /* TextNode */ && siblingNode.textContent.trim() !== "") {
|
|
1160
835
|
childNode.hidden = true;
|
|
1161
836
|
break;
|
|
@@ -1173,9 +848,10 @@ var markSlotContentForRelocation = (elm) => {
|
|
|
1173
848
|
let node;
|
|
1174
849
|
let hostContentNodes;
|
|
1175
850
|
let j;
|
|
1176
|
-
|
|
851
|
+
const children = elm.__childNodes || elm.childNodes;
|
|
852
|
+
for (const childNode of children) {
|
|
1177
853
|
if (childNode["s-sr"] && (node = childNode["s-cr"]) && node.parentNode) {
|
|
1178
|
-
hostContentNodes = node.parentNode.childNodes;
|
|
854
|
+
hostContentNodes = node.parentNode.__childNodes || node.parentNode.childNodes;
|
|
1179
855
|
const slotName = childNode["s-sn"];
|
|
1180
856
|
for (j = hostContentNodes.length - 1; j >= 0; j--) {
|
|
1181
857
|
node = hostContentNodes[j];
|
|
@@ -1262,9 +938,9 @@ var updateElementScopeIds = (element, parent, iterateChildNodes = false) => {
|
|
|
1262
938
|
if (element && parent && element.nodeType === 1 /* ElementNode */) {
|
|
1263
939
|
const scopeIds = new Set(findScopeIds(parent).filter(Boolean));
|
|
1264
940
|
if (scopeIds.size) {
|
|
1265
|
-
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] =
|
|
941
|
+
(_a = element.classList) == null ? void 0 : _a.add(...element["s-scs"] = Array.from(scopeIds));
|
|
1266
942
|
if (element["s-ol"] || iterateChildNodes) {
|
|
1267
|
-
for (const childNode of Array.from(element.childNodes)) {
|
|
943
|
+
for (const childNode of Array.from(element.__childNodes || element.childNodes)) {
|
|
1268
944
|
updateElementScopeIds(childNode, element, true);
|
|
1269
945
|
}
|
|
1270
946
|
}
|
|
@@ -1375,6 +1051,512 @@ var slotReferenceDebugNode = (slotVNode) => doc.createComment(
|
|
|
1375
1051
|
var originalLocationDebugNode = (nodeToRelocate) => doc.createComment(
|
|
1376
1052
|
`org-location for ` + (nodeToRelocate.localName ? `<${nodeToRelocate.localName}> (host=${nodeToRelocate["s-hn"]})` : `[${nodeToRelocate.textContent}]`)
|
|
1377
1053
|
);
|
|
1054
|
+
var addSlotRelocateNode = (newChild, slotNode, prepend, position) => {
|
|
1055
|
+
let slottedNodeLocation;
|
|
1056
|
+
if (newChild["s-ol"] && newChild["s-ol"].isConnected) {
|
|
1057
|
+
slottedNodeLocation = newChild["s-ol"];
|
|
1058
|
+
} else {
|
|
1059
|
+
slottedNodeLocation = document.createTextNode("");
|
|
1060
|
+
slottedNodeLocation["s-nr"] = newChild;
|
|
1061
|
+
}
|
|
1062
|
+
if (!slotNode["s-cr"] || !slotNode["s-cr"].parentNode) return;
|
|
1063
|
+
const parent = slotNode["s-cr"].parentNode;
|
|
1064
|
+
const appendMethod = prepend ? parent.__prepend || parent.prepend : parent.__appendChild || parent.appendChild;
|
|
1065
|
+
if (typeof position !== "undefined") {
|
|
1066
|
+
{
|
|
1067
|
+
slottedNodeLocation["s-oo"] = position;
|
|
1068
|
+
const childNodes = parent.__childNodes || parent.childNodes;
|
|
1069
|
+
const slotRelocateNodes = [slottedNodeLocation];
|
|
1070
|
+
childNodes.forEach((n) => {
|
|
1071
|
+
if (n["s-nr"]) slotRelocateNodes.push(n);
|
|
1072
|
+
});
|
|
1073
|
+
slotRelocateNodes.sort((a, b) => {
|
|
1074
|
+
if (!a["s-oo"] || a["s-oo"] < b["s-oo"]) return -1;
|
|
1075
|
+
else if (!b["s-oo"] || b["s-oo"] < a["s-oo"]) return 1;
|
|
1076
|
+
return 0;
|
|
1077
|
+
});
|
|
1078
|
+
slotRelocateNodes.forEach((n) => appendMethod.call(parent, n));
|
|
1079
|
+
}
|
|
1080
|
+
} else {
|
|
1081
|
+
appendMethod.call(parent, slottedNodeLocation);
|
|
1082
|
+
}
|
|
1083
|
+
newChild["s-ol"] = slottedNodeLocation;
|
|
1084
|
+
newChild["s-sh"] = slotNode["s-hn"];
|
|
1085
|
+
};
|
|
1086
|
+
var createTime = (fnName, tagName = "") => {
|
|
1087
|
+
{
|
|
1088
|
+
return () => {
|
|
1089
|
+
return;
|
|
1090
|
+
};
|
|
1091
|
+
}
|
|
1092
|
+
};
|
|
1093
|
+
var uniqueTime = (key, measureText) => {
|
|
1094
|
+
{
|
|
1095
|
+
return () => {
|
|
1096
|
+
return;
|
|
1097
|
+
};
|
|
1098
|
+
}
|
|
1099
|
+
};
|
|
1100
|
+
|
|
1101
|
+
// src/runtime/client-hydrate.ts
|
|
1102
|
+
var initializeClientHydrate = (hostElm, tagName, hostId, hostRef) => {
|
|
1103
|
+
const endHydrate = createTime("hydrateClient", tagName);
|
|
1104
|
+
const shadowRoot = hostElm.shadowRoot;
|
|
1105
|
+
const childRenderNodes = [];
|
|
1106
|
+
const slotNodes = [];
|
|
1107
|
+
const slottedNodes = [];
|
|
1108
|
+
const shadowRootNodes = shadowRoot ? [] : null;
|
|
1109
|
+
const vnode = newVNode(tagName, null);
|
|
1110
|
+
vnode.$elm$ = hostElm;
|
|
1111
|
+
if (!plt.$orgLocNodes$) {
|
|
1112
|
+
initializeDocumentHydrate(doc.body, plt.$orgLocNodes$ = /* @__PURE__ */ new Map());
|
|
1113
|
+
}
|
|
1114
|
+
hostElm[HYDRATE_ID] = hostId;
|
|
1115
|
+
hostElm.removeAttribute(HYDRATE_ID);
|
|
1116
|
+
hostRef.$vnode$ = clientHydrate(
|
|
1117
|
+
vnode,
|
|
1118
|
+
childRenderNodes,
|
|
1119
|
+
slotNodes,
|
|
1120
|
+
shadowRootNodes,
|
|
1121
|
+
hostElm,
|
|
1122
|
+
hostElm,
|
|
1123
|
+
hostId,
|
|
1124
|
+
slottedNodes
|
|
1125
|
+
);
|
|
1126
|
+
let crIndex = 0;
|
|
1127
|
+
const crLength = childRenderNodes.length;
|
|
1128
|
+
let childRenderNode;
|
|
1129
|
+
for (crIndex; crIndex < crLength; crIndex++) {
|
|
1130
|
+
childRenderNode = childRenderNodes[crIndex];
|
|
1131
|
+
const orgLocationId = childRenderNode.$hostId$ + "." + childRenderNode.$nodeId$;
|
|
1132
|
+
const orgLocationNode = plt.$orgLocNodes$.get(orgLocationId);
|
|
1133
|
+
const node = childRenderNode.$elm$;
|
|
1134
|
+
if (!shadowRoot) {
|
|
1135
|
+
node["s-hn"] = tagName.toUpperCase();
|
|
1136
|
+
if (childRenderNode.$tag$ === "slot") {
|
|
1137
|
+
node["s-cr"] = hostElm["s-cr"];
|
|
1138
|
+
}
|
|
1139
|
+
}
|
|
1140
|
+
if (orgLocationNode && orgLocationNode.isConnected) {
|
|
1141
|
+
if (shadowRoot && orgLocationNode["s-en"] === "") {
|
|
1142
|
+
orgLocationNode.parentNode.insertBefore(node, orgLocationNode.nextSibling);
|
|
1143
|
+
}
|
|
1144
|
+
orgLocationNode.parentNode.removeChild(orgLocationNode);
|
|
1145
|
+
if (!shadowRoot) {
|
|
1146
|
+
node["s-oo"] = parseInt(childRenderNode.$nodeId$);
|
|
1147
|
+
}
|
|
1148
|
+
}
|
|
1149
|
+
plt.$orgLocNodes$.delete(orgLocationId);
|
|
1150
|
+
}
|
|
1151
|
+
const hosts = [];
|
|
1152
|
+
let snIndex = 0;
|
|
1153
|
+
const snLen = slottedNodes.length;
|
|
1154
|
+
let slotGroup;
|
|
1155
|
+
let snGroupIdx;
|
|
1156
|
+
let snGroupLen;
|
|
1157
|
+
let slottedItem;
|
|
1158
|
+
for (snIndex; snIndex < snLen; snIndex++) {
|
|
1159
|
+
slotGroup = slottedNodes[snIndex];
|
|
1160
|
+
if (!slotGroup || !slotGroup.length) continue;
|
|
1161
|
+
snGroupLen = slotGroup.length;
|
|
1162
|
+
snGroupIdx = 0;
|
|
1163
|
+
for (snGroupIdx; snGroupIdx < snGroupLen; snGroupIdx++) {
|
|
1164
|
+
slottedItem = slotGroup[snGroupIdx];
|
|
1165
|
+
if (!hosts[slottedItem.hostId]) {
|
|
1166
|
+
hosts[slottedItem.hostId] = plt.$orgLocNodes$.get(slottedItem.hostId);
|
|
1167
|
+
}
|
|
1168
|
+
if (!hosts[slottedItem.hostId]) continue;
|
|
1169
|
+
const hostEle = hosts[slottedItem.hostId];
|
|
1170
|
+
if (!hostEle.shadowRoot || !shadowRoot) {
|
|
1171
|
+
slottedItem.slot["s-cr"] = hostEle["s-cr"];
|
|
1172
|
+
if (!slottedItem.slot["s-cr"] && hostEle.shadowRoot) {
|
|
1173
|
+
slottedItem.slot["s-cr"] = hostEle;
|
|
1174
|
+
} else {
|
|
1175
|
+
const hostChildren = hostEle.__childNodes || hostEle.childNodes;
|
|
1176
|
+
slottedItem.slot["s-cr"] = hostChildren[0];
|
|
1177
|
+
}
|
|
1178
|
+
addSlotRelocateNode(slottedItem.node, slottedItem.slot, false, slottedItem.node["s-oo"]);
|
|
1179
|
+
}
|
|
1180
|
+
if (hostEle.shadowRoot && slottedItem.node.parentElement !== hostEle) {
|
|
1181
|
+
hostEle.appendChild(slottedItem.node);
|
|
1182
|
+
}
|
|
1183
|
+
}
|
|
1184
|
+
}
|
|
1185
|
+
if (shadowRoot) {
|
|
1186
|
+
let rnIdex = 0;
|
|
1187
|
+
const rnLen = shadowRootNodes.length;
|
|
1188
|
+
for (rnIdex; rnIdex < rnLen; rnIdex++) {
|
|
1189
|
+
shadowRoot.appendChild(shadowRootNodes[rnIdex]);
|
|
1190
|
+
}
|
|
1191
|
+
Array.from(hostElm.childNodes).forEach((node) => {
|
|
1192
|
+
if (node.nodeType === 8 /* CommentNode */ && typeof node["s-sn"] !== "string") {
|
|
1193
|
+
node.parentNode.removeChild(node);
|
|
1194
|
+
}
|
|
1195
|
+
});
|
|
1196
|
+
}
|
|
1197
|
+
hostRef.$hostElement$ = hostElm;
|
|
1198
|
+
endHydrate();
|
|
1199
|
+
};
|
|
1200
|
+
var clientHydrate = (parentVNode, childRenderNodes, slotNodes, shadowRootNodes, hostElm, node, hostId, slottedNodes = []) => {
|
|
1201
|
+
let childNodeType;
|
|
1202
|
+
let childIdSplt;
|
|
1203
|
+
let childVNode;
|
|
1204
|
+
let i2;
|
|
1205
|
+
const scopeId2 = hostElm["s-sc"];
|
|
1206
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
1207
|
+
childNodeType = node.getAttribute(HYDRATE_CHILD_ID);
|
|
1208
|
+
if (childNodeType) {
|
|
1209
|
+
childIdSplt = childNodeType.split(".");
|
|
1210
|
+
if (childIdSplt[0] === hostId || childIdSplt[0] === "0") {
|
|
1211
|
+
childVNode = createSimpleVNode({
|
|
1212
|
+
$flags$: 0,
|
|
1213
|
+
$hostId$: childIdSplt[0],
|
|
1214
|
+
$nodeId$: childIdSplt[1],
|
|
1215
|
+
$depth$: childIdSplt[2],
|
|
1216
|
+
$index$: childIdSplt[3],
|
|
1217
|
+
$tag$: node.tagName.toLowerCase(),
|
|
1218
|
+
$elm$: node,
|
|
1219
|
+
// If we don't add the initial classes to the VNode, the first `vdom-render.ts` reconciliation will fail:
|
|
1220
|
+
// client side changes before componentDidLoad will be ignored, `set-accessor.ts` will just take the element's initial classes
|
|
1221
|
+
$attrs$: { class: node.className }
|
|
1222
|
+
});
|
|
1223
|
+
childRenderNodes.push(childVNode);
|
|
1224
|
+
node.removeAttribute(HYDRATE_CHILD_ID);
|
|
1225
|
+
if (!parentVNode.$children$) {
|
|
1226
|
+
parentVNode.$children$ = [];
|
|
1227
|
+
}
|
|
1228
|
+
const slotName = childVNode.$elm$.getAttribute("s-sn");
|
|
1229
|
+
if (typeof slotName === "string") {
|
|
1230
|
+
if (childVNode.$tag$ === "slot-fb") {
|
|
1231
|
+
addSlot(
|
|
1232
|
+
slotName,
|
|
1233
|
+
childIdSplt[2],
|
|
1234
|
+
childVNode,
|
|
1235
|
+
node,
|
|
1236
|
+
parentVNode,
|
|
1237
|
+
childRenderNodes,
|
|
1238
|
+
slotNodes,
|
|
1239
|
+
shadowRootNodes,
|
|
1240
|
+
slottedNodes
|
|
1241
|
+
);
|
|
1242
|
+
}
|
|
1243
|
+
childVNode.$elm$["s-sn"] = slotName;
|
|
1244
|
+
childVNode.$elm$.removeAttribute("s-sn");
|
|
1245
|
+
}
|
|
1246
|
+
if (childVNode.$index$ !== void 0) {
|
|
1247
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1248
|
+
}
|
|
1249
|
+
if (scopeId2) node["s-si"] = scopeId2;
|
|
1250
|
+
parentVNode = childVNode;
|
|
1251
|
+
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1252
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1253
|
+
}
|
|
1254
|
+
}
|
|
1255
|
+
}
|
|
1256
|
+
if (node.shadowRoot) {
|
|
1257
|
+
for (i2 = node.shadowRoot.childNodes.length - 1; i2 >= 0; i2--) {
|
|
1258
|
+
clientHydrate(
|
|
1259
|
+
parentVNode,
|
|
1260
|
+
childRenderNodes,
|
|
1261
|
+
slotNodes,
|
|
1262
|
+
shadowRootNodes,
|
|
1263
|
+
hostElm,
|
|
1264
|
+
node.shadowRoot.childNodes[i2],
|
|
1265
|
+
hostId,
|
|
1266
|
+
slottedNodes
|
|
1267
|
+
);
|
|
1268
|
+
}
|
|
1269
|
+
}
|
|
1270
|
+
const nonShadowNodes = node.__childNodes || node.childNodes;
|
|
1271
|
+
for (i2 = nonShadowNodes.length - 1; i2 >= 0; i2--) {
|
|
1272
|
+
clientHydrate(
|
|
1273
|
+
parentVNode,
|
|
1274
|
+
childRenderNodes,
|
|
1275
|
+
slotNodes,
|
|
1276
|
+
shadowRootNodes,
|
|
1277
|
+
hostElm,
|
|
1278
|
+
nonShadowNodes[i2],
|
|
1279
|
+
hostId,
|
|
1280
|
+
slottedNodes
|
|
1281
|
+
);
|
|
1282
|
+
}
|
|
1283
|
+
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
1284
|
+
childIdSplt = node.nodeValue.split(".");
|
|
1285
|
+
if (childIdSplt[1] === hostId || childIdSplt[1] === "0") {
|
|
1286
|
+
childNodeType = childIdSplt[0];
|
|
1287
|
+
childVNode = createSimpleVNode({
|
|
1288
|
+
$hostId$: childIdSplt[1],
|
|
1289
|
+
$nodeId$: childIdSplt[2],
|
|
1290
|
+
$depth$: childIdSplt[3],
|
|
1291
|
+
$index$: childIdSplt[4] || "0",
|
|
1292
|
+
$elm$: node,
|
|
1293
|
+
$attrs$: null,
|
|
1294
|
+
$children$: null,
|
|
1295
|
+
$key$: null,
|
|
1296
|
+
$name$: null,
|
|
1297
|
+
$tag$: null,
|
|
1298
|
+
$text$: null
|
|
1299
|
+
});
|
|
1300
|
+
if (childNodeType === TEXT_NODE_ID) {
|
|
1301
|
+
childVNode.$elm$ = node.nextSibling;
|
|
1302
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 3 /* TextNode */) {
|
|
1303
|
+
childVNode.$text$ = childVNode.$elm$.textContent;
|
|
1304
|
+
childRenderNodes.push(childVNode);
|
|
1305
|
+
node.remove();
|
|
1306
|
+
if (hostId === childVNode.$hostId$) {
|
|
1307
|
+
if (!parentVNode.$children$) {
|
|
1308
|
+
parentVNode.$children$ = [];
|
|
1309
|
+
}
|
|
1310
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1311
|
+
}
|
|
1312
|
+
if (shadowRootNodes && childVNode.$depth$ === "0") {
|
|
1313
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1314
|
+
}
|
|
1315
|
+
}
|
|
1316
|
+
} else if (childNodeType === COMMENT_NODE_ID) {
|
|
1317
|
+
childVNode.$elm$ = node.nextSibling;
|
|
1318
|
+
if (childVNode.$elm$ && childVNode.$elm$.nodeType === 8 /* CommentNode */) {
|
|
1319
|
+
childRenderNodes.push(childVNode);
|
|
1320
|
+
node.remove();
|
|
1321
|
+
}
|
|
1322
|
+
} else if (childVNode.$hostId$ === hostId) {
|
|
1323
|
+
if (childNodeType === SLOT_NODE_ID) {
|
|
1324
|
+
childVNode.$tag$ = "slot";
|
|
1325
|
+
const slotName = node["s-sn"] = childVNode.$name$ = childIdSplt[5] || "";
|
|
1326
|
+
addSlot(
|
|
1327
|
+
slotName,
|
|
1328
|
+
childIdSplt[2],
|
|
1329
|
+
childVNode,
|
|
1330
|
+
node,
|
|
1331
|
+
parentVNode,
|
|
1332
|
+
childRenderNodes,
|
|
1333
|
+
slotNodes,
|
|
1334
|
+
shadowRootNodes,
|
|
1335
|
+
slottedNodes
|
|
1336
|
+
);
|
|
1337
|
+
} else if (childNodeType === CONTENT_REF_ID) {
|
|
1338
|
+
if (shadowRootNodes) {
|
|
1339
|
+
node.remove();
|
|
1340
|
+
} else {
|
|
1341
|
+
hostElm["s-cr"] = node;
|
|
1342
|
+
node["s-cn"] = true;
|
|
1343
|
+
}
|
|
1344
|
+
}
|
|
1345
|
+
}
|
|
1346
|
+
}
|
|
1347
|
+
} else if (parentVNode && parentVNode.$tag$ === "style") {
|
|
1348
|
+
const vnode = newVNode(null, node.textContent);
|
|
1349
|
+
vnode.$elm$ = node;
|
|
1350
|
+
vnode.$index$ = "0";
|
|
1351
|
+
parentVNode.$children$ = [vnode];
|
|
1352
|
+
}
|
|
1353
|
+
return parentVNode;
|
|
1354
|
+
};
|
|
1355
|
+
var initializeDocumentHydrate = (node, orgLocNodes) => {
|
|
1356
|
+
if (node.nodeType === 1 /* ElementNode */) {
|
|
1357
|
+
const componentId = node[HYDRATE_ID] || node.getAttribute(HYDRATE_ID);
|
|
1358
|
+
if (componentId) {
|
|
1359
|
+
orgLocNodes.set(componentId, node);
|
|
1360
|
+
}
|
|
1361
|
+
let i2 = 0;
|
|
1362
|
+
if (node.shadowRoot) {
|
|
1363
|
+
for (; i2 < node.shadowRoot.childNodes.length; i2++) {
|
|
1364
|
+
initializeDocumentHydrate(node.shadowRoot.childNodes[i2], orgLocNodes);
|
|
1365
|
+
}
|
|
1366
|
+
}
|
|
1367
|
+
const nonShadowNodes = node.__childNodes || node.childNodes;
|
|
1368
|
+
for (i2 = 0; i2 < nonShadowNodes.length; i2++) {
|
|
1369
|
+
initializeDocumentHydrate(nonShadowNodes[i2], orgLocNodes);
|
|
1370
|
+
}
|
|
1371
|
+
} else if (node.nodeType === 8 /* CommentNode */) {
|
|
1372
|
+
const childIdSplt = node.nodeValue.split(".");
|
|
1373
|
+
if (childIdSplt[0] === ORG_LOCATION_ID) {
|
|
1374
|
+
orgLocNodes.set(childIdSplt[1] + "." + childIdSplt[2], node);
|
|
1375
|
+
node.nodeValue = "";
|
|
1376
|
+
node["s-en"] = childIdSplt[3];
|
|
1377
|
+
}
|
|
1378
|
+
}
|
|
1379
|
+
};
|
|
1380
|
+
var createSimpleVNode = (vnode) => {
|
|
1381
|
+
const defaultVNode = {
|
|
1382
|
+
$flags$: 0,
|
|
1383
|
+
$hostId$: null,
|
|
1384
|
+
$nodeId$: null,
|
|
1385
|
+
$depth$: null,
|
|
1386
|
+
$index$: "0",
|
|
1387
|
+
$elm$: null,
|
|
1388
|
+
$attrs$: null,
|
|
1389
|
+
$children$: null,
|
|
1390
|
+
$key$: null,
|
|
1391
|
+
$name$: null,
|
|
1392
|
+
$tag$: null,
|
|
1393
|
+
$text$: null
|
|
1394
|
+
};
|
|
1395
|
+
return { ...defaultVNode, ...vnode };
|
|
1396
|
+
};
|
|
1397
|
+
function addSlot(slotName, slotId, childVNode, node, parentVNode, childRenderNodes, slotNodes, shadowRootNodes, slottedNodes) {
|
|
1398
|
+
node["s-sr"] = true;
|
|
1399
|
+
const parentNodeId = (parentVNode == null ? void 0 : parentVNode.$elm$) ? parentVNode.$elm$["s-id"] || parentVNode.$elm$.getAttribute("s-id") : "";
|
|
1400
|
+
if (shadowRootNodes) {
|
|
1401
|
+
const slot = childVNode.$elm$ = doc.createElement(childVNode.$tag$);
|
|
1402
|
+
if (childVNode.$name$) {
|
|
1403
|
+
childVNode.$elm$.setAttribute("name", slotName);
|
|
1404
|
+
}
|
|
1405
|
+
if (parentNodeId && parentNodeId !== childVNode.$hostId$) {
|
|
1406
|
+
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
|
1407
|
+
} else {
|
|
1408
|
+
node.parentNode.insertBefore(childVNode.$elm$, node);
|
|
1409
|
+
}
|
|
1410
|
+
addSlottedNodes(slottedNodes, slotId, slotName, node, childVNode.$hostId$);
|
|
1411
|
+
node.remove();
|
|
1412
|
+
if (childVNode.$depth$ === "0") {
|
|
1413
|
+
shadowRootNodes[childVNode.$index$] = childVNode.$elm$;
|
|
1414
|
+
}
|
|
1415
|
+
} else {
|
|
1416
|
+
const slot = childVNode.$elm$;
|
|
1417
|
+
const shouldMove = parentNodeId && parentNodeId !== childVNode.$hostId$ && parentVNode.$elm$.shadowRoot;
|
|
1418
|
+
addSlottedNodes(slottedNodes, slotId, slotName, node, shouldMove ? parentNodeId : childVNode.$hostId$);
|
|
1419
|
+
if (shouldMove) {
|
|
1420
|
+
parentVNode.$elm$.insertBefore(slot, parentVNode.$elm$.children[0]);
|
|
1421
|
+
}
|
|
1422
|
+
childRenderNodes.push(childVNode);
|
|
1423
|
+
}
|
|
1424
|
+
slotNodes.push(childVNode);
|
|
1425
|
+
if (!parentVNode.$children$) {
|
|
1426
|
+
parentVNode.$children$ = [];
|
|
1427
|
+
}
|
|
1428
|
+
parentVNode.$children$[childVNode.$index$] = childVNode;
|
|
1429
|
+
}
|
|
1430
|
+
var addSlottedNodes = (slottedNodes, slotNodeId, slotName, slotNode, hostId) => {
|
|
1431
|
+
let slottedNode = slotNode.nextSibling;
|
|
1432
|
+
slottedNodes[slotNodeId] = slottedNodes[slotNodeId] || [];
|
|
1433
|
+
while (slottedNode && ((slottedNode["getAttribute"] && slottedNode.getAttribute("slot") || slottedNode["s-sn"]) === slotName || slotName === "" && !slottedNode["s-sn"] && (slottedNode.nodeType === 8 /* CommentNode */ && slottedNode.nodeValue.indexOf(".") !== 1 || slottedNode.nodeType === 3 /* TextNode */))) {
|
|
1434
|
+
slottedNode["s-sn"] = slotName;
|
|
1435
|
+
slottedNodes[slotNodeId].push({ slot: slotNode, node: slottedNode, hostId });
|
|
1436
|
+
slottedNode = slottedNode.nextSibling;
|
|
1437
|
+
}
|
|
1438
|
+
};
|
|
1439
|
+
var parsePropertyValue = (propValue, propType) => {
|
|
1440
|
+
if (propValue != null && !isComplexType(propValue)) {
|
|
1441
|
+
if (propType & 4 /* Boolean */) {
|
|
1442
|
+
return propValue === "false" ? false : propValue === "" || !!propValue;
|
|
1443
|
+
}
|
|
1444
|
+
if (propType & 2 /* Number */) {
|
|
1445
|
+
return parseFloat(propValue);
|
|
1446
|
+
}
|
|
1447
|
+
if (propType & 1 /* String */) {
|
|
1448
|
+
return String(propValue);
|
|
1449
|
+
}
|
|
1450
|
+
return propValue;
|
|
1451
|
+
}
|
|
1452
|
+
return propValue;
|
|
1453
|
+
};
|
|
1454
|
+
var getElement = (ref) => getHostRef(ref).$hostElement$ ;
|
|
1455
|
+
|
|
1456
|
+
// src/runtime/event-emitter.ts
|
|
1457
|
+
var createEvent$2 = (ref, name, flags) => {
|
|
1458
|
+
const elm = getElement(ref);
|
|
1459
|
+
return {
|
|
1460
|
+
emit: (detail) => {
|
|
1461
|
+
return emitEvent(elm, name, {
|
|
1462
|
+
bubbles: !!(flags & 4 /* Bubbles */),
|
|
1463
|
+
composed: !!(flags & 2 /* Composed */),
|
|
1464
|
+
cancelable: !!(flags & 1 /* Cancellable */),
|
|
1465
|
+
detail
|
|
1466
|
+
});
|
|
1467
|
+
}
|
|
1468
|
+
};
|
|
1469
|
+
};
|
|
1470
|
+
var emitEvent = (elm, name, opts) => {
|
|
1471
|
+
const ev = plt.ce(name, opts);
|
|
1472
|
+
elm.dispatchEvent(ev);
|
|
1473
|
+
return ev;
|
|
1474
|
+
};
|
|
1475
|
+
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1476
|
+
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1477
|
+
let style = styles.get(scopeId2);
|
|
1478
|
+
{
|
|
1479
|
+
style = cssText;
|
|
1480
|
+
}
|
|
1481
|
+
styles.set(scopeId2, style);
|
|
1482
|
+
};
|
|
1483
|
+
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1484
|
+
var _a;
|
|
1485
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
1486
|
+
const style = styles.get(scopeId2);
|
|
1487
|
+
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
1488
|
+
if (style) {
|
|
1489
|
+
if (typeof style === "string") {
|
|
1490
|
+
styleContainerNode = styleContainerNode.head || styleContainerNode;
|
|
1491
|
+
let appliedStyles = rootAppliedStyles.get(styleContainerNode);
|
|
1492
|
+
let styleElm;
|
|
1493
|
+
if (!appliedStyles) {
|
|
1494
|
+
rootAppliedStyles.set(styleContainerNode, appliedStyles = /* @__PURE__ */ new Set());
|
|
1495
|
+
}
|
|
1496
|
+
if (!appliedStyles.has(scopeId2)) {
|
|
1497
|
+
if (styleContainerNode.host && (styleElm = styleContainerNode.querySelector(`[${HYDRATED_STYLE_ID}="${scopeId2}"]`))) {
|
|
1498
|
+
styleElm.innerHTML = style;
|
|
1499
|
+
} else {
|
|
1500
|
+
styleElm = doc.createElement("style");
|
|
1501
|
+
styleElm.innerHTML = style;
|
|
1502
|
+
const nonce = (_a = plt.$nonce$) != null ? _a : queryNonceMetaTagContent(doc);
|
|
1503
|
+
if (nonce != null) {
|
|
1504
|
+
styleElm.setAttribute("nonce", nonce);
|
|
1505
|
+
}
|
|
1506
|
+
if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
1507
|
+
styleElm.setAttribute(HYDRATED_STYLE_ID, scopeId2);
|
|
1508
|
+
}
|
|
1509
|
+
if (!(cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */)) {
|
|
1510
|
+
if (styleContainerNode.nodeName === "HEAD") {
|
|
1511
|
+
const preconnectLinks = styleContainerNode.querySelectorAll("link[rel=preconnect]");
|
|
1512
|
+
const referenceNode2 = preconnectLinks.length > 0 ? preconnectLinks[preconnectLinks.length - 1].nextSibling : styleContainerNode.querySelector("style");
|
|
1513
|
+
styleContainerNode.insertBefore(styleElm, referenceNode2);
|
|
1514
|
+
} else if ("host" in styleContainerNode) {
|
|
1515
|
+
{
|
|
1516
|
+
const existingStyleContainer = styleContainerNode.querySelector("style");
|
|
1517
|
+
if (existingStyleContainer) {
|
|
1518
|
+
existingStyleContainer.innerHTML = style + existingStyleContainer.innerHTML;
|
|
1519
|
+
} else {
|
|
1520
|
+
styleContainerNode.prepend(styleElm);
|
|
1521
|
+
}
|
|
1522
|
+
}
|
|
1523
|
+
} else {
|
|
1524
|
+
styleContainerNode.append(styleElm);
|
|
1525
|
+
}
|
|
1526
|
+
}
|
|
1527
|
+
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */ && styleContainerNode.nodeName !== "HEAD") {
|
|
1528
|
+
styleContainerNode.insertBefore(styleElm, null);
|
|
1529
|
+
}
|
|
1530
|
+
}
|
|
1531
|
+
if (cmpMeta.$flags$ & 4 /* hasSlotRelocation */) {
|
|
1532
|
+
styleElm.innerHTML += SLOT_FB_CSS;
|
|
1533
|
+
}
|
|
1534
|
+
if (appliedStyles) {
|
|
1535
|
+
appliedStyles.add(scopeId2);
|
|
1536
|
+
}
|
|
1537
|
+
}
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
return scopeId2;
|
|
1541
|
+
};
|
|
1542
|
+
var attachStyles = (hostRef) => {
|
|
1543
|
+
const cmpMeta = hostRef.$cmpMeta$;
|
|
1544
|
+
const elm = hostRef.$hostElement$;
|
|
1545
|
+
const flags = cmpMeta.$flags$;
|
|
1546
|
+
const endAttachStyles = createTime("attachStyles", cmpMeta.$tagName$);
|
|
1547
|
+
const scopeId2 = addStyle(
|
|
1548
|
+
elm.shadowRoot ? elm.shadowRoot : elm.getRootNode(),
|
|
1549
|
+
cmpMeta);
|
|
1550
|
+
if (flags & 10 /* needsScopedEncapsulation */ && flags & 2 /* scopedCssEncapsulation */) {
|
|
1551
|
+
elm["s-sc"] = scopeId2;
|
|
1552
|
+
elm.classList.add(scopeId2 + "-h");
|
|
1553
|
+
if (flags & 2 /* scopedCssEncapsulation */) {
|
|
1554
|
+
elm.classList.add(scopeId2 + "-s");
|
|
1555
|
+
}
|
|
1556
|
+
}
|
|
1557
|
+
endAttachStyles();
|
|
1558
|
+
};
|
|
1559
|
+
var getScopeId = (cmp, mode) => "sc-" + (cmp.$tagName$);
|
|
1378
1560
|
|
|
1379
1561
|
// src/runtime/update-component.ts
|
|
1380
1562
|
var attachToAncestor = (hostRef, ancestorComponent) => {
|
|
@@ -1618,16 +1800,62 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1618
1800
|
const members = Object.entries((_a = cmpMeta.$members$) != null ? _a : {});
|
|
1619
1801
|
members.map(([memberName, [memberFlags]]) => {
|
|
1620
1802
|
if ((memberFlags & 31 /* Prop */ || (flags & 2 /* proxyState */) && memberFlags & 32 /* State */)) {
|
|
1621
|
-
|
|
1622
|
-
|
|
1623
|
-
|
|
1624
|
-
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
|
|
1630
|
-
|
|
1803
|
+
if ((memberFlags & 2048 /* Getter */) === 0) {
|
|
1804
|
+
Object.defineProperty(prototype, memberName, {
|
|
1805
|
+
get() {
|
|
1806
|
+
return getValue(this, memberName);
|
|
1807
|
+
},
|
|
1808
|
+
set(newValue) {
|
|
1809
|
+
setValue(this, memberName, newValue, cmpMeta);
|
|
1810
|
+
},
|
|
1811
|
+
configurable: true,
|
|
1812
|
+
enumerable: true
|
|
1813
|
+
});
|
|
1814
|
+
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 2048 /* Getter */) {
|
|
1815
|
+
{
|
|
1816
|
+
Object.defineProperty(prototype, memberName, {
|
|
1817
|
+
get() {
|
|
1818
|
+
const ref = getHostRef(this);
|
|
1819
|
+
const instance = ref ? ref.$lazyInstance$ : prototype;
|
|
1820
|
+
if (!instance) return;
|
|
1821
|
+
return instance[memberName];
|
|
1822
|
+
},
|
|
1823
|
+
configurable: true,
|
|
1824
|
+
enumerable: true
|
|
1825
|
+
});
|
|
1826
|
+
}
|
|
1827
|
+
if (memberFlags & 4096 /* Setter */) {
|
|
1828
|
+
const origSetter = Object.getOwnPropertyDescriptor(prototype, memberName).set;
|
|
1829
|
+
Object.defineProperty(prototype, memberName, {
|
|
1830
|
+
set(newValue) {
|
|
1831
|
+
const ref = getHostRef(this);
|
|
1832
|
+
if (origSetter) {
|
|
1833
|
+
const currentValue = ref.$hostElement$[memberName];
|
|
1834
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1835
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1836
|
+
}
|
|
1837
|
+
origSetter.apply(this, [parsePropertyValue(newValue, cmpMeta.$members$[memberName][0])]);
|
|
1838
|
+
setValue(this, memberName, ref.$hostElement$[memberName], cmpMeta);
|
|
1839
|
+
return;
|
|
1840
|
+
}
|
|
1841
|
+
if (!ref) return;
|
|
1842
|
+
const setterSetVal = () => {
|
|
1843
|
+
const currentValue = ref.$lazyInstance$[memberName];
|
|
1844
|
+
if (!ref.$instanceValues$.get(memberName) && currentValue) {
|
|
1845
|
+
ref.$instanceValues$.set(memberName, currentValue);
|
|
1846
|
+
}
|
|
1847
|
+
ref.$lazyInstance$[memberName] = parsePropertyValue(newValue, cmpMeta.$members$[memberName][0]);
|
|
1848
|
+
setValue(this, memberName, ref.$lazyInstance$[memberName], cmpMeta);
|
|
1849
|
+
};
|
|
1850
|
+
if (ref.$lazyInstance$) {
|
|
1851
|
+
setterSetVal();
|
|
1852
|
+
} else {
|
|
1853
|
+
ref.$onReadyPromise$.then(() => setterSetVal());
|
|
1854
|
+
}
|
|
1855
|
+
}
|
|
1856
|
+
});
|
|
1857
|
+
}
|
|
1858
|
+
}
|
|
1631
1859
|
} else if (flags & 1 /* isElementConstructor */ && memberFlags & 64 /* Method */) {
|
|
1632
1860
|
Object.defineProperty(prototype, memberName, {
|
|
1633
1861
|
value(...args) {
|
|
@@ -1667,7 +1895,10 @@ var proxyComponent = (Cstr, cmpMeta, flags) => {
|
|
|
1667
1895
|
}
|
|
1668
1896
|
return;
|
|
1669
1897
|
}
|
|
1670
|
-
|
|
1898
|
+
const propDesc = Object.getOwnPropertyDescriptor(prototype, propName);
|
|
1899
|
+
if (!propDesc.get || !!propDesc.set) {
|
|
1900
|
+
this[propName] = newValue === null && typeof this[propName] === "boolean" ? false : newValue;
|
|
1901
|
+
}
|
|
1671
1902
|
});
|
|
1672
1903
|
};
|
|
1673
1904
|
Cstr.observedAttributes = Array.from(
|
|
@@ -1778,6 +2009,9 @@ var connectedCallback = (elm) => {
|
|
|
1778
2009
|
if (cmpMeta.$flags$ & 1 /* shadowDomEncapsulation */) {
|
|
1779
2010
|
const scopeId2 = addStyle(elm.shadowRoot, cmpMeta);
|
|
1780
2011
|
elm.classList.remove(scopeId2 + "-h", scopeId2 + "-s");
|
|
2012
|
+
} else if (cmpMeta.$flags$ & 2 /* scopedCssEncapsulation */) {
|
|
2013
|
+
const scopeId2 = getScopeId(cmpMeta);
|
|
2014
|
+
elm["s-sc"] = scopeId2;
|
|
1781
2015
|
}
|
|
1782
2016
|
initializeClientHydrate(elm, cmpMeta.$tagName$, hostId, hostRef);
|
|
1783
2017
|
}
|
|
@@ -1874,6 +2108,9 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
|
|
|
1874
2108
|
childId = `${hostId}.${nodeId}`;
|
|
1875
2109
|
if (nodeRef.nodeType === 1 /* ElementNode */) {
|
|
1876
2110
|
nodeRef.setAttribute(HYDRATE_CHILD_ID, childId);
|
|
2111
|
+
if (typeof nodeRef["s-sn"] === "string" && !nodeRef.getAttribute("slot")) {
|
|
2112
|
+
nodeRef.setAttribute("s-sn", nodeRef["s-sn"]);
|
|
2113
|
+
}
|
|
1877
2114
|
} else if (nodeRef.nodeType === 3 /* TextNode */) {
|
|
1878
2115
|
if (hostId === 0) {
|
|
1879
2116
|
const textContent = (_a = nodeRef.nodeValue) == null ? void 0 : _a.trim();
|
|
@@ -1885,6 +2122,10 @@ var insertVdomAnnotations = (doc2, staticComponents) => {
|
|
|
1885
2122
|
const commentBeforeTextNode = doc2.createComment(childId);
|
|
1886
2123
|
commentBeforeTextNode.nodeValue = `${TEXT_NODE_ID}.${childId}`;
|
|
1887
2124
|
insertBefore(nodeRef.parentNode, commentBeforeTextNode, nodeRef);
|
|
2125
|
+
} else if (nodeRef.nodeType === 8 /* CommentNode */) {
|
|
2126
|
+
const commentBeforeTextNode = doc2.createComment(childId);
|
|
2127
|
+
commentBeforeTextNode.nodeValue = `${COMMENT_NODE_ID}.${childId}`;
|
|
2128
|
+
nodeRef.parentNode.insertBefore(commentBeforeTextNode, nodeRef);
|
|
1888
2129
|
}
|
|
1889
2130
|
}
|
|
1890
2131
|
let orgLocationNodeId = `${ORG_LOCATION_ID}.${childId}`;
|
|
@@ -1965,6 +2206,9 @@ var insertChildVNodeAnnotations = (doc2, vnodeChild, cmpData, hostId, depth, ind
|
|
|
1965
2206
|
childElm["s-node-id"] = nodeId;
|
|
1966
2207
|
if (childElm.nodeType === 1 /* ElementNode */) {
|
|
1967
2208
|
childElm.setAttribute(HYDRATE_CHILD_ID, childId);
|
|
2209
|
+
if (typeof childElm["s-sn"] === "string" && !childElm.getAttribute("slot")) {
|
|
2210
|
+
childElm.setAttribute("s-sn", childElm["s-sn"]);
|
|
2211
|
+
}
|
|
1968
2212
|
} else if (childElm.nodeType === 3 /* TextNode */) {
|
|
1969
2213
|
const parentNode = childElm.parentNode;
|
|
1970
2214
|
const nodeName = parentNode == null ? void 0 : parentNode.nodeName;
|
|
@@ -2381,7 +2625,6 @@ var plt = {
|
|
|
2381
2625
|
rel: (el, eventName, listener, opts) => el.removeEventListener(eventName, listener, opts),
|
|
2382
2626
|
ce: (eventName, opts) => new win.CustomEvent(eventName, opts)
|
|
2383
2627
|
};
|
|
2384
|
-
var supportsShadow = BUILD.shadowDom;
|
|
2385
2628
|
var hostRefs = /* @__PURE__ */ new WeakMap();
|
|
2386
2629
|
var getHostRef = (ref) => hostRefs.get(ref);
|
|
2387
2630
|
var registerInstance = (lazyInstance, hostRef) => hostRefs.set(hostRef.$lazyInstance$ = lazyInstance, hostRef);
|
|
@@ -3559,7 +3802,7 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
|
|
|
3559
3802
|
}
|
|
3560
3803
|
};
|
|
3561
3804
|
|
|
3562
|
-
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
|
|
3805
|
+
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;border-radius:4px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:#f2f8fb;border:1px solid rgb(0, 119, 179);border-radius:4px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);background:#f3f4f5;border-color:rgb(23, 28, 58)}.duet-alert-wrapper.warning{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.warning.duet-theme-turva{background:#fffbf4;border-color:rgb(247, 178, 40)}.duet-alert-wrapper.danger{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.danger.duet-theme-turva{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-alert-wrapper.success{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.success.duet-theme-turva{background:#f5f9f8;border-color:rgb(48, 131, 105)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-dismiss{position:absolute;top:2px;right:2px}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}";
|
|
3563
3806
|
var DuetAlertStyle0 = duetAlertCss;
|
|
3564
3807
|
|
|
3565
3808
|
/**
|
|
@@ -3743,12 +3986,12 @@ class DuetBadge {
|
|
|
3743
3986
|
*/
|
|
3744
3987
|
render() {
|
|
3745
3988
|
const backgroundClass = `background-${this.background}`;
|
|
3746
|
-
return (hAsync(Host, { key: '
|
|
3989
|
+
return (hAsync(Host, { key: 'f6c7cba47b61653771f763bf926f6e42f043a51a', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '953adfad1705f38f74fef7490b449f51dc3c8372', class: {
|
|
3747
3990
|
"duet-badge": true,
|
|
3748
3991
|
[this.variation]: true,
|
|
3749
3992
|
[backgroundClass]: true,
|
|
3750
3993
|
"duet-theme-turva": this.theme === "turva",
|
|
3751
|
-
} }, hAsync("slot", { key: '
|
|
3994
|
+
} }, hAsync("slot", { key: '4129c1565dbec8d0269a41e5c5cf0ce71b315be4' }))));
|
|
3752
3995
|
}
|
|
3753
3996
|
get element() { return getElement(this); }
|
|
3754
3997
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -3938,14 +4181,14 @@ class DuetBreadcrumb {
|
|
|
3938
4181
|
*/
|
|
3939
4182
|
render() {
|
|
3940
4183
|
var _a;
|
|
3941
|
-
return (hAsync(Host, { key: '
|
|
4184
|
+
return (hAsync(Host, { key: 'd563a73d4bfb9f69e7680da922d0b2689565ad1c', role: "listitem" }, hAsync("div", { key: '10fc5b8b4a2c25d70156271a11e3a233e3171b5b', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'bfb363e4ddc22dee217eb2caafddfc2195b211af', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '87a994e8838d6b2271066aba7bf9960b5d328393', class: {
|
|
3942
4185
|
"duet-breadcrumb": true,
|
|
3943
4186
|
"duet-theme-turva": this.theme === "turva",
|
|
3944
4187
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
3945
4188
|
this.icon && [
|
|
3946
|
-
hAsync("duet-icon", { key: '
|
|
3947
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
3948
|
-
], hAsync("slot", { key: '
|
|
4189
|
+
hAsync("duet-icon", { key: '3866247a6992476b2559aced40a034a0cc76c437', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4190
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'aadee41608241f0903e843ac3e54a7985a947206', size: "x-small", direction: "horizontal" }),
|
|
4191
|
+
], hAsync("slot", { key: 'dc5cfef7de5a83c0bd04f32204d042400819129f' })))));
|
|
3949
4192
|
}
|
|
3950
4193
|
get element() { return getElement(this); }
|
|
3951
4194
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4006,11 +4249,11 @@ class DuetBreadcrumbs {
|
|
|
4006
4249
|
*/
|
|
4007
4250
|
render() {
|
|
4008
4251
|
const color = getColorByName(this.color);
|
|
4009
|
-
return (hAsync(Host, { key: '
|
|
4252
|
+
return (hAsync(Host, { key: '2ff5911d23c100d3643be758c450037f7e9a188b' }, hAsync("nav", { key: '73bf3c3a13dfbca9d8a627b3833e392a689fdb16', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4010
4253
|
"duet-breadcrumbs": true,
|
|
4011
4254
|
"duet-theme-turva": this.theme === "turva",
|
|
4012
4255
|
[this.variation]: true,
|
|
4013
|
-
} }, hAsync("div", { key: '
|
|
4256
|
+
} }, hAsync("div", { key: 'eab81ecd243618026326688741ff0eacf6eb1bf0', class: "container" }, hAsync("div", { key: '8c7f57f32ec5f458fe10497450995fbcc5feadca', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '8f89e08a64377083ee60c92599459324439c0f8b' })), hAsync("div", { key: '27bc05b04c9b6f613bb95c6bd1576c2486fa30cf', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '437f2b1c77d0a03503c002ce637c79748eba62ea', class: "bottom-border bottom-border--nav" }))));
|
|
4014
4257
|
}
|
|
4015
4258
|
get element() { return getElement(this); }
|
|
4016
4259
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4353,11 +4596,11 @@ class DuetCallout {
|
|
|
4353
4596
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
4354
4597
|
</svg>
|
|
4355
4598
|
`;
|
|
4356
|
-
return (hAsync(Host, { key: '
|
|
4599
|
+
return (hAsync(Host, { key: 'e5a47020ada7c007c90d23a7f9c796c2f6b2457e' }, hAsync("div", { key: '136d467b3ef4aa8f442ee7047cc124990fa61bb8', class: {
|
|
4357
4600
|
"duet-callout": true,
|
|
4358
4601
|
"duet-theme-turva": this.theme === "turva",
|
|
4359
4602
|
"duet-m-0": this.margin === "none",
|
|
4360
|
-
} }, hAsync("figure", { key: '
|
|
4603
|
+
} }, hAsync("figure", { key: '493242d5535a0c9792bea659848083a341788177', class: "container" }, hAsync("duet-icon", { key: '8b8205d4eee5b38576a9c1d7d38b2fbb440bda73', class: "callout-icon", shape: "brand-rotated", background: "primary-lighter", "background-opacity": "0.75", "background-rotation": this.theme === "turva" ? "0" : "7", color: "secondary", icon: icon, size: "auto", margin: "none", theme: this.theme }), hAsync("blockquote", { key: 'fbde831b7ff9d98ff97bdab185dd20e69f2a199c' }, hAsync("slot", { key: 'b08a535e736f7f7b4a9e9bf0c0f87cbd4feb0b9b' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '4e10df600d75e995d0be670382e9f02eb2b2216c', class: "author" }, hAsync("span", { key: 'b8c898cee551b4b54df90d4cc13a2f8a43747722' }, "\u2014 "), hAsync("slot", { key: 'c0b4ad3dc00ff79d592e0283d31230700d6d9715', name: "author" })))))));
|
|
4361
4604
|
}
|
|
4362
4605
|
get element() { return getElement(this); }
|
|
4363
4606
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4718,11 +4961,11 @@ class DuetCheckmark {
|
|
|
4718
4961
|
inheritGlobalTheme(this);
|
|
4719
4962
|
}
|
|
4720
4963
|
render() {
|
|
4721
|
-
return (hAsync(Host, { key: '
|
|
4964
|
+
return (hAsync(Host, { key: 'c27233d217d6300b031461ab116340e1c584066c', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '19290a374763929d9ddf126e675956ff3aaed52e', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'faac346948b9a766a35bb35ad9865fca24efaba0', class: {
|
|
4722
4965
|
"duet-checkmark-container": true,
|
|
4723
4966
|
center: this.center,
|
|
4724
4967
|
"duet-checkmark-radio": this.type === "radio",
|
|
4725
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4968
|
+
} }, this.checked && hAsync("div", { key: '4d79344b9b2bf72c06fa51d0134c4ae0255d6a59', class: "duet-checkmark" })))));
|
|
4726
4969
|
}
|
|
4727
4970
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4728
4971
|
static get cmpMeta() { return {
|
|
@@ -5084,7 +5327,7 @@ class DuetChip {
|
|
|
5084
5327
|
}; }
|
|
5085
5328
|
}
|
|
5086
5329
|
|
|
5087
|
-
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
5330
|
+
const duetChoiceCss = "*.sc-duet-choice,*.sc-duet-choice::after,*.sc-duet-choice::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-choice-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;flex-direction:column;width:auto;max-width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}.sc-duet-choice-h:last-child,.sc-duet-choice-h:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){.sc-duet-choice-h{width:100%}}.duet-expand.sc-duet-choice-h{width:100% !important}.duet-m-0.sc-duet-choice-h{margin:0 !important}.duet-fixed.sc-duet-choice-h{width:auto !important}.vertical.sc-duet-choice-h{margin-right:0 !important}@media (min-width: 48em){.horizontal.sc-duet-choice-h{margin-bottom:0 !important}}@media (min-width: 48em){.horizontal-responsive.sc-duet-choice-h{margin-bottom:0 !important;margin-right:16px !important}.horizontal-responsive.sc-duet-choice-h:last-child,.horizontal-responsive.sc-duet-choice-h:last-of-type{margin-right:0 !important}}.sc-duet-choice-h:last-child:not(:only-child){margin-right:0 !important}.duet-choice-card.sc-duet-choice{position:relative;display:block;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;-webkit-hyphens:auto;hyphens:auto;line-height:1.1;color:rgb(8, 42, 77) !important;text-align:left;background:rgb(255, 255, 255);border-width:1px;border-radius:8px}.duet-choice-card.duet-p-0.sc-duet-choice{padding:0 !important}.duet-choice-card.duet-m-0.sc-duet-choice{margin:0 !important}.duet-theme-turva.sc-duet-choice .duet-choice-card.sc-duet-choice{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important}.duet-choice-card-flextainer.sc-duet-choice{display:flex}.duet-choice-label.sc-duet-choice{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;gap:12px;align-items:center;justify-content:flex-start;width:100%;height:100%;min-height:3.875rem;padding:calc(1rem + 1px);font-size:1rem;font-weight:600;text-decoration:none;word-break:break-word;cursor:pointer;border:1px solid rgb(212, 223, 229);border-radius:8px;transition:background-color 150ms ease, border-color 300ms ease}.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-icon.sc-duet-choice,.duet-choice-label.has-before-text.sc-duet-choice .duet-choice-card-text.sc-duet-choice{align-self:flex-start;margin-top:0.25rem}.duet-choice-label.sc-duet-choice>div.sc-duet-choice:last-child{flex:1;align-self:flex-start;justify-self:flex-end;margin-top:0.25rem}.has-info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-top-right-radius:0;border-bottom-right-radius:0}.info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-bottom-right-radius:0;border-bottom-left-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-theme-turva.sc-duet-choice .info.sc-duet-choice .duet-choice-label.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-label.sc-duet-choice:active{opacity:0.75;transition:none !important}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding:1rem;background:rgb(240, 247, 250);border-color:rgb(0, 119, 179) !important;border-width:2px}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(23, 28, 58) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(198, 12, 48)}.checked.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice,.collapsible-force-expanded.collapsible.sc-duet-choice>.duet-choice-label.sc-duet-choice{padding-bottom:calc(1rem + 2px) !important;border-bottom:0 !important;border-bottom-right-radius:0;border-bottom-left-radius:0}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(23, 28, 58)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked) .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.duet-theme-turva .info .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):not([checked]):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice:not(.checked){padding:1rem}input.sc-duet-choice:focus{outline:0}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3)}.user-is-tabbing.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:checked:focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2)}.user-is-tabbing.duet-theme-turva.sc-duet-choice-h input.sc-duet-choice:not(:checked):focus+.duet-choice-label.sc-duet-choice{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(98, 121, 138) !important;cursor:default !important;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(143, 147, 158)}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(98, 121, 138) !important}input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:hover,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:active,input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice:focus{box-shadow:none !important;opacity:1 !important;transition:none !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-theme-turva.sc-duet-choice input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice .duet-checkmark.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(127, 150, 165) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>input[disabled].sc-duet-choice+.duet-choice-label.sc-duet-choice{border-color:rgb(143, 147, 158) !important}.duet-checkmark-container.sc-duet-choice{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-theme-turva.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(143, 147, 158)}.checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>.duet-choice-label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio.sc-duet-choice{border-radius:50%}[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important;border-color:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice [disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{border-color:rgb(199, 202, 207) !important}.checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(181, 198, 208) !important}.duet-theme-turva.sc-duet-choice .checked.sc-duet-choice>[disabled].sc-duet-choice+label.sc-duet-choice .duet-checkmark-container.sc-duet-choice{background:rgb(199, 202, 207) !important;border-color:rgb(199, 202, 207) !important}.duet-checkmark.sc-duet-choice{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}.duet-choice-card-icon.sc-duet-choice{position:relative;color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-card-icon.sc-duet-choice{color:rgb(164, 4, 40)}.duet-choice-card-icon.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-section-hidden.sc-duet-choice{display:none}.duet-choice-card-info.duet-choice-card-collapsed.sc-duet-choice,.duet-choice-card-collapsed.duet-choice-card-collapsible.sc-duet-choice{position:relative;width:auto;padding:0 !important;background:unset !important;border:0;border-radius:0}.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:20px !important;position:relative;width:100%;font-weight:400;color:rgb(8, 42, 77);border:1px solid rgb(212, 223, 229);border-top:0;border-radius:0 0 8px 8px;transition:border-color 300ms ease}@media (min-width: 36em){.duet-choice-card-info.sc-duet-choice,.duet-choice-card-collapsible.sc-duet-choice{padding:28px !important}}.duet-theme-turva.sc-duet-choice .duet-choice-card-info.sc-duet-choice,.duet-theme-turva.sc-duet-choice .duet-choice-card-collapsible.sc-duet-choice{color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.checked.sc-duet-choice>.duet-choice-card-info.sc-duet-choice,.checked.sc-duet-choice>.duet-choice-card-collapsible.sc-duet-choice{display:block}.duet-choice-card-info-expanded.sc-duet-choice,.duet-choice-card-collapsible-expanded.sc-duet-choice{display:block}.duet-choice-card-collapsible.sc-duet-choice{background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-top:0}.duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{background:rgb(255, 255, 255);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible.checked.sc-duet-choice{padding:19px !important;padding-top:20px !important;border-color:rgb(0, 119, 179);border-width:2px}@media (min-width: 36em){.duet-choice-card-collapsible.checked.sc-duet-choice{padding:27px !important;padding-top:28px !important}}.duet-choice-card-collapsible.checked.duet-theme-turva.sc-duet-choice{border-color:rgb(23, 28, 58)}.duet-choice-card-collapsible-disabled.sc-duet-choice{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.checked.sc-duet-choice{border-color:rgb(212, 223, 229)}.duet-choice-card-collapsible-disabled.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-collapsible-disabled.duet-theme-turva.checked.sc-duet-choice{border-color:rgb(222, 224, 228)}.duet-choice-card-info.sc-duet-choice{font-size:0.875rem;line-height:1.5;background:rgb(245, 248, 250);transition:150ms ease-out}.duet-choice-card-info.duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250);border-color:rgb(222, 224, 228)}.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container.sc-duet-choice-s>*,.duet-choice-card-info.duet-choice-card-collapsed .duet-choice-info-container .sc-duet-choice-s>*{display:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-container.sc-duet-choice:focus{display:block;outline:none;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.sc-duet-choice{border-color:rgb(127, 150, 165)}.disabled.sc-duet-choice-h .duet-choice-card-collapsible.duet-theme-turva.sc-duet-choice{border-color:rgb(143, 147, 158)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(0, 119, 179);border-width:2px}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){border-color:rgb(143, 147, 158)}[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:19px !important;padding-top:20px !important}@media (min-width: 36em){[collapsible-force-expanded].sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-collapsible.sc-duet-choice:not(.checked){padding:27px !important;padding-top:28px !important}}.duet-choice-info-toggle.sc-duet-choice{display:flex;flex-shrink:0;align-items:flex-start;justify-content:center;width:57.6px;padding-top:1.25rem;cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-left:0 none;border-top-right-radius:8px;border-bottom-right-radius:8px;-webkit-appearance:none;appearance:none}.duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 248, 250);border-bottom-color:transparent;border-bottom-right-radius:0}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle[aria-expanded=true].sc-duet-choice{background:rgb(245, 247, 250)}.duet-choice-info-toggle[disabled].sc-duet-choice{pointer-events:none;background:rgb(245, 248, 250) !important;border-color:rgb(212, 223, 229) !important}.duet-choice-info-toggle[disabled].sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(127, 150, 165) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice{background:rgb(245, 247, 250) !important;border-color:rgb(222, 224, 228) !important}.duet-choice-info-toggle[disabled].duet-theme-turva.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(143, 147, 158) !important}.duet-choice-info-toggle.sc-duet-choice:focus{outline:none}.user-is-tabbing.sc-duet-choice-h .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.user-is-tabbing.sc-duet-choice-h .duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.checked.sc-duet-choice+.duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(0, 119, 179) !important}.duet-choice-info-toggle.sc-duet-choice duet-icon.sc-duet-choice{display:block}.duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(0, 119, 179)}.duet-theme-turva.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice .duet-choice-info-icon.sc-duet-choice{color:rgb(198, 12, 48)}.sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(127, 150, 165)}.duet-theme-turva .sc-duet-choice-h:not(.no-hover):not(.disabled):hover>.duet-choice-card-flextainer.sc-duet-choice .duet-choice-label.sc-duet-choice .duet-choice-info-toggle.sc-duet-choice{border-left-color:rgb(143, 147, 158)}.duet-choice-input.sc-duet-choice{position:absolute !important;width:100%;height:100%;opacity:0}";
|
|
5088
5331
|
var DuetChoiceStyle0 = duetChoiceCss;
|
|
5089
5332
|
|
|
5090
5333
|
/**
|
|
@@ -7014,10 +7257,10 @@ class DuetContactCard {
|
|
|
7014
7257
|
render() {
|
|
7015
7258
|
const isTurva = this.theme === "turva";
|
|
7016
7259
|
const theme = isTurva ? "turva" : "default";
|
|
7017
|
-
return (hAsync(Host, { key: '
|
|
7260
|
+
return (hAsync(Host, { key: '710493f629c7d9cac46f490f0dee228f7242a95c', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '6ebe03954a2fa70044934971a113f2799d883a61', class: {
|
|
7018
7261
|
"duet-contact-card": true,
|
|
7019
7262
|
"duet-theme-turva": this.theme === "turva",
|
|
7020
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7263
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '38bd574fe717f2d7b57c74cde6d5ac57f148b23c' }, this.name && (hAsync("duet-heading", { key: '72ef2682da855b8cb86c2537843b864121b1529b', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'b657102818b5864f82ddc9de07ff4c910024e46f', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '310a665ff9dad389ea89c74bcda6b5b637513eca', class: "email" }, hAsync("duet-icon", { key: '0d15be99d190d285cead78ef5a1356ce88802e21', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '67e957450d29245d930ca9b8366cdc421c95b5a0', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '3c7f8dbef0143be61c6da4e5c5aaf50036a5a795', class: "phone" }, hAsync("duet-icon", { key: '107635e97ef8980ce1f9d91cc7c0a20132967d50', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '30993d3b47125ecd85527fd664596deb5b1e6c55', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '08e0710a040f7775d7a8b2c61b5e803212b1a344', class: "call-to-action" }, hAsync("duet-button", { key: '33b3f9f83c8b98df670211fa786bc91e1daeb33f', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '6bd3ab22e2e630bc6de6fd7f841f2b0fd658cc95' }), hAsync("slot", { key: 'ddcf2048393c89dbc94c29254ee703829cdc08a2' }))));
|
|
7021
7264
|
}
|
|
7022
7265
|
get element() { return getElement(this); }
|
|
7023
7266
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7296,7 +7539,7 @@ function createShortcuts(shortcuts) {
|
|
|
7296
7539
|
};
|
|
7297
7540
|
}
|
|
7298
7541
|
|
|
7299
|
-
const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:absolute;top:1px;right:1px;z-index:200;display:flex;align-items:center;justify-content:center;width:48px;height:calc(100% - 2px);color:rgb(8, 42, 77);cursor:pointer;background:transparent !important;border-left:1px solid rgb(181, 198, 208) !important;border-radius:0 4px 4px 0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-button.sc-duet-date-picker:focus{color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button[aria-pressed=true].sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.sc-duet-date-picker:focus{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:focus{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
7542
|
+
const duetDatePickerCss = "*.sc-duet-date-picker,*.sc-duet-date-picker::after,*.sc-duet-date-picker::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-date-picker-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;position:relative;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:top}.sc-duet-date-picker-h:last-child,.sc-duet-date-picker-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-date-picker-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-date-picker-h{width:100% !important}.duet-m-0.sc-duet-date-picker-h{margin:0 !important}.duet-date.sc-duet-date-picker{position:relative;width:100%}.duet-date.sc-duet-date-picker button.sc-duet-date-picker,.duet-date-dialog.sc-duet-date-picker button.sc-duet-date-picker{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button.sc-duet-date-picker{-webkit-user-select:none;user-select:none;position:relative;z-index:200;box-sizing:content-box;display:flex;flex-shrink:0;align-items:center;justify-content:center;width:47px;height:48px;color:rgb(8, 42, 77);cursor:pointer;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-left-color:rgb(181, 198, 208);border-radius:0 4px 4px 0;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button.sc-duet-date-picker::before{position:absolute;top:0;left:-6px;width:6px;height:100%;content:\"\";background:linear-gradient(to left, rgba(181, 198, 208, 0.2) 0%, rgba(181, 198, 208, 0.2) 1px, rgba(181, 198, 208, 0.1) 1px, rgba(181, 198, 208, 0) 100%)}.duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button.sc-duet-date-picker:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:disabled{background:rgb(245, 247, 250) !important}.duet-date-button.sc-duet-date-picker:disabled::before{display:none}.duet-date-button.sc-duet-date-picker:disabled duet-icon.sc-duet-date-picker{opacity:0.4}.duet-date-button.sc-duet-date-picker duet-icon.sc-duet-date-picker{transform:translateY(-1px)}.duet-date-button.sc-duet-date-picker:active duet-icon.sc-duet-date-picker{transform:translateY(0)}.duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-date-button.sc-duet-date-picker:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-input-has-focus.sc-duet-date-picker .duet-date-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .duet-date-button.sc-duet-date-picker:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog.sc-duet-date-picker{position:absolute;top:100%;left:0;z-index:900;display:flex;width:100%;visibility:hidden;opacity:0;transition:transform 300ms ease, opacity 300ms ease, visibility 300ms ease;transform:scale(0.96) translateZ(0) translateY(-20px);transform-origin:top right}@media (min-width: 36em){.duet-date-dialog.left.sc-duet-date-picker{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog.sc-duet-date-picker{position:fixed;top:0;right:0;bottom:0;transition:opacity 400ms ease, visibility 400ms ease;transform:translateZ(0);transform-origin:bottom center}}.duet-date-dialog.active.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error.sc-duet-date-picker{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper.sc-duet-date-picker{position:relative;z-index:600;width:100%;min-width:290px;max-width:310px;padding:16px 16px 20px;margin-top:8px;margin-left:auto;background:rgb(255, 255, 255);border:1px solid rgb(212, 223, 229);border-radius:4px;box-shadow:0 4px 10px 0 rgba(0, 41, 77, 0.15);transform:none}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper.sc-duet-date-picker{position:absolute;bottom:0;left:0;z-index:900;max-width:none;min-height:25em;padding:0 8% 20px;margin:0;visibility:hidden;border:0;border-radius:0;border-top-left-radius:4px;border-top-right-radius:4px;opacity:0;transition:transform 400ms ease, opacity 400ms ease, visibility 400ms ease;transform:translateZ(0) translateY(100%)}.active.sc-duet-date-picker .duet-date-dialog-wrapper.sc-duet-date-picker{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table.sc-duet-date-picker{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);text-align:center;border-spacing:0;border-collapse:collapse}.duet-date-table.duet-theme-turva.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-table.sc-duet-date-picker th.sc-duet-date-picker{padding-bottom:8px;font-size:0.75rem;font-weight:600;line-height:1.25;text-decoration:none;text-transform:uppercase;letter-spacing:1px}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker{text-align:center}.duet-date-table.sc-duet-date-picker .duet-date-table-cell.sc-duet-date-picker:focus{outline:none}.duet-date-table-button.sc-duet-date-picker{position:relative;z-index:100;display:inline-block !important;width:36.9230769231px !important;height:36.9230769231px !important;min-height:initial !important;padding:0 !important;margin:0 !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:2.6 !important;color:rgb(8, 42, 77) !important;text-align:center;vertical-align:initial !important;cursor:pointer;background:transparent !important;border-radius:50% !important;transition:initial !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\" !important;color:rgb(23, 28, 58) !important}.duet-date-table-button.sc-duet-date-picker:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today.sc-duet-date-picker{z-index:200;color:rgb(0, 75, 129) !important;background:rgb(240, 247, 250) !important;box-shadow:0 0 0 1px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.today.sc-duet-date-picker{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva.sc-duet-date-picker [aria-pressed=true].sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker,.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button.sc-duet-date-picker:active{z-index:200;color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.sc-duet-date-picker:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}.sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .sc-duet-date-picker:focus .duet-date-table-button.sc-duet-date-picker{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.disabled.sc-duet-date-picker{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside.sc-duet-date-picker{color:rgb(127, 150, 165) !important;pointer-events:none;cursor:default;background:rgb(245, 248, 250) !important;box-shadow:none;opacity:0.75}.duet-theme-turva.sc-duet-date-picker .duet-date-table-button.outside.sc-duet-date-picker{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header.sc-duet-date-picker{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons.sc-duet-date-picker{white-space:nowrap}.duet-date-dialog-buttons.sc-duet-date-picker .sc-duet-date-picker::part(button){border:0}.duet-date-dialog-select.sc-duet-date-picker{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{position:relative;z-index:1;display:flex;align-items:center;width:100%;padding:0 8px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.25rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);pointer-events:none;border-radius:4px}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker .duet-date-dialog-select-label.sc-duet-date-picker{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-date-dialog-select.sc-duet-date-picker span.sc-duet-date-picker{margin-right:4px}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-select.sc-duet-date-picker select.sc-duet-date-picker:focus+.duet-date-dialog-select-label.sc-duet-date-picker{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header.sc-duet-date-picker{position:relative;display:flex;align-items:center;justify-content:space-between;width:120%;padding:12px 20px;margin-bottom:20px;margin-left:-10%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;border-bottom:1px solid rgb(181, 198, 208)}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-dialog-mobile-header.sc-duet-date-picker{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header.sc-duet-date-picker duet-label.sc-duet-date-picker{display:none}}.duet-date-picker-close.sc-duet-date-picker{display:flex;align-items:center;justify-content:center;width:24px;height:24px !important;padding:0 !important;color:rgb(8, 42, 77) !important;cursor:pointer;background:rgb(245, 248, 250) !important;border-radius:50%;-webkit-appearance:none;appearance:none}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker{opacity:0}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close.sc-duet-date-picker:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close.sc-duet-date-picker:focus{opacity:1}}.duet-theme-turva.sc-duet-date-picker .duet-date-picker-close.sc-duet-date-picker:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
7300
7543
|
var DuetDatePickerStyle0 = duetDatePickerCss;
|
|
7301
7544
|
|
|
7302
7545
|
/**
|
|
@@ -7343,9 +7586,10 @@ class DuetDatePicker {
|
|
|
7343
7586
|
};
|
|
7344
7587
|
this.handleBlur = (event) => {
|
|
7345
7588
|
event.stopPropagation();
|
|
7346
|
-
|
|
7589
|
+
this.inputHasFocus = false;
|
|
7590
|
+
if (!this._validity.valid) {
|
|
7347
7591
|
this.value = null;
|
|
7348
|
-
const errorKey = Object.entries(this.
|
|
7592
|
+
const errorKey = Object.entries(this._validity).find(entry => !!entry[1])[0];
|
|
7349
7593
|
this.internalValidityError = getLocaleString(this.dateErrorMessages[errorKey]);
|
|
7350
7594
|
}
|
|
7351
7595
|
this.duetBlur.emit({
|
|
@@ -7354,6 +7598,7 @@ class DuetDatePicker {
|
|
|
7354
7598
|
};
|
|
7355
7599
|
this.handleFocus = (event) => {
|
|
7356
7600
|
event.stopPropagation();
|
|
7601
|
+
this.inputHasFocus = true;
|
|
7357
7602
|
this.duetFocus.emit({
|
|
7358
7603
|
component: "duet-date-picker",
|
|
7359
7604
|
});
|
|
@@ -7410,7 +7655,14 @@ class DuetDatePicker {
|
|
|
7410
7655
|
PageDown: () => this.addMonths(1),
|
|
7411
7656
|
"Shift+PageUp": () => this.addYears(-1),
|
|
7412
7657
|
"Shift+PageDown": () => this.addYears(1),
|
|
7658
|
+
Space: evt => this.handleKeyboardDaySelect(evt),
|
|
7659
|
+
Enter: evt => this.handleKeyboardDaySelect(evt),
|
|
7413
7660
|
});
|
|
7661
|
+
this.handleKeyboardDaySelect = (evt) => {
|
|
7662
|
+
const el = evt.target;
|
|
7663
|
+
const date = parseISODate(el.dataset.day);
|
|
7664
|
+
this.handleDaySelect(evt, date);
|
|
7665
|
+
};
|
|
7414
7666
|
this.handleDaySelect = (_event, day) => {
|
|
7415
7667
|
const min = parseISODate(this.min);
|
|
7416
7668
|
const max = parseISODate(this.max);
|
|
@@ -7437,6 +7689,7 @@ class DuetDatePicker {
|
|
|
7437
7689
|
this.open = false;
|
|
7438
7690
|
this.focusedDay = new Date();
|
|
7439
7691
|
this.inputValue = "";
|
|
7692
|
+
this.inputHasFocus = false;
|
|
7440
7693
|
this.internalValidityError = "";
|
|
7441
7694
|
this.theme = "";
|
|
7442
7695
|
this.expand = false;
|
|
@@ -7469,15 +7722,22 @@ class DuetDatePicker {
|
|
|
7469
7722
|
this.min = "";
|
|
7470
7723
|
this.max = "";
|
|
7471
7724
|
this.incrementYears = 10;
|
|
7472
|
-
this.validity = undefined;
|
|
7473
7725
|
this.accessibleLiveError = "polite";
|
|
7474
7726
|
}
|
|
7727
|
+
/**
|
|
7728
|
+
* This offers information relating to the current validity of the component.
|
|
7729
|
+
* It follow as closely as possible the behaviour of the native date input.
|
|
7730
|
+
* Useful properties to inspect are badInput, valueMissing, rangeOverflow, rangeUnderflow.
|
|
7731
|
+
*/
|
|
7732
|
+
get validity() {
|
|
7733
|
+
return this._validity;
|
|
7734
|
+
}
|
|
7475
7735
|
updateValidity(newValue, _oldValue, propName) {
|
|
7476
7736
|
if (propName === "value" && newValue === null) {
|
|
7477
7737
|
return;
|
|
7478
7738
|
}
|
|
7479
7739
|
this.determineValidity(parseISODate(this.value));
|
|
7480
|
-
if (this.
|
|
7740
|
+
if (this._validity.valid) {
|
|
7481
7741
|
this.internalValidityError = "";
|
|
7482
7742
|
}
|
|
7483
7743
|
}
|
|
@@ -7592,7 +7852,7 @@ class DuetDatePicker {
|
|
|
7592
7852
|
const valueMissing = this.required && date == null;
|
|
7593
7853
|
const rangeOverflow = date ? !inRange(date, null, parseISODate(this.max)) : false;
|
|
7594
7854
|
const rangeUnderflow = date ? !inRange(date, parseISODate(this.min)) : false;
|
|
7595
|
-
this.
|
|
7855
|
+
this._validity = {
|
|
7596
7856
|
patternMismatch: false,
|
|
7597
7857
|
customError: false,
|
|
7598
7858
|
stepMismatch: false,
|
|
@@ -7688,11 +7948,12 @@ class DuetDatePicker {
|
|
|
7688
7948
|
"min": [1],
|
|
7689
7949
|
"max": [1],
|
|
7690
7950
|
"incrementYears": [2, "increment"],
|
|
7691
|
-
"validity": [
|
|
7951
|
+
"validity": [2064],
|
|
7692
7952
|
"accessibleLiveError": [1, "accessible-live-error"],
|
|
7693
7953
|
"open": [32],
|
|
7694
7954
|
"focusedDay": [32],
|
|
7695
7955
|
"inputValue": [32],
|
|
7956
|
+
"inputHasFocus": [32],
|
|
7696
7957
|
"internalValidityError": [32],
|
|
7697
7958
|
"setFocus": [64],
|
|
7698
7959
|
"show": [64],
|
|
@@ -8023,20 +8284,20 @@ class DuetFieldset {
|
|
|
8023
8284
|
* Always the last one in the class.
|
|
8024
8285
|
*/
|
|
8025
8286
|
render() {
|
|
8026
|
-
return (hAsync(Host, { key: '
|
|
8287
|
+
return (hAsync(Host, { key: '4eb384f65662406ceb5dac5d3afa3123b53d559f', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '1b74d77a9bee7a63d9667dcc2f7bbe1894e18857', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8027
8288
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8028
8289
|
// once they do, we can remove errors from the aria-describedby
|
|
8029
8290
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8030
8291
|
class: {
|
|
8031
8292
|
"duet-fieldset": true,
|
|
8032
8293
|
"duet-theme-turva": this.theme === "turva",
|
|
8033
|
-
} }, hAsync("legend", { key: '
|
|
8294
|
+
} }, hAsync("legend", { key: 'bc8894df307f0f7895ca65a8833f00de91c6d902', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'd4e9c87bccf8f2848af9caacac7b04a6eeaac99f' }, this.label), this.caption && hAsync("span", { key: '0e3b310bcff0a568df84daccd3c87a2032a1951f' }, this.caption)), hAsync("div", { key: '3e4a21c9412a2aa7c8e7b3af233ff78db59de3f3', class: {
|
|
8034
8295
|
"duet-legend-wrapper": true,
|
|
8035
8296
|
"duet-legend-has-caption": !!this.caption,
|
|
8036
8297
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8037
8298
|
"duet-legend-hidden": this.labelHidden,
|
|
8038
8299
|
"duet-legend-compact": this.compactLabel,
|
|
8039
|
-
} }, hAsync("div", { key: '
|
|
8300
|
+
} }, hAsync("div", { key: '2d56b17a53ac005d77452fa00e066dd9cd60d03c', class: "duet-fieldset-label" }, hAsync("span", { key: '1653d740645fba60cf74ab251adc37c29292e68e', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '963c6394ba6b4be1a8ee6b8e89101ec96bf96fa0', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '2d7809730f5df2d775397ffaddd1c433bf920cae', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'd8c54c2135dfd07adf048ddc6e6408b23e263a1f', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '4bccca3aa117b4fd2756065bbaadb3313e29976b' }), hAsync("span", { key: '4be6ce9f08b7f9264378bfa2ca59c253a84e00ed', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '9f9394081a9ce027ac98aed5af00f4f7c960cf96' }, this.error)))));
|
|
8040
8301
|
}
|
|
8041
8302
|
get element() { return getElement(this); }
|
|
8042
8303
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -9663,11 +9924,11 @@ class DuetIcon {
|
|
|
9663
9924
|
: {};
|
|
9664
9925
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9665
9926
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9666
|
-
return (hAsync(Host, { key: '
|
|
9927
|
+
return (hAsync(Host, { key: '395c9d34b58629802851652543d0351555440771', class: {
|
|
9667
9928
|
"duet-m-0": this.margin === "none",
|
|
9668
9929
|
"duet-icon-has-outline": !!this.outline,
|
|
9669
9930
|
"duet-icon-has-background": !!this.background,
|
|
9670
|
-
} }, hAsync("span", { key: '
|
|
9931
|
+
} }, hAsync("span", { key: '98e755e1955298019ae340e039416ca5ed04fa6c', "aria-hidden": "true", style: styles, class: {
|
|
9671
9932
|
"duet-icon": true,
|
|
9672
9933
|
"duet-theme-turva": this.theme === "turva",
|
|
9673
9934
|
"duet-theme-default": this.theme === "default",
|
|
@@ -9676,7 +9937,7 @@ class DuetIcon {
|
|
|
9676
9937
|
[shapeStyle]: true,
|
|
9677
9938
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
9678
9939
|
"duet-icon-not-responsive": !this.responsive,
|
|
9679
|
-
} }, hAsync("span", { key: '
|
|
9940
|
+
} }, hAsync("span", { key: '1a5f2ff89504ee78d476800edc4cb9aeeb6927ae', "aria-hidden": "true", class: { "duet-icon-svg": true, rotated: this.shape === "brand-rotated" && this.theme !== "turva" }, "data-name": this.name, innerHTML: this.svgContent, style: iconStyles }))));
|
|
9680
9941
|
}
|
|
9681
9942
|
get element() { return getElement(this); }
|
|
9682
9943
|
static get watchers() { return {
|
|
@@ -9759,7 +10020,7 @@ function cleanValue(input, regex) {
|
|
|
9759
10020
|
return newValue;
|
|
9760
10021
|
}
|
|
9761
10022
|
|
|
9762
|
-
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10023
|
+
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
9763
10024
|
var DuetInputStyle0 = duetInputCss;
|
|
9764
10025
|
|
|
9765
10026
|
/**
|
|
@@ -10496,10 +10757,10 @@ class DuetLink {
|
|
|
10496
10757
|
render() {
|
|
10497
10758
|
const Tag = !this.url ? "button" : "a";
|
|
10498
10759
|
const isButton = Tag === "button";
|
|
10499
|
-
return (hAsync(Host, { key: '
|
|
10760
|
+
return (hAsync(Host, { key: 'aad1a5cfaf3fb8d502c12de032a4fed3069f3927', class: {
|
|
10500
10761
|
[`duet-link-${this.variation}`]: true,
|
|
10501
10762
|
"duet-m-0": this.margin === "none",
|
|
10502
|
-
} }, hAsync(Tag, { key: '
|
|
10763
|
+
} }, hAsync(Tag, { key: 'c4dc2d9716f29769b6aa60d07788ab96b4946f15', href: this.url, class: {
|
|
10503
10764
|
"duet-link": true,
|
|
10504
10765
|
"duet-link-is-external": this.external,
|
|
10505
10766
|
"duet-link-is-download": !!this.download,
|
|
@@ -10672,14 +10933,14 @@ class DuetListItem {
|
|
|
10672
10933
|
* Always the last one in the class.
|
|
10673
10934
|
*/
|
|
10674
10935
|
render() {
|
|
10675
|
-
return (hAsync(Host, { key: '
|
|
10936
|
+
return (hAsync(Host, { key: 'a7bcf9dc0ad8d27c83c7c94369d277906e23cc30', class: {
|
|
10676
10937
|
"duet-no-stacking": !this.responsive,
|
|
10677
10938
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10678
10939
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10679
10940
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10680
10941
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10681
10942
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10682
|
-
} }, hAsync("dt", { key: '
|
|
10943
|
+
} }, hAsync("dt", { key: '504987050e1628eafd91243247e7242148e1371b' }, hAsync("slot", { key: '94fab56825730065ad5ff075922807ac03e9981a', name: "label" })), hAsync("dd", { key: 'a3b2444a7764edfea66a0e6d63b3ac2f7666ce7c' }, hAsync("slot", { key: '72c2d152465c9278622df1b5b8e947f714977a30', name: "value" }))));
|
|
10683
10944
|
}
|
|
10684
10945
|
static get style() { return DuetListItemStyle0; }
|
|
10685
10946
|
static get cmpMeta() { return {
|
|
@@ -10802,7 +11063,7 @@ class DuetLogo {
|
|
|
10802
11063
|
}; }
|
|
10803
11064
|
}
|
|
10804
11065
|
|
|
10805
|
-
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
11066
|
+
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:-1px;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
10806
11067
|
var DuetMenuBarStyle0 = duetMenuBarCss;
|
|
10807
11068
|
|
|
10808
11069
|
/**
|
|
@@ -10841,8 +11102,15 @@ class DuetMenuBar {
|
|
|
10841
11102
|
}
|
|
10842
11103
|
}
|
|
10843
11104
|
};
|
|
11105
|
+
/**
|
|
11106
|
+
* Checks inside the component whether the center slot is used.
|
|
11107
|
+
*/
|
|
11108
|
+
this.checkCenterSlot = () => {
|
|
11109
|
+
const centerSlot = this.element.querySelector('[slot="center"]');
|
|
11110
|
+
this.centerSlotUsed = !!centerSlot;
|
|
11111
|
+
};
|
|
10844
11112
|
this.changeLogoSize = () => {
|
|
10845
|
-
if (this.mql[1].matches) {
|
|
11113
|
+
if (this.mql[1].matches && this.centerSlotUsed) {
|
|
10846
11114
|
this.logoSize = "large";
|
|
10847
11115
|
}
|
|
10848
11116
|
else {
|
|
@@ -10864,6 +11132,7 @@ class DuetMenuBar {
|
|
|
10864
11132
|
this.logoSize = "large";
|
|
10865
11133
|
this.leftMoreVisible = false;
|
|
10866
11134
|
this.rightMoreVisible = false;
|
|
11135
|
+
this.centerSlotUsed = false;
|
|
10867
11136
|
this.theme = "";
|
|
10868
11137
|
this.language = getLanguage();
|
|
10869
11138
|
this.logo = true;
|
|
@@ -10941,13 +11210,14 @@ class DuetMenuBar {
|
|
|
10941
11210
|
render() {
|
|
10942
11211
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
10943
11212
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
10944
|
-
return (hAsync(Host, { key: '
|
|
11213
|
+
return (hAsync(Host, { key: '080aa307736eb2062f7d685118e18712d1cf615d' }, hAsync("nav", { key: '28cdfe4523173ea7c4f966de8b32e4ab547885d9', class: {
|
|
10945
11214
|
"duet-menu-bar": true,
|
|
10946
11215
|
"duet-theme-turva": this.theme === "turva",
|
|
10947
11216
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11217
|
+
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
10948
11218
|
hidden: this.hidden && this.hideOnScroll,
|
|
10949
11219
|
bottom: this.onBottom,
|
|
10950
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11220
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'b242a73ce21660bdd697be15d4eaa381321d2639', class: "top" }), hAsync("div", { key: '36f578fe0f39f7c41ec2b2c435a58ff995c80c53', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'f95972285bde8b9fbbabdfe18a72515c03e21ad7' }, hAsync("duet-logo", { key: '2aea0ed01de09f12991971f10828f58b8653dbf5', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '434f98cee5757650e22c55f2a91cdb8185cdb7f7', class: "list center", role: "list" }, hAsync("div", { key: 'e3842f9812060bd52a44d7dc4d2caaf01120853f', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '88136566fba82ddbf3f2befa931e84eb58c5d3d7', name: "center" }), hAsync("div", { key: 'aed1d51ec2bda38704ccb4540d5ba8cc2f1a8d92', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '94e134647ab04eca2cf9da10dc5b71919073b30b', class: "list right", role: "list" }, hAsync("slot", { key: 'a7b1772529b42db719616e6e3b5ba9a45736fb91', name: "right" }))), hAsync("div", { key: '550d375725a383f473ee73d7a00bef6f64eadc57', class: "bottom" }))));
|
|
10951
11221
|
}
|
|
10952
11222
|
get element() { return getElement(this); }
|
|
10953
11223
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -10966,7 +11236,8 @@ class DuetMenuBar {
|
|
|
10966
11236
|
"onBottom": [32],
|
|
10967
11237
|
"logoSize": [32],
|
|
10968
11238
|
"leftMoreVisible": [32],
|
|
10969
|
-
"rightMoreVisible": [32]
|
|
11239
|
+
"rightMoreVisible": [32],
|
|
11240
|
+
"centerSlotUsed": [32]
|
|
10970
11241
|
},
|
|
10971
11242
|
"$listeners$": [[9, "scroll", "checkScroll"], [9, "resize", "onWindowResize"]],
|
|
10972
11243
|
"$lazyBundleId$": "-",
|
|
@@ -11013,10 +11284,10 @@ class DuetMenuBarButton {
|
|
|
11013
11284
|
* Always the last one in the class.
|
|
11014
11285
|
*/
|
|
11015
11286
|
render() {
|
|
11016
|
-
return (hAsync(Host, { key: '
|
|
11287
|
+
return (hAsync(Host, { key: 'ffc0fed54b5acda7a76211091c8c502a8c888937', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '10bd0d58fcd801865270e6c4ad8afdd11b239ca8', ref: button => (this.nativeButton = button), class: {
|
|
11017
11288
|
"duet-menu-bar-button": true,
|
|
11018
11289
|
"duet-theme-turva": this.theme === "turva",
|
|
11019
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
11290
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '0351584d8f7f2a8341daf1423e8f199af10ab67f', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '804d1535f44a67308422421bd17efd7c22dd5717' }))));
|
|
11020
11291
|
}
|
|
11021
11292
|
get element() { return getElement(this); }
|
|
11022
11293
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11099,17 +11370,17 @@ class DuetMenuBarDropdown {
|
|
|
11099
11370
|
* Always the last one in the class.
|
|
11100
11371
|
*/
|
|
11101
11372
|
render() {
|
|
11102
|
-
return (hAsync(Host, { key: '
|
|
11373
|
+
return (hAsync(Host, { key: 'a98baab0fb21943f681bd83c2040bdb1f5d5e464', role: "listitem" }, hAsync("div", { key: '79f52e00b692d398484940f70bd44de78ee5a2a7', class: {
|
|
11103
11374
|
"duet-menu-bar-dropdown": true,
|
|
11104
11375
|
"duet-theme-turva": this.theme === "turva",
|
|
11105
11376
|
active: this.open,
|
|
11106
11377
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11107
|
-
} }, hAsync("button", { key: '
|
|
11378
|
+
} }, hAsync("button", { key: 'fb48e17e2995b4f5e057583339d0fc0149b43375', ref: element => (this.button = element), "aria-label": this.accessibleLabel, "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
11108
11379
|
active: this.open,
|
|
11109
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11380
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '5a91dcf8a6a2e2289b9b63680233bfa6dc4e0529', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '4ddf5b0d1fd321a4fa02a73122bd28f88f47f527', class: "label" }, hAsync("slot", { key: 'd79067be6dacc22b8b9e9515d4bb019721b6a2c8', name: "label" }), hAsync("duet-icon", { key: '24396bac267909220e577ed663f8d34468919858', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '514af91b0f0396842a5ede32137ff76a9e31bf40', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11110
11381
|
items: true,
|
|
11111
11382
|
hidden: !this.open,
|
|
11112
|
-
} }, hAsync("slot", { key: '
|
|
11383
|
+
} }, hAsync("slot", { key: 'ecd8ef50dbbf9206540a5cb908a8b37e0e60f14a' })))));
|
|
11113
11384
|
}
|
|
11114
11385
|
get element() { return getElement(this); }
|
|
11115
11386
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11169,11 +11440,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11169
11440
|
* Always the last one in the class.
|
|
11170
11441
|
*/
|
|
11171
11442
|
render() {
|
|
11172
|
-
return (hAsync(Host, { key: '
|
|
11443
|
+
return (hAsync(Host, { key: 'dff3e65bfa27e226d174dbf7fdb57c067bcb24f2' }, hAsync("a", { key: 'c90358c20ce27776461c970e68048427cc2503c8', class: {
|
|
11173
11444
|
"duet-menu-bar-dropdown-link": true,
|
|
11174
11445
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11175
11446
|
"duet-theme-turva": this.theme === "turva",
|
|
11176
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11447
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '52930cb9d1151120fa0191844d65f06a8f5f6319', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '616f450950804fb9a72a010436eb1d7ec4ad02c2' }))));
|
|
11177
11448
|
}
|
|
11178
11449
|
get element() { return getElement(this); }
|
|
11179
11450
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11237,11 +11508,11 @@ class DuetMenuBarItem {
|
|
|
11237
11508
|
*/
|
|
11238
11509
|
render() {
|
|
11239
11510
|
const TagName = this.url ? "a" : "button";
|
|
11240
|
-
return (hAsync(Host, { key: '
|
|
11511
|
+
return (hAsync(Host, { key: '46e23a090bd69731fad23bb7d815fe07949961f1', role: "listitem" }, hAsync(TagName, { key: 'fd2f0cd2b271a5030924b17a318d91ef5f375b26', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11241
11512
|
"duet-menu-bar-item": true,
|
|
11242
11513
|
"duet-theme-turva": this.theme === "turva",
|
|
11243
11514
|
active: this.active,
|
|
11244
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
11515
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'c5f65e90e67f40726dbd1ad1fcecc275b792fcea', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'b9846826ebc0c12f36548a00d1e4156507136f91' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '4d20597bf6e7a17b841c08f429ca64820a01198a', class: {
|
|
11245
11516
|
"trailing-icon": !!this.trailingIcon,
|
|
11246
11517
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11247
11518
|
"external-icon": !!this.external,
|
|
@@ -11296,11 +11567,11 @@ class DuetMenuBarLink {
|
|
|
11296
11567
|
* Always the last one in the class.
|
|
11297
11568
|
*/
|
|
11298
11569
|
render() {
|
|
11299
|
-
return (hAsync(Host, { key: '
|
|
11570
|
+
return (hAsync(Host, { key: 'efb7d0aed76d4f7da05e21e41d92c63465308df6', role: "listitem" }, hAsync("a", { key: 'ed248ea08e7b2be2dafa2617b9b18935ff6aa583', class: {
|
|
11300
11571
|
"duet-menu-bar-link": true,
|
|
11301
11572
|
"duet-theme-turva": this.theme === "turva",
|
|
11302
11573
|
active: this.active,
|
|
11303
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11574
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'cb0bb182c2620d4dd5d0484731f8f7ecca86d7bc', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '686e67b70d05cadb8fa67ed044524dce04e841ff' }))));
|
|
11304
11575
|
}
|
|
11305
11576
|
get element() { return getElement(this); }
|
|
11306
11577
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11934,7 +12205,7 @@ class DuetNav {
|
|
|
11934
12205
|
* Always the last one in the class.
|
|
11935
12206
|
*/
|
|
11936
12207
|
render() {
|
|
11937
|
-
return (hAsync(Host, { key: '
|
|
12208
|
+
return (hAsync(Host, { key: '97cff27b21fb239339ebc9dc8bc5c267e20ed1f9' }, hAsync("div", { key: '33276844fc09bd3a555ab9e033db7d5c2640da5c', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '1f135950c0220a03209aa273bcba83c4477f804a' }), hAsync("slot", { key: '09ac4ab46b3ad110b30ec38907906fe5f16526db', name: "mobile" }), hAsync("slot", { key: '995bc3f699e56d23b8a59df9a84e9a525c970cb3', name: "desktop" }))));
|
|
11938
12209
|
}
|
|
11939
12210
|
get element() { return getElement(this); }
|
|
11940
12211
|
static get style() { return DuetNavStyle0; }
|
|
@@ -11951,7 +12222,7 @@ class DuetNav {
|
|
|
11951
12222
|
}; }
|
|
11952
12223
|
}
|
|
11953
12224
|
|
|
11954
|
-
const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}.duet-notification{display:block;padding:16px;
|
|
12225
|
+
const duetNotificationCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%}:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:0.7}.duet-notification{display:block;padding:16px;cursor:pointer}:host(:first-of-type) .duet-notification{border-top-left-radius:8px;border-top-right-radius:8px}:host(:last-of-type) .duet-notification{border-bottom:0;border-bottom-right-radius:8px;border-bottom-left-radius:8px}.duet-notification.duet-theme-turva{color:rgb(23, 28, 58);border-bottom-color:rgb(222, 224, 228)}.duet-notification.duet-notification-highlight{font-weight:600}.duet-notification.duet-notification-highlight.duet-theme-turva{background:rgb(245, 247, 250)}@media (min-width: 62em){.duet-notification:hover{background:rgb(240, 247, 250)}.duet-notification:hover.duet-theme-turva{background:rgb(245, 247, 250)}}.duet-notification a{text-decoration:none}.duet-notification a:focus{outline:0}:host(.user-is-tabbing) .duet-notification:focus-within{z-index:1;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-notification:focus-within.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-notification-container{position:relative;display:flex;border-bottom:1px solid rgb(212, 223, 229)}.duet-notification-badge-container{position:relative;width:16px}.duet-notification-badge{position:absolute;top:6px;left:-2px;width:8px;height:8px;background:rgb(0, 119, 179);border-radius:50%}.duet-theme-turva .duet-notification-badge{background:rgb(198, 12, 48)}.duet-notification-content{flex:1}.duet-notification-date{position:absolute;top:2px;right:0;width:96px;font-size:0.75rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77);text-align:right;text-transform:uppercase;opacity:0.7}@media (max-width: 35.9375em){.duet-notification-date{width:auto}}.duet-theme-turva .duet-notification-date{color:rgb(113, 118, 132)}@media (min-width: 62em){:host(:not([highlight])) ::slotted(duet-heading),:host(:not([highlight])) ::slotted(duet-paragraph){opacity:1}.duet-notification{border-bottom:1px solid rgb(212, 223, 229)}.duet-notification:hover{background:rgb(228, 241, 247)}.duet-notification.duet-notification-highlight{font-weight:600;background:rgb(240, 247, 250)}.duet-notification-container{border-bottom-style:none}}::slotted(duet-heading){padding-right:80px !important}::slotted(duet-paragraph){margin-bottom:2px !important}";
|
|
11955
12226
|
var DuetNotificationStyle0 = duetNotificationCss;
|
|
11956
12227
|
|
|
11957
12228
|
class DuetNotification {
|
|
@@ -11993,11 +12264,11 @@ class DuetNotification {
|
|
|
11993
12264
|
this.linkElement.focus(options);
|
|
11994
12265
|
}
|
|
11995
12266
|
render() {
|
|
11996
|
-
return (hAsync("div", { key: '
|
|
12267
|
+
return (hAsync("div", { key: '95f620022395e56f383b054bdd44e43eef780659', role: "listitem", class: {
|
|
11997
12268
|
"duet-notification": true,
|
|
11998
12269
|
"duet-notification-highlight": this.highlight,
|
|
11999
12270
|
"duet-theme-turva": this.theme === "turva",
|
|
12000
|
-
} }, hAsync("a", { key: '
|
|
12271
|
+
} }, hAsync("a", { key: 'c2b26563af673ed607eda71ac73618a97df4182d', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '3a4d58c959a73f4eb54b7b1f2341b6cf47b3111d', class: "duet-notification-container" }, hAsync("div", { key: 'a98286e2d2c067a14faa839ab3dec3d29ff29014', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'fdd7359a0ca2bec377cc7312f1005bb351dc9f81', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '4974d054afafb18ff69c464d722ee606c02a73fc' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '5ce2f9c01226ba63cb3d23f1b878d8384040e92b', class: "duet-notification-content" }, hAsync("slot", { key: 'f99affc9adf412fd40861d10bccd092bfb08f2e9' })), hAsync("div", { key: 'de4db79428641035052ede5c208377823828bcab', class: "duet-notification-date" }, this.date)))));
|
|
12001
12272
|
}
|
|
12002
12273
|
get element() { return getElement(this); }
|
|
12003
12274
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12638,12 +12909,12 @@ class DuetPageHeading {
|
|
|
12638
12909
|
*/
|
|
12639
12910
|
render() {
|
|
12640
12911
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12641
|
-
return (hAsync("div", { key: '
|
|
12912
|
+
return (hAsync("div", { key: '7158f6bb1baba0316e310548c2f11fbba22ed802', class: {
|
|
12642
12913
|
"duet-page-heading": true,
|
|
12643
12914
|
"duet-theme-turva": this.theme === "turva",
|
|
12644
12915
|
"has-icon": !!this.icon,
|
|
12645
12916
|
[layout]: true,
|
|
12646
|
-
} }, hAsync("div", { key: '
|
|
12917
|
+
} }, hAsync("div", { key: '9279bef8f915599c716557dcb4cfae9e8ebdcdd7', class: "background" }, this.theme === "turva" && hAsync("div", { key: '88fee514b2c9d6db4993c6070e379e6d354b7f91', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'cf612c48b8322c7b6f8d15e9e3ae7929ebfc754c', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: 'c370d729b95244f6b94a6dc1ad15494af14bdcad', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'c6d34424c53f9fd3d0596a04d2fc111e78c36187', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'df9bf6856c35d65c8490b3c4738a56ffb5a1b8ee', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '275b220fddac6f60e953cc2dee0aaf6a9766807a', class: "heading" }, hAsync("slot", { key: 'fb7b03458b5853815d412eddd93a164f21d102c6', name: "heading" }))));
|
|
12647
12918
|
}
|
|
12648
12919
|
get element() { return getElement(this); }
|
|
12649
12920
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -14468,7 +14739,7 @@ const computePosition = (reference, floating, options) => {
|
|
|
14468
14739
|
});
|
|
14469
14740
|
};
|
|
14470
14741
|
|
|
14471
|
-
const duetPopupMenuCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}";
|
|
14742
|
+
const duetPopupMenuCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.duet-popup-menu-list{position:absolute;top:0;left:0;z-index:950;width:max-content;min-width:175px;padding:8px;margin:0;color:rgb(8, 42, 77);list-style:none;visibility:hidden !important;background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15);opacity:0;transition:transform 300ms ease, visibility 300ms ease, opacity 300ms ease;transform:scaleY(0);transform-origin:top center}.duet-popup-menu-list.open{visibility:visible !important;opacity:1;transform:scaleY(1)}.duet-popup-menu-list.fixed{position:fixed}.duet-popup-menu-list.duet-theme-turva{color:rgb(23, 28, 58) !important;background:rgb(255, 255, 255)}::slotted(duet-notification){max-width:360px}";
|
|
14472
14743
|
var DuetPopupMenuStyle0 = duetPopupMenuCss;
|
|
14473
14744
|
|
|
14474
14745
|
class DuetPopupMenu {
|
|
@@ -14499,8 +14770,9 @@ class DuetPopupMenu {
|
|
|
14499
14770
|
}
|
|
14500
14771
|
const middleware = [
|
|
14501
14772
|
offset({ mainAxis: this.mainAxisOffset, crossAxis: this.crossAxisOffset }),
|
|
14502
|
-
|
|
14503
|
-
|
|
14773
|
+
this.allowVerticalFlip && flip(),
|
|
14774
|
+
shift({ padding: 5 }),
|
|
14775
|
+
].filter(Boolean);
|
|
14504
14776
|
const coordinates = await computePosition(this.openButton, this.menuElement, {
|
|
14505
14777
|
middleware,
|
|
14506
14778
|
placement: this.placement,
|
|
@@ -14516,14 +14788,44 @@ class DuetPopupMenu {
|
|
|
14516
14788
|
this.accessibleRole = "menu";
|
|
14517
14789
|
this.theme = "";
|
|
14518
14790
|
this.skipTeleport = undefined;
|
|
14519
|
-
this.controller = undefined;
|
|
14520
14791
|
this.placement = "bottom-start";
|
|
14521
14792
|
this.forcePlacement = false;
|
|
14793
|
+
this.allowVerticalFlip = true;
|
|
14522
14794
|
this.position = "absolute";
|
|
14523
14795
|
this.mainAxisOffset = 0;
|
|
14524
14796
|
this.crossAxisOffset = 0;
|
|
14525
14797
|
this.controllerIcon = "action-arrow-down-small";
|
|
14526
14798
|
}
|
|
14799
|
+
/**
|
|
14800
|
+
* Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
|
|
14801
|
+
* the component automatically sets the click event listener to open and close the popup-menu.
|
|
14802
|
+
*/
|
|
14803
|
+
get controller() {
|
|
14804
|
+
return this._controller;
|
|
14805
|
+
}
|
|
14806
|
+
set controller(value) {
|
|
14807
|
+
if (this.controller === value) {
|
|
14808
|
+
return;
|
|
14809
|
+
}
|
|
14810
|
+
if (typeof value === "string") {
|
|
14811
|
+
this.setOpenButton(document.getElementById(value));
|
|
14812
|
+
if (this.openButton) {
|
|
14813
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
14814
|
+
}
|
|
14815
|
+
}
|
|
14816
|
+
else {
|
|
14817
|
+
this.setOpenButton(value);
|
|
14818
|
+
}
|
|
14819
|
+
}
|
|
14820
|
+
/**
|
|
14821
|
+
* Alias for property controller.
|
|
14822
|
+
*/
|
|
14823
|
+
get opener() {
|
|
14824
|
+
return this._controller;
|
|
14825
|
+
}
|
|
14826
|
+
set opener(value) {
|
|
14827
|
+
this.controller = value;
|
|
14828
|
+
}
|
|
14527
14829
|
/**
|
|
14528
14830
|
* Component lifecycle events.
|
|
14529
14831
|
*/
|
|
@@ -14533,12 +14835,14 @@ class DuetPopupMenu {
|
|
|
14533
14835
|
componentDidLoad() {
|
|
14534
14836
|
}
|
|
14535
14837
|
connectedCallback() {
|
|
14536
|
-
this.handleControllerChange(this.controller, null);
|
|
14537
14838
|
{
|
|
14538
14839
|
return;
|
|
14539
14840
|
}
|
|
14540
14841
|
}
|
|
14541
14842
|
disconnectedCallback() {
|
|
14843
|
+
if (this.autoUpdateCleanup) {
|
|
14844
|
+
this.autoUpdateCleanup();
|
|
14845
|
+
}
|
|
14542
14846
|
if (this.openButton) {
|
|
14543
14847
|
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
14544
14848
|
if (this.controllerIcon) {
|
|
@@ -14612,6 +14916,9 @@ class DuetPopupMenu {
|
|
|
14612
14916
|
* Hide.
|
|
14613
14917
|
*/
|
|
14614
14918
|
async hide() {
|
|
14919
|
+
if (this.autoUpdateCleanup) {
|
|
14920
|
+
this.autoUpdateCleanup();
|
|
14921
|
+
}
|
|
14615
14922
|
this.open = false;
|
|
14616
14923
|
}
|
|
14617
14924
|
/**
|
|
@@ -14625,20 +14932,6 @@ class DuetPopupMenu {
|
|
|
14625
14932
|
this.show();
|
|
14626
14933
|
}
|
|
14627
14934
|
}
|
|
14628
|
-
handleControllerChange(newValue, oldValue) {
|
|
14629
|
-
if (!!newValue === !!oldValue) {
|
|
14630
|
-
return;
|
|
14631
|
-
}
|
|
14632
|
-
if (typeof this.controller === "string") {
|
|
14633
|
-
this.setOpenButton(document.getElementById(this.controller));
|
|
14634
|
-
if (this.openButton) {
|
|
14635
|
-
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
14636
|
-
}
|
|
14637
|
-
}
|
|
14638
|
-
else {
|
|
14639
|
-
this.setOpenButton(this.controller);
|
|
14640
|
-
}
|
|
14641
|
-
}
|
|
14642
14935
|
handleOpenChange(newValue, oldValue) {
|
|
14643
14936
|
if (!!newValue === !!oldValue) {
|
|
14644
14937
|
return;
|
|
@@ -14651,6 +14944,10 @@ class DuetPopupMenu {
|
|
|
14651
14944
|
this.teleport.makeSiblingsInert();
|
|
14652
14945
|
}
|
|
14653
14946
|
this.updatePlacement();
|
|
14947
|
+
// Start autoUpdate when menu is open
|
|
14948
|
+
if (this.menuElement && this.openButton) {
|
|
14949
|
+
this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
|
|
14950
|
+
}
|
|
14654
14951
|
setTimeout(() => {
|
|
14655
14952
|
if (this.accessibleRole === "menu") {
|
|
14656
14953
|
this.itemElements[0].setFocus();
|
|
@@ -14662,6 +14959,10 @@ class DuetPopupMenu {
|
|
|
14662
14959
|
if (this.openButton) {
|
|
14663
14960
|
this.openButton.accessibleExpanded = false;
|
|
14664
14961
|
}
|
|
14962
|
+
// Clean up autoUpdate when closed
|
|
14963
|
+
if (this.autoUpdateCleanup) {
|
|
14964
|
+
this.autoUpdateCleanup();
|
|
14965
|
+
}
|
|
14665
14966
|
setTimeout(() => {
|
|
14666
14967
|
if (this.accessibleRole === "menu") {
|
|
14667
14968
|
this.focusOpenButton();
|
|
@@ -14697,13 +14998,12 @@ class DuetPopupMenu {
|
|
|
14697
14998
|
position: this.position,
|
|
14698
14999
|
overflowY: "auto",
|
|
14699
15000
|
};
|
|
14700
|
-
return (hAsync(Host, { key: '
|
|
15001
|
+
return (hAsync(Host, { key: '1573445d7c27f2e19d2ce614aba54a6af305ff86' }, hAsync("div", { key: '15d45b18fb7164b94698327e601076a3f51b1216', ref: element => {
|
|
14701
15002
|
this.menuElement = element;
|
|
14702
|
-
}, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
15003
|
+
}, style: styles, class: { open: this.open, "duet-popup-menu-list": true, "duet-theme-turva": this.theme === "turva" }, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: 'ea1ea99244036c122bb61dff60cb09c0b4393979' }))));
|
|
14703
15004
|
}
|
|
14704
15005
|
get element() { return getElement(this); }
|
|
14705
15006
|
static get watchers() { return {
|
|
14706
|
-
"controller": ["handleControllerChange"],
|
|
14707
15007
|
"open": ["handleOpenChange"]
|
|
14708
15008
|
}; }
|
|
14709
15009
|
static get style() { return DuetPopupMenuStyle0; }
|
|
@@ -14715,9 +15015,11 @@ class DuetPopupMenu {
|
|
|
14715
15015
|
"accessibleRole": [1, "accessible-role"],
|
|
14716
15016
|
"theme": [1025],
|
|
14717
15017
|
"skipTeleport": [4, "skip-teleport"],
|
|
14718
|
-
"controller": [
|
|
15018
|
+
"controller": [6145],
|
|
15019
|
+
"opener": [6145],
|
|
14719
15020
|
"placement": [1],
|
|
14720
15021
|
"forcePlacement": [4, "force-placement"],
|
|
15022
|
+
"allowVerticalFlip": [4, "allow-vertical-flip"],
|
|
14721
15023
|
"position": [1025],
|
|
14722
15024
|
"mainAxisOffset": [2, "main-axis-offset"],
|
|
14723
15025
|
"crossAxisOffset": [2, "cross-axis-offset"],
|
|
@@ -14804,7 +15106,11 @@ class DuetPopupMenuItem {
|
|
|
14804
15106
|
"duet-theme-turva": this.theme === "turva",
|
|
14805
15107
|
"active-descendant": this.activeDescendant,
|
|
14806
15108
|
};
|
|
14807
|
-
return (hAsync(Host, { key: '
|
|
15109
|
+
return (hAsync(Host, { key: '02e7a087e9f8df28e015c45b2182ab19167c39a2', role: this.accessibleRole }, hAsync(TagName, { key: 'aafbfd9c8bd9cab5f2b2ba259efc8c31964bad10', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "menuitem" || "option" ? -1 : 0, onFocus: this.onFocus, onBlur: this.onBlur, role: `${TagName === "a" ? "link" : "button"}`, "aria-label": this.accessibleLabel, class: classes, value: this.value, href: this.url, target: this.external ? "_blank" : undefined, rel: this.external ? "noopener" : undefined, lang: TagName === "button" ? undefined : this.targetLanguage, hreflang: TagName === "button" ? undefined : this.targetLanguage }, this.leadingIcon && (hAsync("duet-icon", { key: '571151b958d0ef9af6f52cda7785555978c9d942', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '99b4a1e46f824fdc684531dfe55b7bc66e06370c', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'f76853aa6c7b441dcca9193dd8e73a117a49916f' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'c0a0f628bec874ca8d2d1fe9f1a0992703cfd1c2', name: this.url && this.external
|
|
15110
|
+
? actionNewWindowSmall.title
|
|
15111
|
+
: this.active
|
|
15112
|
+
? "messaging-checked-small"
|
|
15113
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: 'f4287b3ef8b66ce1512254aa8e6383907650283d', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
14808
15114
|
}
|
|
14809
15115
|
get element() { return getElement(this); }
|
|
14810
15116
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -14959,12 +15265,12 @@ class DuetPromoCard {
|
|
|
14959
15265
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
14960
15266
|
};
|
|
14961
15267
|
const TagName = this.url ? "a" : "div";
|
|
14962
|
-
return (hAsync(Host, { key: '
|
|
15268
|
+
return (hAsync(Host, { key: '772d875fe0dbb9ad3b6f40df395cabd07b65cfe2', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '3e37a0d57ea0b9a20d515d7aac02ef2b087c4865', class: {
|
|
14963
15269
|
"duet-promo-card": true,
|
|
14964
15270
|
"duet-theme-turva": this.theme === "turva",
|
|
14965
15271
|
"no-bg-color": !this.backgroundColor,
|
|
14966
15272
|
"duet-promo-card-link": !!this.url,
|
|
14967
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15273
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'bc154d41c8fd9637d3daa3be4eaedf1ade6c56c4', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '49a36a008c5006f0b7ece514c2eb178819a1e3af', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'd699b44c77b9de41cfa1f04703026c3eff90701c', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '6fbe038e30a5e8b6f9736e937a51f6ee4bcd4c9a', class: "pre-heading" }, hAsync("slot", { key: '7e1dd94953f263d5fd5f7403baf9a64fe214d97d', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '87d9413ef845107bb0ea9f90b63460590073ce90', class: "heading" }, hAsync("duet-heading", { key: '6e79bd35cdb2cde71100983934b0233d3e81f725', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '254924fd6185e8ccdc63cb0be081c14e9e9eef8c' }, hAsync("slot", { key: '881f4c33051834e4a4056634b1b8a5ef6baf36c6', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '0365ddf81b773ef61c09232ac70453ce567e86e9', class: "description" }, hAsync("duet-paragraph", { key: '54d6256f80f50b3720a17de720cab84540e231bb', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'ec4c19a46660221400004023fdf87eb5ade14e44' }, hAsync("slot", { key: 'e76c95070806c41c03dfad3251b4167236d031cf', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: 'da3dee3c187b02a607a4c2f26ae42111ce78fde1', class: "action" }, hAsync("slot", { key: '5d84d7ea30fff32b3de78694f4dd9c7df4d96383', name: "action" }))))))));
|
|
14968
15274
|
}
|
|
14969
15275
|
get element() { return getElement(this); }
|
|
14970
15276
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -15824,21 +16130,21 @@ class DuetScrollable {
|
|
|
15824
16130
|
* Always the last one in the class.
|
|
15825
16131
|
*/
|
|
15826
16132
|
render() {
|
|
15827
|
-
return (hAsync(Host, { key: '
|
|
16133
|
+
return (hAsync(Host, { key: '44691d4a1b441b106e337cf3f53a6936631f5480', class: {
|
|
15828
16134
|
"duet-theme-turva": this.theme === "turva",
|
|
15829
16135
|
"duet-theme-default": this.theme === "default",
|
|
15830
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16136
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '07fc1a65d6b9b303aa619d3b0f5942b3615ab3ec', class: {
|
|
15831
16137
|
collapse: true,
|
|
15832
16138
|
hide: !this.needsScrolling && !this.collapsed,
|
|
15833
|
-
} }, hAsync("duet-button", { key: '
|
|
16139
|
+
} }, hAsync("duet-button", { key: '49d9240985d93addb7dae6aad6d5443cc8205b70', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'c215d89df2f21047ef1fb2c094c70c6e78869ffa', name: "collapse-button-label" })))), hAsync("div", { key: 'ebdf63f1649ffacf763b4ac6ff52576bca674e83', class: {
|
|
15834
16140
|
"duet-scrollable-items": true,
|
|
15835
16141
|
buttons: this.buttons,
|
|
15836
16142
|
center: this.center,
|
|
15837
|
-
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: '
|
|
16143
|
+
} }, this.buttons && this.renderButton("left"), this.renderFadeOverlay("left"), hAsync("div", { key: 'a202dcd5c66b6b5aa69c73903b113dd76078ba0d', class: {
|
|
15838
16144
|
"duet-scrollable-list": true,
|
|
15839
16145
|
collapsed: this.collapsed,
|
|
15840
16146
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
15841
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
16147
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'd35f08ff8a30abc8b3bc99e09701c88768d5615c' })), this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
15842
16148
|
}
|
|
15843
16149
|
get element() { return getElement(this); }
|
|
15844
16150
|
static get watchers() { return {
|
|
@@ -15883,13 +16189,13 @@ class DuetSectionLayout {
|
|
|
15883
16189
|
* Always the last one in the class.
|
|
15884
16190
|
*/
|
|
15885
16191
|
render() {
|
|
15886
|
-
return (hAsync(Host, { key: '
|
|
16192
|
+
return (hAsync(Host, { key: '8773917ab1861426ac154e88a578116470c60558', class: {
|
|
15887
16193
|
"duet-middle": this.middle,
|
|
15888
16194
|
"duet-ie": isInternetExplorer(),
|
|
15889
|
-
} }, hAsync("div", { key: '
|
|
16195
|
+
} }, hAsync("div", { key: '905163b782b84e3989df7c4cb90a5f965152b4e5', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'c3886b18a98df150ba61452fd9edb065a7ec483f', class: {
|
|
15890
16196
|
"duet-layout": true,
|
|
15891
16197
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
15892
|
-
} }, hAsync("section", { key: '
|
|
16198
|
+
} }, hAsync("section", { key: 'a5e69845c34da96deca2f68270a1431c17186933', class: "duet-main" }, hAsync("slot", { key: 'a1dffe9da76bdc8169e5356463f4426b5e15a7d6' }))))));
|
|
15893
16199
|
}
|
|
15894
16200
|
get element() { return getElement(this); }
|
|
15895
16201
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -16132,9 +16438,9 @@ class DuetShapedImage {
|
|
|
16132
16438
|
const style = {
|
|
16133
16439
|
"--rotation": `${this.rotation}deg`,
|
|
16134
16440
|
};
|
|
16135
|
-
return (hAsync(Host, { key: '
|
|
16441
|
+
return (hAsync(Host, { key: '5df9410ffe66931da7f0559adbceaafd268eef43', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'abcaa854db75c947ce79be2b14b0a7ad47fbb59d', class: {
|
|
16136
16442
|
"shaped-image": true,
|
|
16137
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
16443
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '2891f9a50a69234a4caee374bedd5d145bc8e945', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'd6a4e824422d03984a69fdf34a815f569a30e636', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
16138
16444
|
}
|
|
16139
16445
|
static get style() { return DuetShapedImageStyle0; }
|
|
16140
16446
|
static get cmpMeta() { return {
|
|
@@ -16153,7 +16459,7 @@ class DuetShapedImage {
|
|
|
16153
16459
|
}; }
|
|
16154
16460
|
}
|
|
16155
16461
|
|
|
16156
|
-
const duetShowMoreCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-show-more{margin-bottom:16px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
16462
|
+
const duetShowMoreCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block}.duet-show-more{margin-bottom:16px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-show-more.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-show-more.duet-theme-turva .content:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}";
|
|
16157
16463
|
var DuetShowMoreStyle0 = duetShowMoreCss;
|
|
16158
16464
|
|
|
16159
16465
|
class DuetShowMore {
|
|
@@ -16576,9 +16882,38 @@ class DuetSlideout {
|
|
|
16576
16882
|
this.theme = "";
|
|
16577
16883
|
this.accessibleRole = "menubar";
|
|
16578
16884
|
this.open = false;
|
|
16579
|
-
this.opener = undefined;
|
|
16580
16885
|
this.backgroundColor = "gray-lightest";
|
|
16581
16886
|
}
|
|
16887
|
+
/**
|
|
16888
|
+
* DuetMenuBarButton or DuetButton element, or id of an element, that opens the slideout. If id is given,
|
|
16889
|
+
* the component automatically sets the click event listener to open the slideout.
|
|
16890
|
+
*/
|
|
16891
|
+
get opener() {
|
|
16892
|
+
return this._opener;
|
|
16893
|
+
}
|
|
16894
|
+
set opener(value) {
|
|
16895
|
+
if (this.opener === value) {
|
|
16896
|
+
return;
|
|
16897
|
+
}
|
|
16898
|
+
if (typeof value === "string") {
|
|
16899
|
+
this.setOpenButton(document.getElementById(value));
|
|
16900
|
+
if (this.openButton) {
|
|
16901
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
16902
|
+
}
|
|
16903
|
+
}
|
|
16904
|
+
else {
|
|
16905
|
+
this.setOpenButton(value);
|
|
16906
|
+
}
|
|
16907
|
+
}
|
|
16908
|
+
/**
|
|
16909
|
+
* Alias for property opener.
|
|
16910
|
+
*/
|
|
16911
|
+
get controller() {
|
|
16912
|
+
return this._opener;
|
|
16913
|
+
}
|
|
16914
|
+
set controller(value) {
|
|
16915
|
+
this.opener = value;
|
|
16916
|
+
}
|
|
16582
16917
|
/**
|
|
16583
16918
|
* Component lifecycle events.
|
|
16584
16919
|
*/
|
|
@@ -16696,15 +17031,15 @@ class DuetSlideout {
|
|
|
16696
17031
|
};
|
|
16697
17032
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
16698
17033
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
16699
|
-
return (hAsync(Host, { key: '
|
|
17034
|
+
return (hAsync(Host, { key: '289093e61e89d5724e3bb15cd7945fd39734ed53' }, hAsync("div", { key: '3514ce08bf8d7a529cfbff42be55b8bcf192cc8f', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-overlay", { key: 'b78a47d52483e0eb360dc0ccc9e657b5ccb9b030', onClick: this.bgOnClick, visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '95a7f2593ddf2def5019b3d6c84d5374f67fefb3', ref: element => (this.dialog = element), tabindex: "-1", role: "dialog", id: "dialog", "aria-labelledby": "button", "aria-modal": this.isSafariBrowser ? false : true, "aria-flowto": "slot-container", class: {
|
|
16700
17035
|
dialog: true,
|
|
16701
17036
|
hidden: !this.open,
|
|
16702
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17037
|
+
}, style: styles }, hAsync(FocusGuard, { key: '8d2774b7413c3a4348831ea8f3484763560496d4', moveFocusTo: this.closeButton }), hAsync("div", { key: '0ab02fea0fc88c1cad4e7964cf64ddd4e0991d3c', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '12b34a66f05a9d7d65c8d06a36aab27b9190c8ac', class: "top" }, hAsync("button", { key: '7ffb3f3bace1d7983094573171a38dbac5c8a410', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
16703
17038
|
"slideout-close": true,
|
|
16704
17039
|
active: this.open,
|
|
16705
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17040
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'f25d28342f722a6d4b7705e45498a8036468bf74', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '0162ecd6fc8db33a7053a1bf44bdb0b7b220ec6f', class: "sticky-header" }, hAsync("slot", { key: '6d47a428f6f63a9ea306af7b1553dcc5144e84c7', name: "sticky-header" }))), hAsync("div", { key: '7fe090f9ad0f6eb825809a17b8610f5aefbd2ab2', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
16706
17041
|
items: true,
|
|
16707
|
-
} }, hAsync("slot", { key: '
|
|
17042
|
+
} }, hAsync("slot", { key: 'bf013947faa4f1951dbb34616040b35d90e4770c' })), hAsync(FocusGuard, { key: '388318c3a94cd035f6e02eb83e49e0d97ad56995', moveFocusTo: this.closeButton })))));
|
|
16708
17043
|
}
|
|
16709
17044
|
get element() { return getElement(this); }
|
|
16710
17045
|
static get watchers() { return {
|
|
@@ -16718,7 +17053,8 @@ class DuetSlideout {
|
|
|
16718
17053
|
"theme": [1025],
|
|
16719
17054
|
"accessibleRole": [1, "accessible-role"],
|
|
16720
17055
|
"open": [1540],
|
|
16721
|
-
"opener": [
|
|
17056
|
+
"opener": [6145],
|
|
17057
|
+
"controller": [6145],
|
|
16722
17058
|
"backgroundColor": [1537, "background-color"],
|
|
16723
17059
|
"language": [32],
|
|
16724
17060
|
"displaying": [32],
|
|
@@ -16769,7 +17105,7 @@ class DuetSlideoutLang {
|
|
|
16769
17105
|
*/
|
|
16770
17106
|
render() {
|
|
16771
17107
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
16772
|
-
return (hAsync(Host, { key: '
|
|
17108
|
+
return (hAsync(Host, { key: '921d8705f5435def5fbb0254a369e3ec9a61388c' }, hAsync("div", { key: 'e0fd2be895c43bf917241e6f1421ba2090b3b7b5', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '328021a2402da1595829e837789a20d840d2bde6', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '44b1d9993cc174aa8a8e5abb6fa94bf6cb6ed80e' }))));
|
|
16773
17109
|
}
|
|
16774
17110
|
get element() { return getElement(this); }
|
|
16775
17111
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -16813,12 +17149,12 @@ class DuetSlideoutLink {
|
|
|
16813
17149
|
* Always the last one in the class.
|
|
16814
17150
|
*/
|
|
16815
17151
|
render() {
|
|
16816
|
-
return (hAsync(Host, { key: '
|
|
17152
|
+
return (hAsync(Host, { key: 'f45a422bb18c9f386e3d1dc65efb9ba5f10fafca' }, hAsync("a", { key: 'f23111a05259c83100372f73c2c888d0226f69ff', class: {
|
|
16817
17153
|
"duet-slideout-link": true,
|
|
16818
17154
|
"duet-theme-turva": this.theme === "turva",
|
|
16819
17155
|
active: this.active,
|
|
16820
17156
|
[this.size]: true,
|
|
16821
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
17157
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '919dadfb6d0469813de5a142127eec1e7cce51c6', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'acac1e1208342d14df7f9f6027355754be3fb7c7', class: "label" }, hAsync("span", { key: 'aef4befd5b30c33dfdfcadb49fe30f1c676c3467' }, hAsync("slot", { key: 'd49e0cbb71c1d89f66c63a0d783d2033a6dc4248' }), hAsync("slot", { key: 'abf210a92d2391fa5319533441fc05983c69b9f3', name: "description" })), this.caret && (hAsync("duet-icon", { key: '8f4900f2baa7f402614c92315803e14611be8db6', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
16822
17158
|
}
|
|
16823
17159
|
get element() { return getElement(this); }
|
|
16824
17160
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -16842,7 +17178,7 @@ class DuetSlideoutLink {
|
|
|
16842
17178
|
}; }
|
|
16843
17179
|
}
|
|
16844
17180
|
|
|
16845
|
-
const duetSlideoutPanelCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}";
|
|
17181
|
+
const duetSlideoutPanelCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}:host slot:not([name=label])::slotted(*){position:relative;top:0.5rem;opacity:0;transition:top 0.3s ease-in, opacity 0.3s ease-in}:host([open]) slot:not([name=label])::slotted(*){top:0;opacity:1}.duet-slideout-panel{position:relative;height:100%}.duet-slideout-panel .link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1.5rem;font-weight:800;line-height:1.25;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer}.duet-slideout-panel .link .duet-slideout-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{position:absolute;top:0;left:16px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-slideout-panel .link .duet-slideout-icon .duet-slideout-badge{background:rgb(247, 178, 40)}@media (min-width: 62em){.duet-slideout-panel .link .duet-slideout-icon{margin-right:8px}}.duet-slideout-panel .link .label{display:flex;gap:0.5rem;align-items:center;justify-content:space-between;width:100%}.duet-slideout-panel .link .label-text.small{font-size:1rem;font-weight:600}.duet-slideout-panel .link .label-text.medium{font-size:1.25rem;font-weight:600}.duet-slideout-panel .link .label-text.large{font-size:1.5rem;font-weight:800}.duet-slideout-panel .link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .link.active .label-text{position:relative}.duet-slideout-panel .link.active .label-text.small::after{height:1px;transform:translateY(1px)}.duet-slideout-panel .link.active .label-text::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:2px;content:\"\";background:rgb(0, 119, 179);transform:translateY(2px)}.duet-slideout-panel .dialog{position:fixed;top:0;left:0;z-index:600;width:100%;height:100%;overflow-y:auto;visibility:visible}.duet-slideout-panel .dialog.hidden{visibility:hidden}.duet-slideout-panel .dialog.hidden .top .back,.duet-slideout-panel .dialog.hidden .top span{opacity:0}.duet-slideout-panel .top-container.has-sticky-header-slot{position:sticky;top:0;z-index:200}.duet-slideout-panel .top-container.has-sticky-header-slot .top{background:rgb(240, 247, 250)}.duet-slideout-panel .top-container.has-sticky-header-slot .sticky-header{display:block;padding:0 16px}.duet-slideout-panel .top{display:flex;align-items:center;justify-content:space-between;padding:4px}.duet-slideout-panel .top .back{opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .top .back:focus,.duet-slideout-panel .top .close:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-slideout-panel .top duet-icon{padding:16px}.duet-slideout-panel .top span{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77);opacity:1;transition:top 0.3s ease-in, opacity 0.3s ease-in}.duet-slideout-panel .sticky-header{display:none;width:100%;padding:0 1.5rem;margin-bottom:20px;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229)}.duet-slideout-panel .items{display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;padding:1rem 16px;overflow-y:auto;color:rgb(8, 42, 77)}.duet-slideout-panel.duet-theme-turva .link{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-slideout-panel.duet-theme-turva .link:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .link.active .label-text::after{background:rgb(198, 12, 48)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .top{background:rgb(245, 247, 250)}.duet-slideout-panel.duet-theme-turva .has-sticky-header-slot .sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-slideout-panel.duet-theme-turva .top .back:focus,.duet-slideout-panel.duet-theme-turva .top .close:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-panel.duet-theme-turva .top span{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}slot:not([name=label]){--active-height:1px;--active-translate-y:translateY(1px);font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-theme-turva slot:not([name=label]){color:rgb(23, 28, 58)}";
|
|
16846
17182
|
var DuetSlideoutPanelStyle0 = duetSlideoutPanelCss;
|
|
16847
17183
|
|
|
16848
17184
|
/**
|
|
@@ -16891,6 +17227,7 @@ class DuetSlideoutPanel {
|
|
|
16891
17227
|
this.icon = undefined;
|
|
16892
17228
|
this.labelSize = "medium";
|
|
16893
17229
|
this.backgroundColor = "primary-lightest";
|
|
17230
|
+
this.badge = false;
|
|
16894
17231
|
}
|
|
16895
17232
|
/**
|
|
16896
17233
|
* Component lifecycle events.
|
|
@@ -16977,21 +17314,23 @@ class DuetSlideoutPanel {
|
|
|
16977
17314
|
};
|
|
16978
17315
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
16979
17316
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
16980
|
-
return (hAsync(Host, { key: '
|
|
17317
|
+
return (hAsync(Host, { key: '2647678315ed56e1fe335c37736ee23c004dd21d' }, hAsync("div", { key: '905482d53e0735d94f4b642cb1451313ba5a1b34', class: {
|
|
16981
17318
|
"duet-slideout-panel": true,
|
|
16982
17319
|
"duet-theme-turva": this.theme === "turva",
|
|
16983
17320
|
active: this.open,
|
|
16984
|
-
} }, hAsync("button", { key: '
|
|
17321
|
+
} }, hAsync("button", { key: '45f9e616201b64655cfadf30e3e6f2c4a57c835e', ref: element => (this.openButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
16985
17322
|
link: true,
|
|
16986
17323
|
active: this.active,
|
|
16987
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && hAsync("duet-icon", { key: '
|
|
17324
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '008d3982b7842feefbdf0e1a26143baca78feb98', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: 'cd08bf2de91cbf0cae51750ae70ac39a6886718b', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '546c0233c3479f5ae94f5d175b38a5bbd5a62ec3', class: "duet-slideout-badge" }))), hAsync("span", { key: 'd5d36cc9179fcf3217d991bc40250e05cd462bd1', class: "label" }, hAsync("span", { key: 'f9cdaf84aaea94b0960779018ab0ebe92db3cded', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '87277fe5dd9340b05758ed62641ebf4521c2c988', name: "label" })), hAsync("duet-icon", { key: 'efd21892344ca510453d903c6099ef38700dcd64', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'e0891e52f2734290947fb7bab8e732ea19db4ca7', ref: element => (this.dialog = element), class: {
|
|
16988
17325
|
dialog: true,
|
|
16989
17326
|
hidden: !this.open,
|
|
16990
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17327
|
+
}, style: styles }, hAsync(FocusGuard, { key: '78fbbf6a49c26699a681d53e8664fa9cdc04607d', moveFocusTo: this.closeButton }), hAsync("div", { key: 'ff3ae73aedbf253a194fbf5ec5e03558a6253eeb', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'a1a3eed79130adbe6b32c2ab2a8ca0aab5cef454', class: "top" }, hAsync("button", { key: 'ec03ca7ae63fbabe2a8a72dd174d45dfe3a43cbc', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
16991
17328
|
back: true,
|
|
16992
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
17329
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: 'cccfd5be6b2f45a819c9f4d5e2be98fb550f9052', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '6ef5585f68075fb83da70e1d0957a271baa40e8d' }, this.label.innerHTML), hAsync("button", { key: '025d0b7774d3ab4d2212a41dcfbf335dbdcbe75b', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'c75bc1256d277e8e78feff4feccea9ddbb76076e', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '2ea243cde023eae58163c13933950ae567cc4fb8', class: "sticky-header" }, hAsync("slot", { key: '216f3007ee7fd66367bb1ecc7c633f81def538de', name: "sticky-header" }))), hAsync("div", { key: 'b63972a5c65747caa92dd13ec99059748afa72e0', tabindex: "-1", role: "menu",
|
|
17330
|
+
//TODO: slideout menu fades out, needs to be instant
|
|
17331
|
+
id: "menu", "aria-labelledby": "button", class: {
|
|
16993
17332
|
items: true,
|
|
16994
|
-
} }, hAsync("slot", { key: '
|
|
17333
|
+
} }, hAsync("slot", { key: '82da64daad4e4c5445bacd92c115e658819341ce' })), hAsync(FocusGuard, { key: 'fd769f1269b9562291f1198976e3258148a696dc', moveFocusTo: this.closeButton })))));
|
|
16995
17334
|
}
|
|
16996
17335
|
get element() { return getElement(this); }
|
|
16997
17336
|
static get watchers() { return {
|
|
@@ -17008,6 +17347,7 @@ class DuetSlideoutPanel {
|
|
|
17008
17347
|
"icon": [1537],
|
|
17009
17348
|
"labelSize": [1537, "label-size"],
|
|
17010
17349
|
"backgroundColor": [1537, "background-color"],
|
|
17350
|
+
"badge": [4],
|
|
17011
17351
|
"label": [32],
|
|
17012
17352
|
"language": [32],
|
|
17013
17353
|
"bodyScrollLocked": [32],
|
|
@@ -17060,16 +17400,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
17060
17400
|
* Always the last one in the class.
|
|
17061
17401
|
*/
|
|
17062
17402
|
render() {
|
|
17063
|
-
return (hAsync(Host, { key: '
|
|
17403
|
+
return (hAsync(Host, { key: '8bd65996e3bfea744c0730e651df24d258bec3c7' }, hAsync("div", { key: '4d04156b1831757d0cd15287fe4baa3c300d4bd2', class: {
|
|
17064
17404
|
"duet-slideout-panel-dropdown": true,
|
|
17065
17405
|
"duet-theme-turva": this.theme === "turva",
|
|
17066
17406
|
active: this.open,
|
|
17067
|
-
} }, hAsync("button", { key: '
|
|
17407
|
+
} }, hAsync("button", { key: 'c3d651d59e46dcfa5add2b09da4fbcd5443f1687', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
17068
17408
|
active: this.active,
|
|
17069
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
17409
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'f680e74f6ae413a180b08776ee27cd5cb8de74a8', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '2a3047b55c2df7ac06dea3fe22131fb619aa9fd1', class: "label" }, hAsync("slot", { key: 'c24326301886814aef541f359c55dedccd1cc94c', name: "label" }), hAsync("duet-icon", { key: 'c7c1032d262a94a2ca59a89fc46ab514cbc64b07', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '53f5768df91fa9fe5f91ab54a8651d0dffbad19b', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17070
17410
|
items: true,
|
|
17071
17411
|
hidden: !this.open,
|
|
17072
|
-
} }, hAsync("slot", { key: '
|
|
17412
|
+
} }, hAsync("slot", { key: '525bcea69da437c543ab01eb3b28030858ac6b72' })))));
|
|
17073
17413
|
}
|
|
17074
17414
|
get element() { return getElement(this); }
|
|
17075
17415
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -17536,19 +17876,19 @@ class DuetSubmenuBar {
|
|
|
17536
17876
|
* Always the last one in the class.
|
|
17537
17877
|
*/
|
|
17538
17878
|
render() {
|
|
17539
|
-
return (hAsync(Host, { key: '
|
|
17879
|
+
return (hAsync(Host, { key: '1469bb18585b64778dd536fe0b0a8f727e065578' }, hAsync("nav", { key: 'a399b3bd25d1674641715545c4d9ad33a997cce8', class: {
|
|
17540
17880
|
"duet-submenu-bar": true,
|
|
17541
17881
|
"duet-theme-turva": this.theme === "turva",
|
|
17542
17882
|
hidden: this.hidden,
|
|
17543
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
17883
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '3226732e632347a9a90f39c7408f444841ed565d', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
17544
17884
|
active: this.open,
|
|
17545
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
17885
|
+
}, onClick: this.onClick }, hAsync("span", { key: '7796972e15445991d3de043e8729a8ba33fff6e3', class: "label" }, hAsync("slot", { key: '31c5d6e4d7b63589b161e5a286e4c8fb17858f94', name: "label" }), hAsync("duet-icon", { key: 'e48e347ab980b919e9b405bcce57b653902b8cb5', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'bdc071c610af92ccd78d692c5cb54dd3807d4110', class: {
|
|
17546
17886
|
"menu-container": true,
|
|
17547
17887
|
hidden: !this.open,
|
|
17548
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
17888
|
+
}, role: "presentation" }, hAsync("div", { key: '59b34793b7a78f7b6408ba05fe8e1e8d2cd68fcd', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
17549
17889
|
items: true,
|
|
17550
17890
|
hidden: !this.open,
|
|
17551
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
17891
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '0b1cb47d7dd37179e422758a9450f257383330f6', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '2c0b696924ab664b00ee2c79cdd8c49fc2134837' }), hAsync("div", { key: '5b6ffbcc4d64adbb050c1d195e5e98dc015a20bf', class: "list-padding" }))), hAsync("duet-overlay", { key: '96fde4e8c50d9d655e4f336f9c88ba14e2378069', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
17552
17892
|
}
|
|
17553
17893
|
get element() { return getElement(this); }
|
|
17554
17894
|
static get watchers() { return {
|
|
@@ -17669,18 +18009,18 @@ class DuetSubmenuBarDropdown {
|
|
|
17669
18009
|
* Always the last one in the class.
|
|
17670
18010
|
*/
|
|
17671
18011
|
render() {
|
|
17672
|
-
return (hAsync(Host, { key: '
|
|
18012
|
+
return (hAsync(Host, { key: 'c3cf8eb945cf4d95dc90722856d85478a478c3d1', role: "listitem" }, hAsync("div", { key: 'c33c4274767aa171529c12d7998be90c12c80d79', class: {
|
|
17673
18013
|
"duet-submenu-bar-dropdown": true,
|
|
17674
18014
|
"duet-theme-turva": this.theme === "turva",
|
|
17675
18015
|
open: this.open,
|
|
17676
18016
|
active: this.active,
|
|
17677
|
-
} }, hAsync("button", { key: '
|
|
18017
|
+
} }, hAsync("button", { key: '0c2bca528aaf0c1f528634636e7d16007dd66e8e', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", id: "button", type: "button", class: {
|
|
17678
18018
|
open: this.open,
|
|
17679
18019
|
active: this.active,
|
|
17680
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18020
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b6d67b23e9e144930f6dbd3f7cb645dcc08757bc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'd4671d5f840303ad923d50ad7314a5ca13a95840', class: "label" }, hAsync("span", { key: 'ec5e80db693fdd7b50ad9fcf3d40300858bd3036', class: "label-text" }, hAsync("slot", { key: '42be40ec38e6e46bf516d581e0cf7204d3a43ecc', name: "label" })), hAsync("duet-icon", { key: '28fce54b06d8489c35a017371ccbcf3ff357261c', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '23ee904f9e7e8953b79be8c1903787e0ad0ed389', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17681
18021
|
items: true,
|
|
17682
18022
|
hidden: !this.open,
|
|
17683
|
-
} }, hAsync("slot", { key: '
|
|
18023
|
+
} }, hAsync("slot", { key: '18d9b43b76fd13faa5c1e95e50253d4ba067dbbd' })))));
|
|
17684
18024
|
}
|
|
17685
18025
|
get element() { return getElement(this); }
|
|
17686
18026
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -17732,12 +18072,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
17732
18072
|
* Always the last one in the class.
|
|
17733
18073
|
*/
|
|
17734
18074
|
render() {
|
|
17735
|
-
return (hAsync(Host, { key: '
|
|
18075
|
+
return (hAsync(Host, { key: '7b6d4f944e09e3b9f4a545b35ca22b70354d4e89' }, hAsync("a", { key: '7c4d73a5f232691be4cd4ccc4e9687afdfdf46b2', class: {
|
|
17736
18076
|
"duet-submenu-bar-dropdown-link": true,
|
|
17737
18077
|
"duet-theme-turva": this.theme === "turva",
|
|
17738
18078
|
highlight: this.highlight,
|
|
17739
18079
|
active: this.active,
|
|
17740
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18080
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '931355f6d77cbd9390389fc19ba3523c71deaa37', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '4be80caa3ae757adf17b077286f0d05572bf8086', class: "label-container" }, hAsync("span", { key: '7c06307710f7bf1a54d31fef0fefe969ef5dbf86', class: "label" }, hAsync("slot", { key: '11223a3b3b50e53da0b37954dc228ef2cc2fb3c8' })), this.caret && hAsync("duet-icon", { key: '8f1bdbc98c7f0af7167528d6ddd015613196af72', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '06574ed40c1677c41256fde666620ec3eb367d7f', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
17741
18081
|
}
|
|
17742
18082
|
get element() { return getElement(this); }
|
|
17743
18083
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -17811,7 +18151,7 @@ class DuetSubmenuBarItem {
|
|
|
17811
18151
|
render() {
|
|
17812
18152
|
const TagName = this.url ? "a" : "button";
|
|
17813
18153
|
const role = this.url ? "link" : "button";
|
|
17814
|
-
return (hAsync(Host, { key: '
|
|
18154
|
+
return (hAsync(Host, { key: 'ab81cca016d06490e7327dff9e9cd7b1eef0c372', role: "listitem" }, hAsync(TagName, { key: '6214b7908b001b1c1c40cf1b24d37932752d48ed', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: { "duet-submenu-bar-item": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.url, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, role: role, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '99189e4a64cecacfc57d341d664702eb6319506e', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'efa76ad7b21823ba071b7f9ff4c273034e8c32f8', class: "label" }, hAsync("span", { key: '7d97203da0eb5f9f946b469ceae8a3dd16bd4775', class: "label-text" }, hAsync("slot", { key: 'd6d331b07cf85e7a38383dd8890275bd5959527b' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '3120f4d7c7b98be6a9ee3b109ed33c6a94705b4e', class: {
|
|
17815
18155
|
"trailing-icon": !!this.trailingIcon,
|
|
17816
18156
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
17817
18157
|
"external-icon": !!this.external,
|
|
@@ -17872,7 +18212,7 @@ class DuetSubmenuBarLink {
|
|
|
17872
18212
|
* Always the last one in the class.
|
|
17873
18213
|
*/
|
|
17874
18214
|
render() {
|
|
17875
|
-
return (hAsync(Host, { key: '
|
|
18215
|
+
return (hAsync(Host, { key: 'fb94eb65690b10d78ba72790a1653d129d509aab', role: "listitem" }, hAsync("a", { key: '3997d3a5848880c3c8fe0a81ff3c0ea243bf1328', class: { "duet-submenu-bar-link": true, "duet-theme-turva": this.theme === "turva", active: this.active }, href: this.href, onKeyUp: e => this.handleEscape(e), "aria-current": this.active ? "true" : "false" }, this.icon && (hAsync("duet-icon", { key: '56fd2d97c86ae74b00ad7661840e543e12f771c2', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: 'cacd3d410a7774d1c9919af8f2fca12a7150fb65', class: "label" }, hAsync("slot", { key: 'ab7dc74da327c9eac6ed6c8a72edb1b194623949' })))));
|
|
17876
18216
|
}
|
|
17877
18217
|
get element() { return getElement(this); }
|
|
17878
18218
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -17960,11 +18300,6 @@ class DuetTab {
|
|
|
17960
18300
|
disconnectLanguageChangeObserver(this);
|
|
17961
18301
|
unsubscribeTabbingChange(this);
|
|
17962
18302
|
if (this.tabpanelElement) {
|
|
17963
|
-
this.tabpanelElement.removeAttribute("role");
|
|
17964
|
-
this.tabpanelElement.removeAttribute("tabindex");
|
|
17965
|
-
this.tabpanelElement.removeAttribute("aria-description");
|
|
17966
|
-
this.tabpanelElement.removeAttribute("aria-labelledby");
|
|
17967
|
-
this.tabpanelElement.removeAttribute("hidden");
|
|
17968
18303
|
this.tabpanelElement.removeEventListener("focus", this.tabpanelElementFocusListener.bind(this));
|
|
17969
18304
|
this.tabpanelElement.removeEventListener("blur", this.tabpanelElementBlurListener.bind(this));
|
|
17970
18305
|
this.tabpanelElement = undefined;
|
|
@@ -18345,7 +18680,7 @@ class DuetTable {
|
|
|
18345
18680
|
}
|
|
18346
18681
|
}
|
|
18347
18682
|
render() {
|
|
18348
|
-
return (hAsync(Host, { key: '
|
|
18683
|
+
return (hAsync(Host, { key: '5281fe3906db3b9b3885493414cd38e683d7d49e', class: {
|
|
18349
18684
|
[`duet-table-${this.variation}`]: true,
|
|
18350
18685
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
18351
18686
|
// sticky only valid when in regular table layout
|
|
@@ -18354,7 +18689,7 @@ class DuetTable {
|
|
|
18354
18689
|
"duet-m-0": this.margin === "none",
|
|
18355
18690
|
"duet-theme-turva": this.theme === "turva",
|
|
18356
18691
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
18357
|
-
} }, hAsync("slot", { key: '
|
|
18692
|
+
} }, hAsync("slot", { key: '1611870a74ea3903dc9c1fee47e66f7827c6b6e5' })));
|
|
18358
18693
|
}
|
|
18359
18694
|
get element() { return getElement(this); }
|
|
18360
18695
|
static get watchers() { return {
|
|
@@ -18381,18 +18716,9 @@ class DuetTable {
|
|
|
18381
18716
|
}; }
|
|
18382
18717
|
}
|
|
18383
18718
|
|
|
18384
|
-
const duetTextareaCss = "
|
|
18719
|
+
const duetTextareaCss = "*.sc-duet-textarea,*.sc-duet-textarea::after,*.sc-duet-textarea::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-textarea-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:block;width:100%;max-width:100%;text-align:left}.sc-duet-textarea-h:last-child,.sc-duet-textarea-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-textarea-h{width:calc(50% - 16px - 3px)}.duet-expand.sc-duet-textarea-h{width:100% !important}}.duet-m-0.sc-duet-textarea-h{margin:0 !important}duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:absolute;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-textarea,.sc-duet-textarea-s>duet-tooltip{position:relative;top:4px;right:auto}}.duet-textarea-container.sc-duet-textarea{position:relative;width:100%;height:100%}.duet-textarea-container.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:none}.duet-textarea-container.duet-input-top-caption-shown.sc-duet-textarea .duet-input-top-caption.sc-duet-textarea{display:flex !important}.duet-textarea-wrapper.sc-duet-textarea{position:relative}.duet-textarea-placeholder.sc-duet-textarea{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-textarea.sc-duet-textarea{padding:15px !important;position:relative;z-index:100;display:block;width:100%;min-width:8rem;min-height:160px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);resize:vertical;background:rgb(255, 255, 255);border:1px solid rgb(127, 150, 165);border-radius:4px;transition:150ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58);border-color:rgb(143, 147, 158)}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea{border-color:rgb(214, 28, 82) !important}.duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea::-moz-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-textarea[disabled].sc-duet-textarea{color:rgb(98, 121, 138) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea{color:rgb(143, 147, 158) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important}.duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(8, 42, 77);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-webkit-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(8, 42, 77);opacity:1 !important}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea::-moz-placeholder{color:rgb(23, 28, 58)}.duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(8, 42, 77)}.duet-theme-turva.sc-duet-textarea .duet-textarea[disabled].sc-duet-textarea:-ms-input-placeholder{color:rgb(23, 28, 58)}.duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #909599}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #747475}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:focus{border-color:rgb(0, 119, 179);outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea.sc-duet-textarea:focus{box-shadow:0 0 0 1px #e55039}.duet-textarea.sc-duet-textarea:not(:focus):not(:hover):invalid{box-shadow:none}.duet-textarea-help.sc-duet-textarea{font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;line-height:1.25}.duet-textarea-help.sc-duet-textarea span.sc-duet-textarea{display:block;margin-top:8px}.duet-theme-turva.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-textarea .duet-textarea-help.sc-duet-textarea{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-textarea duet-label.sc-duet-textarea{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-character-count.sc-duet-textarea{display:block;margin:8px 0 0 auto}";
|
|
18385
18720
|
var DuetTextareaStyle0 = duetTextareaCss;
|
|
18386
18721
|
|
|
18387
|
-
const CharacterCount = ({ value, maxlength, label, theme }) => {
|
|
18388
|
-
if (maxlength == null) {
|
|
18389
|
-
return;
|
|
18390
|
-
}
|
|
18391
|
-
const length = value.length;
|
|
18392
|
-
const remainder = Math.max(maxlength - length, 0); // ensure we never have negative numbers
|
|
18393
|
-
const isApproachingLimit = remainder / maxlength <= 0.1; // <= 10% chars remaining
|
|
18394
|
-
return (hAsync("div", { class: "duet-character-count" }, hAsync("duet-caption", { margin: "none", theme: theme, size: "small" }, hAsync("duet-visually-hidden", { "aria-live": "polite", "aria-atomic": "true", class: "duet-textarea-counter-remaining" }, isApproachingLimit && `${remainder} ${label}`), hAsync("span", { "aria-hidden": "true" }, length, "/", maxlength))));
|
|
18395
|
-
};
|
|
18396
18722
|
/**
|
|
18397
18723
|
* @slot tooltip - Use to place a tooltip alongside the label.
|
|
18398
18724
|
*/
|
|
@@ -18544,20 +18870,9 @@ class DuetTextarea {
|
|
|
18544
18870
|
* Always the last one in the class.
|
|
18545
18871
|
*/
|
|
18546
18872
|
render() {
|
|
18547
|
-
|
|
18548
|
-
|
|
18549
|
-
|
|
18550
|
-
"duet-has-counter": this.counter && !this.error,
|
|
18551
|
-
"duet-expand": this.expand,
|
|
18552
|
-
} }, hAsync("div", { key: 'bc4115c13d819ace2c3093540184535b8e4a1b92', class: {
|
|
18553
|
-
"duet-textarea-container": true,
|
|
18554
|
-
"duet-theme-turva": this.theme === "turva",
|
|
18555
|
-
"duet-label-hidden": this.labelHidden,
|
|
18556
|
-
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
18557
|
-
"has-error": !!this.error,
|
|
18558
|
-
} }, hAsync("duet-label", { key: '9580bdfabe29364106b37d5d96662bd92834b547', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '6561c8b34741071590fbdc1e181e19d27c72f5ac', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '096527c36bf9a86ea5516855968793509041f7f2', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '200ff13988a66c86df15d0a4aa2cc5d0933e4e94', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: 'bb6e02a2b4e56a4b1b0b02ba69e57037703f8c1a', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '5a4e1130618afea793977101bb96aa48b0966a89', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '8931951754cb4d340020d1b03630d0c5887dcabc', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '11f6951c2dfa29e83f31ccaeac2f5dc878bc948b', alignment: "stretch" }, hAsync("duet-grid-item", { key: 'e85f9341efb0b3adc42239559525c901b2bafb3f', margin: "none", fill: true }, hAsync("div", { key: '17ac589c05fb30ff82c8e05470ae4af763144b04', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'daa212a3cc4e868d5b63c0663e0cddb69c46e273' }, this.error))), hAsync("duet-grid-item", { key: '393879358311c8ae3c6cb33d996fc4ea5b918aec', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: 'f201904c256266056855907d84c013a84c3c123c', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '634bed29f451d4d2a03835ebcf228a790cc92d0c', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
18559
|
-
this.hiddenCounterLabel = el;
|
|
18560
|
-
} })))));
|
|
18873
|
+
{
|
|
18874
|
+
return;
|
|
18875
|
+
}
|
|
18561
18876
|
}
|
|
18562
18877
|
get element() { return getElement(this); }
|
|
18563
18878
|
static get watchers() { return {
|
|
@@ -18565,7 +18880,7 @@ class DuetTextarea {
|
|
|
18565
18880
|
}; }
|
|
18566
18881
|
static get style() { return DuetTextareaStyle0; }
|
|
18567
18882
|
static get cmpMeta() { return {
|
|
18568
|
-
"$flags$":
|
|
18883
|
+
"$flags$": 6,
|
|
18569
18884
|
"$tagName$": "duet-textarea",
|
|
18570
18885
|
"$members$": {
|
|
18571
18886
|
"margin": [1],
|
|
@@ -18756,11 +19071,11 @@ class DuetToolbar {
|
|
|
18756
19071
|
: this.variation === "secondary"
|
|
18757
19072
|
? "secondary"
|
|
18758
19073
|
: "default";
|
|
18759
|
-
return (hAsync(Host, { key: '
|
|
19074
|
+
return (hAsync(Host, { key: '91c10cd51874090bfa321e80557b0af866158ec1' }, hAsync("nav", { key: '20468b9364a8b4ab5c294b720e18b98e435479d6', class: {
|
|
18760
19075
|
"duet-toolbar": true,
|
|
18761
19076
|
"duet-theme-turva": this.theme === "turva",
|
|
18762
19077
|
[variation]: true,
|
|
18763
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
19078
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'f253ec42bdc5c5c5ae9f556e31c25a0aa3406438', class: "container" }, hAsync("div", { key: 'e71e6f8fc61221463fff4296b6543176353437a1', class: "list", role: "list" }, hAsync("slot", { key: '9f3a7862ccb69db13aee70c9bc89825c0a0d46a2', name: "left" })), hAsync("div", { key: 'debbe197eae3b509a885db277ccab37885730107', class: "list", role: "list" }, hAsync("slot", { key: 'cb71021ba0bf0a12fd9fd635cec16568ac25180a', name: "right" }))))));
|
|
18764
19079
|
}
|
|
18765
19080
|
get element() { return getElement(this); }
|
|
18766
19081
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -18828,18 +19143,18 @@ class DuetToolbarDropdown {
|
|
|
18828
19143
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
18829
19144
|
}
|
|
18830
19145
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
18831
|
-
return (hAsync(Host, { key: '
|
|
19146
|
+
return (hAsync(Host, { key: 'b267de99df676578b5c5879bfc4b33e63f53eb40', role: "listitem" }, hAsync("div", { key: '0f4a971d359bb6b05c6a0de70bd263b48ae42953', class: {
|
|
18832
19147
|
"duet-toolbar-dropdown": true,
|
|
18833
19148
|
"duet-theme-turva": this.theme === "turva",
|
|
18834
19149
|
[itemsAlign]: true,
|
|
18835
19150
|
[variation]: true,
|
|
18836
|
-
} }, hAsync("button", { key: '
|
|
19151
|
+
} }, hAsync("button", { key: '7fe26d57c4e2df698aaf1677171e14999adcee31', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel, id: "button", type: "button", class: {
|
|
18837
19152
|
active: this.active,
|
|
18838
19153
|
open: this.open,
|
|
18839
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
19154
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'a1390f889f23f75052fd5c78915e12ee9e3c8930', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '7b7b8ad3931cc78a60ae96ebafe19fed542db012', class: "label" }, hAsync("slot", { key: 'fb9211a981fbbada64fd2b86c3583af226ebb626', name: "label" }), hAsync("duet-icon", { key: 'aaf1a322508dee44ff0e60d5bfc68381a568a922', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'd68a0e8ff628d5739efbe9cf3233d94cfa43e26f', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18840
19155
|
items: true,
|
|
18841
19156
|
hidden: !this.open,
|
|
18842
|
-
} }, hAsync("slot", { key: '
|
|
19157
|
+
} }, hAsync("slot", { key: '2d9b51cf80525f43ca11cc5e4b91dd6308251ad8' })))));
|
|
18843
19158
|
}
|
|
18844
19159
|
get element() { return getElement(this); }
|
|
18845
19160
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -18892,11 +19207,11 @@ class DuetToolbarDropdownLink {
|
|
|
18892
19207
|
* Always the last one in the class.
|
|
18893
19208
|
*/
|
|
18894
19209
|
render() {
|
|
18895
|
-
return (hAsync(Host, { key: '
|
|
19210
|
+
return (hAsync(Host, { key: 'ca2c386337ef8052184214a47865bc93b192efea' }, hAsync("a", { key: '2601354c27b7ff3858e561585176e040d2bfce25', class: {
|
|
18896
19211
|
"duet-toolbar-dropdown-link": true,
|
|
18897
19212
|
"duet-theme-turva": this.theme === "turva",
|
|
18898
19213
|
active: this.active,
|
|
18899
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
19214
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '0f941114682ef7527bf69e9e5a42ef0d095a1b2b', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'f5eac01e244e0cf0bb48229c58076580fea8e5d6', class: "label" }, hAsync("slot", { key: 'afc1ab27f5e67371e52fa2e4da46b453b24ab75c' })), this.active && (hAsync("duet-icon", { key: '041c528108a13b672788bbc254d7d6c0ee362008', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18900
19215
|
}
|
|
18901
19216
|
get element() { return getElement(this); }
|
|
18902
19217
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -18917,7 +19232,7 @@ class DuetToolbarDropdownLink {
|
|
|
18917
19232
|
}; }
|
|
18918
19233
|
}
|
|
18919
19234
|
|
|
18920
|
-
const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
19235
|
+
const duetToolbarItemCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;height:100%}.duet-toolbar-item{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 16px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129);text-align:center;text-decoration:none;white-space:nowrap;cursor:pointer}.duet-toolbar-item:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-toolbar-item:focus,.duet-toolbar-item:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-toolbar-item .duet-toolbar-icon{position:relative;display:inline-flex;font-size:0;line-height:normal;vertical-align:baseline}.duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{position:absolute;top:0;left:11px;display:inline-block;width:6px;height:6px;background:rgb(247, 178, 40);border-radius:50%;box-shadow:0 0 0 1px #c18b1f}.duet-theme-turva .duet-toolbar-item .duet-toolbar-icon .duet-toolbar-badge{background:rgb(247, 178, 40)}.duet-toolbar-item .trailing-icon{width:16px;height:16px}.duet-toolbar-item .trailing-icon.trailing-icon-arrow{width:7px;height:7px}.duet-toolbar-item .external-icon{width:10px;height:10px}.duet-toolbar-item[aria-expanded=true] .trailing-icon.rotate{transform:rotate(180deg)}.duet-toolbar-item.primary,.duet-toolbar-item.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item.primary[aria-expanded=true],.duet-toolbar-item.secondary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.primary duet-icon,.duet-toolbar-item.secondary duet-icon{color:rgb(198, 225, 238)}.duet-toolbar-item.primary[aria-expanded=true]{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.secondary[aria-expanded=true]{background:rgb(3, 56, 102)}.duet-toolbar-item.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-toolbar-item.duet-theme-turva.primary{color:rgb(255, 255, 255)}.duet-toolbar-item.duet-theme-turva.primary[aria-expanded=true]{background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.duet-theme-turva.primary duet-icon{color:rgb(255, 185, 190)}.duet-toolbar-item:hover{color:rgb(8, 42, 77);background:rgb(240, 247, 250)}.duet-toolbar-item:hover.primary,.duet-toolbar-item:hover.secondary{color:rgb(255, 255, 255)}.duet-toolbar-item:hover.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item:hover.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item:hover.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}.duet-toolbar-item:hover.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}.duet-toolbar-item.active{color:rgb(8, 42, 77)}.duet-toolbar-item.active.primary,.duet-toolbar-item.active.secondary{font-weight:600;color:rgb(255, 255, 255)}.duet-toolbar-item.active.primary::after,.duet-toolbar-item.active.secondary::after{display:none}.duet-toolbar-item.active.primary{background:rgba(8, 42, 77, 0.2)}.duet-toolbar-item.active.secondary{background:rgb(3, 56, 102)}.duet-toolbar-item.active::after{position:absolute;top:auto;bottom:1px;left:0;display:block;width:100%;height:1px;content:\"\";background:rgb(0, 119, 179);transition:300ms ease;transform:translateY(1px)}.duet-toolbar-item.active::after.duet-theme-turva{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva{color:rgb(23, 28, 58)}.duet-toolbar-item.active.duet-theme-turva::after{background:rgb(198, 12, 48)}.duet-toolbar-item.active.duet-theme-turva.primary{color:rgb(255, 255, 255);background:rgba(23, 28, 58, 0.2)}";
|
|
18921
19236
|
var DuetToolbarItemStyle0 = duetToolbarItemCss;
|
|
18922
19237
|
|
|
18923
19238
|
class DuetToolbarItem {
|
|
@@ -18935,6 +19250,7 @@ class DuetToolbarItem {
|
|
|
18935
19250
|
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
18936
19251
|
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
18937
19252
|
this.external = false;
|
|
19253
|
+
this.badge = false;
|
|
18938
19254
|
}
|
|
18939
19255
|
/**
|
|
18940
19256
|
* Component lifecycle events.
|
|
@@ -18970,17 +19286,17 @@ class DuetToolbarItem {
|
|
|
18970
19286
|
: this.variation === "secondary"
|
|
18971
19287
|
? "secondary"
|
|
18972
19288
|
: "default";
|
|
18973
|
-
return (hAsync(Host, { key: '
|
|
19289
|
+
return (hAsync(Host, { key: 'afa849ce4f6ec1c066ee4462c84bf51146a8b1b6', role: "listitem" }, hAsync(TagName, { key: '0af801b2ff5b432b0f41f72ab367932046671b7c', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
18974
19290
|
"duet-toolbar-item": true,
|
|
18975
19291
|
"duet-theme-turva": this.theme === "turva",
|
|
18976
19292
|
active: this.active,
|
|
18977
19293
|
[variation]: true,
|
|
18978
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
19294
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: 'b90f4fcad2b46e4cb1f39f204595ab30eda04274', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '76855f764087b7505ef5eea360be023d894b2d51', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '291a2974a4972a973bbc6f989265a6c0779a1ff3', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '9899ea590965a155c9890dc1d68fe0e8bf874c15' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: 'dc913307616babe431177341d31a5d0262d7b438', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '643938497cfc43a1f85587993a2b11cb54b967e1', class: {
|
|
18979
19295
|
"trailing-icon": !!this.trailingIcon,
|
|
18980
19296
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18981
|
-
"external-icon": !!this.external,
|
|
19297
|
+
"external-icon": !!(this.url && this.external),
|
|
18982
19298
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
18983
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" })))));
|
|
19299
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '795d10ab43384c774440487bdef889a0d3b59814', class: "duet-toolbar-badge" }))))));
|
|
18984
19300
|
}
|
|
18985
19301
|
get element() { return getElement(this); }
|
|
18986
19302
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -19000,6 +19316,7 @@ class DuetToolbarItem {
|
|
|
19000
19316
|
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
19001
19317
|
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
19002
19318
|
"external": [4],
|
|
19319
|
+
"badge": [4],
|
|
19003
19320
|
"setFocus": [64]
|
|
19004
19321
|
},
|
|
19005
19322
|
"$listeners$": undefined,
|
|
@@ -19033,12 +19350,12 @@ class DuetToolbarLink {
|
|
|
19033
19350
|
*/
|
|
19034
19351
|
render() {
|
|
19035
19352
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19036
|
-
return (hAsync(Host, { key: '
|
|
19353
|
+
return (hAsync(Host, { key: 'c53a9b05b8bf38d7f393863392ec9ffa5eeea0d6', role: "listitem" }, hAsync("a", { key: '633ff7b9e9e322eb33402d00a3da6ae9dca2a04c', class: {
|
|
19037
19354
|
"duet-toolbar-link": true,
|
|
19038
19355
|
"duet-theme-turva": this.theme === "turva",
|
|
19039
19356
|
active: this.active,
|
|
19040
19357
|
[variation]: true,
|
|
19041
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
19358
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '4de0041a0235dae5494904de06785b214c6a1edf', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '15fe5f1f6f641fa2c233aca8c0dd1802b22a5143' }))));
|
|
19042
19359
|
}
|
|
19043
19360
|
get element() { return getElement(this); }
|
|
19044
19361
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -19292,11 +19609,11 @@ class DuetTooltipButton {
|
|
|
19292
19609
|
* Always the last one in the class.
|
|
19293
19610
|
*/
|
|
19294
19611
|
render() {
|
|
19295
|
-
return (hAsync(Host, { key: '
|
|
19612
|
+
return (hAsync(Host, { key: 'e15846eb1696236fe6aba826e5c0fcea835d7c9b' }, hAsync("button", { key: '995033945e9c069143e7ff97a7728766761f8a7b', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
19296
19613
|
"duet-tooltip-button": true,
|
|
19297
19614
|
"duet-tooltip-button-has-label": !!this.label,
|
|
19298
19615
|
"duet-theme-turva": this.theme === "turva",
|
|
19299
|
-
} }, hAsync("svg", { key: '
|
|
19616
|
+
} }, hAsync("svg", { key: '38aa8adbeed3df60e30be0a72a9dc23376cf9d47', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '30e417ff8878c2ed36bd59fd92e9e1970aa6c235', d: "m13.5 17.25c-1.241 0-2.25-1.009-2.25-2.25v-3.75h-.75c-.414 0-.75-.336-.75-.75s.336-.75.75-.75h.75c.827 0 1.5.673 1.5 1.5v3.75c0 .414.336.75.75.75h.75c.414 0 .75.336.75.75s-.336.75-.75.75z" }), hAsync("circle", { key: '83f4a042160be7dd998ef3247bccebd955498c5b', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '81bd29e6c558d9f3551d65d7f1172c1ba327bbec', d: "m12 24c-6.617 0-12-5.383-12-12s5.383-12 12-12 12 5.383 12 12-5.383 12-12 12zm0-22.5c-5.79 0-10.5 4.71-10.5 10.5s4.71 10.5 10.5 10.5 10.5-4.71 10.5-10.5-4.71-10.5-10.5-10.5z" })), this.label ? (hAsync("span", { class: "duet-tooltip-label" }, this.label)) : (hAsync("duet-visually-hidden", null, this.accessibleLabel)))));
|
|
19300
19617
|
}
|
|
19301
19618
|
get element() { return getElement(this); }
|
|
19302
19619
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -19363,11 +19680,11 @@ class DuetTooltipPopup {
|
|
|
19363
19680
|
this.contentEl.focus();
|
|
19364
19681
|
}
|
|
19365
19682
|
render() {
|
|
19366
|
-
return (hAsync(Host, { key: '
|
|
19683
|
+
return (hAsync(Host, { key: '3f38cf64a79c94b97a530e000c41bf9fe66dc1d3' }, hAsync("div", { key: '8263e22fea17fce355c8dca137501fcebcbac59a', class: {
|
|
19367
19684
|
"duet-tooltip": true,
|
|
19368
19685
|
"duet-theme-turva": this.theme === "turva",
|
|
19369
19686
|
"duet-tooltip-active": this.active === true,
|
|
19370
|
-
} }, hAsync(FocusGuard, { key: '
|
|
19687
|
+
} }, hAsync(FocusGuard, { key: '45e183fcae3b5a0007ee9bc74f91211911c2c7ee', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'd713e42ca6802b18c6123efd6055b19fc334df03', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: 'be6787f83b2cd73ccc626643618463eccfb03f09' })), hAsync("div", { key: '0017934953c28e0d1259b2c4d7604ef58d2e4e76', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '48a2789dc17b78d40b10b87f2a640dd2b08922b7', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: 'a83a9247e89b8a41b57e89ca7bf5e0676f3770f2', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '3ed992460103ed794a1f3f3ee13308970d0a117e', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'a3698d2049410e3098610bcc4c4514b767ac13ef' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '94de660c3ca5a21bbd0d9bb892e0d91b6a1b1f10', moveFocusTo: this.contentEl }))));
|
|
19371
19688
|
}
|
|
19372
19689
|
get element() { return getElement(this); }
|
|
19373
19690
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -19475,14 +19792,14 @@ class DuetTray {
|
|
|
19475
19792
|
* Always the last one in the class.
|
|
19476
19793
|
*/
|
|
19477
19794
|
render() {
|
|
19478
|
-
return (hAsync("div", { key: '
|
|
19795
|
+
return (hAsync("div", { key: 'af731c19d4212111de75c1139143fb61ead407f9', class: {
|
|
19479
19796
|
"duet-tray": true,
|
|
19480
19797
|
"duet-tray-is-active": this.active,
|
|
19481
19798
|
"duet-tray-is-hidden": this.hiddenState,
|
|
19482
19799
|
"duet-tray-is-responsive": this.responsive,
|
|
19483
19800
|
"duet-theme-turva": this.theme === "turva",
|
|
19484
19801
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
19485
|
-
} }, hAsync("div", { key: '
|
|
19802
|
+
} }, hAsync("div", { key: 'd30232c120431a614bfc0d09d76d4a7f05566438', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '7f80168e4f76c059270f5953bfd21ff246bb1c8b' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'f9471563527b0eb48b97e9a54ab79e077c84f870' }, hAsync("button", { key: 'ee0f09f493a9232167d519e2f411a4155fb78daf', "aria-expanded": this.expanded ? "true" : "false", "aria-controls": this.expandableId, onClick: ev => this.toggleExpandable(ev), class: { "duet-tray-button": true, "duet-tray-is-expanded": this.expanded } }, hAsync("duet-icon", { key: 'a3e68b89194d9cabe4fb47353fb4205f144a1f2f', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'c2061393b18fc5b5dfb45212d4368c35539d4085' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '9071e6c8781bfc923180274f4abfd7176a910e64', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '05da9977c8cec61537e1e5ef2764e8332d734794', class: "duet-tray-expandable-content" }, hAsync("slot", { key: 'db5336ed7b03e1bbc98c56b8ebe1af91b46e308c', name: "additional" })))))));
|
|
19486
19803
|
}
|
|
19487
19804
|
get element() { return getElement(this); }
|
|
19488
19805
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -20598,10 +20915,10 @@ class DuetUpload {
|
|
|
20598
20915
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
20599
20916
|
}
|
|
20600
20917
|
// @ts-ignore
|
|
20601
|
-
return (hAsync(Host, { key: '
|
|
20918
|
+
return (hAsync(Host, { key: '44b4a9f8f0e99182d1db74ed7e2fb3237d90ed71', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '2231a57d1b606059e90c7406f24258d4b844cbe0', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'bb0e091ee3d4c96715018d1fc836d6cd5f938c75', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'd988bc2f8b6a4efc418a65b3ee575095b97ae06a', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'b274a3b81132a5119c47bd365bbdd77f08280c17', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '5a2377d31360af5cbdae90130677853613899ec5', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '6fe002a8a312e6e067321c07e0b50ed786fd8dc3', invalid: this.getFilesAsArray().invalid.length, valid: this.getFilesAsArray().valid.length, inprogress: this.filesInProgress.size, total: this.files.size, statusMessageLabel: this.internalStatusMessageLabel })), !!this.files.size && this.renderUploadedItems(), !!this.files.size && hAsync("slot", { key: '730c164e68660c49ce18f8fec5d8f184a640bcd9', name: "filefooter" }), hAsync("slot", { key: '303c2be9f728196dc157cd29a39a926ca9951a88', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'd0e088aa37d8b789b3dc4efa9e070c74746877d0', margin: "none", size: "small" }, hAsync("div", { key: 'e3ab58aaacb792a297bcc56154073c9289dd1c32', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '5a6d988ce4deff649f20207813758e023eb3d817', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '86a890e223fb900e2420ea45564f8c4c484ddc8a' }, hAsync("duet-spacer", { key: 'fdf03610301bb1368fb28db909a35e10320df054', size: "large" }), hAsync("duet-button", { key: 'be03dc2d96b961dc22d63bf0bf4e1128e4c813d4', id: this.buttonId, onClick: this.startUpload, "accessible-controls": identifier, disabled: this.fileMaxReached, "accessible-label": this.accessibleButtonLabel || `${this.buttonLabel}. ${caption}`, "accessible-owns": identifier, size: "small", variation: "secondary", fixed: true, icon: "action-add-circle", part: this.identifier ? `${this.identifier}-button-upload` : "duet-upload-button-upload" }, this.buttonLabel))), (this.fileMaxReached ||
|
|
20602
20919
|
this.bytesMaxReached ||
|
|
20603
20920
|
this.filesToUploadExceedsLimit ||
|
|
20604
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
20921
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '86937ba57803f4ca6379dcab097cf0d08d0962d7' }, hAsync("duet-spacer", { key: '64e72354abfe4dad9e6c1d430e89900b38c50dec', size: "medium" }), hAsync("duet-alert", { key: '02be9578a9bf4afdcda8ff3a9d280525a39e430c', part: this.identifier ? `${this.identifier}-error-notification` : "duet-upload-error-notification" }, this.fileMaxReached && getI18nError("duet-upload-301", this.errorCodes), this.bytesMaxReached && getI18nError("duet-upload-202", this.errorCodes), this.filesToUploadExceedsLimit && getI18nError("duet-upload-302", this.errorCodes), this.filesToUploadTotalSizeIsAboveMax && getI18nError("duet-upload-203", this.errorCodes)))), hAsync("duet-visually-hidden", { key: '619dec515fc6147867da776c79f883d54a2ba9d3', "aria-hidden": "true" }, hAsync("input", { key: '8e13ce6903fa6218b0e56035416dcddd154317a2', ref: input => {
|
|
20605
20922
|
this.nativeInput = input;
|
|
20606
20923
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
20607
20924
|
"duet-upload": true,
|
|
@@ -20922,7 +21239,7 @@ class DuetUploadAriaStatus {
|
|
|
20922
21239
|
* Always the last one in the class.
|
|
20923
21240
|
*/
|
|
20924
21241
|
render() {
|
|
20925
|
-
return (hAsync(Host, { key: '
|
|
21242
|
+
return (hAsync(Host, { key: '4feb88f0c76da26c8690f220de8df580ee7afc7a', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '9461edbf779b8c47c536def78cbe9643311d76d9' }, this.statusMessage)));
|
|
20926
21243
|
}
|
|
20927
21244
|
get element() { return getElement(this); }
|
|
20928
21245
|
static get watchers() { return {
|
|
@@ -21101,9 +21418,9 @@ class DuetUploadItem {
|
|
|
21101
21418
|
const { uid, meta, item } = this.data;
|
|
21102
21419
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
21103
21420
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
21104
|
-
return (hAsync("div", { key: '
|
|
21421
|
+
return (hAsync("div", { key: '3bd049f474c0e5ae36c863e12c83f420338f2120', class: {
|
|
21105
21422
|
"upload-item-row": true,
|
|
21106
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
21423
|
+
} }, this.showCategory && (hAsync("div", { key: 'cabbda342b80dc26a8742b8c68f6f3ae836a78e5', class: "item-categories" }, hAsync("duet-heading", { key: '9d9f798db399bf1c277b1a1b2699c15a8f8aff7d', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'e01fab2744f4cafdadb2defd3fd3da9262cdad68', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: 'e9f12029fc48fa148169a7e962fa42c4a4acd05c', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '61536d97451f6b2be7a7cf2c616860d9f31fb174', class: "item-actions" }, this.actions.map(actionItem => {
|
|
21107
21424
|
return (hAsync("duet-action-button", { actionMeta: Object.assign({}, meta || {}), actionId: uid || null, actionName: actionItem.name, theme: this.theme, iconName: actionItem.icon, iconColor: actionItem.color, iconSize: actionItem.size, background: actionItem.background, "accessible-label": `${actionDescription} ${getLocaleString(actionItem.label)} `, accessibleTitle: this.getActionButtonTitle(actionItem), ref: button => (this.actionButton = button) }));
|
|
21108
21425
|
}))));
|
|
21109
21426
|
}
|
|
@@ -21144,7 +21461,7 @@ class DuetVisuallyHidden {
|
|
|
21144
21461
|
* Always the last one in the class.
|
|
21145
21462
|
*/
|
|
21146
21463
|
render() {
|
|
21147
|
-
return (hAsync(Host, { key: '
|
|
21464
|
+
return (hAsync(Host, { key: '8a0bd4e0f74cdc83a22f6cc5e7481c17eb5eb6f5', class: "duet-visually-hidden" }, hAsync("slot", { key: '76e13ab1452a3da667ed516ca51090c5046eba13' })));
|
|
21148
21465
|
}
|
|
21149
21466
|
get element() { return getElement(this); }
|
|
21150
21467
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -21369,7 +21686,7 @@ var NAMESPACE = (
|
|
|
21369
21686
|
);
|
|
21370
21687
|
|
|
21371
21688
|
/*
|
|
21372
|
-
Stencil Hydrate Runner v4.
|
|
21689
|
+
Stencil Hydrate Runner v4.23.0 | MIT Licensed | https://stenciljs.com
|
|
21373
21690
|
*/
|
|
21374
21691
|
var __defProp = Object.defineProperty;
|
|
21375
21692
|
var __export = (target, all) => {
|
|
@@ -31799,7 +32116,7 @@ function serializeNodeToHtml(elm, serializationOptions = {}) {
|
|
|
31799
32116
|
text: []
|
|
31800
32117
|
};
|
|
31801
32118
|
let renderedNode = "";
|
|
31802
|
-
const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(elm
|
|
32119
|
+
const children = !opts.fullDocument && elm.body ? Array.from(elm.body.childNodes) : opts.outerHtml ? [elm] : Array.from(getChildNodes(elm));
|
|
31803
32120
|
for (let i = 0, ii = children.length; i < ii; i++) {
|
|
31804
32121
|
const child = children[i];
|
|
31805
32122
|
const chunks = Array.from(streamToHtml(child, opts, output));
|
|
@@ -31832,7 +32149,7 @@ function* streamToHtml(node, opts, output) {
|
|
|
31832
32149
|
const tag = tagName === shadowRootTag ? "template" : tagName;
|
|
31833
32150
|
yield "<" + tag;
|
|
31834
32151
|
output.currentLineWidth += tag.length + 1;
|
|
31835
|
-
if (tag === "template") {
|
|
32152
|
+
if (tag === "template" && (!node.getAttribute || !node.getAttribute("shadowrootmode"))) {
|
|
31836
32153
|
const mode = ` shadowrootmode="open"`;
|
|
31837
32154
|
yield mode;
|
|
31838
32155
|
output.currentLineWidth += mode.length;
|
|
@@ -31916,7 +32233,8 @@ style="${cssText}">`;
|
|
|
31916
32233
|
output.indent = output.indent + ((_c = opts.indentSpaces) != null ? _c : 0);
|
|
31917
32234
|
yield* streamToHtml(shadowRoot, opts, output);
|
|
31918
32235
|
output.indent = output.indent - ((_d = opts.indentSpaces) != null ? _d : 0);
|
|
31919
|
-
|
|
32236
|
+
const childNodes = getChildNodes(node);
|
|
32237
|
+
if (opts.newLines && (childNodes.length === 0 || childNodes.length === 1 && childNodes[0].nodeType === 3 /* TEXT_NODE */ && ((_e = childNodes[0].nodeValue) == null ? void 0 : _e.trim()) === "")) {
|
|
31920
32238
|
yield "\n";
|
|
31921
32239
|
output.currentLineWidth = 0;
|
|
31922
32240
|
for (let i = 0; i < output.indent; i++) {
|
|
@@ -31927,7 +32245,7 @@ style="${cssText}">`;
|
|
|
31927
32245
|
}
|
|
31928
32246
|
if (opts.excludeTagContent == null || opts.excludeTagContent.includes(tagName) === false) {
|
|
31929
32247
|
const tag = tagName === shadowRootTag ? "template" : tagName;
|
|
31930
|
-
const childNodes = tagName === "template" ? node.content.childNodes : node
|
|
32248
|
+
const childNodes = tagName === "template" ? node.content.childNodes : getChildNodes(node);
|
|
31931
32249
|
const childNodeLength = childNodes.length;
|
|
31932
32250
|
if (childNodeLength > 0) {
|
|
31933
32251
|
if (childNodeLength === 1 && childNodes[0].nodeType === 3 /* TEXT_NODE */ && (typeof childNodes[0].nodeValue !== "string" || childNodes[0].nodeValue.trim() === "")) {
|
|
@@ -32100,6 +32418,9 @@ function isWithinWhitespaceSensitive(node) {
|
|
|
32100
32418
|
}
|
|
32101
32419
|
return false;
|
|
32102
32420
|
}
|
|
32421
|
+
function getChildNodes(node) {
|
|
32422
|
+
return node.__childNodes || node.childNodes;
|
|
32423
|
+
}
|
|
32103
32424
|
var NON_ESCAPABLE_CONTENT = /* @__PURE__ */ new Set([
|
|
32104
32425
|
"STYLE",
|
|
32105
32426
|
"SCRIPT",
|
|
@@ -32369,10 +32690,12 @@ var MockElement = class extends MockNode2 {
|
|
|
32369
32690
|
attachInternals() {
|
|
32370
32691
|
return new Proxy({}, {
|
|
32371
32692
|
get: function(_target, prop, _receiver) {
|
|
32372
|
-
|
|
32373
|
-
|
|
32374
|
-
|
|
32375
|
-
|
|
32693
|
+
if ("process" in globalThis && globalThis.process.env.__STENCIL_SPEC_TESTS__) {
|
|
32694
|
+
console.error(
|
|
32695
|
+
`NOTE: Property ${String(prop)} was accessed on ElementInternals, but this property is not implemented.
|
|
32696
|
+
Testing components with ElementInternals is fully supported in e2e tests.`
|
|
32697
|
+
);
|
|
32698
|
+
}
|
|
32376
32699
|
}
|
|
32377
32700
|
});
|
|
32378
32701
|
}
|
|
@@ -33342,6 +33665,9 @@ var MockAnchorElement = class extends MockHTMLElement {
|
|
|
33342
33665
|
this.setAttribute("href", value);
|
|
33343
33666
|
}
|
|
33344
33667
|
get pathname() {
|
|
33668
|
+
if (!this.href) {
|
|
33669
|
+
return "";
|
|
33670
|
+
}
|
|
33345
33671
|
return new URL(this.href).pathname;
|
|
33346
33672
|
}
|
|
33347
33673
|
};
|
|
@@ -35576,11 +35902,11 @@ var unwrapErr = (result) => {
|
|
|
35576
35902
|
throw result.value;
|
|
35577
35903
|
}
|
|
35578
35904
|
};
|
|
35905
|
+
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
35906
|
+
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
35579
35907
|
|
|
35580
35908
|
// src/runtime/mode.ts
|
|
35581
35909
|
var setMode = (handler) => modeResolutionChain.push(handler);
|
|
35582
|
-
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
35583
|
-
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
35584
35910
|
|
|
35585
35911
|
// src/compiler/html/canonical-link.ts
|
|
35586
35912
|
var updateCanonicalLink = (doc2, href) => {
|