@duetds/components 10.0.0-alpha.2 → 10.0.0-alpha.4
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 +818 -323
- package/lib/cjs/{a11y-utils-8177cf00.js → a11y-utils-5ac97fdd.js} +1 -1
- package/lib/cjs/{app-globals-718a3704.js → app-globals-087a6bf3.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +4 -4
- package/lib/cjs/duet-alert.cjs.entry.js +3 -3
- 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 +6 -6
- package/lib/cjs/duet-button_2.cjs.entry.js +16 -13
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +17 -47
- package/lib/cjs/duet-card.cjs.entry.js +10 -7
- package/lib/cjs/duet-checkbox.cjs.entry.js +4 -4
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/duet-chip_3.cjs.entry.js +9 -9
- package/lib/cjs/duet-choice_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +3 -3
- 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 +12 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +507 -14
- 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 +5 -5
- package/lib/cjs/duet-header_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +6 -6
- package/lib/cjs/duet-input_2.cjs.entry.js +12 -12
- 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 +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +9 -9
- 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 +5 -5
- 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 +17 -17
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-range-slider.cjs.entry.js +6 -6
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +50 -50
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +8 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +4 -4
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +12 -12
- package/lib/cjs/duet-slideout.cjs.entry.js +21 -18
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- 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 +7 -7
- package/lib/cjs/duet-toggle.cjs.entry.js +5 -5
- 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 +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +3 -3
- package/lib/cjs/duet-tray.cjs.entry.js +5 -5
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4e8a9de4.js → errorcodes.utils-62e9ce86.js} +1 -1
- package/lib/cjs/{focus-utils-2a0030aa.js → focus-utils-d551f3ab.js} +1 -1
- package/lib/cjs/{index-21e67ab3.js → index-b496e711.js} +1 -1
- package/lib/cjs/{label-2abeac23.js → label-65ad1748.js} +1 -1
- package/lib/cjs/{language-utils-b5940c7b.js → language-utils-de99a5da.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-382633cf.js → slot-utils-0a5c7c03.js} +1 -1
- package/lib/cjs/{token-utils-12717808.js → token-utils-5000595c.js} +1 -1
- package/lib/cjs/{tokens.module-46ddb47a.js → tokens.module-7c947029.js} +16 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.js +10 -7
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- package/lib/collection/components/duet-caption/duet-caption.js +2 -2
- package/lib/collection/components/duet-card/duet-card.js +7 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +9 -4
- package/lib/collection/components/duet-checkbox/duet-checkbox.js +3 -6
- package/lib/collection/components/duet-chip/duet-chip.js +1 -1
- package/lib/collection/components/duet-choice/duet-checkmark.js +2 -2
- package/lib/collection/components/duet-choice/duet-choice.js +6 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +2 -2
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +2 -2
- package/lib/collection/components/duet-contact-card/duet-contact-card.js +2 -2
- package/lib/collection/components/duet-cookie-consent/duet-cookie-consent.js +1 -1
- package/lib/collection/components/duet-date-picker/duet-date-picker.js +7 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +3 -6
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +2 -2
- package/lib/collection/components/duet-hero/duet-hero.js +7 -10
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.js +6 -6
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.css +42 -0
- package/lib/collection/components/duet-link/duet-link.js +5 -42
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-number-input/duet-number-input.js +2 -2
- package/lib/collection/components/duet-overlay/duet-overlay.js +1 -1
- package/lib/collection/components/duet-page-heading/duet-page-heading.js +2 -2
- package/lib/collection/components/duet-pagination/duet-pagination.js +11 -11
- package/lib/collection/components/duet-paragraph/duet-paragraph.js +2 -2
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +2 -2
- package/lib/collection/components/duet-popup-menu-item/duet-popup-menu-item.js +2 -2
- package/lib/collection/components/duet-promo-card/duet-promo-card.js +2 -2
- package/lib/collection/components/duet-radio/duet-radio.js +3 -3
- package/lib/collection/components/duet-radio-group/duet-radio-group.js +1 -1
- package/lib/collection/components/duet-range-slider/duet-range-slider.js +2 -2
- package/lib/collection/components/duet-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.css +44 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +61 -8
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- package/lib/collection/components/duet-select/duet-select.js +5 -5
- package/lib/collection/components/duet-shaped-image/duet-shaped-image.js +2 -2
- package/lib/collection/components/duet-show-more/duet-show-more.js +2 -2
- package/lib/collection/components/duet-slideout/duet-slideout.js +15 -12
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +2 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-step/duet-step.js +2 -2
- package/lib/collection/components/duet-stepper/duet-stepper.js +1 -1
- package/lib/collection/components/duet-submenu-bar/duet-submenu-bar.js +5 -5
- package/lib/collection/components/duet-submenu-bar-dropdown/duet-submenu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-submenu-bar-dropdown-link/duet-submenu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-submenu-bar-item/duet-submenu-bar-item.js +1 -1
- package/lib/collection/components/duet-submenu-bar-link/duet-submenu-bar-link.js +1 -1
- package/lib/collection/components/duet-tab/duet-tab.js +2 -2
- package/lib/collection/components/duet-tab-group/duet-tab-group.css +66 -56
- package/lib/collection/components/duet-tab-group/duet-tab-group.js +39 -40
- package/lib/collection/components/duet-table/duet-table-styles.js +499 -0
- package/lib/collection/components/duet-table/duet-table.js +5 -12
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/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 +4 -4
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +4 -4
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +11 -8
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +10 -10
- package/lib/dist-custom-elements/duet-choice.js +10 -10
- package/lib/dist-custom-elements/duet-collapsible.js +4 -4
- package/lib/dist-custom-elements/duet-combobox.js +14 -14
- 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 +19 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +9 -9
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +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 +2 -2
- 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 +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +13 -13
- 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 +12 -12
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +6 -6
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +4 -4
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +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 +9 -9
- package/lib/dist-custom-elements/duet-slideout.js +19 -16
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-step.js +6 -6
- 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 +40 -77
- package/lib/dist-custom-elements/duet-tab.js +4 -4
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +12 -12
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- 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 +6 -6
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +21 -21
- package/lib/dist-custom-elements/duet-visually-hidden.js +1 -1
- package/lib/dist-custom-elements/index.js +1 -1
- package/lib/dist-custom-elements/{p-88ed3495.js → p-0562173d.js} +2 -2
- package/lib/dist-custom-elements/{p-b4289ed0.js → p-06932c23.js} +5 -5
- package/lib/dist-custom-elements/{p-2c4fc6d3.js → p-09509e38.js} +3 -3
- package/lib/dist-custom-elements/{p-d77db171.js → p-188506d4.js} +1 -1
- package/lib/dist-custom-elements/{p-29782b53.js → p-19a763d1.js} +4 -4
- package/lib/dist-custom-elements/{p-4c1f4287.js → p-1f07910e.js} +5 -5
- package/lib/dist-custom-elements/{p-726ae243.js → p-3a8f6bf2.js} +3 -3
- package/lib/dist-custom-elements/{p-e4936fed.js → p-44f0c510.js} +12 -12
- package/lib/dist-custom-elements/{p-3b5e8904.js → p-48b9317e.js} +3 -3
- package/lib/dist-custom-elements/{p-c0a30d29.js → p-5c3b173b.js} +2 -2
- package/lib/dist-custom-elements/{p-f9994ef4.js → p-5ccb11e5.js} +4 -4
- package/lib/dist-custom-elements/{p-e5a55204.js → p-641af615.js} +12 -12
- package/lib/dist-custom-elements/{p-35ad7f77.js → p-69dae529.js} +3 -3
- package/lib/dist-custom-elements/{p-d5812145.js → p-7307e4ef.js} +2 -2
- package/lib/dist-custom-elements/p-77f4f1d9.js +642 -0
- package/lib/dist-custom-elements/{p-86f479be.js → p-7897b8a7.js} +4 -4
- package/lib/dist-custom-elements/{p-723b6358.js → p-82f4662e.js} +8 -39
- package/lib/dist-custom-elements/{p-1e88beeb.js → p-8b5ed6f5.js} +2 -2
- package/lib/dist-custom-elements/{p-5086d1a0.js → p-9263fe36.js} +2 -2
- package/lib/dist-custom-elements/{p-87b1c772.js → p-9a9bfcd7.js} +4 -4
- package/lib/dist-custom-elements/{p-a0f74881.js → p-9b7e188a.js} +7 -7
- package/lib/dist-custom-elements/{p-19172e2c.js → p-a6f6eeea.js} +4 -4
- package/lib/dist-custom-elements/{p-a9e09647.js → p-a95aa79f.js} +23 -14
- package/lib/dist-custom-elements/{p-6a285be8.js → p-b3ffc8ec.js} +2 -2
- package/lib/dist-custom-elements/{p-254d2993.js → p-b59bcc0d.js} +4 -4
- package/lib/dist-custom-elements/{p-a2b5c68e.js → p-b59d4ed8.js} +5 -5
- package/lib/dist-custom-elements/{p-3c7d413f.js → p-b605dc21.js} +3 -3
- package/lib/dist-custom-elements/p-bc8e5d5f.js +154 -0
- package/lib/dist-custom-elements/{p-fca5b65b.js → p-c5766108.js} +3 -3
- package/lib/dist-custom-elements/{p-a1e17113.js → p-ca6c91da.js} +15 -12
- package/lib/dist-custom-elements/{p-4c179c1e.js → p-cea716f7.js} +1 -1
- package/lib/dist-custom-elements/{p-d2a5148f.js → p-ceace5a5.js} +3 -3
- package/lib/dist-custom-elements/{p-64139e5c.js → p-d3f11b87.js} +3 -3
- package/lib/dist-custom-elements/{p-1df834b1.js → p-d46e8086.js} +4 -4
- package/lib/dist-custom-elements/{p-55bbb3b6.js → p-e13570ea.js} +15 -15
- package/lib/dist-custom-elements/{p-e774334b.js → p-f08fd5ce.js} +4 -4
- package/lib/dist-custom-elements/{p-56d9b926.js → p-f459d4e1.js} +3 -3
- package/lib/dist-custom-elements/{p-1f7ae97d.js → p-fa0f5c3a.js} +6 -6
- package/lib/dist-custom-elements/{p-7f69e1e3.js → p-fbf7b0a3.js} +5 -5
- package/lib/dist-custom-elements/{p-c81244d9.js → p-fc1fca67.js} +3 -3
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-7f5c1da2.entry.js → p-000e222f.entry.js} +1 -1
- package/lib/duet/{p-1183d305.system.entry.js → p-0252f72e.system.entry.js} +1 -1
- package/lib/duet/p-02ed65bb.entry.js +4 -0
- package/lib/duet/p-0591a60a.entry.js +4 -0
- package/lib/duet/{p-8ad8b9a8.entry.js → p-065b1525.entry.js} +1 -1
- package/lib/duet/{p-b865116a.entry.js → p-07ee8a5a.entry.js} +1 -1
- package/lib/duet/{p-eca1904d.system.entry.js → p-094a08cd.system.entry.js} +1 -1
- package/lib/duet/{p-9fcce08c.system.entry.js → p-0ca126ad.system.entry.js} +2 -2
- package/lib/duet/p-0d7da85a.js +4 -0
- package/lib/duet/{p-8d462e3a.system.entry.js → p-0ede7f02.system.entry.js} +1 -1
- package/lib/duet/{p-95836be2.system.entry.js → p-0ee00147.system.entry.js} +1 -1
- package/lib/duet/{p-105f1a75.entry.js → p-0f6cce6b.entry.js} +1 -1
- package/lib/duet/p-1098a40f.system.js +4 -0
- package/lib/duet/{p-8b397c1a.entry.js → p-13dc711a.entry.js} +1 -1
- package/lib/duet/{p-d3c304b5.system.js → p-149b677a.system.js} +1 -1
- package/lib/duet/{p-f78099b6.entry.js → p-150dbbea.entry.js} +1 -1
- package/lib/duet/{p-4f527f43.entry.js → p-169b720a.entry.js} +1 -1
- package/lib/duet/{p-bc6e219f.system.entry.js → p-16d57da2.system.entry.js} +1 -1
- package/lib/duet/{p-7fe5e0dc.system.entry.js → p-1721c077.system.entry.js} +1 -1
- package/lib/duet/p-19119130.entry.js +4 -0
- package/lib/duet/p-1a570ee1.system.entry.js +4 -0
- package/lib/duet/p-1ac41e38.entry.js +4 -0
- package/lib/duet/{p-435a217b.entry.js → p-1bd826bf.entry.js} +1 -1
- package/lib/duet/{p-e5cb7fc9.entry.js → p-1e0cebdf.entry.js} +1 -1
- package/lib/duet/p-1e5e00f9.entry.js +4 -0
- package/lib/duet/{p-7606ec6c.system.entry.js → p-1feb6b08.system.entry.js} +1 -1
- package/lib/duet/{p-d85741b1.entry.js → p-20fd92d9.entry.js} +1 -1
- package/lib/duet/{p-376a0839.system.entry.js → p-23e0edcb.system.entry.js} +1 -1
- package/lib/duet/{p-705c5299.entry.js → p-23f70a40.entry.js} +1 -1
- package/lib/duet/{p-319e77d6.entry.js → p-25953772.entry.js} +1 -1
- package/lib/duet/{p-c6617f16.entry.js → p-26807a70.entry.js} +1 -1
- package/lib/duet/{p-8f31572d.system.entry.js → p-268864c3.system.entry.js} +1 -1
- package/lib/duet/{p-032fbfa1.system.entry.js → p-2bd1ad09.system.entry.js} +1 -1
- package/lib/duet/{p-02200dcc.entry.js → p-2dcfcae6.entry.js} +1 -1
- package/lib/duet/{p-a19244e5.system.js → p-2e0eb8a4.system.js} +1 -1
- package/lib/duet/{p-3b3c341e.system.entry.js → p-3170270d.system.entry.js} +1 -1
- package/lib/duet/{p-605e69c8.system.js → p-32a09a31.system.js} +1 -1
- package/lib/duet/{p-76d69a18.system.js → p-35a1ffee.system.js} +1 -1
- package/lib/duet/{p-df19c239.system.entry.js → p-3a1eeb98.system.entry.js} +1 -1
- package/lib/duet/{p-f2f1e0e9.entry.js → p-3a76a6b7.entry.js} +1 -1
- package/lib/duet/{p-ca691c4a.entry.js → p-3b807b7b.entry.js} +1 -1
- package/lib/duet/{p-a437992b.system.entry.js → p-3d6d7bad.system.entry.js} +1 -1
- package/lib/duet/{p-14bae734.system.entry.js → p-3d96fc7c.system.entry.js} +1 -1
- package/lib/duet/p-3e39a663.system.entry.js +4 -0
- package/lib/duet/{p-3b8dbebe.system.entry.js → p-3ee6543a.system.entry.js} +1 -1
- package/lib/duet/{p-97ec270c.entry.js → p-3f4ee42c.entry.js} +1 -1
- package/lib/duet/{p-eb0d15a0.system.entry.js → p-410f94e9.system.entry.js} +1 -1
- package/lib/duet/p-477a0ad7.system.entry.js +4 -0
- package/lib/duet/{p-e2daf94c.entry.js → p-4816c631.entry.js} +1 -1
- package/lib/duet/{p-d5dfa70d.system.entry.js → p-4a96a1cc.system.entry.js} +1 -1
- package/lib/duet/{p-a23eec0f.entry.js → p-4ac45e30.entry.js} +1 -1
- package/lib/duet/{p-0937f800.system.entry.js → p-4ba72133.system.entry.js} +1 -1
- package/lib/duet/{p-066b94ca.entry.js → p-4c30f1b5.entry.js} +1 -1
- package/lib/duet/{p-d62da84e.system.entry.js → p-4cd00958.system.entry.js} +1 -1
- package/lib/duet/{p-cbbf6d6a.system.js → p-4cff3036.system.js} +1 -1
- package/lib/duet/{p-abec198c.system.entry.js → p-4dcf7aab.system.entry.js} +1 -1
- package/lib/duet/{p-2437b4cb.js → p-51b2f340.js} +1 -1
- package/lib/duet/{p-2fa7ecef.entry.js → p-51b8e39a.entry.js} +1 -1
- package/lib/duet/{p-67dd83cc.entry.js → p-529bb649.entry.js} +1 -1
- package/lib/duet/{p-3d794db6.system.entry.js → p-539ee8e9.system.entry.js} +1 -1
- package/lib/duet/{p-0458abd0.system.entry.js → p-53b490bf.system.entry.js} +1 -1
- package/lib/duet/{p-265fdd97.system.entry.js → p-5428f3f5.system.entry.js} +1 -1
- package/lib/duet/{p-68fd5f9a.entry.js → p-547f2129.entry.js} +1 -1
- package/lib/duet/{p-f43e134e.system.entry.js → p-54a3643a.system.entry.js} +1 -1
- package/lib/duet/p-55309597.system.entry.js +4 -0
- package/lib/duet/{p-2af9e483.entry.js → p-57930d52.entry.js} +1 -1
- package/lib/duet/{p-6f285100.system.entry.js → p-57ab6af5.system.entry.js} +1 -1
- package/lib/duet/{p-3cd80f60.system.entry.js → p-58ea29ca.system.entry.js} +1 -1
- package/lib/duet/{p-27a43e79.entry.js → p-59435e55.entry.js} +1 -1
- package/lib/duet/{p-f8b6380d.entry.js → p-5acb3f21.entry.js} +1 -1
- package/lib/duet/{p-ed6a110f.system.entry.js → p-5ca36d56.system.entry.js} +1 -1
- package/lib/duet/{p-c7ecec29.entry.js → p-5dea17eb.entry.js} +1 -1
- package/lib/duet/{p-07200cbb.entry.js → p-5e234865.entry.js} +1 -1
- package/lib/duet/{p-3cd483ab.entry.js → p-5e780477.entry.js} +1 -1
- package/lib/duet/{p-502bf069.entry.js → p-5ebe5e38.entry.js} +1 -1
- package/lib/duet/{p-2034ac6f.system.entry.js → p-602843ca.system.entry.js} +1 -1
- package/lib/duet/{p-3ab3a8c6.entry.js → p-60d2344e.entry.js} +1 -1
- package/lib/duet/{p-58f6b887.system.entry.js → p-645cfb68.system.entry.js} +2 -2
- package/lib/duet/{p-d7d86092.js → p-6817c980.js} +1 -1
- package/lib/duet/{p-2af3edb3.system.entry.js → p-68209f39.system.entry.js} +2 -2
- package/lib/duet/{p-639def3e.system.entry.js → p-6898b482.system.entry.js} +1 -1
- package/lib/duet/p-6a263519.entry.js +4 -0
- package/lib/duet/{p-042576d6.system.entry.js → p-6a30f4a1.system.entry.js} +1 -1
- package/lib/duet/{p-e95e650d.system.entry.js → p-6c10d77d.system.entry.js} +1 -1
- package/lib/duet/{p-7813d124.system.entry.js → p-6e72268d.system.entry.js} +1 -1
- package/lib/duet/{p-947ceeb6.system.entry.js → p-6fe2f15f.system.entry.js} +1 -1
- package/lib/duet/p-6fe8172a.entry.js +4 -0
- package/lib/duet/p-735aecee.system.entry.js +4 -0
- package/lib/duet/{p-cef3ec26.entry.js → p-74f62fcc.entry.js} +1 -1
- package/lib/duet/{p-38908608.system.entry.js → p-751e58ce.system.entry.js} +1 -1
- package/lib/duet/{p-8ceddf7a.entry.js → p-76a9c7a5.entry.js} +1 -1
- package/lib/duet/{p-1d016525.system.entry.js → p-76ce944a.system.entry.js} +1 -1
- package/lib/duet/{p-a51f3a0b.entry.js → p-78368247.entry.js} +1 -1
- package/lib/duet/p-79bdb03d.entry.js +4 -0
- package/lib/duet/{p-0ecb70e0.system.entry.js → p-79e58ba1.system.entry.js} +2 -2
- package/lib/duet/{p-8abb0984.js → p-7a75bff7.js} +1 -1
- package/lib/duet/p-7b47d427.entry.js +4 -0
- package/lib/duet/{p-86176559.entry.js → p-7ee6ca05.entry.js} +1 -1
- package/lib/duet/{p-87e96a18.system.entry.js → p-80d8a60b.system.entry.js} +1 -1
- package/lib/duet/{p-1e17463d.system.js → p-81835239.system.js} +1 -1
- package/lib/duet/p-85e7cc53.entry.js +4 -0
- package/lib/duet/{p-d41543d3.entry.js → p-863b96d9.entry.js} +1 -1
- package/lib/duet/{p-f0fa9c9a.system.entry.js → p-885bdca8.system.entry.js} +1 -1
- package/lib/duet/{p-fdb3098f.system.entry.js → p-88f8dcab.system.entry.js} +1 -1
- package/lib/duet/{p-c551216e.system.entry.js → p-8bee9cd3.system.entry.js} +1 -1
- package/lib/duet/{p-c6995496.system.entry.js → p-8c0a6ad4.system.entry.js} +1 -1
- package/lib/duet/{p-ab4c886f.system.entry.js → p-8c7b6794.system.entry.js} +1 -1
- package/lib/duet/{p-7acabaa7.system.js → p-8e540cf9.system.js} +1 -1
- package/lib/duet/{p-84bfc619.system.entry.js → p-8f2cac21.system.entry.js} +1 -1
- package/lib/duet/{p-5e6b91f6.entry.js → p-8fe4cb7b.entry.js} +1 -1
- package/lib/duet/{p-e797e2f4.system.entry.js → p-915b2385.system.entry.js} +1 -1
- package/lib/duet/{p-b0b00dad.system.entry.js → p-942d73b3.system.entry.js} +1 -1
- package/lib/duet/{p-03af0f0d.system.entry.js → p-97406378.system.entry.js} +1 -1
- package/lib/duet/{p-a2b93336.system.entry.js → p-99c527c4.system.entry.js} +1 -1
- package/lib/duet/{p-77e70fca.entry.js → p-99d8e4b1.entry.js} +1 -1
- package/lib/duet/{p-772dbed5.entry.js → p-9a3a1129.entry.js} +1 -1
- package/lib/duet/p-9bcd8d52.system.js +4 -0
- package/lib/duet/{p-27ed5ca7.system.entry.js → p-9c9e3bf3.system.entry.js} +1 -1
- package/lib/duet/{p-bed279f6.entry.js → p-9cc7444d.entry.js} +1 -1
- package/lib/duet/{p-63016bc3.entry.js → p-9cdabda3.entry.js} +1 -1
- package/lib/duet/p-9d6cf60e.entry.js +4 -0
- package/lib/duet/{p-1da5945a.system.entry.js → p-9e014353.system.entry.js} +1 -1
- package/lib/duet/p-a030ecff.entry.js +4 -0
- package/lib/duet/{p-53366e23.entry.js → p-a49aa1e4.entry.js} +1 -1
- package/lib/duet/{p-e7558f6c.entry.js → p-a6ca2484.entry.js} +1 -1
- package/lib/duet/{p-8ff30ce6.system.entry.js → p-abb0f090.system.entry.js} +1 -1
- package/lib/duet/{p-8440bd4f.entry.js → p-af086dc4.entry.js} +1 -1
- package/lib/duet/{p-3b3432e2.system.entry.js → p-b065a169.system.entry.js} +1 -1
- package/lib/duet/p-b4f3e81a.js +4 -0
- package/lib/duet/{p-38685b43.system.entry.js → p-b5ce0b66.system.entry.js} +1 -1
- package/lib/duet/{p-d04dbf1f.system.entry.js → p-b6689aeb.system.entry.js} +1 -1
- package/lib/duet/{p-ffe6fbbb.entry.js → p-b7247c4a.entry.js} +1 -1
- package/lib/duet/p-b909d55e.system.entry.js +4 -0
- package/lib/duet/p-ba03d034.system.js +4 -0
- package/lib/duet/{p-ed17957c.system.entry.js → p-c31aff06.system.entry.js} +2 -2
- package/lib/duet/{p-3987eed8.system.entry.js → p-c4b27218.system.entry.js} +1 -1
- package/lib/duet/{p-807bf6da.system.entry.js → p-c4cd0199.system.entry.js} +1 -1
- package/lib/duet/{p-2b6a7397.js → p-c553a49a.js} +1 -1
- package/lib/duet/{p-77b21edc.entry.js → p-c59bc2db.entry.js} +1 -1
- package/lib/duet/{p-70651da4.system.entry.js → p-c64eb22a.system.entry.js} +1 -1
- package/lib/duet/{p-e283e9fe.entry.js → p-c86a2ae1.entry.js} +1 -1
- package/lib/duet/p-c8bd1ccb.entry.js +4 -0
- package/lib/duet/{p-4eb70cc2.system.entry.js → p-c90242c5.system.entry.js} +1 -1
- package/lib/duet/{p-10c530d1.js → p-cc67e773.js} +1 -1
- package/lib/duet/{p-dc4b5372.system.entry.js → p-cc70a233.system.entry.js} +1 -1
- package/lib/duet/{p-ffd1290e.system.entry.js → p-cc8d3ed0.system.entry.js} +1 -1
- package/lib/duet/{p-bf5c8102.entry.js → p-cd9f1743.entry.js} +1 -1
- package/lib/duet/{p-17aa3a20.entry.js → p-cfa7d3f2.entry.js} +1 -1
- package/lib/duet/{p-4f212753.entry.js → p-d07788a4.entry.js} +1 -1
- package/lib/duet/{p-328d9919.system.entry.js → p-d146e39b.system.entry.js} +1 -1
- package/lib/duet/{p-7cce22af.system.js → p-d41e4088.system.js} +1 -1
- package/lib/duet/{p-824d882f.entry.js → p-d4ccd7cd.entry.js} +1 -1
- package/lib/duet/{p-7512d569.entry.js → p-d71ee4e2.entry.js} +1 -1
- package/lib/duet/{p-48618d75.entry.js → p-d8e196af.entry.js} +1 -1
- package/lib/duet/{p-7a25f374.entry.js → p-dd7fb771.entry.js} +1 -1
- package/lib/duet/{p-b0d79ffe.entry.js → p-de4bf9cc.entry.js} +1 -1
- package/lib/duet/{p-88fe57e8.system.entry.js → p-e033daf1.system.entry.js} +1 -1
- package/lib/duet/{p-084ab781.entry.js → p-e0f5fed4.entry.js} +1 -1
- package/lib/duet/{p-d42b2af0.entry.js → p-e2c7e2d3.entry.js} +1 -1
- package/lib/duet/{p-7b8b93c3.entry.js → p-e385f91d.entry.js} +1 -1
- package/lib/duet/{p-472b3fbd.entry.js → p-e395172c.entry.js} +1 -1
- package/lib/duet/{p-26d1dc6c.system.entry.js → p-e4b4cb3c.system.entry.js} +1 -1
- package/lib/duet/{p-4bd72541.entry.js → p-e57690a5.entry.js} +1 -1
- package/lib/duet/{p-3b281171.entry.js → p-e7596a00.entry.js} +1 -1
- package/lib/duet/{p-8520e026.system.entry.js → p-ea4c67d7.system.entry.js} +1 -1
- package/lib/duet/{p-bbeafbd0.entry.js → p-eb00f684.entry.js} +1 -1
- package/lib/duet/p-ec87c2c0.entry.js +4 -0
- package/lib/duet/{p-eca03d5e.js → p-ecf89776.js} +1 -1
- package/lib/duet/p-f0d3cbf0.entry.js +4 -0
- package/lib/duet/{p-8c9eb171.js → p-f2462d98.js} +1 -1
- package/lib/duet/{p-1fd3ec9e.system.entry.js → p-f3e11ae2.system.entry.js} +1 -1
- package/lib/duet/{p-020be412.system.entry.js → p-f4cd0368.system.entry.js} +1 -1
- package/lib/duet/{p-274473a3.system.entry.js → p-f609ba36.system.entry.js} +1 -1
- package/lib/duet/{p-20213e01.system.entry.js → p-f64fe362.system.entry.js} +1 -1
- package/lib/duet/{p-009c7325.entry.js → p-f691b978.entry.js} +1 -1
- package/lib/duet/{p-bbb56267.entry.js → p-f8956559.entry.js} +1 -1
- package/lib/duet/{p-d62b6ca1.system.entry.js → p-fb8e8fbf.system.entry.js} +2 -2
- package/lib/duet/{p-2eae4a0b.js → p-fbc347fd.js} +1 -1
- package/lib/duet/{p-9dda3449.system.entry.js → p-fcd4f841.system.entry.js} +1 -1
- package/lib/esm/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
- package/lib/esm/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +4 -4
- package/lib/esm/duet-alert.entry.js +3 -3
- 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 +6 -6
- package/lib/esm/duet-button_2.entry.js +16 -13
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +17 -47
- package/lib/esm/duet-card.entry.js +10 -7
- package/lib/esm/duet-checkbox.entry.js +4 -4
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/duet-chip_3.entry.js +9 -9
- package/lib/esm/duet-choice_2.entry.js +11 -11
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +3 -3
- 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 +12 -7
- package/lib/esm/duet-divider_2.entry.js +5 -5
- package/lib/esm/duet-editable-table_3.entry.js +507 -14
- 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 +5 -5
- package/lib/esm/duet-header_2.entry.js +4 -4
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +6 -6
- package/lib/esm/duet-input_2.entry.js +12 -12
- 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 +10 -10
- package/lib/esm/duet-multiselect.entry.js +9 -9
- 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 +5 -5
- 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 +17 -17
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +6 -6
- package/lib/esm/duet-range-slider.entry.js +6 -6
- package/lib/esm/duet-scrollable_3.entry.js +50 -50
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +8 -8
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +4 -4
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +3 -3
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +12 -12
- package/lib/esm/duet-slideout.entry.js +21 -18
- package/lib/esm/duet-step_2.entry.js +4 -4
- 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 +7 -7
- package/lib/esm/duet-toggle.entry.js +5 -5
- 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 +6 -6
- package/lib/esm/duet-tooltip.entry.js +3 -3
- package/lib/esm/duet-tray.entry.js +5 -5
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
- package/lib/esm/{focus-utils-adcd9463.js → focus-utils-4226b57a.js} +1 -1
- package/lib/esm/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
- package/lib/esm/{label-ce262202.js → label-a30d1f04.js} +1 -1
- package/lib/esm/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
- package/lib/esm/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/esm-es5/{a11y-utils-8fc393f6.js → a11y-utils-c52606bf.js} +1 -1
- package/lib/esm-es5/{app-globals-00959ca9.js → app-globals-18e70157.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +1 -1
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +2 -2
- package/lib/esm-es5/duet-card.entry.js +2 -2
- package/lib/esm-es5/duet-checkbox.entry.js +2 -2
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip_3.entry.js +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +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 +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- 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 +2 -2
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +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 +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-d9431251.js → errorcodes.utils-e12abdc5.js} +1 -1
- package/lib/esm-es5/focus-utils-4226b57a.js +4 -0
- package/lib/esm-es5/{index-1d0b7c66.js → index-4b4e4ec8.js} +1 -1
- package/lib/esm-es5/{label-ce262202.js → label-a30d1f04.js} +1 -1
- package/lib/esm-es5/{language-utils-14969cef.js → language-utils-1b413a6b.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-4e5ed4eb.js → slot-utils-ae4dc467.js} +1 -1
- package/lib/esm-es5/{token-utils-a32eb753.js → token-utils-b9ba8c5e.js} +1 -1
- package/lib/esm-es5/{tokens.module-a746651a.js → tokens.module-2d02f5ff.js} +1 -1
- package/lib/types/components/duet-hero/duet-hero.d.ts +1 -2
- package/lib/types/components/duet-link/duet-link.d.ts +0 -7
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +8 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +9 -4
- package/lib/types/components/duet-table/duet-table-styles.d.ts +1 -0
- package/lib/types/components.d.ts +12 -6
- package/package.json +3 -3
- package/lib/collection/components/duet-table/duet-table.css +0 -365
- package/lib/dist-custom-elements/p-5fbb6039.js +0 -154
- package/lib/dist-custom-elements/p-ffa44070.js +0 -148
- package/lib/duet/p-0c4aa4d0.system.entry.js +0 -4
- package/lib/duet/p-1004af75.js +0 -4
- package/lib/duet/p-150e5f1b.entry.js +0 -4
- package/lib/duet/p-23376e2a.entry.js +0 -4
- package/lib/duet/p-29672737.entry.js +0 -4
- package/lib/duet/p-2c9a6e05.entry.js +0 -4
- package/lib/duet/p-3f97122e.system.entry.js +0 -4
- package/lib/duet/p-4289f34a.entry.js +0 -4
- package/lib/duet/p-50ca9099.system.entry.js +0 -4
- package/lib/duet/p-5db9497a.entry.js +0 -4
- package/lib/duet/p-61a93486.system.entry.js +0 -4
- package/lib/duet/p-6c25b6a4.system.entry.js +0 -4
- package/lib/duet/p-716865fe.entry.js +0 -4
- package/lib/duet/p-7af3fb35.entry.js +0 -4
- package/lib/duet/p-806adaa3.entry.js +0 -4
- package/lib/duet/p-851e1a0f.entry.js +0 -4
- package/lib/duet/p-88d8265d.entry.js +0 -4
- package/lib/duet/p-965e597c.system.js +0 -4
- package/lib/duet/p-a48acf0f.system.entry.js +0 -4
- package/lib/duet/p-c1b1801d.entry.js +0 -4
- package/lib/duet/p-cdb6c612.entry.js +0 -4
- package/lib/duet/p-d3aa7a74.entry.js +0 -4
- package/lib/duet/p-dfef2cbe.entry.js +0 -4
- package/lib/duet/p-e1c881da.system.js +0 -4
- package/lib/duet/p-ef731dfb.system.js +0 -4
- package/lib/duet/p-fd78f61a.js +0 -4
- package/lib/esm-es5/focus-utils-adcd9463.js +0 -4
package/hydrate/index.js
CHANGED
|
@@ -1474,16 +1474,16 @@ var emitEvent = (elm, name, opts) => {
|
|
|
1474
1474
|
};
|
|
1475
1475
|
var rootAppliedStyles = /* @__PURE__ */ new WeakMap();
|
|
1476
1476
|
var registerStyle = (scopeId2, cssText, allowCS) => {
|
|
1477
|
-
let style = styles.get(scopeId2);
|
|
1477
|
+
let style = styles$1.get(scopeId2);
|
|
1478
1478
|
{
|
|
1479
1479
|
style = cssText;
|
|
1480
1480
|
}
|
|
1481
|
-
styles.set(scopeId2, style);
|
|
1481
|
+
styles$1.set(scopeId2, style);
|
|
1482
1482
|
};
|
|
1483
1483
|
var addStyle = (styleContainerNode, cmpMeta, mode) => {
|
|
1484
1484
|
var _a;
|
|
1485
1485
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1486
|
-
const style = styles.get(scopeId2);
|
|
1486
|
+
const style = styles$1.get(scopeId2);
|
|
1487
1487
|
styleContainerNode = styleContainerNode.nodeType === 11 /* DocumentFragment */ ? styleContainerNode : doc;
|
|
1488
1488
|
if (style) {
|
|
1489
1489
|
if (typeof style === "string") {
|
|
@@ -1973,7 +1973,7 @@ var initializeComponent = async (elm, hostRef, cmpMeta, hmrVersionId) => {
|
|
|
1973
1973
|
style = Cstr.style;
|
|
1974
1974
|
}
|
|
1975
1975
|
const scopeId2 = getScopeId(cmpMeta);
|
|
1976
|
-
if (!styles.has(scopeId2)) {
|
|
1976
|
+
if (!styles$1.has(scopeId2)) {
|
|
1977
1977
|
const endRegisterStyles = createTime("registerStyles", cmpMeta.$tagName$);
|
|
1978
1978
|
registerStyle(scopeId2, style);
|
|
1979
1979
|
endRegisterStyles();
|
|
@@ -2648,7 +2648,7 @@ var Build = {
|
|
|
2648
2648
|
isServer: true,
|
|
2649
2649
|
isTesting: false
|
|
2650
2650
|
};
|
|
2651
|
-
var styles = /* @__PURE__ */ new Map();
|
|
2651
|
+
var styles$1 = /* @__PURE__ */ new Map();
|
|
2652
2652
|
|
|
2653
2653
|
const inheritGlobalTheme = (component) => {
|
|
2654
2654
|
// this minor change enables duet-theme-XXXXX instead of just duet-theme-turva
|
|
@@ -3986,12 +3986,12 @@ class DuetBadge {
|
|
|
3986
3986
|
*/
|
|
3987
3987
|
render() {
|
|
3988
3988
|
const backgroundClass = `background-${this.background}`;
|
|
3989
|
-
return (hAsync(Host, { key: '
|
|
3989
|
+
return (hAsync(Host, { key: '525eb1a4fac6b096cf70238684abf6beaccf1b60', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '6a6c8598ed37316d2952574df604014f0f4fcb08', class: {
|
|
3990
3990
|
"duet-badge": true,
|
|
3991
3991
|
[this.variation]: true,
|
|
3992
3992
|
[backgroundClass]: true,
|
|
3993
3993
|
"duet-theme-turva": this.theme === "turva",
|
|
3994
|
-
} }, hAsync("slot", { key: '
|
|
3994
|
+
} }, hAsync("slot", { key: '10a0b5fe2c183d0497b8968917b3ea9bb776aab6' }))));
|
|
3995
3995
|
}
|
|
3996
3996
|
get element() { return getElement(this); }
|
|
3997
3997
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4181,14 +4181,14 @@ class DuetBreadcrumb {
|
|
|
4181
4181
|
*/
|
|
4182
4182
|
render() {
|
|
4183
4183
|
var _a;
|
|
4184
|
-
return (hAsync(Host, { key: '
|
|
4184
|
+
return (hAsync(Host, { key: '09a787f19aa1dd12445d76a36fa8924db644b712', role: "listitem" }, hAsync("div", { key: '71f250472e2ff04408cf351e06282bf5c000087f', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'a96cc31bc261fa8b0765361d2f6c6e409903d81b', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '61caff01acc20697e6ef0c257ab8a5fdce7083dd', class: {
|
|
4185
4185
|
"duet-breadcrumb": true,
|
|
4186
4186
|
"duet-theme-turva": this.theme === "turva",
|
|
4187
4187
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
4188
4188
|
this.icon && [
|
|
4189
|
-
hAsync("duet-icon", { key: '
|
|
4190
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4191
|
-
], hAsync("slot", { key: '
|
|
4189
|
+
hAsync("duet-icon", { key: 'f6a547c84b34225bf03ad776c92d10e2bd08ca89', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4190
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '9256cacd57acc64ed3624a4f2c9df51cb92aa0b5', size: "x-small", direction: "horizontal" }),
|
|
4191
|
+
], hAsync("slot", { key: '183e95e39e8131bd714ba4c2658194c9673deef7' })))));
|
|
4192
4192
|
}
|
|
4193
4193
|
get element() { return getElement(this); }
|
|
4194
4194
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4249,11 +4249,11 @@ class DuetBreadcrumbs {
|
|
|
4249
4249
|
*/
|
|
4250
4250
|
render() {
|
|
4251
4251
|
const color = getColorByName(this.color);
|
|
4252
|
-
return (hAsync(Host, { key: '
|
|
4252
|
+
return (hAsync(Host, { key: 'ffe039bba4cc62518ff8a4edf4e89bf3d9fba425' }, hAsync("nav", { key: '737b1828ee7babafbf81ec04ef95e3a3ead26230', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4253
4253
|
"duet-breadcrumbs": true,
|
|
4254
4254
|
"duet-theme-turva": this.theme === "turva",
|
|
4255
4255
|
[this.variation]: true,
|
|
4256
|
-
} }, hAsync("div", { key: '
|
|
4256
|
+
} }, hAsync("div", { key: '6b92d6297d3c7498300a2c1ef5722317435f18d2', class: "container" }, hAsync("div", { key: '26a88ae5dfc14f715ef17000218c94858b5082b5', role: "list", class: "list", style: { color } }, hAsync("slot", { key: 'd5eb86ae00ae840c65739a494970a8815741d755' })), hAsync("div", { key: '4d3b49ff815f667189b446ac736600edd7a59a20', class: "bottom-border bottom-border--container" })), hAsync("div", { key: 'f1ad3d2547626fe4473d8aa1d467772dd65170e2', class: "bottom-border bottom-border--nav" }))));
|
|
4257
4257
|
}
|
|
4258
4258
|
get element() { return getElement(this); }
|
|
4259
4259
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4345,7 +4345,8 @@ class DuetButton {
|
|
|
4345
4345
|
// climb up the dom to see if we're in a <form>
|
|
4346
4346
|
// and if so, then use JS to submit it.
|
|
4347
4347
|
// To understand better, see: https://www.hjorthhansen.dev/shadow-dom-form-participation/
|
|
4348
|
-
if (!this.url && (this.element.closest("form") || this.form)
|
|
4348
|
+
if (this.submit && !this.url && (this.element.closest("form") || this.form)) {
|
|
4349
|
+
ev.stopPropagation();
|
|
4349
4350
|
ev.preventDefault();
|
|
4350
4351
|
this.proxyButton.click();
|
|
4351
4352
|
}
|
|
@@ -4428,7 +4429,9 @@ class DuetButton {
|
|
|
4428
4429
|
if (this.disabled === false) {
|
|
4429
4430
|
this.element.removeAttribute("disabled");
|
|
4430
4431
|
}
|
|
4431
|
-
this.
|
|
4432
|
+
if (this.submit) {
|
|
4433
|
+
this.proxyButtonSetUp();
|
|
4434
|
+
}
|
|
4432
4435
|
}
|
|
4433
4436
|
getButtonType() {
|
|
4434
4437
|
return this.submit ? "submit" : "button";
|
|
@@ -4466,12 +4469,12 @@ class DuetButton {
|
|
|
4466
4469
|
// enforce consistency for external links
|
|
4467
4470
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4468
4471
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4469
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4472
|
+
const commonChildren = (hAsync("span", { key: '8261e9341625f40cc3443028886ba797e455fd18', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: '8de1cf100792030ea48744f69b85891a75b221bd', "aria-hidden": "true", class: {
|
|
4470
4473
|
"duet-button-icon": true,
|
|
4471
4474
|
left: !iconRight,
|
|
4472
4475
|
right: iconRight,
|
|
4473
4476
|
[this.getButtonIconSize()]: true,
|
|
4474
|
-
} }, hAsync("duet-icon", { key: '
|
|
4477
|
+
} }, hAsync("duet-icon", { key: '34d180cb49257dea26208354b7d7af6fa3bbe224', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: 'a80aa7681ff913fb64c194bc8a948cf44013af17', class: "duet-button-contents-slot" }, hAsync("slot", { key: 'a7973447fad08810a13a15347d9e14b47a22d261' }))));
|
|
4475
4478
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4476
4479
|
const commonProps = {
|
|
4477
4480
|
onFocus: this.onFocus,
|
|
@@ -4506,7 +4509,7 @@ class DuetButton {
|
|
|
4506
4509
|
"aria-details": this.accessibleDetails,
|
|
4507
4510
|
"aria-description": this.accessibleDescription,
|
|
4508
4511
|
};
|
|
4509
|
-
return (hAsync(Host, { key: '
|
|
4512
|
+
return (hAsync(Host, { key: 'ec159b1f3d12c0389ca0ad87c1e4a5977711cb55', class: {
|
|
4510
4513
|
"duet-m-0": this.margin === "none",
|
|
4511
4514
|
"duet-small": this.size === "small",
|
|
4512
4515
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4514,13 +4517,13 @@ class DuetButton {
|
|
|
4514
4517
|
"duet-expand": this.expand,
|
|
4515
4518
|
[this.variation]: true,
|
|
4516
4519
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4517
|
-
} }, hAsync("span", { key: '
|
|
4520
|
+
} }, hAsync("span", { key: 'cbefdfe93f79c1fa1dceea5d8796242e00d03221', onClick: this.handleClick, class: {
|
|
4518
4521
|
"duet-button-container": true,
|
|
4519
4522
|
"duet-button-is-loading": this.loading,
|
|
4520
4523
|
"duet-theme-turva": this.theme === "turva",
|
|
4521
4524
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4522
4525
|
[this.variation]: true,
|
|
4523
|
-
} }, 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, " "), hAsync("
|
|
4526
|
+
} }, 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: 'c72fcf5021e1746ba8af63e4e9500ff1303e8ffc', color: "currentColor" })), hAsync("slot", { key: '04a92da59dceb3d0bd30dba5fc3808b1415b42d9', name: "proxybutton" })));
|
|
4524
4527
|
}
|
|
4525
4528
|
get element() { return getElement(this); }
|
|
4526
4529
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -4607,11 +4610,11 @@ class DuetCallout {
|
|
|
4607
4610
|
<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"/>
|
|
4608
4611
|
</svg>
|
|
4609
4612
|
`;
|
|
4610
|
-
return (hAsync(Host, { key: '
|
|
4613
|
+
return (hAsync(Host, { key: '24743df01bce253837555ad54345c8f492e0b4c5' }, hAsync("div", { key: 'b2ba8be990977bed0fa72a9144dacc9eed214815', class: {
|
|
4611
4614
|
"duet-callout": true,
|
|
4612
4615
|
"duet-theme-turva": this.theme === "turva",
|
|
4613
4616
|
"duet-m-0": this.margin === "none",
|
|
4614
|
-
} }, hAsync("figure", { key: '
|
|
4617
|
+
} }, hAsync("figure", { key: 'bd4acfa4cd109740e7ce11f808c88996c3de610d', class: "container" }, hAsync("duet-icon", { key: '1167d14a9499a4f32a8b5788d80a81503b3510d5', 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: '6f8d9810300309f121a184574f5e80779ce79dcd' }, hAsync("slot", { key: '5cdf199764e8eeab73e381cd3c6b9db26cc03a27' })), this.hasAuthorSlot && (hAsync("figcaption", { key: '3be814ad571c8f6f307922912ec0a89e78e1128a', class: "author" }, hAsync("span", { key: 'fc22089de32d73977d4183ad9bef52742f38c7eb' }, "\u2014 "), hAsync("slot", { key: '774d12f03b01d112644911373f31c2261e6c0964', name: "author" })))))));
|
|
4615
4618
|
}
|
|
4616
4619
|
get element() { return getElement(this); }
|
|
4617
4620
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4650,13 +4653,13 @@ class DuetCaption {
|
|
|
4650
4653
|
* Always the last one in the class.
|
|
4651
4654
|
*/
|
|
4652
4655
|
render() {
|
|
4653
|
-
return (hAsync(Host, { key: '
|
|
4656
|
+
return (hAsync(Host, { key: 'cefb662c677d5a45cc8e007a68ab67b0698ce2ee', class: {
|
|
4654
4657
|
"duet-caption": true,
|
|
4655
4658
|
"duet-caption-selected": this.selected,
|
|
4656
4659
|
"duet-caption-small": this.size === "small",
|
|
4657
4660
|
"duet-theme-turva": this.theme === "turva",
|
|
4658
4661
|
"duet-m-0": this.margin === "none",
|
|
4659
|
-
} }, hAsync("slot", { key: '
|
|
4662
|
+
} }, hAsync("slot", { key: '4a38bee52925d9c7db4473dd0e5bc92797b0b058' })));
|
|
4660
4663
|
}
|
|
4661
4664
|
get element() { return getElement(this); }
|
|
4662
4665
|
static get style() { return DuetCaptionStyle0; }
|
|
@@ -4740,6 +4743,7 @@ class DuetCard {
|
|
|
4740
4743
|
unsubscribeTabbingChange(this);
|
|
4741
4744
|
}
|
|
4742
4745
|
renderHeading() {
|
|
4746
|
+
var _a;
|
|
4743
4747
|
const safeHeadingLevel = sanitizeString$1(this.headingLevel);
|
|
4744
4748
|
const HeadingTag = [...duetHeadingLevels, duetBlock].some(tag => tag === safeHeadingLevel) ? safeHeadingLevel : "h2";
|
|
4745
4749
|
const headingStyles = {
|
|
@@ -4747,7 +4751,8 @@ class DuetCard {
|
|
|
4747
4751
|
};
|
|
4748
4752
|
const headingContent = (hAsync(Fragment, null, hAsync("div", { class: "duet-card-heading-grid" }, this.icon && (hAsync(Fragment, null, hAsync("duet-icon", { class: "duet-card-icon", name: this.icon, size: "medium", margin: "none", color: "currentColor" }), hAsync("duet-spacer", { direction: "horizontal", size: "small" }))), hAsync("div", { class: "duet-card-heading-text" }, this.heading ? this.heading : hAsync("slot", { name: "heading" })), this.secondaryHeading && (hAsync(Fragment, null, hAsync("duet-spacer", { direction: "horizontal", size: "small" }), hAsync("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--inline" }, this.secondaryHeading))), this.collapsible && (hAsync(Fragment, null, hAsync("duet-spacer", { direction: "horizontal", size: "small" }), hAsync("duet-icon", { class: "duet-card-caret", icon: actionArrowUp.svg, size: "small", margin: "none", color: "currentColor" })))), this.secondaryHeading && (hAsync("div", { class: "duet-card-secondary-heading duet-card-secondary-heading--new-line" }, this.secondaryHeading)), hAsync("slot", { name: "below-heading" })));
|
|
4749
4753
|
if (this.collapsible) {
|
|
4750
|
-
|
|
4754
|
+
const ariaLabel = (_a = getElementsFromNamedSlot(this.element, "heading")) === null || _a === void 0 ? void 0 : _a.map(e => e.textContent).join(" ");
|
|
4755
|
+
return (hAsync(HeadingTag, { style: headingStyles, class: "duet-card-heading duet-card-heading--collapsible", onClick: this.togglePanel, onKeyDown: this.handleKeyDown }, hAsync("button", { type: "button", "aria-controls": this.cardId, "aria-expanded": this.open ? "true" : "false", "aria-label": ariaLabel }, headingContent)));
|
|
4751
4756
|
}
|
|
4752
4757
|
else {
|
|
4753
4758
|
return (hAsync(HeadingTag, { style: headingStyles, class: "duet-card-heading" }, headingContent));
|
|
@@ -4772,10 +4777,10 @@ class DuetCard {
|
|
|
4772
4777
|
const styles = {
|
|
4773
4778
|
backgroundColor: getColorByName(this.background),
|
|
4774
4779
|
};
|
|
4775
|
-
return (hAsync(Host, { key: '
|
|
4780
|
+
return (hAsync(Host, { key: '81af7af276b2b67f13855aa9e11bd95e8abeaa2d', class: {
|
|
4776
4781
|
"duet-m-0": this.margin === "none",
|
|
4777
4782
|
"duet-card-info": this.variation === "info",
|
|
4778
|
-
} }, hAsync(TagName, { key: '
|
|
4783
|
+
} }, hAsync(TagName, { key: '9c121ca16ed478f72e8c5976cc73499de2c48de2', href: this.url, style: styles, ref: card => (this.nativeCard = card), "aria-label": this.accessibleLabel, class: {
|
|
4779
4784
|
"duet-card": true,
|
|
4780
4785
|
[this.padding]: true,
|
|
4781
4786
|
[this.variation]: true,
|
|
@@ -4785,7 +4790,7 @@ class DuetCard {
|
|
|
4785
4790
|
"duet-card-has-bg": this.background !== "gray-lightest",
|
|
4786
4791
|
"duet-card-has-icon": !!this.icon,
|
|
4787
4792
|
"duet-card-collapsed": this.collapsible && !this.open,
|
|
4788
|
-
} }, this.image && (hAsync("div", { key: '
|
|
4793
|
+
} }, this.image && (hAsync("div", { key: '370ab67ee9e9e00267dfe6a034d9258fc41deb9c', class: "duet-card-image-mask" }, hAsync("img", { key: 'f93b70812e33b71f9057b5a890baba36894012ea', src: this.image, class: "duet-card-image", loading: "lazy", alt: "", "aria-hidden": "true" }))), (this.heading || this.hasHeadingSlot) && this.renderHeading(), hAsync("div", { key: '64b6d8e1e2d02085fa6101f54cf95f15c6c4e3b8', class: "duet-card-content", id: this.cardId }, hAsync("slot", { key: '9a20c3971a53038f5786c9321214cd2dc19bdcef' }), this.hasFooter && (hAsync("div", { key: '5009d44d6ffb5c7d6774a0c22664979d84a12561', class: "duet-card-footer" }, hAsync("slot", { key: 'e177a2f18a636b5e6c093150e52614e56ad56c68', name: "footer" })))))));
|
|
4789
4794
|
}
|
|
4790
4795
|
get element() { return getElement(this); }
|
|
4791
4796
|
static get style() { return DuetCardStyle0; }
|
|
@@ -4817,7 +4822,7 @@ class DuetCard {
|
|
|
4817
4822
|
}; }
|
|
4818
4823
|
}
|
|
4819
4824
|
|
|
4820
|
-
const duetCheckboxCss = "*,*::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;margin-
|
|
4825
|
+
const duetCheckboxCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:8px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host(:last-child:not(:only-child)){margin-bottom:0 !important}:host(.duet-m-0){margin:0 !important}.duet-label{position:relative;z-index:100;display:inline;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);vertical-align:top;cursor:pointer;background:transparent;transition:300ms ease}.duet-theme-turva .duet-label{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-label span{display:inline-block;width:calc(100% - 32px);font-size:1rem;font-weight:400;vertical-align:top}.duet-checkbox-container{position:relative;width:100%;height:100%}.duet-checkbox{padding:14px !important;position:absolute;top:0;left:0;z-index:2;width:100%;height:100%;cursor:pointer;opacity:0}.duet-checkbox+label::before{z-index:100;display:inline-block;width:20px;height:20px;margin:2px 10px 1px 1px;vertical-align:top;content:\"\";background:rgb(255, 255, 255);border:1px solid rgb(8, 42, 77);border-radius:4px}.duet-theme-turva .duet-checkbox+label::before{border-color:rgb(23, 28, 58)}.duet-checkbox:checked+label::before{background:rgb(0, 119, 179);border:1px solid rgb(0, 119, 179)}.duet-theme-turva .duet-checkbox:checked+label::before{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-checkbox:focus+label::before{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-checkbox[aria-invalid=true]+label::before{background:#fdf4f6;border-color:rgb(214, 28, 82)}.duet-checkbox+label{position:static}.duet-checkbox:checked+label::after{position:absolute;top:6px;left:5px;z-index:200;width:12px;height:12px;pointer-events:none;content:\"\";background:transparent url(\"data:image/svg+xml,%3Csvg%20fill%3D%27white%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%20width%3D%2724%27%20height%3D%2724%27%20viewBox%3D%270%200%2024%2024%27%3E%3Cpath%20d%3D%27M23.374.287a1.5%2C1.5%2C0%2C0%2C0-2.093.345L7.246%2C20.2%2C2.561%2C15.511A1.5%2C1.5%2C0%2C1%2C0%2C.439%2C17.632l5.935%2C5.934a1.525%2C1.525%2C0%2C0%2C0%2C2.279-.186l15.066-21A1.5%2C1.5%2C0%2C0%2C0%2C23.374.287Z%27%20%2F%3E%3C%2Fsvg%3E\") no-repeat 0 0;background-size:100% auto}.duet-checkbox[disabled]{cursor:default}.duet-checkbox[disabled]+label{color:rgb(98, 121, 138)}.duet-theme-turva .duet-checkbox[disabled]+label{color:rgb(143, 147, 158)}.duet-checkbox[disabled]+label::before{border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-checkbox[disabled]+label::before{border-color:rgb(199, 202, 207)}.duet-checkbox[disabled]:checked+label::before{background:rgb(127, 150, 165);border:1px solid rgb(127, 150, 165)}.duet-theme-turva .duet-checkbox[disabled]:checked+label::before{background:rgb(143, 147, 158);border-color:rgb(143, 147, 158)}.duet-checkbox-error{margin-left:31px;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(214, 28, 82);border-radius:4px}.duet-theme-turva .duet-checkbox-error{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(214, 28, 82)}.duet-label-hidden .duet-label span,.duet-label-hidden .duet-checkbox-error span{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}";
|
|
4821
4826
|
var DuetCheckboxStyle0 = duetCheckboxCss;
|
|
4822
4827
|
|
|
4823
4828
|
class DuetCheckbox {
|
|
@@ -4913,9 +4918,12 @@ class DuetCheckbox {
|
|
|
4913
4918
|
* Always the last one in the class.
|
|
4914
4919
|
*/
|
|
4915
4920
|
render() {
|
|
4916
|
-
|
|
4917
|
-
|
|
4918
|
-
|
|
4921
|
+
const identifier = this.identifier || this.checkboxId;
|
|
4922
|
+
return (hAsync(Host, { key: 'b766728b3dfefde1c6deefe6d0db2f549cd8aad3', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'caeaf8e29cbfdc3f684a64a5c7e7e5ef6513432b', class: {
|
|
4923
|
+
"duet-checkbox-container": true,
|
|
4924
|
+
"duet-label-hidden": this.labelHidden,
|
|
4925
|
+
"duet-theme-turva": this.theme === "turva",
|
|
4926
|
+
} }, hAsync("input", { key: '6ab801fbe93327d25187b276878076bcfdf48b36', ref: input => (this.nativeInput = input), type: "checkbox", onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, value: this.value, class: { "duet-checkbox": true, disabled: this.disabled }, checked: this.checked, disabled: this.disabled, tabindex: this.accessibleIndex, "aria-invalid": this.error ? "true" : "false", "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-selected": this.accessibleSelected, required: this.required, role: this.role, name: this.name, id: identifier }), hAsync("label", { key: '68e27e7756a0db41709ff8a3ae200ee99ff786b1', class: "duet-label", htmlFor: identifier }, hAsync("span", { key: '3db3ad22a9878f989e6dc47fee0c37c7d5195f42' }, this.label)), hAsync("div", { key: '9d27e662b34db5a4db91e3a7e7d9f989ba933f94', class: "duet-checkbox-error", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '7901825f9db5ff2a62876fa4324b449155ffac6a' }, this.error)))));
|
|
4919
4927
|
}
|
|
4920
4928
|
get element() { return getElement(this); }
|
|
4921
4929
|
static get style() { return DuetCheckboxStyle0; }
|
|
@@ -4972,11 +4980,11 @@ class DuetCheckmark {
|
|
|
4972
4980
|
inheritGlobalTheme(this);
|
|
4973
4981
|
}
|
|
4974
4982
|
render() {
|
|
4975
|
-
return (hAsync(Host, { key: '
|
|
4983
|
+
return (hAsync(Host, { key: '621afec8eb7b55088937983fdd862cdf3876c01b', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'dd3020a77469f7c8d14006f2495f2fe7a6849290', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: '806bb3821f8947e99f10b031f8b20f3d0063f579', class: {
|
|
4976
4984
|
"duet-checkmark-container": true,
|
|
4977
4985
|
center: this.center,
|
|
4978
4986
|
"duet-checkmark-radio": this.type === "radio",
|
|
4979
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4987
|
+
} }, this.checked && hAsync("div", { key: 'cd19c44014e480d7b6a886cdd7200da58f2c8bf1', class: "duet-checkmark" })))));
|
|
4980
4988
|
}
|
|
4981
4989
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4982
4990
|
static get cmpMeta() { return {
|
|
@@ -5298,7 +5306,7 @@ class DuetChip {
|
|
|
5298
5306
|
onBlur: this.onBlur,
|
|
5299
5307
|
ref: el => (this.focusableElement = el),
|
|
5300
5308
|
};
|
|
5301
|
-
return (hAsync(Host, { key: '
|
|
5309
|
+
return (hAsync(Host, { key: 'f5866959a8c96e4c06f87b9da16bb1a1fce05235', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: 'f118e5cb6fd7e7a36b783b6b136b85848493d7b2', class: classes }, hAsync("button", Object.assign({ key: '8136c5fc8d81b414f102d52af06bef9a4b85bf8c', 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: 'bcbd7ed8bda270105ad63bda748c3e99440e210a', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '878b7a3bd90f777342a9f01ec3b9d6487c84ae62', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '80af3c2e2ed0326f64ba76df23cb013ad6453bc7' })))), this.variation === "input" && (hAsync("span", { key: 'b58b2486ea2a68bf3cb4f7936acd3c1bae7a8f01', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: 'aab83e094723fea4006b2d6d5b7d0c7561741dc0', 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: '7060c0297c7a9ac439e1b8cacf331286076e49d3', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '285b4f499a36e796777a68ac9d625776bd01f8fe', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'abad02d6dc1809c0bed85b1c51e9150835470e24' })), hAsync("button", { key: '89239750f6c9738272cc92142889f59a7c8d4ea0', 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: 'da6a4b111356b20f82bfc083cbaaf35ce9facdaa', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'a7f9ee8ddaf8f256bf6a43ec10e4df16da91fe01', class: classes }, hAsync("input", Object.assign({ key: '9717dd6ef3002cb5bb0382bbcf0c93f4e4b9a7e6', "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: '1cf57481446293957a2a639afea5a72d847f82eb', htmlFor: identifier }, this.icon && (hAsync("span", { key: '491a9eb7a0d9ea0fa1ed30e49826ecc51e5fa394', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '1ca20585deaa344a434a013fac217e8191432b31', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '6bfd6b12f71a7264b657c164a748de134d0e7976', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'f51bf27633eb450f0469f43b569e6dc8ec19a5a2' }), this.popupElement && (hAsync("span", { key: 'c8e24b22bc5dada17637c970f5c240a0ab1432dd', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: '77bff8f2d2d4d2bacfd35e466c8917af0dee3712', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: '9301ae9f35e1f8b98e9fb22581054a7d9e4e95f7', class: classes }, hAsync("slot", { key: 'ef01900b142a3ccbb3df9609de81c765d171fc7a', name: "input" }), hAsync("label", { key: '5803f303e6073ea2521400ad5a019668752dc72f', htmlFor: identifier }, this.icon && (hAsync("span", { key: '3a02f6262d9409fd67f5dec28333813e00059ee2', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '782a8428f4516926dd572640670084f17f1a0a6c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '20bbe0863bb89ba63507469f3d47c910ca08842c', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: 'b9f66eeaa21825e40fde477edc0928e461ff3b62' }))))));
|
|
5302
5310
|
}
|
|
5303
5311
|
get element() { return getElement(this); }
|
|
5304
5312
|
static get watchers() { return {
|
|
@@ -5676,7 +5684,7 @@ class DuetChoice {
|
|
|
5676
5684
|
*/
|
|
5677
5685
|
render() {
|
|
5678
5686
|
const identifier = this.identifier || this.choiceId;
|
|
5679
|
-
return (hAsync(Host, { key: '
|
|
5687
|
+
return (hAsync(Host, { key: 'e45e3d883ff601f42cda53bb745589a6cff07669', class: {
|
|
5680
5688
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
5681
5689
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
5682
5690
|
"duet-m-0": this.margin === "none",
|
|
@@ -5684,10 +5692,10 @@ class DuetChoice {
|
|
|
5684
5692
|
"duet-theme-turva": this.theme === "turva",
|
|
5685
5693
|
"no-hover": this.isHovering,
|
|
5686
5694
|
disabled: this.getDisabled(),
|
|
5687
|
-
} }, hAsync("div", { key: '
|
|
5695
|
+
} }, hAsync("div", { key: '269cb0465b9088983bb4a9c3b0fab4ee0e4a2bd4', class: {
|
|
5688
5696
|
"duet-choice-card-flextainer": true,
|
|
5689
5697
|
"duet-theme-turva": this.theme === "turva",
|
|
5690
|
-
} }, hAsync("div", { key: '
|
|
5698
|
+
} }, hAsync("div", { key: 'f58dab3ebe6b31f9284d609e62d8c97e3056160a', class: {
|
|
5691
5699
|
"duet-choice-card": true,
|
|
5692
5700
|
"has-icon": !!this.icon,
|
|
5693
5701
|
"has-info": this.hasInfo,
|
|
@@ -5696,16 +5704,16 @@ class DuetChoice {
|
|
|
5696
5704
|
collapsible: this.collapsible,
|
|
5697
5705
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
5698
5706
|
"duet-p-0": this.padding === "none",
|
|
5699
|
-
} }, this.type === "checkbox" && (hAsync("input", { key: '
|
|
5707
|
+
} }, this.type === "checkbox" && (hAsync("input", { key: '0223b78eb319e469137a52e6b64898d0862eafac', class: "duet-choice-input", type: this.type, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, disabled: this.getDisabled(), required: this.required, id: identifier, name: this.name, value: this.value, checked: this.checked, "aria-label": this.getLabel(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedby(), onKeyDown: this.handleKeyDown, ref: input => (this.focusableElement = input) })), hAsync("slot", { key: 'b438afa42e1d50c6aa9a145e656aed1b0f801efa', name: "choiceradioinput" }), hAsync("label", { key: 'c08ba3234495038c9dedce7247aef93e9171e4c1', class: {
|
|
5700
5708
|
"duet-choice-label": true,
|
|
5701
5709
|
"has-before-text": this.hasBeforeText,
|
|
5702
5710
|
checked: this.checked,
|
|
5703
5711
|
focus: this.focus,
|
|
5704
5712
|
disabled: this.getDisabled(),
|
|
5705
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
5713
|
+
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '822b608190ed8058e5083664364f7802f36bbc12', name: "before-text" }), this.icon && (hAsync("div", { key: '47be54fb7c3c00ab9cdff531a158e3bf8131d1eb', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: 'ba85bd90adcc57f4f3b4641d10417f14c0a3d0a7', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: '9bffd97bdf78929c3e18eed10f9903c068f84284', class: "duet-choice-card-text" }, hAsync("div", { key: '7378526d0c1be754eeef8acb758b800534710af6' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: '2c026043a64085f44ec11e2b59fa7d3625880b98' }, hAsync("duet-spacer", { key: '23bd4874a25550df5c010a4ac2f4753b7bebe095', size: "xx-small" }), hAsync("duet-caption", { key: '1e91ca0d61dcbb29b48095ade98d69f35f8d034e', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: 'af539e1466767e981b523efd118aaadec4c3ac7e' }, hAsync("duet-spacer", { key: '3062fe17e11d61e8e02364762088fc33e3f123fd', size: "xx-small" }), hAsync("slot", { key: '2a4faf03104769cf9c8c12b3700608ccbf353233', name: "additional" })))), hAsync("div", { key: 'a31c056ac9d543e7ee157fd4e2dddfd64cc823a9' }, hAsync("div", { key: '8e139394a6669f009546db7274152790fb099cb0', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: '661c15b7dd0fbe9012e16841c1f082e85fd8f6de', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: 'c8b30535f36197e9f435b806ca23f0c8cbf81e4a', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
5706
5714
|
"duet-choice-info-toggle": true,
|
|
5707
5715
|
"duet-theme-turva": this.theme === "turva",
|
|
5708
|
-
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: '
|
|
5716
|
+
}, onMouseEnter: this.onMouseEnter, onMouseLeave: this.onMouseLeave, onClick: this.toggleInfo, disabled: this.getDisabled(), "aria-expanded": this.isInfoOpen ? "true" : "false", "aria-label": `${this.infoLabel} ${this.label}`, "aria-controls": this.expandId, tabindex: this.type === "radio" && !this.checked ? "-1" : "0", type: "button", onKeyUp: e => this.handleEscape(e) }, hAsync("div", { key: 'a658c863b61f1d5f8949e24ed9a59108c8a6fa76', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: '6d4aae6cdecafd186807a43914409cb35e8fdb38', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: '9796521f397d0b976a84884108d4138a054c3b92', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
5709
5717
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
5710
5718
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
5711
5719
|
} }, hAsync("span", { id: this.headerId }, hAsync("slot", { name: "header" })), this.hasInfo ? (hAsync("span", { ref: span => (this.infoContainer = span), tabindex: "0", class: "duet-choice-info-container", onKeyUp: e => this.handleEscape(e) }, hAsync("span", null, hAsync("slot", { name: "info" })), hAsync("slot", null))) : (hAsync("span", { id: `${this.choiceId}-collapsible-content` }, hAsync("slot", null)))))) : null));
|
|
@@ -5879,14 +5887,14 @@ class DuetChoiceGroup {
|
|
|
5879
5887
|
* Always the last one in the class.
|
|
5880
5888
|
*/
|
|
5881
5889
|
render() {
|
|
5882
|
-
return (hAsync(Host, { key: '
|
|
5890
|
+
return (hAsync(Host, { key: 'fda102de643d0654008818d2fcde77410c6cdde2', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
5883
5891
|
horizontal: this.direction === "horizontal",
|
|
5884
5892
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
5885
5893
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
5886
5894
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
5887
5895
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
5888
5896
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
5889
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
5897
|
+
} }, hAsync("duet-fieldset", { key: '3f0fb7608260d92a4e92efedadb5e2a115a6d6c7', label: this.label, labelHidden: this.labelHidden, compactLabel: true, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: '8c3ec02a326faca65617b165b7746e5e2963cce4', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c5ae2e61d96374bca1b12acdea2f47596401f456', name: "tooltip" }), hAsync("div", { key: '399845c3e169ceca3476e685bcd2ee76f8c45b02', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'ea9969eee1a0c2e454e59bffc03952c2247c119a' })))));
|
|
5890
5898
|
}
|
|
5891
5899
|
get element() { return getElement(this); }
|
|
5892
5900
|
static get watchers() { return {
|
|
@@ -6777,14 +6785,14 @@ class DuetCollapsible {
|
|
|
6777
6785
|
*/
|
|
6778
6786
|
render() {
|
|
6779
6787
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6780
|
-
return (hAsync(Host, { key: '
|
|
6788
|
+
return (hAsync(Host, { key: '249132a1b5e58240d37d3d995a4ef53378eff63f', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '7b9c2682402ac40049fa13406131a1d1a55eb051' }, hAsync("button", { key: 'cb3b234ce9ee241fa3f63c81850ea418af00f045', class: {
|
|
6781
6789
|
"duet-collapsible-heading": true,
|
|
6782
6790
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6783
6791
|
"duet-theme-turva": this.theme === "turva",
|
|
6784
6792
|
"duet-collapsible-normal-weight": this.headingWeight === "normal",
|
|
6785
6793
|
"has-after-heading": this.hasAfterHeading,
|
|
6786
6794
|
"full-width": this.headingFullWidth,
|
|
6787
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
6795
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.accessibleLabel, "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '4aebb0229f1a8436ef5413b696c8d8674d81bd7d', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'a67ec08b1f5f0ef4e3b7ece52664104d9d2df10b', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: 'a2a5c24dd64f3bab25c8167c11f738953e78a948', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '9d4820bb70777bfcaee8fc76f47fcba4e9ed9a91', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'cbe50074d804f79c746f29760d3536241e5d2717', name: "after-heading" }))))), hAsync("div", { key: '8cd82a8d4e2aa518cd1c9ca8451ace90a4ff8ec9', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '2bf409c9b05c884ce0c1de5358c4446ed0d6dc34' }))));
|
|
6788
6796
|
}
|
|
6789
6797
|
get element() { return getElement(this); }
|
|
6790
6798
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -7402,10 +7410,10 @@ class DuetContactCard {
|
|
|
7402
7410
|
render() {
|
|
7403
7411
|
const isTurva = this.theme === "turva";
|
|
7404
7412
|
const theme = isTurva ? "turva" : "default";
|
|
7405
|
-
return (hAsync(Host, { key: '
|
|
7413
|
+
return (hAsync(Host, { key: 'cc2e48ee12ea08d98bdcbffb297a6a2ed218e6b9', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '0f5aed0d311a0406993da0a933249ded67a9ad50', class: {
|
|
7406
7414
|
"duet-contact-card": true,
|
|
7407
7415
|
"duet-theme-turva": this.theme === "turva",
|
|
7408
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7416
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'e05a767fb9d0320158709bc7e04b53cf81cac23c' }, this.name && (hAsync("duet-heading", { key: '8af67cd790130a68be2360b74416e56776e07815', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '4e52d9752abdda1c14a711af4d1f0c0b587a661b', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: 'd5ef84acee777453998cc1094e0f6d3175099764', class: "email" }, hAsync("duet-icon", { key: '891e836d988732d4212878e8eeca2e3e7b1fa06b', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '7a1cc4a7bfa96f42084565ddde8ced1a5bcbdc76', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'aa53d063b0d6ea053a5f7826307d76b46a6687f6', class: "phone" }, hAsync("duet-icon", { key: 'b7fa45571c0ea392949010a31092aed317663f6e', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '70206b481553eec0d32322c2885a7c9a525a4398', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '59e34fec5982ee552dd914d1a40897d2a7d4b04a', class: "call-to-action" }, hAsync("duet-button", { key: '9b6982923e48f4b6ecdd123cf733d162a42ffa5b', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: 'ec7625ef7d5a327d1bfa192ddd950cfbb26db708' }), hAsync("slot", { key: 'c875ed1c02e6ef4aab02000dbe3e83fda4154315' }))));
|
|
7409
7417
|
}
|
|
7410
7418
|
get element() { return getElement(this); }
|
|
7411
7419
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7472,7 +7480,7 @@ class DuetCookieConsent {
|
|
|
7472
7480
|
* Always the last one in the class.
|
|
7473
7481
|
*/
|
|
7474
7482
|
render() {
|
|
7475
|
-
return (hAsync(Host, { key: '
|
|
7483
|
+
return (hAsync(Host, { key: 'a1ecd4a76baeb20fb29f1b50713568a61720c2eb', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '6b17b8d174b8bc5aa8cc5e8b0df9ddd034a1a2b0', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'd56a7cad1fe926db95e6124f4956d638b87d8002', class: "duet-cookie-consent-content" }, hAsync("div", { key: '7204cfdbde061697e6d8a9f81f446257eadf8c66', class: "expand" }, hAsync("slot", { key: '4a776a6aff7404999fac0ffb8450a35f9446a259' })), hAsync("duet-spacer", { key: 'e7f2aeaa800f7b5ae0e87343e46f59e4e46bf558', size: "large", direction: "horizontal" }), hAsync("div", { key: '35fc1ff56232a1bcf2b56867188ec75017be905f' }, hAsync("duet-button", { key: 'f59636a4e6a53ff79bddabe98ef61cd75b02b45e', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7476
7484
|
}
|
|
7477
7485
|
get element() { return getElement(this); }
|
|
7478
7486
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -7940,6 +7948,11 @@ class DuetDatePicker {
|
|
|
7940
7948
|
fi: "Liian myöhäinen päivämäärä",
|
|
7941
7949
|
sv: "Datum för sent",
|
|
7942
7950
|
},
|
|
7951
|
+
valueMissing: {
|
|
7952
|
+
en: "Date required",
|
|
7953
|
+
fi: "Päivämäärä vaaditaan",
|
|
7954
|
+
sv: "Datum krävs",
|
|
7955
|
+
},
|
|
7943
7956
|
};
|
|
7944
7957
|
this.enableActiveFocus = () => {
|
|
7945
7958
|
this.focusTarget = "day-button";
|
|
@@ -8291,13 +8304,13 @@ class DuetDatePicker {
|
|
|
8291
8304
|
if (maxDate) {
|
|
8292
8305
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
8293
8306
|
}
|
|
8294
|
-
return (hAsync(Host, { key: '
|
|
8307
|
+
return (hAsync(Host, { key: '92c25a766e7e2e60a83e54ac1c7edf470a7ff1a0', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '6cdb1b0f01b6c78d02c671500f191616c0356145', class: "duet-date" }, hAsync(DatePickerInput, { key: '69e8fad5a45210b3dcee7be49c780823598ac8e3', hasFocus: this.inputHasFocus, value: this.value, valueAsDate: valueAsDate, formattedValue: this.inputValue, language: this.language, onInput: this.handleInputChange, onBlur: this.handleBlur, onFocus: this.handleFocus, onClick: this.toggleOpen, name: this.name, disabled: this.disabled, error: this.error || this.internalValidityError || null, role: this.role, required: this.required, theme: this.theme, tooltip: this.tooltip, tooltipDirection: this.tooltipDirection, labelHidden: this.labelHidden, placeholder: this.placeholder, inputLabel: this.label, identifier: this.identifier, buttonRef: element => (this.datePickerButton = element), inputRef: element => (this.datePickerInput = element), accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy, accessibleLiveError: this.accessibleLiveError, echoPlaceholder: this.echoPlaceholder, caption: this.caption })), hAsync("div", { key: '1c76a02e5be4e655cd4e0b149af246b207ad15a3', class: {
|
|
8295
8308
|
"duet-theme-turva": this.theme === "turva",
|
|
8296
8309
|
"duet-date-dialog": true,
|
|
8297
8310
|
left: this.direction === "left",
|
|
8298
8311
|
error: !!this.error,
|
|
8299
8312
|
active: this.open,
|
|
8300
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
8313
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: 'af91b4916f0bc2a1465682928af90a078b6b4e4c', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: '4f9b654ab68252f3632729aafa335e4c4a118c58', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: '9536e14ab5a6e019da01e3556073282f7ad9c638', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: 'f7f40e25da3fdb801a3716cbb6da9bef4908b298', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: '89f68b3684a65cdc13c3592a3740f868fcf1e307', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: 'b9329644fbc88727451284e7c22bedba319190f8', margin: "none" }, this.label), hAsync("button", { key: 'f9caca17691f6998d54308443eac7cc094f73169', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: 'd92f0be1a0d6fb6f3d8c932f014c2f514c1319d2', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: '0f85d5bd40d51ad656f14420160bd83ab7ab2e12' }, text.closeLabel))), hAsync("div", { key: 'b7efee982426325152b879ac8795f75c55630ef9', class: "duet-date-dialog-header" }, hAsync("div", { key: '624226cb18e668939b48026df20ea362007d5eb1', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: '64ed0e02afe0315c73e483a212d6714fa9f8c1e6' }, hAsync("h2", { key: '1f10a89bef9824b1ebff2c0835c0cb4fb9847e89', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: 'f85bdb4030a8602df2642c8ff2c8e6a6725c139c' }, hAsync("label", { key: '608c3f38b8de7a92d6eaf74021c9dba15d5c1412', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: '268d9e71e46608d0aaaa19568b225b08089e0081', class: "duet-date-dialog-select" }, hAsync("select", { key: 'ea1b01e8f95fc44ea07b40b3593f2a22996cd33d', id: this.monthSelectId, class: "duet-date-month-select", ref: element => (this.monthSelectNode = element), onChange: this.handleMonthSelect }, text.monthLabels.map((month, i) => (hAsync("option", { key: month, value: i, selected: i === focusedMonth, disabled: !inRange(new Date(focusedYear, i, 1), minDate ? startOfMonth(minDate) : null, maxDate ? endOfMonth(maxDate) : null) }, month)))), hAsync("div", { key: 'e6ae4d02638eaf53c593c98924733d72312bde26', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '18600d4d1cc074e8baca7a2e343ad92afb12f44d' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: 'e2d8b0f87130ff502900c86b2cc589b7df303bf8', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: 'c476ea21946afa2e3d484cbf054037435794d5e7' }, hAsync("label", { key: 'e670550be9ec69b1e8831aa4ae6bd223eb4cdc70', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: '853c7d5cd2639552d1c9be5266f4a3c7cb44cccb', class: "duet-date-dialog-select" }, hAsync("select", { key: '5b66d6b7ace30ed705429d96434dd886b39940e7', id: this.yearSelectId, class: "duet-date-year-select", onChange: this.handleYearSelect }, range(minYear, maxYear).map(year => (hAsync("option", { key: year, selected: year === focusedYear }, year)))), hAsync("div", { key: 'c8c57b69fff46d66ec5492bbe51f6c20d5367c7c', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '9faf074f79574e751b74f7a14e312b33aab586cb' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: '14fe782187efaba9c6403446f87a337585386c56', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: 'fbdfdf54c9a1d2133764d8c7465529d65e49e77d', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: 'aedcc0e167b29c902b69313821c454ff08f32693', accessibleLabel: i18n$2[this.language].prevMonthLabel, actionName: i18n$2[this.language].prevMonthLabel, class: "duet-date-dialog-prev", onClick: this.handlePreviousMonthClick, disabled: prevMonthDisabled, "icon-name": "action-arrow-left-small" }, text.prevMonthLabel), hAsync("duet-action-button", { key: '2d872fe81ca740dba603c1c1a214d5bc7cf23be1', accessibleLabel: i18n$2[this.language].nextMonthLabel, actionName: i18n$2[this.language].nextMonthLabel, class: "duet-date-dialog-next", onClick: this.handleNextMonthClick, disabled: nextMonthDisabled, "icon-name": "action-arrow-right-small" }, text.nextMonthLabel))), hAsync(DatePickerMonth, { key: 'a05b3cf4dd91b6256fa336c2ceddf260fbe64e32', selectedDate: valueAsDate, focusedDate: this.focusedDay, onDateSelect: this.handleDaySelect, onKeyboardNavigation: this.handleKeyboardNavigation, labelledById: this.dialogLabelId, language: this.language, theme: this.theme, min: minDate, max: maxDate, focusedDayRef: element => (this.focusedDayNode = element), onFocusEnter: this.enableActiveFocus, onFocusExit: this.disableActiveFocus })), hAsync(FocusGuard, { key: 'de51c28da1e9b5d2f87dc636006ad888f2486650', moveFocusTo: this.closeButtonNode }))));
|
|
8301
8314
|
}
|
|
8302
8315
|
get element() { return getElement(this); }
|
|
8303
8316
|
static get watchers() { return {
|
|
@@ -8377,7 +8390,7 @@ class DuetDivider {
|
|
|
8377
8390
|
*/
|
|
8378
8391
|
render() {
|
|
8379
8392
|
const background = getColorByName(this.color);
|
|
8380
|
-
return (hAsync("div", { key: '
|
|
8393
|
+
return (hAsync("div", { key: '25f4714a082e71f77ac7a873e1f4a37a9ba44e1c', class: {
|
|
8381
8394
|
"duet-m-0": this.margin === "none",
|
|
8382
8395
|
"duet-m-s": this.margin === "small",
|
|
8383
8396
|
"duet-divider": true,
|
|
@@ -8562,9 +8575,17 @@ class DuetEditableTable {
|
|
|
8562
8575
|
* Render Methods
|
|
8563
8576
|
*/
|
|
8564
8577
|
render() {
|
|
8565
|
-
{
|
|
8566
|
-
|
|
8567
|
-
|
|
8578
|
+
return (hAsync(Host, { key: 'e0065483ff2e0a3993860c8a4d070937902722aa', class: {
|
|
8579
|
+
[`duet-editable-table-${this.variation}`]: true,
|
|
8580
|
+
"duet-editable-table": true,
|
|
8581
|
+
[`duet-editable-table-${this.theme}`]: true,
|
|
8582
|
+
// sticky only valid when in regular table layout
|
|
8583
|
+
"duet-editable-table-scrollable": this.breakpoint === "none-scrollable",
|
|
8584
|
+
"duet-editable-table-sortable": this.sortable,
|
|
8585
|
+
"duet-editable-table-actions": !!this.actions,
|
|
8586
|
+
"duet-m-0": this.margin === "none",
|
|
8587
|
+
"duet-theme-turva": this.theme === "turva",
|
|
8588
|
+
} }, hAsync("duet-table", { key: '37756309155291fdc6d3113763314f524036daba', class: "duet-editable-table-table", sticky: this.sticky, stickyDistance: this.stickyDistance, margin: this.margin, theme: this.theme, variation: this.variation, breakpoint: this.breakpoint, "hide-head-visually": this.hideHeadVisually }, hAsync("table", { key: '6ed48cc74d29b6c4110eb776fbd4b3afe494a309', role: this.accessibleRole }, hAsync("caption", { key: '54ac0fe11e3828afb9fe55efe2091c051cbf606a' }, hAsync("slot", { key: '0748c8c3a1a86c9bb2e5461bc0ae2febe813ba96', name: "tcaption" })), hAsync("thead", { key: '70a834880f36029abaf6bd4c9b18a41445d5e42f' }, this.hasHeadSlotFirst && (hAsync("tr", { key: 'f2ee281168541b6f200e49a8cf70e92c5a304207' }, hAsync("td", { key: 'cf84d555a041b917cc3d16367f0def966c66575a', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '62be9b17b585a33e2ab03443c35036271077c98c', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: '330b1ab67298bbaf5d1e811ddd5f55d25643a85f' }, hAsync("td", { key: '0153682e3091a90a81d47e12f66cbb5eb9147f8c', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '53c665398c691d197be3444a2a4f78da2b433b30', name: "thead-last" }))))), hAsync("tbody", { key: 'c4de0827a831ef580cbf2b3927957aa4e0f74e6e' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: 'b222604c1a1967cc0a214677160d02edb71f6c27' }, hAsync("tr", { key: '3a55e26899ec472bddcecf7031cd139961c9d914' }, hAsync("td", { key: '924929d81c5308e0dbde8379b3ad93afe27339ac', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: 'f475ebbe8088e6fd696500f6bf3221ebeb0fa8e1', name: "tfoot" })))))))));
|
|
8568
8589
|
}
|
|
8569
8590
|
get element() { return getElement(this); }
|
|
8570
8591
|
static get style() { return DuetEditableTableStyle0; }
|
|
@@ -8614,11 +8635,11 @@ class DuetEmptyState {
|
|
|
8614
8635
|
* Always the last one in the class.
|
|
8615
8636
|
*/
|
|
8616
8637
|
render() {
|
|
8617
|
-
return (hAsync(Host, { key: '
|
|
8638
|
+
return (hAsync(Host, { key: '285d5984f45086c54305c643e1974d8ff23e0207' }, hAsync("div", { key: '169b26d231a957c843b068a66511ea60f11143a3', class: {
|
|
8618
8639
|
"duet-empty-state": true,
|
|
8619
8640
|
"duet-theme-turva": this.theme === "turva",
|
|
8620
8641
|
"duet-is-small": this.size === "small",
|
|
8621
|
-
} }, hAsync("duet-icon", { key: '
|
|
8642
|
+
} }, hAsync("duet-icon", { key: '2a786961ff8018a43ff5ee297fca3a8ba5c0d63d', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: 'd3e51fbeb20d942c4593f1eda4f704e92d481014' }, hAsync("slot", { key: '06438b354c91955053ab1fd5a4f7447673909ea6' })))));
|
|
8622
8643
|
}
|
|
8623
8644
|
get element() { return getElement(this); }
|
|
8624
8645
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8674,20 +8695,20 @@ class DuetFieldset {
|
|
|
8674
8695
|
* Always the last one in the class.
|
|
8675
8696
|
*/
|
|
8676
8697
|
render() {
|
|
8677
|
-
return (hAsync(Host, { key: '
|
|
8698
|
+
return (hAsync(Host, { key: '54b468baaf4dd04309e347b3ad7886a84af47e70', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: 'f28b6b4150eed4c469cf682559701ba75100bccd', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8678
8699
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8679
8700
|
// once they do, we can remove errors from the aria-describedby
|
|
8680
8701
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8681
8702
|
class: {
|
|
8682
8703
|
"duet-fieldset": true,
|
|
8683
8704
|
"duet-theme-turva": this.theme === "turva",
|
|
8684
|
-
} }, hAsync("legend", { key: '
|
|
8705
|
+
} }, hAsync("legend", { key: '18c10c7e8d4f3e0c8600a139d54f43b09c4e45ab', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '91038b7ead81fc4cff1f45bdd5a115171d27f0e8' }, this.label), this.caption && hAsync("span", { key: 'a651082ad238bc8f7f16728a1144cf03c3df338e' }, this.caption)), hAsync("div", { key: 'e463811e43f250b812d8e7efd14f4955a3f683c7', class: {
|
|
8685
8706
|
"duet-legend-wrapper": true,
|
|
8686
8707
|
"duet-legend-has-caption": !!this.caption,
|
|
8687
8708
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8688
8709
|
"duet-legend-hidden": this.labelHidden,
|
|
8689
8710
|
"duet-legend-compact": this.compactLabel,
|
|
8690
|
-
} }, hAsync("div", { key: '
|
|
8711
|
+
} }, hAsync("div", { key: 'b3644143964cf701cf9821abec4fb6b4f77f46ac', class: "duet-fieldset-label" }, hAsync("span", { key: '9645038dd64c0d028d0fba2bc2d2df9157bdf5c0', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '9bda9a72a19a343ae0b62bfd3e9962f5adb29c2c', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '5939d10ccde6c9b1beded70128458a1e7d831b4d', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '9a7631156e00e7bd460fe08e74aec8e68920dc4a', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'df21df9932f6ad85e4682a9216ac816da5369a95' }), hAsync("span", { key: '56f7b06185c295981802aa98bfb06121c6286fea', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '779d4c05e3cf5d5240af36d2338b1a757f1e947e' }, this.error)))));
|
|
8691
8712
|
}
|
|
8692
8713
|
get element() { return getElement(this); }
|
|
8693
8714
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8831,15 +8852,15 @@ class DuetFooter {
|
|
|
8831
8852
|
render() {
|
|
8832
8853
|
const text = getLocaleString(i18n$1, this.language);
|
|
8833
8854
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8834
|
-
return (hAsync("footer", { key: '
|
|
8855
|
+
return (hAsync("footer", { key: '7df55c7d655b77f110d55b85ec86e7884f5c8d7e', class: {
|
|
8835
8856
|
"duet-footer": true,
|
|
8836
8857
|
"duet-m-0": this.margin === "none",
|
|
8837
8858
|
"duet-theme-turva": this.theme === "turva",
|
|
8838
8859
|
"duet-footer-simple": this.variation === "simple",
|
|
8839
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8860
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '2b32d2272dc4dc40168f3e81918a1e1efad970de', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: '950af53de6fdcb8affc352bc1d4a7fe129b385d3', class: {
|
|
8840
8861
|
"duet-footer-top": true,
|
|
8841
8862
|
"duet-has-info": this.hasInfoSlot,
|
|
8842
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8863
|
+
}, part: "top" }, hAsync("div", { key: '5fb042ef3a17ff164961e7b73fb765d3911c6d01', class: "footer-top-logo" }, hAsync("duet-logo", { key: '81426531a428181b61571ddc2c008e2fee0b7b31', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: 'efb8ad879b986cf8a0d8921ac83f746c8514d3c3', class: "footer-top-right-container" }, hAsync("slot", { key: '8cfd7e50461e06f6c2138114c599c0222d40a8f8', name: "info" }), hAsync("div", { key: 'ee51536afc0cfc9a8f29f6daad2efaf959f67c07', class: "footer-top-items" }, this.processedItems &&
|
|
8843
8864
|
this.processedItems.map((item, index) => {
|
|
8844
8865
|
var _a, _b, _c, _d, _e, _f;
|
|
8845
8866
|
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:"))
|
|
@@ -8849,7 +8870,7 @@ class DuetFooter {
|
|
|
8849
8870
|
: "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:"))
|
|
8850
8871
|
? "medium"
|
|
8851
8872
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8852
|
-
}))))), hAsync("slot", { key: '
|
|
8873
|
+
}))))), hAsync("slot", { key: 'b745d299193ac3c349416cdc00e0e8fe8b00cc0b', name: "extra" }), hAsync("p", { key: '251e9182681b71b0d07e41d7df3f7469bf1b7e53', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '857bb6f4883ae0656d30b2c47fb955ea64fdf064', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '913d0e1e22975d0a46bdd5f33cf05707c475b8e3', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '99fcb2936895ef6216e4b4e46cdf0910f7128505' }, 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: '3f2de8ce8cb237e92b75d7569811f5ac022d7dc5', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8853
8874
|
}
|
|
8854
8875
|
get element() { return getElement(this); }
|
|
8855
8876
|
static get watchers() { return {
|
|
@@ -9053,7 +9074,7 @@ class DuetGrid {
|
|
|
9053
9074
|
* Always the last one in the class.
|
|
9054
9075
|
*/
|
|
9055
9076
|
render() {
|
|
9056
|
-
return (hAsync(Host, { key: '
|
|
9077
|
+
return (hAsync(Host, { key: 'b719a6d43845829fbda8dbc93e67aecf0894ce57', class: {
|
|
9057
9078
|
"duet-grid": true,
|
|
9058
9079
|
"duet-no-stacking": !this.responsive,
|
|
9059
9080
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -9080,7 +9101,7 @@ class DuetGrid {
|
|
|
9080
9101
|
"duet-grid-row-reverse": this.rowReverse,
|
|
9081
9102
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
9082
9103
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
9083
|
-
} }, hAsync("slot", { key: '
|
|
9104
|
+
} }, hAsync("slot", { key: '9ff8a76a35e45a15ef04f376f5b4387609e0ae7d' })));
|
|
9084
9105
|
}
|
|
9085
9106
|
get element() { return getElement(this); }
|
|
9086
9107
|
static get watchers() { return {
|
|
@@ -9136,7 +9157,7 @@ class DuetGridItem {
|
|
|
9136
9157
|
* Always the last one in the class.
|
|
9137
9158
|
*/
|
|
9138
9159
|
render() {
|
|
9139
|
-
return (hAsync(Host, { key: '
|
|
9160
|
+
return (hAsync(Host, { key: 'cc7ed307e094fa01452cf707961c183c0622b6e7', style: {
|
|
9140
9161
|
"min-width": this.minWidth,
|
|
9141
9162
|
"max-width": this.maxWidth,
|
|
9142
9163
|
}, class: {
|
|
@@ -9153,7 +9174,7 @@ class DuetGridItem {
|
|
|
9153
9174
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
9154
9175
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
9155
9176
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
9156
|
-
} }, hAsync("slot", { key: '
|
|
9177
|
+
} }, hAsync("slot", { key: 'c6d01898a86329bdc57abd35a6a6e71bf80fe2c3' })));
|
|
9157
9178
|
}
|
|
9158
9179
|
static get style() { return DuetGridItemStyle0; }
|
|
9159
9180
|
static get cmpMeta() { return {
|
|
@@ -10017,7 +10038,7 @@ class DuetHeading {
|
|
|
10017
10038
|
render() {
|
|
10018
10039
|
const TagName = sanitizeString$1(this.level);
|
|
10019
10040
|
const color = getColorByName(this.color);
|
|
10020
|
-
return (hAsync(TagName, { key: '
|
|
10041
|
+
return (hAsync(TagName, { key: '639aa76baa836dd1154030602e491d5592976e29', class: {
|
|
10021
10042
|
"duet-heading": true,
|
|
10022
10043
|
"duet-heading-border": this.border !== false,
|
|
10023
10044
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -10028,7 +10049,7 @@ class DuetHeading {
|
|
|
10028
10049
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
10029
10050
|
"duet-theme-turva": this.theme === "turva",
|
|
10030
10051
|
"fixed-size": this.fixedSize,
|
|
10031
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
10052
|
+
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '99875cdb1ebbbee0ac5a3b7821dcb8504f2f8bb9' })));
|
|
10032
10053
|
}
|
|
10033
10054
|
get element() { return getElement(this); }
|
|
10034
10055
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -10208,7 +10229,7 @@ class DuetHero {
|
|
|
10208
10229
|
outlineColor = "color-primary-turva";
|
|
10209
10230
|
}
|
|
10210
10231
|
}
|
|
10211
|
-
return (hAsync("div", { key: '
|
|
10232
|
+
return (hAsync("div", { key: 'cd832b5e8188e532f0ecb10d28ece8c2f70620cb', role: "region", class: {
|
|
10212
10233
|
"duet-hero": true,
|
|
10213
10234
|
"duet-theme-turva": this.theme === "turva",
|
|
10214
10235
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -10226,17 +10247,17 @@ class DuetHero {
|
|
|
10226
10247
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
10227
10248
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
10228
10249
|
"duet-hero-narrow": this.layout === "narrow",
|
|
10229
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
10230
|
-
this.processedBack && (hAsync("div", { key: '
|
|
10250
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: 'a0c0e2a882ce53fc12df229b82f252b93255f01f', class: "background-area" }, hAsync("div", { key: 'cbf3c4d1706429955cd8a96fa1abe704291bf06e', class: "background-container" }, hAsync("div", { key: '71e820f0db414855ce2b04a5ccb9786a7a537bb9', class: "background" }, hAsync("img", { key: 'd4fbd658939268638ca18fe7281ecdea112b2822', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: '0cf25b23521910a66642f8209226664a4b0e9822', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: '208c56a58ae8d77b3544530d9624a1cb954cf655', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '946e5c4c89f3db22c5b476cc140579df3eddbd94', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '66c7f02ad559c5ac59b073fead93d58fea9e5fe9', class: { background: true, [this.layout]: true } }, hAsync("div", { key: '7e4091890f931854afed8128e6de0e93030f715c', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: 'adfb7615caee3393c994da443ea9cee8632c5641', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: '96c34abde476c7148702505199ec8264136f5b0e', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '229f4a4795ba3417527975deb1e76c6cb3c1ab41', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '3f2ae353726fc0027be26b9a5b3da24693bd6355', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'dfba6947ca623bcc1f3adb1d39f78c9c1fdff562', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'fbd2783758a9fad396d0dd6ccfbe2e7d395c4c62', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: 'c9d8e628a6373ecaefc574493e1f646e5fe57af5', class: "background-area" }, hAsync("div", { key: '13f4968245418640136214af84e6e6d3b2b69960', class: "background" }, hAsync("div", { key: '174100e1cdae385a217f21d665dbeae19d65842b', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'e7f53e49cde5f440a103ed6fc7213fb4e116f525', class: "brand-shape" }), hAsync("div", { key: '02e2685bcca6c6d575dfcf87341f15a77650a7d2', class: "brand-shaped-image" }, hAsync("div", { key: '8869ad1d98fcec90ecd9e04d2f57d99755f3ce86', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: 'ff6788133937b451221e626f037477ae3b741a63', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: 'b73fd95091cdc38b2e0a0a639890795fd553a499', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '753ef04538804cd1dbfe40b6f28a8f2046572a9f', class: "duet-hero-image-mask" }, hAsync("div", { key: 'b7b22993441b9f1d835962bf4a8f7858c3e95fea', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '5c1d3d40b10459331c8a5dfa2976423348bea6b7', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
10251
|
+
this.processedBack && (hAsync("div", { key: '064a08fc1f8d3a39569dd51d6367a8d6ec57f4b7', class: "duet-hero-back" }, hAsync("duet-button", { key: 'a2a72e4fb80142e5b5cd89d465f1666d7b87222b', 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, {
|
|
10231
10252
|
label: this.processedBack.label,
|
|
10232
10253
|
href: this.processedBack.href,
|
|
10233
10254
|
id: this.processedBack.id,
|
|
10234
10255
|
analyticsId: this.processedBack.analyticsId,
|
|
10235
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
10256
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: 'aed0e3448d26be3fef13e54e4b2fa56de2cba5ad', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: 'f628fbc033ea3260b0ea60ca86dead17c3f23fec', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'fbdce7136af5984d7515c5e4775e6c113bc90784', 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: 'f797401a3dd28b2359ece9d162edb80a3235c7c4', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: 'f9c2a9cfdd540ea2ccb8850ddbd6d23ae9777bfe', 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: 'c0ca02639838464301ebc356e61c36e2e3dde253', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: 'bf4f44822249e6ccb2754c714d090dd8a7f71ef0', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '2014cb831d827c2564c6ae5ad1a7b9dda4b076ac', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: 'a445e0970b8f7f1558d9b5f262c5442d1891a69e', 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: 'c09844b83722bd18401715d0abf0481155c1e298', 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: '480afbbcede21c5920cd06de678a2d9126f25150' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'b21813206501ea887a74fd8c01fd04c5236e909a', 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 &&
|
|
10236
10257
|
this.variation !== "image" &&
|
|
10237
10258
|
!campaignOrSection &&
|
|
10238
10259
|
this.variation !== "product" &&
|
|
10239
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
10260
|
+
this.variation !== "content" && hAsync("div", { key: 'c3426d3f22c5897a4e6e22c14008146d8e871e6b', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '5d9278bd5f22bba93e4e16d3261d1772eb844c07', name: "bottom" }))));
|
|
10240
10261
|
}
|
|
10241
10262
|
get element() { return getElement(this); }
|
|
10242
10263
|
static get watchers() { return {
|
|
@@ -10362,11 +10383,11 @@ class DuetIcon {
|
|
|
10362
10383
|
: {};
|
|
10363
10384
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
10364
10385
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
10365
|
-
return (hAsync(Host, { key: '
|
|
10386
|
+
return (hAsync(Host, { key: '629f57b6ddd5d6ae803d93be4da1f502ebc9f7a7', class: {
|
|
10366
10387
|
"duet-m-0": this.margin === "none",
|
|
10367
10388
|
"duet-icon-has-outline": !!this.outline,
|
|
10368
10389
|
"duet-icon-has-background": !!this.background,
|
|
10369
|
-
} }, hAsync("span", { key: '
|
|
10390
|
+
} }, hAsync("span", { key: '8c2fd3cc25c602dbdf95494dc938fb8a0e087b3e', "aria-hidden": "true", style: styles, class: {
|
|
10370
10391
|
"duet-icon": true,
|
|
10371
10392
|
"duet-theme-turva": this.theme === "turva",
|
|
10372
10393
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10375,7 +10396,7 @@ class DuetIcon {
|
|
|
10375
10396
|
[shapeStyle]: true,
|
|
10376
10397
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10377
10398
|
"duet-icon-not-responsive": !this.responsive,
|
|
10378
|
-
} }, hAsync("span", { key: '
|
|
10399
|
+
} }, hAsync("span", { key: 'b0cf55b4aef036582b857703048eb946400388bb', "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 }))));
|
|
10379
10400
|
}
|
|
10380
10401
|
get element() { return getElement(this); }
|
|
10381
10402
|
static get watchers() { return {
|
|
@@ -10890,7 +10911,7 @@ class DuetInput {
|
|
|
10890
10911
|
this.type !== "password" &&
|
|
10891
10912
|
this.type !== "time" &&
|
|
10892
10913
|
this.variation !== "button";
|
|
10893
|
-
return (hAsync(Host, { key: '
|
|
10914
|
+
return (hAsync(Host, { key: '6c1d94f9d544b1fdec23f6993ea8856acb3ec25e', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: '1c71f810fadfda464bf37499ef37dd373f610534', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: '1aeff156d8453ad8315d3e42af92f095ca7f6328', class: {
|
|
10894
10915
|
"duet-input-container": true,
|
|
10895
10916
|
"duet-theme-turva": this.theme === "turva",
|
|
10896
10917
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -10904,7 +10925,7 @@ class DuetInput {
|
|
|
10904
10925
|
"has-clear": this.clear,
|
|
10905
10926
|
"has-focus": this.isFocused,
|
|
10906
10927
|
disabled: this.disabled,
|
|
10907
|
-
} }, hAsync("div", { key: '
|
|
10928
|
+
} }, hAsync("div", { key: 'a2a51d7bc74afa312058cabb51f94da42f54fc46', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: '7859061ce09bb88f1bee4b275a23b05c968b06fd', theme: this.theme === "turva" ? "turva" : "default", margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '90608b6e873b5ccbda49563f4a04eef3e96ab48d', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'c77595ab15425b05c43c1bd4787f6088ef2e7499', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: '07107c13f7f6269abdf11207be8ba7ce093c735b', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '711e8416c4f16e82aa3efcecf68f9d7fa1cbb384', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: '4a0c67e4968b454c6cc339ae816d8c3eb2142861', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '5c6bc95cfc7149aba9245c5f58e558a6831081d8', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), hAsync("input", Object.assign({ key: '3a70569af48c892b197d5dae77254074120bc185', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
10908
10929
|
"duet-input": true,
|
|
10909
10930
|
disabled: this.disabled,
|
|
10910
10931
|
"is-number": this.component === "number",
|
|
@@ -10912,16 +10933,16 @@ class DuetInput {
|
|
|
10912
10933
|
"after-chip": this.getAllChips().length > 0,
|
|
10913
10934
|
"align-right": this.inputAlign === "right",
|
|
10914
10935
|
[`input-padding-${this.inputPadding}`]: true,
|
|
10915
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
10936
|
+
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '0377efc4c565c66f5c14cb741f8ccb3e2545221a', class: "duet-input-icon" }, hAsync("duet-icon", { key: '862ec3d70162837ad3c72e1c648176c1dc771d36', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: '4bbb87e3df3d533e086c2e5b0614e7a5fd1498df', class: {
|
|
10916
10937
|
"duet-input-clear-icon": true,
|
|
10917
10938
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
10918
10939
|
"duet-input-clear-icon-double": !!this.icon,
|
|
10919
10940
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
10920
|
-
} }, hAsync("button", { key: '
|
|
10941
|
+
} }, hAsync("button", { key: '08ead94af1665bdbd5f5ef366b29bba89d7df0c6', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: 'f7a0d73ec05dfd4f0b1bdbd097f6637b18f6c62f', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '555da51b2ccc71bfdc259ee3b80ef0cb550a2757', class: "duet-input-icon" }, hAsync("duet-icon", { key: '4e61179d3006a21c36518b34a198f1ebbcd4ba65', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: '1fa648c46fd4dd1929185f0a0216e91724dd234f', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: 'ba539f81b4de281f1f548f858144120a308b7f27', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
10921
10942
|
? this.hidePasswordLabel[this.language]
|
|
10922
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
10943
|
+
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: 'f2b57b97cb3de186e3e7cc8fcff5bff2aa0c50f7' }, hAsync("span", { key: '44280ae6250bd248ef4bc32ee3fda8adafb0b922', "aria-live": "polite" }, this.isPasswordRevealed
|
|
10923
10944
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
10924
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
10945
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '37f27ffb2c201fef8f4058dabf29734c1fb596c6' })), hAsync("span", { key: '87b22ac00aca098cc5e076850ca390e29cc022c9', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '961a7bdca67b47c2d4f694095fb9fe6edde487f7', class: "duet-input-error" }, this.error)))));
|
|
10925
10946
|
}
|
|
10926
10947
|
get element() { return getElement(this); }
|
|
10927
10948
|
static get watchers() { return {
|
|
@@ -11090,24 +11111,24 @@ class DuetLayout {
|
|
|
11090
11111
|
* Always the last one in the class.
|
|
11091
11112
|
*/
|
|
11092
11113
|
render() {
|
|
11093
|
-
return (hAsync(Host, { key: '
|
|
11114
|
+
return (hAsync(Host, { key: 'c4699088f31020eb2b8ed7d4ecef65514bc3d28d', class: {
|
|
11094
11115
|
center: this.center,
|
|
11095
11116
|
"duet-middle": this.middle,
|
|
11096
11117
|
"duet-ie": isInternetExplorer(),
|
|
11097
|
-
} }, hAsync("div", { key: '
|
|
11118
|
+
} }, hAsync("div", { key: '075e7f223d3dda19f6f5ac9f29494eda8ffc7ff9', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: 'f3127c1c4f7fefdce569c2c30c77d990a1b9e11d', class: {
|
|
11098
11119
|
"duet-layout-top": true,
|
|
11099
11120
|
"duet-center": this.center,
|
|
11100
|
-
} }, hAsync("div", { key: '
|
|
11121
|
+
} }, hAsync("div", { key: '4954d9c1c200c323bf2b4906e862ede88190c025', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: 'e176f01c9d6662ee1bcfb0b9c6a0bc73b258abd6', name: "top" })))), hAsync("div", { key: '85c1e1219c0745d92be32716169f2097a1051ac8', class: {
|
|
11101
11122
|
"duet-layout": true,
|
|
11102
11123
|
"has-sidebar": this.hasSidebar,
|
|
11103
11124
|
"duet-center": this.center,
|
|
11104
11125
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
11105
|
-
} }, hAsync("main", { key: '
|
|
11126
|
+
} }, hAsync("main", { key: '7c70810abab73c6419db8ee5c1271ba34e877892', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: 'd60f45fe444f1de3089fb2207d169cc0bbfb1d5c', name: "page-heading" }), hAsync("slot", { key: 'cf79d7bd693259864500a1b9285b3bbc84c42326', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '8c2c2c6e31a690aa01f72a03f2f62c0929902e09', class: "duet-sidebar" }, hAsync("div", { key: '3b846f204a5b322134649c2b822d3c7bdb03447b', class: {
|
|
11106
11127
|
"duet-sidebar-container": true,
|
|
11107
11128
|
"has-tabs": this.tabs,
|
|
11108
11129
|
sticky: this.sticky,
|
|
11109
11130
|
[this.stickyDistance]: this.sticky,
|
|
11110
|
-
} }, hAsync("slot", { key: '
|
|
11131
|
+
} }, hAsync("slot", { key: 'ea597d8559fa042256c715339923f3fc885d8e50', name: "sidebar" }))))))));
|
|
11111
11132
|
}
|
|
11112
11133
|
get element() { return getElement(this); }
|
|
11113
11134
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -11150,7 +11171,7 @@ function getAccessibleLinkLabel(component) {
|
|
|
11150
11171
|
return null;
|
|
11151
11172
|
}
|
|
11152
11173
|
|
|
11153
|
-
const duetLinkCss = "*,*::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:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link: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-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
11174
|
+
const duetLinkCss = "*,*::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:inline}:host(.duet-link-block){display:block}:host(.duet-link-button){margin-right:8px !important;margin-bottom:12px !important;display:inline-block;width:100%}:host(.duet-link-button):last-child,:host(.duet-link-button):last-of-type{margin-right:0 !important}:host(.duet-m-0){margin:0 !important}.duet-link{display:inline;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-style:normal;font-weight:400;color:rgb(0, 97, 155);text-decoration:underline;border-radius:4px;transition:300ms ease}.duet-link: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-link:focus,.duet-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-link.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(164, 4, 40)}.duet-link:hover{color:rgb(0, 75, 129);text-decoration:none}.duet-link:hover.duet-theme-turva{color:rgb(126, 2, 35)}.duet-link:active{opacity:0.75;transition:none}button{font-size:inherit;cursor:pointer}.duet-link-is-external.duet-link:not(.block,.button,.card),.duet-link-is-download.duet-link:not(.block,.button,.card){text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-content{text-decoration:underline}.duet-link-is-external.duet-link:not(.block,.button,.card):hover>.duet-link-content,.duet-link-is-download.duet-link:not(.block,.button,.card):hover>.duet-link-content{text-decoration:none}.duet-link-is-external.duet-link:not(.block,.button,.card) .duet-link-icon-tail,.duet-link-is-download.duet-link:not(.block,.button,.card) .duet-link-icon-tail{text-decoration:none;white-space:nowrap}.duet-tab-to-link{padding:15px 28px 16px !important;position:absolute;top:-100%;left:-100%;z-index:200;width:1px;min-width:190px;height:1px;overflow:hidden;font-weight:600;color:rgb(0, 119, 179);text-align:center;text-decoration:none;background:rgb(255, 255, 255);border-radius:4px;opacity:0;transition:none}.duet-tab-to-link.duet-theme-turva{min-width:120px;color:rgb(23, 28, 58)}@media (min-width: 106.25em){.duet-tab-to-link{margin-left:20px}}.duet-tab-to-link:focus{top:12px;left:20px;width:auto;height:auto;outline:0;opacity:1}.block.duet-link{display:grid;grid-template-columns:1fr auto;gap:16px;align-items:start;padding:16px;font-weight:600;color:rgb(8, 42, 77);text-decoration:none}.block.duet-link.duet-link-has-icon{grid-template-columns:auto 1fr auto}.block.duet-link.none{padding:0}.block .block__icon{display:flex}.block .block__icon duet-icon{width:16px;height:16px}.block .block__icon duet-icon.icon-responsive{width:30px;height:30px}@media (max-width: 22.5em){.block .block__icon duet-icon.icon-responsive{width:24px;height:24px}}.block .block__content{position:relative;bottom:2px}.block .block__chevron{align-self:center}.block .block__chevron-icon{transition:300ms ease}.block:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.button:not(.duet-link-has-icon-background) .icon-wrap duet-icon{width:20px;height:20px}.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:20px;height:20px}@media (min-width: 48em){.duet-link.button.duet-link-has-icon-background .icon-wrap duet-icon{width:24px;height:24px}}.duet-link.button,.duet-link.card{display:flex;gap:12px;align-items:center;width:100%;min-height:48px;padding:14px 16px;line-height:1.25;text-decoration:none;background-color:rgb(255, 255, 255);border:solid 1px rgb(181, 198, 208);border-radius:12px;outline:0 solid rgb(181, 198, 208);outline-offset:-2px;transition:all 300ms ease}.duet-link.button>*,.duet-link.card>*{flex-shrink:0}.duet-link.button .duet-link-content,.duet-link.card .duet-link-content{flex-grow:1;flex-shrink:1;font-size:1rem;font-weight:600;color:rgb(8, 42, 77);text-align:left}.duet-link.button .icon-wrap,.duet-link.card .icon-wrap{display:flex;align-items:center;justify-content:center}.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:24px;height:24px}@media (min-width: 48em){.duet-link.button .icon-wrap duet-icon,.duet-link.card .icon-wrap duet-icon{width:30px;height:30px}}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{min-height:60px;padding:12px;padding-right:20px;line-height:1.5}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:36px;height:36px;border-radius:8px}.duet-link.button:hover,.duet-link.card:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179)}@media (min-width: 48em){.duet-link.button,.duet-link.card{min-height:50px}.duet-link.button.duet-link-has-icon-background,.duet-link.card.duet-link-has-icon-background{gap:16px;min-height:72px;border-radius:16px}.duet-link.button.duet-link-has-icon-background .icon-wrap,.duet-link.card.duet-link-has-icon-background .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.button.duet-link-has-icon-background .duet-link-content,.duet-link.card.duet-link-has-icon-background .duet-link-content{font-size:1.1rem}}.duet-link.button.duet-theme-turva,.duet-link.card.duet-theme-turva{border-color:rgb(199, 202, 207)}.duet-link.button.duet-theme-turva .duet-link-content,.duet-link.card.duet-theme-turva .duet-link-content{color:rgb(23, 28, 58)}.duet-link.button.duet-theme-turva:hover,.duet-link.card.duet-theme-turva:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-link.button .block__chevron-icon,.duet-link.card .block__chevron-icon{transition:300ms ease}.duet-link.button:not(.duet-link-is-external):hover .block__chevron-icon,.duet-link.card:not(.duet-link-is-external):hover .block__chevron-icon{transform:translateX(4px)}.duet-link.card{border-color:rgb(228, 236, 239);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)}.duet-link.card.duet-theme-turva{border-color:rgb(234, 235, 239);box-shadow:0 2px 6px 0 rgba(117, 117, 117, 0.13)}.duet-link.card:not(.duet-link-has-icon){gap:12px;padding:16px}.duet-link.card .chevron-wrap{display:flex;align-items:center;height:100%}.duet-link.card.duet-link-has-icon{gap:12px;align-items:flex-start;padding:16px}.duet-link.card.duet-link-has-icon .icon-wrap{width:48px;height:48px;border-radius:12px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:48px}@media (min-width: 48em){.duet-link.card:not(.duet-link-has-icon){gap:20px;padding:24px}.duet-link.card.duet-link-has-icon{gap:20px;padding:24px}.duet-link.card.duet-link-has-icon .icon-wrap{width:62px;height:62px;border-radius:16px}.duet-link.card.duet-link-has-icon .chevron-wrap{height:62px}}";
|
|
11154
11175
|
var DuetLinkStyle0 = duetLinkCss;
|
|
11155
11176
|
|
|
11156
11177
|
/**
|
|
@@ -11182,7 +11203,6 @@ class DuetLink {
|
|
|
11182
11203
|
this.iconResponsive = false;
|
|
11183
11204
|
this.margin = "auto";
|
|
11184
11205
|
this.padding = "auto";
|
|
11185
|
-
this.isSmallScreen = false;
|
|
11186
11206
|
this.isMediumScreen = false;
|
|
11187
11207
|
}
|
|
11188
11208
|
/**
|
|
@@ -11190,7 +11210,6 @@ class DuetLink {
|
|
|
11190
11210
|
*/
|
|
11191
11211
|
componentWillLoad() {
|
|
11192
11212
|
inheritGlobalTheme(this);
|
|
11193
|
-
this.initMediaQuery();
|
|
11194
11213
|
this.resolvedDownload = this.resolveDownload();
|
|
11195
11214
|
// button variation renders a button element when no url is provided
|
|
11196
11215
|
if (this.variation === "button" && this.url === "#") {
|
|
@@ -11205,7 +11224,6 @@ class DuetLink {
|
|
|
11205
11224
|
}
|
|
11206
11225
|
disconnectedCallback() {
|
|
11207
11226
|
disconnectLanguageChangeObserver(this);
|
|
11208
|
-
this.destroyMediaQuery();
|
|
11209
11227
|
}
|
|
11210
11228
|
/**
|
|
11211
11229
|
* Sets focus on the specified `duet-link`. Use this method instead of the global
|
|
@@ -11214,20 +11232,6 @@ class DuetLink {
|
|
|
11214
11232
|
async setFocus(options) {
|
|
11215
11233
|
this.nativeLink.focus(options);
|
|
11216
11234
|
}
|
|
11217
|
-
initMediaQuery() {
|
|
11218
|
-
{
|
|
11219
|
-
return;
|
|
11220
|
-
}
|
|
11221
|
-
}
|
|
11222
|
-
destroyMediaQuery() {
|
|
11223
|
-
{
|
|
11224
|
-
return;
|
|
11225
|
-
}
|
|
11226
|
-
}
|
|
11227
|
-
screenTest(event) {
|
|
11228
|
-
this.isSmallScreen = event.matches;
|
|
11229
|
-
this.isMediumScreen = event.matches;
|
|
11230
|
-
}
|
|
11231
11235
|
resolveDownload() {
|
|
11232
11236
|
if (this.download === "") {
|
|
11233
11237
|
return this.url.split("/").pop();
|
|
@@ -11240,19 +11244,13 @@ class DuetLink {
|
|
|
11240
11244
|
return (hAsync(Fragment, null, hAsync("span", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), Build.isBrowser ));
|
|
11241
11245
|
}
|
|
11242
11246
|
renderBlockContent() {
|
|
11243
|
-
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "block__icon" }, hAsync("duet-icon", {
|
|
11247
|
+
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "block__icon" }, hAsync("duet-icon", { class: this.iconResponsive ? "icon-responsive" : "", size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), hAsync("span", { class: "block__content" }, this.renderDefaultContent()), hAsync("span", { class: "block__chevron", part: "block-chevron" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
11244
11248
|
}
|
|
11245
11249
|
renderButtonCardContent() {
|
|
11246
11250
|
const iconWrapStyle = {
|
|
11247
11251
|
"background-color": getColorByName(this.iconBackground, this.theme),
|
|
11248
11252
|
};
|
|
11249
|
-
|
|
11250
|
-
if (this.variation === "button") {
|
|
11251
|
-
return this.iconBackground && this.isMediumScreen ? "medium" : "small";
|
|
11252
|
-
}
|
|
11253
|
-
return this.isMediumScreen ? "large" : "medium";
|
|
11254
|
-
};
|
|
11255
|
-
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "icon-wrap", style: iconWrapStyle }, hAsync("duet-icon", { size: iconSize(), name: this.icon, margin: "none", color: this.iconColor }))), hAsync("div", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), hAsync("span", { class: "chevron-wrap" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
11253
|
+
return (hAsync(Fragment, null, this.icon && (hAsync("span", { class: "icon-wrap", style: iconWrapStyle }, hAsync("duet-icon", { size: "auto", name: this.icon, margin: "none", color: this.iconColor }))), hAsync("div", { class: "duet-link-content", part: "duet-link-content" }, hAsync("slot", null)), hAsync("span", { class: "chevron-wrap" }, hAsync("duet-icon", { class: "block__chevron-icon", icon: this.external ? actionNewWindow.svg : actionArrowRight.svg, size: "x-small", margin: "none", color: "primary-dark" }))));
|
|
11256
11254
|
}
|
|
11257
11255
|
renderContent() {
|
|
11258
11256
|
switch (this.variation) {
|
|
@@ -11272,10 +11270,10 @@ class DuetLink {
|
|
|
11272
11270
|
render() {
|
|
11273
11271
|
const Tag = !this.url ? "button" : "a";
|
|
11274
11272
|
const isButton = Tag === "button";
|
|
11275
|
-
return (hAsync(Host, { key: '
|
|
11273
|
+
return (hAsync(Host, { key: 'abc49b84dd9a522c921d5447f1b2ec451a456f44', class: {
|
|
11276
11274
|
[`duet-link-${this.variation}`]: true,
|
|
11277
11275
|
"duet-m-0": this.margin === "none",
|
|
11278
|
-
} }, hAsync(Tag, { key: '
|
|
11276
|
+
} }, hAsync(Tag, { key: '24ecdb7c1b3bbb33f2cf612170574b06931574fc', href: this.url, class: {
|
|
11279
11277
|
"duet-link": true,
|
|
11280
11278
|
"duet-link-is-external": this.external,
|
|
11281
11279
|
"duet-link-is-download": !!this.download,
|
|
@@ -11316,7 +11314,6 @@ class DuetLink {
|
|
|
11316
11314
|
"iconResponsive": [4, "icon-responsive"],
|
|
11317
11315
|
"margin": [1],
|
|
11318
11316
|
"padding": [1],
|
|
11319
|
-
"isSmallScreen": [32],
|
|
11320
11317
|
"isMediumScreen": [32],
|
|
11321
11318
|
"setFocus": [64]
|
|
11322
11319
|
},
|
|
@@ -11398,7 +11395,7 @@ class DuetList {
|
|
|
11398
11395
|
* Always the last one in the class.
|
|
11399
11396
|
*/
|
|
11400
11397
|
render() {
|
|
11401
|
-
return (hAsync("dl", { key: '
|
|
11398
|
+
return (hAsync("dl", { key: '0f63ce12f7d83722524fecc8e803c455f636d277', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: 'd8dc331b6707093063ae55cb8024fa723b7adbca' })));
|
|
11402
11399
|
}
|
|
11403
11400
|
get element() { return getElement(this); }
|
|
11404
11401
|
static get watchers() { return {
|
|
@@ -11448,14 +11445,14 @@ class DuetListItem {
|
|
|
11448
11445
|
* Always the last one in the class.
|
|
11449
11446
|
*/
|
|
11450
11447
|
render() {
|
|
11451
|
-
return (hAsync(Host, { key: '
|
|
11448
|
+
return (hAsync(Host, { key: 'eb9ff2970967f44ffa2b7b6e2c5364d5e1ca9514', class: {
|
|
11452
11449
|
"duet-no-stacking": !this.responsive,
|
|
11453
11450
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
11454
11451
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
11455
11452
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
11456
11453
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
11457
11454
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
11458
|
-
} }, hAsync("dt", { key: '
|
|
11455
|
+
} }, hAsync("dt", { key: 'ad7a453ca942b71da2961c6f369102c739bb1f5c' }, hAsync("slot", { key: 'b697a80721b971d368b1a079f60dde00a821d236', name: "label" })), hAsync("dd", { key: '2a7d656b698a301e35a9537587f4676302f101b5' }, hAsync("slot", { key: '230ef1772d105ed50286c7dfbe2aac5f51ebffa6', name: "value" }))));
|
|
11459
11456
|
}
|
|
11460
11457
|
static get style() { return DuetListItemStyle0; }
|
|
11461
11458
|
static get cmpMeta() { return {
|
|
@@ -11548,7 +11545,7 @@ class DuetLogo {
|
|
|
11548
11545
|
*/
|
|
11549
11546
|
render() {
|
|
11550
11547
|
const TagName = this.href ? "a" : "div";
|
|
11551
|
-
return (hAsync(Host, { key: '
|
|
11548
|
+
return (hAsync(Host, { key: '755522a4d8a0d79b25a402de924b39757c3eff92', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '03328ec8c5569b1f4203846cbbdc3014028a36ea', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11552
11549
|
"duet-logo": true,
|
|
11553
11550
|
[this.size]: true,
|
|
11554
11551
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11726,14 +11723,14 @@ class DuetMenuBar {
|
|
|
11726
11723
|
render() {
|
|
11727
11724
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11728
11725
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11729
|
-
return (hAsync(Host, { key: '
|
|
11726
|
+
return (hAsync(Host, { key: '879fc36781875cd6dea48e11839a85a185085dc0' }, hAsync("nav", { key: '2ea40e5fc7e651f516d4f9edae5ac2f71fd4fee9', class: {
|
|
11730
11727
|
"duet-menu-bar": true,
|
|
11731
11728
|
"duet-theme-turva": this.theme === "turva",
|
|
11732
11729
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11733
11730
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11734
11731
|
hidden: this.hidden && this.hideOnScroll,
|
|
11735
11732
|
bottom: this.onBottom,
|
|
11736
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11733
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'ff8cc7d764c170ddd58d7ed93375961a95db7e20', class: "top" }), hAsync("div", { key: 'f1a58089bfde393327f4602887e2c3bb850f2344', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'f3ef014e2ea267d5b52553854490be997f13cf25' }, hAsync("duet-logo", { key: '063b69ae891ce4cb9bc6960aa0f0a9dbeca46cb8', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '241a7083365bb7b039787e4f8debcd9185092057', class: "list center", role: "list" }, hAsync("div", { key: 'e91f65554fe261b6eac8f2e27b1a38a41f26ad11', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '54aca3809af67d932ccde820be7575dceb6c422c', name: "center" }), hAsync("div", { key: '89998cee04eba79bb73de1a494b5a6b87790276b', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'e949ddcfac19ccaf615fdcbc2ce2faacbf7b9a91', class: "list right", role: "list" }, hAsync("slot", { key: 'c29da062d16c0070f56c034008c6cc911f6570b2', name: "right" }))), hAsync("div", { key: '02cca0e6a68888052ccc9721adc8d8692b6f2841', class: "bottom" }))));
|
|
11737
11734
|
}
|
|
11738
11735
|
get element() { return getElement(this); }
|
|
11739
11736
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11800,10 +11797,10 @@ class DuetMenuBarButton {
|
|
|
11800
11797
|
* Always the last one in the class.
|
|
11801
11798
|
*/
|
|
11802
11799
|
render() {
|
|
11803
|
-
return (hAsync(Host, { key: '
|
|
11800
|
+
return (hAsync(Host, { key: 'ea08eb1eddf43b131574bef0516845144bf00b7b', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: 'e156fc55985037a6ec644448c3f5c707c2aeac7e', ref: button => (this.nativeButton = button), class: {
|
|
11804
11801
|
"duet-menu-bar-button": true,
|
|
11805
11802
|
"duet-theme-turva": this.theme === "turva",
|
|
11806
|
-
}, "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: '
|
|
11803
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: 'afdafd0bbf7f48b10fe80db0ad1286b17ef60302', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '69d0a72d7e725db69165b4eed4e8f11de4a52429' }))));
|
|
11807
11804
|
}
|
|
11808
11805
|
get element() { return getElement(this); }
|
|
11809
11806
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11886,17 +11883,17 @@ class DuetMenuBarDropdown {
|
|
|
11886
11883
|
* Always the last one in the class.
|
|
11887
11884
|
*/
|
|
11888
11885
|
render() {
|
|
11889
|
-
return (hAsync(Host, { key: '
|
|
11886
|
+
return (hAsync(Host, { key: 'd71c83e01aa8580e0bd1eaabb91f3cca8734cc1b', role: "listitem" }, hAsync("div", { key: '7d606d5d43394752e02f372c6c1bc2df44fbb977', class: {
|
|
11890
11887
|
"duet-menu-bar-dropdown": true,
|
|
11891
11888
|
"duet-theme-turva": this.theme === "turva",
|
|
11892
11889
|
active: this.open,
|
|
11893
11890
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11894
|
-
} }, hAsync("button", { key: '
|
|
11891
|
+
} }, hAsync("button", { key: '88715073efb8ef87d18ebcbd493eabf5f4b10da5', 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: {
|
|
11895
11892
|
active: this.open,
|
|
11896
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11893
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'f70f97a8ba1769cc7eb214fa8c56f0fd526fd092', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '4d2d51d01fa52e5ebeb1aebeedb80d32021938dd', class: "label" }, hAsync("slot", { key: 'ca9b40f144b8a0480fc04c51b336a4df20e30e5d', name: "label" }), hAsync("duet-icon", { key: 'bfca42219c5bd1c00604d68f6d3fe5b392e344ce', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '35cf265e22ea94935890b4029cfd757e6f2a70ff', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11897
11894
|
items: true,
|
|
11898
11895
|
hidden: !this.open,
|
|
11899
|
-
} }, hAsync("slot", { key: '
|
|
11896
|
+
} }, hAsync("slot", { key: '1aa83e543c586acb204c20e6762ffd98e6ad7d33' })))));
|
|
11900
11897
|
}
|
|
11901
11898
|
get element() { return getElement(this); }
|
|
11902
11899
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11956,11 +11953,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11956
11953
|
* Always the last one in the class.
|
|
11957
11954
|
*/
|
|
11958
11955
|
render() {
|
|
11959
|
-
return (hAsync(Host, { key: '
|
|
11956
|
+
return (hAsync(Host, { key: 'ed174973681522fe7f35b14edcf2e8782306e1bc' }, hAsync("a", { key: '0be57e484e5dd38f3375d5387ed7ccfa5a88d0d2', class: {
|
|
11960
11957
|
"duet-menu-bar-dropdown-link": true,
|
|
11961
11958
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11962
11959
|
"duet-theme-turva": this.theme === "turva",
|
|
11963
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11960
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '966909764e92b7255432320ae69566ec4373863f', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '65e6a089fd9a1859ef86b3efc9487268c088b8dd' }))));
|
|
11964
11961
|
}
|
|
11965
11962
|
get element() { return getElement(this); }
|
|
11966
11963
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -12024,11 +12021,11 @@ class DuetMenuBarItem {
|
|
|
12024
12021
|
*/
|
|
12025
12022
|
render() {
|
|
12026
12023
|
const TagName = this.url ? "a" : "button";
|
|
12027
|
-
return (hAsync(Host, { key: '
|
|
12024
|
+
return (hAsync(Host, { key: '8346b680f96a6c7fe3fca566391be07cdeede6cb', role: "listitem" }, hAsync(TagName, { key: 'bbd5013aeca3b13a33853b090201f3680c1b4b5c', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
12028
12025
|
"duet-menu-bar-item": true,
|
|
12029
12026
|
"duet-theme-turva": this.theme === "turva",
|
|
12030
12027
|
active: this.active,
|
|
12031
|
-
}, 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: '
|
|
12028
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '38d682ecc0709ecfd54ecb8d3e59beee23f76b65', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '0c6c8d102b7ef15a63b82d703f68688933791c8b' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'b5969ef13a137d3801d9f9fa1d6fd4cf4ac8a1b1', class: {
|
|
12032
12029
|
"trailing-icon": !!this.trailingIcon,
|
|
12033
12030
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
12034
12031
|
"external-icon": !!this.external,
|
|
@@ -12083,11 +12080,11 @@ class DuetMenuBarLink {
|
|
|
12083
12080
|
* Always the last one in the class.
|
|
12084
12081
|
*/
|
|
12085
12082
|
render() {
|
|
12086
|
-
return (hAsync(Host, { key: '
|
|
12083
|
+
return (hAsync(Host, { key: '7b49e5fa6febb45032d34e0267d2c4f86fcdb929', role: "listitem" }, hAsync("a", { key: '9a0bc708043462ecb37cddf3a332beb31a44f106', class: {
|
|
12087
12084
|
"duet-menu-bar-link": true,
|
|
12088
12085
|
"duet-theme-turva": this.theme === "turva",
|
|
12089
12086
|
active: this.active,
|
|
12090
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
12087
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '8d686c07c24a63b2effd37edcf12a283a2f303b8', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd17e247634ebfd380b813f7a4b520e925cf2e966' }))));
|
|
12091
12088
|
}
|
|
12092
12089
|
get element() { return getElement(this); }
|
|
12093
12090
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -12338,18 +12335,18 @@ class DuetModal {
|
|
|
12338
12335
|
var _a, _b;
|
|
12339
12336
|
let iconColor = "primary";
|
|
12340
12337
|
let closeColor = "secondary";
|
|
12341
|
-
const closingButton = (hAsync("div", { key: '
|
|
12338
|
+
const closingButton = (hAsync("div", { key: 'e3680a1a39e49c693a42fc7fb9759bc668d40db6', class: "duet-modal-close" }, hAsync("duet-button", { key: 'f83e0f5cb99b5a95989e6c142c12dd4abdccd4c5', 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 })));
|
|
12342
12339
|
if (this.theme === "turva") {
|
|
12343
12340
|
iconColor = "primary-turva";
|
|
12344
12341
|
closeColor = "secondary-turva";
|
|
12345
12342
|
}
|
|
12346
|
-
return (hAsync("div", { key: '
|
|
12343
|
+
return (hAsync("div", { key: '958d3dcd432c8954835f6cb522b2fe09bccafaa4', 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: {
|
|
12347
12344
|
"duet-modal-container": true,
|
|
12348
12345
|
"duet-theme-turva": this.theme === "turva",
|
|
12349
12346
|
"duet-modal-active": this.open,
|
|
12350
12347
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
12351
12348
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12352
|
-
} }, hAsync("duet-overlay", { key: '
|
|
12349
|
+
} }, hAsync("duet-overlay", { key: 'fbc2fc13d50311db1c8a0a4f2cc2803129eafe58', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: '8a07986bcfc3448a09fef42541dbe3cfada8bdcb', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
12353
12350
|
"duet-modal-inner": true,
|
|
12354
12351
|
[this.size]: true,
|
|
12355
12352
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -12360,18 +12357,18 @@ class DuetModal {
|
|
|
12360
12357
|
this.closeModal(e);
|
|
12361
12358
|
}
|
|
12362
12359
|
}
|
|
12363
|
-
} }, hAsync("div", { key: '
|
|
12360
|
+
} }, hAsync("div", { key: 'a0b9f37bf6628afa8f99e12a917d57eaeec54583', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
12364
12361
|
"duet-modal": true,
|
|
12365
12362
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12366
12363
|
[this.size]: true,
|
|
12367
12364
|
[this.variation]: true,
|
|
12368
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
12365
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '9168f67fd2f8ede394df502d619287153224558e' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '9f08ea38b797e2f08e90b844af00bc7520f74524', class: {
|
|
12369
12366
|
"duet-modal-body": true,
|
|
12370
12367
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
12371
12368
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
12372
12369
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
12373
12370
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
12374
|
-
} }, hAsync("div", { key: '
|
|
12371
|
+
} }, hAsync("div", { key: '46de5037af55d3b54aea4f8a133aa3ed573c0599', class: "duet-modal-header" }, hAsync("span", { key: 'ce17770a8dd4f97629729ab7823f9f7da02e5234', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'b347be9693d36ac02bd0bbfb004c84fbe2a27b2f', name: "top" })), this.icon && hAsync("duet-icon", { key: '4e60fc0b0a51d95dcc67841be4e780c5e71538e0', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '3749e6adf5b669773e1ecf50e989b8dceac017bd', "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: 'ec5d5a5d428cc6cd4cb86c1c7ba9e34f0725a4c0', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: 'c4459171ed652867da2bcc125dcab78ba11aca07', size: "large", color: "primary" }))), hAsync("div", { key: '4aa8b636aca91d1178fc3749a905d467c102461e', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '47bb63f76e7bb4ae0a4c765bc4fbd4f26a8b47f9' })))))));
|
|
12375
12372
|
}
|
|
12376
12373
|
get element() { return getElement(this); }
|
|
12377
12374
|
static get watchers() { return {
|
|
@@ -12636,23 +12633,23 @@ class DuetMultiselect {
|
|
|
12636
12633
|
*/
|
|
12637
12634
|
render() {
|
|
12638
12635
|
var _a;
|
|
12639
|
-
return (hAsync(Host, { key: '
|
|
12636
|
+
return (hAsync(Host, { key: '66db5f574c720ea5892865581aaaca95e7bfc202', class: {
|
|
12640
12637
|
"duet-m-0": this.margin === "none",
|
|
12641
12638
|
"duet-expand": this.expand,
|
|
12642
|
-
} }, hAsync("div", { key: '
|
|
12639
|
+
} }, hAsync("div", { key: '18447b64923b698d42addcd13946ae5b79d7c367', class: {
|
|
12643
12640
|
"duet-multiselect-container": true,
|
|
12644
12641
|
"duet-label-hidden": this.labelHidden,
|
|
12645
12642
|
"duet-theme-turva": this.theme === "turva",
|
|
12646
12643
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12647
12644
|
"has-error": !!this.error,
|
|
12648
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
12645
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '92b58e72baf765345116e2d8aeadb73f2081f93e', 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: 'fead19d08c45ed8cbc145afe829b09d0397428e9', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '462b6065093b4d84bcfdb35398eb726289bf8a04', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '6671b5e26502d71c3232822fe12e880a18c6a6e1', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '9b7b7dcfc90d7ac84a065822cc942908f1c5db23', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '2245ab42ac2ae7e8b058f6d3e040370a9d87f268', 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: 'bf248bbe82cc02c50116cec46aa4a770557a7dc1', 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: '2a257d9881a89deb043d104e39915201364f0eb1', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '59e46400cc9f5b4cff182d0171ffd92efcbd28be' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '8bc274f5908872b24f0665f1b9e320bc3cef9d0d', 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: '737a6a477e1555ba07abd6bf584fd53c5922833b', 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: '34738d348dd5456962d4b992b769a6d94bec9495', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12649
12646
|
"duet-multiselect-checkboxes": true,
|
|
12650
12647
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12651
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12648
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '9b11edb9360d491679322c8ad4deb6a68bb1e8b5', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '62404c51498d8a9946ab949ab0e0fe084e989eee', 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: 'c157c1fc780f85ca1e2c8268ff4e1c71dd40b6e4', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12652
12649
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12653
12650
|
var _a, _b;
|
|
12654
12651
|
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 }));
|
|
12655
|
-
})))))), hAsync("span", { key: '
|
|
12652
|
+
})))))), hAsync("span", { key: '74e0ecd38efb1cd7851f16e542eac089080bd3f2', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '7a1632365136bc299d70f12d986622451ad4661f' }, this.error)))));
|
|
12656
12653
|
}
|
|
12657
12654
|
get element() { return getElement(this); }
|
|
12658
12655
|
static get watchers() { return {
|
|
@@ -12721,7 +12718,7 @@ class DuetNav {
|
|
|
12721
12718
|
* Always the last one in the class.
|
|
12722
12719
|
*/
|
|
12723
12720
|
render() {
|
|
12724
|
-
return (hAsync(Host, { key: '
|
|
12721
|
+
return (hAsync(Host, { key: '94fa159d4668798827aae4cf880b4e201233cd5a' }, hAsync("div", { key: '986b4d35264824461ed8d5eae8c758d85de958cc', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '808bb9c1d6b973959c0224e6b684a2cd32395b8c' }), hAsync("slot", { key: '21d7bd71a8f482748d5edbea809896fa9f0d8ad6', name: "mobile" }), hAsync("slot", { key: 'da07e3716e651f37be80fc1cc9d579cd3660f664', name: "desktop" }))));
|
|
12725
12722
|
}
|
|
12726
12723
|
get element() { return getElement(this); }
|
|
12727
12724
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12780,11 +12777,11 @@ class DuetNotification {
|
|
|
12780
12777
|
this.linkElement.focus(options);
|
|
12781
12778
|
}
|
|
12782
12779
|
render() {
|
|
12783
|
-
return (hAsync("div", { key: '
|
|
12780
|
+
return (hAsync("div", { key: '81e1a7dba20e71dd78f7cda67af1b134f8243a0d', role: "listitem", class: {
|
|
12784
12781
|
"duet-notification": true,
|
|
12785
12782
|
"duet-notification-highlight": this.highlight,
|
|
12786
12783
|
"duet-theme-turva": this.theme === "turva",
|
|
12787
|
-
} }, hAsync("a", { key: '
|
|
12784
|
+
} }, hAsync("a", { key: 'a11fdf578bb85562ad56774479b25b67e6d674cb', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'ffaec64c316d8b207e8981f3255eb19f256e6567', class: "duet-notification-container" }, hAsync("div", { key: 'b9b9574f9349d045f6d6d2c7dfd1f81ae625cff7', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '1159695ff9d59ce3650e2e8c3cb7f897fa623a14', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '0d35c87007f9fab37c0680e701ed813c8d488c79' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '0514c0144473abb2de036c2d1e265bf7be71d490', class: "duet-notification-content" }, hAsync("slot", { key: '936452a25c6eebd842e7cbe32ff2c7a7c3951462' })), hAsync("div", { key: '633f3707f138963432acb2b330a9fe97bcbbc990', class: "duet-notification-date" }, this.date)))));
|
|
12788
12785
|
}
|
|
12789
12786
|
get element() { return getElement(this); }
|
|
12790
12787
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12902,10 +12899,10 @@ class DuetNotificationDrawer {
|
|
|
12902
12899
|
* Always the last one in the class.
|
|
12903
12900
|
*/
|
|
12904
12901
|
render() {
|
|
12905
|
-
return (hAsync("div", { key: '
|
|
12902
|
+
return (hAsync("div", { key: '1fcd96bf0423aef4ee96911cda6cbfd17dd7b5af', class: {
|
|
12906
12903
|
"duet-drawer": true,
|
|
12907
12904
|
"duet-theme-turva": this.theme === "turva",
|
|
12908
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12905
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '816332facf413ea0d4982e49a75bd6c8deb01384', 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: '2f2bb9fc0bf11b71afc63b575b558580be8d2bef', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '894cf661f00dd98fde6c4588eff2f0e117294b6c', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '58e7f6dd2b4d6900bc1eb5b80c5f82a26a1eed5b', class: "duet-drawer-badge" }))), hAsync("span", { key: 'd6fc2d433a6eabc135bc6298fc9ef47c2633b876', class: "duet-drawer-label" }, this.label), hAsync("div", { key: 'd6e08501623205f6dfd9c9196fa19b5b44a5246f', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '265d0ff440812f953004ec0e621e6c568635968b', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '0f557b4cd9db14546ae95e18f0e790bb30cbb93d', id: "duet-drawer-content", class: {
|
|
12909
12906
|
"duet-drawer-content": true,
|
|
12910
12907
|
"duet-drawer-right": this.direction === "right",
|
|
12911
12908
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -13292,11 +13289,11 @@ class DuetNumberInput {
|
|
|
13292
13289
|
const identifier = this.identifier || this.inputId;
|
|
13293
13290
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
13294
13291
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
13295
|
-
return (hAsync(Host, { key: '
|
|
13292
|
+
return (hAsync(Host, { key: '3da7c782ce445861599dc9a836d50866b7950bef', class: {
|
|
13296
13293
|
"duet-theme-turva": this.theme === "turva",
|
|
13297
13294
|
"duet-expand": this.expand,
|
|
13298
13295
|
"duet-m-0": this.margin === "none",
|
|
13299
|
-
} }, hAsync("div", { key: '
|
|
13296
|
+
} }, hAsync("div", { key: 'a42d62f6fbf766e1d8ca3289cedad8c0da51683d', class: "duet-number-container" }, hAsync("duet-input", { key: '802ffebd0db05445c6644fac9a8cd77a36a2df32', ref: input => (this.duetInputElement = input), onDuetChange: event => this.handleChange(event), onDuetFocus: this.handleFocus, onDuetBlur: event => this.handleBlur(event), onKeyDown: event => this.handleKeyDown(event), label: this.label, value: this.value ? `${this.value} ${this.unit}` : "", error: this.error, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": cleanedValue != null ? cleanedValue : "", maxlength: maxlength, name: this.name, component: "number", required: this.required, disabled: this.disabled, role: this.role, labelHidden: this.labelHidden, tooltip: this.tooltip, identifier: identifier, theme: this.theme, margin: "none", expand: true, numericKeyboard: true, autoComplete: "off", type: "text", accessibleActiveDescendant: this.accessibleActiveDescendant, accessibleLabelledBy: this.accessibleLabelledBy, accessibleDescription: this.accessibleDescription, accessibleDetails: this.accessibleDetails, accessibleControls: this.accessibleControls, accessibleOwns: this.accessibleOwns, accessibleDescribedBy: this.accessibleDescribedBy }, hAsync("slot", { key: 'e724d4f60cb5ae0847b2280ff46141601b922955', name: "tooltip" }), hAsync("div", { key: 'bddebaeb4d842b216f3c5ab57d27398c9072ecba', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: '9c0809c67e56135776e7f7730a11f5f2da4fabd8', disabled: this.disabled, "aria-disabled": cleanedValue == null || cleanedValue === this.min ? "true" : "false", class: "duet-number-button duet-number-button-subtract", onClick: this.subtract, type: "button" }, hAsync("duet-visually-hidden", { key: 'd8771c771af162cf210be52b909ff79a6e0b7e49' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: '35c87ddeaf36725a3c5502711615eae4f15e4329', icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: '8988e8d80684cdd0d3a561e3e418d5bdf799d0de', disabled: this.disabled, "aria-disabled": cleanedValue === this.max ? "true" : "false", class: "duet-number-button duet-number-button-add", onClick: this.add, type: "button" }, hAsync("duet-visually-hidden", { key: '163ab6c2ccdc27ec467ff3acdb2ece1b789c57d7' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: 'da61399d82dcb9263d33dd636279857685fda111', icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '4370e4cd37e5acc790bec55999ec64bfcd5b2467', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
13300
13297
|
}
|
|
13301
13298
|
get element() { return getElement(this); }
|
|
13302
13299
|
static get style() { return DuetNumberInputStyle0; }
|
|
@@ -13385,7 +13382,7 @@ class DuetOverlay {
|
|
|
13385
13382
|
* Always the last one in the class.
|
|
13386
13383
|
*/
|
|
13387
13384
|
render() {
|
|
13388
|
-
return (hAsync(Host, { key: '
|
|
13385
|
+
return (hAsync(Host, { key: 'd8f034b2c2abc3f7adc006ba65c93afe843bdb2b', "aria-hidden": "true" }, hAsync("div", { key: '25c36326e9753e221143c4fbcb502ed37e31a2d2', style: { zIndex: this.zIndex }, class: {
|
|
13389
13386
|
"duet-overlay": true,
|
|
13390
13387
|
"duet-theme-turva": this.theme === "turva",
|
|
13391
13388
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -13455,12 +13452,12 @@ class DuetPageHeading {
|
|
|
13455
13452
|
*/
|
|
13456
13453
|
render() {
|
|
13457
13454
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
13458
|
-
return (hAsync("div", { key: '
|
|
13455
|
+
return (hAsync("div", { key: 'b53c67717148c6f485f7d48dc14f8d39ebbda285', class: {
|
|
13459
13456
|
"duet-page-heading": true,
|
|
13460
13457
|
"duet-theme-turva": this.theme === "turva",
|
|
13461
13458
|
"has-icon": !!this.icon,
|
|
13462
13459
|
[layout]: true,
|
|
13463
|
-
} }, hAsync("div", { key: '
|
|
13460
|
+
} }, hAsync("div", { key: 'd03242a40268ceda1ff92bbe42b312c91af0a42c', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'e669b810ab7a753605d49eb75128d612f99beef8', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '92231ecc80fba9f23adfd96d829f12f3b0c2d359', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '70ab0d49b94d16e51b438641ca442d3f2947b4c6', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: '68333b604fe8d86e0cb17743116dcd49cc9cd0a6', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'f7c56b3f8301e2a4a8c04e3a3d1cac58ebdab555', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: 'd3615460a3616369013b7fbdea7420b53168d23e', class: "heading" }, hAsync("slot", { key: '3aa89e5b3d7fd99df1effb42e6c314e3ae27cf85', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: '4e7618ea83cb004ec62756e80365bde4038b99ea' }, hAsync("duet-spacer", { key: '4b56573a6b1d7defa3acd2bd6aff10adea36e9f3', size: "large" }), hAsync("div", { key: '4c3662b9c0f90bf4e09ba42e6b2ead138f5c6492', role: "presentation" }, this.progressIndicator()))))));
|
|
13464
13461
|
}
|
|
13465
13462
|
get element() { return getElement(this); }
|
|
13466
13463
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13815,32 +13812,32 @@ class DuetPagination {
|
|
|
13815
13812
|
* Always the last one in the class.
|
|
13816
13813
|
*/
|
|
13817
13814
|
render() {
|
|
13818
|
-
return (hAsync(Host, { key: '
|
|
13815
|
+
return (hAsync(Host, { key: '30de52a909e492fdf1657c4bd3eebd9f2b5e7ce5', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: 'f9d6d3b7dd05fbe03ac5ce4f26a970fc0a910148', 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: {
|
|
13819
13816
|
"duet-pagination-nav": true,
|
|
13820
13817
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13821
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13818
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: 'b9dd4683843d23fd6b20949c3450975618bc89de', "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: '2542f6c5314a62428349bd0436797981da27c338', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: '711c642a86b6dc98cdbdc16da341c54a7b8766ba', id: this.listId, class: {
|
|
13822
13819
|
"duet-pagination": true,
|
|
13823
13820
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13824
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13821
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '718fab989ed95629e2f0f1931050e108d33af422', class: {
|
|
13825
13822
|
"duet-pagination-page-button": true,
|
|
13826
13823
|
"duet-pagination-button-first": true,
|
|
13827
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13824
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '7a1ef30c44c48f27ecdcc2bf82cc485f9673c94d', 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: 'd115b1124e52420444757f87d6624d2e40e77a89', class: {
|
|
13828
13825
|
"duet-pagination-page-button": true,
|
|
13829
13826
|
"duet-pagination-button-first": true,
|
|
13830
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13827
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '52d006b1e131affc614ab29024a7848a01915203', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13831
13828
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13832
|
-
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: '
|
|
13833
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13829
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '892a8fa21fed391bfc0d4f0cc470c8a43abb9591' }, hAsync("li", { key: 'a9a0723b8cac250b46469ae8fbfccb12d3445cb8', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'd4f9df2d63ec2fbb5146ba5f1dc9f53daf1751c3', 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: 'c15f10460ee1306690c5db36ff31aa040f11d9d9', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '3962965f5d1e02c314dcfbcbd11674f0ca1e4ce1', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '1fad2120a544e51c5873833b118a009939c14666', 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: 'ac8ef66bae9e009774d16bf21fc5661ae360ed11', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13830
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '31467f256cb9d230e4b5380fd3692cea3f9c5f18' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: 'da33ca9bd87f9404b0fd44bc8cefc86f0e74694e', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '87c534e17d295316d3f55a2fb9a295de896bc242', 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: 'f24ee3b11997ee6c9bb6679b72b835207cd1e40c', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: '59e1750d08f948b3f137bc256a3bf07529b6f738', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: '326c765824df1ec4bca3ab5267f8a0ffe865e374', 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
|
|
13834
13831
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13835
|
-
: undefined }, hAsync("div", { key: '
|
|
13832
|
+
: undefined }, hAsync("div", { key: '78cd1fc5457e7f3196d53dfc08e6fca9389a711e', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '5d76476a62efbb068ca0c6a1cff04e0099c395ed', class: {
|
|
13836
13833
|
"duet-pagination-page-button": true,
|
|
13837
13834
|
"duet-pagination-button-last": true,
|
|
13838
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13835
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '3209c80c6eec5207fc6a37af528397eedf2f0f70', disabled: !!((this.current === this.totalPages &&
|
|
13839
13836
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13840
|
-
(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: '
|
|
13837
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: 'bf2ed784874ca4a76e96fd6d6b05f448c8485e6f', class: {
|
|
13841
13838
|
"duet-pagination-page-button": true,
|
|
13842
13839
|
"duet-pagination-button-last": true,
|
|
13843
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13840
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '85815333b5d1a0ab326e11bc457240284557d92e', disabled: (this.current === this.totalPages &&
|
|
13844
13841
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13845
13842
|
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 })))))));
|
|
13846
13843
|
}
|
|
@@ -13914,7 +13911,7 @@ class DuetParagraph {
|
|
|
13914
13911
|
const color = getColorByName(this.color);
|
|
13915
13912
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13916
13913
|
// are not announced when placed inside duet-modal
|
|
13917
|
-
return (hAsync(Host, { key: '
|
|
13914
|
+
return (hAsync(Host, { key: '4cdc1e2db953dc363eb77f14bf5c8473cd22c7ca', "aria-describedby": this.id }, hAsync("p", { key: '6fc77faf20566dc0442bb36f20079aeca48ea41f', id: this.id, class: {
|
|
13918
13915
|
"duet-paragraph": true,
|
|
13919
13916
|
"duet-paragraph-small": this.size === "small",
|
|
13920
13917
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13922,7 +13919,7 @@ class DuetParagraph {
|
|
|
13922
13919
|
"duet-m-0": this.margin === "none",
|
|
13923
13920
|
[this.variation]: true,
|
|
13924
13921
|
"duet-theme-turva": this.theme === "turva",
|
|
13925
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13922
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: 'df2a9f9c672fe560e62f97addbef69d72b13fefe' }))));
|
|
13926
13923
|
}
|
|
13927
13924
|
get element() { return getElement(this); }
|
|
13928
13925
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -15552,14 +15549,14 @@ class DuetPopupMenu {
|
|
|
15552
15549
|
overflowY: "auto",
|
|
15553
15550
|
height: this.popupMenuStyleHeight,
|
|
15554
15551
|
};
|
|
15555
|
-
return (hAsync(Host, { key: '
|
|
15552
|
+
return (hAsync(Host, { key: 'c5d59c4859a8b66d3fdc725163b4163599c70a6f' }, hAsync("div", { key: '376869b621cf3f1899ef6d1e9c1e913bb47fc83f', ref: element => {
|
|
15556
15553
|
this.menuElement = element;
|
|
15557
15554
|
}, style: styles, class: {
|
|
15558
15555
|
open: this.open,
|
|
15559
15556
|
"duet-popup-menu-list": true,
|
|
15560
15557
|
"duet-theme-turva": this.theme === "turva",
|
|
15561
15558
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
15562
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
15559
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '7a5793c36e4103077f1e8165478b410a5068e4a0' }))));
|
|
15563
15560
|
}
|
|
15564
15561
|
get element() { return getElement(this); }
|
|
15565
15562
|
static get watchers() { return {
|
|
@@ -15666,11 +15663,11 @@ class DuetPopupMenuItem {
|
|
|
15666
15663
|
"duet-theme-turva": this.theme === "turva",
|
|
15667
15664
|
"active-descendant": this.activeDescendant,
|
|
15668
15665
|
};
|
|
15669
|
-
return (hAsync(Host, { key: '
|
|
15666
|
+
return (hAsync(Host, { key: 'cba4450c5f4e743f1c54c4736930fd263acba1db', role: this.accessibleRole }, hAsync(TagName, { key: '94c16ad9906c2ea626f186a405a044f8c0fdc38b', 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: 'bc37f155bb1a3c6e0519f1b673682840e7cc2838', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '641cb769d15e68d2e05893737b2712cb22916084', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'c4e79af7b0a972b68a6a30ca479d3fe49ec0ac57' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'd5ae36ac91afb6b5f9a6bfe461a10b68ee0f916e', name: this.url && this.external
|
|
15670
15667
|
? actionNewWindowSmall.title
|
|
15671
15668
|
: this.active
|
|
15672
15669
|
? "messaging-checked-small"
|
|
15673
|
-
: 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: '
|
|
15670
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '79631aaffd5c2b020ebc6f37f0770147ae8291fa', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15674
15671
|
}
|
|
15675
15672
|
get element() { return getElement(this); }
|
|
15676
15673
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15825,12 +15822,12 @@ class DuetPromoCard {
|
|
|
15825
15822
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15826
15823
|
};
|
|
15827
15824
|
const TagName = this.url ? "a" : "div";
|
|
15828
|
-
return (hAsync(Host, { key: '
|
|
15825
|
+
return (hAsync(Host, { key: 'cf84dae7441eb54639e24b8cecefaed8387f60c4', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '76e71f258c2a4f15b26cb2954e6c48eb93e1bfeb', class: {
|
|
15829
15826
|
"duet-promo-card": true,
|
|
15830
15827
|
"duet-theme-turva": this.theme === "turva",
|
|
15831
15828
|
"no-bg-color": !this.backgroundColor,
|
|
15832
15829
|
"duet-promo-card-link": !!this.url,
|
|
15833
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
15830
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'a621b3f1b8f675a0c7643b80268a1a1fae44634e', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'f81167006440e7d2849bca5b6998f56aef84270c', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '0f57e628e3de81ba03a435591bb79f23765f3e0c', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '004cb19ae4521948a4f3c92efd7749fa2daa65a1', class: "pre-heading" }, hAsync("slot", { key: '891ce96361f3291e64af70299a30cacaa6658305', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '32103b0e907ae34c0f79c49aa4f5a01a15ac622b', class: "heading" }, hAsync("duet-heading", { key: '4d464e8fcfff685c8cff29b09d8b966f7060bc86', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'e75ab8c05ecaa5f16dce99bd818738385315cf5b' }, hAsync("slot", { key: '0f21589923a3be27f2b9e7cd08ff10b87bdcbcbd', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '97bedc93d874049ff15560abac99d4de3617de6c', class: "description" }, hAsync("duet-paragraph", { key: '869c2b82f2915641778bdb2c5f894d7069ac4600', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '55d9c3b34a7c538f6abaaf64268666f3d2fab6d9' }, hAsync("slot", { key: '18fd004f6a5a6d7cd1410a5365de315027b8872d', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '2f1dcdd2f0d8a45795c2ca89eedbde7803d27de8', class: "action" }, hAsync("slot", { key: '0f123542154cd285f35d66b4a2ee5b19eaad98ef', name: "action" }))))))));
|
|
15834
15831
|
}
|
|
15835
15832
|
get element() { return getElement(this); }
|
|
15836
15833
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -16019,16 +16016,16 @@ class DuetRadio {
|
|
|
16019
16016
|
* Always the last one in the class.
|
|
16020
16017
|
*/
|
|
16021
16018
|
render() {
|
|
16022
|
-
return (hAsync(Host, { key: '
|
|
16019
|
+
return (hAsync(Host, { key: 'd0e3f85414ec58c2ad43fc2b5270169f0215d135', onClick: this.onClick, class: {
|
|
16023
16020
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
16024
16021
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
16025
16022
|
"duet-m-0": this.margin === "none",
|
|
16026
|
-
} }, hAsync("div", { key: '
|
|
16023
|
+
} }, hAsync("div", { key: '53abf70ecca3cb7982df21e96daf3e534d9830ea', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: 'bb6b9872a4cad75a191a8ac5b1e7e0678fb8f2d5', name: "input" }), hAsync("label", { key: '9ed92050ef44dbc0c78dc3e815ff9ab50d118c2d', inert: true, ref: element => (this.labelElement = element), class: {
|
|
16027
16024
|
"duet-label": true,
|
|
16028
16025
|
checked: this.checked,
|
|
16029
16026
|
focus: this.focus,
|
|
16030
16027
|
disabled: this.disabled || this.groupDisabled,
|
|
16031
|
-
} }, hAsync("div", { key: '
|
|
16028
|
+
} }, hAsync("div", { key: '58c329e0c4ff19df4d30be153a66aac885dcc89d', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
16032
16029
|
}
|
|
16033
16030
|
get element() { return getElement(this); }
|
|
16034
16031
|
static get style() { return DuetRadioStyle0; }
|
|
@@ -16179,7 +16176,7 @@ class DuetRadioGroup {
|
|
|
16179
16176
|
* Always the last one in the class.
|
|
16180
16177
|
*/
|
|
16181
16178
|
render() {
|
|
16182
|
-
return (hAsync(Host, { key: '
|
|
16179
|
+
return (hAsync(Host, { key: '58915e6da750001fd46c97b2101776c6631fc02f', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: '8b454dcd733beeea8c9cfb065fc3ea538d628882', label: this.label, labelHidden: this.labelHidden, caption: this.caption, error: this.error, margin: this.margin, theme: this.theme, "accessible-live-error": this.accessibleLiveError }, this.tooltip && (hAsync("duet-tooltip", { key: 'c2a46c8277ab66b0e5c114465cfe12d4d2b9e8b3', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '3518ff371ea67b21be7abe499770fd0f1e0c7751', name: "tooltip" }), hAsync("div", { key: '797c9eb9ed9fbfc2aeed8387737988edd97196e3', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'ee43ef03fa86da26eff0ee82ae7f828b4b486a88' })))));
|
|
16183
16180
|
}
|
|
16184
16181
|
get element() { return getElement(this); }
|
|
16185
16182
|
static get watchers() { return {
|
|
@@ -16329,13 +16326,13 @@ class DuetRangeSlider {
|
|
|
16329
16326
|
const rangeStyles = {
|
|
16330
16327
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
16331
16328
|
};
|
|
16332
|
-
return (hAsync(Host, { key: '
|
|
16329
|
+
return (hAsync(Host, { key: '98fe15c2f253a8bee32d5271e6de03605e669c28', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: 'e2344803fd443a83024cf3fcfe9ed87d952d1038', class: {
|
|
16333
16330
|
"duet-range-container": true,
|
|
16334
16331
|
"duet-label-hidden": this.labelHidden,
|
|
16335
16332
|
"duet-theme-turva": this.theme === "turva",
|
|
16336
16333
|
"duet-ie": isInternetExplorer(),
|
|
16337
16334
|
"duet-range-disabled": this.disabled,
|
|
16338
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
16335
|
+
} }, hAsync(DuetInternalLabel, { key: '0780aee7170b90a56e56e59abe19287e536ed531', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: 'eef1575763000465607bb91eec29b4491df22660', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: 'e38f080b37e93b2abc1ce740d413c349ce4c893f', onInput: this.onInput, onChange: this.onChange, ref: input => (this.nativeInput = input), type: "range", min: this.min, max: this.max, step: this.step, value: this.value, style: rangeStyles, "aria-valuemin": this.min, "aria-valuemax": this.max, "aria-valuenow": this.value, "aria-valuetext": `${this.value} ${this.unit}`, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, id: identifier, name: this.name, disabled: this.disabled, required: this.required, class: "duet-range" }))));
|
|
16339
16336
|
}
|
|
16340
16337
|
get element() { return getElement(this); }
|
|
16341
16338
|
static get style() { return DuetRangeSliderStyle0; }
|
|
@@ -16538,10 +16535,10 @@ class DuetRangeStepper {
|
|
|
16538
16535
|
* Always the last one in the class.
|
|
16539
16536
|
*/
|
|
16540
16537
|
render() {
|
|
16541
|
-
return (hAsync("div", { key: '
|
|
16538
|
+
return (hAsync("div", { key: '72ad680e3e9c66bb07767d39809f1c9238e72e57', class: {
|
|
16542
16539
|
"duet-range-stepper": true,
|
|
16543
16540
|
"duet-theme-turva": this.theme === "turva",
|
|
16544
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
16541
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '06a6d22a4872a4f52d52853769e886b5101016a9', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: 'a91caa95ba2262118e2d0a5615da3bbdc3cd456d', 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: 'a03a4cdd46c44378b5e544f0a1287320a58cfc58', 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: "" })));
|
|
16545
16542
|
}
|
|
16546
16543
|
get element() { return getElement(this); }
|
|
16547
16544
|
static get watchers() { return {
|
|
@@ -16570,7 +16567,7 @@ class DuetRangeStepper {
|
|
|
16570
16567
|
}; }
|
|
16571
16568
|
}
|
|
16572
16569
|
|
|
16573
|
-
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 .duet-scrollable-fade-overlay{position:absolute;bottom:0;z-index:250;display:block;width:10px;height:100%;pointer-events:none;transition:transform 300ms ease}:host .duet-scrollable-items .duet-scrollable-fade-overlay--hidden{display:none}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay{}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.left{left:calc(0px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.right{right:calc(0px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.left{left:calc(40px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.right{right:calc(40px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}: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 .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[hidden]{display:none !important}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;
|
|
16570
|
+
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items .duet-scrollable-fade-overlay{position:absolute;bottom:0;z-index:250;display:block;width:10px;height:100%;pointer-events:none;transition:transform 300ms ease}:host .duet-scrollable-items .duet-scrollable-fade-overlay--hidden{display:none}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay{}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.left{left:calc(0px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items:not(.buttons) .duet-scrollable-fade-overlay.right{right:calc(0px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.left{left:calc(40px - 10px);background-image:linear-gradient(to right, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-fade-overlay.right{right:calc(40px - 10px);background-image:linear-gradient(to left, rgb(255, 255, 255), rgba(255, 255, 255, 0))}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:-10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:-10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-right:10px;padding-left:10px;margin:0 -10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.center{justify-content:center}:host .duet-scrollable-items.center .duet-scrollable-list.collapsed{justify-content:center}.collapse{width:100%;text-align:center}.collapse.hide{visibility:hidden}::slotted(*){flex-shrink:0;margin-left:0;-webkit-transition:-webkit-transform 0.2s ease-in-out;transition:-webkit-transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out;transition:transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;scroll-snap-align:center}";
|
|
16574
16571
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
16575
16572
|
|
|
16576
16573
|
/**
|
|
@@ -16606,8 +16603,10 @@ class DuetScrollable {
|
|
|
16606
16603
|
this.collapsed = false;
|
|
16607
16604
|
this.buttons = true;
|
|
16608
16605
|
this.buttonAlignment = "center";
|
|
16606
|
+
this.buttonPosition = "relative";
|
|
16609
16607
|
this.center = false;
|
|
16610
16608
|
this.padding = "none";
|
|
16609
|
+
this.gap = "large";
|
|
16611
16610
|
this.selected = 0;
|
|
16612
16611
|
}
|
|
16613
16612
|
watchPropHandler(newValue) {
|
|
@@ -16775,8 +16774,10 @@ class DuetScrollable {
|
|
|
16775
16774
|
"duet-scrollable-button-container": true,
|
|
16776
16775
|
[`${direction}`]: true,
|
|
16777
16776
|
"duet-scrollable-button-container--occluded": !this.needsScrolling,
|
|
16778
|
-
|
|
16777
|
+
[`duet-scrollable-button-container--${this.buttonPosition}`]: true,
|
|
16778
|
+
}, hidden: !this.buttons || (this.buttonPosition === "absolute" && scrollPaneLocation) }, hAsync("span", { part: `${this.identifier}-button-${direction}`, "aria-hidden": "true", class: {
|
|
16779
16779
|
"duet-scrollable-button": true,
|
|
16780
|
+
[`duet-scrollable-button--${this.buttonPosition}`]: true,
|
|
16780
16781
|
[`duet-scrollable-button--${this.buttonAlignment}`]: true,
|
|
16781
16782
|
[`duet-scrollable-button--${direction}`]: true,
|
|
16782
16783
|
}, onClick: () => {
|
|
@@ -16784,28 +16785,31 @@ class DuetScrollable {
|
|
|
16784
16785
|
if (document.activeElement) {
|
|
16785
16786
|
document.activeElement.blur();
|
|
16786
16787
|
}
|
|
16787
|
-
}, hidden: !this.buttons || scrollPaneLocation }, hAsync("duet-icon", { color: scrollPaneLocation ? arrowColorDisabled : arrowColor, name: direction === "left" ? "action-arrow-left" : "action-arrow-right", size: "small", margin: "none" }))));
|
|
16788
|
+
}, hidden: !this.buttons || scrollPaneLocation }, hAsync("duet-icon", { color: scrollPaneLocation ? arrowColorDisabled : arrowColor, name: direction === "left" ? "action-arrow-left" : "action-arrow-right", size: this.buttonPosition === "absolute" ? "x-small" : "small", margin: "none" }))));
|
|
16788
16789
|
}
|
|
16789
16790
|
/**
|
|
16790
16791
|
* render() function
|
|
16791
16792
|
* Always the last one in the class.
|
|
16792
16793
|
*/
|
|
16793
16794
|
render() {
|
|
16794
|
-
return (hAsync(Host, { key: '
|
|
16795
|
+
return (hAsync(Host, { key: 'e4754f4da3a789373d792ac89a063315e79d7a90', class: {
|
|
16795
16796
|
"duet-theme-turva": this.theme === "turva",
|
|
16796
16797
|
"duet-theme-default": this.theme === "default",
|
|
16797
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
16798
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '5f8b8c71a48604022820823f706a6bffd5431910', class: {
|
|
16798
16799
|
collapse: true,
|
|
16799
16800
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16800
|
-
} }, hAsync("duet-button", { key: '
|
|
16801
|
+
} }, hAsync("duet-button", { key: 'da3800a16fdbf957c67b28714265d31e30b0955c', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '3e2ff10c6c3c9117d9ced71e594d6e676d69b13b', name: "collapse-button-label" })))), hAsync("div", { key: '53168397428b88d429118f2f2890453f48c62902', class: {
|
|
16801
16802
|
"duet-scrollable-items": true,
|
|
16802
16803
|
buttons: this.buttons,
|
|
16803
16804
|
center: this.center,
|
|
16804
|
-
|
|
16805
|
+
"duet-theme-turva": this.theme === "turva",
|
|
16806
|
+
} }, this.buttons && this.renderButton("left"), this.buttonPosition !== "absolute" && this.renderFadeOverlay("left"), hAsync("div", { key: '633355fa13bcedb40d620fa7c130e0fee799e1bc', class: {
|
|
16805
16807
|
"duet-scrollable-list": true,
|
|
16808
|
+
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16809
|
+
[`gap-${this.gap}`]: true,
|
|
16806
16810
|
collapsed: this.collapsed,
|
|
16807
16811
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16808
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
16812
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '25345f070956f9a6ea3b700bce6c0914bced2d38' })), this.buttonPosition !== "absolute" && this.renderFadeOverlay("right"), this.buttons && this.renderButton("right"))));
|
|
16809
16813
|
}
|
|
16810
16814
|
get element() { return getElement(this); }
|
|
16811
16815
|
static get watchers() { return {
|
|
@@ -16821,8 +16825,10 @@ class DuetScrollable {
|
|
|
16821
16825
|
"collapsed": [1540],
|
|
16822
16826
|
"buttons": [4],
|
|
16823
16827
|
"buttonAlignment": [1, "button-alignment"],
|
|
16824
|
-
"
|
|
16828
|
+
"buttonPosition": [1, "button-position"],
|
|
16829
|
+
"center": [516],
|
|
16825
16830
|
"padding": [1],
|
|
16831
|
+
"gap": [1],
|
|
16826
16832
|
"selected": [1026],
|
|
16827
16833
|
"scrollPaneAtStart": [32],
|
|
16828
16834
|
"needsScrolling": [32],
|
|
@@ -16831,7 +16837,7 @@ class DuetScrollable {
|
|
|
16831
16837
|
},
|
|
16832
16838
|
"$listeners$": undefined,
|
|
16833
16839
|
"$lazyBundleId$": "-",
|
|
16834
|
-
"$attrsToReflect$": [["collapsed", "collapsed"]]
|
|
16840
|
+
"$attrsToReflect$": [["collapsed", "collapsed"], ["center", "center"]]
|
|
16835
16841
|
}; }
|
|
16836
16842
|
}
|
|
16837
16843
|
|
|
@@ -16850,13 +16856,13 @@ class DuetSectionLayout {
|
|
|
16850
16856
|
* Always the last one in the class.
|
|
16851
16857
|
*/
|
|
16852
16858
|
render() {
|
|
16853
|
-
return (hAsync(Host, { key: '
|
|
16859
|
+
return (hAsync(Host, { key: 'd59fd803c2d331d93c517799dffba4ba780206c9', class: {
|
|
16854
16860
|
"duet-middle": this.middle,
|
|
16855
16861
|
"duet-ie": isInternetExplorer(),
|
|
16856
|
-
} }, hAsync("div", { key: '
|
|
16862
|
+
} }, hAsync("div", { key: '6199393352b4a25123cc6944b9eb7938b587d8c8', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'e8b4016587163de6c1257f6bb35a8afb18466622', class: {
|
|
16857
16863
|
"duet-layout": true,
|
|
16858
16864
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16859
|
-
} }, hAsync("section", { key: '
|
|
16865
|
+
} }, hAsync("section", { key: '074cc43ee4127e6ed8b268f081086eeddfb1c066', class: "duet-main" }, hAsync("slot", { key: '387b88c324e3f25cad2b7e3af3b9b6cfb804fce1' }))))));
|
|
16860
16866
|
}
|
|
16861
16867
|
get element() { return getElement(this); }
|
|
16862
16868
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -17025,23 +17031,23 @@ class DuetSelect {
|
|
|
17025
17031
|
*/
|
|
17026
17032
|
render() {
|
|
17027
17033
|
const identifier = this.identifier || this.selectId;
|
|
17028
|
-
return (hAsync(Host, { key: '
|
|
17034
|
+
return (hAsync(Host, { key: '847b57caa876d33226540190655ebad3853321a6', onClick: this.onClick, class: {
|
|
17029
17035
|
"duet-m-0": this.margin === "none",
|
|
17030
17036
|
"duet-expand": this.expand,
|
|
17031
17037
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17032
|
-
} }, hAsync("div", { key: '
|
|
17038
|
+
} }, hAsync("div", { key: 'cd440b3b4732daf0682e132f0d8882749b44fb58', class: {
|
|
17033
17039
|
"duet-select-container": true,
|
|
17034
17040
|
"duet-label-hidden": this.labelHidden,
|
|
17035
17041
|
"duet-theme-turva": this.theme === "turva",
|
|
17036
17042
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17037
17043
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
17038
17044
|
"has-error": !!this.error,
|
|
17039
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
17045
|
+
} }, hAsync(DuetInternalLabel, { key: 'f5a95e470436a18716d2e8776fdc3c797462cc17', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: '4596fd07d9e1e2b54c1a1ecd1a4b11d9a252d64b', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '534a7a1d55d25a1bac04d7e875eedea92b750401', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: 'f6209eb669879a3ffd5e3f75c22635a3a43420cf', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'c3fdbdee82e459e1799fd579e9d9ef72e3875afb', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '15f9255e6167fb72ef530e01b11d220684e46ba8', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("select", { key: '548ce61c3912e40c99466af3191224b2d11c1104', ref: select => (this.nativeSelect = select), disabled: this.disabled, name: this.name, id: identifier, role: this.role, "aria-labelledby": this.labelId, "aria-describedby": this.getDescribedBy(), "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, onFocus: this.onFocus, onBlur: this.onBlur, onChange: this.onChange, required: this.required }, this.placeholder && (hAsync("option", { key: 'fce5373b96ac5d37357ddec517c50cac493005e7', disabled: true, selected: true, value: "" }, this.placeholder)), !this.processedItems ? (hAsync("option", null, "Virhe valintoja ladattaessa. P\u00E4ivit\u00E4 sivu ja kokeile uusiksi.")) : (this.processedItems.map(item => {
|
|
17040
17046
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
17041
|
-
}))), hAsync("div", { key: '
|
|
17047
|
+
}))), hAsync("div", { key: '27bcfaaa3cb88cba2bd54a46bad51c2a1a077010', class: {
|
|
17042
17048
|
"duet-select": true,
|
|
17043
17049
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17044
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
17050
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '5ff56760239bbf6df5fd1196c431bb0d2922ce40', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'af31312140ff712064d8549cb23cc6132e72d1cc', d: "m12 18.999c-.4 0-.776-.156-1.059-.438l-10.721-10.72c-.142-.142-.22-.33-.22-.531 0-.2.078-.389.22-.53.142-.142.33-.22.53-.22s.389.078.53.22l10.72 10.719 10.72-10.719c.142-.142.33-.22.53-.22s.389.078.53.22c.142.142.22.33.22.53s-.078.389-.22.53l-10.72 10.72c-.282.283-.659.439-1.06.439z" })))) || (hAsync("duet-icon", { key: '662ea26357efc0545567b0878932aba619a02e8c', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: '084a9edb74ffb5de18b3dbb737fd18feb04582ef', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: '59fda925694a93e39fca62495ba1164a6a046ca4', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '40def81c304d6e95679f9078ebacaee423d2682b' }, this.error)))));
|
|
17045
17051
|
}
|
|
17046
17052
|
get element() { return getElement(this); }
|
|
17047
17053
|
static get watchers() { return {
|
|
@@ -17114,9 +17120,9 @@ class DuetShapedImage {
|
|
|
17114
17120
|
const style = {
|
|
17115
17121
|
"--rotation": `${this.rotation}deg`,
|
|
17116
17122
|
};
|
|
17117
|
-
return (hAsync(Host, { key: '
|
|
17123
|
+
return (hAsync(Host, { key: 'f1c8d161c2283c6244394301f825cba95d3e9b7e', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: 'bbdaa4aff9bd834201ae92822ff1ad6f249c8b6e', class: {
|
|
17118
17124
|
"shaped-image": true,
|
|
17119
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
17125
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '09a783d38ac534c9a11357afda22e817f64374e7', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'f0d718945e2be9e95e33acfb49e94e102698812f', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
17120
17126
|
}
|
|
17121
17127
|
static get style() { return DuetShapedImageStyle0; }
|
|
17122
17128
|
static get cmpMeta() { return {
|
|
@@ -17224,12 +17230,12 @@ class DuetShowMore {
|
|
|
17224
17230
|
* Always the last one of the class.
|
|
17225
17231
|
*/
|
|
17226
17232
|
render() {
|
|
17227
|
-
return (hAsync(Host, { key: '
|
|
17233
|
+
return (hAsync(Host, { key: '7aabc68122e39e13570c288807ddf7217bf2c794' }, hAsync("div", { key: 'd6624d52f08b44fd3a8bc120e4b91f27c7780930', class: {
|
|
17228
17234
|
"duet-show-more": true,
|
|
17229
17235
|
"duet-theme-turva": this.theme === "turva",
|
|
17230
17236
|
"duet-m-0": this.margin === "none",
|
|
17231
17237
|
open: this.open,
|
|
17232
|
-
} }, hAsync("div", { key: '
|
|
17238
|
+
} }, hAsync("div", { key: 'ae9e3f907c01acca68e65d494d95d5cb94fc98dc', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'b48162785643ad6cf19317034330292fb9b68d35', class: { "slotted-content": true } }, hAsync("slot", { key: 'fbf4b3787e4da0aece2faa1572b17d2f90e5a305' }))), hAsync("duet-button", { key: '607c79dca958f12c36b480232904934bfd75c2b7', 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: 'fc42b31d2ecdc7f250776565b6dc19fba34d3919' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
17233
17239
|
}
|
|
17234
17240
|
get element() { return getElement(this); }
|
|
17235
17241
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -17511,8 +17517,12 @@ class DuetSlideout {
|
|
|
17511
17517
|
};
|
|
17512
17518
|
this.isSafariBrowser = /^((?!chrome|android).)*safari/i.test(navigator === null || navigator === void 0 ? void 0 : navigator.userAgent);
|
|
17513
17519
|
this.hasStickyHeaderSlot = false;
|
|
17514
|
-
this.setOpenButton = (element) => {
|
|
17520
|
+
this.setOpenButton = (element, addClickListener = false) => {
|
|
17521
|
+
if (this.openButton) {
|
|
17522
|
+
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
17523
|
+
}
|
|
17515
17524
|
if (!element) {
|
|
17525
|
+
this.openButton = undefined;
|
|
17516
17526
|
return;
|
|
17517
17527
|
}
|
|
17518
17528
|
try {
|
|
@@ -17520,6 +17530,9 @@ class DuetSlideout {
|
|
|
17520
17530
|
button.accessiblePopup = "true";
|
|
17521
17531
|
button.accessibleExpanded = false;
|
|
17522
17532
|
this.openButton = button;
|
|
17533
|
+
if (addClickListener) {
|
|
17534
|
+
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
17535
|
+
}
|
|
17523
17536
|
}
|
|
17524
17537
|
catch (_e) { }
|
|
17525
17538
|
};
|
|
@@ -17567,11 +17580,9 @@ class DuetSlideout {
|
|
|
17567
17580
|
if (this.opener === value) {
|
|
17568
17581
|
return;
|
|
17569
17582
|
}
|
|
17583
|
+
this._opener = value;
|
|
17570
17584
|
if (typeof value === "string") {
|
|
17571
|
-
this.setOpenButton(document.getElementById(value));
|
|
17572
|
-
if (this.openButton) {
|
|
17573
|
-
this.openButton.addEventListener("click", this.openButtonEventListener);
|
|
17574
|
-
}
|
|
17585
|
+
this.setOpenButton(document.getElementById(value), true);
|
|
17575
17586
|
}
|
|
17576
17587
|
else {
|
|
17577
17588
|
this.setOpenButton(value);
|
|
@@ -17607,9 +17618,7 @@ class DuetSlideout {
|
|
|
17607
17618
|
if (this.mutationObserver) {
|
|
17608
17619
|
this.mutationObserver.disconnect();
|
|
17609
17620
|
}
|
|
17610
|
-
|
|
17611
|
-
this.openButton.removeEventListener("click", this.openButtonEventListener);
|
|
17612
|
-
}
|
|
17621
|
+
this.setOpenButton(undefined);
|
|
17613
17622
|
this.setStickHeaderStyleMutations(true);
|
|
17614
17623
|
}
|
|
17615
17624
|
handleOpenChange(newValue, oldValue) {
|
|
@@ -17716,16 +17725,16 @@ class DuetSlideout {
|
|
|
17716
17725
|
};
|
|
17717
17726
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17718
17727
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17719
|
-
return (hAsync(Host, { key: '
|
|
17728
|
+
return (hAsync(Host, { key: '41a80c4595a58da1bcd603e141e24292fc1424cf' }, hAsync("div", { key: '5d7498bbf72f282746fbd98c6598cf0ef64c92fc', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '4c75f1d7efb902c5a085c764f1dd5bd3110690d7', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '02a46010735f650bd529528c654d14e9d86fd162', 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: {
|
|
17720
17729
|
dialog: true,
|
|
17721
17730
|
hidden: !this.open,
|
|
17722
17731
|
modal: this.modal,
|
|
17723
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
17732
|
+
}, style: styles }, hAsync(FocusGuard, { key: '336ede420dcd736609210a4f4420359d7d7408ad', moveFocusTo: this.closeButton }), hAsync("div", { key: '992217114a78eb26370dd40654693f3b693dae36', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '2ee4c40418f711ec612e2b1ac9654af56fcd994a', class: "top" }, hAsync("button", { key: '48660c605accd14f318102ece5bcf1b0ee2fecec', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17724
17733
|
"slideout-close": true,
|
|
17725
17734
|
active: this.open,
|
|
17726
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
17735
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '8cd881f81db33a16072ef633bebfb5fc4faa7f17', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '3b1302d4a8e711ab31b6de50d23518f909cd5194', class: "sticky-header" }, hAsync("slot", { key: 'eca82fca6e9b3eb68aad6092a799fa383f9172db', name: "sticky-header" }))), hAsync("div", { key: 'e0c6e3c281d5a0451300675f7cc6fd808cd3382c', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17727
17736
|
items: true,
|
|
17728
|
-
} }, hAsync("slot", { key: '
|
|
17737
|
+
} }, hAsync("slot", { key: '7b2f64fb669a13f1122b71b3a1866d2e3ff71557' })), hAsync(FocusGuard, { key: 'b6bbd2ef228796ced15b024c03457ab37c15478c', moveFocusTo: this.closeButton })))));
|
|
17729
17738
|
}
|
|
17730
17739
|
get element() { return getElement(this); }
|
|
17731
17740
|
static get watchers() { return {
|
|
@@ -17792,7 +17801,7 @@ class DuetSlideoutLang {
|
|
|
17792
17801
|
*/
|
|
17793
17802
|
render() {
|
|
17794
17803
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17795
|
-
return (hAsync(Host, { key: '
|
|
17804
|
+
return (hAsync(Host, { key: '2e3786b9379cc0898afe8242d6261f7f638ee055' }, hAsync("div", { key: 'd732dcd99d2623c69b4ef90da80250d92a181345', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '40bcd65531b9bf0b184b4839edb93999bb1baf8f', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '80aba1c3733a7372e2d923efae445d312ae77eef' }))));
|
|
17796
17805
|
}
|
|
17797
17806
|
get element() { return getElement(this); }
|
|
17798
17807
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17836,12 +17845,12 @@ class DuetSlideoutLink {
|
|
|
17836
17845
|
* Always the last one in the class.
|
|
17837
17846
|
*/
|
|
17838
17847
|
render() {
|
|
17839
|
-
return (hAsync(Host, { key: '
|
|
17848
|
+
return (hAsync(Host, { key: 'a029203320f713bb35536f330eb844dd30a6f642' }, hAsync("a", { key: 'a4330b8ae522bc1f1730777fbb3d2238617cb8bd', class: {
|
|
17840
17849
|
"duet-slideout-link": true,
|
|
17841
17850
|
"duet-theme-turva": this.theme === "turva",
|
|
17842
17851
|
active: this.active,
|
|
17843
17852
|
[this.size]: true,
|
|
17844
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
17853
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '2f6f44567d1d0977a30ccad6fac3c15d6f324ba2', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '10cdd450e97db14094ee2650b9d15fee0d11b8ac', class: "label" }, hAsync("span", { key: 'a7819f3cb48b547fd6a033b048148fb0a0b3d1dc' }, hAsync("slot", { key: '1b4500ab2c18ba67f3b0c356156cbc4939248376' }), hAsync("slot", { key: 'f1b1cab15e6bd356e34438076c4292d998bd5881', name: "description" })), this.caret && (hAsync("duet-icon", { key: '757f3c16fe571ce1743a9175fe99da0b107dc59b', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17845
17854
|
}
|
|
17846
17855
|
get element() { return getElement(this); }
|
|
17847
17856
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -18001,23 +18010,23 @@ class DuetSlideoutPanel {
|
|
|
18001
18010
|
};
|
|
18002
18011
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
18003
18012
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
18004
|
-
return (hAsync(Host, { key: '
|
|
18013
|
+
return (hAsync(Host, { key: '1fdecfc05e8d865359ade74def89509ede4b640d' }, hAsync("div", { key: '5f01158076efebc4228dc02f4d2c935c8c2b1b53', class: {
|
|
18005
18014
|
"duet-slideout-panel": true,
|
|
18006
18015
|
"duet-theme-turva": this.theme === "turva",
|
|
18007
18016
|
active: this.open,
|
|
18008
|
-
} }, hAsync("button", { key: '
|
|
18017
|
+
} }, hAsync("button", { key: 'e4a202123cc409499442c9ad9237ef25d91afb9b', 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: {
|
|
18009
18018
|
link: true,
|
|
18010
18019
|
active: this.active,
|
|
18011
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
18020
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '00973456c8c03852e7f3cce1deb832cfb315d151', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: 'b52abe82284aa610518b113fae26f4d6ee08fb76', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: 'd3d4401ebedef89cb2509a8b9f44b27ff27ffe7a', class: "duet-slideout-badge" }))), hAsync("span", { key: '87803383a92d8ae0298ad3b1a4731f5982215d71', class: "label" }, hAsync("span", { key: '8c0de2a43822dbbad951886d6658a74863fecbb6', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'f3fcc66001ef3f15cc1c179eb26d5b7ddc55b52b', name: "label" })), hAsync("duet-icon", { key: '15a3ad5adc96e793705f455989dc4db44b6510fe', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '618f75004e95a0b85850cc1f8e480c4b4f8f99d0', ref: element => (this.dialog = element), class: {
|
|
18012
18021
|
dialog: true,
|
|
18013
18022
|
hidden: !this.open,
|
|
18014
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
18023
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'be8cbff0348dcb36daf49410a46057911878ab6b', moveFocusTo: this.closeButton }), hAsync("div", { key: '67d750c50b72dbbbb55ce0507634483d107b2afd', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '0ddae96c7a72f15d58196c28827a0e50b378b245', class: "top" }, hAsync("button", { key: '48f823a1ce20d6988bf672ad70f44a52f0ecb56b', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
18015
18024
|
back: true,
|
|
18016
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
18025
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '14263fd7430103f651285262e3e26ce785005a40', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '44d2456e6d944ff4e99332a1cc92ea89742251c3' }, this.label.innerHTML), hAsync("button", { key: 'e9a1c830c74e427847185e2f90ca3f82ba582523', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '6cff167e773690ddf3b27a92d60f84186848d58d', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '67d5e9fbee252fe03fba053c529a8f93c07e9193', class: "sticky-header" }, hAsync("slot", { key: '6d8530f7db55035d6999708de1ad3ad010a74f5d', name: "sticky-header" }))), hAsync("div", { key: '30c1508f93d6cc911e96992d8bf3ae1edff54fcc', tabindex: "-1", role: "menu",
|
|
18017
18026
|
//TODO: slideout menu fades out, needs to be instant
|
|
18018
18027
|
id: "menu", "aria-labelledby": "button", class: {
|
|
18019
18028
|
items: true,
|
|
18020
|
-
} }, hAsync("slot", { key: '
|
|
18029
|
+
} }, hAsync("slot", { key: 'ebc44ee8022282e5baaf0141848dc623a819905e' })), hAsync(FocusGuard, { key: 'e5d212d17206f611fc0b18d4566606c3abffe33b', moveFocusTo: this.closeButton })))));
|
|
18021
18030
|
}
|
|
18022
18031
|
get element() { return getElement(this); }
|
|
18023
18032
|
static get watchers() { return {
|
|
@@ -18087,16 +18096,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
18087
18096
|
* Always the last one in the class.
|
|
18088
18097
|
*/
|
|
18089
18098
|
render() {
|
|
18090
|
-
return (hAsync(Host, { key: '
|
|
18099
|
+
return (hAsync(Host, { key: '395dbb7ccae945eb7b868151f9718d1cd6610cb9' }, hAsync("div", { key: 'e20a30d16e26fa8b8d1d79282121aa096ab5eefb', class: {
|
|
18091
18100
|
"duet-slideout-panel-dropdown": true,
|
|
18092
18101
|
"duet-theme-turva": this.theme === "turva",
|
|
18093
18102
|
active: this.open,
|
|
18094
|
-
} }, hAsync("button", { key: '
|
|
18103
|
+
} }, hAsync("button", { key: '66ab3aeaedb579191ea05f7144d49a5a7797da15', 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: {
|
|
18095
18104
|
active: this.active,
|
|
18096
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
18105
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '74325e60be48fe2f61db0abdd0bdfeb4076ac210', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '5b6534465bd89bc9943fe95179d1484e0523cffd', class: "label" }, hAsync("slot", { key: '1a720277e982c04d1ee3c52c5b705a72eb6b639f', name: "label" }), hAsync("duet-icon", { key: '94cdfb7634f121957894a58400797dc9fd0f8fbf', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: 'dde8244123fcf328f0ff21d34f816078cdf794c4', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18097
18106
|
items: true,
|
|
18098
18107
|
hidden: !this.open,
|
|
18099
|
-
} }, hAsync("slot", { key: '
|
|
18108
|
+
} }, hAsync("slot", { key: '6a4ec5ae0afb953b1aa2ba49f564b06a18acfcfa' })))));
|
|
18100
18109
|
}
|
|
18101
18110
|
get element() { return getElement(this); }
|
|
18102
18111
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -18131,7 +18140,7 @@ class DuetSpacer {
|
|
|
18131
18140
|
* Always the last one in the class.
|
|
18132
18141
|
*/
|
|
18133
18142
|
render() {
|
|
18134
|
-
return (hAsync(Host, { key: '
|
|
18143
|
+
return (hAsync(Host, { key: '2aa5669c773f8841ad33637ee24c845c7eeb5dd2', class: {
|
|
18135
18144
|
"duet-spacer": true,
|
|
18136
18145
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
18137
18146
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -18182,11 +18191,11 @@ class DuetSpinner {
|
|
|
18182
18191
|
*/
|
|
18183
18192
|
render() {
|
|
18184
18193
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
18185
|
-
return (hAsync(Host, { key: '
|
|
18194
|
+
return (hAsync(Host, { key: 'f415bd43d421b7106fdbd90bd2c187879ff17c17', class: {
|
|
18186
18195
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
18187
18196
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
18188
18197
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
18189
|
-
} }, hAsync("div", { key: '
|
|
18198
|
+
} }, hAsync("div", { key: '34b4c350a642f331b9776f5ce12e3c7a2990b3d7', class: {
|
|
18190
18199
|
"duet-spinner": true,
|
|
18191
18200
|
[this.size]: true,
|
|
18192
18201
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -18292,13 +18301,13 @@ class DuetStep {
|
|
|
18292
18301
|
* Always the last one in the class.
|
|
18293
18302
|
*/
|
|
18294
18303
|
render() {
|
|
18295
|
-
return (hAsync("div", { key: '
|
|
18304
|
+
return (hAsync("div", { key: 'cf7f017c189308e969ac8fc319fff799b44b675b', class: {
|
|
18296
18305
|
"duet-step": true,
|
|
18297
18306
|
[`is-${this.state}`]: true,
|
|
18298
18307
|
"rounded-top": this.roundedTop,
|
|
18299
18308
|
"rounded-bottom": this.roundedBottom,
|
|
18300
18309
|
"duet-theme-turva": this.theme === "turva",
|
|
18301
|
-
} }, hAsync("div", { key: '
|
|
18310
|
+
} }, hAsync("div", { key: '2742f57e0e278b597d2fb9715b6b85207446064f', class: "duet-step-heading", id: this.buttonId, role: this.state !== "current" ? "button" : "region", "aria-current": this.state === "current" ? "step" : undefined, tabindex: this.state !== "current" ? "0" : undefined, "aria-disabled": this.isClickDisabled().toString(), "aria-expanded": (this.state === "current").toString(), "aria-controls": this.contentId, "aria-selected": (this.state === "current").toString(), onClick: this.handleClick, onKeyDown: this.handleKeyDown, ref: element => (this.buttonElement = element) }, hAsync("div", { key: 'c32bbaed270ec8ea14228ca59f7077128c952b78', "aria-hidden": "true" }, hAsync("div", { key: 'fee937f7b9f3ef92d303fa0502f29632558c3967', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '8fa4deb09aaa709141dcfd6d4b8b2969840fb48d', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: 'dadc92ff570d92e7e600918019ab84ea6f22ca36', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: '412ba9538aea65069601a21a229a13e38a959cf1' }, hAsync("duet-heading", { key: 'b85991761212bba3610b566a9cf48b28562859d6', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: '7b28ba235ac2d4ef273bb4825a1bb53e4069150e', direction: "horizontal", size: "large" }), hAsync("div", { key: '74230c5744cf324e8f406a8d0dfadce54f8cf82d', class: "duet-step-heading-slot" }, hAsync("slot", { key: '74ef4c487e447ba8fc2dfa181a27d5bead1f7cd1', name: "heading-content" }))), hAsync("div", { key: 'a4df2c7c64cbb35185b4d7665235a85d1c503ea0', class: "duet-step-content-wrapper" }, hAsync("div", { key: '0a2fbd936f386294c6fe75bbacb3bd2b324a6311', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: 'a748fceef07a8ec5cc280d1e7d655b3e9ae14860' })))));
|
|
18302
18311
|
}
|
|
18303
18312
|
get element() { return getElement(this); }
|
|
18304
18313
|
static get style() { return DuetStepStyle0; }
|
|
@@ -18422,7 +18431,7 @@ class DuetStepper {
|
|
|
18422
18431
|
* Always the last one in the class.
|
|
18423
18432
|
*/
|
|
18424
18433
|
render() {
|
|
18425
|
-
return (hAsync(Host, { key: '
|
|
18434
|
+
return (hAsync(Host, { key: '082c93b48c5dfaadde04f9352ef6181ccdb38334', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '703904a5ecf2f0eb09c89c65639ec8ade1f674e6', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'aa4c9cec5585ee50da88bf4143ee998bbe98f9db', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: '708b76a314c85e496f66a12f9f578c2f97e8a96b' }))));
|
|
18426
18435
|
}
|
|
18427
18436
|
get element() { return getElement(this); }
|
|
18428
18437
|
static get watchers() { return {
|
|
@@ -18567,19 +18576,19 @@ class DuetSubmenuBar {
|
|
|
18567
18576
|
* Always the last one in the class.
|
|
18568
18577
|
*/
|
|
18569
18578
|
render() {
|
|
18570
|
-
return (hAsync(Host, { key: '
|
|
18579
|
+
return (hAsync(Host, { key: '86badada1aee5007210401a18b909265c6e7da8e' }, hAsync("nav", { key: 'f32fed7e0ce0788624a3e4255ae0db18c1d0a815', class: {
|
|
18571
18580
|
"duet-submenu-bar": true,
|
|
18572
18581
|
"duet-theme-turva": this.theme === "turva",
|
|
18573
18582
|
hidden: this.hidden,
|
|
18574
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
18583
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '023f42471735d52798e9b93e0097d092a876d970', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
18575
18584
|
active: this.open,
|
|
18576
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
18585
|
+
}, onClick: this.onClick }, hAsync("span", { key: 'e2dd228fb84c96175fe18c53885d5d7b29d0c227', class: "label" }, hAsync("slot", { key: '22b3d8b20a06e0ebb32f5389cc4e76b86470cffc', name: "label" }), hAsync("duet-icon", { key: 'aa83f5bb09c66b7b1e167e832c384726a0f39686', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'ab3308f7c02cc8248bb249dd9254e1a6dde9c0f3', class: {
|
|
18577
18586
|
"menu-container": true,
|
|
18578
18587
|
hidden: !this.open,
|
|
18579
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
18588
|
+
}, role: "presentation" }, hAsync("div", { key: 'cd19031fc8263a08267dc1338031143f109f97c3', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
18580
18589
|
items: true,
|
|
18581
18590
|
hidden: !this.open,
|
|
18582
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
18591
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'aff4f8d6fe01ca9a2a25dcf4c3255cbea5fe2bb5', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '157ba2c07ca33927c016826805d4abed7f5e2b4d' }), hAsync("div", { key: 'e86d0f34cecc3968fd93a43e4877393c68f518aa', class: "list-padding" }))), hAsync("duet-overlay", { key: 'e9e83e146db0024d79405ba9de389c647aa9f1f6', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
18583
18592
|
}
|
|
18584
18593
|
get element() { return getElement(this); }
|
|
18585
18594
|
static get watchers() { return {
|
|
@@ -18700,18 +18709,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18700
18709
|
* Always the last one in the class.
|
|
18701
18710
|
*/
|
|
18702
18711
|
render() {
|
|
18703
|
-
return (hAsync(Host, { key: '
|
|
18712
|
+
return (hAsync(Host, { key: '8c793e9f3f2b70bc3ba493a71a396735f0e95260', role: "listitem" }, hAsync("div", { key: '61f56c228fcf95e781f5b758e827586092b00c6e', class: {
|
|
18704
18713
|
"duet-submenu-bar-dropdown": true,
|
|
18705
18714
|
"duet-theme-turva": this.theme === "turva",
|
|
18706
18715
|
open: this.open,
|
|
18707
18716
|
active: this.active,
|
|
18708
|
-
} }, hAsync("button", { key: '
|
|
18717
|
+
} }, hAsync("button", { key: 'dd194b9b7b3e6235c422d54a9e4d7ccafcd32a9b', 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: {
|
|
18709
18718
|
open: this.open,
|
|
18710
18719
|
active: this.active,
|
|
18711
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
18720
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '27106945fae616e8b7c9063fc8ca0316c37c7bdc', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'df4d98ea52064c16f5949ccd369dfb33c8b1fa63', class: "label" }, hAsync("span", { key: 'd423278a3e59d916ab8dfbbb1418797c7e521a07', class: "label-text" }, hAsync("slot", { key: '69b4312cce709d0e11a6694e4805d25df6f50ad6', name: "label" })), hAsync("duet-icon", { key: 'c76e9d0a6ac9b26f604939814273461b43b03cec', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '6456fbb229637f05ff2de261a14f67b65e00db9a', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18712
18721
|
items: true,
|
|
18713
18722
|
hidden: !this.open,
|
|
18714
|
-
} }, hAsync("slot", { key: '
|
|
18723
|
+
} }, hAsync("slot", { key: '786040677e91481055caf78f49b5372b5360f108' })))));
|
|
18715
18724
|
}
|
|
18716
18725
|
get element() { return getElement(this); }
|
|
18717
18726
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18763,12 +18772,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18763
18772
|
* Always the last one in the class.
|
|
18764
18773
|
*/
|
|
18765
18774
|
render() {
|
|
18766
|
-
return (hAsync(Host, { key: '
|
|
18775
|
+
return (hAsync(Host, { key: '8e6a108958719714fbefbffcef40f07ce8534b02' }, hAsync("a", { key: '12f951166275159eb55697c41c54d05ce416231f', class: {
|
|
18767
18776
|
"duet-submenu-bar-dropdown-link": true,
|
|
18768
18777
|
"duet-theme-turva": this.theme === "turva",
|
|
18769
18778
|
highlight: this.highlight,
|
|
18770
18779
|
active: this.active,
|
|
18771
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
18780
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '86b4f1dd2ed617060b2710bb94e62f824d5527a4', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '4c12186535ab8cd78eeb73256f2c5e7b1e1a42dc', class: "label-container" }, hAsync("span", { key: '746e73ea2b480e0300a8879d85170029c5c269ee', class: "label" }, hAsync("slot", { key: '110738471d576d743d9cfa0f615745b8ada02c1a' })), this.caret && hAsync("duet-icon", { key: 'c865298fc0ca62b44faccbcf590c92994ed530f1', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: '2b841cf6e37e5f4b7df0505cdc058fda2726019b', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18772
18781
|
}
|
|
18773
18782
|
get element() { return getElement(this); }
|
|
18774
18783
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18842,7 +18851,7 @@ class DuetSubmenuBarItem {
|
|
|
18842
18851
|
render() {
|
|
18843
18852
|
const TagName = this.url ? "a" : "button";
|
|
18844
18853
|
const role = this.url ? "link" : "button";
|
|
18845
|
-
return (hAsync(Host, { key: '
|
|
18854
|
+
return (hAsync(Host, { key: '6e2cee3487328e2c5f7b0c5e947a8f97c739abfe', role: "listitem" }, hAsync(TagName, { key: 'dd06fa4821a6c3d39686c0a35bca3d3e643c7790', 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: 'beedaa0abf90cebfed6a0bc49cdd0f022b97aaad', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'f740336fa798b6da2cbaaec645ae829b2587129a', class: "label" }, hAsync("span", { key: 'aaf68d1e5dd57e8e2931d021ac3bec6b101b7b38', class: "label-text" }, hAsync("slot", { key: '1fcd6459e1af576b61871b9c050a31eb2a8b490d' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'c43767d76cec897ffda6a9e3718dfb0e624707dd', class: {
|
|
18846
18855
|
"trailing-icon": !!this.trailingIcon,
|
|
18847
18856
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18848
18857
|
"external-icon": !!this.external,
|
|
@@ -18903,7 +18912,7 @@ class DuetSubmenuBarLink {
|
|
|
18903
18912
|
* Always the last one in the class.
|
|
18904
18913
|
*/
|
|
18905
18914
|
render() {
|
|
18906
|
-
return (hAsync(Host, { key: '
|
|
18915
|
+
return (hAsync(Host, { key: 'd44a022e91733242dcf9d0715fdea0dd9413fc8c', role: "listitem" }, hAsync("a", { key: 'a86eeb53bc8714df6212d0a1576df487efd637dd', 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: '46c05eceaaed109253e10fe7f5f4c4e02b71192d', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '999718d74fd76be6b9b89bc6b87877614ddc01ba', class: "label" }, hAsync("slot", { key: 'bce3596e218360bc8f5e19182194a608471e75e3' })))));
|
|
18907
18916
|
}
|
|
18908
18917
|
get element() { return getElement(this); }
|
|
18909
18918
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -19013,7 +19022,7 @@ class DuetTab {
|
|
|
19013
19022
|
* Always the last one in the class.
|
|
19014
19023
|
*/
|
|
19015
19024
|
render() {
|
|
19016
|
-
return (hAsync("div", { key: '
|
|
19025
|
+
return (hAsync("div", { key: '5376b9cb2792c5159fab470027b49f0a665d1e02', ref: element => {
|
|
19017
19026
|
if (!this.contentId) {
|
|
19018
19027
|
this.tabpanelElement = element;
|
|
19019
19028
|
}
|
|
@@ -19022,7 +19031,7 @@ class DuetTab {
|
|
|
19022
19031
|
"duet-tab": true,
|
|
19023
19032
|
selected: this.selected,
|
|
19024
19033
|
"has-content-id": !!this.contentId,
|
|
19025
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
19034
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '2efcb680c2d921e5c1c29d9114f3f997a5ead373' })));
|
|
19026
19035
|
}
|
|
19027
19036
|
get element() { return getElement(this); }
|
|
19028
19037
|
static get watchers() { return {
|
|
@@ -19050,7 +19059,7 @@ class DuetTab {
|
|
|
19050
19059
|
}; }
|
|
19051
19060
|
}
|
|
19052
19061
|
|
|
19053
|
-
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-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:none}@media (min-width: 36em){.duet-tab-group-tabs.duet-tab-group-collapses.duet-tab-group-hidden{display:block}}.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-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:block;width:100%;padding:20px;margin-top:-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;color:rgb(8, 42, 77);text-align:left;text-decoration:none;cursor:pointer;background:rgb(255, 255, 255);border: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);border-color:rgb(222, 224, 228)}.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}@media (min-width: 36em){.duet-tab-button{display:inline-block;width:auto;margin-left:-2px;border-right:2px solid rgb(212, 223, 229);border-radius:0}}.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(255, 255, 255);background:rgb(8, 42, 77);border-color:rgb(8, 42, 77);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(255, 255, 255);background-color:rgb(23, 28, 58);border-color:rgb(23, 28, 58)}.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-button:first-child{border-top-left-radius:4px;border-top-right-radius:4px}@media (min-width: 36em){.duet-tab-button:first-child{border-top-right-radius:0;border-bottom-left-radius:4px}}.duet-tab-button:last-child{border-bottom-right-radius:4px;border-bottom-left-radius:4px}@media (min-width: 36em){.duet-tab-button:last-child{border-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px}}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button+.duet-tab-button{margin-left:36px}.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-button.selected{color:rgb(198, 12, 48);border-bottom-color: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-bottom-color:rgb(0, 119, 179);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)}";
|
|
19062
|
+
const duetTabGroupCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent;display:block;width:100%}.duet-tab-group-tabs{margin-bottom:28px !important;display:block;width:100%;max-width:100%;padding-top:2px;list-style:none}.duet-tab-group-tabs.duet-m-0{margin:0 !important}.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-tab-variation-plain .duet-tab-group-tabs{border-bottom-color:rgb(222, 224, 228)}.duet-tab-variation-checked .duet-tab-group-tabs{display:flex;gap:4px;padding-top:0;padding-right:12px;padding-left:12px;overflow-x:scroll;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-variation-checked .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-variation-checked .duet-tab-group-tabs{gap:8px;padding-right:16px;padding-left:16px;overflow:visible}}.duet-tab-plain-scrolling .duet-tab-group-tabs{display:flex;overflow-x:scroll;scroll-behavior:smooth;-ms-overflow-style:none;scrollbar-width:none;}.duet-tab-plain-scrolling .duet-tab-group-tabs::-webkit-scrollbar{display:none}@media (min-width: 36em){.duet-tab-plain-scrolling .duet-tab-group-tabs{display:block;overflow:auto}}@media (min-width: 36em){duet-select{display:none !important}}.duet-tab-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:inline-block;width:auto;padding:20px;margin-left:-2px;overflow:visible;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;text-align:left;text-decoration:none;cursor:pointer;border-right:2px solid rgb(212, 223, 229);border-radius:0;transition:150ms ease}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button.duet-m-0{margin:0 !important}.duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(247, 178, 40);box-shadow:0 0 0 1px #dea024}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-warning::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{position:absolute;top:6px;right:6px;display:inline-block;width:6px;height:6px;content:\"\";border-radius:50%;background:rgb(214, 28, 82);box-shadow:0 0 0 1px #c1194a}.duet-tab-variation-plain .duet-theme-turva .duet-tab-button.duet-notification-mark-danger::after{top:calc(50% - 0.5rem - 6px);right:-6px}.duet-tab-button.duet-p-0{padding:0 !important}.duet-tab-button:hover{z-index:200;border-color:rgb(127, 150, 165)}.duet-theme-turva .duet-tab-button:hover{border-color:rgb(143, 147, 158)}.duet-tab-button:active{opacity:0.75;transition:none}.duet-tab-button.selected{z-index:201;color:rgb(0, 119, 179);background:rgb(255, 255, 255);border-bottom:3px solid rgb(0, 119, 179);outline:0;box-shadow:none !important}.duet-theme-turva .duet-tab-button.selected{color:rgb(198, 12, 48);border-color:rgb(222, 224, 228);border-bottom-color:rgb(198, 12, 48)}.duet-tab-button:focus{z-index:200;outline:0}:host(.user-is-tabbing) .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3 !important}:host(.user-is-tabbing) .duet-theme-turva .duet-tab-button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-tab-variation-default .duet-tab-button{padding:15px 28px 17px 28px;overflow:hidden;color:rgb(81, 105, 123);background:rgb(245, 248, 250);border:1px solid rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button.selected{color:rgb(8, 42, 77);background:rgb(255, 255, 255)}.duet-tab-variation-default .duet-tab-button.selected::after{position:absolute;right:-1px;bottom:0;z-index:300;display:block;width:calc(100% + 2px);height:2px;content:\"\";background-color:rgb(0, 119, 179)}.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(0, 41, 77, 0.1) inset, 0 0 0 rgb(212, 223, 229)}.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 64, 81);background:rgb(228, 236, 239)}.duet-tab-variation-default .duet-tab-button:first-child{border-radius:8px 0 0 8px}.duet-tab-variation-default .duet-tab-button:last-child{border-radius:0 8px 8px 0}.duet-theme-turva.duet-tab-variation-default .duet-tab-button{color:rgb(98, 104, 122)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected{color:rgb(51, 5, 20);background:rgb(255, 255, 255)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button.selected::after{background-color:rgb(198, 12, 48)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:not(.selected){box-shadow:0 3px 2px -1px rgba(23, 28, 58, 0.1) inset, 0 0 0 rgb(222, 224, 228)}.duet-theme-turva.duet-tab-variation-default .duet-tab-button:hover:not(.selected){color:rgb(45, 52, 79);background:rgb(234, 235, 239)}.duet-tab-variation-plain .duet-tab-button{display:inline-block;width:auto;padding-right:0;padding-left:0;margin-left:0;border-width:0;border-radius:0;transition:none}.duet-tab-variation-plain .duet-tab-button.selected{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.selected{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)}";
|
|
19054
19063
|
var DuetTabGroupStyle0 = duetTabGroupCss;
|
|
19055
19064
|
|
|
19056
19065
|
/**
|
|
@@ -19100,35 +19109,18 @@ class DuetTabGroup {
|
|
|
19100
19109
|
}
|
|
19101
19110
|
};
|
|
19102
19111
|
this.scrollToActive = () => {
|
|
19103
|
-
|
|
19104
|
-
|
|
19105
|
-
|
|
19106
|
-
|
|
19107
|
-
|
|
19108
|
-
|
|
19109
|
-
}, 50);
|
|
19110
|
-
}
|
|
19111
|
-
};
|
|
19112
|
-
this.renderTab = () => {
|
|
19113
|
-
const renderedTabs = this.tabs.map((element, index) => {
|
|
19114
|
-
return (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: element.selected ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
19115
|
-
"duet-p-0": this.padding === "none",
|
|
19116
|
-
"duet-tab-button": true,
|
|
19117
|
-
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
19118
|
-
selected: element.selected,
|
|
19119
|
-
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
19120
|
-
}, 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)));
|
|
19121
|
-
});
|
|
19122
|
-
if (this.scrolls) {
|
|
19123
|
-
return (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier }, renderedTabs));
|
|
19124
|
-
}
|
|
19125
|
-
return renderedTabs;
|
|
19112
|
+
setTimeout(() => {
|
|
19113
|
+
const active = this.tabsContainer.querySelector(".selected");
|
|
19114
|
+
if (active) {
|
|
19115
|
+
active.scrollIntoView({ behavior: "smooth", inline: "center", block: "nearest" });
|
|
19116
|
+
}
|
|
19117
|
+
}, 50);
|
|
19126
19118
|
};
|
|
19127
19119
|
this.tabs = [];
|
|
19128
19120
|
this.selected = undefined;
|
|
19129
19121
|
this.theme = "";
|
|
19130
|
-
this.scrolls =
|
|
19131
|
-
this.collapses =
|
|
19122
|
+
this.scrolls = true;
|
|
19123
|
+
this.collapses = false;
|
|
19132
19124
|
this.accessibleLabel = undefined;
|
|
19133
19125
|
this.variation = "default";
|
|
19134
19126
|
this.language = getLanguage();
|
|
@@ -19247,34 +19239,44 @@ class DuetTabGroup {
|
|
|
19247
19239
|
}
|
|
19248
19240
|
return;
|
|
19249
19241
|
}
|
|
19242
|
+
/**
|
|
19243
|
+
* To support text-align: center;
|
|
19244
|
+
*/
|
|
19245
|
+
isCentered() {
|
|
19246
|
+
return window && window.getComputedStyle(this.element).textAlign == "center";
|
|
19247
|
+
}
|
|
19250
19248
|
/**
|
|
19251
19249
|
* render() function
|
|
19252
19250
|
* Always the last one in the class.
|
|
19253
19251
|
*/
|
|
19254
19252
|
render() {
|
|
19253
|
+
// TODO: get rid of plain-scrolling class, as we always scroll
|
|
19255
19254
|
const variationClass = this.variation === "plain-scrolling" ? "duet-tab-variation-plain" : `duet-tab-variation-${this.variation}`;
|
|
19256
19255
|
const isSwipeScrollable = this.variation === "checked" || this.variation === "plain-scrolling";
|
|
19257
|
-
|
|
19256
|
+
const buttons = this.tabs.map((element, index) => (hAsync("button", { role: "tab", id: this.getButtonId(index), "aria-selected": element.selected ? "true" : "false", "aria-description": this.getAccessibleDescription(index), tabindex: element.selected ? "0" : "-1", part: `${this.identifier}-button ${element.selected ? `${this.identifier}-button--selected` : ""}`, type: "button", class: {
|
|
19257
|
+
"duet-p-0": this.padding === "none",
|
|
19258
|
+
"duet-tab-button": true,
|
|
19259
|
+
"stackable-tab": this.variation === "checked" && this.tabs.length <= 3,
|
|
19260
|
+
selected: element.selected,
|
|
19261
|
+
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
19262
|
+
}, 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))));
|
|
19263
|
+
return (hAsync("div", { key: '05e714be871fbdeaac2b41a9f846664202b5eac8', class: {
|
|
19258
19264
|
"duet-tab-group": true,
|
|
19259
19265
|
"duet-theme-turva": this.theme === "turva",
|
|
19260
19266
|
[variationClass]: true,
|
|
19261
19267
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
19262
|
-
"duet-tab-group-scrolls":
|
|
19263
|
-
|
|
19264
|
-
}, "aria-label": this.accessibleLabel }, !isSwipeScrollable && this.tabs.length > 3 && this.collapses && (hAsync("duet-select", { key: 'fa42a4e505fb4d94cfde64470682bcda87c4e8a8', value: this.selected.toString(), expand: true, label: this.label, labelHidden: this.labelHidden, theme: this.theme, onDuetChange: event => this.onTabSelect(Number(event.detail.value)), items: this.tabs.map((tab, index) => {
|
|
19265
|
-
return { label: tab.label, value: index.toString() };
|
|
19266
|
-
}) })), hAsync("div", { key: '5a4ba1e8089bd37f2bcd012ef58285369eb0282f', role: "tablist", class: {
|
|
19268
|
+
"duet-tab-group-scrolls": true,
|
|
19269
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'd680490d85ad3d735bb85d4c704cd48fd1feaf66', role: "tablist", class: {
|
|
19267
19270
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
19268
19271
|
"duet-tab-group-tabs": true,
|
|
19269
19272
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
19270
|
-
"duet-tab-group-collapses": this.collapses,
|
|
19271
19273
|
}, ref: el => {
|
|
19272
19274
|
this.tabsContainer = el;
|
|
19273
|
-
} }, this.
|
|
19275
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: this.variation === "default" ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), hAsync("div", { key: 'a8aa2ad19a01759d5eed47140ec483e5cb4a8df5', class: {
|
|
19274
19276
|
"duet-tab-group-content": true,
|
|
19275
19277
|
"duet-m-0": this.margin === "none",
|
|
19276
19278
|
"checked-group-content": this.variation === "checked",
|
|
19277
|
-
} }, hAsync("slot", { key: '
|
|
19279
|
+
} }, hAsync("slot", { key: '0b630a0821503c480cf580600c68dbb5a3ab2bfa' }))));
|
|
19278
19280
|
}
|
|
19279
19281
|
get element() { return getElement(this); }
|
|
19280
19282
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -19307,8 +19309,501 @@ class DuetTabGroup {
|
|
|
19307
19309
|
}; }
|
|
19308
19310
|
}
|
|
19309
19311
|
|
|
19310
|
-
const duetTableCss = "duet-table{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:20px !important;display:block;font-variant-numeric:tabular-nums}duet-table table,duet-table thead,duet-table tbody,duet-table tfoot,duet-table th,duet-table td,duet-table tr{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}duet-table.duet-m-0{margin:0 !important}duet-table table{width:100%;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;text-align:left;border-spacing:0;border-collapse:separate}duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead,duet-table.duet-table-hide-head-visually.duet-table-hide-head-visually thead *{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}duet-table.duet-theme-turva table{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\"}duet-table td{-webkit-hyphens:auto;hyphens:auto;color:rgb(8, 42, 77)}duet-table.duet-theme-turva td{color:rgb(23, 28, 58)}duet-table th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}duet-table.duet-theme-turva th{color:rgb(143, 147, 158)}duet-table tbody th{font-weight:600;color:rgb(8, 42, 77)}duet-table.duet-theme-turva tbody th{color:rgb(23, 28, 58)}duet-table .duet-table-action-row td:last-child{justify-self:end;padding-right:20px !important;white-space:nowrap}duet-table span.duet-table-cell-heading{display:none}.duet-table-flattened table,.duet-table-flattened thead,.duet-table-flattened tbody,.duet-table-flattened tfoot,.duet-table-flattened th,.duet-table-flattened td,.duet-table-flattened tr{display:block}.duet-table-flattened thead tr{position:absolute !important;top:0;width:1px !important;height:1px !important;padding:0 !important;overflow:hidden !important;clip:rect(1px, 1px, 1px, 1px) !important;border:0 !important}.duet-table-flattened td{line-height:1.25}.duet-table-flattened td:not(:last-child){margin-bottom:16px !important}.duet-table-flattened td span.duet-table-cell-heading{margin-bottom:4px !important;display:block;font-size:1rem;font-weight:600;color:rgb(8, 42, 77)}.duet-table-flattened.duet-theme-turva td span.duet-table-cell-heading{color:rgb(23, 28, 58)}.duet-table-flattened tbody td,.duet-table-flattened tbody th,.duet-table-flattened tfoot td{padding:0 !important;text-align:left !important}.duet-table-flattened tbody th{font-weight:600;line-height:1.25;color:rgb(98, 121, 138);text-align:left}.duet-table-sticky thead th{position:sticky;top:0;background:rgb(255, 255, 255)}.duet-table-striped td,.duet-table-striped th{padding:20px !important}@media (max-width: 35.9375em){.duet-table-striped td,.duet-table-striped th{padding:20px 12px !important}}.duet-table-striped tbody th{background:rgb(255, 255, 255)}.duet-table-striped.duet-table-sticky thead th{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-sticky.duet-theme-turva thead th{border-bottom-color:rgb(222, 224, 228)}.duet-table-striped tbody:not(:first-of-type) th{padding-top:40px !important}.duet-table-striped tbody:only-of-type tr:nth-of-type(odd){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(4, 81, 128, 0.04)}.duet-table-striped.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even){background:rgba(23, 28, 58, 0.04)}.duet-table-striped tfoot td{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-theme-turva tfoot td{border-top-color:rgb(222, 224, 228)}.duet-table-striped.duet-table-flattened tbody:not(:first-of-type) th{padding-top:20px !important}.duet-table-striped.duet-table-flattened tr{padding:20px !important}.duet-table-striped.duet-table-flattened tfoot td{border-top:0}.duet-table-striped.duet-table-flattened tfoot tr{border-top:1px solid rgb(212, 223, 229)}.duet-table-striped.duet-table-flattened.duet-theme-turva tfoot tr{border-top-color:rgb(222, 224, 228)}.duet-table-fixed th,.duet-table-minimal th,.duet-table-plain th{padding:16px !important;border-bottom:1px solid rgb(98, 121, 138)}.duet-table-fixed th:first-child,.duet-table-minimal th:first-child,.duet-table-plain th:first-child{padding-left:0 !important}.duet-table-fixed th:last-child,.duet-table-minimal th:last-child,.duet-table-plain th:last-child{padding-right:0 !important}.duet-theme-turva.duet-table-fixed th,.duet-theme-turva.duet-table-minimal th,.duet-theme-turva.duet-table-plain th{border-bottom-color:rgb(113, 118, 132)}.duet-table-fixed tbody th,.duet-table-minimal tbody th,.duet-table-plain tbody th{padding-top:40px !important;border-bottom-color:rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody th,.duet-theme-turva.duet-table-minimal tbody th,.duet-theme-turva.duet-table-plain tbody th{border-bottom-color:rgb(222, 224, 228)}.duet-table-fixed td,.duet-table-minimal td,.duet-table-plain td{padding:16px !important}.duet-table-fixed td:first-child,.duet-table-minimal td:first-child,.duet-table-plain td:first-child{padding-left:0 !important}.duet-table-fixed td:last-child,.duet-table-minimal td:last-child,.duet-table-plain td:last-child{padding-right:0 !important}.duet-table-fixed tbody td,.duet-table-minimal tbody td,.duet-table-plain tbody td{border-bottom:1px solid rgb(212, 223, 229)}.duet-theme-turva.duet-table-fixed tbody td,.duet-theme-turva.duet-table-minimal tbody td,.duet-theme-turva.duet-table-plain tbody td{border-bottom-color:rgb(222, 224, 228)}.duet-table-flattened.duet-table-fixed tbody:first-of-type th,.duet-table-flattened.duet-table-minimal tbody:first-of-type th,.duet-table-flattened.duet-table-plain tbody:first-of-type th{padding-top:0 !important}.duet-table-flattened.duet-table-fixed td,.duet-table-flattened.duet-table-minimal td,.duet-table-flattened.duet-table-plain td,.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{border-bottom:0}.duet-table-flattened.duet-table-fixed tr,.duet-table-flattened.duet-table-minimal tr,.duet-table-flattened.duet-table-plain tr{padding:20px 0 !important}.duet-table-flattened.duet-table-fixed tbody th,.duet-table-flattened.duet-table-minimal tbody th,.duet-table-flattened.duet-table-plain tbody th{padding-top:20px !important}.duet-table-flattened.duet-table-fixed tfoot td,.duet-table-flattened.duet-table-minimal tfoot td,.duet-table-flattened.duet-table-plain tfoot td{margin-bottom:4px !important}.duet-table-flattened.duet-table-fixed tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-minimal tbody:not(:only-of-type) tr:first-child,.duet-table-flattened.duet-table-plain tbody:not(:only-of-type) tr:first-child{border-bottom:0}.duet-table-plain.duet-table-flattened tbody tr{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-plain.duet-table-flattened.duet-theme-turva tbody tr{border-bottom-color:rgb(222, 224, 228)}.duet-table-minimal tbody tr,.duet-table-minimal tbody tr td{vertical-align:top;border-bottom:0 none}.duet-table-minimal tbody tr:last-of-type,.duet-table-minimal tbody tr:last-of-type td{border-bottom:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened tbody tr,.duet-table-minimal.duet-table-flattened tbody tr td{border-bottom:0 none}.duet-table-minimal.duet-table-flattened tbody tr td[data-heading]::before{display:none}.duet-table-minimal.duet-table-flattened tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-minimal.duet-table-flattened.duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-fixed table{table-layout:fixed}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td,.duet-table-fixed tbody tr td:first-child{padding:4px !important;vertical-align:text-bottom;border-bottom:0 none}.duet-table-fixed thead{display:none}.duet-table-fixed tbody tr,.duet-table-fixed tbody tr td{border-bottom:0 none}.duet-table-fixed:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-fixed:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-scrollable{position:relative;width:100%;overflow-x:auto;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;background-repeat:no-repeat;background-attachment:local, local, scroll, scroll;background-size:100px 100%, 100px 100%, 12px 100%, 12px 100%}.duet-table-selected-column{background:rgba(0, 119, 179, 0.08)}.duet-theme-turva .duet-table-selected-column{background:rgba(113, 118, 132, 0.08)}.duet-table-sortable tbody tr td:first-child,.duet-table-sortable thead tr th:first-child{padding:20px}.duet-table-sortable:not(.duet-table-flattened) tfoot{border-top:1px solid rgb(212, 223, 229)}.duet-table-sortable:not(.duet-table-flattened).duet-theme-turva tfoot{border-top-color:rgb(222, 224, 228)}.duet-table-actions table{table-layout:auto}.duet-table-actions thead th:last-child{width:1px;white-space:nowrap}.duet-editable-table-table.duet-table-flattened tr{display:grid;grid-template-columns:repeat(2, 1fr);grid-auto-rows:auto;gap:10px}.duet-editable-table-table.duet-table-flattened tr.duet-table-action-row td:last-child::before{padding:0;content:\"\"}.duet-editable-table-table.duet-table-flattened td{grid-column:1/2}.duet-editable-table-table.duet-table-flattened td:first-child{grid-row:1;grid-column:1}.duet-editable-table-table.duet-table-flattened td:last-child{grid-row:1;grid-column:2}";
|
|
19311
|
-
|
|
19312
|
+
const styles = `
|
|
19313
|
+
duet-table {
|
|
19314
|
+
box-sizing: border-box;
|
|
19315
|
+
padding: 0;
|
|
19316
|
+
margin: 0;
|
|
19317
|
+
background: transparent;
|
|
19318
|
+
border: 0;
|
|
19319
|
+
-moz-appearance: none;
|
|
19320
|
+
-webkit-appearance: none;
|
|
19321
|
+
appearance: none;
|
|
19322
|
+
margin-bottom: ${spaceLarge} !important;
|
|
19323
|
+
display: block;
|
|
19324
|
+
font-variant-numeric: tabular-nums;
|
|
19325
|
+
|
|
19326
|
+
table,
|
|
19327
|
+
thead,
|
|
19328
|
+
tbody,
|
|
19329
|
+
tfoot,
|
|
19330
|
+
th,
|
|
19331
|
+
td,
|
|
19332
|
+
tr {
|
|
19333
|
+
box-sizing: border-box;
|
|
19334
|
+
padding: 0;
|
|
19335
|
+
margin: 0;
|
|
19336
|
+
background: transparent;
|
|
19337
|
+
border: 0;
|
|
19338
|
+
-moz-appearance: none;
|
|
19339
|
+
-webkit-appearance: none;
|
|
19340
|
+
appearance: none;
|
|
19341
|
+
}
|
|
19342
|
+
|
|
19343
|
+
&.duet-m-0 {
|
|
19344
|
+
margin: 0 !important;
|
|
19345
|
+
}
|
|
19346
|
+
|
|
19347
|
+
table {
|
|
19348
|
+
width: 100%;
|
|
19349
|
+
font-family: ${fontFamilyText};
|
|
19350
|
+
font-size: ${fontSizeMedium};
|
|
19351
|
+
text-align: left;
|
|
19352
|
+
border-spacing: 0;
|
|
19353
|
+
border-collapse: separate;
|
|
19354
|
+
}
|
|
19355
|
+
|
|
19356
|
+
&.duet-table-hide-head-visually.duet-table-hide-head-visually {
|
|
19357
|
+
thead,
|
|
19358
|
+
thead * {
|
|
19359
|
+
position: absolute !important;
|
|
19360
|
+
top: 0;
|
|
19361
|
+
width: 1px !important;
|
|
19362
|
+
height: 1px !important;
|
|
19363
|
+
padding: 0 !important;
|
|
19364
|
+
overflow: hidden !important;
|
|
19365
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
19366
|
+
border: 0 !important;
|
|
19367
|
+
}
|
|
19368
|
+
}
|
|
19369
|
+
|
|
19370
|
+
&.duet-theme-turva table {
|
|
19371
|
+
font-family: ${fontFamilyTextTurva};
|
|
19372
|
+
}
|
|
19373
|
+
|
|
19374
|
+
td {
|
|
19375
|
+
-webkit-hyphens: auto;
|
|
19376
|
+
hyphens: auto;
|
|
19377
|
+
color: ${colorSecondary};
|
|
19378
|
+
}
|
|
19379
|
+
|
|
19380
|
+
&.duet-theme-turva td {
|
|
19381
|
+
color: ${colorSecondaryTurva};
|
|
19382
|
+
}
|
|
19383
|
+
|
|
19384
|
+
th {
|
|
19385
|
+
font-weight: ${fontWeightSemiBold};
|
|
19386
|
+
line-height: ${lineHeightSmall};
|
|
19387
|
+
color: ${colorGrayDarker};
|
|
19388
|
+
text-align: left;
|
|
19389
|
+
}
|
|
19390
|
+
|
|
19391
|
+
&.duet-theme-turva th {
|
|
19392
|
+
color: ${colorGrayDarkTurva};
|
|
19393
|
+
}
|
|
19394
|
+
|
|
19395
|
+
tbody th {
|
|
19396
|
+
font-weight: ${fontWeightSemiBold};
|
|
19397
|
+
color: ${colorSecondary};
|
|
19398
|
+
}
|
|
19399
|
+
|
|
19400
|
+
&.duet-theme-turva tbody th {
|
|
19401
|
+
color: ${colorSecondaryTurva};
|
|
19402
|
+
}
|
|
19403
|
+
|
|
19404
|
+
& .duet-table-action-row {
|
|
19405
|
+
& td:last-child {
|
|
19406
|
+
justify-self: end;
|
|
19407
|
+
padding-right: ${spaceLarge} !important;
|
|
19408
|
+
white-space: nowrap;
|
|
19409
|
+
}
|
|
19410
|
+
}
|
|
19411
|
+
|
|
19412
|
+
span.duet-table-cell-heading {
|
|
19413
|
+
display: none;
|
|
19414
|
+
}
|
|
19415
|
+
}
|
|
19416
|
+
|
|
19417
|
+
.duet-table-flattened {
|
|
19418
|
+
table,
|
|
19419
|
+
thead,
|
|
19420
|
+
tbody,
|
|
19421
|
+
tfoot,
|
|
19422
|
+
th,
|
|
19423
|
+
td,
|
|
19424
|
+
tr {
|
|
19425
|
+
display: block;
|
|
19426
|
+
}
|
|
19427
|
+
|
|
19428
|
+
thead tr {
|
|
19429
|
+
position: absolute !important;
|
|
19430
|
+
top: 0;
|
|
19431
|
+
width: 1px !important;
|
|
19432
|
+
height: 1px !important;
|
|
19433
|
+
padding: 0 !important;
|
|
19434
|
+
overflow: hidden !important;
|
|
19435
|
+
clip: rect(1px, 1px, 1px, 1px) !important;
|
|
19436
|
+
border: 0 !important;
|
|
19437
|
+
}
|
|
19438
|
+
|
|
19439
|
+
td {
|
|
19440
|
+
line-height: ${lineHeightSmall};
|
|
19441
|
+
|
|
19442
|
+
&:not(:last-child) {
|
|
19443
|
+
margin-bottom: ${spaceMedium};
|
|
19444
|
+
}
|
|
19445
|
+
|
|
19446
|
+
span.duet-table-cell-heading {
|
|
19447
|
+
margin-bottom: ${spaceXxSmall};
|
|
19448
|
+
display: block;
|
|
19449
|
+
font-size: ${fontSizeMedium};
|
|
19450
|
+
font-weight: ${fontWeightSemiBold};
|
|
19451
|
+
color: ${colorSecondary};
|
|
19452
|
+
}
|
|
19453
|
+
}
|
|
19454
|
+
|
|
19455
|
+
&.duet-theme-turva td span.duet-table-cell-heading {
|
|
19456
|
+
color: ${colorSecondaryTurva};
|
|
19457
|
+
}
|
|
19458
|
+
|
|
19459
|
+
tbody td,
|
|
19460
|
+
tbody th,
|
|
19461
|
+
tfoot td {
|
|
19462
|
+
padding: 0 !important;
|
|
19463
|
+
text-align: left !important;
|
|
19464
|
+
}
|
|
19465
|
+
|
|
19466
|
+
tbody th {
|
|
19467
|
+
font-weight: ${fontWeightSemiBold};
|
|
19468
|
+
line-height: ${lineHeightSmall};
|
|
19469
|
+
color: ${colorGrayDarker};
|
|
19470
|
+
text-align: left;
|
|
19471
|
+
}
|
|
19472
|
+
}
|
|
19473
|
+
|
|
19474
|
+
.duet-table-sticky thead th {
|
|
19475
|
+
position: sticky;
|
|
19476
|
+
top: 0;
|
|
19477
|
+
background: ${colorGrayLightest};
|
|
19478
|
+
}
|
|
19479
|
+
|
|
19480
|
+
.duet-table-striped {
|
|
19481
|
+
td,
|
|
19482
|
+
th {
|
|
19483
|
+
padding: ${spaceLarge} !important;
|
|
19484
|
+
@media ${mediaQueryXSmall.replace("'", "").replace("'", "")} {
|
|
19485
|
+
padding: ${spaceLarge} ${spaceSmall} !important;
|
|
19486
|
+
}
|
|
19487
|
+
}
|
|
19488
|
+
|
|
19489
|
+
tbody th {
|
|
19490
|
+
background: ${colorGrayLightest};
|
|
19491
|
+
}
|
|
19492
|
+
|
|
19493
|
+
&.duet-table-sticky {
|
|
19494
|
+
thead th {
|
|
19495
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19496
|
+
}
|
|
19497
|
+
|
|
19498
|
+
&.duet-theme-turva thead th {
|
|
19499
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19500
|
+
}
|
|
19501
|
+
}
|
|
19502
|
+
|
|
19503
|
+
tbody:not(:first-of-type) th {
|
|
19504
|
+
padding-top: calc(${spaceLarge} * 2) !important;
|
|
19505
|
+
}
|
|
19506
|
+
|
|
19507
|
+
tbody:only-of-type tr:nth-of-type(odd) {
|
|
19508
|
+
background: rgba(4, 81, 128, 0.04);
|
|
19509
|
+
}
|
|
19510
|
+
|
|
19511
|
+
&.duet-theme-turva tbody:only-of-type tr:nth-of-type(odd) {
|
|
19512
|
+
background: rgba(${colorSecondaryTurva}, 0.04);
|
|
19513
|
+
}
|
|
19514
|
+
|
|
19515
|
+
tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
19516
|
+
background: rgba(4, 81, 128, 0.04);
|
|
19517
|
+
}
|
|
19518
|
+
|
|
19519
|
+
&.duet-theme-turva tbody:not(:only-of-type) tr:nth-of-type(even) {
|
|
19520
|
+
background: rgba(${colorSecondaryTurva}, 0.04);
|
|
19521
|
+
}
|
|
19522
|
+
|
|
19523
|
+
tfoot td {
|
|
19524
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19525
|
+
}
|
|
19526
|
+
|
|
19527
|
+
&.duet-theme-turva tfoot td {
|
|
19528
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19529
|
+
}
|
|
19530
|
+
|
|
19531
|
+
&.duet-table-flattened {
|
|
19532
|
+
tbody:not(:first-of-type) th {
|
|
19533
|
+
padding-top: ${spaceLarge} !important;
|
|
19534
|
+
}
|
|
19535
|
+
|
|
19536
|
+
tr {
|
|
19537
|
+
padding: ${spaceLarge} !important;
|
|
19538
|
+
}
|
|
19539
|
+
|
|
19540
|
+
tfoot {
|
|
19541
|
+
td {
|
|
19542
|
+
border-top: 0;
|
|
19543
|
+
}
|
|
19544
|
+
|
|
19545
|
+
tr {
|
|
19546
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19547
|
+
}
|
|
19548
|
+
}
|
|
19549
|
+
|
|
19550
|
+
&.duet-theme-turva tfoot tr {
|
|
19551
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19552
|
+
}
|
|
19553
|
+
}
|
|
19554
|
+
}
|
|
19555
|
+
|
|
19556
|
+
.duet-table-plain, .duet-table-fixed, .duet-table-minimal {
|
|
19557
|
+
th {
|
|
19558
|
+
padding: ${spaceMedium} !important;
|
|
19559
|
+
border-bottom: 1px solid ${colorGrayDarker};
|
|
19560
|
+
|
|
19561
|
+
&:first-child {
|
|
19562
|
+
padding-left: 0 !important;
|
|
19563
|
+
}
|
|
19564
|
+
|
|
19565
|
+
&:last-child {
|
|
19566
|
+
padding-right: 0 !important;
|
|
19567
|
+
}
|
|
19568
|
+
}
|
|
19569
|
+
|
|
19570
|
+
&.duet-theme-turva th {
|
|
19571
|
+
border-bottom-color: ${colorGrayDarkerTurva};
|
|
19572
|
+
}
|
|
19573
|
+
|
|
19574
|
+
tbody th {
|
|
19575
|
+
padding-top: calc(${spaceLarge} * 2) !important;
|
|
19576
|
+
border-bottom-color: ${colorGrayLight};
|
|
19577
|
+
}
|
|
19578
|
+
|
|
19579
|
+
&.duet-theme-turva tbody th {
|
|
19580
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19581
|
+
}
|
|
19582
|
+
|
|
19583
|
+
td {
|
|
19584
|
+
padding: ${spaceMedium} !important;
|
|
19585
|
+
|
|
19586
|
+
&:first-child {
|
|
19587
|
+
padding-left: 0 !important;
|
|
19588
|
+
}
|
|
19589
|
+
|
|
19590
|
+
&:last-child {
|
|
19591
|
+
padding-right: 0 !important;
|
|
19592
|
+
}
|
|
19593
|
+
}
|
|
19594
|
+
|
|
19595
|
+
tbody td {
|
|
19596
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19597
|
+
}
|
|
19598
|
+
|
|
19599
|
+
&.duet-theme-turva tbody td {
|
|
19600
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19601
|
+
}
|
|
19602
|
+
|
|
19603
|
+
&.duet-table-flattened {
|
|
19604
|
+
tbody:first-of-type th {
|
|
19605
|
+
padding-top: 0 !important;
|
|
19606
|
+
}
|
|
19607
|
+
|
|
19608
|
+
td,
|
|
19609
|
+
tbody th {
|
|
19610
|
+
border-bottom: 0;
|
|
19611
|
+
}
|
|
19612
|
+
|
|
19613
|
+
tr {
|
|
19614
|
+
padding: ${spaceLarge} 0 !important;
|
|
19615
|
+
}
|
|
19616
|
+
|
|
19617
|
+
tbody th {
|
|
19618
|
+
padding-top: ${spaceLarge} !important;
|
|
19619
|
+
}
|
|
19620
|
+
|
|
19621
|
+
tfoot td {
|
|
19622
|
+
margin-bottom: ${spaceXxSmall} !important;
|
|
19623
|
+
}
|
|
19624
|
+
|
|
19625
|
+
tbody:not(:only-of-type) tr:first-child {
|
|
19626
|
+
border-bottom: 0;
|
|
19627
|
+
}
|
|
19628
|
+
}
|
|
19629
|
+
}
|
|
19630
|
+
|
|
19631
|
+
.duet-table-plain {
|
|
19632
|
+
|
|
19633
|
+
&.duet-table-flattened {
|
|
19634
|
+
tbody tr {
|
|
19635
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19636
|
+
}
|
|
19637
|
+
|
|
19638
|
+
&.duet-theme-turva tbody tr {
|
|
19639
|
+
border-bottom-color: ${colorGrayLightTurva};
|
|
19640
|
+
}
|
|
19641
|
+
}
|
|
19642
|
+
}
|
|
19643
|
+
|
|
19644
|
+
.duet-table-minimal {
|
|
19645
|
+
|
|
19646
|
+
tbody tr,
|
|
19647
|
+
tbody tr td {
|
|
19648
|
+
vertical-align: top;
|
|
19649
|
+
border-bottom: 0 none;
|
|
19650
|
+
}
|
|
19651
|
+
|
|
19652
|
+
tbody tr:last-of-type,
|
|
19653
|
+
tbody tr:last-of-type td {
|
|
19654
|
+
border-bottom: 1px solid ${colorGrayLight};
|
|
19655
|
+
}
|
|
19656
|
+
|
|
19657
|
+
&.duet-table-flattened {
|
|
19658
|
+
tbody tr,
|
|
19659
|
+
tbody tr td {
|
|
19660
|
+
border-bottom: 0 none;
|
|
19661
|
+
}
|
|
19662
|
+
|
|
19663
|
+
tbody tr td[data-heading]::before {
|
|
19664
|
+
display: none;
|
|
19665
|
+
}
|
|
19666
|
+
|
|
19667
|
+
tfoot {
|
|
19668
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19669
|
+
}
|
|
19670
|
+
|
|
19671
|
+
&.duet-theme-turva tfoot {
|
|
19672
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19673
|
+
}
|
|
19674
|
+
}
|
|
19675
|
+
}
|
|
19676
|
+
|
|
19677
|
+
.duet-table-fixed {
|
|
19678
|
+
|
|
19679
|
+
table {
|
|
19680
|
+
table-layout: fixed;
|
|
19681
|
+
}
|
|
19682
|
+
|
|
19683
|
+
tbody tr,
|
|
19684
|
+
tbody tr td,
|
|
19685
|
+
tbody tr td:first-child {
|
|
19686
|
+
padding: 4px !important;
|
|
19687
|
+
vertical-align: text-bottom;
|
|
19688
|
+
border-bottom: 0 none;
|
|
19689
|
+
}
|
|
19690
|
+
|
|
19691
|
+
thead {
|
|
19692
|
+
display: none;
|
|
19693
|
+
}
|
|
19694
|
+
|
|
19695
|
+
tbody tr,
|
|
19696
|
+
tbody tr td {
|
|
19697
|
+
border-bottom: 0 none;
|
|
19698
|
+
}
|
|
19699
|
+
|
|
19700
|
+
&:not(.duet-table-flattened) {
|
|
19701
|
+
tfoot {
|
|
19702
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19703
|
+
}
|
|
19704
|
+
|
|
19705
|
+
&.duet-theme-turva tfoot {
|
|
19706
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19707
|
+
}
|
|
19708
|
+
}
|
|
19709
|
+
}
|
|
19710
|
+
.duet-table-scrollable {
|
|
19711
|
+
position: relative;
|
|
19712
|
+
width: 100%;
|
|
19713
|
+
overflow-x: auto;
|
|
19714
|
+
background: linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0)), linear-gradient(-90deg, #fff 0%, rgba(255, 255, 255, 0)) 100% 0, radial-gradient(farthest-side at 0% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)), radial-gradient(farthest-side at 100% 50%, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0)) 100% 0%;
|
|
19715
|
+
background-repeat: no-repeat;
|
|
19716
|
+
background-attachment: local, local, scroll, scroll;
|
|
19717
|
+
background-size: 100px 100%, 100px 100%, 12px 100%, 12px 100%;
|
|
19718
|
+
}
|
|
19719
|
+
|
|
19720
|
+
.duet-table-selected-column {
|
|
19721
|
+
background: rgba(${colorPrimary}, 0.08);
|
|
19722
|
+
|
|
19723
|
+
.duet-theme-turva & {
|
|
19724
|
+
background: rgba(${colorGrayDarkerTurva}, 0.08);
|
|
19725
|
+
}
|
|
19726
|
+
}
|
|
19727
|
+
|
|
19728
|
+
.duet-table-sortable {
|
|
19729
|
+
tbody tr td:first-child,
|
|
19730
|
+
thead tr th:first-child {
|
|
19731
|
+
padding: ${spaceLarge};
|
|
19732
|
+
}
|
|
19733
|
+
|
|
19734
|
+
&:not(.duet-table-flattened) {
|
|
19735
|
+
tfoot {
|
|
19736
|
+
border-top: 1px solid ${colorGrayLight};
|
|
19737
|
+
}
|
|
19738
|
+
|
|
19739
|
+
&.duet-theme-turva tfoot {
|
|
19740
|
+
border-top-color: ${colorGrayLightTurva};
|
|
19741
|
+
}
|
|
19742
|
+
}
|
|
19743
|
+
}
|
|
19744
|
+
|
|
19745
|
+
|
|
19746
|
+
.duet-table-actions {
|
|
19747
|
+
table {
|
|
19748
|
+
table-layout: auto;
|
|
19749
|
+
}
|
|
19750
|
+
|
|
19751
|
+
thead {
|
|
19752
|
+
& th:last-child {
|
|
19753
|
+
width: 1px;
|
|
19754
|
+
white-space: nowrap;
|
|
19755
|
+
}
|
|
19756
|
+
}
|
|
19757
|
+
}
|
|
19758
|
+
|
|
19759
|
+
.duet-editable-table-table.duet-table-flattened {
|
|
19760
|
+
tr {
|
|
19761
|
+
display: grid;
|
|
19762
|
+
grid-template-columns: repeat(2, 1fr);
|
|
19763
|
+
grid-auto-rows: auto;
|
|
19764
|
+
gap: 10px;
|
|
19765
|
+
|
|
19766
|
+
&.duet-table-action-row td:last-child::before {
|
|
19767
|
+
padding: 0;
|
|
19768
|
+
content: "";
|
|
19769
|
+
}
|
|
19770
|
+
}
|
|
19771
|
+
|
|
19772
|
+
td {
|
|
19773
|
+
grid-column: 1 / 2;
|
|
19774
|
+
|
|
19775
|
+
&:first-child {
|
|
19776
|
+
grid-row: 1;
|
|
19777
|
+
grid-column: 1;
|
|
19778
|
+
}
|
|
19779
|
+
|
|
19780
|
+
&:last-child {
|
|
19781
|
+
grid-row: 1;
|
|
19782
|
+
grid-column: 2;
|
|
19783
|
+
}
|
|
19784
|
+
}
|
|
19785
|
+
}
|
|
19786
|
+
`.replace(/[\n\r\t]/gm, "");
|
|
19787
|
+
function createStyles(element) {
|
|
19788
|
+
const rootNode = element.getRootNode();
|
|
19789
|
+
const isInShadowRoot = rootNode instanceof ShadowRoot;
|
|
19790
|
+
if (isInShadowRoot) {
|
|
19791
|
+
const sheet = new CSSStyleSheet();
|
|
19792
|
+
sheet.replace(styles).then(() => {
|
|
19793
|
+
rootNode.adoptedStyleSheets.push(sheet);
|
|
19794
|
+
});
|
|
19795
|
+
}
|
|
19796
|
+
else {
|
|
19797
|
+
const previousStyleElement = document.querySelector("style#duet-table-styles");
|
|
19798
|
+
if (previousStyleElement) {
|
|
19799
|
+
return;
|
|
19800
|
+
}
|
|
19801
|
+
const styleElement = document.createElement("style");
|
|
19802
|
+
styleElement.id = "duet-table-styles";
|
|
19803
|
+
styleElement.innerHTML = styles;
|
|
19804
|
+
document.head.append(styleElement);
|
|
19805
|
+
}
|
|
19806
|
+
}
|
|
19312
19807
|
|
|
19313
19808
|
const stickyTopValues = {
|
|
19314
19809
|
none: 0,
|
|
@@ -19343,6 +19838,7 @@ class DuetTable {
|
|
|
19343
19838
|
}
|
|
19344
19839
|
}
|
|
19345
19840
|
connectedCallback() {
|
|
19841
|
+
createStyles(this.element);
|
|
19346
19842
|
{
|
|
19347
19843
|
return;
|
|
19348
19844
|
}
|
|
@@ -19378,7 +19874,7 @@ class DuetTable {
|
|
|
19378
19874
|
}
|
|
19379
19875
|
}
|
|
19380
19876
|
render() {
|
|
19381
|
-
return (hAsync(Host, { key: '
|
|
19877
|
+
return (hAsync(Host, { key: '15e609b307b99f28efe4daac634c7f978f43b1dc', class: {
|
|
19382
19878
|
[`duet-table-${this.variation}`]: true,
|
|
19383
19879
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
19384
19880
|
// sticky only valid when in regular table layout
|
|
@@ -19387,15 +19883,14 @@ class DuetTable {
|
|
|
19387
19883
|
"duet-m-0": this.margin === "none",
|
|
19388
19884
|
"duet-theme-turva": this.theme === "turva",
|
|
19389
19885
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
19390
|
-
} }, hAsync("slot", { key: '
|
|
19886
|
+
} }, hAsync("slot", { key: '1af0a343ef68668f75358fdbc91a601ef62e8dd4' })));
|
|
19391
19887
|
}
|
|
19392
19888
|
get element() { return getElement(this); }
|
|
19393
19889
|
static get watchers() { return {
|
|
19394
19890
|
"language": ["watchLanguageStateHandler"]
|
|
19395
19891
|
}; }
|
|
19396
|
-
static get style() { return DuetTableStyle0; }
|
|
19397
19892
|
static get cmpMeta() { return {
|
|
19398
|
-
"$flags$":
|
|
19893
|
+
"$flags$": 9,
|
|
19399
19894
|
"$tagName$": "duet-table",
|
|
19400
19895
|
"$members$": {
|
|
19401
19896
|
"theme": [1025],
|
|
@@ -19581,17 +20076,17 @@ class DuetTextarea {
|
|
|
19581
20076
|
*/
|
|
19582
20077
|
render() {
|
|
19583
20078
|
const identifier = this.identifier || this.textareaId;
|
|
19584
|
-
return (hAsync(Host, { key: '
|
|
20079
|
+
return (hAsync(Host, { key: 'b821aec8b3ee59b348a011e0140e2387f26da39d', class: {
|
|
19585
20080
|
"duet-m-0": this.margin === "none",
|
|
19586
20081
|
"duet-has-counter": this.counter && !this.error,
|
|
19587
20082
|
"duet-expand": this.expand,
|
|
19588
|
-
} }, hAsync("div", { key: '
|
|
20083
|
+
} }, hAsync("div", { key: 'f56d97bff7e94644241d19d049585364157adade', class: {
|
|
19589
20084
|
"duet-textarea-container": true,
|
|
19590
20085
|
"duet-theme-turva": this.theme === "turva",
|
|
19591
20086
|
"duet-label-hidden": this.labelHidden,
|
|
19592
20087
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
19593
20088
|
"has-error": !!this.error,
|
|
19594
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20089
|
+
} }, hAsync(DuetInternalLabel, { key: '7c1e03e07b39d7e6191202bade688fc75728a3aa', theme: this.theme === "turva" ? "turva" : "default", class: { "duet-has-tooltip": !!this.tooltip }, margin: this.isCaptionVisible ? "small" : "auto", color: this.labelColor, weight: this.labelWeight, id: this.labelId, for: identifier }, this.label), this.tooltip && (hAsync("duet-tooltip", { key: 'f708a87ffcb1b8747ca9debe71883387fbddbc6d', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'ac2de37430f5b367a3ca4da1174dba381a7b1f70', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '57784c29c408fb624a5f150f5312ea0037f08e09', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: '752b526a970df90cd09e641ce57d6b1b496d4045', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: 'e72d261a72b99e94fedb8db94bcc02e0f4a92e32', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: 'c25b836cac3ba19e15eb9cf223321da6e2776320', onInput: this.handleInput, onChange: this.handleChange, onBlur: this.handleBlur, onFocus: this.handleFocus, ref: input => (this.nativeInput = input), class: { "duet-textarea": true, disabled: this.disabled }, value: this.value, disabled: this.disabled, "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.getDescribedBy(), "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, placeholder: this.placeholder, spellcheck: "false", required: this.required, minlength: this.minlength, maxlength: this.maxlength, role: this.role, name: this.name, id: identifier })), hAsync("duet-grid", { key: '996a289b27bce9161f2c1d008a57f8d1ea22e9c0', alignment: "stretch" }, hAsync("duet-grid-item", { key: '028ae3bb7e264bda3d8b4ed4397fcce4057faf6f', margin: "none", fill: true }, hAsync("div", { key: 'a5de4b40049dba2fd5eb737f56691b26aba77026', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f9d50772c6ab039b7d4a7455eb7c15a89d3a0408' }, this.error))), hAsync("duet-grid-item", { key: '9c3b3984287d07b8ac4ebd0f9ed72dbd5ce0596e', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: '8c50c85b05c0df4fad9ebcccdc74b89149b7888d', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '421074dd95f8ba8955cc95554a8efa7fd3df4969', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
19595
20090
|
this.hiddenCounterLabel = el;
|
|
19596
20091
|
} })))));
|
|
19597
20092
|
}
|
|
@@ -19723,12 +20218,12 @@ class DuetToggle {
|
|
|
19723
20218
|
*/
|
|
19724
20219
|
render() {
|
|
19725
20220
|
const identifier = this.identifier || this.toggleId;
|
|
19726
|
-
return (hAsync(Host, { key: '
|
|
20221
|
+
return (hAsync(Host, { key: 'bf8502b497d41349ab2fd1bb0abca6b16c87fb6c', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '17d971af6ec2d5bc251ffd734bea74dd1f3ee749', class: {
|
|
19727
20222
|
"duet-toggle": true,
|
|
19728
20223
|
"duet-theme-turva": this.theme === "turva",
|
|
19729
20224
|
"duet-side-label": this.labelPosition !== "top",
|
|
19730
20225
|
"duet-reverse-label": this.labelPosition === "right",
|
|
19731
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
20226
|
+
} }, hAsync(DuetInternalLabel, { key: 'ee79a22afd025e1c86d7f4526eb27af6d5e68d85', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '9c4488aed6bafaf974b4389cb02809bb0ea2c478', class: "duet-switch" }, hAsync("input", { key: '8140d3b60b2e094489f89788cc34d29427bce990', type: "checkbox", value: this.value, "aria-controls": this.accessibleControls, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, id: identifier, role: this.role, name: this.name, checked: this.checked, required: this.required, disabled: this.disabled, ref: input => (this.nativeInput = input) }), hAsync("div", { key: '3c207d4e7ede368ebbaf589a9bda47b1f73abfef', class: "duet-slider" })))));
|
|
19732
20227
|
}
|
|
19733
20228
|
get element() { return getElement(this); }
|
|
19734
20229
|
static get watchers() { return {
|
|
@@ -19799,11 +20294,11 @@ class DuetToolbar {
|
|
|
19799
20294
|
: this.variation === "secondary"
|
|
19800
20295
|
? "secondary"
|
|
19801
20296
|
: "default";
|
|
19802
|
-
return (hAsync(Host, { key: '
|
|
20297
|
+
return (hAsync(Host, { key: '623f017e9ed4beb5b7a48bd2e1f2fc84c1c249c3' }, hAsync("nav", { key: 'dacb193ee88a1e8445a0b662de8f5a717f9883dd', class: {
|
|
19803
20298
|
"duet-toolbar": true,
|
|
19804
20299
|
"duet-theme-turva": this.theme === "turva",
|
|
19805
20300
|
[variation]: true,
|
|
19806
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20301
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '10f9e7ede421701301e1e1ee45ae85b61c54184a', class: "container" }, hAsync("div", { key: '7bde8fc12ca6d1267484a0f5d2d0aa9146dfe220', class: "list", role: "list" }, hAsync("slot", { key: '71515d752a76eed3236b91e158221a39ea7f9984', name: "left" })), hAsync("div", { key: 'b731edf335cceac55399e111e45f67425e8c28ae', class: "list", role: "list" }, hAsync("slot", { key: 'b079f0298ca68bdc17d45001797e3b759e0ea226', name: "right" }))))));
|
|
19807
20302
|
}
|
|
19808
20303
|
get element() { return getElement(this); }
|
|
19809
20304
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -19871,18 +20366,18 @@ class DuetToolbarDropdown {
|
|
|
19871
20366
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
19872
20367
|
}
|
|
19873
20368
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19874
|
-
return (hAsync(Host, { key: '
|
|
20369
|
+
return (hAsync(Host, { key: 'fd5e7e1fb2af68f79aa4aa4799dc11bc85403e9a', role: "listitem" }, hAsync("div", { key: 'de3b994b5ec7045967a4736ff96a1e8564dded5b', class: {
|
|
19875
20370
|
"duet-toolbar-dropdown": true,
|
|
19876
20371
|
"duet-theme-turva": this.theme === "turva",
|
|
19877
20372
|
[itemsAlign]: true,
|
|
19878
20373
|
[variation]: true,
|
|
19879
|
-
} }, hAsync("button", { key: '
|
|
20374
|
+
} }, hAsync("button", { key: 'd97d3ac97857caddc2f42cf2d610c7c6bfd5415c', 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: {
|
|
19880
20375
|
active: this.active,
|
|
19881
20376
|
open: this.open,
|
|
19882
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20377
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '75e4c173df866a7dc3a6141bb4d1cbd406877f65', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'b622b49718364a9c18f4fd364029eafd63e7f415', class: "label" }, hAsync("slot", { key: '6d5093ee7b444d1bd73a3ddea2cabb32618d9c83', name: "label" }), hAsync("duet-icon", { key: '0c2bdc620ad95743d6cfba1eb8591f0a195afa48', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '7f06bf77c02ff8113ae54ea64a7e951dac7ff492', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19883
20378
|
items: true,
|
|
19884
20379
|
hidden: !this.open,
|
|
19885
|
-
} }, hAsync("slot", { key: '
|
|
20380
|
+
} }, hAsync("slot", { key: '7b7b9a440494c81a4ea1c8e40bb22a8e48b25c1d' })))));
|
|
19886
20381
|
}
|
|
19887
20382
|
get element() { return getElement(this); }
|
|
19888
20383
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -19935,11 +20430,11 @@ class DuetToolbarDropdownLink {
|
|
|
19935
20430
|
* Always the last one in the class.
|
|
19936
20431
|
*/
|
|
19937
20432
|
render() {
|
|
19938
|
-
return (hAsync(Host, { key: '
|
|
20433
|
+
return (hAsync(Host, { key: '34d25bff907ba75e14bb51f500bffea729b32482' }, hAsync("a", { key: 'e9a8a7450c3e0f3c3835e7646384b52545b8b418', class: {
|
|
19939
20434
|
"duet-toolbar-dropdown-link": true,
|
|
19940
20435
|
"duet-theme-turva": this.theme === "turva",
|
|
19941
20436
|
active: this.active,
|
|
19942
|
-
}, 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: '
|
|
20437
|
+
}, 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: '7f22b9e1f170f2c6b4a08df11be5cb4e11a2efd0', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '78c798a19faa674e60d34672d1db627c8b47ab08', class: "label" }, hAsync("slot", { key: '9f7e624dc12e4e35f51eb97e5bf01b5182f45635' })), this.active && (hAsync("duet-icon", { key: 'a85b6330a153a4d6acb61d74a10f538a7fbf95f7', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
19943
20438
|
}
|
|
19944
20439
|
get element() { return getElement(this); }
|
|
19945
20440
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -20014,17 +20509,17 @@ class DuetToolbarItem {
|
|
|
20014
20509
|
: this.variation === "secondary"
|
|
20015
20510
|
? "secondary"
|
|
20016
20511
|
: "default";
|
|
20017
|
-
return (hAsync(Host, { key: '
|
|
20512
|
+
return (hAsync(Host, { key: 'b0ef61c45dc609f951d6d988554f0e8050838bfd', role: "listitem" }, hAsync(TagName, { key: '43b146cd21ed876366c8145f56f1a45e57a9abf6', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
20018
20513
|
"duet-toolbar-item": true,
|
|
20019
20514
|
"duet-theme-turva": this.theme === "turva",
|
|
20020
20515
|
active: this.active,
|
|
20021
20516
|
[variation]: true,
|
|
20022
|
-
}, 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: '
|
|
20517
|
+
}, 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: 'fa4ac41c37fa3666d5a1fae9f300c89899c65bd8', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'ce22edd361c76194471a7dc43e22952fdd169f66', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: 'c13051a6ee99f8b86865c7bcab10501eb968c809', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'feddff8d9331588edfad9119f3586a147cdf783f' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '9df34d52cae2cf7c987f832bfa8ab9e81e322b52', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '6034e2e76014c46c50d45ae2a3d174938941b294', class: {
|
|
20023
20518
|
"trailing-icon": !!this.trailingIcon,
|
|
20024
20519
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20025
20520
|
"external-icon": !!(this.url && this.external),
|
|
20026
20521
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
20027
|
-
}, 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: '
|
|
20522
|
+
}, 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: '74d88721c86afbe9628b68193045d966110a6840', class: "duet-toolbar-badge" }))))));
|
|
20028
20523
|
}
|
|
20029
20524
|
get element() { return getElement(this); }
|
|
20030
20525
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -20078,12 +20573,12 @@ class DuetToolbarLink {
|
|
|
20078
20573
|
*/
|
|
20079
20574
|
render() {
|
|
20080
20575
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20081
|
-
return (hAsync(Host, { key: '
|
|
20576
|
+
return (hAsync(Host, { key: '56d638c52e6ef59f5a1273a2cb5d2cf9d996005c', role: "listitem" }, hAsync("a", { key: '07e65b8ed6600bfb30800874b9c6cf1987e5daea', class: {
|
|
20082
20577
|
"duet-toolbar-link": true,
|
|
20083
20578
|
"duet-theme-turva": this.theme === "turva",
|
|
20084
20579
|
active: this.active,
|
|
20085
20580
|
[variation]: true,
|
|
20086
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
20581
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'fefe79b575bcc816d4d5c803f75f0ea66e2b4eac', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '5c58ccf2a15c5eb4ca70c25fe1bbe45fedb094a5' }))));
|
|
20087
20582
|
}
|
|
20088
20583
|
get element() { return getElement(this); }
|
|
20089
20584
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -20355,12 +20850,12 @@ class DuetTooltipButton {
|
|
|
20355
20850
|
* Always the last one in the class.
|
|
20356
20851
|
*/
|
|
20357
20852
|
render() {
|
|
20358
|
-
return (hAsync(Host, { key: '
|
|
20853
|
+
return (hAsync(Host, { key: '9ecfa8389554baa1f39937ab0a512c5387a024e5' }, hAsync("button", { key: '290e747792e3b12947841bbe77ac3d2f832b426d', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
20359
20854
|
"duet-tooltip-button": true,
|
|
20360
20855
|
"duet-tooltip-button-has-label": !!this.label,
|
|
20361
20856
|
"duet-theme-turva": this.theme === "turva",
|
|
20362
20857
|
"duet-tooltip-button-negative": this.negative,
|
|
20363
|
-
} }, hAsync("svg", { key: '
|
|
20858
|
+
} }, hAsync("svg", { key: '54e93d5c9ca28584a7bff01bc834d7f2dce564f9', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: 'a3795a55e127915ea04f32fc64f49fd809337d4a', 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: '2983ab7373308584d678aaf5317433834af19669', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '2394310596a8b8d3884eae4f017edeffa8a1209d', 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)))));
|
|
20364
20859
|
}
|
|
20365
20860
|
get element() { return getElement(this); }
|
|
20366
20861
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -20428,11 +20923,11 @@ class DuetTooltipPopup {
|
|
|
20428
20923
|
this.contentEl.focus();
|
|
20429
20924
|
}
|
|
20430
20925
|
render() {
|
|
20431
|
-
return (hAsync(Host, { key: '
|
|
20926
|
+
return (hAsync(Host, { key: 'a006dcdbb0417c5bcd4d99c2694fe8336f638abc' }, hAsync("div", { key: '745d1bca6e406dbe1292cc2d10d926d72317b221', class: {
|
|
20432
20927
|
"duet-tooltip": true,
|
|
20433
20928
|
"duet-theme-turva": this.theme === "turva",
|
|
20434
20929
|
"duet-tooltip-active": this.active === true,
|
|
20435
|
-
} }, hAsync(FocusGuard, { key: '
|
|
20930
|
+
} }, hAsync(FocusGuard, { key: 'e4e54b90267fd9c880259ca05b1c84626044f551', moveFocusTo: this.buttonEl }), hAsync("div", { key: '6ab28294f3a642d0282221b39c6db3b777c9f804', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '824bc8f3f30591acc311d5e1390a4c2aa0c4c491' })), hAsync("div", { key: 'a7f43f3882c59f0b48a9fa4b46b3c9b6959733dd', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'be9fb347ff15db7458db3a9dc29d04fc17dd0e8f', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '0cc5add494ffbe855467a5b35e821a68775989e4', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '6559d3858ce6189f07107c13535d3b080012b446', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: '343d9591a9417c5f35ab53c4a066712eb85bea0f' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: 'a68910e36f5eceb4c768c183629a8c1e1b7627d2', moveFocusTo: this.contentEl }))));
|
|
20436
20931
|
}
|
|
20437
20932
|
get element() { return getElement(this); }
|
|
20438
20933
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -20540,14 +21035,14 @@ class DuetTray {
|
|
|
20540
21035
|
* Always the last one in the class.
|
|
20541
21036
|
*/
|
|
20542
21037
|
render() {
|
|
20543
|
-
return (hAsync("div", { key: '
|
|
21038
|
+
return (hAsync("div", { key: '1168a67d691b43ae65583058555d9cbc782ec776', class: {
|
|
20544
21039
|
"duet-tray": true,
|
|
20545
21040
|
"duet-tray-is-active": this.active,
|
|
20546
21041
|
"duet-tray-is-hidden": this.hiddenState,
|
|
20547
21042
|
"duet-tray-is-responsive": this.responsive,
|
|
20548
21043
|
"duet-theme-turva": this.theme === "turva",
|
|
20549
21044
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
20550
|
-
} }, hAsync("div", { key: '
|
|
21045
|
+
} }, hAsync("div", { key: '7e96d76a09472a654b784cc03f41327bfc11c174', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: '5fddc62963d12a976a1d824d9dae22613cf5eaf2' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'cca3e663523e98abb04911903890cffd0de4d92c' }, hAsync("button", { key: '1ff129e010a2c94237554700dc50274a63f841f6', "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: '726ab39d36a0aa043b5aeedf56ed4f3b00fd2f59', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'c9af0896a67dd214edfb616eebcb2b5115324f43' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '334b44753446a8e12ea379fc198a3ef75aa2f75f', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'bb335d116234d2bf3fe135cde05acf86a0601e99', class: "duet-tray-expandable-content" }, hAsync("slot", { key: 'ca2e1a5e136523889cd5c48f83c2bb326e45daeb', name: "additional" })))))));
|
|
20551
21046
|
}
|
|
20552
21047
|
get element() { return getElement(this); }
|
|
20553
21048
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -21663,10 +22158,10 @@ class DuetUpload {
|
|
|
21663
22158
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
21664
22159
|
}
|
|
21665
22160
|
// @ts-ignore
|
|
21666
|
-
return (hAsync(Host, { key: '
|
|
22161
|
+
return (hAsync(Host, { key: '288aeb8b8850772a57e4333d8ba5b0ff15c3d7fe', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '26201557f31b33446b6453985c8448bb29be72e9', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'd7e389e3cd4bb3b8379dcc04480aba78bfbfc860', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'cca76f6ea0ece55302e10f31d32214526e8c8666', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '639f5c01310f844c0a2e0704bfa4c39c893301fa', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: 'f30d995ea8304a2d355ea23b6d0018925aca336d', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: 'f64a53038b12204aa522fb6ba65171e1b4681f6a', 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: '8a8900866831a642e44f58d10c5e6a580c902a41', name: "filefooter" }), hAsync("slot", { key: 'e05d622ba10f8c8403fc9694a298881c8ee80e00', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '89ddf7c2aeaa3c4e6a55d3d2743a1d4ef5916946', margin: "none", size: "small" }, hAsync("div", { key: '663ee7410aac7691c7ecdcc47d40709011f13f75', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '2fad93888bbaff842a5e3d2e8a1324f194d3c351', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '2f6dd6adb1749ddd99170be40ed26fb29ac43097' }, hAsync("duet-spacer", { key: '15b5257a9a586ff424c4ec3a221d87abdc411474', size: "large" }), hAsync("duet-button", { key: '0420e40d466d4eeaed5f303e6c36f025da72bee2', 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 ||
|
|
21667
22162
|
this.bytesMaxReached ||
|
|
21668
22163
|
this.filesToUploadExceedsLimit ||
|
|
21669
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
22164
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '7a7dfa23e6ed1459f94635e431464e56cede465f' }, hAsync("duet-spacer", { key: 'a8e54f1b3bb6a21b01b0bcdbeca209aa2b3eb1c2', size: "medium" }), hAsync("duet-alert", { key: 'c8324533e240d3c5c19d92f2476b61731c7527f3', 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: '11a0d6c9c0dc638025da4357fc1f7cea158a36a8', "aria-hidden": "true" }, hAsync("input", { key: 'bd2c685b5b4859881e63d9cfa71e0058aef91e97', ref: input => {
|
|
21670
22165
|
this.nativeInput = input;
|
|
21671
22166
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
21672
22167
|
"duet-upload": true,
|
|
@@ -21987,7 +22482,7 @@ class DuetUploadAriaStatus {
|
|
|
21987
22482
|
* Always the last one in the class.
|
|
21988
22483
|
*/
|
|
21989
22484
|
render() {
|
|
21990
|
-
return (hAsync(Host, { key: '
|
|
22485
|
+
return (hAsync(Host, { key: '68e88af39c2e495698149c4934fe34e466db3a45', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: 'b3ae2e032c905605445f4eb5ad3a29ae11251fa6' }, this.statusMessage)));
|
|
21991
22486
|
}
|
|
21992
22487
|
get element() { return getElement(this); }
|
|
21993
22488
|
static get watchers() { return {
|
|
@@ -22054,7 +22549,7 @@ class DuetUploadItem$1 {
|
|
|
22054
22549
|
inheritGlobalTheme(this);
|
|
22055
22550
|
}
|
|
22056
22551
|
render() {
|
|
22057
|
-
return (hAsync(Host, { key: '
|
|
22552
|
+
return (hAsync(Host, { key: '40bce050cb2886e0a2b1f72e39337986349e4c8b' }, hAsync("duet-visually-hidden", { key: 'c1008bf8a919503c51763361f1174a9d6a50aba6', "aria-hidden": "true" }, hAsync("input", { key: '46d659a947506e98051e952e2b0c2894d8b93f2a', ref: input => {
|
|
22058
22553
|
this.nativeInput = input;
|
|
22059
22554
|
}, type: "file", class: {
|
|
22060
22555
|
"duet-upload": true,
|
|
@@ -22166,9 +22661,9 @@ class DuetUploadItem {
|
|
|
22166
22661
|
const { uid, meta, item } = this.data;
|
|
22167
22662
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
22168
22663
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
22169
|
-
return (hAsync("div", { key: '
|
|
22664
|
+
return (hAsync("div", { key: '4ab1c6316a88d990b67ea8597d4a7fbbfee17149', class: {
|
|
22170
22665
|
"upload-item-row": true,
|
|
22171
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
22666
|
+
} }, this.showCategory && (hAsync("div", { key: '1f7a34acdaf8ec6a9dcb722258a5fd186a57bebe', class: "item-categories" }, hAsync("duet-heading", { key: '10436d1372a207a993d1728730719b7c13c21bc8', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: '778f28143ab6bf8b98084c6b4f85125d73ee538a', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '0444becdae05b55a29fdb77b898f55baff7292f1', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: 'e7a63578ffccc5077f77dfb54c11c681bb860956', class: "item-actions" }, this.actions.map(actionItem => {
|
|
22172
22667
|
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) }));
|
|
22173
22668
|
}))));
|
|
22174
22669
|
}
|
|
@@ -22209,7 +22704,7 @@ class DuetVisuallyHidden {
|
|
|
22209
22704
|
* Always the last one in the class.
|
|
22210
22705
|
*/
|
|
22211
22706
|
render() {
|
|
22212
|
-
return (hAsync(Host, { key: '
|
|
22707
|
+
return (hAsync(Host, { key: 'fac7286ada1218049a6883dbb51695caf8bcfb7e', class: "duet-visually-hidden" }, hAsync("slot", { key: 'db7fc7a9ce357394ce67364538fe20fb5b468d48' })));
|
|
22213
22708
|
}
|
|
22214
22709
|
get element() { return getElement(this); }
|
|
22215
22710
|
static get style() { return DuetVisuallyHiddenStyle0; }
|