@duetds/components 10.0.0-alpha.6 → 10.0.0-alpha.7
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 +344 -235
- package/lib/cjs/{a11y-utils-3c3c8d8e.js → a11y-utils-660f6fc9.js} +1 -1
- package/lib/cjs/{app-globals-ed8b5106.js → app-globals-041a56ca.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +3 -3
- 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 +7 -7
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -11
- package/lib/cjs/duet-card.cjs.entry.js +3 -3
- 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 +9 -7
- package/lib/cjs/duet-choice_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-collapsible.cjs.entry.js +17 -6
- 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 +3 -3
- package/lib/cjs/duet-date-picker.cjs.entry.js +8 -8
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +10 -10
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +8 -8
- package/lib/cjs/duet-grid_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +11 -11
- package/lib/cjs/duet-multiselect.cjs.entry.js +10 -10
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-number-input.cjs.entry.js +6 -6
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +16 -16
- 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 +6 -6
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +31 -30
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +8 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +5 -5
- 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 +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +10 -9
- package/lib/cjs/duet-status-icon.cjs.entry.js +86 -0
- package/lib/cjs/duet-step_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +3 -3
- 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 +6 -6
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +4 -4
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -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 +7 -7
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- 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 +3 -3
- package/lib/cjs/{errorcodes.utils-042e73b2.js → errorcodes.utils-381e59b0.js} +1 -1
- package/lib/cjs/{focus-utils-79683b7f.js → focus-utils-8b057c75.js} +1 -1
- package/lib/cjs/{index-48792b1c.js → index-0885358e.js} +1 -1
- package/lib/cjs/{keyboard-utils-681e11ec.js → keyboard-utils-f7c9f980.js} +4 -0
- package/lib/cjs/{label-d5b631b5.js → label-0db337c3.js} +1 -1
- package/lib/cjs/{language-utils-0b533bd8.js → language-utils-ae5d768d.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-bc9e866f.js → slot-utils-7cc4f68b.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-chip/duet-chip.js +4 -2
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +17 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +33 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.css +1 -0
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +8 -33
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +15 -17
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +182 -0
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +24 -3
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +28 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/keyboard-utils.js +3 -0
- 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 +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +8 -8
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- 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 +10 -10
- package/lib/dist-custom-elements/duet-choice.js +5 -5
- package/lib/dist-custom-elements/duet-collapsible.js +25 -7
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +8 -8
- package/lib/dist-custom-elements/duet-date-picker.js +15 -15
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +10 -10
- 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 +3 -3
- package/lib/dist-custom-elements/duet-footer.js +12 -12
- 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 +9 -9
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- 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 +6 -6
- 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 +5 -5
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +15 -15
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +7 -7
- package/lib/dist-custom-elements/duet-notification.js +5 -5
- 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 +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- 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 +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +4 -4
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +7 -7
- 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 +3 -3
- 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 +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +9 -8
- 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-status-icon.d.ts +11 -0
- package/lib/dist-custom-elements/duet-status-icon.js +111 -0
- package/lib/dist-custom-elements/duet-step.js +7 -7
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +18 -14
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +7 -7
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- 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 +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-21955b0e.js → p-076458c1.js} +6 -6
- package/lib/dist-custom-elements/{p-b0911017.js → p-08eb05f7.js} +3 -3
- package/lib/dist-custom-elements/{p-f938586f.js → p-1a76b580.js} +4 -4
- package/lib/dist-custom-elements/{p-8c6c829a.js → p-3e99b7b2.js} +2 -2
- package/lib/dist-custom-elements/{p-c622c1ed.js → p-4006af44.js} +7 -7
- package/lib/dist-custom-elements/{p-f9e93439.js → p-46a8132e.js} +2 -2
- package/lib/dist-custom-elements/{p-6e5e53d7.js → p-46aa070f.js} +6 -6
- package/lib/dist-custom-elements/{p-1124c91b.js → p-4dd6ec0e.js} +3 -3
- package/lib/dist-custom-elements/{p-9d66fcb1.js → p-4f9c1a9a.js} +12 -12
- package/lib/dist-custom-elements/{p-fa9451eb.js → p-55b83dec.js} +21 -23
- package/lib/dist-custom-elements/{p-9ad7147c.js → p-5882e967.js} +5 -5
- package/lib/dist-custom-elements/{p-8e84f50a.js → p-5d29fcaa.js} +4 -4
- package/lib/dist-custom-elements/{p-9f0b2c38.js → p-5e2fd812.js} +3 -3
- package/lib/dist-custom-elements/{p-462c028d.js → p-6560b415.js} +4 -4
- package/lib/dist-custom-elements/{p-09eaf6d8.js → p-66f05bd2.js} +3 -3
- package/lib/dist-custom-elements/{p-e7a9cd6f.js → p-7a8ebdb7.js} +1 -1
- package/lib/dist-custom-elements/{p-a50235dd.js → p-7cebe2aa.js} +3 -3
- package/lib/dist-custom-elements/{p-26b6e682.js → p-7e262927.js} +3 -3
- package/lib/dist-custom-elements/{p-d17446e9.js → p-87c8a780.js} +2 -2
- package/lib/dist-custom-elements/{p-ca700701.js → p-8db11326.js} +4 -1
- package/lib/dist-custom-elements/{p-9f741ff9.js → p-90aadff1.js} +2 -2
- package/lib/dist-custom-elements/{p-5d23c028.js → p-958921e7.js} +1 -1
- package/lib/dist-custom-elements/{p-7d273ec1.js → p-9a2ea7dc.js} +3 -3
- package/lib/dist-custom-elements/{p-eb41ebec.js → p-9bbe7263.js} +4 -4
- package/lib/dist-custom-elements/{p-6efe6bf7.js → p-a2ab7458.js} +2 -2
- package/lib/dist-custom-elements/{p-32fc2246.js → p-b49e2890.js} +3 -3
- package/lib/dist-custom-elements/{p-0b634468.js → p-b5147f77.js} +8 -8
- package/lib/dist-custom-elements/{p-4ebd91c7.js → p-d18fbbfb.js} +2 -2
- package/lib/dist-custom-elements/{p-1cd70acd.js → p-d2152803.js} +6 -4
- package/lib/dist-custom-elements/{p-3640e469.js → p-d2e75481.js} +5 -5
- package/lib/dist-custom-elements/{p-a58ad579.js → p-df4b16da.js} +2 -2
- package/lib/dist-custom-elements/{p-a536540a.js → p-e000047c.js} +16 -16
- package/lib/dist-custom-elements/{p-888706f5.js → p-e8d53fc5.js} +12 -12
- package/lib/dist-custom-elements/{p-594296cd.js → p-e9666ab6.js} +4 -4
- package/lib/dist-custom-elements/p-eddef302.js +80 -0
- package/lib/dist-custom-elements/{p-d0ac02e0.js → p-f2b84f7d.js} +2 -2
- package/lib/dist-custom-elements/{p-420f9ba6.js → p-f32d4b93.js} +1 -1
- package/lib/dist-custom-elements/{p-fc8b19d7.js → p-f4511d6b.js} +4 -4
- package/lib/dist-custom-elements/{p-9304595f.js → p-fbf01fef.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-0b5037d9.entry.js → p-01264667.entry.js} +1 -1
- package/lib/duet/{p-bc0590c0.entry.js → p-01ebc478.entry.js} +1 -1
- package/lib/duet/{p-9b965325.entry.js → p-024c9ef9.entry.js} +1 -1
- package/lib/duet/{p-fa48b8d5.system.entry.js → p-0278c664.system.entry.js} +1 -1
- package/lib/duet/{p-20310e13.system.entry.js → p-031cd628.system.entry.js} +1 -1
- package/lib/duet/{p-8e50bb3c.system.entry.js → p-07da24e7.system.entry.js} +1 -1
- package/lib/duet/{p-663b9ee3.system.entry.js → p-0887bb20.system.entry.js} +1 -1
- package/lib/duet/{p-b2d7c642.entry.js → p-0bd8ca70.entry.js} +1 -1
- package/lib/duet/p-0d6ace6f.js +4 -0
- package/lib/duet/{p-7f5ef635.entry.js → p-0e12e3b8.entry.js} +1 -1
- package/lib/duet/{p-b9526060.entry.js → p-0e32e0f3.entry.js} +1 -1
- package/lib/duet/{p-97c6f7d3.entry.js → p-0e3bcaa9.entry.js} +1 -1
- package/lib/duet/{p-80e4a016.system.entry.js → p-10ae39d7.system.entry.js} +1 -1
- package/lib/duet/{p-25466e76.system.entry.js → p-15a35870.system.entry.js} +1 -1
- package/lib/duet/{p-38c608ef.entry.js → p-17676f8d.entry.js} +1 -1
- package/lib/duet/{p-2ba307f8.system.js → p-1798db32.system.js} +1 -1
- package/lib/duet/{p-d1dc5bdf.system.entry.js → p-1977033e.system.entry.js} +1 -1
- package/lib/duet/{p-580a5cf3.system.entry.js → p-1b64118e.system.entry.js} +1 -1
- package/lib/duet/{p-b716aff1.system.entry.js → p-20b6ae5f.system.entry.js} +1 -1
- package/lib/duet/p-22a95bff.system.js +4 -0
- package/lib/duet/{p-5b308d2c.entry.js → p-273ee825.entry.js} +1 -1
- package/lib/duet/{p-209a2fbb.system.entry.js → p-28275d12.system.entry.js} +1 -1
- package/lib/duet/{p-8604f6fe.entry.js → p-289e20a4.entry.js} +1 -1
- package/lib/duet/{p-37da6ede.entry.js → p-28aee391.entry.js} +1 -1
- package/lib/duet/{p-34693d3c.system.entry.js → p-28e4efe1.system.entry.js} +1 -1
- package/lib/duet/{p-bca0532c.entry.js → p-29b17590.entry.js} +1 -1
- package/lib/duet/{p-969e9ad4.system.entry.js → p-29d53ea5.system.entry.js} +1 -1
- package/lib/duet/{p-6a573c41.system.entry.js → p-2b1be22e.system.entry.js} +1 -1
- package/lib/duet/{p-464f54d8.system.entry.js → p-2bc7bfb8.system.entry.js} +1 -1
- package/lib/duet/{p-68231a92.system.js → p-2cdacb01.system.js} +1 -1
- package/lib/duet/{p-baf877cd.system.entry.js → p-2f701bd3.system.entry.js} +1 -1
- package/lib/duet/{p-7d4d28c4.system.entry.js → p-2f715679.system.entry.js} +1 -1
- package/lib/duet/{p-33f849de.entry.js → p-3042a585.entry.js} +1 -1
- package/lib/duet/p-343293f9.system.entry.js +4 -0
- package/lib/duet/{p-ce3445b7.system.entry.js → p-357c0e81.system.entry.js} +1 -1
- package/lib/duet/{p-e8a7e4ab.entry.js → p-35d862a1.entry.js} +1 -1
- package/lib/duet/{p-d156d68a.entry.js → p-36009a0d.entry.js} +1 -1
- package/lib/duet/p-361371c0.entry.js +4 -0
- package/lib/duet/{p-77fa19cc.system.entry.js → p-36282ff0.system.entry.js} +1 -1
- package/lib/duet/{p-c4f52e4e.entry.js → p-36602fe4.entry.js} +1 -1
- package/lib/duet/{p-7c7f26ef.system.entry.js → p-38e2ca53.system.entry.js} +1 -1
- package/lib/duet/{p-72b951ed.system.js → p-3986c681.system.js} +1 -1
- package/lib/duet/p-3a1a4161.entry.js +4 -0
- package/lib/duet/p-3a8e181e.entry.js +4 -0
- package/lib/duet/{p-c356d09c.js → p-3afaf734.js} +1 -1
- package/lib/duet/{p-0e37852c.system.entry.js → p-3c1abeed.system.entry.js} +1 -1
- package/lib/duet/{p-8d9ee7c2.system.entry.js → p-3e294789.system.entry.js} +1 -1
- package/lib/duet/{p-738937e3.entry.js → p-3f295c07.entry.js} +1 -1
- package/lib/duet/p-402af830.js +4 -0
- package/lib/duet/{p-9040d9a8.system.entry.js → p-41f062e2.system.entry.js} +1 -1
- package/lib/duet/{p-8bae39f7.entry.js → p-42542284.entry.js} +1 -1
- package/lib/duet/{p-edb5b802.entry.js → p-43415ad8.entry.js} +1 -1
- package/lib/duet/{p-e0a6de56.system.js → p-447e1392.system.js} +1 -1
- package/lib/duet/p-4a4d949c.entry.js +4 -0
- package/lib/duet/{p-29d7a95b.entry.js → p-4ce70915.entry.js} +1 -1
- package/lib/duet/{p-d1bc8233.system.entry.js → p-4d46054e.system.entry.js} +1 -1
- package/lib/duet/{p-d8bd4368.system.entry.js → p-4d8136a6.system.entry.js} +1 -1
- package/lib/duet/{p-f06e6bbc.js → p-4dcb6a39.js} +1 -1
- package/lib/duet/{p-0c9961ea.system.entry.js → p-5013078d.system.entry.js} +1 -1
- package/lib/duet/{p-31da390c.entry.js → p-505ef540.entry.js} +1 -1
- package/lib/duet/p-5488c7f0.entry.js +4 -0
- package/lib/duet/{p-e4bff102.entry.js → p-55183c9c.entry.js} +1 -1
- package/lib/duet/{p-32dc6efc.entry.js → p-56860e41.entry.js} +1 -1
- package/lib/duet/{p-4e7bce4f.entry.js → p-569d1162.entry.js} +1 -1
- package/lib/duet/p-57daa78e.system.entry.js +4 -0
- package/lib/duet/{p-2bef7d51.entry.js → p-59be5b66.entry.js} +1 -1
- package/lib/duet/{p-0fe7330c.entry.js → p-5c3bb425.entry.js} +1 -1
- package/lib/duet/{p-4d3ec90a.js → p-5c6fe96f.js} +1 -1
- package/lib/duet/{p-82c1ca26.system.entry.js → p-5ce6dbbb.system.entry.js} +1 -1
- package/lib/duet/{p-78946df0.entry.js → p-610bd1be.entry.js} +1 -1
- package/lib/duet/{p-07ad47fc.js → p-619a6ecf.js} +1 -1
- package/lib/duet/{p-5b171872.entry.js → p-61a0ad44.entry.js} +1 -1
- package/lib/duet/{p-439ab5de.entry.js → p-654a4d24.entry.js} +1 -1
- package/lib/duet/{p-c107fd30.system.entry.js → p-65d0162b.system.entry.js} +1 -1
- package/lib/duet/p-663d1dbe.system.entry.js +4 -0
- package/lib/duet/{p-ce265070.system.entry.js → p-6791f33a.system.entry.js} +1 -1
- package/lib/duet/{p-eccd05e5.system.entry.js → p-6833a13e.system.entry.js} +1 -1
- package/lib/duet/{p-f2e1ad51.system.entry.js → p-694cb5c7.system.entry.js} +1 -1
- package/lib/duet/{p-a1cbd4ce.entry.js → p-6a255600.entry.js} +1 -1
- package/lib/duet/p-6ab7c8ae.entry.js +4 -0
- package/lib/duet/{p-fdade91c.entry.js → p-6b8e825d.entry.js} +1 -1
- package/lib/duet/p-6d1f7659.system.entry.js +4 -0
- package/lib/duet/p-7094e51e.js +4 -0
- package/lib/duet/{p-bba03d95.entry.js → p-713fb177.entry.js} +1 -1
- package/lib/duet/{p-cc8ee355.entry.js → p-724d1682.entry.js} +1 -1
- package/lib/duet/{p-af1e4507.entry.js → p-73695b8f.entry.js} +1 -1
- package/lib/duet/{p-e465d6c2.system.entry.js → p-74214cc5.system.entry.js} +1 -1
- package/lib/duet/{p-7373276c.system.entry.js → p-7433065d.system.entry.js} +1 -1
- package/lib/duet/{p-34d7dd10.system.js → p-752fa0fc.system.js} +1 -1
- package/lib/duet/{p-ffdf2214.system.entry.js → p-7610cf8a.system.entry.js} +1 -1
- package/lib/duet/{p-ddffb81a.entry.js → p-761c3bab.entry.js} +1 -1
- package/lib/duet/{p-2bd62f0c.system.entry.js → p-7792b99b.system.entry.js} +1 -1
- package/lib/duet/{p-381ff481.system.entry.js → p-78aa46d5.system.entry.js} +1 -1
- package/lib/duet/{p-b1bf60ee.system.entry.js → p-793a7e00.system.entry.js} +2 -2
- package/lib/duet/{p-cec10811.system.entry.js → p-794f26b0.system.entry.js} +1 -1
- package/lib/duet/{p-6e067676.system.entry.js → p-7980c7c7.system.entry.js} +1 -1
- package/lib/duet/{p-4f29f601.system.entry.js → p-7ba22ad5.system.entry.js} +2 -2
- package/lib/duet/{p-639d374b.system.entry.js → p-7e8e5ce0.system.entry.js} +1 -1
- package/lib/duet/{p-46f009ca.entry.js → p-7f60def8.entry.js} +1 -1
- package/lib/duet/{p-98272a25.entry.js → p-7ff7d213.entry.js} +1 -1
- package/lib/duet/{p-abe18cca.system.entry.js → p-804d9390.system.entry.js} +1 -1
- package/lib/duet/{p-e83ed709.system.js → p-8296c9c2.system.js} +1 -1
- package/lib/duet/p-8406ca8e.entry.js +4 -0
- package/lib/duet/{p-adf22a8b.system.entry.js → p-841673c0.system.entry.js} +1 -1
- package/lib/duet/{p-43d23a6f.system.entry.js → p-846abd90.system.entry.js} +1 -1
- package/lib/duet/{p-95b85d1f.system.entry.js → p-8625602d.system.entry.js} +1 -1
- package/lib/duet/{p-ac5446d0.system.entry.js → p-8688d2ab.system.entry.js} +1 -1
- package/lib/duet/p-87a8eb57.entry.js +4 -0
- package/lib/duet/{p-0b5098d7.entry.js → p-8e2ad162.entry.js} +1 -1
- package/lib/duet/{p-f581e8f0.system.entry.js → p-8f5c12c8.system.entry.js} +1 -1
- package/lib/duet/{p-30ac1001.system.entry.js → p-924eebeb.system.entry.js} +1 -1
- package/lib/duet/{p-2c81ba45.system.entry.js → p-97f1f446.system.entry.js} +1 -1
- package/lib/duet/{p-8041352b.entry.js → p-982c17df.entry.js} +1 -1
- package/lib/duet/{p-f352dfd1.entry.js → p-9ba5dbb7.entry.js} +1 -1
- package/lib/duet/{p-c34de3cd.entry.js → p-9c08f843.entry.js} +1 -1
- package/lib/duet/{p-a16a67d3.system.entry.js → p-9d15f354.system.entry.js} +1 -1
- package/lib/duet/{p-737cd36c.system.entry.js → p-9da6fbd0.system.entry.js} +2 -2
- package/lib/duet/{p-b6f9a783.entry.js → p-9f1f30d1.entry.js} +1 -1
- package/lib/duet/{p-44cb0dcd.entry.js → p-a011272e.entry.js} +1 -1
- package/lib/duet/{p-805feaaf.entry.js → p-a090e7f0.entry.js} +1 -1
- package/lib/duet/{p-c30d98a0.system.entry.js → p-a27457ec.system.entry.js} +1 -1
- package/lib/duet/{p-427e4534.system.entry.js → p-a2eb63af.system.entry.js} +2 -2
- package/lib/duet/{p-c4c885cb.system.js → p-a4170fe7.system.js} +1 -1
- package/lib/duet/p-a45e3f8b.js +4 -0
- package/lib/duet/{p-621a5ef4.entry.js → p-a81137d2.entry.js} +1 -1
- package/lib/duet/{p-9543e2fa.system.entry.js → p-a8ed2473.system.entry.js} +1 -1
- package/lib/duet/p-a94536d7.entry.js +4 -0
- package/lib/duet/p-aac4f547.system.entry.js +4 -0
- package/lib/duet/p-ab1b2d93.entry.js +4 -0
- package/lib/duet/{p-aa3fdb7b.system.entry.js → p-acba28ca.system.entry.js} +1 -1
- package/lib/duet/{p-2cdae1e7.entry.js → p-ad6532e2.entry.js} +1 -1
- package/lib/duet/{p-ce51cdb5.entry.js → p-adba09a3.entry.js} +1 -1
- package/lib/duet/p-af13cb98.entry.js +4 -0
- package/lib/duet/{p-61f833e4.js → p-b0ef5620.js} +1 -1
- package/lib/duet/{p-4f74c03a.system.entry.js → p-b1ac6254.system.entry.js} +2 -2
- package/lib/duet/{p-d74d228d.system.entry.js → p-b3302c2f.system.entry.js} +1 -1
- package/lib/duet/p-b3f0b1df.system.entry.js +4 -0
- package/lib/duet/{p-5fa26f69.system.entry.js → p-b4d7d067.system.entry.js} +2 -2
- package/lib/duet/{p-0ada6a53.entry.js → p-b53f2401.entry.js} +1 -1
- package/lib/duet/{p-045602e4.system.entry.js → p-b6859e60.system.entry.js} +1 -1
- package/lib/duet/{p-7a7e588a.system.entry.js → p-b7b88f43.system.entry.js} +1 -1
- package/lib/duet/{p-4b60977f.entry.js → p-b85f2a7b.entry.js} +1 -1
- package/lib/duet/{p-3a59f444.entry.js → p-b8dbb46c.entry.js} +1 -1
- package/lib/duet/{p-190acbb7.system.js → p-be334873.system.js} +1 -1
- package/lib/duet/{p-9405fe94.system.entry.js → p-c2f9a318.system.entry.js} +1 -1
- package/lib/duet/p-c4150af0.entry.js +4 -0
- package/lib/duet/p-c44fa6da.system.js +4 -0
- package/lib/duet/{p-1b3f8f1b.system.entry.js → p-c5e2f011.system.entry.js} +1 -1
- package/lib/duet/{p-9f9c40a8.entry.js → p-c779e3e1.entry.js} +1 -1
- package/lib/duet/{p-0b7258d7.system.entry.js → p-c81c688f.system.entry.js} +1 -1
- package/lib/duet/{p-2e1e6282.entry.js → p-c9fd4929.entry.js} +1 -1
- package/lib/duet/{p-64e29c45.entry.js → p-ca22effd.entry.js} +1 -1
- package/lib/duet/{p-d72efc9c.system.entry.js → p-ca8df590.system.entry.js} +1 -1
- package/lib/duet/{p-f09e46ed.system.entry.js → p-cae73efd.system.entry.js} +1 -1
- package/lib/duet/{p-f6b615f3.entry.js → p-cb6f8369.entry.js} +1 -1
- package/lib/duet/p-cc2912ff.system.entry.js +4 -0
- package/lib/duet/{p-46e55f21.entry.js → p-ce2dd921.entry.js} +1 -1
- package/lib/duet/{p-1337ebd5.entry.js → p-d0d6ecb5.entry.js} +1 -1
- package/lib/duet/{p-51cd4d05.system.entry.js → p-d1d1e439.system.entry.js} +1 -1
- package/lib/duet/{p-c4181540.entry.js → p-d5299653.entry.js} +1 -1
- package/lib/duet/{p-5425c258.entry.js → p-d60846a0.entry.js} +1 -1
- package/lib/duet/{p-4e036df0.entry.js → p-d6568e05.entry.js} +1 -1
- package/lib/duet/{p-29eb35bb.entry.js → p-d65bf655.entry.js} +1 -1
- package/lib/duet/{p-669a00cf.entry.js → p-db44b3b4.entry.js} +1 -1
- package/lib/duet/{p-14eead78.system.entry.js → p-de9c27d0.system.entry.js} +1 -1
- package/lib/duet/{p-421edf33.entry.js → p-dea429f9.entry.js} +1 -1
- package/lib/duet/p-e1287a80.entry.js +4 -0
- package/lib/duet/{p-6bdc361a.entry.js → p-e24b7d0e.entry.js} +1 -1
- package/lib/duet/{p-986b8cbf.entry.js → p-e622420a.entry.js} +1 -1
- package/lib/duet/{p-6ee9ddfa.entry.js → p-e7c85aa3.entry.js} +1 -1
- package/lib/duet/{p-80088f9c.system.entry.js → p-e99d4ab0.system.entry.js} +1 -1
- package/lib/duet/{p-ce4a5d9a.system.entry.js → p-ea2e8887.system.entry.js} +1 -1
- package/lib/duet/{p-2afaae2e.entry.js → p-ead29805.entry.js} +1 -1
- package/lib/duet/{p-0266fa8a.system.entry.js → p-eb28342c.system.entry.js} +1 -1
- package/lib/duet/{p-42c31dfa.system.entry.js → p-ecceed3c.system.entry.js} +1 -1
- package/lib/duet/{p-7c74fe18.system.entry.js → p-f1083113.system.entry.js} +1 -1
- package/lib/duet/{p-6b368797.system.entry.js → p-f2d13294.system.entry.js} +1 -1
- package/lib/duet/{p-86299b1a.entry.js → p-f3463af2.entry.js} +1 -1
- package/lib/duet/{p-3199e785.system.entry.js → p-f8c6c87c.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-9901a10d.js → a11y-utils-7f48d84a.js} +1 -1
- package/lib/esm/{app-globals-4a06b004.js → app-globals-8f12ab47.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +3 -3
- 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 +7 -7
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +4 -4
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -11
- package/lib/esm/duet-card.entry.js +3 -3
- 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 +9 -7
- package/lib/esm/duet-choice_2.entry.js +6 -6
- package/lib/esm/duet-collapsible.entry.js +17 -6
- 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 +3 -3
- package/lib/esm/duet-date-picker.entry.js +8 -8
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +10 -10
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +8 -8
- package/lib/esm/duet-grid_2.entry.js +5 -5
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +11 -11
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-menu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +11 -11
- package/lib/esm/duet-multiselect.entry.js +10 -10
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +7 -7
- package/lib/esm/duet-number-input.entry.js +6 -6
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +16 -16
- 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 +6 -6
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +31 -30
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +8 -8
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +5 -5
- 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 +10 -10
- package/lib/esm/duet-slideout.entry.js +10 -9
- package/lib/esm/duet-status-icon.entry.js +82 -0
- package/lib/esm/duet-step_2.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +3 -3
- 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 +6 -6
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +4 -4
- package/lib/esm/duet-toolbar-dropdown.entry.js +6 -6
- package/lib/esm/duet-toolbar-item.entry.js +7 -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 +7 -7
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +5 -5
- 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 +4 -4
- package/lib/esm/{errorcodes.utils-6664168c.js → errorcodes.utils-66d99a23.js} +1 -1
- package/lib/esm/{focus-utils-a784b6e8.js → focus-utils-b48493c9.js} +1 -1
- package/lib/esm/{index-df3d13a5.js → index-5a27eaf5.js} +1 -1
- package/lib/esm/{keyboard-utils-439bcc8b.js → keyboard-utils-daf80d44.js} +4 -1
- package/lib/esm/{label-f5b3e61c.js → label-00d35a2b.js} +1 -1
- package/lib/esm/{language-utils-0da69172.js → language-utils-2c1dd412.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-82ed2032.js → slot-utils-8fc9fbbf.js} +1 -1
- package/lib/esm-es5/{a11y-utils-9901a10d.js → a11y-utils-7f48d84a.js} +1 -1
- package/lib/esm-es5/{app-globals-4a06b004.js → app-globals-8f12ab47.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 +1 -1
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +4 -0
- 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 +1 -1
- 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 +1 -1
- 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 +1 -1
- 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-6664168c.js → errorcodes.utils-66d99a23.js} +1 -1
- package/lib/esm-es5/focus-utils-b48493c9.js +4 -0
- package/lib/esm-es5/{index-df3d13a5.js → index-5a27eaf5.js} +1 -1
- package/lib/esm-es5/{keyboard-utils-439bcc8b.js → keyboard-utils-daf80d44.js} +1 -1
- package/lib/esm-es5/{label-f5b3e61c.js → label-00d35a2b.js} +1 -1
- package/lib/esm-es5/{language-utils-0da69172.js → language-utils-2c1dd412.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-82ed2032.js → slot-utils-8fc9fbbf.js} +1 -1
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +5 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +4 -1
- package/lib/types/components/duet-status-icon/duet-status-icon.d.ts +26 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +5 -0
- package/lib/types/components.d.ts +61 -0
- package/lib/types/utils/keyboard-utils.d.ts +1 -0
- package/package.json +3 -3
- package/lib/dist-custom-elements/p-dc810c10.js +0 -80
- package/lib/duet/p-0d6ca7ac.system.js +0 -4
- package/lib/duet/p-195a40e4.entry.js +0 -4
- package/lib/duet/p-1b6ef5df.js +0 -4
- package/lib/duet/p-1d8bb581.entry.js +0 -4
- package/lib/duet/p-1e683453.entry.js +0 -4
- package/lib/duet/p-218b8306.entry.js +0 -4
- package/lib/duet/p-2ec89cb7.system.entry.js +0 -4
- package/lib/duet/p-3ec22146.entry.js +0 -4
- package/lib/duet/p-43a55e9a.entry.js +0 -4
- package/lib/duet/p-47dd817e.system.entry.js +0 -4
- package/lib/duet/p-4eaedd9d.system.entry.js +0 -4
- package/lib/duet/p-5bb92953.entry.js +0 -4
- package/lib/duet/p-667091a7.system.entry.js +0 -4
- package/lib/duet/p-6fdd0abe.js +0 -4
- package/lib/duet/p-8801b9d9.entry.js +0 -4
- package/lib/duet/p-9025f938.entry.js +0 -4
- package/lib/duet/p-96f163a7.entry.js +0 -4
- package/lib/duet/p-a1b7f2a0.js +0 -4
- package/lib/duet/p-b5ae69e5.system.js +0 -4
- package/lib/duet/p-b60046d1.system.entry.js +0 -4
- package/lib/duet/p-bcc2ae61.entry.js +0 -4
- package/lib/duet/p-c41ff868.system.entry.js +0 -4
- package/lib/duet/p-d357770c.js +0 -4
- package/lib/duet/p-e42d4dcf.entry.js +0 -4
- package/lib/esm-es5/focus-utils-a784b6e8.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -2762,6 +2762,9 @@ const subscribeTabbingChange = component => {
|
|
|
2762
2762
|
const unsubscribeTabbingChange = component => {
|
|
2763
2763
|
tabbingChangeSubscribers.delete(component);
|
|
2764
2764
|
};
|
|
2765
|
+
const enableUserIsTabbing = () => {
|
|
2766
|
+
listenKeys({ key: "Tab" });
|
|
2767
|
+
};
|
|
2765
2768
|
|
|
2766
2769
|
function isObject(maybeObj) {
|
|
2767
2770
|
return Object.prototype.toString.call(maybeObj) === "[object Object]";
|
|
@@ -3986,12 +3989,12 @@ class DuetBadge {
|
|
|
3986
3989
|
*/
|
|
3987
3990
|
render() {
|
|
3988
3991
|
const backgroundClass = `background-${this.background}`;
|
|
3989
|
-
return (hAsync(Host, { key: '
|
|
3992
|
+
return (hAsync(Host, { key: '2dba3e832143d9faee9ecf2c5655fbd537ed334d', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '40e82bba7a8f3657ee18ac180213e7d6d30ab1c2', class: {
|
|
3990
3993
|
"duet-badge": true,
|
|
3991
3994
|
[this.variation]: true,
|
|
3992
3995
|
[backgroundClass]: true,
|
|
3993
3996
|
"duet-theme-turva": this.theme === "turva",
|
|
3994
|
-
} }, hAsync("slot", { key: '
|
|
3997
|
+
} }, hAsync("slot", { key: '2aa7fa9c5b605a9dee5c24ac62b0ac673bb75ce8' }))));
|
|
3995
3998
|
}
|
|
3996
3999
|
get element() { return getElement(this); }
|
|
3997
4000
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4181,14 +4184,14 @@ class DuetBreadcrumb {
|
|
|
4181
4184
|
*/
|
|
4182
4185
|
render() {
|
|
4183
4186
|
var _a;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4187
|
+
return (hAsync(Host, { key: 'e3bac4d65f78839055c45f4c4b7bd3da5485f484', role: "listitem" }, hAsync("div", { key: '1feb1346cc8855bf09f723a86fb033508ea3892b', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '7ee4f27fd98952d5c7f90bc22c9d57dc2d028059', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '41ec8a37cdfcda38d9873a44406ecf7554faa4f9', class: {
|
|
4185
4188
|
"duet-breadcrumb": true,
|
|
4186
4189
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4190
|
}, 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" &&
|
|
4188
4191
|
this.icon && [
|
|
4189
|
-
hAsync("duet-icon", { key: '
|
|
4190
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4191
|
-
], hAsync("slot", { key: '
|
|
4192
|
+
hAsync("duet-icon", { key: 'dc43a33c4e67623deb9f7ea4980f1df6ffd9f5d2', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4193
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'a4f0bb0d08370e92dd2410e98f506494be21afab', size: "x-small", direction: "horizontal" }),
|
|
4194
|
+
], hAsync("slot", { key: '1f7a919751cb64f71118b681b6d8450f980c69f0' })))));
|
|
4192
4195
|
}
|
|
4193
4196
|
get element() { return getElement(this); }
|
|
4194
4197
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4249,11 +4252,11 @@ class DuetBreadcrumbs {
|
|
|
4249
4252
|
*/
|
|
4250
4253
|
render() {
|
|
4251
4254
|
const color = getColorByName(this.color);
|
|
4252
|
-
return (hAsync(Host, { key: '
|
|
4255
|
+
return (hAsync(Host, { key: '5e7f8d6415f70b5e6663621753425d50f780c5c7' }, hAsync("nav", { key: 'b42adb6f45c71c891ebde23cde79849ff0403cea', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4253
4256
|
"duet-breadcrumbs": true,
|
|
4254
4257
|
"duet-theme-turva": this.theme === "turva",
|
|
4255
4258
|
[this.variation]: true,
|
|
4256
|
-
} }, hAsync("div", { key: '
|
|
4259
|
+
} }, hAsync("div", { key: '662463255208d9fba406f238925b809c490078fc', class: "container" }, hAsync("div", { key: 'e6b7b7346ba921fce23b7c6754c1434d5869b871', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '5b523530c2863893b3627b42efbd0500ad90c5e6' })), hAsync("div", { key: 'f5a560b4539fc9bebfcf4fc4a285829431d1d33e', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '48d2fa79c60f46ca410a8870bdb291b0b98122ac', class: "bottom-border bottom-border--nav" }))));
|
|
4257
4260
|
}
|
|
4258
4261
|
get element() { return getElement(this); }
|
|
4259
4262
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4610,11 +4613,11 @@ class DuetCallout {
|
|
|
4610
4613
|
<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"/>
|
|
4611
4614
|
</svg>
|
|
4612
4615
|
`;
|
|
4613
|
-
return (hAsync(Host, { key: '
|
|
4616
|
+
return (hAsync(Host, { key: '723ea1796690bec2b5d1369a35f871868699f482' }, hAsync("div", { key: '38e2a65cd5fabcea4c016a4a4a940626d52c635c', class: {
|
|
4614
4617
|
"duet-callout": true,
|
|
4615
4618
|
"duet-theme-turva": this.theme === "turva",
|
|
4616
4619
|
"duet-m-0": this.margin === "none",
|
|
4617
|
-
} }, hAsync("figure", { key: '
|
|
4620
|
+
} }, hAsync("figure", { key: '36a5a023265077b4c39bee1dae7ce5c6ab4e004e', class: "container" }, hAsync("duet-icon", { key: '8bcad0fbd84fd987ed99f482e79492c711f7dadf', 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: '2d76f9cb68753b961cbb3109699fc0a0c922640a' }, hAsync("slot", { key: '7d2b56b822b785daea92f61bbb1e8fbe6e5be4eb' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'd06dadee4829120187ca4eff21c8b3a80a1ff007', class: "author" }, hAsync("span", { key: 'a472f6d05d44e5a007e0a9c071483b32f0b026ef' }, "\u2014 "), hAsync("slot", { key: '01affadf429239b1e6e18ab26b702ba68b480e73', name: "author" })))))));
|
|
4618
4621
|
}
|
|
4619
4622
|
get element() { return getElement(this); }
|
|
4620
4623
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4980,11 +4983,11 @@ class DuetCheckmark {
|
|
|
4980
4983
|
inheritGlobalTheme(this);
|
|
4981
4984
|
}
|
|
4982
4985
|
render() {
|
|
4983
|
-
return (hAsync(Host, { key: '
|
|
4986
|
+
return (hAsync(Host, { key: '816a3ac9535fd26b046d08026281ac22a04e42ac', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '11fd99290f4e4f3454beba9f53a86bf9707ed733', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'f58d6e9f6047afcc52bdf92b4aa5f2c22732a2de', class: {
|
|
4984
4987
|
"duet-checkmark-container": true,
|
|
4985
4988
|
center: this.center,
|
|
4986
4989
|
"duet-checkmark-radio": this.type === "radio",
|
|
4987
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4990
|
+
} }, this.checked && hAsync("div", { key: '3e2d68f14bba50cbc66021180eaaa9efaa9b26d9', class: "duet-checkmark" })))));
|
|
4988
4991
|
}
|
|
4989
4992
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4990
4993
|
static get cmpMeta() { return {
|
|
@@ -5055,6 +5058,7 @@ class DuetChip {
|
|
|
5055
5058
|
radioInput.name = this.name;
|
|
5056
5059
|
radioInput.value = this.value;
|
|
5057
5060
|
radioInput.checked = this.checked;
|
|
5061
|
+
radioInput.ariaLabel = this.element.textContent;
|
|
5058
5062
|
if (slotInput) {
|
|
5059
5063
|
this.radioInputListenersRemove(radioInput);
|
|
5060
5064
|
}
|
|
@@ -5267,6 +5271,7 @@ class DuetChip {
|
|
|
5267
5271
|
* Sets focus. Use this method instead of the global focus().
|
|
5268
5272
|
*/
|
|
5269
5273
|
async setFocus(options) {
|
|
5274
|
+
enableUserIsTabbing();
|
|
5270
5275
|
setTimeout(() => this.focusableElement.focus(options), 200);
|
|
5271
5276
|
}
|
|
5272
5277
|
/**
|
|
@@ -5306,7 +5311,7 @@ class DuetChip {
|
|
|
5306
5311
|
onBlur: this.onBlur,
|
|
5307
5312
|
ref: el => (this.focusableElement = el),
|
|
5308
5313
|
};
|
|
5309
|
-
return (hAsync(Host, { key: '
|
|
5314
|
+
return (hAsync(Host, { key: '5ddf4eae8cb9deb9390f694c3a0a1bc9981d4359', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: '121adcccdad8d637a2fc60482831f988948e2ac7', class: classes }, hAsync("button", Object.assign({ key: '6862bfd33573fa7a7cf74a80abb28edb7b1d31af', id: identifier, "aria-label": this.accessibleLabel, "aria-haspopup": this.getAccessiblePopup(), "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, name: this.name, value: this.value, onClick: this.disabled ? evt => evt.stopPropagation() : undefined }, focusHandlers), hAsync("span", { key: '16cdf94c6a9d411ed7dcdfd91fedb3653631382f', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: 'd913024eebba49b2f489c6859c8b0fb5395752cf', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '0c90ce6861f802bec7d4d9462fdd08e7b8130179' })))), this.variation === "input" && (hAsync("span", { key: '55ddebe4c051b4806e58275c3c500e594c7bbe24', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: 'e37c4f5cc015d6487de4a65c3339369a4e89962e', id: identifier, class: "duet-chip-input-button", value: this.value, "aria-label": this.accessibleLabel, onMouseOver: () => (this.inputChipHover = true), onMouseOut: () => (this.inputChipHover = false), onClick: () => (this.selected = !this.selected) }, focusHandlers), hAsync("span", { key: 'b213a65e417e8a1900d42b19c59f8d7c9ef2fa94', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '235ba630d4861c5b89074208bfe8bec3aafc4cb2', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '4952f588693c543bb5e940e62ad82a2afc1828a0' })), hAsync("button", { key: 'e92f1e564b70b2041845bb3d25f3dd02277d2eae', class: "duet-chip-remove-button", "aria-label": this.getAccessibleDeleteLabel(), onClick: this.onRemoveClick, onFocus: () => (this.inputChipDeleteFocus = true), onBlur: () => (this.inputChipDeleteFocus = false), ref: el => (this.deleteButtonElement = el) }, hAsync("duet-icon", { key: '14ee83c2409dc44690e041ee80542d555e7f1e93', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'b1ca9ec7ec6fce48f4c33d2029ccd043a79dd803', class: classes }, hAsync("input", Object.assign({ key: 'dbbf118c242b3a04c7df17eaf04a6f27fcc0eb40', "aria-haspopup": this.getAccessiblePopup(), "aria-controls": (_a = this.popupElement) === null || _a === void 0 ? void 0 : _a.id, "aria-expanded": this.getAccessibleExpanded(), "aria-disabled": this.disabled ? "true" : undefined, id: identifier, type: "checkbox", name: this.name, value: this.value, checked: this.checked, onClick: this.onFilterClick, onChange: this.onFilterChange }, focusHandlers)), hAsync("label", { key: '898206f44f12092a9d4d695a8e7d09a56297671f', htmlFor: identifier }, this.icon && (hAsync("span", { key: '0c337ba4f6e48d81752ff411e467f346fc87c311', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'a24f796b0817c43c51e3e1676ab9d65a4fe07ad3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '955cf61a6b57d6edc3c8d8350fb469efffad3803', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '8f0b8996230a8dfe83414e89b7c796121de41526' }), this.popupElement && (hAsync("span", { key: '37a42083a01d64d81bec08dcb9464ec450e17820', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: 'cb1d4646dd01cee1b69d45988aba671e8d606a91', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: '89d0d76772a7ff76799ee9d60329ca3dd81b7fd8', class: classes }, hAsync("slot", { key: '391e609c08ee02a3b4153e5509736db840803e85', name: "input" }), hAsync("label", { key: '233a831ddd3e6e850c69f4300f28b2b33a6c7dd3', htmlFor: identifier }, this.icon && (hAsync("span", { key: '90edf79133173465641029aa158d36a568a31cfa', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'a055c58682160fac0822611b692264e0bedb7b6c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '14ca6369602be7c44b16ee89eabd77e3c26bb941', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '63635381228bc16fc8f12cfed491dda50ce188a4' }))))));
|
|
5310
5315
|
}
|
|
5311
5316
|
get element() { return getElement(this); }
|
|
5312
5317
|
static get watchers() { return {
|
|
@@ -5887,14 +5892,14 @@ class DuetChoiceGroup {
|
|
|
5887
5892
|
* Always the last one in the class.
|
|
5888
5893
|
*/
|
|
5889
5894
|
render() {
|
|
5890
|
-
return (hAsync(Host, { key: '
|
|
5895
|
+
return (hAsync(Host, { key: '7b938818686b05db520fbe91c79a8bd415953252', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
5891
5896
|
horizontal: this.direction === "horizontal",
|
|
5892
5897
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
5893
5898
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
5894
5899
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
5895
5900
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
5896
5901
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
5897
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
5902
|
+
} }, hAsync("duet-fieldset", { key: '80087165b139cbd999a2399514b9520044f195e6', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'e5f2b0838c718e2ecb4e3c20e71dc8882454159c', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c56ccec0fd534ad20d6125e9c0d6f7ad7f377110', name: "tooltip" }), hAsync("div", { key: '2fe2c5122b5a801959f7de400ec5bd3f974d78cd', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'd45976650a1c57151eee04088e9b29db2a4e76be' })))));
|
|
5898
5903
|
}
|
|
5899
5904
|
get element() { return getElement(this); }
|
|
5900
5905
|
static get watchers() { return {
|
|
@@ -6684,7 +6689,7 @@ var tokens$1 = /*#__PURE__*/Object.freeze({
|
|
|
6684
6689
|
'default': tokens
|
|
6685
6690
|
});
|
|
6686
6691
|
|
|
6687
|
-
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.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)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;
|
|
6692
|
+
const duetCollapsibleCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=after-heading]){display:inline-block}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:16px !important;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:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}:host(.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)}:host(.duet-m-0){margin:0 !important}.duet-collapsible-content{display:none;padding-left:18px;margin-top: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:1rem;font-weight:400;font-variant-numeric:tabular-nums;-webkit-hyphens:auto;hyphens:auto;line-height:1.5;color:rgb(8, 42, 77)}@media (max-width: 35.9375em){.duet-collapsible-content{font-size:0.875rem}}.duet-collapsible-content.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)}:host([open])>.duet-collapsible-content{display:block}.duet-collapsible-heading{-webkit-user-select:none;user-select:none;display:flex;flex-direction:column;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);text-align:left;cursor:pointer;border-radius:4px}.duet-collapsible-heading.full-width{width:100%}.duet-collapsible-heading.duet-collapsible-heading-centered{margin:auto}.duet-collapsible-heading.duet-collapsible-heading-centered .duet-collapsible-heading-caption{margin-inline:auto}.duet-collapsible-heading.duet-collapsible-normal-weight{font-weight:400}.duet-collapsible-heading.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-collapsible-heading .duet-collapsible-heading-content{min-width:0}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div{margin-left:16px}.duet-collapsible-heading.has-after-heading .duet-collapsible-heading-content+div.float-right{margin-left:auto}.duet-collapsible-heading.has-caption{gap:4px}.duet-collapsible-heading.has-caption .duet-collapsible-heading-caption{margin-left:18px;font-weight:inherit}.duet-collapsible-heading .duet-collapsible-heading-wrapper{display:flex;align-items:center;width:inherit;margin:inherit}.duet-collapsible-heading:focus{outline:0}:host(.user-is-tabbing) .duet-collapsible-heading: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-collapsible-heading.duet-theme-turva:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-collapsible-heading-icon{margin-right:8px !important;display:flex;align-items:center;justify-content:center;color:rgb(8, 42, 77);transition:transform 300ms ease}.duet-collapsible-heading-icon:last-child,.duet-collapsible-heading-icon:last-of-type{margin-right:0 !important}[aria-expanded=true] .duet-collapsible-heading-icon{transform:rotate(180deg)}:host(.negative) .duet-collapsible-heading,:host(.negative) .duet-collapsible-content,:host(.negative) .duet-collapsible-heading-icon{color:rgb(255, 255, 255)}";
|
|
6688
6693
|
var DuetCollapsibleStyle0 = duetCollapsibleCss;
|
|
6689
6694
|
|
|
6690
6695
|
/**
|
|
@@ -6736,6 +6741,15 @@ class DuetCollapsible {
|
|
|
6736
6741
|
return "xx-small";
|
|
6737
6742
|
}
|
|
6738
6743
|
};
|
|
6744
|
+
this.getAccessibleLabel = () => {
|
|
6745
|
+
if (this.accessibleLabel) {
|
|
6746
|
+
return this.accessibleLabel;
|
|
6747
|
+
}
|
|
6748
|
+
if (this.heading && this.caption) {
|
|
6749
|
+
return `${this.heading}. ${this.caption}`;
|
|
6750
|
+
}
|
|
6751
|
+
return this.heading || null;
|
|
6752
|
+
};
|
|
6739
6753
|
this.handleClick = (e) => {
|
|
6740
6754
|
e.preventDefault();
|
|
6741
6755
|
this.open = !this.open;
|
|
@@ -6748,6 +6762,7 @@ class DuetCollapsible {
|
|
|
6748
6762
|
this.negative = false;
|
|
6749
6763
|
this.accessibleLabel = undefined;
|
|
6750
6764
|
this.heading = "";
|
|
6765
|
+
this.caption = "";
|
|
6751
6766
|
this.headingFullWidth = false;
|
|
6752
6767
|
this.centerHeading = false;
|
|
6753
6768
|
this.headingWeight = "semibold";
|
|
@@ -6785,14 +6800,15 @@ class DuetCollapsible {
|
|
|
6785
6800
|
*/
|
|
6786
6801
|
render() {
|
|
6787
6802
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6788
|
-
return (hAsync(Host, { key: '
|
|
6803
|
+
return (hAsync(Host, { key: 'b3b56b0ff3a474d0b9a1b9b5b2b95565b928f9b6', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '2ed3aceffd3951a1fbc9753090d21571ebc4a9f7' }, hAsync("button", { key: '93e4e421bca79965a4c26138dde6de0874b40cdc', class: {
|
|
6789
6804
|
"duet-collapsible-heading": true,
|
|
6790
6805
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6791
6806
|
"duet-theme-turva": this.theme === "turva",
|
|
6792
6807
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
6793
6808
|
"has-after-heading": this.hasAfterHeading,
|
|
6794
6809
|
"full-width": this.headingFullWidth,
|
|
6795
|
-
|
|
6810
|
+
"has-caption": !!this.caption,
|
|
6811
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '0706dfe66685e90322fc67858eb923623ab2e23e', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: 'fab600633aea517fcef9f0577ea7688a8e160331', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: '1ac6f6f7cce01d02b9d09659299ed3c602a4a29e', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: '8820659046737c7f7b503b097a0ee7b99614d7b8', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '707fdeb97c4713df2d972bcf7f7612401d31aac0', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'fb1efb065f31e769c8e26c5bd608beeca76529d2', name: "after-heading" })))), this.caption && (hAsync("div", { key: 'f70e43921a71817cda88c4fafae2f2310f37ada8', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: 'd8bfc9ac8d919b39d5fe8293f926ad386102136b', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: '0500269581f8723e24e7190b3b257b3e05d682fc', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '32d7579f9d0eda1a84be85c553c3d555977d9b9c' }))));
|
|
6796
6812
|
}
|
|
6797
6813
|
get element() { return getElement(this); }
|
|
6798
6814
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -6804,6 +6820,7 @@ class DuetCollapsible {
|
|
|
6804
6820
|
"negative": [4],
|
|
6805
6821
|
"accessibleLabel": [1, "accessible-label"],
|
|
6806
6822
|
"heading": [1],
|
|
6823
|
+
"caption": [1],
|
|
6807
6824
|
"headingFullWidth": [4, "heading-full-width"],
|
|
6808
6825
|
"centerHeading": [4, "center-heading"],
|
|
6809
6826
|
"headingWeight": [1, "heading-weight"],
|
|
@@ -7410,10 +7427,10 @@ class DuetContactCard {
|
|
|
7410
7427
|
render() {
|
|
7411
7428
|
const isTurva = this.theme === "turva";
|
|
7412
7429
|
const theme = isTurva ? "turva" : "default";
|
|
7413
|
-
return (hAsync(Host, { key: '
|
|
7430
|
+
return (hAsync(Host, { key: '39a98bc5c9e4f4524ebcef1f5bceadc19a6d07e3', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'c9fb952d66118cbdf423d24d365ade9fc58e1a58', class: {
|
|
7414
7431
|
"duet-contact-card": true,
|
|
7415
7432
|
"duet-theme-turva": this.theme === "turva",
|
|
7416
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7433
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '3d916ef543989f6c535bebf7058828ea1a92e46f' }, this.name && (hAsync("duet-heading", { key: '34349d6e331e031b70d60277d71a2698e08e0d14', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '2492313d9e481579d1f9a03524d967dc4813dbb5', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '641aafcd47888ea410ede3aa54ea34084c2a0ea5', class: "email" }, hAsync("duet-icon", { key: 'bbe6aabb9b6073e2ae6ea1287188a705183fd18a', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '159ecf5a5ea43c73b3606d6cd86a9bc96d3ff20b', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '87ea068fe072eb0ec5e93c87fc22ee5d1156f216', class: "phone" }, hAsync("duet-icon", { key: 'd42e0c5a2b0b76fd4a28adbee6d2f1dae076d354', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'e20b2e84426c1105c8170c0159899443ea4b0c54', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '940d0a605a472a688396e791894bb1a1796e4978', class: "call-to-action" }, hAsync("duet-button", { key: 'b0aa2e8cc48dd5f38cabf260c0742535d778c9b2', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: 'e347fcd870d12eb413e5b3871303f69fff0dc3fe' }), hAsync("slot", { key: '9dca553d670b1fc7ea7a570afc55a5bdabd7c0a7' }))));
|
|
7417
7434
|
}
|
|
7418
7435
|
get element() { return getElement(this); }
|
|
7419
7436
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7480,7 +7497,7 @@ class DuetCookieConsent {
|
|
|
7480
7497
|
* Always the last one in the class.
|
|
7481
7498
|
*/
|
|
7482
7499
|
render() {
|
|
7483
|
-
return (hAsync(Host, { key: '
|
|
7500
|
+
return (hAsync(Host, { key: '91948660b9fab6f87923b2200960a07b864dd83f', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '0bb6143d36c29e2242d3e15c6857d38cb12a6808', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '444dfba5d496df6e6da6315372331b79b8e2a9ab', class: "duet-cookie-consent-content" }, hAsync("div", { key: 'caacc62f4d2c9d6232efd5b0741076717aed8496', class: "expand" }, hAsync("slot", { key: 'c2978a0efb145de1d841f90238425de3ca7a499b' })), hAsync("duet-spacer", { key: '6429ce669d4895c4dfdd1f1e5e15d4b87633bed2', size: "large", direction: "horizontal" }), hAsync("div", { key: '85e0b040c8248bcac1f20cba69a33737212640cc' }, hAsync("duet-button", { key: '189912399af177fd3bdd70cc061e1f3a3dd93355', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7484
7501
|
}
|
|
7485
7502
|
get element() { return getElement(this); }
|
|
7486
7503
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -7913,7 +7930,7 @@ const DatePickerMonth = ({ selectedDate, focusedDate, labelledById, theme, langu
|
|
|
7913
7930
|
} }))))))))));
|
|
7914
7931
|
};
|
|
7915
7932
|
|
|
7916
|
-
const duetDatePickerCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-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 .duet-date-button{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button::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:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva .duet-date-button:disabled{background:rgb(245, 247, 250) !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-input-has-focus .duet-date-button,.duet-theme-turva .duet-date-button:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{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{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{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{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{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 .duet-date-dialog-wrapper{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{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 .duet-date-dialog-wrapper{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table{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{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 th{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 .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{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 .duet-date-table-button{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:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva .duet-date-table-button:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today{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 .duet-date-table-button.today{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true] .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button: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 .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}:focus .duet-date-table-button{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva :focus .duet-date-table-button{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside{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 .duet-date-table-button.outside{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{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 .duet-date-dialog-select .duet-date-dialog-select-label{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 span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header{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{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header duet-label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header duet-label{display:none}}.duet-date-picker-close{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{opacity:0}}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 247, 250) !important}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-picker-close:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
7933
|
+
const duetDatePickerCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !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 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.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)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;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}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-date{position:relative;width:100%}.duet-date button,.duet-date-dialog button{max-width:initial !important;min-height:initial !important;padding:0 !important;margin:0 !important;transition:initial}.duet-date-button{-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 .duet-date-button{color:rgb(23, 28, 58);border-color:rgb(199, 202, 207)}.duet-date-button::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:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-date-button:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.duet-date-button:disabled{pointer-events:none;cursor:not-allowed;background:rgb(245, 248, 250) !important;border:0 !important}.duet-theme-turva .duet-date-button:disabled{background:rgb(245, 247, 250) !important}.duet-date-button:disabled::before{display:none}.duet-date-button:disabled duet-icon{opacity:0.4}.duet-date-button duet-icon{transform:translateY(-1px)}.duet-date-button:active duet-icon{transform:translateY(0)}.duet-date-input-has-focus .duet-date-button,.duet-date-button:focus{height:46px;color:rgb(0, 119, 179);border-color:transparent;outline:0;box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva.duet-date-input-has-focus .duet-date-button,.duet-theme-turva .duet-date-button:focus{color:rgb(23, 28, 58);box-shadow:0 0 0 2px #171c3a !important}.input-error{border-top-color:rgb(214, 28, 82);border-right-color:rgb(214, 28, 82);border-bottom-color:rgb(214, 28, 82)}.duet-date-dialog{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{right:0;left:auto;width:auto}}@media (max-width: 35.9375em){.duet-date-dialog{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{visibility:visible;opacity:1;transition-property:transform, opacity;transform:scale(1.0001) translateZ(0) translateY(0)}@media (min-width: 36em){.duet-date-dialog.error{top:calc(100% - 28px);margin-top:4px}}.duet-date-dialog-wrapper{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 .duet-date-dialog-wrapper{border-color:rgb(222, 224, 228)}@media (max-width: 35.9375em){.duet-date-dialog-wrapper{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 .duet-date-dialog-wrapper{visibility:visible;opacity:1;transition-property:transform, opacity;transform:translateZ(0) translateY(0)}}.duet-date-table{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{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 th{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 .duet-date-table-cell{text-align:center}.duet-date-table .duet-date-table-cell:focus{outline:none}.duet-date-table-button{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 .duet-date-table-button{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:hover{background:rgb(228, 241, 247) !important}.duet-theme-turva .duet-date-table-button:hover{background:rgb(255, 227, 228) !important}.duet-date-table-button.today{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 .duet-date-table-button.today{color:rgb(126, 2, 35) !important;background:rgb(255, 241, 241) !important;box-shadow:0 0 0 1px #171c3a !important}[aria-pressed=true] .duet-date-table-button,:focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179) !important;outline:0}.duet-theme-turva [aria-pressed=true] .duet-date-table-button,.duet-theme-turva :focus .duet-date-table-button{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important}.duet-date-table-button: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 .duet-date-table-button:active{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48) !important;box-shadow:0 0 5px 0 #171c3a !important}:focus .duet-date-table-button{z-index:200;box-shadow:0 0 5px 0 #0077b3 !important}.duet-theme-turva :focus .duet-date-table-button{box-shadow:0 0 5px 0 #171c3a !important}.duet-date-table-button.disabled{color:rgb(127, 150, 165) !important;cursor:default;background:transparent !important;box-shadow:none !important}.duet-theme-turva .duet-date-table-button.disabled{color:rgb(143, 147, 158) !important;background:transparent !important;box-shadow:none !important}.duet-date-table-button.outside{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 .duet-date-table-button.outside{color:rgb(143, 147, 158);background:rgb(245, 247, 250);box-shadow:none}.duet-date-dialog-header{margin-bottom:16px !important;display:flex;align-items:center;justify-content:space-between;width:100%}.duet-date-dialog-buttons{white-space:nowrap}.duet-date-dialog-buttons ::part(button){border:0}.duet-date-dialog-select{position:relative;display:inline-flex;margin-top:4px}.duet-date-dialog-select .duet-date-dialog-select-label{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 .duet-date-dialog-select .duet-date-dialog-select-label{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 span{margin-right:4px}.duet-date-dialog-select select{position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;font-size:1rem;cursor:pointer;opacity:0}.duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #0077b3 !important}.duet-theme-turva .duet-date-dialog-select select:focus+.duet-date-dialog-select-label{box-shadow:0 0 0 2px #171c3a !important}.duet-date-dialog-mobile-header{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{position:absolute;top:-8px;right:-8px;width:auto;padding:0;margin:0;overflow:visible;border:0}}.duet-theme-turva .duet-date-dialog-mobile-header{border-color:rgb(199, 202, 207)}.duet-date-dialog-mobile-header duet-label{display:inline-block;max-width:84%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media (min-width: 36em){.duet-date-dialog-mobile-header duet-label{display:none}}.duet-date-picker-close{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{opacity:0}}.duet-theme-turva .duet-date-picker-close{background:rgb(245, 247, 250) !important}.duet-date-picker-close:hover{background:rgb(245, 248, 250) !important}.duet-theme-turva .duet-date-picker-close:hover{background:rgb(245, 247, 250) !important}.duet-date-picker-close:focus{outline:none;box-shadow:0 0 0 2px #0077b3 !important}@media (min-width: 36em){.duet-date-picker-close:focus{opacity:1}}.duet-theme-turva .duet-date-picker-close:focus{box-shadow:0 0 0 2px #171c3a !important}";
|
|
7917
7934
|
var DuetDatePickerStyle0 = duetDatePickerCss;
|
|
7918
7935
|
|
|
7919
7936
|
/**
|
|
@@ -8304,13 +8321,13 @@ class DuetDatePicker {
|
|
|
8304
8321
|
if (maxDate) {
|
|
8305
8322
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
8306
8323
|
}
|
|
8307
|
-
return (hAsync(Host, { key: '
|
|
8324
|
+
return (hAsync(Host, { key: 'b6eb7023664d69420af7bdcc9b9d410982375346', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '000e37d5dc46a2e8d2c5ab5a4780ea59aa6ed464', class: "duet-date" }, hAsync(DatePickerInput, { key: 'a795ccdba4df4bddb94705bba15746eeda04ed4f', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error || this.internalValidityError || null, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: 'e83795070df263a6c4aeefb2f53caba20628bdf4', class: {
|
|
8308
8325
|
"duet-theme-turva": this.theme === "turva",
|
|
8309
8326
|
"duet-date-dialog": true,
|
|
8310
8327
|
left: this.direction === "left",
|
|
8311
8328
|
error: !!this.error,
|
|
8312
8329
|
active: this.open,
|
|
8313
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
8330
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '6d725137254f48897b66ee22de8b155bdd1b5f66', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: 'ca41ba1a3f56fa250f6a70c318bfcef6f457a51b', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: 'dae95bbfd7a1225829c488f5d7190015c75edce2', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: '843d37a548ac8bbfc1b22565734562a3aacb9a78', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '0122d3ec3999a339282c52e5b433a364e008697e', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: 'f12366ba123a38ac9ce9bab84343531cb3e2b814', margin: "none" }, this.label), hAsync("button", { key: 'c84b369fb284cadedbee1b0fc1761c81b010af1e', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: '39fa89e90167ba1af7f911be0e3ceda38aaa9641', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: '9d33b6103af64e7d894992f54981931676e0151c' }, text.closeLabel))), hAsync("div", { key: '1269835ebe9ff4b854088e6a5bf22fca79b03e16', class: "duet-date-dialog-header" }, hAsync("div", { key: '39f46ed09f80c25530b0f8ef0fce68e6abbbbe88', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: 'e40675ed1793756467a5b0ad0f143de3ff2a1e3e' }, hAsync("h2", { key: 'd550800a84cc85bfd7b6f6c1658f5f4ec69913ce', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: '65517cf98d77215c7a98f050ab9b6bb2caca4dce' }, hAsync("label", { key: 'b6252d9a3a0e7caad84964e4075fe3e9733e392e', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: 'bb09e3d3994bc9c7089723c00e743c176ee926d8', class: "duet-date-dialog-select" }, hAsync("select", { key: '1f3480d735c452a138c63f6b5de1ca37d91eaaef', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: '92172064bc12ac77ab0d718507c8e7b2ddecd71f', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '9d6d5e3488e6e94b339ccba7579529b6315e1b02' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'dafedd887fe57a186da4bf344514518d88d1233e', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: '7b0cc5e3adcdd83109ef3248ff6f8511bb90c34a' }, hAsync("label", { key: '14678c1f8035838fbdee98903a9ec0f469fea8bd', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: 'f69a4b2569e509c3da1c06d36cd4607a779adcdc', class: "duet-date-dialog-select" }, hAsync("select", { key: '1bb3587d15bc53e198e3ad6ba09856bf6c3c5ca5', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: 'e47f2ae66f07f858fb020b1e458e888f1bc4772f', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '1f8b5df03fc2df12e991094e72b16b904a9f91ef' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: '375698ec68186100de9914602f75c44d4a007ed0', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: '330f331da1d9a28496c3ac25b902a085ae17a102', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: '9b089681d3b58dd0cdbbc5a2f4f09e5f85ba1b3f', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: '25e3a263e6a550a026f54039f90b64716bf0405b', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: '8e79a5ae68e17ed6c35a91ef397c4e2d8dd4b223', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: '51b5470d35cd19e8b3af9f7694a564d8ae0bec2f', moveFocusTo: this.closeButtonNode }))));
|
|
8314
8331
|
}
|
|
8315
8332
|
get element() { return getElement(this); }
|
|
8316
8333
|
static get watchers() { return {
|
|
@@ -8390,7 +8407,7 @@ class DuetDivider {
|
|
|
8390
8407
|
*/
|
|
8391
8408
|
render() {
|
|
8392
8409
|
const background = getColorByName(this.color);
|
|
8393
|
-
return (hAsync("div", { key: '
|
|
8410
|
+
return (hAsync("div", { key: '289e5834663ce24af7c8e90958fe41d29c299d98', class: {
|
|
8394
8411
|
"duet-m-0": this.margin === "none",
|
|
8395
8412
|
"duet-m-s": this.margin === "small",
|
|
8396
8413
|
"duet-divider": true,
|
|
@@ -8575,7 +8592,7 @@ class DuetEditableTable {
|
|
|
8575
8592
|
* Render Methods
|
|
8576
8593
|
*/
|
|
8577
8594
|
render() {
|
|
8578
|
-
return (hAsync(Host, { key: '
|
|
8595
|
+
return (hAsync(Host, { key: '170a18bded5a1eefa62aabdfe9cbec40ebb9ad51', class: {
|
|
8579
8596
|
[`duet-editable-table-${this.variation}`]: true,
|
|
8580
8597
|
"duet-editable-table": true,
|
|
8581
8598
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -8585,7 +8602,7 @@ class DuetEditableTable {
|
|
|
8585
8602
|
"duet-editable-table-actions": !!this.actions,
|
|
8586
8603
|
"duet-m-0": this.margin === "none",
|
|
8587
8604
|
"duet-theme-turva": this.theme === "turva",
|
|
8588
|
-
} }, hAsync("duet-table", { key: '
|
|
8605
|
+
} }, hAsync("duet-table", { key: '2282f3b54102b8fd06bbfb8c1158e54f400a21cc', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, hAsync("table", { key: 'dda2ea49bff29277445de50a779df0434e35d620', role: this.accessibleRole }, hAsync("caption", { key: 'bb4633c4947dbfe2c9b8148688d1f03c67d94188' }, hAsync("slot", { key: '471406fee4b4173e29abf754212355814f591266', name: "tcaption" })), hAsync("thead", { key: 'f907958d599c07d6f220bc3159e8efa0ba85feb5' }, this.hasHeadSlotFirst && (hAsync("tr", { key: '32803f29a816f2abe67aa8b2dbfd99fdff7c9e5b' }, hAsync("td", { key: '634ee6e9a8b53e9610a7cbd0e5a536bcaf654207', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '444de221a86d743d36598d71fc3256c0aa16d034', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: 'a2c9f9914ab42a5421daac067472db45f6d680a7' }, hAsync("td", { key: '0edd405623af60d014f509636fad5cf2f53f86a5', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '84f0e807a4ddf22910655aad0de2dcd7fd93973c', name: "thead-last" }))))), hAsync("tbody", { key: '7b4413d38b050b69a0a71bcca7a8200d1f480d43' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: 'a7096789b2fc5615b7a9622df8de361ea486bb69' }, hAsync("tr", { key: '52afc13a557588195883a16b10b308b6c1062232' }, hAsync("td", { key: 'a231e63b19ed8c96aec86973242e07c07506547d', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: '152c200e205eb63fff18df14c4ded8ea67a340d5', name: "tfoot" })))))))));
|
|
8589
8606
|
}
|
|
8590
8607
|
get element() { return getElement(this); }
|
|
8591
8608
|
static get style() { return DuetEditableTableStyle0; }
|
|
@@ -8635,11 +8652,11 @@ class DuetEmptyState {
|
|
|
8635
8652
|
* Always the last one in the class.
|
|
8636
8653
|
*/
|
|
8637
8654
|
render() {
|
|
8638
|
-
return (hAsync(Host, { key: '
|
|
8655
|
+
return (hAsync(Host, { key: '1f6624730e50ba1915eab79ea13c33134dff9119' }, hAsync("div", { key: '066811ce2abe630a698cdc92b45e461bf50779be', class: {
|
|
8639
8656
|
"duet-empty-state": true,
|
|
8640
8657
|
"duet-theme-turva": this.theme === "turva",
|
|
8641
8658
|
"duet-is-small": this.size === "small",
|
|
8642
|
-
} }, hAsync("duet-icon", { key: '
|
|
8659
|
+
} }, hAsync("duet-icon", { key: '143baa7a70df678984547409c3d8bff636a7043c', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '000ac5797e6617cec3318a31ec186c4d9f93af0d' }, hAsync("slot", { key: '4e389d93ba161ff558782fbafe1b60a9e883f6b1' })))));
|
|
8643
8660
|
}
|
|
8644
8661
|
get element() { return getElement(this); }
|
|
8645
8662
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8695,20 +8712,20 @@ class DuetFieldset {
|
|
|
8695
8712
|
* Always the last one in the class.
|
|
8696
8713
|
*/
|
|
8697
8714
|
render() {
|
|
8698
|
-
return (hAsync(Host, { key: '
|
|
8715
|
+
return (hAsync(Host, { key: 'f6aef2c47f5c6b8e6d2c1bdb46d519f4ed458718', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'a54d512a17e071942ee5f0fabf5390e6f1bcac32', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8699
8716
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8700
8717
|
// once they do, we can remove errors from the aria-describedby
|
|
8701
8718
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8702
8719
|
class: {
|
|
8703
8720
|
"duet-fieldset": true,
|
|
8704
8721
|
"duet-theme-turva": this.theme === "turva",
|
|
8705
|
-
} }, hAsync("legend", { key: '
|
|
8722
|
+
} }, hAsync("legend", { key: 'afd55670461e38468717fa4d4c897d92333c3986', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: 'd66a45591d9ea38ece746276f752a1dc9f470060' }, this.label), this.caption && hAsync("span", { key: '2e6451284012b3f76c5ddb452e8c54c8902ba222' }, this.caption)), hAsync("div", { key: 'f4a921c9f6fad1e6bc70e5c6e50c7e17378664b7', class: {
|
|
8706
8723
|
"duet-legend-wrapper": true,
|
|
8707
8724
|
"duet-legend-has-caption": !!this.caption,
|
|
8708
8725
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8709
8726
|
"duet-legend-hidden": this.labelHidden,
|
|
8710
8727
|
"duet-legend-compact": this.compactLabel,
|
|
8711
|
-
} }, hAsync("div", { key: '
|
|
8728
|
+
} }, hAsync("div", { key: '9fb2004e0c5810ba28adbf0b2f1cf222c255f7e3', class: "duet-fieldset-label" }, hAsync("span", { key: 'd043219b465141ce2a6d6dbba38f6233560a6e3e', "aria-hidden": "true" }, this.label), hAsync("slot", { key: 'ae5535898568b419d0534a1105878d2ddb784ff8', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '6c68d9a518f408a460e2346cdc30342606cb133d', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '198623e298175cfa825ccbc9b70ba3a25f577d2a', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'a80181d8476bb6387cb5d76cce99d4617cac8734' }), hAsync("span", { key: 'be4bff117193cceb7517dbef02403f231ed3f263', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '08312b9df002b520950d3119195c811cb2504e83' }, this.error)))));
|
|
8712
8729
|
}
|
|
8713
8730
|
get element() { return getElement(this); }
|
|
8714
8731
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8852,15 +8869,15 @@ class DuetFooter {
|
|
|
8852
8869
|
render() {
|
|
8853
8870
|
const text = getLocaleString(i18n$1, this.language);
|
|
8854
8871
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8855
|
-
return (hAsync("footer", { key: '
|
|
8872
|
+
return (hAsync("footer", { key: 'c09536e13ed896c7c3eb2ce3d3b48529049a3fa8', class: {
|
|
8856
8873
|
"duet-footer": true,
|
|
8857
8874
|
"duet-m-0": this.margin === "none",
|
|
8858
8875
|
"duet-theme-turva": this.theme === "turva",
|
|
8859
8876
|
"duet-footer-simple": this.variation === "simple",
|
|
8860
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8877
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '4c6a795fb654c90c687e15b81071b76b9697548b', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: 'ddd298007bd561bd321c9c542450c74c2998da89', class: {
|
|
8861
8878
|
"duet-footer-top": true,
|
|
8862
8879
|
"duet-has-info": this.hasInfoSlot,
|
|
8863
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8880
|
+
}, part: "top" }, hAsync("div", { key: '27e2f926b9e8922978d22782c86a5e99b38c1486', class: "footer-top-logo" }, hAsync("duet-logo", { key: 'a297517a74d2d7b29d2e983829cd045cddca5682', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '3ffc24afa25aaa0c1987b9fd6ad08a352a43d6ff', class: "footer-top-right-container" }, hAsync("slot", { key: '98c0a86faf2101a5ae372e12375a76b9b812d4db', name: "info" }), hAsync("div", { key: 'f1edd105fbf081e3d85a7db3df9830520d6814f7', class: "footer-top-items" }, this.processedItems &&
|
|
8864
8881
|
this.processedItems.map((item, index) => {
|
|
8865
8882
|
var _a, _b, _c, _d, _e, _f;
|
|
8866
8883
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -8870,7 +8887,7 @@ class DuetFooter {
|
|
|
8870
8887
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
8871
8888
|
? "medium"
|
|
8872
8889
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8873
|
-
}))))), hAsync("slot", { key: '
|
|
8890
|
+
}))))), hAsync("slot", { key: '3108d57df772399e2ec83e3819a277cf877f5898', name: "extra" }), hAsync("p", { key: 'ea96247cc266efc7e209acc8281b7a207b6d8ab1', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '6f10b09142cf13f2168c4d1a37f6784167fff1f7', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: 'def1a300fe8794d3ac068b575a0e74343ddcf53d', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '88c8f59560a9d329cebcd88a6bae635a63e95681' }, this.processedMenu.map(item => (hAsync("a", { ref: element => this.setDataAttributes(element, item), href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleMenuClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label, item.external && (hAsync(Fragment, null, hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), hAsync("span", { class: "duet-footer-external" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))), hAsync("span", { class: "duet-footer-divider", role: "presentation", "aria-hidden": "true" }, "/")))))))), hAsync("p", { key: '121abcf17a5b8eb8f04e3c8ee2ffef57d725c8aa', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8874
8891
|
}
|
|
8875
8892
|
get element() { return getElement(this); }
|
|
8876
8893
|
static get watchers() { return {
|
|
@@ -9074,7 +9091,7 @@ class DuetGrid {
|
|
|
9074
9091
|
* Always the last one in the class.
|
|
9075
9092
|
*/
|
|
9076
9093
|
render() {
|
|
9077
|
-
return (hAsync(Host, { key: '
|
|
9094
|
+
return (hAsync(Host, { key: '61087a3ab642d3184a0cb007b0903780e021d05b', class: {
|
|
9078
9095
|
"duet-grid": true,
|
|
9079
9096
|
"duet-no-stacking": !this.responsive,
|
|
9080
9097
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -9101,7 +9118,7 @@ class DuetGrid {
|
|
|
9101
9118
|
"duet-grid-row-reverse": this.rowReverse,
|
|
9102
9119
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
9103
9120
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
9104
|
-
} }, hAsync("slot", { key: '
|
|
9121
|
+
} }, hAsync("slot", { key: '47742bf4547f236c38667b70243eba88739ea81d' })));
|
|
9105
9122
|
}
|
|
9106
9123
|
get element() { return getElement(this); }
|
|
9107
9124
|
static get watchers() { return {
|
|
@@ -9157,7 +9174,7 @@ class DuetGridItem {
|
|
|
9157
9174
|
* Always the last one in the class.
|
|
9158
9175
|
*/
|
|
9159
9176
|
render() {
|
|
9160
|
-
return (hAsync(Host, { key: '
|
|
9177
|
+
return (hAsync(Host, { key: '10b2af6baec36dcf39e1ea5af5efdef0e279f38f', style: {
|
|
9161
9178
|
"min-width": this.minWidth,
|
|
9162
9179
|
"max-width": this.maxWidth,
|
|
9163
9180
|
}, class: {
|
|
@@ -9174,7 +9191,7 @@ class DuetGridItem {
|
|
|
9174
9191
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
9175
9192
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
9176
9193
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
9177
|
-
} }, hAsync("slot", { key: '
|
|
9194
|
+
} }, hAsync("slot", { key: 'd5f3dfa412c5a3bdd7f9082d07f8ae2ca85a2b44' })));
|
|
9178
9195
|
}
|
|
9179
9196
|
static get style() { return DuetGridItemStyle0; }
|
|
9180
9197
|
static get cmpMeta() { return {
|
|
@@ -10006,7 +10023,7 @@ class DuetHeader {
|
|
|
10006
10023
|
}; }
|
|
10007
10024
|
}
|
|
10008
10025
|
|
|
10009
|
-
const duetHeadingCss = "*,*::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;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
10026
|
+
const duetHeadingCss = "*,*::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;display:block;width:100%}.duet-heading{margin-bottom:16px !important;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-style:normal;font-weight:800;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);text-decoration:none;text-wrap:balance;letter-spacing:-0.01rem;word-break:break-word}@media (min-width: 36em){.duet-heading{margin-bottom:20px !important}}.duet-heading.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\";font-style:italic;font-weight:700;color:rgb(23, 28, 58)}.duet-heading.duet-heading-border{padding-bottom:20px;border-bottom:1px solid rgb(212, 223, 229)}.duet-heading.duet-heading-border.duet-heading-border-solid{border-bottom-color:rgb(98, 121, 138)}.duet-heading.duet-heading-hyphenate{-webkit-hyphens:auto;hyphens:auto}.duet-heading.h0{font-size:9.4vw;line-height:1.1}.duet-heading.h0.duet-p-0{padding:0 !important}.duet-heading.h0.duet-m-0{margin:0 !important}@media (max-width: 31.914893617rem){.duet-heading.h0{font-size:3rem}}@media (min-width: 47.8723404255rem){.duet-heading.h0{font-size:4.5rem}}@media (max-width: 22.5em){.duet-heading.h0{font-size:2.25rem}}.duet-heading.h0.fixed-size{font-size:4.5rem}.duet-heading.h1{font-size:7vw;line-height:1.1}.duet-heading.h1.duet-p-0{padding:0 !important}.duet-heading.h1.duet-m-0{margin:0 !important}@media (max-width: 32.1428571429rem){.duet-heading.h1{font-size:2.25rem}}@media (min-width: 42.8571428571rem){.duet-heading.h1{font-size:3rem}}@media (max-width: 22.5em){.duet-heading.h1{font-size:1.5rem}}.duet-heading.h1.fixed-size{font-size:3rem}.duet-heading.h2{font-size:5.8vw;line-height:1.1}.duet-heading.h2.duet-p-0{padding:0 !important}.duet-heading.h2.duet-m-0{margin:0 !important}@media (max-width: 25.8620689655rem){.duet-heading.h2{font-size:1.5rem}}@media (min-width: 38.7931034483rem){.duet-heading.h2{font-size:2.25rem}}.duet-heading.h2.duet-theme-turva{font-style:normal}@media (max-width: 22.5em){.duet-heading.h2{font-size:1.375rem}}.duet-heading.h2.fixed-size{font-size:2.25rem}.duet-heading.h3{margin-bottom:12px !important;font-size:4.2vw}.duet-heading.h3.duet-p-0{padding:0 !important}.duet-heading.h3.duet-m-0{margin:0 !important}@media (max-width: 29.7619047619rem){.duet-heading.h3{font-size:1.25rem}}@media (min-width: 35.7142857143rem){.duet-heading.h3{font-size:1.5rem}}.duet-heading.h3.duet-theme-turva{font-style:normal}.duet-heading.h3.duet-heading-border{padding-bottom:20px}.duet-heading.h3.fixed-size{font-size:1.5rem}.duet-heading.h4{margin-bottom:8px !important;font-size:4vw;letter-spacing:0}.duet-heading.h4.duet-p-0{padding:0 !important}.duet-heading.h4.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h4{font-size:1.1rem}}@media (min-width: 31.25rem){.duet-heading.h4{font-size:1.25rem}}.duet-heading.h4.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h4.duet-heading-border{padding-bottom:20px}.duet-heading.h4.fixed-size{font-size:1.25rem}.duet-heading.h5{margin-bottom:8px !important;font-size:4vw;font-weight:600;letter-spacing:0}.duet-heading.h5.duet-p-0{padding:0 !important}.duet-heading.h5.duet-m-0{margin:0 !important}@media (max-width: 27.5rem){.duet-heading.h5{font-size:1.1rem}}@media (min-width: 28.4090909091rem){.duet-heading.h5{font-size:1.1363636364rem}}.duet-heading.h5.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h5.duet-heading-border{padding-bottom:16px}.duet-heading.h5.fixed-size{font-size:1.25rem}.duet-heading.h6{margin-bottom:8px !important;font-size:1rem;font-weight:600;letter-spacing:0}.duet-heading.h6.duet-p-0{padding:0 !important}.duet-heading.h6.duet-m-0{margin:0 !important}.duet-heading.h6.duet-theme-turva{font-style:normal;font-weight:700}.duet-heading.h6.duet-heading-border{padding-bottom:16px}.duet-heading.duet-normal,.duet-heading.duet-theme-turva.duet-normal{font-style:normal !important;font-weight:400 !important}.duet-heading.duet-semibold,.duet-heading.duet-theme-turva.duet-semibold{font-style:normal !important;font-weight:600 !important}";
|
|
10010
10027
|
var DuetHeadingStyle0 = duetHeadingCss;
|
|
10011
10028
|
|
|
10012
10029
|
/**
|
|
@@ -10038,7 +10055,7 @@ class DuetHeading {
|
|
|
10038
10055
|
render() {
|
|
10039
10056
|
const TagName = sanitizeString$1(this.level);
|
|
10040
10057
|
const color = getColorByName(this.color);
|
|
10041
|
-
return (hAsync(TagName, { key: '
|
|
10058
|
+
return (hAsync(TagName, { key: 'adbe366a86226640d4f10adf49a086ca946a4c00', class: {
|
|
10042
10059
|
"duet-heading": true,
|
|
10043
10060
|
"duet-heading-border": this.border !== false,
|
|
10044
10061
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -10049,7 +10066,7 @@ class DuetHeading {
|
|
|
10049
10066
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
10050
10067
|
"duet-theme-turva": this.theme === "turva",
|
|
10051
10068
|
"fixed-size": this.fixedSize,
|
|
10052
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
10069
|
+
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '387caeef0be5837581a9e16d8f2d36eb942d3f27' })));
|
|
10053
10070
|
}
|
|
10054
10071
|
get element() { return getElement(this); }
|
|
10055
10072
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -10229,7 +10246,7 @@ class DuetHero {
|
|
|
10229
10246
|
outlineColor = "color-primary-turva";
|
|
10230
10247
|
}
|
|
10231
10248
|
}
|
|
10232
|
-
return (hAsync("div", { key: '
|
|
10249
|
+
return (hAsync("div", { key: '9317af6b554aff400e94924a85274578a2557f61', role: "region", class: {
|
|
10233
10250
|
"duet-hero": true,
|
|
10234
10251
|
"duet-theme-turva": this.theme === "turva",
|
|
10235
10252
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -10247,17 +10264,17 @@ class DuetHero {
|
|
|
10247
10264
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
10248
10265
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
10249
10266
|
"duet-hero-narrow": this.layout === "narrow",
|
|
10250
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
10251
|
-
this.processedBack && (hAsync("div", { key: '
|
|
10267
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '8a7f16e42528d3f102b37ef4c6fd5d07b2c83b4c', class: "background-area" }, hAsync("div", { key: 'd1bd227d800f0b6d13132e22c04fa4fcc5f5884f', class: "background-container" }, hAsync("div", { key: 'edcf5211a0f78066a3bb20ed76a7c8c268f74032', class: "background" }, hAsync("img", { key: 'b37a6029d1eb14065fedd721bc5cc9ea79e62e29', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '87315ae16f4aac41a8dc306e8a7dc1e6e451eefa', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '280069c149060c4276fad2af8a5155a76301d8c1', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '8578f05ed6a1510d5b5db627c99037e31e403104', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '58d63a2a2148f2af164e5744dc1096b5b26a7269', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '80a4935ed2027affcfbde3555f10aea44c872355', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'd4da7b7e5bc2a773b42beec24a023e35b2d90861', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '6b0b645f0b40c965d048bd5cf460df26548c6335', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: 'cd17bafddc2c380c4ee4d5a1d34501495bb7e63c', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: 'e19d97582c2fbf1413544dd50512b28088cea6c6', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: '2f57d2fb8c42716d62a836c23113f3b3d0a103f5', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'e6ab45b59f5119dc8e256ddeec5c8a52228ad5a2', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '4f426ddcda2ff72f70e7e9a8c2c36876f8697054', class: "background-area" }, hAsync("div", { key: '045515f210fb3301f83779319fd59bb819c8bc6f', class: "background" }, hAsync("div", { key: 'da7ab6aa0276ce05e3397fa09d6f9a86237f6e98', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'da2a2a66d213946f3c214a6e268c6db5e28180f3', class: "brand-shape" }), hAsync("div", { key: '490a965865cd3ad34843ecbc209118fbb93ae6fc', class: "brand-shaped-image" }, hAsync("div", { key: '30f0436921fd2b3748881134549ec054b58a1f4d', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '15a47788256b28814a21c05a4d52a13e43e87d00', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '51c084671f6673506b670ae53a5445a7b2deea38', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: 'c5b4f38228a1a3b2dd943ac52216bb8568e308d9', class: "duet-hero-image-mask" }, hAsync("div", { key: '3a9b764eb6ffb0f803d4642dfa9ee0e0fad9e488', class: "duet-hero-image-wrapper" }, hAsync("div", { key: 'b96dd4b896cca3fea04c453dec2a382a20f61637', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
10268
|
+
this.processedBack && (hAsync("div", { key: '4c63cc49cc014a447176dc789e16637ae440c74f', class: "duet-hero-back" }, hAsync("duet-button", { key: 'b48dd641d53288bbe1f016296b4c22e7be8a4805', style: buttonStyles, variation: "plain", icon: "action-arrow-left-small", theme: this.theme, iconSize: "small", color: buttonColor, padding: "none", margin: "none", fixed: true, url: this.processedBack.href, identifier: this.processedBack.id, onClick: event => this.handleClick(event, {
|
|
10252
10269
|
label: this.processedBack.label,
|
|
10253
10270
|
href: this.processedBack.href,
|
|
10254
10271
|
id: this.processedBack.id,
|
|
10255
10272
|
analyticsId: this.processedBack.analyticsId,
|
|
10256
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
10273
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '735ddee376a35065e1bb9ca8530a1c372a20f905', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: 'ca1731a19cb5a4ac1d17943345a1affb0152256a', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'ba949b71c511676296be9383ae234c6abd6a86c2', margin: "none", class: "duet-hero-pre", size: this.variation === "content" ? "small" : "medium" }, this.preHeading ? (this.preHeading) : (hAsync("span", null, hAsync("slot", { name: "pre-heading" }))))), hAsync("slot", { key: '553bb258d5e205a1283bc39bc53cd336fb3519d8', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '32058dee96286892ae8eefae4a328a7aeea1323b', theme: this.theme, level: this.level, class: { "duet-hero-heading": true, "duet-hero-heading-has-pre": this.preHeading !== "" }, color: headingColor, visualLevel: headingVisualLevel, margin: campaignOrSection ? "none" : "auto" }, this.heading ? this.heading : hAsync("slot", { name: "heading" }))), campaignOrSection && this.hasSubHeadingSlot && (hAsync("duet-heading", { key: '0b1c4c0578a904559da018a5857e8f417d468ca0', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: '6c6e069d4fd86dedb4af90d806a69cb6e87b116d', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: 'efb4742f9bc597dbf5f42db9e3b82e61544e2031', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '2f4be86967bec69f54bba697f35ebb9dbd7909dd', theme: this.theme, "label-width": "30", breakpoint: "large", mobile: this.leftAlign ? undefined : "center" }, this.processedListItems.map(item => (hAsync("duet-list-item", null, hAsync("span", { slot: "label" }, item.label), hAsync("span", { slot: "value" }, item.value)))))), this.buttonLabel && (hAsync("duet-button", { key: '1d50ffb6aaf2c7d55f842ff25b75be397212ed58', url: this.buttonUrl, icon: this.icon, iconRight: this.iconRight, iconSize: this.iconSize, variation: buttonVariation, theme: this.theme, identifier: this.buttonId, onClick: event => this.handleClick(event, this.buttonData), fixed: true }, this.buttonLabel)), hAsync("slot", { key: '3e6319dcb6ca36841431ca04853018e443deb32d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '74d002e92ca236ad9243aa5dac125a928dbc3d7b', class: "duet-hero-links" }, this.processedActions.map(item => (hAsync("a", { class: "duet-hero-link", href: item.href, id: item.id, target: item.external ? "_blank" : "_self", onClick: event => this.handleClick(event, item) }, hAsync("div", { class: "duet-hero-action-icon" }, hAsync("duet-icon", { size: "small", margin: "none", name: item.icon, color: "currentColor", outline: outlineColor })), hAsync("span", null, item.label), item.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal), item.external && (hAsync("div", { class: "duet-hero-action-arrow" }, hAsync("duet-icon", { icon: actionNewWindowSmall.svg, size: "xx-small", margin: "none", color: "currentColor" })))))))), this.image &&
|
|
10257
10274
|
this.variation !== "image" &&
|
|
10258
10275
|
!campaignOrSection &&
|
|
10259
10276
|
this.variation !== "product" &&
|
|
10260
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
10277
|
+
this.variation !== "content" && hAsync("div", { key: 'f40babfcd77edae3e43a8460abd259fdd4c2d77f', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '4d2b296e53af9bca933e171839ac9d871a08d2df', name: "bottom" }))));
|
|
10261
10278
|
}
|
|
10262
10279
|
get element() { return getElement(this); }
|
|
10263
10280
|
static get watchers() { return {
|
|
@@ -10383,11 +10400,11 @@ class DuetIcon {
|
|
|
10383
10400
|
: {};
|
|
10384
10401
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
10385
10402
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
10386
|
-
return (hAsync(Host, { key: '
|
|
10403
|
+
return (hAsync(Host, { key: 'ba913d023fc90de87a4aeedd212ab947e32c98bc', class: {
|
|
10387
10404
|
"duet-m-0": this.margin === "none",
|
|
10388
10405
|
"duet-icon-has-outline": !!this.outline,
|
|
10389
10406
|
"duet-icon-has-background": !!this.background,
|
|
10390
|
-
} }, hAsync("span", { key: '
|
|
10407
|
+
} }, hAsync("span", { key: 'ff5089fa99e7ca86ffa923013622115e774f2df8', "aria-hidden": "true", style: styles, class: {
|
|
10391
10408
|
"duet-icon": true,
|
|
10392
10409
|
"duet-theme-turva": this.theme === "turva",
|
|
10393
10410
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10396,7 +10413,7 @@ class DuetIcon {
|
|
|
10396
10413
|
[shapeStyle]: true,
|
|
10397
10414
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10398
10415
|
"duet-icon-not-responsive": !this.responsive,
|
|
10399
|
-
} }, hAsync("span", { key: '
|
|
10416
|
+
} }, hAsync("span", { key: '1c8eea6c12ca3cc85caa5e6cdba5924737bc80ed', "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 }))));
|
|
10400
10417
|
}
|
|
10401
10418
|
get element() { return getElement(this); }
|
|
10402
10419
|
static get watchers() { return {
|
|
@@ -10911,7 +10928,7 @@ class DuetInput {
|
|
|
10911
10928
|
this.type !== "password" &&
|
|
10912
10929
|
this.type !== "time" &&
|
|
10913
10930
|
this.variation !== "button";
|
|
10914
|
-
return (hAsync(Host, { key: '
|
|
10931
|
+
return (hAsync(Host, { key: '30f2d51ce9cf22d995c492aa76cddf1763a06ba4', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: '500ec6c47a364ea47eb8d5a4878ccca8279d005c', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: '7a4605252b120f12f95b974bd36e9eb7a8d5659d', class: {
|
|
10915
10932
|
"duet-input-container": true,
|
|
10916
10933
|
"duet-theme-turva": this.theme === "turva",
|
|
10917
10934
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -10925,7 +10942,7 @@ class DuetInput {
|
|
|
10925
10942
|
"has-clear": this.clear,
|
|
10926
10943
|
"has-focus": this.isFocused,
|
|
10927
10944
|
disabled: this.disabled,
|
|
10928
|
-
} }, hAsync("div", { key: '
|
|
10945
|
+
} }, hAsync("div", { key: '0db61c868f468f44b3e0a7776e549ee6df70de74', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: '97a6188e387a1f49e302d465f00d4ed7c81784d1', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '4ec20c176c94e329898a0f248fb4b69f3ba79033', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '4d38724943676cd57a9804b773b13d0d6b9d32b5', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: 'c92ea06068811cd93aa2fa00ae0eb362456c3637', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'a7542580d3550ed8f9161b5318187af455f0b2e9', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: 'e3614b13a63f079bfdddaf2c7ee21a256793f6ec', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '7adb551b1fc88b2d26f324f3891e72587285dbe5', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), hAsync("input", Object.assign({ key: '402e4a5f8ba98a98cde01517f5de6d1da030ea99', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
10929
10946
|
"duet-input": true,
|
|
10930
10947
|
disabled: this.disabled,
|
|
10931
10948
|
"is-number": this.component === "number",
|
|
@@ -10933,16 +10950,16 @@ class DuetInput {
|
|
|
10933
10950
|
"after-chip": this.getAllChips().length > 0,
|
|
10934
10951
|
"align-right": this.inputAlign === "right",
|
|
10935
10952
|
[`input-padding-${this.inputPadding}`]: true,
|
|
10936
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
10953
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '798619aa635e7789dd4419652dcd89704c39114f', class: "duet-input-icon" }, hAsync("duet-icon", { key: '4a5df88168231feca08b81a2fd2635fd320112a9', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: 'bb4670b4ad2d2817c806250ff3d2c7b42e58ceb5', class: {
|
|
10937
10954
|
"duet-input-clear-icon": true,
|
|
10938
10955
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
10939
10956
|
"duet-input-clear-icon-double": !!this.icon,
|
|
10940
10957
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
10941
|
-
} }, hAsync("button", { key: '
|
|
10958
|
+
} }, hAsync("button", { key: '59c76b456cba12de6154d25e3a2a3262bda01061', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: 'f5cc20be9e09fef88c8513197efc8069a344f259', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '175b9fd1bb2442763e39cb1cb97e159d5901ceca', class: "duet-input-icon" }, hAsync("duet-icon", { key: '50a769358470f6e22060a0c61a771389f3c8b0cb', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: 'a07c5ccb6051d103db9c8c57473e8daefe4b9767', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: '5b042e2c7aed368dc38beb4e4d4be8c770aba69c', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
10942
10959
|
? this.hidePasswordLabel[this.language]
|
|
10943
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
10960
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: 'b4d5037e04f713694e18a084323f2a1cbda34b48' }, hAsync("span", { key: '8ca0267032a66e0b196d1cf33e4ad10c51921789', "aria-live": "polite" }, this.isPasswordRevealed
|
|
10944
10961
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
10945
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
10962
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '67d7a13c0288e43bf19523ae9378cbaf83070b60' })), hAsync("span", { key: '185873830140ac2c758297f42532c8afa12f1ac5', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '65dc92ec1a22c205ba1ba2cf56e1c32df4324e30', class: "duet-input-error" }, this.error)))));
|
|
10946
10963
|
}
|
|
10947
10964
|
get element() { return getElement(this); }
|
|
10948
10965
|
static get watchers() { return {
|
|
@@ -11111,24 +11128,24 @@ class DuetLayout {
|
|
|
11111
11128
|
* Always the last one in the class.
|
|
11112
11129
|
*/
|
|
11113
11130
|
render() {
|
|
11114
|
-
return (hAsync(Host, { key: '
|
|
11131
|
+
return (hAsync(Host, { key: '7218422a05742981b63dc1e8b29f181d753f4866', class: {
|
|
11115
11132
|
center: this.center,
|
|
11116
11133
|
"duet-middle": this.middle,
|
|
11117
11134
|
"duet-ie": isInternetExplorer(),
|
|
11118
|
-
} }, hAsync("div", { key: '
|
|
11135
|
+
} }, hAsync("div", { key: 'cf7447fd76b23d18b34fb6ee903b2763fcf250e4', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'acb4ce1658b34788d6185b8357d8f28f2631a5bc', class: {
|
|
11119
11136
|
"duet-layout-top": true,
|
|
11120
11137
|
"duet-center": this.center,
|
|
11121
|
-
} }, hAsync("div", { key: '
|
|
11138
|
+
} }, hAsync("div", { key: '726d75940090578a42eb72a0916f1fd5e2fabc31', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '1b07000c7910ef711a9bbcb264efa2ea56678278', name: "top" })))), hAsync("div", { key: 'b0befaba96f73bc0e57cecabb62029b6662ef41e', class: {
|
|
11122
11139
|
"duet-layout": true,
|
|
11123
11140
|
"has-sidebar": this.hasSidebar,
|
|
11124
11141
|
"duet-center": this.center,
|
|
11125
11142
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
11126
|
-
} }, hAsync("main", { key: '
|
|
11143
|
+
} }, hAsync("main", { key: 'c1484df68a8e58a5bb941f8024854476c07c35e5', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: 'e01015df6e7aaa17ce4d357d0c61483136f0da67', name: "page-heading" }), hAsync("slot", { key: 'e9f75c0feba0cb007c15f1df99d50aa20a08a760', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '275de6ce686959cb5a9a330710b4f14459a57eb6', class: "duet-sidebar" }, hAsync("div", { key: '6b282d8fee11ef6e150d2b79525cbfdb15413e8c', class: {
|
|
11127
11144
|
"duet-sidebar-container": true,
|
|
11128
11145
|
"has-tabs": this.tabs,
|
|
11129
11146
|
sticky: this.sticky,
|
|
11130
11147
|
[this.stickyDistance]: this.sticky,
|
|
11131
|
-
} }, hAsync("slot", { key: '
|
|
11148
|
+
} }, hAsync("slot", { key: '05f1c2bd333da745c79c863e75c1ebbbd2745995', name: "sidebar" }))))))));
|
|
11132
11149
|
}
|
|
11133
11150
|
get element() { return getElement(this); }
|
|
11134
11151
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -11270,10 +11287,10 @@ class DuetLink {
|
|
|
11270
11287
|
render() {
|
|
11271
11288
|
const Tag = !this.url ? "button" : "a";
|
|
11272
11289
|
const isButton = Tag === "button";
|
|
11273
|
-
return (hAsync(Host, { key: '
|
|
11290
|
+
return (hAsync(Host, { key: '8fc712b819ec0f95da99033d8f5e70ff50d2a33d', class: {
|
|
11274
11291
|
[`duet-link-${this.variation}`]: true,
|
|
11275
11292
|
"duet-m-0": this.margin === "none",
|
|
11276
|
-
} }, hAsync(Tag, { key: '
|
|
11293
|
+
} }, hAsync(Tag, { key: 'fc3d7a5b8c2bd18d44be23a475da66b5f4a886e1', href: this.url, class: {
|
|
11277
11294
|
"duet-link": true,
|
|
11278
11295
|
"duet-link-is-external": this.external,
|
|
11279
11296
|
"duet-link-is-download": !!this.download,
|
|
@@ -11395,7 +11412,7 @@ class DuetList {
|
|
|
11395
11412
|
* Always the last one in the class.
|
|
11396
11413
|
*/
|
|
11397
11414
|
render() {
|
|
11398
|
-
return (hAsync("dl", { key: '
|
|
11415
|
+
return (hAsync("dl", { key: 'e1c99a3ea4313763539690c8ae38611b8ebe635b', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '918fcee3a91abaeeb937560a776f11f22af358ec' })));
|
|
11399
11416
|
}
|
|
11400
11417
|
get element() { return getElement(this); }
|
|
11401
11418
|
static get watchers() { return {
|
|
@@ -11445,14 +11462,14 @@ class DuetListItem {
|
|
|
11445
11462
|
* Always the last one in the class.
|
|
11446
11463
|
*/
|
|
11447
11464
|
render() {
|
|
11448
|
-
return (hAsync(Host, { key: '
|
|
11465
|
+
return (hAsync(Host, { key: '3569cf0fab6a726538fc23cfac4bc201380594d9', class: {
|
|
11449
11466
|
"duet-no-stacking": !this.responsive,
|
|
11450
11467
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
11451
11468
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
11452
11469
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
11453
11470
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
11454
11471
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
11455
|
-
} }, hAsync("dt", { key: '
|
|
11472
|
+
} }, hAsync("dt", { key: 'dd3487c1ba2dafb84718cf94b7782660d9373bc6' }, hAsync("slot", { key: '32ea82913c63caab905b8c9725a77ab7091d44ce', name: "label" })), hAsync("dd", { key: 'e0dee0bceb289d0134820ef951d0c5202a1080f4' }, hAsync("slot", { key: 'e5570466329cf196c13cb36b2999c4094017713f', name: "value" }))));
|
|
11456
11473
|
}
|
|
11457
11474
|
static get style() { return DuetListItemStyle0; }
|
|
11458
11475
|
static get cmpMeta() { return {
|
|
@@ -11545,7 +11562,7 @@ class DuetLogo {
|
|
|
11545
11562
|
*/
|
|
11546
11563
|
render() {
|
|
11547
11564
|
const TagName = this.href ? "a" : "div";
|
|
11548
|
-
return (hAsync(Host, { key: '
|
|
11565
|
+
return (hAsync(Host, { key: '333d34ee98d57ba47a801761a275852962d33dfb', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'c4eb5b2578fa0ebb2ca8ac5519dedbe53d494ef1', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11549
11566
|
"duet-logo": true,
|
|
11550
11567
|
[this.size]: true,
|
|
11551
11568
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11723,14 +11740,14 @@ class DuetMenuBar {
|
|
|
11723
11740
|
render() {
|
|
11724
11741
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11725
11742
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11726
|
-
return (hAsync(Host, { key: '
|
|
11743
|
+
return (hAsync(Host, { key: '4c14c6c4303d1ce9dfb4460ce71a9baab57e7972' }, hAsync("nav", { key: '0f976a3757ecf00685bcf5be4d5f34c851cb6fe9', class: {
|
|
11727
11744
|
"duet-menu-bar": true,
|
|
11728
11745
|
"duet-theme-turva": this.theme === "turva",
|
|
11729
11746
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11730
11747
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11731
11748
|
hidden: this.hidden && this.hideOnScroll,
|
|
11732
11749
|
bottom: this.onBottom,
|
|
11733
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11750
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '9e745e5fc21e8c4541f5231f34e437e1dfb41d0e', class: "top" }), hAsync("div", { key: 'd3b52c054d9793cad8b3523ddd13c531a7253d2b', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'd6cf3454ca9178b46e9c2afcfe3b951fc23a9f8a' }, hAsync("duet-logo", { key: '811a33c0b0d0e52d9d38602e970d2e2bade5f527', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '23426b2b29e9765da3952d10a2fbcf3ae9257239', class: "list center", role: "list" }, hAsync("div", { key: '1efffb3eba8ec62d510be4b0de6f91b847a06a50', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '3f8f4e93a960452c9965bedfdb96a9eb33225565', name: "center" }), hAsync("div", { key: '8fb904825c12a5c19e8a9db21968fe381517c60b', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'b61f3351ccde5fdc98ca42f2fbffc55c8ebfe154', class: "list right", role: "list" }, hAsync("slot", { key: 'f030c4eebee43c6e29422b7794b4c04ed2bc2d6d', name: "right" }))), hAsync("div", { key: 'f7b272e273c0eae005bfb74456d1979c1b165f8f', class: "bottom" }))));
|
|
11734
11751
|
}
|
|
11735
11752
|
get element() { return getElement(this); }
|
|
11736
11753
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11797,10 +11814,10 @@ class DuetMenuBarButton {
|
|
|
11797
11814
|
* Always the last one in the class.
|
|
11798
11815
|
*/
|
|
11799
11816
|
render() {
|
|
11800
|
-
return (hAsync(Host, { key: '
|
|
11817
|
+
return (hAsync(Host, { key: '6f75ab90994003945faaf606213177956d65b5a7', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '259db22bec0d03f4c8f68529b35927af44655cec', ref: button => (this.nativeButton = button), class: {
|
|
11801
11818
|
"duet-menu-bar-button": true,
|
|
11802
11819
|
"duet-theme-turva": this.theme === "turva",
|
|
11803
|
-
}, "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: '
|
|
11820
|
+
}, "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: 'c2182470252c2c09577655c562a32e2515383c4f', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '18d7084e040b500c7558ea574bc5a6cf43a036d0' }))));
|
|
11804
11821
|
}
|
|
11805
11822
|
get element() { return getElement(this); }
|
|
11806
11823
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11883,17 +11900,17 @@ class DuetMenuBarDropdown {
|
|
|
11883
11900
|
* Always the last one in the class.
|
|
11884
11901
|
*/
|
|
11885
11902
|
render() {
|
|
11886
|
-
return (hAsync(Host, { key: '
|
|
11903
|
+
return (hAsync(Host, { key: 'f2ae6a8b45e78de018708287c1ec61b7648af786', role: "listitem" }, hAsync("div", { key: 'af551d08605c82f1f1cda7b81c99081152dd4678', class: {
|
|
11887
11904
|
"duet-menu-bar-dropdown": true,
|
|
11888
11905
|
"duet-theme-turva": this.theme === "turva",
|
|
11889
11906
|
active: this.open,
|
|
11890
11907
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11891
|
-
} }, hAsync("button", { key: '
|
|
11908
|
+
} }, hAsync("button", { key: 'c98ba81cf3d27c93922378a1ed42c6795e5560f7', 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: {
|
|
11892
11909
|
active: this.open,
|
|
11893
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11910
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '68312f16c0510c96693965ebdee514b9ab58ae29', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'f877d5f7298eaae83f061306be1e61b358017e47', class: "label" }, hAsync("slot", { key: '1e9e1ddda50dd7be9204235502c5541477d2b26c', name: "label" }), hAsync("duet-icon", { key: '60a75a216d897ae68c78146adaa4b17fa7220ea5', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'ac48d2e83152837d5865559c85987640751033b7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11894
11911
|
items: true,
|
|
11895
11912
|
hidden: !this.open,
|
|
11896
|
-
} }, hAsync("slot", { key: '
|
|
11913
|
+
} }, hAsync("slot", { key: 'c423d7b527bc674cc8fcf895ef228ab3dcc14c27' })))));
|
|
11897
11914
|
}
|
|
11898
11915
|
get element() { return getElement(this); }
|
|
11899
11916
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11953,11 +11970,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11953
11970
|
* Always the last one in the class.
|
|
11954
11971
|
*/
|
|
11955
11972
|
render() {
|
|
11956
|
-
return (hAsync(Host, { key: '
|
|
11973
|
+
return (hAsync(Host, { key: 'b39d6abeefb119284682cca93010dbe3de43db7c' }, hAsync("a", { key: '74baeaeef4fd9523c156b10c62e4fd783869b541', class: {
|
|
11957
11974
|
"duet-menu-bar-dropdown-link": true,
|
|
11958
11975
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11959
11976
|
"duet-theme-turva": this.theme === "turva",
|
|
11960
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11977
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '9893a49e6d869071ab120a38392e6d8b192a3ba4', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '4cf3bc62d7951ed784aae771602e15f03e4d2e92' }))));
|
|
11961
11978
|
}
|
|
11962
11979
|
get element() { return getElement(this); }
|
|
11963
11980
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -12021,11 +12038,11 @@ class DuetMenuBarItem {
|
|
|
12021
12038
|
*/
|
|
12022
12039
|
render() {
|
|
12023
12040
|
const TagName = this.url ? "a" : "button";
|
|
12024
|
-
return (hAsync(Host, { key: '
|
|
12041
|
+
return (hAsync(Host, { key: 'be2ac6c17db91d8f654fd1e4db67e762ff9f351f', role: "listitem" }, hAsync(TagName, { key: '4780ca4c189bbaa5168f119852c80c8c73893cab', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
12025
12042
|
"duet-menu-bar-item": true,
|
|
12026
12043
|
"duet-theme-turva": this.theme === "turva",
|
|
12027
12044
|
active: this.active,
|
|
12028
|
-
}, 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: '
|
|
12045
|
+
}, 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: '2c737fc960440322ea9a8c6948043da1c720f111', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '6315635508b240d5cccd6a68a766ca93dadadcfc' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '914d56c5769b607d79727925e4a24f0ac9adc3e8', class: {
|
|
12029
12046
|
"trailing-icon": !!this.trailingIcon,
|
|
12030
12047
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
12031
12048
|
"external-icon": !!this.external,
|
|
@@ -12080,11 +12097,11 @@ class DuetMenuBarLink {
|
|
|
12080
12097
|
* Always the last one in the class.
|
|
12081
12098
|
*/
|
|
12082
12099
|
render() {
|
|
12083
|
-
return (hAsync(Host, { key: '
|
|
12100
|
+
return (hAsync(Host, { key: '73fa38bbe6bd2a1ab5c43148c47183a41cc149a2', role: "listitem" }, hAsync("a", { key: 'b0066b2b752490798a03ec6481c87ba9b0172509', class: {
|
|
12084
12101
|
"duet-menu-bar-link": true,
|
|
12085
12102
|
"duet-theme-turva": this.theme === "turva",
|
|
12086
12103
|
active: this.active,
|
|
12087
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
12104
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '58c53cacc9c3350d819ded713740f6145534ec14', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '9c3f4910e64a251b3d28cc1bc7da48fea680b3f6' }))));
|
|
12088
12105
|
}
|
|
12089
12106
|
get element() { return getElement(this); }
|
|
12090
12107
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -12335,18 +12352,18 @@ class DuetModal {
|
|
|
12335
12352
|
var _a, _b;
|
|
12336
12353
|
let iconColor = "primary";
|
|
12337
12354
|
let closeColor = "secondary";
|
|
12338
|
-
const closingButton = (hAsync("div", { key: '
|
|
12355
|
+
const closingButton = (hAsync("div", { key: '12d0600dd47ad71b53d67e07b03f4f21b8d1676e', class: "duet-modal-close" }, hAsync("duet-button", { key: '3e7e6c2de9c2bb1953cb9795650b44b289751ff1', ref: button => (this.buttonEl = button), variation: "plain", accessibleLabel: this.accessibleCloseLabel, color: closeColor, iconSize: "large", icon: "navigation-close", iconOnly: true, margin: "none", theme: this.theme, onClick: ev => this.closeModal(ev), fixed: true })));
|
|
12339
12356
|
if (this.theme === "turva") {
|
|
12340
12357
|
iconColor = "primary-turva";
|
|
12341
12358
|
closeColor = "secondary-turva";
|
|
12342
12359
|
}
|
|
12343
|
-
return (hAsync("div", { key: '
|
|
12360
|
+
return (hAsync("div", { key: 'e2d3037d4a7c15fa4d8d9c3163a56b9e7cf0fbdc', ref: modal => (this.modalEl = modal), "aria-label": (_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.heading, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-describedby": this.accessibleDescribedBy, role: this.variation === "loader" ? "alert" : "dialog", "aria-modal": this.isSafariBrowser ? false : true, tabindex: "-1", class: {
|
|
12344
12361
|
"duet-modal-container": true,
|
|
12345
12362
|
"duet-theme-turva": this.theme === "turva",
|
|
12346
12363
|
"duet-modal-active": this.open,
|
|
12347
12364
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
12348
12365
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12349
|
-
} }, hAsync("duet-overlay", { key: '
|
|
12366
|
+
} }, hAsync("duet-overlay", { key: '976c237ef7d725ddf14da1239317a71b423a0c10', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '7799b43bbf0ca9e3c99eefe055de532d3245bc12', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
12350
12367
|
"duet-modal-inner": true,
|
|
12351
12368
|
[this.size]: true,
|
|
12352
12369
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -12357,18 +12374,18 @@ class DuetModal {
|
|
|
12357
12374
|
this.closeModal(e);
|
|
12358
12375
|
}
|
|
12359
12376
|
}
|
|
12360
|
-
} }, hAsync("div", { key: '
|
|
12377
|
+
} }, hAsync("div", { key: '1bbd6a5de7f1825247c3b5b5b39699d3e9f2878c', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
12361
12378
|
"duet-modal": true,
|
|
12362
12379
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12363
12380
|
[this.size]: true,
|
|
12364
12381
|
[this.variation]: true,
|
|
12365
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
12382
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '97704800433d96483426cee10199d9b4f1aef6ca' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '5adeac36992b90facc4e0a4b6e1c8142dad400be', class: {
|
|
12366
12383
|
"duet-modal-body": true,
|
|
12367
12384
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
12368
12385
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
12369
12386
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
12370
12387
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
12371
|
-
} }, hAsync("div", { key: '
|
|
12388
|
+
} }, hAsync("div", { key: '5b5e690c58eb853d61c47423546b40942b5b72f8', class: "duet-modal-header" }, hAsync("span", { key: '4e9f14358805f29720b24697c40a337ffcddd996', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '09e527317ab1fc7d2df380b347b763f10455f11b', name: "top" })), this.icon && hAsync("duet-icon", { key: '7918bb0b133f11223d78e317cedb3bd5fd66af61', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '17e29ab216102ebab742419a60045da93c8e1cae', "visual-level": (_b = this.headingVisualLevel) !== null && _b !== void 0 ? _b : this.headingLevel, level: this.headingLevel, theme: this.theme }, this.heading))), this.variation === "loader" && (hAsync("div", { key: '8a8d1033e6701d1aa6dcfbfbeac3b70bdf3c4bf5', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '30560762720fe600c0fc37dff777d0fdb8d045ff', size: "large", color: "primary" }))), hAsync("div", { key: '7f9c15fd58424d32ffb007dff3bb70b1be0776b1', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '9c0d0cf9ef3af041a099ecf34383fe295da3892e' })))))));
|
|
12372
12389
|
}
|
|
12373
12390
|
get element() { return getElement(this); }
|
|
12374
12391
|
static get watchers() { return {
|
|
@@ -12633,23 +12650,23 @@ class DuetMultiselect {
|
|
|
12633
12650
|
*/
|
|
12634
12651
|
render() {
|
|
12635
12652
|
var _a;
|
|
12636
|
-
return (hAsync(Host, { key: '
|
|
12653
|
+
return (hAsync(Host, { key: '5d017a79aadce631aa5c9251872a182a0e491015', class: {
|
|
12637
12654
|
"duet-m-0": this.margin === "none",
|
|
12638
12655
|
"duet-expand": this.expand,
|
|
12639
|
-
} }, hAsync("div", { key: '
|
|
12656
|
+
} }, hAsync("div", { key: 'b875be7a1e4421072693bc6ee8778a32159eb094', class: {
|
|
12640
12657
|
"duet-multiselect-container": true,
|
|
12641
12658
|
"duet-label-hidden": this.labelHidden,
|
|
12642
12659
|
"duet-theme-turva": this.theme === "turva",
|
|
12643
12660
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12644
12661
|
"has-error": !!this.error,
|
|
12645
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
12662
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: 'e0147745416105b9bff568c52e136e716269aa8e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: this.identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'd6ffc795317baa390e5bb6f811364331d8d7b440', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'b6854970107c5b14ae38cc396d03b06d3ad84c53', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'fb29c0a8623e29564a7d862ab8984ca70025ce29', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '6f1645115046a6e76121205634b070de17abfa2e', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '08e87a02ca938e9a5e2c01c82f058828572dc3ae', id: this.identifier, ref: el => (this.multiselectElement = el), class: { "duet-multiselect": true, "duet-multiselect-active": this.checkboxesVisible }, tabindex: "0", onClick: () => this.toggleCheckboxes(), onFocus: e => this.onFocus(e), onBlur: e => this.onBlur(e), role: "combobox", "aria-expanded": this.checkboxesVisible ? "true" : "false", "aria-haspopup": "listbox", "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-owns": `${this.identifier}-checkboxes`, onKeyDown: (e) => this.onMultiselectInputKeyDown(e), disabled: this.disabled }, hAsync("span", { key: 'af006372492c64cb96b5bce439334233f0e55440', role: "textbox", "aria-readonly": "true", "aria-multiline": "false", "aria-autocomplete": "none", "aria-controls": `${this.identifier}-checkboxes`, "aria-label": this.placeholderLabel[this.language], class: "duet-multiselect-label" }, this.placeholder), this.value && this.value.length > 0 && (hAsync("span", { key: 'a181e326d65edc70e509978fd407e12e05dc0c07', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: 'fb64529244f7a615752ab433ed20480ecfc44c29' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: 'dc8bfcf2b11fe884eea40065098c455bf75c6e04', class: { "duet-multiselect-icon": true, "duet-multiselect-icon--rotate": this.checkboxesVisible }, fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'fbf8716bb708f7c4b3e27704adfa765e80c32291', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" }))), hAsync("div", { key: '3bb0b8f59ba18dda12e5255d2ba998850e83f2af', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12646
12663
|
"duet-multiselect-checkboxes": true,
|
|
12647
12664
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12648
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12665
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: 'bcaf6d6270e60955e821862802e6c4a002924558', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '5c5b09d605e7e747f749badeb8ecec5e3276eafb', class: "duet-multiselect-select-all", onClick: this.handleSelectAllClick, id: this.getOptionIdentifier(-2), onKeyDown: (e) => this.onCheckboxKeyDown(e, -2) }, this.selectAllLabel[this.language]), hAsync("button", { key: '474904c95ec11ca07d787d8230f713a4bf4f1bea', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12649
12666
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12650
12667
|
var _a, _b;
|
|
12651
12668
|
return (hAsync("duet-checkbox", { identifier: this.getOptionIdentifier(key), role: "option", label: item.label, value: item.value, key: item.value, checked: (_a = this.value) === null || _a === void 0 ? void 0 : _a.includes(item), "accessible-selected": ((_b = this.value) === null || _b === void 0 ? void 0 : _b.includes(item)) ? "true" : undefined, disabled: !this.checkboxesVisible || item.disabled, onDuetChange: e => this.toggleCheckbox(e, item), onKeyDown: (e) => this.onCheckboxKeyDown(e, key), theme: this.theme }));
|
|
12652
|
-
})))))), hAsync("span", { key: '
|
|
12669
|
+
})))))), hAsync("span", { key: '3e4534b685beb3eb865b792f449b88b9b94ceba2', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '07fb86b8e0a2a18ddfb5697cd214411c81adad80' }, this.error)))));
|
|
12653
12670
|
}
|
|
12654
12671
|
get element() { return getElement(this); }
|
|
12655
12672
|
static get watchers() { return {
|
|
@@ -12718,7 +12735,7 @@ class DuetNav {
|
|
|
12718
12735
|
* Always the last one in the class.
|
|
12719
12736
|
*/
|
|
12720
12737
|
render() {
|
|
12721
|
-
return (hAsync(Host, { key: '
|
|
12738
|
+
return (hAsync(Host, { key: '2c03379783619c25bf1a1896d5901373dd417734' }, hAsync("div", { key: 'ddc6fae5174e7dd79df64ce41a01f3347ea92413', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '48dffb7720542cebf6e1f4a8e110ebbc110670e6' }), hAsync("slot", { key: '6ab8b61c898ed50369224bbea740a37318deff01', name: "mobile" }), hAsync("slot", { key: 'ee8ccd38a284bc220ed533e78f76009bc5234333', name: "desktop" }))));
|
|
12722
12739
|
}
|
|
12723
12740
|
get element() { return getElement(this); }
|
|
12724
12741
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12777,11 +12794,11 @@ class DuetNotification {
|
|
|
12777
12794
|
this.linkElement.focus(options);
|
|
12778
12795
|
}
|
|
12779
12796
|
render() {
|
|
12780
|
-
return (hAsync("div", { key: '
|
|
12797
|
+
return (hAsync("div", { key: '5cb0c4c6bc826e292ff1e666fa51f468e93fd0e1', role: "listitem", class: {
|
|
12781
12798
|
"duet-notification": true,
|
|
12782
12799
|
"duet-notification-highlight": this.highlight,
|
|
12783
12800
|
"duet-theme-turva": this.theme === "turva",
|
|
12784
|
-
} }, hAsync("a", { key: '
|
|
12801
|
+
} }, hAsync("a", { key: 'fbffe9a2754428d30ec66b88640e365d2073c8b7', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '0fac71553225edaf964a46529e4a45a800ea4cfe', class: "duet-notification-container" }, hAsync("div", { key: '57f79649f38d7f728257019b7f1e6818dbbff7f8', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'faf1346775bae9263da603fdc346ef3bc891dc11', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '27157c7f34075c2a7255611c7b375a88c6ba572a' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '15b30893e3f39f29e77c8c6f430d28481ae62215', class: "duet-notification-content" }, hAsync("slot", { key: 'fcb2eac6c69d57425d278270514c62c3d8fd1228' })), hAsync("div", { key: 'aad0535eeb257c822f0762915d9160e6cd522fc4', class: "duet-notification-date" }, this.date)))));
|
|
12785
12802
|
}
|
|
12786
12803
|
get element() { return getElement(this); }
|
|
12787
12804
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12899,10 +12916,10 @@ class DuetNotificationDrawer {
|
|
|
12899
12916
|
* Always the last one in the class.
|
|
12900
12917
|
*/
|
|
12901
12918
|
render() {
|
|
12902
|
-
return (hAsync("div", { key: '
|
|
12919
|
+
return (hAsync("div", { key: 'cd4e6b527b0e2f7953969021f8438f2f86b01b3d', class: {
|
|
12903
12920
|
"duet-drawer": true,
|
|
12904
12921
|
"duet-theme-turva": this.theme === "turva",
|
|
12905
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12922
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'c3ae8bcf17188593df34431967d2371a40783ffc', ref: el => (this.drawerButtonEl = el), type: "button", class: "duet-drawer-toggle", id: "duet-drawer-toggle", "aria-controls": "duet-drawer-content", "aria-expanded": this.isOpen ? "true" : "false", onClick: this.toggleMenu }, this.icon && (hAsync("div", { key: '23679cbfbbc510f4be0b0627e9e62c2eeede3d53', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '44a2f4501558f1c1606b2dd824da09ef29fbdc06', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: 'a86ee2afbfe08de83f1490d3a975336228ce939a', class: "duet-drawer-badge" }))), hAsync("span", { key: 'df792c009c2b2d37011a01691ddd831238109a77', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '774e310c6e9263b438df99dafdcb2c9e381a078c', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '28efba90ced1b7daf0dbd75f75ff174c9276838c', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '038e12f34d6a437643b2ae6c3d62846c7ff10984', id: "duet-drawer-content", class: {
|
|
12906
12923
|
"duet-drawer-content": true,
|
|
12907
12924
|
"duet-drawer-right": this.direction === "right",
|
|
12908
12925
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -13289,11 +13306,11 @@ class DuetNumberInput {
|
|
|
13289
13306
|
const identifier = this.identifier || this.inputId;
|
|
13290
13307
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
13291
13308
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
13292
|
-
return (hAsync(Host, { key: '
|
|
13309
|
+
return (hAsync(Host, { key: '8093a1d061b11762890e8316f35f3aadbb4314d3', class: {
|
|
13293
13310
|
"duet-theme-turva": this.theme === "turva",
|
|
13294
13311
|
"duet-expand": this.expand,
|
|
13295
13312
|
"duet-m-0": this.margin === "none",
|
|
13296
|
-
} }, hAsync("div", { key: '
|
|
13313
|
+
} }, hAsync("div", { key: '0bb70d7bec69c413f6615987e535327bc2c44bbd', class: "duet-number-container" }, hAsync("duet-input", { key: 'a982640544b7be253b5d8c66d8a67ea55293438a', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: 'c16ccee69695abcdb5385552dc28cb701e20d340', name: "tooltip" }), hAsync("div", { key: 'e59ef878a5a4237f7955df5aa74ed0f369796fc5', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: 'a9ad3cff4c5393368dce5983d16ef740b7d2f57d', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: '29db7b9642afb66860b3f5c7951192aa6890a77b' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: '2d3351ce5f1246e8f91ab4f94937ba522b8c7b7a', icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: 'd01ef0e639112dff95d22e3df9e9efc1cc5ba478', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: '08371480b73665e20caa60b21a35180e9536f0e2' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: 'c773a6ff733534fabc60fdce53a157a9935e6a2b', icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '5eefd62f3963ed1f71c3419f8d80110f98f68f74', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
13297
13314
|
}
|
|
13298
13315
|
get element() { return getElement(this); }
|
|
13299
13316
|
static get style() { return DuetNumberInputStyle0; }
|
|
@@ -13382,7 +13399,7 @@ class DuetOverlay {
|
|
|
13382
13399
|
* Always the last one in the class.
|
|
13383
13400
|
*/
|
|
13384
13401
|
render() {
|
|
13385
|
-
return (hAsync(Host, { key: '
|
|
13402
|
+
return (hAsync(Host, { key: 'e78292bc58b3d6983aa2db68149622528d66310b', "aria-hidden": "true" }, hAsync("div", { key: '210906eeeedaa5e72de0e8550e4388b3cef81fb4', style: { zIndex: this.zIndex }, class: {
|
|
13386
13403
|
"duet-overlay": true,
|
|
13387
13404
|
"duet-theme-turva": this.theme === "turva",
|
|
13388
13405
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -13452,12 +13469,12 @@ class DuetPageHeading {
|
|
|
13452
13469
|
*/
|
|
13453
13470
|
render() {
|
|
13454
13471
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
13455
|
-
return (hAsync("div", { key: '
|
|
13472
|
+
return (hAsync("div", { key: '152ee6f6f1a2a36ba50aee739a2d817926df7ec5', class: {
|
|
13456
13473
|
"duet-page-heading": true,
|
|
13457
13474
|
"duet-theme-turva": this.theme === "turva",
|
|
13458
13475
|
"has-icon": !!this.icon,
|
|
13459
13476
|
[layout]: true,
|
|
13460
|
-
} }, hAsync("div", { key: '
|
|
13477
|
+
} }, hAsync("div", { key: 'cf94b7d96aa84b199c3305f87fd7f5aea75c636a', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'bc6454145abcf5866532af36b86f290df01e4fc8', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '784a8c8f8f96b5b55d86d214e6416e3382a7b79e', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '3579cdd426a40669fbb50b9061afb8c51862a0e5', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '1fe4153cc54abc237ae95bd197df2abc9316025a', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'a4e657399bf9719dd135876080dc39158a7b1992', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '9cdaa8b59eb3894f28ef622e5d668adbed21ec03', class: "heading" }, hAsync("slot", { key: '54ac00758edab7d18ba951e5557d9c2e4ebdff2e', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '859931ec912d1857c91f23f430f81aff8ed62540' }, hAsync("duet-spacer", { key: '52330c774aca72a1e379a2f17b9ce28467d77700', size: "large" }), hAsync("div", { key: '708c706e2949fe40cb250003f52d67e948405ec2', role: "presentation" }, this.progressIndicator()))))));
|
|
13461
13478
|
}
|
|
13462
13479
|
get element() { return getElement(this); }
|
|
13463
13480
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13812,32 +13829,32 @@ class DuetPagination {
|
|
|
13812
13829
|
* Always the last one in the class.
|
|
13813
13830
|
*/
|
|
13814
13831
|
render() {
|
|
13815
|
-
return (hAsync(Host, { key: '
|
|
13832
|
+
return (hAsync(Host, { key: '449300e925c6e0f4b9683b2f9de2d2da3cfde6df', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '88a063b0659badefc26f60d6f9da8a1a65361312', role: "navigation", "aria-labelledby": this.accessibleLabelledBy ? `${this.accessibleLabelledBy} ${this.listId}` : this.listId, "aria-describedby": this.accessibleDescribedBy ? `${this.accessibleDescribedBy} ${this.listId}` : this.listId, "aria-descriptions": this.accessibleDescription, "aria-details": this.accessibleDetails, ref: el => (this.nativeNav = el), "aria-controls": this.ariaControls, class: {
|
|
13816
13833
|
"duet-pagination-nav": true,
|
|
13817
13834
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13818
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13835
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: '9464743e61860868dddc9be141f020fc7c1e417e', "aria-live": "assertive", "aria-relevant": "text", class: "duet-pagination-overlay", "aria-label": `${this.accessibleLabels.jump_to} ${this.numbersStore}`, part: "navigation-overlay" }, hAsync("duet-badge", { key: 'b646cbc19b45867567148f1511a6810328c6c409', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '1f0e1b5ca2a7b27ad9ecc06ba8f1d558a1664a31', id: this.listId, class: {
|
|
13819
13836
|
"duet-pagination": true,
|
|
13820
13837
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13821
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13838
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '776b63a83cee29edc126dab88fefb5a86aa45a2f', class: {
|
|
13822
13839
|
"duet-pagination-page-button": true,
|
|
13823
13840
|
"duet-pagination-button-first": true,
|
|
13824
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13841
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'b9b3c00bd00813ad6f610d9f0a33d4713c65165d', disabled: (this.internalSectionIndex === 0 && this.current <= 1) || this.disabled, "data-direction": "back", accessibleLabel: this.accessibleLabels.first_page, title: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), "icon-name": "action-move-to-first", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }))), hAsync("li", { key: '41fa9271eebd307d67791c6671f898738d02614f', class: {
|
|
13825
13842
|
"duet-pagination-page-button": true,
|
|
13826
13843
|
"duet-pagination-button-first": true,
|
|
13827
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13844
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '9625be7391a1c4498117644c382101f181a46cc4', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13828
13845
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13829
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13830
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13846
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'a80187a03cdab00117d96036acd3ca33d4c34a5f' }, hAsync("li", { key: 'c4015c0ae15c5b28c63d5227a328ae11d5c1ae3f', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '78456ddf3a387c486d7740afb20133cba49d5987', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-back", "center-text": "true", variation: "plain", color: this.theme !== "turva" ? "secondary" : "secondary-turva", margin: "none", accessibleLabel: this.accessibleLabels.first_page, onClick: e => this.jumpToStart(e), theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[0] : undefined }, hAsync("div", { key: 'd8268f8d9d15b500166ec843cc069e437f561a53', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '9029fdef07b0dee5f81f967d57231c0a2a6ea64b', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '33415416248c285c99b2540443684d32bd36a973', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-back", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.prev_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, -1), theme: this.theme }, hAsync("div", { key: 'd652742e05db9b4e3c94c3fdc0ecc2501b2194a0', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13847
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '3e116f6f5ad9e674f0d0ebb1a3c19a2ae3c6cb9c' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: '080dec831309a52dd2f3125c43938b600cd89549', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'b53fb49a214247bacd11b604eee45d715099b63b', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-dots-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.next_section.replace("{0}", `${this.visibleItems}`), onClick: e => this.sectionClickHandler(e, 1), theme: this.theme }, hAsync("div", { key: '0b9394a0812fcfebbd1932fb08f95661561c5539', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '6345044085eda43da59db094041f39fec2d4d16a', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'dc08fab187e6468e7d19cfdd4c12d1af69f922e6', disabled: this.disabled, class: "duet-pagination-link duet-pagination-link-jump-forward", "center-text": "true", color: this.theme !== "turva" ? "secondary" : "secondary-turva", variation: "plain", margin: "none", accessibleLabel: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), theme: this.theme, url: this.processedPageLinks
|
|
13831
13848
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13832
|
-
: undefined }, hAsync("div", { key: '
|
|
13849
|
+
: undefined }, hAsync("div", { key: '2c20e47c2f6bf96975d244733874173dea10e0a6', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: 'f67a8f288896785be77eb3951195c94ed1d75d75', class: {
|
|
13833
13850
|
"duet-pagination-page-button": true,
|
|
13834
13851
|
"duet-pagination-button-last": true,
|
|
13835
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13852
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '9cbba60ce9baa1e4cc33a07a3250d72d44c2fe5f', disabled: !!((this.current === this.totalPages &&
|
|
13836
13853
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13837
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13854
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '3f0f55d1d85abe02331e1112737b39dbbb40ac29', class: {
|
|
13838
13855
|
"duet-pagination-page-button": true,
|
|
13839
13856
|
"duet-pagination-button-last": true,
|
|
13840
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13857
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '666860a5ae40ae73e220ad133e7707c989f77ae2', disabled: (this.current === this.totalPages &&
|
|
13841
13858
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13842
13859
|
this.disabled, accessibleLabel: this.accessibleLabels.last_page, title: this.accessibleLabels.last_page, onClick: e => this.jumpToEnd(e), "icon-name": "action-move-to-last", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.totalPages - 1] : undefined })))))));
|
|
13843
13860
|
}
|
|
@@ -13911,7 +13928,7 @@ class DuetParagraph {
|
|
|
13911
13928
|
const color = getColorByName(this.color);
|
|
13912
13929
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13913
13930
|
// are not announced when placed inside duet-modal
|
|
13914
|
-
return (hAsync(Host, { key: '
|
|
13931
|
+
return (hAsync(Host, { key: 'c0d43b4c51f0baef2d36d77b58e6e943dd5da15e', "aria-describedby": this.id }, hAsync("p", { key: '4a7810a0c5d55a76d2174900bcde30a7aa9fa5eb', id: this.id, class: {
|
|
13915
13932
|
"duet-paragraph": true,
|
|
13916
13933
|
"duet-paragraph-small": this.size === "small",
|
|
13917
13934
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13919,7 +13936,7 @@ class DuetParagraph {
|
|
|
13919
13936
|
"duet-m-0": this.margin === "none",
|
|
13920
13937
|
[this.variation]: true,
|
|
13921
13938
|
"duet-theme-turva": this.theme === "turva",
|
|
13922
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13939
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'a0ecd92a38efa76b6a9a332c156e38fef251ac17' }))));
|
|
13923
13940
|
}
|
|
13924
13941
|
get element() { return getElement(this); }
|
|
13925
13942
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15663,11 +15680,11 @@ class DuetPopupMenuItem {
|
|
|
15663
15680
|
"duet-theme-turva": this.theme === "turva",
|
|
15664
15681
|
"active-descendant": this.activeDescendant,
|
|
15665
15682
|
};
|
|
15666
|
-
return (hAsync(Host, { key: '
|
|
15683
|
+
return (hAsync(Host, { key: 'cf41248d3d1a61f191dbb0ed2806c55c3c4d21cd', role: this.accessibleRole }, hAsync(TagName, { key: '8b823bad8e855fd0f6764bee4cf2a1b8b4fb9a1d', ref: element => (this.itemElement = element), tabIndex: this.accessibleRole === "listitem" ? 0 : -1, 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: '4d0c2297b77d0abaead13bfdbbbdbc099ff376c5', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: 'c2d39fcf42a50143f23ecff659629f9031af39b3', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'ea485f9803d7123fdcd7d55b9fd9a93acdbe4553' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'dfcfdfb08bcb7824d95cc1d9001600c787706c3b', name: this.url && this.external
|
|
15667
15684
|
? actionNewWindowSmall.title
|
|
15668
15685
|
: this.active
|
|
15669
15686
|
? "messaging-checked-small"
|
|
15670
|
-
: 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: '
|
|
15687
|
+
: 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: 'c70b1e3990993a76cc765ee95429ac22089ba812', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15671
15688
|
}
|
|
15672
15689
|
get element() { return getElement(this); }
|
|
15673
15690
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15822,12 +15839,12 @@ class DuetPromoCard {
|
|
|
15822
15839
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15823
15840
|
};
|
|
15824
15841
|
const TagName = this.url ? "a" : "div";
|
|
15825
|
-
return (hAsync(Host, { key: '
|
|
15842
|
+
return (hAsync(Host, { key: 'd5b99955c72ad9ac98a098e07faa2f100920e3a8', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '3fddf2e07da1d54872b4115501a4c8501df772d4', class: {
|
|
15826
15843
|
"duet-promo-card": true,
|
|
15827
15844
|
"duet-theme-turva": this.theme === "turva",
|
|
15828
15845
|
"no-bg-color": !this.backgroundColor,
|
|
15829
15846
|
"duet-promo-card-link": !!this.url,
|
|
15830
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15847
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '4759acf08b1c43ad6213e50112fed7a54aa1787f', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'f4e823d21ea1fe55d3fb0afd97e8767c681e54ab', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'a3ca7b860f746efdf47b1caae7755c74f17a1b01', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '953df9913050a8bac691da7e537760738a3b3efc', class: "pre-heading" }, hAsync("slot", { key: '4066b006ad174acc657cbb0cc8411336b323df10', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '8c09adbe223ba47efd3980b891b947e32b06abce', class: "heading" }, hAsync("duet-heading", { key: '3f394739a9e6eafa8d5b5c9f6ef49296ed13c124', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '1b864d1979893f3f50925c64d0675d52784b55a0' }, hAsync("slot", { key: 'ae59853c9e214f5eed236bba9ef070aa4d07728b', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '6a422cbe30e01041a0101c845b264c2a18df65bf', class: "description" }, hAsync("duet-paragraph", { key: '662c6a4ea80976a1d7b960e2e148dd9360e92d4a', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '1a0028b11a43872af7de652a2ace720e5ae7e3ca' }, hAsync("slot", { key: 'eedbb615f8ab8755b080106e4a3b16253aa203fd', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: 'd93c8d9a830aea8ad3c8958bc88611ca5e542bed', class: "action" }, hAsync("slot", { key: '39e0aba8c54fe6b47be4ad8f735d51832baa3b59', name: "action" }))))))));
|
|
15831
15848
|
}
|
|
15832
15849
|
get element() { return getElement(this); }
|
|
15833
15850
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -16016,16 +16033,16 @@ class DuetRadio {
|
|
|
16016
16033
|
* Always the last one in the class.
|
|
16017
16034
|
*/
|
|
16018
16035
|
render() {
|
|
16019
|
-
return (hAsync(Host, { key: '
|
|
16036
|
+
return (hAsync(Host, { key: 'a18e1bea800f34ba634ddbdd7ef3b2741ac05693', onClick: this.onClick, class: {
|
|
16020
16037
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
16021
16038
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
16022
16039
|
"duet-m-0": this.margin === "none",
|
|
16023
|
-
} }, hAsync("div", { key: '
|
|
16040
|
+
} }, hAsync("div", { key: 'dd86df6b4f97f44ee5371a2e586d48eb6673e434', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: 'bf1968e5b50d89b25ccb6659f6b55450bf9c1d04', name: "input" }), hAsync("label", { key: '3aa9841af26a9ad017a09c58e49f793a08f3d2a5', inert: true, ref: element => (this.labelElement = element), class: {
|
|
16024
16041
|
"duet-label": true,
|
|
16025
16042
|
checked: this.checked,
|
|
16026
16043
|
focus: this.focus,
|
|
16027
16044
|
disabled: this.disabled || this.groupDisabled,
|
|
16028
|
-
} }, hAsync("div", { key: '
|
|
16045
|
+
} }, hAsync("div", { key: '83ebf1480f51c230592b3c03c35d14583c7ffa8c', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
16029
16046
|
}
|
|
16030
16047
|
get element() { return getElement(this); }
|
|
16031
16048
|
static get style() { return DuetRadioStyle0; }
|
|
@@ -16176,7 +16193,7 @@ class DuetRadioGroup {
|
|
|
16176
16193
|
* Always the last one in the class.
|
|
16177
16194
|
*/
|
|
16178
16195
|
render() {
|
|
16179
|
-
return (hAsync(Host, { key: '
|
|
16196
|
+
return (hAsync(Host, { key: '06a0092d79d87d126c715a5f80fdca32f81c4260', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: 'b480698152e4ba0f6096e22fe5b2d2ef5719c08f', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '0bbc2332af615b1d1534fdae79d39036dec09fd0', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '50b1bddedeb3504bd7ccccd813b537aedd68d213', name: "tooltip" }), hAsync("div", { key: 'dbfa825c2a57227ce0ca869e4c5d7081c6fb65fb', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '96dd9c4c5a812fdad734d74fecaaf2b10d4fd513' })))));
|
|
16180
16197
|
}
|
|
16181
16198
|
get element() { return getElement(this); }
|
|
16182
16199
|
static get watchers() { return {
|
|
@@ -16326,13 +16343,13 @@ class DuetRangeSlider {
|
|
|
16326
16343
|
const rangeStyles = {
|
|
16327
16344
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
16328
16345
|
};
|
|
16329
|
-
return (hAsync(Host, { key: '
|
|
16346
|
+
return (hAsync(Host, { key: 'e492b2000ff8e296f160a11172b5c4d67a2f432f', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: '3a79a8f3ba99b41f30550759779722373bac1168', class: {
|
|
16330
16347
|
"duet-range-container": true,
|
|
16331
16348
|
"duet-label-hidden": this.labelHidden,
|
|
16332
16349
|
"duet-theme-turva": this.theme === "turva",
|
|
16333
16350
|
"duet-ie": isInternetExplorer(),
|
|
16334
16351
|
"duet-range-disabled": this.disabled,
|
|
16335
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
16352
|
+
} }, hAsync(DuetInternalLabel, { key: '6f9fc72159b9cf05a15b41a6fd11931ebb12b6aa', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: 'f196b801a06366d9dd849a5e1ae989aad659c26a', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: 'b5bcfd42814e62d2107cea6b3e3ecbcc7bcfac98', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
16336
16353
|
}
|
|
16337
16354
|
get element() { return getElement(this); }
|
|
16338
16355
|
static get style() { return DuetRangeSliderStyle0; }
|
|
@@ -16535,10 +16552,10 @@ class DuetRangeStepper {
|
|
|
16535
16552
|
* Always the last one in the class.
|
|
16536
16553
|
*/
|
|
16537
16554
|
render() {
|
|
16538
|
-
return (hAsync("div", { key: '
|
|
16555
|
+
return (hAsync("div", { key: 'c9b11ce90897f1f447451ee5fb9a6c6e6beb6f28', class: {
|
|
16539
16556
|
"duet-range-stepper": true,
|
|
16540
16557
|
"duet-theme-turva": this.theme === "turva",
|
|
16541
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
16558
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '4398c6aa7367285c372aea99bcc75a3eeea66c7a', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '315adfd1f29f46f3e04f97b06b3fcd5906dd294c', disabled: this.disabled || this.buttonLeftDisabled, class: "duet-range-step-button duet-range-step-minus", onClick: e => this.handleClick(e, -1), id: this.leftBn, "accessible-label": `${this.ariaLabels.previous_increment} ${this.generatePreviousIncrementLabel()}`, ref: el => (this.leftBnRef = el), part: "navigation-arrow", iconName: "action-arrow-left-small", title: "" }), hAsync("duet-action-button", { key: '045f85fb0942d3841b51bfc1dfcc954d41b0554d', disabled: this.disabled || this.buttonRightDisabled, class: "duet-range-step-button duet-range-step-plus", onClick: e => this.handleClick(e, 1), "accessible-label": `${this.ariaLabels.next_increment} ${this.generateNextIncrementLabel()}`, id: this.rightBn, ref: el => (this.rightBnRef = el), part: "navigation-arrow", iconName: "action-arrow-right-small", title: "" })));
|
|
16542
16559
|
}
|
|
16543
16560
|
get element() { return getElement(this); }
|
|
16544
16561
|
static get watchers() { return {
|
|
@@ -16567,7 +16584,7 @@ class DuetRangeStepper {
|
|
|
16567
16584
|
}; }
|
|
16568
16585
|
}
|
|
16569
16586
|
|
|
16570
|
-
const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items
|
|
16587
|
+
const duetScrollableCss = "*,*::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;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:-10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:-10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-right:10px;padding-left:10px;margin:0 -10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";
|
|
16571
16588
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
16572
16589
|
|
|
16573
16590
|
/**
|
|
@@ -16639,15 +16656,20 @@ class DuetScrollable {
|
|
|
16639
16656
|
}
|
|
16640
16657
|
/**
|
|
16641
16658
|
* Check if scrolling is needed.
|
|
16659
|
+
*
|
|
16660
|
+
* @param element - The element to check.
|
|
16661
|
+
* @param threshold - The threshold to allow content to be slightly wider before showing buttons.
|
|
16662
|
+
* Defaults to half of the overlay width, since gradient is 10px wide with 50/50 split.
|
|
16642
16663
|
*/
|
|
16643
|
-
checkScrollingNeeded(element = this.scrollPaneElement, threshold =
|
|
16664
|
+
checkScrollingNeeded(element = this.scrollPaneElement, threshold = 5) {
|
|
16665
|
+
var _a;
|
|
16644
16666
|
if (!element) {
|
|
16645
16667
|
return;
|
|
16646
16668
|
}
|
|
16647
|
-
const
|
|
16648
|
-
const
|
|
16649
|
-
|
|
16650
|
-
|
|
16669
|
+
const parentWidth = ((_a = element.parentElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
|
|
16670
|
+
const contentWidth = element.scrollWidth;
|
|
16671
|
+
const overlayWidth = 10 * 2;
|
|
16672
|
+
this.needsScrolling = contentWidth - overlayWidth > parentWidth + threshold;
|
|
16651
16673
|
if (!this.needsScrolling) {
|
|
16652
16674
|
this.scrollPaneAtStart = true;
|
|
16653
16675
|
this.scrollPaneAtEnd = true;
|
|
@@ -16751,13 +16773,6 @@ class DuetScrollable {
|
|
|
16751
16773
|
const last = this.getLastVisibleElement();
|
|
16752
16774
|
this.scrollToElement(last + 1, "center");
|
|
16753
16775
|
}
|
|
16754
|
-
renderFadeOverlay(direction) {
|
|
16755
|
-
return (hAsync("div", { class: {
|
|
16756
|
-
"duet-scrollable-fade-overlay": true,
|
|
16757
|
-
"duet-scrollable-fade-overlay--hidden": !this.needsScrolling,
|
|
16758
|
-
[`${direction}`]: true,
|
|
16759
|
-
} }));
|
|
16760
|
-
}
|
|
16761
16776
|
renderButton(direction) {
|
|
16762
16777
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
16763
16778
|
const arrowColorDisabled = this.theme === "turva" ? "color-gray-turva" : "color-gray";
|
|
@@ -16792,24 +16807,24 @@ class DuetScrollable {
|
|
|
16792
16807
|
* Always the last one in the class.
|
|
16793
16808
|
*/
|
|
16794
16809
|
render() {
|
|
16795
|
-
return (hAsync(Host, { key: '
|
|
16810
|
+
return (hAsync(Host, { key: '57cf37717def836d1fb0c562d584e77565b35137', class: {
|
|
16796
16811
|
"duet-theme-turva": this.theme === "turva",
|
|
16797
16812
|
"duet-theme-default": this.theme === "default",
|
|
16798
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16813
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'c235c357e7f84dfdac8599eb0fe67c4ba523e0d2', class: {
|
|
16799
16814
|
collapse: true,
|
|
16800
16815
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16801
|
-
} }, hAsync("duet-button", { key: '
|
|
16816
|
+
} }, hAsync("duet-button", { key: '2386d1ddacf24c62adce49d8cf8e70832acd6945', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '78e4e3c0d03dd18c3da4ec4fc2c45c04ed2d7f66', name: "collapse-button-label" })))), hAsync("div", { key: 'f54eff73c1a3803b12623b1ff8e39d3c2a9d478b', class: {
|
|
16802
16817
|
"duet-scrollable-items": true,
|
|
16803
16818
|
buttons: this.buttons,
|
|
16804
16819
|
center: this.center,
|
|
16805
16820
|
"duet-theme-turva": this.theme === "turva",
|
|
16806
|
-
} }, this.buttons && this.renderButton("left"),
|
|
16821
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '44c0995b16e01444399a9f60511eb1d2e2d10ba9', class: {
|
|
16807
16822
|
"duet-scrollable-list": true,
|
|
16808
16823
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16809
16824
|
[`gap-${this.gap}`]: true,
|
|
16810
16825
|
collapsed: this.collapsed,
|
|
16811
16826
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16812
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
16827
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '938467965186e8bb88294cb51225f52fdfb6fda4' })), this.buttons && this.renderButton("right"))));
|
|
16813
16828
|
}
|
|
16814
16829
|
get element() { return getElement(this); }
|
|
16815
16830
|
static get watchers() { return {
|
|
@@ -16856,13 +16871,13 @@ class DuetSectionLayout {
|
|
|
16856
16871
|
* Always the last one in the class.
|
|
16857
16872
|
*/
|
|
16858
16873
|
render() {
|
|
16859
|
-
return (hAsync(Host, { key: '
|
|
16874
|
+
return (hAsync(Host, { key: 'f6adbb4624397e3ce0dc5dfaf00dad1afc605d72', class: {
|
|
16860
16875
|
"duet-middle": this.middle,
|
|
16861
16876
|
"duet-ie": isInternetExplorer(),
|
|
16862
|
-
} }, hAsync("div", { key: '
|
|
16877
|
+
} }, hAsync("div", { key: 'a32239cd0233b568459975b3473fb8d644730a98', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '34f720bb4d768a6a37f8608f46d6a8ea4edbef53', class: {
|
|
16863
16878
|
"duet-layout": true,
|
|
16864
16879
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16865
|
-
} }, hAsync("section", { key: '
|
|
16880
|
+
} }, hAsync("section", { key: 'a6a4fe58bb1b954401555a4325fdb0d3e98bc5b5', class: "duet-main" }, hAsync("slot", { key: '7dacf94bdfaffc03e4d3cf81f4ac5fcf14b09304' }))))));
|
|
16866
16881
|
}
|
|
16867
16882
|
get element() { return getElement(this); }
|
|
16868
16883
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -17031,23 +17046,23 @@ class DuetSelect {
|
|
|
17031
17046
|
*/
|
|
17032
17047
|
render() {
|
|
17033
17048
|
const identifier = this.identifier || this.selectId;
|
|
17034
|
-
return (hAsync(Host, { key: '
|
|
17049
|
+
return (hAsync(Host, { key: '02260f68c4447778208fee263cd6123c7a369d12', onClick: this.onClick, class: {
|
|
17035
17050
|
"duet-m-0": this.margin === "none",
|
|
17036
17051
|
"duet-expand": this.expand,
|
|
17037
17052
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17038
|
-
} }, hAsync("div", { key: '
|
|
17053
|
+
} }, hAsync("div", { key: 'fd8ac1aa236c0d0a80e6695838b66e4f62991a99', class: {
|
|
17039
17054
|
"duet-select-container": true,
|
|
17040
17055
|
"duet-label-hidden": this.labelHidden,
|
|
17041
17056
|
"duet-theme-turva": this.theme === "turva",
|
|
17042
17057
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17043
17058
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
17044
17059
|
"has-error": !!this.error,
|
|
17045
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
17060
|
+
} }, hAsync(DuetInternalLabel, { key: '7647a13248cd4fe1a6b82e7ffe8703fb6044e06e', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '803f2d3ce3a890497a0f218c7c029763dccac9dc', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'f56297f4a3c2732fd898b051a9e022e1e15468d5', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '3d119d985d37d2a32e0331475aba597859c9759f', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '38b1cda2fdca1df5694f8faa5ba8171bd18a5944', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'df6f191202b69a2813824627cc9aa8209831c069', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("select", { key: 'e72a1946b9a0098d213416088b257c385611e699', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (hAsync("option", { key: 'f76a6e963fa3239e55016d37d478525122123e95', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
17046
17061
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
17047
|
-
}))), hAsync("div", { key: '
|
|
17062
|
+
}))), hAsync("div", { key: 'c19c9ba77e9691664e47bde555bf039dd92f2df6', class: {
|
|
17048
17063
|
"duet-select": true,
|
|
17049
17064
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17050
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
17065
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: 'ba5a78652d80548a457db526cd5a4176bfd369d8', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '2707e90cacfa6212bb8500f9eabf42f2fd380045', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (hAsync("duet-icon", { key: '2eb564da6778dc64ef9450bf0cf9f6a252fbb7f2', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: '334004227f41640a396ae4a44ccd1c06f104d69f', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: 'c9c5c8480478c88a6a6287620a323ebe55f4ed84', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '8d97a20a79748f8e6e837b0635f2653ab19221ba' }, this.error)))));
|
|
17051
17066
|
}
|
|
17052
17067
|
get element() { return getElement(this); }
|
|
17053
17068
|
static get watchers() { return {
|
|
@@ -17120,9 +17135,9 @@ class DuetShapedImage {
|
|
|
17120
17135
|
const style = {
|
|
17121
17136
|
"--rotation": `${this.rotation}deg`,
|
|
17122
17137
|
};
|
|
17123
|
-
return (hAsync(Host, { key: '
|
|
17138
|
+
return (hAsync(Host, { key: '94aa9402f3e6b93c0efa20822a7ffe889cdfd2ea', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '2de6c874205c4a76106c3b47e7aea16d6d153453', class: {
|
|
17124
17139
|
"shaped-image": true,
|
|
17125
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
17140
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '316b13cb583473cdbe6952d8b0d557a4450e54df', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'b1063b1a09d864f0c606e37cd453af2d9e82aa3b', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
17126
17141
|
}
|
|
17127
17142
|
static get style() { return DuetShapedImageStyle0; }
|
|
17128
17143
|
static get cmpMeta() { return {
|
|
@@ -17230,12 +17245,12 @@ class DuetShowMore {
|
|
|
17230
17245
|
* Always the last one of the class.
|
|
17231
17246
|
*/
|
|
17232
17247
|
render() {
|
|
17233
|
-
return (hAsync(Host, { key: '
|
|
17248
|
+
return (hAsync(Host, { key: '316fd0dfc6a5c50d0e4d2261d9cf1da20d08d4a6' }, hAsync("div", { key: '1fb069ddc046b25c257142c22ea98f6a54fb9e09', class: {
|
|
17234
17249
|
"duet-show-more": true,
|
|
17235
17250
|
"duet-theme-turva": this.theme === "turva",
|
|
17236
17251
|
"duet-m-0": this.margin === "none",
|
|
17237
17252
|
open: this.open,
|
|
17238
|
-
} }, hAsync("div", { key: '
|
|
17253
|
+
} }, hAsync("div", { key: '94a1410ad3c1dd62383eba91f569afc74096e4cf', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'a516df2fb22a0e4839133469e2e83ba6cd3d1eb1', class: { "slotted-content": true } }, hAsync("slot", { key: 'ad73f6d35faf1d83490a4d1fd8997f7f3b4e55e3' }))), hAsync("duet-button", { key: 'e49b95824ef95a359092a7a410e68a7f0c61c33f', id: this.buttonId, variation: "plain", "accessible-label": this.buttonAriaOpen ? this.showLessAccessibleLabel : this.showMoreAccessibleLabel, "accessible-expanded": this.buttonAriaOpen ? "true" : "false", "accessible-controls": this.contentId, accessiblePressed: this.open, onClick: this.handleClick, onKeyDown: this.handleKeyDown, "icon-right": true, icon: this.open ? "action-arrow-up-small" : "action-arrow-down-small", "icon-size": "medium-small", size: "small", margin: this.buttonMargin, padding: this.buttonPadding, theme: this.theme === "turva" ? "turva" : "default" }, hAsync("span", { key: 'fa7cbada2f473ed4cb9a59459341b1a5420bf921' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
17239
17254
|
}
|
|
17240
17255
|
get element() { return getElement(this); }
|
|
17241
17256
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -17548,6 +17563,7 @@ class DuetSlideout {
|
|
|
17548
17563
|
stickyHeaderTabGroups.forEach(tabGroup => {
|
|
17549
17564
|
tabGroup.style.position = clean ? null : "relative";
|
|
17550
17565
|
tabGroup.style.top = clean ? null : "1px";
|
|
17566
|
+
tabGroup.switchLargeBreakpoint = "always";
|
|
17551
17567
|
});
|
|
17552
17568
|
};
|
|
17553
17569
|
this.openButtonEventListener = (e) => {
|
|
@@ -17731,16 +17747,16 @@ class DuetSlideout {
|
|
|
17731
17747
|
};
|
|
17732
17748
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17733
17749
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17734
|
-
return (hAsync(Host, { key: '
|
|
17750
|
+
return (hAsync(Host, { key: 'fe91f1236ad42f599f366fcf6c2030169517ba6a' }, hAsync("div", { key: '832e4b4d67a42d002c6fd828167d9d787cd87f5d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: 'ef568330f5a0e3d6b79117cb42646640617f7452', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '7472dc78c95a0be586d47cef18f993fae6fc1d28', 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: {
|
|
17735
17751
|
dialog: true,
|
|
17736
17752
|
hidden: !this.open,
|
|
17737
17753
|
modal: this.modal,
|
|
17738
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17754
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'fbd6da6a5049a4a9abbabd7d35b37e4ade4290a9', moveFocusTo: this.closeButton }), hAsync("div", { key: '4494f6e119ba79c89c0296167d032ef5b2b30293', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'da4856ecf33f7f2b15e3ff24f16951f643966499', class: "top" }, hAsync("button", { key: '18fef5cc005227f6f9e53fb61266c5870057a6cc', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17739
17755
|
"slideout-close": true,
|
|
17740
17756
|
active: this.open,
|
|
17741
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17757
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '2a153fc760fc9d19e253daed56047ab80803520a', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '28c33e636a705bdfe4ef475ee33b5952c0cdaa67', class: "sticky-header" }, hAsync("slot", { key: 'd66cc6f6b1ea7e421cf3e96582698328dc42155c', name: "sticky-header" }))), hAsync("div", { key: 'ca3b44be8a54d1730e2de935e25379ce352c1908', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17742
17758
|
items: true,
|
|
17743
|
-
} }, hAsync("slot", { key: '
|
|
17759
|
+
} }, hAsync("slot", { key: '69bb591bb20a501b057ad8bb895f8cc68ffee1f9' })), hAsync(FocusGuard, { key: 'd4e183c805da1723c2ed9848a07a1b7880f5533a', moveFocusTo: this.closeButton })))));
|
|
17744
17760
|
}
|
|
17745
17761
|
get element() { return getElement(this); }
|
|
17746
17762
|
static get watchers() { return {
|
|
@@ -17807,7 +17823,7 @@ class DuetSlideoutLang {
|
|
|
17807
17823
|
*/
|
|
17808
17824
|
render() {
|
|
17809
17825
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17810
|
-
return (hAsync(Host, { key: '
|
|
17826
|
+
return (hAsync(Host, { key: 'd9ace6f9e80f6ed42422394dbd1a6f1b1434c1f2' }, hAsync("div", { key: '691f14871cc0e319654d149844b61ab81a631316', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '2b2fce67063ee945debe8fb8c603941ab4386a3c', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '333d0f86d5b0dabb5af4df4024e479dfaed27cb5' }))));
|
|
17811
17827
|
}
|
|
17812
17828
|
get element() { return getElement(this); }
|
|
17813
17829
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17851,12 +17867,12 @@ class DuetSlideoutLink {
|
|
|
17851
17867
|
* Always the last one in the class.
|
|
17852
17868
|
*/
|
|
17853
17869
|
render() {
|
|
17854
|
-
return (hAsync(Host, { key: '
|
|
17870
|
+
return (hAsync(Host, { key: 'e845f429f7644089a2978b9bd817213fdffa0783' }, hAsync("a", { key: '4096768d844d0c63b1b904fa29ed278826dd49bb', class: {
|
|
17855
17871
|
"duet-slideout-link": true,
|
|
17856
17872
|
"duet-theme-turva": this.theme === "turva",
|
|
17857
17873
|
active: this.active,
|
|
17858
17874
|
[this.size]: true,
|
|
17859
|
-
}, 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: '
|
|
17875
|
+
}, 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: 'c5b164759b0d168d217f6c10788922964a04dd00', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: 'c72e2c8e4cd322d1e8282518b711659e7476d4cd', class: "label" }, hAsync("span", { key: '64394d630468c468fdab67b98476d911a784b20e' }, hAsync("slot", { key: 'a01215f4a8237339fa76151f85a52407afd7a2a0' }), hAsync("slot", { key: '6f53012e7292d5c2db2a8be6bfb44437f61e7149', name: "description" })), this.caret && (hAsync("duet-icon", { key: '47bb848e67d9c74aba3e666448eb651e5e3a214b', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17860
17876
|
}
|
|
17861
17877
|
get element() { return getElement(this); }
|
|
17862
17878
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -18016,23 +18032,23 @@ class DuetSlideoutPanel {
|
|
|
18016
18032
|
};
|
|
18017
18033
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
18018
18034
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
18019
|
-
return (hAsync(Host, { key: '
|
|
18035
|
+
return (hAsync(Host, { key: '32c6f6ea4eeac3499498244624a0aaf3f896f1a4' }, hAsync("div", { key: 'e6563dd635d4f9896633b8a76f697239ce10fda1', class: {
|
|
18020
18036
|
"duet-slideout-panel": true,
|
|
18021
18037
|
"duet-theme-turva": this.theme === "turva",
|
|
18022
18038
|
active: this.open,
|
|
18023
|
-
} }, hAsync("button", { key: '
|
|
18039
|
+
} }, hAsync("button", { key: '3689db100799eb081f0c070c0fd8e1701d83c092', 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: {
|
|
18024
18040
|
link: true,
|
|
18025
18041
|
active: this.active,
|
|
18026
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
18042
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: 'f9eadbe5b58655629aa22fe774b502183e92ddb1', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: 'f84d1fcd2d420ebb76265242c2d8ef01e5356313', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '3317aef4eb6b10856b0e8e3dbee6db72697f8732', class: "duet-slideout-badge" }))), hAsync("span", { key: '2490ffd21816ef2903f1cea69c2885917aba5016', class: "label" }, hAsync("span", { key: '09f27658cd8d89c87a43ec93ebc38da5c5f94c83', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'fb9e8343be8f8d0169c64509f451027e8d2a6b6b', name: "label" })), hAsync("duet-icon", { key: 'd124572f81f6a5c913fa8368f435db597933c30e', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '2c5ae6d73798fe116493c0813f5f367d9a614341', ref: element => (this.dialog = element), class: {
|
|
18027
18043
|
dialog: true,
|
|
18028
18044
|
hidden: !this.open,
|
|
18029
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
18045
|
+
}, style: styles }, hAsync(FocusGuard, { key: '3871236cfaca8944dea857fe4ab87642fbf1a98d', moveFocusTo: this.closeButton }), hAsync("div", { key: 'dc789469f6b408a5909c4032a0d5c19bb36a1cb4', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '729e23f6d5279439445cb25981fa4a48316c0dec', class: "top" }, hAsync("button", { key: '7c810b9edc27f5ea8a7928f7163631850ab45e0f', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
18030
18046
|
back: true,
|
|
18031
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
18047
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '7db3cd52fec2f81cabda72ca55bb6375dc852e5a', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '81906fdecddd9f53c7c7a97c9f134a8ca34768c5' }, this.label.innerHTML), hAsync("button", { key: 'c20b49d22a939f99eb926b46b62860a7b6622a3d', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'ca2f8682f77f2e4e272b86922b724e3c54c8e2e6', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'eb36eaa974c19690abc3abf59309cd22e07ff52e', class: "sticky-header" }, hAsync("slot", { key: 'e974aeec3fb2cbe118572c4ca35ead87a1c5861d', name: "sticky-header" }))), hAsync("div", { key: '7fa7812d1ac9fe82f7781ae98bb31065498d0667', tabindex: "-1", role: "menu",
|
|
18032
18048
|
//TODO: slideout menu fades out, needs to be instant
|
|
18033
18049
|
id: "menu", "aria-labelledby": "button", class: {
|
|
18034
18050
|
items: true,
|
|
18035
|
-
} }, hAsync("slot", { key: '
|
|
18051
|
+
} }, hAsync("slot", { key: 'fc31455ee1078696b7677b636bbfe8a80ce6fd51' })), hAsync(FocusGuard, { key: '6045674ecaf7f7db881af487368014f3723238de', moveFocusTo: this.closeButton })))));
|
|
18036
18052
|
}
|
|
18037
18053
|
get element() { return getElement(this); }
|
|
18038
18054
|
static get watchers() { return {
|
|
@@ -18102,16 +18118,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
18102
18118
|
* Always the last one in the class.
|
|
18103
18119
|
*/
|
|
18104
18120
|
render() {
|
|
18105
|
-
return (hAsync(Host, { key: '
|
|
18121
|
+
return (hAsync(Host, { key: '63e1ecfad4b3a99359297c7b4057cdcc8161a832' }, hAsync("div", { key: '461506ece0bb6e079c7cea22bc8ecfcbce9769aa', class: {
|
|
18106
18122
|
"duet-slideout-panel-dropdown": true,
|
|
18107
18123
|
"duet-theme-turva": this.theme === "turva",
|
|
18108
18124
|
active: this.open,
|
|
18109
|
-
} }, hAsync("button", { key: '
|
|
18125
|
+
} }, hAsync("button", { key: 'db9dd82a1a4f2bd4c58d13ca3b7223333acf8fe1', 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: {
|
|
18110
18126
|
active: this.active,
|
|
18111
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
18127
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'a425d896cbba6af3d669ad764406dbd2949396ee', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'f0c2a72a77ac42db0e38cd3605a1e5478bf65ea9', class: "label" }, hAsync("slot", { key: 'eb835a8dc87c277628dead143ccaf2ffa698af4d', name: "label" }), hAsync("duet-icon", { key: '8f05a36f715ba855fc222f3a84bc5d8831786789', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'f96a0657d877b6c12fdb4c019bb2401674f8e5b4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18112
18128
|
items: true,
|
|
18113
18129
|
hidden: !this.open,
|
|
18114
|
-
} }, hAsync("slot", { key: '
|
|
18130
|
+
} }, hAsync("slot", { key: '1510098d5bf5a1378f6a6f0b0fb4f8914db5802b' })))));
|
|
18115
18131
|
}
|
|
18116
18132
|
get element() { return getElement(this); }
|
|
18117
18133
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -18146,7 +18162,7 @@ class DuetSpacer {
|
|
|
18146
18162
|
* Always the last one in the class.
|
|
18147
18163
|
*/
|
|
18148
18164
|
render() {
|
|
18149
|
-
return (hAsync(Host, { key: '
|
|
18165
|
+
return (hAsync(Host, { key: 'bd2930a075df68cb86648403cdf9093e1f8b320a', class: {
|
|
18150
18166
|
"duet-spacer": true,
|
|
18151
18167
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
18152
18168
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -18197,11 +18213,11 @@ class DuetSpinner {
|
|
|
18197
18213
|
*/
|
|
18198
18214
|
render() {
|
|
18199
18215
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
18200
|
-
return (hAsync(Host, { key: '
|
|
18216
|
+
return (hAsync(Host, { key: 'f90db790b3bcceaf36452793649037f87f8b3afb', class: {
|
|
18201
18217
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
18202
18218
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
18203
18219
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
18204
|
-
} }, hAsync("div", { key: '
|
|
18220
|
+
} }, hAsync("div", { key: '41396371d1421d5e44865fce2ea0697ccf099a86', class: {
|
|
18205
18221
|
"duet-spinner": true,
|
|
18206
18222
|
[this.size]: true,
|
|
18207
18223
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -18222,6 +18238,94 @@ class DuetSpinner {
|
|
|
18222
18238
|
}; }
|
|
18223
18239
|
}
|
|
18224
18240
|
|
|
18241
|
+
class DuetStatusIcon {
|
|
18242
|
+
constructor(hostRef) {
|
|
18243
|
+
registerInstance(this, hostRef);
|
|
18244
|
+
this.bg = {
|
|
18245
|
+
default: {
|
|
18246
|
+
default: "color_lt_blue_100",
|
|
18247
|
+
success: "color_success_200",
|
|
18248
|
+
warning: "color_warning_200",
|
|
18249
|
+
danger: "color_danger_100",
|
|
18250
|
+
},
|
|
18251
|
+
strong: {
|
|
18252
|
+
default: "color_lt_blue_600",
|
|
18253
|
+
success: "color_success_700",
|
|
18254
|
+
warning: "color_warning_500",
|
|
18255
|
+
danger: "color_danger_600",
|
|
18256
|
+
},
|
|
18257
|
+
};
|
|
18258
|
+
this.color = {
|
|
18259
|
+
default: {
|
|
18260
|
+
default: "color_lt_blue_700",
|
|
18261
|
+
success: "color_success_800",
|
|
18262
|
+
warning: "color_warning_800",
|
|
18263
|
+
danger: "color_danger_700",
|
|
18264
|
+
},
|
|
18265
|
+
strong: {
|
|
18266
|
+
default: "color_lt_blue_100",
|
|
18267
|
+
success: "color_gray_lightest",
|
|
18268
|
+
warning: "color_warning_900",
|
|
18269
|
+
danger: "color_gray_lightest",
|
|
18270
|
+
},
|
|
18271
|
+
};
|
|
18272
|
+
this.variation = "default";
|
|
18273
|
+
this.size = "medium";
|
|
18274
|
+
this.margin = "auto";
|
|
18275
|
+
this.strong = false;
|
|
18276
|
+
}
|
|
18277
|
+
getBg() {
|
|
18278
|
+
return tokens$1[this.bg[this.strong ? "strong" : "default"][this.variation]];
|
|
18279
|
+
}
|
|
18280
|
+
getColor() {
|
|
18281
|
+
return tokens$1[this.color[this.strong ? "strong" : "default"][this.variation]];
|
|
18282
|
+
}
|
|
18283
|
+
getIcon() {
|
|
18284
|
+
switch (this.variation) {
|
|
18285
|
+
case "default":
|
|
18286
|
+
return `
|
|
18287
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
18288
|
+
<rect width="24" height="24" rx="12" fill="${this.getBg()}"/>
|
|
18289
|
+
<path fill="${this.getColor()}" d="M13.5 17.25A2.252 2.252 0 0 1 11.25 15v-3.75h-.75a.75.75 0 0 1 0-1.5h.75c.827 0 1.5.673 1.5 1.5V15c0 .414.336.75.75.75h.75a.75.75 0 0 1 0 1.5z"/>
|
|
18290
|
+
<circle fill="${this.getColor()}" cx="11.625" cy="7.125" r="1.125"/>
|
|
18291
|
+
</svg>`;
|
|
18292
|
+
case "success":
|
|
18293
|
+
return `
|
|
18294
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
18295
|
+
<rect width="24" height="24" rx="12" fill="${this.getBg()}"/>
|
|
18296
|
+
<path fill="${this.getColor()}" d="M9.325 17.916a1.79 1.79 0 0 1-1.498-.799l-2.44-3.462a.75.75 0 0 1 1.227-.864l2.45 3.477a.306.306 0 0 0 .261.148.294.294 0 0 0 .236-.119l7.852-9.935a.75.75 0 1 1 1.175.93l-7.843 9.923a1.781 1.781 0 0 1-.423.396 1.78 1.78 0 0 1-.997.305z"/>
|
|
18297
|
+
</svg>`;
|
|
18298
|
+
case "warning":
|
|
18299
|
+
case "danger":
|
|
18300
|
+
return `
|
|
18301
|
+
<svg viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg" role="img">
|
|
18302
|
+
<path fill="${this.getBg()}" d="M1.27,23.767C1.58,23.919 1.926,24 2.273,24L21.73,24C22.336,24 22.906,23.764 23.334,23.336C23.764,22.908 24.001,22.337 24.001,21.73C24.001,21.383 23.92,21.037 23.768,20.727L14.295,1.429C13.862,0.547 12.981,0 11.997,0C11.605,0 11.227,0.088 10.873,0.262C10.369,0.51 9.954,0.924 9.706,1.429L0.234,20.728C-0.034,21.271 -0.073,21.888 0.123,22.462C0.319,23.036 0.727,23.5 1.27,23.767Z"/>
|
|
18303
|
+
<rect fill="${this.getColor()}" x="11.1" y="7.2" width="1.8" height="8.4" rx="0.9"/>
|
|
18304
|
+
<rect fill="${this.getColor()}" x="10.8" y="18" width="2.4" height="2.4" rx="1.2"/>
|
|
18305
|
+
</svg>`;
|
|
18306
|
+
}
|
|
18307
|
+
}
|
|
18308
|
+
render() {
|
|
18309
|
+
return (hAsync(Host, { key: 'ebbaba8fbedc1ac294e51f81876748b26a08687a', class: {
|
|
18310
|
+
[`duet-status-icon-${this.variation}`]: true,
|
|
18311
|
+
"duet-strong-bg": this.strong,
|
|
18312
|
+
} }, hAsync("duet-icon", { key: '246af4b88cf7a1fc72cbc60264c25a1574eea11a', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
18313
|
+
}
|
|
18314
|
+
static get cmpMeta() { return {
|
|
18315
|
+
"$flags$": 9,
|
|
18316
|
+
"$tagName$": "duet-status-icon",
|
|
18317
|
+
"$members$": {
|
|
18318
|
+
"variation": [1],
|
|
18319
|
+
"size": [513],
|
|
18320
|
+
"margin": [1],
|
|
18321
|
+
"strong": [4]
|
|
18322
|
+
},
|
|
18323
|
+
"$listeners$": undefined,
|
|
18324
|
+
"$lazyBundleId$": "-",
|
|
18325
|
+
"$attrsToReflect$": [["size", "size"]]
|
|
18326
|
+
}; }
|
|
18327
|
+
}
|
|
18328
|
+
|
|
18225
18329
|
var actionEdit2={"title":"action-edit-2","tags":"action edit 2 pen pencil","svg":"<svg fill=\"currentColor\" viewBox=\"0 0 24 24\" xmlns=\"http://www.w3.org/2000/svg\" role=\"img\"><path d=\"M.748 24a.755.755 0 0 1-.531-.22.754.754 0 0 1-.196-.716l1.77-6.905a.84.84 0 0 1 .045-.121.73.73 0 0 1 .151-.223L16.513 1.289A4.355 4.355 0 0 1 19.611 0c1.178 0 2.277.454 3.106 1.279l.029.029a4.367 4.367 0 0 1 1.251 3.121 4.356 4.356 0 0 1-1.32 3.087L8.183 22.01a.735.735 0 0 1-.231.154.784.784 0 0 1-.111.042L.933 23.978A.773.773 0 0 1 .748 24zm1.041-1.791 4.41-1.131-3.281-3.275zm5.868-1.795 13.02-13.02-4.074-4.074L3.58 16.344zM21.736 6.332a2.893 2.893 0 0 0-.059-3.972l-.02-.02a2.872 2.872 0 0 0-2.037-.84v-.375l-.001.375a2.873 2.873 0 0 0-1.954.762z\"/></svg>"};
|
|
18226
18330
|
|
|
18227
18331
|
const duetStepCss = "*,*::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-step{padding:20px !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;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.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\";box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-step.rounded-top{border-top-left-radius:4px;border-top-right-radius:4px}.duet-step.rounded-bottom{margin-bottom:20px !important;border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-step.rounded-bottom{margin-bottom:0 !important}}@media (min-width: 36em){.duet-step{padding:0 20px 0 0 !important;margin:0 !important;font-size:1.25rem;box-shadow:none !important}}.duet-step-heading{display:flex;align-items:center;border-radius:4px}.duet-step-heading[aria-disabled=false]{cursor:pointer}.duet-step-heading:focus{outline:0}.duet-step-heading:active{opacity:0.75}:host(.user-is-tabbing) .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing) .duet-theme-turva .duet-step-heading:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.is-complete .duet-step-heading:hover .duet-step-counter,.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#005f8f}.duet-theme-turva.is-complete .duet-step-heading:hover .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-heading:hover .duet-step-counter{background-color:#9e0a26}.is-current .duet-step-heading{margin-bottom:20px}@media (min-width: 36em){.duet-step-heading{margin-top:8px;margin-bottom:8px !important}:host(:first-of-type) .duet-step-heading{margin-top:0}:host(:last-of-type) .duet-step-heading{margin-bottom:0 !important}}.duet-step-counter{-webkit-user-select:none;user-select:none;display:flex;align-items:center;justify-content:center;width:30px;height:30px;line-height:30px;color:rgb(255, 255, 255);text-align:center;border-radius:50%;transition:background-color 300ms ease}@media (min-width: 36em){.duet-step-counter{width:40px;height:40px;line-height:40px}}.is-complete .duet-step-counter,.is-current .duet-step-counter,.is-disabled .duet-step-counter{background-color:rgb(0, 119, 179)}.duet-theme-turva.is-complete .duet-step-counter,.duet-theme-turva.is-current .duet-step-counter,.duet-theme-turva.is-disabled .duet-step-counter{background-color:rgb(198, 12, 48)}.is-incomplete .duet-step-counter{background-color:rgb(98, 121, 138)}.duet-theme-turva.is-incomplete .duet-step-counter{background-color:rgb(143, 147, 158)}.duet-step-icon{display:flex;align-items:center;justify-content:center;width:16px;height:16px}@media (min-width: 36em){.duet-step-icon{width:20px;height:20px}}.duet-step-icon duet-icon{width:16px;height:16px}@media (min-width: 36em){.duet-step-icon duet-icon{width:20px;height:20px}}@media (min-width: 36em){.duet-step-content-wrapper{min-height:20px;padding-left:40px;margin-left:19px;border-left:2px solid rgb(212, 223, 229)}.duet-theme-turva .duet-step-content-wrapper{border-color:rgb(222, 224, 228)}:host(:last-of-type) .duet-step-content-wrapper{min-height:0;border:transparent}}.duet-step-content{display:none;padding-bottom:16px}@media (min-width: 36em){.duet-step-content{padding-bottom:28px}}.is-current .duet-step-content{display:block}.duet-step-heading-slot{display:none;margin-top:2px}@media (min-width: 48em){.duet-step-heading-slot{display:block}}";
|
|
@@ -18307,13 +18411,13 @@ class DuetStep {
|
|
|
18307
18411
|
* Always the last one in the class.
|
|
18308
18412
|
*/
|
|
18309
18413
|
render() {
|
|
18310
|
-
return (hAsync("div", { key: '
|
|
18414
|
+
return (hAsync("div", { key: 'a8f9214b8d235673c0b324f966a5576ccbcd16e4', class: {
|
|
18311
18415
|
"duet-step": true,
|
|
18312
18416
|
[`is-${this.state}`]: true,
|
|
18313
18417
|
"rounded-top": this.roundedTop,
|
|
18314
18418
|
"rounded-bottom": this.roundedBottom,
|
|
18315
18419
|
"duet-theme-turva": this.theme === "turva",
|
|
18316
|
-
} }, hAsync("div", { key: '
|
|
18420
|
+
} }, hAsync("div", { key: 'fe6066ea863f9c11dd30b6b61dc9b36827dc3b38', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: '500cee650ab3ab67ec9f7cbf3e9fa98f61079e54', "aria-hidden": "true" }, hAsync("div", { key: '79c93ec35c9c02e3536487e5337bdd8ae653b537', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '2b6ad0facd7f5e405d297e3672af7d1a1867e33b', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: '4b26a145659e1f239687333a90fd5a976a34742c', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: '670e5e9670bea92a93ebc1fad855721f99d58b88' }, hAsync("duet-heading", { key: '815cd4427e3ceab15c5fb44b0dc27a9eae8df5f6', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: '22c24606e2dfa0cc2fa5d42d7e12139f3031ec5b', direction: "horizontal", size: "large" }), hAsync("div", { key: '9db141db2e2ddc2ef398c440bddbce996d27c5e1', class: "duet-step-heading-slot" }, hAsync("slot", { key: '3c35b0d2ba57df7f6af3c287b43fef66185f827b', name: "heading-content" }))), hAsync("div", { key: '539aeedc2b198beb423c3bb4869405a2e1da1797', class: "duet-step-content-wrapper" }, hAsync("div", { key: '7d376e57e92ccd478e417cc392aeebe7991d41e2', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: '60f1a391efe9137ff048170995926a92abf687ae' })))));
|
|
18317
18421
|
}
|
|
18318
18422
|
get element() { return getElement(this); }
|
|
18319
18423
|
static get style() { return DuetStepStyle0; }
|
|
@@ -18437,7 +18541,7 @@ class DuetStepper {
|
|
|
18437
18541
|
* Always the last one in the class.
|
|
18438
18542
|
*/
|
|
18439
18543
|
render() {
|
|
18440
|
-
return (hAsync(Host, { key: '
|
|
18544
|
+
return (hAsync(Host, { key: '7ccc1ace3e8f07c10a099ef586f5828a86c673c4', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '819c9b955cd7e82825051eacd1f7dca8247da886', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'b35315da5f69ddcfd008d3e4071d49b954a905fd', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'babe00b87bff0c56a53c1a32d67acabd2725ba43' }))));
|
|
18441
18545
|
}
|
|
18442
18546
|
get element() { return getElement(this); }
|
|
18443
18547
|
static get watchers() { return {
|
|
@@ -18582,19 +18686,19 @@ class DuetSubmenuBar {
|
|
|
18582
18686
|
* Always the last one in the class.
|
|
18583
18687
|
*/
|
|
18584
18688
|
render() {
|
|
18585
|
-
return (hAsync(Host, { key: '
|
|
18689
|
+
return (hAsync(Host, { key: '06a71ec0fea466655847571dc1a05651105c5ae3' }, hAsync("nav", { key: 'c9a24b82e7fc2623e9f4b228c68784a7ca6eb1b1', class: {
|
|
18586
18690
|
"duet-submenu-bar": true,
|
|
18587
18691
|
"duet-theme-turva": this.theme === "turva",
|
|
18588
18692
|
hidden: this.hidden,
|
|
18589
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
18693
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: 'da1f940ba0bb496c7c587a0070eaf52cc7bc8060', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
18590
18694
|
active: this.open,
|
|
18591
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
18695
|
+
}, onClick: this.onClick }, hAsync("span", { key: '0e8dd0590760a6e944a970cde6c8743276de0fa9', class: "label" }, hAsync("slot", { key: '3c3657af5b58af62145180b24137111c22eb7e24', name: "label" }), hAsync("duet-icon", { key: '4d57f6aa5f74cdf524f0b5bd0a34ab3e624224b3', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'd44d6998afc2ae16770aecb85a56ebf4519db49c', class: {
|
|
18592
18696
|
"menu-container": true,
|
|
18593
18697
|
hidden: !this.open,
|
|
18594
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
18698
|
+
}, role: "presentation" }, hAsync("div", { key: 'b1a1aafe3bf5524a11b2ad06257144b48d8be70d', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
18595
18699
|
items: true,
|
|
18596
18700
|
hidden: !this.open,
|
|
18597
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
18701
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'f335ec19eff38beec4651d0668265a12b48c87ee', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '01f590e6f62cfd5e5dc1a8295f17e3a8ee8b6ae8' }), hAsync("div", { key: 'bcba5ff19f0b623d9dd8e76cc3bad86c0062e28b', class: "list-padding" }))), hAsync("duet-overlay", { key: 'bd1aadd52ed5259cf85555faabff82e2844dc4ec', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
18598
18702
|
}
|
|
18599
18703
|
get element() { return getElement(this); }
|
|
18600
18704
|
static get watchers() { return {
|
|
@@ -18715,18 +18819,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18715
18819
|
* Always the last one in the class.
|
|
18716
18820
|
*/
|
|
18717
18821
|
render() {
|
|
18718
|
-
return (hAsync(Host, { key: '
|
|
18822
|
+
return (hAsync(Host, { key: '251e622a2df6de7c5309a5f85cf829864a4c4a93', role: "listitem" }, hAsync("div", { key: '012ebfd990d6cb0daf26c6f7ed00ef3b72b40fea', class: {
|
|
18719
18823
|
"duet-submenu-bar-dropdown": true,
|
|
18720
18824
|
"duet-theme-turva": this.theme === "turva",
|
|
18721
18825
|
open: this.open,
|
|
18722
18826
|
active: this.active,
|
|
18723
|
-
} }, hAsync("button", { key: '
|
|
18827
|
+
} }, hAsync("button", { key: '87bb4f401952a4f9776ee3b3182fcdbdec1c7332', 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: {
|
|
18724
18828
|
open: this.open,
|
|
18725
18829
|
active: this.active,
|
|
18726
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18830
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '20bbf61dd0f3d5468548896493981b9f7b972201', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '322d1e7bf90ab61077a427824e009a952d8e86c7', class: "label" }, hAsync("span", { key: 'c817dbb4ead417770c71b1c024d8cbe871785297', class: "label-text" }, hAsync("slot", { key: '88e8e6f3544b1fb13bde7ba698221408f910a442', name: "label" })), hAsync("duet-icon", { key: '56447cc388c3f1b64fb53fea99cd56497864398d', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '40a3648cc2536d2abf6bc48a3c9ac1c9670ddece', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18727
18831
|
items: true,
|
|
18728
18832
|
hidden: !this.open,
|
|
18729
|
-
} }, hAsync("slot", { key: '
|
|
18833
|
+
} }, hAsync("slot", { key: '639962d848abe9a48c384dc0d165f73503138c41' })))));
|
|
18730
18834
|
}
|
|
18731
18835
|
get element() { return getElement(this); }
|
|
18732
18836
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18778,12 +18882,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18778
18882
|
* Always the last one in the class.
|
|
18779
18883
|
*/
|
|
18780
18884
|
render() {
|
|
18781
|
-
return (hAsync(Host, { key: '
|
|
18885
|
+
return (hAsync(Host, { key: '1f21914d277b1fb83c23ae8247a2079aaf5d6bb2' }, hAsync("a", { key: '31b510818a88dd7ab76fce354f6829d8bce7a482', class: {
|
|
18782
18886
|
"duet-submenu-bar-dropdown-link": true,
|
|
18783
18887
|
"duet-theme-turva": this.theme === "turva",
|
|
18784
18888
|
highlight: this.highlight,
|
|
18785
18889
|
active: this.active,
|
|
18786
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18890
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '275714de44673ecd360f064f17389921175d4682', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '3ad326ef4328498e474abcbba52adb0d6badb769', class: "label-container" }, hAsync("span", { key: 'ce4dad3fbd9f536f2a92fe8837f911b821594150', class: "label" }, hAsync("slot", { key: '7d3a890bbcb4a7ee9df6e2e0db0e3b38a5e90ee9' })), this.caret && hAsync("duet-icon", { key: 'c8756b808a642c376cbf4ed70a95818d273a8f13', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'fc51e8c923ddf25c2b8caf20608ca2b2e0eb5161', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18787
18891
|
}
|
|
18788
18892
|
get element() { return getElement(this); }
|
|
18789
18893
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18857,7 +18961,7 @@ class DuetSubmenuBarItem {
|
|
|
18857
18961
|
render() {
|
|
18858
18962
|
const TagName = this.url ? "a" : "button";
|
|
18859
18963
|
const role = this.url ? "link" : "button";
|
|
18860
|
-
return (hAsync(Host, { key: '
|
|
18964
|
+
return (hAsync(Host, { key: 'da93c6fa6997e05bd6f9164d77aa907504769b01', role: "listitem" }, hAsync(TagName, { key: '1dc43febd774cfc9f118a968546a8bf84a32e552', 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: 'c47bbb85e5e8b60012c664beb9479e127c1db73a', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'b7a054d24e6f81c413538ff29645f58fc0f1ccf5', class: "label" }, hAsync("span", { key: '3790441950e7485a9d4439ea8d95d00ded433661', class: "label-text" }, hAsync("slot", { key: '8c345b1a1d38ad78510b6e30df8a7ae569cfdbfe' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'c0d77269c066ac303a2a17de4183f4a21ff8a77a', class: {
|
|
18861
18965
|
"trailing-icon": !!this.trailingIcon,
|
|
18862
18966
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18863
18967
|
"external-icon": !!this.external,
|
|
@@ -18918,7 +19022,7 @@ class DuetSubmenuBarLink {
|
|
|
18918
19022
|
* Always the last one in the class.
|
|
18919
19023
|
*/
|
|
18920
19024
|
render() {
|
|
18921
|
-
return (hAsync(Host, { key: '
|
|
19025
|
+
return (hAsync(Host, { key: '501c03cd429ff36b4500a5a0e75ddd8e5b49a1bf', role: "listitem" }, hAsync("a", { key: '422a173b44d4b21ca6f1826676669ba8d5e9a774', 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: '2b65b8820b017fa6b2a8b66707f5b0bb116959e9', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '38a0a9ff428aee13c59c07346c0c0217a074280f', class: "label" }, hAsync("slot", { key: '74d157331532709ca0d1ad1009c68613dd0da891' })))));
|
|
18922
19026
|
}
|
|
18923
19027
|
get element() { return getElement(this); }
|
|
18924
19028
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -19028,7 +19132,7 @@ class DuetTab {
|
|
|
19028
19132
|
* Always the last one in the class.
|
|
19029
19133
|
*/
|
|
19030
19134
|
render() {
|
|
19031
|
-
return (hAsync("div", { key: '
|
|
19135
|
+
return (hAsync("div", { key: 'de8d74146d35bba1361de77867102794264768e0', ref: element => {
|
|
19032
19136
|
if (!this.contentId) {
|
|
19033
19137
|
this.tabpanelElement = element;
|
|
19034
19138
|
}
|
|
@@ -19037,7 +19141,7 @@ class DuetTab {
|
|
|
19037
19141
|
"duet-tab": true,
|
|
19038
19142
|
selected: this.selected,
|
|
19039
19143
|
"has-content-id": !!this.contentId,
|
|
19040
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
19144
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '6aee6454e6da2ddea216d868df6f8adc9791bd3e' })));
|
|
19041
19145
|
}
|
|
19042
19146
|
get element() { return getElement(this); }
|
|
19043
19147
|
static get watchers() { return {
|
|
@@ -19065,7 +19169,7 @@ class DuetTab {
|
|
|
19065
19169
|
}; }
|
|
19066
19170
|
}
|
|
19067
19171
|
|
|
19068
|
-
const duetTabGroupCss = "*,*::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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{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-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:15px 28px 17px 28px;overflow:hidden;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;color:rgb(98, 121, 138);border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{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.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}";
|
|
19172
|
+
const duetTabGroupCss = "*,*::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;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;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.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{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-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:11px 20px 13px 20px;overflow:hidden;font-size:0.875rem;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.switch-large-at-always{padding:15px 28px 17px 28px;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-default .duet-tab-button.switch-large-at-small{padding:15px 28px 17px 28px;font-size:1rem}}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding:12px 0;margin-left:0;font-size:0.875rem;color:rgb(98, 121, 138);border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.switch-large-at-always{padding:20px 0;font-size:1rem}@media (min-width: 36em){.duet-tab-variation-plain .duet-tab-button.switch-large-at-small{padding:20px 0;font-size:1rem}}.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(8, 42, 77)}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(8, 42, 77);border-bottom:2px solid rgb(0, 119, 179)}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button{color:rgb(113, 118, 132)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button:hover{color:rgb(51, 5, 20)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(51, 5, 20);border-bottom:2px solid rgb(198, 12, 48)}.duet-tab-variation-checked .duet-tab-button{position:relative;display:inline-block;flex-basis:0;flex-grow:1;width:200px;min-width:200px;padding:8px 4px;border-color:rgb(181, 198, 208);border-top:2px solid rgb(181, 198, 208);border-bottom-color:rgb(0, 119, 179);border-left:2px solid rgb(181, 198, 208);border-radius:4px 4px 0 0;transition:none}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button{border-color:rgb(181, 198, 208);border-bottom-color:rgb(113, 118, 132)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button{min-width:0;padding:16px}}.duet-tab-variation-checked .duet-tab-button.stackable-tab{min-width:0}.duet-tab-variation-checked .duet-tab-button:first-child{margin-left:auto}.duet-tab-variation-checked .duet-tab-button:last-child{margin-right:auto}.duet-tab-variation-checked .duet-tab-button:active{opacity:1;transition:none}.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(0, 119, 179);background:linear-gradient(180deg, rgb(240, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(0, 119, 179);border-bottom-color:#fff}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button.selected{color:rgb(23, 28, 58);background:linear-gradient(180deg, rgb(245, 247, 250) 0%, rgb(255, 255, 255) 100%);border-color:rgb(113, 118, 132);border-bottom-color:#fff}.duet-tab-variation-checked .duet-tab-button .checked-tab-content{display:flex;flex-direction:row;justify-content:space-between}.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:column;height:100%}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content.stackable-checked-tab-content{flex-direction:row}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description{display:flex;flex-direction:column;overflow:hidden;overflow-wrap:break-word}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:center}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description.stackable-description{text-align:left}}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{margin-top:4px;font-size:0.875rem;font-weight:400;color:rgb(98, 121, 138)}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{font-size:1rem;text-align:left}}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-checked .duet-tab-button .checked-tab-content .checked-tab-description .tab-caption.selected{color:rgb(113, 118, 132)}.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:-1;margin-top:8px;margin-bottom:8px}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-button .checked-tab-content .stackable-checkmark{order:1}}.duet-tab-group-content{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.5;color:rgb(8, 42, 77);text-align:left}.duet-tab-group-content:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}.duet-theme-turva .duet-tab-group-content:focus,.duet-tab-group-content:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-group-content.checked-group-content{padding:28px 0 28px 0}.duet-tab-group-content.checked-group-content::after{position:absolute;top:-2px;left:0;width:100%;height:2px;content:\" \";background-color:rgb(0, 119, 179)}.duet-theme-turva .duet-tab-group-content{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-theme-turva .duet-tab-group-content.checked-group-content::after{background-color:rgb(113, 118, 132)}";
|
|
19069
19173
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
19070
19174
|
|
|
19071
19175
|
/**
|
|
@@ -19092,7 +19196,7 @@ class DuetTabGroup {
|
|
|
19092
19196
|
}
|
|
19093
19197
|
if (isTabKey(ev) && !isShiftTabKey(ev)) {
|
|
19094
19198
|
ev.preventDefault();
|
|
19095
|
-
this.element.querySelector("duet-tab[selected]").setFocus();
|
|
19199
|
+
this.element.querySelector(":scope > duet-tab[selected]").setFocus();
|
|
19096
19200
|
}
|
|
19097
19201
|
if (button) {
|
|
19098
19202
|
ev.preventDefault();
|
|
@@ -19142,6 +19246,7 @@ class DuetTabGroup {
|
|
|
19142
19246
|
this.padding = "auto";
|
|
19143
19247
|
this.setTabIndex = true;
|
|
19144
19248
|
this.tabChangeConfirm = false;
|
|
19249
|
+
this.switchLargeBreakpoint = "small";
|
|
19145
19250
|
}
|
|
19146
19251
|
/**
|
|
19147
19252
|
* Component lifecycle events.
|
|
@@ -19259,30 +19364,32 @@ class DuetTabGroup {
|
|
|
19259
19364
|
// TODO: get rid of plain-scrolling class, as we always scroll
|
|
19260
19365
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
19261
19366
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
19367
|
+
const largeBreakpoint = `switch-large-at-${this.switchLargeBreakpoint ? this.switchLargeBreakpoint : "small"}`;
|
|
19262
19368
|
const buttons = this.tabs.map((element, index) => (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: element.selected ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
19263
19369
|
"duet-p-0": this.padding === "none",
|
|
19264
19370
|
"duet-tab-button": true,
|
|
19265
19371
|
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
19266
19372
|
selected: element.selected,
|
|
19267
19373
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
19374
|
+
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
19268
19375
|
}, onClick: () => this.onTabSelect(index), onKeyDown: ev => this.handleKeyDown(ev) }, this.variation === "checked" ? (hAsync("div", { class: { "checked-tab-content": true, "stackable-checked-tab-content": this.tabs.length <= 3 } }, hAsync("div", { class: { "checked-tab-description": true, "stackable-description": this.tabs.length <= 3 } }, hAsync("p", null, element.label), hAsync("p", { class: { "tab-caption": true, selected: element.selected } }, element.caption)), hAsync("div", { class: { "stackable-checkmark": this.tabs.length <= 3 } }, hAsync("duet-checkmark", { theme: this.theme, checked: element.selected, type: "radio", "presentation-only": true, center: true })))) : (element.label))));
|
|
19269
|
-
return (hAsync("div", { key: '
|
|
19376
|
+
return (hAsync("div", { key: '89dda2af64bfa896973646dee7566932c934896f', class: {
|
|
19270
19377
|
"duet-tab-group": true,
|
|
19271
19378
|
"duet-theme-turva": this.theme === "turva",
|
|
19272
19379
|
[variationClass]: true,
|
|
19273
19380
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
19274
19381
|
"duet-tab-group-scrolls": true,
|
|
19275
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
19382
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '8781b3aa65caf6f828f1f84d3fa5ce603b620c13', role: "tablist", class: {
|
|
19276
19383
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
19277
19384
|
"duet-tab-group-tabs": true,
|
|
19278
19385
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
19279
19386
|
}, ref: el => {
|
|
19280
19387
|
this.tabsContainer = el;
|
|
19281
|
-
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap:
|
|
19388
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), hAsync("div", { key: '382e15a7c8aa8f5c6078402741c55ca70b97a8fd', class: {
|
|
19282
19389
|
"duet-tab-group-content": true,
|
|
19283
19390
|
"duet-m-0": this.margin === "none",
|
|
19284
19391
|
"checked-group-content": this.variation === "checked",
|
|
19285
|
-
} }, hAsync("slot", { key: '
|
|
19392
|
+
} }, hAsync("slot", { key: '1551ac1536242c1526a0e3b7ed39de8dc57c9c44' }))));
|
|
19286
19393
|
}
|
|
19287
19394
|
get element() { return getElement(this); }
|
|
19288
19395
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -19304,6 +19411,7 @@ class DuetTabGroup {
|
|
|
19304
19411
|
"padding": [1],
|
|
19305
19412
|
"setTabIndex": [4, "set-tab-index"],
|
|
19306
19413
|
"tabChangeConfirm": [4, "tab-change-confirm"],
|
|
19414
|
+
"switchLargeBreakpoint": [1, "switch-large-breakpoint"],
|
|
19307
19415
|
"tabs": [32],
|
|
19308
19416
|
"selected": [32],
|
|
19309
19417
|
"openTab": [64],
|
|
@@ -19880,7 +19988,7 @@ class DuetTable {
|
|
|
19880
19988
|
}
|
|
19881
19989
|
}
|
|
19882
19990
|
render() {
|
|
19883
|
-
return (hAsync(Host, { key: '
|
|
19991
|
+
return (hAsync(Host, { key: 'fcdd601ace6ef28821198d34d85eb3dc94b73aa3', class: {
|
|
19884
19992
|
[`duet-table-${this.variation}`]: true,
|
|
19885
19993
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
19886
19994
|
// sticky only valid when in regular table layout
|
|
@@ -19889,7 +19997,7 @@ class DuetTable {
|
|
|
19889
19997
|
"duet-m-0": this.margin === "none",
|
|
19890
19998
|
"duet-theme-turva": this.theme === "turva",
|
|
19891
19999
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
19892
|
-
} }, hAsync("slot", { key: '
|
|
20000
|
+
} }, hAsync("slot", { key: '35cef7a6450ff5dc1e34cda94637a50dec7860a8' })));
|
|
19893
20001
|
}
|
|
19894
20002
|
get element() { return getElement(this); }
|
|
19895
20003
|
static get watchers() { return {
|
|
@@ -20082,17 +20190,17 @@ class DuetTextarea {
|
|
|
20082
20190
|
*/
|
|
20083
20191
|
render() {
|
|
20084
20192
|
const identifier = this.identifier || this.textareaId;
|
|
20085
|
-
return (hAsync(Host, { key: '
|
|
20193
|
+
return (hAsync(Host, { key: '9de3a488ae655f5d6cf9a5aa71368827ac2667a3', class: {
|
|
20086
20194
|
"duet-m-0": this.margin === "none",
|
|
20087
20195
|
"duet-has-counter": this.counter && !this.error,
|
|
20088
20196
|
"duet-expand": this.expand,
|
|
20089
|
-
} }, hAsync("div", { key: '
|
|
20197
|
+
} }, hAsync("div", { key: 'fdfefe7ce23102c9e5aaaef53814d3027504856f', class: {
|
|
20090
20198
|
"duet-textarea-container": true,
|
|
20091
20199
|
"duet-theme-turva": this.theme === "turva",
|
|
20092
20200
|
"duet-label-hidden": this.labelHidden,
|
|
20093
20201
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
20094
20202
|
"has-error": !!this.error,
|
|
20095
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20203
|
+
} }, hAsync(DuetInternalLabel, { key: '31924f3d113d02e2e7a9a3a0963b91cc09d33fdc', 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: 'd1e0d879d2207a331853d015afcbbf7eee58ae3a', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'ca5cf4791d6929903a047564ba7233e5cb521b53', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'c6b8045ffe06481f564bac05f5c134d76c0a80ec', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: 'f300e8cabf5750ea73421abe15e04049ae4ad02e', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'c8f50dc4d1a7246241dbb9f01de879a5f29655f6', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: '08af0fdb58117b47d65e1f27d56ee3f33a07944e', 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: 'f2c8d0a765743945be3b9ffdb91df63e02307f4a', alignment: "stretch" }, hAsync("duet-grid-item", { key: '9c3e34bd24ae7f34e3f8da1425cbeb68090f9524', margin: "none", fill: true }, hAsync("div", { key: '6dd0096a8e03199e273cdd72c21c0b52b7c6a998', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '40ec239fe62581029385fefd5367ca0c56bd260d' }, this.error))), hAsync("duet-grid-item", { key: 'e755534d7aa88d03f9b5fc1d3a6fb0eb0d53bdda', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: '2238da2d8f4a66c378e08bc032f52a4a63d3ebaa', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: 'f1b005a103b371724c880ded8aba0af1024b6355', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
20096
20204
|
this.hiddenCounterLabel = el;
|
|
20097
20205
|
} })))));
|
|
20098
20206
|
}
|
|
@@ -20224,12 +20332,12 @@ class DuetToggle {
|
|
|
20224
20332
|
*/
|
|
20225
20333
|
render() {
|
|
20226
20334
|
const identifier = this.identifier || this.toggleId;
|
|
20227
|
-
return (hAsync(Host, { key: '
|
|
20335
|
+
return (hAsync(Host, { key: '6f7b05fd6188f7013f040a7b29c036727facbd85', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '976442fa7eca90d023345dec040d15fadd997d2f', class: {
|
|
20228
20336
|
"duet-toggle": true,
|
|
20229
20337
|
"duet-theme-turva": this.theme === "turva",
|
|
20230
20338
|
"duet-side-label": this.labelPosition !== "top",
|
|
20231
20339
|
"duet-reverse-label": this.labelPosition === "right",
|
|
20232
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20340
|
+
} }, hAsync(DuetInternalLabel, { key: 'fee270a8fc1611ee7eb82d7622073a2d8756b3a4', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '70a46c19918167b984a93e60845d4642184a1cc3', class: "duet-switch" }, hAsync("input", { key: '33d9dd7dadc7976393e11011a1a6327bc3193ed0', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: 'b0f17ed39c0b77370958141021e9e2ab98399d94', class: "duet-slider" })))));
|
|
20233
20341
|
}
|
|
20234
20342
|
get element() { return getElement(this); }
|
|
20235
20343
|
static get watchers() { return {
|
|
@@ -20300,11 +20408,11 @@ class DuetToolbar {
|
|
|
20300
20408
|
: this.variation === "secondary"
|
|
20301
20409
|
? "secondary"
|
|
20302
20410
|
: "default";
|
|
20303
|
-
return (hAsync(Host, { key: '
|
|
20411
|
+
return (hAsync(Host, { key: '7c4634d2a35cd12abc71558bd726735a0f6b4234' }, hAsync("nav", { key: '97261310d0db43f2a0c848a4003aa37cb4d808c1', class: {
|
|
20304
20412
|
"duet-toolbar": true,
|
|
20305
20413
|
"duet-theme-turva": this.theme === "turva",
|
|
20306
20414
|
[variation]: true,
|
|
20307
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20415
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'f27b0883e8ec3f9e86c6b250ad379dc7f69b2439', class: "container" }, hAsync("div", { key: 'c1a8827f0d1efe138109799d6c21d0a3d79dc9da', class: "list", role: "list" }, hAsync("slot", { key: '8b8eacded7186b48305432f8dd6c338593cee8e0', name: "left" })), hAsync("div", { key: '0941393fcdeef9501a07e37029c4fa5860faa346', class: "list", role: "list" }, hAsync("slot", { key: 'ac2065b27768910493300da47e3d0b3bb9c516cd', name: "right" }))))));
|
|
20308
20416
|
}
|
|
20309
20417
|
get element() { return getElement(this); }
|
|
20310
20418
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -20372,18 +20480,18 @@ class DuetToolbarDropdown {
|
|
|
20372
20480
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
20373
20481
|
}
|
|
20374
20482
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20375
|
-
return (hAsync(Host, { key: '
|
|
20483
|
+
return (hAsync(Host, { key: '93c6fde5bb9422cdeddefb021a6ef959f6382468', role: "listitem" }, hAsync("div", { key: 'bea4eb48492434e30af5c1a9b0fadfbc7b1a2ccd', class: {
|
|
20376
20484
|
"duet-toolbar-dropdown": true,
|
|
20377
20485
|
"duet-theme-turva": this.theme === "turva",
|
|
20378
20486
|
[itemsAlign]: true,
|
|
20379
20487
|
[variation]: true,
|
|
20380
|
-
} }, hAsync("button", { key: '
|
|
20488
|
+
} }, hAsync("button", { key: '1e589d0e0c744719bc487a875114913230f4fc41', 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: {
|
|
20381
20489
|
active: this.active,
|
|
20382
20490
|
open: this.open,
|
|
20383
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20491
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '247b76e6ee4ff10ae6275ce1d82f8d15e7a5cc01', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'bcced782bb48e322d3b7e51f00944a250b440e97', class: "label" }, hAsync("slot", { key: 'c13fddaf2ca14f1c111d3531dd0cb81de39492e5', name: "label" }), hAsync("duet-icon", { key: '986ac54e0b3c81cdfd6721b5ba9ff315790ad066', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'd1c8306765f67cd28b68f36a5d69d1cac703e6f0', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20384
20492
|
items: true,
|
|
20385
20493
|
hidden: !this.open,
|
|
20386
|
-
} }, hAsync("slot", { key: '
|
|
20494
|
+
} }, hAsync("slot", { key: 'c61a36a84b1095068fa7e645ec17daff2e6dc62c' })))));
|
|
20387
20495
|
}
|
|
20388
20496
|
get element() { return getElement(this); }
|
|
20389
20497
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -20436,11 +20544,11 @@ class DuetToolbarDropdownLink {
|
|
|
20436
20544
|
* Always the last one in the class.
|
|
20437
20545
|
*/
|
|
20438
20546
|
render() {
|
|
20439
|
-
return (hAsync(Host, { key: '
|
|
20547
|
+
return (hAsync(Host, { key: '2337077d456966b5d54e4224f7b4feed069deb3b' }, hAsync("a", { key: '862439261d8493ea79212340afb36566c8066ac8', class: {
|
|
20440
20548
|
"duet-toolbar-dropdown-link": true,
|
|
20441
20549
|
"duet-theme-turva": this.theme === "turva",
|
|
20442
20550
|
active: this.active,
|
|
20443
|
-
}, 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: '
|
|
20551
|
+
}, 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: 'eefe89c70a61602260dd173e54912ff3b97e3618', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '7de399ce4b29b72d214e150e6045f965648d49bf', class: "label" }, hAsync("slot", { key: '55fc1816636dd382b16e7fd68d55cd61ed2f56ac' })), this.active && (hAsync("duet-icon", { key: 'b327b46d411bf4dd40f5a8f78b3fbe133f7eeb81', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
20444
20552
|
}
|
|
20445
20553
|
get element() { return getElement(this); }
|
|
20446
20554
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -20515,17 +20623,17 @@ class DuetToolbarItem {
|
|
|
20515
20623
|
: this.variation === "secondary"
|
|
20516
20624
|
? "secondary"
|
|
20517
20625
|
: "default";
|
|
20518
|
-
return (hAsync(Host, { key: '
|
|
20626
|
+
return (hAsync(Host, { key: '3becaa0c2599123283c9bc82fdd95133effb64bd', role: "listitem" }, hAsync(TagName, { key: '6ff40a280d9f098a9ba5a2b7d85b5d19cbb58ae7', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
20519
20627
|
"duet-toolbar-item": true,
|
|
20520
20628
|
"duet-theme-turva": this.theme === "turva",
|
|
20521
20629
|
active: this.active,
|
|
20522
20630
|
[variation]: true,
|
|
20523
|
-
}, 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: '
|
|
20631
|
+
}, 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: 'bffad519bf392abd549da7a06c2d59808dca6064', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '513c5e9bc2795a7732f2a6d96fbc3c632456faa0', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'a399e7afa30d550289f267f28e783bae282fbed9', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '063f628fd7668ae6d634e0c72789c1887938d592' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '42df1db8d19a9e10e0c0bebbaeb3c4ed14d5d742', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '301e8033a857c9e76dd50d2b7ac4e797e235231e', class: {
|
|
20524
20632
|
"trailing-icon": !!this.trailingIcon,
|
|
20525
20633
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20526
20634
|
"external-icon": !!(this.url && this.external),
|
|
20527
20635
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
20528
|
-
}, 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: '
|
|
20636
|
+
}, 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: '9c9f58a6044c5d87041f9c03f1ff50a999314d7f', class: "duet-toolbar-badge" }))))));
|
|
20529
20637
|
}
|
|
20530
20638
|
get element() { return getElement(this); }
|
|
20531
20639
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -20579,12 +20687,12 @@ class DuetToolbarLink {
|
|
|
20579
20687
|
*/
|
|
20580
20688
|
render() {
|
|
20581
20689
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20582
|
-
return (hAsync(Host, { key: '
|
|
20690
|
+
return (hAsync(Host, { key: 'c9d22540b2fe11472be1334ac0048b27c6b06d9e', role: "listitem" }, hAsync("a", { key: '6df17c00c386d080b450dee6056ae0d3f770cac3', class: {
|
|
20583
20691
|
"duet-toolbar-link": true,
|
|
20584
20692
|
"duet-theme-turva": this.theme === "turva",
|
|
20585
20693
|
active: this.active,
|
|
20586
20694
|
[variation]: true,
|
|
20587
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
20695
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'ad8e3b8bf4fc7b4049948cb12ed148eb4383a931', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'c295aeacea2d6efe9892ec06cf8ba0070599212e' }))));
|
|
20588
20696
|
}
|
|
20589
20697
|
get element() { return getElement(this); }
|
|
20590
20698
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -20856,12 +20964,12 @@ class DuetTooltipButton {
|
|
|
20856
20964
|
* Always the last one in the class.
|
|
20857
20965
|
*/
|
|
20858
20966
|
render() {
|
|
20859
|
-
return (hAsync(Host, { key: '
|
|
20967
|
+
return (hAsync(Host, { key: 'adbd99f0d6f275381ec67f6f3155e0e82faff6ff' }, hAsync("button", { key: '67837b378c7230e93e09b74ebd53abc8280ac8ac', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
20860
20968
|
"duet-tooltip-button": true,
|
|
20861
20969
|
"duet-tooltip-button-has-label": !!this.label,
|
|
20862
20970
|
"duet-theme-turva": this.theme === "turva",
|
|
20863
20971
|
"duet-tooltip-button-negative": this.negative,
|
|
20864
|
-
} }, hAsync("svg", { key: '
|
|
20972
|
+
} }, hAsync("svg", { key: '1bb553c9ffae4ee20e330699ceb1c51b85377c57', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '6b673adac1c51d9827bc420b487cf5a574d2f087', 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: '76d0674c26286f3f8d00e8b72489f11d517e8ab9', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: 'd2c1719f7c4caa2391048d84e309f0472065c251', 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)))));
|
|
20865
20973
|
}
|
|
20866
20974
|
get element() { return getElement(this); }
|
|
20867
20975
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -20929,11 +21037,11 @@ class DuetTooltipPopup {
|
|
|
20929
21037
|
this.contentEl.focus();
|
|
20930
21038
|
}
|
|
20931
21039
|
render() {
|
|
20932
|
-
return (hAsync(Host, { key: '
|
|
21040
|
+
return (hAsync(Host, { key: '54c69a05eb11993d10cbd0c27ff3b7d38562c384' }, hAsync("div", { key: 'f0d3ce9c9fa8a72aa2c4effdef826b54ef8de708', class: {
|
|
20933
21041
|
"duet-tooltip": true,
|
|
20934
21042
|
"duet-theme-turva": this.theme === "turva",
|
|
20935
21043
|
"duet-tooltip-active": this.active === true,
|
|
20936
|
-
} }, hAsync(FocusGuard, { key: '
|
|
21044
|
+
} }, hAsync(FocusGuard, { key: 'a58df98ae3f69bca5bce6c972ef39461f778dc71', moveFocusTo: this.buttonEl }), hAsync("div", { key: 'c7d3b83e4d9931f53dd8013f52517ef8a7704919', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '83caa55274cebba3a4e5efdf8a75ba58317dc81a' })), hAsync("div", { key: '51532f034ee11bf42a884b703fea4a5473c2c813', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'c3c26ad48ca96962808a24a96e146aa47bc09525', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '28b8247a3c760b4410fb38c2293744e914364231', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '55b2ab7375d26de4a949afaf5982e070e3888622', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'c962568d18c1feab15d7b71a51a2526745e1ac80' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '61ba9ee2bed8370b66d1fc7fd4e1928d09b64a5e', moveFocusTo: this.contentEl }))));
|
|
20937
21045
|
}
|
|
20938
21046
|
get element() { return getElement(this); }
|
|
20939
21047
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -21041,14 +21149,14 @@ class DuetTray {
|
|
|
21041
21149
|
* Always the last one in the class.
|
|
21042
21150
|
*/
|
|
21043
21151
|
render() {
|
|
21044
|
-
return (hAsync("div", { key: '
|
|
21152
|
+
return (hAsync("div", { key: '7f2058936e15f7dc22d1a4177c7a03a991e3e112', class: {
|
|
21045
21153
|
"duet-tray": true,
|
|
21046
21154
|
"duet-tray-is-active": this.active,
|
|
21047
21155
|
"duet-tray-is-hidden": this.hiddenState,
|
|
21048
21156
|
"duet-tray-is-responsive": this.responsive,
|
|
21049
21157
|
"duet-theme-turva": this.theme === "turva",
|
|
21050
21158
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
21051
|
-
} }, hAsync("div", { key: '
|
|
21159
|
+
} }, hAsync("div", { key: '060ca6aab4f8779473ecc4be57e43b77306088e7', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '4683917a9f467090d5a2ed72f9cd7eaeb1ffc3ef' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '7b277a0d07a71be98ff53e2a39975b8fa19bb940' }, hAsync("button", { key: 'de91e3bce233b0b00671320473a92b5bb0bc986b', "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: '205702e6343cba4fefbb3797dc9cb663e1fe1c46', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '8a698ca8f3764000b2240be4f05c85de0e0fb4f4' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '574abdbbdc65a7e8abb8e6dade08993687c49809', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'e8598295d729ba408902b04dad98e11ce241d9ef', class: "duet-tray-expandable-content" }, hAsync("slot", { key: 'b90f5b8292364fbf1621c5569dd1cdd2d3c430ed', name: "additional" })))))));
|
|
21052
21160
|
}
|
|
21053
21161
|
get element() { return getElement(this); }
|
|
21054
21162
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -22164,10 +22272,10 @@ class DuetUpload {
|
|
|
22164
22272
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
22165
22273
|
}
|
|
22166
22274
|
// @ts-ignore
|
|
22167
|
-
return (hAsync(Host, { key: '
|
|
22275
|
+
return (hAsync(Host, { key: 'dd2d8df45d7b1e8526fc08809e07f4cb33685750', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '5763ea920a4090ca67c77c4408df558a1381a4ea', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'c156b40628ec1b5d9270df434022ed16e8946eae', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'ad1d9f14e0c17f73b93aa3989fbd6105e5668a11', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'aa1475ad4c73fd61976e8ba408d76f1b55b850cb', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'a4dd57cd140b091b2bd5622b5fc5c55dc567e144', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '8f5beb8ce03d9b4f1b7df6d01ba707485daecf5a', 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: '0432c1b02bcc36c239b05c5b4aa260ce4392c5cd', name: "filefooter" }), hAsync("slot", { key: 'dd19564b15aad3cc65396121f3862ee1275e3da6', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '388956db21f30c93c685fac7b11604932baf6ab1', margin: "none", size: "small" }, hAsync("div", { key: '24766af55c816957c30880f6ccf31c2c8d24cebe', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'bb6a994d5c65c0d3514a304eb2547a2f81d3feb3', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '0028099baf1d0d8224d5549a16c663005fb78875' }, hAsync("duet-spacer", { key: '295a793dcf0cff48d7b3b211984a44a68aff5a1c', size: "large" }), hAsync("duet-button", { key: '7375e766eac86aee16440e44c9645173ad2a8d1e', 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 ||
|
|
22168
22276
|
this.bytesMaxReached ||
|
|
22169
22277
|
this.filesToUploadExceedsLimit ||
|
|
22170
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
22278
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '30cbbe58d5267a103f6aecf7dad5481c878d7662' }, hAsync("duet-spacer", { key: 'a18c694807a23f24ffaa895874546efb8864602d', size: "medium" }), hAsync("duet-alert", { key: 'db0280069c76343b698ee84899d829c257558f7a', 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: '5f2458287c90d4c906fe6366bf9fa42a844cf8f9', "aria-hidden": "true" }, hAsync("input", { key: '6d5180b885ae0c13c8c06118084bb49d0df0c989', ref: input => {
|
|
22171
22279
|
this.nativeInput = input;
|
|
22172
22280
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
22173
22281
|
"duet-upload": true,
|
|
@@ -22488,7 +22596,7 @@ class DuetUploadAriaStatus {
|
|
|
22488
22596
|
* Always the last one in the class.
|
|
22489
22597
|
*/
|
|
22490
22598
|
render() {
|
|
22491
|
-
return (hAsync(Host, { key: '
|
|
22599
|
+
return (hAsync(Host, { key: '7b5e6d3888abbca979dccf420da50c973535d2be', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '2f06a21af0424f71414b6046ffd74fac66a8e6fb' }, this.statusMessage)));
|
|
22492
22600
|
}
|
|
22493
22601
|
get element() { return getElement(this); }
|
|
22494
22602
|
static get watchers() { return {
|
|
@@ -22555,7 +22663,7 @@ class DuetUploadItem$1 {
|
|
|
22555
22663
|
inheritGlobalTheme(this);
|
|
22556
22664
|
}
|
|
22557
22665
|
render() {
|
|
22558
|
-
return (hAsync(Host, { key: '
|
|
22666
|
+
return (hAsync(Host, { key: 'fa488300deb51d9bc5eb5bbe2ad484047f82eaee' }, hAsync("duet-visually-hidden", { key: 'b6eaeee61a64ae8c9e872c909f73e1cb3d8b4ac4', "aria-hidden": "true" }, hAsync("input", { key: 'f5107c8dd70020263f0d4f06b4c5b1ff1d4c9936', ref: input => {
|
|
22559
22667
|
this.nativeInput = input;
|
|
22560
22668
|
}, type: "file", class: {
|
|
22561
22669
|
"duet-upload": true,
|
|
@@ -22667,9 +22775,9 @@ class DuetUploadItem {
|
|
|
22667
22775
|
const { uid, meta, item } = this.data;
|
|
22668
22776
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
22669
22777
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
22670
|
-
return (hAsync("div", { key: '
|
|
22778
|
+
return (hAsync("div", { key: '332e1526223fb2285774ed2e29c674dea838e232', class: {
|
|
22671
22779
|
"upload-item-row": true,
|
|
22672
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
22780
|
+
} }, this.showCategory && (hAsync("div", { key: '9a5a6e61b953db803287fb2bd812766400efcbdf', class: "item-categories" }, hAsync("duet-heading", { key: '47b709c68b4c4e864cde019e6b227097f24d26e3', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '224e07d455a755301b4b2f6e1fe6adbac0e0ffec', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '1554e6a65644e37e8ab61e855184ae423667dcd6', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '8611f87c39502a4931ca2e7526ae45f119eb48fa', class: "item-actions" }, this.actions.map(actionItem => {
|
|
22673
22781
|
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) }));
|
|
22674
22782
|
}))));
|
|
22675
22783
|
}
|
|
@@ -22710,7 +22818,7 @@ class DuetVisuallyHidden {
|
|
|
22710
22818
|
* Always the last one in the class.
|
|
22711
22819
|
*/
|
|
22712
22820
|
render() {
|
|
22713
|
-
return (hAsync(Host, { key: '
|
|
22821
|
+
return (hAsync(Host, { key: '07a0c619ae83ddb2963351585eda20ca0007b2fc', class: "duet-visually-hidden" }, hAsync("slot", { key: '916e0207629fc62f5dee03454e83e2825db3191c' })));
|
|
22714
22822
|
}
|
|
22715
22823
|
get element() { return getElement(this); }
|
|
22716
22824
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -22799,6 +22907,7 @@ registerComponents([
|
|
|
22799
22907
|
DuetSlideoutPanelDropdown,
|
|
22800
22908
|
DuetSpacer,
|
|
22801
22909
|
DuetSpinner,
|
|
22910
|
+
DuetStatusIcon,
|
|
22802
22911
|
DuetStep,
|
|
22803
22912
|
DuetStepper,
|
|
22804
22913
|
DuetSubmenuBar,
|