@duetds/components 9.5.1 → 9.6.0
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 +263 -217
- package/lib/cjs/{a11y-utils-1e25e6e3.js → a11y-utils-285b9770.js} +1 -1
- package/lib/cjs/{app-globals-b0eb39d1.js → app-globals-a643282a.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-alert.cjs.entry.js +16 -16
- package/lib/cjs/duet-badge.cjs.entry.js +3 -3
- package/lib/cjs/duet-banner.cjs.entry.js +4 -4
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +9 -9
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +30 -13
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- 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.cjs.entry.js +3 -3
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +8 -4
- package/lib/cjs/duet-contact-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- 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 +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +14 -9
- package/lib/cjs/duet-input_2.cjs.entry.js +9 -3
- 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 +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- 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 +8 -8
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- 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 +15 -15
- package/lib/cjs/duet-phone-input.cjs.entry.js +9 -3
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +23 -14
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- 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 +9 -9
- package/lib/cjs/duet-status-icon.cjs.entry.js +8 -8
- package/lib/cjs/duet-step_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +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 +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-dc219661.js → errorcodes.utils-ffbb3f35.js} +1 -1
- package/lib/cjs/{focus-utils-21fac156.js → focus-utils-2f1ec06b.js} +1 -1
- package/lib/cjs/{index-e6a117fc.js → index-850a7759.js} +6 -6
- package/lib/cjs/{language-utils-c291fe9b.js → language-utils-030e2133.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-8d10ec0a.js → slot-utils-84ad3d6c.js} +1 -1
- package/lib/cjs/{teleport-c6f8391a.js → teleport-c0eede18.js} +2 -2
- package/lib/collection/components/duet-action-button/duet-action-button.js +2 -2
- package/lib/collection/components/duet-alert/duet-alert.css +72 -27
- package/lib/collection/components/duet-alert/duet-alert.js +37 -16
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-banner/duet-banner.js +3 -3
- 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-button/duet-button.js +10 -10
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +3 -3
- package/lib/collection/components/duet-card/duet-card.js +6 -6
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -3
- package/lib/collection/components/duet-chip/duet-chip.js +7 -7
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +3 -3
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +5 -5
- package/lib/collection/components/duet-combobox/duet-combobox.js +8 -4
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +2 -2
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +4 -4
- package/lib/collection/components/duet-divider/duet-divider.js +2 -2
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +5 -5
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +3 -3
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +2 -2
- package/lib/collection/components/duet-footer/duet-footer.js +11 -11
- package/lib/collection/components/duet-grid/duet-grid.js +3 -3
- package/lib/collection/components/duet-header/duet-header.js +15 -15
- package/lib/collection/components/duet-heading/duet-heading.js +3 -3
- package/lib/collection/components/duet-hero/duet-hero.js +10 -10
- package/lib/collection/components/duet-icon/duet-icon.js +13 -8
- package/lib/collection/components/duet-input/duet-input.js +36 -8
- package/lib/collection/components/duet-label/duet-label.js +2 -2
- package/lib/collection/components/duet-layout/duet-layout.js +6 -6
- package/lib/collection/components/duet-link/duet-link.js +25 -4
- package/lib/collection/components/duet-list/duet-list.js +4 -4
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -3
- 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 +10 -10
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +11 -11
- 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 +3 -3
- package/lib/collection/components/duet-number-input/duet-number-input.js +4 -4
- package/lib/collection/components/duet-overlay/duet-overlay.js +2 -2
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +13 -13
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +5 -5
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +32 -4
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +3 -3
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +4 -4
- 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-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +3 -3
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +4 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +30 -5
- 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 +3 -3
- package/lib/collection/components/duet-slideout/duet-slideout.js +5 -5
- 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 +3 -3
- package/lib/collection/components/duet-spinner/duet-spinner.js +3 -3
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +7 -7
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +2 -2
- 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-group/duet-tab-group.css +57 -1
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +56 -9
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +4 -4
- package/lib/collection/components/duet-toggle/duet-toggle.js +1 -1
- 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-tooltip/duet-tooltip.js +1 -1
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +16 -16
- 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 +4 -4
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/utils/teleport.js +2 -2
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- 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 +6 -6
- 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 +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +20 -16
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- 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 +11 -11
- 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 +8 -8
- 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 +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- 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 +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- 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-phone-input.js +23 -16
- 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 +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- 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 +8 -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.js +1 -103
- package/lib/dist-custom-elements/duet-step.js +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +21 -12
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +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 +5 -5
- 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 +42 -36
- 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-75e0f2c0.js → p-0e2c29a0.js} +5 -5
- package/lib/dist-custom-elements/{p-d40633ba.js → p-0e3a8465.js} +3 -3
- package/lib/dist-custom-elements/{p-40b6cfdc.js → p-1399c239.js} +9 -9
- package/lib/dist-custom-elements/{p-d6afe712.js → p-17b1f88c.js} +7 -7
- package/lib/dist-custom-elements/{p-4a747b86.js → p-19a2d36f.js} +1 -1
- package/lib/dist-custom-elements/{p-35112a3e.js → p-1ee62209.js} +5 -5
- package/lib/dist-custom-elements/{p-5814136c.js → p-246a45c5.js} +3 -3
- package/lib/dist-custom-elements/{p-0a5495b6.js → p-24de14ac.js} +3 -3
- package/lib/dist-custom-elements/{p-1219c53a.js → p-2a7b9c7c.js} +4 -4
- package/lib/dist-custom-elements/{p-8eb7fe43.js → p-2cdc1b0d.js} +2 -2
- package/lib/dist-custom-elements/{p-b6c1319b.js → p-4e00e010.js} +2 -2
- package/lib/dist-custom-elements/{p-8df0e44b.js → p-5554d38b.js} +3 -3
- package/lib/dist-custom-elements/{p-4bbce223.js → p-670555eb.js} +1 -1
- package/lib/dist-custom-elements/p-71d24b1e.js +213 -0
- package/lib/dist-custom-elements/{p-1237d11e.js → p-744611d2.js} +8 -8
- package/lib/dist-custom-elements/{p-9baca56c.js → p-7a5af4ef.js} +1 -1
- package/lib/dist-custom-elements/{p-87b5d28b.js → p-7da00182.js} +6 -6
- package/lib/dist-custom-elements/p-83dee022.js +108 -0
- package/lib/dist-custom-elements/{p-80d7e109.js → p-84a626a1.js} +3 -3
- package/lib/dist-custom-elements/{p-2b1e6b5d.js → p-859504c9.js} +3 -3
- package/lib/dist-custom-elements/{p-de88ebc9.js → p-86431925.js} +2 -2
- package/lib/dist-custom-elements/{p-da3f596f.js → p-8799d4ad.js} +2 -2
- package/lib/dist-custom-elements/{p-1f0fcce4.js → p-88624802.js} +14 -11
- package/lib/dist-custom-elements/{p-eb67694d.js → p-8aeac44c.js} +2 -2
- package/lib/dist-custom-elements/{p-ca3cb21e.js → p-8cb0e6bd.js} +2 -2
- package/lib/dist-custom-elements/{p-f58c99dc.js → p-97505489.js} +17 -10
- package/lib/dist-custom-elements/{p-e639defe.js → p-a202083e.js} +4 -4
- package/lib/dist-custom-elements/{p-9e44038b.js → p-a839bb27.js} +3 -3
- package/lib/dist-custom-elements/{p-6f0a0708.js → p-b6a06b4d.js} +1 -1
- package/lib/dist-custom-elements/{p-eee324c4.js → p-b7e56baf.js} +3 -3
- package/lib/dist-custom-elements/{p-1a132b1a.js → p-c084f5f2.js} +2 -2
- package/lib/dist-custom-elements/{p-57030e72.js → p-c18fe324.js} +3 -3
- package/lib/dist-custom-elements/{p-ffd0da9c.js → p-c45170b0.js} +2 -2
- package/lib/dist-custom-elements/{p-d34a377a.js → p-ca4970b2.js} +15 -15
- package/lib/dist-custom-elements/{p-ea83aa97.js → p-cfa9907a.js} +25 -5
- package/lib/dist-custom-elements/{p-41f565f8.js → p-dd76e32c.js} +2 -2
- package/lib/dist-custom-elements/{p-49e93494.js → p-dff748c3.js} +14 -9
- package/lib/dist-custom-elements/{p-629b86f6.js → p-e2468742.js} +4 -4
- package/lib/dist-custom-elements/{p-5d240efc.js → p-e88ea44e.js} +12 -12
- package/lib/dist-custom-elements/{p-4ac79666.js → p-eff24429.js} +3 -3
- package/lib/dist-custom-elements/{p-80b6a631.js → p-f22589a4.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-383d480f.entry.js → p-00213276.entry.js} +1 -1
- package/lib/duet/{p-29641354.entry.js → p-01d7ac55.entry.js} +1 -1
- package/lib/duet/{p-1e540c4c.entry.js → p-023fce1f.entry.js} +1 -1
- package/lib/duet/{p-d63f49eb.system.entry.js → p-07fed22f.system.entry.js} +1 -1
- package/lib/duet/{p-a596cd3a.system.entry.js → p-08a47466.system.entry.js} +1 -1
- package/lib/duet/{p-dcb533d6.system.entry.js → p-0a11226b.system.entry.js} +1 -1
- package/lib/duet/{p-6cdf7d12.entry.js → p-0a912734.entry.js} +1 -1
- package/lib/duet/p-0c5d3a82.entry.js +4 -0
- package/lib/duet/{p-df0fb865.entry.js → p-0d16c5ae.entry.js} +1 -1
- package/lib/duet/{p-cc425ef7.system.entry.js → p-0def186e.system.entry.js} +1 -1
- package/lib/duet/{p-e6563981.system.entry.js → p-0e695a6c.system.entry.js} +2 -2
- package/lib/duet/{p-4d88d4d8.system.entry.js → p-0f087a51.system.entry.js} +2 -2
- package/lib/duet/{p-c67bc178.entry.js → p-0f568460.entry.js} +1 -1
- package/lib/duet/{p-85f02853.entry.js → p-13dd00d9.entry.js} +1 -1
- package/lib/duet/{p-147d6e48.entry.js → p-1585915c.entry.js} +1 -1
- package/lib/duet/{p-248d1fc1.entry.js → p-169801e2.entry.js} +1 -1
- package/lib/duet/{p-6be21d53.js → p-1cfacaa0.js} +1 -1
- package/lib/duet/{p-8fe213ce.entry.js → p-1d1caba8.entry.js} +1 -1
- package/lib/duet/{p-9f4deff5.entry.js → p-1df70f01.entry.js} +1 -1
- package/lib/duet/{p-e2e8a654.entry.js → p-1e43f46b.entry.js} +1 -1
- package/lib/duet/{p-7b464a76.system.entry.js → p-1ef91f38.system.entry.js} +1 -1
- package/lib/duet/{p-af2289ca.system.entry.js → p-20408f45.system.entry.js} +2 -2
- package/lib/duet/{p-b3cb308a.system.js → p-225d896f.system.js} +1 -1
- package/lib/duet/{p-e0b8ed9a.system.entry.js → p-2686c475.system.entry.js} +1 -1
- package/lib/duet/{p-8bcec5d9.system.entry.js → p-2724434b.system.entry.js} +1 -1
- package/lib/duet/{p-54d22e9f.entry.js → p-27f623da.entry.js} +1 -1
- package/lib/duet/p-295bc09e.entry.js +4 -0
- package/lib/duet/{p-c8ebba85.system.entry.js → p-2b04ef5c.system.entry.js} +1 -1
- package/lib/duet/{p-70565a72.system.entry.js → p-2cee1f9b.system.entry.js} +1 -1
- package/lib/duet/{p-958736f6.entry.js → p-2d7bc4a2.entry.js} +1 -1
- package/lib/duet/p-3051dbbb.entry.js +4 -0
- package/lib/duet/{p-7404823f.entry.js → p-318bab4d.entry.js} +1 -1
- package/lib/duet/{p-24aece3a.system.entry.js → p-31c2bad0.system.entry.js} +1 -1
- package/lib/duet/{p-57ed1115.system.entry.js → p-32234cba.system.entry.js} +1 -1
- package/lib/duet/{p-7f8cd5ca.entry.js → p-33ffb428.entry.js} +1 -1
- package/lib/duet/{p-f2a9ebce.entry.js → p-36a99082.entry.js} +1 -1
- package/lib/duet/{p-3ad59868.system.entry.js → p-36afe6cb.system.entry.js} +1 -1
- package/lib/duet/{p-d67da533.system.entry.js → p-36de2705.system.entry.js} +1 -1
- package/lib/duet/{p-531431a4.entry.js → p-3853498e.entry.js} +1 -1
- package/lib/duet/{p-09e94e65.system.entry.js → p-3977bdb1.system.entry.js} +1 -1
- package/lib/duet/p-39c01a70.entry.js +4 -0
- package/lib/duet/{p-5e587df2.entry.js → p-3b1aa036.entry.js} +1 -1
- package/lib/duet/{p-263ba5bc.system.entry.js → p-3eae7e96.system.entry.js} +1 -1
- package/lib/duet/{p-078b7a5e.entry.js → p-3ec00c51.entry.js} +1 -1
- package/lib/duet/{p-559373ce.system.entry.js → p-3fbbc8f3.system.entry.js} +1 -1
- package/lib/duet/{p-608d87af.system.entry.js → p-409e717a.system.entry.js} +1 -1
- package/lib/duet/{p-3b1d8855.entry.js → p-40efa103.entry.js} +1 -1
- package/lib/duet/{p-d070e142.system.entry.js → p-42a9ae6f.system.entry.js} +1 -1
- package/lib/duet/{p-3c520d06.entry.js → p-433a874a.entry.js} +1 -1
- package/lib/duet/p-447b8180.entry.js +4 -0
- package/lib/duet/{p-2922d3fe.entry.js → p-464f4b7b.entry.js} +1 -1
- package/lib/duet/{p-34524a03.entry.js → p-488c0e3a.entry.js} +1 -1
- package/lib/duet/{p-025b2278.system.entry.js → p-4ac80ae7.system.entry.js} +1 -1
- package/lib/duet/{p-d3d379cf.system.entry.js → p-5153ffb5.system.entry.js} +1 -1
- package/lib/duet/{p-9c346e3e.system.entry.js → p-520b7deb.system.entry.js} +1 -1
- package/lib/duet/{p-5b19279e.system.entry.js → p-52d47015.system.entry.js} +1 -1
- package/lib/duet/{p-a56e7b3e.entry.js → p-5540127f.entry.js} +1 -1
- package/lib/duet/p-575c30ef.system.js +5 -0
- package/lib/duet/{p-987c6807.entry.js → p-584d6a6f.entry.js} +1 -1
- package/lib/duet/{p-40525c72.entry.js → p-59df0c73.entry.js} +1 -1
- package/lib/duet/{p-02464eab.entry.js → p-5b634ed9.entry.js} +1 -1
- package/lib/duet/{p-bca7337f.system.js → p-5b87722f.system.js} +1 -1
- package/lib/duet/{p-4b998fe4.entry.js → p-5b9ead99.entry.js} +1 -1
- package/lib/duet/{p-276503fe.system.entry.js → p-5cf8adc4.system.entry.js} +1 -1
- package/lib/duet/{p-c18cf73d.entry.js → p-5ddbca89.entry.js} +1 -1
- package/lib/duet/{p-27f2bc53.system.js → p-5e7f679b.system.js} +1 -1
- package/lib/duet/{p-56172ea4.entry.js → p-5ed3cb90.entry.js} +1 -1
- package/lib/duet/{p-7c217bba.system.entry.js → p-5f96e4e5.system.entry.js} +1 -1
- package/lib/duet/{p-981c3a70.system.entry.js → p-62190c9b.system.entry.js} +1 -1
- package/lib/duet/{p-159d4c32.entry.js → p-62641202.entry.js} +1 -1
- package/lib/duet/p-646ef587.entry.js +4 -0
- package/lib/duet/{p-93c1b76f.js → p-64f7e70b.js} +1 -1
- package/lib/duet/{p-8ea137df.entry.js → p-66018a44.entry.js} +1 -1
- package/lib/duet/{p-6f585b8e.system.entry.js → p-66909888.system.entry.js} +1 -1
- package/lib/duet/{p-1ea7e7a7.entry.js → p-67664a30.entry.js} +1 -1
- package/lib/duet/{p-e1d536a6.system.entry.js → p-676e0083.system.entry.js} +1 -1
- package/lib/duet/{p-ffb66495.entry.js → p-6b88e0e0.entry.js} +1 -1
- package/lib/duet/{p-005170b7.system.entry.js → p-6d945a13.system.entry.js} +1 -1
- package/lib/duet/{p-d754a42c.entry.js → p-6dd4a284.entry.js} +1 -1
- package/lib/duet/{p-7a55ccd4.entry.js → p-715167d0.entry.js} +1 -1
- package/lib/duet/{p-79dfa1cd.system.entry.js → p-74595c7b.system.entry.js} +1 -1
- package/lib/duet/{p-e7d36069.entry.js → p-759159df.entry.js} +1 -1
- package/lib/duet/{p-230d0772.system.entry.js → p-76b521c3.system.entry.js} +1 -1
- package/lib/duet/{p-28ce8dcb.system.entry.js → p-76bc7f02.system.entry.js} +1 -1
- package/lib/duet/{p-b25b4fa7.entry.js → p-78029a8c.entry.js} +1 -1
- package/lib/duet/{p-ff948c06.system.entry.js → p-78a1c944.system.entry.js} +1 -1
- package/lib/duet/{p-68f1ac3d.system.entry.js → p-7af3685e.system.entry.js} +1 -1
- package/lib/duet/{p-25aca626.system.entry.js → p-7f982bc5.system.entry.js} +1 -1
- package/lib/duet/{p-404880c0.system.entry.js → p-7fafcd70.system.entry.js} +1 -1
- package/lib/duet/{p-63a85911.entry.js → p-811e587d.entry.js} +1 -1
- package/lib/duet/{p-4d569314.entry.js → p-81ac1fb9.entry.js} +1 -1
- package/lib/duet/{p-9f2d018f.system.entry.js → p-834bb95a.system.entry.js} +2 -2
- package/lib/duet/{p-5cb308e3.system.entry.js → p-8870ff92.system.entry.js} +1 -1
- package/lib/duet/{p-0c24394e.entry.js → p-894af6d5.entry.js} +1 -1
- package/lib/duet/{p-20577153.entry.js → p-898a1eb6.entry.js} +1 -1
- package/lib/duet/{p-08d304b6.system.entry.js → p-8c475dea.system.entry.js} +1 -1
- package/lib/duet/p-8cb0e6bd.js +4 -0
- package/lib/duet/{p-e3834dc3.system.entry.js → p-8e1b9c1a.system.entry.js} +2 -2
- package/lib/duet/{p-be1b4801.entry.js → p-8f3d2885.entry.js} +1 -1
- package/lib/duet/p-8fdd5cc7.system.entry.js +4 -0
- package/lib/duet/p-8fde9a1b.js +5 -0
- package/lib/duet/{p-bb93284d.entry.js → p-8fe41782.entry.js} +1 -1
- package/lib/duet/{p-33f45e04.entry.js → p-90132584.entry.js} +1 -1
- package/lib/duet/p-908aa11e.entry.js +4 -0
- package/lib/duet/{p-c25ffdd4.system.entry.js → p-96415561.system.entry.js} +1 -1
- package/lib/duet/{p-701148c7.entry.js → p-96cb91ac.entry.js} +1 -1
- package/lib/duet/{p-7e74329c.system.entry.js → p-975e92b7.system.entry.js} +2 -2
- package/lib/duet/{p-c82bf6d3.system.entry.js → p-a112a313.system.entry.js} +1 -1
- package/lib/duet/{p-e4f41663.system.entry.js → p-a2f07690.system.entry.js} +1 -1
- package/lib/duet/p-a451ac2a.entry.js +4 -0
- package/lib/duet/{p-0ecd1f95.entry.js → p-a4608e97.entry.js} +1 -1
- package/lib/duet/{p-6989245e.system.entry.js → p-a5cdb4fb.system.entry.js} +1 -1
- package/lib/duet/{p-27b82d35.entry.js → p-a5d3dd13.entry.js} +1 -1
- package/lib/duet/{p-a79b216a.system.entry.js → p-a62a66ea.system.entry.js} +1 -1
- package/lib/duet/{p-34f1a0c8.system.entry.js → p-a76f07dc.system.entry.js} +1 -1
- package/lib/duet/p-acb77c8b.system.js +4 -0
- package/lib/duet/{p-f989f433.system.entry.js → p-ada4e675.system.entry.js} +1 -1
- package/lib/duet/{p-b1cc50bc.entry.js → p-ade5c55c.entry.js} +1 -1
- package/lib/duet/p-ae0f8173.system.entry.js +4 -0
- package/lib/duet/p-b1f33063.system.js +4 -0
- package/lib/duet/{p-39934ea9.system.entry.js → p-b2f132e7.system.entry.js} +1 -1
- package/lib/duet/{p-63a866fd.entry.js → p-b4bd3b2c.entry.js} +1 -1
- package/lib/duet/{p-83827bc3.system.entry.js → p-b53f51e9.system.entry.js} +1 -1
- package/lib/duet/{p-427c3017.system.entry.js → p-b5afa22f.system.entry.js} +1 -1
- package/lib/duet/p-b5cf1014.system.entry.js +4 -0
- package/lib/duet/p-b62b1ae8.entry.js +4 -0
- package/lib/duet/p-b87e98f8.system.js +4 -0
- package/lib/duet/p-b88bf0cf.js +4 -0
- package/lib/duet/{p-0b690c76.entry.js → p-b92ebb57.entry.js} +1 -1
- package/lib/duet/{p-ce0aeaf2.system.entry.js → p-ba01d549.system.entry.js} +1 -1
- package/lib/duet/{p-9342741d.entry.js → p-ba86d704.entry.js} +1 -1
- package/lib/duet/{p-5e37ae74.system.entry.js → p-bc249477.system.entry.js} +1 -1
- package/lib/duet/{p-0d75b285.system.js → p-bc97e6a8.system.js} +1 -1
- package/lib/duet/{p-960955b8.system.entry.js → p-c00053cb.system.entry.js} +1 -1
- package/lib/duet/{p-004f4889.system.entry.js → p-c02998a1.system.entry.js} +1 -1
- package/lib/duet/{p-dd9d2671.entry.js → p-c3bbb91e.entry.js} +1 -1
- package/lib/duet/{p-457121d7.entry.js → p-c5eaf3a1.entry.js} +1 -1
- package/lib/duet/{p-d0e04b56.entry.js → p-c9459a92.entry.js} +1 -1
- package/lib/duet/{p-e3454275.entry.js → p-c9d3f692.entry.js} +1 -1
- package/lib/duet/{p-457d4e7b.system.entry.js → p-cac48643.system.entry.js} +1 -1
- package/lib/duet/{p-c002302d.entry.js → p-cb7dccf2.entry.js} +1 -1
- package/lib/duet/p-cbeb7a7f.entry.js +4 -0
- package/lib/duet/{p-c5850fb4.entry.js → p-cda3dd39.entry.js} +1 -1
- package/lib/duet/{p-50d381f8.system.entry.js → p-cf02b043.system.entry.js} +1 -1
- package/lib/duet/{p-c1ad9533.system.entry.js → p-cfa0f78a.system.entry.js} +1 -1
- package/lib/duet/{p-ccc9d700.entry.js → p-d00a1ca7.entry.js} +1 -1
- package/lib/duet/{p-3b451879.system.js → p-d1abb9cd.system.js} +1 -1
- package/lib/duet/{p-09b58b33.system.entry.js → p-d55cd34e.system.entry.js} +1 -1
- package/lib/duet/{p-d4d5d006.system.entry.js → p-d5df40cf.system.entry.js} +1 -1
- package/lib/duet/{p-1dd3ef28.entry.js → p-d7ccf5ec.entry.js} +1 -1
- package/lib/duet/{p-7ff5d518.entry.js → p-d81b6edc.entry.js} +1 -1
- package/lib/duet/{p-f75cbdb7.system.entry.js → p-db0b77ca.system.entry.js} +1 -1
- package/lib/duet/{p-af4ddc28.system.entry.js → p-de2f8904.system.entry.js} +1 -1
- package/lib/duet/{p-0a3c17d4.system.entry.js → p-de81656a.system.entry.js} +1 -1
- package/lib/duet/p-e1827d9e.system.entry.js +4 -0
- package/lib/duet/{p-fbc20d2d.entry.js → p-e669ce8c.entry.js} +1 -1
- package/lib/duet/{p-4513706a.entry.js → p-e8b8a3ad.entry.js} +1 -1
- package/lib/duet/{p-22884344.entry.js → p-e8bc416f.entry.js} +1 -1
- package/lib/duet/{p-c77f6d5d.entry.js → p-e9171ed3.entry.js} +1 -1
- package/lib/duet/{p-f6ecfb29.system.entry.js → p-ea790730.system.entry.js} +2 -2
- package/lib/duet/{p-e2cb818b.system.entry.js → p-ec784e1d.system.entry.js} +1 -1
- package/lib/duet/{p-1a67a738.entry.js → p-edbffab0.entry.js} +1 -1
- package/lib/duet/{p-24fc6b8a.system.entry.js → p-eddd3652.system.entry.js} +1 -1
- package/lib/duet/{p-39293af6.entry.js → p-f1fcaad6.entry.js} +1 -1
- package/lib/duet/{p-19516bf2.system.entry.js → p-f20ad02b.system.entry.js} +1 -1
- package/lib/duet/p-f27e5ce4.js +4 -0
- package/lib/duet/{p-73d6f3f1.system.entry.js → p-f2ddfe13.system.entry.js} +1 -1
- package/lib/duet/{p-00a09206.system.entry.js → p-f49a7dd9.system.entry.js} +1 -1
- package/lib/duet/{p-333be6f6.system.entry.js → p-f583ecaf.system.entry.js} +1 -1
- package/lib/duet/{p-61df374f.entry.js → p-f6cfa6ea.entry.js} +1 -1
- package/lib/duet/p-f965caf6.entry.js +4 -0
- package/lib/duet/{p-4ede4c9b.system.entry.js → p-fa7cdaa4.system.entry.js} +1 -1
- package/lib/duet/{p-ac43ccbd.js → p-faed9fef.js} +1 -1
- package/lib/duet/{p-1aaa8644.system.entry.js → p-fb515009.system.entry.js} +1 -1
- package/lib/duet/{p-63c713ac.system.entry.js → p-fb574eaf.system.entry.js} +1 -1
- package/lib/duet/{p-635329d5.js → p-fb811193.js} +1 -1
- package/lib/duet/{p-398ffdcd.system.entry.js → p-fb98c26d.system.entry.js} +1 -1
- package/lib/duet/{p-81779e0c.entry.js → p-fba4682d.entry.js} +1 -1
- package/lib/duet/{p-416a6b00.system.entry.js → p-fcbcf5d6.system.entry.js} +1 -1
- package/lib/duet/p-fcca7eb3.entry.js +4 -0
- package/lib/duet/{p-62467dcd.system.entry.js → p-fd6e9582.system.entry.js} +2 -2
- package/lib/esm/{a11y-utils-42550857.js → a11y-utils-682fc061.js} +1 -1
- package/lib/esm/{app-globals-e40eeed5.js → app-globals-5ae3ef64.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- package/lib/esm/duet-alert.entry.js +16 -16
- package/lib/esm/duet-badge.entry.js +3 -3
- package/lib/esm/duet-banner.entry.js +4 -4
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +9 -9
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +30 -13
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip.entry.js +3 -3
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +8 -4
- package/lib/esm/duet-contact-card.entry.js +4 -4
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +4 -4
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- 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 +7 -7
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +14 -9
- package/lib/esm/duet-input_2.entry.js +9 -3
- 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 +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- 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 +8 -8
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +3 -3
- 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 +15 -15
- package/lib/esm/duet-phone-input.entry.js +9 -3
- package/lib/esm/duet-popup-menu_2.entry.js +8 -8
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +23 -14
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- 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 +9 -9
- package/lib/esm/duet-status-icon.entry.js +8 -8
- package/lib/esm/duet-step_2.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +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 +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-871f54ed.js → errorcodes.utils-23d19523.js} +1 -1
- package/lib/esm/{focus-utils-3e4436c1.js → focus-utils-b97d6fb5.js} +1 -1
- package/lib/esm/{index-caf8af66.js → index-9b64dfa3.js} +6 -6
- package/lib/esm/{language-utils-37fa60e1.js → language-utils-87dc6eb1.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-44165de2.js → slot-utils-b8cbdf64.js} +1 -1
- package/lib/esm/{teleport-546f382d.js → teleport-aa27d5f9.js} +2 -2
- package/lib/esm-es5/{a11y-utils-42550857.js → a11y-utils-682fc061.js} +1 -1
- package/lib/esm-es5/{app-globals-e40eeed5.js → app-globals-5ae3ef64.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- 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.entry.js +2 -2
- 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 +1 -1
- 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 +2 -2
- 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 +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +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 +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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-871f54ed.js → errorcodes.utils-23d19523.js} +1 -1
- package/lib/esm-es5/{focus-utils-3e4436c1.js → focus-utils-b97d6fb5.js} +1 -1
- package/lib/esm-es5/index-9b64dfa3.js +4 -0
- package/lib/esm-es5/{language-utils-37fa60e1.js → language-utils-87dc6eb1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-44165de2.js → slot-utils-b8cbdf64.js} +1 -1
- package/lib/esm-es5/teleport-aa27d5f9.js +4 -0
- package/lib/types/components/duet-alert/duet-alert.d.ts +11 -4
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
- package/lib/types/components/duet-input/duet-input.d.ts +4 -0
- package/lib/types/components/duet-link/duet-link.d.ts +3 -0
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +4 -0
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +5 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -0
- package/lib/types/components.d.ts +54 -6
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-2c7e8fea.js +0 -205
- package/lib/duet/p-082839ec.entry.js +0 -4
- package/lib/duet/p-0c618613.entry.js +0 -4
- package/lib/duet/p-0e5ef946.js +0 -4
- package/lib/duet/p-12e049bd.system.js +0 -4
- package/lib/duet/p-14618c69.entry.js +0 -4
- package/lib/duet/p-152229b6.entry.js +0 -4
- package/lib/duet/p-23dafa29.system.entry.js +0 -4
- package/lib/duet/p-56d25af6.entry.js +0 -4
- package/lib/duet/p-7faa23b3.entry.js +0 -4
- package/lib/duet/p-82fc6160.js +0 -5
- package/lib/duet/p-891a644e.system.js +0 -4
- package/lib/duet/p-8a4d54c7.system.entry.js +0 -4
- package/lib/duet/p-a8ba38dd.entry.js +0 -4
- package/lib/duet/p-adf55373.system.entry.js +0 -4
- package/lib/duet/p-bbff29df.entry.js +0 -4
- package/lib/duet/p-ca3cb21e.js +0 -4
- package/lib/duet/p-d02896d8.js +0 -4
- package/lib/duet/p-d526e143.system.js +0 -5
- package/lib/duet/p-df7ef805.entry.js +0 -4
- package/lib/duet/p-e1ec6cd6.entry.js +0 -4
- package/lib/duet/p-f33aace0.entry.js +0 -4
- package/lib/duet/p-f6b21d17.system.js +0 -4
- package/lib/duet/p-f9189172.entry.js +0 -4
- package/lib/duet/p-fb841ad4.system.entry.js +0 -4
- package/lib/esm-es5/index-caf8af66.js +0 -4
- package/lib/esm-es5/teleport-546f382d.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -479,7 +479,7 @@ var setAccessor = (elm, memberName, oldValue, newValue, isSvg, flags) => {
|
|
|
479
479
|
}
|
|
480
480
|
};
|
|
481
481
|
var parseClassListRegex = /\s/;
|
|
482
|
-
var parseClassList=
|
|
482
|
+
var parseClassList = (value) => !value ? [] : value.split(parseClassListRegex);
|
|
483
483
|
var CAPTURE_EVENT_SUFFIX = "Capture";
|
|
484
484
|
var CAPTURE_EVENT_REGEX = new RegExp(CAPTURE_EVENT_SUFFIX + "$");
|
|
485
485
|
|
|
@@ -3805,7 +3805,7 @@ const checkNamedSlotElement = (hostElement, slotName, selector, maxChildren = 0,
|
|
|
3805
3805
|
}
|
|
3806
3806
|
};
|
|
3807
3807
|
|
|
3808
|
-
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;
|
|
3808
|
+
const duetAlertCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;width:100%;max-height:999px;transition:opacity 300ms ease, visibility 300ms ease, transform 300ms ease, max-height 300ms ease}:host(:focus){outline:0}:host(.user-is-tabbing:focus){border-radius:4px;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}:host(.user-is-tabbing.duet-theme-turva:focus){box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}:host(.duet-alert-is-dismissed){max-height:0;overflow:hidden;visibility:hidden !important;opacity:0;transform:scale(0.98)}:host(.duet-alert-is-dismissed) .duet-alert{margin:0 !important}.duet-alert-wrapper{margin-bottom:16px !important;position:relative;width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400;line-height:1.25;color:rgb(8, 42, 77);background:rgb(228, 241, 247);border:1px solid rgb(172, 210, 229);border-radius:12px;transition:margin 100ms 300ms ease}.duet-alert-wrapper.duet-p-0{padding:0 !important}.duet-alert-wrapper.duet-m-0{margin:0 !important}.duet-alert-wrapper.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}.duet-alert-wrapper.warning{color:rgb(38, 26, 4);background:rgb(255, 247, 221);border:1px solid rgb(255, 217, 120)}.duet-alert-wrapper.danger{color:rgb(89, 0, 45);background:rgb(255, 225, 231);border:1px solid rgb(252, 136, 162)}.duet-alert-wrapper.success{color:rgb(4, 38, 33);background:rgb(231, 248, 239);border:1px solid rgb(163, 229, 202)}.duet-alert-wrapper.below-nav{margin-bottom:0 !important;border:0;border-bottom:1px solid rgb(212, 223, 229)}.duet-alert-wrapper .duet-alert{position:relative;width:100%;max-width:1384px;padding:16px;margin:0 auto}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible{padding:16px 48px 16px 16px;text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-is-dismissible .duet-alert-container{text-align:left}.duet-alert-wrapper .duet-alert.duet-alert-has-show-more{padding-bottom:0}.duet-alert-wrapper .duet-alert.duet-alert-has-icon .duet-alert-show-more{margin-left:36px}.duet-alert-wrapper .duet-alert.duet-alert-expandable{padding-right:20px}.duet-alert-dismiss{position:absolute;top:3px;right:3px}.duet-alert-dismiss duet-button:hover{background-color:rgb(198, 225, 238);border-radius:8px}.warning .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 232, 160)}.danger .duet-alert-dismiss duet-button:hover{background-color:rgb(255, 173, 190)}.success .duet-alert-dismiss duet-button:hover{background-color:rgb(191, 239, 218)}.duet-alert-container{display:inline-flex;align-items:center;justify-content:center;width:100%;margin:0 auto !important}.duet-alert-container span{width:100%}.duet-alert-has-icon .duet-alert-container{margin-top:2px !important}.duet-alert-container:focus{outline:none}.duet-alert-icon{display:inline-block;align-self:center;width:20px;min-width:20px;height:20px;margin:0 16px 0 0 !important}.duet-alert-expandable .duet-alert-icon{position:relative;top:2px;align-self:flex-start}.duet-alert-icon.below-nav{align-self:flex-start}.duet-alert-icon duet-icon{width:20px;height:20px}.duet-alert-expander{display:flex;gap:16px;align-items:flex-start;justify-content:space-between;width:calc(100% + 32px + 40px);padding:16px;padding-right:20px;padding-left:52px;margin:-16px;margin-left:-52px;font-family:inherit;color:inherit;cursor:pointer;background-color:inherit}.duet-alert-expanded .duet-alert-expander{margin-bottom:-4px}.duet-alert-expander>span{flex-grow:1;font-size:1rem;line-height:1.5;text-align:left}.duet-alert-expander duet-icon{position:relative;top:4px;transition:rotate 300ms ease}.duet-alert-expanded .duet-alert-expander duet-icon{rotate:180deg}.duet-alert-expander:hover{filter:brightness(85%)}";
|
|
3809
3809
|
var DuetAlertStyle0 = duetAlertCss;
|
|
3810
3810
|
|
|
3811
3811
|
/**
|
|
@@ -3819,12 +3819,6 @@ class DuetAlert {
|
|
|
3819
3819
|
this.duetCloseComplete = createEvent$2(this, "duetCloseComplete", 7);
|
|
3820
3820
|
this.descriptiveId = createID("DuetAlert");
|
|
3821
3821
|
this.hasShowMoreSlot = false;
|
|
3822
|
-
this.iconVariationMap = {
|
|
3823
|
-
default: "messaging-info",
|
|
3824
|
-
success: "messaging-success",
|
|
3825
|
-
warning: "messaging-alert",
|
|
3826
|
-
danger: "messaging-danger-alert",
|
|
3827
|
-
};
|
|
3828
3822
|
this.handleDismiss = (ev) => {
|
|
3829
3823
|
this.handleHide();
|
|
3830
3824
|
this.duetDismiss.emit({
|
|
@@ -3839,8 +3833,12 @@ class DuetAlert {
|
|
|
3839
3833
|
this.isDismissed = true;
|
|
3840
3834
|
this.element.addEventListener("transitionend", () => this.duetCloseComplete.emit(), { once: true });
|
|
3841
3835
|
};
|
|
3836
|
+
this.handleExpandToggle = () => {
|
|
3837
|
+
this.isExpanded = !this.isExpanded;
|
|
3838
|
+
};
|
|
3842
3839
|
this.theme = "";
|
|
3843
3840
|
this.isDismissed = false;
|
|
3841
|
+
this.isExpanded = false;
|
|
3844
3842
|
this.timeoutID = undefined;
|
|
3845
3843
|
this.accessibleLabelDefaults = {
|
|
3846
3844
|
fi: "Painike viestin sulkemiseen",
|
|
@@ -3857,6 +3855,7 @@ class DuetAlert {
|
|
|
3857
3855
|
this.position = "content";
|
|
3858
3856
|
this.dismissible = false;
|
|
3859
3857
|
this.focusable = false;
|
|
3858
|
+
this.expandingTitle = "";
|
|
3860
3859
|
}
|
|
3861
3860
|
/**
|
|
3862
3861
|
* Component lifecycle events.
|
|
@@ -3912,19 +3911,20 @@ class DuetAlert {
|
|
|
3912
3911
|
* Always the last one in the class.
|
|
3913
3912
|
*/
|
|
3914
3913
|
render() {
|
|
3915
|
-
|
|
3916
|
-
return (hAsync(Host, { key: 'd3c53bc46ae4d9f94d286a8ca55a1891afaec2d1', class: {
|
|
3914
|
+
return (hAsync(Host, { key: '06620fa82e81c4a150b23f4f6e966147b6e6870c', class: {
|
|
3917
3915
|
"duet-theme-turva": this.theme === "turva",
|
|
3918
3916
|
"duet-alert-is-dismissed": this.isDismissed,
|
|
3919
|
-
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { key: '
|
|
3917
|
+
}, role: this.announcements ? "alert" : undefined }, hAsync("div", { key: 'f7a81ec3238b0d2fbd7bbf073177c19834570796', class: {
|
|
3920
3918
|
"duet-alert-wrapper": true,
|
|
3921
3919
|
"duet-p-0": this.padding === "none",
|
|
3922
3920
|
"duet-m-0": this.margin === "none",
|
|
3923
3921
|
[this.variation]: true,
|
|
3924
3922
|
[this.position]: true,
|
|
3925
3923
|
"duet-theme-turva": this.theme === "turva",
|
|
3926
|
-
} }, hAsync("div", { key: '
|
|
3924
|
+
} }, hAsync("div", { key: '3592e88a89d85f1ce0381d852a475b9dfe5442b9', class: {
|
|
3927
3925
|
"duet-alert": true,
|
|
3926
|
+
"duet-alert-expandable": !!this.expandingTitle,
|
|
3927
|
+
"duet-alert-expanded": this.isExpanded,
|
|
3928
3928
|
"duet-alert-has-icon": !!this.icon || this.position === "below-nav",
|
|
3929
3929
|
"duet-alert-has-show-more": this.hasShowMoreSlot,
|
|
3930
3930
|
"duet-alert-is-dismissible": this.dismissible,
|
|
@@ -3932,9 +3932,9 @@ class DuetAlert {
|
|
|
3932
3932
|
"duet-m-0": this.margin === "none",
|
|
3933
3933
|
[this.variation]: true,
|
|
3934
3934
|
"duet-theme-turva": this.theme === "turva",
|
|
3935
|
-
} }, hAsync("div", { key: '
|
|
3935
|
+
} }, hAsync("div", { key: 'fe5b231c4e4c832dbc67ad92881397b83939a8bd', class: "duet-alert-container", ref: element => {
|
|
3936
3936
|
this.alertContainer = element;
|
|
3937
|
-
}, tabindex: this.focusable ? "0" : undefined }, this.
|
|
3937
|
+
}, tabindex: this.focusable ? "0" : undefined }, this.position !== "below-nav" && (hAsync("div", { key: 'cfea6d4a41a4d738ac66f98c0a20c3d768366cd9', class: "duet-alert-icon" }, (this.icon && hAsync("duet-icon", { key: 'a25f4bbc61467c1778990fb06dbc3d6ac858ba2a', size: "auto", name: this.icon, color: "currentColor" })) || (hAsync("duet-status-icon", { key: 'a4dfb99f40a39303027cd9fca17522d1d3561580', strong: true, variation: this.variation, margin: "none", size: "auto" })))), this.position === "below-nav" && (hAsync("div", { key: '9cf13040b80a2cae970a5fcb4f5c648766ba8e84', class: "duet-alert-icon below-nav" }, hAsync("duet-status-icon", { key: '7ff20b576f48af77014e044e1789ab9752c931f0', strong: true, variation: this.variation, margin: "none", size: "auto" }))), hAsync("span", { key: 'b063829358afa09115ad242c8ed74e28ff45771f', id: this.descriptiveId }, this.expandingTitle && (hAsync("button", { key: '8039158452820911e9a03456557b62b321098642', "aria-expanded": this.isExpanded.toString(), "aria-controls": `${this.descriptiveId}-content`, class: "duet-alert-expander", onClick: this.handleExpandToggle }, hAsync("span", { key: 'b3830e45790cb825cc50b7df82919794e860c2b4' }, this.expandingTitle), hAsync("duet-icon", { key: 'ac27d252ef3af1cf56b34067356b879a4a372ceb', name: "action-arrow-down", color: this.variation === "default" ? "lt-blue-800" : `${this.variation}-800`, margin: "none", size: "x-small" }))), (!this.expandingTitle || this.isExpanded) && (hAsync("span", { key: '90948facbf4820ee5d653dcc21b90665b7f064ea', id: `${this.descriptiveId}-content` }, hAsync("slot", { key: '3e8fe9bb2ec95b5cd3007c38b827a1ba812870e0' }))))), this.hasShowMoreSlot && (hAsync("duet-show-more", { key: 'b2d5e192923d83fb8764771f4d7a6800d1767c94', margin: "none", class: "duet-alert-show-more" }, hAsync("slot", { key: 'a8aa19b76a7c807c0261f38cb9330dfc8ae7f18f', name: "show-more" }))), this.dismissible && !this.expandingTitle && (hAsync("div", { key: '4ce212d852c5734afb057c9870a55bbfd1218e86', class: "duet-alert-dismiss" }, hAsync("duet-button", { key: 'a970a7077e907f1e7bbfdd61a090eaa6d7e28d61', variation: "plain", accessibleLabel: this.accessibleLabel, accessibleDescribedBy: this.descriptiveId, iconSize: "medium", icon: "navigation-close", iconOnly: true, margin: "none", color: this.variation === "default" ? "lt-blue-800" : `${this.variation}-800`, theme: this.theme, onClick: this.handleDismiss, fixed: true })))))));
|
|
3938
3938
|
}
|
|
3939
3939
|
get element() { return getElement(this); }
|
|
3940
3940
|
static get style() { return DuetAlertStyle0; }
|
|
@@ -3954,7 +3954,9 @@ class DuetAlert {
|
|
|
3954
3954
|
"position": [1],
|
|
3955
3955
|
"dismissible": [4],
|
|
3956
3956
|
"focusable": [4],
|
|
3957
|
+
"expandingTitle": [1, "expanding-title"],
|
|
3957
3958
|
"isDismissed": [32],
|
|
3959
|
+
"isExpanded": [32],
|
|
3958
3960
|
"timeoutID": [32],
|
|
3959
3961
|
"show": [64],
|
|
3960
3962
|
"hide": [64],
|
|
@@ -3989,12 +3991,12 @@ class DuetBadge {
|
|
|
3989
3991
|
*/
|
|
3990
3992
|
render() {
|
|
3991
3993
|
const backgroundClass = `background-${this.background}`;
|
|
3992
|
-
return (hAsync(Host, { key: '
|
|
3994
|
+
return (hAsync(Host, { key: '0fb98aa1f2907baf25a77db2ef2890e8ba01da24', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'e0da2a8830c8e053b81a8ba1ba9fdac3a74f0a79', class: {
|
|
3993
3995
|
"duet-badge": true,
|
|
3994
3996
|
[this.variation]: true,
|
|
3995
3997
|
[backgroundClass]: true,
|
|
3996
3998
|
"duet-theme-turva": this.theme === "turva",
|
|
3997
|
-
} }, hAsync("slot", { key: '
|
|
3999
|
+
} }, hAsync("slot", { key: '50f738303eb006070e7d29254c5244537d4605d0' }))));
|
|
3998
4000
|
}
|
|
3999
4001
|
get element() { return getElement(this); }
|
|
4000
4002
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4108,14 +4110,14 @@ class DuetBanner {
|
|
|
4108
4110
|
img: { src: this.image, alt: "", loading: "lazy", class: "image", role: "presentation" },
|
|
4109
4111
|
sources: parsePossibleJSON(this.sources),
|
|
4110
4112
|
};
|
|
4111
|
-
return (hAsync(Host, { key: '
|
|
4113
|
+
return (hAsync(Host, { key: '0af3739adf8f70478714148e8c932e6c26034be1', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '912afc7d42b05ef67242da0d0038e7b1892e420c', class: {
|
|
4112
4114
|
"duet-banner": true,
|
|
4113
4115
|
"duet-theme-turva": this.theme === "turva",
|
|
4114
4116
|
[this.currentSize]: true,
|
|
4115
4117
|
"size-medium": this.size === "medium" || this.size === "large",
|
|
4116
4118
|
"size-large": this.size === "large",
|
|
4117
4119
|
"no-image": !this.image,
|
|
4118
|
-
}, style: bannerStyles }, hAsync("div", { key: '
|
|
4120
|
+
}, style: bannerStyles }, hAsync("div", { key: '4213a9062ef79c32430faf2230b896cdcf686fab', class: "visual" }, hAsync("div", { key: '28cc855a769f28823c4501268ac578dc00d177be', class: "image-container" }, this.image && hAsync(DuetPicture, Object.assign({ key: 'ef1257956d87c2dd2e40a309d784cf92680ff193' }, pictureSource))), 1 > 2 , hAsync("div", { key: 'c21b74c5b8af201787e8c502cab1fe5e7c6f11d5', style: bannerStyles, class: "brand-shape" })), hAsync("div", { key: '8f2a9fa44b18a35442b056f6d52d73a3804dc536', class: "content" }, this.hasHeadingSlot && (hAsync("div", { key: '7003386020f8944006ea5c7f8479aef1908f4773', class: "heading" }, hAsync("duet-heading", { key: '3bb18ccbae1989efaaf587de4985e01aa50db691', theme: this.theme, level: this.headingLevel, "visual-level": this.currentSize === "large" ? "h2" : "h3", "fixed-size": true, margin: "none", color: this.textColor }, hAsync("span", { key: 'b32d9f049c16b5521ad96d823c6d2325c6a80b98' }, hAsync("slot", { key: '83c445eca1d63aa91847fbe090eb8afdaec130d7', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '2a885bb4ddd277b9a56e00addc82784c469dcdfa', class: "description", style: { color } }, hAsync("slot", { key: 'f79f7fdb5137692c0ffa3fa2dd6044f9f5a1f799', name: "description" }))), this.hasActionSlot && (hAsync("div", { key: '21306ab0e66e7a6c5830df04387c89af2b01cfe8', class: "action" }, hAsync("slot", { key: '7f9c1b80831ae7e2baa3e89ff91bd2802b4c4fb9', name: "action" })))))));
|
|
4119
4121
|
}
|
|
4120
4122
|
get element() { return getElement(this); }
|
|
4121
4123
|
static get style() { return DuetBannerStyle0; }
|
|
@@ -4184,14 +4186,14 @@ class DuetBreadcrumb {
|
|
|
4184
4186
|
*/
|
|
4185
4187
|
render() {
|
|
4186
4188
|
var _a;
|
|
4187
|
-
return (hAsync(Host, { key: '
|
|
4189
|
+
return (hAsync(Host, { key: '3c39bf30d5e28bdd44c42c651b907bef02ca283f', role: "listitem" }, hAsync("div", { key: 'ed0cfc7def8bc35f0f8010dc2c87ffdcbf187b87', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'a94a629a27e77807add5e168872d71d26454a65b', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '496a188bbbea5db5b7d72016f1eee204d31b5727', class: {
|
|
4188
4190
|
"duet-breadcrumb": true,
|
|
4189
4191
|
"duet-theme-turva": this.theme === "turva",
|
|
4190
4192
|
}, 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" &&
|
|
4191
4193
|
this.icon && [
|
|
4192
|
-
hAsync("duet-icon", { key: '
|
|
4193
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4194
|
-
], hAsync("slot", { key: '
|
|
4194
|
+
hAsync("duet-icon", { key: 'cd39da4f5529b6be502b280545703600b0b6dee0', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4195
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'ecba8a7f92a140853c599d2d23ae95bca864dd50', size: "x-small", direction: "horizontal" }),
|
|
4196
|
+
], hAsync("slot", { key: '7219cdf405c1feac2edd55dca10b42af68eccbc3' })))));
|
|
4195
4197
|
}
|
|
4196
4198
|
get element() { return getElement(this); }
|
|
4197
4199
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4252,11 +4254,11 @@ class DuetBreadcrumbs {
|
|
|
4252
4254
|
*/
|
|
4253
4255
|
render() {
|
|
4254
4256
|
const color = getColorByName(this.color);
|
|
4255
|
-
return (hAsync(Host, { key: '
|
|
4257
|
+
return (hAsync(Host, { key: 'eff6f903108da2f57d998e4c8d76737743fd9288' }, hAsync("nav", { key: 'ef6a8c4a4562379a8b47f47c6f72e72bcd4e7928', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4256
4258
|
"duet-breadcrumbs": true,
|
|
4257
4259
|
"duet-theme-turva": this.theme === "turva",
|
|
4258
4260
|
[this.variation]: true,
|
|
4259
|
-
} }, hAsync("div", { key: '
|
|
4261
|
+
} }, hAsync("div", { key: 'cffd47b2c190847017411faf676ca13446facaa1', class: "container" }, hAsync("div", { key: '4503bae0216f1dea26ae7be7e643e5983fd3947c', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '34c07e83c9e4dd6d4e91c3a51efa31f877d1a3da' })), hAsync("div", { key: '334597f482a1627cd5b2b76ff3f75931e07eea71', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '319b2b25f30b5411897cd9099163f178474e653e', class: "bottom-border bottom-border--nav" }))));
|
|
4260
4262
|
}
|
|
4261
4263
|
get element() { return getElement(this); }
|
|
4262
4264
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4472,12 +4474,12 @@ class DuetButton {
|
|
|
4472
4474
|
// enforce consistency for external links
|
|
4473
4475
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4474
4476
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4475
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4477
|
+
const commonChildren = (hAsync("span", { key: '6df4a72f66f9fd4ae02883ad8ab231bf6b20f6a6', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: '690ebfa2995cd90691f4fc4e2e5deb62f89b5e29', "aria-hidden": "true", class: {
|
|
4476
4478
|
"duet-button-icon": true,
|
|
4477
4479
|
left: !iconRight,
|
|
4478
4480
|
right: iconRight,
|
|
4479
4481
|
[this.getButtonIconSize()]: true,
|
|
4480
|
-
} }, hAsync("duet-icon", { key: '
|
|
4482
|
+
} }, hAsync("duet-icon", { key: 'c6e2fc503c4a4f104a0b7d1508342ecac6f0db32', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: 'edbff7f759d1b849b74a736e6ef6a99294d44289', class: "duet-button-contents-slot" }, hAsync("slot", { key: '4379b5ff8076f808776bcf763c59a39d51b7b569' }))));
|
|
4481
4483
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4482
4484
|
const commonProps = {
|
|
4483
4485
|
onFocus: this.onFocus,
|
|
@@ -4512,7 +4514,7 @@ class DuetButton {
|
|
|
4512
4514
|
"aria-details": this.accessibleDetails,
|
|
4513
4515
|
"aria-description": this.accessibleDescription,
|
|
4514
4516
|
};
|
|
4515
|
-
return (hAsync(Host, { key: '
|
|
4517
|
+
return (hAsync(Host, { key: '1d74b0a85872e849c86b8a3ffe589d4a443c72ca', class: {
|
|
4516
4518
|
"duet-m-0": this.margin === "none",
|
|
4517
4519
|
"duet-small": this.size === "small",
|
|
4518
4520
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4520,13 +4522,13 @@ class DuetButton {
|
|
|
4520
4522
|
"duet-expand": this.expand,
|
|
4521
4523
|
[this.variation]: true,
|
|
4522
4524
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4523
|
-
} }, hAsync("span", { key: '
|
|
4525
|
+
} }, hAsync("span", { key: '744d6dacf5f2d588382d024d36d0cbc1b2236929', onClick: this.handleClick, class: {
|
|
4524
4526
|
"duet-button-container": true,
|
|
4525
4527
|
"duet-button-is-loading": this.loading,
|
|
4526
4528
|
"duet-theme-turva": this.theme === "turva",
|
|
4527
4529
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4528
4530
|
[this.variation]: true,
|
|
4529
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '
|
|
4531
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '902914bbba7d1a08b8f028d8a6235dc84f9ae0f7', color: "currentColor" })), hAsync("slot", { key: 'e5a8158694af4cebd82e33faf28e6214be2823de', name: "proxybutton" })));
|
|
4530
4532
|
}
|
|
4531
4533
|
get element() { return getElement(this); }
|
|
4532
4534
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -4613,11 +4615,11 @@ class DuetCallout {
|
|
|
4613
4615
|
<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"/>
|
|
4614
4616
|
</svg>
|
|
4615
4617
|
`;
|
|
4616
|
-
return (hAsync(Host, { key: '
|
|
4618
|
+
return (hAsync(Host, { key: '1f3d85e38ab2cb67cbed8b7a1b4964e65aa11ac9' }, hAsync("div", { key: '27bea794b5968a85c5e162438e674d748bfd80f8', class: {
|
|
4617
4619
|
"duet-callout": true,
|
|
4618
4620
|
"duet-theme-turva": this.theme === "turva",
|
|
4619
4621
|
"duet-m-0": this.margin === "none",
|
|
4620
|
-
} }, hAsync("figure", { key: '
|
|
4622
|
+
} }, hAsync("figure", { key: '369b24b1890ad9e3f0ecb674a41be2e1fdbe756c', class: "container" }, hAsync("duet-icon", { key: 'f2ac395e6a8ddc0d4ed0b62566bd0d8f74e57d8c', 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: '9082471b83d092b9f9a8fa7e6a697225b0cf395c' }, hAsync("slot", { key: 'da080022642fcf1acc5d63be667fc8e8958bd488' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'c4e03326b79b0b1010f4f32d6dc1bd7083a6a2ac', class: "author" }, hAsync("span", { key: 'bf63da57bdfdbb640aaf52cb004f2f4be6bb1bf3' }, "\u2014 "), hAsync("slot", { key: '440a7037be0c937ffd0a135de1fed5234e55d8b5', name: "author" })))))));
|
|
4621
4623
|
}
|
|
4622
4624
|
get element() { return getElement(this); }
|
|
4623
4625
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4656,13 +4658,13 @@ class DuetCaption {
|
|
|
4656
4658
|
* Always the last one in the class.
|
|
4657
4659
|
*/
|
|
4658
4660
|
render() {
|
|
4659
|
-
return (hAsync(Host, { key: '
|
|
4661
|
+
return (hAsync(Host, { key: '46c245b72ac2d6f4641a58e56dccecdce8421151', class: {
|
|
4660
4662
|
"duet-caption": true,
|
|
4661
4663
|
"duet-caption-selected": this.selected,
|
|
4662
4664
|
"duet-caption-small": this.size === "small",
|
|
4663
4665
|
"duet-theme-turva": this.theme === "turva",
|
|
4664
4666
|
"duet-m-0": this.margin === "none",
|
|
4665
|
-
} }, hAsync("slot", { key: '
|
|
4667
|
+
} }, hAsync("slot", { key: '56d458c5573dda5e0b8f6ec7d376a9eb327e0628' })));
|
|
4666
4668
|
}
|
|
4667
4669
|
get element() { return getElement(this); }
|
|
4668
4670
|
static get style() { return DuetCaptionStyle0; }
|
|
@@ -4780,10 +4782,10 @@ class DuetCard {
|
|
|
4780
4782
|
const styles = {
|
|
4781
4783
|
backgroundColor: getColorByName(this.background),
|
|
4782
4784
|
};
|
|
4783
|
-
return (hAsync(Host, { key: '
|
|
4785
|
+
return (hAsync(Host, { key: '00c59be2ab7c40755629602f9e85ea64ab612158', class: {
|
|
4784
4786
|
"duet-m-0": this.margin === "none",
|
|
4785
4787
|
"duet-card-info": this.variation === "info",
|
|
4786
|
-
} }, hAsync(TagName, { key: '
|
|
4788
|
+
} }, hAsync(TagName, { key: '8578ca3d024c5846a36cac0e767622b7eaabcb88', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
4787
4789
|
"duet-card": true,
|
|
4788
4790
|
[this.padding]: true,
|
|
4789
4791
|
[this.variation]: true,
|
|
@@ -4793,7 +4795,7 @@ class DuetCard {
|
|
|
4793
4795
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
4794
4796
|
"duet-card-has-icon": !!this.icon,
|
|
4795
4797
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
4796
|
-
} }, this.image && (hAsync("div", { key: '
|
|
4798
|
+
} }, this.image && (hAsync("div", { key: '2609ba055ac602c074c2a545688284f99afc3105', class: "duet-card-image-mask" }, hAsync("img", { key: '59572ec1bd938cb3fb54d511031d170980129026', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), hAsync("div", { key: 'ae06ad0ca9a5828a10dfcf8aa54aa44967acd203', class: "duet-card-content", id: this.cardId }, hAsync("slot", { key: '751c8dd97e06452610214c242a67843d86e0e8f8' }), this.hasFooter && (hAsync("div", { key: '5fc1bc24f217f51984ffa8fb82b05a8022a1bc13', class: "duet-card-footer" }, hAsync("slot", { key: '3225e28c9fae8e9a7d712ec2f7edca2848c81bac', name: "footer" })))))));
|
|
4797
4799
|
}
|
|
4798
4800
|
get element() { return getElement(this); }
|
|
4799
4801
|
static get style() { return DuetCardStyle0; }
|
|
@@ -4980,11 +4982,11 @@ class DuetCheckmark {
|
|
|
4980
4982
|
inheritGlobalTheme(this);
|
|
4981
4983
|
}
|
|
4982
4984
|
render() {
|
|
4983
|
-
return (hAsync(Host, { key: '
|
|
4985
|
+
return (hAsync(Host, { key: '22e3563654e056a768f2306ba8b402a7b090963d', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '9baca94da72a5e4355fd6052ed612b9f9831fa8a', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '4a4015c67d3e0cbeb35c22ee29383bab257bfb27', class: {
|
|
4984
4986
|
"duet-checkmark-container": true,
|
|
4985
4987
|
center: this.center,
|
|
4986
4988
|
"duet-checkmark-radio": this.type === "radio",
|
|
4987
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4989
|
+
} }, this.checked && hAsync("div", { key: '56907d77866167ff5834d2dcc16b5cef15eb9454', class: "duet-checkmark" })))));
|
|
4988
4990
|
}
|
|
4989
4991
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4990
4992
|
static get cmpMeta() { return {
|
|
@@ -5308,7 +5310,7 @@ class DuetChip {
|
|
|
5308
5310
|
onBlur: this.onBlur,
|
|
5309
5311
|
ref: el => (this.focusableElement = el),
|
|
5310
5312
|
};
|
|
5311
|
-
return (hAsync(Host, { key: '
|
|
5313
|
+
return (hAsync(Host, { key: 'e3c5ac0bcb6f15c05652b68982a64a4f8d7b4bb3', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: 'dc86df1e11e894aff70d34087371c93b6329ef1e', class: classes }, hAsync("button", Object.assign({ key: '1e13b37c1c71a4907d128312ea8bd90258880c1e', 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: '05667331b19b01c56a04d5f9498bc7381a660096', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: 'af00b089def6ac2628c2c416e27cf0d05699a09b', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '08a0582eaa49c55586d168fa03b3d62d6954f7f5' })))), this.variation === "input" && (hAsync("span", { key: '2b30fc1d97ced4d10148e7f1c3c0112fe0ea2b60', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '57728c6fbeca7182d286c0dd2d7a026b5597c83f', 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: 'dac4d434921406763d0fa0cafea39a50678f1681', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: 'e263448effb29b656e4823abc6d04b7bc8fe781a', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'aaba46892e9d7066b5e0098e7524fc3b2f7985e3' })), hAsync("button", { key: '751e257177b3a8347329709be074c01d135d3540', 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: '3cb2221c44913d1c70c3594ee5fde8fa4f4bc31d', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: '95ea48c4b60f50a3560d102823daa8e42083e20a', class: classes }, hAsync("input", Object.assign({ key: '5ece926b189caaa5fde8f2695360995fd98cf8d1', "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: 'a4cf02cbd56ba320b9214510cfd43bf460115a5b', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'c524bdec18879cef4eff6c7d5c9b9896c537fee1', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '471160845fecd2564b61ee48e7354c1a97bbddc8', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'b5c3d480ac094c86b2a2ccfc2ef3a2553220b182', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '4c0df1f1b35c9c29a3a52e495511041ce40d2603' }), this.popupElement && (hAsync("span", { key: 'cf411822faef6c1f41ef097083834968fce0520d', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: '89b311631787a8684a935c102925c9795076c2d5', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: '023dc35672ae48ac7ee0e418886fc03ca343b6b5', class: classes }, hAsync("slot", { key: '6f71bcb76853e665c86d93827f159df48d092af7', name: "input" }), hAsync("label", { key: 'ed83ea093121d6c2ddc8d361051680416ce2f78d', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'a5c23157a66e95624c9e50537f363a461558957e', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '37ffce61bbf2743e5d3e5726c20855095e09ca22', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '39491231b4bda9a0215b266e5734f4fd9c6fd13c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '4e7a55b644e168ab2114df5a6d12f501d541dc52' }))))));
|
|
5312
5314
|
}
|
|
5313
5315
|
get element() { return getElement(this); }
|
|
5314
5316
|
static get watchers() { return {
|
|
@@ -6678,7 +6680,7 @@ class DuetCollapsible {
|
|
|
6678
6680
|
*/
|
|
6679
6681
|
render() {
|
|
6680
6682
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6681
|
-
return (hAsync(Host, { key: '
|
|
6683
|
+
return (hAsync(Host, { key: 'f3e73e4259a6408e8bfc9b00fb4033c5117ff5bc', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '1c6ff194a2634737d39013138a7a45fda32538ca' }, hAsync("button", { key: '745c07a149e5cdb0f4ed7931988f16578acc17db', class: {
|
|
6682
6684
|
"duet-collapsible-heading": true,
|
|
6683
6685
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6684
6686
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -6686,7 +6688,7 @@ class DuetCollapsible {
|
|
|
6686
6688
|
"has-after-heading": this.hasAfterHeading,
|
|
6687
6689
|
"full-width": this.headingFullWidth,
|
|
6688
6690
|
"has-caption": !!this.caption,
|
|
6689
|
-
}, 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: '
|
|
6691
|
+
}, 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: 'fd1340099ac09fc9b1179c8847d5e5f982bfec4d', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: '4b0a86f201322a21f14994d5efab986930847ee9', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'c87bf63f84215ff8a55a0002991dc0688f6e757b', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: 'e6dec579ae41cc0e7aa9452c69a1f3ec80dd5558', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: 'b518e6dbbaae9c2f84979fcca6cd00fbdf5ab959', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: '5ab5b2ab6c41c93250244b1d8c75b4f061ed17aa', name: "after-heading" })))), this.caption && (hAsync("div", { key: '42f4464aa6ef6c275d0357fda56d4b95ad321bdf', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: 'fb4c4a5effb018af94f74ef3b37cb02c58704a3a', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: '1eabff6b7f58e648aa65357bf190034158c60b70', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: 'c799b44772fa7298fa93b911fc2ebdf2d41b1dd4' }))));
|
|
6690
6692
|
}
|
|
6691
6693
|
get element() { return getElement(this); }
|
|
6692
6694
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -6726,6 +6728,7 @@ class DuetCombobox {
|
|
|
6726
6728
|
this.inputId = createID("duet-combobox-input-id");
|
|
6727
6729
|
this.activeDescendantId = createID("duet-combobox-active-descendant");
|
|
6728
6730
|
this.isAndroidDevice = ((_b = (_a = navigator === null || navigator === void 0 ? void 0 : navigator.userAgent) === null || _a === void 0 ? void 0 : _a.toLowerCase()) === null || _b === void 0 ? void 0 : _b.indexOf("android")) > -1 || null;
|
|
6731
|
+
this.isInsideModal = false;
|
|
6729
6732
|
this.resizeObserver = new ResizeObserver(debounce(entries => {
|
|
6730
6733
|
var _a, _b, _c;
|
|
6731
6734
|
// otherwise, something is wrong, expecting 1 element only
|
|
@@ -6972,6 +6975,9 @@ class DuetCombobox {
|
|
|
6972
6975
|
* Component lifecycle events.
|
|
6973
6976
|
*/
|
|
6974
6977
|
componentWillLoad() {
|
|
6978
|
+
if (this.element.closest("duet-modal")) {
|
|
6979
|
+
this.isInsideModal = true;
|
|
6980
|
+
}
|
|
6975
6981
|
inheritGlobalTheme(this);
|
|
6976
6982
|
}
|
|
6977
6983
|
connectedCallback() {
|
|
@@ -7305,10 +7311,10 @@ class DuetContactCard {
|
|
|
7305
7311
|
render() {
|
|
7306
7312
|
const isTurva = this.theme === "turva";
|
|
7307
7313
|
const theme = isTurva ? "turva" : "default";
|
|
7308
|
-
return (hAsync(Host, { key: '
|
|
7314
|
+
return (hAsync(Host, { key: '17740378c0fae56940762f5c1807674866bc6a43', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'e981ac2b95f34861f49a5099d9572f1b88a42ba2', class: {
|
|
7309
7315
|
"duet-contact-card": true,
|
|
7310
7316
|
"duet-theme-turva": this.theme === "turva",
|
|
7311
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7317
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '9ef8552405f11afca941434adfa3788497256571' }, this.name && (hAsync("duet-heading", { key: '3a56b3b1a37a798121665dfd29218aee39c3f90a', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '61749733435f24fe901941198683e221fbee7c40', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'eb2a3e85c0cee904c46dcb27b233219391e9a8a5', class: "email" }, hAsync("duet-icon", { key: 'b865aac36d409907f8bc2df0499796b037c70717', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '75bd0bebdb1f8dcdcd0afe0675f9144e55648a5b', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: '5a513b3311a575fa76f9013c8fef7e9ec2527307', class: "phone" }, hAsync("duet-icon", { key: '69aa9446753fd6dd6d68d0f0498c3b91da6390eb', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'dc77056989f67752334017d85750319a9bf74ac2', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '9bf3cae826e24eb289ef8771fd8cef6e13107a76', class: "call-to-action" }, hAsync("duet-button", { key: 'd589fe2ca11812bf4d5985d0aa5325201314f226', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: 'cd59d271c613f263b0280f40afb4c971126bd5cc' }), hAsync("slot", { key: 'b6fda2e690e6266cefca22703600f4542a2b78be' }))));
|
|
7312
7318
|
}
|
|
7313
7319
|
get element() { return getElement(this); }
|
|
7314
7320
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7375,7 +7381,7 @@ class DuetCookieConsent {
|
|
|
7375
7381
|
* Always the last one in the class.
|
|
7376
7382
|
*/
|
|
7377
7383
|
render() {
|
|
7378
|
-
return (hAsync(Host, { key: '
|
|
7384
|
+
return (hAsync(Host, { key: 'e8dabcf5acaef5159164a8ecdbaef9340660732a', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '0c6121a202c18c8239c77f1fedfb3bbd80c1ad00', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '8c159018b562878b200913b26d7095d1702c7d11', class: "duet-cookie-consent-content" }, hAsync("div", { key: 'd54ccc56226df5778173f18bc85d9fe1afb62f77', class: "expand" }, hAsync("slot", { key: 'c9b430472bec14e34e934fa2d9fc80b1a9dd1ec8' })), hAsync("duet-spacer", { key: 'c4334763366fa1eb2b0fb6fef3632bb77f59ddc3', size: "large", direction: "horizontal" }), hAsync("div", { key: '8b9673e55d8abcf0f842073d2ba49b8ce7b62a08' }, hAsync("duet-button", { key: '453d68199c48d2fa2329b5763fa49ea078ba8561', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7379
7385
|
}
|
|
7380
7386
|
get element() { return getElement(this); }
|
|
7381
7387
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -8040,7 +8046,7 @@ class DuetDivider {
|
|
|
8040
8046
|
*/
|
|
8041
8047
|
render() {
|
|
8042
8048
|
const background = getColorByName(this.color);
|
|
8043
|
-
return (hAsync("div", { key: '
|
|
8049
|
+
return (hAsync("div", { key: '068f4f4bf6e6c0b8fbe92a5eddd74db01aed9f87', class: {
|
|
8044
8050
|
"duet-m-0": this.margin === "none",
|
|
8045
8051
|
"duet-m-s": this.margin === "small",
|
|
8046
8052
|
"duet-divider": true,
|
|
@@ -8277,11 +8283,11 @@ class DuetEmptyState {
|
|
|
8277
8283
|
* Always the last one in the class.
|
|
8278
8284
|
*/
|
|
8279
8285
|
render() {
|
|
8280
|
-
return (hAsync(Host, { key: '
|
|
8286
|
+
return (hAsync(Host, { key: '0dbb403057be09dd70ed37b4a86b05b009f91775' }, hAsync("div", { key: '31f92a9a4f348fec70a080f830ae67d702a6860b', class: {
|
|
8281
8287
|
"duet-empty-state": true,
|
|
8282
8288
|
"duet-theme-turva": this.theme === "turva",
|
|
8283
8289
|
"duet-is-small": this.size === "small",
|
|
8284
|
-
} }, hAsync("duet-icon", { key: '
|
|
8290
|
+
} }, hAsync("duet-icon", { key: '0f66aafaacc31a9c2dbd435cebe833d34d793957', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '87d09966693986d96432abb85195443e7de96ae0' }, hAsync("slot", { key: 'bf7a235ee787ba0b7796ef9a5cb6606fe09a641f' })))));
|
|
8285
8291
|
}
|
|
8286
8292
|
get element() { return getElement(this); }
|
|
8287
8293
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8337,20 +8343,20 @@ class DuetFieldset {
|
|
|
8337
8343
|
* Always the last one in the class.
|
|
8338
8344
|
*/
|
|
8339
8345
|
render() {
|
|
8340
|
-
return (hAsync(Host, { key: '
|
|
8346
|
+
return (hAsync(Host, { key: 'a5dbb829fe1740377b3063db2fba3453d55ef821', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'cd1965e9f81c0b64e1c3d680bf531a64c2400821', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8341
8347
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8342
8348
|
// once they do, we can remove errors from the aria-describedby
|
|
8343
8349
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8344
8350
|
class: {
|
|
8345
8351
|
"duet-fieldset": true,
|
|
8346
8352
|
"duet-theme-turva": this.theme === "turva",
|
|
8347
|
-
} }, hAsync("legend", { key: '
|
|
8353
|
+
} }, hAsync("legend", { key: '6d624bedd2fc5227677ed6c936bae4064fd234ce', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '3f2483f01754947aafc2c551f0be991ccbe123fe' }, this.label), this.caption && hAsync("span", { key: 'bdf06458adc1f508612ae40e8cfdd53f6664e3b6' }, this.caption)), hAsync("div", { key: '267049a9da357f3a6055b75e897239a0c885522e', class: {
|
|
8348
8354
|
"duet-legend-wrapper": true,
|
|
8349
8355
|
"duet-legend-has-caption": !!this.caption,
|
|
8350
8356
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8351
8357
|
"duet-legend-hidden": this.labelHidden,
|
|
8352
8358
|
"duet-legend-compact": this.compactLabel,
|
|
8353
|
-
} }, hAsync("div", { key: '
|
|
8359
|
+
} }, hAsync("div", { key: 'acd25bb3d3a9b6717ef5c19b571fae905b570175', class: "duet-fieldset-label" }, hAsync("span", { key: '0bb0395172d2149d61f9179700bebbe85c06c43d', "aria-hidden": "true" }, this.label), hAsync("slot", { key: 'ca18b6ce7d1912a335f6e7f3883b32bc3a4a14e6', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '49c91cd78b49a259fc2ecb0b8d6e6aaa8945a246', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: 'ca04537bd6a070536daba5f0ea39c695d6af9a9e', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '170972e9f2a7cce5b8264b584849044fde1e2e1f' }), hAsync("span", { key: '7b5e3b08f459e52af0515131a3f149e131ffe81a', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '7c4b032b28bb6ed9ade3494c34b41b85994e7180' }, this.error)))));
|
|
8354
8360
|
}
|
|
8355
8361
|
get element() { return getElement(this); }
|
|
8356
8362
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8494,15 +8500,15 @@ class DuetFooter {
|
|
|
8494
8500
|
render() {
|
|
8495
8501
|
const text = getLocaleString(i18n$1, this.language);
|
|
8496
8502
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8497
|
-
return (hAsync("footer", { key: '
|
|
8503
|
+
return (hAsync("footer", { key: 'f496b6f51c1dd8934051f1912b4db06172b65b7f', class: {
|
|
8498
8504
|
"duet-footer": true,
|
|
8499
8505
|
"duet-m-0": this.margin === "none",
|
|
8500
8506
|
"duet-theme-turva": this.theme === "turva",
|
|
8501
8507
|
"duet-footer-simple": this.variation === "simple",
|
|
8502
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8508
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'a3c77fcaa80b1a6227c67fdd7f786ca0db98d570', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '44291443c097942b61ebf8bf548a68d16c142c54', class: {
|
|
8503
8509
|
"duet-footer-top": true,
|
|
8504
8510
|
"duet-has-info": this.hasInfoSlot,
|
|
8505
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8511
|
+
}, part: "top" }, hAsync("div", { key: '29721f537178f39d39c28beb7bb3a98fe161aad5', class: "footer-top-logo" }, hAsync("duet-logo", { key: '19cf2b665b55434bdf407400d977cc2921cd297d', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '03210848f5974dabd4fcbfaf92f3b65f5d164fa4', class: "footer-top-right-container" }, hAsync("slot", { key: 'e3f62dadd619e0f1125c084767fdd13623a4847b', name: "info" }), hAsync("div", { key: '74496ea03e89b4d5b3ed908b92ae2f34fb77717e', class: "footer-top-items" }, this.processedItems &&
|
|
8506
8512
|
this.processedItems.map((item, index) => {
|
|
8507
8513
|
var _a, _b, _c, _d, _e, _f;
|
|
8508
8514
|
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:"))
|
|
@@ -8512,7 +8518,7 @@ class DuetFooter {
|
|
|
8512
8518
|
: "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:"))
|
|
8513
8519
|
? "medium"
|
|
8514
8520
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8515
|
-
}))))), hAsync("slot", { key: '
|
|
8521
|
+
}))))), hAsync("slot", { key: 'a8cf4161ec90c879087fd89f583f25c70df72fa5', name: "extra" }), hAsync("p", { key: '08d905926f15fa486eaa9f4efb85578bad4151ed', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '81ac9fa3b4bfe95af7618a541491fc19e7bec687', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '53134f08a13719fe4613ffcf381c451ac97a3ad7', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '10557b3644ea760d5cfd1f575d3e5b3ddb010033' }, 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: '3b1f27038bb1ae1d7be3dd15f1f31ecd0f016cf0', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8516
8522
|
}
|
|
8517
8523
|
get element() { return getElement(this); }
|
|
8518
8524
|
static get watchers() { return {
|
|
@@ -9641,7 +9647,7 @@ class DuetHeading {
|
|
|
9641
9647
|
render() {
|
|
9642
9648
|
const TagName = sanitizeString$1(this.level);
|
|
9643
9649
|
const color = getColorByName(this.color);
|
|
9644
|
-
return (hAsync(TagName, { key: '
|
|
9650
|
+
return (hAsync(TagName, { key: 'a93d5f854dfdff0e491ff60abc6d87980e135f77', class: {
|
|
9645
9651
|
"duet-heading": true,
|
|
9646
9652
|
"duet-heading-border": this.border !== false,
|
|
9647
9653
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -9652,7 +9658,7 @@ class DuetHeading {
|
|
|
9652
9658
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
9653
9659
|
"duet-theme-turva": this.theme === "turva",
|
|
9654
9660
|
"fixed-size": this.fixedSize,
|
|
9655
|
-
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
9661
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: 'f3bdb5d476c6fc8b64770b39a3fff70ddc1d8c65' })));
|
|
9656
9662
|
}
|
|
9657
9663
|
get element() { return getElement(this); }
|
|
9658
9664
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -9833,7 +9839,7 @@ class DuetHero {
|
|
|
9833
9839
|
outlineColor = "color-primary-turva";
|
|
9834
9840
|
}
|
|
9835
9841
|
}
|
|
9836
|
-
return (hAsync("div", { key: '
|
|
9842
|
+
return (hAsync("div", { key: 'a87828015bc3f0f5c3a2ebf27e77fcedc22506f9', role: "region", class: {
|
|
9837
9843
|
"duet-hero": true,
|
|
9838
9844
|
"duet-theme-turva": this.theme === "turva",
|
|
9839
9845
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -9851,17 +9857,17 @@ class DuetHero {
|
|
|
9851
9857
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
9852
9858
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
9853
9859
|
"duet-hero-narrow": this.layout === "narrow",
|
|
9854
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
9855
|
-
this.processedBack && (hAsync("div", { key: '
|
|
9860
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '2fa35e6204a50b7cdc7204a479e76259f6f8f1f1', class: "background-area" }, hAsync("div", { key: 'f501941190779990a908f4231ae1d13dbd88f885', class: "background-container" }, hAsync("div", { key: '2882c189c2cd2a5d935e6696803d824302d25786', class: "background" }, hAsync("img", { key: 'b3e1e5a318dc54df380ce587b9ac8dd8dd763b1d', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '598a744f8bc5135623cd146e564ebf698b3d7425', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'edf2ee1c1fcf7f2bfae9a381817ad7774095f0dc', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: 'f6ac809140f88bee0ef77e5d8e9d91457959e66a', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '941247c27dc7c090d80313a05c6dacd0095a8874', class: { background: true, [this.layout]: true } }, hAsync("div", { key: 'fde132fa5e470076add7b44fe7ee85f79c358621', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'cd5ee36edea14cef1fcebaae2e5856920c7f0542', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '2af0035ca5695ea7867423cb52378d8bcb3d39e2', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '3afe983e23c61a117f253e574507caf8008fafbf', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '63b551956d71b4c159fe59e6a12b88d66870e19c', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'a8f031ca703c2fb07a39f949311c6a81bfbc0271', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: '977acee94a864aec517a790fccd26eee1225fc06', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: '252fa241ba5a26190fdf4fd67c2164540103bf4d', class: "background-area" }, hAsync("div", { key: 'e889553f01e98e675fade7e95453e8326203e5dd', class: "background" }, hAsync("div", { key: '5278ab8ab65218454f88067861648da388de54c0', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '98b95126eef339a39ff4672e150c0f7ac3b3666b', class: "brand-shape" }), hAsync("div", { key: '74e8794a0e42ee488c75d7a4ae4a896834ce8b2c', class: "brand-shaped-image" }, hAsync("div", { key: 'f2674542259c08a22d068d60628371cf1b8a7c61', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '3d51348e1a932fa020a85c0e8a1cb685f0826b73', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: 'e86afdaa1676423a8ac70d198662c641c338d11c', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: 'a8b81d0c8d0051ae30ad5cc8788e739dfbfa7ff8', class: "duet-hero-image-mask" }, hAsync("div", { key: '5bd96d05a85e2e4c38579eb3037656d36e308334', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '758c546633d47aa8a5565fbd67dbe1fd7ff487b5', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
9861
|
+
this.processedBack && (hAsync("div", { key: '03dd32603448da8bf7d121c2303aa2157a26b5f5', class: "duet-hero-back" }, hAsync("duet-button", { key: '6e729b39b25ba5e264eee216caa314b87c33bfef', 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, {
|
|
9856
9862
|
label: this.processedBack.label,
|
|
9857
9863
|
href: this.processedBack.href,
|
|
9858
9864
|
id: this.processedBack.id,
|
|
9859
9865
|
analyticsId: this.processedBack.analyticsId,
|
|
9860
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
9866
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '977499b0e7894eaf4e0f1de7840067efc6b66a20', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: 'e57d16c5d68419bb308d26d78367d639e833ce60', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: '7ddc0c264c1245cb4b11ecef8b055b3c72404c8a', 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: 'e8761243c2d0de7e4a5105e339f2702f6639c87a', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: 'af16129462c685b876affca73d4013b9448bf53b', 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: 'e0c9f0963d9bcf7d77551afb2a8b1acb53b85258', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: '5a51db7d47b79cc0d01b87003bad413ea139e6af', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '98e4c6ea649cba4089ed782f968278a6622e1271', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '45d4b3b6e034a939960a3646c53f6e725a6dd4e9', 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: '364e4e03ab19f541ef4602af615865f17f210066', 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: 'cff0e24f4a4b4272e6a5a6b66536490b63de6dbf' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'dc9fdc50cdfa42d639b3278dcf1b0bb9d17ae0a2', 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 &&
|
|
9861
9867
|
this.variation !== "image" &&
|
|
9862
9868
|
!campaignOrSection &&
|
|
9863
9869
|
this.variation !== "product" &&
|
|
9864
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
9870
|
+
this.variation !== "content" && hAsync("div", { key: 'ffdd779d95a6b7746850be5922544c3393da7b9f', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '01288561e2b13d0c2aea355d0af36b3bef030ac1', name: "bottom" }))));
|
|
9865
9871
|
}
|
|
9866
9872
|
get element() { return getElement(this); }
|
|
9867
9873
|
static get watchers() { return {
|
|
@@ -9987,11 +9993,11 @@ class DuetIcon {
|
|
|
9987
9993
|
: {};
|
|
9988
9994
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9989
9995
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9990
|
-
return (hAsync(Host, { key: '
|
|
9996
|
+
return (hAsync(Host, { key: 'f799d9b64984bb7425692f3ce5202d694a924a92', class: {
|
|
9991
9997
|
"duet-m-0": this.margin === "none",
|
|
9992
9998
|
"duet-icon-has-outline": !!this.outline,
|
|
9993
9999
|
"duet-icon-has-background": !!this.background,
|
|
9994
|
-
} }, hAsync("span", { key: '
|
|
10000
|
+
} }, hAsync("span", { key: '5ef456ba5f67a6ea5f1d71dda34c39913318b083', "aria-hidden": "true", style: styles, class: {
|
|
9995
10001
|
"duet-icon": true,
|
|
9996
10002
|
"duet-theme-turva": this.theme === "turva",
|
|
9997
10003
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10000,7 +10006,7 @@ class DuetIcon {
|
|
|
10000
10006
|
[shapeStyle]: true,
|
|
10001
10007
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10002
10008
|
"duet-icon-not-responsive": !this.responsive,
|
|
10003
|
-
} }, hAsync("span", { key: '
|
|
10009
|
+
} }, hAsync("span", { key: 'bd54fe3e7d1f257c2b44f279f48c28000e485d55', "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 }))));
|
|
10004
10010
|
}
|
|
10005
10011
|
get element() { return getElement(this); }
|
|
10006
10012
|
static get watchers() { return {
|
|
@@ -10330,6 +10336,12 @@ class DuetInput {
|
|
|
10330
10336
|
this.timeoutId = setTimeout(emitEvent, this.debounce);
|
|
10331
10337
|
}
|
|
10332
10338
|
}
|
|
10339
|
+
/**
|
|
10340
|
+
* This is a proxy for the enclosed native inputs validity
|
|
10341
|
+
*/
|
|
10342
|
+
get validity() {
|
|
10343
|
+
return this.nativeInput.validity;
|
|
10344
|
+
}
|
|
10333
10345
|
/**
|
|
10334
10346
|
* Component lifecycle events.
|
|
10335
10347
|
*/
|
|
@@ -10535,6 +10547,7 @@ class DuetInput {
|
|
|
10535
10547
|
"autoComplete": [1, "auto-complete"],
|
|
10536
10548
|
"disallowPattern": [1, "disallow-pattern"],
|
|
10537
10549
|
"value": [1025],
|
|
10550
|
+
"validity": [2064],
|
|
10538
10551
|
"tooltip": [1],
|
|
10539
10552
|
"tooltipDirection": [1, "tooltip-direction"],
|
|
10540
10553
|
"language": [32],
|
|
@@ -10649,24 +10662,24 @@ class DuetLayout {
|
|
|
10649
10662
|
* Always the last one in the class.
|
|
10650
10663
|
*/
|
|
10651
10664
|
render() {
|
|
10652
|
-
return (hAsync(Host, { key: '
|
|
10665
|
+
return (hAsync(Host, { key: '50d5e0a74d44e0dcf9f1b5dc085c62b4042adb89', class: {
|
|
10653
10666
|
center: this.center,
|
|
10654
10667
|
"duet-middle": this.middle,
|
|
10655
10668
|
"duet-ie": isInternetExplorer(),
|
|
10656
|
-
} }, hAsync("div", { key: '
|
|
10669
|
+
} }, hAsync("div", { key: '6c92f2936aea122926f889112ba60687ae2ef632', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'a1a8b56fd70b50a147dad1d9811637d086e4ff8d', class: {
|
|
10657
10670
|
"duet-layout-top": true,
|
|
10658
10671
|
"duet-center": this.center,
|
|
10659
|
-
} }, hAsync("div", { key: '
|
|
10672
|
+
} }, hAsync("div", { key: '904770a407232e39f63f03202725a13865c29077', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: 'e1e1c1e1352822d7b86fdf47070fe2da806dc511', name: "top" })))), hAsync("div", { key: '85fb2026fd9ae01272a94e3f05098b7ded133a58', class: {
|
|
10660
10673
|
"duet-layout": true,
|
|
10661
10674
|
"has-sidebar": this.hasSidebar,
|
|
10662
10675
|
"duet-center": this.center,
|
|
10663
10676
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
10664
|
-
} }, hAsync("main", { key: '
|
|
10677
|
+
} }, hAsync("main", { key: '5491364fea4dbfa1bcee31f1fecf04bd60726ff5', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '529ef9cfe8b5e807813593125c1fd8782d6c8a12', name: "page-heading" }), hAsync("slot", { key: '88430479dbce9f8b10ed97c186eced6d55ffce1e', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '3498e9926d5037b75037782a2119353fefa48533', class: "duet-sidebar" }, hAsync("div", { key: '59fdb9750ca12eee5e010cabf92d8e8b7d741b85', class: {
|
|
10665
10678
|
"duet-sidebar-container": true,
|
|
10666
10679
|
"has-tabs": this.tabs,
|
|
10667
10680
|
sticky: this.sticky,
|
|
10668
10681
|
[this.stickyDistance]: this.sticky,
|
|
10669
|
-
} }, hAsync("slot", { key: '
|
|
10682
|
+
} }, hAsync("slot", { key: 'b2f1eedd1bc391913f79bcb1891142d2e8cb29f2', name: "sidebar" }))))))));
|
|
10670
10683
|
}
|
|
10671
10684
|
get element() { return getElement(this); }
|
|
10672
10685
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -10742,6 +10755,7 @@ class DuetLink {
|
|
|
10742
10755
|
this.margin = "auto";
|
|
10743
10756
|
this.padding = "auto";
|
|
10744
10757
|
this.isMediumScreen = false;
|
|
10758
|
+
this.ariaLabel = undefined;
|
|
10745
10759
|
}
|
|
10746
10760
|
/**
|
|
10747
10761
|
* Component lifecycle events.
|
|
@@ -10759,9 +10773,13 @@ class DuetLink {
|
|
|
10759
10773
|
prop: "accessibleLabelExternal",
|
|
10760
10774
|
defaults: "accessibleLabelExternalDefaults",
|
|
10761
10775
|
});
|
|
10776
|
+
this.setAriaLabel();
|
|
10762
10777
|
}
|
|
10763
10778
|
disconnectedCallback() {
|
|
10764
10779
|
disconnectLanguageChangeObserver(this);
|
|
10780
|
+
if (this.mutationObserver) {
|
|
10781
|
+
this.mutationObserver.disconnect();
|
|
10782
|
+
}
|
|
10765
10783
|
}
|
|
10766
10784
|
/**
|
|
10767
10785
|
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
@@ -10770,6 +10788,11 @@ class DuetLink {
|
|
|
10770
10788
|
async setFocus(options) {
|
|
10771
10789
|
this.nativeLink.focus(options);
|
|
10772
10790
|
}
|
|
10791
|
+
setAriaLabel() {
|
|
10792
|
+
setTimeout(() => {
|
|
10793
|
+
this.ariaLabel = (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel;
|
|
10794
|
+
});
|
|
10795
|
+
}
|
|
10773
10796
|
resolveDownload() {
|
|
10774
10797
|
if (this.download === "") {
|
|
10775
10798
|
return this.url.split("/").pop();
|
|
@@ -10808,10 +10831,10 @@ class DuetLink {
|
|
|
10808
10831
|
render() {
|
|
10809
10832
|
const Tag = !this.url ? "button" : "a";
|
|
10810
10833
|
const isButton = Tag === "button";
|
|
10811
|
-
return (hAsync(Host, { key: '
|
|
10834
|
+
return (hAsync(Host, { key: 'd2c017f0a20d5d9af1f8c8d543c0ef5521a30d87', class: {
|
|
10812
10835
|
[`duet-link-${this.variation}`]: true,
|
|
10813
10836
|
"duet-m-0": this.margin === "none",
|
|
10814
|
-
} }, hAsync(Tag, { key: '
|
|
10837
|
+
} }, hAsync(Tag, { key: 'a59f97d1ba40abf28a2663dd3c56d9b029ce6a5b', href: this.url, class: {
|
|
10815
10838
|
"duet-link": true,
|
|
10816
10839
|
"duet-link-is-external": this.external,
|
|
10817
10840
|
"duet-link-is-download": !!this.download,
|
|
@@ -10822,10 +10845,13 @@ class DuetLink {
|
|
|
10822
10845
|
"duet-p-0": this.padding === "none",
|
|
10823
10846
|
[this.padding]: true,
|
|
10824
10847
|
[this.variation]: true,
|
|
10825
|
-
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label":
|
|
10848
|
+
}, target: this.download || !this.url ? null : this.external ? "_blank" : "_self", download: this.resolvedDownload, "aria-label": this.ariaLabel, "aria-expanded": this.accessibleExpanded != null && isButton ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null && isButton ? this.accessiblePopup.toString() : undefined, id: this.identifier, ref: el => (this.nativeLink = el), part: "duet-link", rel: this.external ? "noopener" : undefined }, this.renderContent())));
|
|
10826
10849
|
}
|
|
10827
10850
|
static get delegatesFocus() { return true; }
|
|
10828
10851
|
get element() { return getElement(this); }
|
|
10852
|
+
static get watchers() { return {
|
|
10853
|
+
"language": ["setAriaLabel"]
|
|
10854
|
+
}; }
|
|
10829
10855
|
static get style() { return DuetLinkStyle0; }
|
|
10830
10856
|
static get cmpMeta() { return {
|
|
10831
10857
|
"$flags$": 25,
|
|
@@ -10853,6 +10879,7 @@ class DuetLink {
|
|
|
10853
10879
|
"margin": [1],
|
|
10854
10880
|
"padding": [1],
|
|
10855
10881
|
"isMediumScreen": [32],
|
|
10882
|
+
"ariaLabel": [32],
|
|
10856
10883
|
"setFocus": [64]
|
|
10857
10884
|
},
|
|
10858
10885
|
"$listeners$": undefined,
|
|
@@ -10933,7 +10960,7 @@ class DuetList {
|
|
|
10933
10960
|
* Always the last one in the class.
|
|
10934
10961
|
*/
|
|
10935
10962
|
render() {
|
|
10936
|
-
return (hAsync("dl", { key: '
|
|
10963
|
+
return (hAsync("dl", { key: '3d8ad265bd32d112f5127ff40b36788839b0dcc1', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '85b387910bee8d7ac0918949bd749266e2450078' })));
|
|
10937
10964
|
}
|
|
10938
10965
|
get element() { return getElement(this); }
|
|
10939
10966
|
static get watchers() { return {
|
|
@@ -10983,14 +11010,14 @@ class DuetListItem {
|
|
|
10983
11010
|
* Always the last one in the class.
|
|
10984
11011
|
*/
|
|
10985
11012
|
render() {
|
|
10986
|
-
return (hAsync(Host, { key: '
|
|
11013
|
+
return (hAsync(Host, { key: '906611deb615d294793da802dbd0dd15c4a74d81', class: {
|
|
10987
11014
|
"duet-no-stacking": !this.responsive,
|
|
10988
11015
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10989
11016
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10990
11017
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10991
11018
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10992
11019
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10993
|
-
} }, hAsync("dt", { key: '
|
|
11020
|
+
} }, hAsync("dt", { key: '243ef1636898ed14ec321bc12c8bbf1800df4ebb' }, hAsync("slot", { key: '66014a7583312ed88208147fb4cf3a0d148ca64f', name: "label" })), hAsync("dd", { key: 'bb901cdc4f8e5c9366eee9e9e2f5a7f475c8be7c' }, hAsync("slot", { key: 'b4fdf39fabbcd02adde7e3c7c734e5c26c3aa747', name: "value" }))));
|
|
10994
11021
|
}
|
|
10995
11022
|
static get style() { return DuetListItemStyle0; }
|
|
10996
11023
|
static get cmpMeta() { return {
|
|
@@ -11083,7 +11110,7 @@ class DuetLogo {
|
|
|
11083
11110
|
*/
|
|
11084
11111
|
render() {
|
|
11085
11112
|
const TagName = this.href ? "a" : "div";
|
|
11086
|
-
return (hAsync(Host, { key: '
|
|
11113
|
+
return (hAsync(Host, { key: 'ea92e634c52d5d924ade2efdd06b0541cbacebbf', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'f545d7ee648ecf2a199d807c1998e9a8d07f907e', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11087
11114
|
"duet-logo": true,
|
|
11088
11115
|
[this.size]: true,
|
|
11089
11116
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11262,14 +11289,14 @@ class DuetMenuBar {
|
|
|
11262
11289
|
render() {
|
|
11263
11290
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11264
11291
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11265
|
-
return (hAsync(Host, { key: '
|
|
11292
|
+
return (hAsync(Host, { key: 'a67abb8e30e35b641b31a6891850bc4e00679373' }, hAsync("nav", { key: 'cfe9c209ee35f91942d6a77373656d288ecdaeca', class: {
|
|
11266
11293
|
"duet-menu-bar": true,
|
|
11267
11294
|
"duet-theme-turva": this.theme === "turva",
|
|
11268
11295
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11269
11296
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11270
11297
|
hidden: this.hidden && this.hideOnScroll,
|
|
11271
11298
|
bottom: this.onBottom,
|
|
11272
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11299
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'c24c3d152b65a65158a379e143114dabb97587a8', class: "top" }), hAsync("div", { key: 'e18c2c08b9d890781ab5007ba2a285efdb33c432', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'c020bdd05d9b5c094e7b7894b5be304a80bbf4fa' }, hAsync("duet-logo", { key: 'ffd006a03dbcb769fb17113c332db7a95e3cff25', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: 'a25c9bf850a71324fec4f6e9cd292ab9f64bb316', class: "list center", role: "list" }, hAsync("div", { key: '5d4984061763722ade739b5bbb4bdff333a4ad6b', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: 'e18128bb7e1c57b19f3c44d8d4bd34f9346ff84d', name: "center" }), hAsync("div", { key: '7197c52ee19932cd617d816ed68d00865ca1f67c', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '417e5c9153bfd3a8cadf27066a787622a8bb521e', class: "list right", role: "list" }, hAsync("slot", { key: '97846c76ecffc609c58a37b6bf7fcedab23b8e9a', name: "right" }))), hAsync("div", { key: '80b7d44146a2ac6a4f656e58efc827aefe9800a7', class: "bottom" }))));
|
|
11273
11300
|
}
|
|
11274
11301
|
get element() { return getElement(this); }
|
|
11275
11302
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11336,10 +11363,10 @@ class DuetMenuBarButton {
|
|
|
11336
11363
|
* Always the last one in the class.
|
|
11337
11364
|
*/
|
|
11338
11365
|
render() {
|
|
11339
|
-
return (hAsync(Host, { key: '
|
|
11366
|
+
return (hAsync(Host, { key: 'e819ed52a5dfb139972991a588b6d1f7c8329ddc', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: '2a148aaaad2338456e326d74c6fe5f9c2a43291f', ref: button => (this.nativeButton = button), class: {
|
|
11340
11367
|
"duet-menu-bar-button": true,
|
|
11341
11368
|
"duet-theme-turva": this.theme === "turva",
|
|
11342
|
-
}, "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: '
|
|
11369
|
+
}, "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: 'd19c23005cfad3e3dc0edc9bc3023db62cd69df3', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '3dbd6d470cddd5b26277e43720744d83e7f6d3d8' }))));
|
|
11343
11370
|
}
|
|
11344
11371
|
get element() { return getElement(this); }
|
|
11345
11372
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11422,17 +11449,17 @@ class DuetMenuBarDropdown {
|
|
|
11422
11449
|
* Always the last one in the class.
|
|
11423
11450
|
*/
|
|
11424
11451
|
render() {
|
|
11425
|
-
return (hAsync(Host, { key: '
|
|
11452
|
+
return (hAsync(Host, { key: '90143154135a9a1af4361a3cca82bc0911c4208e', role: "listitem" }, hAsync("div", { key: '714f90aaa6af1291c71691895c9c6dd0c3573029', class: {
|
|
11426
11453
|
"duet-menu-bar-dropdown": true,
|
|
11427
11454
|
"duet-theme-turva": this.theme === "turva",
|
|
11428
11455
|
active: this.open,
|
|
11429
11456
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11430
|
-
} }, hAsync("button", { key: '
|
|
11457
|
+
} }, hAsync("button", { key: '955d30fc9ceb744950883b97392628bd50a7bad5', 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: {
|
|
11431
11458
|
active: this.open,
|
|
11432
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11459
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'e196f58875b135d5eb49f08ac179d9f8dac6eb72', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'b2264c9163fb53f2f133ad5aa0eb596bb9dd0d1b', class: "label" }, hAsync("slot", { key: 'eb4890ecf2721cc71c68e678b478e080b25d0148', name: "label" }), hAsync("duet-icon", { key: '331178583e3e1e92d66153fa9760a41d7c1d280e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '7b6ad09e4b1a4905861f06e3ea7f9ae7185848ca', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11433
11460
|
items: true,
|
|
11434
11461
|
hidden: !this.open,
|
|
11435
|
-
} }, hAsync("slot", { key: '
|
|
11462
|
+
} }, hAsync("slot", { key: 'c4f3d4642e2358445b7555c16e605bafc583bcab' })))));
|
|
11436
11463
|
}
|
|
11437
11464
|
get element() { return getElement(this); }
|
|
11438
11465
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11492,11 +11519,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11492
11519
|
* Always the last one in the class.
|
|
11493
11520
|
*/
|
|
11494
11521
|
render() {
|
|
11495
|
-
return (hAsync(Host, { key: '
|
|
11522
|
+
return (hAsync(Host, { key: '8cd9a7534063729fb56553aceb03dee2a4259298' }, hAsync("a", { key: '4aa5739871a9782b15c5edbbe68c8eb7bd8d72ec', class: {
|
|
11496
11523
|
"duet-menu-bar-dropdown-link": true,
|
|
11497
11524
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11498
11525
|
"duet-theme-turva": this.theme === "turva",
|
|
11499
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11526
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'aed6c74b178bed00f17f611ffe976d2438639730', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '06b94df84ee2103df212323a25fd7dd457128f13' }))));
|
|
11500
11527
|
}
|
|
11501
11528
|
get element() { return getElement(this); }
|
|
11502
11529
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11560,11 +11587,11 @@ class DuetMenuBarItem {
|
|
|
11560
11587
|
*/
|
|
11561
11588
|
render() {
|
|
11562
11589
|
const TagName = this.url ? "a" : "button";
|
|
11563
|
-
return (hAsync(Host, { key: '
|
|
11590
|
+
return (hAsync(Host, { key: 'a1df309d1f89c97fafc7c7d89afad06ffac06747', role: "listitem" }, hAsync(TagName, { key: 'befda45ecb5407629b5a79760db503b96020c097', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11564
11591
|
"duet-menu-bar-item": true,
|
|
11565
11592
|
"duet-theme-turva": this.theme === "turva",
|
|
11566
11593
|
active: this.active,
|
|
11567
|
-
}, 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: '
|
|
11594
|
+
}, 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: '9390d6c0d4f0260375d06bd6e8d55641230563f5', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: 'b31fa79746a8776ae487cc54ebfac1072e1fbe93' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '4afb0788818f5fd04f36da7ca4a7892a1f0aff63', class: {
|
|
11568
11595
|
"trailing-icon": !!this.trailingIcon,
|
|
11569
11596
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11570
11597
|
"external-icon": !!this.external,
|
|
@@ -11619,11 +11646,11 @@ class DuetMenuBarLink {
|
|
|
11619
11646
|
* Always the last one in the class.
|
|
11620
11647
|
*/
|
|
11621
11648
|
render() {
|
|
11622
|
-
return (hAsync(Host, { key: '
|
|
11649
|
+
return (hAsync(Host, { key: '5e073042b27ed756bd91ed10c229925f7deb370e', role: "listitem" }, hAsync("a", { key: '74d7dca63dcf516b1b284d561eaa14ba5b0c35d2', class: {
|
|
11623
11650
|
"duet-menu-bar-link": true,
|
|
11624
11651
|
"duet-theme-turva": this.theme === "turva",
|
|
11625
11652
|
active: this.active,
|
|
11626
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11653
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '7db3dfe95be9c9dee6251eb67d77ea7b43a2bd98', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '30be5907568931621210b8f179693cba0c61bba8' }))));
|
|
11627
11654
|
}
|
|
11628
11655
|
get element() { return getElement(this); }
|
|
11629
11656
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11874,18 +11901,18 @@ class DuetModal {
|
|
|
11874
11901
|
var _a, _b;
|
|
11875
11902
|
let iconColor = "primary";
|
|
11876
11903
|
let closeColor = "secondary";
|
|
11877
|
-
const closingButton = (hAsync("div", { key: '
|
|
11904
|
+
const closingButton = (hAsync("div", { key: 'faca106e7238b19de6f5fcb56187a4b035ace031', class: "duet-modal-close" }, hAsync("duet-button", { key: '4615e465a19c56de94dab9c02284a21c7d90d9a7', 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 })));
|
|
11878
11905
|
if (this.theme === "turva") {
|
|
11879
11906
|
iconColor = "primary-turva";
|
|
11880
11907
|
closeColor = "secondary-turva";
|
|
11881
11908
|
}
|
|
11882
|
-
return (hAsync("div", { key: '
|
|
11909
|
+
return (hAsync("div", { key: '42183912fedecad806d5b78349ee0d1a5c7bfa0b', 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: {
|
|
11883
11910
|
"duet-modal-container": true,
|
|
11884
11911
|
"duet-theme-turva": this.theme === "turva",
|
|
11885
11912
|
"duet-modal-active": this.open,
|
|
11886
11913
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
11887
11914
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11888
|
-
} }, hAsync("duet-overlay", { key: '
|
|
11915
|
+
} }, hAsync("duet-overlay", { key: '7c3d1310e56471e69c0477395518191691243299', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '19cdc99e1bf8d5d55f2579924e0088202d53f28c', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
11889
11916
|
"duet-modal-inner": true,
|
|
11890
11917
|
[this.size]: true,
|
|
11891
11918
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -11896,18 +11923,18 @@ class DuetModal {
|
|
|
11896
11923
|
this.closeModal(e);
|
|
11897
11924
|
}
|
|
11898
11925
|
}
|
|
11899
|
-
} }, hAsync("div", { key: '
|
|
11926
|
+
} }, hAsync("div", { key: '90b71acda3d486f8f6be34b7b5c71dfb4bc34085', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
11900
11927
|
"duet-modal": true,
|
|
11901
11928
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11902
11929
|
[this.size]: true,
|
|
11903
11930
|
[this.variation]: true,
|
|
11904
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
11931
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: 'a6187dfa0a89ffbcab949e9ec04f2dbdb7bee73f' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '281bc00140765e6a20e9c812b109e1a23c177f1a', class: {
|
|
11905
11932
|
"duet-modal-body": true,
|
|
11906
11933
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
11907
11934
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
11908
11935
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
11909
11936
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
11910
|
-
} }, hAsync("div", { key: '
|
|
11937
|
+
} }, hAsync("div", { key: 'd6efd4041e56786ce78c06cadbea621e9f19f5d3', class: "duet-modal-header" }, hAsync("span", { key: '49fe986baa9c26a7c8b0c49ab5389e4734677da7', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '0e664665b83d9dc57facc7345ebce7ba6ba1e353', name: "top" })), this.icon && hAsync("duet-icon", { key: '524dfbfd9b8e974107f8b6807561b0e044bd72cd', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: 'd84fea6190fa4f51c73e2f0cefc09875f81a9a5f', "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: 'fd0aaec78ff7dd8af43dc340b8a08de18faced08', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '1e384296c37cd45422b329e5a2a9c219575ea285', size: "large", color: "primary" }))), hAsync("div", { key: '6ee42fba878291347ba61a59ec67647d3d7df843', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '48e57b5c320cf9dabc1ee9b6a3d3c61a4f48b32b' })))))));
|
|
11911
11938
|
}
|
|
11912
11939
|
get element() { return getElement(this); }
|
|
11913
11940
|
static get watchers() { return {
|
|
@@ -12172,23 +12199,23 @@ class DuetMultiselect {
|
|
|
12172
12199
|
*/
|
|
12173
12200
|
render() {
|
|
12174
12201
|
var _a;
|
|
12175
|
-
return (hAsync(Host, { key: '
|
|
12202
|
+
return (hAsync(Host, { key: 'cd808887d29fccc966039fb9641849d23628af69', class: {
|
|
12176
12203
|
"duet-m-0": this.margin === "none",
|
|
12177
12204
|
"duet-expand": this.expand,
|
|
12178
|
-
} }, hAsync("div", { key: '
|
|
12205
|
+
} }, hAsync("div", { key: '78c49094e1d6cb2eb6294ad7ec09d4d87d75fb9a', class: {
|
|
12179
12206
|
"duet-multiselect-container": true,
|
|
12180
12207
|
"duet-label-hidden": this.labelHidden,
|
|
12181
12208
|
"duet-theme-turva": this.theme === "turva",
|
|
12182
12209
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12183
12210
|
"has-error": !!this.error,
|
|
12184
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '
|
|
12211
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: 'cc117d7c1021417f5edfd5280aa537bc4976ac7a', 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: '7c103399bf9ddb1b052d2b6bc5397194646c02b9', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '3aa68f10f3ff26cebebca571ac5a997ff18e5d02', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'bae0c329e17d8a63bd5e2cf57eaff9e56130b2d5', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '2c28e10bd5d02127bfba5cbd1260038448908f21', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '3b0f220f13b03b12fa49b339faea516db9be25ab', 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: 'b538e324e37532ce0339edadf5b94a6c1d9d0aae', 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: 'e4a5bbc9d11af2806f080ae4ee0de918eb799843', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '77c4f17f7bf29187ca0fa43eab1eefdd994ab458' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '424978e82f3434f10e0333bc5783ee390c24f79b', 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: '08d010d5bc10a0cf68d827499a064e0388ee1117', 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: 'aa0a9cd117c75fce4f904bf2ca3eb100a480fd8c', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12185
12212
|
"duet-multiselect-checkboxes": true,
|
|
12186
12213
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12187
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12214
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '028e0f1153b2152673e3b0b422e3dabc3c68eabc', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: 'e52202c66c9d1ca3bdb18644932fc709f37cbff6', 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: '4424f7c01d30fa19354b36ec4812622de435a5a0', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12188
12215
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12189
12216
|
var _a, _b;
|
|
12190
12217
|
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 }));
|
|
12191
|
-
})))))), hAsync("span", { key: '
|
|
12218
|
+
})))))), hAsync("span", { key: 'ca07d4f3d02d103b5fbba9fd785918a1c848103d', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'd03905c8c40860fec72c62bf803c706426ead8ad' }, this.error)))));
|
|
12192
12219
|
}
|
|
12193
12220
|
get element() { return getElement(this); }
|
|
12194
12221
|
static get watchers() { return {
|
|
@@ -12257,7 +12284,7 @@ class DuetNav {
|
|
|
12257
12284
|
* Always the last one in the class.
|
|
12258
12285
|
*/
|
|
12259
12286
|
render() {
|
|
12260
|
-
return (hAsync(Host, { key: '
|
|
12287
|
+
return (hAsync(Host, { key: '57ed245b42d5a3f467f4734292765b5fb7114ca3' }, hAsync("div", { key: '7299875cfcb1ec2c6e62dd8c0676f3fdbd9d9c31', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '08ba179aa02b222c8557db6c3d6ed80a9cedebae' }), hAsync("slot", { key: '56ba9aaec2f73b0f5a5f24974301107ae749e7dc', name: "mobile" }), hAsync("slot", { key: 'a8ec76ee2869a1c70895dbb2a496260478f315a0', name: "desktop" }))));
|
|
12261
12288
|
}
|
|
12262
12289
|
get element() { return getElement(this); }
|
|
12263
12290
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12316,11 +12343,11 @@ class DuetNotification {
|
|
|
12316
12343
|
this.linkElement.focus(options);
|
|
12317
12344
|
}
|
|
12318
12345
|
render() {
|
|
12319
|
-
return (hAsync("div", { key: '
|
|
12346
|
+
return (hAsync("div", { key: '0a6935872ea6b2def436c214e63a009104c5e33f', role: "listitem", class: {
|
|
12320
12347
|
"duet-notification": true,
|
|
12321
12348
|
"duet-notification-highlight": this.highlight,
|
|
12322
12349
|
"duet-theme-turva": this.theme === "turva",
|
|
12323
|
-
} }, hAsync("a", { key: '
|
|
12350
|
+
} }, hAsync("a", { key: '214a044c177a97f28fe45d13d6cb3d45a656c99b', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'f8c7ec86f0e5f39028f344162ac5ef29e5ba9d83', class: "duet-notification-container" }, hAsync("div", { key: 'f4063625f2a583f873c001b58ccced3673b585ac', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'f8a664b0cb8510e19ebf74b8cce236d571e0505a', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '60cfdf5e0524e9136848940467bd5f965551068c' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '47f79a377b30fa24591067a7d5d7e49d1060920e', class: "duet-notification-content" }, hAsync("slot", { key: '0bf0e5a139d41ec456eb89d94057e387e2503275' })), hAsync("div", { key: '08b5589473778f9d3a40be1ae82b58c1c14415f0', class: "duet-notification-date" }, this.date)))));
|
|
12324
12351
|
}
|
|
12325
12352
|
get element() { return getElement(this); }
|
|
12326
12353
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12438,10 +12465,10 @@ class DuetNotificationDrawer {
|
|
|
12438
12465
|
* Always the last one in the class.
|
|
12439
12466
|
*/
|
|
12440
12467
|
render() {
|
|
12441
|
-
return (hAsync("div", { key: '
|
|
12468
|
+
return (hAsync("div", { key: 'd7e36cb19dc0f07adf6840b484828f25b6a7f23d', class: {
|
|
12442
12469
|
"duet-drawer": true,
|
|
12443
12470
|
"duet-theme-turva": this.theme === "turva",
|
|
12444
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12471
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '50cacbe00a1d8352566dfe0bc4c93706f668ad09', 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: '3adf4cc0214c09a85abbd5befd07e5601a0bbc89', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '7bb2900637122b3416444ad1685a83eeb7b5dc2e', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: 'a5f9d3e58ec3590cf00669e9c5a75a62e7b12130', class: "duet-drawer-badge" }))), hAsync("span", { key: '759ec6fe88384409fc162f9250a92ccf360d228e', class: "duet-drawer-label" }, this.label), hAsync("div", { key: 'ffd3f0fcfe7be8bd571ef21f66a261110cf77c79', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: 'ee4db452ac267ce151011435ee5dca2b950af52b', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '3d187ecc2cb13857ce722dd60ee23bf7d11f4c7d', id: "duet-drawer-content", class: {
|
|
12445
12472
|
"duet-drawer-content": true,
|
|
12446
12473
|
"duet-drawer-right": this.direction === "right",
|
|
12447
12474
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -12908,7 +12935,7 @@ class DuetOverlay {
|
|
|
12908
12935
|
* Always the last one in the class.
|
|
12909
12936
|
*/
|
|
12910
12937
|
render() {
|
|
12911
|
-
return (hAsync(Host, { key: '
|
|
12938
|
+
return (hAsync(Host, { key: 'd3e7d17560756e548f4fa7d204a2e016fb826ef5', "aria-hidden": "true" }, hAsync("div", { key: 'f3b526475b42eda736595aeb94edc9b4ece9c0b1', style: { zIndex: this.zIndex }, class: {
|
|
12912
12939
|
"duet-overlay": true,
|
|
12913
12940
|
"duet-theme-turva": this.theme === "turva",
|
|
12914
12941
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -12978,12 +13005,12 @@ class DuetPageHeading {
|
|
|
12978
13005
|
*/
|
|
12979
13006
|
render() {
|
|
12980
13007
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12981
|
-
return (hAsync("div", { key: '
|
|
13008
|
+
return (hAsync("div", { key: 'f4e2064060d453cbcffe97b74c61f1458c5f5e4c', class: {
|
|
12982
13009
|
"duet-page-heading": true,
|
|
12983
13010
|
"duet-theme-turva": this.theme === "turva",
|
|
12984
13011
|
"has-icon": !!this.icon,
|
|
12985
13012
|
[layout]: true,
|
|
12986
|
-
} }, hAsync("div", { key: '
|
|
13013
|
+
} }, hAsync("div", { key: '38bfd0fda610693a3565d8f68fb91675bc620b88', class: "background" }, this.theme === "turva" && hAsync("div", { key: '7981e4a4235abc7220dc729a310f3f2de7977b76', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '8eec79ca5f10455c718811d0e974a206625d4dd2', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '51b213fb3c062dad4a7bab391c861109d540fc38', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '7d53514cc6a0c81d8771708ab86a754ed9d7a90e', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: '0e5bfb3b22367940e59e0fcdccb6e57a3e684e25', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '0f0cbb5d517f55bdc1cb569cecd4c7aeb2d0001f', class: "heading" }, hAsync("slot", { key: 'ac3a72160d6195830b2d7e720ae178c2e6d1c5e6', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '351c5a40296efdb0ce339f46f8d33ed550bb79aa' }, hAsync("duet-spacer", { key: 'd9973186cedb82325980777d9cbb39d7bf894b79', size: "large" }), hAsync("div", { key: 'e1e892094e54415075a0bbaaf9df8534be2f6b43', role: "presentation" }, this.progressIndicator()))))));
|
|
12987
13014
|
}
|
|
12988
13015
|
get element() { return getElement(this); }
|
|
12989
13016
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13338,32 +13365,32 @@ class DuetPagination {
|
|
|
13338
13365
|
* Always the last one in the class.
|
|
13339
13366
|
*/
|
|
13340
13367
|
render() {
|
|
13341
|
-
return (hAsync(Host, { key: '
|
|
13368
|
+
return (hAsync(Host, { key: '46ed5d4ac7d4f6fd6c8836da58b53d8f6b37e293', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '2d3d82550e80258763d3d358011f79c91dce9539', 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: {
|
|
13342
13369
|
"duet-pagination-nav": true,
|
|
13343
13370
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13344
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13371
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: '92e8b40079a47d3bba5058fad86d43bee28aea5a', "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: '9b86db811736e7d40fea8e7beef5f8059ed6ed52', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '096543ca516822c32c5c6b7c6fa5f87f9e55bfd6', id: this.listId, class: {
|
|
13345
13372
|
"duet-pagination": true,
|
|
13346
13373
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13347
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13374
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '04f0c6b6f919e0b683af8eace28aae7ad92e89c5', class: {
|
|
13348
13375
|
"duet-pagination-page-button": true,
|
|
13349
13376
|
"duet-pagination-button-first": true,
|
|
13350
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13377
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'ee4222708ce462a8271c2defeae7b1dcccad2335', 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: '46c2cae3bf4264558a3e10d787b72f8f24008a56', class: {
|
|
13351
13378
|
"duet-pagination-page-button": true,
|
|
13352
13379
|
"duet-pagination-button-first": true,
|
|
13353
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13380
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'eff45547458a5ae69885038d2f9bf70987b2d9b6', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13354
13381
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13355
|
-
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: '
|
|
13356
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13382
|
+
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: '7bb78a6b857a713f8b0538242d7201d2458a4093' }, hAsync("li", { key: 'ebc516d88071e8a02d454e9b5fa7a4d01fc0978d', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '711f4e63b30cd5b5a5a3acc677396649d216594c', 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: '8c9cc99aa28744c7dc65ed0f8a25517a7bdec304', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: 'bccbbd448eb7ca1f0ce230a28ebdf7da5eed1a9a', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '2a6f5239ed98dcaf74fa063ec037885d6c2b5528', 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: '8bc41b81a0b66a8d92d7b20a872b35689d661bde', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13383
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'da8bba6fd33f32cbc2e8c4b62ff9e3730cbc314f' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'a70996162c6bb74a47035e4d6c302f278c03eaf7', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '3933cb465302e5dedcc28fd9f695872e6e7348ad', 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: 'b0eec227fe7d491ba7e67c7dbbab722ff21df2f3', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: 'eadf008138f45ae43738c7b12df96dbc07001385', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '63b691b0400ede1a7ff96f57d0be5e4c1a45f320', 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
|
|
13357
13384
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13358
|
-
: undefined }, hAsync("div", { key: '
|
|
13385
|
+
: undefined }, hAsync("div", { key: '0a75c569fa712029c9bb6520ab684d1b3f4f84d9', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '6185cbd48fc4828a57bc4ba50918fbc5e85f4e02', class: {
|
|
13359
13386
|
"duet-pagination-page-button": true,
|
|
13360
13387
|
"duet-pagination-button-last": true,
|
|
13361
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13388
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'baa8819f55e717201ccf55261f96fbf0b937bfc2', disabled: !!((this.current === this.totalPages &&
|
|
13362
13389
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13363
|
-
(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: '
|
|
13390
|
+
(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: 'a2058bec39076987b90193f0274dc9a9f43741c7', class: {
|
|
13364
13391
|
"duet-pagination-page-button": true,
|
|
13365
13392
|
"duet-pagination-button-last": true,
|
|
13366
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13393
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '4b2545937c6cc5f0b88d2d8e57e05fecc1214c7b', disabled: (this.current === this.totalPages &&
|
|
13367
13394
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13368
13395
|
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 })))))));
|
|
13369
13396
|
}
|
|
@@ -13437,7 +13464,7 @@ class DuetParagraph {
|
|
|
13437
13464
|
const color = getColorByName(this.color);
|
|
13438
13465
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13439
13466
|
// are not announced when placed inside duet-modal
|
|
13440
|
-
return (hAsync(Host, { key: '
|
|
13467
|
+
return (hAsync(Host, { key: '781489aa8cfa1fbe821c39ba70f9729111c34989', "aria-describedby": this.id }, hAsync("p", { key: 'a8edeb1a584bef9687dfc46bd4bf1ca3463a24f8', id: this.id, class: {
|
|
13441
13468
|
"duet-paragraph": true,
|
|
13442
13469
|
"duet-paragraph-small": this.size === "small",
|
|
13443
13470
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13445,7 +13472,7 @@ class DuetParagraph {
|
|
|
13445
13472
|
"duet-m-0": this.margin === "none",
|
|
13446
13473
|
[this.variation]: true,
|
|
13447
13474
|
"duet-theme-turva": this.theme === "turva",
|
|
13448
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13475
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'fc52f55236cf7f668aa23a91f2de13a4063be43a' }))));
|
|
13449
13476
|
}
|
|
13450
13477
|
get element() { return getElement(this); }
|
|
13451
13478
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15372,6 +15399,12 @@ class DuetPhoneInput {
|
|
|
15372
15399
|
set value(val) {
|
|
15373
15400
|
this._value = val;
|
|
15374
15401
|
}
|
|
15402
|
+
/**
|
|
15403
|
+
* This is a proxy for the enclosed native inputs validity
|
|
15404
|
+
*/
|
|
15405
|
+
get validity() {
|
|
15406
|
+
return this.duetInputElement.validity;
|
|
15407
|
+
}
|
|
15375
15408
|
/**t
|
|
15376
15409
|
* Component lifecycle events.
|
|
15377
15410
|
*/
|
|
@@ -15473,6 +15506,7 @@ class DuetPhoneInput {
|
|
|
15473
15506
|
"error": [1],
|
|
15474
15507
|
"tooltip": [1],
|
|
15475
15508
|
"value": [6145],
|
|
15509
|
+
"validity": [2064],
|
|
15476
15510
|
"listFirst": [1, "list-first"],
|
|
15477
15511
|
"language": [32],
|
|
15478
15512
|
"currentCountry": [32],
|
|
@@ -17134,14 +17168,14 @@ class DuetPopupMenu {
|
|
|
17134
17168
|
overflowY: "auto",
|
|
17135
17169
|
height: this.popupMenuStyleHeight,
|
|
17136
17170
|
};
|
|
17137
|
-
return (hAsync(Host, { key: '
|
|
17171
|
+
return (hAsync(Host, { key: '5bb85676ba5f828c366f50de522256423be04e85' }, hAsync("div", { key: 'b518597ae6452ccc99331cf6d9b97f209d8837ee', ref: element => {
|
|
17138
17172
|
this.menuElement = element;
|
|
17139
17173
|
}, style: styles, class: {
|
|
17140
17174
|
open: this.open,
|
|
17141
17175
|
"duet-popup-menu-list": true,
|
|
17142
17176
|
"duet-theme-turva": this.theme === "turva",
|
|
17143
17177
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
17144
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '
|
|
17178
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '9805d1a455cb8e4c6503b1c4177a5d7a5c1d5d01' }, hAsync("duet-input", { key: 'a5f49f43c7f8979b9adae13435194e7679bee6c2', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), hAsync("duet-spacer", { key: '507f2d58077dc27f7096aeb571e78a1b7ba3911f', size: "xx-small" }))), hAsync("slot", { key: '0df4eef63e174ee4ff14a23ba819461e30a118c9' }))));
|
|
17145
17179
|
}
|
|
17146
17180
|
get element() { return getElement(this); }
|
|
17147
17181
|
static get watchers() { return {
|
|
@@ -17250,11 +17284,11 @@ class DuetPopupMenuItem {
|
|
|
17250
17284
|
"duet-theme-turva": this.theme === "turva",
|
|
17251
17285
|
"active-descendant": this.activeDescendant,
|
|
17252
17286
|
};
|
|
17253
|
-
return (hAsync(Host, { key: '
|
|
17287
|
+
return (hAsync(Host, { key: 'ecd69714512d5821c0e558634c25094fae64a925', role: this.accessibleRole }, hAsync(TagName, { key: '13b3dd3ab67cecd24989acf66444b6d0badec52c', 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: '3bfc02794dbd281e150ea8a0b16abac9b2c38b89', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '831b7cbafa3ac23a3b8f75099e6e1e9725b32c2f', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'c460db8d6e2067b8f7e1a2b6cebcf456114db058' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'f5c2c99a60fa0aa92e0e2530b04559f3260fcd6a', name: this.url && this.external
|
|
17254
17288
|
? actionNewWindowSmall.title
|
|
17255
17289
|
: this.active
|
|
17256
17290
|
? "messaging-checked-small"
|
|
17257
|
-
: 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: '
|
|
17291
|
+
: 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: 'ee9a288b2fcf622e2c1885f4d1be67d5025c23f6', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
17258
17292
|
}
|
|
17259
17293
|
get element() { return getElement(this); }
|
|
17260
17294
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -17409,12 +17443,12 @@ class DuetPromoCard {
|
|
|
17409
17443
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
17410
17444
|
};
|
|
17411
17445
|
const TagName = this.url ? "a" : "div";
|
|
17412
|
-
return (hAsync(Host, { key: '
|
|
17446
|
+
return (hAsync(Host, { key: 'b4f25c873b15a4a49a932bd545b2b4a127bcb625', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: 'a258d491371e320b9f48937a7d6e752e00688890', class: {
|
|
17413
17447
|
"duet-promo-card": true,
|
|
17414
17448
|
"duet-theme-turva": this.theme === "turva",
|
|
17415
17449
|
"no-bg-color": !this.backgroundColor,
|
|
17416
17450
|
"duet-promo-card-link": !!this.url,
|
|
17417
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
17451
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '28f1b5d2c3df418be9f59c5dc64771f45b0ef179', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'ed15e3982f37e6b3f8d07cb183a1d26cea36fa4e', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'bebacca9c33e3e45688c35344e2284bcc104f5be', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '62ab7a65ea395d42ea9cedc5191d20a482d71c00', class: "pre-heading" }, hAsync("slot", { key: '9a820fc917ecee6ed03c9bef2bec07721cef8204', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '2447d95b255c7b3b2aec8d0bae851ceb63f87189', class: "heading" }, hAsync("duet-heading", { key: '7888fa82727069054b8dac0dccb9e98cf33a6ef6', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '5a051e92591dcf390c94a5a8936b9b9cb1b900b0' }, hAsync("slot", { key: 'cf12bd24a06e3366ff3e2db5fe72297d96c2355c', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '524492cc8044e616df3d68f28f201509a4ed152d', class: "description" }, hAsync("duet-paragraph", { key: 'b267bd81e032e81b6238915140aa57c5c704f114', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '52fc68fb4d4a2c43ce5d62e4acad95e8eda460a9' }, hAsync("slot", { key: '6573a8c5e6d054c2233c705fa639ea6e3d6cec09', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '788e42b09b153da16505d3ca579fe430ede78141', class: "action" }, hAsync("slot", { key: '5f2be7ebc41c6dec491d1d2b29f6aeeabe5f4b0f', name: "action" }))))))));
|
|
17418
17452
|
}
|
|
17419
17453
|
get element() { return getElement(this); }
|
|
17420
17454
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -18021,10 +18055,10 @@ class DuetRangeStepper {
|
|
|
18021
18055
|
* Always the last one in the class.
|
|
18022
18056
|
*/
|
|
18023
18057
|
render() {
|
|
18024
|
-
return (hAsync("div", { key: '
|
|
18058
|
+
return (hAsync("div", { key: '6c1302b439b78e5cbd65d5f31f653e1e2b2e5035', class: {
|
|
18025
18059
|
"duet-range-stepper": true,
|
|
18026
18060
|
"duet-theme-turva": this.theme === "turva",
|
|
18027
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
18061
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '83962d5374b8fca08337992a067ca0cebe9477d4', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '61cb1deef359115cdd2468894b3f492441590ff5', 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: 'b647214520907749a3a87e3921f9780e545aa66e', 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: "" })));
|
|
18028
18062
|
}
|
|
18029
18063
|
get element() { return getElement(this); }
|
|
18030
18064
|
static get watchers() { return {
|
|
@@ -18053,7 +18087,7 @@ class DuetRangeStepper {
|
|
|
18053
18087
|
}; }
|
|
18054
18088
|
}
|
|
18055
18089
|
|
|
18056
|
-
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:
|
|
18090
|
+
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:210;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:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}: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-inline:10px;margin-inline:-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--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}: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 .duet-scrollable-list.duet-scrollable-stretch{width:100%}: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}";
|
|
18057
18091
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
18058
18092
|
|
|
18059
18093
|
/**
|
|
@@ -18095,6 +18129,7 @@ class DuetScrollable {
|
|
|
18095
18129
|
this.padding = "none";
|
|
18096
18130
|
this.gap = "large";
|
|
18097
18131
|
this.selected = 0;
|
|
18132
|
+
this.stretch = false;
|
|
18098
18133
|
}
|
|
18099
18134
|
watchPropHandler(newValue) {
|
|
18100
18135
|
this.scrollToElement(newValue, "center");
|
|
@@ -18286,25 +18321,26 @@ class DuetScrollable {
|
|
|
18286
18321
|
* Always the last one in the class.
|
|
18287
18322
|
*/
|
|
18288
18323
|
render() {
|
|
18289
|
-
return (hAsync(Host, { key: '
|
|
18324
|
+
return (hAsync(Host, { key: 'a6b6c47b76b51d36baeb7c17ea49d02072804518', class: {
|
|
18290
18325
|
"duet-theme-turva": this.theme === "turva",
|
|
18291
18326
|
"duet-theme-default": this.theme === "default",
|
|
18292
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
18327
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'f02b7eb92b641ae95f75c65b1770b70f0f0b4395', class: {
|
|
18293
18328
|
collapse: true,
|
|
18294
18329
|
hide: !this.needsScrolling && !this.collapsed,
|
|
18295
|
-
} }, hAsync("duet-button", { key: '
|
|
18330
|
+
} }, hAsync("duet-button", { key: '361db712df5cd053b2893967d4197dad92c51ea7', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: 'fab8fa79977d5437808b2ba76887954563f8c83d', name: "collapse-button-label" })))), hAsync("div", { key: 'd4a34094350602896f3c3af6f9170d6285cb2af1', class: {
|
|
18296
18331
|
"duet-scrollable-items": true,
|
|
18297
18332
|
buttons: this.buttons,
|
|
18298
18333
|
center: this.center,
|
|
18299
18334
|
"duet-theme-turva": this.theme === "turva",
|
|
18300
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
18335
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '06a9edfb77eac6cf1435811b6f1981abbd91adf4', class: {
|
|
18301
18336
|
"duet-scrollable-list": true,
|
|
18302
18337
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
18303
18338
|
[`gap-${this.gap}`]: true,
|
|
18304
18339
|
collapsed: this.collapsed,
|
|
18305
18340
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
18306
18341
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
18307
|
-
|
|
18342
|
+
"duet-scrollable-stretch": this.stretch,
|
|
18343
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '890f6a6957b1e9aaf3cb16fff1cda5f4e3b0da00' })), this.buttons && this.renderButton("right"))));
|
|
18308
18344
|
}
|
|
18309
18345
|
get element() { return getElement(this); }
|
|
18310
18346
|
static get watchers() { return {
|
|
@@ -18325,6 +18361,7 @@ class DuetScrollable {
|
|
|
18325
18361
|
"padding": [1],
|
|
18326
18362
|
"gap": [1],
|
|
18327
18363
|
"selected": [1026],
|
|
18364
|
+
"stretch": [4],
|
|
18328
18365
|
"scrollPaneAtStart": [32],
|
|
18329
18366
|
"needsScrolling": [32],
|
|
18330
18367
|
"scrollPaneAtEnd": [32],
|
|
@@ -18351,13 +18388,13 @@ class DuetSectionLayout {
|
|
|
18351
18388
|
* Always the last one in the class.
|
|
18352
18389
|
*/
|
|
18353
18390
|
render() {
|
|
18354
|
-
return (hAsync(Host, { key: '
|
|
18391
|
+
return (hAsync(Host, { key: '1e4be5f0fd0dbf7edf94df49eece4306db7ec282', class: {
|
|
18355
18392
|
"duet-middle": this.middle,
|
|
18356
18393
|
"duet-ie": isInternetExplorer(),
|
|
18357
|
-
} }, hAsync("div", { key: '
|
|
18394
|
+
} }, hAsync("div", { key: 'ccd593e31bc414fe71856d9912a22d178b3a16ab', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '7e3653080aad7bcc759fae4d179fbe95c666f020', class: {
|
|
18358
18395
|
"duet-layout": true,
|
|
18359
18396
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
18360
|
-
} }, hAsync("section", { key: '
|
|
18397
|
+
} }, hAsync("section", { key: 'd0069ca9676e8bc94033282a402749665ee448a3', class: "duet-main" }, hAsync("slot", { key: 'd463298c760c4e1cbaca123c6a69b9297b255c10' }))))));
|
|
18361
18398
|
}
|
|
18362
18399
|
get element() { return getElement(this); }
|
|
18363
18400
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -18600,9 +18637,9 @@ class DuetShapedImage {
|
|
|
18600
18637
|
const style = {
|
|
18601
18638
|
"--rotation": `${this.rotation}deg`,
|
|
18602
18639
|
};
|
|
18603
|
-
return (hAsync(Host, { key: '
|
|
18640
|
+
return (hAsync(Host, { key: 'a8c6768d6fd86592319c1ad2e5223a59a2be138f', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '18ecd687fd2a3d951a8910cca4a90aa73d239243', class: {
|
|
18604
18641
|
"shaped-image": true,
|
|
18605
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
18642
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: 'ede5d048662220a9ef915ff561823aef9f14f0e4', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'abb799417eb975033305e86b49a7c94d2e295465', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
18606
18643
|
}
|
|
18607
18644
|
static get style() { return DuetShapedImageStyle0; }
|
|
18608
18645
|
static get cmpMeta() { return {
|
|
@@ -18710,12 +18747,12 @@ class DuetShowMore {
|
|
|
18710
18747
|
* Always the last one of the class.
|
|
18711
18748
|
*/
|
|
18712
18749
|
render() {
|
|
18713
|
-
return (hAsync(Host, { key: '
|
|
18750
|
+
return (hAsync(Host, { key: 'e28180fda5c11db6ef6cd54181bef44dd0850cee' }, hAsync("div", { key: '8cc30864a7fb2d071682f10ada5d206fe1444422', class: {
|
|
18714
18751
|
"duet-show-more": true,
|
|
18715
18752
|
"duet-theme-turva": this.theme === "turva",
|
|
18716
18753
|
"duet-m-0": this.margin === "none",
|
|
18717
18754
|
open: this.open,
|
|
18718
|
-
} }, hAsync("div", { key: '
|
|
18755
|
+
} }, hAsync("div", { key: '6ec560dbc2ce8216e0a40d411a200d772dad296b', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '7fc79e43451f152fbc9926cf02c79ae1b345175f', class: { "slotted-content": true } }, hAsync("slot", { key: '24d35d2b69f4bfffeb3118422ba242af5cc0deff' }))), hAsync("duet-button", { key: '5f77eaef9d72966d265b77cb124c6b092d6d8852', 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: 'fa986b7b5358c050f0fb876fed910c2c4901d7c9' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
18719
18756
|
}
|
|
18720
18757
|
get element() { return getElement(this); }
|
|
18721
18758
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -19212,16 +19249,16 @@ class DuetSlideout {
|
|
|
19212
19249
|
};
|
|
19213
19250
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
19214
19251
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
19215
|
-
return (hAsync(Host, { key: '
|
|
19252
|
+
return (hAsync(Host, { key: '4b445eb318eead2764c728327d2929108024f0cb' }, hAsync("div", { key: '078d6c2bed549c52525c18772607abfedfc64168', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '62fc3c411db587b9f8e50671d34e818448b2aff1', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '34f37329fd9c82b55adfa1b204dfc64aff0982e9', 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: {
|
|
19216
19253
|
dialog: true,
|
|
19217
19254
|
hidden: !this.open,
|
|
19218
19255
|
modal: this.modal,
|
|
19219
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19256
|
+
}, style: styles }, hAsync(FocusGuard, { key: '50aa1edb2276450ca88b9d2a146e229b836dc4f9', moveFocusTo: this.closeButton }), hAsync("div", { key: 'afde11f1422ba911edc7d89bff6dfe00870ceed7', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'f3d138b314b5f08f3f82310407f1f1d9014321e5', class: "top" }, hAsync("button", { key: '80d03015b1f9f53e522195c63aec85b387f74260', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
19220
19257
|
"slideout-close": true,
|
|
19221
19258
|
active: this.open,
|
|
19222
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
19259
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: 'f5a55eca949fd3d1aef2195cd14ce85a89aa01cf', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'a262901c9c6232b543b81978452a89e0b1b1efc8', class: "sticky-header" }, hAsync("slot", { key: '1413794b99dcaa3bfe77f1c8444b579387f04cf2', name: "sticky-header" }))), hAsync("div", { key: '99dda507eeb56cccb74c3b348918de9c036dac06', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
19223
19260
|
items: true,
|
|
19224
|
-
} }, hAsync("slot", { key: '
|
|
19261
|
+
} }, hAsync("slot", { key: '773a966039e9fd275299e8fbf69dafdcdd4e43b3' })), hAsync(FocusGuard, { key: '9ce42678f6f200fc628922a5a841ca3b1b587165', moveFocusTo: this.closeButton })))));
|
|
19225
19262
|
}
|
|
19226
19263
|
get element() { return getElement(this); }
|
|
19227
19264
|
static get watchers() { return {
|
|
@@ -19288,7 +19325,7 @@ class DuetSlideoutLang {
|
|
|
19288
19325
|
*/
|
|
19289
19326
|
render() {
|
|
19290
19327
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
19291
|
-
return (hAsync(Host, { key: '
|
|
19328
|
+
return (hAsync(Host, { key: 'b832cca7ed377a76ec8d9143183c7372e350d638' }, hAsync("div", { key: 'efc13c835605f4db9b0aa5834b2228fb89978acc', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: 'a4e0267ea4b034d2efd5829caf0e63e320a84f75', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '9aeec3a4b303eba1e710eb507f9de2a6ad0b6cb3' }))));
|
|
19292
19329
|
}
|
|
19293
19330
|
get element() { return getElement(this); }
|
|
19294
19331
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -19344,12 +19381,12 @@ class DuetSlideoutLink {
|
|
|
19344
19381
|
* Always the last one in the class.
|
|
19345
19382
|
*/
|
|
19346
19383
|
render() {
|
|
19347
|
-
return (hAsync(Host, { key: '
|
|
19384
|
+
return (hAsync(Host, { key: '41aa7844d0d5ae926ed2f7a2c1aac4ea24ec0454' }, hAsync("a", { key: '77e3b1c40bc308dc17f71e1a05029c843d6a6a94', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
19348
19385
|
"duet-slideout-link": true,
|
|
19349
19386
|
"duet-theme-turva": this.theme === "turva",
|
|
19350
19387
|
active: this.active,
|
|
19351
19388
|
[this.size]: true,
|
|
19352
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
19389
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '57ea675fc4e9ef58833418727bc5f562e51051a0', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '2f36295afe99a7559a50537e34085a0e08cffa15', class: "label" }, hAsync("span", { key: '1c72fab5f756cef5ebdfedbab956833707b13314' }, hAsync("span", { key: 'adea1462c1bc7abf14d6fbd1932c58ce3849f31f', class: "label-container" }, hAsync("span", { key: '1120ae5ae1a296a938bbea5dc69658897c17d335', class: "label-content" }, hAsync("slot", { key: '37ee7d36f020c3816719587ed6af52c4381e79e2' })), this.external && (hAsync("duet-icon", { key: '835357b4406fabb0c8f4f845672c8360246282d9', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: '126adc24778e676d527a581c1919093bc296f318', name: "description" })), this.caret && (hAsync("duet-icon", { key: '9fb1d15603cf698e6b923af7cced15d544fe3e7a', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
19353
19390
|
}
|
|
19354
19391
|
get element() { return getElement(this); }
|
|
19355
19392
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -19512,23 +19549,23 @@ class DuetSlideoutPanel {
|
|
|
19512
19549
|
};
|
|
19513
19550
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
19514
19551
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
19515
|
-
return (hAsync(Host, { key: '
|
|
19552
|
+
return (hAsync(Host, { key: 'f46337fe30195c9ce53f86335f808417226ee890' }, hAsync("div", { key: '624209f9db65e856840e0744f83db90ef41cb4d1', class: {
|
|
19516
19553
|
"duet-slideout-panel": true,
|
|
19517
19554
|
"duet-theme-turva": this.theme === "turva",
|
|
19518
19555
|
active: this.open,
|
|
19519
|
-
} }, hAsync("button", { key: '
|
|
19556
|
+
} }, hAsync("button", { key: '263358137603dbecc30cf306a8a37917c8b7eea7', 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: {
|
|
19520
19557
|
link: true,
|
|
19521
19558
|
active: this.active,
|
|
19522
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
19559
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: 'e63c59b66d8a1be0c4ecaeed068bf5230a9e9dca', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '3a7b0c414beb8932cfddf5919768f71796195685', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: '16a342c95e87b622d097a0f8349565b65a31863b', class: "duet-slideout-badge" }))), hAsync("span", { key: '41111e5778dc19acd27681b7633685ba71055a5f', class: "label" }, hAsync("span", { key: '75d8f31e1537f1e5142a881765bd702ea7d827cf', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '794b10c028be205d209d8e2df36680a61591ca86', name: "label" })), hAsync("duet-icon", { key: 'cac0ab66d12c53d2ada0e8a044d86adeab402f11', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'fc7efbe625577f06f67e114699f77d7256566069', ref: element => (this.dialog = element), class: {
|
|
19523
19560
|
dialog: true,
|
|
19524
19561
|
hidden: !this.open,
|
|
19525
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19562
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'b09b6fc4258fabc548ac5e6130b9b78e539921ac', moveFocusTo: this.closeButton }), hAsync("div", { key: '7e6b940d66b0a9e861da629c18d5f68728d5ca20', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '08471bf9ee7d22a973b944ea2f250819c95eabfc', class: "top" }, hAsync("button", { key: 'b468ae3f1b1e467f621fb8adb0dad5b40c3f22c7', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
19526
19563
|
back: true,
|
|
19527
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
19564
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '196145e2d18c76ab4d2fcd0d1209916f03e38d1e', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: 'b1e1170e5eaba70c6011509fb4c7f08f6b3ab0df' }, this.label.innerHTML), hAsync("button", { key: 'ab438c59f6e0fee0c5966f32ef208f200da160f6', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '642700e493429dd4b23e9f2d1cce7e0cc2163aa8', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'dd5db1090a84173663830017c671f5903a3b12a3', class: "sticky-header" }, hAsync("slot", { key: 'dda66e5db9fc188f2a691b35add7dacc0ebfd5ad', name: "sticky-header" }))), hAsync("div", { key: 'b0c5dfb0a892e0852d90ac2695dab1e48f51acff', tabindex: "-1", role: "menu",
|
|
19528
19565
|
//TODO: slideout menu fades out, needs to be instant
|
|
19529
19566
|
id: "menu", "aria-labelledby": "button", class: {
|
|
19530
19567
|
items: true,
|
|
19531
|
-
} }, hAsync("slot", { key: '
|
|
19568
|
+
} }, hAsync("slot", { key: '8e8e5dcd9287d0474b2ec13f05e7c64a3ae6cbdc' })), hAsync(FocusGuard, { key: 'fd328bcc89aebbfdd8321927e5d71e5a374d84b8', moveFocusTo: this.closeButton })))));
|
|
19532
19569
|
}
|
|
19533
19570
|
get element() { return getElement(this); }
|
|
19534
19571
|
static get watchers() { return {
|
|
@@ -19598,16 +19635,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
19598
19635
|
* Always the last one in the class.
|
|
19599
19636
|
*/
|
|
19600
19637
|
render() {
|
|
19601
|
-
return (hAsync(Host, { key: '
|
|
19638
|
+
return (hAsync(Host, { key: '0abf8fbe3f97b82c16ab78503f552acf3a7845bf' }, hAsync("div", { key: 'f3b2ac7593a1c2e4bd28ecbc5d2359dc19aaa471', class: {
|
|
19602
19639
|
"duet-slideout-panel-dropdown": true,
|
|
19603
19640
|
"duet-theme-turva": this.theme === "turva",
|
|
19604
19641
|
active: this.open,
|
|
19605
|
-
} }, hAsync("button", { key: '
|
|
19642
|
+
} }, hAsync("button", { key: '6ea8713be1c87353a9f4f8e114b39ddadb58c31b', 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: {
|
|
19606
19643
|
active: this.active,
|
|
19607
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
19644
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: 'c14d7d839e73cd781a18cb453c07596322fe7a09', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '31f228fbce752e32b97d178e5d828a2a6078e18a', class: "label" }, hAsync("slot", { key: 'd799eb676b2ec24ba1c684d4a24b687191677766', name: "label" }), hAsync("duet-icon", { key: 'e008641da11d9f715d2fafca86408986b8ee731e', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '2ab566a7deb463925981660c996e5c4005ace6f3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19608
19645
|
items: true,
|
|
19609
19646
|
hidden: !this.open,
|
|
19610
|
-
} }, hAsync("slot", { key: '
|
|
19647
|
+
} }, hAsync("slot", { key: '7212bac90e1327b7352816c5df3881b64aea0cba' })))));
|
|
19611
19648
|
}
|
|
19612
19649
|
get element() { return getElement(this); }
|
|
19613
19650
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -19642,7 +19679,7 @@ class DuetSpacer {
|
|
|
19642
19679
|
* Always the last one in the class.
|
|
19643
19680
|
*/
|
|
19644
19681
|
render() {
|
|
19645
|
-
return (hAsync(Host, { key: '
|
|
19682
|
+
return (hAsync(Host, { key: 'd503dd5ec4ebf49ecc18d7a622f1d62cbcb1b905', class: {
|
|
19646
19683
|
"duet-spacer": true,
|
|
19647
19684
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
19648
19685
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -19693,11 +19730,11 @@ class DuetSpinner {
|
|
|
19693
19730
|
*/
|
|
19694
19731
|
render() {
|
|
19695
19732
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
19696
|
-
return (hAsync(Host, { key: '
|
|
19733
|
+
return (hAsync(Host, { key: '194d4854c2416f5ad22bf536d6483b6782317f08', class: {
|
|
19697
19734
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
19698
19735
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
19699
19736
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
19700
|
-
} }, hAsync("div", { key: '
|
|
19737
|
+
} }, hAsync("div", { key: 'b25c64bdc68c6fd314e4bf631abd398be537d4e0', class: {
|
|
19701
19738
|
"duet-spinner": true,
|
|
19702
19739
|
[this.size]: true,
|
|
19703
19740
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -19723,13 +19760,13 @@ class DuetStatusIcon {
|
|
|
19723
19760
|
registerInstance(this, hostRef);
|
|
19724
19761
|
this.bg = {
|
|
19725
19762
|
default: {
|
|
19726
|
-
default: "
|
|
19763
|
+
default: "color_lt_blue_200",
|
|
19727
19764
|
success: "color_success_200",
|
|
19728
19765
|
warning: "color_warning_200",
|
|
19729
|
-
danger: "
|
|
19766
|
+
danger: "color_danger_200",
|
|
19730
19767
|
},
|
|
19731
19768
|
strong: {
|
|
19732
|
-
default: "
|
|
19769
|
+
default: "color_lt_blue_700",
|
|
19733
19770
|
success: "color_success_700",
|
|
19734
19771
|
warning: "color_warning_500",
|
|
19735
19772
|
danger: "color_danger_600",
|
|
@@ -19737,10 +19774,10 @@ class DuetStatusIcon {
|
|
|
19737
19774
|
};
|
|
19738
19775
|
this.color = {
|
|
19739
19776
|
default: {
|
|
19740
|
-
default: "
|
|
19777
|
+
default: "color_lt_blue_800",
|
|
19741
19778
|
success: "color_success_800",
|
|
19742
19779
|
warning: "color_warning_800",
|
|
19743
|
-
danger: "
|
|
19780
|
+
danger: "color_danger_800",
|
|
19744
19781
|
},
|
|
19745
19782
|
strong: {
|
|
19746
19783
|
default: "color_lt_blue_100",
|
|
@@ -19786,10 +19823,10 @@ class DuetStatusIcon {
|
|
|
19786
19823
|
}
|
|
19787
19824
|
}
|
|
19788
19825
|
render() {
|
|
19789
|
-
return (hAsync(Host, { key: '
|
|
19826
|
+
return (hAsync(Host, { key: 'ec2779fbc64fbf76f8f5864a91448c8f16c7be4d', class: {
|
|
19790
19827
|
[`duet-status-icon-${this.variation}`]: true,
|
|
19791
19828
|
"duet-strong-bg": this.strong,
|
|
19792
|
-
} }, hAsync("duet-icon", { key: '
|
|
19829
|
+
} }, hAsync("duet-icon", { key: 'c2199d9c38c021b503b0c769c85c1bbb1be20c85', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
19793
19830
|
}
|
|
19794
19831
|
static get cmpMeta() { return {
|
|
19795
19832
|
"$flags$": 9,
|
|
@@ -20017,7 +20054,7 @@ class DuetStepper {
|
|
|
20017
20054
|
* Always the last one in the class.
|
|
20018
20055
|
*/
|
|
20019
20056
|
render() {
|
|
20020
|
-
return (hAsync(Host, { key: '
|
|
20057
|
+
return (hAsync(Host, { key: 'ab2f20da50c7b380c3d7db9d725c794b6085b4c6', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '8707def52f0046d4e3808b77c9210fd31110c8c9', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'b3f71651a288edba6eb6e2af0a5dedd18699d883', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: 'da24012bef0a0a2662fc3f1e52ed9771c6947143' }))));
|
|
20021
20058
|
}
|
|
20022
20059
|
get element() { return getElement(this); }
|
|
20023
20060
|
static get watchers() { return {
|
|
@@ -20162,19 +20199,19 @@ class DuetSubmenuBar {
|
|
|
20162
20199
|
* Always the last one in the class.
|
|
20163
20200
|
*/
|
|
20164
20201
|
render() {
|
|
20165
|
-
return (hAsync(Host, { key: '
|
|
20202
|
+
return (hAsync(Host, { key: 'a576724500c4788b536a3b8193739b0feb586097' }, hAsync("nav", { key: 'cbd9bf6cf167219e06097ab35ab506fee4d2d264', class: {
|
|
20166
20203
|
"duet-submenu-bar": true,
|
|
20167
20204
|
"duet-theme-turva": this.theme === "turva",
|
|
20168
20205
|
hidden: this.hidden,
|
|
20169
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
20206
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '12b2a7c525c7b1db09ed976ab4de37d29766d5af', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
20170
20207
|
active: this.open,
|
|
20171
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
20208
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'db6dd7c6a6d7f4596de7804933eecfdd755d34d7', class: "label" }, hAsync("slot", { key: '655201ae74021152e4c40f8e05e799ee1211eaf5', name: "label" }), hAsync("duet-icon", { key: 'f4376447a260b87e6584cfc30649ad325793fbf0', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '0b0984efaef986d0cc085933db00c6184494fa24', class: {
|
|
20172
20209
|
"menu-container": true,
|
|
20173
20210
|
hidden: !this.open,
|
|
20174
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
20211
|
+
}, role: "presentation" }, hAsync("div", { key: '8f155fd14d531efd401d02a3cbb5b6ee6ea12f1b', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
20175
20212
|
items: true,
|
|
20176
20213
|
hidden: !this.open,
|
|
20177
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
20214
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '372d9400bab87b47e8498d5f10389217d030b44d', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '87dd3a21cbc88bbdb20a0e3d9f7bf2bd6e912739' }), hAsync("div", { key: 'e46af5d6a812acb52bc36e4ed73a3754b8689b44', class: "list-padding" }))), hAsync("duet-overlay", { key: '25e2460627f6a2c3ba7e9c97aa6e971c2d902f2d', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
20178
20215
|
}
|
|
20179
20216
|
get element() { return getElement(this); }
|
|
20180
20217
|
static get watchers() { return {
|
|
@@ -20295,18 +20332,18 @@ class DuetSubmenuBarDropdown {
|
|
|
20295
20332
|
* Always the last one in the class.
|
|
20296
20333
|
*/
|
|
20297
20334
|
render() {
|
|
20298
|
-
return (hAsync(Host, { key: '
|
|
20335
|
+
return (hAsync(Host, { key: 'cdc11338d7f05e2bc667fa27aad8fdfef52c2562', role: "listitem" }, hAsync("div", { key: 'b5a80b4e1ee8596a977b9329e5b71993fe91f042', class: {
|
|
20299
20336
|
"duet-submenu-bar-dropdown": true,
|
|
20300
20337
|
"duet-theme-turva": this.theme === "turva",
|
|
20301
20338
|
open: this.open,
|
|
20302
20339
|
active: this.active,
|
|
20303
|
-
} }, hAsync("button", { key: '
|
|
20340
|
+
} }, hAsync("button", { key: '6904e951e3436e2634909c1f15b683bf3ab44caf', 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: {
|
|
20304
20341
|
open: this.open,
|
|
20305
20342
|
active: this.active,
|
|
20306
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20343
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'eaecdf9c876d0a3504b4847478f07a118c62ada7', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '2bfdbcf09145f70fbc9cee0b02ab32ea11c05521', class: "label" }, hAsync("span", { key: '8f052b27fd5c5f09d9a73c689a107bb94651b79d', class: "label-text" }, hAsync("slot", { key: '99e8c6400bd527914cb24d93a2213dbecf1b1c4b', name: "label" })), hAsync("duet-icon", { key: 'bf25a9b3a654eb8760e7398b6b7c811643058620', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '7309891af390dfc28404a046c94f60b53cb02a20', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20307
20344
|
items: true,
|
|
20308
20345
|
hidden: !this.open,
|
|
20309
|
-
} }, hAsync("slot", { key: '
|
|
20346
|
+
} }, hAsync("slot", { key: 'ca09d613d10280263425c6c14b65e2b26a68e1ec' })))));
|
|
20310
20347
|
}
|
|
20311
20348
|
get element() { return getElement(this); }
|
|
20312
20349
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -20358,12 +20395,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
20358
20395
|
* Always the last one in the class.
|
|
20359
20396
|
*/
|
|
20360
20397
|
render() {
|
|
20361
|
-
return (hAsync(Host, { key: '
|
|
20398
|
+
return (hAsync(Host, { key: '265864aed596db335ee81157e2ae922877cfc170' }, hAsync("a", { key: '5ab69ed1cf6f7f5dc3cbcef5ca40aaee44779cf3', class: {
|
|
20362
20399
|
"duet-submenu-bar-dropdown-link": true,
|
|
20363
20400
|
"duet-theme-turva": this.theme === "turva",
|
|
20364
20401
|
highlight: this.highlight,
|
|
20365
20402
|
active: this.active,
|
|
20366
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
20403
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '3d6a0d3238809d2905ce9f8d75e74d782f84fe6d', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '86e1ce3fb8719d5b6a585d7806844e809634bdc5', class: "label-container" }, hAsync("span", { key: '57cac4a28634f0cb083c1f1dfcaf43490f98bc7e', class: "label" }, hAsync("slot", { key: '8f55cce2aae50401ba19c5ab8ae11c03f4e5096f' })), this.caret && hAsync("duet-icon", { key: '472549f0e49cc7a44dc39cc672bc3c7bbc660996', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '012914b6c93b44f72f80f9f6b6fbb4e3aeaa0e2c', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
20367
20404
|
}
|
|
20368
20405
|
get element() { return getElement(this); }
|
|
20369
20406
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -20437,7 +20474,7 @@ class DuetSubmenuBarItem {
|
|
|
20437
20474
|
render() {
|
|
20438
20475
|
const TagName = this.url ? "a" : "button";
|
|
20439
20476
|
const role = this.url ? "link" : "button";
|
|
20440
|
-
return (hAsync(Host, { key: '
|
|
20477
|
+
return (hAsync(Host, { key: '1539b04fd9a154f94973772db3ad1d4b74e91d93', role: "listitem" }, hAsync(TagName, { key: 'c192fc30798c33854b17676a58da50da64e0ff10', 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: '17c532e1dbf661c21a22d7d0419ab98253cef382', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '3c1f00652e9942b8cd739d7a9db38f35a780c224', class: "label" }, hAsync("span", { key: '8093c617fafdef251908bb6b33e2a328675ba3bd', class: "label-text" }, hAsync("slot", { key: 'f820fe43b2b76d66c847440c46447f0d77a4c63d' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '7fbe3470917a49b5efd32c7e1ba6f58c99b55b6c', class: {
|
|
20441
20478
|
"trailing-icon": !!this.trailingIcon,
|
|
20442
20479
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20443
20480
|
"external-icon": !!this.external,
|
|
@@ -20498,7 +20535,7 @@ class DuetSubmenuBarLink {
|
|
|
20498
20535
|
* Always the last one in the class.
|
|
20499
20536
|
*/
|
|
20500
20537
|
render() {
|
|
20501
|
-
return (hAsync(Host, { key: '
|
|
20538
|
+
return (hAsync(Host, { key: 'f925bc74deee76d7d087ab4395f5de329e937402', role: "listitem" }, hAsync("a", { key: '6bed44169f1ef92a8ffd411df951436e2a3c7acf', 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: 'aa57fc5ae5e2866aab9bf8aff04de5165545ab20', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '9b34ba6c242e6f96263af600c180e84c3253a2b0', class: "label" }, hAsync("slot", { key: '264b834fd4da51894e0fcd8d2dda0664a1e739a6' })))));
|
|
20502
20539
|
}
|
|
20503
20540
|
get element() { return getElement(this); }
|
|
20504
20541
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -20638,7 +20675,7 @@ class DuetTab {
|
|
|
20638
20675
|
}; }
|
|
20639
20676
|
}
|
|
20640
20677
|
|
|
20641
|
-
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)}";
|
|
20678
|
+
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}}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper{}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper{position:relative;width:100%;overflow:hidden;border-radius:8px;}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay{display:contents}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background,.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{position:absolute;width:100%;height:100%;pointer-events:none;border-radius:8px}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background{z-index:100;background:rgb(245, 248, 250)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{position:absolute;top:0;left:0;width:100%;height:100%;margin-block:1px;content:\"\";border-radius:8px;box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-theme-turva .duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .background::after{box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-tab-group-tabs .duet-tab-group-scrollable-wrapper.duet-tab-group-fill-space-wrapper .duet-scrollable-stretch-overlay .border{z-index:206;border:1px solid rgb(212, 223, 229)}@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-group-stretch .duet-tab-button{flex:1 1 0;min-width:fit-content;text-align:center}.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:205;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-tab-variation-default .duet-tab-group-fill-space .duet-tab-button:last-child{border-radius:0}.duet-tab-variation-default .duet-tab-group-fill-space .duet-tab-button.selected::after{height:3px}.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){z-index:200;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){z-index:206;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)}";
|
|
20642
20679
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
20643
20680
|
|
|
20644
20681
|
/**
|
|
@@ -20716,6 +20753,8 @@ class DuetTabGroup {
|
|
|
20716
20753
|
this.setTabIndex = true;
|
|
20717
20754
|
this.tabChangeConfirm = false;
|
|
20718
20755
|
this.switchLargeBreakpoint = "small";
|
|
20756
|
+
this.fillSpace = false;
|
|
20757
|
+
this.stretch = false;
|
|
20719
20758
|
}
|
|
20720
20759
|
/**
|
|
20721
20760
|
* Component lifecycle events.
|
|
@@ -20848,23 +20887,28 @@ class DuetTabGroup {
|
|
|
20848
20887
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
20849
20888
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
20850
20889
|
}, 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))));
|
|
20851
|
-
return (hAsync("div", { key: '
|
|
20890
|
+
return (hAsync("div", { key: '91c98abed0ba6cb8e204f30a8272f02258b6341f', class: {
|
|
20852
20891
|
"duet-tab-group": true,
|
|
20853
20892
|
"duet-theme-turva": this.theme === "turva",
|
|
20854
20893
|
[variationClass]: true,
|
|
20855
20894
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
20856
20895
|
"duet-tab-group-scrolls": true,
|
|
20857
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20896
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '934ea6b673a31b130e8a2c6f0f4111ab176d46b1', role: "tablist", class: {
|
|
20858
20897
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
20859
20898
|
"duet-tab-group-tabs": true,
|
|
20860
20899
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
20900
|
+
"duet-tab-group-fill-space": this.fillSpace && !this.stretch && this.variation === "default",
|
|
20901
|
+
"duet-tab-group-stretch": this.stretch,
|
|
20861
20902
|
}, ref: el => {
|
|
20862
20903
|
this.tabsContainer = el;
|
|
20863
|
-
} }, this.variation === "checked" ? (buttons) : (hAsync("
|
|
20904
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("div", { class: {
|
|
20905
|
+
"duet-tab-group-scrollable-wrapper": true,
|
|
20906
|
+
"duet-tab-group-fill-space-wrapper": this.fillSpace && this.variation === "default",
|
|
20907
|
+
} }, this.fillSpace && !this.stretch && this.variation === "default" && (hAsync("div", { class: "duet-scrollable-stretch-overlay" }, hAsync("div", { class: "background" }), hAsync("div", { class: "border" }))), 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", theme: this.theme, stretch: this.stretch }, buttons)))), hAsync("div", { key: '75d72de91a5bfb5a4ea4ec860aec4f330aa68729', class: {
|
|
20864
20908
|
"duet-tab-group-content": true,
|
|
20865
20909
|
"duet-m-0": this.margin === "none",
|
|
20866
20910
|
"checked-group-content": this.variation === "checked",
|
|
20867
|
-
} }, hAsync("slot", { key: '
|
|
20911
|
+
} }, hAsync("slot", { key: 'd8183827bbd8150188de28f92dc42aa1a42207ac' }))));
|
|
20868
20912
|
}
|
|
20869
20913
|
get element() { return getElement(this); }
|
|
20870
20914
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -20887,6 +20931,8 @@ class DuetTabGroup {
|
|
|
20887
20931
|
"setTabIndex": [4, "set-tab-index"],
|
|
20888
20932
|
"tabChangeConfirm": [4, "tab-change-confirm"],
|
|
20889
20933
|
"switchLargeBreakpoint": [1, "switch-large-breakpoint"],
|
|
20934
|
+
"fillSpace": [4, "fill-space"],
|
|
20935
|
+
"stretch": [4],
|
|
20890
20936
|
"tabs": [32],
|
|
20891
20937
|
"selected": [32],
|
|
20892
20938
|
"openTab": [64],
|
|
@@ -20969,7 +21015,7 @@ class DuetTable {
|
|
|
20969
21015
|
}
|
|
20970
21016
|
}
|
|
20971
21017
|
render() {
|
|
20972
|
-
return (hAsync(Host, { key: '
|
|
21018
|
+
return (hAsync(Host, { key: '76d5b17d941f8b7e1bf96cc00aa33776355ddd19', class: {
|
|
20973
21019
|
[`duet-table-${this.variation}`]: true,
|
|
20974
21020
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
20975
21021
|
// sticky only valid when in regular table layout
|
|
@@ -20978,7 +21024,7 @@ class DuetTable {
|
|
|
20978
21024
|
"duet-m-0": this.margin === "none",
|
|
20979
21025
|
"duet-theme-turva": this.theme === "turva",
|
|
20980
21026
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
20981
|
-
} }, hAsync("slot", { key: '
|
|
21027
|
+
} }, hAsync("slot", { key: '1d1896e37d20ab522cb702084b4ec425054ca09a' })));
|
|
20982
21028
|
}
|
|
20983
21029
|
get element() { return getElement(this); }
|
|
20984
21030
|
static get watchers() { return {
|
|
@@ -21360,11 +21406,11 @@ class DuetToolbar {
|
|
|
21360
21406
|
: this.variation === "secondary"
|
|
21361
21407
|
? "secondary"
|
|
21362
21408
|
: "default";
|
|
21363
|
-
return (hAsync(Host, { key: '
|
|
21409
|
+
return (hAsync(Host, { key: 'ce7e215da00ab7e0c4ee44d345058b6cedfd97c3' }, hAsync("nav", { key: '28e2379d5a370a8ac54f1cbe2b5f5d15b2c9ece1', class: {
|
|
21364
21410
|
"duet-toolbar": true,
|
|
21365
21411
|
"duet-theme-turva": this.theme === "turva",
|
|
21366
21412
|
[variation]: true,
|
|
21367
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
21413
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'e75d86f9144c7a0b92b3d2c29684aff4d7812b8f', class: "container" }, hAsync("div", { key: 'c903459f70976aef11eeb6437c45d3281e7d3e5f', class: "list", role: "list" }, hAsync("slot", { key: '07dd3705deb345be533ba680110e4ea42b2e5703', name: "left" })), hAsync("div", { key: '894e41752fde9eba03ab57bf625379dcbfbdb991', class: "list", role: "list" }, hAsync("slot", { key: '5284d9d25dc6a5237b49e880dda1c97a7ff4fd56', name: "right" }))))));
|
|
21368
21414
|
}
|
|
21369
21415
|
get element() { return getElement(this); }
|
|
21370
21416
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -21432,18 +21478,18 @@ class DuetToolbarDropdown {
|
|
|
21432
21478
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
21433
21479
|
}
|
|
21434
21480
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
21435
|
-
return (hAsync(Host, { key: '
|
|
21481
|
+
return (hAsync(Host, { key: 'bf2464e8a1407f1666f8c7dc0aae3e6dc0338197', role: "listitem" }, hAsync("div", { key: '37579505be5a4833d9d3076fc01ba035c23742f2', class: {
|
|
21436
21482
|
"duet-toolbar-dropdown": true,
|
|
21437
21483
|
"duet-theme-turva": this.theme === "turva",
|
|
21438
21484
|
[itemsAlign]: true,
|
|
21439
21485
|
[variation]: true,
|
|
21440
|
-
} }, hAsync("button", { key: '
|
|
21486
|
+
} }, hAsync("button", { key: 'cbd3b40b4c00830119adff6c7abbb18eefd7229a', 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: {
|
|
21441
21487
|
active: this.active,
|
|
21442
21488
|
open: this.open,
|
|
21443
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
21489
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '3b313cdc8d507f3c0d459578499317f6ffe925fe', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '9a87cf2879d800aa73bdfeb1830dfc6b8b60261b', class: "label" }, hAsync("slot", { key: '028d79ebcbc108df69d6e1ec291628bdb4eb4af3', name: "label" }), hAsync("duet-icon", { key: '354c013777cb07adebb17d71e4eceed3b688bc0e', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '50eb431f61e5e137a5e3a5513932145f01ec7131', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
21444
21490
|
items: true,
|
|
21445
21491
|
hidden: !this.open,
|
|
21446
|
-
} }, hAsync("slot", { key: '
|
|
21492
|
+
} }, hAsync("slot", { key: 'b567aab76f31a9ffa43ae20db8ffdd4e69379c8f' })))));
|
|
21447
21493
|
}
|
|
21448
21494
|
get element() { return getElement(this); }
|
|
21449
21495
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -21496,11 +21542,11 @@ class DuetToolbarDropdownLink {
|
|
|
21496
21542
|
* Always the last one in the class.
|
|
21497
21543
|
*/
|
|
21498
21544
|
render() {
|
|
21499
|
-
return (hAsync(Host, { key: '
|
|
21545
|
+
return (hAsync(Host, { key: '12faaa149234ead7067f6943772d58c23b10166c' }, hAsync("a", { key: '477d8bb8e1f4b3b174f507fd7c53f6a907a3102e', class: {
|
|
21500
21546
|
"duet-toolbar-dropdown-link": true,
|
|
21501
21547
|
"duet-theme-turva": this.theme === "turva",
|
|
21502
21548
|
active: this.active,
|
|
21503
|
-
}, 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: '
|
|
21549
|
+
}, 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: '8762b7af7040beefa50e633bdd5716f9b5358dcc', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '6cf9d16485d850716ee01c9c17dfc8b50ab069c5', class: "label" }, hAsync("slot", { key: 'bf05e2559731f7a7ffab5f3e78909630c4a52972' })), this.active && (hAsync("duet-icon", { key: '8916368feb88f231ed194300033cf1c753b3d2ea', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
21504
21550
|
}
|
|
21505
21551
|
get element() { return getElement(this); }
|
|
21506
21552
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -21575,17 +21621,17 @@ class DuetToolbarItem {
|
|
|
21575
21621
|
: this.variation === "secondary"
|
|
21576
21622
|
? "secondary"
|
|
21577
21623
|
: "default";
|
|
21578
|
-
return (hAsync(Host, { key: '
|
|
21624
|
+
return (hAsync(Host, { key: '6006981bbe12b3ba52c5b64cc4dbbf56cb89d20d', role: "listitem" }, hAsync(TagName, { key: 'dccb47e7d45c5431c95d833c655afbb377091a29', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
21579
21625
|
"duet-toolbar-item": true,
|
|
21580
21626
|
"duet-theme-turva": this.theme === "turva",
|
|
21581
21627
|
active: this.active,
|
|
21582
21628
|
[variation]: true,
|
|
21583
|
-
}, 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: '
|
|
21629
|
+
}, 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: '8d2a6e7db72c879d85828176c3f6d0f664cfa6d5', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '05ce2994ada9dc5ac426d2e0fbcb290577dcd2d3', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'd37c9510203aaa2feeda9cf3bc4ce9880101583f', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'c28585b19736c23de1daa80b25d829e8fb6491c2' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '5309c36fd0748017a5ded878adc33fd3eaed2fdf', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '572e9b11ac0797903d6ab6d254edc9d0603a0e02', class: {
|
|
21584
21630
|
"trailing-icon": !!this.trailingIcon,
|
|
21585
21631
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
21586
21632
|
"external-icon": !!(this.url && this.external),
|
|
21587
21633
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
21588
|
-
}, 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: '
|
|
21634
|
+
}, 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: '2228717501481b13be34349f12311f3329af402f', class: "duet-toolbar-badge" }))))));
|
|
21589
21635
|
}
|
|
21590
21636
|
get element() { return getElement(this); }
|
|
21591
21637
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -21639,12 +21685,12 @@ class DuetToolbarLink {
|
|
|
21639
21685
|
*/
|
|
21640
21686
|
render() {
|
|
21641
21687
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
21642
|
-
return (hAsync(Host, { key: '
|
|
21688
|
+
return (hAsync(Host, { key: '7843fe58da1337938aa7fb73c0c81ddb805a9f92', role: "listitem" }, hAsync("a", { key: 'e2c1597e22c5d117c6bd64c3f00791d27198c73f', class: {
|
|
21643
21689
|
"duet-toolbar-link": true,
|
|
21644
21690
|
"duet-theme-turva": this.theme === "turva",
|
|
21645
21691
|
active: this.active,
|
|
21646
21692
|
[variation]: true,
|
|
21647
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
21693
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '9bcea69c2922012673110e3e4867938933b4307a', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '8e882ffd51420318b7c4d7de8da3687a8060109c' }))));
|
|
21648
21694
|
}
|
|
21649
21695
|
get element() { return getElement(this); }
|
|
21650
21696
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -21901,12 +21947,12 @@ class DuetTooltipButton {
|
|
|
21901
21947
|
* Always the last one in the class.
|
|
21902
21948
|
*/
|
|
21903
21949
|
render() {
|
|
21904
|
-
return (hAsync(Host, { key: '
|
|
21950
|
+
return (hAsync(Host, { key: '6961f23c9aa007b2e9d611547e83bb69379064b1' }, hAsync("button", { key: '84a967c2262526011d1b465f6a4753394488681c', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
21905
21951
|
"duet-tooltip-button": true,
|
|
21906
21952
|
"duet-tooltip-button-has-label": !!this.label,
|
|
21907
21953
|
"duet-theme-turva": this.theme === "turva",
|
|
21908
21954
|
"duet-tooltip-button-negative": this.negative,
|
|
21909
|
-
} }, hAsync("svg", { key: '
|
|
21955
|
+
} }, hAsync("svg", { key: '8aa78b195f8ef013fc1d659f5a9e696709aba2af', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '274c3cf89dc82767876cdb9684671a073d1570e4', 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: '131d0ef689f89bd66058bdc878c8f16742774189', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: 'b8e3c2329d7a001fdba0ec51c5d698fecd9753aa', 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)))));
|
|
21910
21956
|
}
|
|
21911
21957
|
get element() { return getElement(this); }
|
|
21912
21958
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -21974,11 +22020,11 @@ class DuetTooltipPopup {
|
|
|
21974
22020
|
this.contentEl.focus();
|
|
21975
22021
|
}
|
|
21976
22022
|
render() {
|
|
21977
|
-
return (hAsync(Host, { key: '
|
|
22023
|
+
return (hAsync(Host, { key: 'af904a5ac9d8376f7d5c7e0e5a51960bbe73ecc6' }, hAsync("div", { key: '66bdc4e42694f13fef8d1221eba8de0ec68dc96f', class: {
|
|
21978
22024
|
"duet-tooltip": true,
|
|
21979
22025
|
"duet-theme-turva": this.theme === "turva",
|
|
21980
22026
|
"duet-tooltip-active": this.active === true,
|
|
21981
|
-
} }, hAsync(FocusGuard, { key: '
|
|
22027
|
+
} }, hAsync(FocusGuard, { key: 'ed95d75265969c1cfcf4006172e3479a308c74e8', moveFocusTo: this.buttonEl }), hAsync("div", { key: '0b9806ff4d965d391a7ccc586edeee099b8c3316', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '506777278ef4ef24b387db0f3ef2832a093851b6' })), hAsync("div", { key: 'e0759a2ff789cc80288b6822453d64d01fc10528', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '01cf36b6b4ac43979587a10f1baa9945ee818215', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '87a9c5531a92baa0189f6e83916c407a9a83bb19', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '280c7404d7da50f321659b842847812332eee665', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'cf09b71ae6d692fa95207e9bbb7816a431c0fba8' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '4d456216d3c5012b83cc52743c4d0f0dfc625e4c', moveFocusTo: this.contentEl }))));
|
|
21982
22028
|
}
|
|
21983
22029
|
get element() { return getElement(this); }
|
|
21984
22030
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -22086,14 +22132,14 @@ class DuetTray {
|
|
|
22086
22132
|
* Always the last one in the class.
|
|
22087
22133
|
*/
|
|
22088
22134
|
render() {
|
|
22089
|
-
return (hAsync("div", { key: '
|
|
22135
|
+
return (hAsync("div", { key: 'c2508659c69f7e3f5e1b555b0dc37a3188c4f151', class: {
|
|
22090
22136
|
"duet-tray": true,
|
|
22091
22137
|
"duet-tray-is-active": this.active,
|
|
22092
22138
|
"duet-tray-is-hidden": this.hiddenState,
|
|
22093
22139
|
"duet-tray-is-responsive": this.responsive,
|
|
22094
22140
|
"duet-theme-turva": this.theme === "turva",
|
|
22095
22141
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
22096
|
-
} }, hAsync("div", { key: '
|
|
22142
|
+
} }, hAsync("div", { key: 'a3449743f08e5a1495f737b817fefaaa494fa762', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '520cb0e7c9b137bae2f835d7af23a51a9ca8b0f8' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'a0de63994ded68047b9d247288cf5484d0d8246b' }, hAsync("button", { key: '2f14d184ff8d74aa2f8a59ae10a9148025e85ff3', "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: 'f03b487931227a4845bfe88612bb7c4c28b59305', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '813046c76b75b6c1178a3ef2d8fe2a562fc88fe0' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'aa343225a55400505524640d6625101f7ad97f43', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'ece52eb12d7070065a572697e7d02d09af685b05', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '2ed25ae66ccab231c4fd7a33db4e0e02eaa63e16', name: "additional" })))))));
|
|
22097
22143
|
}
|
|
22098
22144
|
get element() { return getElement(this); }
|
|
22099
22145
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -23209,10 +23255,10 @@ class DuetUpload {
|
|
|
23209
23255
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
23210
23256
|
}
|
|
23211
23257
|
// @ts-ignore
|
|
23212
|
-
return (hAsync(Host, { key: '
|
|
23258
|
+
return (hAsync(Host, { key: 'cec11d488b4820e9d16dbfd5ab406c4288c7fac2', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '7efebf69cae1bc1beabd798114406fae520fdbff', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '2720ff45fb2c97851f52d67d1092164bd25d7545', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'c3414992894eeb5ff160b2312f4865fe54f8ac57', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '9644f9ffe9efc3af270ff60608fe465232baa032', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'dac437e1fba3344a7df3ecc1d731bed42ac7c2ed', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '2455855ab853c1e6c292db98f215704ae4fb7a64', 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: '372f3beaa27878715e5991e48c049c4c3642d12b', name: "filefooter" }), hAsync("slot", { key: '2a49079f36665f770a45fcf6e07977ec504e862d', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'ab17d295466974186cf6f0c11c81a11b26c1c152', margin: "none", size: "small" }, hAsync("div", { key: '168660295f3bcfc0d436dd68a37540bd7b96ad67', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '84eaa151e87caf6615be2436f1cd60a11a71f20f', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: 'c421959e6d716f48d55c541b54d5b029e9261c20' }, hAsync("duet-spacer", { key: 'e62873017acd4badc3101b18a56784eae19cbea8', size: "large" }), hAsync("duet-button", { key: 'c8894de342e9ea51ede106a0ca0400c614576d43', 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 ||
|
|
23213
23259
|
this.bytesMaxReached ||
|
|
23214
23260
|
this.filesToUploadExceedsLimit ||
|
|
23215
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
23261
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: 'd0ad0e0fdcca436bc1362f3f85ded3312daee717' }, hAsync("duet-spacer", { key: 'e799c51bdceded00756c53d2136b0e3ce1f97b55', size: "medium" }), hAsync("duet-alert", { key: '444141c26982844f3d15a1cf3e3745948bf3d3a8', 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: 'febd550badcba99140209922fcaa84e140aafaed', "aria-hidden": "true" }, hAsync("input", { key: '0f78eaf89f80196287c11b3f5ac7728f03c5ee3c', ref: input => {
|
|
23216
23262
|
this.nativeInput = input;
|
|
23217
23263
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
23218
23264
|
"duet-upload": true,
|
|
@@ -23533,7 +23579,7 @@ class DuetUploadAriaStatus {
|
|
|
23533
23579
|
* Always the last one in the class.
|
|
23534
23580
|
*/
|
|
23535
23581
|
render() {
|
|
23536
|
-
return (hAsync(Host, { key: '
|
|
23582
|
+
return (hAsync(Host, { key: '0dc705afa53d7a65a4e4267017e5d9c7f63f48b2', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '53f84289ffdb00d7da79c205f94c6420b86355ae' }, this.statusMessage)));
|
|
23537
23583
|
}
|
|
23538
23584
|
get element() { return getElement(this); }
|
|
23539
23585
|
static get watchers() { return {
|
|
@@ -23600,7 +23646,7 @@ class DuetUploadItem$1 {
|
|
|
23600
23646
|
inheritGlobalTheme(this);
|
|
23601
23647
|
}
|
|
23602
23648
|
render() {
|
|
23603
|
-
return (hAsync(Host, { key: '
|
|
23649
|
+
return (hAsync(Host, { key: 'defb266e2408734741f3749f8d3255010cc4abfd' }, hAsync("duet-visually-hidden", { key: '04f0329352b9c48346478090a8a25c1aeeec52de', "aria-hidden": "true" }, hAsync("input", { key: 'ba1bd9fd6d3e26d5eed79b00d32649c5180a7ba8', ref: input => {
|
|
23604
23650
|
this.nativeInput = input;
|
|
23605
23651
|
}, type: "file", class: {
|
|
23606
23652
|
"duet-upload": true,
|
|
@@ -23712,9 +23758,9 @@ class DuetUploadItem {
|
|
|
23712
23758
|
const { uid, meta, item } = this.data;
|
|
23713
23759
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
23714
23760
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
23715
|
-
return (hAsync("div", { key: '
|
|
23761
|
+
return (hAsync("div", { key: 'c95f1a14719f736fe6b01e17900539fd024e06b3', class: {
|
|
23716
23762
|
"upload-item-row": true,
|
|
23717
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
23763
|
+
} }, this.showCategory && (hAsync("div", { key: '1285df905057048e8bd034b3d46047d7e43eac7b', class: "item-categories" }, hAsync("duet-heading", { key: 'a76917b032827e89cdadf5be982b46368f998086', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '081e4cb951f9400fa1804531cdfe2744c15566f0', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '515c9956bfe801d09c7c6c9b68b3b92bc66df612', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: 'b26088bf0716ebd9db38c1fac311ab5888a05c0d', class: "item-actions" }, this.actions.map(actionItem => {
|
|
23718
23764
|
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) }));
|
|
23719
23765
|
}))));
|
|
23720
23766
|
}
|
|
@@ -23755,7 +23801,7 @@ class DuetVisuallyHidden {
|
|
|
23755
23801
|
* Always the last one in the class.
|
|
23756
23802
|
*/
|
|
23757
23803
|
render() {
|
|
23758
|
-
return (hAsync(Host, { key: '
|
|
23804
|
+
return (hAsync(Host, { key: '000e564e8d2bec83686a04939d857c8ee87bdab2', class: "duet-visually-hidden" }, hAsync("slot", { key: 'd2e56182f3f5924a525883f59f4b2b9f16011a39' })));
|
|
23759
23805
|
}
|
|
23760
23806
|
get element() { return getElement(this); }
|
|
23761
23807
|
static get style() { return DuetVisuallyHiddenStyle0; }
|