@duetds/components 10.0.0-alpha.7 → 10.0.0-alpha.9
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 +2340 -255
- package/lib/cjs/{a11y-utils-660f6fc9.js → a11y-utils-be617c0c.js} +1 -1
- package/lib/cjs/{app-globals-041a56ca.js → app-globals-2b7fff72.js} +1 -1
- package/lib/cjs/duet-action-button.cjs.entry.js +2 -2
- 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 +2 -2
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +4 -4
- package/lib/cjs/duet-button_2.cjs.entry.js +10 -10
- package/lib/cjs/duet-callout.cjs.entry.js +4 -4
- package/lib/cjs/duet-caption_4.cjs.entry.js +11 -10
- package/lib/cjs/duet-card.cjs.entry.js +2 -2
- package/lib/cjs/duet-checkbox.cjs.entry.js +1 -1
- package/lib/cjs/duet-checkmark.cjs.entry.js +3 -3
- package/lib/cjs/{duet-chip_3.cjs.entry.js → duet-chip.cjs.entry.js} +3 -375
- 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 +7 -7
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +9 -9
- 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 +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +11 -11
- package/lib/cjs/duet-layout.cjs.entry.js +8 -8
- 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 +6 -5
- 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 +15 -15
- package/lib/cjs/duet-phone-input.cjs.entry.js +2002 -0
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +426 -0
- package/lib/cjs/duet-progress.cjs.entry.js +2 -2
- package/lib/cjs/duet-promo-card.cjs.entry.js +4 -4
- package/lib/cjs/duet-radio_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-range-slider.cjs.entry.js +5 -5
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +33 -21
- package/lib/cjs/duet-section-layout.cjs.entry.js +5 -5
- 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 +22 -4
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +10 -10
- package/lib/cjs/duet-slideout.cjs.entry.js +8 -8
- package/lib/cjs/duet-status-icon.cjs.entry.js +3 -3
- 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 +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-381e59b0.js → errorcodes.utils-e3a0f607.js} +1 -1
- package/lib/cjs/{focus-utils-8b057c75.js → focus-utils-47d23c45.js} +1 -1
- package/lib/cjs/{index-0885358e.js → index-7b1d76ef.js} +339 -2
- package/lib/cjs/{label-0db337c3.js → label-874fd84f.js} +1 -1
- package/lib/cjs/{language-utils-ae5d768d.js → language-utils-a6a152b8.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-7cc4f68b.js → slot-utils-7e6aa48b.js} +1 -1
- package/lib/collection/collection-manifest.json +1 -0
- package/lib/collection/components/duet-badge/duet-badge.js +2 -2
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumb.js +4 -4
- package/lib/collection/components/duet-breadcrumbs/duet-breadcrumbs.js +2 -2
- package/lib/collection/components/duet-button/duet-button.css +32 -18
- package/lib/collection/components/duet-button/duet-button.js +6 -6
- package/lib/collection/components/duet-callout/duet-callout.js +2 -2
- 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 +2 -2
- package/lib/collection/components/duet-divider/duet-divider.js +1 -1
- package/lib/collection/components/duet-editable-table/duet-editable-table.js +2 -2
- package/lib/collection/components/duet-empty-state/duet-empty-state.js +2 -2
- package/lib/collection/components/duet-fieldset/duet-fieldset.js +3 -3
- package/lib/collection/components/duet-file-chooser/duet-file-chooser.js +1 -1
- package/lib/collection/components/duet-footer/duet-footer.js +4 -4
- package/lib/collection/components/duet-grid/duet-grid.js +2 -2
- package/lib/collection/components/duet-grid-item/duet-grid-item.js +2 -2
- package/lib/collection/components/duet-heading/duet-heading.js +22 -2
- package/lib/collection/components/duet-hero/duet-hero.js +5 -5
- package/lib/collection/components/duet-icon/duet-icon.js +3 -3
- package/lib/collection/components/duet-input/duet-input.css +34 -3
- package/lib/collection/components/duet-input/duet-input.js +9 -9
- package/lib/collection/components/duet-layout/duet-layout.css +0 -3
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.css +2 -2
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +3 -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-phone-input/duet-phone-input.css +20 -0
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +777 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +73 -11
- 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 +14 -5
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +16 -10
- package/lib/collection/components/duet-section-layout/duet-section-layout.css +0 -3
- 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 +4 -4
- package/lib/collection/components/duet-slideout-lang/duet-slideout-lang.js +1 -1
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.css +17 -2
- package/lib/collection/components/duet-slideout-link/duet-slideout-link.js +90 -2
- package/lib/collection/components/duet-slideout-panel/duet-slideout-panel.js +6 -6
- package/lib/collection/components/duet-slideout-panel-dropdown/duet-slideout-panel-dropdown.js +4 -4
- package/lib/collection/components/duet-spacer/duet-spacer.js +1 -1
- package/lib/collection/components/duet-spinner/duet-spinner.js +2 -2
- package/lib/collection/components/duet-status-icon/duet-status-icon.js +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.js +11 -5
- package/lib/collection/components/duet-table/duet-table.js +2 -2
- package/lib/collection/components/duet-textarea/duet-textarea.js +3 -3
- package/lib/collection/components/duet-toggle/duet-toggle.js +2 -2
- package/lib/collection/components/duet-toolbar/duet-toolbar.js +2 -2
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.js +4 -4
- package/lib/collection/components/duet-toolbar-dropdown-link/duet-toolbar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-toolbar-item/duet-toolbar-item.js +3 -3
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-button.js +2 -2
- package/lib/collection/components/duet-tooltip/duet-tooltip-popup.js +2 -2
- package/lib/collection/components/duet-tray/duet-tray.js +2 -2
- package/lib/collection/components/duet-upload/duet-upload.js +2 -2
- package/lib/collection/components/duet-upload-aria-status/duet-upload-aria-status.js +1 -1
- package/lib/collection/components/duet-upload-item/duet-upload-item.js +2 -2
- package/lib/collection/components/duet-visually-hidden/duet-visually-hidden.js +1 -1
- package/lib/collection/data/countries.js +1762 -0
- package/lib/dist-custom-elements/duet-action-button.js +1 -1
- package/lib/dist-custom-elements/duet-alert.js +1 -1
- package/lib/dist-custom-elements/duet-badge.js +1 -1
- package/lib/dist-custom-elements/duet-banner.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumb.js +7 -7
- package/lib/dist-custom-elements/duet-breadcrumbs.js +3 -3
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +4 -4
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +3 -3
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +10 -10
- package/lib/dist-custom-elements/duet-choice.js +10 -10
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- 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 +14 -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 +1 -1
- package/lib/dist-custom-elements/duet-layout.js +7 -7
- 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 +6 -5
- 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 +23 -23
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.d.ts +11 -0
- package/lib/dist-custom-elements/duet-phone-input.js +2122 -0
- package/lib/dist-custom-elements/duet-popup-menu-item.js +1 -1
- package/lib/dist-custom-elements/duet-popup-menu.js +1 -1
- package/lib/dist-custom-elements/duet-progress.js +1 -1
- package/lib/dist-custom-elements/duet-promo-card.js +5 -5
- package/lib/dist-custom-elements/duet-radio-group.js +9 -9
- package/lib/dist-custom-elements/duet-radio.js +4 -4
- package/lib/dist-custom-elements/duet-range-slider.js +3 -3
- 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 +5 -5
- 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 +25 -6
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-slideout-panel.js +8 -8
- package/lib/dist-custom-elements/duet-slideout.js +7 -7
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +4 -4
- 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 +18 -12
- package/lib/dist-custom-elements/duet-tab.js +3 -3
- 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 +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +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-eddef302.js → p-081025d8.js} +6 -4
- package/lib/dist-custom-elements/{p-a2ab7458.js → p-0871ccd4.js} +2 -2
- package/lib/dist-custom-elements/{p-4dd6ec0e.js → p-18248c41.js} +3 -3
- package/lib/dist-custom-elements/{p-46a8132e.js → p-196352e6.js} +2 -2
- package/lib/dist-custom-elements/{p-e8d53fc5.js → p-2768f969.js} +12 -12
- package/lib/dist-custom-elements/{p-d18fbbfb.js → p-30810e37.js} +2 -2
- package/lib/dist-custom-elements/{p-08eb05f7.js → p-3c70317f.js} +3 -3
- package/lib/dist-custom-elements/{p-4006af44.js → p-4150399b.js} +6 -6
- package/lib/dist-custom-elements/{p-7a8ebdb7.js → p-548610a6.js} +1 -1
- package/lib/dist-custom-elements/{p-076458c1.js → p-592cf939.js} +5 -5
- package/lib/dist-custom-elements/{p-66f05bd2.js → p-59782228.js} +3 -3
- package/lib/dist-custom-elements/{p-55b83dec.js → p-5d871374.js} +22 -16
- package/lib/dist-custom-elements/{p-1a76b580.js → p-5e91471a.js} +4 -4
- package/lib/dist-custom-elements/{p-b49e2890.js → p-60316b82.js} +3 -3
- package/lib/dist-custom-elements/{p-6560b415.js → p-63963e6b.js} +4 -4
- package/lib/dist-custom-elements/{p-e000047c.js → p-6620a58c.js} +16 -16
- package/lib/dist-custom-elements/{p-f4511d6b.js → p-77667998.js} +4 -4
- package/lib/dist-custom-elements/{p-90aadff1.js → p-77d42564.js} +2 -2
- package/lib/dist-custom-elements/{p-df4b16da.js → p-8258c05e.js} +2 -2
- package/lib/dist-custom-elements/{p-9a2ea7dc.js → p-8a840972.js} +3 -3
- package/lib/dist-custom-elements/{p-5882e967.js → p-8d263ac9.js} +5 -5
- package/lib/dist-custom-elements/{p-7cebe2aa.js → p-91cdfcdd.js} +3 -3
- package/lib/dist-custom-elements/{p-81287261.js → p-940f9ee8.js} +283 -1
- package/lib/dist-custom-elements/{p-4f9c1a9a.js → p-9e31e365.js} +12 -12
- package/lib/dist-custom-elements/{p-9bbe7263.js → p-9ee4d52e.js} +10 -10
- package/lib/dist-custom-elements/{p-87c8a780.js → p-a9b78a2b.js} +117 -14
- package/lib/dist-custom-elements/{p-d2152803.js → p-aaa95dbc.js} +3 -3
- package/lib/dist-custom-elements/{p-e9666ab6.js → p-b322feac.js} +3 -3
- package/lib/dist-custom-elements/{p-5d29fcaa.js → p-b632bf7b.js} +4 -4
- package/lib/dist-custom-elements/{p-f2b84f7d.js → p-ccee2b7f.js} +2 -2
- package/lib/dist-custom-elements/{p-3e99b7b2.js → p-df2458b1.js} +2 -2
- package/lib/dist-custom-elements/{p-7e262927.js → p-e58296e6.js} +3 -3
- package/lib/dist-custom-elements/{p-fbf01fef.js → p-ed1ef4c3.js} +3 -3
- package/lib/dist-custom-elements/{p-958921e7.js → p-ed6a907e.js} +1 -1
- package/lib/dist-custom-elements/{p-b5147f77.js → p-ed6f3abc.js} +7 -7
- package/lib/dist-custom-elements/{p-5e2fd812.js → p-ee0c73c3.js} +3 -3
- package/lib/dist-custom-elements/{p-f32d4b93.js → p-f4067b03.js} +1 -1
- package/lib/dist-custom-elements/{p-d2e75481.js → p-f6270dca.js} +4 -4
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-d6568e05.entry.js → p-00556ef0.entry.js} +1 -1
- package/lib/duet/p-00e58acf.system.entry.js +4 -0
- package/lib/duet/p-02d914b6.system.js +4 -0
- package/lib/duet/p-03dfd146.system.entry.js +4 -0
- package/lib/duet/{p-61a0ad44.entry.js → p-043d8cac.entry.js} +1 -1
- package/lib/duet/p-078dc32d.system.js +4 -0
- package/lib/duet/{p-402af830.js → p-083bbc28.js} +1 -1
- package/lib/duet/{p-4d8136a6.system.entry.js → p-097593e0.system.entry.js} +1 -1
- package/lib/duet/{p-a94536d7.entry.js → p-12739ce5.entry.js} +1 -1
- package/lib/duet/{p-a8ed2473.system.entry.js → p-154681bc.system.entry.js} +1 -1
- package/lib/duet/{p-694cb5c7.system.entry.js → p-16bc0f6a.system.entry.js} +1 -1
- package/lib/duet/p-20a9379e.entry.js +4 -0
- package/lib/duet/{p-7e8e5ce0.system.entry.js → p-21124f63.system.entry.js} +1 -1
- package/lib/duet/{p-569d1162.entry.js → p-222fb4e2.entry.js} +1 -1
- package/lib/duet/{p-29b17590.entry.js → p-2306d206.entry.js} +1 -1
- package/lib/duet/{p-804d9390.system.entry.js → p-232405fe.system.entry.js} +1 -1
- package/lib/duet/{p-0e3bcaa9.entry.js → p-280babbe.entry.js} +1 -1
- package/lib/duet/{p-f1083113.system.entry.js → p-29cfae19.system.entry.js} +1 -1
- package/lib/duet/{p-de9c27d0.system.entry.js → p-2acb5228.system.entry.js} +1 -1
- package/lib/duet/{p-447e1392.system.js → p-2bb44297.system.js} +1 -1
- package/lib/duet/{p-5c3bb425.entry.js → p-2d3cfed7.entry.js} +1 -1
- package/lib/duet/{p-ca22effd.entry.js → p-2ea79237.entry.js} +1 -1
- package/lib/duet/{p-5013078d.system.entry.js → p-2f4a1c87.system.entry.js} +1 -1
- package/lib/duet/{p-273ee825.entry.js → p-30424dea.entry.js} +1 -1
- package/lib/duet/{p-ca8df590.system.entry.js → p-32f2bb6f.system.entry.js} +1 -1
- package/lib/duet/{p-f3463af2.entry.js → p-36d473db.entry.js} +1 -1
- package/lib/duet/{p-8e2ad162.entry.js → p-36e38e72.entry.js} +1 -1
- package/lib/duet/{p-357c0e81.system.entry.js → p-380e506a.system.entry.js} +1 -1
- package/lib/duet/{p-0887bb20.system.entry.js → p-3931d796.system.entry.js} +1 -1
- package/lib/duet/{p-73695b8f.entry.js → p-396397f0.entry.js} +1 -1
- package/lib/duet/{p-3f295c07.entry.js → p-39c8d5f4.entry.js} +1 -1
- package/lib/duet/{p-a27457ec.system.entry.js → p-3c43bf45.system.entry.js} +1 -1
- package/lib/duet/{p-361371c0.entry.js → p-3c548017.entry.js} +1 -1
- package/lib/duet/{p-cae73efd.system.entry.js → p-3edeecdd.system.entry.js} +2 -2
- package/lib/duet/{p-343293f9.system.entry.js → p-422bf802.system.entry.js} +1 -1
- package/lib/duet/{p-38e2ca53.system.entry.js → p-42789990.system.entry.js} +1 -1
- package/lib/duet/{p-01264667.entry.js → p-44ac35f1.entry.js} +1 -1
- package/lib/duet/{p-01ebc478.entry.js → p-49cbde53.entry.js} +1 -1
- package/lib/duet/{p-7ba22ad5.system.entry.js → p-49d89759.system.entry.js} +1 -1
- package/lib/duet/{p-713fb177.entry.js → p-4af1174c.entry.js} +1 -1
- package/lib/duet/p-4bbc1e3f.system.entry.js +4 -0
- package/lib/duet/{p-761c3bab.entry.js → p-4d228791.entry.js} +1 -1
- package/lib/duet/{p-6a255600.entry.js → p-4e095335.entry.js} +1 -1
- package/lib/duet/{p-7610cf8a.system.entry.js → p-4f872b2e.system.entry.js} +1 -1
- package/lib/duet/{p-3986c681.system.js → p-4f945200.system.js} +1 -1
- package/lib/duet/{p-db44b3b4.entry.js → p-4ffcbae2.entry.js} +1 -1
- package/lib/duet/{p-c5e2f011.system.entry.js → p-534baf68.system.entry.js} +1 -1
- package/lib/duet/{p-d5299653.entry.js → p-546cf344.entry.js} +1 -1
- package/lib/duet/{p-d1d1e439.system.entry.js → p-55b6ebd2.system.entry.js} +1 -1
- package/lib/duet/{p-eb28342c.system.entry.js → p-565c967d.system.entry.js} +1 -1
- package/lib/duet/{p-10ae39d7.system.entry.js → p-56d5d3bd.system.entry.js} +1 -1
- package/lib/duet/{p-1977033e.system.entry.js → p-570fd695.system.entry.js} +1 -1
- package/lib/duet/{p-7ff7d213.entry.js → p-597e4a0d.entry.js} +1 -1
- package/lib/duet/p-5a148896.entry.js +4 -0
- package/lib/duet/p-5a47d2bb.entry.js +4 -0
- package/lib/duet/p-5acfa4bf.entry.js +4 -0
- package/lib/duet/{p-a81137d2.entry.js → p-5b5a4a8f.entry.js} +1 -1
- package/lib/duet/{p-793a7e00.system.entry.js → p-5cbadb53.system.entry.js} +2 -2
- package/lib/duet/{p-c9fd4929.entry.js → p-5cc339cf.entry.js} +1 -1
- package/lib/duet/{p-b53f2401.entry.js → p-5d1a4238.entry.js} +1 -1
- package/lib/duet/{p-07da24e7.system.entry.js → p-5e01a303.system.entry.js} +1 -1
- package/lib/duet/{p-28e4efe1.system.entry.js → p-5f668b4a.system.entry.js} +1 -1
- package/lib/duet/p-5ffa7838.entry.js +4 -0
- package/lib/duet/{p-2cdacb01.system.js → p-61173f11.system.js} +1 -1
- package/lib/duet/p-622e1ffc.js +4 -0
- package/lib/duet/{p-b3302c2f.system.entry.js → p-64f2d5cf.system.entry.js} +1 -1
- package/lib/duet/p-650c6251.system.entry.js +4 -0
- package/lib/duet/{p-29d53ea5.system.entry.js → p-69e55527.system.entry.js} +1 -1
- package/lib/duet/p-6ac3b242.entry.js +4 -0
- package/lib/duet/{p-ce2dd921.entry.js → p-6ac7d70c.entry.js} +1 -1
- package/lib/duet/{p-20b6ae5f.system.entry.js → p-6c8f09c8.system.entry.js} +1 -1
- package/lib/duet/{p-74214cc5.system.entry.js → p-6eec1445.system.entry.js} +1 -1
- package/lib/duet/{p-d60846a0.entry.js → p-6fc78573.entry.js} +1 -1
- package/lib/duet/{p-cc2912ff.system.entry.js → p-705dbeac.system.entry.js} +1 -1
- package/lib/duet/{p-3042a585.entry.js → p-71a37f03.entry.js} +1 -1
- package/lib/duet/{p-e99d4ab0.system.entry.js → p-760919c7.system.entry.js} +1 -1
- package/lib/duet/p-7be5b9a7.js +4 -0
- package/lib/duet/{p-7980c7c7.system.entry.js → p-7c119b9b.system.entry.js} +1 -1
- package/lib/duet/p-7cd899ca.system.entry.js +4 -0
- package/lib/duet/p-7d5c5b60.entry.js +4 -0
- package/lib/duet/{p-b6859e60.system.entry.js → p-7ea9d8e4.system.entry.js} +1 -1
- package/lib/duet/{p-ea2e8887.system.entry.js → p-7fc6af46.system.entry.js} +1 -1
- package/lib/duet/{p-c779e3e1.entry.js → p-7fe5e652.entry.js} +1 -1
- package/lib/duet/{p-35d862a1.entry.js → p-86038989.entry.js} +1 -1
- package/lib/duet/{p-9f1f30d1.entry.js → p-872b746e.entry.js} +1 -1
- package/lib/duet/{p-d65bf655.entry.js → p-875d3971.entry.js} +1 -1
- package/lib/duet/p-88daf9bb.system.entry.js +4 -0
- package/lib/duet/p-89ac2008.system.entry.js +4 -0
- package/lib/duet/{p-8296c9c2.system.js → p-89cf1a91.system.js} +1 -1
- package/lib/duet/p-8cbd3dfd.entry.js +4 -0
- package/lib/duet/p-8d43c8cf.entry.js +4 -0
- package/lib/duet/{p-ad6532e2.entry.js → p-8f450e25.entry.js} +1 -1
- package/lib/duet/{p-031cd628.system.entry.js → p-907b42ae.system.entry.js} +1 -1
- package/lib/duet/{p-2bc7bfb8.system.entry.js → p-9183c04b.system.entry.js} +1 -1
- package/lib/duet/{p-a090e7f0.entry.js → p-91b68d54.entry.js} +1 -1
- package/lib/duet/{p-846abd90.system.entry.js → p-92d47024.system.entry.js} +1 -1
- package/lib/duet/{p-ab1b2d93.entry.js → p-939f268d.entry.js} +1 -1
- package/lib/duet/{p-3e294789.system.entry.js → p-93c115a9.system.entry.js} +1 -1
- package/lib/duet/{p-9d15f354.system.entry.js → p-943bf2b1.system.entry.js} +1 -1
- package/lib/duet/p-9592f6ba.entry.js +4 -0
- package/lib/duet/p-96d76a4b.entry.js +4 -0
- package/lib/duet/{p-982c17df.entry.js → p-9a57fac7.entry.js} +1 -1
- package/lib/duet/{p-841673c0.system.entry.js → p-9b16ba14.system.entry.js} +1 -1
- package/lib/duet/{p-8625602d.system.entry.js → p-9b61d7b9.system.entry.js} +2 -2
- package/lib/duet/p-9d429df0.system.entry.js +4 -0
- package/lib/duet/{p-e622420a.entry.js → p-9e5b11f7.entry.js} +1 -1
- package/lib/duet/{p-e7c85aa3.entry.js → p-9ee0f850.entry.js} +1 -1
- package/lib/duet/p-a083b91a.js +5 -0
- package/lib/duet/{p-794f26b0.system.entry.js → p-a11e1a80.system.entry.js} +1 -1
- package/lib/duet/p-a1e5f0d4.entry.js +4 -0
- package/lib/duet/{p-e24b7d0e.entry.js → p-a4b80c74.entry.js} +1 -1
- package/lib/duet/{p-0e32e0f3.entry.js → p-a7b0d8ce.entry.js} +1 -1
- package/lib/duet/{p-a4170fe7.system.js → p-abc0c9c6.system.js} +1 -1
- package/lib/duet/{p-f8c6c87c.system.entry.js → p-ad07b21e.system.entry.js} +1 -1
- package/lib/duet/{p-b7b88f43.system.entry.js → p-ad0d289a.system.entry.js} +1 -1
- package/lib/duet/{p-ead29805.entry.js → p-ad2b37b0.entry.js} +1 -1
- package/lib/duet/{p-c81c688f.system.entry.js → p-adc2d7ce.system.entry.js} +2 -2
- package/lib/duet/{p-adba09a3.entry.js → p-aef92a68.entry.js} +1 -1
- package/lib/duet/{p-28aee391.entry.js → p-b15523c2.entry.js} +1 -1
- package/lib/duet/{p-7433065d.system.entry.js → p-b17984d6.system.entry.js} +1 -1
- package/lib/duet/{p-4ce70915.entry.js → p-b2df3729.entry.js} +1 -1
- package/lib/duet/{p-6b8e825d.entry.js → p-b327a269.entry.js} +1 -1
- package/lib/duet/{p-b0ef5620.js → p-b33512d6.js} +1 -1
- package/lib/duet/{p-5c6fe96f.js → p-b3d6e031.js} +1 -1
- package/lib/duet/p-b48b58e1.entry.js +4 -0
- package/lib/duet/{p-924eebeb.system.entry.js → p-b8775dc1.system.entry.js} +1 -1
- package/lib/duet/{p-cb6f8369.entry.js → p-bbb92080.entry.js} +1 -1
- package/lib/duet/{p-36009a0d.entry.js → p-bd5b0381.entry.js} +1 -1
- package/lib/duet/{p-36602fe4.entry.js → p-bdb001df.entry.js} +1 -1
- package/lib/duet/{p-724d1682.entry.js → p-be097905.entry.js} +1 -1
- package/lib/duet/{p-619a6ecf.js → p-c118fad4.js} +1 -1
- package/lib/duet/{p-55183c9c.entry.js → p-c1483141.entry.js} +1 -1
- package/lib/duet/{p-78aa46d5.system.entry.js → p-c2e74c89.system.entry.js} +1 -1
- package/lib/duet/{p-289e20a4.entry.js → p-c40ee5d3.entry.js} +1 -1
- package/lib/duet/{p-7f60def8.entry.js → p-c480533b.entry.js} +1 -1
- package/lib/duet/{p-87a8eb57.entry.js → p-c487869c.entry.js} +1 -1
- package/lib/duet/{p-b8dbb46c.entry.js → p-c507caa0.entry.js} +1 -1
- package/lib/duet/{p-8406ca8e.entry.js → p-c58f3932.entry.js} +1 -1
- package/lib/duet/{p-65d0162b.system.entry.js → p-c5d88a34.system.entry.js} +1 -1
- package/lib/duet/{p-1b64118e.system.entry.js → p-c6bf2cc4.system.entry.js} +1 -1
- package/lib/duet/{p-f2d13294.system.entry.js → p-c6f29010.system.entry.js} +2 -2
- package/lib/duet/p-ca29569e.system.js +4 -0
- package/lib/duet/p-ca901ab9.entry.js +4 -0
- package/lib/duet/{p-1798db32.system.js → p-cdba12cc.system.js} +1 -1
- package/lib/duet/{p-0bd8ca70.entry.js → p-ce282523.entry.js} +1 -1
- package/lib/duet/{p-b1ac6254.system.entry.js → p-cebffd48.system.entry.js} +2 -2
- package/lib/duet/{p-2f701bd3.system.entry.js → p-cf2d66a9.system.entry.js} +1 -1
- package/lib/duet/p-cf511280.system.entry.js +4 -0
- package/lib/duet/{p-41f062e2.system.entry.js → p-d2875f04.system.entry.js} +1 -1
- package/lib/duet/{p-59be5b66.entry.js → p-d40b4a20.entry.js} +1 -1
- package/lib/duet/{p-610bd1be.entry.js → p-d4554cf2.entry.js} +1 -1
- package/lib/duet/{p-43415ad8.entry.js → p-d4ddd4d1.entry.js} +1 -1
- package/lib/duet/{p-0278c664.system.entry.js → p-d5317013.system.entry.js} +2 -2
- package/lib/duet/{p-c2f9a318.system.entry.js → p-d68e93e4.system.entry.js} +1 -1
- package/lib/duet/{p-28275d12.system.entry.js → p-d6a321fd.system.entry.js} +1 -1
- package/lib/duet/{p-56860e41.entry.js → p-d835a292.entry.js} +1 -1
- package/lib/duet/{p-3c1abeed.system.entry.js → p-d840dcdc.system.entry.js} +1 -1
- package/lib/duet/{p-acba28ca.system.entry.js → p-dac4bc08.system.entry.js} +1 -1
- package/lib/duet/{p-6d1f7659.system.entry.js → p-e0b83f6c.system.entry.js} +1 -1
- package/lib/duet/{p-2b1be22e.system.entry.js → p-e29d9d5b.system.entry.js} +1 -1
- package/lib/duet/{p-3afaf734.js → p-e3857119.js} +1 -1
- package/lib/duet/{p-7792b99b.system.entry.js → p-e45d4dc4.system.entry.js} +1 -1
- package/lib/duet/{p-b4d7d067.system.entry.js → p-e50214f5.system.entry.js} +2 -2
- package/lib/duet/p-e5229df1.entry.js +4 -0
- package/lib/duet/{p-9da6fbd0.system.entry.js → p-e7c3186e.system.entry.js} +2 -2
- package/lib/duet/p-e89a92a9.entry.js +4 -0
- package/lib/duet/{p-36282ff0.system.entry.js → p-eb02c981.system.entry.js} +1 -1
- package/lib/duet/{p-a2eb63af.system.entry.js → p-ed086770.system.entry.js} +2 -2
- package/lib/duet/{p-5ce6dbbb.system.entry.js → p-eebfe28d.system.entry.js} +1 -1
- package/lib/duet/{p-0e12e3b8.entry.js → p-ef520403.entry.js} +1 -1
- package/lib/duet/{p-dea429f9.entry.js → p-f0260e4c.entry.js} +1 -1
- package/lib/duet/{p-2f715679.system.entry.js → p-f07eace6.system.entry.js} +1 -1
- package/lib/duet/p-f1083d8c.system.entry.js +4 -0
- package/lib/duet/p-f10d7817.entry.js +4 -0
- package/lib/duet/{p-b3f0b1df.system.entry.js → p-f18245aa.system.entry.js} +1 -1
- package/lib/duet/p-f4063bd4.entry.js +4 -0
- package/lib/duet/{p-8f5c12c8.system.entry.js → p-f56098f1.system.entry.js} +1 -1
- package/lib/duet/p-f67921d2.system.entry.js +4 -0
- package/lib/duet/{p-4d46054e.system.entry.js → p-f7fe4161.system.entry.js} +1 -1
- package/lib/duet/{p-3a1a4161.entry.js → p-f97dd407.entry.js} +1 -1
- package/lib/duet/{p-505ef540.entry.js → p-fcfae4d6.entry.js} +1 -1
- package/lib/esm/{a11y-utils-7f48d84a.js → a11y-utils-c3a7fd7e.js} +1 -1
- package/lib/esm/{app-globals-8f12ab47.js → app-globals-e00fbe9c.js} +1 -1
- package/lib/esm/duet-action-button.entry.js +2 -2
- 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 +2 -2
- package/lib/esm/duet-breadcrumb.entry.js +6 -6
- package/lib/esm/duet-breadcrumbs.entry.js +4 -4
- package/lib/esm/duet-button_2.entry.js +10 -10
- package/lib/esm/duet-callout.entry.js +4 -4
- package/lib/esm/duet-caption_4.entry.js +11 -10
- package/lib/esm/duet-card.entry.js +2 -2
- package/lib/esm/duet-checkbox.entry.js +1 -1
- package/lib/esm/duet-checkmark.entry.js +3 -3
- package/lib/esm/{duet-chip_3.entry.js → duet-chip.entry.js} +5 -375
- 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 +7 -7
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +9 -9
- 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 +3 -3
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +11 -11
- package/lib/esm/duet-layout.entry.js +8 -8
- 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 +6 -5
- 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 +15 -15
- package/lib/esm/duet-phone-input.entry.js +1998 -0
- package/lib/esm/duet-popup-menu_2.entry.js +421 -0
- package/lib/esm/duet-progress.entry.js +2 -2
- package/lib/esm/duet-promo-card.entry.js +4 -4
- package/lib/esm/duet-radio_2.entry.js +6 -6
- package/lib/esm/duet-range-slider.entry.js +5 -5
- package/lib/esm/duet-scrollable_3.entry.js +33 -21
- package/lib/esm/duet-section-layout.entry.js +5 -5
- 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 +22 -4
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +5 -5
- package/lib/esm/duet-slideout-panel.entry.js +10 -10
- package/lib/esm/duet-slideout.entry.js +8 -8
- package/lib/esm/duet-status-icon.entry.js +3 -3
- 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 +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-66d99a23.js → errorcodes.utils-416994cc.js} +1 -1
- package/lib/esm/{focus-utils-b48493c9.js → focus-utils-7bc146cd.js} +1 -1
- package/lib/esm/{index-5a27eaf5.js → index-1a6cee61.js} +339 -2
- package/lib/esm/{label-00d35a2b.js → label-de5c8cbd.js} +1 -1
- package/lib/esm/{language-utils-2c1dd412.js → language-utils-8a9d5323.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-8fc9fbbf.js → slot-utils-bf214ae5.js} +1 -1
- package/lib/esm-es5/{a11y-utils-7f48d84a.js → a11y-utils-c3a7fd7e.js} +1 -1
- package/lib/esm-es5/{app-globals-8f12ab47.js → app-globals-e00fbe9c.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 +2 -2
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +1 -1
- package/lib/esm-es5/duet-card.entry.js +1 -1
- package/lib/esm-es5/duet-checkbox.entry.js +1 -1
- package/lib/esm-es5/duet-checkmark.entry.js +1 -1
- package/lib/esm-es5/duet-chip.entry.js +4 -0
- package/lib/esm-es5/duet-choice_2.entry.js +1 -1
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +2 -2
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +4 -0
- package/lib/esm-es5/duet-popup-menu_2.entry.js +4 -0
- package/lib/esm-es5/duet-progress.entry.js +1 -1
- package/lib/esm-es5/duet-promo-card.entry.js +1 -1
- package/lib/esm-es5/duet-radio_2.entry.js +2 -2
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +1 -1
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +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-66d99a23.js → errorcodes.utils-416994cc.js} +1 -1
- package/lib/esm-es5/{focus-utils-b48493c9.js → focus-utils-7bc146cd.js} +1 -1
- package/lib/esm-es5/index-1a6cee61.js +4 -0
- package/lib/esm-es5/{label-00d35a2b.js → label-de5c8cbd.js} +1 -1
- package/lib/esm-es5/{language-utils-2c1dd412.js → language-utils-8a9d5323.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-8fc9fbbf.js → slot-utils-bf214ae5.js} +1 -1
- package/lib/types/components/duet-button/duet-button.d.ts +1 -1
- package/lib/types/components/duet-heading/duet-heading.d.ts +6 -0
- package/lib/types/components/duet-input/duet-input.d.ts +4 -3
- package/lib/types/components/duet-phone-input/duet-phone-input.d.ts +156 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +11 -1
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +1 -0
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
- package/lib/types/components/duet-tab-group/duet-tab-group.d.ts +1 -0
- package/lib/types/components.d.ts +259 -2
- package/lib/types/data/countries.d.ts +22 -0
- package/package.json +3 -3
- package/lib/dist-custom-elements/p-46aa070f.js +0 -287
- package/lib/duet/p-024c9ef9.entry.js +0 -4
- package/lib/duet/p-0d6ace6f.js +0 -4
- package/lib/duet/p-15a35870.system.entry.js +0 -4
- package/lib/duet/p-17676f8d.entry.js +0 -4
- package/lib/duet/p-22a95bff.system.js +0 -4
- package/lib/duet/p-3a8e181e.entry.js +0 -4
- package/lib/duet/p-42542284.entry.js +0 -4
- package/lib/duet/p-4a4d949c.entry.js +0 -4
- package/lib/duet/p-4dcb6a39.js +0 -5
- package/lib/duet/p-5488c7f0.entry.js +0 -4
- package/lib/duet/p-57daa78e.system.entry.js +0 -4
- package/lib/duet/p-654a4d24.entry.js +0 -4
- package/lib/duet/p-663d1dbe.system.entry.js +0 -4
- package/lib/duet/p-6791f33a.system.entry.js +0 -4
- package/lib/duet/p-6833a13e.system.entry.js +0 -4
- package/lib/duet/p-6ab7c8ae.entry.js +0 -4
- package/lib/duet/p-7094e51e.js +0 -4
- package/lib/duet/p-8688d2ab.system.entry.js +0 -4
- package/lib/duet/p-97f1f446.system.entry.js +0 -4
- package/lib/duet/p-9ba5dbb7.entry.js +0 -4
- package/lib/duet/p-9c08f843.entry.js +0 -4
- package/lib/duet/p-a011272e.entry.js +0 -4
- package/lib/duet/p-aac4f547.system.entry.js +0 -4
- package/lib/duet/p-af13cb98.entry.js +0 -4
- package/lib/duet/p-b85f2a7b.entry.js +0 -4
- package/lib/duet/p-be334873.system.js +0 -4
- package/lib/duet/p-c4150af0.entry.js +0 -4
- package/lib/duet/p-c44fa6da.system.js +0 -4
- package/lib/duet/p-d0d6ecb5.entry.js +0 -4
- package/lib/duet/p-e1287a80.entry.js +0 -4
- package/lib/duet/p-ecceed3c.system.entry.js +0 -4
- package/lib/esm-es5/duet-chip_3.entry.js +0 -4
- package/lib/esm-es5/index-5a27eaf5.js +0 -5
package/hydrate/index.js
CHANGED
|
@@ -3989,12 +3989,12 @@ class DuetBadge {
|
|
|
3989
3989
|
*/
|
|
3990
3990
|
render() {
|
|
3991
3991
|
const backgroundClass = `background-${this.background}`;
|
|
3992
|
-
return (hAsync(Host, { key: '
|
|
3992
|
+
return (hAsync(Host, { key: 'cf3e3f69b29d87e252f9672b2a75daca2924e693', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '5e84f634dd533f1bf06eb2e15f8fcd441970ab40', class: {
|
|
3993
3993
|
"duet-badge": true,
|
|
3994
3994
|
[this.variation]: true,
|
|
3995
3995
|
[backgroundClass]: true,
|
|
3996
3996
|
"duet-theme-turva": this.theme === "turva",
|
|
3997
|
-
} }, hAsync("slot", { key: '
|
|
3997
|
+
} }, hAsync("slot", { key: 'f40a8bdb25390b1213f7e784f5398a5f22483364' }))));
|
|
3998
3998
|
}
|
|
3999
3999
|
get element() { return getElement(this); }
|
|
4000
4000
|
static get style() { return DuetBadgeStyle0; }
|
|
@@ -4184,14 +4184,14 @@ class DuetBreadcrumb {
|
|
|
4184
4184
|
*/
|
|
4185
4185
|
render() {
|
|
4186
4186
|
var _a;
|
|
4187
|
-
return (hAsync(Host, { key: '
|
|
4187
|
+
return (hAsync(Host, { key: '0e1297a62e328428c8f4c499846a70dbd020b3f6', role: "listitem" }, hAsync("div", { key: 'f643fa524435dae01589d0763da39b4ad6a1fc00', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: 'f78e03bceb9247e063306cd720c3e930931a0af3', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '25544b3ce62ed9faa24fd785b792a4a1126ae88a', class: {
|
|
4188
4188
|
"duet-breadcrumb": true,
|
|
4189
4189
|
"duet-theme-turva": this.theme === "turva",
|
|
4190
4190
|
}, href: this.href ? this.href : undefined, "aria-label": `${!this.href ? `${getLocaleString(this.currentCrumb)} ` : ""}${(_a = this.accessibleLabel) !== null && _a !== void 0 ? _a : this.element.innerHTML}`, role: "link" }, this.icon !== "arrow-right-small-icon" &&
|
|
4191
4191
|
this.icon && [
|
|
4192
|
-
hAsync("duet-icon", { key: '
|
|
4193
|
-
this.hasSlottedContent && hAsync("duet-spacer", { key: '
|
|
4194
|
-
], hAsync("slot", { key: '
|
|
4192
|
+
hAsync("duet-icon", { key: '4dcbabcd08a77ec90e06ad7e7702bf59e5529bf5', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4193
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: '622bc645de5061c411a11f54ec14461af07f3a12', size: "x-small", direction: "horizontal" }),
|
|
4194
|
+
], hAsync("slot", { key: '83eee004dde5a3da67516903c1019eb1b1dec620' })))));
|
|
4195
4195
|
}
|
|
4196
4196
|
get element() { return getElement(this); }
|
|
4197
4197
|
static get style() { return DuetBreadcrumbStyle0; }
|
|
@@ -4252,11 +4252,11 @@ class DuetBreadcrumbs {
|
|
|
4252
4252
|
*/
|
|
4253
4253
|
render() {
|
|
4254
4254
|
const color = getColorByName(this.color);
|
|
4255
|
-
return (hAsync(Host, { key: '
|
|
4255
|
+
return (hAsync(Host, { key: 'c0b1e8c78d0744f5c809583855dc93aa24996f2a' }, hAsync("nav", { key: '43f9aaea1114c5dd3ccf669fd6b0e757345b27eb', "aria-label": this.breadcrumbsAriaLabel, class: {
|
|
4256
4256
|
"duet-breadcrumbs": true,
|
|
4257
4257
|
"duet-theme-turva": this.theme === "turva",
|
|
4258
4258
|
[this.variation]: true,
|
|
4259
|
-
} }, hAsync("div", { key: '
|
|
4259
|
+
} }, hAsync("div", { key: '96e61856bbf06a8ed5c3c693bf53c15dc3aa340d', class: "container" }, hAsync("div", { key: '414388159558cdb6b2f47ae096590165d65e01df', role: "list", class: "list", style: { color } }, hAsync("slot", { key: 'cecb69a54afc0a093bf4f7ca38724d8d15d2751d' })), hAsync("div", { key: '6a924f55a0c2d36033df4a532bb5429d6385d35a', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '00bb27276633fa524c2d74812968048ff98770b0', class: "bottom-border bottom-border--nav" }))));
|
|
4260
4260
|
}
|
|
4261
4261
|
get element() { return getElement(this); }
|
|
4262
4262
|
static get style() { return DuetBreadcrumbsStyle0; }
|
|
@@ -4296,7 +4296,7 @@ const DuetStringsPleaseWaitDefaults = {
|
|
|
4296
4296
|
en: "Please wait.",
|
|
4297
4297
|
};
|
|
4298
4298
|
|
|
4299
|
-
const duetButtonCss = "*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px;border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
|
|
4299
|
+
const duetButtonCss = "*,*::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-right:8px !important;margin-bottom:12px !important;position:relative;z-index:1;display:inline-flex;width:auto;max-width:100%;font-size:0;vertical-align:bottom;-webkit-tap-highlight-color:transparent}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host{width:100%}}:host(.square){margin-right:12px !important}:host(.square):last-child,:host(.square):last-of-type{margin-right:0 !important}:host(.input-button){z-index:250}:host(.duet-small),:host(.duet-x-small){margin-right:4px !important;margin-bottom:8px !important}:host(.duet-small):last-child,:host(.duet-small):last-of-type,:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}@media (max-width: 35.9375em){:host(.duet-small),:host(.duet-x-small){width:auto}}:host(.duet-x-small){margin-right:2px !important}:host(.duet-x-small):last-child,:host(.duet-x-small):last-of-type{margin-right:0 !important}:host(.square.duet-small),:host(.square.duet-x-small){margin-right:8px !important}:host(.square.duet-small):last-child,:host(.square.duet-small):last-of-type,:host(.square.duet-x-small):last-child,:host(.square.duet-x-small):last-of-type{margin-right:0 !important}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}:host(.duet-fixed){width:auto !important}:host(:last-child){margin-right:0 !important}.duet-button-container{position:relative;display:block;width:100%}.duet-button{-webkit-user-select:none;user-select:none;position:relative;z-index:100;display:flex;align-items:center;width:100%;min-width:8rem;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600;line-height:1.1;color:rgb(0, 119, 179) !important;text-align:center;text-decoration:none;cursor:pointer;background:transparent;border-style:solid;border-width:1px;transition:background-color 300ms ease, color 300ms ease, border 300ms ease, outline 300ms ease, padding 300ms ease, box-shadow 300ms ease}.duet-button.duet-p-0{padding:0 !important}.duet-button.duet-m-0{margin:0 !important}.duet-button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-button:focus,.duet-button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-button.duet-button-size-medium{height:50px;padding-right:30px;padding-left:30px;font-size:1rem;border-radius:25px}.duet-theme-turva .duet-button.duet-button-size-medium{padding-right:24px;padding-left:24px;border-radius:12.5px}.duet-button.duet-button-size-medium.square{border-radius:12.5px}.duet-button.duet-button-size-medium.icon-left{padding-left:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-left{padding-left:18px}.duet-button.duet-button-size-medium.icon-right{padding-right:24px}.duet-theme-turva .duet-button.duet-button-size-medium.icon-right{padding-right:18px}.duet-button.duet-button-size-small{height:40px;padding-right:20px;padding-left:20px;font-size:0.875rem;border-radius:20px}.duet-theme-turva .duet-button.duet-button-size-small{padding-right:18px;padding-left:18px;border-radius:10px}.duet-button.duet-button-size-small.square{border-radius:10px}.duet-button.duet-button-size-small.icon-left{padding-left:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-left{padding-left:14px}.duet-button.duet-button-size-small.icon-right{padding-right:18px}.duet-theme-turva .duet-button.duet-button-size-small.icon-right{padding-right:14px}.duet-button.duet-button-size-x-small{height:32px;padding-right:12px;padding-left:12px;font-size:0.75rem;border-radius:8px}.duet-button.duet-button-size-x-small.icon-left{padding-left:10px}.duet-button.duet-button-size-x-small.icon-right{padding-right:10px}.duet-button.plain.duet-p-0{height:auto}.duet-button:not(.input-button-primary,.input-button-secondary,.input-button-embedded){font-variant-numeric:tabular-nums}.duet-button.duet-button-text-center{text-align:center !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only){min-width:48px}.duet-button.duet-button-is-small:not(.duet-button-icon-only).plain{padding-right:0 !important;padding-left:0 !important}.duet-button.duet-button-is-small:not(.duet-button-icon-only).duet-p-0{padding:0 !important}.duet-theme-turva .duet-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(198, 12, 48) !important}.duet-button .duet-button-contents{position:relative;display:flex;gap:10px;align-items:center;margin:0 auto;pointer-events:none}.duet-button .duet-button-contents.icon-right{flex-direction:row-reverse}.duet-button .duet-button-contents .duet-button-contents-slot{position:relative;top:0}.duet-button.duet-no-wrap{white-space:nowrap}.duet-button svg{width:100%;min-width:100%;fill:currentColor}.duet-button .duet-button-icon{display:flex;align-items:center}.duet-button .duet-button-icon duet-icon{width:16px;height:16px}.duet-button .duet-button-icon.large duet-icon{width:20px;height:20px}.duet-button .duet-button-icon.medium-small duet-icon{width:10px;height:10px}.duet-button .duet-button-icon.small duet-icon{width:7px;height:7px}.duet-button:active:not([disabled]){opacity:0.75;transition:none}.duet-button.default{background:rgb(255, 255, 255);border-color:rgb(181, 198, 208)}.duet-theme-turva .duet-button.default{color:rgb(198, 12, 48) !important;border-color:rgb(222, 224, 228)}.duet-button.default:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.default:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.default.duet-button-negative{background-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.default.duet-button-negative{background-color:rgb(222, 224, 228) !important}.duet-button.default.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.default.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.primary,.duet-button.input-button-primary,.duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.primary,.duet-theme-turva .duet-button.input-button-primary,.duet-theme-turva .duet-button.input-button-left-primary{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-button.primary:hover,.duet-button.input-button-primary:hover,.duet-button.input-button-left-primary:hover{background:#005f8f;border-color:#005f8f;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.primary:hover,.duet-theme-turva .duet-button.input-button-primary:hover,.duet-theme-turva .duet-button.input-button-left-primary:hover{background:rgb(126, 2, 35);border-color:rgb(126, 2, 35)}.duet-button.primary:focus,.duet-button.input-button-primary:focus,.duet-button.input-button-left-primary:focus{outline:0;box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(0, 119, 179, 0.75)}.duet-theme-turva .duet-button.primary:focus,.duet-theme-turva .duet-button.input-button-primary:focus,.duet-theme-turva .duet-button.input-button-left-primary:focus{box-shadow:0 0 0 1px #fff, 0 0 0 4px rgba(23, 28, 58, 0.75)}.duet-button.secondary,.duet-button.input-button-secondary,.duet-button.input-button-left-secondary,.duet-button.input-button-embedded{color:rgb(8, 42, 77) !important;background:transparent;border-color:rgb(8, 42, 77)}.duet-theme-turva .duet-button.secondary,.duet-theme-turva .duet-button.input-button-secondary,.duet-theme-turva .duet-button.input-button-left-secondary,.duet-theme-turva .duet-button.input-button-embedded{color:rgb(23, 28, 58) !important;border-color:rgb(23, 28, 58)}.duet-button.secondary:hover,.duet-button.input-button-secondary:hover,.duet-button.input-button-left-secondary:hover,.duet-button.input-button-embedded:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary:hover,.duet-theme-turva .duet-button.input-button-secondary:hover,.duet-theme-turva .duet-button.input-button-left-secondary:hover,.duet-theme-turva .duet-button.input-button-embedded:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.secondary.duet-button-negative,.duet-button.input-button-secondary.duet-button-negative,.duet-button.input-button-left-secondary.duet-button-negative,.duet-button.input-button-embedded.duet-button-negative{color:rgb(212, 223, 229) !important;border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative{color:rgb(222, 224, 228) !important}.duet-button.secondary.duet-button-negative:hover,.duet-button.input-button-secondary.duet-button-negative:hover,.duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(0, 119, 179) !important;border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-left-secondary.duet-button-negative:hover,.duet-theme-turva .duet-button.input-button-embedded.duet-button-negative:hover{color:rgb(198, 12, 48) !important;border-color:rgb(198, 12, 48)}.duet-button.input-button-embedded{width:40px;min-width:40px !important;min-height:40px !important;margin:4px !important;border-width:0 !important;border-radius:4px !important}.duet-button.input-button{height:auto}.duet-button.negative{color:rgb(8, 42, 77) !important;background:rgb(255, 255, 255);border-color:rgb(255, 255, 255)}.duet-theme-turva .duet-button.negative{color:rgb(23, 28, 58) !important}.duet-button.negative:hover{color:rgb(255, 255, 255) !important;background:transparent;border-color:rgb(255, 255, 255)}.duet-button.negative:focus{outline:0;box-shadow:0 0 0 1px #00294d, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-theme-turva .duet-button.negative:focus{box-shadow:0 0 0 1px #0077b3, 0 0 0 4px rgba(255, 255, 255, 0.7)}.duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive-primary{color:rgb(255, 255, 255) !important;background:rgb(214, 28, 82);border-color:rgb(214, 28, 82)}.duet-button.destructive-primary:hover{background:#ab1642;border-color:#ab1642;box-shadow:0 4px 20px 0 rgba(34, 34, 34, 0.1)}.duet-theme-turva .duet-button.destructive-primary:hover{background:#ab1642}.duet-button.destructive,.duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-theme-turva .duet-button.destructive,.duet-theme-turva .duet-button.destructive-secondary{color:rgb(214, 28, 82) !important;background:rgb(255, 255, 255);border-color:rgb(214, 28, 82)}.duet-button.destructive:hover,.duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-theme-turva .duet-button.destructive:hover,.duet-theme-turva .duet-button.destructive-secondary:hover{color:rgb(255, 255, 255) !important;background:#ab1642;border-color:#ab1642}.duet-button.plain{min-width:48px;padding-right:0 !important;padding-left:0 !important;line-height:1.5;text-align:left;background:transparent;border:0;border-color:transparent;border-radius:4px}.duet-theme-turva .duet-button.plain{color:rgb(198, 12, 48) !important;background:transparent;border-color:transparent}.duet-button.plain.duet-p-0 .duet-button-contents{height:auto}.duet-button.plain[disabled]{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:transparent !important;border-color:transparent !important}.duet-theme-turva .duet-button.plain[disabled]{color:transparent !important;cursor:not-allowed;background:transparent !important;border-color:rgb(222, 224, 228) !important}.duet-button.plain:hover{color:rgb(0, 75, 129) !important;background:transparent !important}.duet-theme-turva .duet-button.plain:hover{color:rgb(126, 2, 35) !important}.duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-theme-turva .duet-button.plain.duet-button-negative{color:rgb(255, 255, 255) !important}.duet-button.plain.duet-button-negative:hover{color:rgba(255, 255, 255, 0.8) !important}.duet-button.duet-button-icon-only{min-width:48px;min-height:48px;padding:0 !important}.duet-button.duet-button-icon-only .duet-button-contents{position:static}.duet-button.duet-button-icon-only .duet-button-icon.left.large,.duet-button.duet-button-icon-only .duet-button-icon.left.medium,.duet-button.duet-button-icon-only .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded,.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{box-sizing:content-box;min-width:48px;min-height:48px;padding:0 !important;border-width:1px}.duet-button.duet-button.input-button-primary .duet-button-contents,.duet-button.duet-button.input-button-secondary .duet-button-contents,.duet-button.duet-button.input-button-embedded .duet-button-contents,.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.duet-button.input-button-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-secondary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-embedded .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-primary .duet-button-contents.icon-right,.duet-button.duet-button.input-button-left-secondary .duet-button-contents.icon-right{padding:0 16px}.duet-button.duet-button.input-button-primary,.duet-button.duet-button.input-button-secondary,.duet-button.duet-button.input-button-embedded{border-top-left-radius:0;border-top-right-radius:4px;border-bottom-right-radius:4px;border-bottom-left-radius:0}.duet-button.duet-button.input-button-primary .duet-button-icon.left.large,.duet-button.duet-button.input-button-primary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-primary .duet-button-icon.left.small,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.large,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.medium,.duet-button.duet-button.input-button-secondary .duet-button-icon.left.small,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.large,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.medium,.duet-button.duet-button.input-button-embedded .duet-button-icon.left.small{position:absolute;top:50% !important;left:50% !important;padding:0;margin:0;transform:translateX(-50%) translateY(-50%)}.duet-button.duet-button.input-button-embedded{border-left-width:0}.duet-button.duet-button.input-button-left-primary,.duet-button.duet-button.input-button-left-secondary{border-top-left-radius:4px;border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:4px}.duet-button.duet-button.input-button-left-primary .duet-button-contents,.duet-button.duet-button.input-button-left-secondary .duet-button-contents{position:static}.duet-button.square{width:52px;min-width:auto !important;padding:0 !important;font-size:1rem;border-color:rgb(181, 198, 208);border-width:1px}.duet-button.square.duet-button-size-small{width:42px;font-size:0.875rem}.duet-button.square.duet-button-size-x-small{width:34px;font-size:0.875rem}.duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(0, 119, 179);border-color:rgb(0, 119, 179)}.duet-theme-turva .duet-button.square.duet-button-negative{color:rgb(255, 255, 255) !important;background:rgb(198, 12, 48);border-color:rgb(198, 12, 48)}.duet-theme-turva .duet-button.square{border-color:rgb(222, 224, 228)}.duet-button.square:hover{border-color:rgb(0, 119, 179);outline:2px solid rgb(0, 119, 179);outline-offset:-2px}.duet-theme-turva .duet-button.square:hover{border-color:rgb(198, 12, 48);outline-color:rgb(198, 12, 48)}.duet-button.square .duet-button-contents{gap:0}.duet-button[disabled],.duet-button[disabled]:hover,.duet-button.duet-button-negative[disabled],.duet-button.duet-button-negative[disabled]:hover{color:rgb(98, 121, 138) !important;cursor:not-allowed;background:rgb(212, 223, 229) !important;border-color:rgb(212, 223, 229) !important;outline-color:rgb(212, 223, 229) !important;box-shadow:none !important}.duet-theme-turva .duet-button[disabled],.duet-theme-turva .duet-button[disabled]:hover,.duet-theme-turva .duet-button.duet-button-negative [disabled],.duet-theme-turva .duet-button.duet-button-negative [disabled]:hover{color:rgb(143, 147, 158) !important;cursor:not-allowed;background:rgb(222, 224, 228) !important;border-color:rgb(222, 224, 228) !important;outline-color:rgb(222, 224, 228) !important}.duet-button-is-loading.primary,.duet-button-is-loading.input-button-primary{color:rgb(255, 255, 255)}.duet-button-is-loading.default{color:rgb(0, 119, 179)}.duet-button-is-loading.default.duet-theme-turva{color:rgb(198, 12, 48)}.duet-button-is-loading .duet-button-contents{visibility:hidden;opacity:0}";
|
|
4300
4300
|
var DuetButtonStyle0 = duetButtonCss;
|
|
4301
4301
|
|
|
4302
4302
|
class DuetButton {
|
|
@@ -4472,12 +4472,12 @@ class DuetButton {
|
|
|
4472
4472
|
// enforce consistency for external links
|
|
4473
4473
|
const icon = isExternalLink ? "action-new-window" : this.icon;
|
|
4474
4474
|
const iconRight = isExternalLink ? true : this.iconRight;
|
|
4475
|
-
const commonChildren = (hAsync("span", { key: '
|
|
4475
|
+
const commonChildren = (hAsync("span", { key: '88051b53fd72f0b129657ef715640223f15481c2', class: { "duet-button-contents": true, "icon-right": iconRight }, style: { color: getColorByName(this.color) } }, icon && (hAsync("span", { key: '98ef2cd4ace336d9deb8dab90ec991fc1d446178', "aria-hidden": "true", class: {
|
|
4476
4476
|
"duet-button-icon": true,
|
|
4477
4477
|
left: !iconRight,
|
|
4478
4478
|
right: iconRight,
|
|
4479
4479
|
[this.getButtonIconSize()]: true,
|
|
4480
|
-
} }, hAsync("duet-icon", { key: '
|
|
4480
|
+
} }, hAsync("duet-icon", { key: '91ac2ca8b67eefb2b9c0360844bb7c94e09afa08', size: "auto", margin: "none", name: icon, color: "currentColor" }))), hAsync("span", { key: '5c8f78bef44b27553ab8afac09b879ee63ff44f9', class: "duet-button-contents-slot" }, hAsync("slot", { key: '3e8dbdc10401d6398fd1d55a061347962afcc8c8' }))));
|
|
4481
4481
|
const size = this.size == "medium" || this.size == "small" || this.size == "x-small" ? this.size : "medium";
|
|
4482
4482
|
const commonProps = {
|
|
4483
4483
|
onFocus: this.onFocus,
|
|
@@ -4512,7 +4512,7 @@ class DuetButton {
|
|
|
4512
4512
|
"aria-details": this.accessibleDetails,
|
|
4513
4513
|
"aria-description": this.accessibleDescription,
|
|
4514
4514
|
};
|
|
4515
|
-
return (hAsync(Host, { key: '
|
|
4515
|
+
return (hAsync(Host, { key: '3a911ded3c52428957f6616a4d1f997bd21f7146', class: {
|
|
4516
4516
|
"duet-m-0": this.margin === "none",
|
|
4517
4517
|
"duet-small": this.size === "small",
|
|
4518
4518
|
"duet-x-small": this.size === "x-small",
|
|
@@ -4520,13 +4520,13 @@ class DuetButton {
|
|
|
4520
4520
|
"duet-expand": this.expand,
|
|
4521
4521
|
[this.variation]: true,
|
|
4522
4522
|
"input-button": (_b = this.variation) === null || _b === void 0 ? void 0 : _b.startsWith("input-button"),
|
|
4523
|
-
} }, hAsync("span", { key: '
|
|
4523
|
+
} }, hAsync("span", { key: 'ba3598977b509fd5da178492f5b91ee98adc358a', onClick: this.handleClick, class: {
|
|
4524
4524
|
"duet-button-container": true,
|
|
4525
4525
|
"duet-button-is-loading": this.loading,
|
|
4526
4526
|
"duet-theme-turva": this.theme === "turva",
|
|
4527
4527
|
"duet-button-negative": this.negative || this.variation === "negative",
|
|
4528
4528
|
[this.variation]: true,
|
|
4529
|
-
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: '
|
|
4529
|
+
} }, this.url ? (hAsync("a", Object.assign({}, commonProps, { href: this.url, target: this.external ? "_blank" : "_self", rel: this.external ? "noopener" : undefined }), commonChildren, this.external && hAsync("duet-visually-hidden", null, ", ", this.accessibleLabelExternal))) : (hAsync("button", Object.assign({}, commonProps, { type: this.getButtonType(), disabled: this.disabled, name: this.name, value: this.value, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, "aria-disabled": this.disabled }), commonChildren, this.loading && hAsync("duet-visually-hidden", null, " ", this.accessibleLabelLoading, " "))), this.loading && hAsync("duet-spinner", { key: 'd47a2c679ea68405e8cb22553467c00c3e7fdc94', color: "currentColor" })), hAsync("slot", { key: 'a26510be5ca0ca17c82de03527f59b8468f7e4e5', name: "proxybutton" })));
|
|
4530
4530
|
}
|
|
4531
4531
|
get element() { return getElement(this); }
|
|
4532
4532
|
static get style() { return DuetButtonStyle0; }
|
|
@@ -4613,11 +4613,11 @@ class DuetCallout {
|
|
|
4613
4613
|
<path d="M6.6591 0.557547L9.2031 2.33355C7.0911 5.21355 6.1311 7.18155 5.8431 8.90955C7.4751 9.34155 8.7231 10.5415 8.7231 12.6535C8.7231 15.2935 6.9471 16.9255 4.6431 16.9255C2.0511 16.9255 0.227096 15.1975 0.227096 12.2695C0.227096 8.28555 2.3871 4.34955 6.6591 0.557547ZM17.9871 8.95755C19.6191 9.34155 20.8671 10.5415 20.8671 12.6535C20.8671 15.2935 19.1391 16.9255 16.8351 16.9255C14.2431 16.9255 12.4191 15.1975 12.4191 12.2695C12.4191 8.28555 14.5791 4.34955 18.8511 0.557547L21.3951 2.33355C19.2351 5.21355 18.3231 7.18155 17.9871 8.95755Z"/>
|
|
4614
4614
|
</svg>
|
|
4615
4615
|
`;
|
|
4616
|
-
return (hAsync(Host, { key: '
|
|
4616
|
+
return (hAsync(Host, { key: 'd27408d6d82bfd84af629cacf5a77e3154e13f41' }, hAsync("div", { key: '119cd7ea31b3c38d1fdc0bdf27f433f11720e4a3', class: {
|
|
4617
4617
|
"duet-callout": true,
|
|
4618
4618
|
"duet-theme-turva": this.theme === "turva",
|
|
4619
4619
|
"duet-m-0": this.margin === "none",
|
|
4620
|
-
} }, hAsync("figure", { key: '
|
|
4620
|
+
} }, hAsync("figure", { key: 'c526b373643ce5a75a247ebb6909db4aafb15445', class: "container" }, hAsync("duet-icon", { key: '4df319ceefc547b3535d77a481cce1adf726f1b0', 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: '85a7a548daabdee9d5f39654200f87e63081f86a' }, hAsync("slot", { key: '078d680a4d891743078cd90807fac357882ac66c' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'd732b9a3a8d02c3d4a36192a915e5a9bb3a6994f', class: "author" }, hAsync("span", { key: '296d2981b18de589d9a0e0128c6599d35015f795' }, "\u2014 "), hAsync("slot", { key: '0a6b579e2d743716bd41b3ab566de0511c1642dd', name: "author" })))))));
|
|
4621
4621
|
}
|
|
4622
4622
|
get element() { return getElement(this); }
|
|
4623
4623
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4983,11 +4983,11 @@ class DuetCheckmark {
|
|
|
4983
4983
|
inheritGlobalTheme(this);
|
|
4984
4984
|
}
|
|
4985
4985
|
render() {
|
|
4986
|
-
return (hAsync(Host, { key: '
|
|
4986
|
+
return (hAsync(Host, { key: '622bd4a994f7a18ee9b3f5d0b4f2fa3c38fe2054', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '95f90f2a7f1648534789dfd90e5216c728f472c4', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'b9fc08723222791a4ed226ad2f2dc4fec1256c88', class: {
|
|
4987
4987
|
"duet-checkmark-container": true,
|
|
4988
4988
|
center: this.center,
|
|
4989
4989
|
"duet-checkmark-radio": this.type === "radio",
|
|
4990
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4990
|
+
} }, this.checked && hAsync("div", { key: 'ddf0b69427d9e91abbcc2c48ce12bbcd1d55e7b4', class: "duet-checkmark" })))));
|
|
4991
4991
|
}
|
|
4992
4992
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4993
4993
|
static get cmpMeta() { return {
|
|
@@ -5311,7 +5311,7 @@ class DuetChip {
|
|
|
5311
5311
|
onBlur: this.onBlur,
|
|
5312
5312
|
ref: el => (this.focusableElement = el),
|
|
5313
5313
|
};
|
|
5314
|
-
return (hAsync(Host, { key: '
|
|
5314
|
+
return (hAsync(Host, { key: '7be8a97618afcc5aa95a73b6999cbd21a9efe66d', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: '20a79f42019bb5456940c408f16cfe4398ce752b', class: classes }, hAsync("button", Object.assign({ key: '0da848870e5d364e5a0c96286863abb8846f3b43', 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: '65963c49ac15e31be9e6c155d713895011247c75', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '6bdaf78c4129a2e195b2c8d8615fbc030892b35f', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '115c67252b400a3796064d80b48c940f5db630f6' })))), this.variation === "input" && (hAsync("span", { key: 'f88e9e882256e176835645274c7f3ad5feeb43f4', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '8966730749b28a27a8d9c3ad0cc5384d7365a224', 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: '0c5090f2ae94e37ca202aecfdd26793617d96fcb', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '296fc12572a339b123691ad64e5140187bc8ce6f', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '52de610f0eef8aaf1fc353e4832460823b3483b9' })), hAsync("button", { key: '863d5afcb642ad16aea0567cf6043106231e7947', 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: 'bccf50bd40c6e81cb150f8667065b2951b592aa5', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'd4d7899b9a4398b11426408014e383041393a0cf', class: classes }, hAsync("input", Object.assign({ key: 'b0ba6a4dbe7b1539188e433a26bfd8610619e4c5', "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: '8facc59cf10af72eec36071be9ae95556591d1cf', htmlFor: identifier }, this.icon && (hAsync("span", { key: '91f1eac1be716140991470852ed8a0844f2b9cec', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '27053a7b32e80be22bcc07e6b59f224cd3c6cc6d', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '912f00ad9abb15c939e0ab857b89ae94252335c7', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '549f86327697adc292e4ea26d3c5b582b5b19509' }), this.popupElement && (hAsync("span", { key: 'e6f6c8d0996bbfa904d27deeec7e3c51ce2f4a6d', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: 'b0e8c8db27bb4f226c36d84c1cfe5b9d09da4b54', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: 'a7810754fc8da2acf0e7c1509202f358b5b01589', class: classes }, hAsync("slot", { key: '282c8898695898de513270a8e885762aa0ddab6b', name: "input" }), hAsync("label", { key: 'e5563a86a6e3f9d948a0edaded7230f2eb99410d', htmlFor: identifier }, this.icon && (hAsync("span", { key: '606119672d3bcb9d2db6d7650ed4009a241588e7', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: '1dfd234360874e73c5b7b6cdef3893909db3a529', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: '81134c606d6e65e10af40eb97d708c4591f31ff6', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '2a3b27a04ab0e0d14a65cd3aef6ea4bcee9e5367' }))))));
|
|
5315
5315
|
}
|
|
5316
5316
|
get element() { return getElement(this); }
|
|
5317
5317
|
static get watchers() { return {
|
|
@@ -5689,7 +5689,7 @@ class DuetChoice {
|
|
|
5689
5689
|
*/
|
|
5690
5690
|
render() {
|
|
5691
5691
|
const identifier = this.identifier || this.choiceId;
|
|
5692
|
-
return (hAsync(Host, { key: '
|
|
5692
|
+
return (hAsync(Host, { key: '95c3bf3494b8d33d7f30cd09b46a5542371c9252', class: {
|
|
5693
5693
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
5694
5694
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
5695
5695
|
"duet-m-0": this.margin === "none",
|
|
@@ -5697,10 +5697,10 @@ class DuetChoice {
|
|
|
5697
5697
|
"duet-theme-turva": this.theme === "turva",
|
|
5698
5698
|
"no-hover": this.isHovering,
|
|
5699
5699
|
disabled: this.getDisabled(),
|
|
5700
|
-
} }, hAsync("div", { key: '
|
|
5700
|
+
} }, hAsync("div", { key: '087bfe11a824d0dbe53285fddc1666b9b078fea7', class: {
|
|
5701
5701
|
"duet-choice-card-flextainer": true,
|
|
5702
5702
|
"duet-theme-turva": this.theme === "turva",
|
|
5703
|
-
} }, hAsync("div", { key: '
|
|
5703
|
+
} }, hAsync("div", { key: 'd0c3f8b55c14582927183cc12046d1bcf005031b', class: {
|
|
5704
5704
|
"duet-choice-card": true,
|
|
5705
5705
|
"has-icon": !!this.icon,
|
|
5706
5706
|
"has-info": this.hasInfo,
|
|
@@ -5709,16 +5709,16 @@ class DuetChoice {
|
|
|
5709
5709
|
collapsible: this.collapsible,
|
|
5710
5710
|
"collapsible-force-expanded": this.collapsibleForceExpanded,
|
|
5711
5711
|
"duet-p-0": this.padding === "none",
|
|
5712
|
-
} }, this.type === "checkbox" && (hAsync("input", { key: '
|
|
5712
|
+
} }, this.type === "checkbox" && (hAsync("input", { key: '2fcbc3765e11d789344ce8350afe6c0406d51a3e', 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: '055e6d1ffd084a07626bace527c86fa830239818', name: "choiceradioinput" }), hAsync("label", { key: '99586309cadfcf173411bb0533e78185835f4554', class: {
|
|
5713
5713
|
"duet-choice-label": true,
|
|
5714
5714
|
"has-before-text": this.hasBeforeText,
|
|
5715
5715
|
checked: this.checked,
|
|
5716
5716
|
focus: this.focus,
|
|
5717
5717
|
disabled: this.getDisabled(),
|
|
5718
|
-
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: '
|
|
5718
|
+
}, onClick: this.onClick }, this.hasBeforeText && hAsync("slot", { key: 'c4cd8c27fe9d8b11e3db64e8964f8559dbd66130', name: "before-text" }), this.icon && (hAsync("div", { key: '685779ca31a7d1f6827d0d7fe4bed7044aa0f2af', class: "duet-choice-card-icon" }, hAsync("duet-icon", { key: '98804614219f404137fb630983a81bf08abc773a', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), hAsync("div", { key: '6e5b7a8b3e5dbfa5d3f0a77104f2f2b1d332f6cc', class: "duet-choice-card-text" }, hAsync("div", { key: '23e244b266355d1ea70ad12e9847903c59bb34e6' }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label), this.caption && (hAsync("div", { key: 'ddefb454ac0a3505a520dbb9484cd60b1a26827c' }, hAsync("duet-spacer", { key: 'ae3957e6c8147bc379db21059f8584e44a55fd14', size: "xx-small" }), hAsync("duet-caption", { key: 'f0a653783164ebc5b6d2bdd2acc537a9afd0b515', margin: "none", selected: this.checked }, this.caption))), this.hasAdditional && (hAsync("div", { key: '1665619173760a73a28ba685d950f737418d1ee5' }, hAsync("duet-spacer", { key: '593fe55534da49906cc3a14ea4b13e8ff6903c0d', size: "xx-small" }), hAsync("slot", { key: '8ea22bb8657c210bbddc57f03ce88fa5c23791e7', name: "additional" })))), hAsync("div", { key: '4a5a62991e5e107bfe56e31e10509bb7bd5860ce' }, hAsync("div", { key: 'ffd299c11348780fd2908d37cba9633a3946274a', class: { "duet-checkmark-container": true, "duet-checkmark-radio": this.type === "radio" } }, this.checked && hAsync("div", { key: 'b70b4052ee1b8479bbc98bcc4b55491b00fd1c94', class: "duet-checkmark" }))))), this.hasInfo && !this.collapsible && (hAsync("button", { key: '0f7091a28c9ee79e5de07e72bb96d652f7dfed7c', ref: button => (this.infoButtonEl = button), id: this.infoButtonId, class: {
|
|
5719
5719
|
"duet-choice-info-toggle": true,
|
|
5720
5720
|
"duet-theme-turva": this.theme === "turva",
|
|
5721
|
-
}, 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: '
|
|
5721
|
+
}, 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: 'a6ce7e8b62192855cccf8989cf3f01abe95e32ef', class: "duet-choice-info-icon" }, hAsync("duet-icon", { key: '62b112f3050dab7811bd7a0fb7354a88b60f702f', icon: messagingInfo.svg, margin: "none", size: "small", color: "currentColor" }))))), this.collapsible && (hAsync("span", { key: '4ffef77c7f061ecc78412b274b5974d37df32cd6', id: `${this.choiceId}-collapsible-notification`, hidden: true }, this.collapsibleNotification)), this.collapsible || this.hasInfo ? (hAsync("div", { class: this.getClassNames(), id: this.expandId }, hAsync("span", { class: {
|
|
5722
5722
|
"duet-choice-section-visible": this.collapsible ? this.getExpanded() : this.isInfoOpen,
|
|
5723
5723
|
"duet-choice-section-hidden": this.collapsible ? !this.getExpanded() : !this.isInfoOpen,
|
|
5724
5724
|
} }, 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));
|
|
@@ -5892,14 +5892,14 @@ class DuetChoiceGroup {
|
|
|
5892
5892
|
* Always the last one in the class.
|
|
5893
5893
|
*/
|
|
5894
5894
|
render() {
|
|
5895
|
-
return (hAsync(Host, { key: '
|
|
5895
|
+
return (hAsync(Host, { key: '3a55040fa3a6ea1f2f82489fce7f08af2dc082bc', onDuetChange: this.onSelect, onDuetChoiceReady: this.onChoiceReady, onDuetChoiceRemove: this.onChoiceRemove, class: {
|
|
5896
5896
|
horizontal: this.direction === "horizontal",
|
|
5897
5897
|
"duet-choice-group-breakpoint-x-small": this.responsive && this.breakpoint === "x-small",
|
|
5898
5898
|
"duet-choice-group-breakpoint-small": this.responsive && this.breakpoint === "small",
|
|
5899
5899
|
"duet-choice-group-breakpoint-medium": this.responsive && this.breakpoint === "medium",
|
|
5900
5900
|
"duet-choice-group-breakpoint-large": this.responsive && this.breakpoint === "large",
|
|
5901
5901
|
"duet-choice-group-breakpoint-x-large": this.responsive && this.breakpoint === "x-large",
|
|
5902
|
-
} }, hAsync("duet-fieldset", { key: '
|
|
5902
|
+
} }, hAsync("duet-fieldset", { key: 'eb4785f2a62d457620798d2f755ee95ace6a3bed', 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: 'caf1a837a650da0c985a5588547b64a6fe866750', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'a5ab570871725a28ae2b719766fb99e2c5638b06', name: "tooltip" }), hAsync("div", { key: 'e28cb37104f73c4ec6382c07b28131ede9630257', class: { [this.choiceGroupName]: true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: 'd0e248743373089659e296c7c4b9295ed7283944' })))));
|
|
5903
5903
|
}
|
|
5904
5904
|
get element() { return getElement(this); }
|
|
5905
5905
|
static get watchers() { return {
|
|
@@ -6800,7 +6800,7 @@ class DuetCollapsible {
|
|
|
6800
6800
|
*/
|
|
6801
6801
|
render() {
|
|
6802
6802
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6803
|
-
return (hAsync(Host, { key: '
|
|
6803
|
+
return (hAsync(Host, { key: 'a5fe4a3b514f97ad69609df67489b6f2ff1d21a9', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: 'ec94994682ae88699a4f27b64486f6dd5edf9eff' }, hAsync("button", { key: '9fe564ae09ba09b01f0f32a48cb8a7812e7c6145', class: {
|
|
6804
6804
|
"duet-collapsible-heading": true,
|
|
6805
6805
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6806
6806
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -6808,7 +6808,7 @@ class DuetCollapsible {
|
|
|
6808
6808
|
"has-after-heading": this.hasAfterHeading,
|
|
6809
6809
|
"full-width": this.headingFullWidth,
|
|
6810
6810
|
"has-caption": !!this.caption,
|
|
6811
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
6811
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: 'fe01498bf3b34196ef3f4a6bf03c02ecfe65bc86', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: '7497f1b30a5eb295c9d7ba158c39efd4878d9437', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'f81a6c6772d17cdf276e82757e405824166404dd', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: '3c65eff49d214f709088e7a103e24d682a626def', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '411a824a551f51d2d92e6e8f941b5efd5070f6ee', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: '1f5530cea4337eb7a4d20f56871e46ba23da9b63', name: "after-heading" })))), this.caption && (hAsync("div", { key: '37286e360e8d4e35c3c80f11ef437a254614334f', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '9ec1497e017210ed4c10d51a1b2cf547e22762bc', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: '07125a3e519c372a606bcdc1b1744133ff679c03', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '7ffb7925697f929df542a126431524e2c20dc233' }))));
|
|
6812
6812
|
}
|
|
6813
6813
|
get element() { return getElement(this); }
|
|
6814
6814
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -7427,10 +7427,10 @@ class DuetContactCard {
|
|
|
7427
7427
|
render() {
|
|
7428
7428
|
const isTurva = this.theme === "turva";
|
|
7429
7429
|
const theme = isTurva ? "turva" : "default";
|
|
7430
|
-
return (hAsync(Host, { key: '
|
|
7430
|
+
return (hAsync(Host, { key: '14208b0e95965d34e6bd69493480e1014a7d20b2', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '2cf426c1e361e5a9fa15f273edf161a9765dc334', class: {
|
|
7431
7431
|
"duet-contact-card": true,
|
|
7432
7432
|
"duet-theme-turva": this.theme === "turva",
|
|
7433
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7433
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'fdbdd4850c5eeda0de2437ee5f2695f43172d349' }, this.name && (hAsync("duet-heading", { key: 'cc46dfe79762b573d0578d0cd9e82ebde6a25cc1', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: 'a5df238b129c11c6fad46bf33f7b21d25494b064', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '2cc46f7a6717f1e5d00ca90871eb89c01b68165e', class: "email" }, hAsync("duet-icon", { key: '3a42b434c8b80a6c490070b613ef40d193e1cdcc', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '08174b40d6d4bf1a395db960f537f1f4d41539bc', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'cdb756796522bcd054e2b2f9a26f9e5c491a4c2a', class: "phone" }, hAsync("duet-icon", { key: 'b024222cdd66b71f0d1418d28707f9b71c25b07e', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: 'd957c5abcfc923acc7188a5b785e11d15485bbc2', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '88dd50a394151b3e70ee58d35d907b481e9f634b', class: "call-to-action" }, hAsync("duet-button", { key: 'b0d3cd67af298ec002b2c230c66f75c75efb1499', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '6ec3ea8928bec5867d7a7ddb2e1ba5979cba023a' }), hAsync("slot", { key: '1993d3dbe800197ff57dd3942e2bb6a98023bdb0' }))));
|
|
7434
7434
|
}
|
|
7435
7435
|
get element() { return getElement(this); }
|
|
7436
7436
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7497,7 +7497,7 @@ class DuetCookieConsent {
|
|
|
7497
7497
|
* Always the last one in the class.
|
|
7498
7498
|
*/
|
|
7499
7499
|
render() {
|
|
7500
|
-
return (hAsync(Host, { key: '
|
|
7500
|
+
return (hAsync(Host, { key: '5ecdf44dd4be485abf9b8a258434c97081726dc7', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '47a040daff0fdd1253499dcb01cdaa802d1484b3', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '62ea5784fb31f6620917e3d62c4b74beb7ac823e', class: "duet-cookie-consent-content" }, hAsync("div", { key: '5d44320d810efaa0898e2032487b1d8558634826', class: "expand" }, hAsync("slot", { key: '74da22647cc3c33ff92422d3ab3738a58140fcf9' })), hAsync("duet-spacer", { key: '34327d47088d894446d686e048527d96c310cc70', size: "large", direction: "horizontal" }), hAsync("div", { key: 'bcc7ce62f2bed4fa938852c3196341333feeefd3' }, hAsync("duet-button", { key: '6d4ae72e1552e46504fc40f94478a683d202b5cf', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7501
7501
|
}
|
|
7502
7502
|
get element() { return getElement(this); }
|
|
7503
7503
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -8321,13 +8321,13 @@ class DuetDatePicker {
|
|
|
8321
8321
|
if (maxDate) {
|
|
8322
8322
|
maxYear = Math.min(maxYear, maxDate.getFullYear());
|
|
8323
8323
|
}
|
|
8324
|
-
return (hAsync(Host, { key: '
|
|
8324
|
+
return (hAsync(Host, { key: '8061c2ff02f31f289024f98a1868417791c1ceb8', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'dc0336af36cf7121e8346ab485e4fea35e3e40a1', class: "duet-date" }, hAsync(DatePickerInput, { key: 'e385f326ee143773b4bdc6812af71b2771e7a23a', 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: 'c75652233cf1139f59570a7216c9bd5b908b2617', class: {
|
|
8325
8325
|
"duet-theme-turva": this.theme === "turva",
|
|
8326
8326
|
"duet-date-dialog": true,
|
|
8327
8327
|
left: this.direction === "left",
|
|
8328
8328
|
error: !!this.error,
|
|
8329
8329
|
active: this.open,
|
|
8330
|
-
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: '
|
|
8330
|
+
}, role: "dialog", "aria-modal": "true", "aria-hidden": this.open ? "false" : "true", "aria-labelledby": this.dialogLabelId, onTouchMove: this.handleTouchMove, onTouchStart: this.handleTouchStart, onTouchEnd: this.handleTouchEnd }, hAsync("duet-overlay", { key: 'c437316f64b43a2a47e9c933f22e76874ad481e4', visible: this.open, "display-device": "x-small" }), hAsync(FocusGuard, { key: 'c373ebd14af34a7d8521f7d8629a3ba4ce7a527b', moveFocusTo: this.focusedDayNode }), hAsync("div", { key: 'c1d1ba78d46086e3d17a75d8287a393789b77308', class: "duet-date-dialog-wrapper", onKeyDown: this.handleEscKey, ref: element => (this.dialogWrapperNode = element) }, hAsync("duet-visually-hidden", { key: 'f914f3c5d397dea448805da4d4c9cf5467ce7032', "aria-live": "polite" }, text.keyboardInstruction), hAsync("div", { key: 'cc36233cb1f032f0f0dcea73a33ae1455a18c950', class: "duet-date-dialog-mobile-header" }, hAsync(DuetInternalLabel, { key: '41a8491b1f1c0cf3f03a711ba540f29a74dec52e', margin: "none" }, this.label), hAsync("button", { key: 'be5ccbdfad937acc22a90a2f8061cc937cb9e8aa', class: "duet-date-picker-close", ref: element => (this.closeButtonNode = element), onClick: () => this.hide(), type: "button" }, hAsync("duet-icon", { key: 'e3757f0a89d63f3e72b650e9caa45b0a95ce8494', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xx-small" }), hAsync("duet-visually-hidden", { key: '02bb2d109ea7ff92817b5220e16f521b14e48d92' }, text.closeLabel))), hAsync("div", { key: '3a2bcae706542219a3f5b5d911cd44d9afe218b3', class: "duet-date-dialog-header" }, hAsync("div", { key: 'a632e2623de2cf7e2c301522fb46379bd6c81437', class: "duet-date-dialog-dropdowns" }, hAsync("duet-visually-hidden", { key: '2fdb2751bdfbc30ccb5ed9ba0f1a62a9479b57e4' }, hAsync("h2", { key: '9b0ce568b4fdbbc05b57a2474f563ed516422a9d', id: this.dialogLabelId, "aria-live": "polite", "aria-atomic": "true" }, text.monthLabels[focusedMonth], " ", this.focusedDay.getFullYear())), hAsync("duet-visually-hidden", { key: 'a2d7529556bb078d2973f51fd92f029298000ee2' }, hAsync("label", { key: '855c0fbe6f66991f1863225bb9465f7fb33004ae', htmlFor: this.monthSelectId }, text.monthSelectLabel)), hAsync("div", { key: 'b85c481c35d5fc758a2dd84e7447c3cab1bf419d', class: "duet-date-dialog-select" }, hAsync("select", { key: '6e4ed6930261a02ad5259d4123a4260b9f4e40e4', 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: '3eea137e7b0bc3f4954d5789a2cddf6e6a859fee', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: '22657fcf4ead40730f886f77a863b0b0f23e8948' }, text.monthLabelsShort[focusedMonth]), hAsync("duet-icon", { key: '51b1280f2d3ec47d0567b7a041d7cfc92d61d235', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" }))), hAsync("duet-visually-hidden", { key: '63e59eac0529652ccdcac89f5ae3567c291e2fd5' }, hAsync("label", { key: '140beab557360920f1cc99977b40368d77e6d742', htmlFor: this.yearSelectId }, text.yearSelectLabel)), hAsync("div", { key: '848d1ce7184b9f3284967fab1f595ecf0cad5994', class: "duet-date-dialog-select" }, hAsync("select", { key: '56bf07db564cf107aac956411ed5b761f83bebcb', 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: '14e84bf540d7d2cb002b10d2e6ed0776c80f1d96', class: "duet-date-dialog-select-label", "aria-hidden": "true" }, hAsync("span", { key: 'f6b322608ce9629d6078030c86fc408026985e11' }, this.focusedDay.getFullYear()), hAsync("duet-icon", { key: 'e726ed9ca06b382bf237b4ae3b1c58d278895850', name: "action-arrow-down-small", color: "currentColor", margin: "none", size: "xxx-small" })))), hAsync("div", { key: 'c97bcc59b23d0cf52edfada784f9fd205d94ac99', class: "duet-date-dialog-buttons" }, hAsync("duet-action-button", { key: '4b058294b854c4ebe90fdca424a36bac77b1379d', 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: '5697ca8c8539900b6702a98f1660fef9a7925b43', 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: 'f83b03f0d74e0b01a6f9c068cf578b8a600deef7', 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: 'fa28ebc0611d9f08598c0e2057fa13c72ebc8442', moveFocusTo: this.closeButtonNode }))));
|
|
8331
8331
|
}
|
|
8332
8332
|
get element() { return getElement(this); }
|
|
8333
8333
|
static get watchers() { return {
|
|
@@ -8407,7 +8407,7 @@ class DuetDivider {
|
|
|
8407
8407
|
*/
|
|
8408
8408
|
render() {
|
|
8409
8409
|
const background = getColorByName(this.color);
|
|
8410
|
-
return (hAsync("div", { key: '
|
|
8410
|
+
return (hAsync("div", { key: 'a833c22a31c93caea94753696848ad720b5dc06d', class: {
|
|
8411
8411
|
"duet-m-0": this.margin === "none",
|
|
8412
8412
|
"duet-m-s": this.margin === "small",
|
|
8413
8413
|
"duet-divider": true,
|
|
@@ -8592,7 +8592,7 @@ class DuetEditableTable {
|
|
|
8592
8592
|
* Render Methods
|
|
8593
8593
|
*/
|
|
8594
8594
|
render() {
|
|
8595
|
-
return (hAsync(Host, { key: '
|
|
8595
|
+
return (hAsync(Host, { key: 'a0c3202194fcc3910b50193f2a4fcb3bd7d3a5d8', class: {
|
|
8596
8596
|
[`duet-editable-table-${this.variation}`]: true,
|
|
8597
8597
|
"duet-editable-table": true,
|
|
8598
8598
|
[`duet-editable-table-${this.theme}`]: true,
|
|
@@ -8602,7 +8602,7 @@ class DuetEditableTable {
|
|
|
8602
8602
|
"duet-editable-table-actions": !!this.actions,
|
|
8603
8603
|
"duet-m-0": this.margin === "none",
|
|
8604
8604
|
"duet-theme-turva": this.theme === "turva",
|
|
8605
|
-
} }, hAsync("duet-table", { key: '
|
|
8605
|
+
} }, hAsync("duet-table", { key: '6e53631c212527e8702f9e9c8a1b9bc2b390c830', 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: '990481c1affeb11d6a6541a36a8f0118c961915c', role: this.accessibleRole }, hAsync("caption", { key: 'f7b1bc44ab9fef0194485fdd6e49e11a306e365c' }, hAsync("slot", { key: '2caecec6e5c024bdde6fa6bf72917914e2626752', name: "tcaption" })), hAsync("thead", { key: 'c892dcd586814dcecddc46fbaf0319b04b6d9f16' }, this.hasHeadSlotFirst && (hAsync("tr", { key: 'bfbac21dbab8afab7f34e952bd5803954be4991d' }, hAsync("td", { key: '0a491ed1c4855d55b4dbc493a52029d657a08cc5', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: '87c033e72a1bd3b87a51a4981b1b4939de66578d', name: "thead-first" })))), this.renderTableHeader(), this.hasHeadSlotLast && (hAsync("tr", { key: '2ab66f9b14fe592f7ee7e6293cdd56b3aed0190e' }, hAsync("td", { key: 'edb3ae066371b6f5dc990f10f088246c0d9388d9', class: "duet-editable-table-actions-menu", colSpan: 99 }, hAsync("slot", { key: 'f57ebf07ee01c40cb47469b2fa07a706c4724dae', name: "thead-last" }))))), hAsync("tbody", { key: '538b2de606132fcb272e5af1650cafb947fc5b2a' }, this.renderTableBody()), this.hasFootSlot && (hAsync("tfoot", { key: '2f1a98dd550705933222f7179bc3ff4d6554d117' }, hAsync("tr", { key: 'ecb9667d57ea85de7efa6fa0035fbfbb16c78a9e' }, hAsync("td", { key: 'c78b25495de0621c55f70cce5131b1d192fc5e0e', class: "duet-editable-table-footer-menu", colSpan: 99 }, hAsync("slot", { key: 'ed051b0e66c28fdbee565b33c1c394034a817a82', name: "tfoot" })))))))));
|
|
8606
8606
|
}
|
|
8607
8607
|
get element() { return getElement(this); }
|
|
8608
8608
|
static get style() { return DuetEditableTableStyle0; }
|
|
@@ -8652,11 +8652,11 @@ class DuetEmptyState {
|
|
|
8652
8652
|
* Always the last one in the class.
|
|
8653
8653
|
*/
|
|
8654
8654
|
render() {
|
|
8655
|
-
return (hAsync(Host, { key: '
|
|
8655
|
+
return (hAsync(Host, { key: '9018087936c4abe5adead5d4fe62991ea84b3dc1' }, hAsync("div", { key: 'a0aa84fb06673f4d741891019a98fd7d4f03b174', class: {
|
|
8656
8656
|
"duet-empty-state": true,
|
|
8657
8657
|
"duet-theme-turva": this.theme === "turva",
|
|
8658
8658
|
"duet-is-small": this.size === "small",
|
|
8659
|
-
} }, hAsync("duet-icon", { key: '
|
|
8659
|
+
} }, hAsync("duet-icon", { key: '8d9265fb0946a832c1c386b139b28b775ade9936', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '87abfa72d165e96e3ca1798ab0023e13d540d757' }, hAsync("slot", { key: 'fc437b4821cbc146906f8c33aa06d4718a0584b2' })))));
|
|
8660
8660
|
}
|
|
8661
8661
|
get element() { return getElement(this); }
|
|
8662
8662
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8712,20 +8712,20 @@ class DuetFieldset {
|
|
|
8712
8712
|
* Always the last one in the class.
|
|
8713
8713
|
*/
|
|
8714
8714
|
render() {
|
|
8715
|
-
return (hAsync(Host, { key: '
|
|
8715
|
+
return (hAsync(Host, { key: '0d729b5e1cb791fb65c1071d23d0f2c00ec8b14b', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '4cd95f6f84bb5db41a80afa3cb86ca5dbf8a1272', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8716
8716
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8717
8717
|
// once they do, we can remove errors from the aria-describedby
|
|
8718
8718
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8719
8719
|
class: {
|
|
8720
8720
|
"duet-fieldset": true,
|
|
8721
8721
|
"duet-theme-turva": this.theme === "turva",
|
|
8722
|
-
} }, hAsync("legend", { key: '
|
|
8722
|
+
} }, hAsync("legend", { key: 'fd90f2bcea56a278ad8a9e46f0612da7084faf32', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '40978d955040610ba7ed9fcd528602f09d278cf4' }, this.label), this.caption && hAsync("span", { key: '652639176a29765a060e6d93394d1be15f85b655' }, this.caption)), hAsync("div", { key: '8c1ce047394b16dc8aa72920a20872dcc5c40a62', class: {
|
|
8723
8723
|
"duet-legend-wrapper": true,
|
|
8724
8724
|
"duet-legend-has-caption": !!this.caption,
|
|
8725
8725
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8726
8726
|
"duet-legend-hidden": this.labelHidden,
|
|
8727
8727
|
"duet-legend-compact": this.compactLabel,
|
|
8728
|
-
} }, hAsync("div", { key: '
|
|
8728
|
+
} }, hAsync("div", { key: 'c9d8dd0b4a04ba5290400a792bb514dbeb48797b', class: "duet-fieldset-label" }, hAsync("span", { key: 'dfd7c45d9d06013245bcb6151580e9a5c388c6bb', "aria-hidden": "true" }, this.label), hAsync("slot", { key: 'fedce73421fc47341ccf5780b70decd6ae633488', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '16bf1bc0efed25c741a563780b1b4821dcfccb4a', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '3f1df4743f396f70df19ab467775db8b2c23706b', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: '7fa0fd68a5b63c72bbcea5ff663d27c9ff4a041b' }), hAsync("span", { key: '6aaac6a4abd35a44e85866bed2affd2b48416a89', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '5b6df0d8797262bd9ce412985f39d2e750fc9e7f' }, this.error)))));
|
|
8729
8729
|
}
|
|
8730
8730
|
get element() { return getElement(this); }
|
|
8731
8731
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8869,15 +8869,15 @@ class DuetFooter {
|
|
|
8869
8869
|
render() {
|
|
8870
8870
|
const text = getLocaleString(i18n$1, this.language);
|
|
8871
8871
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8872
|
-
return (hAsync("footer", { key: '
|
|
8872
|
+
return (hAsync("footer", { key: '7ae4293b454d64394607de43e760c64f4644003a', class: {
|
|
8873
8873
|
"duet-footer": true,
|
|
8874
8874
|
"duet-m-0": this.margin === "none",
|
|
8875
8875
|
"duet-theme-turva": this.theme === "turva",
|
|
8876
8876
|
"duet-footer-simple": this.variation === "simple",
|
|
8877
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8877
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '98ad43f9effced4943cdd6b9903fff536837ceb0', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: 'b06a863d3bf6043b4aea1daa3c3792f5f75aa1fb', class: {
|
|
8878
8878
|
"duet-footer-top": true,
|
|
8879
8879
|
"duet-has-info": this.hasInfoSlot,
|
|
8880
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8880
|
+
}, part: "top" }, hAsync("div", { key: 'b4c000b6e5f933bab8b99f6a662fff8e31f4958c', class: "footer-top-logo" }, hAsync("duet-logo", { key: '1dd4789774e55c30390ab703b5b8ad384c51f8cf', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: '1eca3d87feb76d9d4854a622cfd8ae88c474d775', class: "footer-top-right-container" }, hAsync("slot", { key: 'df47caa012189f4e21e604a705b7d8c7c8a13d11', name: "info" }), hAsync("div", { key: '143327524232e37b5174397da10401204149f90e', class: "footer-top-items" }, this.processedItems &&
|
|
8881
8881
|
this.processedItems.map((item, index) => {
|
|
8882
8882
|
var _a, _b, _c, _d, _e, _f;
|
|
8883
8883
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -8887,7 +8887,7 @@ class DuetFooter {
|
|
|
8887
8887
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
8888
8888
|
? "medium"
|
|
8889
8889
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8890
|
-
}))))), hAsync("slot", { key: '
|
|
8890
|
+
}))))), hAsync("slot", { key: '6cb5f4f380025c8bbdaa2ac5451f5229bf3187f1', name: "extra" }), hAsync("p", { key: 'cd54917ff7f57ad3575241e75df45f6eb856e54c', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '528f6fdec2f93b1ab7babbfbe7aec319263ac95a', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '4eeb4bf5ec30d4e8d3a1d14e9224c48dfbf1796b', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: 'd985c3412bc83d4f558fb8ec8b21dd1adb1da256' }, 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: 'eac6be8cb430f9fdf6cef0fcef71eb38debde6e7', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8891
8891
|
}
|
|
8892
8892
|
get element() { return getElement(this); }
|
|
8893
8893
|
static get watchers() { return {
|
|
@@ -9091,7 +9091,7 @@ class DuetGrid {
|
|
|
9091
9091
|
* Always the last one in the class.
|
|
9092
9092
|
*/
|
|
9093
9093
|
render() {
|
|
9094
|
-
return (hAsync(Host, { key: '
|
|
9094
|
+
return (hAsync(Host, { key: '67094e450454f3b14b5cb8618e3e61352534465d', class: {
|
|
9095
9095
|
"duet-grid": true,
|
|
9096
9096
|
"duet-no-stacking": !this.responsive,
|
|
9097
9097
|
"duet-grid-align-top": this.alignment === "top", // flex-start
|
|
@@ -9118,7 +9118,7 @@ class DuetGrid {
|
|
|
9118
9118
|
"duet-grid-row-reverse": this.rowReverse,
|
|
9119
9119
|
[`duet-grid-variation-${this.gridTemplate ? "grid" : "flex"}`]: true,
|
|
9120
9120
|
[`duet-grid-template-${this.gridTemplate}`]: true,
|
|
9121
|
-
} }, hAsync("slot", { key: '
|
|
9121
|
+
} }, hAsync("slot", { key: '8afda92db1855823fc68490f795adee166999fd6' })));
|
|
9122
9122
|
}
|
|
9123
9123
|
get element() { return getElement(this); }
|
|
9124
9124
|
static get watchers() { return {
|
|
@@ -9174,7 +9174,7 @@ class DuetGridItem {
|
|
|
9174
9174
|
* Always the last one in the class.
|
|
9175
9175
|
*/
|
|
9176
9176
|
render() {
|
|
9177
|
-
return (hAsync(Host, { key: '
|
|
9177
|
+
return (hAsync(Host, { key: 'ac8d4c1a2f33cb37ff9aac6bfa7cd1404367740e', style: {
|
|
9178
9178
|
"min-width": this.minWidth,
|
|
9179
9179
|
"max-width": this.maxWidth,
|
|
9180
9180
|
}, class: {
|
|
@@ -9191,7 +9191,7 @@ class DuetGridItem {
|
|
|
9191
9191
|
"duet-grid-item-br-medium": this.breakpoint === "medium",
|
|
9192
9192
|
"duet-grid-item-br-large": this.breakpoint === "large",
|
|
9193
9193
|
"duet-grid-item-br-x-large": this.breakpoint === "x-large",
|
|
9194
|
-
} }, hAsync("slot", { key: '
|
|
9194
|
+
} }, hAsync("slot", { key: 'd0a2341b59cbae2775983b564729531a93bd6919' })));
|
|
9195
9195
|
}
|
|
9196
9196
|
static get style() { return DuetGridItemStyle0; }
|
|
9197
9197
|
static get cmpMeta() { return {
|
|
@@ -10041,6 +10041,7 @@ class DuetHeading {
|
|
|
10041
10041
|
this.theme = "";
|
|
10042
10042
|
this.hyphenate = false;
|
|
10043
10043
|
this.fixedSize = false;
|
|
10044
|
+
this.accessibleLabel = undefined;
|
|
10044
10045
|
}
|
|
10045
10046
|
/**
|
|
10046
10047
|
* Component lifecycle events.
|
|
@@ -10055,7 +10056,7 @@ class DuetHeading {
|
|
|
10055
10056
|
render() {
|
|
10056
10057
|
const TagName = sanitizeString$1(this.level);
|
|
10057
10058
|
const color = getColorByName(this.color);
|
|
10058
|
-
return (hAsync(TagName, { key: '
|
|
10059
|
+
return (hAsync(TagName, { key: '2f89171baca460e8b0b6b807a992856426a83838', class: {
|
|
10059
10060
|
"duet-heading": true,
|
|
10060
10061
|
"duet-heading-border": this.border !== false,
|
|
10061
10062
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -10066,7 +10067,7 @@ class DuetHeading {
|
|
|
10066
10067
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
10067
10068
|
"duet-theme-turva": this.theme === "turva",
|
|
10068
10069
|
"fixed-size": this.fixedSize,
|
|
10069
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
10070
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: 'aded9e6a879359f85d77f436736131a26188f4dc' })));
|
|
10070
10071
|
}
|
|
10071
10072
|
get element() { return getElement(this); }
|
|
10072
10073
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -10082,7 +10083,8 @@ class DuetHeading {
|
|
|
10082
10083
|
"color": [1],
|
|
10083
10084
|
"theme": [1025],
|
|
10084
10085
|
"hyphenate": [4],
|
|
10085
|
-
"fixedSize": [4, "fixed-size"]
|
|
10086
|
+
"fixedSize": [4, "fixed-size"],
|
|
10087
|
+
"accessibleLabel": [1, "accessible-label"]
|
|
10086
10088
|
},
|
|
10087
10089
|
"$listeners$": undefined,
|
|
10088
10090
|
"$lazyBundleId$": "-",
|
|
@@ -10246,7 +10248,7 @@ class DuetHero {
|
|
|
10246
10248
|
outlineColor = "color-primary-turva";
|
|
10247
10249
|
}
|
|
10248
10250
|
}
|
|
10249
|
-
return (hAsync("div", { key: '
|
|
10251
|
+
return (hAsync("div", { key: '63b4e5c88c84b9d9f2756385a8329d9cdf9ed432', role: "region", class: {
|
|
10250
10252
|
"duet-hero": true,
|
|
10251
10253
|
"duet-theme-turva": this.theme === "turva",
|
|
10252
10254
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -10264,17 +10266,17 @@ class DuetHero {
|
|
|
10264
10266
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
10265
10267
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
10266
10268
|
"duet-hero-narrow": this.layout === "narrow",
|
|
10267
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
10268
|
-
this.processedBack && (hAsync("div", { key: '
|
|
10269
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '7308c0f8ee8b8f3f3b6742646e19c7cc9ebc386d', class: "background-area" }, hAsync("div", { key: '42f2570dfc3db407843b308971a0b9583d8370d1', class: "background-container" }, hAsync("div", { key: 'cf9659e75816459cdd07be75fadacd3eb951b57b', class: "background" }, hAsync("img", { key: 'bb9f8bae3d91e6ea8615288d2a323152abef1c8c', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: 'b7f8dff983a801d6bd0b5ce16b37fa626a16fb60', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'ed2ce51f608ed6c30f0482a732cb42c02d91fff2', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '30b821b3c1465e3952a9d20f56041d6535e01d92', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '75e73af8d23bbce2665cf7e97e2bae67e2c1d660', class: { background: true, [this.layout]: true } }, hAsync("div", { key: 'fbbdd723d68647bbb19b3d7782ce90a07de54e5c', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '728f6db97d9da029a9223a0525ec4e4663517865', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: 'dcb6c9996de17e488f750f5146a423697e0209b6', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '8d10206dbd89d0ab9fdba2254af3617d6b55810b', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '26f6ae5fb48ff56f805411af73a15e868bea7d83', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: '6459840343b0c05c655f4250792258676f3188cb', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'fad5ee14265c2b87d398d498f18b37e50cb924bf', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: 'ba22c2bd04bf3f7d7e9753eadbdfb276411adf9d', class: "background-area" }, hAsync("div", { key: '8e68dc0c716a2d1dc8e9c6de3e6506248024e799', class: "background" }, hAsync("div", { key: '6f1b77b2c351d47b0c836e8656eed6393cddc9b5', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'cfac22c13517ea173ae995106428f649e8c7625e', class: "brand-shape" }), hAsync("div", { key: '2091a16b26d2ff91ca500172c0d51c30d3da1ef3', class: "brand-shaped-image" }, hAsync("div", { key: '7a6a4b05988f7a472ab776594a1159dd7a4f2856', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: 'f8373a6a25854f117998c940ad0c283e85535e00', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: 'a5fdd388a2d81acf720c3d1fbbfeede2e4f201c7', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '30bbabd5f178e1b41e6dc9ea466c626ceca746d0', class: "duet-hero-image-mask" }, hAsync("div", { key: 'c24348fb6709b120f1a0c4fb6201ed0b9e2aed9d', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '043f9e0ea079a70676744da1181617dc44a705e5', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
10270
|
+
this.processedBack && (hAsync("div", { key: 'e6b855e11691aa5581c0428a3a649161c5aa3168', class: "duet-hero-back" }, hAsync("duet-button", { key: '292f04901b5190403debde732206929be6d458a6', 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, {
|
|
10269
10271
|
label: this.processedBack.label,
|
|
10270
10272
|
href: this.processedBack.href,
|
|
10271
10273
|
id: this.processedBack.id,
|
|
10272
10274
|
analyticsId: this.processedBack.analyticsId,
|
|
10273
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
10275
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '1cc8b05acac3bd6e8487d6c48bbb914a34deb867', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: 'caca5aefc26eab33af2a9384542c788ec78b72c6', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'c6d5e43f63a8e0dcd4d5570b493964811cc25e27', 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: '8adeb791e73896fc5a01b86ba092ad99c262e32f', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '6fb8b87e602c6909a980d3f4c37b7d10712b4bae', 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: '5a3388cd2ff21953d6482e0032f66e56ffcbf15d', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: 'f1d4826017829edc73a61b334c7b7e7d2676d96b', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '4aa3dc4cf261fcb4b79b720dbc6293ff54543e78', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: 'b4254d8583e20eefe8b13d29d902a15854fed331', 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: 'cccfd73dd6f654ecc5ea228f80c46ef263d9ac4d', 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: 'e839c205b34d16811e3a2f4d3bebfdf0cd35e45d' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: 'e0faabf7fbaad8ba835f2fce7a3ef4bb0c4bcb49', 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 &&
|
|
10274
10276
|
this.variation !== "image" &&
|
|
10275
10277
|
!campaignOrSection &&
|
|
10276
10278
|
this.variation !== "product" &&
|
|
10277
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
10279
|
+
this.variation !== "content" && hAsync("div", { key: 'dafb022c1c910b6af2ec930cf617d93696c98ef6', class: "duet-hero-image", style: styles }), hAsync("slot", { key: '403dc2f45d1ac11f32c0dd88798f136277e8b7a7', name: "bottom" }))));
|
|
10278
10280
|
}
|
|
10279
10281
|
get element() { return getElement(this); }
|
|
10280
10282
|
static get watchers() { return {
|
|
@@ -10400,11 +10402,11 @@ class DuetIcon {
|
|
|
10400
10402
|
: {};
|
|
10401
10403
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
10402
10404
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
10403
|
-
return (hAsync(Host, { key: '
|
|
10405
|
+
return (hAsync(Host, { key: '719ad0e70de0dbcab6332a0c0d4ce9ef490e9303', class: {
|
|
10404
10406
|
"duet-m-0": this.margin === "none",
|
|
10405
10407
|
"duet-icon-has-outline": !!this.outline,
|
|
10406
10408
|
"duet-icon-has-background": !!this.background,
|
|
10407
|
-
} }, hAsync("span", { key: '
|
|
10409
|
+
} }, hAsync("span", { key: '0c75b949e51281ff96e7758fc3f29d61b5f34af4', "aria-hidden": "true", style: styles, class: {
|
|
10408
10410
|
"duet-icon": true,
|
|
10409
10411
|
"duet-theme-turva": this.theme === "turva",
|
|
10410
10412
|
"duet-theme-default": this.theme === "default",
|
|
@@ -10413,7 +10415,7 @@ class DuetIcon {
|
|
|
10413
10415
|
[shapeStyle]: true,
|
|
10414
10416
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10415
10417
|
"duet-icon-not-responsive": !this.responsive,
|
|
10416
|
-
} }, hAsync("span", { key: '
|
|
10418
|
+
} }, hAsync("span", { key: '188ea6dc92da8b973315b53e58482380475fdc34', "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 }))));
|
|
10417
10419
|
}
|
|
10418
10420
|
get element() { return getElement(this); }
|
|
10419
10421
|
static get watchers() { return {
|
|
@@ -10498,7 +10500,7 @@ function cleanValue(input, regex) {
|
|
|
10498
10500
|
return newValue;
|
|
10499
10501
|
}
|
|
10500
10502
|
|
|
10501
|
-
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button{position:relative;width:100%}.duet-input-variation-button .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10503
|
+
const duetInputCss = ".duet-internal-label{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;position:relative;z-index:100;display:inline-flex;width:auto;margin-top:8px !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:600 !important;line-height:1.25;line-height:1.25;color:rgb(8, 42, 77);text-align:left;word-break:break-word;cursor:default}.duet-internal-label.duet-p-0{padding:0 !important}.duet-internal-label.duet-m-0{margin:0 !important}.duet-internal-label span{font-size:1rem;font-weight:600 !important;word-break:break-word}.duet-internal-label.duet-m-0{margin-bottom:0 !important}.duet-internal-label.duet-small-margin{margin-top:8px !important;margin-bottom:4px !important}.duet-internal-label.duet-has-tooltip{padding-right:48px}@media (min-width: 48em){.duet-internal-label.duet-has-tooltip{padding-right:0}}.duet-internal-label.duet-internal-label-small{font-size:0.875rem}.duet-internal-label.duet-internal-label-small span{font-size:0.875rem}.duet-internal-label.duet-weight-normal{font-weight:400 !important}.duet-internal-label.duet-weight-normal span{font-weight:400 !important}.duet-internal-label.duet-theme-turva{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{margin-right:16px !important}:host(:last-child),:host(:last-of-type){margin-right:0 !important}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}input[type=search]::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip,::slotted(duet-tooltip){position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip,::slotted(duet-tooltip){right:auto}}duet-caption:not(:last-of-type){margin-bottom:0}.duet-input-placeholder{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva .duet-input-icon{color:rgb(23, 28, 58)}.duet-input-container{position:relative;width:100%;height:100%}.duet-input-container.has-clear .duet-input-clear-icon{position:relative;z-index:250}.duet-input-container.has-clear .duet-input-clear-icon button{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear .duet-input-clear-icon button:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-input-container.has-clear .duet-input-clear-icon button:focus,.duet-input-container.has-clear .duet-input-clear-icon button:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear .duet-input-clear-icon button:active{opacity:0.75;transition:none}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-single button{top:-48px;right:0}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-double button{top:-24px;right:12px}.duet-input-container.has-clear .duet-input-clear-icon.duet-input-clear-icon-button button{top:-24px;right:0}.duet-input-container.has-clear.has-icon .duet-input-clear-icon{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear .duet-input-clear-icon button:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container{justify-content:flex-start}}.duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small{padding:8px 10px !important}.duet-input.input-padding-x-small{padding:4px 6px !important}.duet-input.input-padding-xx-small{padding:0px 2px !important}.duet-input.is-number{padding-right:112px !important}.duet-input.is-date{padding-right:64px !important}.duet-input.after-chip{padding-left:8px !important}.has-error .duet-input,.has-error .duet-input[disabled]{border-color:rgb(214, 28, 82) !important}.has-error .duet-input+.duet-input-icon,.has-error .duet-input[disabled]+.duet-input-icon{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error .duet-input+.duet-input-icon{color:rgb(214, 28, 82) !important}.has-icon .duet-input{padding-right:48px !important}.duet-theme-turva .duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right{text-align:right}.duet-input::-ms-clear{display:none}.duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva .duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva .duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva .duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva .duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled]{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva .duet-input[disabled]{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva .duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva .duet-input:focus+.duet-input-icon{color:rgb(23, 28, 58)}.has-error .duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error .duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input:focus+.duet-input-icon{color:rgb(0, 119, 179)}.duet-input[type=search]:not(:placeholder-shown):focus+.duet-input-icon{display:none}.duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number]::-webkit-inner-spin-button,.duet-input[type=number]::-webkit-outer-spin-button,.duet-input[type=time]::-webkit-inner-spin-button,.duet-input[type=time]::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help span{display:block;margin-top:8px}.duet-theme-turva .duet-input-help{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-theme-turva.has-error .duet-input-help{color:rgb(214, 28, 82)}.duet-label-hidden label{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative{position:relative;width:100%}.duet-input-variation-button,.duet-input-variation-button-left{position:relative;width:100%}.duet-input-variation-button .duet-input-relative,.duet-input-variation-button-left .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button .duet-input-relative duet-button,.duet-input-variation-button-left .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-button-left .duet-input-relative{border-radius:4px}.duet-input-variation-button-left.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-button-left.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-button-left:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-button-left.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-button-left .duet-input:focus,.duet-input-variation-button-left .duet-input:hover:not(.disabled){box-shadow:none !important}.duet-input-variation-button .duet-input-relative .duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left .duet-input-relative .duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable{position:relative;width:100%}.duet-input-variation-revealable ::-ms-reveal{display:none}.duet-input-variation-revealable .duet-input-relative{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-variation-revealable .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable .duet-input-relative duet-button{z-index:250;margin-bottom:0}.duet-input-variation-revealable .duet-input-relative .duet-input{border-width:0 !important}.duet-input-variation-revealable .duet-input-relative .duet-input:focus,.duet-input-variation-revealable .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled .duet-input-relative{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error .duet-input-relative{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus .duet-input-relative{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus .duet-input-relative{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error:hover:not(.disabled) .duet-input-relative{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips .duet-input-relative{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva .duet-input-container.has-chips .duet-input-relative{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips .duet-input-relative .duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips .duet-input-relative .duet-input:focus,.duet-input-container.has-chips .duet-input-relative .duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10502
10504
|
var DuetInputStyle0 = duetInputCss;
|
|
10503
10505
|
|
|
10504
10506
|
const icons = {
|
|
@@ -10928,7 +10930,7 @@ class DuetInput {
|
|
|
10928
10930
|
this.type !== "password" &&
|
|
10929
10931
|
this.type !== "time" &&
|
|
10930
10932
|
this.variation !== "button";
|
|
10931
|
-
return (hAsync(Host, { key: '
|
|
10933
|
+
return (hAsync(Host, { key: 'd0b04b19187f9aba6d3db243ba94e675ae9a9e1d', class: { "duet-expand": this.expand, "duet-m-0": this.margin === "none" }, onKeyUp: e => this.keyHandler(e) }, this.type === "time" && (hAsync("duet-visually-hidden", { key: 'c70a995ae5e64ad348ac4b56c572abe20bdd0084', "aria-live": "polite", "aria-atomic": "true" }, selectedTime ? `${this.timeAnnouncement[this.language]} ${selectedTime.toLocaleTimeString()}` : "")), hAsync("div", { key: '73f06e392e23e530bcbd4744a7cb2e29cef9b199', class: {
|
|
10932
10934
|
"duet-input-container": true,
|
|
10933
10935
|
"duet-theme-turva": this.theme === "turva",
|
|
10934
10936
|
[`duet-input-variation-${this.variation}`]: true,
|
|
@@ -10942,7 +10944,7 @@ class DuetInput {
|
|
|
10942
10944
|
"has-clear": this.clear,
|
|
10943
10945
|
"has-focus": this.isFocused,
|
|
10944
10946
|
disabled: this.disabled,
|
|
10945
|
-
} }, hAsync("div", { key: '
|
|
10947
|
+
} }, hAsync("div", { key: 'bcad83ea5d955affdb9185a2764e33bd08d5c3f1', class: "duet-input-label-container" }, hAsync(DuetInternalLabel, { key: 'bb48970141e2ac6d514f8e97ed7d3b2336b01605', 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: '661651ef6107332614fbbc5c1f797a87b3f178ce', class: "duet-input-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: '7e6ee0cb94d09434c67d8d6097d73176f2882fac', name: "tooltip" })), this.caption && (hAsync("duet-caption", { key: 'c942fd0d043194baf1f9f711be7b15f63442c13f', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'b1d24bb9fde1ead6720ccfb3f81be9b27bd3fb56', class: "duet-input-relative" }, this.placeholder && this.echoPlaceholder && (this.value || this.type === "time") && (hAsync("duet-caption", { key: '3121d1a70b4c35b96ea10adfc142034376ca5c46', id: this.topCaptionPlaceholderId, class: "duet-input-placeholder", margin: "none", size: "small" }, this.placeholder)), this.chips && (hAsync("duet-visually-hidden", { key: '997a33289366e1361a91d225a50b704847d64653', id: this.chipCountId }, ", ", `${this.getAllChips().length} ${getLocaleString(this.chipsSelectedDesriptionLabel)}`, ",")), this.variation === "button-left" && hAsync("slot", { key: '50367d85d0768215f127619d9d253f4459f278b6', name: "button-left" }), hAsync("input", Object.assign({ key: '21fe19ad88326f7ab0b3d12501cee8681949908a', ref: input => (this.nativeInput = input), onInput: this.onInput, onBlur: this.onBlur, onFocus: this.onFocus, type: this.getInputType(), class: {
|
|
10946
10948
|
"duet-input": true,
|
|
10947
10949
|
disabled: this.disabled,
|
|
10948
10950
|
"is-number": this.component === "number",
|
|
@@ -10950,16 +10952,16 @@ class DuetInput {
|
|
|
10950
10952
|
"after-chip": this.getAllChips().length > 0,
|
|
10951
10953
|
"align-right": this.inputAlign === "right",
|
|
10952
10954
|
[`input-padding-${this.inputPadding}`]: true,
|
|
10953
|
-
}, value: this.value, disabled: this.disabled, "aria-invalid": this.error ? "true" : "false", "aria-labelledby": this.accessibleLabelledBy ? `${this.labelId} ${this.accessibleLabelledBy}` : this.labelId, "aria-controls": this.accessibleControls, "aria-autocomplete": this.accessibleAutocomplete, "aria-activedescendant": this.accessibleActiveDescendant, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-expanded": this.accessibleExpanded, "aria-haspopup": this.accessibleHasPopup, "aria-owns": this.accessibleOwns, "aria-describedby": this.getAriaDescribedBy(), placeholder: this.placeholder, spellcheck: "false", minlength: this.minlength, maxlength: this.maxlength, autocomplete: this.type === "password" ? "off" : this.autoComplete, required: this.required, role: this.role, name: this.name, id: identifier }, inputProps)), !this.value && hasInputIcon && (hAsync("div", { key: '
|
|
10955
|
+
}, 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: '073c81d796b322ab02ea19cdca462860b7c03c21', class: "duet-input-icon" }, hAsync("duet-icon", { key: 'ce4215d934358fcbaa0cd80d94d9ab5b3f1df114', margin: "none", size: "small", icon: icons[this.type].svg, color: "currentColor" }))), this.clear && this.value && (hAsync("div", { key: 'efaf82f9f2c24b1ffd5d2bece9007bd413124319', class: {
|
|
10954
10956
|
"duet-input-clear-icon": true,
|
|
10955
10957
|
"duet-input-clear-icon-single": !hasInputIcon,
|
|
10956
10958
|
"duet-input-clear-icon-double": !!this.icon,
|
|
10957
10959
|
"duet-input-clear-icon-button": this.variation === "button",
|
|
10958
|
-
} }, hAsync("button", { key: '
|
|
10960
|
+
} }, hAsync("button", { key: '7e37c8e85d027bb8b6c7612ada14a74393c9d3b2', onClick: this.handleClearClick, id: this.clearId, "aria-label": this.clearLabel[this.language], "aria-keyshortcuts": "Escape" }, hAsync("duet-icon", { key: '3b11bc5f23d4adb05d1bd7364242df0749c0833b', margin: "none", size: "medium", name: "action-clear-input", color: "currentColor" })))), this.icon && this.variation !== "button" && (hAsync("div", { key: '5ecd6aa9de04386694cd43d8b09f62d2c2aac83f', class: "duet-input-icon" }, hAsync("duet-icon", { key: '4ef808e474a8a83beaa5664c5cb708842c768159', margin: "none", size: "small", name: this.icon, color: "currentColor" }))), this.variation === "button" && hAsync("slot", { key: '197946e80efc48ea90055f40ab37e0d8a5897651', name: "button" }), this.variation === "revealable" && (hAsync("duet-button", { key: '2c45edd5b02477999858dba80c03ee100a1a6c99', ref: button => (this.togglePasswordRevealedButton = button), onBlur: this.onBlur, onFocus: this.onFocus, onClick: this.togglePasswordRevealed, icon: this.isPasswordRevealed ? "action-hide" : "action-show", accessibleLabel: this.isPasswordRevealed
|
|
10959
10961
|
? this.hidePasswordLabel[this.language]
|
|
10960
|
-
: this.showPasswordLabel[this.language], margin: "none", variation: "input-button-embedded", fixed: true, iconOnly: true })), this.variation === "revealable" && this.isPasswordRevealed !== undefined && (hAsync("duet-visually-hidden", { key: '
|
|
10962
|
+
: 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: 'b4a8e3167899794dec8d8226fdcbd4dac5b4cd01' }, hAsync("span", { key: '0a3a2efdf243ba4f6b70a64b15aedc342911127e', "aria-live": "polite" }, this.isPasswordRevealed
|
|
10961
10963
|
? this.passwordShownAriaAnnouncement[this.language]
|
|
10962
|
-
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '
|
|
10964
|
+
: this.passwordHiddenAriaAnnouncement[this.language]))), hAsync("slot", { key: '32584b0b73cb3ea2897432dfa8a9473b62020665' })), hAsync("span", { key: '84ed3f4d4fb55ff951d2eb1ee496270fb266a288', class: "duet-input-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'f73ada51b32993e0f853961ff21de9816bdefbff', class: "duet-input-error" }, this.error)))));
|
|
10963
10965
|
}
|
|
10964
10966
|
get element() { return getElement(this); }
|
|
10965
10967
|
static get watchers() { return {
|
|
@@ -11085,7 +11087,7 @@ function isInternetExplorer() {
|
|
|
11085
11087
|
return "documentMode" in document || /Edge/.test(ua);
|
|
11086
11088
|
}
|
|
11087
11089
|
|
|
11088
|
-
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle)
|
|
11090
|
+
const duetLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){::slotted([slot=page-heading]){width:calc(100% + 56px);margin:0 -28px 0 -28px}}@media (min-width: 62em){::slotted([slot=page-heading]){width:calc(100% + 112px);margin:0 -56px 0 -56px}}:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 32px);margin:0 -16px 0 -16px}@media (min-width: 36em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 96px);margin:0 -48px 0 -48px}}@media (min-width: 48em){:host(.center) ::slotted([slot=page-heading]){width:calc(100% + 144px);margin:0 -72px 0 -72px}}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-middle) .heading-wrapper{padding:0 !important}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}.duet-layout.duet-center{display:flex;align-items:center;justify-content:center;width:100%;max-width:888px}@media (min-width: 36em){.duet-layout.duet-center{padding:0 48px}}@media (min-width: 48em){.duet-layout.duet-center{padding:0 72px}}@media (min-width: 62em){.duet-layout.duet-center{width:100%}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main,.duet-sidebar,.duet-layout-top,.duet-layout-bottom{display:block;width:100%}.duet-layout-top{position:relative;display:block;width:100%}.duet-layout-top .duet-layout-top-wrapper{padding:0 20px;margin:0 auto}@media (min-width: 36em){.duet-layout-top .duet-layout-top-wrapper{padding:0 28px}}@media (min-width: 62em){.duet-layout-top .duet-layout-top-wrapper{padding:0 56px}}@media (min-width: 76.25em){.duet-layout-top .duet-layout-top-wrapper{max-width:1110px;padding:0}}.duet-center .duet-layout-top-wrapper{max-width:888px}@media (min-width: 36em){.duet-center .duet-layout-top-wrapper{padding:0 48px}}@media (min-width: 48em){.duet-center .duet-layout-top-wrapper{padding:0 72px}}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}.has-sidebar .duet-main{max-width:734px;margin-right:20px}}@media (min-width: 62em){.duet-sidebar{min-width:256px;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container{width:auto;max-width:356px}}@media (min-width: 62em){.duet-sidebar-container.has-tabs{margin-top:89px}}@media (min-width: 62em){.duet-sidebar-container.sticky{position:sticky}.duet-sidebar-container.sticky.with-links{top:calc(3rem + 20px)}.duet-sidebar-container.sticky.without-links{top:calc(4rem + 20px)}}";
|
|
11089
11091
|
var DuetLayoutStyle0 = duetLayoutCss;
|
|
11090
11092
|
|
|
11091
11093
|
/**
|
|
@@ -11128,24 +11130,24 @@ class DuetLayout {
|
|
|
11128
11130
|
* Always the last one in the class.
|
|
11129
11131
|
*/
|
|
11130
11132
|
render() {
|
|
11131
|
-
return (hAsync(Host, { key: '
|
|
11133
|
+
return (hAsync(Host, { key: '6df96b7ef73ffe08517cac9c411df27f1b1fcaaf', class: {
|
|
11132
11134
|
center: this.center,
|
|
11133
11135
|
"duet-middle": this.middle,
|
|
11134
11136
|
"duet-ie": isInternetExplorer(),
|
|
11135
|
-
} }, hAsync("div", { key: '
|
|
11137
|
+
} }, hAsync("div", { key: '9c6a118735c2765b76fa2b65e70ca63ccde44937', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: '0a863c3b7bfe92b0fafe43262e04d302ae7691bc', class: {
|
|
11136
11138
|
"duet-layout-top": true,
|
|
11137
11139
|
"duet-center": this.center,
|
|
11138
|
-
} }, hAsync("div", { key: '
|
|
11140
|
+
} }, hAsync("div", { key: 'a2d571f9389ca5d0c72c97f9ad76b431dd9229f9', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '9aad36c7b8a3b69f68fe6c30c90ff836d9fcce60', name: "top" })))), hAsync("div", { key: '34850a920b940617a268daf5395dd44a22e870a7', class: {
|
|
11139
11141
|
"duet-layout": true,
|
|
11140
11142
|
"has-sidebar": this.hasSidebar,
|
|
11141
11143
|
"duet-center": this.center,
|
|
11142
11144
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
11143
|
-
} }, hAsync("main", { key: '
|
|
11145
|
+
} }, hAsync("main", { key: '4abc6bed12355c5620c2135f30e9cc723c971bfa', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '6be22e03f8ebf355196421a6b79ca8f753a2c370', name: "page-heading" }), hAsync("slot", { key: '0a45d788f1fabadf98ccc1ce62583124cd6d7e42', name: "main" })), this.hasSidebar && (hAsync("aside", { key: 'd4b7a9ed1f43d2d4f16a522538b8274fa9a36be7', class: "duet-sidebar" }, hAsync("div", { key: 'd7c85f94d219f52f80f50ab632f11dc7139f0d0d', class: {
|
|
11144
11146
|
"duet-sidebar-container": true,
|
|
11145
11147
|
"has-tabs": this.tabs,
|
|
11146
11148
|
sticky: this.sticky,
|
|
11147
11149
|
[this.stickyDistance]: this.sticky,
|
|
11148
|
-
} }, hAsync("slot", { key: '
|
|
11150
|
+
} }, hAsync("slot", { key: '166994601d8377c853ea68857e7e78ce09df356d', name: "sidebar" }))))))));
|
|
11149
11151
|
}
|
|
11150
11152
|
get element() { return getElement(this); }
|
|
11151
11153
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -11287,10 +11289,10 @@ class DuetLink {
|
|
|
11287
11289
|
render() {
|
|
11288
11290
|
const Tag = !this.url ? "button" : "a";
|
|
11289
11291
|
const isButton = Tag === "button";
|
|
11290
|
-
return (hAsync(Host, { key: '
|
|
11292
|
+
return (hAsync(Host, { key: 'd4a64a7d050644cd79fe524ecf41cc9886fa8a9c', class: {
|
|
11291
11293
|
[`duet-link-${this.variation}`]: true,
|
|
11292
11294
|
"duet-m-0": this.margin === "none",
|
|
11293
|
-
} }, hAsync(Tag, { key: '
|
|
11295
|
+
} }, hAsync(Tag, { key: '2bc9879af9717295281034124b5a2ebb2058f9bd', href: this.url, class: {
|
|
11294
11296
|
"duet-link": true,
|
|
11295
11297
|
"duet-link-is-external": this.external,
|
|
11296
11298
|
"duet-link-is-download": !!this.download,
|
|
@@ -11412,7 +11414,7 @@ class DuetList {
|
|
|
11412
11414
|
* Always the last one in the class.
|
|
11413
11415
|
*/
|
|
11414
11416
|
render() {
|
|
11415
|
-
return (hAsync("dl", { key: '
|
|
11417
|
+
return (hAsync("dl", { key: '059c5420b262de645b7645407359301d15baff34', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '4a21a4f0923309997c6526393632ccd9559f27b5' })));
|
|
11416
11418
|
}
|
|
11417
11419
|
get element() { return getElement(this); }
|
|
11418
11420
|
static get watchers() { return {
|
|
@@ -11462,14 +11464,14 @@ class DuetListItem {
|
|
|
11462
11464
|
* Always the last one in the class.
|
|
11463
11465
|
*/
|
|
11464
11466
|
render() {
|
|
11465
|
-
return (hAsync(Host, { key: '
|
|
11467
|
+
return (hAsync(Host, { key: 'df53e40d49897cce2ee5e1979afa9abce6a6824b', class: {
|
|
11466
11468
|
"duet-no-stacking": !this.responsive,
|
|
11467
11469
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
11468
11470
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
11469
11471
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
11470
11472
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
11471
11473
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
11472
|
-
} }, hAsync("dt", { key: '
|
|
11474
|
+
} }, hAsync("dt", { key: '8b5d902f86288be859d8fce358cef7e03773c124' }, hAsync("slot", { key: '01bbfe056a318f68092938601686113f068c71f2', name: "label" })), hAsync("dd", { key: 'ab28871db561a05fa732736b4dbf063e507a9537' }, hAsync("slot", { key: 'c4f3b4f9681c837262e19f431a14a2121f097044', name: "value" }))));
|
|
11473
11475
|
}
|
|
11474
11476
|
static get style() { return DuetListItemStyle0; }
|
|
11475
11477
|
static get cmpMeta() { return {
|
|
@@ -11562,7 +11564,7 @@ class DuetLogo {
|
|
|
11562
11564
|
*/
|
|
11563
11565
|
render() {
|
|
11564
11566
|
const TagName = this.href ? "a" : "div";
|
|
11565
|
-
return (hAsync(Host, { key: '
|
|
11567
|
+
return (hAsync(Host, { key: '25ddd0c72d8dde68045f0cb4308cffe47bb31185', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: 'e44d0487372a03ecd8790f08943601e9e2ce5c92', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11566
11568
|
"duet-logo": true,
|
|
11567
11569
|
[this.size]: true,
|
|
11568
11570
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11592,7 +11594,7 @@ class DuetLogo {
|
|
|
11592
11594
|
}; }
|
|
11593
11595
|
}
|
|
11594
11596
|
|
|
11595
|
-
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left
|
|
11597
|
+
const duetMenuBarCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;position:relative;width:100%}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-basis:0;flex-grow:1;justify-content:flex-start}.duet-menu-bar .container>:last-child{flex-basis:0;flex-grow:1;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58)}";
|
|
11596
11598
|
var DuetMenuBarStyle0 = duetMenuBarCss;
|
|
11597
11599
|
|
|
11598
11600
|
/**
|
|
@@ -11639,6 +11641,7 @@ class DuetMenuBar {
|
|
|
11639
11641
|
this.centerSlotUsed = !!centerSlot;
|
|
11640
11642
|
};
|
|
11641
11643
|
this.changeLogoSize = () => {
|
|
11644
|
+
this.checkCenterSlot();
|
|
11642
11645
|
if (this.mql[1].matches && this.centerSlotUsed) {
|
|
11643
11646
|
this.logoSize = "large";
|
|
11644
11647
|
}
|
|
@@ -11740,14 +11743,14 @@ class DuetMenuBar {
|
|
|
11740
11743
|
render() {
|
|
11741
11744
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11742
11745
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11743
|
-
return (hAsync(Host, { key: '
|
|
11746
|
+
return (hAsync(Host, { key: 'cc4b481362cbe14d19105680da21abf7e1ab19d1' }, hAsync("nav", { key: 'fe1efbbaeea324870ebfe2ab1016109de0032b50', class: {
|
|
11744
11747
|
"duet-menu-bar": true,
|
|
11745
11748
|
"duet-theme-turva": this.theme === "turva",
|
|
11746
11749
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11747
11750
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11748
11751
|
hidden: this.hidden && this.hideOnScroll,
|
|
11749
11752
|
bottom: this.onBottom,
|
|
11750
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11753
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '262314a0a4c3bc112de48cebd90cc92978e04737', class: "top" }), hAsync("div", { key: '47af4a8dbe49f0eb2fad3e2c9795c778aaa4316e', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: '81831c54aad6d097544fdc473ee9ced4d03202fb' }, hAsync("duet-logo", { key: 'c602193b93bea7b49ad089c12597ecd778720483', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: 'defb5267cde1feb5499d27f47b6329dc936c4ddb', class: "list center", role: "list" }, hAsync("div", { key: 'c41bcc439bb1e6bf4d2fe4b192fa28e35dcade36', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: 'bdd435f059485a7fa0a83387577e6eb0d29a8532', name: "center" }), hAsync("div", { key: '53af8993610b44bfb0b20e923402dcdea304036c', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: 'dbfbc72a5b6140a455f2730827a01bfde5cb3258', class: "list right", role: "list" }, hAsync("slot", { key: '0ac7e62804751859d1d6de0dc2e4cea90ee0968b', name: "right" }))), hAsync("div", { key: '527927e8d7408f0462f1c735b75c6c6cbc0c63ee', class: "bottom" }))));
|
|
11751
11754
|
}
|
|
11752
11755
|
get element() { return getElement(this); }
|
|
11753
11756
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11814,10 +11817,10 @@ class DuetMenuBarButton {
|
|
|
11814
11817
|
* Always the last one in the class.
|
|
11815
11818
|
*/
|
|
11816
11819
|
render() {
|
|
11817
|
-
return (hAsync(Host, { key: '
|
|
11820
|
+
return (hAsync(Host, { key: '98d5de27841db07197972c3536153f1702535cfd', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: 'ba0f809adfd404d71d2846751761f34364c40fd8', ref: button => (this.nativeButton = button), class: {
|
|
11818
11821
|
"duet-menu-bar-button": true,
|
|
11819
11822
|
"duet-theme-turva": this.theme === "turva",
|
|
11820
|
-
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '
|
|
11823
|
+
}, "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: '602a6879bf24fde5cc3506af5fa0fae351ff1b11', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'f8268e403f02c185c2648f649650174c8ab51f45' }))));
|
|
11821
11824
|
}
|
|
11822
11825
|
get element() { return getElement(this); }
|
|
11823
11826
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11900,17 +11903,17 @@ class DuetMenuBarDropdown {
|
|
|
11900
11903
|
* Always the last one in the class.
|
|
11901
11904
|
*/
|
|
11902
11905
|
render() {
|
|
11903
|
-
return (hAsync(Host, { key: '
|
|
11906
|
+
return (hAsync(Host, { key: 'f91709b2fb4cc2d11619bdb411fddb28a2bdde23', role: "listitem" }, hAsync("div", { key: 'c24c6b50bf3db6223f8469e272dd6fccfbcda2ad', class: {
|
|
11904
11907
|
"duet-menu-bar-dropdown": true,
|
|
11905
11908
|
"duet-theme-turva": this.theme === "turva",
|
|
11906
11909
|
active: this.open,
|
|
11907
11910
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11908
|
-
} }, hAsync("button", { key: '
|
|
11911
|
+
} }, hAsync("button", { key: 'b4fd808615b8491c4e67a46be7ac42353b1574a9', 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: {
|
|
11909
11912
|
active: this.open,
|
|
11910
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11913
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'cc5a9da099d0d752277493cbe37ee569dbcf5995', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '257d4b3c93c8e537a4ec464b05c5834f457f326d', class: "label" }, hAsync("slot", { key: '98c8c5f8a315b1962fa92df6b5f4bd2f04d1546f', name: "label" }), hAsync("duet-icon", { key: '43982939881e255cdcf8e7d71cfa31aadd197ec4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '391aca84848c8e6d27082779fe59819a4d6bf731', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11911
11914
|
items: true,
|
|
11912
11915
|
hidden: !this.open,
|
|
11913
|
-
} }, hAsync("slot", { key: '
|
|
11916
|
+
} }, hAsync("slot", { key: 'a9e945573e8981db9cb7b18561861821df73383a' })))));
|
|
11914
11917
|
}
|
|
11915
11918
|
get element() { return getElement(this); }
|
|
11916
11919
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11970,11 +11973,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11970
11973
|
* Always the last one in the class.
|
|
11971
11974
|
*/
|
|
11972
11975
|
render() {
|
|
11973
|
-
return (hAsync(Host, { key: '
|
|
11976
|
+
return (hAsync(Host, { key: 'c39eb5b049d115901470418d1e8614bc3b6e704e' }, hAsync("a", { key: '3c329055ee4b90b36bf877a26fc6c9ca5b820b0e', class: {
|
|
11974
11977
|
"duet-menu-bar-dropdown-link": true,
|
|
11975
11978
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11976
11979
|
"duet-theme-turva": this.theme === "turva",
|
|
11977
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11980
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '1013f122671df20aab0c622d41934702e4d6193b', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: '805279a11b2be95b569b8a48edaa407ae539a579' }))));
|
|
11978
11981
|
}
|
|
11979
11982
|
get element() { return getElement(this); }
|
|
11980
11983
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -12038,11 +12041,11 @@ class DuetMenuBarItem {
|
|
|
12038
12041
|
*/
|
|
12039
12042
|
render() {
|
|
12040
12043
|
const TagName = this.url ? "a" : "button";
|
|
12041
|
-
return (hAsync(Host, { key: '
|
|
12044
|
+
return (hAsync(Host, { key: 'd0d1d66ae37940a4dd04e3d31b0c1131d95acd51', role: "listitem" }, hAsync(TagName, { key: '903f68191b7ed0ef1774a65ef609ee24144cda5e', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
12042
12045
|
"duet-menu-bar-item": true,
|
|
12043
12046
|
"duet-theme-turva": this.theme === "turva",
|
|
12044
12047
|
active: this.active,
|
|
12045
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: '
|
|
12048
|
+
}, 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: 'a95ab784abc59a74b8cd517e70f58f0504563234', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '109a5169f518fe5959ee49d6c0ce39a3d80abcfb' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '528e49e98b5a56950ae991cdb53c00b4555e5a41', class: {
|
|
12046
12049
|
"trailing-icon": !!this.trailingIcon,
|
|
12047
12050
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
12048
12051
|
"external-icon": !!this.external,
|
|
@@ -12097,11 +12100,11 @@ class DuetMenuBarLink {
|
|
|
12097
12100
|
* Always the last one in the class.
|
|
12098
12101
|
*/
|
|
12099
12102
|
render() {
|
|
12100
|
-
return (hAsync(Host, { key: '
|
|
12103
|
+
return (hAsync(Host, { key: 'fdaeb3bbc3139a6031ea4b61f161d459206fc6d8', role: "listitem" }, hAsync("a", { key: 'e2163ec995b08f3745ac33a2f456fde9a10de8f1', class: {
|
|
12101
12104
|
"duet-menu-bar-link": true,
|
|
12102
12105
|
"duet-theme-turva": this.theme === "turva",
|
|
12103
12106
|
active: this.active,
|
|
12104
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
12107
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'e41a7f68a2184de5ed830ec665c80df3db14ed05', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '2b0673f8f66eb2d40694e33f031c5c2e5e85bade' }))));
|
|
12105
12108
|
}
|
|
12106
12109
|
get element() { return getElement(this); }
|
|
12107
12110
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -12352,18 +12355,18 @@ class DuetModal {
|
|
|
12352
12355
|
var _a, _b;
|
|
12353
12356
|
let iconColor = "primary";
|
|
12354
12357
|
let closeColor = "secondary";
|
|
12355
|
-
const closingButton = (hAsync("div", { key: '
|
|
12358
|
+
const closingButton = (hAsync("div", { key: '45dd7731d75aeb6fedf103bb8457fc832f032778', class: "duet-modal-close" }, hAsync("duet-button", { key: '1af55ce7ee031845b5a33669886b156f5680a08c', 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 })));
|
|
12356
12359
|
if (this.theme === "turva") {
|
|
12357
12360
|
iconColor = "primary-turva";
|
|
12358
12361
|
closeColor = "secondary-turva";
|
|
12359
12362
|
}
|
|
12360
|
-
return (hAsync("div", { key: '
|
|
12363
|
+
return (hAsync("div", { key: '1442df676dcf6278cefffca3c0f25206b58c6461', 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: {
|
|
12361
12364
|
"duet-modal-container": true,
|
|
12362
12365
|
"duet-theme-turva": this.theme === "turva",
|
|
12363
12366
|
"duet-modal-active": this.open,
|
|
12364
12367
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
12365
12368
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12366
|
-
} }, hAsync("duet-overlay", { key: '
|
|
12369
|
+
} }, hAsync("duet-overlay", { key: 'acce69123fb59c968dc1aafe5f378060ce9edf96', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'eec2947c7ab2f7abfa84d3e776afefb7fc73e166', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
12367
12370
|
"duet-modal-inner": true,
|
|
12368
12371
|
[this.size]: true,
|
|
12369
12372
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -12374,18 +12377,18 @@ class DuetModal {
|
|
|
12374
12377
|
this.closeModal(e);
|
|
12375
12378
|
}
|
|
12376
12379
|
}
|
|
12377
|
-
} }, hAsync("div", { key: '
|
|
12380
|
+
} }, hAsync("div", { key: '4ef00e1b973363768e873732fd970f91f4a78283', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
12378
12381
|
"duet-modal": true,
|
|
12379
12382
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
12380
12383
|
[this.size]: true,
|
|
12381
12384
|
[this.variation]: true,
|
|
12382
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
12385
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '76c8f349c9a72824b09e2e2d5e0b3de29d88c799' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: '829f91a47c3d628a7e3610400626d0254c163a3a', class: {
|
|
12383
12386
|
"duet-modal-body": true,
|
|
12384
12387
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
12385
12388
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
12386
12389
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
12387
12390
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
12388
|
-
} }, hAsync("div", { key: '
|
|
12391
|
+
} }, hAsync("div", { key: 'f54c84d48480b113238d5592529d942f32e1ae41', class: "duet-modal-header" }, hAsync("span", { key: 'a1ba41463c134abe5ba3bbbddec0e5cbc6183e12', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: '3fa09af98d06d4cb8d6a5fa60074305e8d9a1f5b', name: "top" })), this.icon && hAsync("duet-icon", { key: '3f8704d72960a1b347efd6eb0ed68a083731e50d', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: '2577f299ec0fdf00deb41e4a8e1324b5f52e0fc8', "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: 'a6c9f6320ba5192ace8a86679a3f81e229a0b511', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: 'a98b8d5cf3a61911f7ded60a1816f08a8a56bdf3', size: "large", color: "primary" }))), hAsync("div", { key: 'ce3c0737a4fb1e3320ff2d243e648ecacc648eba', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '20e1700541dd27a2404858fba3503a0d2c5576d3' })))))));
|
|
12389
12392
|
}
|
|
12390
12393
|
get element() { return getElement(this); }
|
|
12391
12394
|
static get watchers() { return {
|
|
@@ -12650,23 +12653,23 @@ class DuetMultiselect {
|
|
|
12650
12653
|
*/
|
|
12651
12654
|
render() {
|
|
12652
12655
|
var _a;
|
|
12653
|
-
return (hAsync(Host, { key: '
|
|
12656
|
+
return (hAsync(Host, { key: '1b13e9b24543872be153e64448b3bb2b39e6ecfa', class: {
|
|
12654
12657
|
"duet-m-0": this.margin === "none",
|
|
12655
12658
|
"duet-expand": this.expand,
|
|
12656
|
-
} }, hAsync("div", { key: '
|
|
12659
|
+
} }, hAsync("div", { key: '148190880c310174f1ed2dc45c1b7c5ca7982b7e', class: {
|
|
12657
12660
|
"duet-multiselect-container": true,
|
|
12658
12661
|
"duet-label-hidden": this.labelHidden,
|
|
12659
12662
|
"duet-theme-turva": this.theme === "turva",
|
|
12660
12663
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12661
12664
|
"has-error": !!this.error,
|
|
12662
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '
|
|
12665
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync(DuetInternalLabel, { key: '35cd85ac5dc7968e292e5eb933ed48b019dfc082', 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: '452e8f79d16ed35179561fd9fa825e801c507feb', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '32f0a1109ad84ef710d7a2aace8e03f379c5b9b1', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '9ba0a2c54c3ad861040ae2e14125a3ddc6cd5b92', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: 'bee1499120506543ecbac607eb0b0306f7fcfbd3', class: "duet-multiselect-wrapper" }, hAsync("button", { key: 'b3e6894a5a491d6e356cf50dfd58ed57db236fd0', 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: 'b865f7a0b5603a2a935e2649ad7b3ae854abe6d8', 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: 'e8bc27379ed2a2c31bee87eed60d21b7cb9557a7', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: '6e21a7842a61e51aec25e639404c7bf077e16a92' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: 'e69223cfb0e77ad42d993efe14e38b545cf3a229', 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: 'a03919b6f6aec79f2b154c6cbdec5394c1ceaf41', 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: 'd30b64085be0ade634ec6e386eb5e783eb3b79f0', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12663
12666
|
"duet-multiselect-checkboxes": true,
|
|
12664
12667
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12665
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12668
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '40ad894b3d59aa5abf6fa669f5618b437cc00f4b', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '358f2c22e2464177f04a70259dfa600769259fdb', 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: '46e3c1b0935603c8d55dde1b42b74c29e9eeb37c', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12666
12669
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12667
12670
|
var _a, _b;
|
|
12668
12671
|
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 }));
|
|
12669
|
-
})))))), hAsync("span", { key: '
|
|
12672
|
+
})))))), hAsync("span", { key: 'c3c35d45455da55d81b525e818ca55637515947e', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '2ae201bcc57bb193bdd5124911af931a2694817a' }, this.error)))));
|
|
12670
12673
|
}
|
|
12671
12674
|
get element() { return getElement(this); }
|
|
12672
12675
|
static get watchers() { return {
|
|
@@ -12735,7 +12738,7 @@ class DuetNav {
|
|
|
12735
12738
|
* Always the last one in the class.
|
|
12736
12739
|
*/
|
|
12737
12740
|
render() {
|
|
12738
|
-
return (hAsync(Host, { key: '
|
|
12741
|
+
return (hAsync(Host, { key: '18c30d07ccac6e0656b4ba4c6feb5ddb07c6b06c' }, hAsync("div", { key: '16eac13a9c78bccfdac8a70aff193d775ec1a1e6', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '6b0fbbbab38fb9fc7e634878f424d238f8f6fab4' }), hAsync("slot", { key: 'b6cf57d0876c972a5ccbce533217241277c402bf', name: "mobile" }), hAsync("slot", { key: '2ad38e43fa1db17085c50ba3cfc3423dc0fdd880', name: "desktop" }))));
|
|
12739
12742
|
}
|
|
12740
12743
|
get element() { return getElement(this); }
|
|
12741
12744
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12794,11 +12797,11 @@ class DuetNotification {
|
|
|
12794
12797
|
this.linkElement.focus(options);
|
|
12795
12798
|
}
|
|
12796
12799
|
render() {
|
|
12797
|
-
return (hAsync("div", { key: '
|
|
12800
|
+
return (hAsync("div", { key: '53bf3fb42fabb1085aaa8de5091a92d3f2e2ff2a', role: "listitem", class: {
|
|
12798
12801
|
"duet-notification": true,
|
|
12799
12802
|
"duet-notification-highlight": this.highlight,
|
|
12800
12803
|
"duet-theme-turva": this.theme === "turva",
|
|
12801
|
-
} }, hAsync("a", { key: '
|
|
12804
|
+
} }, hAsync("a", { key: 'fbe3d967cc547d2af9d278c4932020280f13cbf7', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: 'adcc72e86dfef46c9236b2ce62c3e6c4ebf09356', class: "duet-notification-container" }, hAsync("div", { key: 'aaf3d1dc837c9e164542046406e7e3420272634c', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: '6982bb6d18d19f198c4ac129764a5f9aa7642109', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '49beecb60f8a1bade31c9c1a99808778ae1855df' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '5af9a7fc09f3a855d94527067934ea3af667056d', class: "duet-notification-content" }, hAsync("slot", { key: '344506570c443641459719001e49ba16bfefbcb5' })), hAsync("div", { key: '3597fe58bd170ae199f8a1cf0a0b4643b26fca53', class: "duet-notification-date" }, this.date)))));
|
|
12802
12805
|
}
|
|
12803
12806
|
get element() { return getElement(this); }
|
|
12804
12807
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12916,10 +12919,10 @@ class DuetNotificationDrawer {
|
|
|
12916
12919
|
* Always the last one in the class.
|
|
12917
12920
|
*/
|
|
12918
12921
|
render() {
|
|
12919
|
-
return (hAsync("div", { key: '
|
|
12922
|
+
return (hAsync("div", { key: '684aa1ca53fe55ed070c4c196fd3c43deb08e687', class: {
|
|
12920
12923
|
"duet-drawer": true,
|
|
12921
12924
|
"duet-theme-turva": this.theme === "turva",
|
|
12922
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12925
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '6b4409fd5268778305473af525a945d47d9c39da', 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: 'c9267c1af9c1c5915c7d6ede76e91ca27f50a9b5', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '2ef2cadda49403ad82f2cd6954f04042b2428f54', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: '163a12602500df35689a05fbcde4c58cbd55afc7', class: "duet-drawer-badge" }))), hAsync("span", { key: '154857b69805d0d6cfe60e1559b34ce1a8b8e576', class: "duet-drawer-label" }, this.label), hAsync("div", { key: '03cfd2876e6313e194f1092491135389b2c67aa2', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: '13706101d1d24e17c8e295b632de914dea29e653', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '731f3d300edc47c3ee18617d848b51720c63bff6', id: "duet-drawer-content", class: {
|
|
12923
12926
|
"duet-drawer-content": true,
|
|
12924
12927
|
"duet-drawer-right": this.direction === "right",
|
|
12925
12928
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -13306,11 +13309,11 @@ class DuetNumberInput {
|
|
|
13306
13309
|
const identifier = this.identifier || this.inputId;
|
|
13307
13310
|
const maxlength = `${this.localizeValue(this.max)} ${this.unit}`.length;
|
|
13308
13311
|
const cleanedValue = !!this.value ? SafeParseFloat(this.value, this.locale) : null;
|
|
13309
|
-
return (hAsync(Host, { key: '
|
|
13312
|
+
return (hAsync(Host, { key: '5ed199d090d8a0872fb5fb71f1059e43aba26d4c', class: {
|
|
13310
13313
|
"duet-theme-turva": this.theme === "turva",
|
|
13311
13314
|
"duet-expand": this.expand,
|
|
13312
13315
|
"duet-m-0": this.margin === "none",
|
|
13313
|
-
} }, hAsync("div", { key: '
|
|
13316
|
+
} }, hAsync("div", { key: '63f6850749d3a91de8dc708c6d9e83cbc77162bc', class: "duet-number-container" }, hAsync("duet-input", { key: '070cabe6a0925a671ad9ddc7070d1348f794dbcf', 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: '94b40f1c3b6ce0692bc5d7cf0222e028bad4e4b2', name: "tooltip" }), hAsync("div", { key: '1b502276d16f8ad84edca78924a0c5870e6ddafe', class: { "duet-number-buttons": true, "duet-no-label": this.labelHidden } }, hAsync("button", { key: '601d8355b9dc371e36c8a9a92460cc696e38451a', 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: 'd2955734b439b22cfa02f9d98545dbc733ba6394' }, this.accessibleSubtract, " ", this.step), hAsync("duet-icon", { key: '9c5b59351156afacc9e65d4a942ee47ee6ee34be', icon: actionSubtract.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })), hAsync("button", { key: '0424d9c8941778cb4c0b347dc68d38f4d00dc084', 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: '48141d6126c58f0516df731b9432e599a2112c3b' }, this.accessibleAdd, " ", this.step), hAsync("duet-icon", { key: '0e025a57bde24ea190b80b33719e3debcde1a007', icon: actionAdd.svg, size: "small", margin: "none", color: this.theme === "turva" ? "secondary-turva" : "secondary" })))), this.accessibleLiveEnabled && (hAsync("duet-visually-hidden", { key: '75e4d922c576062fae39183be5ae2c5730609cb2', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement())))));
|
|
13314
13317
|
}
|
|
13315
13318
|
get element() { return getElement(this); }
|
|
13316
13319
|
static get style() { return DuetNumberInputStyle0; }
|
|
@@ -13399,7 +13402,7 @@ class DuetOverlay {
|
|
|
13399
13402
|
* Always the last one in the class.
|
|
13400
13403
|
*/
|
|
13401
13404
|
render() {
|
|
13402
|
-
return (hAsync(Host, { key: '
|
|
13405
|
+
return (hAsync(Host, { key: '6254397e108eb85239cdee7db4eafacacb751b11', "aria-hidden": "true" }, hAsync("div", { key: '7e79408fc79451cf3c58266423c307c7645ae146', style: { zIndex: this.zIndex }, class: {
|
|
13403
13406
|
"duet-overlay": true,
|
|
13404
13407
|
"duet-theme-turva": this.theme === "turva",
|
|
13405
13408
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -13469,12 +13472,12 @@ class DuetPageHeading {
|
|
|
13469
13472
|
*/
|
|
13470
13473
|
render() {
|
|
13471
13474
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
13472
|
-
return (hAsync("div", { key: '
|
|
13475
|
+
return (hAsync("div", { key: 'deaabf405a74eed099dfdb2ce2f2591bda47302d', class: {
|
|
13473
13476
|
"duet-page-heading": true,
|
|
13474
13477
|
"duet-theme-turva": this.theme === "turva",
|
|
13475
13478
|
"has-icon": !!this.icon,
|
|
13476
13479
|
[layout]: true,
|
|
13477
|
-
} }, hAsync("div", { key: '
|
|
13480
|
+
} }, hAsync("div", { key: '4df93b3838da36392423572f2b34b7568b6ec245', class: "background" }, this.theme === "turva" && hAsync("div", { key: 'b2c4fb7eb26966f6aeaa1ae9a18fa191d63acfdf', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '967ad60ff667516345b59b415fe184f3e6f76c26', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '6207bf2635e9e179dd260378af5ec14ac5edd4c1', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'ae2e52d038a7ed804b89a6359a9277d96977a504', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: '985c43c04d9bcdee61446b316fa9bba3f2c668ef', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '065c80122d1f6a301fdea66dc6ab8c47b6a22914', class: "heading" }, hAsync("slot", { key: '390772e5cfb95e14cd2504d06874104d9e524cbc', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: 'b622068c0b3186ee1c596c8d69eb3e0ec4d4ea31' }, hAsync("duet-spacer", { key: '79f7d891c78edd17403b871e0ceb437876bd6c62', size: "large" }), hAsync("div", { key: 'f9f84a6e0937792baeb1e3f838443e884516197f', role: "presentation" }, this.progressIndicator()))))));
|
|
13478
13481
|
}
|
|
13479
13482
|
get element() { return getElement(this); }
|
|
13480
13483
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13829,32 +13832,32 @@ class DuetPagination {
|
|
|
13829
13832
|
* Always the last one in the class.
|
|
13830
13833
|
*/
|
|
13831
13834
|
render() {
|
|
13832
|
-
return (hAsync(Host, { key: '
|
|
13835
|
+
return (hAsync(Host, { key: '5943ffdd76ef98748f029896f38e97bde1865d98', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '76a6858bee8b90ea73b0fe7213b9f271c9eb509e', 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: {
|
|
13833
13836
|
"duet-pagination-nav": true,
|
|
13834
13837
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13835
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13838
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: 'c323069e8b3a2883c45ac5f6354b550cf529657e', "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: '38ac9c11afc3eab57815de9cdf648ff21df38621', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: 'ccbb3b8d012e3e4defd979d88a327df68e0e2058', id: this.listId, class: {
|
|
13836
13839
|
"duet-pagination": true,
|
|
13837
13840
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13838
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13841
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '93bf21a9d7c68782301a6723fd6e9db55d572345', class: {
|
|
13839
13842
|
"duet-pagination-page-button": true,
|
|
13840
13843
|
"duet-pagination-button-first": true,
|
|
13841
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13844
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '2d1521d6ca50e80ef5c0b3267bccb168a2d6e62d', 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: '98a6f6692c652c74d6c463d2466eca429358891c', class: {
|
|
13842
13845
|
"duet-pagination-page-button": true,
|
|
13843
13846
|
"duet-pagination-button-first": true,
|
|
13844
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13847
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '8a43fa4728ae1b53ef977bdf1c7a44d5034bdd04', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13845
13848
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13846
|
-
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13847
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13849
|
+
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: 'bea57a7da7eb4e8feb17560ae2ae442590aa5ee2' }, hAsync("li", { key: '7e62beaf647d200436162f87098f67d8a5c928d8', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'c98c4fcdcb94567e691930005974e605406cce33', 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: 'b8760ceeb730e809cd7996be57bd9e93ebdbd653', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: '3c948e1d9eac9dec1337744db26662d738aead11', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: '3e59a62a9d1ef3e51cd6f71aa912ca4794454b4b', 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: 'd8c79ebb7e0a7164008563da0346de380d7d204b', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13850
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'e9e3c57605ca7050408b9397aee62faeb16cd270' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: '5854f40f93fe8e24d9f0fbe0c113195f3ca722c2', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'aa268bf3709899c5e8f5f277e94ff8d70ebcd764', 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: 'b1e1c1cb874bf04dca88bf6d3386b2fb4d3df947', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: 'da069480127ea148dbc13a4e175a474f2c14cfb9', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'b76da37a208b7456e89e084b6d586d70a90cc1e7', 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
|
|
13848
13851
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13849
|
-
: undefined }, hAsync("div", { key: '
|
|
13852
|
+
: undefined }, hAsync("div", { key: 'a2cb2f2a14057653ca92dae498804862835c70cf', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: 'eeebc9e7bdfaccd7e438d2f580056923d00a8756', class: {
|
|
13850
13853
|
"duet-pagination-page-button": true,
|
|
13851
13854
|
"duet-pagination-button-last": true,
|
|
13852
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13855
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'b97ef02ea16c8fb216e88dc74e3fe87b76ac2f09', disabled: !!((this.current === this.totalPages &&
|
|
13853
13856
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13854
|
-
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13857
|
+
(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: '45ee2be07aca3f3526fc9a3b23deea0d04c0b36e', class: {
|
|
13855
13858
|
"duet-pagination-page-button": true,
|
|
13856
13859
|
"duet-pagination-button-last": true,
|
|
13857
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13860
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '0519bda2be03889de093f73535907ab63388877d', disabled: (this.current === this.totalPages &&
|
|
13858
13861
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13859
13862
|
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 })))))));
|
|
13860
13863
|
}
|
|
@@ -13928,7 +13931,7 @@ class DuetParagraph {
|
|
|
13928
13931
|
const color = getColorByName(this.color);
|
|
13929
13932
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13930
13933
|
// are not announced when placed inside duet-modal
|
|
13931
|
-
return (hAsync(Host, { key: '
|
|
13934
|
+
return (hAsync(Host, { key: '19e0ccb9932ab69c9e51c6b2f92120fd4ba6a966', "aria-describedby": this.id }, hAsync("p", { key: 'cf3f40c19232ca92813d557c75023403d1de6c4c', id: this.id, class: {
|
|
13932
13935
|
"duet-paragraph": true,
|
|
13933
13936
|
"duet-paragraph-small": this.size === "small",
|
|
13934
13937
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13936,7 +13939,7 @@ class DuetParagraph {
|
|
|
13936
13939
|
"duet-m-0": this.margin === "none",
|
|
13937
13940
|
[this.variation]: true,
|
|
13938
13941
|
"duet-theme-turva": this.theme === "turva",
|
|
13939
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13942
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '693575d24b17c6abaaeb978bb3213738c3c17f11' }))));
|
|
13940
13943
|
}
|
|
13941
13944
|
get element() { return getElement(this); }
|
|
13942
13945
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -13957,6 +13960,2017 @@ class DuetParagraph {
|
|
|
13957
13960
|
}; }
|
|
13958
13961
|
}
|
|
13959
13962
|
|
|
13963
|
+
const countries = {
|
|
13964
|
+
AF: {
|
|
13965
|
+
isoCode: "AF",
|
|
13966
|
+
en: "Afghanistan",
|
|
13967
|
+
fi: "Afganistan",
|
|
13968
|
+
sv: "Afghanistan",
|
|
13969
|
+
telephoneCountryCode: "93",
|
|
13970
|
+
},
|
|
13971
|
+
AL: {
|
|
13972
|
+
isoCode: "AL",
|
|
13973
|
+
en: "Albania",
|
|
13974
|
+
fi: "Albania",
|
|
13975
|
+
sv: "Albanien",
|
|
13976
|
+
telephoneCountryCode: "355",
|
|
13977
|
+
},
|
|
13978
|
+
DZ: {
|
|
13979
|
+
isoCode: "DZ",
|
|
13980
|
+
en: "Algeria",
|
|
13981
|
+
fi: "Algeria",
|
|
13982
|
+
sv: "Algeriet",
|
|
13983
|
+
telephoneCountryCode: "213",
|
|
13984
|
+
},
|
|
13985
|
+
AS: {
|
|
13986
|
+
isoCode: "AS",
|
|
13987
|
+
en: "American Samoa",
|
|
13988
|
+
fi: "Amerikan Samoa",
|
|
13989
|
+
sv: "Amerikanska Samoa",
|
|
13990
|
+
telephoneCountryCode: "1",
|
|
13991
|
+
},
|
|
13992
|
+
AD: {
|
|
13993
|
+
isoCode: "AD",
|
|
13994
|
+
en: "Andorra",
|
|
13995
|
+
fi: "Andorra",
|
|
13996
|
+
sv: "Andorra",
|
|
13997
|
+
telephoneCountryCode: "376",
|
|
13998
|
+
},
|
|
13999
|
+
AO: {
|
|
14000
|
+
isoCode: "AO",
|
|
14001
|
+
en: "Angola",
|
|
14002
|
+
fi: "Angola",
|
|
14003
|
+
sv: "Angola",
|
|
14004
|
+
telephoneCountryCode: "244",
|
|
14005
|
+
},
|
|
14006
|
+
AI: {
|
|
14007
|
+
isoCode: "AI",
|
|
14008
|
+
en: "Anguilla",
|
|
14009
|
+
fi: "Anguilla",
|
|
14010
|
+
sv: "Anguilla",
|
|
14011
|
+
telephoneCountryCode: "1",
|
|
14012
|
+
},
|
|
14013
|
+
AQ: {
|
|
14014
|
+
isoCode: "AQ",
|
|
14015
|
+
en: "Antarctica",
|
|
14016
|
+
fi: "Antarktis",
|
|
14017
|
+
sv: "Antarktis",
|
|
14018
|
+
},
|
|
14019
|
+
AG: {
|
|
14020
|
+
isoCode: "AG",
|
|
14021
|
+
en: "Antigua and Barbuda",
|
|
14022
|
+
fi: "Antigua ja Barbuda",
|
|
14023
|
+
sv: "Antigua och Barbuda",
|
|
14024
|
+
telephoneCountryCode: "1",
|
|
14025
|
+
},
|
|
14026
|
+
AR: {
|
|
14027
|
+
isoCode: "AR",
|
|
14028
|
+
en: "Argentina",
|
|
14029
|
+
fi: "Argentiina",
|
|
14030
|
+
sv: "Argentina",
|
|
14031
|
+
telephoneCountryCode: "54",
|
|
14032
|
+
},
|
|
14033
|
+
AM: {
|
|
14034
|
+
isoCode: "AM",
|
|
14035
|
+
en: "Armenia",
|
|
14036
|
+
fi: "Armenia",
|
|
14037
|
+
sv: "Armenien",
|
|
14038
|
+
telephoneCountryCode: "374",
|
|
14039
|
+
},
|
|
14040
|
+
AW: {
|
|
14041
|
+
isoCode: "AW",
|
|
14042
|
+
en: "Aruba",
|
|
14043
|
+
fi: "Aruba",
|
|
14044
|
+
sv: "Aruba",
|
|
14045
|
+
telephoneCountryCode: "297",
|
|
14046
|
+
},
|
|
14047
|
+
AU: {
|
|
14048
|
+
isoCode: "AU",
|
|
14049
|
+
en: "Australia",
|
|
14050
|
+
fi: "Australia",
|
|
14051
|
+
sv: "Australien",
|
|
14052
|
+
telephoneCountryCode: "61",
|
|
14053
|
+
},
|
|
14054
|
+
AT: {
|
|
14055
|
+
isoCode: "AT",
|
|
14056
|
+
en: "Austria",
|
|
14057
|
+
fi: "Itävalta",
|
|
14058
|
+
sv: "Österrike",
|
|
14059
|
+
telephoneCountryCode: "43",
|
|
14060
|
+
},
|
|
14061
|
+
AZ: {
|
|
14062
|
+
isoCode: "AZ",
|
|
14063
|
+
en: "Azerbaijan",
|
|
14064
|
+
fi: "Azerbaidžan",
|
|
14065
|
+
sv: "Azerbajdzjan",
|
|
14066
|
+
telephoneCountryCode: "994",
|
|
14067
|
+
},
|
|
14068
|
+
BS: {
|
|
14069
|
+
isoCode: "BS",
|
|
14070
|
+
en: "Bahamas",
|
|
14071
|
+
fi: "Bahama",
|
|
14072
|
+
sv: "Bahamas",
|
|
14073
|
+
telephoneCountryCode: "1",
|
|
14074
|
+
},
|
|
14075
|
+
BH: {
|
|
14076
|
+
isoCode: "BH",
|
|
14077
|
+
en: "Bahrain",
|
|
14078
|
+
fi: "Bahrain",
|
|
14079
|
+
sv: "Bahrain",
|
|
14080
|
+
telephoneCountryCode: "973",
|
|
14081
|
+
},
|
|
14082
|
+
BD: {
|
|
14083
|
+
isoCode: "BD",
|
|
14084
|
+
en: "Bangladesh",
|
|
14085
|
+
fi: "Bangladesh",
|
|
14086
|
+
sv: "Bangladesh",
|
|
14087
|
+
telephoneCountryCode: "880",
|
|
14088
|
+
},
|
|
14089
|
+
BB: {
|
|
14090
|
+
isoCode: "BB",
|
|
14091
|
+
en: "Barbados",
|
|
14092
|
+
fi: "Barbados",
|
|
14093
|
+
sv: "Barbados",
|
|
14094
|
+
telephoneCountryCode: "1",
|
|
14095
|
+
},
|
|
14096
|
+
BY: {
|
|
14097
|
+
isoCode: "BY",
|
|
14098
|
+
en: "Belarus",
|
|
14099
|
+
fi: "Valko-Venäjä",
|
|
14100
|
+
sv: "Belarus",
|
|
14101
|
+
telephoneCountryCode: "375",
|
|
14102
|
+
},
|
|
14103
|
+
BE: {
|
|
14104
|
+
isoCode: "BE",
|
|
14105
|
+
en: "Belgium",
|
|
14106
|
+
fi: "Belgia",
|
|
14107
|
+
sv: "Belgien",
|
|
14108
|
+
telephoneCountryCode: "32",
|
|
14109
|
+
},
|
|
14110
|
+
BZ: {
|
|
14111
|
+
isoCode: "BZ",
|
|
14112
|
+
en: "Belize",
|
|
14113
|
+
fi: "Belize",
|
|
14114
|
+
sv: "Belize",
|
|
14115
|
+
telephoneCountryCode: "501",
|
|
14116
|
+
},
|
|
14117
|
+
BJ: {
|
|
14118
|
+
isoCode: "BJ",
|
|
14119
|
+
en: "Benin",
|
|
14120
|
+
fi: "Benin",
|
|
14121
|
+
sv: "Benin",
|
|
14122
|
+
telephoneCountryCode: "229",
|
|
14123
|
+
},
|
|
14124
|
+
BM: {
|
|
14125
|
+
isoCode: "BM",
|
|
14126
|
+
en: "Bermuda",
|
|
14127
|
+
fi: "Bermuda",
|
|
14128
|
+
sv: "Bermuda",
|
|
14129
|
+
telephoneCountryCode: "1",
|
|
14130
|
+
},
|
|
14131
|
+
BT: {
|
|
14132
|
+
isoCode: "BT",
|
|
14133
|
+
en: "Bhutan",
|
|
14134
|
+
fi: "Bhutan",
|
|
14135
|
+
sv: "Bhutan",
|
|
14136
|
+
telephoneCountryCode: "975",
|
|
14137
|
+
},
|
|
14138
|
+
BO: {
|
|
14139
|
+
isoCode: "BO",
|
|
14140
|
+
en: "Bolivia",
|
|
14141
|
+
fi: "Bolivia",
|
|
14142
|
+
sv: "Bolivia",
|
|
14143
|
+
telephoneCountryCode: "591",
|
|
14144
|
+
},
|
|
14145
|
+
BA: {
|
|
14146
|
+
isoCode: "BA",
|
|
14147
|
+
en: "Bosnia and Herzegovina",
|
|
14148
|
+
fi: "Bosnia ja Hertsegovina",
|
|
14149
|
+
sv: "Bosnien och Hercegovina",
|
|
14150
|
+
telephoneCountryCode: "387",
|
|
14151
|
+
},
|
|
14152
|
+
BW: {
|
|
14153
|
+
isoCode: "BW",
|
|
14154
|
+
en: "Botswana",
|
|
14155
|
+
fi: "Botswana",
|
|
14156
|
+
sv: "Botswana",
|
|
14157
|
+
telephoneCountryCode: "267",
|
|
14158
|
+
},
|
|
14159
|
+
BV: {
|
|
14160
|
+
isoCode: "BV",
|
|
14161
|
+
en: "Bouvet Island",
|
|
14162
|
+
fi: "Bouvet’nsaari",
|
|
14163
|
+
sv: "Bouvetön",
|
|
14164
|
+
},
|
|
14165
|
+
BR: {
|
|
14166
|
+
isoCode: "BR",
|
|
14167
|
+
en: "Brazil",
|
|
14168
|
+
fi: "Brasilia",
|
|
14169
|
+
sv: "Brasilien",
|
|
14170
|
+
telephoneCountryCode: "55",
|
|
14171
|
+
},
|
|
14172
|
+
IO: {
|
|
14173
|
+
isoCode: "IO",
|
|
14174
|
+
en: "British Indian Ocean Territory",
|
|
14175
|
+
fi: "Brittiläinen Intian valtameren alue",
|
|
14176
|
+
sv: "Brittiska territoriet i Indiska Oceanen",
|
|
14177
|
+
telephoneCountryCode: "246",
|
|
14178
|
+
},
|
|
14179
|
+
BN: {
|
|
14180
|
+
isoCode: "BN",
|
|
14181
|
+
en: "Brunei Darussalam",
|
|
14182
|
+
fi: "Brunei",
|
|
14183
|
+
sv: "Brunei",
|
|
14184
|
+
telephoneCountryCode: "673",
|
|
14185
|
+
},
|
|
14186
|
+
BG: {
|
|
14187
|
+
isoCode: "BG",
|
|
14188
|
+
en: "Bulgaria",
|
|
14189
|
+
fi: "Bulgaria",
|
|
14190
|
+
sv: "Bulgarien",
|
|
14191
|
+
telephoneCountryCode: "359",
|
|
14192
|
+
},
|
|
14193
|
+
BF: {
|
|
14194
|
+
isoCode: "BF",
|
|
14195
|
+
en: "Burkina Faso",
|
|
14196
|
+
fi: "Burkina Faso",
|
|
14197
|
+
sv: "Burkina Faso",
|
|
14198
|
+
telephoneCountryCode: "226",
|
|
14199
|
+
},
|
|
14200
|
+
BI: {
|
|
14201
|
+
isoCode: "BI",
|
|
14202
|
+
en: "Burundi",
|
|
14203
|
+
fi: "Burundi",
|
|
14204
|
+
sv: "Burundi",
|
|
14205
|
+
telephoneCountryCode: "257",
|
|
14206
|
+
},
|
|
14207
|
+
KH: {
|
|
14208
|
+
isoCode: "KH",
|
|
14209
|
+
en: "Cambodia",
|
|
14210
|
+
fi: "Kambodža",
|
|
14211
|
+
sv: "Kambodja",
|
|
14212
|
+
telephoneCountryCode: "855",
|
|
14213
|
+
},
|
|
14214
|
+
CM: {
|
|
14215
|
+
isoCode: "CM",
|
|
14216
|
+
en: "Cameroon",
|
|
14217
|
+
fi: "Kamerun",
|
|
14218
|
+
sv: "Kamerun",
|
|
14219
|
+
telephoneCountryCode: "237",
|
|
14220
|
+
},
|
|
14221
|
+
CA: {
|
|
14222
|
+
isoCode: "CA",
|
|
14223
|
+
en: "Canada",
|
|
14224
|
+
fi: "Kanada",
|
|
14225
|
+
sv: "Kanada",
|
|
14226
|
+
telephoneCountryCode: "1",
|
|
14227
|
+
},
|
|
14228
|
+
CV: {
|
|
14229
|
+
isoCode: "CV",
|
|
14230
|
+
en: "Cape Verde",
|
|
14231
|
+
fi: "Kap Verde",
|
|
14232
|
+
sv: "Kap Verde",
|
|
14233
|
+
telephoneCountryCode: "238",
|
|
14234
|
+
},
|
|
14235
|
+
KY: {
|
|
14236
|
+
isoCode: "KY",
|
|
14237
|
+
en: "Cayman Islands",
|
|
14238
|
+
fi: "Caymansaaret",
|
|
14239
|
+
sv: "Caymanöarna",
|
|
14240
|
+
telephoneCountryCode: "1",
|
|
14241
|
+
},
|
|
14242
|
+
CF: {
|
|
14243
|
+
isoCode: "CF",
|
|
14244
|
+
en: "Central African Republic",
|
|
14245
|
+
fi: "Keski-Afrikan tasavalta",
|
|
14246
|
+
sv: "Centralafrikanska republiken",
|
|
14247
|
+
telephoneCountryCode: "236",
|
|
14248
|
+
},
|
|
14249
|
+
TD: {
|
|
14250
|
+
isoCode: "TD",
|
|
14251
|
+
en: "Chad",
|
|
14252
|
+
fi: "Tšad",
|
|
14253
|
+
sv: "Tchad",
|
|
14254
|
+
telephoneCountryCode: "235",
|
|
14255
|
+
},
|
|
14256
|
+
CL: {
|
|
14257
|
+
isoCode: "CL",
|
|
14258
|
+
en: "Chile",
|
|
14259
|
+
fi: "Chile",
|
|
14260
|
+
sv: "Chile",
|
|
14261
|
+
telephoneCountryCode: "56",
|
|
14262
|
+
},
|
|
14263
|
+
CN: {
|
|
14264
|
+
isoCode: "CN",
|
|
14265
|
+
en: "People's Republic of China",
|
|
14266
|
+
fi: "Kiina",
|
|
14267
|
+
sv: "Kina",
|
|
14268
|
+
telephoneCountryCode: "86",
|
|
14269
|
+
},
|
|
14270
|
+
CX: {
|
|
14271
|
+
isoCode: "CX",
|
|
14272
|
+
en: "Christmas Island",
|
|
14273
|
+
fi: "Joulusaari",
|
|
14274
|
+
sv: "Julön",
|
|
14275
|
+
telephoneCountryCode: "61",
|
|
14276
|
+
},
|
|
14277
|
+
CC: {
|
|
14278
|
+
isoCode: "CC",
|
|
14279
|
+
en: "Cocos (Keeling) Islands",
|
|
14280
|
+
fi: "Kookossaaret",
|
|
14281
|
+
sv: "Kokosöarna",
|
|
14282
|
+
telephoneCountryCode: "61",
|
|
14283
|
+
},
|
|
14284
|
+
CO: {
|
|
14285
|
+
isoCode: "CO",
|
|
14286
|
+
en: "Colombia",
|
|
14287
|
+
fi: "Kolumbia",
|
|
14288
|
+
sv: "Colombia",
|
|
14289
|
+
telephoneCountryCode: "57",
|
|
14290
|
+
},
|
|
14291
|
+
KM: {
|
|
14292
|
+
isoCode: "KM",
|
|
14293
|
+
en: "Comoros",
|
|
14294
|
+
fi: "Komorit",
|
|
14295
|
+
sv: "Komorerna",
|
|
14296
|
+
telephoneCountryCode: "269",
|
|
14297
|
+
},
|
|
14298
|
+
CG: {
|
|
14299
|
+
isoCode: "CG",
|
|
14300
|
+
en: "Republic of the Congo",
|
|
14301
|
+
fi: "Kongon tasavalta",
|
|
14302
|
+
sv: "Kongo-Brazzaville",
|
|
14303
|
+
telephoneCountryCode: "242",
|
|
14304
|
+
},
|
|
14305
|
+
CD: {
|
|
14306
|
+
isoCode: "CD",
|
|
14307
|
+
en: "Democratic Republic of the Congo",
|
|
14308
|
+
fi: "Kongon demokraattinen tasavalta",
|
|
14309
|
+
sv: "Demokratiska republiken Kongo",
|
|
14310
|
+
telephoneCountryCode: "243",
|
|
14311
|
+
},
|
|
14312
|
+
CK: {
|
|
14313
|
+
isoCode: "CK",
|
|
14314
|
+
en: "Cook Islands",
|
|
14315
|
+
fi: "Cookinsaaret",
|
|
14316
|
+
sv: "Cooköarna",
|
|
14317
|
+
telephoneCountryCode: "682",
|
|
14318
|
+
},
|
|
14319
|
+
CR: {
|
|
14320
|
+
isoCode: "CR",
|
|
14321
|
+
en: "Costa Rica",
|
|
14322
|
+
fi: "Costa Rica",
|
|
14323
|
+
sv: "Costa Rica",
|
|
14324
|
+
telephoneCountryCode: "506",
|
|
14325
|
+
},
|
|
14326
|
+
CI: {
|
|
14327
|
+
isoCode: "CI",
|
|
14328
|
+
en: "Cote D'Ivoire",
|
|
14329
|
+
fi: "Norsunluurannikko",
|
|
14330
|
+
sv: "Elfenbenskusten",
|
|
14331
|
+
telephoneCountryCode: "225",
|
|
14332
|
+
},
|
|
14333
|
+
HR: {
|
|
14334
|
+
isoCode: "HR",
|
|
14335
|
+
en: "Croatia",
|
|
14336
|
+
fi: "Kroatia",
|
|
14337
|
+
sv: "Kroatien",
|
|
14338
|
+
telephoneCountryCode: "385",
|
|
14339
|
+
},
|
|
14340
|
+
CU: {
|
|
14341
|
+
isoCode: "CU",
|
|
14342
|
+
en: "Cuba",
|
|
14343
|
+
fi: "Kuuba",
|
|
14344
|
+
sv: "Kuba",
|
|
14345
|
+
telephoneCountryCode: "53",
|
|
14346
|
+
},
|
|
14347
|
+
CY: {
|
|
14348
|
+
isoCode: "CY",
|
|
14349
|
+
en: "Cyprus",
|
|
14350
|
+
fi: "Kypros",
|
|
14351
|
+
sv: "Cypern",
|
|
14352
|
+
telephoneCountryCode: "357",
|
|
14353
|
+
},
|
|
14354
|
+
CZ: {
|
|
14355
|
+
isoCode: "CZ",
|
|
14356
|
+
en: "Czech Republic",
|
|
14357
|
+
fi: "Tšekki",
|
|
14358
|
+
sv: "Tjeckien",
|
|
14359
|
+
telephoneCountryCode: "420",
|
|
14360
|
+
},
|
|
14361
|
+
DK: {
|
|
14362
|
+
isoCode: "DK",
|
|
14363
|
+
en: "Denmark",
|
|
14364
|
+
fi: "Tanska",
|
|
14365
|
+
sv: "Danmark",
|
|
14366
|
+
telephoneCountryCode: "45",
|
|
14367
|
+
},
|
|
14368
|
+
DJ: {
|
|
14369
|
+
isoCode: "DJ",
|
|
14370
|
+
en: "Djibouti",
|
|
14371
|
+
fi: "Djibouti",
|
|
14372
|
+
sv: "Djibouti",
|
|
14373
|
+
telephoneCountryCode: "253",
|
|
14374
|
+
},
|
|
14375
|
+
DM: {
|
|
14376
|
+
isoCode: "DM",
|
|
14377
|
+
en: "Dominica",
|
|
14378
|
+
fi: "Dominica",
|
|
14379
|
+
sv: "Dominica",
|
|
14380
|
+
telephoneCountryCode: "1",
|
|
14381
|
+
},
|
|
14382
|
+
DO: {
|
|
14383
|
+
isoCode: "DO",
|
|
14384
|
+
en: "Dominican Republic",
|
|
14385
|
+
fi: "Dominikaaninen tasavalta",
|
|
14386
|
+
sv: "Dominikanska republiken",
|
|
14387
|
+
telephoneCountryCode: "1",
|
|
14388
|
+
},
|
|
14389
|
+
EC: {
|
|
14390
|
+
isoCode: "EC",
|
|
14391
|
+
en: "Ecuador",
|
|
14392
|
+
fi: "Ecuador",
|
|
14393
|
+
sv: "Ecuador",
|
|
14394
|
+
telephoneCountryCode: "593",
|
|
14395
|
+
},
|
|
14396
|
+
EG: {
|
|
14397
|
+
isoCode: "EG",
|
|
14398
|
+
en: "Egypt",
|
|
14399
|
+
fi: "Egypti",
|
|
14400
|
+
sv: "Egypten",
|
|
14401
|
+
telephoneCountryCode: "20",
|
|
14402
|
+
},
|
|
14403
|
+
SV: {
|
|
14404
|
+
isoCode: "SV",
|
|
14405
|
+
en: "El Salvador",
|
|
14406
|
+
fi: "El Salvador",
|
|
14407
|
+
sv: "El Salvador",
|
|
14408
|
+
telephoneCountryCode: "503",
|
|
14409
|
+
},
|
|
14410
|
+
GQ: {
|
|
14411
|
+
isoCode: "GQ",
|
|
14412
|
+
en: "Equatorial Guinea",
|
|
14413
|
+
fi: "Päiväntasaajan Guinea",
|
|
14414
|
+
sv: "Ekvatorialguinea",
|
|
14415
|
+
telephoneCountryCode: "240",
|
|
14416
|
+
},
|
|
14417
|
+
ER: {
|
|
14418
|
+
isoCode: "ER",
|
|
14419
|
+
en: "Eritrea",
|
|
14420
|
+
fi: "Eritrea",
|
|
14421
|
+
sv: "Eritrea",
|
|
14422
|
+
telephoneCountryCode: "291",
|
|
14423
|
+
},
|
|
14424
|
+
EE: {
|
|
14425
|
+
isoCode: "EE",
|
|
14426
|
+
en: "Estonia",
|
|
14427
|
+
fi: "Viro",
|
|
14428
|
+
sv: "Estland",
|
|
14429
|
+
telephoneCountryCode: "372",
|
|
14430
|
+
},
|
|
14431
|
+
ET: {
|
|
14432
|
+
isoCode: "ET",
|
|
14433
|
+
en: "Ethiopia",
|
|
14434
|
+
fi: "Etiopia",
|
|
14435
|
+
sv: "Etiopien",
|
|
14436
|
+
telephoneCountryCode: "251",
|
|
14437
|
+
},
|
|
14438
|
+
FK: {
|
|
14439
|
+
isoCode: "FK",
|
|
14440
|
+
en: "Falkland Islands (Malvinas)",
|
|
14441
|
+
fi: "Falklandinsaaret",
|
|
14442
|
+
sv: "Falklandsöarna",
|
|
14443
|
+
telephoneCountryCode: "500",
|
|
14444
|
+
},
|
|
14445
|
+
FO: {
|
|
14446
|
+
isoCode: "FO",
|
|
14447
|
+
en: "Faroe Islands",
|
|
14448
|
+
fi: "Färsaaret",
|
|
14449
|
+
sv: "Färöarna",
|
|
14450
|
+
telephoneCountryCode: "298",
|
|
14451
|
+
},
|
|
14452
|
+
FJ: {
|
|
14453
|
+
isoCode: "FJ",
|
|
14454
|
+
en: "Fiji",
|
|
14455
|
+
fi: "Fidži",
|
|
14456
|
+
sv: "Fiji",
|
|
14457
|
+
telephoneCountryCode: "679",
|
|
14458
|
+
},
|
|
14459
|
+
FI: {
|
|
14460
|
+
isoCode: "FI",
|
|
14461
|
+
en: "Finland",
|
|
14462
|
+
fi: "Suomi",
|
|
14463
|
+
sv: "Finland",
|
|
14464
|
+
telephoneCountryCode: "358",
|
|
14465
|
+
},
|
|
14466
|
+
FR: {
|
|
14467
|
+
isoCode: "FR",
|
|
14468
|
+
en: "France",
|
|
14469
|
+
fi: "Ranska",
|
|
14470
|
+
sv: "Frankrike",
|
|
14471
|
+
telephoneCountryCode: "33",
|
|
14472
|
+
},
|
|
14473
|
+
GF: {
|
|
14474
|
+
isoCode: "GF",
|
|
14475
|
+
en: "French Guiana",
|
|
14476
|
+
fi: "Ranskan Guayana",
|
|
14477
|
+
sv: "Franska Guyana",
|
|
14478
|
+
telephoneCountryCode: "594",
|
|
14479
|
+
},
|
|
14480
|
+
PF: {
|
|
14481
|
+
isoCode: "PF",
|
|
14482
|
+
en: "French Polynesia",
|
|
14483
|
+
fi: "Ranskan Polynesia",
|
|
14484
|
+
sv: "Franska Polynesien",
|
|
14485
|
+
telephoneCountryCode: "689",
|
|
14486
|
+
},
|
|
14487
|
+
TF: {
|
|
14488
|
+
isoCode: "TF",
|
|
14489
|
+
en: "French Southern Territories",
|
|
14490
|
+
fi: "Ranskan eteläiset alueet",
|
|
14491
|
+
sv: "Franska södra territorierna",
|
|
14492
|
+
},
|
|
14493
|
+
GA: {
|
|
14494
|
+
isoCode: "GA",
|
|
14495
|
+
en: "Gabon",
|
|
14496
|
+
fi: "Gabon",
|
|
14497
|
+
sv: "Gabon",
|
|
14498
|
+
telephoneCountryCode: "241",
|
|
14499
|
+
},
|
|
14500
|
+
GM: {
|
|
14501
|
+
isoCode: "GM",
|
|
14502
|
+
en: "Republic of The Gambia",
|
|
14503
|
+
fi: "Gambia",
|
|
14504
|
+
sv: "Gambia",
|
|
14505
|
+
telephoneCountryCode: "220",
|
|
14506
|
+
},
|
|
14507
|
+
GE: {
|
|
14508
|
+
isoCode: "GE",
|
|
14509
|
+
en: "Georgia",
|
|
14510
|
+
fi: "Georgia",
|
|
14511
|
+
sv: "Georgien",
|
|
14512
|
+
telephoneCountryCode: "995",
|
|
14513
|
+
},
|
|
14514
|
+
DE: {
|
|
14515
|
+
isoCode: "DE",
|
|
14516
|
+
en: "Germany",
|
|
14517
|
+
fi: "Saksa",
|
|
14518
|
+
sv: "Tyskland",
|
|
14519
|
+
telephoneCountryCode: "49",
|
|
14520
|
+
},
|
|
14521
|
+
GH: {
|
|
14522
|
+
isoCode: "GH",
|
|
14523
|
+
en: "Ghana",
|
|
14524
|
+
fi: "Ghana",
|
|
14525
|
+
sv: "Ghana",
|
|
14526
|
+
telephoneCountryCode: "233",
|
|
14527
|
+
},
|
|
14528
|
+
GI: {
|
|
14529
|
+
isoCode: "GI",
|
|
14530
|
+
en: "Gibraltar",
|
|
14531
|
+
fi: "Gibraltar",
|
|
14532
|
+
sv: "Gibraltar",
|
|
14533
|
+
telephoneCountryCode: "350",
|
|
14534
|
+
},
|
|
14535
|
+
GR: {
|
|
14536
|
+
isoCode: "GR",
|
|
14537
|
+
en: "Greece",
|
|
14538
|
+
fi: "Kreikka",
|
|
14539
|
+
sv: "Grekland",
|
|
14540
|
+
telephoneCountryCode: "30",
|
|
14541
|
+
},
|
|
14542
|
+
GL: {
|
|
14543
|
+
isoCode: "GL",
|
|
14544
|
+
en: "Greenland",
|
|
14545
|
+
fi: "Grönlanti",
|
|
14546
|
+
sv: "Grönland",
|
|
14547
|
+
telephoneCountryCode: "299",
|
|
14548
|
+
},
|
|
14549
|
+
GD: {
|
|
14550
|
+
isoCode: "GD",
|
|
14551
|
+
en: "Grenada",
|
|
14552
|
+
fi: "Grenada",
|
|
14553
|
+
sv: "Grenada",
|
|
14554
|
+
telephoneCountryCode: "1",
|
|
14555
|
+
},
|
|
14556
|
+
GP: {
|
|
14557
|
+
isoCode: "GP",
|
|
14558
|
+
en: "Guadeloupe",
|
|
14559
|
+
fi: "Guadeloupe",
|
|
14560
|
+
sv: "Guadeloupe",
|
|
14561
|
+
telephoneCountryCode: "590",
|
|
14562
|
+
},
|
|
14563
|
+
GU: {
|
|
14564
|
+
isoCode: "GU",
|
|
14565
|
+
en: "Guam",
|
|
14566
|
+
fi: "Guam",
|
|
14567
|
+
sv: "Guam",
|
|
14568
|
+
telephoneCountryCode: "1",
|
|
14569
|
+
},
|
|
14570
|
+
GT: {
|
|
14571
|
+
isoCode: "GT",
|
|
14572
|
+
en: "Guatemala",
|
|
14573
|
+
fi: "Guatemala",
|
|
14574
|
+
sv: "Guatemala",
|
|
14575
|
+
telephoneCountryCode: "502",
|
|
14576
|
+
},
|
|
14577
|
+
GN: {
|
|
14578
|
+
isoCode: "GN",
|
|
14579
|
+
en: "Guinea",
|
|
14580
|
+
fi: "Guinea",
|
|
14581
|
+
sv: "Guinea",
|
|
14582
|
+
telephoneCountryCode: "224",
|
|
14583
|
+
},
|
|
14584
|
+
GW: {
|
|
14585
|
+
isoCode: "GW",
|
|
14586
|
+
en: "Guinea-Bissau",
|
|
14587
|
+
fi: "Guinea-Bissau",
|
|
14588
|
+
sv: "Guinea Bissau",
|
|
14589
|
+
telephoneCountryCode: "245",
|
|
14590
|
+
},
|
|
14591
|
+
GY: {
|
|
14592
|
+
isoCode: "GY",
|
|
14593
|
+
en: "Guyana",
|
|
14594
|
+
fi: "Guyana",
|
|
14595
|
+
sv: "Guyana",
|
|
14596
|
+
telephoneCountryCode: "592",
|
|
14597
|
+
},
|
|
14598
|
+
HT: {
|
|
14599
|
+
isoCode: "HT",
|
|
14600
|
+
en: "Haiti",
|
|
14601
|
+
fi: "Haiti",
|
|
14602
|
+
sv: "Haiti",
|
|
14603
|
+
telephoneCountryCode: "509",
|
|
14604
|
+
},
|
|
14605
|
+
HM: {
|
|
14606
|
+
isoCode: "HM",
|
|
14607
|
+
en: "Heard Island and McDonald Islands",
|
|
14608
|
+
fi: "Heard ja McDonaldinsaaret",
|
|
14609
|
+
sv: "Heard- och McDonaldsöarna",
|
|
14610
|
+
},
|
|
14611
|
+
VA: {
|
|
14612
|
+
isoCode: "VA",
|
|
14613
|
+
en: "Holy See (Vatican City State)",
|
|
14614
|
+
fi: "Vatikaanivaltio",
|
|
14615
|
+
sv: "Vatikanstaten",
|
|
14616
|
+
telephoneCountryCode: "39",
|
|
14617
|
+
},
|
|
14618
|
+
HN: {
|
|
14619
|
+
isoCode: "HN",
|
|
14620
|
+
en: "Honduras",
|
|
14621
|
+
fi: "Honduras",
|
|
14622
|
+
sv: "Honduras",
|
|
14623
|
+
telephoneCountryCode: "504",
|
|
14624
|
+
},
|
|
14625
|
+
HK: {
|
|
14626
|
+
isoCode: "HK",
|
|
14627
|
+
en: "Hong Kong",
|
|
14628
|
+
fi: "Hongkong",
|
|
14629
|
+
sv: "Hongkong",
|
|
14630
|
+
telephoneCountryCode: "852",
|
|
14631
|
+
},
|
|
14632
|
+
HU: {
|
|
14633
|
+
isoCode: "HU",
|
|
14634
|
+
en: "Hungary",
|
|
14635
|
+
fi: "Unkari",
|
|
14636
|
+
sv: "Ungern",
|
|
14637
|
+
telephoneCountryCode: "36",
|
|
14638
|
+
},
|
|
14639
|
+
IS: {
|
|
14640
|
+
isoCode: "IS",
|
|
14641
|
+
en: "Iceland",
|
|
14642
|
+
fi: "Islanti",
|
|
14643
|
+
sv: "Island",
|
|
14644
|
+
telephoneCountryCode: "354",
|
|
14645
|
+
},
|
|
14646
|
+
IN: {
|
|
14647
|
+
isoCode: "IN",
|
|
14648
|
+
en: "India",
|
|
14649
|
+
fi: "Intia",
|
|
14650
|
+
sv: "Indien",
|
|
14651
|
+
telephoneCountryCode: "91",
|
|
14652
|
+
},
|
|
14653
|
+
ID: {
|
|
14654
|
+
isoCode: "ID",
|
|
14655
|
+
en: "Indonesia",
|
|
14656
|
+
fi: "Indonesia",
|
|
14657
|
+
sv: "Indonesien",
|
|
14658
|
+
telephoneCountryCode: "62",
|
|
14659
|
+
},
|
|
14660
|
+
IR: {
|
|
14661
|
+
isoCode: "IR",
|
|
14662
|
+
en: "Islamic Republic of Iran",
|
|
14663
|
+
fi: "Iran",
|
|
14664
|
+
sv: "Iran",
|
|
14665
|
+
telephoneCountryCode: "98",
|
|
14666
|
+
},
|
|
14667
|
+
IQ: {
|
|
14668
|
+
isoCode: "IQ",
|
|
14669
|
+
en: "Iraq",
|
|
14670
|
+
fi: "Irak",
|
|
14671
|
+
sv: "Irak",
|
|
14672
|
+
telephoneCountryCode: "964",
|
|
14673
|
+
},
|
|
14674
|
+
IE: {
|
|
14675
|
+
isoCode: "IE",
|
|
14676
|
+
en: "Ireland",
|
|
14677
|
+
fi: "Irlanti",
|
|
14678
|
+
sv: "Irland",
|
|
14679
|
+
telephoneCountryCode: "353",
|
|
14680
|
+
},
|
|
14681
|
+
IL: {
|
|
14682
|
+
isoCode: "IL",
|
|
14683
|
+
en: "Israel",
|
|
14684
|
+
fi: "Israel",
|
|
14685
|
+
sv: "Israel",
|
|
14686
|
+
telephoneCountryCode: "972",
|
|
14687
|
+
},
|
|
14688
|
+
IT: {
|
|
14689
|
+
isoCode: "IT",
|
|
14690
|
+
en: "Italy",
|
|
14691
|
+
fi: "Italia",
|
|
14692
|
+
sv: "Italien",
|
|
14693
|
+
telephoneCountryCode: "39",
|
|
14694
|
+
},
|
|
14695
|
+
JM: {
|
|
14696
|
+
isoCode: "JM",
|
|
14697
|
+
en: "Jamaica",
|
|
14698
|
+
fi: "Jamaika",
|
|
14699
|
+
sv: "Jamaica",
|
|
14700
|
+
telephoneCountryCode: "1",
|
|
14701
|
+
},
|
|
14702
|
+
JP: {
|
|
14703
|
+
isoCode: "JP",
|
|
14704
|
+
en: "Japan",
|
|
14705
|
+
fi: "Japani",
|
|
14706
|
+
sv: "Japan",
|
|
14707
|
+
telephoneCountryCode: "81",
|
|
14708
|
+
},
|
|
14709
|
+
JO: {
|
|
14710
|
+
isoCode: "JO",
|
|
14711
|
+
en: "Jordan",
|
|
14712
|
+
fi: "Jordania",
|
|
14713
|
+
sv: "Jordanien",
|
|
14714
|
+
telephoneCountryCode: "962",
|
|
14715
|
+
},
|
|
14716
|
+
KZ: {
|
|
14717
|
+
isoCode: "KZ",
|
|
14718
|
+
en: "Kazakhstan",
|
|
14719
|
+
fi: "Kazakstan",
|
|
14720
|
+
sv: "Kazakstan",
|
|
14721
|
+
telephoneCountryCode: "7",
|
|
14722
|
+
},
|
|
14723
|
+
KE: {
|
|
14724
|
+
isoCode: "KE",
|
|
14725
|
+
en: "Kenya",
|
|
14726
|
+
fi: "Kenia",
|
|
14727
|
+
sv: "Kenya",
|
|
14728
|
+
telephoneCountryCode: "254",
|
|
14729
|
+
},
|
|
14730
|
+
KI: {
|
|
14731
|
+
isoCode: "KI",
|
|
14732
|
+
en: "Kiribati",
|
|
14733
|
+
fi: "Kiribati",
|
|
14734
|
+
sv: "Kiribati",
|
|
14735
|
+
telephoneCountryCode: "686",
|
|
14736
|
+
},
|
|
14737
|
+
KP: {
|
|
14738
|
+
isoCode: "KP",
|
|
14739
|
+
en: "North Korea",
|
|
14740
|
+
fi: "Korean demokraattinen kansantasavalta",
|
|
14741
|
+
sv: "Nordkorea",
|
|
14742
|
+
telephoneCountryCode: "850",
|
|
14743
|
+
},
|
|
14744
|
+
KR: {
|
|
14745
|
+
isoCode: "KR",
|
|
14746
|
+
en: "South Korea",
|
|
14747
|
+
fi: "Korean tasavalta",
|
|
14748
|
+
sv: "Sydkorea",
|
|
14749
|
+
telephoneCountryCode: "82",
|
|
14750
|
+
},
|
|
14751
|
+
KW: {
|
|
14752
|
+
isoCode: "KW",
|
|
14753
|
+
en: "Kuwait",
|
|
14754
|
+
fi: "Kuwait",
|
|
14755
|
+
sv: "Kuwait",
|
|
14756
|
+
telephoneCountryCode: "965",
|
|
14757
|
+
},
|
|
14758
|
+
KG: {
|
|
14759
|
+
isoCode: "KG",
|
|
14760
|
+
en: "Kyrgyzstan",
|
|
14761
|
+
fi: "Kirgisia",
|
|
14762
|
+
sv: "Kirgizistan",
|
|
14763
|
+
telephoneCountryCode: "996",
|
|
14764
|
+
},
|
|
14765
|
+
LA: {
|
|
14766
|
+
isoCode: "LA",
|
|
14767
|
+
en: "Lao People's Democratic Republic",
|
|
14768
|
+
fi: "Laos",
|
|
14769
|
+
sv: "Laos",
|
|
14770
|
+
telephoneCountryCode: "856",
|
|
14771
|
+
},
|
|
14772
|
+
LV: {
|
|
14773
|
+
isoCode: "LV",
|
|
14774
|
+
en: "Latvia",
|
|
14775
|
+
fi: "Latvia",
|
|
14776
|
+
sv: "Lettland",
|
|
14777
|
+
telephoneCountryCode: "371",
|
|
14778
|
+
},
|
|
14779
|
+
LB: {
|
|
14780
|
+
isoCode: "LB",
|
|
14781
|
+
en: "Lebanon",
|
|
14782
|
+
fi: "Libanon",
|
|
14783
|
+
sv: "Libanon",
|
|
14784
|
+
telephoneCountryCode: "961",
|
|
14785
|
+
},
|
|
14786
|
+
LS: {
|
|
14787
|
+
isoCode: "LS",
|
|
14788
|
+
en: "Lesotho",
|
|
14789
|
+
fi: "Lesotho",
|
|
14790
|
+
sv: "Lesotho",
|
|
14791
|
+
telephoneCountryCode: "266",
|
|
14792
|
+
},
|
|
14793
|
+
LR: {
|
|
14794
|
+
isoCode: "LR",
|
|
14795
|
+
en: "Liberia",
|
|
14796
|
+
fi: "Liberia",
|
|
14797
|
+
sv: "Liberia",
|
|
14798
|
+
telephoneCountryCode: "231",
|
|
14799
|
+
},
|
|
14800
|
+
LY: {
|
|
14801
|
+
isoCode: "LY",
|
|
14802
|
+
en: "Libya",
|
|
14803
|
+
fi: "Libya",
|
|
14804
|
+
sv: "Libyen",
|
|
14805
|
+
telephoneCountryCode: "218",
|
|
14806
|
+
},
|
|
14807
|
+
LI: {
|
|
14808
|
+
isoCode: "LI",
|
|
14809
|
+
en: "Liechtenstein",
|
|
14810
|
+
fi: "Liechtenstein",
|
|
14811
|
+
sv: "Liechtenstein",
|
|
14812
|
+
telephoneCountryCode: "423",
|
|
14813
|
+
},
|
|
14814
|
+
LT: {
|
|
14815
|
+
isoCode: "LT",
|
|
14816
|
+
en: "Lithuania",
|
|
14817
|
+
fi: "Liettua",
|
|
14818
|
+
sv: "Litauen",
|
|
14819
|
+
telephoneCountryCode: "370",
|
|
14820
|
+
},
|
|
14821
|
+
LU: {
|
|
14822
|
+
isoCode: "LU",
|
|
14823
|
+
en: "Luxembourg",
|
|
14824
|
+
fi: "Luxemburg",
|
|
14825
|
+
sv: "Luxemburg",
|
|
14826
|
+
telephoneCountryCode: "352",
|
|
14827
|
+
},
|
|
14828
|
+
MO: {
|
|
14829
|
+
isoCode: "MO",
|
|
14830
|
+
en: "Macao",
|
|
14831
|
+
fi: "Macao",
|
|
14832
|
+
sv: "Macau",
|
|
14833
|
+
telephoneCountryCode: "853",
|
|
14834
|
+
},
|
|
14835
|
+
MG: {
|
|
14836
|
+
isoCode: "MG",
|
|
14837
|
+
en: "Madagascar",
|
|
14838
|
+
fi: "Madagaskar",
|
|
14839
|
+
sv: "Madagaskar",
|
|
14840
|
+
telephoneCountryCode: "261",
|
|
14841
|
+
},
|
|
14842
|
+
MW: {
|
|
14843
|
+
isoCode: "MW",
|
|
14844
|
+
en: "Malawi",
|
|
14845
|
+
fi: "Malawi",
|
|
14846
|
+
sv: "Malawi",
|
|
14847
|
+
telephoneCountryCode: "265",
|
|
14848
|
+
},
|
|
14849
|
+
MY: {
|
|
14850
|
+
isoCode: "MY",
|
|
14851
|
+
en: "Malaysia",
|
|
14852
|
+
fi: "Malesia",
|
|
14853
|
+
sv: "Malaysia",
|
|
14854
|
+
telephoneCountryCode: "60",
|
|
14855
|
+
},
|
|
14856
|
+
MV: {
|
|
14857
|
+
isoCode: "MV",
|
|
14858
|
+
en: "Maldives",
|
|
14859
|
+
fi: "Malediivit",
|
|
14860
|
+
sv: "Maldiverna",
|
|
14861
|
+
telephoneCountryCode: "960",
|
|
14862
|
+
},
|
|
14863
|
+
ML: {
|
|
14864
|
+
isoCode: "ML",
|
|
14865
|
+
en: "Mali",
|
|
14866
|
+
fi: "Mali",
|
|
14867
|
+
sv: "Mali",
|
|
14868
|
+
telephoneCountryCode: "223",
|
|
14869
|
+
},
|
|
14870
|
+
MT: {
|
|
14871
|
+
isoCode: "MT",
|
|
14872
|
+
en: "Malta",
|
|
14873
|
+
fi: "Malta",
|
|
14874
|
+
sv: "Malta",
|
|
14875
|
+
telephoneCountryCode: "356",
|
|
14876
|
+
},
|
|
14877
|
+
MH: {
|
|
14878
|
+
isoCode: "MH",
|
|
14879
|
+
en: "Marshall Islands",
|
|
14880
|
+
fi: "Marshallinsaaret",
|
|
14881
|
+
sv: "Marshallöarna",
|
|
14882
|
+
telephoneCountryCode: "692",
|
|
14883
|
+
},
|
|
14884
|
+
MQ: {
|
|
14885
|
+
isoCode: "MQ",
|
|
14886
|
+
en: "Martinique",
|
|
14887
|
+
fi: "Martinique",
|
|
14888
|
+
sv: "Martinique",
|
|
14889
|
+
telephoneCountryCode: "596",
|
|
14890
|
+
},
|
|
14891
|
+
MR: {
|
|
14892
|
+
isoCode: "MR",
|
|
14893
|
+
en: "Mauritania",
|
|
14894
|
+
fi: "Mauritania",
|
|
14895
|
+
sv: "Mauretanien",
|
|
14896
|
+
telephoneCountryCode: "222",
|
|
14897
|
+
},
|
|
14898
|
+
MU: {
|
|
14899
|
+
isoCode: "MU",
|
|
14900
|
+
en: "Mauritius",
|
|
14901
|
+
fi: "Mauritius",
|
|
14902
|
+
sv: "Mauritius",
|
|
14903
|
+
telephoneCountryCode: "230",
|
|
14904
|
+
},
|
|
14905
|
+
YT: {
|
|
14906
|
+
isoCode: "YT",
|
|
14907
|
+
en: "Mayotte",
|
|
14908
|
+
fi: "Mayotte",
|
|
14909
|
+
sv: "Mayotte",
|
|
14910
|
+
telephoneCountryCode: "262",
|
|
14911
|
+
},
|
|
14912
|
+
MX: {
|
|
14913
|
+
isoCode: "MX",
|
|
14914
|
+
en: "Mexico",
|
|
14915
|
+
fi: "Meksiko",
|
|
14916
|
+
sv: "Mexiko",
|
|
14917
|
+
telephoneCountryCode: "52",
|
|
14918
|
+
},
|
|
14919
|
+
FM: {
|
|
14920
|
+
isoCode: "FM",
|
|
14921
|
+
en: "Micronesia, Federated States of",
|
|
14922
|
+
fi: "Mikronesian liittovaltio",
|
|
14923
|
+
sv: "Mikronesiska federationen",
|
|
14924
|
+
telephoneCountryCode: "691",
|
|
14925
|
+
},
|
|
14926
|
+
MD: {
|
|
14927
|
+
isoCode: "MD",
|
|
14928
|
+
en: "Moldova, Republic of",
|
|
14929
|
+
fi: "Moldova",
|
|
14930
|
+
sv: "Moldavien",
|
|
14931
|
+
telephoneCountryCode: "373",
|
|
14932
|
+
},
|
|
14933
|
+
MC: {
|
|
14934
|
+
isoCode: "MC",
|
|
14935
|
+
en: "Monaco",
|
|
14936
|
+
fi: "Monaco",
|
|
14937
|
+
sv: "Monaco",
|
|
14938
|
+
telephoneCountryCode: "377",
|
|
14939
|
+
},
|
|
14940
|
+
MN: {
|
|
14941
|
+
isoCode: "MN",
|
|
14942
|
+
en: "Mongolia",
|
|
14943
|
+
fi: "Mongolia",
|
|
14944
|
+
sv: "Mongoliet",
|
|
14945
|
+
telephoneCountryCode: "976",
|
|
14946
|
+
},
|
|
14947
|
+
MS: {
|
|
14948
|
+
isoCode: "MS",
|
|
14949
|
+
en: "Montserrat",
|
|
14950
|
+
fi: "Montserrat",
|
|
14951
|
+
sv: "Montserrat",
|
|
14952
|
+
telephoneCountryCode: "1",
|
|
14953
|
+
},
|
|
14954
|
+
MA: {
|
|
14955
|
+
isoCode: "MA",
|
|
14956
|
+
en: "Morocco",
|
|
14957
|
+
fi: "Marokko",
|
|
14958
|
+
sv: "Marocko",
|
|
14959
|
+
telephoneCountryCode: "212",
|
|
14960
|
+
},
|
|
14961
|
+
MZ: {
|
|
14962
|
+
isoCode: "MZ",
|
|
14963
|
+
en: "Mozambique",
|
|
14964
|
+
fi: "Mosambik",
|
|
14965
|
+
sv: "Moçambique",
|
|
14966
|
+
telephoneCountryCode: "258",
|
|
14967
|
+
},
|
|
14968
|
+
MM: {
|
|
14969
|
+
isoCode: "MM",
|
|
14970
|
+
en: "Myanmar",
|
|
14971
|
+
fi: "Myanmar",
|
|
14972
|
+
sv: "Burma",
|
|
14973
|
+
telephoneCountryCode: "95",
|
|
14974
|
+
},
|
|
14975
|
+
NA: {
|
|
14976
|
+
isoCode: "NA",
|
|
14977
|
+
en: "Namibia",
|
|
14978
|
+
fi: "Namibia",
|
|
14979
|
+
sv: "Namibia",
|
|
14980
|
+
telephoneCountryCode: "264",
|
|
14981
|
+
},
|
|
14982
|
+
NR: {
|
|
14983
|
+
isoCode: "NR",
|
|
14984
|
+
en: "Nauru",
|
|
14985
|
+
fi: "Nauru",
|
|
14986
|
+
sv: "Nauru",
|
|
14987
|
+
telephoneCountryCode: "674",
|
|
14988
|
+
},
|
|
14989
|
+
NP: {
|
|
14990
|
+
isoCode: "NP",
|
|
14991
|
+
en: "Nepal",
|
|
14992
|
+
fi: "Nepal",
|
|
14993
|
+
sv: "Nepal",
|
|
14994
|
+
telephoneCountryCode: "977",
|
|
14995
|
+
},
|
|
14996
|
+
NL: {
|
|
14997
|
+
isoCode: "NL",
|
|
14998
|
+
en: "Netherlands",
|
|
14999
|
+
fi: "Alankomaat",
|
|
15000
|
+
sv: "Nederländerna",
|
|
15001
|
+
telephoneCountryCode: "31",
|
|
15002
|
+
},
|
|
15003
|
+
NC: {
|
|
15004
|
+
isoCode: "NC",
|
|
15005
|
+
en: "New Caledonia",
|
|
15006
|
+
fi: "Uusi-Kaledonia",
|
|
15007
|
+
sv: "Nya Kaledonien",
|
|
15008
|
+
telephoneCountryCode: "687",
|
|
15009
|
+
},
|
|
15010
|
+
NZ: {
|
|
15011
|
+
isoCode: "NZ",
|
|
15012
|
+
en: "New Zealand",
|
|
15013
|
+
fi: "Uusi-Seelanti",
|
|
15014
|
+
sv: "Nya Zeeland",
|
|
15015
|
+
telephoneCountryCode: "64",
|
|
15016
|
+
},
|
|
15017
|
+
NI: {
|
|
15018
|
+
isoCode: "NI",
|
|
15019
|
+
en: "Nicaragua",
|
|
15020
|
+
fi: "Nicaragua",
|
|
15021
|
+
sv: "Nicaragua",
|
|
15022
|
+
telephoneCountryCode: "505",
|
|
15023
|
+
},
|
|
15024
|
+
NE: {
|
|
15025
|
+
isoCode: "NE",
|
|
15026
|
+
en: "Niger",
|
|
15027
|
+
fi: "Niger",
|
|
15028
|
+
sv: "Niger",
|
|
15029
|
+
telephoneCountryCode: "227",
|
|
15030
|
+
},
|
|
15031
|
+
NG: {
|
|
15032
|
+
isoCode: "NG",
|
|
15033
|
+
en: "Nigeria",
|
|
15034
|
+
fi: "Nigeria",
|
|
15035
|
+
sv: "Nigeria",
|
|
15036
|
+
telephoneCountryCode: "234",
|
|
15037
|
+
},
|
|
15038
|
+
NU: {
|
|
15039
|
+
isoCode: "NU",
|
|
15040
|
+
en: "Niue",
|
|
15041
|
+
fi: "Niue",
|
|
15042
|
+
sv: "Niue",
|
|
15043
|
+
telephoneCountryCode: "683",
|
|
15044
|
+
},
|
|
15045
|
+
NF: {
|
|
15046
|
+
isoCode: "NF",
|
|
15047
|
+
en: "Norfolk Island",
|
|
15048
|
+
fi: "Norfolkinsaari",
|
|
15049
|
+
sv: "Norfolkön",
|
|
15050
|
+
telephoneCountryCode: "672",
|
|
15051
|
+
},
|
|
15052
|
+
MK: {
|
|
15053
|
+
isoCode: "MK",
|
|
15054
|
+
en: "The Republic of North Macedonia",
|
|
15055
|
+
fi: "Pohjois-Makedonia",
|
|
15056
|
+
sv: "Nordmakedonien",
|
|
15057
|
+
telephoneCountryCode: "389",
|
|
15058
|
+
},
|
|
15059
|
+
MP: {
|
|
15060
|
+
isoCode: "MP",
|
|
15061
|
+
en: "Northern Mariana Islands",
|
|
15062
|
+
fi: "Pohjois-Mariaanit",
|
|
15063
|
+
sv: "Nordmarianerna",
|
|
15064
|
+
telephoneCountryCode: "1",
|
|
15065
|
+
},
|
|
15066
|
+
NO: {
|
|
15067
|
+
isoCode: "NO",
|
|
15068
|
+
en: "Norway",
|
|
15069
|
+
fi: "Norja",
|
|
15070
|
+
sv: "Norge",
|
|
15071
|
+
telephoneCountryCode: "47",
|
|
15072
|
+
},
|
|
15073
|
+
OM: {
|
|
15074
|
+
isoCode: "OM",
|
|
15075
|
+
en: "Oman",
|
|
15076
|
+
fi: "Oman",
|
|
15077
|
+
sv: "Oman",
|
|
15078
|
+
telephoneCountryCode: "968",
|
|
15079
|
+
},
|
|
15080
|
+
PK: {
|
|
15081
|
+
isoCode: "PK",
|
|
15082
|
+
en: "Pakistan",
|
|
15083
|
+
fi: "Pakistan",
|
|
15084
|
+
sv: "Pakistan",
|
|
15085
|
+
telephoneCountryCode: "92",
|
|
15086
|
+
},
|
|
15087
|
+
PW: {
|
|
15088
|
+
isoCode: "PW",
|
|
15089
|
+
en: "Palau",
|
|
15090
|
+
fi: "Palau",
|
|
15091
|
+
sv: "Palau",
|
|
15092
|
+
telephoneCountryCode: "680",
|
|
15093
|
+
},
|
|
15094
|
+
PS: {
|
|
15095
|
+
isoCode: "PS",
|
|
15096
|
+
en: "State of Palestine",
|
|
15097
|
+
fi: "Palestiina",
|
|
15098
|
+
sv: "Palestinska territoriet, ockuperade",
|
|
15099
|
+
telephoneCountryCode: "970",
|
|
15100
|
+
},
|
|
15101
|
+
PA: {
|
|
15102
|
+
isoCode: "PA",
|
|
15103
|
+
en: "Panama",
|
|
15104
|
+
fi: "Panama",
|
|
15105
|
+
sv: "Panama",
|
|
15106
|
+
telephoneCountryCode: "507",
|
|
15107
|
+
},
|
|
15108
|
+
PG: {
|
|
15109
|
+
isoCode: "PG",
|
|
15110
|
+
en: "Papua New Guinea",
|
|
15111
|
+
fi: "Papua-Uusi-Guinea",
|
|
15112
|
+
sv: "Papua Nya Guinea",
|
|
15113
|
+
telephoneCountryCode: "675",
|
|
15114
|
+
},
|
|
15115
|
+
PY: {
|
|
15116
|
+
isoCode: "PY",
|
|
15117
|
+
en: "Paraguay",
|
|
15118
|
+
fi: "Paraguay",
|
|
15119
|
+
sv: "Paraguay",
|
|
15120
|
+
telephoneCountryCode: "595",
|
|
15121
|
+
},
|
|
15122
|
+
PE: {
|
|
15123
|
+
isoCode: "PE",
|
|
15124
|
+
en: "Peru",
|
|
15125
|
+
fi: "Peru",
|
|
15126
|
+
sv: "Peru",
|
|
15127
|
+
telephoneCountryCode: "51",
|
|
15128
|
+
},
|
|
15129
|
+
PH: {
|
|
15130
|
+
isoCode: "PH",
|
|
15131
|
+
en: "Philippines",
|
|
15132
|
+
fi: "Filippiinit",
|
|
15133
|
+
sv: "Filippinerna",
|
|
15134
|
+
telephoneCountryCode: "63",
|
|
15135
|
+
},
|
|
15136
|
+
PN: {
|
|
15137
|
+
isoCode: "PN",
|
|
15138
|
+
en: "Pitcairn",
|
|
15139
|
+
fi: "Pitcairn",
|
|
15140
|
+
sv: "Pitcairnöarna",
|
|
15141
|
+
},
|
|
15142
|
+
PL: {
|
|
15143
|
+
isoCode: "PL",
|
|
15144
|
+
en: "Poland",
|
|
15145
|
+
fi: "Puola",
|
|
15146
|
+
sv: "Polen",
|
|
15147
|
+
telephoneCountryCode: "48",
|
|
15148
|
+
},
|
|
15149
|
+
PT: {
|
|
15150
|
+
isoCode: "PT",
|
|
15151
|
+
en: "Portugal",
|
|
15152
|
+
fi: "Portugali",
|
|
15153
|
+
sv: "Portugal",
|
|
15154
|
+
telephoneCountryCode: "351",
|
|
15155
|
+
},
|
|
15156
|
+
PR: {
|
|
15157
|
+
isoCode: "PR",
|
|
15158
|
+
en: "Puerto Rico",
|
|
15159
|
+
fi: "Puerto Rico",
|
|
15160
|
+
sv: "Puerto Rico",
|
|
15161
|
+
telephoneCountryCode: "1",
|
|
15162
|
+
},
|
|
15163
|
+
QA: {
|
|
15164
|
+
isoCode: "QA",
|
|
15165
|
+
en: "Qatar",
|
|
15166
|
+
fi: "Qatar",
|
|
15167
|
+
sv: "Qatar",
|
|
15168
|
+
telephoneCountryCode: "974",
|
|
15169
|
+
},
|
|
15170
|
+
RE: {
|
|
15171
|
+
isoCode: "RE",
|
|
15172
|
+
en: "Reunion",
|
|
15173
|
+
fi: "Réunion",
|
|
15174
|
+
sv: "Réunion",
|
|
15175
|
+
telephoneCountryCode: "262",
|
|
15176
|
+
},
|
|
15177
|
+
RO: {
|
|
15178
|
+
isoCode: "RO",
|
|
15179
|
+
en: "Romania",
|
|
15180
|
+
fi: "Romania",
|
|
15181
|
+
sv: "Rumänien",
|
|
15182
|
+
telephoneCountryCode: "40",
|
|
15183
|
+
},
|
|
15184
|
+
RU: {
|
|
15185
|
+
isoCode: "RU",
|
|
15186
|
+
en: "Russian Federation",
|
|
15187
|
+
fi: "Venäjä",
|
|
15188
|
+
sv: "Ryssland",
|
|
15189
|
+
telephoneCountryCode: "7",
|
|
15190
|
+
},
|
|
15191
|
+
RW: {
|
|
15192
|
+
isoCode: "RW",
|
|
15193
|
+
en: "Rwanda",
|
|
15194
|
+
fi: "Ruanda",
|
|
15195
|
+
sv: "Rwanda",
|
|
15196
|
+
telephoneCountryCode: "250",
|
|
15197
|
+
},
|
|
15198
|
+
SH: {
|
|
15199
|
+
isoCode: "SH",
|
|
15200
|
+
en: "Saint Helena",
|
|
15201
|
+
fi: "Saint Helena",
|
|
15202
|
+
sv: "Sankta Helena",
|
|
15203
|
+
telephoneCountryCode: "290",
|
|
15204
|
+
},
|
|
15205
|
+
KN: {
|
|
15206
|
+
isoCode: "KN",
|
|
15207
|
+
en: "Saint Kitts and Nevis",
|
|
15208
|
+
fi: "Saint Kitts ja Nevis",
|
|
15209
|
+
sv: "Saint Kitts och Nevis",
|
|
15210
|
+
telephoneCountryCode: "1",
|
|
15211
|
+
},
|
|
15212
|
+
LC: {
|
|
15213
|
+
isoCode: "LC",
|
|
15214
|
+
en: "Saint Lucia",
|
|
15215
|
+
fi: "Saint Lucia",
|
|
15216
|
+
sv: "Saint Lucia",
|
|
15217
|
+
telephoneCountryCode: "1",
|
|
15218
|
+
},
|
|
15219
|
+
PM: {
|
|
15220
|
+
isoCode: "PM",
|
|
15221
|
+
en: "Saint Pierre and Miquelon",
|
|
15222
|
+
fi: "Saint-Pierre ja Miquelon",
|
|
15223
|
+
sv: "Saint-Pierre och Miquelon",
|
|
15224
|
+
telephoneCountryCode: "508",
|
|
15225
|
+
},
|
|
15226
|
+
VC: {
|
|
15227
|
+
isoCode: "VC",
|
|
15228
|
+
en: "Saint Vincent and the Grenadines",
|
|
15229
|
+
fi: "Saint Vincent ja Grenadiinit",
|
|
15230
|
+
sv: "Saint Vincent och Grenadinerna",
|
|
15231
|
+
telephoneCountryCode: "1",
|
|
15232
|
+
},
|
|
15233
|
+
WS: {
|
|
15234
|
+
isoCode: "WS",
|
|
15235
|
+
en: "Samoa",
|
|
15236
|
+
fi: "Samoa",
|
|
15237
|
+
sv: "Samoa",
|
|
15238
|
+
telephoneCountryCode: "685",
|
|
15239
|
+
},
|
|
15240
|
+
SM: {
|
|
15241
|
+
isoCode: "SM",
|
|
15242
|
+
en: "San Marino",
|
|
15243
|
+
fi: "San Marino",
|
|
15244
|
+
sv: "San Marino",
|
|
15245
|
+
telephoneCountryCode: "378",
|
|
15246
|
+
},
|
|
15247
|
+
ST: {
|
|
15248
|
+
isoCode: "ST",
|
|
15249
|
+
en: "Sao Tome and Principe",
|
|
15250
|
+
fi: "São Tomé ja Príncipe",
|
|
15251
|
+
sv: "São Tomé och Príncipe",
|
|
15252
|
+
telephoneCountryCode: "239",
|
|
15253
|
+
},
|
|
15254
|
+
SA: {
|
|
15255
|
+
isoCode: "SA",
|
|
15256
|
+
en: "Saudi Arabia",
|
|
15257
|
+
fi: "Saudi-Arabia",
|
|
15258
|
+
sv: "Saudiarabien",
|
|
15259
|
+
telephoneCountryCode: "966",
|
|
15260
|
+
},
|
|
15261
|
+
SN: {
|
|
15262
|
+
isoCode: "SN",
|
|
15263
|
+
en: "Senegal",
|
|
15264
|
+
fi: "Senegal",
|
|
15265
|
+
sv: "Senegal",
|
|
15266
|
+
telephoneCountryCode: "221",
|
|
15267
|
+
},
|
|
15268
|
+
SC: {
|
|
15269
|
+
isoCode: "SC",
|
|
15270
|
+
en: "Seychelles",
|
|
15271
|
+
fi: "Seychellit",
|
|
15272
|
+
sv: "Seychellerna",
|
|
15273
|
+
telephoneCountryCode: "248",
|
|
15274
|
+
},
|
|
15275
|
+
SL: {
|
|
15276
|
+
isoCode: "SL",
|
|
15277
|
+
en: "Sierra Leone",
|
|
15278
|
+
fi: "Sierra Leone",
|
|
15279
|
+
sv: "Sierra Leone",
|
|
15280
|
+
telephoneCountryCode: "232",
|
|
15281
|
+
},
|
|
15282
|
+
SG: {
|
|
15283
|
+
isoCode: "SG",
|
|
15284
|
+
en: "Singapore",
|
|
15285
|
+
fi: "Singapore",
|
|
15286
|
+
sv: "Singapore",
|
|
15287
|
+
telephoneCountryCode: "65",
|
|
15288
|
+
},
|
|
15289
|
+
SK: {
|
|
15290
|
+
isoCode: "SK",
|
|
15291
|
+
en: "Slovakia",
|
|
15292
|
+
fi: "Slovakia",
|
|
15293
|
+
sv: "Slovakien",
|
|
15294
|
+
telephoneCountryCode: "421",
|
|
15295
|
+
},
|
|
15296
|
+
SI: {
|
|
15297
|
+
isoCode: "SI",
|
|
15298
|
+
en: "Slovenia",
|
|
15299
|
+
fi: "Slovenia",
|
|
15300
|
+
sv: "Slovenien",
|
|
15301
|
+
telephoneCountryCode: "386",
|
|
15302
|
+
},
|
|
15303
|
+
SB: {
|
|
15304
|
+
isoCode: "SB",
|
|
15305
|
+
en: "Solomon Islands",
|
|
15306
|
+
fi: "Salomonsaaret",
|
|
15307
|
+
sv: "Salomonöarna",
|
|
15308
|
+
telephoneCountryCode: "677",
|
|
15309
|
+
},
|
|
15310
|
+
SO: {
|
|
15311
|
+
isoCode: "SO",
|
|
15312
|
+
en: "Somalia",
|
|
15313
|
+
fi: "Somalia",
|
|
15314
|
+
sv: "Somalia",
|
|
15315
|
+
telephoneCountryCode: "252",
|
|
15316
|
+
},
|
|
15317
|
+
ZA: {
|
|
15318
|
+
isoCode: "ZA",
|
|
15319
|
+
en: "South Africa",
|
|
15320
|
+
fi: "Etelä-Afrikka",
|
|
15321
|
+
sv: "Sydafrika",
|
|
15322
|
+
telephoneCountryCode: "27",
|
|
15323
|
+
},
|
|
15324
|
+
GS: {
|
|
15325
|
+
isoCode: "GS",
|
|
15326
|
+
en: "South Georgia and the South Sandwich Islands",
|
|
15327
|
+
fi: "Etelä-Georgia ja Eteläiset Sandwichsaaret",
|
|
15328
|
+
sv: "Sydgeorgien och Sydsandwichöarna",
|
|
15329
|
+
},
|
|
15330
|
+
ES: {
|
|
15331
|
+
isoCode: "ES",
|
|
15332
|
+
en: "Spain",
|
|
15333
|
+
fi: "Espanja",
|
|
15334
|
+
sv: "Spanien",
|
|
15335
|
+
telephoneCountryCode: "34",
|
|
15336
|
+
},
|
|
15337
|
+
LK: {
|
|
15338
|
+
isoCode: "LK",
|
|
15339
|
+
en: "Sri Lanka",
|
|
15340
|
+
fi: "Sri Lanka",
|
|
15341
|
+
sv: "Sri Lanka",
|
|
15342
|
+
telephoneCountryCode: "94",
|
|
15343
|
+
},
|
|
15344
|
+
SD: {
|
|
15345
|
+
isoCode: "SD",
|
|
15346
|
+
en: "Sudan",
|
|
15347
|
+
fi: "Sudan",
|
|
15348
|
+
sv: "Sudan",
|
|
15349
|
+
telephoneCountryCode: "249",
|
|
15350
|
+
},
|
|
15351
|
+
SR: {
|
|
15352
|
+
isoCode: "SR",
|
|
15353
|
+
en: "Suriname",
|
|
15354
|
+
fi: "Suriname",
|
|
15355
|
+
sv: "Surinam",
|
|
15356
|
+
telephoneCountryCode: "597",
|
|
15357
|
+
},
|
|
15358
|
+
SJ: {
|
|
15359
|
+
isoCode: "SJ",
|
|
15360
|
+
en: "Svalbard and Jan Mayen",
|
|
15361
|
+
fi: "Svalbard ja Jan Mayen",
|
|
15362
|
+
sv: "Svalbard och Jan Mayen",
|
|
15363
|
+
telephoneCountryCode: "47",
|
|
15364
|
+
},
|
|
15365
|
+
SZ: {
|
|
15366
|
+
isoCode: "SZ",
|
|
15367
|
+
en: "Eswatini",
|
|
15368
|
+
fi: "Swazimaa",
|
|
15369
|
+
sv: "Eswatini",
|
|
15370
|
+
telephoneCountryCode: "268",
|
|
15371
|
+
},
|
|
15372
|
+
SE: {
|
|
15373
|
+
isoCode: "SE",
|
|
15374
|
+
en: "Sweden",
|
|
15375
|
+
fi: "Ruotsi",
|
|
15376
|
+
sv: "Sverige",
|
|
15377
|
+
telephoneCountryCode: "46",
|
|
15378
|
+
},
|
|
15379
|
+
CH: {
|
|
15380
|
+
isoCode: "CH",
|
|
15381
|
+
en: "Switzerland",
|
|
15382
|
+
fi: "Sveitsi",
|
|
15383
|
+
sv: "Schweiz",
|
|
15384
|
+
telephoneCountryCode: "41",
|
|
15385
|
+
},
|
|
15386
|
+
SY: {
|
|
15387
|
+
isoCode: "SY",
|
|
15388
|
+
en: "Syrian Arab Republic",
|
|
15389
|
+
fi: "Syyria",
|
|
15390
|
+
sv: "Syrien",
|
|
15391
|
+
telephoneCountryCode: "963",
|
|
15392
|
+
},
|
|
15393
|
+
TW: {
|
|
15394
|
+
isoCode: "TW",
|
|
15395
|
+
en: "Taiwan, Province of China",
|
|
15396
|
+
fi: "Taiwan",
|
|
15397
|
+
sv: "Taiwan",
|
|
15398
|
+
telephoneCountryCode: "886",
|
|
15399
|
+
},
|
|
15400
|
+
TJ: {
|
|
15401
|
+
isoCode: "TJ",
|
|
15402
|
+
en: "Tajikistan",
|
|
15403
|
+
fi: "Tadžikistan",
|
|
15404
|
+
sv: "Tadzjikistan",
|
|
15405
|
+
telephoneCountryCode: "992",
|
|
15406
|
+
},
|
|
15407
|
+
TZ: {
|
|
15408
|
+
isoCode: "TZ",
|
|
15409
|
+
en: "United Republic of Tanzania",
|
|
15410
|
+
fi: "Tansania",
|
|
15411
|
+
sv: "Tanzania",
|
|
15412
|
+
telephoneCountryCode: "255",
|
|
15413
|
+
},
|
|
15414
|
+
TH: {
|
|
15415
|
+
isoCode: "TH",
|
|
15416
|
+
en: "Thailand",
|
|
15417
|
+
fi: "Thaimaa",
|
|
15418
|
+
sv: "Thailand",
|
|
15419
|
+
telephoneCountryCode: "66",
|
|
15420
|
+
},
|
|
15421
|
+
TL: {
|
|
15422
|
+
isoCode: "TL",
|
|
15423
|
+
en: "Timor-Leste",
|
|
15424
|
+
fi: "Itä-Timor",
|
|
15425
|
+
sv: "Östtimor",
|
|
15426
|
+
telephoneCountryCode: "670",
|
|
15427
|
+
},
|
|
15428
|
+
TG: {
|
|
15429
|
+
isoCode: "TG",
|
|
15430
|
+
en: "Togo",
|
|
15431
|
+
fi: "Togo",
|
|
15432
|
+
sv: "Togo",
|
|
15433
|
+
telephoneCountryCode: "228",
|
|
15434
|
+
},
|
|
15435
|
+
TK: {
|
|
15436
|
+
isoCode: "TK",
|
|
15437
|
+
en: "Tokelau",
|
|
15438
|
+
fi: "Tokelau",
|
|
15439
|
+
sv: "Tokelauöarna",
|
|
15440
|
+
telephoneCountryCode: "690",
|
|
15441
|
+
},
|
|
15442
|
+
TO: {
|
|
15443
|
+
isoCode: "TO",
|
|
15444
|
+
en: "Tonga",
|
|
15445
|
+
fi: "Tonga",
|
|
15446
|
+
sv: "Tonga",
|
|
15447
|
+
telephoneCountryCode: "676",
|
|
15448
|
+
},
|
|
15449
|
+
TT: {
|
|
15450
|
+
isoCode: "TT",
|
|
15451
|
+
en: "Trinidad and Tobago",
|
|
15452
|
+
fi: "Trinidad ja Tobago",
|
|
15453
|
+
sv: "Trinidad och Tobago",
|
|
15454
|
+
telephoneCountryCode: "1",
|
|
15455
|
+
},
|
|
15456
|
+
TN: {
|
|
15457
|
+
isoCode: "TN",
|
|
15458
|
+
en: "Tunisia",
|
|
15459
|
+
fi: "Tunisia",
|
|
15460
|
+
sv: "Tunisien",
|
|
15461
|
+
telephoneCountryCode: "216",
|
|
15462
|
+
},
|
|
15463
|
+
TR: {
|
|
15464
|
+
isoCode: "TR",
|
|
15465
|
+
en: "Türkiye",
|
|
15466
|
+
fi: "Turkki",
|
|
15467
|
+
sv: "Turkiet",
|
|
15468
|
+
telephoneCountryCode: "90",
|
|
15469
|
+
},
|
|
15470
|
+
TM: {
|
|
15471
|
+
isoCode: "TM",
|
|
15472
|
+
en: "Turkmenistan",
|
|
15473
|
+
fi: "Turkmenistan",
|
|
15474
|
+
sv: "Turkmenistan",
|
|
15475
|
+
telephoneCountryCode: "993",
|
|
15476
|
+
},
|
|
15477
|
+
TC: {
|
|
15478
|
+
isoCode: "TC",
|
|
15479
|
+
en: "Turks and Caicos Islands",
|
|
15480
|
+
fi: "Turks- ja Caicossaaret",
|
|
15481
|
+
sv: "Turks- och Caicosöarna",
|
|
15482
|
+
telephoneCountryCode: "1",
|
|
15483
|
+
},
|
|
15484
|
+
TV: {
|
|
15485
|
+
isoCode: "TV",
|
|
15486
|
+
en: "Tuvalu",
|
|
15487
|
+
fi: "Tuvalu",
|
|
15488
|
+
sv: "Tuvalu",
|
|
15489
|
+
telephoneCountryCode: "688",
|
|
15490
|
+
},
|
|
15491
|
+
UG: {
|
|
15492
|
+
isoCode: "UG",
|
|
15493
|
+
en: "Uganda",
|
|
15494
|
+
fi: "Uganda",
|
|
15495
|
+
sv: "Uganda",
|
|
15496
|
+
telephoneCountryCode: "256",
|
|
15497
|
+
},
|
|
15498
|
+
UA: {
|
|
15499
|
+
isoCode: "UA",
|
|
15500
|
+
en: "Ukraine",
|
|
15501
|
+
fi: "Ukraina",
|
|
15502
|
+
sv: "Ukraina",
|
|
15503
|
+
telephoneCountryCode: "380",
|
|
15504
|
+
},
|
|
15505
|
+
AE: {
|
|
15506
|
+
isoCode: "AE",
|
|
15507
|
+
en: "United Arab Emirates",
|
|
15508
|
+
fi: "Arabiemiirikunnat",
|
|
15509
|
+
sv: "Förenade Arabemiraten",
|
|
15510
|
+
telephoneCountryCode: "971",
|
|
15511
|
+
},
|
|
15512
|
+
GB: {
|
|
15513
|
+
isoCode: "GB",
|
|
15514
|
+
en: "United Kingdom",
|
|
15515
|
+
fi: "Yhdistynyt kuningaskunta",
|
|
15516
|
+
sv: "Storbritannien",
|
|
15517
|
+
telephoneCountryCode: "44",
|
|
15518
|
+
},
|
|
15519
|
+
US: {
|
|
15520
|
+
isoCode: "US",
|
|
15521
|
+
en: "United States of America",
|
|
15522
|
+
fi: "Yhdysvallat",
|
|
15523
|
+
sv: "USA",
|
|
15524
|
+
telephoneCountryCode: "1",
|
|
15525
|
+
},
|
|
15526
|
+
UM: {
|
|
15527
|
+
isoCode: "UM",
|
|
15528
|
+
en: "United States Minor Outlying Islands",
|
|
15529
|
+
fi: "Yhdysvaltain pienet erillissaaret",
|
|
15530
|
+
sv: "USA:s yttre öar",
|
|
15531
|
+
},
|
|
15532
|
+
UY: {
|
|
15533
|
+
isoCode: "UY",
|
|
15534
|
+
en: "Uruguay",
|
|
15535
|
+
fi: "Uruguay",
|
|
15536
|
+
sv: "Uruguay",
|
|
15537
|
+
telephoneCountryCode: "598",
|
|
15538
|
+
},
|
|
15539
|
+
UZ: {
|
|
15540
|
+
isoCode: "UZ",
|
|
15541
|
+
en: "Uzbekistan",
|
|
15542
|
+
fi: "Uzbekistan",
|
|
15543
|
+
sv: "Uzbekistan",
|
|
15544
|
+
telephoneCountryCode: "998",
|
|
15545
|
+
},
|
|
15546
|
+
VU: {
|
|
15547
|
+
isoCode: "VU",
|
|
15548
|
+
en: "Vanuatu",
|
|
15549
|
+
fi: "Vanuatu",
|
|
15550
|
+
sv: "Vanuatu",
|
|
15551
|
+
telephoneCountryCode: "678",
|
|
15552
|
+
},
|
|
15553
|
+
VE: {
|
|
15554
|
+
isoCode: "VE",
|
|
15555
|
+
en: "Venezuela",
|
|
15556
|
+
fi: "Venezuela",
|
|
15557
|
+
sv: "Venezuela",
|
|
15558
|
+
telephoneCountryCode: "58",
|
|
15559
|
+
},
|
|
15560
|
+
VN: {
|
|
15561
|
+
isoCode: "VN",
|
|
15562
|
+
en: "Vietnam",
|
|
15563
|
+
fi: "Vietnam",
|
|
15564
|
+
sv: "Vietnam",
|
|
15565
|
+
telephoneCountryCode: "84",
|
|
15566
|
+
},
|
|
15567
|
+
VG: {
|
|
15568
|
+
isoCode: "VG",
|
|
15569
|
+
en: "Virgin Islands, British",
|
|
15570
|
+
fi: "Brittiläiset Neitsytsaaret",
|
|
15571
|
+
sv: "Brittiska Jungfruöarna",
|
|
15572
|
+
telephoneCountryCode: "1",
|
|
15573
|
+
},
|
|
15574
|
+
VI: {
|
|
15575
|
+
isoCode: "VI",
|
|
15576
|
+
en: "Virgin Islands, U.S.",
|
|
15577
|
+
fi: "Yhdysvaltain Neitsytsaaret",
|
|
15578
|
+
sv: "Amerikanska Jungfruöarna",
|
|
15579
|
+
telephoneCountryCode: "1",
|
|
15580
|
+
},
|
|
15581
|
+
WF: {
|
|
15582
|
+
isoCode: "WF",
|
|
15583
|
+
en: "Wallis and Futuna",
|
|
15584
|
+
fi: "Wallis ja Futunasaaret",
|
|
15585
|
+
sv: "Wallis- och Futunaöarna",
|
|
15586
|
+
telephoneCountryCode: "681",
|
|
15587
|
+
},
|
|
15588
|
+
EH: {
|
|
15589
|
+
isoCode: "EH",
|
|
15590
|
+
en: "Western Sahara",
|
|
15591
|
+
fi: "Länsi-Sahara",
|
|
15592
|
+
sv: "Västsahara",
|
|
15593
|
+
telephoneCountryCode: "212",
|
|
15594
|
+
},
|
|
15595
|
+
YE: {
|
|
15596
|
+
isoCode: "YE",
|
|
15597
|
+
en: "Yemen",
|
|
15598
|
+
fi: "Jemen",
|
|
15599
|
+
sv: "Jemen",
|
|
15600
|
+
telephoneCountryCode: "967",
|
|
15601
|
+
},
|
|
15602
|
+
ZM: {
|
|
15603
|
+
isoCode: "ZM",
|
|
15604
|
+
en: "Zambia",
|
|
15605
|
+
fi: "Sambia",
|
|
15606
|
+
sv: "Zambia",
|
|
15607
|
+
telephoneCountryCode: "260",
|
|
15608
|
+
},
|
|
15609
|
+
ZW: {
|
|
15610
|
+
isoCode: "ZW",
|
|
15611
|
+
en: "Zimbabwe",
|
|
15612
|
+
fi: "Zimbabwe",
|
|
15613
|
+
sv: "Zimbabwe",
|
|
15614
|
+
telephoneCountryCode: "263",
|
|
15615
|
+
},
|
|
15616
|
+
AX: {
|
|
15617
|
+
isoCode: "AX",
|
|
15618
|
+
en: "Åland Islands",
|
|
15619
|
+
fi: "Ahvenanmaa",
|
|
15620
|
+
sv: "Åland",
|
|
15621
|
+
telephoneCountryCode: "358",
|
|
15622
|
+
},
|
|
15623
|
+
BQ: {
|
|
15624
|
+
isoCode: "BQ",
|
|
15625
|
+
en: "Bonaire, Sint Eustatius and Saba",
|
|
15626
|
+
fi: "Bonaire, Sint Eustatius ja Saba",
|
|
15627
|
+
sv: "Bonaire, Saint Eustatius och Saba",
|
|
15628
|
+
telephoneCountryCode: "599",
|
|
15629
|
+
},
|
|
15630
|
+
CW: {
|
|
15631
|
+
isoCode: "CW",
|
|
15632
|
+
en: "Curaçao",
|
|
15633
|
+
fi: "Curaçao",
|
|
15634
|
+
sv: "Curacao",
|
|
15635
|
+
telephoneCountryCode: "599",
|
|
15636
|
+
},
|
|
15637
|
+
GG: {
|
|
15638
|
+
isoCode: "GG",
|
|
15639
|
+
en: "Guernsey",
|
|
15640
|
+
fi: "Guernsey",
|
|
15641
|
+
sv: "Guernsey",
|
|
15642
|
+
telephoneCountryCode: "44",
|
|
15643
|
+
},
|
|
15644
|
+
IM: {
|
|
15645
|
+
isoCode: "IM",
|
|
15646
|
+
en: "Isle of Man",
|
|
15647
|
+
fi: "Mansaari",
|
|
15648
|
+
sv: "Isle of Man",
|
|
15649
|
+
telephoneCountryCode: "44",
|
|
15650
|
+
},
|
|
15651
|
+
JE: {
|
|
15652
|
+
isoCode: "JE",
|
|
15653
|
+
en: "Jersey",
|
|
15654
|
+
fi: "Jersey",
|
|
15655
|
+
sv: "Jersey",
|
|
15656
|
+
telephoneCountryCode: "44",
|
|
15657
|
+
},
|
|
15658
|
+
ME: {
|
|
15659
|
+
isoCode: "ME",
|
|
15660
|
+
en: "Montenegro",
|
|
15661
|
+
fi: "Montenegro",
|
|
15662
|
+
sv: "Montenegro",
|
|
15663
|
+
telephoneCountryCode: "382",
|
|
15664
|
+
},
|
|
15665
|
+
BL: {
|
|
15666
|
+
isoCode: "BL",
|
|
15667
|
+
en: "Saint Barthélemy",
|
|
15668
|
+
fi: "Saint-Barthélemy",
|
|
15669
|
+
sv: "Saint-Barthélemy",
|
|
15670
|
+
telephoneCountryCode: "590",
|
|
15671
|
+
},
|
|
15672
|
+
MF: {
|
|
15673
|
+
isoCode: "MF",
|
|
15674
|
+
en: "Saint Martin (French part)",
|
|
15675
|
+
fi: "Saint-Martin",
|
|
15676
|
+
sv: "Saint Martin (franska delen)",
|
|
15677
|
+
telephoneCountryCode: "590",
|
|
15678
|
+
},
|
|
15679
|
+
RS: {
|
|
15680
|
+
isoCode: "RS",
|
|
15681
|
+
en: "Serbia",
|
|
15682
|
+
fi: "Serbia",
|
|
15683
|
+
sv: "Serbien",
|
|
15684
|
+
telephoneCountryCode: "381",
|
|
15685
|
+
},
|
|
15686
|
+
SX: {
|
|
15687
|
+
isoCode: "SX",
|
|
15688
|
+
en: "Sint Maarten (Dutch part)",
|
|
15689
|
+
fi: "Sint Maarten",
|
|
15690
|
+
sv: "Sint Maarten (nederländska delen)",
|
|
15691
|
+
telephoneCountryCode: "1",
|
|
15692
|
+
},
|
|
15693
|
+
SS: {
|
|
15694
|
+
isoCode: "SS",
|
|
15695
|
+
en: "South Sudan",
|
|
15696
|
+
fi: "Etelä-Sudan",
|
|
15697
|
+
sv: "Sydsudan",
|
|
15698
|
+
telephoneCountryCode: "211",
|
|
15699
|
+
},
|
|
15700
|
+
XK: {
|
|
15701
|
+
isoCode: "XK",
|
|
15702
|
+
en: "Kosovo",
|
|
15703
|
+
fi: "Kosovo",
|
|
15704
|
+
sv: "Kosovo",
|
|
15705
|
+
telephoneCountryCode: "383",
|
|
15706
|
+
},
|
|
15707
|
+
};
|
|
15708
|
+
const primaryCountriesForSharedCountryCodes = {
|
|
15709
|
+
"1": "US",
|
|
15710
|
+
"7": "RU",
|
|
15711
|
+
"39": "IT",
|
|
15712
|
+
"44": "GB",
|
|
15713
|
+
"47": "NO",
|
|
15714
|
+
"61": "AU",
|
|
15715
|
+
"212": "MA",
|
|
15716
|
+
"262": "RE",
|
|
15717
|
+
"358": "FI",
|
|
15718
|
+
"590": "GP",
|
|
15719
|
+
"599": "CW",
|
|
15720
|
+
};
|
|
15721
|
+
|
|
15722
|
+
const duetPhoneInputCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}span.flag-container{display:flex;align-items:center;justify-content:center;width:30px;height:30px}";
|
|
15723
|
+
var DuetPhoneInputStyle0 = duetPhoneInputCss;
|
|
15724
|
+
|
|
15725
|
+
class DuetPhoneInput {
|
|
15726
|
+
constructor(hostRef) {
|
|
15727
|
+
registerInstance(this, hostRef);
|
|
15728
|
+
this.duetChange = createEvent$2(this, "duetChange", 3);
|
|
15729
|
+
this.duetInput = createEvent$2(this, "duetInput", 3);
|
|
15730
|
+
this.duetBlur = createEvent$2(this, "duetBlur", 7);
|
|
15731
|
+
this.duetFocus = createEvent$2(this, "duetFocus", 7);
|
|
15732
|
+
this.countriesToList = Object.values(countries).filter(country => !!country.telephoneCountryCode);
|
|
15733
|
+
this.countryFlagCDNUrl = "https://cdn.duetds.com/api/assets/country-flags/";
|
|
15734
|
+
this.inputId = createID("DuetInput");
|
|
15735
|
+
this.setListFirstCountries = () => {
|
|
15736
|
+
const listFirstCodes = (typeof this.listFirst === "string" ? this.listFirst.split(",") : this.listFirst).map(c => c.trim().toUpperCase());
|
|
15737
|
+
const listFirstCountries = Object.values(countries).filter(c => listFirstCodes.includes(c.isoCode));
|
|
15738
|
+
const listRestCountries = this.countriesToList.filter(c => !listFirstCodes.includes(c.isoCode));
|
|
15739
|
+
listRestCountries.sort((a, b) => (a[this.language] > b[this.language] ? 1 : -1));
|
|
15740
|
+
this.countriesToList = [...listFirstCountries, ...listRestCountries];
|
|
15741
|
+
};
|
|
15742
|
+
this.handleFocus = () => {
|
|
15743
|
+
// check value and country code
|
|
15744
|
+
};
|
|
15745
|
+
this.handleChange = () => {
|
|
15746
|
+
//console.log(ev)
|
|
15747
|
+
};
|
|
15748
|
+
this.handleBlur = () => {
|
|
15749
|
+
//console.log(ev)
|
|
15750
|
+
};
|
|
15751
|
+
this.handleInput = () => {
|
|
15752
|
+
var _a, _b;
|
|
15753
|
+
const currentValue = (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.trim();
|
|
15754
|
+
const currentCountryCode = (this.currentCountry !== "error" && ((_b = this.currentCountry) === null || _b === void 0 ? void 0 : _b.telephoneCountryCode)) || "";
|
|
15755
|
+
const inputCountryCode = this.findCountryCode(currentValue) || "";
|
|
15756
|
+
if (!currentValue) {
|
|
15757
|
+
this.currentCountry = undefined;
|
|
15758
|
+
return;
|
|
15759
|
+
}
|
|
15760
|
+
if (currentCountryCode === inputCountryCode) {
|
|
15761
|
+
return;
|
|
15762
|
+
}
|
|
15763
|
+
if (inputCountryCode) {
|
|
15764
|
+
this.currentCountry = this.findCountryForCode(inputCountryCode);
|
|
15765
|
+
return;
|
|
15766
|
+
}
|
|
15767
|
+
// we had country, but no longer have, we are in error state
|
|
15768
|
+
if (currentCountryCode !== "error") {
|
|
15769
|
+
this.currentCountry = "error";
|
|
15770
|
+
}
|
|
15771
|
+
// we don't have new country, and did not have old country, so old country is "error" - leave it
|
|
15772
|
+
return;
|
|
15773
|
+
};
|
|
15774
|
+
this.handleCountryCodeSelectorOpen = () => {
|
|
15775
|
+
this.countryCodePopup.controller = this.countryCodeButton;
|
|
15776
|
+
this.countryCodePopup.show();
|
|
15777
|
+
};
|
|
15778
|
+
this.handleCountryCodeSelectorSelect = (ev) => {
|
|
15779
|
+
const item = ev.target.closest("duet-popup-menu-item");
|
|
15780
|
+
const country = countries[item.value];
|
|
15781
|
+
this.currentCountry = country;
|
|
15782
|
+
this.countryCodePopup.hide();
|
|
15783
|
+
this.setInputCountryCode();
|
|
15784
|
+
};
|
|
15785
|
+
this.language = getLanguage();
|
|
15786
|
+
this.currentCountry = undefined;
|
|
15787
|
+
this.theme = "";
|
|
15788
|
+
this.margin = "auto";
|
|
15789
|
+
this.expand = false;
|
|
15790
|
+
this.identifier = undefined;
|
|
15791
|
+
this.accessibleDetails = undefined;
|
|
15792
|
+
this.accessibleLabelledBy = undefined;
|
|
15793
|
+
this.accessibleDescription = undefined;
|
|
15794
|
+
this.accessibleDescribedBy = undefined;
|
|
15795
|
+
this.disabled = false;
|
|
15796
|
+
this.required = false;
|
|
15797
|
+
this.labelDefaults = {
|
|
15798
|
+
fi: "Puhelinnumero",
|
|
15799
|
+
en: "Phone number",
|
|
15800
|
+
sv: "Telefonnummer",
|
|
15801
|
+
};
|
|
15802
|
+
this.label = getLocaleString(this.labelDefaults, this.language);
|
|
15803
|
+
this.labelHidden = false;
|
|
15804
|
+
this.name = undefined;
|
|
15805
|
+
this.error = "";
|
|
15806
|
+
this.tooltip = "";
|
|
15807
|
+
this.listFirst = ["FI", "SE"];
|
|
15808
|
+
}
|
|
15809
|
+
/**
|
|
15810
|
+
* The phone input itself contains a comprehensive list of countries and their telephone country codes and it is
|
|
15811
|
+
* advisable to hold to that. There may be situations where the set of possible country codes is narrowed down: e.g.
|
|
15812
|
+
* if we have established that the person giving their details has a Nordic phone number, then we can give a narrowed
|
|
15813
|
+
* down list. Do not make unjustified assumptions: e.g. a Finnish company may well have employees in Afganistan or
|
|
15814
|
+
* Bhutan. List of countries can be given either as array of ISO 3166-1 alpha-2 codes or array of objects with keys:
|
|
15815
|
+
* en, fi, sv, isoCode (two uppercase letters), telephoneCountryCode (one to three digits), or JSON array string of
|
|
15816
|
+
* either two.
|
|
15817
|
+
*/
|
|
15818
|
+
get countries() {
|
|
15819
|
+
return this.countriesToList;
|
|
15820
|
+
}
|
|
15821
|
+
set countries(countriesProp) {
|
|
15822
|
+
let arr = countriesProp;
|
|
15823
|
+
let error = "";
|
|
15824
|
+
const isValidCountryObject = (obj) => {
|
|
15825
|
+
const requiredKeys = ["en", "fi", "sv", "isoCode", "telephoneCountryCode"];
|
|
15826
|
+
return (requiredKeys.every(key => Object.keys(obj).includes(key)) &&
|
|
15827
|
+
/^[A-Z]{2}$/.test(obj["isoCode"]) &&
|
|
15828
|
+
/^[1-9][0-9]{0,2}$/.test(obj["telephoneCountryCode"]));
|
|
15829
|
+
};
|
|
15830
|
+
if (typeof countriesProp === "string") {
|
|
15831
|
+
arr = JSON.parse(countriesProp);
|
|
15832
|
+
}
|
|
15833
|
+
if (Array.isArray(arr)) {
|
|
15834
|
+
if (arr.every(a => typeof a === "string")) {
|
|
15835
|
+
this.countriesToList = Object.values(countries).filter(c => arr.includes(c.isoCode) && !!c.telephoneCountryCode);
|
|
15836
|
+
}
|
|
15837
|
+
else if (arr.every(a => isValidCountryObject(a))) {
|
|
15838
|
+
this.countriesToList = arr;
|
|
15839
|
+
}
|
|
15840
|
+
else {
|
|
15841
|
+
error = "Invalid array provided for countries in Phone Input";
|
|
15842
|
+
}
|
|
15843
|
+
}
|
|
15844
|
+
else {
|
|
15845
|
+
error = "Country list for Phone Input must be an array";
|
|
15846
|
+
}
|
|
15847
|
+
if (error) {
|
|
15848
|
+
console.error(error);
|
|
15849
|
+
this.countriesToList = Object.values(countries).filter(country => !!country.telephoneCountryCode);
|
|
15850
|
+
}
|
|
15851
|
+
this.setListFirstCountries();
|
|
15852
|
+
}
|
|
15853
|
+
/**
|
|
15854
|
+
* Value of the input.
|
|
15855
|
+
*/
|
|
15856
|
+
get value() {
|
|
15857
|
+
var _a;
|
|
15858
|
+
return (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, "");
|
|
15859
|
+
}
|
|
15860
|
+
set value(val) {
|
|
15861
|
+
this._value = val;
|
|
15862
|
+
}
|
|
15863
|
+
/**t
|
|
15864
|
+
* Component lifecycle events.
|
|
15865
|
+
*/
|
|
15866
|
+
componentWillLoad() {
|
|
15867
|
+
inheritGlobalTheme(this);
|
|
15868
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
15869
|
+
this.setListFirstCountries();
|
|
15870
|
+
}
|
|
15871
|
+
connectedCallback() {
|
|
15872
|
+
connectLanguageChangeObserver(this, { prop: "label", defaults: "labelDefaults" });
|
|
15873
|
+
subscribeTabbingChange(this);
|
|
15874
|
+
}
|
|
15875
|
+
disconnectedCallback() {
|
|
15876
|
+
disconnectLanguageChangeObserver(this);
|
|
15877
|
+
unsubscribeTabbingChange(this);
|
|
15878
|
+
}
|
|
15879
|
+
/**
|
|
15880
|
+
* Sets focus on the contained input element, use this instead of the native `input.focus()`.
|
|
15881
|
+
*/
|
|
15882
|
+
async setFocus(options) {
|
|
15883
|
+
this.duetInputElement.setFocus(options);
|
|
15884
|
+
}
|
|
15885
|
+
setInputCountryCode() {
|
|
15886
|
+
if (this.currentCountry === "error") {
|
|
15887
|
+
return;
|
|
15888
|
+
}
|
|
15889
|
+
const newCode = `+${this.currentCountry.telephoneCountryCode} `;
|
|
15890
|
+
const prevValue = this.duetInputElement.value;
|
|
15891
|
+
if (!(prevValue === null || prevValue === void 0 ? void 0 : prevValue.trim().startsWith("+"))) {
|
|
15892
|
+
this.duetInputElement.value = `${newCode}${(prevValue === null || prevValue === void 0 ? void 0 : prevValue.trimStart()) || ""}`;
|
|
15893
|
+
return;
|
|
15894
|
+
}
|
|
15895
|
+
const oldCode = this.findCountryCode(prevValue);
|
|
15896
|
+
console.log("Old code", oldCode);
|
|
15897
|
+
if (oldCode) {
|
|
15898
|
+
this.duetInputElement.value = prevValue.replace(`+${oldCode}`, newCode).replace(" ", " ");
|
|
15899
|
+
return;
|
|
15900
|
+
}
|
|
15901
|
+
this.duetInputElement.value = prevValue.replace("+", newCode);
|
|
15902
|
+
}
|
|
15903
|
+
findCountryCode(value) {
|
|
15904
|
+
const normalizedValue = value.trim();
|
|
15905
|
+
if (!normalizedValue.startsWith("+")) {
|
|
15906
|
+
return undefined;
|
|
15907
|
+
}
|
|
15908
|
+
const found = Object.values(countries).find(country => normalizedValue.startsWith(`+${country.telephoneCountryCode}`));
|
|
15909
|
+
return found === null || found === void 0 ? void 0 : found.telephoneCountryCode;
|
|
15910
|
+
}
|
|
15911
|
+
findCountryForCode(code) {
|
|
15912
|
+
const primaryCountryISO = primaryCountriesForSharedCountryCodes[code] || "";
|
|
15913
|
+
return primaryCountryISO
|
|
15914
|
+
? countries[primaryCountryISO]
|
|
15915
|
+
: Object.values(countries).find(country => country.telephoneCountryCode === code);
|
|
15916
|
+
}
|
|
15917
|
+
renderFlag(isoCode, inButton = false) {
|
|
15918
|
+
const flagImgStyle = {
|
|
15919
|
+
height: inButton ? "34px" : "24px",
|
|
15920
|
+
width: inButton ? "27px" : "24px",
|
|
15921
|
+
"margin-right": inButton ? "0" : "10px",
|
|
15922
|
+
"object-fit": "contain",
|
|
15923
|
+
"object-position": "center",
|
|
15924
|
+
filter: "drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 2px 6px rgba(0, 41, 77, 0.1))",
|
|
15925
|
+
};
|
|
15926
|
+
return (hAsync("img", { src: `${this.countryFlagCDNUrl}${isoCode}.svg`, "aria-hidden": "true", style: flagImgStyle, loading: "lazy" }));
|
|
15927
|
+
}
|
|
15928
|
+
getFlagForButton() {
|
|
15929
|
+
if (!this.currentCountry || this.currentCountry === "error") {
|
|
15930
|
+
return hAsync("duet-icon", { name: !this.currentCountry ? "form-country" : "messaging-alert", margin: "none" });
|
|
15931
|
+
}
|
|
15932
|
+
return this.renderFlag(this.currentCountry.isoCode, true);
|
|
15933
|
+
}
|
|
15934
|
+
render() {
|
|
15935
|
+
{
|
|
15936
|
+
return;
|
|
15937
|
+
}
|
|
15938
|
+
}
|
|
15939
|
+
get element() { return getElement(this); }
|
|
15940
|
+
static get style() { return DuetPhoneInputStyle0; }
|
|
15941
|
+
static get cmpMeta() { return {
|
|
15942
|
+
"$flags$": 9,
|
|
15943
|
+
"$tagName$": "duet-phone-input",
|
|
15944
|
+
"$members$": {
|
|
15945
|
+
"theme": [1025],
|
|
15946
|
+
"margin": [1],
|
|
15947
|
+
"expand": [4],
|
|
15948
|
+
"identifier": [1],
|
|
15949
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
15950
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
15951
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
15952
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
15953
|
+
"disabled": [516],
|
|
15954
|
+
"required": [4],
|
|
15955
|
+
"countries": [6145],
|
|
15956
|
+
"labelDefaults": [1, "label-default"],
|
|
15957
|
+
"label": [1025],
|
|
15958
|
+
"labelHidden": [4, "label-hidden"],
|
|
15959
|
+
"name": [1],
|
|
15960
|
+
"error": [1],
|
|
15961
|
+
"tooltip": [1],
|
|
15962
|
+
"value": [6145],
|
|
15963
|
+
"listFirst": [1, "list-first"],
|
|
15964
|
+
"language": [32],
|
|
15965
|
+
"currentCountry": [32],
|
|
15966
|
+
"setFocus": [64]
|
|
15967
|
+
},
|
|
15968
|
+
"$listeners$": undefined,
|
|
15969
|
+
"$lazyBundleId$": "-",
|
|
15970
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
15971
|
+
}; }
|
|
15972
|
+
}
|
|
15973
|
+
|
|
13960
15974
|
/**
|
|
13961
15975
|
* Custom positioning reference element.
|
|
13962
15976
|
* @see https://floating-ui.com/docs/virtual-elements
|
|
@@ -15308,6 +17322,11 @@ class DuetPopupMenu {
|
|
|
15308
17322
|
constructor(hostRef) {
|
|
15309
17323
|
registerInstance(this, hostRef);
|
|
15310
17324
|
this.duetToggle = createEvent$2(this, "duetToggle", 7);
|
|
17325
|
+
this.filterLabel = {
|
|
17326
|
+
en: "Filter menu",
|
|
17327
|
+
fi: "Suodata valikkoa",
|
|
17328
|
+
sv: "Filtrera meny",
|
|
17329
|
+
};
|
|
15311
17330
|
this.setOpenButton = (element) => {
|
|
15312
17331
|
if (!element) {
|
|
15313
17332
|
return;
|
|
@@ -15343,9 +17362,32 @@ class DuetPopupMenu {
|
|
|
15343
17362
|
this.menuY = coordinates.y;
|
|
15344
17363
|
this.menuX = coordinates.x;
|
|
15345
17364
|
};
|
|
17365
|
+
this.getNonFilteredItems = () => {
|
|
17366
|
+
return this.showFilterInput ? this.itemElements.filter(i => i.style.display !== "none") : this.itemElements;
|
|
17367
|
+
};
|
|
17368
|
+
this.filterItems = () => {
|
|
17369
|
+
var _a;
|
|
17370
|
+
const filterText = (_a = this.filterInput.value) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase();
|
|
17371
|
+
const items = this.itemElements;
|
|
17372
|
+
items.forEach(item => {
|
|
17373
|
+
item.style.display =
|
|
17374
|
+
!filterText ||
|
|
17375
|
+
item.textContent.toLowerCase().includes(filterText) ||
|
|
17376
|
+
item.value.toLowerCase().includes(filterText)
|
|
17377
|
+
? ""
|
|
17378
|
+
: "none";
|
|
17379
|
+
});
|
|
17380
|
+
};
|
|
17381
|
+
this.handleKeyDownOnFilter = (ev) => {
|
|
17382
|
+
var _a;
|
|
17383
|
+
if (isArrowDownKey(ev)) {
|
|
17384
|
+
(_a = this.getNonFilteredItems()[0]) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
17385
|
+
}
|
|
17386
|
+
};
|
|
15346
17387
|
this.open = false;
|
|
15347
17388
|
this.menuY = undefined;
|
|
15348
17389
|
this.menuX = undefined;
|
|
17390
|
+
this.language = getLanguage();
|
|
15349
17391
|
this.accessibleLabel = undefined;
|
|
15350
17392
|
this.accessibleRole = "menu";
|
|
15351
17393
|
this.theme = "";
|
|
@@ -15358,6 +17400,7 @@ class DuetPopupMenu {
|
|
|
15358
17400
|
this.crossAxisOffset = 0;
|
|
15359
17401
|
this.controllerIcon = "action-arrow-down-small";
|
|
15360
17402
|
this.scrollLimit = undefined;
|
|
17403
|
+
this.showFilterInput = undefined;
|
|
15361
17404
|
}
|
|
15362
17405
|
/**
|
|
15363
17406
|
* Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
|
|
@@ -15426,16 +17469,17 @@ class DuetPopupMenu {
|
|
|
15426
17469
|
}
|
|
15427
17470
|
}
|
|
15428
17471
|
async handleKeyDown(evt) {
|
|
17472
|
+
const items = this.getNonFilteredItems();
|
|
15429
17473
|
if (this.open) {
|
|
15430
17474
|
if (isArrowDownKey(evt)) {
|
|
15431
17475
|
evt.preventDefault();
|
|
15432
17476
|
const current = await this.getFocusedItemIndex();
|
|
15433
17477
|
if (current !== -1) {
|
|
15434
|
-
if (current <
|
|
15435
|
-
|
|
17478
|
+
if (current < items.length - 1) {
|
|
17479
|
+
items[current + 1].setFocus();
|
|
15436
17480
|
}
|
|
15437
17481
|
else {
|
|
15438
|
-
|
|
17482
|
+
items[0].setFocus();
|
|
15439
17483
|
}
|
|
15440
17484
|
}
|
|
15441
17485
|
}
|
|
@@ -15444,10 +17488,15 @@ class DuetPopupMenu {
|
|
|
15444
17488
|
const current = await this.getFocusedItemIndex();
|
|
15445
17489
|
if (current !== -1) {
|
|
15446
17490
|
if (current === 0) {
|
|
15447
|
-
this.
|
|
17491
|
+
if (this.showFilterInput) {
|
|
17492
|
+
this.filterInput.setFocus();
|
|
17493
|
+
}
|
|
17494
|
+
else {
|
|
17495
|
+
items[items.length - 1].setFocus();
|
|
17496
|
+
}
|
|
15448
17497
|
}
|
|
15449
17498
|
else {
|
|
15450
|
-
|
|
17499
|
+
items[current - 1].setFocus();
|
|
15451
17500
|
}
|
|
15452
17501
|
}
|
|
15453
17502
|
}
|
|
@@ -15511,6 +17560,10 @@ class DuetPopupMenu {
|
|
|
15511
17560
|
if (this.menuElement && this.openButton) {
|
|
15512
17561
|
this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
|
|
15513
17562
|
}
|
|
17563
|
+
if (this.showFilterInput) {
|
|
17564
|
+
this.filterInput.value = "";
|
|
17565
|
+
this.filterItems();
|
|
17566
|
+
}
|
|
15514
17567
|
setTimeout(() => {
|
|
15515
17568
|
if (this.accessibleRole === "menu") {
|
|
15516
17569
|
this.itemElements[0].setFocus();
|
|
@@ -15541,16 +17594,18 @@ class DuetPopupMenu {
|
|
|
15541
17594
|
return Array.from(this.element.querySelectorAll(":scope duet-popup-menu-item"));
|
|
15542
17595
|
}
|
|
15543
17596
|
get popupMenuStyleHeight() {
|
|
15544
|
-
|
|
17597
|
+
const selector = ":scope duet-popup-menu-item, :scope duet-notification";
|
|
17598
|
+
const elements = Array.from(this.element.querySelectorAll(selector));
|
|
17599
|
+
if (elements.length > 0 && this.scrollLimit) {
|
|
15545
17600
|
const paddings = Number(spaceXSmall.replace("px", "")) * 2;
|
|
15546
|
-
return `${
|
|
17601
|
+
return `${elements[0].offsetHeight * this.scrollLimit + paddings}px`;
|
|
15547
17602
|
}
|
|
15548
17603
|
else {
|
|
15549
17604
|
return "auto";
|
|
15550
17605
|
}
|
|
15551
17606
|
}
|
|
15552
17607
|
async getFocusedItemIndex() {
|
|
15553
|
-
const items = this.
|
|
17608
|
+
const items = this.getNonFilteredItems();
|
|
15554
17609
|
for (let i = 0; i < items.length; i++) {
|
|
15555
17610
|
if (await items[i].isFocused()) {
|
|
15556
17611
|
return i;
|
|
@@ -15566,14 +17621,14 @@ class DuetPopupMenu {
|
|
|
15566
17621
|
overflowY: "auto",
|
|
15567
17622
|
height: this.popupMenuStyleHeight,
|
|
15568
17623
|
};
|
|
15569
|
-
return (hAsync(Host, { key: '
|
|
17624
|
+
return (hAsync(Host, { key: 'd44b11810713e51b35f01a1e527de4e8fbb20a94' }, hAsync("div", { key: 'ef92e91fadf1fffee766178607e5cc6835295a56', ref: element => {
|
|
15570
17625
|
this.menuElement = element;
|
|
15571
17626
|
}, style: styles, class: {
|
|
15572
17627
|
open: this.open,
|
|
15573
17628
|
"duet-popup-menu-list": true,
|
|
15574
17629
|
"duet-theme-turva": this.theme === "turva",
|
|
15575
17630
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
15576
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
17631
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '6c81b3737473a220d8e3f0f00a2dc8fbaeadcc5d' }, hAsync("duet-input", { key: '8667feda1fb7b281082220a6c770847ecec7b03f', ref: el => (this.filterInput = el), label: this.filterLabel[this.language], "label-hidden": true, expand: true, margin: "none", type: "search", onDuetInput: this.filterItems, onKeyDown: this.handleKeyDownOnFilter }), hAsync("duet-spacer", { key: '27190fdb00333f8f4ffd28cc6d2be99a7eb74355', size: "xx-small" }))), hAsync("slot", { key: '08e56b30c4235a91e15d9e60a667ed351f9dc7a1' }))));
|
|
15577
17632
|
}
|
|
15578
17633
|
get element() { return getElement(this); }
|
|
15579
17634
|
static get watchers() { return {
|
|
@@ -15598,9 +17653,11 @@ class DuetPopupMenu {
|
|
|
15598
17653
|
"crossAxisOffset": [2, "cross-axis-offset"],
|
|
15599
17654
|
"controllerIcon": [1, "controller-icon"],
|
|
15600
17655
|
"scrollLimit": [2, "scroll-limit"],
|
|
17656
|
+
"showFilterInput": [4, "show-filter-input"],
|
|
15601
17657
|
"open": [32],
|
|
15602
17658
|
"menuY": [32],
|
|
15603
17659
|
"menuX": [32],
|
|
17660
|
+
"language": [32],
|
|
15604
17661
|
"isOpen": [64],
|
|
15605
17662
|
"show": [64],
|
|
15606
17663
|
"hide": [64],
|
|
@@ -15680,11 +17737,11 @@ class DuetPopupMenuItem {
|
|
|
15680
17737
|
"duet-theme-turva": this.theme === "turva",
|
|
15681
17738
|
"active-descendant": this.activeDescendant,
|
|
15682
17739
|
};
|
|
15683
|
-
return (hAsync(Host, { key: '
|
|
17740
|
+
return (hAsync(Host, { key: 'a7f1f878bedeaec0d9004d0f459191e517120535', role: this.accessibleRole }, hAsync(TagName, { key: '446558736ab7c3c53c5710c5d34ab10382e7583e', 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: 'fa381a4a648aedb7f83347a3f6544b74834e56d2', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: '9971da5dbe2e6f1943993c5127d72fa9b805c96c', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'c48319658f4f85dc4e052fac934a53dccfa8f6f8' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: '8dc79acb180e7c8f71a2abd13e556fd8cec0a4cf', name: this.url && this.external
|
|
15684
17741
|
? actionNewWindowSmall.title
|
|
15685
17742
|
: this.active
|
|
15686
17743
|
? "messaging-checked-small"
|
|
15687
|
-
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: '
|
|
17744
|
+
: 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: '0d97c88cad0940ac0ac9fb4ddc63b68132b38fc8', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15688
17745
|
}
|
|
15689
17746
|
get element() { return getElement(this); }
|
|
15690
17747
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15839,12 +17896,12 @@ class DuetPromoCard {
|
|
|
15839
17896
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15840
17897
|
};
|
|
15841
17898
|
const TagName = this.url ? "a" : "div";
|
|
15842
|
-
return (hAsync(Host, { key: '
|
|
17899
|
+
return (hAsync(Host, { key: '99a3a523ca9804792e3d26b2fe2f44cf8788f499', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '8eb59e651e552f3f868629c95c347a72a0b995d6', class: {
|
|
15843
17900
|
"duet-promo-card": true,
|
|
15844
17901
|
"duet-theme-turva": this.theme === "turva",
|
|
15845
17902
|
"no-bg-color": !this.backgroundColor,
|
|
15846
17903
|
"duet-promo-card-link": !!this.url,
|
|
15847
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
17904
|
+
}, style: bannerStyles }, hAsync(TagName, { key: '67c66449cd7f9747924020549c6155d62829b4f2', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: 'cac126cf7f9a7db193b307363726031b62167336', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: '8071631c045ed93e6bd62c612c9b1d908f3c1787', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: '28bc028c6c51578ade7239ee3a97a465d2280b19', class: "pre-heading" }, hAsync("slot", { key: 'e288ca8c4477fda34700eb895a71a22a131fca2d', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: 'b914a1a7e943261ef27bc33bb053a0c606f1eada', class: "heading" }, hAsync("duet-heading", { key: '3ad22ba8a74eddb6fa6e5c7e181b02b79f8bc9af', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: 'bd2b4f58517ca81d73a876481e534158c079c19f' }, hAsync("slot", { key: '710aee32ab320dc22c4e06b0f2dab01503d56ce4', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '0383f84bbf8a31012ab0533f3577811cfc22fb29', class: "description" }, hAsync("duet-paragraph", { key: 'ddd7e8b4844058575e473783326ac6a08b4ad7f7', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: 'd56f8bd9374662a5ae5767ff43d167ebb96e4ba2' }, hAsync("slot", { key: 'bf26792909ae05d5d466c4d6441f574da8bc8917', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: 'fc0ffe648d30b194b1ca946f99e414222e4a31fa', class: "action" }, hAsync("slot", { key: '735077add3c5f5b3c97762c5daed1b5e3668d4c2', name: "action" }))))))));
|
|
15848
17905
|
}
|
|
15849
17906
|
get element() { return getElement(this); }
|
|
15850
17907
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -16033,16 +18090,16 @@ class DuetRadio {
|
|
|
16033
18090
|
* Always the last one in the class.
|
|
16034
18091
|
*/
|
|
16035
18092
|
render() {
|
|
16036
|
-
return (hAsync(Host, { key: '
|
|
18093
|
+
return (hAsync(Host, { key: '71feb70b911cc0fba0477c38c4c78027fabb993a', onClick: this.onClick, class: {
|
|
16037
18094
|
horizontal: this.groupDirection === "horizontal" && !this.groupResponsive,
|
|
16038
18095
|
"horizontal-responsive": this.groupDirection === "horizontal" && this.groupResponsive,
|
|
16039
18096
|
"duet-m-0": this.margin === "none",
|
|
16040
|
-
} }, hAsync("div", { key: '
|
|
18097
|
+
} }, hAsync("div", { key: '26f49063c919e1f8b1985bb2cd00edccec3629e4', class: { "duet-radio-container": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("slot", { key: '0188449e087a008b708a81d62230b656f4396191', name: "input" }), hAsync("label", { key: '517939dfd2bc7e479da99c060f25c54bf01fa74a', inert: true, ref: element => (this.labelElement = element), class: {
|
|
16041
18098
|
"duet-label": true,
|
|
16042
18099
|
checked: this.checked,
|
|
16043
18100
|
focus: this.focus,
|
|
16044
18101
|
disabled: this.disabled || this.groupDisabled,
|
|
16045
|
-
} }, hAsync("div", { key: '
|
|
18102
|
+
} }, hAsync("div", { key: '483eac94eeac2d2b5e0fc62672d6605253cf982b', class: "duet-label-content" }, this.hasLabel ? hAsync("slot", { name: "label" }) : this.label)))));
|
|
16046
18103
|
}
|
|
16047
18104
|
get element() { return getElement(this); }
|
|
16048
18105
|
static get style() { return DuetRadioStyle0; }
|
|
@@ -16193,7 +18250,7 @@ class DuetRadioGroup {
|
|
|
16193
18250
|
* Always the last one in the class.
|
|
16194
18251
|
*/
|
|
16195
18252
|
render() {
|
|
16196
|
-
return (hAsync(Host, { key: '
|
|
18253
|
+
return (hAsync(Host, { key: 'f3c3b14c2b0d936385748b6cfb3c09a0fde813ff', onDuetChange: this.onSelect, class: { horizontal: this.direction === "horizontal" } }, hAsync("duet-fieldset", { key: 'dc64cd942714993dc800b15e44055402b833ac63', 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: 'c4e8b11b406cf10c2d2bec5f31bf04d972a02a05', slot: "tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: 'c3ea1e7fe615d332469195adcd29807d5a71e16c', name: "tooltip" }), hAsync("div", { key: '196baf0e73047d0bff685702fdf92a783563b5ec', class: { "duet-radio-group": true, "duet-no-stacking": !this.responsive } }, hAsync("slot", { key: '52e895a33bda7b26e7b95e28219ce7466ab5234a' })))));
|
|
16197
18254
|
}
|
|
16198
18255
|
get element() { return getElement(this); }
|
|
16199
18256
|
static get watchers() { return {
|
|
@@ -16343,13 +18400,13 @@ class DuetRangeSlider {
|
|
|
16343
18400
|
const rangeStyles = {
|
|
16344
18401
|
background: `-webkit-linear-gradient(left,${active} 0%,${active} ${percentage}%,${inactive} ${percentage}%)`,
|
|
16345
18402
|
};
|
|
16346
|
-
return (hAsync(Host, { key: '
|
|
18403
|
+
return (hAsync(Host, { key: 'a5b73233046d9c726d46880676d3518abf0e9d03', class: { "duet-m-0": this.margin === "none", "duet-expand": this.expand } }, hAsync("div", { key: '31ebe611a5680ccab5c4c039fed7113015b40aa5', class: {
|
|
16347
18404
|
"duet-range-container": true,
|
|
16348
18405
|
"duet-label-hidden": this.labelHidden,
|
|
16349
18406
|
"duet-theme-turva": this.theme === "turva",
|
|
16350
18407
|
"duet-ie": isInternetExplorer(),
|
|
16351
18408
|
"duet-range-disabled": this.disabled,
|
|
16352
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
18409
|
+
} }, hAsync(DuetInternalLabel, { key: 'dc2023593be13175d1ecf78cc06f6acda0ff2403', theme: theme, color: this.labelColor, weight: this.labelWeight, margin: "small", for: identifier }, this.label), hAsync("output", { key: '91b355bc7b3c1b3ce01cd9064d0293d332705d27', "aria-hidden": "true", htmlFor: identifier, class: "duet-output" }, this.value.toLocaleString(this.locale), this.unit), hAsync("input", { key: '087487d605107ce8e1aef0b3fb453a4fb165d28f', 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" }))));
|
|
16353
18410
|
}
|
|
16354
18411
|
get element() { return getElement(this); }
|
|
16355
18412
|
static get style() { return DuetRangeSliderStyle0; }
|
|
@@ -16552,10 +18609,10 @@ class DuetRangeStepper {
|
|
|
16552
18609
|
* Always the last one in the class.
|
|
16553
18610
|
*/
|
|
16554
18611
|
render() {
|
|
16555
|
-
return (hAsync("div", { key: '
|
|
18612
|
+
return (hAsync("div", { key: '92bfdf2b82bf4c6c299cbbc288a81c13449b0edc', class: {
|
|
16556
18613
|
"duet-range-stepper": true,
|
|
16557
18614
|
"duet-theme-turva": this.theme === "turva",
|
|
16558
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
18615
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: 'c0c007aa816eec8a7ae151b272b3bc948cba4a94', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '86d4d9ed69039243ca294fc4158237d08ddf7083', 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: '0807cc9746426dfca2540572c26e8987de685d58', 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: "" })));
|
|
16559
18616
|
}
|
|
16560
18617
|
get element() { return getElement(this); }
|
|
16561
18618
|
static get watchers() { return {
|
|
@@ -16584,7 +18641,7 @@ class DuetRangeStepper {
|
|
|
16584
18641
|
}; }
|
|
16585
18642
|
}
|
|
16586
18643
|
|
|
16587
|
-
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left
|
|
18644
|
+
const duetScrollableCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;-webkit-tap-highlight-color:transparent}:host{position:relative !important}:host .duet-scrollable-items{position:relative;display:flex}:host .duet-scrollable-items.buttons .duet-scrollable-button-container{position:relative;flex:0 0 auto;flex-basis:40px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--occluded{flex-basis:0;flex-shrink:1;width:0;padding:10px 0;overflow:hidden;visibility:hidden}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute{position:absolute;top:0;z-index:202;width:auto;height:100%;padding:0 16px;background-color:rgb(255, 255, 255)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.left{left:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container--absolute.right{right:0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button{position:absolute;display:flex;flex:0 0 auto;flex-basis:40px;align-items:center;height:100%;cursor:pointer;transition:transform 300ms ease}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button:active duet-icon{transition:transform 300ms ease;transform:scale(0.8)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--left{left:0;padding:10px 10px 10px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--right{right:0;padding:10px 0 10px 10px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--top{align-items:flex-start}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--bottom{align-items:flex-end}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute{padding:0 7px;border:1px solid rgb(212, 223, 229)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--left{border-radius:8px 0 0 8px}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute.duet-scrollable-button--right{border-radius:0 8px 8px 0}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(0, 119, 179);border-width:2px;}.duet-theme-turva :host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items.buttons .duet-scrollable-button-container .duet-scrollable-button[hidden]{display:none !important}:host .duet-scrollable-items.duet-theme-turva .duet-scrollable-button-container .duet-scrollable-button--absolute:hover{border-color:rgb(113, 118, 132)}:host .duet-scrollable-items .duet-scrollable-list{display:flex;flex-wrap:nowrap;padding-inline:10px;margin-inline:-10px;overflow-x:auto;overflow-y:hidden;white-space:nowrap;scroll-snap-type:x mandatory;scroll-behavior:smooth;scroll-margin:0 20px;-ms-overflow-style:-ms-autohiding-scrollbar;-webkit-overflow-scrolling:touch;-webkit-mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);-webkit-mask-size:50% 100%, 50% 100%;-webkit-mask-position:left, right;-webkit-mask-repeat:no-repeat;mask:linear-gradient(to right, transparent 0, #fff 10px), linear-gradient(to left, transparent 0, #fff 10px);mask-size:50% 100%, 50% 100%;mask-position:left, right;mask-repeat:no-repeat;}:host .duet-scrollable-items .duet-scrollable-list--absolute{padding-right:0;padding-left:2px;margin-inline:0;-webkit-mask:none !important;mask:none !important}:host .duet-scrollable-items .duet-scrollable-list:not(.buttons){white-space:normal}:host .duet-scrollable-items .duet-scrollable-list::-webkit-scrollbar{display:none}:host .duet-scrollable-items .duet-scrollable-list.collapsed{flex-wrap:wrap}:host .duet-scrollable-items .duet-scrollable-list.gap-none{gap:0}:host .duet-scrollable-items .duet-scrollable-list.gap-large{gap:20px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--xx-small{padding-top:4px;padding-bottom:4px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--x-small{padding-top:8px;padding-bottom:8px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--small{padding-top:12px;padding-bottom:12px}:host .duet-scrollable-items .duet-scrollable-list.duet-overflow-padding--medium{padding-top:16px;padding-bottom:16px}:host .duet-scrollable-items.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}";
|
|
16588
18645
|
var DuetScrollableStyle0 = duetScrollableCss;
|
|
16589
18646
|
|
|
16590
18647
|
/**
|
|
@@ -16605,7 +18662,8 @@ class DuetScrollable {
|
|
|
16605
18662
|
*/
|
|
16606
18663
|
this.resizeObserver = new ResizeObserver(entries => {
|
|
16607
18664
|
if ((entries === null || entries === void 0 ? void 0 : entries.length) === 1) {
|
|
16608
|
-
this.
|
|
18665
|
+
const threshold = this.getOverlayWidth();
|
|
18666
|
+
this.checkScrollingNeeded(entries[0].target, threshold);
|
|
16609
18667
|
}
|
|
16610
18668
|
});
|
|
16611
18669
|
this.collapsedOnClick = () => {
|
|
@@ -16639,7 +18697,8 @@ class DuetScrollable {
|
|
|
16639
18697
|
componentDidLoad() {
|
|
16640
18698
|
requestAnimationFrame(() => {
|
|
16641
18699
|
if (this.scrollPaneElement) {
|
|
16642
|
-
this.
|
|
18700
|
+
const threshold = this.buttonPosition === "absolute" ? 0 : 5;
|
|
18701
|
+
this.checkScrollingNeeded(this.scrollPaneElement, threshold);
|
|
16643
18702
|
this.updateScrollButtons();
|
|
16644
18703
|
this.resizeObserver.observe(this.scrollPaneElement);
|
|
16645
18704
|
}
|
|
@@ -16668,7 +18727,7 @@ class DuetScrollable {
|
|
|
16668
18727
|
}
|
|
16669
18728
|
const parentWidth = ((_a = element.parentElement) === null || _a === void 0 ? void 0 : _a.getBoundingClientRect().width) || 0;
|
|
16670
18729
|
const contentWidth = element.scrollWidth;
|
|
16671
|
-
const overlayWidth =
|
|
18730
|
+
const overlayWidth = this.getOverlayWidth() * 2;
|
|
16672
18731
|
this.needsScrolling = contentWidth - overlayWidth > parentWidth + threshold;
|
|
16673
18732
|
if (!this.needsScrolling) {
|
|
16674
18733
|
this.scrollPaneAtStart = true;
|
|
@@ -16722,10 +18781,10 @@ class DuetScrollable {
|
|
|
16722
18781
|
else if (container.scrollLeft > 0) {
|
|
16723
18782
|
this.scrollPaneAtStart = false;
|
|
16724
18783
|
}
|
|
16725
|
-
if (container.clientWidth + container.scrollLeft +
|
|
18784
|
+
if (container.clientWidth + container.scrollLeft + this.getOverlayWidth() >= container.scrollWidth) {
|
|
16726
18785
|
this.scrollPaneAtEnd = true;
|
|
16727
18786
|
}
|
|
16728
|
-
else if (container.clientWidth + container.scrollLeft +
|
|
18787
|
+
else if (container.clientWidth + container.scrollLeft + this.getOverlayWidth() < container.scrollWidth) {
|
|
16729
18788
|
this.scrollPaneAtEnd = false;
|
|
16730
18789
|
}
|
|
16731
18790
|
}
|
|
@@ -16773,6 +18832,9 @@ class DuetScrollable {
|
|
|
16773
18832
|
const last = this.getLastVisibleElement();
|
|
16774
18833
|
this.scrollToElement(last + 1, "center");
|
|
16775
18834
|
}
|
|
18835
|
+
getOverlayWidth() {
|
|
18836
|
+
return this.buttonPosition === "absolute" ? 0 : 10;
|
|
18837
|
+
}
|
|
16776
18838
|
renderButton(direction) {
|
|
16777
18839
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
16778
18840
|
const arrowColorDisabled = this.theme === "turva" ? "color-gray-turva" : "color-gray";
|
|
@@ -16807,24 +18869,25 @@ class DuetScrollable {
|
|
|
16807
18869
|
* Always the last one in the class.
|
|
16808
18870
|
*/
|
|
16809
18871
|
render() {
|
|
16810
|
-
return (hAsync(Host, { key: '
|
|
18872
|
+
return (hAsync(Host, { key: '65a41819ff5a4fc6439dad5a825100dac1b612d5', class: {
|
|
16811
18873
|
"duet-theme-turva": this.theme === "turva",
|
|
16812
18874
|
"duet-theme-default": this.theme === "default",
|
|
16813
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
18875
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'a6c99e77cba06a8d3860a99fd2dc86e3031788da', class: {
|
|
16814
18876
|
collapse: true,
|
|
16815
18877
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16816
|
-
} }, hAsync("duet-button", { key: '
|
|
18878
|
+
} }, hAsync("duet-button", { key: '3b8f3e1e318c3fcded2f9827c4a9af4c6196909c', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '613245c8fb10c0165cf7d4a0074b9601dc1feca5', name: "collapse-button-label" })))), hAsync("div", { key: '6f36e5e9b18de0faadc546236545b966ef7977e0', class: {
|
|
16817
18879
|
"duet-scrollable-items": true,
|
|
16818
18880
|
buttons: this.buttons,
|
|
16819
18881
|
center: this.center,
|
|
16820
18882
|
"duet-theme-turva": this.theme === "turva",
|
|
16821
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
18883
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '4177a64fde1b078c4141ef466efaa1be1e0a002e', class: {
|
|
16822
18884
|
"duet-scrollable-list": true,
|
|
16823
18885
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16824
18886
|
[`gap-${this.gap}`]: true,
|
|
16825
18887
|
collapsed: this.collapsed,
|
|
16826
18888
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16827
|
-
|
|
18889
|
+
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
18890
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: 'b83cacb280520642b51ff7380203cd9ff9a4655c' })), this.buttons && this.renderButton("right"))));
|
|
16828
18891
|
}
|
|
16829
18892
|
get element() { return getElement(this); }
|
|
16830
18893
|
static get watchers() { return {
|
|
@@ -16856,7 +18919,7 @@ class DuetScrollable {
|
|
|
16856
18919
|
}; }
|
|
16857
18920
|
}
|
|
16858
18921
|
|
|
16859
|
-
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle)
|
|
18922
|
+
const duetSectionLayoutCss = "*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;display:block;flex:1 0 auto;width:100%}:host(.duet-middle) .duet-layout{padding:36px 28px !important}@media (min-width: 36em){:host(.duet-middle) .duet-layout{padding:48px 36px !important}}@media (min-width: 62em){:host(.duet-middle) .duet-layout{padding:56px !important}}:host(.duet-ie){height:100%}:host(.duet-middle.duet-ie){height:auto}.duet-layout-wrapper{display:block;margin:48px 0 36px;overflow-x:clip}@media (min-width: 36em){.duet-layout-wrapper{margin-top:72px}}@media (min-width: 62em){.duet-layout-wrapper{margin-bottom:48px}}.duet-layout-wrapper.duet-m-0{margin-top:0 !important;margin-bottom:0 !important}.duet-layout-wrapper>*{width:100%}.duet-layout{position:relative;padding:0 16px;margin:0 auto}@media (max-width: 20.5em){.duet-layout.padding-xxx-small{padding:0}}@media (max-width: 22.5em){.duet-layout.padding-xx-small{padding:0}}@media (max-width: 35.9375em){.duet-layout.padding-x-small{padding:0}}@media (min-width: 36em){.duet-layout.padding-small{padding:0}}@media (min-width: 48em){.duet-layout.padding-medium{padding:0}}@media (min-width: 62em){.duet-layout.padding-large{padding:0}}@media (min-width: 64.0625em){.duet-layout.padding-x-large{padding:0}}@media (min-width: 76.25em){.duet-layout.padding-xx-large{padding:0}}@media (min-width: 106.25em){.duet-layout.padding-xxx-large{padding:0}}@media (min-width: 36em){.duet-layout{padding:0 28px}}@media (min-width: 62em){.duet-layout{display:flex;flex-direction:row;padding:0 56px}}@media (min-width: 76.25em){.duet-layout{max-width:1110px;padding:0}}.duet-main{display:block;width:100%}@media (min-width: 62em){.duet-main{min-width:600px;margin:0 auto}}";
|
|
16860
18923
|
var DuetSectionLayoutStyle0 = duetSectionLayoutCss;
|
|
16861
18924
|
|
|
16862
18925
|
class DuetSectionLayout {
|
|
@@ -16871,13 +18934,13 @@ class DuetSectionLayout {
|
|
|
16871
18934
|
* Always the last one in the class.
|
|
16872
18935
|
*/
|
|
16873
18936
|
render() {
|
|
16874
|
-
return (hAsync(Host, { key: '
|
|
18937
|
+
return (hAsync(Host, { key: '1746e2c6dcd7f8705375316e1fbe3e2607366ad0', class: {
|
|
16875
18938
|
"duet-middle": this.middle,
|
|
16876
18939
|
"duet-ie": isInternetExplorer(),
|
|
16877
|
-
} }, hAsync("div", { key: '
|
|
18940
|
+
} }, hAsync("div", { key: 'e0c7c03f57c63b4aa143aff4a370d4de5f7ed897', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'e7f4efc797db5e85f433fa4a7fae553c0c8b0c84', class: {
|
|
16878
18941
|
"duet-layout": true,
|
|
16879
18942
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16880
|
-
} }, hAsync("section", { key: '
|
|
18943
|
+
} }, hAsync("section", { key: '80e393154028ec89720d0b3ab2ca3daa8b0021a5', class: "duet-main" }, hAsync("slot", { key: '8713e44ca256992eeeb397c6ff2a73613e73ab52' }))))));
|
|
16881
18944
|
}
|
|
16882
18945
|
get element() { return getElement(this); }
|
|
16883
18946
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -17046,23 +19109,23 @@ class DuetSelect {
|
|
|
17046
19109
|
*/
|
|
17047
19110
|
render() {
|
|
17048
19111
|
const identifier = this.identifier || this.selectId;
|
|
17049
|
-
return (hAsync(Host, { key: '
|
|
19112
|
+
return (hAsync(Host, { key: '97e300d180fa7ab77642e9dcef5058668239dfbb', onClick: this.onClick, class: {
|
|
17050
19113
|
"duet-m-0": this.margin === "none",
|
|
17051
19114
|
"duet-expand": this.expand,
|
|
17052
19115
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17053
|
-
} }, hAsync("div", { key: '
|
|
19116
|
+
} }, hAsync("div", { key: '9134150079957ab03ec32590971e21d5bc5b25f9', class: {
|
|
17054
19117
|
"duet-select-container": true,
|
|
17055
19118
|
"duet-label-hidden": this.labelHidden,
|
|
17056
19119
|
"duet-theme-turva": this.theme === "turva",
|
|
17057
19120
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17058
19121
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
17059
19122
|
"has-error": !!this.error,
|
|
17060
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
19123
|
+
} }, hAsync(DuetInternalLabel, { key: '018de10ebd412b11be1d446bd6fd1652d2fbf679', 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: 'eabe0942894995ecdb037653aaa90e03e9da3f33', direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '126da083fad012a9052281e3778bc5c51fff5e60', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '8eb1983df70277d37388732ce451cd847c145dc5', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '74a04f197d688a20f718f4ddbee19ef9060c9739', class: "duet-select-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '39892af927657f837f5cc896a86fab5a07e1af37', id: this.topCaptionPlaceholderId, class: "duet-select-placeholder", size: "small" }, this.placeholder)), hAsync("select", { key: '4f2be5c44a926919c407880e6874a97fc40f51fa', 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: '046648968380fbe7fa5a2053110d49c4c676cc71', 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 => {
|
|
17061
19124
|
return isOptionGroup(item) ? this.renderOptionGroup(item) : this.renderOption(item);
|
|
17062
|
-
}))), hAsync("div", { key: '
|
|
19125
|
+
}))), hAsync("div", { key: 'd6c94ad90d42bd4cd48ee1b71cd519039ccf820d', class: {
|
|
17063
19126
|
"duet-select": true,
|
|
17064
19127
|
[`duet-select-variation-${this.variation}`]: true,
|
|
17065
|
-
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '
|
|
19128
|
+
}, "aria-hidden": "true" }, hAsync("span", { key: this.value, class: "duet-select-selected-value" }, this.getSelectedItemLabel()), (this.variation === "default" && (hAsync("svg", { key: '72989e90419aa12dcd0d99777e339fc6bb2bef5a', role: "img", class: "duet-select-icon", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '34704b7bd82d187c493f09178919599e43462623', 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: '4ef38c6f98d6dedb19ad04aa03680a8d99501a3a', theme: this.theme, name: "action-arrow-down-small", color: "currentColor", margin: "none", size: this.variation === "compact" ? "xxx-small" : "xx-small" }))), hAsync("span", { key: '6bc9fe41f6e5aa9675e48237fde023c23f63b308', class: "duet-keep-container-height", role: "presention", "aria-hidden": "true" }, "_")), hAsync("span", { key: 'd118ae5b26e0fd90fe265c45daf4240f3901640d', class: "duet-select-help", id: this.errorId, "aria-live": this.accessibleLiveError, "aria-atomic": "true", "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '0a66ce81164743ccb5f7f9121194795d15bb3ab0' }, this.error)))));
|
|
17066
19129
|
}
|
|
17067
19130
|
get element() { return getElement(this); }
|
|
17068
19131
|
static get watchers() { return {
|
|
@@ -17135,9 +19198,9 @@ class DuetShapedImage {
|
|
|
17135
19198
|
const style = {
|
|
17136
19199
|
"--rotation": `${this.rotation}deg`,
|
|
17137
19200
|
};
|
|
17138
|
-
return (hAsync(Host, { key: '
|
|
19201
|
+
return (hAsync(Host, { key: '5522041ea6be717a1e51746d39c5538aad516960', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '79a8effca6e0f6e4412eb33ce2be7c4755816062', class: {
|
|
17139
19202
|
"shaped-image": true,
|
|
17140
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
19203
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '854f93ef8bb874859644425e1b409f1160d2fd65', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: 'df7a769d6c82ef9e2a169800079c0d6e20ffde78', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
17141
19204
|
}
|
|
17142
19205
|
static get style() { return DuetShapedImageStyle0; }
|
|
17143
19206
|
static get cmpMeta() { return {
|
|
@@ -17245,12 +19308,12 @@ class DuetShowMore {
|
|
|
17245
19308
|
* Always the last one of the class.
|
|
17246
19309
|
*/
|
|
17247
19310
|
render() {
|
|
17248
|
-
return (hAsync(Host, { key: '
|
|
19311
|
+
return (hAsync(Host, { key: 'ef627056589c603539d480e8fa4b98d62926c407' }, hAsync("div", { key: '2338f98e828eb9fa1752c410155f1950a7db6929', class: {
|
|
17249
19312
|
"duet-show-more": true,
|
|
17250
19313
|
"duet-theme-turva": this.theme === "turva",
|
|
17251
19314
|
"duet-m-0": this.margin === "none",
|
|
17252
19315
|
open: this.open,
|
|
17253
|
-
} }, hAsync("div", { key: '
|
|
19316
|
+
} }, hAsync("div", { key: '6843c1073eb5e3d32b240523cf4f6438aceda390', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: '1f50d0de6d6e467b6d001de9c14c40e765432b83', class: { "slotted-content": true } }, hAsync("slot", { key: 'ae4f7c65883e2d7cbba0b9b7dad0403e8679dfe3' }))), hAsync("duet-button", { key: '41ab2c46d81106aa01df2c856ed26ba7aa8ec298', 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: 'f0f97a072bc00a04d6d2cdaceb03dd34b1571fbb' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
17254
19317
|
}
|
|
17255
19318
|
get element() { return getElement(this); }
|
|
17256
19319
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -17747,16 +19810,16 @@ class DuetSlideout {
|
|
|
17747
19810
|
};
|
|
17748
19811
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17749
19812
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17750
|
-
return (hAsync(Host, { key: '
|
|
19813
|
+
return (hAsync(Host, { key: 'c299a850fff6c11bcca6e85576c04bf74e367619' }, hAsync("div", { key: '76b69d00087367d0cfcf5de14d4023180b4fa42d', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '6daa912479f25ecd3e5527ab40861590fc36f150', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: '9dc84e8113b5243b44224407df8d4c89eafdf2b7', 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: {
|
|
17751
19814
|
dialog: true,
|
|
17752
19815
|
hidden: !this.open,
|
|
17753
19816
|
modal: this.modal,
|
|
17754
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19817
|
+
}, style: styles }, hAsync(FocusGuard, { key: '132b28a73aa0dc07ee1f159c59c0f6ca5c7c5e09', moveFocusTo: this.closeButton }), hAsync("div", { key: 'cb528ca9e0ee385299a9e042d8f1a42d422d7a1a', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'b9e5deae2f2cf48c3d652e885002f30cc434660d', class: "top" }, hAsync("button", { key: 'fc5ab74ac6519c2c503131d21fc9239ddf3a1bf8', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17755
19818
|
"slideout-close": true,
|
|
17756
19819
|
active: this.open,
|
|
17757
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
19820
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '2c2217a591e73c3121d123a9e3f6062e8d243d9a', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '1bf96970d244ee1941f3db97c89cac30c4d71f9e', class: "sticky-header" }, hAsync("slot", { key: '1d6dca6fc160b198115c7d1469576c6bc4f863ac', name: "sticky-header" }))), hAsync("div", { key: '514f42edc0e6477bf154e0de2fdaa9bbe7c3ffea', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17758
19821
|
items: true,
|
|
17759
|
-
} }, hAsync("slot", { key: '
|
|
19822
|
+
} }, hAsync("slot", { key: '982778a16720e0b741c702729b87aa3f805da499' })), hAsync(FocusGuard, { key: 'ee76635f5ccb38cc512e1d8a862fc9fd85f72666', moveFocusTo: this.closeButton })))));
|
|
17760
19823
|
}
|
|
17761
19824
|
get element() { return getElement(this); }
|
|
17762
19825
|
static get watchers() { return {
|
|
@@ -17823,7 +19886,7 @@ class DuetSlideoutLang {
|
|
|
17823
19886
|
*/
|
|
17824
19887
|
render() {
|
|
17825
19888
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17826
|
-
return (hAsync(Host, { key: '
|
|
19889
|
+
return (hAsync(Host, { key: '82d609a07657275a896f954d42228e38dc7ca182' }, hAsync("div", { key: '45d49c23924aa9683a2f9e98dab285adaa2ea875', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '66225e67ec928fa394d67bb50a932f629488014a', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: '71c3a499a32c1ed8f398120a7ee4f7e8ce1613e4' }))));
|
|
17827
19890
|
}
|
|
17828
19891
|
get element() { return getElement(this); }
|
|
17829
19892
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17840,7 +19903,7 @@ class DuetSlideoutLang {
|
|
|
17840
19903
|
}; }
|
|
17841
19904
|
}
|
|
17842
19905
|
|
|
17843
|
-
const duetSlideoutLinkCss = "*,*::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;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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\"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active
|
|
19906
|
+
const duetSlideoutLinkCss = "*,*::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;width:100%;height:100%}.duet-slideout-link{position:relative;display:flex;gap:20px;align-items:center;justify-content:flex-start;width:100%;height:100%;padding:8px 0;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:inherit;font-weight:inherit;line-height:1.25;color:inherit;text-align:left;text-decoration:none}.duet-slideout-link:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva .duet-slideout-link:focus,.duet-slideout-link:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-slideout-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\"}.duet-slideout-link.active span{position:relative}.duet-slideout-link.active .label-content::after{position:absolute;top:auto;bottom:0;left:0;display:block;width:100%;height:var(--active-height, 2px);content:\"\";background:rgb(0, 119, 179);transform:var(--active-translate-y, translateY(2px))}.duet-slideout-link.active.duet-theme-turva span::after{background:rgb(198, 12, 48)}.duet-slideout-link.small{font-size:1rem;font-weight:600}.duet-slideout-link.small span::after{--active-height:1px;--active-translate-y:1px}.duet-slideout-link.medium{font-size:1.25rem;font-weight:600}.duet-slideout-link.large{font-size:1.5rem;font-weight:800}.duet-slideout-link .label{display:flex;gap:8px;align-items:center;justify-content:space-between;width:100%}.duet-slideout-link .label-container{display:flex;gap:8px;align-items:center;justify-content:flex-start;width:100%}.duet-slideout-link .external-icon{width:10px;height:10px}.duet-slideout-link.medium .external-icon,.duet-slideout-link.large .external-icon{width:12px;height:12px}slot[name=description]::slotted(*){display:block;padding:8px 0 0;font-size:1rem;font-size:1.25;font-weight:400;color:rgb(98, 121, 138)}.duet-theme-turva slot[name=description]::slotted(*){color:rgb(113, 118, 132)}";
|
|
17844
19907
|
var DuetSlideoutLinkStyle0 = duetSlideoutLinkCss;
|
|
17845
19908
|
|
|
17846
19909
|
class DuetSlideoutLink {
|
|
@@ -17855,6 +19918,9 @@ class DuetSlideoutLink {
|
|
|
17855
19918
|
this.size = "inherit";
|
|
17856
19919
|
this.caret = false;
|
|
17857
19920
|
this.menuItem = false;
|
|
19921
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
19922
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
19923
|
+
this.external = false;
|
|
17858
19924
|
}
|
|
17859
19925
|
/**
|
|
17860
19926
|
* Component lifecycle events.
|
|
@@ -17862,17 +19928,26 @@ class DuetSlideoutLink {
|
|
|
17862
19928
|
componentWillLoad() {
|
|
17863
19929
|
inheritGlobalTheme(this);
|
|
17864
19930
|
}
|
|
19931
|
+
connectedCallback() {
|
|
19932
|
+
connectLanguageChangeObserver(this, {
|
|
19933
|
+
prop: "accessibleLabelExternal",
|
|
19934
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
19935
|
+
});
|
|
19936
|
+
}
|
|
19937
|
+
disconnectedCallback() {
|
|
19938
|
+
disconnectLanguageChangeObserver(this);
|
|
19939
|
+
}
|
|
17865
19940
|
/**
|
|
17866
19941
|
* render() function
|
|
17867
19942
|
* Always the last one in the class.
|
|
17868
19943
|
*/
|
|
17869
19944
|
render() {
|
|
17870
|
-
return (hAsync(Host, { key: '
|
|
19945
|
+
return (hAsync(Host, { key: '121e34853f26e00de78952097a9274c4686c8544' }, hAsync("a", { key: 'd763e1596026eae24a9c92b2e5a44fdfaacac07d', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
17871
19946
|
"duet-slideout-link": true,
|
|
17872
19947
|
"duet-theme-turva": this.theme === "turva",
|
|
17873
19948
|
active: this.active,
|
|
17874
19949
|
[this.size]: true,
|
|
17875
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
19950
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: '22db6ed1bb56b9882e83734253a359d9c59fb18a', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '8c7c3459c06993a8318d092423dc512f60a0da06', class: "label" }, hAsync("span", { key: 'af54ceb2cf36fb115fca5c250aaa6ed2b14f083d' }, hAsync("span", { key: '799c0aa7fb41c06556242d822c4a817bc3cff780', class: "label-container" }, hAsync("span", { key: '1e16cdb23d22bfe2d090eb026c17bcca4b109234', class: "label-content" }, hAsync("slot", { key: '285a99e5f9837bdb6fc39f3bd06e1902fd66da1a' })), this.external && (hAsync("duet-icon", { key: '786e1f369d8f5f23b359d4f61528d5f614efd411', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: '23100e60c7e0f616021ea001b8aa5095af48bbde', name: "description" })), this.caret && (hAsync("duet-icon", { key: 'fbdd722ae15f64f8879142371b6eaa79cd0faa43', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17876
19951
|
}
|
|
17877
19952
|
get element() { return getElement(this); }
|
|
17878
19953
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -17888,7 +19963,10 @@ class DuetSlideoutLink {
|
|
|
17888
19963
|
"icon": [1537],
|
|
17889
19964
|
"size": [1537],
|
|
17890
19965
|
"caret": [1028],
|
|
17891
|
-
"menuItem": [4, "menu-item"]
|
|
19966
|
+
"menuItem": [4, "menu-item"],
|
|
19967
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
19968
|
+
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
19969
|
+
"external": [4]
|
|
17892
19970
|
},
|
|
17893
19971
|
"$listeners$": undefined,
|
|
17894
19972
|
"$lazyBundleId$": "-",
|
|
@@ -18032,23 +20110,23 @@ class DuetSlideoutPanel {
|
|
|
18032
20110
|
};
|
|
18033
20111
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
18034
20112
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
18035
|
-
return (hAsync(Host, { key: '
|
|
20113
|
+
return (hAsync(Host, { key: '3e5b55f03542b4078ee41b1ff6f0a8d601239791' }, hAsync("div", { key: '6220b1c96f0eefd971b0be2d3e64026ac5bfd467', class: {
|
|
18036
20114
|
"duet-slideout-panel": true,
|
|
18037
20115
|
"duet-theme-turva": this.theme === "turva",
|
|
18038
20116
|
active: this.open,
|
|
18039
|
-
} }, hAsync("button", { key: '
|
|
20117
|
+
} }, hAsync("button", { key: '3d188176100a87926dabcdf167e7843d3c4c73a7', 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: {
|
|
18040
20118
|
link: true,
|
|
18041
20119
|
active: this.active,
|
|
18042
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
20120
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '5bda62a593954ce9401ac2e8957fd58913a4ff80', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: '1a82e4449db67bedd65f5299f6c7d5e38bf0064f', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: 'ca9518dd19dbffd4d7e12902d9a79fd3b6d0239f', class: "duet-slideout-badge" }))), hAsync("span", { key: '4f3f26845dd7337944a31a6126114aaffade111d', class: "label" }, hAsync("span", { key: '79f43f5fcb192dca6f278e44a812ccb18fed9930', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: '0c676ffc9df3fd9f8cdc793aa0775d799f99cf0a', name: "label" })), hAsync("duet-icon", { key: '09fd5d953aee5af50d1ad3096fa8ea5300ad38a1', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: 'a2d69000f5e72011f38094306607197da4c1be6d', ref: element => (this.dialog = element), class: {
|
|
18043
20121
|
dialog: true,
|
|
18044
20122
|
hidden: !this.open,
|
|
18045
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
20123
|
+
}, style: styles }, hAsync(FocusGuard, { key: '6a3e44b182bdb7f662e1e1445b5af239ae6d532f', moveFocusTo: this.closeButton }), hAsync("div", { key: 'b43e59b1d4307053e6db415a2873b19f7455d4f2', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'cd3abce2e94d9170ee92c7fde98528f9d80347a2', class: "top" }, hAsync("button", { key: 'c8db3e61bbc4c5e70f83a6ed219d925d7ed66624', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
18046
20124
|
back: true,
|
|
18047
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
20125
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: '0d633063603734ae6696a55f78b46d69f9a123ee', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '9b47722f8b18d8009370dd8dad1e3efd01549c19' }, this.label.innerHTML), hAsync("button", { key: '8a03a8ec1baddd5b6c3cec3b82449c25baaf72be', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: 'c5b46e81e5e280b3d23fee48a9fe88fd3e291291', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '7f6f22a3a232ced9de34b211fbbab88d5292168d', class: "sticky-header" }, hAsync("slot", { key: 'afed92ed2333e55b311eea33f10550ce7a39c776', name: "sticky-header" }))), hAsync("div", { key: '95b7ac98ec07f7665815fe24b5bd156a27eaa6f1', tabindex: "-1", role: "menu",
|
|
18048
20126
|
//TODO: slideout menu fades out, needs to be instant
|
|
18049
20127
|
id: "menu", "aria-labelledby": "button", class: {
|
|
18050
20128
|
items: true,
|
|
18051
|
-
} }, hAsync("slot", { key: '
|
|
20129
|
+
} }, hAsync("slot", { key: '82b84a76815223e3c3e0478d5300fba75385d269' })), hAsync(FocusGuard, { key: 'fbdc0a4eb86430546ecb7dd3e407fe5537b070c6', moveFocusTo: this.closeButton })))));
|
|
18052
20130
|
}
|
|
18053
20131
|
get element() { return getElement(this); }
|
|
18054
20132
|
static get watchers() { return {
|
|
@@ -18118,16 +20196,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
18118
20196
|
* Always the last one in the class.
|
|
18119
20197
|
*/
|
|
18120
20198
|
render() {
|
|
18121
|
-
return (hAsync(Host, { key: '
|
|
20199
|
+
return (hAsync(Host, { key: '5b9beeeb80434ebb9fe59287777dd7b3ccf117f2' }, hAsync("div", { key: '26d2b1524b8b4ba9cc9a43ce1ba69dad84fe3a6c', class: {
|
|
18122
20200
|
"duet-slideout-panel-dropdown": true,
|
|
18123
20201
|
"duet-theme-turva": this.theme === "turva",
|
|
18124
20202
|
active: this.open,
|
|
18125
|
-
} }, hAsync("button", { key: '
|
|
20203
|
+
} }, hAsync("button", { key: '4ddc07d35d571609edc8ac0f38013dcf1f7abd4e', 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: {
|
|
18126
20204
|
active: this.active,
|
|
18127
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
20205
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '90494d824d6eac5621d4a1e06de2a684fbdd8201', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: 'a7521f9a57a44fa8e5fb83f7ac08b6929b89b05e', class: "label" }, hAsync("slot", { key: '9451cec580353060c2326a6ee3a7aa0b6e03ec69', name: "label" }), hAsync("duet-icon", { key: '55d3a0e564dceb3bc2db017048d5a973272ecae5', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '90c7178107fcbf1765ba0a380e2a9dfc46efbcd5', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18128
20206
|
items: true,
|
|
18129
20207
|
hidden: !this.open,
|
|
18130
|
-
} }, hAsync("slot", { key: '
|
|
20208
|
+
} }, hAsync("slot", { key: 'b6f315463f9acf6617c598a33605e1d80e155d74' })))));
|
|
18131
20209
|
}
|
|
18132
20210
|
get element() { return getElement(this); }
|
|
18133
20211
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -18162,7 +20240,7 @@ class DuetSpacer {
|
|
|
18162
20240
|
* Always the last one in the class.
|
|
18163
20241
|
*/
|
|
18164
20242
|
render() {
|
|
18165
|
-
return (hAsync(Host, { key: '
|
|
20243
|
+
return (hAsync(Host, { key: '4e6eb8e58503cca0470e329ee978bceb19bbc63c', class: {
|
|
18166
20244
|
"duet-spacer": true,
|
|
18167
20245
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
18168
20246
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -18213,11 +20291,11 @@ class DuetSpinner {
|
|
|
18213
20291
|
*/
|
|
18214
20292
|
render() {
|
|
18215
20293
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
18216
|
-
return (hAsync(Host, { key: '
|
|
20294
|
+
return (hAsync(Host, { key: 'b7dbd1885195521736e1913de77bcfa22bf0ea8d', class: {
|
|
18217
20295
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
18218
20296
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
18219
20297
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
18220
|
-
} }, hAsync("div", { key: '
|
|
20298
|
+
} }, hAsync("div", { key: 'f9f4284e9b6365d3989be18b0f4014d7e8f3b07e', class: {
|
|
18221
20299
|
"duet-spinner": true,
|
|
18222
20300
|
[this.size]: true,
|
|
18223
20301
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -18306,10 +20384,10 @@ class DuetStatusIcon {
|
|
|
18306
20384
|
}
|
|
18307
20385
|
}
|
|
18308
20386
|
render() {
|
|
18309
|
-
return (hAsync(Host, { key: '
|
|
20387
|
+
return (hAsync(Host, { key: '8389c107ccded337d2e5121703d5221e70edcb42', class: {
|
|
18310
20388
|
[`duet-status-icon-${this.variation}`]: true,
|
|
18311
20389
|
"duet-strong-bg": this.strong,
|
|
18312
|
-
} }, hAsync("duet-icon", { key: '
|
|
20390
|
+
} }, hAsync("duet-icon", { key: 'c05e3c223a16541133d3be5cb74f39760cc46ba1', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
18313
20391
|
}
|
|
18314
20392
|
static get cmpMeta() { return {
|
|
18315
20393
|
"$flags$": 9,
|
|
@@ -18411,13 +20489,13 @@ class DuetStep {
|
|
|
18411
20489
|
* Always the last one in the class.
|
|
18412
20490
|
*/
|
|
18413
20491
|
render() {
|
|
18414
|
-
return (hAsync("div", { key: '
|
|
20492
|
+
return (hAsync("div", { key: '2be03e57885747f4abcf887167a50be41f202172', class: {
|
|
18415
20493
|
"duet-step": true,
|
|
18416
20494
|
[`is-${this.state}`]: true,
|
|
18417
20495
|
"rounded-top": this.roundedTop,
|
|
18418
20496
|
"rounded-bottom": this.roundedBottom,
|
|
18419
20497
|
"duet-theme-turva": this.theme === "turva",
|
|
18420
|
-
} }, hAsync("div", { key: '
|
|
20498
|
+
} }, hAsync("div", { key: '13a6b9a9d5a8b5e11441d344768333afbd0006bc', 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: '4cdf824131a34f5a722ff75b5865c6968c946b84', "aria-hidden": "true" }, hAsync("div", { key: '697c430716ee8b1d61161fbb6cfbfdb347754170', class: "duet-step-counter" }, this.renderStepCounter())), hAsync("duet-spacer", { key: '0df10d7cd8c8033debe7e429f052ba3e785c68fd', direction: "horizontal", size: "large", breakpoint: "small" }), hAsync("duet-spacer", { key: 'f8be9274607789f07981bb288d19516f222e613b', direction: "horizontal", size: "medium", breakpoint: "x-small" }), hAsync("div", { key: 'bc8046dd49578c57e41ff6c301b57711dbf47db8' }, hAsync("duet-heading", { key: '841be21a0beabe2000a75341302462ecd0cd3cd6', theme: this.theme, level: this.headingLevel, visualLevel: "h4", color: this.headingColor(), margin: "none" }, this.heading)), hAsync("duet-spacer", { key: '992fc197dcc5b85f6d95e016e0736e1b65d0c3de', direction: "horizontal", size: "large" }), hAsync("div", { key: '8040a9695f6d0e297b7e0887814a3723e511b8ec', class: "duet-step-heading-slot" }, hAsync("slot", { key: 'e7d76c7f8b978934cf234bd29e4e600504f42164', name: "heading-content" }))), hAsync("div", { key: '14a1a0370d7443a3181b82b5d0531e9b208ecc1e', class: "duet-step-content-wrapper" }, hAsync("div", { key: '19dad47c5c9e09671dbf4318b40f5a5fe4ad852b', class: "duet-step-content", role: "region", "aria-labelledby": this.buttonId, id: this.contentId }, hAsync("slot", { key: 'e51e6b4b82722a271c2eba19b54d6bcea10ab5a5' })))));
|
|
18421
20499
|
}
|
|
18422
20500
|
get element() { return getElement(this); }
|
|
18423
20501
|
static get style() { return DuetStepStyle0; }
|
|
@@ -18541,7 +20619,7 @@ class DuetStepper {
|
|
|
18541
20619
|
* Always the last one in the class.
|
|
18542
20620
|
*/
|
|
18543
20621
|
render() {
|
|
18544
|
-
return (hAsync(Host, { key: '
|
|
20622
|
+
return (hAsync(Host, { key: '52c2d87726509e40615a19b3eea7c78622cec07a', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'b2f275d436eb7db9dda96c97147d8225a604b527', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'b639ea4862b8547f0a92c711008ff55ab9935d7f', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: '081d088375f8343f6484e992ae437daf6ccc9234' }))));
|
|
18545
20623
|
}
|
|
18546
20624
|
get element() { return getElement(this); }
|
|
18547
20625
|
static get watchers() { return {
|
|
@@ -18686,19 +20764,19 @@ class DuetSubmenuBar {
|
|
|
18686
20764
|
* Always the last one in the class.
|
|
18687
20765
|
*/
|
|
18688
20766
|
render() {
|
|
18689
|
-
return (hAsync(Host, { key: '
|
|
20767
|
+
return (hAsync(Host, { key: 'fefed34474daf9475accbfd3cc30be2c91adab6d' }, hAsync("nav", { key: 'cfcd761e4322d5cb3060515797a00135d87cd4f1', class: {
|
|
18690
20768
|
"duet-submenu-bar": true,
|
|
18691
20769
|
"duet-theme-turva": this.theme === "turva",
|
|
18692
20770
|
hidden: this.hidden,
|
|
18693
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
20771
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '3d5a7f58f0b6c2b9cb6f56ae1ac6841587e3a391', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
18694
20772
|
active: this.open,
|
|
18695
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
20773
|
+
}, onClick: this.onClick }, hAsync("span", { key: '7534ebfaf7cb901fbb4ff271e38dc9908774039a', class: "label" }, hAsync("slot", { key: '5d79e4fd359e413b43c219693ffe0c47e11f06d0', name: "label" }), hAsync("duet-icon", { key: 'e454c33b7122d3cfa5528e6f9da49d0948d32f13', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: 'e680fcc58bcced303ad128db4bf0a08952f53a8f', class: {
|
|
18696
20774
|
"menu-container": true,
|
|
18697
20775
|
hidden: !this.open,
|
|
18698
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
20776
|
+
}, role: "presentation" }, hAsync("div", { key: '8428ccd7dd2127ee961a3f46cc8d5b84be4e5369', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
18699
20777
|
items: true,
|
|
18700
20778
|
hidden: !this.open,
|
|
18701
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
20779
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'e9c3f749dc2a5f11859b4c1c85410ed5de3954bf', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '237ad6e7282d176ade5288f0fd796dd1afc405ae' }), hAsync("div", { key: 'c09ce31e666aba0d2fbf2090c62f3ac3b694860f', class: "list-padding" }))), hAsync("duet-overlay", { key: 'bd4f86d5b0c63a9ef389c2f6665672f770db2350', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
18702
20780
|
}
|
|
18703
20781
|
get element() { return getElement(this); }
|
|
18704
20782
|
static get watchers() { return {
|
|
@@ -18819,18 +20897,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18819
20897
|
* Always the last one in the class.
|
|
18820
20898
|
*/
|
|
18821
20899
|
render() {
|
|
18822
|
-
return (hAsync(Host, { key: '
|
|
20900
|
+
return (hAsync(Host, { key: 'fc9fd551cd7be45b0c727e03c27a76625c983d41', role: "listitem" }, hAsync("div", { key: '939b988a67b1f3d481fc32a2e89dba58bc25b53a', class: {
|
|
18823
20901
|
"duet-submenu-bar-dropdown": true,
|
|
18824
20902
|
"duet-theme-turva": this.theme === "turva",
|
|
18825
20903
|
open: this.open,
|
|
18826
20904
|
active: this.active,
|
|
18827
|
-
} }, hAsync("button", { key: '
|
|
20905
|
+
} }, hAsync("button", { key: 'c9be9c700d763082e4353b433868969d6ebaaea8', 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: {
|
|
18828
20906
|
open: this.open,
|
|
18829
20907
|
active: this.active,
|
|
18830
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20908
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '74d49bbb0f3ca8143654d9cbcdaee4d6ffe4bf8f', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'f2416c123b2c0112e9569de33db0d291e1ad3d4a', class: "label" }, hAsync("span", { key: 'c5db63f1dac7bc2a0fa55d5beee9c85ad4cfb4ee', class: "label-text" }, hAsync("slot", { key: '0036b819c74ba5367ab40605ff199fe69d3a7231', name: "label" })), hAsync("duet-icon", { key: '8ad850e0dbcfa9e277ee32336e164f942ef11dff', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '8a36bcfda8ed30579703bdb9fc783d83981212d3', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18831
20909
|
items: true,
|
|
18832
20910
|
hidden: !this.open,
|
|
18833
|
-
} }, hAsync("slot", { key: '
|
|
20911
|
+
} }, hAsync("slot", { key: '67bf3b51da2fa18ec2662094cebbb039ec117523' })))));
|
|
18834
20912
|
}
|
|
18835
20913
|
get element() { return getElement(this); }
|
|
18836
20914
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18882,12 +20960,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18882
20960
|
* Always the last one in the class.
|
|
18883
20961
|
*/
|
|
18884
20962
|
render() {
|
|
18885
|
-
return (hAsync(Host, { key: '
|
|
20963
|
+
return (hAsync(Host, { key: 'df8e2cce51cd8663e22e083e3aecff5cd19f698f' }, hAsync("a", { key: 'f8c5abbcf4c71a27a70d2ed3ec2970b0a74a8fd1', class: {
|
|
18886
20964
|
"duet-submenu-bar-dropdown-link": true,
|
|
18887
20965
|
"duet-theme-turva": this.theme === "turva",
|
|
18888
20966
|
highlight: this.highlight,
|
|
18889
20967
|
active: this.active,
|
|
18890
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
20968
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '1e5a4a47052cf2b062b3b8d10085422b60407c5d', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: 'ca88f89ae807c0217a8921a1ad14261a9da98abc', class: "label-container" }, hAsync("span", { key: 'e32914f41e511de24aba0e22fb3703818b795acd', class: "label" }, hAsync("slot", { key: '59920cb56fb89f6ac10d94e9e61392dc0724dbdb' })), this.caret && hAsync("duet-icon", { key: '603991182270c3942a6f4850fd5d6fb6af18b105', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'ce869a1d9c2edfd036031a730fd6826347bcce8c', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18891
20969
|
}
|
|
18892
20970
|
get element() { return getElement(this); }
|
|
18893
20971
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18961,7 +21039,7 @@ class DuetSubmenuBarItem {
|
|
|
18961
21039
|
render() {
|
|
18962
21040
|
const TagName = this.url ? "a" : "button";
|
|
18963
21041
|
const role = this.url ? "link" : "button";
|
|
18964
|
-
return (hAsync(Host, { key: '
|
|
21042
|
+
return (hAsync(Host, { key: 'ad3a2fa9bbd134e4bfa1ced12278dabaf0206fc5', role: "listitem" }, hAsync(TagName, { key: '5a36cd09f5b34ca0031e1f6fd98b6d4e7d085024', 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: '093405d3733611c349635aa71e3bf8179eba4153', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '0399adb8e4cd01b6fa66b37a91869813efaf3942', class: "label" }, hAsync("span", { key: '50e11f94b21a9379d77ece6e8ab2437b6cf016d0', class: "label-text" }, hAsync("slot", { key: '05204a743cb4c3f29f478908e2b91782827da04b' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'a62b60af0e3f2e1508d33547241081633c30a5aa', class: {
|
|
18965
21043
|
"trailing-icon": !!this.trailingIcon,
|
|
18966
21044
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18967
21045
|
"external-icon": !!this.external,
|
|
@@ -19022,7 +21100,7 @@ class DuetSubmenuBarLink {
|
|
|
19022
21100
|
* Always the last one in the class.
|
|
19023
21101
|
*/
|
|
19024
21102
|
render() {
|
|
19025
|
-
return (hAsync(Host, { key: '
|
|
21103
|
+
return (hAsync(Host, { key: '95bd440eb341f40b70442bd2f07924faa50a3609', role: "listitem" }, hAsync("a", { key: 'ced3b3049af05cbb6aaa9d3d1f4a9e08e042e7ad', 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: 'e29e59a548c810f6fb6366616d3457e004835185', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '115b0e90e10474d448a3aceab05462d92c7b2e06', class: "label" }, hAsync("slot", { key: '97e8e72b55c7e62ffc91a5f86fa44591150c62e8' })))));
|
|
19026
21104
|
}
|
|
19027
21105
|
get element() { return getElement(this); }
|
|
19028
21106
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -19132,7 +21210,7 @@ class DuetTab {
|
|
|
19132
21210
|
* Always the last one in the class.
|
|
19133
21211
|
*/
|
|
19134
21212
|
render() {
|
|
19135
|
-
return (hAsync("div", { key: '
|
|
21213
|
+
return (hAsync("div", { key: '7b32395451131750ebd28c6967302efb6205f9e8', ref: element => {
|
|
19136
21214
|
if (!this.contentId) {
|
|
19137
21215
|
this.tabpanelElement = element;
|
|
19138
21216
|
}
|
|
@@ -19141,7 +21219,7 @@ class DuetTab {
|
|
|
19141
21219
|
"duet-tab": true,
|
|
19142
21220
|
selected: this.selected,
|
|
19143
21221
|
"has-content-id": !!this.contentId,
|
|
19144
|
-
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: '
|
|
21222
|
+
}, "aria-description": this.accessibleDescription, "aria-labelledby": this.accessibleLabelledBy, tabindex: "-1" }, hAsync("slot", { key: 'ca8b2a951dc90dc029b9088d1f2888a0deccf673' })));
|
|
19145
21223
|
}
|
|
19146
21224
|
get element() { return getElement(this); }
|
|
19147
21225
|
static get watchers() { return {
|
|
@@ -19278,7 +21356,13 @@ class DuetTabGroup {
|
|
|
19278
21356
|
inheritGlobalTheme(this);
|
|
19279
21357
|
}
|
|
19280
21358
|
componentDidLoad() {
|
|
19281
|
-
this.
|
|
21359
|
+
this.intersectionObserver = new IntersectionObserver(entries => {
|
|
21360
|
+
if (entries.length > 0 && entries[0].isIntersecting) {
|
|
21361
|
+
this.scrollToActive();
|
|
21362
|
+
this.intersectionObserver.disconnect();
|
|
21363
|
+
}
|
|
21364
|
+
}, { root: null, threshold: 0 });
|
|
21365
|
+
this.intersectionObserver.observe(this.element);
|
|
19282
21366
|
}
|
|
19283
21367
|
/**
|
|
19284
21368
|
* This method allows you to open any of the tabs by calling the method and
|
|
@@ -19373,23 +21457,23 @@ class DuetTabGroup {
|
|
|
19373
21457
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
19374
21458
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
19375
21459
|
}, 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))));
|
|
19376
|
-
return (hAsync("div", { key: '
|
|
21460
|
+
return (hAsync("div", { key: '3d49c28ce5931105421ca174a2ec6f643d0ce715', class: {
|
|
19377
21461
|
"duet-tab-group": true,
|
|
19378
21462
|
"duet-theme-turva": this.theme === "turva",
|
|
19379
21463
|
[variationClass]: true,
|
|
19380
21464
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
19381
21465
|
"duet-tab-group-scrolls": true,
|
|
19382
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
21466
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '5cd7a9b5948613b347fc9d95037c73d3e8624031', role: "tablist", class: {
|
|
19383
21467
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
19384
21468
|
"duet-tab-group-tabs": true,
|
|
19385
21469
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
19386
21470
|
}, ref: el => {
|
|
19387
21471
|
this.tabsContainer = el;
|
|
19388
|
-
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), hAsync("div", { key: '
|
|
21472
|
+
} }, this.variation === "checked" ? (buttons) : (hAsync("duet-scrollable", { selected: this.selected, identifier: this.identifier, gap: ["default", "plain", "plain-scrolling"].includes(this.variation) ? "none" : "large", buttonPosition: this.variation === "default" ? "absolute" : "relative", center: this.isCentered() ? this.isCentered() : this.element.style.textAlign == "center" }, buttons))), hAsync("div", { key: 'f9cecb1f747afdde050d7e14f3803167bf4e8db0', class: {
|
|
19389
21473
|
"duet-tab-group-content": true,
|
|
19390
21474
|
"duet-m-0": this.margin === "none",
|
|
19391
21475
|
"checked-group-content": this.variation === "checked",
|
|
19392
|
-
} }, hAsync("slot", { key: '
|
|
21476
|
+
} }, hAsync("slot", { key: '89f26fa4755c6a826c439625dc2beef88fc57cfd' }))));
|
|
19393
21477
|
}
|
|
19394
21478
|
get element() { return getElement(this); }
|
|
19395
21479
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -19988,7 +22072,7 @@ class DuetTable {
|
|
|
19988
22072
|
}
|
|
19989
22073
|
}
|
|
19990
22074
|
render() {
|
|
19991
|
-
return (hAsync(Host, { key: '
|
|
22075
|
+
return (hAsync(Host, { key: '06ccaf0fc2d8586bc16b3a6c4c7a7a11de2c10ed', class: {
|
|
19992
22076
|
[`duet-table-${this.variation}`]: true,
|
|
19993
22077
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
19994
22078
|
// sticky only valid when in regular table layout
|
|
@@ -19997,7 +22081,7 @@ class DuetTable {
|
|
|
19997
22081
|
"duet-m-0": this.margin === "none",
|
|
19998
22082
|
"duet-theme-turva": this.theme === "turva",
|
|
19999
22083
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
20000
|
-
} }, hAsync("slot", { key: '
|
|
22084
|
+
} }, hAsync("slot", { key: '81e3f8cfbcabec7c35c1d878df37e147112379db' })));
|
|
20001
22085
|
}
|
|
20002
22086
|
get element() { return getElement(this); }
|
|
20003
22087
|
static get watchers() { return {
|
|
@@ -20190,17 +22274,17 @@ class DuetTextarea {
|
|
|
20190
22274
|
*/
|
|
20191
22275
|
render() {
|
|
20192
22276
|
const identifier = this.identifier || this.textareaId;
|
|
20193
|
-
return (hAsync(Host, { key: '
|
|
22277
|
+
return (hAsync(Host, { key: '25556769dbf4727f9d03bb5228fb1bf5c68d7538', class: {
|
|
20194
22278
|
"duet-m-0": this.margin === "none",
|
|
20195
22279
|
"duet-has-counter": this.counter && !this.error,
|
|
20196
22280
|
"duet-expand": this.expand,
|
|
20197
|
-
} }, hAsync("div", { key: '
|
|
22281
|
+
} }, hAsync("div", { key: '6eab14bf213903b968c01b6cd4393a20ab0c69b4', class: {
|
|
20198
22282
|
"duet-textarea-container": true,
|
|
20199
22283
|
"duet-theme-turva": this.theme === "turva",
|
|
20200
22284
|
"duet-label-hidden": this.labelHidden,
|
|
20201
22285
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
20202
22286
|
"has-error": !!this.error,
|
|
20203
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
22287
|
+
} }, hAsync(DuetInternalLabel, { key: '78bc0d0c4482d4fc8b612790b2e698dd680982ff', 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: 'a00e86034ac4577ad2e4eda40f472287c0b0c44b', direction: this.tooltipDirection, accessibleInputLabel: this.label, theme: this.theme === "turva" ? "turva" : "default" }, this.tooltip)), hAsync("slot", { key: 'eed07c3a64048d9665ff69a8eb692869c127d36f', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '18120445b792f306348fa86eb7d55137e4494430', id: this.topCaptionId, size: "medium", theme: this.theme === "turva" ? "turva" : "default" }, this.caption)), hAsync("div", { key: '31e9534d6f280d3cb598046d63e4a42a0389ea81', class: "duet-textarea-wrapper" }, this.placeholder && this.echoPlaceholder && this.value && (hAsync("duet-caption", { key: '41850e7a6582f51589e68d93a8548d61048d6ff9', id: this.topCaptionPlaceholderId, class: "duet-textarea-placeholder", size: "small" }, this.placeholder)), hAsync("textarea", { key: 'e1fe2634a7667802d287159982873db894ef76c9', 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: 'ebbc277489ee738b58006041ea840c228c744453', alignment: "stretch" }, hAsync("duet-grid-item", { key: '29c30dd91c5ccd5b917448c817692fd2f6dcd9a9', margin: "none", fill: true }, hAsync("div", { key: '48a87c0a148de98bb97b7a4a82c148232279ec8f', class: "duet-textarea-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: 'a35dd6fd14ab2ba3a31e20010dd0eaf9a54df673' }, this.error))), hAsync("duet-grid-item", { key: '71169ae9f709699fc5f416eb7c1e6f7fd58bbe43', margin: "none", class: "duet-character-count-caption" }, this.counter && (hAsync(CharacterCount, { key: 'f0301f5b479f78ca89ada4cd46ab54f2ab637773', theme: this.theme, value: this.value, maxlength: this.maxlength, label: this.counterLabel })))), this.counter && (hAsync("duet-visually-hidden", { key: '00edef3db000d963cc48b85b1c1d7917acb6d85b', class: "duet-visually-hidden", id: this.characterCountId, ref: el => {
|
|
20204
22288
|
this.hiddenCounterLabel = el;
|
|
20205
22289
|
} })))));
|
|
20206
22290
|
}
|
|
@@ -20332,12 +22416,12 @@ class DuetToggle {
|
|
|
20332
22416
|
*/
|
|
20333
22417
|
render() {
|
|
20334
22418
|
const identifier = this.identifier || this.toggleId;
|
|
20335
|
-
return (hAsync(Host, { key: '
|
|
22419
|
+
return (hAsync(Host, { key: 'c1edf3dfb5cbfb78c92aafd481e9c5bfec83b095', onClick: this.disabled ? undefined : this.onClick, class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'f5d071cde0463aab8f5ea4a1985b912c35b526e6', class: {
|
|
20336
22420
|
"duet-toggle": true,
|
|
20337
22421
|
"duet-theme-turva": this.theme === "turva",
|
|
20338
22422
|
"duet-side-label": this.labelPosition !== "top",
|
|
20339
22423
|
"duet-reverse-label": this.labelPosition === "right",
|
|
20340
|
-
} }, hAsync(DuetInternalLabel, { key: '
|
|
22424
|
+
} }, hAsync(DuetInternalLabel, { key: '7a8b09989ee8413b4ea78a863fb692f12fe58ebb', theme: this.theme, color: this.labelColor, weight: this.labelWeight, for: identifier, margin: this.labelPosition === "top" ? "auto" : "none" }, this.label), hAsync("label", { key: '513ed78cb68458866b35d94f96163fe61cb6dcb1', class: "duet-switch" }, hAsync("input", { key: '8f83040ad1ca990a02209381eac63b2eece87c0e', 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: 'b7faad01c27eb015dde5051f7dba9dee1503398e', class: "duet-slider" })))));
|
|
20341
22425
|
}
|
|
20342
22426
|
get element() { return getElement(this); }
|
|
20343
22427
|
static get watchers() { return {
|
|
@@ -20408,11 +22492,11 @@ class DuetToolbar {
|
|
|
20408
22492
|
: this.variation === "secondary"
|
|
20409
22493
|
? "secondary"
|
|
20410
22494
|
: "default";
|
|
20411
|
-
return (hAsync(Host, { key: '
|
|
22495
|
+
return (hAsync(Host, { key: 'fba71bd458248491214c3aab4243df4e105fdb5b' }, hAsync("nav", { key: '42fa26ad6a3ffea27ec62722a3f55f1c0d8ea0f1', class: {
|
|
20412
22496
|
"duet-toolbar": true,
|
|
20413
22497
|
"duet-theme-turva": this.theme === "turva",
|
|
20414
22498
|
[variation]: true,
|
|
20415
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
22499
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'c19fc58652bd52d9c6f7755a01b266a7f77d1949', class: "container" }, hAsync("div", { key: 'a0fef6ef853fc353a374b7bcd2fa632f5176ae60', class: "list", role: "list" }, hAsync("slot", { key: 'a2b2896ec5ebf46253f3e05e1b8ac44582161abf', name: "left" })), hAsync("div", { key: '11cb17b0024f1b6a84d91fb04f8d3be806b49af7', class: "list", role: "list" }, hAsync("slot", { key: 'cd1c67c9f98bf8cb3607965c715d9974e6c17f93', name: "right" }))))));
|
|
20416
22500
|
}
|
|
20417
22501
|
get element() { return getElement(this); }
|
|
20418
22502
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -20480,18 +22564,18 @@ class DuetToolbarDropdown {
|
|
|
20480
22564
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
20481
22565
|
}
|
|
20482
22566
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20483
|
-
return (hAsync(Host, { key: '
|
|
22567
|
+
return (hAsync(Host, { key: '293493435feefef5e3df0fedf5bce6506fb4ee15', role: "listitem" }, hAsync("div", { key: 'c38df38acf0aebc018823ebbfe2cbf5ee9bc8f8d', class: {
|
|
20484
22568
|
"duet-toolbar-dropdown": true,
|
|
20485
22569
|
"duet-theme-turva": this.theme === "turva",
|
|
20486
22570
|
[itemsAlign]: true,
|
|
20487
22571
|
[variation]: true,
|
|
20488
|
-
} }, hAsync("button", { key: '
|
|
22572
|
+
} }, hAsync("button", { key: 'e502e36fda6d4e5e94312143d2f208be630d7e3b', 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: {
|
|
20489
22573
|
active: this.active,
|
|
20490
22574
|
open: this.open,
|
|
20491
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
22575
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '982df3536e15f8a4a0b17107cd025963826b47ea', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: 'c58be9183cc8949ad8380c435c92c2c144f443b8', class: "label" }, hAsync("slot", { key: 'e69f9009757ba8711faba0832c9eb6bbc5ddb1b2', name: "label" }), hAsync("duet-icon", { key: 'e267dbb94c717a8adc576335be6e5218aff054d4', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'a1bfb389572b8ba7ed3d55be3f8a57dfddbff95c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
20492
22576
|
items: true,
|
|
20493
22577
|
hidden: !this.open,
|
|
20494
|
-
} }, hAsync("slot", { key: '
|
|
22578
|
+
} }, hAsync("slot", { key: 'ac48022ff0eba0852b50b21c187c9cbd4f8e4772' })))));
|
|
20495
22579
|
}
|
|
20496
22580
|
get element() { return getElement(this); }
|
|
20497
22581
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -20544,11 +22628,11 @@ class DuetToolbarDropdownLink {
|
|
|
20544
22628
|
* Always the last one in the class.
|
|
20545
22629
|
*/
|
|
20546
22630
|
render() {
|
|
20547
|
-
return (hAsync(Host, { key: '
|
|
22631
|
+
return (hAsync(Host, { key: 'c7578d87c6cc701110b2273867f9de679ce7675f' }, hAsync("a", { key: '1f9b24bb8cd15ca161b0902ac695a73341d33f47', class: {
|
|
20548
22632
|
"duet-toolbar-dropdown-link": true,
|
|
20549
22633
|
"duet-theme-turva": this.theme === "turva",
|
|
20550
22634
|
active: this.active,
|
|
20551
|
-
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
22635
|
+
}, 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: '19566913fb85d69c28e44ac0d31c0eee45379051', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: 'edac55db2db896370c982e8783c027e9205b2235', class: "label" }, hAsync("slot", { key: '9520108fc591d929db4216efcf5e5c823a5f90a8' })), this.active && (hAsync("duet-icon", { key: '41b3c2604e5cd127d381cf0da0bfe2c43f494617', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
20552
22636
|
}
|
|
20553
22637
|
get element() { return getElement(this); }
|
|
20554
22638
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -20623,17 +22707,17 @@ class DuetToolbarItem {
|
|
|
20623
22707
|
: this.variation === "secondary"
|
|
20624
22708
|
? "secondary"
|
|
20625
22709
|
: "default";
|
|
20626
|
-
return (hAsync(Host, { key: '
|
|
22710
|
+
return (hAsync(Host, { key: '9b9d0dfa8199f89acfbe21f9132c66ac5d27f19d', role: "listitem" }, hAsync(TagName, { key: '40f2142c0e777156f9e171213b08dc51737544b5', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
20627
22711
|
"duet-toolbar-item": true,
|
|
20628
22712
|
"duet-theme-turva": this.theme === "turva",
|
|
20629
22713
|
active: this.active,
|
|
20630
22714
|
[variation]: true,
|
|
20631
|
-
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: '
|
|
22715
|
+
}, 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: '028001dafa87b1c9b3827b169c6a0eebe9dc1cc5', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'a151a4bb04e949ffbdab6b65cfaf6444dab7bb9d', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '2f765f55f3a0d524fe3c97dd6570b0ab1f15a01e', class: "duet-toolbar-badge" }))), hAsync("slot", { key: '4004ed2e53664041a6a1e8d020fa01bdd83f0e53' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: 'a2f27e67c6c38dbab06db879d79ffee7de1d5425', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: 'c48acfbf6301b8585d53f191c182751c4aca1442', class: {
|
|
20632
22716
|
"trailing-icon": !!this.trailingIcon,
|
|
20633
22717
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
20634
22718
|
"external-icon": !!(this.url && this.external),
|
|
20635
22719
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
20636
|
-
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: '
|
|
22720
|
+
}, 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: 'c552f767cf28200fd01e2d0a4d123b58880eee10', class: "duet-toolbar-badge" }))))));
|
|
20637
22721
|
}
|
|
20638
22722
|
get element() { return getElement(this); }
|
|
20639
22723
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -20687,12 +22771,12 @@ class DuetToolbarLink {
|
|
|
20687
22771
|
*/
|
|
20688
22772
|
render() {
|
|
20689
22773
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
20690
|
-
return (hAsync(Host, { key: '
|
|
22774
|
+
return (hAsync(Host, { key: '3623e63f85f9fdb7fbd59112cc560e003a7ca568', role: "listitem" }, hAsync("a", { key: 'b81d74dada0b3c634c92305881ad7f58a04157e0', class: {
|
|
20691
22775
|
"duet-toolbar-link": true,
|
|
20692
22776
|
"duet-theme-turva": this.theme === "turva",
|
|
20693
22777
|
active: this.active,
|
|
20694
22778
|
[variation]: true,
|
|
20695
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
22779
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'e9388c724ba10f7290f7819f94f3b40d37857f2a', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '5c2564a4a153aa0d7595b40fb4588bacbd32bbdf' }))));
|
|
20696
22780
|
}
|
|
20697
22781
|
get element() { return getElement(this); }
|
|
20698
22782
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -20964,12 +23048,12 @@ class DuetTooltipButton {
|
|
|
20964
23048
|
* Always the last one in the class.
|
|
20965
23049
|
*/
|
|
20966
23050
|
render() {
|
|
20967
|
-
return (hAsync(Host, { key: '
|
|
23051
|
+
return (hAsync(Host, { key: 'fee44c3df69a6434affa9f49039575913c1764fa' }, hAsync("button", { key: '11fbd81dfecf41f3540c8f09854aa148383ddb08', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
20968
23052
|
"duet-tooltip-button": true,
|
|
20969
23053
|
"duet-tooltip-button-has-label": !!this.label,
|
|
20970
23054
|
"duet-theme-turva": this.theme === "turva",
|
|
20971
23055
|
"duet-tooltip-button-negative": this.negative,
|
|
20972
|
-
} }, hAsync("svg", { key: '
|
|
23056
|
+
} }, hAsync("svg", { key: '1f833d69a947244a10790730de2e591ca8b36ba6', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '38acc8ec9e2956e937a84e8ebb738a77c9111370', 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: 'ef35c73e4fe6b717decd80b2352f9ed8b8aa8f7f', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: 'a394f6560c8387da8a307f5c9623ec7d33d0c2c6', 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)))));
|
|
20973
23057
|
}
|
|
20974
23058
|
get element() { return getElement(this); }
|
|
20975
23059
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -21037,11 +23121,11 @@ class DuetTooltipPopup {
|
|
|
21037
23121
|
this.contentEl.focus();
|
|
21038
23122
|
}
|
|
21039
23123
|
render() {
|
|
21040
|
-
return (hAsync(Host, { key: '
|
|
23124
|
+
return (hAsync(Host, { key: '6475bd5406c8a14d70944a1b316e38dbfb3f4e0d' }, hAsync("div", { key: 'ed169b7de58051fb1893fd4033471c39df8b8339', class: {
|
|
21041
23125
|
"duet-tooltip": true,
|
|
21042
23126
|
"duet-theme-turva": this.theme === "turva",
|
|
21043
23127
|
"duet-tooltip-active": this.active === true,
|
|
21044
|
-
} }, hAsync(FocusGuard, { key: '
|
|
23128
|
+
} }, hAsync(FocusGuard, { key: '9a6f8e75996a8b00c09ecf552e39b01d231297bf', moveFocusTo: this.buttonEl }), hAsync("div", { key: '0a003b54b91c3d687f6793fe1e84602ccf4acfcf', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: 'fdcddea1210c716a8e1d35f94ca9a166805776c8' })), hAsync("div", { key: 'fcd50c973fb3f7d0d8280f22c6a78a853ac6d566', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: '10d19ae7d0d66bbefa00aa7a2d8b3e1f426331e8', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '6b94899472ae322f2324344f9c8d12a423e05110', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: '55db60a2ebbfb3bed86dc7960993d2e2d0b8e4f4', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'fd240f6c644ea25ab3554ed44719056485c24d9b' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '386b99183b08c179b9da7c811c4331ca6c3877ea', moveFocusTo: this.contentEl }))));
|
|
21045
23129
|
}
|
|
21046
23130
|
get element() { return getElement(this); }
|
|
21047
23131
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -21149,14 +23233,14 @@ class DuetTray {
|
|
|
21149
23233
|
* Always the last one in the class.
|
|
21150
23234
|
*/
|
|
21151
23235
|
render() {
|
|
21152
|
-
return (hAsync("div", { key: '
|
|
23236
|
+
return (hAsync("div", { key: '2a28dbe50c5347e6b109da091550d42998d3ea66', class: {
|
|
21153
23237
|
"duet-tray": true,
|
|
21154
23238
|
"duet-tray-is-active": this.active,
|
|
21155
23239
|
"duet-tray-is-hidden": this.hiddenState,
|
|
21156
23240
|
"duet-tray-is-responsive": this.responsive,
|
|
21157
23241
|
"duet-theme-turva": this.theme === "turva",
|
|
21158
23242
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
21159
|
-
} }, hAsync("div", { key: '
|
|
23243
|
+
} }, hAsync("div", { key: '26c9c3e75ad004e521ab31b2d8ba1b048546c6e9', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: 'c17b7e16c92f0d12b35857d35ba59a709fb9a2ae' })), this.hasAdditionalContent && (hAsync(Fragment, { key: 'd6e7d2ffe0a1f7860bad5b50d420c90e7223fd11' }, hAsync("button", { key: '3694b88cdf1c3f9ae783160da5941ef344fa259b', "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: '1776e12e6f1b8bc01040cf1673c36c3fc092cd72', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: '2e297573e5671cbfe8eadec345623d4a4d710a74' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: 'dff0cd7c16e992deeb15383694707dc951c3a901', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: 'b2db67fffb12fc7fb2d06368158ce47c175b8df6', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '55a9e5ddfa5bda9ac52e720ca43ab972ea1360b3', name: "additional" })))))));
|
|
21160
23244
|
}
|
|
21161
23245
|
get element() { return getElement(this); }
|
|
21162
23246
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -22272,10 +24356,10 @@ class DuetUpload {
|
|
|
22272
24356
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
22273
24357
|
}
|
|
22274
24358
|
// @ts-ignore
|
|
22275
|
-
return (hAsync(Host, { key: '
|
|
24359
|
+
return (hAsync(Host, { key: 'af891e8448afa376703a9aaf7c2ea6614cf355b2', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: '64ecfbf72004643670c94e10e3c528c453424781', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: 'a86b487196b80ef598a870a65b173668bfb7f28a', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'a0fff5af7f1b97d9d9755f05a2db3417b726d35b', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: '07990782c33bbf197e5b5faa2b09d70ad9234ec7', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '6e64833a85ff33f6cd0c8620853a517d20bbda06', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '4f404613876a98b0b81c11bcdb57cccc3ebf8038', 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: '429f15000646c8b490ba930339777f791c378103', name: "filefooter" }), hAsync("slot", { key: '79f6b863efa949079852852740edbdd2be2e3516', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: 'fc7852edd78f5190203dba3158962366c53a94b7', margin: "none", size: "small" }, hAsync("div", { key: '4d36f87e3da881b5c85f22afca0ebd4dfdca0711', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: 'b283ac9a11d4108a7a84ab265082ccff8b00e323', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: '8bf6f2b2b848a4a7def1a674cb2f156833dd540c' }, hAsync("duet-spacer", { key: 'b2e12ee9f57ffe8189bc06a68ea2c09359b6f9d3', size: "large" }), hAsync("duet-button", { key: '8243c35856bd3ca1871344a5eeaf63384d820ca4', 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 ||
|
|
22276
24360
|
this.bytesMaxReached ||
|
|
22277
24361
|
this.filesToUploadExceedsLimit ||
|
|
22278
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
24362
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '1ec4342f7ccf20e0d5022a9d84cc64e16372b401' }, hAsync("duet-spacer", { key: 'b1ad3b5c6571bcb737f8ff057e51c8f7bd700458', size: "medium" }), hAsync("duet-alert", { key: '4060aacd761dddcd9e06c3c7df95c6a3306fc9f8', 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: 'cb2f66cf8b9b95e160022b5df3c36cb82f892e09', "aria-hidden": "true" }, hAsync("input", { key: 'e07b880670a5bb91660e1ae562dff6d5c2036a1f', ref: input => {
|
|
22279
24363
|
this.nativeInput = input;
|
|
22280
24364
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
22281
24365
|
"duet-upload": true,
|
|
@@ -22596,7 +24680,7 @@ class DuetUploadAriaStatus {
|
|
|
22596
24680
|
* Always the last one in the class.
|
|
22597
24681
|
*/
|
|
22598
24682
|
render() {
|
|
22599
|
-
return (hAsync(Host, { key: '
|
|
24683
|
+
return (hAsync(Host, { key: '9ef075b90505bbba4b77395f4be84f896519b61a', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '57a5279dd6e2db63beb2d5d7912b29dce1ba547d' }, this.statusMessage)));
|
|
22600
24684
|
}
|
|
22601
24685
|
get element() { return getElement(this); }
|
|
22602
24686
|
static get watchers() { return {
|
|
@@ -22663,7 +24747,7 @@ class DuetUploadItem$1 {
|
|
|
22663
24747
|
inheritGlobalTheme(this);
|
|
22664
24748
|
}
|
|
22665
24749
|
render() {
|
|
22666
|
-
return (hAsync(Host, { key: '
|
|
24750
|
+
return (hAsync(Host, { key: '4990de1bf699e3f0daea24f507a9b9e252b11d9a' }, hAsync("duet-visually-hidden", { key: '0a226f6f53a8da89230e81df8be61a2413c44af1', "aria-hidden": "true" }, hAsync("input", { key: 'a8a8e3bfc73847a74ea8dc8dff0da0c16d510e15', ref: input => {
|
|
22667
24751
|
this.nativeInput = input;
|
|
22668
24752
|
}, type: "file", class: {
|
|
22669
24753
|
"duet-upload": true,
|
|
@@ -22775,9 +24859,9 @@ class DuetUploadItem {
|
|
|
22775
24859
|
const { uid, meta, item } = this.data;
|
|
22776
24860
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
22777
24861
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
22778
|
-
return (hAsync("div", { key: '
|
|
24862
|
+
return (hAsync("div", { key: 'e20eaab3688b577cbdc151f9e890e6ccb55e7795', class: {
|
|
22779
24863
|
"upload-item-row": true,
|
|
22780
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
24864
|
+
} }, this.showCategory && (hAsync("div", { key: '136689969c8164e4a5e15015ded3533e24959c8e', class: "item-categories" }, hAsync("duet-heading", { key: '02bb08e5a87bae34896dc2d21d90fce955044231', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'd93fae942698b2638a46ff9a3249884555472a37', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '244da72bd3771fcf6ee4481f3143c051bf272bc2', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '730db1e85ef0ba3f9f9d4d67f38270e38d6d7195', class: "item-actions" }, this.actions.map(actionItem => {
|
|
22781
24865
|
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) }));
|
|
22782
24866
|
}))));
|
|
22783
24867
|
}
|
|
@@ -22818,7 +24902,7 @@ class DuetVisuallyHidden {
|
|
|
22818
24902
|
* Always the last one in the class.
|
|
22819
24903
|
*/
|
|
22820
24904
|
render() {
|
|
22821
|
-
return (hAsync(Host, { key: '
|
|
24905
|
+
return (hAsync(Host, { key: '4e73b8e8e3d246d4e425a653526f8e3847675c05', class: "duet-visually-hidden" }, hAsync("slot", { key: '43ab02712801040eeaa472a683c20629d6f4e865' })));
|
|
22822
24906
|
}
|
|
22823
24907
|
get element() { return getElement(this); }
|
|
22824
24908
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -22887,6 +24971,7 @@ registerComponents([
|
|
|
22887
24971
|
DuetPageHeading,
|
|
22888
24972
|
DuetPagination,
|
|
22889
24973
|
DuetParagraph,
|
|
24974
|
+
DuetPhoneInput,
|
|
22890
24975
|
DuetPopupMenu,
|
|
22891
24976
|
DuetPopupMenuItem,
|
|
22892
24977
|
DuetProgress,
|