@duetds/components 9.4.2 → 9.5.1
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 +2282 -200
- package/lib/cjs/{a11y-utils-821a2919.js → a11y-utils-1e25e6e3.js} +1 -1
- package/lib/cjs/{app-globals-b8946136.js → app-globals-b0eb39d1.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 -377
- package/lib/cjs/duet-choice_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-collapsible.cjs.entry.js +4 -4
- package/lib/cjs/duet-combobox.cjs.entry.js +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 +4 -4
- package/lib/cjs/duet-divider_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +7 -7
- package/lib/cjs/duet-empty-state.cjs.entry.js +3 -3
- package/lib/cjs/duet-fieldset.cjs.entry.js +5 -5
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +7 -7
- package/lib/cjs/duet-grid_2.cjs.entry.js +1 -1
- package/lib/cjs/duet-header_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-hero.cjs.entry.js +8 -8
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-input_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-layout.cjs.entry.js +7 -7
- package/lib/cjs/duet-list_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar.cjs.entry.js +4 -4
- package/lib/cjs/duet-modal.cjs.entry.js +10 -10
- package/lib/cjs/duet-multiselect.cjs.entry.js +8 -8
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-number-input.cjs.entry.js +3 -3
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +3 -3
- package/lib/cjs/duet-pagination_2.cjs.entry.js +15 -15
- package/lib/cjs/duet-phone-input.cjs.entry.js +2008 -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 +2 -2
- package/lib/cjs/duet-range-slider.cjs.entry.js +1 -1
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +18 -13
- package/lib/cjs/duet-section-layout.cjs.entry.js +4 -4
- package/lib/cjs/duet-select.cjs.entry.js +2 -2
- package/lib/cjs/duet-shaped-image.cjs.entry.js +3 -3
- package/lib/cjs/duet-show-more.cjs.entry.js +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 +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +6 -6
- package/lib/cjs/duet-textarea.cjs.entry.js +3 -3
- package/lib/cjs/duet-toggle.cjs.entry.js +1 -1
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +5 -5
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +7 -7
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +6 -6
- package/lib/cjs/duet-tooltip.cjs.entry.js +2 -2
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +2 -2
- package/lib/cjs/duet-upload-item.cjs.entry.js +5 -5
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +2 -2
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-4059c3de.js → errorcodes.utils-dc219661.js} +1 -1
- package/lib/cjs/{focus-utils-b50cfb47.js → focus-utils-21fac156.js} +1 -1
- package/lib/cjs/{index-ae9c685d.js → index-e6a117fc.js} +11 -3
- package/lib/cjs/{language-utils-eb134c64.js → language-utils-c291fe9b.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-66b2afa4.js → slot-utils-8d10ec0a.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-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-divider/duet-divider.js +1 -1
- 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-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 +4 -4
- package/lib/collection/components/duet-layout/duet-layout.js +5 -5
- package/lib/collection/components/duet-link/duet-link.js +2 -2
- package/lib/collection/components/duet-list/duet-list.js +1 -1
- package/lib/collection/components/duet-list-item/duet-list-item.js +2 -2
- package/lib/collection/components/duet-logo/duet-logo.js +1 -1
- package/lib/collection/components/duet-menu-bar/duet-menu-bar.js +2 -2
- package/lib/collection/components/duet-menu-bar-button/duet-menu-bar-button.js +2 -2
- package/lib/collection/components/duet-menu-bar-dropdown/duet-menu-bar-dropdown.js +4 -4
- package/lib/collection/components/duet-menu-bar-dropdown-link/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/collection/components/duet-menu-bar-item/duet-menu-bar-item.js +2 -2
- package/lib/collection/components/duet-menu-bar-link/duet-menu-bar-link.js +2 -2
- package/lib/collection/components/duet-modal/duet-modal.js +6 -6
- package/lib/collection/components/duet-multiselect/duet-multiselect.js +5 -5
- package/lib/collection/components/duet-nav/duet-nav.js +1 -1
- package/lib/collection/components/duet-notification/duet-notification.js +2 -2
- package/lib/collection/components/duet-notification-drawer/duet-notification-drawer.js +2 -2
- package/lib/collection/components/duet-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 +61 -0
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +802 -0
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +69 -9
- 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-range-stepper/duet-range-stepper.js +2 -2
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +11 -6
- package/lib/collection/components/duet-section-layout/duet-section-layout.js +3 -3
- 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-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-group/duet-tab-group.js +4 -4
- package/lib/collection/components/duet-table/duet-table.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 +8 -8
- package/lib/dist-custom-elements/duet-choice.js +4 -4
- package/lib/dist-custom-elements/duet-collapsible.js +5 -5
- package/lib/dist-custom-elements/duet-combobox.js +15 -15
- package/lib/dist-custom-elements/duet-contact-card.js +10 -10
- package/lib/dist-custom-elements/duet-cookie-consent.js +7 -7
- package/lib/dist-custom-elements/duet-date-picker.js +13 -13
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +7 -7
- package/lib/dist-custom-elements/duet-empty-state.js +1 -1
- package/lib/dist-custom-elements/duet-fieldset.js +1 -1
- package/lib/dist-custom-elements/duet-file-chooser.js +3 -3
- package/lib/dist-custom-elements/duet-footer.js +11 -11
- package/lib/dist-custom-elements/duet-grid-item.js +1 -1
- package/lib/dist-custom-elements/duet-grid.js +1 -1
- package/lib/dist-custom-elements/duet-header.js +8 -8
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +14 -14
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-input.js +1 -1
- package/lib/dist-custom-elements/duet-label.js +1 -1
- package/lib/dist-custom-elements/duet-layout.js +6 -6
- package/lib/dist-custom-elements/duet-link.js +1 -1
- package/lib/dist-custom-elements/duet-list-item.js +1 -1
- package/lib/dist-custom-elements/duet-list.js +1 -1
- package/lib/dist-custom-elements/duet-logo.js +1 -1
- package/lib/dist-custom-elements/duet-menu-bar-button.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-modal.js +14 -14
- package/lib/dist-custom-elements/duet-multiselect.js +14 -14
- package/lib/dist-custom-elements/duet-nav.js +2 -2
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +4 -4
- package/lib/dist-custom-elements/duet-number-input.js +11 -11
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +5 -5
- package/lib/dist-custom-elements/duet-pagination.js +24 -24
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.d.ts +11 -0
- package/lib/dist-custom-elements/duet-phone-input.js +2135 -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 +8 -8
- package/lib/dist-custom-elements/duet-radio.js +1 -1
- package/lib/dist-custom-elements/duet-range-slider.js +2 -2
- package/lib/dist-custom-elements/duet-range-stepper.js +6 -6
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +4 -4
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +3 -3
- package/lib/dist-custom-elements/duet-slideout-link.js +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 +4 -4
- package/lib/dist-custom-elements/duet-stepper.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar.js +8 -8
- package/lib/dist-custom-elements/duet-tab-group.js +11 -11
- package/lib/dist-custom-elements/duet-tab.js +1 -1
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +10 -10
- package/lib/dist-custom-elements/duet-toggle.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-item.js +5 -5
- package/lib/dist-custom-elements/duet-toolbar-link.js +4 -4
- package/lib/dist-custom-elements/duet-toolbar.js +3 -3
- package/lib/dist-custom-elements/duet-tooltip-button.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip-popup.js +1 -1
- package/lib/dist-custom-elements/duet-tooltip.js +1 -1
- package/lib/dist-custom-elements/duet-tray.js +5 -5
- package/lib/dist-custom-elements/duet-upload-aria-status.js +1 -1
- package/lib/dist-custom-elements/duet-upload-item.js +1 -1
- package/lib/dist-custom-elements/duet-upload.js +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-f904de26.js → p-0a5495b6.js} +3 -3
- package/lib/dist-custom-elements/{p-12afa6a9.js → p-1219c53a.js} +4 -4
- package/lib/dist-custom-elements/{p-64e2d3ca.js → p-1237d11e.js} +8 -8
- package/lib/dist-custom-elements/{p-682759c1.js → p-1a132b1a.js} +1 -1
- package/lib/dist-custom-elements/{p-cf7ebeca.js → p-1f0fcce4.js} +16 -11
- package/lib/dist-custom-elements/{p-e7837082.js → p-2b1e6b5d.js} +3 -3
- package/lib/dist-custom-elements/{p-5f69b1a3.js → p-2c7e8fea.js} +6 -6
- package/lib/dist-custom-elements/{p-fc719f13.js → p-35112a3e.js} +5 -5
- package/lib/dist-custom-elements/{p-7bd61001.js → p-40b6cfdc.js} +10 -10
- package/lib/dist-custom-elements/{p-db63d729.js → p-41f565f8.js} +2 -2
- package/lib/dist-custom-elements/{p-e40f6f72.js → p-49e93494.js} +4 -4
- package/lib/dist-custom-elements/{p-ea1b9fd2.js → p-4a747b86.js} +1 -1
- package/lib/dist-custom-elements/{p-20670f23.js → p-4ac79666.js} +6 -4
- package/lib/dist-custom-elements/{p-3cebc38f.js → p-4bbce223.js} +1 -1
- package/lib/dist-custom-elements/{p-6c512deb.js → p-57030e72.js} +3 -3
- package/lib/dist-custom-elements/{p-8bb33e70.js → p-5814136c.js} +3 -3
- package/lib/dist-custom-elements/{p-2bba9071.js → p-5d240efc.js} +12 -12
- package/lib/dist-custom-elements/{p-996b724b.js → p-629b86f6.js} +4 -4
- package/lib/dist-custom-elements/{p-a8105585.js → p-6f0a0708.js} +1 -1
- package/lib/dist-custom-elements/{p-81287261.js → p-75e0f2c0.js} +264 -1
- package/lib/dist-custom-elements/{p-8c206875.js → p-80b6a631.js} +3 -3
- package/lib/dist-custom-elements/{p-9d6b2f72.js → p-80d7e109.js} +3 -3
- package/lib/dist-custom-elements/{p-96198aec.js → p-87b5d28b.js} +5 -5
- package/lib/dist-custom-elements/{p-fa1cdac3.js → p-8df0e44b.js} +3 -3
- package/lib/dist-custom-elements/{p-0ead9c70.js → p-8eb7fe43.js} +2 -2
- package/lib/dist-custom-elements/{p-84a16ba6.js → p-9baca56c.js} +1 -1
- package/lib/dist-custom-elements/{p-792db7b0.js → p-9e44038b.js} +1 -1
- package/lib/dist-custom-elements/{p-3e337443.js → p-b6c1319b.js} +2 -2
- package/lib/dist-custom-elements/{p-43578452.js → p-d34a377a.js} +119 -12
- package/lib/dist-custom-elements/{p-32dde064.js → p-d40633ba.js} +3 -3
- package/lib/dist-custom-elements/{p-919a3f56.js → p-d6afe712.js} +7 -7
- package/lib/dist-custom-elements/{p-95bf575a.js → p-da3f596f.js} +2 -2
- package/lib/dist-custom-elements/{p-2218a02d.js → p-de88ebc9.js} +2 -2
- package/lib/dist-custom-elements/{p-eb8c49d0.js → p-e639defe.js} +4 -4
- package/lib/dist-custom-elements/{p-57b14f14.js → p-ea83aa97.js} +4 -4
- package/lib/dist-custom-elements/{p-b1d9f172.js → p-eb67694d.js} +2 -2
- package/lib/dist-custom-elements/{p-55baf5dc.js → p-eee324c4.js} +3 -3
- package/lib/dist-custom-elements/{p-1783819b.js → p-f58c99dc.js} +12 -12
- package/lib/dist-custom-elements/{p-9613c7ae.js → p-ffd0da9c.js} +2 -2
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-2590f7b0.system.entry.js → p-004f4889.system.entry.js} +1 -1
- package/lib/duet/{p-7e67797a.system.entry.js → p-005170b7.system.entry.js} +1 -1
- package/lib/duet/{p-53c14a6d.system.entry.js → p-00a09206.system.entry.js} +1 -1
- package/lib/duet/{p-d8a7a6eb.entry.js → p-02464eab.entry.js} +1 -1
- package/lib/duet/{p-c06b8830.system.entry.js → p-025b2278.system.entry.js} +1 -1
- package/lib/duet/{p-5817c9a6.entry.js → p-078b7a5e.entry.js} +1 -1
- package/lib/duet/p-082839ec.entry.js +4 -0
- package/lib/duet/{p-05bd5fc1.system.entry.js → p-08d304b6.system.entry.js} +1 -1
- package/lib/duet/{p-67b77e1a.system.entry.js → p-09b58b33.system.entry.js} +1 -1
- package/lib/duet/{p-89a86ebc.system.entry.js → p-09e94e65.system.entry.js} +1 -1
- package/lib/duet/{p-edda0b76.system.entry.js → p-0a3c17d4.system.entry.js} +1 -1
- package/lib/duet/{p-6791795c.entry.js → p-0b690c76.entry.js} +1 -1
- package/lib/duet/{p-5c6fa752.entry.js → p-0c24394e.entry.js} +1 -1
- package/lib/duet/p-0c618613.entry.js +4 -0
- package/lib/duet/{p-59cbcc2e.system.js → p-0d75b285.system.js} +1 -1
- package/lib/duet/p-0e5ef946.js +4 -0
- package/lib/duet/{p-f1f562bb.entry.js → p-0ecd1f95.entry.js} +1 -1
- package/lib/duet/p-12e049bd.system.js +4 -0
- package/lib/duet/p-14618c69.entry.js +4 -0
- package/lib/duet/{p-d451ec53.entry.js → p-147d6e48.entry.js} +1 -1
- package/lib/duet/p-152229b6.entry.js +4 -0
- package/lib/duet/{p-e51fe789.entry.js → p-159d4c32.entry.js} +1 -1
- package/lib/duet/{p-bca39a19.system.entry.js → p-19516bf2.system.entry.js} +1 -1
- package/lib/duet/{p-9b6794b3.entry.js → p-1a67a738.entry.js} +1 -1
- package/lib/duet/p-1aaa8644.system.entry.js +4 -0
- package/lib/duet/{p-bca6125e.entry.js → p-1dd3ef28.entry.js} +1 -1
- package/lib/duet/{p-e8334ed1.entry.js → p-1e540c4c.entry.js} +1 -1
- package/lib/duet/{p-f6f21b70.entry.js → p-1ea7e7a7.entry.js} +1 -1
- package/lib/duet/{p-1e4e0a4d.entry.js → p-20577153.entry.js} +1 -1
- package/lib/duet/{p-b5c7f8cd.entry.js → p-22884344.entry.js} +1 -1
- package/lib/duet/{p-59339a3e.system.entry.js → p-230d0772.system.entry.js} +1 -1
- package/lib/duet/{p-fa03d3b3.system.entry.js → p-23dafa29.system.entry.js} +1 -1
- package/lib/duet/{p-42ed9cf5.entry.js → p-248d1fc1.entry.js} +1 -1
- package/lib/duet/{p-4aa4bece.system.entry.js → p-24aece3a.system.entry.js} +1 -1
- package/lib/duet/{p-ee3b1868.system.entry.js → p-24fc6b8a.system.entry.js} +1 -1
- package/lib/duet/{p-709882f3.system.entry.js → p-25aca626.system.entry.js} +1 -1
- package/lib/duet/{p-472dab44.system.entry.js → p-263ba5bc.system.entry.js} +1 -1
- package/lib/duet/p-276503fe.system.entry.js +4 -0
- package/lib/duet/p-27b82d35.entry.js +4 -0
- package/lib/duet/{p-4ec25d4a.system.js → p-27f2bc53.system.js} +1 -1
- package/lib/duet/{p-653c75c3.system.entry.js → p-28ce8dcb.system.entry.js} +1 -1
- package/lib/duet/p-2922d3fe.entry.js +4 -0
- package/lib/duet/{p-c05be5e1.entry.js → p-29641354.entry.js} +1 -1
- package/lib/duet/{p-7df5aaf6.system.entry.js → p-333be6f6.system.entry.js} +2 -2
- package/lib/duet/{p-3a495087.entry.js → p-33f45e04.entry.js} +1 -1
- package/lib/duet/{p-8c8f2565.entry.js → p-34524a03.entry.js} +1 -1
- package/lib/duet/{p-73f5d7d3.system.entry.js → p-34f1a0c8.system.entry.js} +2 -2
- package/lib/duet/{p-b99e40e7.entry.js → p-383d480f.entry.js} +1 -1
- package/lib/duet/{p-f89203db.entry.js → p-39293af6.entry.js} +1 -1
- package/lib/duet/{p-05673dd4.system.entry.js → p-398ffdcd.system.entry.js} +1 -1
- package/lib/duet/{p-e64cdc3b.system.entry.js → p-39934ea9.system.entry.js} +1 -1
- package/lib/duet/{p-3a0a60fb.system.entry.js → p-3ad59868.system.entry.js} +1 -1
- package/lib/duet/{p-d72393c6.entry.js → p-3b1d8855.entry.js} +1 -1
- package/lib/duet/{p-7abde534.system.js → p-3b451879.system.js} +1 -1
- package/lib/duet/{p-475672d1.entry.js → p-3c520d06.entry.js} +1 -1
- package/lib/duet/{p-a6f485ce.system.entry.js → p-404880c0.system.entry.js} +1 -1
- package/lib/duet/{p-b2a5f5d0.entry.js → p-40525c72.entry.js} +1 -1
- package/lib/duet/{p-3b88a791.system.entry.js → p-416a6b00.system.entry.js} +1 -1
- package/lib/duet/p-427c3017.system.entry.js +4 -0
- package/lib/duet/{p-5b2030f6.entry.js → p-4513706a.entry.js} +1 -1
- package/lib/duet/{p-b77c2cc1.entry.js → p-457121d7.entry.js} +1 -1
- package/lib/duet/{p-df67d91b.system.entry.js → p-457d4e7b.system.entry.js} +1 -1
- package/lib/duet/{p-b2fbe44f.entry.js → p-4b998fe4.entry.js} +1 -1
- package/lib/duet/p-4d569314.entry.js +4 -0
- package/lib/duet/{p-49cddce5.system.entry.js → p-4d88d4d8.system.entry.js} +1 -1
- package/lib/duet/{p-7ae20674.system.entry.js → p-4ede4c9b.system.entry.js} +1 -1
- package/lib/duet/{p-3ee0e7a2.system.entry.js → p-50d381f8.system.entry.js} +1 -1
- package/lib/duet/p-531431a4.entry.js +4 -0
- package/lib/duet/{p-d3ba2b21.entry.js → p-54d22e9f.entry.js} +1 -1
- package/lib/duet/{p-5e98b366.system.entry.js → p-559373ce.system.entry.js} +1 -1
- package/lib/duet/{p-968c2680.entry.js → p-56172ea4.entry.js} +1 -1
- package/lib/duet/p-56d25af6.entry.js +4 -0
- package/lib/duet/{p-849a093c.system.entry.js → p-57ed1115.system.entry.js} +1 -1
- package/lib/duet/{p-e1d6e640.system.entry.js → p-5b19279e.system.entry.js} +1 -1
- package/lib/duet/{p-0620d479.system.entry.js → p-5cb308e3.system.entry.js} +1 -1
- package/lib/duet/{p-1dbbe6df.system.entry.js → p-5e37ae74.system.entry.js} +1 -1
- package/lib/duet/{p-f8cda4cb.entry.js → p-5e587df2.entry.js} +1 -1
- package/lib/duet/{p-09fea5ea.system.entry.js → p-608d87af.system.entry.js} +1 -1
- package/lib/duet/{p-c1030c78.entry.js → p-61df374f.entry.js} +1 -1
- package/lib/duet/{p-2f333676.system.entry.js → p-62467dcd.system.entry.js} +2 -2
- package/lib/duet/p-635329d5.js +4 -0
- package/lib/duet/{p-e9d69dba.entry.js → p-63a85911.entry.js} +1 -1
- package/lib/duet/p-63a866fd.entry.js +4 -0
- package/lib/duet/{p-87cc03bb.system.entry.js → p-63c713ac.system.entry.js} +1 -1
- package/lib/duet/{p-4261665d.system.entry.js → p-68f1ac3d.system.entry.js} +1 -1
- package/lib/duet/{p-05fcbe8e.system.entry.js → p-6989245e.system.entry.js} +1 -1
- package/lib/duet/{p-c71a58da.js → p-6be21d53.js} +1 -1
- package/lib/duet/{p-3677dc32.entry.js → p-6cdf7d12.entry.js} +1 -1
- package/lib/duet/{p-2b8d5ebf.system.entry.js → p-6f585b8e.system.entry.js} +1 -1
- package/lib/duet/{p-7b39ff48.entry.js → p-701148c7.entry.js} +1 -1
- package/lib/duet/{p-1f521358.system.entry.js → p-70565a72.system.entry.js} +1 -1
- package/lib/duet/{p-457a2d83.system.entry.js → p-73d6f3f1.system.entry.js} +1 -1
- package/lib/duet/{p-f2a35fdd.entry.js → p-7404823f.entry.js} +1 -1
- package/lib/duet/{p-9ea49d85.system.entry.js → p-79dfa1cd.system.entry.js} +1 -1
- package/lib/duet/{p-042e2fe8.entry.js → p-7a55ccd4.entry.js} +1 -1
- package/lib/duet/{p-9c4c9249.system.entry.js → p-7b464a76.system.entry.js} +1 -1
- package/lib/duet/{p-ad2f0283.system.entry.js → p-7c217bba.system.entry.js} +1 -1
- package/lib/duet/{p-d46c21c3.system.entry.js → p-7e74329c.system.entry.js} +2 -2
- package/lib/duet/{p-ddc04775.entry.js → p-7f8cd5ca.entry.js} +1 -1
- package/lib/duet/p-7faa23b3.entry.js +4 -0
- package/lib/duet/{p-72b3dc7c.entry.js → p-7ff5d518.entry.js} +1 -1
- package/lib/duet/{p-99110a93.entry.js → p-81779e0c.entry.js} +1 -1
- package/lib/duet/{p-d2a5a09f.js → p-82fc6160.js} +1 -1
- package/lib/duet/{p-e39b4df9.system.entry.js → p-83827bc3.system.entry.js} +1 -1
- package/lib/duet/{p-758432df.entry.js → p-85f02853.entry.js} +1 -1
- package/lib/duet/p-891a644e.system.js +4 -0
- package/lib/duet/{p-5e988172.system.entry.js → p-8a4d54c7.system.entry.js} +1 -1
- package/lib/duet/{p-9a1ede4b.system.entry.js → p-8bcec5d9.system.entry.js} +1 -1
- package/lib/duet/{p-f2a5e96f.entry.js → p-8ea137df.entry.js} +1 -1
- package/lib/duet/{p-829f18ac.entry.js → p-8fe213ce.entry.js} +1 -1
- package/lib/duet/{p-242c72b4.entry.js → p-9342741d.entry.js} +1 -1
- package/lib/duet/{p-3b03ad48.js → p-93c1b76f.js} +1 -1
- package/lib/duet/p-958736f6.entry.js +4 -0
- package/lib/duet/{p-3945d323.system.entry.js → p-960955b8.system.entry.js} +1 -1
- package/lib/duet/{p-23c363ea.system.entry.js → p-981c3a70.system.entry.js} +1 -1
- package/lib/duet/{p-ee268c5a.entry.js → p-987c6807.entry.js} +1 -1
- package/lib/duet/{p-75e262dd.system.entry.js → p-9c346e3e.system.entry.js} +1 -1
- package/lib/duet/{p-fae62327.system.entry.js → p-9f2d018f.system.entry.js} +1 -1
- package/lib/duet/{p-3a5017af.entry.js → p-9f4deff5.entry.js} +1 -1
- package/lib/duet/{p-373e1b99.entry.js → p-a56e7b3e.entry.js} +1 -1
- package/lib/duet/{p-b6e4d58e.system.entry.js → p-a596cd3a.system.entry.js} +1 -1
- package/lib/duet/{p-7b249d64.system.entry.js → p-a79b216a.system.entry.js} +1 -1
- package/lib/duet/{p-31fcb811.entry.js → p-a8ba38dd.entry.js} +1 -1
- package/lib/duet/{p-75e12142.js → p-ac43ccbd.js} +1 -1
- package/lib/duet/p-adf55373.system.entry.js +4 -0
- package/lib/duet/{p-6e1b9c32.system.entry.js → p-af2289ca.system.entry.js} +2 -2
- package/lib/duet/{p-fd38377e.system.entry.js → p-af4ddc28.system.entry.js} +1 -1
- package/lib/duet/{p-b2f48572.entry.js → p-b1cc50bc.entry.js} +1 -1
- package/lib/duet/{p-d1274fac.entry.js → p-b25b4fa7.entry.js} +1 -1
- package/lib/duet/{p-dc807a5c.system.js → p-b3cb308a.system.js} +1 -1
- package/lib/duet/{p-b7393278.entry.js → p-bb93284d.entry.js} +1 -1
- package/lib/duet/{p-e9d570bf.entry.js → p-bbff29df.entry.js} +1 -1
- package/lib/duet/{p-3f8677ac.system.js → p-bca7337f.system.js} +1 -1
- package/lib/duet/{p-f5e1a0cc.entry.js → p-be1b4801.entry.js} +1 -1
- package/lib/duet/{p-2bb74e72.entry.js → p-c002302d.entry.js} +1 -1
- package/lib/duet/{p-d5a1fea0.entry.js → p-c18cf73d.entry.js} +1 -1
- package/lib/duet/{p-ef16cf2f.system.entry.js → p-c1ad9533.system.entry.js} +1 -1
- package/lib/duet/{p-2a4b6723.system.entry.js → p-c25ffdd4.system.entry.js} +1 -1
- package/lib/duet/p-c5850fb4.entry.js +4 -0
- package/lib/duet/{p-6460ecdd.entry.js → p-c67bc178.entry.js} +1 -1
- package/lib/duet/p-c77f6d5d.entry.js +4 -0
- package/lib/duet/{p-f3e0a76f.system.entry.js → p-c82bf6d3.system.entry.js} +1 -1
- package/lib/duet/{p-2822c55e.system.entry.js → p-c8ebba85.system.entry.js} +1 -1
- package/lib/duet/{p-c6564753.system.entry.js → p-cc425ef7.system.entry.js} +1 -1
- package/lib/duet/{p-8d66d9ff.entry.js → p-ccc9d700.entry.js} +1 -1
- package/lib/duet/{p-fe63ab87.system.entry.js → p-ce0aeaf2.system.entry.js} +2 -2
- package/lib/duet/p-d02896d8.js +4 -0
- package/lib/duet/p-d070e142.system.entry.js +4 -0
- package/lib/duet/{p-6b4ca314.entry.js → p-d0e04b56.entry.js} +1 -1
- package/lib/duet/{p-a488b792.system.entry.js → p-d3d379cf.system.entry.js} +1 -1
- package/lib/duet/{p-714399a1.system.entry.js → p-d4d5d006.system.entry.js} +1 -1
- package/lib/duet/{p-07be03a5.system.js → p-d526e143.system.js} +1 -1
- package/lib/duet/{p-d1219b00.system.entry.js → p-d63f49eb.system.entry.js} +1 -1
- package/lib/duet/p-d67da533.system.entry.js +4 -0
- package/lib/duet/{p-e8eed1e6.entry.js → p-d754a42c.entry.js} +1 -1
- package/lib/duet/{p-58f49211.system.entry.js → p-dcb533d6.system.entry.js} +1 -1
- package/lib/duet/{p-1a045554.entry.js → p-dd9d2671.entry.js} +1 -1
- package/lib/duet/{p-9f5a2024.entry.js → p-df0fb865.entry.js} +1 -1
- package/lib/duet/{p-ab2b67ab.entry.js → p-df7ef805.entry.js} +1 -1
- package/lib/duet/{p-3215139d.system.entry.js → p-e0b8ed9a.system.entry.js} +1 -1
- package/lib/duet/{p-93c4d3c3.system.entry.js → p-e1d536a6.system.entry.js} +1 -1
- package/lib/duet/{p-a220b676.entry.js → p-e1ec6cd6.entry.js} +1 -1
- package/lib/duet/{p-53a07476.system.entry.js → p-e2cb818b.system.entry.js} +1 -1
- package/lib/duet/{p-2c565a29.entry.js → p-e2e8a654.entry.js} +1 -1
- package/lib/duet/{p-243553ce.entry.js → p-e3454275.entry.js} +1 -1
- package/lib/duet/{p-37631fb0.system.entry.js → p-e3834dc3.system.entry.js} +1 -1
- package/lib/duet/{p-dfe8ce73.system.entry.js → p-e4f41663.system.entry.js} +1 -1
- package/lib/duet/{p-f409cd1f.system.entry.js → p-e6563981.system.entry.js} +2 -2
- package/lib/duet/{p-3e9b5b6f.entry.js → p-e7d36069.entry.js} +1 -1
- package/lib/duet/{p-5b8b0f3b.entry.js → p-f2a9ebce.entry.js} +1 -1
- package/lib/duet/p-f33aace0.entry.js +4 -0
- package/lib/duet/p-f6ecfb29.system.entry.js +4 -0
- package/lib/duet/p-f75cbdb7.system.entry.js +4 -0
- package/lib/duet/{p-27aab6b1.entry.js → p-f9189172.entry.js} +1 -1
- package/lib/duet/{p-772f84d7.system.entry.js → p-f989f433.system.entry.js} +1 -1
- package/lib/duet/{p-52d6efa6.system.entry.js → p-fb841ad4.system.entry.js} +1 -1
- package/lib/duet/{p-03d1fe77.entry.js → p-fbc20d2d.entry.js} +1 -1
- package/lib/duet/{p-f12da4d6.system.entry.js → p-ff948c06.system.entry.js} +1 -1
- package/lib/duet/{p-e5ef5e89.entry.js → p-ffb66495.entry.js} +1 -1
- package/lib/esm/{a11y-utils-47ea468e.js → a11y-utils-42550857.js} +1 -1
- package/lib/esm/{app-globals-52a8e9e5.js → app-globals-e40eeed5.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 -377
- package/lib/esm/duet-choice_2.entry.js +3 -3
- package/lib/esm/duet-collapsible.entry.js +4 -4
- package/lib/esm/duet-combobox.entry.js +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 +4 -4
- package/lib/esm/duet-divider_2.entry.js +3 -3
- package/lib/esm/duet-editable-table_3.entry.js +7 -7
- package/lib/esm/duet-empty-state.entry.js +3 -3
- package/lib/esm/duet-fieldset.entry.js +5 -5
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +7 -7
- package/lib/esm/duet-grid_2.entry.js +1 -1
- package/lib/esm/duet-header_2.entry.js +3 -3
- package/lib/esm/duet-hero.entry.js +8 -8
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-input_2.entry.js +5 -5
- package/lib/esm/duet-layout.entry.js +7 -7
- package/lib/esm/duet-list_2.entry.js +4 -4
- package/lib/esm/duet-menu-bar-button.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +3 -3
- package/lib/esm/duet-menu-bar.entry.js +4 -4
- package/lib/esm/duet-modal.entry.js +10 -10
- package/lib/esm/duet-multiselect.entry.js +8 -8
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +6 -6
- package/lib/esm/duet-number-input.entry.js +3 -3
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +3 -3
- package/lib/esm/duet-pagination_2.entry.js +15 -15
- package/lib/esm/duet-phone-input.entry.js +2004 -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 +2 -2
- package/lib/esm/duet-range-slider.entry.js +1 -1
- package/lib/esm/duet-scrollable_3.entry.js +18 -13
- package/lib/esm/duet-section-layout.entry.js +4 -4
- package/lib/esm/duet-select.entry.js +2 -2
- package/lib/esm/duet-shaped-image.entry.js +3 -3
- package/lib/esm/duet-show-more.entry.js +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 +2 -2
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-item.entry.js +5 -5
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +6 -6
- package/lib/esm/duet-textarea.entry.js +3 -3
- package/lib/esm/duet-toggle.entry.js +1 -1
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown.entry.js +5 -5
- package/lib/esm/duet-toolbar-item.entry.js +7 -7
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +3 -3
- package/lib/esm/duet-tooltip-button_2.entry.js +6 -6
- package/lib/esm/duet-tooltip.entry.js +2 -2
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +2 -2
- package/lib/esm/duet-upload-item.entry.js +5 -5
- package/lib/esm/duet-visually-hidden.entry.js +2 -2
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-e55da25d.js → errorcodes.utils-871f54ed.js} +1 -1
- package/lib/esm/{focus-utils-b09f6029.js → focus-utils-3e4436c1.js} +1 -1
- package/lib/esm/{index-ed83a687.js → index-caf8af66.js} +11 -3
- package/lib/esm/{language-utils-d2c8afdc.js → language-utils-37fa60e1.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-035ffb1f.js → slot-utils-44165de2.js} +1 -1
- package/lib/esm-es5/{a11y-utils-47ea468e.js → a11y-utils-42550857.js} +1 -1
- package/lib/esm-es5/{app-globals-52a8e9e5.js → app-globals-e40eeed5.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 +1 -1
- package/lib/esm-es5/duet-empty-state.entry.js +1 -1
- package/lib/esm-es5/duet-fieldset.entry.js +1 -1
- package/lib/esm-es5/duet-file-chooser.entry.js +1 -1
- package/lib/esm-es5/duet-footer.entry.js +1 -1
- package/lib/esm-es5/duet-grid_2.entry.js +1 -1
- package/lib/esm-es5/duet-header_2.entry.js +1 -1
- package/lib/esm-es5/duet-hero.entry.js +2 -2
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-input_2.entry.js +1 -1
- package/lib/esm-es5/duet-layout.entry.js +1 -1
- package/lib/esm-es5/duet-list_2.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-button.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +2 -2
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +2 -2
- package/lib/esm-es5/duet-phone-input.entry.js +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 +2 -2
- package/lib/esm-es5/duet-radio_2.entry.js +1 -1
- package/lib/esm-es5/duet-range-slider.entry.js +1 -1
- package/lib/esm-es5/duet-scrollable_3.entry.js +2 -2
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +1 -1
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +2 -2
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-e55da25d.js → errorcodes.utils-871f54ed.js} +1 -1
- package/lib/esm-es5/focus-utils-3e4436c1.js +4 -0
- package/lib/esm-es5/index-caf8af66.js +4 -0
- package/lib/esm-es5/{language-utils-d2c8afdc.js → language-utils-37fa60e1.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-035ffb1f.js → slot-utils-44165de2.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 +161 -0
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +11 -1
- package/lib/types/components/duet-slideout-link/duet-slideout-link.d.ts +17 -0
- package/lib/types/components.d.ts +267 -2
- package/lib/types/data/countries.d.ts +22 -0
- package/package.json +4 -4
- package/lib/dist-custom-elements/p-b48eb919.js +0 -268
- package/lib/duet/p-05744ea4.entry.js +0 -4
- package/lib/duet/p-0dee442d.system.entry.js +0 -4
- package/lib/duet/p-0f354fb2.system.entry.js +0 -4
- package/lib/duet/p-15b3553c.system.entry.js +0 -4
- package/lib/duet/p-254f4171.entry.js +0 -4
- package/lib/duet/p-2f769f52.system.entry.js +0 -4
- package/lib/duet/p-46d7ebac.js +0 -4
- package/lib/duet/p-55d318e7.entry.js +0 -4
- package/lib/duet/p-571bc7a8.js +0 -4
- package/lib/duet/p-5bb1c4b6.entry.js +0 -4
- package/lib/duet/p-6044fe21.entry.js +0 -4
- package/lib/duet/p-7e0c5458.entry.js +0 -4
- package/lib/duet/p-8396cd14.entry.js +0 -4
- package/lib/duet/p-96ba9bdb.system.entry.js +0 -4
- package/lib/duet/p-97b9b2ae.entry.js +0 -4
- package/lib/duet/p-a1f1645c.system.entry.js +0 -4
- package/lib/duet/p-a4bab4d8.entry.js +0 -4
- package/lib/duet/p-bf4d22d5.system.js +0 -4
- package/lib/duet/p-c4fc305d.entry.js +0 -4
- package/lib/duet/p-ceb3a8ca.entry.js +0 -4
- package/lib/duet/p-d681c210.entry.js +0 -4
- package/lib/duet/p-da4d3c61.js +0 -4
- package/lib/duet/p-f1bb265f.entry.js +0 -4
- package/lib/duet/p-f872ec26.system.js +0 -4
- package/lib/esm-es5/duet-chip_3.entry.js +0 -4
- package/lib/esm-es5/focus-utils-b09f6029.js +0 -4
- package/lib/esm-es5/index-ed83a687.js +0 -4
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: 'cb78bbf707726afa6370adc12ad150bf355b6859', class: { "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '84a4bcb3eae5bad6cbb54c1196ecd7c601910b04', 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: '47192a702299c359b51b2b904363fc8a90fc50a5' }))));
|
|
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: '66c046e9fa4c9848802d8f5bb53973dd6293788a', role: "listitem" }, hAsync("div", { key: '72d4f561b30cb93750f95f213a0396f76cc7c0ef', class: "container" }, this.icon === "arrow-right-small-icon" && (hAsync("duet-icon", { key: '2dc69145e210dc28f273b72a0f6c531b9ea418e2', class: "duet-breadrumbs-arrow", size: "auto", icon: actionArrowRightSmall.svg, margin: "none", color: "currentColor" })), hAsync("a", { key: '507d426a12acfa7beb21650acbdc7a8d3a102fc4', 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: 'ca3474e64ab9fe1ba33f6e3e825bd2b6df38daad', size: this.iconSize, name: this.icon, margin: "none", color: "currentColor" }),
|
|
4193
|
+
this.hasSlottedContent && hAsync("duet-spacer", { key: 'cafb6bccd2f8aa1d5489d65ebeee6c50db0686f0', size: "x-small", direction: "horizontal" }),
|
|
4194
|
+
], hAsync("slot", { key: '617a7e9bfce95a1f995c68fd2933dce4aad34973' })))));
|
|
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: 'af63aa4363af2f3a95ce42be51b7859174bd5749' }, hAsync("nav", { key: 'e94de5af502b5fe998b4a103485cbb71d3fd26c6', "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: 'd53aaf0bf7724611dc6e84bb661a37519f49d508', class: "container" }, hAsync("div", { key: '9ac4ef431a68e3381a9a53d80f74f6fc5c59a55e', role: "list", class: "list", style: { color } }, hAsync("slot", { key: '5c1e5f3c268febb8dd758afb21e0b1f24de6a0ed' })), hAsync("div", { key: '72a790a58a1c75e5e3910604f32e9f257fb10d22', class: "bottom-border bottom-border--container" })), hAsync("div", { key: '09bff8a4f622a575aa22a76a9442cd11a97bc819', 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: '2c0e0547229b6ad6a7cdc410305fd4410b3e23c5' }, hAsync("div", { key: 'e1ed12bbba8544b1dd2f80aef8d290f01b087a42', 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: '1c13c1e60d0eacf6130836b22e40820cd0bcc996', class: "container" }, hAsync("duet-icon", { key: 'd510e6802cb67270d02ad5261719f3fb6c34ab68', 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: '035294078491273c88249b1577a037f28c24ca30' }, hAsync("slot", { key: 'b516e727fc4d435fed30d422ba311099aff70605' })), this.hasAuthorSlot && (hAsync("figcaption", { key: 'ad0b1b81c5dc8cc30136ec2779fb66c428d624ef', class: "author" }, hAsync("span", { key: '4e2c5eb565f7e54f07900a691e2c01c73df22858' }, "\u2014 "), hAsync("slot", { key: '00fcc97851122cdc95659800a0da4c35ffbfa7c1', name: "author" })))))));
|
|
4621
4621
|
}
|
|
4622
4622
|
get element() { return getElement(this); }
|
|
4623
4623
|
static get style() { return DuetCalloutStyle0; }
|
|
@@ -4980,11 +4980,11 @@ class DuetCheckmark {
|
|
|
4980
4980
|
inheritGlobalTheme(this);
|
|
4981
4981
|
}
|
|
4982
4982
|
render() {
|
|
4983
|
-
return (hAsync(Host, { key: '
|
|
4983
|
+
return (hAsync(Host, { key: '55c7be96c4af72eca86ca4ac162d8a6437847188', class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '63a3a765c707f7167a9ceb051aca670919d11b95', role: this.presentationOnly ? "presentation" : null, class: { checked: this.checked } }, hAsync("div", { key: 'a6c403cbd2f31cb9accc560cc8e50c318ec0720b', class: {
|
|
4984
4984
|
"duet-checkmark-container": true,
|
|
4985
4985
|
center: this.center,
|
|
4986
4986
|
"duet-checkmark-radio": this.type === "radio",
|
|
4987
|
-
} }, this.checked && hAsync("div", { key: '
|
|
4987
|
+
} }, this.checked && hAsync("div", { key: '33bbad5a921fc12b1c1cee9214d15b980c02548e', class: "duet-checkmark" })))));
|
|
4988
4988
|
}
|
|
4989
4989
|
static get style() { return DuetCheckmarkStyle0; }
|
|
4990
4990
|
static get cmpMeta() { return {
|
|
@@ -5308,7 +5308,7 @@ class DuetChip {
|
|
|
5308
5308
|
onBlur: this.onBlur,
|
|
5309
5309
|
ref: el => (this.focusableElement = el),
|
|
5310
5310
|
};
|
|
5311
|
-
return (hAsync(Host, { key: '
|
|
5311
|
+
return (hAsync(Host, { key: 'b1df7c5770002dd9425d26bf8fa17d3721f601d2', class: { [this.variation]: true } }, this.variation === "button" && (hAsync("span", { key: 'faa1626d1b3317a950205d14d078fbe0237d7415', class: classes }, hAsync("button", Object.assign({ key: '10cc3c7ffd551371d87683ed1f77ac4e8f26a054', 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: '09730f09588f700c71c44b5a553e2d9f8697ba23', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '5c24873e683e50fe2638d484259298cda0e787e3', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: '4b3637344329df9466503eac30a67d349fa182df' })))), this.variation === "input" && (hAsync("span", { key: '110a424cd1b0c929a93150e286aece0d225570c5', class: classes, "aria-label": this.getAccessibleInputChipLabel() }, hAsync("button", Object.assign({ key: '42b26053fda75b29e3c7cdfa659547142478635a', 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: '6363c8549b51dd39b76e8f72f57c23450b963923', class: "duet-chip-icon-container" }, this.icon && (hAsync("duet-icon", { key: '7431ce93955a8cebc8d2f38cee1e7e36ceaee7cf', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }))), hAsync("slot", { key: 'd26a8c7e52b1c4c7f52f82943e8fb678a9350fc2' })), hAsync("button", { key: '1cca88cfde7c8dba8f455140f17ee2aade08cde5', 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: '9a68ecb75fb3a364875dfd4d641f47c800d0582a', name: "activity-close", size: "xx-small", margin: "none", color: "currentColor" })))), this.variation === "filter" && (hAsync("span", { key: 'c3d47adc6647a5d70ffc49887a300faf937759c4', class: classes }, hAsync("input", Object.assign({ key: 'c557b5098446b6e3cf9b44e6d55b1adb09a5be24', "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: '9dac1a2fca9e959933fda89eef2dd17434e71361', htmlFor: identifier }, this.icon && (hAsync("span", { key: 'ae307754bbdd4907a829e31ee25082463b4f216b', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'cba0d0deff98f3900974e1aa583927ae7747102c', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'be2dda983e43069160117f83d20ada5d003e19f8', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '8efc83f4fa6c1960862f001737cc0a382f2e64e1' }), this.popupElement && (hAsync("span", { key: '11d2f0c6552c34208db15624bdcbaa4fb2f4806b', class: "duet-chip-popup-disclosure" }, hAsync("duet-icon", { key: 'fb05d3357ecb174ca39e77473ade54c7a771b5cc', name: "action-arrow-down-small", size: "xxx-small", margin: "none", color: "currentColor" })))))), this.variation === "radio" && (hAsync("span", { key: 'b9788ff66787c6ad9f01e0430087cdaf8aaa7419', class: classes }, hAsync("slot", { key: '52e3600944848b6a7fe4bd9b1afb5bb2dfe57909', name: "input" }), hAsync("label", { key: '2f68754b97f21f763ffd59ae5081f661f831ee3a', htmlFor: identifier }, this.icon && (hAsync("span", { key: '45bac9d17f7fd94c8214438175f1980d9f61bf8a', class: "duet-chip-icon-container" }, hAsync("duet-icon", { key: 'f0512358b9ff4ca4f70cf0af9d6b8a4e2c5997b1', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("duet-icon", { key: 'ccfc7316e3e366ba20a315bac570fd30f68b1bc0', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor", class: "check-mark" }))), hAsync("slot", { key: '0d715c904b0a004fa16467801c598b6b485aea70' }))))));
|
|
5312
5312
|
}
|
|
5313
5313
|
get element() { return getElement(this); }
|
|
5314
5314
|
static get watchers() { return {
|
|
@@ -6678,7 +6678,7 @@ class DuetCollapsible {
|
|
|
6678
6678
|
*/
|
|
6679
6679
|
render() {
|
|
6680
6680
|
const HeadingTagName = this.headingLevel ? sanitizeString$1(this.headingLevel) : "div";
|
|
6681
|
-
return (hAsync(Host, { key: '
|
|
6681
|
+
return (hAsync(Host, { key: 'b9c815342f0c4635b2bf03cb210c7e71e90b54d8', class: { "duet-m-0": this.margin === "none", negative: this.negative } }, hAsync(HeadingTagName, { key: '6fb34dc0d618314f3545feae349af2b90669dc38' }, hAsync("button", { key: '2c60976671c564a2ba4c2bae7c25a81d46dd089e', class: {
|
|
6682
6682
|
"duet-collapsible-heading": true,
|
|
6683
6683
|
"duet-collapsible-heading-centered": this.centerHeading,
|
|
6684
6684
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -6686,7 +6686,7 @@ class DuetCollapsible {
|
|
|
6686
6686
|
"has-after-heading": this.hasAfterHeading,
|
|
6687
6687
|
"full-width": this.headingFullWidth,
|
|
6688
6688
|
"has-caption": !!this.caption,
|
|
6689
|
-
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '
|
|
6689
|
+
}, style: { "font-size": this.getFontSizeFromTokens() }, role: "button", ref: button => (this.nativeButton = button), "aria-label": this.getAccessibleLabel(), "aria-expanded": this.open ? "true" : "false", "aria-controls": this.id, onClick: this.handleClick, onKeyDown: this.handleKeyDown }, hAsync("div", { key: '3b733940731cc46545abc6866c089123cc96ea45', class: "duet-collapsible-heading-wrapper" }, hAsync("div", { key: '4696b9066a27b1ad9786408f13242f4dbca76136', class: "duet-collapsible-heading-icon" }, hAsync("duet-icon", { key: 'af4bef7f00f2755cdd2edb7c0834fbc8b39b928e', margin: "none", size: this.getEquivalentIconSize(), icon: actionArrowDownSmall.svg })), hAsync("div", { key: 'dae6f5b4438375679e96b8af64596caaeb74dd9f', class: "duet-collapsible-heading-content", part: "duet-collapsible-heading-content" }, this.heading), this.hasAfterHeading && (hAsync("div", { key: '6337a53605fe5692e29ff904314fe66028d4adf5', part: "duet-collapsible-after-heading" }, hAsync("slot", { key: 'fda139a14f821a8b76a567d8eae0e0274bbf5c9f', name: "after-heading" })))), this.caption && (hAsync("div", { key: '46a5a2fab4fd02fa234d593a376b4dd4bce3551b', class: "duet-collapsible-heading-caption" }, hAsync("duet-caption", { key: '802fa725384a8566be0264ca8d6d59ff02cd76bc', size: "small", margin: "none" }, this.caption))))), hAsync("div", { key: '53cf9e6295a32dbb6aba736c9b8fdfa0239363b1', id: this.id, class: { "duet-collapsible-content": true, "duet-theme-turva": this.theme === "turva" }, part: "duet-collapsible-content" }, hAsync("slot", { key: '6f5055ecdb2266dfc97f419482bffa151a766317' }))));
|
|
6690
6690
|
}
|
|
6691
6691
|
get element() { return getElement(this); }
|
|
6692
6692
|
static get style() { return DuetCollapsibleStyle0; }
|
|
@@ -7305,10 +7305,10 @@ class DuetContactCard {
|
|
|
7305
7305
|
render() {
|
|
7306
7306
|
const isTurva = this.theme === "turva";
|
|
7307
7307
|
const theme = isTurva ? "turva" : "default";
|
|
7308
|
-
return (hAsync(Host, { key: '
|
|
7308
|
+
return (hAsync(Host, { key: '7d4179d7cb8c4bb59a1c22c671fbe0e48c76d12f', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: '746d78591b5235b00d84d082b96f97d7f3d8ac82', class: {
|
|
7309
7309
|
"duet-contact-card": true,
|
|
7310
7310
|
"duet-theme-turva": this.theme === "turva",
|
|
7311
|
-
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: '
|
|
7311
|
+
}, role: "group", "aria-label": this.name }, this.image ? hAsync("img", { class: "image", src: this.image, alt: this.name }) : hAsync("div", null), hAsync("div", { key: 'd92467c574bfe46519683002a9356384e7a91c24' }, this.name && (hAsync("duet-heading", { key: 'e0024d46a8ed78ba623164dc5ba462b243a12e8a', class: "name", level: "h3", margin: "none", theme: theme }, this.name)), this.description && (hAsync("duet-paragraph", { key: '569b3e131ac8ef6273ac70656c2d9faaf57079a5', class: "description", margin: "none", theme: theme }, this.description)), this.email && (hAsync("div", { key: '99a89137c9e10ef6fd3fb3975edfdf0e014c14b7', class: "email" }, hAsync("duet-icon", { key: '6d8d6e14a74c16381168f384cc785222b0e6a097', name: "navigation-message", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '8dc230b8d3ccc086b61720fb7b6b6645095899a7', url: `mailto:${this.email}`, accessibleLabel: `Email: ${this.email}`, theme: theme }, this.email))), this.phone && (hAsync("div", { key: 'd796194cecf6deec03d02bab49a0268d553409e6', class: "phone" }, hAsync("duet-icon", { key: 'acffc1fe7f7f50a0e588f8fc3147f28a2fb4c0fc', name: "form-tel", size: "x-small", color: "primary-dark", margin: "none", theme: theme }), hAsync("duet-link", { key: '9c1033570e39e0fc68bbe969b7ca2263f92b518c', url: `tel:${this.phone}`, accessibleLabel: `${this.phoneLabel[this.language]}: ${this.phone}`, theme: theme }, this.phone)))), this.buttonUrl && this.buttonText && (hAsync("div", { key: '567da157296dc01f1c5818e9fa9a24a95fd7540f', class: "call-to-action" }, hAsync("duet-button", { key: '39f6d00de0bceaec00d73e5eacaf2bbb610832b6', variation: "default", icon: this.buttonIcon, fixed: true, margin: "none", url: this.buttonUrl, theme: theme }, this.buttonText))), hAsync("div", { key: '657e7d11d3602ee0009e38ef8dde5309566f6406' }), hAsync("slot", { key: '98a6810ad6c915b5825889f058fc9d3a63df040c' }))));
|
|
7312
7312
|
}
|
|
7313
7313
|
get element() { return getElement(this); }
|
|
7314
7314
|
static get style() { return DuetContactCardStyle0; }
|
|
@@ -7375,7 +7375,7 @@ class DuetCookieConsent {
|
|
|
7375
7375
|
* Always the last one in the class.
|
|
7376
7376
|
*/
|
|
7377
7377
|
render() {
|
|
7378
|
-
return (hAsync(Host, { key: '
|
|
7378
|
+
return (hAsync(Host, { key: '3ce0228a96f65cd1d7e52892ee19e8a1732a40ff', tabindex: "0", class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: '24c6d7c27151928edb749a3797f1a8cc5a67be96', class: { "duet-cookie-consent": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("div", { key: 'ed1a82ad8ee72dd7c9a912453faa72ba4e27b3a8', class: "duet-cookie-consent-content" }, hAsync("div", { key: '0233b97bcee86c27e59549df832c91b7f8805eed', class: "expand" }, hAsync("slot", { key: '2b6a7a2356cc18e61e8aafa78d5f17ea01f85c25' })), hAsync("duet-spacer", { key: '4d2dbf87b38a00fee61be0e064fed9ff4958736f', size: "large", direction: "horizontal" }), hAsync("div", { key: '5d12618d329eebcf3d5cd3f9508dcbe2492466b7' }, hAsync("duet-button", { key: 'ea878954d3e7a1616c8c548fbaabe9828b3afa19', variation: "negative", size: "small", onClick: this.handleClick, margin: "none", "aria-label": this.accessibleLabel, theme: this.theme }, "OK"))))));
|
|
7379
7379
|
}
|
|
7380
7380
|
get element() { return getElement(this); }
|
|
7381
7381
|
static get style() { return DuetCookieConsentStyle0; }
|
|
@@ -8040,7 +8040,7 @@ class DuetDivider {
|
|
|
8040
8040
|
*/
|
|
8041
8041
|
render() {
|
|
8042
8042
|
const background = getColorByName(this.color);
|
|
8043
|
-
return (hAsync("div", { key: '
|
|
8043
|
+
return (hAsync("div", { key: 'a8ffb4c7ae688f5132e92183c4f1505ae5137b44', class: {
|
|
8044
8044
|
"duet-m-0": this.margin === "none",
|
|
8045
8045
|
"duet-m-s": this.margin === "small",
|
|
8046
8046
|
"duet-divider": true,
|
|
@@ -8277,11 +8277,11 @@ class DuetEmptyState {
|
|
|
8277
8277
|
* Always the last one in the class.
|
|
8278
8278
|
*/
|
|
8279
8279
|
render() {
|
|
8280
|
-
return (hAsync(Host, { key: '
|
|
8280
|
+
return (hAsync(Host, { key: '15bccd2c13aab1465840c9dcc4318b7a112edf7b' }, hAsync("div", { key: '5952a98691e9c06ae16439f6411ae635f61d3db4', class: {
|
|
8281
8281
|
"duet-empty-state": true,
|
|
8282
8282
|
"duet-theme-turva": this.theme === "turva",
|
|
8283
8283
|
"duet-is-small": this.size === "small",
|
|
8284
|
-
} }, hAsync("duet-icon", { key: '
|
|
8284
|
+
} }, hAsync("duet-icon", { key: '7b46aa60033f7777c3e606baa4d548dfb46d4c9c', color: "currentColor", name: this.icon, size: this.size === "small" ? "large" : "x-large" }), hAsync("div", { key: '0e58a4fea54cfd7cab1f5b611e5e076c03ffffe4' }, hAsync("slot", { key: '57378c8bb666cb31a04d0199c910ecf4b49b402f' })))));
|
|
8285
8285
|
}
|
|
8286
8286
|
get element() { return getElement(this); }
|
|
8287
8287
|
static get style() { return DuetEmptyStateStyle0; }
|
|
@@ -8337,20 +8337,20 @@ class DuetFieldset {
|
|
|
8337
8337
|
* Always the last one in the class.
|
|
8338
8338
|
*/
|
|
8339
8339
|
render() {
|
|
8340
|
-
return (hAsync(Host, { key: '
|
|
8340
|
+
return (hAsync(Host, { key: 'b168d38f9adb462f0f44e4e5d2f4696ca4d7bc10', class: { "duet-m-0": this.margin === "none" } }, hAsync("fieldset", { key: '7800fa169b7871195421414bf75c0d919d12bf9b', "aria-labelledby": this.labelId, "aria-describedby": this.error ? this.errorId : null,
|
|
8341
8341
|
// NVDA and VoiceOver do not yet support aria-errormessage
|
|
8342
8342
|
// once they do, we can remove errors from the aria-describedby
|
|
8343
8343
|
// aria-errormessage={this.error ? this.errorId : null}
|
|
8344
8344
|
class: {
|
|
8345
8345
|
"duet-fieldset": true,
|
|
8346
8346
|
"duet-theme-turva": this.theme === "turva",
|
|
8347
|
-
} }, hAsync("legend", { key: '
|
|
8347
|
+
} }, hAsync("legend", { key: '5f1926deca424959efcff40befe8779d2077998f', id: this.labelId }, hAsync(this.labelHeadingLevel, { key: '19d831a69931e0b557efff7f2653b23a017c136a' }, this.label), this.caption && hAsync("span", { key: '03daf2a72c3a0bd7d8d52f428c2d26ed3d008bed' }, this.caption)), hAsync("div", { key: '790d7c7ac6f3141415cbe4cfe3a1e5196c354a32', class: {
|
|
8348
8348
|
"duet-legend-wrapper": true,
|
|
8349
8349
|
"duet-legend-has-caption": !!this.caption,
|
|
8350
8350
|
"duet-legend-has-tooltip": this.hasTooltip,
|
|
8351
8351
|
"duet-legend-hidden": this.labelHidden,
|
|
8352
8352
|
"duet-legend-compact": this.compactLabel,
|
|
8353
|
-
} }, hAsync("div", { key: '
|
|
8353
|
+
} }, hAsync("div", { key: 'cde80fe36abae43beaea46abe5f9995f16c04c7c', class: "duet-fieldset-label" }, hAsync("span", { key: '9e67d598f47389ec90534d7899d399dc0558e24e', "aria-hidden": "true" }, this.label), hAsync("slot", { key: '2d427290dc70d8d4f2ab05f03e283bf1cb9cd637', onSlotchange: this.checkHasTooltip, name: "tooltip" })), this.caption && (hAsync("div", { key: '4ebecc5ab46bf1b48c6f3b981cfeb3c64de15393', class: "duet-fieldset-caption", "aria-hidden": "true" }, hAsync("duet-caption", { key: '9281fb9d06e5e5c359504ca84f1e5f4c4a2f136f', theme: this.theme, margin: "none" }, this.caption)))), hAsync("slot", { key: 'e3afdf3b06e81f9eb49ad8a16c5792a3fef7dc86' }), hAsync("span", { key: '97ada7026bc7d9d5c659be4eab71eaa416edab4f', class: "duet-fieldset-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '35ecd3fbb5810c1e374ebe8d104a28ae475effa3' }, this.error)))));
|
|
8354
8354
|
}
|
|
8355
8355
|
get element() { return getElement(this); }
|
|
8356
8356
|
static get style() { return DuetFieldsetStyle0; }
|
|
@@ -8494,15 +8494,15 @@ class DuetFooter {
|
|
|
8494
8494
|
render() {
|
|
8495
8495
|
const text = getLocaleString(i18n$1, this.language);
|
|
8496
8496
|
const copyrightLabel = this.theme === "turva" ? text.turva : text.lahi;
|
|
8497
|
-
return (hAsync("footer", { key: '
|
|
8497
|
+
return (hAsync("footer", { key: '0239c9d8d627418f97e0ae24abc1c9e2ca47c229', class: {
|
|
8498
8498
|
"duet-footer": true,
|
|
8499
8499
|
"duet-m-0": this.margin === "none",
|
|
8500
8500
|
"duet-theme-turva": this.theme === "turva",
|
|
8501
8501
|
"duet-footer-simple": this.variation === "simple",
|
|
8502
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
8502
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '98d1156ad2f44e0d8ab3121ee3db513b82386703', class: "duet-footer-wrapper" }, this.variation !== "simple" && (hAsync("div", { key: 'ec729eff6008f31125a808b77a97155700a7b480', class: {
|
|
8503
8503
|
"duet-footer-top": true,
|
|
8504
8504
|
"duet-has-info": this.hasInfoSlot,
|
|
8505
|
-
}, part: "top" }, hAsync("div", { key: '
|
|
8505
|
+
}, part: "top" }, hAsync("div", { key: '0d5208bde7c1870767a3946cc9b9611585469908', class: "footer-top-logo" }, hAsync("duet-logo", { key: 'e6f83fe8968570abb566d1ed1f7aa9fc2930441e', href: this.logoHref, onClick: this.handleLogoClick, size: "large", inverse: true, language: this.language, theme: this.theme })), hAsync("div", { key: 'c5c60cb251a4b78d0f5b86820abb813ee2db1f23', class: "footer-top-right-container" }, hAsync("slot", { key: '68ca65194609d5ead28262311b69a4a377f29c5d', name: "info" }), hAsync("div", { key: 'adc5b5c6f8d8fc6127acb6ba6d8a64459621cef5', class: "footer-top-items" }, this.processedItems &&
|
|
8506
8506
|
this.processedItems.map((item, index) => {
|
|
8507
8507
|
var _a, _b, _c, _d, _e, _f;
|
|
8508
8508
|
return (hAsync(Fragment, null, index > 0 && hAsync("duet-spacer", { size: "x-large", direction: "horizontal" }), hAsync("duet-button", { ref: element => this.setDataAttributes(element, item), theme: this.theme, id: item.id, class: "duet-footer-link", variation: "plain", margin: "none", fixed: true, negative: true, url: item.href, external: item.external, icon: ((_a = item.href) === null || _a === void 0 ? void 0 : _a.startsWith("tel:"))
|
|
@@ -8512,7 +8512,7 @@ class DuetFooter {
|
|
|
8512
8512
|
: "navigation-arrow-right", "icon-right": !((_c = item.href) === null || _c === void 0 ? void 0 : _c.startsWith("tel:")) && !((_d = item.href) === null || _d === void 0 ? void 0 : _d.startsWith("mailto:")), "icon-size": ((_e = item.href) === null || _e === void 0 ? void 0 : _e.startsWith("tel:")) || ((_f = item.href) === null || _f === void 0 ? void 0 : _f.startsWith("mailto:"))
|
|
8513
8513
|
? "medium"
|
|
8514
8514
|
: "medium-small", onClick: event => this.handleItemClick(event, item), onMouseEnter: event => this.emitDuetEvent(event, item), onTouchStart: event => this.emitDuetEvent(event, item) }, item.label)));
|
|
8515
|
-
}))))), hAsync("slot", { key: '
|
|
8515
|
+
}))))), hAsync("slot", { key: '92391739f41ed1b88eb34ebd22bbdd1a6b94a5e3', name: "extra" }), hAsync("p", { key: '692485bfd3c550e5abd173b358cf7ec18ec49a3e', class: "duet-footer-menu", part: "menu" }, hAsync("span", { key: '074f786140a2219127a987881cbce05045c150b8', class: "duet-footer-copyright" }, `${copyrightLabel} ${new Date().getFullYear()}`), hAsync("span", { key: '95e7b17c83d7994ec0ae75e710a39900f1f7dfad', class: "duet-footer-menu-links" }, this.processedMenu && (hAsync(Fragment, { key: '78e702876e88b1f4b0e2edcf09e06154f601824b' }, 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: '716654a0bdebdb4b395c0cd1dafbfcbea17d69eb', class: "duet-footer-copyright duet-footer-copyright-mobile" }, `${copyrightLabel} ${new Date().getFullYear()}`))));
|
|
8516
8516
|
}
|
|
8517
8517
|
get element() { return getElement(this); }
|
|
8518
8518
|
static get watchers() { return {
|
|
@@ -9626,6 +9626,7 @@ class DuetHeading {
|
|
|
9626
9626
|
this.theme = "";
|
|
9627
9627
|
this.hyphenate = false;
|
|
9628
9628
|
this.fixedSize = false;
|
|
9629
|
+
this.accessibleLabel = undefined;
|
|
9629
9630
|
}
|
|
9630
9631
|
/**
|
|
9631
9632
|
* Component lifecycle events.
|
|
@@ -9640,7 +9641,7 @@ class DuetHeading {
|
|
|
9640
9641
|
render() {
|
|
9641
9642
|
const TagName = sanitizeString$1(this.level);
|
|
9642
9643
|
const color = getColorByName(this.color);
|
|
9643
|
-
return (hAsync(TagName, { key: '
|
|
9644
|
+
return (hAsync(TagName, { key: 'fc35d12a14663418e76f8e17d41efd7fa1990638', class: {
|
|
9644
9645
|
"duet-heading": true,
|
|
9645
9646
|
"duet-heading-border": this.border !== false,
|
|
9646
9647
|
"duet-heading-border-solid": this.border === "solid",
|
|
@@ -9651,7 +9652,7 @@ class DuetHeading {
|
|
|
9651
9652
|
[this.visualLevel ? this.visualLevel : this.level]: true,
|
|
9652
9653
|
"duet-theme-turva": this.theme === "turva",
|
|
9653
9654
|
"fixed-size": this.fixedSize,
|
|
9654
|
-
}, style: { color }, part: "duet-heading" }, hAsync("slot", { key: '
|
|
9655
|
+
}, "aria-label": this.accessibleLabel, style: { color }, part: "duet-heading" }, hAsync("slot", { key: 'a6f73f221a78d15399456b9d861906f806725228' })));
|
|
9655
9656
|
}
|
|
9656
9657
|
get element() { return getElement(this); }
|
|
9657
9658
|
static get style() { return DuetHeadingStyle0; }
|
|
@@ -9667,7 +9668,8 @@ class DuetHeading {
|
|
|
9667
9668
|
"color": [1],
|
|
9668
9669
|
"theme": [1025],
|
|
9669
9670
|
"hyphenate": [4],
|
|
9670
|
-
"fixedSize": [4, "fixed-size"]
|
|
9671
|
+
"fixedSize": [4, "fixed-size"],
|
|
9672
|
+
"accessibleLabel": [1, "accessible-label"]
|
|
9671
9673
|
},
|
|
9672
9674
|
"$listeners$": undefined,
|
|
9673
9675
|
"$lazyBundleId$": "-",
|
|
@@ -9831,7 +9833,7 @@ class DuetHero {
|
|
|
9831
9833
|
outlineColor = "color-primary-turva";
|
|
9832
9834
|
}
|
|
9833
9835
|
}
|
|
9834
|
-
return (hAsync("div", { key: '
|
|
9836
|
+
return (hAsync("div", { key: '7fc47bf02cf2ba5cc2f33ff49bcf333743275049', role: "region", class: {
|
|
9835
9837
|
"duet-hero": true,
|
|
9836
9838
|
"duet-theme-turva": this.theme === "turva",
|
|
9837
9839
|
"duet-has-category-icon": !!this.categoryIcon,
|
|
@@ -9849,17 +9851,17 @@ class DuetHero {
|
|
|
9849
9851
|
"duet-hero-text-center": (this.textCenter && !this.leftAlign) || campaignOrSection,
|
|
9850
9852
|
"duet-hero-left-align": this.leftAlign && !campaignOrSection,
|
|
9851
9853
|
"duet-hero-narrow": this.layout === "narrow",
|
|
9852
|
-
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '
|
|
9853
|
-
this.processedBack && (hAsync("div", { key: '
|
|
9854
|
+
}, part: "duet-hero" }, campaignOrSection && this.image && (hAsync("div", { key: '027155027be1fed9a7d604115d6cbf17d469784f', class: "background-area" }, hAsync("div", { key: '50da22f0391f62fa7908ca1dde5f0d3811051e3c', class: "background-container" }, hAsync("div", { key: 'f8d0e012065ad50a71b83b58d2803e72e362220b', class: "background" }, hAsync("img", { key: '0ce16bfa321211483792484b28452eeb01f10ab0', class: `${imageSizeIsCover ? "cover" : ""} ${imagePositionIsCenter ? "center" : ""}`, src: this.image, alt: "", role: "presentation" })), hAsync("div", { key: 'b3ed40e5ee0d1c2eff55c802cea26926c5b5c4a4', class: "brand-shape" })))), this.variation === "product" && this.image && (hAsync("div", { key: 'a8f5380a004ccd14380113b51fbdae26aa48954b', class: { "background-area": true, [this.layout]: true } }, hAsync("div", { key: '6730e1f397006ff742abbaa6427967dba8fa84df', class: { "background-container": true, [this.layout]: true } }, hAsync("div", { key: '7634d6dcebde7cae44467a54f7a8694f113ad2c0', class: { background: true, [this.layout]: true } }, hAsync("div", { key: 'e76b7db5ea6705834dc2227b5f61c55f035e2541', class: { "background-mask": true, [this.layout]: true } }), this.theme !== "turva" && hAsync("div", { key: '1fe3f40e033535c4aea637a04a707044d1ca4725', class: { "brand-shape": true, [this.layout]: true } }), hAsync("div", { key: 'b6530997d59934dbe48d900439bd90446663d33e', class: { "brand-shaped-image": true, [this.layout]: true } }, hAsync("div", { key: '7a5a3487ca172144d6640aeb6d84479daeaf5adb', class: { "brand-shaped-image-wrapper": true, [this.layout]: true } }, hAsync("div", { key: '29fe4aaa5e5d9657cfb16a19ed6c31984db541e0', class: { "brand-shaped-image-bg": true, [this.layout]: true }, style: styles }))), this.categoryIcon && (hAsync("div", { key: 'eb0c71c578dc20f7969e35cf6ee01fbc171b858b', class: { "brand-shaped-icon": true, [this.layout]: true } }, hAsync("duet-icon", { key: 'c82c2c9ada8ffb8b59e4709267d3ac23640e1d10', class: { [this.layout]: true }, background: "none", name: this.categoryIcon, margin: "none", size: "auto", responsive: false }))))))), this.variation === "content" && this.image && (hAsync("div", { key: 'a0bccb8efc399c63a4e86f1e1937d1ea2f71464f', class: "background-area" }, hAsync("div", { key: '94fbd4c735f15af824e3297ad7de803b2061cec3', class: "background" }, hAsync("div", { key: 'ac7124cbfa8990d2beb003d0bd715b5b80df52cc', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: 'b72cdbdbd41cc07a87787a2dfab5a9dd706044b5', class: "brand-shape" }), hAsync("div", { key: 'e366068120a1dd8666b60470e6a75937a0cbdf0c', class: "brand-shaped-image" }, hAsync("div", { key: '6ed547b25f4df9f78e29d89781c072c3106d121e', class: "brand-shaped-image-wrapper" }, hAsync("div", { key: '29b9be6046fbe1aa14c3dcf11f45fb5ee82f123e', class: "brand-shaped-image-bg", style: styles })))))), hAsync("div", { key: '9a910213a30875c026f8a8250f4c750c5084684b', class: { "duet-hero-wrapper": true, [this.layout]: true } }, this.image && this.variation === "image" && (hAsync("div", { key: '005129885fa908c00635dbe6db3f50ead8e424f6', class: "duet-hero-image-mask" }, hAsync("div", { key: 'a231ebb9a646dff22ff2ffb8edf412c137bfa0d4', class: "duet-hero-image-wrapper" }, hAsync("div", { key: '401ab6dac2cc004f7c8384640b8ce333dd02b32b', class: "duet-hero-image", style: styles })))), (this.variation === "gray" || this.variation === "light" || this.variation === "minimal") &&
|
|
9855
|
+
this.processedBack && (hAsync("div", { key: '4d9a74443e2d7d58a8e2c5fbf5fa76913c32a1fd', class: "duet-hero-back" }, hAsync("duet-button", { key: '229f71142d441bf3e49b7ab650c46e923fdc4b31', 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, {
|
|
9854
9856
|
label: this.processedBack.label,
|
|
9855
9857
|
href: this.processedBack.href,
|
|
9856
9858
|
id: this.processedBack.id,
|
|
9857
9859
|
analyticsId: this.processedBack.analyticsId,
|
|
9858
|
-
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '
|
|
9860
|
+
}) }, this.processedBack.label))), (this.variation === "gray" || this.variation === "minimal") && this.categoryIcon && (hAsync("duet-icon", { key: '394173c6a3790c12f933749c5d3d431c03c66a93', class: { "duet-hero-icon": true, "duet-hero-icon-has-heading": this.preHeading !== "" }, size: "x-large", background: this.categoryIconColor, name: this.categoryIcon })), hAsync("div", { key: '7aca29154e6e696454b23e350ba837cb3306e9b0', class: { "duet-hero-text": true }, part: "duet-hero-text" }, (this.preHeading || this.hasPreHeadingSlot) && (hAsync("duet-paragraph", { key: 'e69d457cde95f1e299f5c5a4950772e84a55da81', 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: '89fee6188b91405f4f830ac18601540ace504694', name: "badge" }), (this.heading || this.hasHeadingSlot) && (hAsync("duet-heading", { key: '50e1711f9a80fe95d2224f574b92bde5abc04c7e', 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: 'ccb9034eaf3121b01230e4957fdcf5c2a7cf03db', theme: this.theme, level: this.subHeadingLevel, class: { "duet-hero-subheading": true }, color: this.theme === "turva" ? "secondary-turva" : "secondary", visualLevel: "h2" }, hAsync("slot", { key: '46912375d84115a602ed2e6cd9da2a1a51d0553d', name: "subheading" }))), this.description && (hAsync("duet-paragraph", { key: '95d009ad1bf8553becef11b3b8894b665dae0af3', theme: this.theme, color: textColor, variation: "intro" }, this.description)), (this.variation === "gray" || this.variation === "minimal") && this.processedListItems && (hAsync("duet-list", { key: '61f9a7eb5006ab577c6fb3bead189355afeae32e', 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: '8fbba708dc8ff9e6094a61334b9ca7705e8decd3', 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: '57645d2a7a0950cf03aef608dfaf4a67bfbebbdc' })), (this.variation === "gray" || this.variation === "minimal") && this.processedActions && (hAsync("div", { key: '6712f9bd53ce7a5454751d84880f2127dafe9cfd', 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 &&
|
|
9859
9861
|
this.variation !== "image" &&
|
|
9860
9862
|
!campaignOrSection &&
|
|
9861
9863
|
this.variation !== "product" &&
|
|
9862
|
-
this.variation !== "content" && hAsync("div", { key: '
|
|
9864
|
+
this.variation !== "content" && hAsync("div", { key: '0b01b76687b810f020251e813c5cd9cfe7cc1d0e', class: "duet-hero-image", style: styles }), hAsync("slot", { key: 'a61e7ebcbb366aaa17f9dc427ddb4b072cb03c41', name: "bottom" }))));
|
|
9863
9865
|
}
|
|
9864
9866
|
get element() { return getElement(this); }
|
|
9865
9867
|
static get watchers() { return {
|
|
@@ -9985,11 +9987,11 @@ class DuetIcon {
|
|
|
9985
9987
|
: {};
|
|
9986
9988
|
const iconStyles = Object.assign({}, iconRotationStyles);
|
|
9987
9989
|
const shapeStyle = this.shape === "brand-rotated" ? "duet-icon-shape-brand" : `duet-icon-shape-${this.shape}`;
|
|
9988
|
-
return (hAsync(Host, { key: '
|
|
9990
|
+
return (hAsync(Host, { key: '776dcedf38f8369f2a3dd22910b86c80c25155a8', class: {
|
|
9989
9991
|
"duet-m-0": this.margin === "none",
|
|
9990
9992
|
"duet-icon-has-outline": !!this.outline,
|
|
9991
9993
|
"duet-icon-has-background": !!this.background,
|
|
9992
|
-
} }, hAsync("span", { key: '
|
|
9994
|
+
} }, hAsync("span", { key: 'e08e1f123f360833978105629283f56a3d55ee15', "aria-hidden": "true", style: styles, class: {
|
|
9993
9995
|
"duet-icon": true,
|
|
9994
9996
|
"duet-theme-turva": this.theme === "turva",
|
|
9995
9997
|
"duet-theme-default": this.theme === "default",
|
|
@@ -9998,7 +10000,7 @@ class DuetIcon {
|
|
|
9998
10000
|
[shapeStyle]: true,
|
|
9999
10001
|
rotated: this.shape === "brand-rotated" && this.theme !== "turva",
|
|
10000
10002
|
"duet-icon-not-responsive": !this.responsive,
|
|
10001
|
-
} }, hAsync("span", { key: '
|
|
10003
|
+
} }, hAsync("span", { key: '5e1d19fc1682d3d428dd2f49a867e120ff9ad45c', "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 }))));
|
|
10002
10004
|
}
|
|
10003
10005
|
get element() { return getElement(this); }
|
|
10004
10006
|
static get watchers() { return {
|
|
@@ -10081,7 +10083,7 @@ function cleanValue(input, regex) {
|
|
|
10081
10083
|
return newValue;
|
|
10082
10084
|
}
|
|
10083
10085
|
|
|
10084
|
-
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10086
|
+
const duetInputCss = "*.sc-duet-input,*.sc-duet-input::after,*.sc-duet-input::before{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none}.sc-duet-input-h{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}.sc-duet-input-h:last-child,.sc-duet-input-h:last-of-type{margin-right:0 !important}@media (min-width: 36em){.sc-duet-input-h{width:calc(50% - 16px - 3px)}}.duet-expand.sc-duet-input-h{width:100% !important}.duet-m-0.sc-duet-input-h{margin:0 !important}input[type=search].sc-duet-input::-webkit-search-cancel-button{-webkit-appearance:none}duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{position:relative;top:12px;right:0}@media (min-width: 48em){duet-tooltip.sc-duet-input,.sc-duet-input-s>duet-tooltip{right:auto}}duet-caption.sc-duet-input:not(:last-of-type){margin-bottom:0}.duet-input-placeholder.sc-duet-input{position:absolute;top:-9px;left:9px;z-index:200;display:block;width:auto;max-width:60%;padding:0 0.25rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;background:rgb(255, 255, 255)}.duet-input-icon.sc-duet-input{position:absolute;top:50%;right:16px;z-index:200;width:20px;height:20px;font-size:0;line-height:normal;color:rgb(8, 42, 77);pointer-events:none;transform:translateY(-50%)}.duet-theme-turva.sc-duet-input .duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.duet-input-container.sc-duet-input{position:relative;width:100%;height:100%}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input{position:relative;z-index:250}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{position:absolute;top:-24px;right:-24px;min-width:48px;min-height:48px;color:rgb(0, 75, 129)}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{outline:0;box-shadow:0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3}.duet-theme-turva.sc-duet-input .duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus,.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus.duet-theme-turva{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:active{opacity:0.75;transition:none}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-single.sc-duet-input button.sc-duet-input{top:-48px;right:0}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-double.sc-duet-input button.sc-duet-input{top:-24px;right:12px}.duet-input-container.has-clear.sc-duet-input .duet-input-clear-icon.duet-input-clear-icon-button.sc-duet-input button.sc-duet-input{top:-24px;right:0}.duet-input-container.has-clear.has-icon.sc-duet-input .duet-input-clear-icon.sc-duet-input{top:-24px;right:24px}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input{color:rgb(8, 42, 77)}.duet-input-container.duet-theme-turva.has-clear.sc-duet-input .duet-input-clear-icon.sc-duet-input button.sc-duet-input:focus{box-shadow:0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a !important}.duet-input-label-container.sc-duet-input{display:flex;flex-direction:row;align-items:flex-start;justify-content:space-between}@media (min-width: 48em){.duet-input-label-container.sc-duet-input{justify-content:flex-start}}.duet-input.sc-duet-input{position:relative;z-index:100;display:block !important;width:100% !important;min-width:8rem;max-width:initial !important;height:auto !important;padding:12px 14px !important;margin:initial !important;margin-bottom:initial !important;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:1rem;font-weight:400 !important;font-variant-numeric:tabular-nums;line-height:1.5 !important;color:rgb(8, 42, 77) !important;cursor:initial !important;background:rgb(255, 255, 255) !important;background-clip:initial !important;border:1px solid rgb(127, 150, 165) !important;border-radius:4px !important;box-shadow:initial !important;transition:box-shadow 150ms ease, border 150ms ease !important}.duet-input.input-padding-small.sc-duet-input{padding:8px 10px !important}.duet-input.input-padding-x-small.sc-duet-input{padding:4px 6px !important}.duet-input.input-padding-xx-small.sc-duet-input{padding:0px 2px !important}.duet-input.is-number.sc-duet-input{padding-right:112px !important}.duet-input.is-date.sc-duet-input{padding-right:64px !important}.duet-input.after-chip.sc-duet-input{padding-left:8px !important}.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input{border-color:rgb(214, 28, 82) !important}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input+.duet-input-icon.sc-duet-input{color:rgb(214, 28, 82) !important}.has-icon.sc-duet-input .duet-input.sc-duet-input{padding-right:48px !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(23, 28, 58) !important;border-color:rgb(143, 147, 158) !important}.duet-input.align-right.sc-duet-input{text-align:right}.duet-input.sc-duet-input::-ms-clear{display:none}.duet-input.sc-duet-input::-webkit-contacts-auto-fill-button{display:none !important}.duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(98, 121, 138);opacity:1 !important;transition:color 300ms ease}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-webkit-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-webkit-input-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input::-moz-placeholder{color:rgb(98, 121, 138);opacity:1 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input::-moz-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus::-moz-placeholder{color:rgb(199, 202, 207)}.duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(98, 121, 138)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:-ms-input-placeholder{color:rgb(143, 147, 158)}.duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(181, 198, 208)}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus:-ms-input-placeholder{color:rgb(199, 202, 207)}.duet-input[disabled].sc-duet-input{color:rgb(8, 42, 77) !important;cursor:not-allowed !important;background:rgb(245, 248, 250) !important;border-color:rgb(245, 248, 250) !important;box-shadow:none !important;opacity:1 !important;-webkit-text-fill-color:rgb(8, 42, 77) !important}.duet-theme-turva.sc-duet-input .duet-input[disabled].sc-duet-input{color:rgb(23, 28, 58) !important;background:rgb(245, 247, 250) !important;border-color:rgb(245, 247, 250) !important;-webkit-text-fill-color:rgb(23, 28, 58) !important}.duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #909599 !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #747475 !important}.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:hover:not(:disabled){box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus{border-color:rgb(0, 119, 179) !important;outline:0;box-shadow:0 0 0 1px #0077b3 !important;transition:none}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus{border-color:rgb(23, 28, 58) !important;box-shadow:0 0 0 1px #171c3a !important}.duet-theme-turva.sc-duet-input .duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(23, 28, 58)}.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #de2362}.duet-theme-turva.has-error.sc-duet-input .duet-input.sc-duet-input:focus{box-shadow:0 0 0 1px #e55039}.duet-input.sc-duet-input:focus+.duet-input-icon.sc-duet-input{color:rgb(0, 119, 179)}.duet-input[type=search].sc-duet-input:not(:placeholder-shown):focus+.duet-input-icon.sc-duet-input{display:none}.duet-input.sc-duet-input:not(:focus):not(:hover):invalid{box-shadow:none !important}.duet-input[type=number].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=number].sc-duet-input::-webkit-outer-spin-button,.duet-input[type=time].sc-duet-input::-webkit-inner-spin-button,.duet-input[type=time].sc-duet-input::-webkit-outer-spin-button{display:none;margin:0;-webkit-appearance:none}.duet-input.sc-duet-input::-webkit-search-cancel-button{margin-right:-28px}.duet-input-help.sc-duet-input{display:block;font-family:\"localtapiola-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(98, 121, 138);border-radius:4px}.duet-input-help.sc-duet-input span.sc-duet-input{display:block;margin-top:8px}.duet-theme-turva.sc-duet-input .duet-input-help.sc-duet-input{font-family:\"turva-sans\", -apple-system, BlinkMacSystemFont, \"Segoe UI\", Roboto, Helvetica, Arial, sans-serif, \"Apple Color Emoji\", \"Segoe UI Emoji\", \"Segoe UI Symbol\";color:rgb(143, 147, 158)}.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-theme-turva.has-error.sc-duet-input .duet-input-help.sc-duet-input{color:rgb(214, 28, 82)}.duet-label-hidden.sc-duet-input duet-label.sc-duet-input{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);border:0}.duet-input-relative.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input{position:relative;width:100%}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input,.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input{border-radius:4px}.duet-input-variation-button-left.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-button-left.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-button-left.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-button-left.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-button-left.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-button-left.sc-duet-input .duet-input.sc-duet-input:hover:not(.disabled){box-shadow:none !important}.duet-input-variation-button.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-right-width:0 !important;border-top-right-radius:0 !important;border-bottom-right-radius:0 !important}.duet-input-variation-button-left.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-left-width:0 !important;border-top-left-radius:0 !important;border-bottom-left-radius:0 !important}.duet-input-variation-revealable.sc-duet-input{position:relative;width:100%}.duet-input-variation-revealable.sc-duet-input .sc-duet-input::-ms-reveal{display:none}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:nowrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input duet-button.sc-duet-input{z-index:250;margin-bottom:0}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{border-width:0 !important}.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-variation-revealable.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}.duet-input-variation-revealable.disabled.sc-duet-input .duet-input-relative.sc-duet-input{background:rgb(245, 248, 250);border-color:rgb(212, 223, 229);box-shadow:none}.duet-input-variation-revealable.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(214, 28, 82)}.duet-input-variation-revealable.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(0, 119, 179);box-shadow:0 0 0 1px #0077b3 !important}.duet-input-variation-revealable.duet-theme-turva.has-focus.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(23, 28, 58);box-shadow:0 0 0 1px #171c3a !important}.duet-input-variation-revealable.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #909599}.duet-input-variation-revealable.duet-theme-turva.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #747475}.duet-input-variation-revealable.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #de2362}.duet-input-variation-revealable.duet-theme-turva.has-error.sc-duet-input:hover:not(.disabled) .duet-input-relative.sc-duet-input{box-shadow:0 0 0 1px #e55039}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{display:flex;flex-direction:row;flex-wrap:wrap;align-content:center;align-items:center;justify-content:flex-start;width:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;box-shadow:initial;transition:box-shadow 150ms ease, border 150ms ease}.duet-theme-turva.sc-duet-input .duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input{border-color:rgb(143, 147, 158)}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input{flex-basis:4rem;flex-grow:1;padding-left:0 !important;margin-left:12px !important;border-width:0 !important}.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:focus,.duet-input-container.has-chips.sc-duet-input .duet-input-relative.sc-duet-input .duet-input.sc-duet-input:hover{border-width:0 !important;box-shadow:none !important}";
|
|
10085
10087
|
var DuetInputStyle0 = duetInputCss;
|
|
10086
10088
|
|
|
10087
10089
|
/**
|
|
@@ -10647,24 +10649,24 @@ class DuetLayout {
|
|
|
10647
10649
|
* Always the last one in the class.
|
|
10648
10650
|
*/
|
|
10649
10651
|
render() {
|
|
10650
|
-
return (hAsync(Host, { key: '
|
|
10652
|
+
return (hAsync(Host, { key: '80c12f757fb1c4bf5445c7617d1892dd1aa8eb0d', class: {
|
|
10651
10653
|
center: this.center,
|
|
10652
10654
|
"duet-middle": this.middle,
|
|
10653
10655
|
"duet-ie": isInternetExplorer(),
|
|
10654
|
-
} }, hAsync("div", { key: '
|
|
10656
|
+
} }, hAsync("div", { key: '81afc5eb022aacc3bf55f0d7ba58002290a3a2dd', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, this.hasTop && (hAsync("div", { key: '2d48af138c05b1bfbf816ba62afe9fd409d9f74b', class: {
|
|
10655
10657
|
"duet-layout-top": true,
|
|
10656
10658
|
"duet-center": this.center,
|
|
10657
|
-
} }, hAsync("div", { key: '
|
|
10659
|
+
} }, hAsync("div", { key: '857faa5737328c10aa87c41fbc8f6076877d9ba1', class: "duet-layout-top-wrapper" }, hAsync("slot", { key: '75876d2b39ff260c65420eddba4194a661bf0c4a', name: "top" })))), hAsync("div", { key: 'a9d25df347b7e011438c99ccc489d3b410610624', class: {
|
|
10658
10660
|
"duet-layout": true,
|
|
10659
10661
|
"has-sidebar": this.hasSidebar,
|
|
10660
10662
|
"duet-center": this.center,
|
|
10661
10663
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
10662
|
-
} }, hAsync("main", { key: '
|
|
10664
|
+
} }, hAsync("main", { key: '936f850f1165c8b853fce05c0a7ddd893d7a3e33', class: "duet-main" }, this.hasPageHeading && hAsync("slot", { key: '2aef8f0058038a3a55c89c240726d7766a4783a3', name: "page-heading" }), hAsync("slot", { key: '6f04a6b39bcf239c2e7d09049e8949247b80361d', name: "main" })), this.hasSidebar && (hAsync("aside", { key: '2dbb3af225bedfa47296eb2cd946fcb20ca9fe94', class: "duet-sidebar" }, hAsync("div", { key: '7ee757a5e3ecc82c89559ff426ae848366ec683e', class: {
|
|
10663
10665
|
"duet-sidebar-container": true,
|
|
10664
10666
|
"has-tabs": this.tabs,
|
|
10665
10667
|
sticky: this.sticky,
|
|
10666
10668
|
[this.stickyDistance]: this.sticky,
|
|
10667
|
-
} }, hAsync("slot", { key: '
|
|
10669
|
+
} }, hAsync("slot", { key: '4f566a10f4c4e366deb04c43de70358f6df09ec4', name: "sidebar" }))))))));
|
|
10668
10670
|
}
|
|
10669
10671
|
get element() { return getElement(this); }
|
|
10670
10672
|
static get style() { return DuetLayoutStyle0; }
|
|
@@ -10806,10 +10808,10 @@ class DuetLink {
|
|
|
10806
10808
|
render() {
|
|
10807
10809
|
const Tag = !this.url ? "button" : "a";
|
|
10808
10810
|
const isButton = Tag === "button";
|
|
10809
|
-
return (hAsync(Host, { key: '
|
|
10811
|
+
return (hAsync(Host, { key: 'f3e90c99efca22219ff8ebd0a2c5bced2b833798', class: {
|
|
10810
10812
|
[`duet-link-${this.variation}`]: true,
|
|
10811
10813
|
"duet-m-0": this.margin === "none",
|
|
10812
|
-
} }, hAsync(Tag, { key: '
|
|
10814
|
+
} }, hAsync(Tag, { key: '736b53ab41312fd62f6701294d8228f4cc2a54be', href: this.url, class: {
|
|
10813
10815
|
"duet-link": true,
|
|
10814
10816
|
"duet-link-is-external": this.external,
|
|
10815
10817
|
"duet-link-is-download": !!this.download,
|
|
@@ -10931,7 +10933,7 @@ class DuetList {
|
|
|
10931
10933
|
* Always the last one in the class.
|
|
10932
10934
|
*/
|
|
10933
10935
|
render() {
|
|
10934
|
-
return (hAsync("dl", { key: '
|
|
10936
|
+
return (hAsync("dl", { key: '7db97f4b853a8c566565c13d19c6699cb61aa0f1', class: { "duet-list-component": true, "duet-m-0": this.margin === "none" } }, hAsync("slot", { key: '9def9a838232a96dc345c2fdaa72ad1bf0cf773c' })));
|
|
10935
10937
|
}
|
|
10936
10938
|
get element() { return getElement(this); }
|
|
10937
10939
|
static get watchers() { return {
|
|
@@ -10981,14 +10983,14 @@ class DuetListItem {
|
|
|
10981
10983
|
* Always the last one in the class.
|
|
10982
10984
|
*/
|
|
10983
10985
|
render() {
|
|
10984
|
-
return (hAsync(Host, { key: '
|
|
10986
|
+
return (hAsync(Host, { key: '7d5edc9fc5a6204321bde53375110cb79bf4cc5a', class: {
|
|
10985
10987
|
"duet-no-stacking": !this.responsive,
|
|
10986
10988
|
"duet-list-item-breakpoint-x-small": this.breakpoint === "x-small",
|
|
10987
10989
|
"duet-list-item-breakpoint-small": this.breakpoint === "small",
|
|
10988
10990
|
"duet-list-item-breakpoint-medium": this.breakpoint === "medium",
|
|
10989
10991
|
"duet-list-item-breakpoint-large": this.breakpoint === "large",
|
|
10990
10992
|
"duet-list-item-breakpoint-x-large": this.breakpoint === "x-large",
|
|
10991
|
-
} }, hAsync("dt", { key: '
|
|
10993
|
+
} }, hAsync("dt", { key: '98639d5240ed7adaba681680719ae58994ec15f5' }, hAsync("slot", { key: 'd8f9358d2665d96c121786911152df7352b6fc46', name: "label" })), hAsync("dd", { key: '5edaa517ab825259c299f647e1f7023ec7cd5fa7' }, hAsync("slot", { key: '0c0693a642e6bbd8e075f804a4b93067ebc77699', name: "value" }))));
|
|
10992
10994
|
}
|
|
10993
10995
|
static get style() { return DuetListItemStyle0; }
|
|
10994
10996
|
static get cmpMeta() { return {
|
|
@@ -11081,7 +11083,7 @@ class DuetLogo {
|
|
|
11081
11083
|
*/
|
|
11082
11084
|
render() {
|
|
11083
11085
|
const TagName = this.href ? "a" : "div";
|
|
11084
|
-
return (hAsync(Host, { key: '
|
|
11086
|
+
return (hAsync(Host, { key: 'cd8e66cfc274e3f41172ef96b07880d49099714b', class: { "duet-m-0": this.margin === "none" } }, hAsync(TagName, { key: '4440c702c9c89c8ff2f94146c02849f04f5e055f', href: this.href, ref: link => (this.nativeLink = link), "aria-label": this.accessibleLabel, class: {
|
|
11085
11087
|
"duet-logo": true,
|
|
11086
11088
|
[this.size]: true,
|
|
11087
11089
|
"duet-theme-turva": this.theme === "turva",
|
|
@@ -11260,14 +11262,14 @@ class DuetMenuBar {
|
|
|
11260
11262
|
render() {
|
|
11261
11263
|
const slideoutAvailable = document.querySelectorAll("duet-slideout").length > 0;
|
|
11262
11264
|
const isUsedAsAdditionalHorizontalNav = slideoutAvailable && !this.logo;
|
|
11263
|
-
return (hAsync(Host, { key: '
|
|
11265
|
+
return (hAsync(Host, { key: 'ee439062a14ee406cfc5b0fdb05dfc3927198da2' }, hAsync("nav", { key: '1d8487413b9de5b95a8cad1494b96834fc3b9439', class: {
|
|
11264
11266
|
"duet-menu-bar": true,
|
|
11265
11267
|
"duet-theme-turva": this.theme === "turva",
|
|
11266
11268
|
"horizontal-nav": isUsedAsAdditionalHorizontalNav,
|
|
11267
11269
|
"duet-menu-bar-slim": !this.centerSlotUsed,
|
|
11268
11270
|
hidden: this.hidden && this.hideOnScroll,
|
|
11269
11271
|
bottom: this.onBottom,
|
|
11270
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
11272
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '92fa80908ef91d5dcbd7c518888a86227c988ed5', class: "top" }), hAsync("div", { key: '1d61baaac5a06d5e1c86ff4c64c64d16b6995835', class: { container: true }, ref: el => (this.container = el), onScroll: () => this.scrollbarCheck() }, this.logo && (hAsync("div", { key: 'f5808648cf441b41c69e97dc72a2d85cfcc87f81' }, hAsync("duet-logo", { key: 'b2ee61312ef7dfa668b8c64fd87eab1eb081a659', size: this.logoSize, margin: "none", theme: this.theme, href: this.logoHref, accessibleLabel: this.logoLinkAccessibleLabel, onClick: this.handleLogoClick, language: this.language }))), hAsync("div", { key: '389e88f80128e89de575d710812390c0b42ba3d7', class: "list center", role: "list" }, hAsync("div", { key: 'b7123d700a4f96083cb622dc19e84a983c869f67', class: "more-left", hidden: !this.leftMoreVisible, role: "presentation" }), hAsync("slot", { key: '0e39ad37d162ab9f0d795ad4ede239989c417e7e', name: "center" }), hAsync("div", { key: '253ae76acd48430689379946af5d6c30aaf4ef0f', class: "more-right", hidden: !this.rightMoreVisible, role: "presentation" })), hAsync("div", { key: '011f05e4df0d48081cafc0e841163bb2166aab57', class: "list right", role: "list" }, hAsync("slot", { key: 'da96523ef89bb59d8cafade8d0723ad5f3878bdb', name: "right" }))), hAsync("div", { key: 'b8b76c092068de82e8a63cc67f4a0619792ae8a6', class: "bottom" }))));
|
|
11271
11273
|
}
|
|
11272
11274
|
get element() { return getElement(this); }
|
|
11273
11275
|
static get style() { return DuetMenuBarStyle0; }
|
|
@@ -11334,10 +11336,10 @@ class DuetMenuBarButton {
|
|
|
11334
11336
|
* Always the last one in the class.
|
|
11335
11337
|
*/
|
|
11336
11338
|
render() {
|
|
11337
|
-
return (hAsync(Host, { key: '
|
|
11339
|
+
return (hAsync(Host, { key: 'deca902effde36707ce8fd06bca1be05ec07c853', role: "listitem", onfocus: () => this.setFocus() }, hAsync("button", { key: 'd33ec2494d4135a5d22933a608fb75944d894e3a', ref: button => (this.nativeButton = button), class: {
|
|
11338
11340
|
"duet-menu-bar-button": true,
|
|
11339
11341
|
"duet-theme-turva": this.theme === "turva",
|
|
11340
|
-
}, "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: '
|
|
11342
|
+
}, "aria-controls": this.accessibleControls, "aria-label": this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-activedescendant": this.accessibleActiveDescendant, "aria-owns": this.accessibleOwns, "aria-describedby": this.accessibleDescribedBy, "aria-labelledby": this.accessibleLabelledBy, "aria-details": this.accessibleDetails, "aria-description": this.accessibleDescription, "aria-pressed": this.accessiblePressed != null ? this.accessiblePressed.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined }, this.icon && (hAsync("duet-icon", { key: '66ac3933b5491a0edda4392c8a898c1184bec10f', class: "menu-bar-button-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: '698f4da1db4de218fa735a1cbae29063cc053f6d' }))));
|
|
11341
11343
|
}
|
|
11342
11344
|
get element() { return getElement(this); }
|
|
11343
11345
|
static get style() { return DuetMenuBarButtonStyle0; }
|
|
@@ -11420,17 +11422,17 @@ class DuetMenuBarDropdown {
|
|
|
11420
11422
|
* Always the last one in the class.
|
|
11421
11423
|
*/
|
|
11422
11424
|
render() {
|
|
11423
|
-
return (hAsync(Host, { key: '
|
|
11425
|
+
return (hAsync(Host, { key: 'f93af979aeb4ce2f2746f4479fd2668900e29da9', role: "listitem" }, hAsync("div", { key: 'ffa66596cc69f73b1cb21f7402ba52eceb963446', class: {
|
|
11424
11426
|
"duet-menu-bar-dropdown": true,
|
|
11425
11427
|
"duet-theme-turva": this.theme === "turva",
|
|
11426
11428
|
active: this.open,
|
|
11427
11429
|
[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]: true,
|
|
11428
|
-
} }, hAsync("button", { key: '
|
|
11430
|
+
} }, hAsync("button", { key: 'fb65ccba695bcb5e2c6138759637a6fd653a76ca', 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: {
|
|
11429
11431
|
active: this.open,
|
|
11430
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
11432
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'beab72ea1ff2650a414dda52bda8016103337f56', class: "menu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'bea074a390a7e840e190e62ea85bd8b69a9927c5', class: "label" }, hAsync("slot", { key: '5493f0001e4996f672def1499658526ee20be333', name: "label" }), hAsync("duet-icon", { key: '5c49206c05fe11b0be8da38d34ee0dc010c3a846', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '8f83fc0d22ef0006bcc92458ff3878408c02a603', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
11431
11433
|
items: true,
|
|
11432
11434
|
hidden: !this.open,
|
|
11433
|
-
} }, hAsync("slot", { key: '
|
|
11435
|
+
} }, hAsync("slot", { key: '92fd717630d79bf09aae7ea578f0afbe51eb2926' })))));
|
|
11434
11436
|
}
|
|
11435
11437
|
get element() { return getElement(this); }
|
|
11436
11438
|
static get style() { return DuetMenuBarDropdownStyle0; }
|
|
@@ -11490,11 +11492,11 @@ class DuetMenuBarDropdownLink {
|
|
|
11490
11492
|
* Always the last one in the class.
|
|
11491
11493
|
*/
|
|
11492
11494
|
render() {
|
|
11493
|
-
return (hAsync(Host, { key: '
|
|
11495
|
+
return (hAsync(Host, { key: '8f202e5114349cf52a751eca7618a58bbc0a0dba' }, hAsync("a", { key: 'd4286fb4827c4799f9abb3c3ef9518c4c397ba64', class: {
|
|
11494
11496
|
"duet-menu-bar-dropdown-link": true,
|
|
11495
11497
|
[`duet-menu-bar-dropdown-link--slot-${this.getVariant()}`]: true,
|
|
11496
11498
|
"duet-theme-turva": this.theme === "turva",
|
|
11497
|
-
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11499
|
+
}, href: this.href, role: "menuitem", onKeyUp: e => this.handleEscape(e), "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: 'c4517031d6eb12f4a7b93ff0ef8f94890c4268de', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("slot", { key: 'd2ac491e4c7548a96ba81171fde8149585f4a7b8' }))));
|
|
11498
11500
|
}
|
|
11499
11501
|
get element() { return getElement(this); }
|
|
11500
11502
|
static get style() { return DuetMenuBarDropdownLinkStyle0; }
|
|
@@ -11558,11 +11560,11 @@ class DuetMenuBarItem {
|
|
|
11558
11560
|
*/
|
|
11559
11561
|
render() {
|
|
11560
11562
|
const TagName = this.url ? "a" : "button";
|
|
11561
|
-
return (hAsync(Host, { key: '
|
|
11563
|
+
return (hAsync(Host, { key: 'bea0f2af8dbfd9b4bbf7531de22b65837e1adcf8', role: "listitem" }, hAsync(TagName, { key: '59a98ccf23d40b153eeb93142593676b9bda62de', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
11562
11564
|
"duet-menu-bar-item": true,
|
|
11563
11565
|
"duet-theme-turva": this.theme === "turva",
|
|
11564
11566
|
active: this.active,
|
|
11565
|
-
}, 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: '
|
|
11567
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("duet-icon", { key: 'be698fc3a686b99295e9420d8540f3824039be82', class: "leading-icon", size: "auto", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '1b565d26ca6469f244a931c22ccc377ea36c7cd5' }), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: 'fe0f61e15ff8d1fd9807c0730f8a8ce1c68b1660', class: {
|
|
11566
11568
|
"trailing-icon": !!this.trailingIcon,
|
|
11567
11569
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
11568
11570
|
"external-icon": !!this.external,
|
|
@@ -11617,11 +11619,11 @@ class DuetMenuBarLink {
|
|
|
11617
11619
|
* Always the last one in the class.
|
|
11618
11620
|
*/
|
|
11619
11621
|
render() {
|
|
11620
|
-
return (hAsync(Host, { key: '
|
|
11622
|
+
return (hAsync(Host, { key: '2d5c169b766e83599ed968733533b1141a085156', role: "listitem" }, hAsync("a", { key: '93fba0cbc0022e85ce02ddf508df516b0ad92fb5', class: {
|
|
11621
11623
|
"duet-menu-bar-link": true,
|
|
11622
11624
|
"duet-theme-turva": this.theme === "turva",
|
|
11623
11625
|
active: this.active,
|
|
11624
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
11626
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '6e04517b89f0d7580971f6b0efd6d7db1e48a17c', class: "menu-bar-link-icon", theme: this.theme, size: "auto", name: this.icon, margin: "none", color: "currentColor" })), hAsync("slot", { key: 'c560b4d027307568a905ed1e1f67795c76cfdeed' }))));
|
|
11625
11627
|
}
|
|
11626
11628
|
get element() { return getElement(this); }
|
|
11627
11629
|
static get style() { return DuetMenuBarLinkStyle0; }
|
|
@@ -11872,18 +11874,18 @@ class DuetModal {
|
|
|
11872
11874
|
var _a, _b;
|
|
11873
11875
|
let iconColor = "primary";
|
|
11874
11876
|
let closeColor = "secondary";
|
|
11875
|
-
const closingButton = (hAsync("div", { key: '
|
|
11877
|
+
const closingButton = (hAsync("div", { key: '61ef914bff9303ef11afc72d05041d22cfc19a04', class: "duet-modal-close" }, hAsync("duet-button", { key: '227e0e9623df005f97018db52488d16b4a86fd86', 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 })));
|
|
11876
11878
|
if (this.theme === "turva") {
|
|
11877
11879
|
iconColor = "primary-turva";
|
|
11878
11880
|
closeColor = "secondary-turva";
|
|
11879
11881
|
}
|
|
11880
|
-
return (hAsync("div", { key: '
|
|
11882
|
+
return (hAsync("div", { key: 'ddbffb7c7059cdea821b6abfe9a16c960ad87c63', 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: {
|
|
11881
11883
|
"duet-modal-container": true,
|
|
11882
11884
|
"duet-theme-turva": this.theme === "turva",
|
|
11883
11885
|
"duet-modal-active": this.open,
|
|
11884
11886
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
11885
11887
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11886
|
-
} }, hAsync("duet-overlay", { key: '
|
|
11888
|
+
} }, hAsync("duet-overlay", { key: 'e068a31ef8a49075fb445ad19f9cb14fe41973fa', "z-index": "-1", visible: this.open, variation: this.variation === "loader" ? "white" : "default" }), hAsync("div", { key: 'be52b3ade6999b2220ec2de88ad64f98fef455e4', ref: modalInner => (this.modalInnerEl = modalInner), class: {
|
|
11887
11889
|
"duet-modal-inner": true,
|
|
11888
11890
|
[this.size]: true,
|
|
11889
11891
|
"duet-modal-slide-up": this.variation === "slide-up",
|
|
@@ -11894,18 +11896,18 @@ class DuetModal {
|
|
|
11894
11896
|
this.closeModal(e);
|
|
11895
11897
|
}
|
|
11896
11898
|
}
|
|
11897
|
-
} }, hAsync("div", { key: '
|
|
11899
|
+
} }, hAsync("div", { key: 'd914271dd3812d02f5d0895508f714dc2e3971b7', ref: modalContentEl => (this.modalContentEl = modalContentEl), class: {
|
|
11898
11900
|
"duet-modal": true,
|
|
11899
11901
|
"duet-modal-has-sticky-header": this.hasStickyHeader,
|
|
11900
11902
|
[this.size]: true,
|
|
11901
11903
|
[this.variation]: true,
|
|
11902
|
-
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '
|
|
11904
|
+
} }, this.gutterSize !== "none" && !this.hasStickyHeader && hAsync("duet-spacer", { key: '36a424539eacd5d219032cce4e41f6e62f4bec04' }), this.hasStickyHeader ? (hAsync("div", { class: "duet-modal-sticky-header" }, closingButton, hAsync("slot", { name: "sticky-header" }))) : (closingButton), hAsync("div", { key: 'd6e03bc39dfced8515e26c9961b0c6642b513765', class: {
|
|
11903
11905
|
"duet-modal-body": true,
|
|
11904
11906
|
"duet-modal-gutter-none": this.gutterSize === "none",
|
|
11905
11907
|
"duet-modal-gutter-small": this.gutterSize === "small",
|
|
11906
11908
|
"duet-modal-gutter-medium": this.gutterSize === "medium",
|
|
11907
11909
|
"duet-modal-gutter-large": this.gutterSize === "large",
|
|
11908
|
-
} }, hAsync("div", { key: '
|
|
11910
|
+
} }, hAsync("div", { key: '27062dca4e25894fbadaf00ed25684f17dda89e2', class: "duet-modal-header" }, hAsync("span", { key: '325f53a9eedb05e064ca299f8af40a91c1460b48', class: "duet-modal-inner-slot-top" }, hAsync("slot", { key: 'aa7a6f9bcf8cec55c7f119bdb8db669ad16f41d3', name: "top" })), this.icon && hAsync("duet-icon", { key: 'b3fa01f0bff2eacf2b7e4c2282de03663f0b1588', name: this.icon, size: "xx-large", color: this.color || iconColor }), this.heading && (hAsync("duet-heading", { key: 'a4cecc16bec531dba2bcee42d981d5c904525788', "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: 'ea4fd5500130dc5cf2f5f3880f84741111897fce', class: "duet-modal-spinner" }, hAsync("duet-spinner", { key: '543b23213d3c91655f561897b99915442c846de9', size: "large", color: "primary" }))), hAsync("div", { key: '61e7e623d613ba266a3a12386f7e948e9dac3da0', class: "duet-modal-inner-slot-default", ref: el => (this.slotContainerEl = el), "aria-live": this.variation === "loader" ? "assertive" : "off" }, hAsync("slot", { key: '8dc4b475ef016193508053cf0f2c4140001816b9' })))))));
|
|
11909
11911
|
}
|
|
11910
11912
|
get element() { return getElement(this); }
|
|
11911
11913
|
static get watchers() { return {
|
|
@@ -12170,23 +12172,23 @@ class DuetMultiselect {
|
|
|
12170
12172
|
*/
|
|
12171
12173
|
render() {
|
|
12172
12174
|
var _a;
|
|
12173
|
-
return (hAsync(Host, { key: '
|
|
12175
|
+
return (hAsync(Host, { key: '06c99296ef89e4c1c5f01eb5515a1d06bf3d4755', class: {
|
|
12174
12176
|
"duet-m-0": this.margin === "none",
|
|
12175
12177
|
"duet-expand": this.expand,
|
|
12176
|
-
} }, hAsync("div", { key: '
|
|
12178
|
+
} }, hAsync("div", { key: '928331f06b98e8379722445926b4b7c3a346fc7b', class: {
|
|
12177
12179
|
"duet-multiselect-container": true,
|
|
12178
12180
|
"duet-label-hidden": this.labelHidden,
|
|
12179
12181
|
"duet-theme-turva": this.theme === "turva",
|
|
12180
12182
|
"duet-input-top-caption-shown": this.isCaptionVisible,
|
|
12181
12183
|
"has-error": !!this.error,
|
|
12182
|
-
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '
|
|
12184
|
+
}, onKeyDown: (e) => this.onMultiselectKeyDown(e) }, hAsync("duet-label", { key: '5ce9d935259de2fd5e182c484d0cde1cfe19e3d8', 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: '468927ce5cb9bd7b8a26944a1af8f4b0af1302cf', class: "duet-multiselect-tooltip", direction: this.tooltipDirection, accessibleInputLabel: this.label }, this.tooltip)), hAsync("slot", { key: '929c430336a3e4198ea6af493219434a58f56bb9', name: "tooltip" }), this.caption && (hAsync("duet-caption", { key: '4e1b24288fa6ce3020fb69a4c044c75c6782953e', id: this.topCaptionId, size: "medium" }, this.caption)), hAsync("div", { key: '5681844a5ea68200ce3f43ac88d12a54316d5fab', class: "duet-multiselect-wrapper" }, hAsync("button", { key: '0c9de7973c7f84d672150206f66ea7309b6cdc09', 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: '351a4c93ce64f21704c97f812a74375cd348d2cc', 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: 'ecc84c702c938ef7c138f22a7721ceaa5588a46a', class: "duet-multiselect-badge" }, this.value.length, hAsync("duet-visually-hidden", { key: 'f0866aea0455ae0fa4c192e042bdc1394f4c9ef0' }, this.selectedLangObject[this.language], ", ", this.value.map(item => item.label).join(", ")))), hAsync("svg", { key: '7df2d9741170dbb3811b4ead54fcf41a75133806', 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: '02c76e553afb6afb9c037984fb5ff7cba8472f6d', 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: '18df6044f26b602ac11bb429e38ff8c99c68c918', id: `${this.identifier}-checkboxes`, role: "listbox", class: {
|
|
12183
12185
|
"duet-multiselect-checkboxes": true,
|
|
12184
12186
|
"duet-multiselect-checkboxes-active": this.checkboxesVisible,
|
|
12185
|
-
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: '
|
|
12187
|
+
}, "aria-activedescendant": this.activeDescendant, "aria-multiselectable": "true" }, ((_a = this.processedItems) === null || _a === void 0 ? void 0 : _a.length) && this.allControls && (hAsync("div", { key: 'b72ed7020a4acd3e798a6d5f66563d0f9bb60a32', class: "duet-multiselect-all-control-buttons" }, hAsync("button", { key: '255181e9a265898f3d91ec3699cf0b6eecc88bd3', 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: 'e6a84c1684c6ea06e0e3d55e65e41b0789dfe632', class: "duet-multiselect-clear-all", onClick: this.handleClearAllClick, id: this.getOptionIdentifier(-1), onKeyDown: (e) => this.onCheckboxKeyDown(e, -1) }, this.clearAllLabel[this.language]))), this.processedItems &&
|
|
12186
12188
|
this.processedGroups.map(group => (hAsync("fieldset", null, group.label && hAsync("legend", null, group.label), group.items.map((item, key) => {
|
|
12187
12189
|
var _a, _b;
|
|
12188
12190
|
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 }));
|
|
12189
|
-
})))))), hAsync("span", { key: '
|
|
12191
|
+
})))))), hAsync("span", { key: 'c29aed47b4c15fd6e7a5e3c5b0f40d1686db06f2', class: "duet-multiselect-help", id: this.errorId, "aria-atomic": "true", "aria-live": this.accessibleLiveError, "aria-relevant": "additions removals" }, this.error && hAsync("span", { key: '7cecdae8a3e69b7195651e0cbf1ed6088157412d' }, this.error)))));
|
|
12190
12192
|
}
|
|
12191
12193
|
get element() { return getElement(this); }
|
|
12192
12194
|
static get watchers() { return {
|
|
@@ -12255,7 +12257,7 @@ class DuetNav {
|
|
|
12255
12257
|
* Always the last one in the class.
|
|
12256
12258
|
*/
|
|
12257
12259
|
render() {
|
|
12258
|
-
return (hAsync(Host, { key: '
|
|
12260
|
+
return (hAsync(Host, { key: '05da726e03d9c408cde7879e4708286a7f7879d2' }, hAsync("div", { key: 'b02549bf94ee7aaa31666e9ab148de40348d8835', class: { container: true, sticky: this.sticky } }, hAsync("slot", { key: '59f5ef9ceeb78e375e701b1ef5d7681651693852' }), hAsync("slot", { key: '77cae019f8fbaebcd5a362a707d2106be3bb495b', name: "mobile" }), hAsync("slot", { key: '451e1a14bfaf33f4f178b4f75d8c9ca5c2c102c5', name: "desktop" }))));
|
|
12259
12261
|
}
|
|
12260
12262
|
get element() { return getElement(this); }
|
|
12261
12263
|
static get style() { return DuetNavStyle0; }
|
|
@@ -12314,11 +12316,11 @@ class DuetNotification {
|
|
|
12314
12316
|
this.linkElement.focus(options);
|
|
12315
12317
|
}
|
|
12316
12318
|
render() {
|
|
12317
|
-
return (hAsync("div", { key: '
|
|
12319
|
+
return (hAsync("div", { key: '65f980fd5fa033d52c207f3027dfec0ea997d2d0', role: "listitem", class: {
|
|
12318
12320
|
"duet-notification": true,
|
|
12319
12321
|
"duet-notification-highlight": this.highlight,
|
|
12320
12322
|
"duet-theme-turva": this.theme === "turva",
|
|
12321
|
-
} }, hAsync("a", { key: '
|
|
12323
|
+
} }, hAsync("a", { key: 'adab91697700a8b3110bfbbbabb837a736af98e6', ref: element => (this.linkElement = element), href: this.url, target: this.external ? "_blank" : "_self" }, hAsync("div", { key: '648733e653d6b00f958a18ce6bbde50d64a82451', class: "duet-notification-container" }, hAsync("div", { key: '7c93614d7e7304d955f3d0c065edfe1a1af6ef51', class: "duet-notification-badge-container" }, this.highlight && (hAsync("div", { key: 'b309bc1656a970bb7369ebaa459b07ad4e94a689', class: "duet-notification-badge" }, hAsync("duet-visually-hidden", { key: '71742d3d65a76f6a312a7535780f082c0bae8a86' }, this.accessibleLabelUnread, ":")))), hAsync("div", { key: '1a13147ea4b28a1798461301b790a106d29a8d1e', class: "duet-notification-content" }, hAsync("slot", { key: 'c133b1210a46fe45abcc1ac7e59fa84349ec4d16' })), hAsync("div", { key: 'aab2501cc3a502365a7e6fa08bcc538502140822', class: "duet-notification-date" }, this.date)))));
|
|
12322
12324
|
}
|
|
12323
12325
|
get element() { return getElement(this); }
|
|
12324
12326
|
static get style() { return DuetNotificationStyle0; }
|
|
@@ -12436,10 +12438,10 @@ class DuetNotificationDrawer {
|
|
|
12436
12438
|
* Always the last one in the class.
|
|
12437
12439
|
*/
|
|
12438
12440
|
render() {
|
|
12439
|
-
return (hAsync("div", { key: '
|
|
12441
|
+
return (hAsync("div", { key: '1088af58e8f3c30677e3c6d5baad8515829e9e51', class: {
|
|
12440
12442
|
"duet-drawer": true,
|
|
12441
12443
|
"duet-theme-turva": this.theme === "turva",
|
|
12442
|
-
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: '
|
|
12444
|
+
}, onKeyDown: this.handleKeyDown }, hAsync("button", { key: 'ff5fb1a9b2712d7a2308a4b334c1859b32a8668b', 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: '36ef436ead766298e4c6cd348ca7244afc94ac46', class: "duet-drawer-icon" }, hAsync("duet-icon", { key: '5eba9896a452d8940a07fc94605d9779c9cd909d', margin: "none", size: "x-small", name: this.icon, color: "currentColor" }), this.badge && hAsync("div", { key: 'cec532d1c1f3ef45c2907cf17efc383305c803e7', class: "duet-drawer-badge" }))), hAsync("span", { key: '5c0892ac2e9dfe0a9c463133b839364b7ae78fd1', class: "duet-drawer-label" }, this.label), hAsync("div", { key: 'db154470e959c8a9032cff5aabbb508de489f66d', class: "duet-drawer-caret" }, hAsync("duet-icon", { key: 'fe7e0e1907b7467106a121d0dde62f7ff0fa4906', margin: "none", size: "auto", icon: actionArrowDownSmall.svg, color: "currentColor" }))), hAsync("div", { key: '18109bdcfe172351390f705b11481bbcdc72e81a', id: "duet-drawer-content", class: {
|
|
12443
12445
|
"duet-drawer-content": true,
|
|
12444
12446
|
"duet-drawer-right": this.direction === "right",
|
|
12445
12447
|
"duet-drawer-left": this.direction === "left",
|
|
@@ -12906,7 +12908,7 @@ class DuetOverlay {
|
|
|
12906
12908
|
* Always the last one in the class.
|
|
12907
12909
|
*/
|
|
12908
12910
|
render() {
|
|
12909
|
-
return (hAsync(Host, { key: '
|
|
12911
|
+
return (hAsync(Host, { key: 'b9eeee3afe659216a8d79b5193d453d393d3f1c8', "aria-hidden": "true" }, hAsync("div", { key: '0e7b0eb4bd9714bf776db07996e7261f095cca46', style: { zIndex: this.zIndex }, class: {
|
|
12910
12912
|
"duet-overlay": true,
|
|
12911
12913
|
"duet-theme-turva": this.theme === "turva",
|
|
12912
12914
|
"keep-stacking-context": this.keepStackingContext,
|
|
@@ -12976,12 +12978,12 @@ class DuetPageHeading {
|
|
|
12976
12978
|
*/
|
|
12977
12979
|
render() {
|
|
12978
12980
|
const layout = this.layout === "narrow" ? "narrow" : this.layout === "fluid" ? "fluid" : "auto";
|
|
12979
|
-
return (hAsync("div", { key: '
|
|
12981
|
+
return (hAsync("div", { key: '1ec93e34b3cee83db8dd477081f4c89b28d48269', class: {
|
|
12980
12982
|
"duet-page-heading": true,
|
|
12981
12983
|
"duet-theme-turva": this.theme === "turva",
|
|
12982
12984
|
"has-icon": !!this.icon,
|
|
12983
12985
|
[layout]: true,
|
|
12984
|
-
} }, hAsync("div", { key: '
|
|
12986
|
+
} }, hAsync("div", { key: '0f4796f214c479f0189b843daa0284e0f8ca0ee3', class: "background" }, this.theme === "turva" && hAsync("div", { key: '54830c00e4dd39b94530b57e0e2d0bd4d458a1b6', class: "background-mask" }), this.theme !== "turva" && hAsync("div", { key: '8e6b0568ff46ac009c2e71d9287dc13d794fa4a2', class: "brand-shape" }), this.theme !== "turva" && hAsync("div", { key: '97f11093691407a00290fd6e672a3ad0f49ae6a7', class: "brand-shape second-shape" }), this.icon && (hAsync("div", { key: 'dca45a2c2aa70e9900c2cae1ee25335fa709a52f', class: "brand-shaped-icon" }, hAsync("duet-icon", { key: 'e0313f6d73e854ee206cc092463df6208d2c3c88', background: "none", name: this.icon, margin: "none", size: "auto", responsive: false })))), hAsync("div", { key: '01648cb51c6e0414d319c9acdacdc1cb24bc62e6', class: "heading" }, hAsync("slot", { key: '6d32c471e4560cb452fe9970fc6c8527db5c620d', name: "heading" }), this.progressCurrentStep && this.progressTotalSteps && (hAsync("div", { key: 'dfcb6438834ea76b5182927860562d44c3439bf8' }, hAsync("duet-spacer", { key: '47a1606a141918966fe848dc3ce484259c3ad7dc', size: "large" }), hAsync("div", { key: 'fbbf43860750291e0cf7717dd0e76ff406c396de', role: "presentation" }, this.progressIndicator()))))));
|
|
12985
12987
|
}
|
|
12986
12988
|
get element() { return getElement(this); }
|
|
12987
12989
|
static get style() { return DuetPageHeadingStyle0; }
|
|
@@ -13336,32 +13338,32 @@ class DuetPagination {
|
|
|
13336
13338
|
* Always the last one in the class.
|
|
13337
13339
|
*/
|
|
13338
13340
|
render() {
|
|
13339
|
-
return (hAsync(Host, { key: '
|
|
13341
|
+
return (hAsync(Host, { key: '51f0c1a1d5a16a99b2650f72c7b5fbf118532720', onKeyDown: e => this.onKeyboardDown(e), class: { "duet-theme-turva": this.theme === "turva" } }, hAsync("nav", { key: '60fa85678350ba5b52095f3db11f46864cd5b24f', 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: {
|
|
13340
13342
|
"duet-pagination-nav": true,
|
|
13341
13343
|
[`duet-pagination-variation-${this.variation}`]: true,
|
|
13342
|
-
} }, this.numbersStore !== "" && (hAsync("div", { key: '
|
|
13344
|
+
} }, this.numbersStore !== "" && (hAsync("div", { key: '9085f262dca839c18be2b7798a389e7536dd900c', "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: '866869d03bf3a59593b8b3a9b09ae90929dad2b9', theme: this.theme }, "jump to page : ", this.numbersStore))), hAsync("ol", { key: 'ad8a1c3c60b6f46a631e61fe5c7b7d083526b011', id: this.listId, class: {
|
|
13343
13345
|
"duet-pagination": true,
|
|
13344
13346
|
"duet-pagination-is-dimmed": this.numbersStore !== "",
|
|
13345
|
-
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '
|
|
13347
|
+
}, role: "menubar", "aria-label": this.accessibleLabels.pagination_label, "aria-description": this.accessibleLabels.description }, (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '13a5f6ae9ca077d056926927c341619e3c421fe4', class: {
|
|
13346
13348
|
"duet-pagination-page-button": true,
|
|
13347
13349
|
"duet-pagination-button-first": true,
|
|
13348
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13350
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '847da0bfd22d6d1724e10165397e1957ca3a1a9c', 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: '16ea0206eea69bc4c3862cd41fdc3a94db5ccba4', class: {
|
|
13349
13351
|
"duet-pagination-page-button": true,
|
|
13350
13352
|
"duet-pagination-button-first": true,
|
|
13351
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13353
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '33ea4c7865120aed99108906a9c4b4ff34a0590d', disabled: !!((this.internalSectionIndex === 0 && this.current <= 1) ||
|
|
13352
13354
|
(this.current <= 1 && this.processedPageLinks) ||
|
|
13353
|
-
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: '
|
|
13354
|
-
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: '
|
|
13355
|
+
this.disabled), "data-direction": "back", onClick: e => this.onMouseHandler(e, -1), "accessible-label": this.accessibleLabels.previous_page, title: this.accessibleLabels.previous_page, "icon-name": "action-arrow-left-small", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current - 2] : undefined })), this.internalSectionIndex !== 0 && this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'c961b452d3cc93a62b3059a4d7f4dfa2c25a23a4' }, hAsync("li", { key: '4e36041ee7df9da07287aa58b95ed4b9cb3db160', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'dd161af51a0de44a42189b538e7c5a11bdf46124', 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: '7d8eee43b64756671843213cae0473390014a6ce', class: "duet-pagination-page-number" }, "1"))), hAsync("li", { key: 'bf0e2dc3f9aca2621718e3d2b31f5fe8136ea0ee', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'e67129a8dcf6bb081d662308040c81e26f89368e', 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: 'edf800d14122c7a156e2852feaf8292c0f2cb0ba', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026"))))), (this.shouldDisplayNavigation() && this.renderPageNumbers()) || this.renderSelect(), (this.internalSectionIndex + 1) * this.visibleItems < this.totalPages &&
|
|
13356
|
+
this.shouldDisplayNavigation() && (hAsync(Fragment, { key: 'a7ba8fad52c4f52916bbd52cb50b45fcfcb4dc8c' }, (this.internalSectionIndex + 1) * this.visibleItems !== this.totalPages - 1 && (hAsync("li", { key: '73f0d4c00ca3e2ab1c28d6d290214e5f5841a869', class: "duet-pagination-item", role: "menuitem", part: "navigation-section" }, hAsync("duet-button", { key: 'c49588a61cff0248853d27711faaed8ba6e3185c', 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: '1d3dcae494cc6e91d04099de95e7a338830654ce', class: "duet-pagination-page-number", "aria-hidden": "true" }, "\u2026")))), hAsync("li", { key: 'da984b3aedda5967f12aef6368a5d389c5928d87', class: "duet-pagination-item", role: "menuitem", part: "navigation-jump" }, hAsync("duet-button", { key: 'af45256868353af59b8d242cee961d7962c96266', 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
|
|
13355
13357
|
? this.processedPageLinks[this.processedPageLinks.length - 1]
|
|
13356
|
-
: undefined }, hAsync("div", { key: '
|
|
13358
|
+
: undefined }, hAsync("div", { key: '52c7db3f203d4bfbaebb844ee3b06fca983c1fd1', class: "duet-pagination-page-number" }, this.totalPages))))), hAsync("li", { key: '4c7edb8ca99f3993c4b64ac153112491a72f1d01', class: {
|
|
13357
13359
|
"duet-pagination-page-button": true,
|
|
13358
13360
|
"duet-pagination-button-last": true,
|
|
13359
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13361
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: 'f7909374d12e9e6e7474293cf24f50d4df584e72', disabled: !!((this.current === this.totalPages &&
|
|
13360
13362
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13361
|
-
(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: '
|
|
13363
|
+
(this.current === this.totalPages && this.processedPageLinks)) || this.disabled, class: "duet-date-dialog-next", "accessible-label": this.accessibleLabels.next_page, title: this.accessibleLabels.next_page, onClick: e => this.onMouseHandler(e, 1), "icon-name": "action-move-to-next", theme: this.theme, url: this.processedPageLinks ? this.processedPageLinks[this.current] : undefined })), (this.variation === "compact" || this.matchesCompactBreakpoint) && (hAsync("li", { key: '951483492689ef3558b55a8a1ee2d77dd2f143c3', class: {
|
|
13362
13364
|
"duet-pagination-page-button": true,
|
|
13363
13365
|
"duet-pagination-button-last": true,
|
|
13364
|
-
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '
|
|
13366
|
+
}, role: "menuitem", part: "navigation-arrow" }, hAsync("duet-action-button", { key: '88d890a714833a29323e24a62afbd25bdcfe9a69', disabled: (this.current === this.totalPages &&
|
|
13365
13367
|
this.internalSectionIndex === Math.ceil(this.totalPages / this.visibleItems) - 1) ||
|
|
13366
13368
|
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 })))))));
|
|
13367
13369
|
}
|
|
@@ -13435,7 +13437,7 @@ class DuetParagraph {
|
|
|
13435
13437
|
const color = getColorByName(this.color);
|
|
13436
13438
|
// aria-describedby is to fix accessibility issue in Chrome where duet-paragraphs
|
|
13437
13439
|
// are not announced when placed inside duet-modal
|
|
13438
|
-
return (hAsync(Host, { key: '
|
|
13440
|
+
return (hAsync(Host, { key: '937feb9cd408858a78be87183a5545fafd3b3d22', "aria-describedby": this.id }, hAsync("p", { key: 'efd257f20e5ef295b7555d9b7b73b5ef23fb48c0', id: this.id, class: {
|
|
13439
13441
|
"duet-paragraph": true,
|
|
13440
13442
|
"duet-paragraph-small": this.size === "small",
|
|
13441
13443
|
"duet-paragraph-semi-bold": this.weight === "semi-bold",
|
|
@@ -13443,7 +13445,7 @@ class DuetParagraph {
|
|
|
13443
13445
|
"duet-m-0": this.margin === "none",
|
|
13444
13446
|
[this.variation]: true,
|
|
13445
13447
|
"duet-theme-turva": this.theme === "turva",
|
|
13446
|
-
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '
|
|
13448
|
+
}, style: { color }, part: "duet-paragraph" }, hAsync("slot", { key: '3f9d4bf13beebdbd96e6d8b70e006b3f91804d83' }))));
|
|
13447
13449
|
}
|
|
13448
13450
|
get element() { return getElement(this); }
|
|
13449
13451
|
static get style() { return DuetParagraphStyle0; }
|
|
@@ -13464,6 +13466,2024 @@ class DuetParagraph {
|
|
|
13464
13466
|
}; }
|
|
13465
13467
|
}
|
|
13466
13468
|
|
|
13469
|
+
const countries = {
|
|
13470
|
+
AF: {
|
|
13471
|
+
isoCode: "AF",
|
|
13472
|
+
en: "Afghanistan",
|
|
13473
|
+
fi: "Afganistan",
|
|
13474
|
+
sv: "Afghanistan",
|
|
13475
|
+
telephoneCountryCode: "93",
|
|
13476
|
+
},
|
|
13477
|
+
AL: {
|
|
13478
|
+
isoCode: "AL",
|
|
13479
|
+
en: "Albania",
|
|
13480
|
+
fi: "Albania",
|
|
13481
|
+
sv: "Albanien",
|
|
13482
|
+
telephoneCountryCode: "355",
|
|
13483
|
+
},
|
|
13484
|
+
DZ: {
|
|
13485
|
+
isoCode: "DZ",
|
|
13486
|
+
en: "Algeria",
|
|
13487
|
+
fi: "Algeria",
|
|
13488
|
+
sv: "Algeriet",
|
|
13489
|
+
telephoneCountryCode: "213",
|
|
13490
|
+
},
|
|
13491
|
+
AS: {
|
|
13492
|
+
isoCode: "AS",
|
|
13493
|
+
en: "American Samoa",
|
|
13494
|
+
fi: "Amerikan Samoa",
|
|
13495
|
+
sv: "Amerikanska Samoa",
|
|
13496
|
+
telephoneCountryCode: "1",
|
|
13497
|
+
},
|
|
13498
|
+
AD: {
|
|
13499
|
+
isoCode: "AD",
|
|
13500
|
+
en: "Andorra",
|
|
13501
|
+
fi: "Andorra",
|
|
13502
|
+
sv: "Andorra",
|
|
13503
|
+
telephoneCountryCode: "376",
|
|
13504
|
+
},
|
|
13505
|
+
AO: {
|
|
13506
|
+
isoCode: "AO",
|
|
13507
|
+
en: "Angola",
|
|
13508
|
+
fi: "Angola",
|
|
13509
|
+
sv: "Angola",
|
|
13510
|
+
telephoneCountryCode: "244",
|
|
13511
|
+
},
|
|
13512
|
+
AI: {
|
|
13513
|
+
isoCode: "AI",
|
|
13514
|
+
en: "Anguilla",
|
|
13515
|
+
fi: "Anguilla",
|
|
13516
|
+
sv: "Anguilla",
|
|
13517
|
+
telephoneCountryCode: "1",
|
|
13518
|
+
},
|
|
13519
|
+
AQ: {
|
|
13520
|
+
isoCode: "AQ",
|
|
13521
|
+
en: "Antarctica",
|
|
13522
|
+
fi: "Antarktis",
|
|
13523
|
+
sv: "Antarktis",
|
|
13524
|
+
},
|
|
13525
|
+
AG: {
|
|
13526
|
+
isoCode: "AG",
|
|
13527
|
+
en: "Antigua and Barbuda",
|
|
13528
|
+
fi: "Antigua ja Barbuda",
|
|
13529
|
+
sv: "Antigua och Barbuda",
|
|
13530
|
+
telephoneCountryCode: "1",
|
|
13531
|
+
},
|
|
13532
|
+
AR: {
|
|
13533
|
+
isoCode: "AR",
|
|
13534
|
+
en: "Argentina",
|
|
13535
|
+
fi: "Argentiina",
|
|
13536
|
+
sv: "Argentina",
|
|
13537
|
+
telephoneCountryCode: "54",
|
|
13538
|
+
},
|
|
13539
|
+
AM: {
|
|
13540
|
+
isoCode: "AM",
|
|
13541
|
+
en: "Armenia",
|
|
13542
|
+
fi: "Armenia",
|
|
13543
|
+
sv: "Armenien",
|
|
13544
|
+
telephoneCountryCode: "374",
|
|
13545
|
+
},
|
|
13546
|
+
AW: {
|
|
13547
|
+
isoCode: "AW",
|
|
13548
|
+
en: "Aruba",
|
|
13549
|
+
fi: "Aruba",
|
|
13550
|
+
sv: "Aruba",
|
|
13551
|
+
telephoneCountryCode: "297",
|
|
13552
|
+
},
|
|
13553
|
+
AU: {
|
|
13554
|
+
isoCode: "AU",
|
|
13555
|
+
en: "Australia",
|
|
13556
|
+
fi: "Australia",
|
|
13557
|
+
sv: "Australien",
|
|
13558
|
+
telephoneCountryCode: "61",
|
|
13559
|
+
},
|
|
13560
|
+
AT: {
|
|
13561
|
+
isoCode: "AT",
|
|
13562
|
+
en: "Austria",
|
|
13563
|
+
fi: "Itävalta",
|
|
13564
|
+
sv: "Österrike",
|
|
13565
|
+
telephoneCountryCode: "43",
|
|
13566
|
+
},
|
|
13567
|
+
AZ: {
|
|
13568
|
+
isoCode: "AZ",
|
|
13569
|
+
en: "Azerbaijan",
|
|
13570
|
+
fi: "Azerbaidžan",
|
|
13571
|
+
sv: "Azerbajdzjan",
|
|
13572
|
+
telephoneCountryCode: "994",
|
|
13573
|
+
},
|
|
13574
|
+
BS: {
|
|
13575
|
+
isoCode: "BS",
|
|
13576
|
+
en: "Bahamas",
|
|
13577
|
+
fi: "Bahama",
|
|
13578
|
+
sv: "Bahamas",
|
|
13579
|
+
telephoneCountryCode: "1",
|
|
13580
|
+
},
|
|
13581
|
+
BH: {
|
|
13582
|
+
isoCode: "BH",
|
|
13583
|
+
en: "Bahrain",
|
|
13584
|
+
fi: "Bahrain",
|
|
13585
|
+
sv: "Bahrain",
|
|
13586
|
+
telephoneCountryCode: "973",
|
|
13587
|
+
},
|
|
13588
|
+
BD: {
|
|
13589
|
+
isoCode: "BD",
|
|
13590
|
+
en: "Bangladesh",
|
|
13591
|
+
fi: "Bangladesh",
|
|
13592
|
+
sv: "Bangladesh",
|
|
13593
|
+
telephoneCountryCode: "880",
|
|
13594
|
+
},
|
|
13595
|
+
BB: {
|
|
13596
|
+
isoCode: "BB",
|
|
13597
|
+
en: "Barbados",
|
|
13598
|
+
fi: "Barbados",
|
|
13599
|
+
sv: "Barbados",
|
|
13600
|
+
telephoneCountryCode: "1",
|
|
13601
|
+
},
|
|
13602
|
+
BY: {
|
|
13603
|
+
isoCode: "BY",
|
|
13604
|
+
en: "Belarus",
|
|
13605
|
+
fi: "Valko-Venäjä",
|
|
13606
|
+
sv: "Belarus",
|
|
13607
|
+
telephoneCountryCode: "375",
|
|
13608
|
+
},
|
|
13609
|
+
BE: {
|
|
13610
|
+
isoCode: "BE",
|
|
13611
|
+
en: "Belgium",
|
|
13612
|
+
fi: "Belgia",
|
|
13613
|
+
sv: "Belgien",
|
|
13614
|
+
telephoneCountryCode: "32",
|
|
13615
|
+
},
|
|
13616
|
+
BZ: {
|
|
13617
|
+
isoCode: "BZ",
|
|
13618
|
+
en: "Belize",
|
|
13619
|
+
fi: "Belize",
|
|
13620
|
+
sv: "Belize",
|
|
13621
|
+
telephoneCountryCode: "501",
|
|
13622
|
+
},
|
|
13623
|
+
BJ: {
|
|
13624
|
+
isoCode: "BJ",
|
|
13625
|
+
en: "Benin",
|
|
13626
|
+
fi: "Benin",
|
|
13627
|
+
sv: "Benin",
|
|
13628
|
+
telephoneCountryCode: "229",
|
|
13629
|
+
},
|
|
13630
|
+
BM: {
|
|
13631
|
+
isoCode: "BM",
|
|
13632
|
+
en: "Bermuda",
|
|
13633
|
+
fi: "Bermuda",
|
|
13634
|
+
sv: "Bermuda",
|
|
13635
|
+
telephoneCountryCode: "1",
|
|
13636
|
+
},
|
|
13637
|
+
BT: {
|
|
13638
|
+
isoCode: "BT",
|
|
13639
|
+
en: "Bhutan",
|
|
13640
|
+
fi: "Bhutan",
|
|
13641
|
+
sv: "Bhutan",
|
|
13642
|
+
telephoneCountryCode: "975",
|
|
13643
|
+
},
|
|
13644
|
+
BO: {
|
|
13645
|
+
isoCode: "BO",
|
|
13646
|
+
en: "Bolivia",
|
|
13647
|
+
fi: "Bolivia",
|
|
13648
|
+
sv: "Bolivia",
|
|
13649
|
+
telephoneCountryCode: "591",
|
|
13650
|
+
},
|
|
13651
|
+
BA: {
|
|
13652
|
+
isoCode: "BA",
|
|
13653
|
+
en: "Bosnia and Herzegovina",
|
|
13654
|
+
fi: "Bosnia ja Hertsegovina",
|
|
13655
|
+
sv: "Bosnien och Hercegovina",
|
|
13656
|
+
telephoneCountryCode: "387",
|
|
13657
|
+
},
|
|
13658
|
+
BW: {
|
|
13659
|
+
isoCode: "BW",
|
|
13660
|
+
en: "Botswana",
|
|
13661
|
+
fi: "Botswana",
|
|
13662
|
+
sv: "Botswana",
|
|
13663
|
+
telephoneCountryCode: "267",
|
|
13664
|
+
},
|
|
13665
|
+
BV: {
|
|
13666
|
+
isoCode: "BV",
|
|
13667
|
+
en: "Bouvet Island",
|
|
13668
|
+
fi: "Bouvet’nsaari",
|
|
13669
|
+
sv: "Bouvetön",
|
|
13670
|
+
},
|
|
13671
|
+
BR: {
|
|
13672
|
+
isoCode: "BR",
|
|
13673
|
+
en: "Brazil",
|
|
13674
|
+
fi: "Brasilia",
|
|
13675
|
+
sv: "Brasilien",
|
|
13676
|
+
telephoneCountryCode: "55",
|
|
13677
|
+
},
|
|
13678
|
+
IO: {
|
|
13679
|
+
isoCode: "IO",
|
|
13680
|
+
en: "British Indian Ocean Territory",
|
|
13681
|
+
fi: "Brittiläinen Intian valtameren alue",
|
|
13682
|
+
sv: "Brittiska territoriet i Indiska Oceanen",
|
|
13683
|
+
telephoneCountryCode: "246",
|
|
13684
|
+
},
|
|
13685
|
+
BN: {
|
|
13686
|
+
isoCode: "BN",
|
|
13687
|
+
en: "Brunei Darussalam",
|
|
13688
|
+
fi: "Brunei",
|
|
13689
|
+
sv: "Brunei",
|
|
13690
|
+
telephoneCountryCode: "673",
|
|
13691
|
+
},
|
|
13692
|
+
BG: {
|
|
13693
|
+
isoCode: "BG",
|
|
13694
|
+
en: "Bulgaria",
|
|
13695
|
+
fi: "Bulgaria",
|
|
13696
|
+
sv: "Bulgarien",
|
|
13697
|
+
telephoneCountryCode: "359",
|
|
13698
|
+
},
|
|
13699
|
+
BF: {
|
|
13700
|
+
isoCode: "BF",
|
|
13701
|
+
en: "Burkina Faso",
|
|
13702
|
+
fi: "Burkina Faso",
|
|
13703
|
+
sv: "Burkina Faso",
|
|
13704
|
+
telephoneCountryCode: "226",
|
|
13705
|
+
},
|
|
13706
|
+
BI: {
|
|
13707
|
+
isoCode: "BI",
|
|
13708
|
+
en: "Burundi",
|
|
13709
|
+
fi: "Burundi",
|
|
13710
|
+
sv: "Burundi",
|
|
13711
|
+
telephoneCountryCode: "257",
|
|
13712
|
+
},
|
|
13713
|
+
KH: {
|
|
13714
|
+
isoCode: "KH",
|
|
13715
|
+
en: "Cambodia",
|
|
13716
|
+
fi: "Kambodža",
|
|
13717
|
+
sv: "Kambodja",
|
|
13718
|
+
telephoneCountryCode: "855",
|
|
13719
|
+
},
|
|
13720
|
+
CM: {
|
|
13721
|
+
isoCode: "CM",
|
|
13722
|
+
en: "Cameroon",
|
|
13723
|
+
fi: "Kamerun",
|
|
13724
|
+
sv: "Kamerun",
|
|
13725
|
+
telephoneCountryCode: "237",
|
|
13726
|
+
},
|
|
13727
|
+
CA: {
|
|
13728
|
+
isoCode: "CA",
|
|
13729
|
+
en: "Canada",
|
|
13730
|
+
fi: "Kanada",
|
|
13731
|
+
sv: "Kanada",
|
|
13732
|
+
telephoneCountryCode: "1",
|
|
13733
|
+
},
|
|
13734
|
+
CV: {
|
|
13735
|
+
isoCode: "CV",
|
|
13736
|
+
en: "Cape Verde",
|
|
13737
|
+
fi: "Kap Verde",
|
|
13738
|
+
sv: "Kap Verde",
|
|
13739
|
+
telephoneCountryCode: "238",
|
|
13740
|
+
},
|
|
13741
|
+
KY: {
|
|
13742
|
+
isoCode: "KY",
|
|
13743
|
+
en: "Cayman Islands",
|
|
13744
|
+
fi: "Caymansaaret",
|
|
13745
|
+
sv: "Caymanöarna",
|
|
13746
|
+
telephoneCountryCode: "1",
|
|
13747
|
+
},
|
|
13748
|
+
CF: {
|
|
13749
|
+
isoCode: "CF",
|
|
13750
|
+
en: "Central African Republic",
|
|
13751
|
+
fi: "Keski-Afrikan tasavalta",
|
|
13752
|
+
sv: "Centralafrikanska republiken",
|
|
13753
|
+
telephoneCountryCode: "236",
|
|
13754
|
+
},
|
|
13755
|
+
TD: {
|
|
13756
|
+
isoCode: "TD",
|
|
13757
|
+
en: "Chad",
|
|
13758
|
+
fi: "Tšad",
|
|
13759
|
+
sv: "Tchad",
|
|
13760
|
+
telephoneCountryCode: "235",
|
|
13761
|
+
},
|
|
13762
|
+
CL: {
|
|
13763
|
+
isoCode: "CL",
|
|
13764
|
+
en: "Chile",
|
|
13765
|
+
fi: "Chile",
|
|
13766
|
+
sv: "Chile",
|
|
13767
|
+
telephoneCountryCode: "56",
|
|
13768
|
+
},
|
|
13769
|
+
CN: {
|
|
13770
|
+
isoCode: "CN",
|
|
13771
|
+
en: "People's Republic of China",
|
|
13772
|
+
fi: "Kiina",
|
|
13773
|
+
sv: "Kina",
|
|
13774
|
+
telephoneCountryCode: "86",
|
|
13775
|
+
},
|
|
13776
|
+
CX: {
|
|
13777
|
+
isoCode: "CX",
|
|
13778
|
+
en: "Christmas Island",
|
|
13779
|
+
fi: "Joulusaari",
|
|
13780
|
+
sv: "Julön",
|
|
13781
|
+
telephoneCountryCode: "61",
|
|
13782
|
+
},
|
|
13783
|
+
CC: {
|
|
13784
|
+
isoCode: "CC",
|
|
13785
|
+
en: "Cocos (Keeling) Islands",
|
|
13786
|
+
fi: "Kookossaaret",
|
|
13787
|
+
sv: "Kokosöarna",
|
|
13788
|
+
telephoneCountryCode: "61",
|
|
13789
|
+
},
|
|
13790
|
+
CO: {
|
|
13791
|
+
isoCode: "CO",
|
|
13792
|
+
en: "Colombia",
|
|
13793
|
+
fi: "Kolumbia",
|
|
13794
|
+
sv: "Colombia",
|
|
13795
|
+
telephoneCountryCode: "57",
|
|
13796
|
+
},
|
|
13797
|
+
KM: {
|
|
13798
|
+
isoCode: "KM",
|
|
13799
|
+
en: "Comoros",
|
|
13800
|
+
fi: "Komorit",
|
|
13801
|
+
sv: "Komorerna",
|
|
13802
|
+
telephoneCountryCode: "269",
|
|
13803
|
+
},
|
|
13804
|
+
CG: {
|
|
13805
|
+
isoCode: "CG",
|
|
13806
|
+
en: "Republic of the Congo",
|
|
13807
|
+
fi: "Kongon tasavalta",
|
|
13808
|
+
sv: "Kongo-Brazzaville",
|
|
13809
|
+
telephoneCountryCode: "242",
|
|
13810
|
+
},
|
|
13811
|
+
CD: {
|
|
13812
|
+
isoCode: "CD",
|
|
13813
|
+
en: "Democratic Republic of the Congo",
|
|
13814
|
+
fi: "Kongon demokraattinen tasavalta",
|
|
13815
|
+
sv: "Demokratiska republiken Kongo",
|
|
13816
|
+
telephoneCountryCode: "243",
|
|
13817
|
+
},
|
|
13818
|
+
CK: {
|
|
13819
|
+
isoCode: "CK",
|
|
13820
|
+
en: "Cook Islands",
|
|
13821
|
+
fi: "Cookinsaaret",
|
|
13822
|
+
sv: "Cooköarna",
|
|
13823
|
+
telephoneCountryCode: "682",
|
|
13824
|
+
},
|
|
13825
|
+
CR: {
|
|
13826
|
+
isoCode: "CR",
|
|
13827
|
+
en: "Costa Rica",
|
|
13828
|
+
fi: "Costa Rica",
|
|
13829
|
+
sv: "Costa Rica",
|
|
13830
|
+
telephoneCountryCode: "506",
|
|
13831
|
+
},
|
|
13832
|
+
CI: {
|
|
13833
|
+
isoCode: "CI",
|
|
13834
|
+
en: "Cote D'Ivoire",
|
|
13835
|
+
fi: "Norsunluurannikko",
|
|
13836
|
+
sv: "Elfenbenskusten",
|
|
13837
|
+
telephoneCountryCode: "225",
|
|
13838
|
+
},
|
|
13839
|
+
HR: {
|
|
13840
|
+
isoCode: "HR",
|
|
13841
|
+
en: "Croatia",
|
|
13842
|
+
fi: "Kroatia",
|
|
13843
|
+
sv: "Kroatien",
|
|
13844
|
+
telephoneCountryCode: "385",
|
|
13845
|
+
},
|
|
13846
|
+
CU: {
|
|
13847
|
+
isoCode: "CU",
|
|
13848
|
+
en: "Cuba",
|
|
13849
|
+
fi: "Kuuba",
|
|
13850
|
+
sv: "Kuba",
|
|
13851
|
+
telephoneCountryCode: "53",
|
|
13852
|
+
},
|
|
13853
|
+
CY: {
|
|
13854
|
+
isoCode: "CY",
|
|
13855
|
+
en: "Cyprus",
|
|
13856
|
+
fi: "Kypros",
|
|
13857
|
+
sv: "Cypern",
|
|
13858
|
+
telephoneCountryCode: "357",
|
|
13859
|
+
},
|
|
13860
|
+
CZ: {
|
|
13861
|
+
isoCode: "CZ",
|
|
13862
|
+
en: "Czech Republic",
|
|
13863
|
+
fi: "Tšekki",
|
|
13864
|
+
sv: "Tjeckien",
|
|
13865
|
+
telephoneCountryCode: "420",
|
|
13866
|
+
},
|
|
13867
|
+
DK: {
|
|
13868
|
+
isoCode: "DK",
|
|
13869
|
+
en: "Denmark",
|
|
13870
|
+
fi: "Tanska",
|
|
13871
|
+
sv: "Danmark",
|
|
13872
|
+
telephoneCountryCode: "45",
|
|
13873
|
+
},
|
|
13874
|
+
DJ: {
|
|
13875
|
+
isoCode: "DJ",
|
|
13876
|
+
en: "Djibouti",
|
|
13877
|
+
fi: "Djibouti",
|
|
13878
|
+
sv: "Djibouti",
|
|
13879
|
+
telephoneCountryCode: "253",
|
|
13880
|
+
},
|
|
13881
|
+
DM: {
|
|
13882
|
+
isoCode: "DM",
|
|
13883
|
+
en: "Dominica",
|
|
13884
|
+
fi: "Dominica",
|
|
13885
|
+
sv: "Dominica",
|
|
13886
|
+
telephoneCountryCode: "1",
|
|
13887
|
+
},
|
|
13888
|
+
DO: {
|
|
13889
|
+
isoCode: "DO",
|
|
13890
|
+
en: "Dominican Republic",
|
|
13891
|
+
fi: "Dominikaaninen tasavalta",
|
|
13892
|
+
sv: "Dominikanska republiken",
|
|
13893
|
+
telephoneCountryCode: "1",
|
|
13894
|
+
},
|
|
13895
|
+
EC: {
|
|
13896
|
+
isoCode: "EC",
|
|
13897
|
+
en: "Ecuador",
|
|
13898
|
+
fi: "Ecuador",
|
|
13899
|
+
sv: "Ecuador",
|
|
13900
|
+
telephoneCountryCode: "593",
|
|
13901
|
+
},
|
|
13902
|
+
EG: {
|
|
13903
|
+
isoCode: "EG",
|
|
13904
|
+
en: "Egypt",
|
|
13905
|
+
fi: "Egypti",
|
|
13906
|
+
sv: "Egypten",
|
|
13907
|
+
telephoneCountryCode: "20",
|
|
13908
|
+
},
|
|
13909
|
+
SV: {
|
|
13910
|
+
isoCode: "SV",
|
|
13911
|
+
en: "El Salvador",
|
|
13912
|
+
fi: "El Salvador",
|
|
13913
|
+
sv: "El Salvador",
|
|
13914
|
+
telephoneCountryCode: "503",
|
|
13915
|
+
},
|
|
13916
|
+
GQ: {
|
|
13917
|
+
isoCode: "GQ",
|
|
13918
|
+
en: "Equatorial Guinea",
|
|
13919
|
+
fi: "Päiväntasaajan Guinea",
|
|
13920
|
+
sv: "Ekvatorialguinea",
|
|
13921
|
+
telephoneCountryCode: "240",
|
|
13922
|
+
},
|
|
13923
|
+
ER: {
|
|
13924
|
+
isoCode: "ER",
|
|
13925
|
+
en: "Eritrea",
|
|
13926
|
+
fi: "Eritrea",
|
|
13927
|
+
sv: "Eritrea",
|
|
13928
|
+
telephoneCountryCode: "291",
|
|
13929
|
+
},
|
|
13930
|
+
EE: {
|
|
13931
|
+
isoCode: "EE",
|
|
13932
|
+
en: "Estonia",
|
|
13933
|
+
fi: "Viro",
|
|
13934
|
+
sv: "Estland",
|
|
13935
|
+
telephoneCountryCode: "372",
|
|
13936
|
+
},
|
|
13937
|
+
ET: {
|
|
13938
|
+
isoCode: "ET",
|
|
13939
|
+
en: "Ethiopia",
|
|
13940
|
+
fi: "Etiopia",
|
|
13941
|
+
sv: "Etiopien",
|
|
13942
|
+
telephoneCountryCode: "251",
|
|
13943
|
+
},
|
|
13944
|
+
FK: {
|
|
13945
|
+
isoCode: "FK",
|
|
13946
|
+
en: "Falkland Islands (Malvinas)",
|
|
13947
|
+
fi: "Falklandinsaaret",
|
|
13948
|
+
sv: "Falklandsöarna",
|
|
13949
|
+
telephoneCountryCode: "500",
|
|
13950
|
+
},
|
|
13951
|
+
FO: {
|
|
13952
|
+
isoCode: "FO",
|
|
13953
|
+
en: "Faroe Islands",
|
|
13954
|
+
fi: "Färsaaret",
|
|
13955
|
+
sv: "Färöarna",
|
|
13956
|
+
telephoneCountryCode: "298",
|
|
13957
|
+
},
|
|
13958
|
+
FJ: {
|
|
13959
|
+
isoCode: "FJ",
|
|
13960
|
+
en: "Fiji",
|
|
13961
|
+
fi: "Fidži",
|
|
13962
|
+
sv: "Fiji",
|
|
13963
|
+
telephoneCountryCode: "679",
|
|
13964
|
+
},
|
|
13965
|
+
FI: {
|
|
13966
|
+
isoCode: "FI",
|
|
13967
|
+
en: "Finland",
|
|
13968
|
+
fi: "Suomi",
|
|
13969
|
+
sv: "Finland",
|
|
13970
|
+
telephoneCountryCode: "358",
|
|
13971
|
+
},
|
|
13972
|
+
FR: {
|
|
13973
|
+
isoCode: "FR",
|
|
13974
|
+
en: "France",
|
|
13975
|
+
fi: "Ranska",
|
|
13976
|
+
sv: "Frankrike",
|
|
13977
|
+
telephoneCountryCode: "33",
|
|
13978
|
+
},
|
|
13979
|
+
GF: {
|
|
13980
|
+
isoCode: "GF",
|
|
13981
|
+
en: "French Guiana",
|
|
13982
|
+
fi: "Ranskan Guayana",
|
|
13983
|
+
sv: "Franska Guyana",
|
|
13984
|
+
telephoneCountryCode: "594",
|
|
13985
|
+
},
|
|
13986
|
+
PF: {
|
|
13987
|
+
isoCode: "PF",
|
|
13988
|
+
en: "French Polynesia",
|
|
13989
|
+
fi: "Ranskan Polynesia",
|
|
13990
|
+
sv: "Franska Polynesien",
|
|
13991
|
+
telephoneCountryCode: "689",
|
|
13992
|
+
},
|
|
13993
|
+
TF: {
|
|
13994
|
+
isoCode: "TF",
|
|
13995
|
+
en: "French Southern Territories",
|
|
13996
|
+
fi: "Ranskan eteläiset alueet",
|
|
13997
|
+
sv: "Franska södra territorierna",
|
|
13998
|
+
},
|
|
13999
|
+
GA: {
|
|
14000
|
+
isoCode: "GA",
|
|
14001
|
+
en: "Gabon",
|
|
14002
|
+
fi: "Gabon",
|
|
14003
|
+
sv: "Gabon",
|
|
14004
|
+
telephoneCountryCode: "241",
|
|
14005
|
+
},
|
|
14006
|
+
GM: {
|
|
14007
|
+
isoCode: "GM",
|
|
14008
|
+
en: "Republic of The Gambia",
|
|
14009
|
+
fi: "Gambia",
|
|
14010
|
+
sv: "Gambia",
|
|
14011
|
+
telephoneCountryCode: "220",
|
|
14012
|
+
},
|
|
14013
|
+
GE: {
|
|
14014
|
+
isoCode: "GE",
|
|
14015
|
+
en: "Georgia",
|
|
14016
|
+
fi: "Georgia",
|
|
14017
|
+
sv: "Georgien",
|
|
14018
|
+
telephoneCountryCode: "995",
|
|
14019
|
+
},
|
|
14020
|
+
DE: {
|
|
14021
|
+
isoCode: "DE",
|
|
14022
|
+
en: "Germany",
|
|
14023
|
+
fi: "Saksa",
|
|
14024
|
+
sv: "Tyskland",
|
|
14025
|
+
telephoneCountryCode: "49",
|
|
14026
|
+
},
|
|
14027
|
+
GH: {
|
|
14028
|
+
isoCode: "GH",
|
|
14029
|
+
en: "Ghana",
|
|
14030
|
+
fi: "Ghana",
|
|
14031
|
+
sv: "Ghana",
|
|
14032
|
+
telephoneCountryCode: "233",
|
|
14033
|
+
},
|
|
14034
|
+
GI: {
|
|
14035
|
+
isoCode: "GI",
|
|
14036
|
+
en: "Gibraltar",
|
|
14037
|
+
fi: "Gibraltar",
|
|
14038
|
+
sv: "Gibraltar",
|
|
14039
|
+
telephoneCountryCode: "350",
|
|
14040
|
+
},
|
|
14041
|
+
GR: {
|
|
14042
|
+
isoCode: "GR",
|
|
14043
|
+
en: "Greece",
|
|
14044
|
+
fi: "Kreikka",
|
|
14045
|
+
sv: "Grekland",
|
|
14046
|
+
telephoneCountryCode: "30",
|
|
14047
|
+
},
|
|
14048
|
+
GL: {
|
|
14049
|
+
isoCode: "GL",
|
|
14050
|
+
en: "Greenland",
|
|
14051
|
+
fi: "Grönlanti",
|
|
14052
|
+
sv: "Grönland",
|
|
14053
|
+
telephoneCountryCode: "299",
|
|
14054
|
+
},
|
|
14055
|
+
GD: {
|
|
14056
|
+
isoCode: "GD",
|
|
14057
|
+
en: "Grenada",
|
|
14058
|
+
fi: "Grenada",
|
|
14059
|
+
sv: "Grenada",
|
|
14060
|
+
telephoneCountryCode: "1",
|
|
14061
|
+
},
|
|
14062
|
+
GP: {
|
|
14063
|
+
isoCode: "GP",
|
|
14064
|
+
en: "Guadeloupe",
|
|
14065
|
+
fi: "Guadeloupe",
|
|
14066
|
+
sv: "Guadeloupe",
|
|
14067
|
+
telephoneCountryCode: "590",
|
|
14068
|
+
},
|
|
14069
|
+
GU: {
|
|
14070
|
+
isoCode: "GU",
|
|
14071
|
+
en: "Guam",
|
|
14072
|
+
fi: "Guam",
|
|
14073
|
+
sv: "Guam",
|
|
14074
|
+
telephoneCountryCode: "1",
|
|
14075
|
+
},
|
|
14076
|
+
GT: {
|
|
14077
|
+
isoCode: "GT",
|
|
14078
|
+
en: "Guatemala",
|
|
14079
|
+
fi: "Guatemala",
|
|
14080
|
+
sv: "Guatemala",
|
|
14081
|
+
telephoneCountryCode: "502",
|
|
14082
|
+
},
|
|
14083
|
+
GN: {
|
|
14084
|
+
isoCode: "GN",
|
|
14085
|
+
en: "Guinea",
|
|
14086
|
+
fi: "Guinea",
|
|
14087
|
+
sv: "Guinea",
|
|
14088
|
+
telephoneCountryCode: "224",
|
|
14089
|
+
},
|
|
14090
|
+
GW: {
|
|
14091
|
+
isoCode: "GW",
|
|
14092
|
+
en: "Guinea-Bissau",
|
|
14093
|
+
fi: "Guinea-Bissau",
|
|
14094
|
+
sv: "Guinea Bissau",
|
|
14095
|
+
telephoneCountryCode: "245",
|
|
14096
|
+
},
|
|
14097
|
+
GY: {
|
|
14098
|
+
isoCode: "GY",
|
|
14099
|
+
en: "Guyana",
|
|
14100
|
+
fi: "Guyana",
|
|
14101
|
+
sv: "Guyana",
|
|
14102
|
+
telephoneCountryCode: "592",
|
|
14103
|
+
},
|
|
14104
|
+
HT: {
|
|
14105
|
+
isoCode: "HT",
|
|
14106
|
+
en: "Haiti",
|
|
14107
|
+
fi: "Haiti",
|
|
14108
|
+
sv: "Haiti",
|
|
14109
|
+
telephoneCountryCode: "509",
|
|
14110
|
+
},
|
|
14111
|
+
HM: {
|
|
14112
|
+
isoCode: "HM",
|
|
14113
|
+
en: "Heard Island and McDonald Islands",
|
|
14114
|
+
fi: "Heard ja McDonaldinsaaret",
|
|
14115
|
+
sv: "Heard- och McDonaldsöarna",
|
|
14116
|
+
},
|
|
14117
|
+
VA: {
|
|
14118
|
+
isoCode: "VA",
|
|
14119
|
+
en: "Holy See (Vatican City State)",
|
|
14120
|
+
fi: "Vatikaanivaltio",
|
|
14121
|
+
sv: "Vatikanstaten",
|
|
14122
|
+
telephoneCountryCode: "39",
|
|
14123
|
+
},
|
|
14124
|
+
HN: {
|
|
14125
|
+
isoCode: "HN",
|
|
14126
|
+
en: "Honduras",
|
|
14127
|
+
fi: "Honduras",
|
|
14128
|
+
sv: "Honduras",
|
|
14129
|
+
telephoneCountryCode: "504",
|
|
14130
|
+
},
|
|
14131
|
+
HK: {
|
|
14132
|
+
isoCode: "HK",
|
|
14133
|
+
en: "Hong Kong",
|
|
14134
|
+
fi: "Hongkong",
|
|
14135
|
+
sv: "Hongkong",
|
|
14136
|
+
telephoneCountryCode: "852",
|
|
14137
|
+
},
|
|
14138
|
+
HU: {
|
|
14139
|
+
isoCode: "HU",
|
|
14140
|
+
en: "Hungary",
|
|
14141
|
+
fi: "Unkari",
|
|
14142
|
+
sv: "Ungern",
|
|
14143
|
+
telephoneCountryCode: "36",
|
|
14144
|
+
},
|
|
14145
|
+
IS: {
|
|
14146
|
+
isoCode: "IS",
|
|
14147
|
+
en: "Iceland",
|
|
14148
|
+
fi: "Islanti",
|
|
14149
|
+
sv: "Island",
|
|
14150
|
+
telephoneCountryCode: "354",
|
|
14151
|
+
},
|
|
14152
|
+
IN: {
|
|
14153
|
+
isoCode: "IN",
|
|
14154
|
+
en: "India",
|
|
14155
|
+
fi: "Intia",
|
|
14156
|
+
sv: "Indien",
|
|
14157
|
+
telephoneCountryCode: "91",
|
|
14158
|
+
},
|
|
14159
|
+
ID: {
|
|
14160
|
+
isoCode: "ID",
|
|
14161
|
+
en: "Indonesia",
|
|
14162
|
+
fi: "Indonesia",
|
|
14163
|
+
sv: "Indonesien",
|
|
14164
|
+
telephoneCountryCode: "62",
|
|
14165
|
+
},
|
|
14166
|
+
IR: {
|
|
14167
|
+
isoCode: "IR",
|
|
14168
|
+
en: "Islamic Republic of Iran",
|
|
14169
|
+
fi: "Iran",
|
|
14170
|
+
sv: "Iran",
|
|
14171
|
+
telephoneCountryCode: "98",
|
|
14172
|
+
},
|
|
14173
|
+
IQ: {
|
|
14174
|
+
isoCode: "IQ",
|
|
14175
|
+
en: "Iraq",
|
|
14176
|
+
fi: "Irak",
|
|
14177
|
+
sv: "Irak",
|
|
14178
|
+
telephoneCountryCode: "964",
|
|
14179
|
+
},
|
|
14180
|
+
IE: {
|
|
14181
|
+
isoCode: "IE",
|
|
14182
|
+
en: "Ireland",
|
|
14183
|
+
fi: "Irlanti",
|
|
14184
|
+
sv: "Irland",
|
|
14185
|
+
telephoneCountryCode: "353",
|
|
14186
|
+
},
|
|
14187
|
+
IL: {
|
|
14188
|
+
isoCode: "IL",
|
|
14189
|
+
en: "Israel",
|
|
14190
|
+
fi: "Israel",
|
|
14191
|
+
sv: "Israel",
|
|
14192
|
+
telephoneCountryCode: "972",
|
|
14193
|
+
},
|
|
14194
|
+
IT: {
|
|
14195
|
+
isoCode: "IT",
|
|
14196
|
+
en: "Italy",
|
|
14197
|
+
fi: "Italia",
|
|
14198
|
+
sv: "Italien",
|
|
14199
|
+
telephoneCountryCode: "39",
|
|
14200
|
+
},
|
|
14201
|
+
JM: {
|
|
14202
|
+
isoCode: "JM",
|
|
14203
|
+
en: "Jamaica",
|
|
14204
|
+
fi: "Jamaika",
|
|
14205
|
+
sv: "Jamaica",
|
|
14206
|
+
telephoneCountryCode: "1",
|
|
14207
|
+
},
|
|
14208
|
+
JP: {
|
|
14209
|
+
isoCode: "JP",
|
|
14210
|
+
en: "Japan",
|
|
14211
|
+
fi: "Japani",
|
|
14212
|
+
sv: "Japan",
|
|
14213
|
+
telephoneCountryCode: "81",
|
|
14214
|
+
},
|
|
14215
|
+
JO: {
|
|
14216
|
+
isoCode: "JO",
|
|
14217
|
+
en: "Jordan",
|
|
14218
|
+
fi: "Jordania",
|
|
14219
|
+
sv: "Jordanien",
|
|
14220
|
+
telephoneCountryCode: "962",
|
|
14221
|
+
},
|
|
14222
|
+
KZ: {
|
|
14223
|
+
isoCode: "KZ",
|
|
14224
|
+
en: "Kazakhstan",
|
|
14225
|
+
fi: "Kazakstan",
|
|
14226
|
+
sv: "Kazakstan",
|
|
14227
|
+
telephoneCountryCode: "7",
|
|
14228
|
+
},
|
|
14229
|
+
KE: {
|
|
14230
|
+
isoCode: "KE",
|
|
14231
|
+
en: "Kenya",
|
|
14232
|
+
fi: "Kenia",
|
|
14233
|
+
sv: "Kenya",
|
|
14234
|
+
telephoneCountryCode: "254",
|
|
14235
|
+
},
|
|
14236
|
+
KI: {
|
|
14237
|
+
isoCode: "KI",
|
|
14238
|
+
en: "Kiribati",
|
|
14239
|
+
fi: "Kiribati",
|
|
14240
|
+
sv: "Kiribati",
|
|
14241
|
+
telephoneCountryCode: "686",
|
|
14242
|
+
},
|
|
14243
|
+
KP: {
|
|
14244
|
+
isoCode: "KP",
|
|
14245
|
+
en: "North Korea",
|
|
14246
|
+
fi: "Korean demokraattinen kansantasavalta",
|
|
14247
|
+
sv: "Nordkorea",
|
|
14248
|
+
telephoneCountryCode: "850",
|
|
14249
|
+
},
|
|
14250
|
+
KR: {
|
|
14251
|
+
isoCode: "KR",
|
|
14252
|
+
en: "South Korea",
|
|
14253
|
+
fi: "Korean tasavalta",
|
|
14254
|
+
sv: "Sydkorea",
|
|
14255
|
+
telephoneCountryCode: "82",
|
|
14256
|
+
},
|
|
14257
|
+
KW: {
|
|
14258
|
+
isoCode: "KW",
|
|
14259
|
+
en: "Kuwait",
|
|
14260
|
+
fi: "Kuwait",
|
|
14261
|
+
sv: "Kuwait",
|
|
14262
|
+
telephoneCountryCode: "965",
|
|
14263
|
+
},
|
|
14264
|
+
KG: {
|
|
14265
|
+
isoCode: "KG",
|
|
14266
|
+
en: "Kyrgyzstan",
|
|
14267
|
+
fi: "Kirgisia",
|
|
14268
|
+
sv: "Kirgizistan",
|
|
14269
|
+
telephoneCountryCode: "996",
|
|
14270
|
+
},
|
|
14271
|
+
LA: {
|
|
14272
|
+
isoCode: "LA",
|
|
14273
|
+
en: "Lao People's Democratic Republic",
|
|
14274
|
+
fi: "Laos",
|
|
14275
|
+
sv: "Laos",
|
|
14276
|
+
telephoneCountryCode: "856",
|
|
14277
|
+
},
|
|
14278
|
+
LV: {
|
|
14279
|
+
isoCode: "LV",
|
|
14280
|
+
en: "Latvia",
|
|
14281
|
+
fi: "Latvia",
|
|
14282
|
+
sv: "Lettland",
|
|
14283
|
+
telephoneCountryCode: "371",
|
|
14284
|
+
},
|
|
14285
|
+
LB: {
|
|
14286
|
+
isoCode: "LB",
|
|
14287
|
+
en: "Lebanon",
|
|
14288
|
+
fi: "Libanon",
|
|
14289
|
+
sv: "Libanon",
|
|
14290
|
+
telephoneCountryCode: "961",
|
|
14291
|
+
},
|
|
14292
|
+
LS: {
|
|
14293
|
+
isoCode: "LS",
|
|
14294
|
+
en: "Lesotho",
|
|
14295
|
+
fi: "Lesotho",
|
|
14296
|
+
sv: "Lesotho",
|
|
14297
|
+
telephoneCountryCode: "266",
|
|
14298
|
+
},
|
|
14299
|
+
LR: {
|
|
14300
|
+
isoCode: "LR",
|
|
14301
|
+
en: "Liberia",
|
|
14302
|
+
fi: "Liberia",
|
|
14303
|
+
sv: "Liberia",
|
|
14304
|
+
telephoneCountryCode: "231",
|
|
14305
|
+
},
|
|
14306
|
+
LY: {
|
|
14307
|
+
isoCode: "LY",
|
|
14308
|
+
en: "Libya",
|
|
14309
|
+
fi: "Libya",
|
|
14310
|
+
sv: "Libyen",
|
|
14311
|
+
telephoneCountryCode: "218",
|
|
14312
|
+
},
|
|
14313
|
+
LI: {
|
|
14314
|
+
isoCode: "LI",
|
|
14315
|
+
en: "Liechtenstein",
|
|
14316
|
+
fi: "Liechtenstein",
|
|
14317
|
+
sv: "Liechtenstein",
|
|
14318
|
+
telephoneCountryCode: "423",
|
|
14319
|
+
},
|
|
14320
|
+
LT: {
|
|
14321
|
+
isoCode: "LT",
|
|
14322
|
+
en: "Lithuania",
|
|
14323
|
+
fi: "Liettua",
|
|
14324
|
+
sv: "Litauen",
|
|
14325
|
+
telephoneCountryCode: "370",
|
|
14326
|
+
},
|
|
14327
|
+
LU: {
|
|
14328
|
+
isoCode: "LU",
|
|
14329
|
+
en: "Luxembourg",
|
|
14330
|
+
fi: "Luxemburg",
|
|
14331
|
+
sv: "Luxemburg",
|
|
14332
|
+
telephoneCountryCode: "352",
|
|
14333
|
+
},
|
|
14334
|
+
MO: {
|
|
14335
|
+
isoCode: "MO",
|
|
14336
|
+
en: "Macao",
|
|
14337
|
+
fi: "Macao",
|
|
14338
|
+
sv: "Macau",
|
|
14339
|
+
telephoneCountryCode: "853",
|
|
14340
|
+
},
|
|
14341
|
+
MG: {
|
|
14342
|
+
isoCode: "MG",
|
|
14343
|
+
en: "Madagascar",
|
|
14344
|
+
fi: "Madagaskar",
|
|
14345
|
+
sv: "Madagaskar",
|
|
14346
|
+
telephoneCountryCode: "261",
|
|
14347
|
+
},
|
|
14348
|
+
MW: {
|
|
14349
|
+
isoCode: "MW",
|
|
14350
|
+
en: "Malawi",
|
|
14351
|
+
fi: "Malawi",
|
|
14352
|
+
sv: "Malawi",
|
|
14353
|
+
telephoneCountryCode: "265",
|
|
14354
|
+
},
|
|
14355
|
+
MY: {
|
|
14356
|
+
isoCode: "MY",
|
|
14357
|
+
en: "Malaysia",
|
|
14358
|
+
fi: "Malesia",
|
|
14359
|
+
sv: "Malaysia",
|
|
14360
|
+
telephoneCountryCode: "60",
|
|
14361
|
+
},
|
|
14362
|
+
MV: {
|
|
14363
|
+
isoCode: "MV",
|
|
14364
|
+
en: "Maldives",
|
|
14365
|
+
fi: "Malediivit",
|
|
14366
|
+
sv: "Maldiverna",
|
|
14367
|
+
telephoneCountryCode: "960",
|
|
14368
|
+
},
|
|
14369
|
+
ML: {
|
|
14370
|
+
isoCode: "ML",
|
|
14371
|
+
en: "Mali",
|
|
14372
|
+
fi: "Mali",
|
|
14373
|
+
sv: "Mali",
|
|
14374
|
+
telephoneCountryCode: "223",
|
|
14375
|
+
},
|
|
14376
|
+
MT: {
|
|
14377
|
+
isoCode: "MT",
|
|
14378
|
+
en: "Malta",
|
|
14379
|
+
fi: "Malta",
|
|
14380
|
+
sv: "Malta",
|
|
14381
|
+
telephoneCountryCode: "356",
|
|
14382
|
+
},
|
|
14383
|
+
MH: {
|
|
14384
|
+
isoCode: "MH",
|
|
14385
|
+
en: "Marshall Islands",
|
|
14386
|
+
fi: "Marshallinsaaret",
|
|
14387
|
+
sv: "Marshallöarna",
|
|
14388
|
+
telephoneCountryCode: "692",
|
|
14389
|
+
},
|
|
14390
|
+
MQ: {
|
|
14391
|
+
isoCode: "MQ",
|
|
14392
|
+
en: "Martinique",
|
|
14393
|
+
fi: "Martinique",
|
|
14394
|
+
sv: "Martinique",
|
|
14395
|
+
telephoneCountryCode: "596",
|
|
14396
|
+
},
|
|
14397
|
+
MR: {
|
|
14398
|
+
isoCode: "MR",
|
|
14399
|
+
en: "Mauritania",
|
|
14400
|
+
fi: "Mauritania",
|
|
14401
|
+
sv: "Mauretanien",
|
|
14402
|
+
telephoneCountryCode: "222",
|
|
14403
|
+
},
|
|
14404
|
+
MU: {
|
|
14405
|
+
isoCode: "MU",
|
|
14406
|
+
en: "Mauritius",
|
|
14407
|
+
fi: "Mauritius",
|
|
14408
|
+
sv: "Mauritius",
|
|
14409
|
+
telephoneCountryCode: "230",
|
|
14410
|
+
},
|
|
14411
|
+
YT: {
|
|
14412
|
+
isoCode: "YT",
|
|
14413
|
+
en: "Mayotte",
|
|
14414
|
+
fi: "Mayotte",
|
|
14415
|
+
sv: "Mayotte",
|
|
14416
|
+
telephoneCountryCode: "262",
|
|
14417
|
+
},
|
|
14418
|
+
MX: {
|
|
14419
|
+
isoCode: "MX",
|
|
14420
|
+
en: "Mexico",
|
|
14421
|
+
fi: "Meksiko",
|
|
14422
|
+
sv: "Mexiko",
|
|
14423
|
+
telephoneCountryCode: "52",
|
|
14424
|
+
},
|
|
14425
|
+
FM: {
|
|
14426
|
+
isoCode: "FM",
|
|
14427
|
+
en: "Micronesia, Federated States of",
|
|
14428
|
+
fi: "Mikronesian liittovaltio",
|
|
14429
|
+
sv: "Mikronesiska federationen",
|
|
14430
|
+
telephoneCountryCode: "691",
|
|
14431
|
+
},
|
|
14432
|
+
MD: {
|
|
14433
|
+
isoCode: "MD",
|
|
14434
|
+
en: "Moldova, Republic of",
|
|
14435
|
+
fi: "Moldova",
|
|
14436
|
+
sv: "Moldavien",
|
|
14437
|
+
telephoneCountryCode: "373",
|
|
14438
|
+
},
|
|
14439
|
+
MC: {
|
|
14440
|
+
isoCode: "MC",
|
|
14441
|
+
en: "Monaco",
|
|
14442
|
+
fi: "Monaco",
|
|
14443
|
+
sv: "Monaco",
|
|
14444
|
+
telephoneCountryCode: "377",
|
|
14445
|
+
},
|
|
14446
|
+
MN: {
|
|
14447
|
+
isoCode: "MN",
|
|
14448
|
+
en: "Mongolia",
|
|
14449
|
+
fi: "Mongolia",
|
|
14450
|
+
sv: "Mongoliet",
|
|
14451
|
+
telephoneCountryCode: "976",
|
|
14452
|
+
},
|
|
14453
|
+
MS: {
|
|
14454
|
+
isoCode: "MS",
|
|
14455
|
+
en: "Montserrat",
|
|
14456
|
+
fi: "Montserrat",
|
|
14457
|
+
sv: "Montserrat",
|
|
14458
|
+
telephoneCountryCode: "1",
|
|
14459
|
+
},
|
|
14460
|
+
MA: {
|
|
14461
|
+
isoCode: "MA",
|
|
14462
|
+
en: "Morocco",
|
|
14463
|
+
fi: "Marokko",
|
|
14464
|
+
sv: "Marocko",
|
|
14465
|
+
telephoneCountryCode: "212",
|
|
14466
|
+
},
|
|
14467
|
+
MZ: {
|
|
14468
|
+
isoCode: "MZ",
|
|
14469
|
+
en: "Mozambique",
|
|
14470
|
+
fi: "Mosambik",
|
|
14471
|
+
sv: "Moçambique",
|
|
14472
|
+
telephoneCountryCode: "258",
|
|
14473
|
+
},
|
|
14474
|
+
MM: {
|
|
14475
|
+
isoCode: "MM",
|
|
14476
|
+
en: "Myanmar",
|
|
14477
|
+
fi: "Myanmar",
|
|
14478
|
+
sv: "Burma",
|
|
14479
|
+
telephoneCountryCode: "95",
|
|
14480
|
+
},
|
|
14481
|
+
NA: {
|
|
14482
|
+
isoCode: "NA",
|
|
14483
|
+
en: "Namibia",
|
|
14484
|
+
fi: "Namibia",
|
|
14485
|
+
sv: "Namibia",
|
|
14486
|
+
telephoneCountryCode: "264",
|
|
14487
|
+
},
|
|
14488
|
+
NR: {
|
|
14489
|
+
isoCode: "NR",
|
|
14490
|
+
en: "Nauru",
|
|
14491
|
+
fi: "Nauru",
|
|
14492
|
+
sv: "Nauru",
|
|
14493
|
+
telephoneCountryCode: "674",
|
|
14494
|
+
},
|
|
14495
|
+
NP: {
|
|
14496
|
+
isoCode: "NP",
|
|
14497
|
+
en: "Nepal",
|
|
14498
|
+
fi: "Nepal",
|
|
14499
|
+
sv: "Nepal",
|
|
14500
|
+
telephoneCountryCode: "977",
|
|
14501
|
+
},
|
|
14502
|
+
NL: {
|
|
14503
|
+
isoCode: "NL",
|
|
14504
|
+
en: "Netherlands",
|
|
14505
|
+
fi: "Alankomaat",
|
|
14506
|
+
sv: "Nederländerna",
|
|
14507
|
+
telephoneCountryCode: "31",
|
|
14508
|
+
},
|
|
14509
|
+
NC: {
|
|
14510
|
+
isoCode: "NC",
|
|
14511
|
+
en: "New Caledonia",
|
|
14512
|
+
fi: "Uusi-Kaledonia",
|
|
14513
|
+
sv: "Nya Kaledonien",
|
|
14514
|
+
telephoneCountryCode: "687",
|
|
14515
|
+
},
|
|
14516
|
+
NZ: {
|
|
14517
|
+
isoCode: "NZ",
|
|
14518
|
+
en: "New Zealand",
|
|
14519
|
+
fi: "Uusi-Seelanti",
|
|
14520
|
+
sv: "Nya Zeeland",
|
|
14521
|
+
telephoneCountryCode: "64",
|
|
14522
|
+
},
|
|
14523
|
+
NI: {
|
|
14524
|
+
isoCode: "NI",
|
|
14525
|
+
en: "Nicaragua",
|
|
14526
|
+
fi: "Nicaragua",
|
|
14527
|
+
sv: "Nicaragua",
|
|
14528
|
+
telephoneCountryCode: "505",
|
|
14529
|
+
},
|
|
14530
|
+
NE: {
|
|
14531
|
+
isoCode: "NE",
|
|
14532
|
+
en: "Niger",
|
|
14533
|
+
fi: "Niger",
|
|
14534
|
+
sv: "Niger",
|
|
14535
|
+
telephoneCountryCode: "227",
|
|
14536
|
+
},
|
|
14537
|
+
NG: {
|
|
14538
|
+
isoCode: "NG",
|
|
14539
|
+
en: "Nigeria",
|
|
14540
|
+
fi: "Nigeria",
|
|
14541
|
+
sv: "Nigeria",
|
|
14542
|
+
telephoneCountryCode: "234",
|
|
14543
|
+
},
|
|
14544
|
+
NU: {
|
|
14545
|
+
isoCode: "NU",
|
|
14546
|
+
en: "Niue",
|
|
14547
|
+
fi: "Niue",
|
|
14548
|
+
sv: "Niue",
|
|
14549
|
+
telephoneCountryCode: "683",
|
|
14550
|
+
},
|
|
14551
|
+
NF: {
|
|
14552
|
+
isoCode: "NF",
|
|
14553
|
+
en: "Norfolk Island",
|
|
14554
|
+
fi: "Norfolkinsaari",
|
|
14555
|
+
sv: "Norfolkön",
|
|
14556
|
+
telephoneCountryCode: "672",
|
|
14557
|
+
},
|
|
14558
|
+
MK: {
|
|
14559
|
+
isoCode: "MK",
|
|
14560
|
+
en: "The Republic of North Macedonia",
|
|
14561
|
+
fi: "Pohjois-Makedonia",
|
|
14562
|
+
sv: "Nordmakedonien",
|
|
14563
|
+
telephoneCountryCode: "389",
|
|
14564
|
+
},
|
|
14565
|
+
MP: {
|
|
14566
|
+
isoCode: "MP",
|
|
14567
|
+
en: "Northern Mariana Islands",
|
|
14568
|
+
fi: "Pohjois-Mariaanit",
|
|
14569
|
+
sv: "Nordmarianerna",
|
|
14570
|
+
telephoneCountryCode: "1",
|
|
14571
|
+
},
|
|
14572
|
+
NO: {
|
|
14573
|
+
isoCode: "NO",
|
|
14574
|
+
en: "Norway",
|
|
14575
|
+
fi: "Norja",
|
|
14576
|
+
sv: "Norge",
|
|
14577
|
+
telephoneCountryCode: "47",
|
|
14578
|
+
},
|
|
14579
|
+
OM: {
|
|
14580
|
+
isoCode: "OM",
|
|
14581
|
+
en: "Oman",
|
|
14582
|
+
fi: "Oman",
|
|
14583
|
+
sv: "Oman",
|
|
14584
|
+
telephoneCountryCode: "968",
|
|
14585
|
+
},
|
|
14586
|
+
PK: {
|
|
14587
|
+
isoCode: "PK",
|
|
14588
|
+
en: "Pakistan",
|
|
14589
|
+
fi: "Pakistan",
|
|
14590
|
+
sv: "Pakistan",
|
|
14591
|
+
telephoneCountryCode: "92",
|
|
14592
|
+
},
|
|
14593
|
+
PW: {
|
|
14594
|
+
isoCode: "PW",
|
|
14595
|
+
en: "Palau",
|
|
14596
|
+
fi: "Palau",
|
|
14597
|
+
sv: "Palau",
|
|
14598
|
+
telephoneCountryCode: "680",
|
|
14599
|
+
},
|
|
14600
|
+
PS: {
|
|
14601
|
+
isoCode: "PS",
|
|
14602
|
+
en: "State of Palestine",
|
|
14603
|
+
fi: "Palestiina",
|
|
14604
|
+
sv: "Palestinska territoriet, ockuperade",
|
|
14605
|
+
telephoneCountryCode: "970",
|
|
14606
|
+
},
|
|
14607
|
+
PA: {
|
|
14608
|
+
isoCode: "PA",
|
|
14609
|
+
en: "Panama",
|
|
14610
|
+
fi: "Panama",
|
|
14611
|
+
sv: "Panama",
|
|
14612
|
+
telephoneCountryCode: "507",
|
|
14613
|
+
},
|
|
14614
|
+
PG: {
|
|
14615
|
+
isoCode: "PG",
|
|
14616
|
+
en: "Papua New Guinea",
|
|
14617
|
+
fi: "Papua-Uusi-Guinea",
|
|
14618
|
+
sv: "Papua Nya Guinea",
|
|
14619
|
+
telephoneCountryCode: "675",
|
|
14620
|
+
},
|
|
14621
|
+
PY: {
|
|
14622
|
+
isoCode: "PY",
|
|
14623
|
+
en: "Paraguay",
|
|
14624
|
+
fi: "Paraguay",
|
|
14625
|
+
sv: "Paraguay",
|
|
14626
|
+
telephoneCountryCode: "595",
|
|
14627
|
+
},
|
|
14628
|
+
PE: {
|
|
14629
|
+
isoCode: "PE",
|
|
14630
|
+
en: "Peru",
|
|
14631
|
+
fi: "Peru",
|
|
14632
|
+
sv: "Peru",
|
|
14633
|
+
telephoneCountryCode: "51",
|
|
14634
|
+
},
|
|
14635
|
+
PH: {
|
|
14636
|
+
isoCode: "PH",
|
|
14637
|
+
en: "Philippines",
|
|
14638
|
+
fi: "Filippiinit",
|
|
14639
|
+
sv: "Filippinerna",
|
|
14640
|
+
telephoneCountryCode: "63",
|
|
14641
|
+
},
|
|
14642
|
+
PN: {
|
|
14643
|
+
isoCode: "PN",
|
|
14644
|
+
en: "Pitcairn",
|
|
14645
|
+
fi: "Pitcairn",
|
|
14646
|
+
sv: "Pitcairnöarna",
|
|
14647
|
+
},
|
|
14648
|
+
PL: {
|
|
14649
|
+
isoCode: "PL",
|
|
14650
|
+
en: "Poland",
|
|
14651
|
+
fi: "Puola",
|
|
14652
|
+
sv: "Polen",
|
|
14653
|
+
telephoneCountryCode: "48",
|
|
14654
|
+
},
|
|
14655
|
+
PT: {
|
|
14656
|
+
isoCode: "PT",
|
|
14657
|
+
en: "Portugal",
|
|
14658
|
+
fi: "Portugali",
|
|
14659
|
+
sv: "Portugal",
|
|
14660
|
+
telephoneCountryCode: "351",
|
|
14661
|
+
},
|
|
14662
|
+
PR: {
|
|
14663
|
+
isoCode: "PR",
|
|
14664
|
+
en: "Puerto Rico",
|
|
14665
|
+
fi: "Puerto Rico",
|
|
14666
|
+
sv: "Puerto Rico",
|
|
14667
|
+
telephoneCountryCode: "1",
|
|
14668
|
+
},
|
|
14669
|
+
QA: {
|
|
14670
|
+
isoCode: "QA",
|
|
14671
|
+
en: "Qatar",
|
|
14672
|
+
fi: "Qatar",
|
|
14673
|
+
sv: "Qatar",
|
|
14674
|
+
telephoneCountryCode: "974",
|
|
14675
|
+
},
|
|
14676
|
+
RE: {
|
|
14677
|
+
isoCode: "RE",
|
|
14678
|
+
en: "Reunion",
|
|
14679
|
+
fi: "Réunion",
|
|
14680
|
+
sv: "Réunion",
|
|
14681
|
+
telephoneCountryCode: "262",
|
|
14682
|
+
},
|
|
14683
|
+
RO: {
|
|
14684
|
+
isoCode: "RO",
|
|
14685
|
+
en: "Romania",
|
|
14686
|
+
fi: "Romania",
|
|
14687
|
+
sv: "Rumänien",
|
|
14688
|
+
telephoneCountryCode: "40",
|
|
14689
|
+
},
|
|
14690
|
+
RU: {
|
|
14691
|
+
isoCode: "RU",
|
|
14692
|
+
en: "Russian Federation",
|
|
14693
|
+
fi: "Venäjä",
|
|
14694
|
+
sv: "Ryssland",
|
|
14695
|
+
telephoneCountryCode: "7",
|
|
14696
|
+
},
|
|
14697
|
+
RW: {
|
|
14698
|
+
isoCode: "RW",
|
|
14699
|
+
en: "Rwanda",
|
|
14700
|
+
fi: "Ruanda",
|
|
14701
|
+
sv: "Rwanda",
|
|
14702
|
+
telephoneCountryCode: "250",
|
|
14703
|
+
},
|
|
14704
|
+
SH: {
|
|
14705
|
+
isoCode: "SH",
|
|
14706
|
+
en: "Saint Helena",
|
|
14707
|
+
fi: "Saint Helena",
|
|
14708
|
+
sv: "Sankta Helena",
|
|
14709
|
+
telephoneCountryCode: "290",
|
|
14710
|
+
},
|
|
14711
|
+
KN: {
|
|
14712
|
+
isoCode: "KN",
|
|
14713
|
+
en: "Saint Kitts and Nevis",
|
|
14714
|
+
fi: "Saint Kitts ja Nevis",
|
|
14715
|
+
sv: "Saint Kitts och Nevis",
|
|
14716
|
+
telephoneCountryCode: "1",
|
|
14717
|
+
},
|
|
14718
|
+
LC: {
|
|
14719
|
+
isoCode: "LC",
|
|
14720
|
+
en: "Saint Lucia",
|
|
14721
|
+
fi: "Saint Lucia",
|
|
14722
|
+
sv: "Saint Lucia",
|
|
14723
|
+
telephoneCountryCode: "1",
|
|
14724
|
+
},
|
|
14725
|
+
PM: {
|
|
14726
|
+
isoCode: "PM",
|
|
14727
|
+
en: "Saint Pierre and Miquelon",
|
|
14728
|
+
fi: "Saint-Pierre ja Miquelon",
|
|
14729
|
+
sv: "Saint-Pierre och Miquelon",
|
|
14730
|
+
telephoneCountryCode: "508",
|
|
14731
|
+
},
|
|
14732
|
+
VC: {
|
|
14733
|
+
isoCode: "VC",
|
|
14734
|
+
en: "Saint Vincent and the Grenadines",
|
|
14735
|
+
fi: "Saint Vincent ja Grenadiinit",
|
|
14736
|
+
sv: "Saint Vincent och Grenadinerna",
|
|
14737
|
+
telephoneCountryCode: "1",
|
|
14738
|
+
},
|
|
14739
|
+
WS: {
|
|
14740
|
+
isoCode: "WS",
|
|
14741
|
+
en: "Samoa",
|
|
14742
|
+
fi: "Samoa",
|
|
14743
|
+
sv: "Samoa",
|
|
14744
|
+
telephoneCountryCode: "685",
|
|
14745
|
+
},
|
|
14746
|
+
SM: {
|
|
14747
|
+
isoCode: "SM",
|
|
14748
|
+
en: "San Marino",
|
|
14749
|
+
fi: "San Marino",
|
|
14750
|
+
sv: "San Marino",
|
|
14751
|
+
telephoneCountryCode: "378",
|
|
14752
|
+
},
|
|
14753
|
+
ST: {
|
|
14754
|
+
isoCode: "ST",
|
|
14755
|
+
en: "Sao Tome and Principe",
|
|
14756
|
+
fi: "São Tomé ja Príncipe",
|
|
14757
|
+
sv: "São Tomé och Príncipe",
|
|
14758
|
+
telephoneCountryCode: "239",
|
|
14759
|
+
},
|
|
14760
|
+
SA: {
|
|
14761
|
+
isoCode: "SA",
|
|
14762
|
+
en: "Saudi Arabia",
|
|
14763
|
+
fi: "Saudi-Arabia",
|
|
14764
|
+
sv: "Saudiarabien",
|
|
14765
|
+
telephoneCountryCode: "966",
|
|
14766
|
+
},
|
|
14767
|
+
SN: {
|
|
14768
|
+
isoCode: "SN",
|
|
14769
|
+
en: "Senegal",
|
|
14770
|
+
fi: "Senegal",
|
|
14771
|
+
sv: "Senegal",
|
|
14772
|
+
telephoneCountryCode: "221",
|
|
14773
|
+
},
|
|
14774
|
+
SC: {
|
|
14775
|
+
isoCode: "SC",
|
|
14776
|
+
en: "Seychelles",
|
|
14777
|
+
fi: "Seychellit",
|
|
14778
|
+
sv: "Seychellerna",
|
|
14779
|
+
telephoneCountryCode: "248",
|
|
14780
|
+
},
|
|
14781
|
+
SL: {
|
|
14782
|
+
isoCode: "SL",
|
|
14783
|
+
en: "Sierra Leone",
|
|
14784
|
+
fi: "Sierra Leone",
|
|
14785
|
+
sv: "Sierra Leone",
|
|
14786
|
+
telephoneCountryCode: "232",
|
|
14787
|
+
},
|
|
14788
|
+
SG: {
|
|
14789
|
+
isoCode: "SG",
|
|
14790
|
+
en: "Singapore",
|
|
14791
|
+
fi: "Singapore",
|
|
14792
|
+
sv: "Singapore",
|
|
14793
|
+
telephoneCountryCode: "65",
|
|
14794
|
+
},
|
|
14795
|
+
SK: {
|
|
14796
|
+
isoCode: "SK",
|
|
14797
|
+
en: "Slovakia",
|
|
14798
|
+
fi: "Slovakia",
|
|
14799
|
+
sv: "Slovakien",
|
|
14800
|
+
telephoneCountryCode: "421",
|
|
14801
|
+
},
|
|
14802
|
+
SI: {
|
|
14803
|
+
isoCode: "SI",
|
|
14804
|
+
en: "Slovenia",
|
|
14805
|
+
fi: "Slovenia",
|
|
14806
|
+
sv: "Slovenien",
|
|
14807
|
+
telephoneCountryCode: "386",
|
|
14808
|
+
},
|
|
14809
|
+
SB: {
|
|
14810
|
+
isoCode: "SB",
|
|
14811
|
+
en: "Solomon Islands",
|
|
14812
|
+
fi: "Salomonsaaret",
|
|
14813
|
+
sv: "Salomonöarna",
|
|
14814
|
+
telephoneCountryCode: "677",
|
|
14815
|
+
},
|
|
14816
|
+
SO: {
|
|
14817
|
+
isoCode: "SO",
|
|
14818
|
+
en: "Somalia",
|
|
14819
|
+
fi: "Somalia",
|
|
14820
|
+
sv: "Somalia",
|
|
14821
|
+
telephoneCountryCode: "252",
|
|
14822
|
+
},
|
|
14823
|
+
ZA: {
|
|
14824
|
+
isoCode: "ZA",
|
|
14825
|
+
en: "South Africa",
|
|
14826
|
+
fi: "Etelä-Afrikka",
|
|
14827
|
+
sv: "Sydafrika",
|
|
14828
|
+
telephoneCountryCode: "27",
|
|
14829
|
+
},
|
|
14830
|
+
GS: {
|
|
14831
|
+
isoCode: "GS",
|
|
14832
|
+
en: "South Georgia and the South Sandwich Islands",
|
|
14833
|
+
fi: "Etelä-Georgia ja Eteläiset Sandwichsaaret",
|
|
14834
|
+
sv: "Sydgeorgien och Sydsandwichöarna",
|
|
14835
|
+
},
|
|
14836
|
+
ES: {
|
|
14837
|
+
isoCode: "ES",
|
|
14838
|
+
en: "Spain",
|
|
14839
|
+
fi: "Espanja",
|
|
14840
|
+
sv: "Spanien",
|
|
14841
|
+
telephoneCountryCode: "34",
|
|
14842
|
+
},
|
|
14843
|
+
LK: {
|
|
14844
|
+
isoCode: "LK",
|
|
14845
|
+
en: "Sri Lanka",
|
|
14846
|
+
fi: "Sri Lanka",
|
|
14847
|
+
sv: "Sri Lanka",
|
|
14848
|
+
telephoneCountryCode: "94",
|
|
14849
|
+
},
|
|
14850
|
+
SD: {
|
|
14851
|
+
isoCode: "SD",
|
|
14852
|
+
en: "Sudan",
|
|
14853
|
+
fi: "Sudan",
|
|
14854
|
+
sv: "Sudan",
|
|
14855
|
+
telephoneCountryCode: "249",
|
|
14856
|
+
},
|
|
14857
|
+
SR: {
|
|
14858
|
+
isoCode: "SR",
|
|
14859
|
+
en: "Suriname",
|
|
14860
|
+
fi: "Suriname",
|
|
14861
|
+
sv: "Surinam",
|
|
14862
|
+
telephoneCountryCode: "597",
|
|
14863
|
+
},
|
|
14864
|
+
SJ: {
|
|
14865
|
+
isoCode: "SJ",
|
|
14866
|
+
en: "Svalbard and Jan Mayen",
|
|
14867
|
+
fi: "Svalbard ja Jan Mayen",
|
|
14868
|
+
sv: "Svalbard och Jan Mayen",
|
|
14869
|
+
telephoneCountryCode: "47",
|
|
14870
|
+
},
|
|
14871
|
+
SZ: {
|
|
14872
|
+
isoCode: "SZ",
|
|
14873
|
+
en: "Eswatini",
|
|
14874
|
+
fi: "Swazimaa",
|
|
14875
|
+
sv: "Eswatini",
|
|
14876
|
+
telephoneCountryCode: "268",
|
|
14877
|
+
},
|
|
14878
|
+
SE: {
|
|
14879
|
+
isoCode: "SE",
|
|
14880
|
+
en: "Sweden",
|
|
14881
|
+
fi: "Ruotsi",
|
|
14882
|
+
sv: "Sverige",
|
|
14883
|
+
telephoneCountryCode: "46",
|
|
14884
|
+
},
|
|
14885
|
+
CH: {
|
|
14886
|
+
isoCode: "CH",
|
|
14887
|
+
en: "Switzerland",
|
|
14888
|
+
fi: "Sveitsi",
|
|
14889
|
+
sv: "Schweiz",
|
|
14890
|
+
telephoneCountryCode: "41",
|
|
14891
|
+
},
|
|
14892
|
+
SY: {
|
|
14893
|
+
isoCode: "SY",
|
|
14894
|
+
en: "Syrian Arab Republic",
|
|
14895
|
+
fi: "Syyria",
|
|
14896
|
+
sv: "Syrien",
|
|
14897
|
+
telephoneCountryCode: "963",
|
|
14898
|
+
},
|
|
14899
|
+
TW: {
|
|
14900
|
+
isoCode: "TW",
|
|
14901
|
+
en: "Taiwan, Province of China",
|
|
14902
|
+
fi: "Taiwan",
|
|
14903
|
+
sv: "Taiwan",
|
|
14904
|
+
telephoneCountryCode: "886",
|
|
14905
|
+
},
|
|
14906
|
+
TJ: {
|
|
14907
|
+
isoCode: "TJ",
|
|
14908
|
+
en: "Tajikistan",
|
|
14909
|
+
fi: "Tadžikistan",
|
|
14910
|
+
sv: "Tadzjikistan",
|
|
14911
|
+
telephoneCountryCode: "992",
|
|
14912
|
+
},
|
|
14913
|
+
TZ: {
|
|
14914
|
+
isoCode: "TZ",
|
|
14915
|
+
en: "United Republic of Tanzania",
|
|
14916
|
+
fi: "Tansania",
|
|
14917
|
+
sv: "Tanzania",
|
|
14918
|
+
telephoneCountryCode: "255",
|
|
14919
|
+
},
|
|
14920
|
+
TH: {
|
|
14921
|
+
isoCode: "TH",
|
|
14922
|
+
en: "Thailand",
|
|
14923
|
+
fi: "Thaimaa",
|
|
14924
|
+
sv: "Thailand",
|
|
14925
|
+
telephoneCountryCode: "66",
|
|
14926
|
+
},
|
|
14927
|
+
TL: {
|
|
14928
|
+
isoCode: "TL",
|
|
14929
|
+
en: "Timor-Leste",
|
|
14930
|
+
fi: "Itä-Timor",
|
|
14931
|
+
sv: "Östtimor",
|
|
14932
|
+
telephoneCountryCode: "670",
|
|
14933
|
+
},
|
|
14934
|
+
TG: {
|
|
14935
|
+
isoCode: "TG",
|
|
14936
|
+
en: "Togo",
|
|
14937
|
+
fi: "Togo",
|
|
14938
|
+
sv: "Togo",
|
|
14939
|
+
telephoneCountryCode: "228",
|
|
14940
|
+
},
|
|
14941
|
+
TK: {
|
|
14942
|
+
isoCode: "TK",
|
|
14943
|
+
en: "Tokelau",
|
|
14944
|
+
fi: "Tokelau",
|
|
14945
|
+
sv: "Tokelauöarna",
|
|
14946
|
+
telephoneCountryCode: "690",
|
|
14947
|
+
},
|
|
14948
|
+
TO: {
|
|
14949
|
+
isoCode: "TO",
|
|
14950
|
+
en: "Tonga",
|
|
14951
|
+
fi: "Tonga",
|
|
14952
|
+
sv: "Tonga",
|
|
14953
|
+
telephoneCountryCode: "676",
|
|
14954
|
+
},
|
|
14955
|
+
TT: {
|
|
14956
|
+
isoCode: "TT",
|
|
14957
|
+
en: "Trinidad and Tobago",
|
|
14958
|
+
fi: "Trinidad ja Tobago",
|
|
14959
|
+
sv: "Trinidad och Tobago",
|
|
14960
|
+
telephoneCountryCode: "1",
|
|
14961
|
+
},
|
|
14962
|
+
TN: {
|
|
14963
|
+
isoCode: "TN",
|
|
14964
|
+
en: "Tunisia",
|
|
14965
|
+
fi: "Tunisia",
|
|
14966
|
+
sv: "Tunisien",
|
|
14967
|
+
telephoneCountryCode: "216",
|
|
14968
|
+
},
|
|
14969
|
+
TR: {
|
|
14970
|
+
isoCode: "TR",
|
|
14971
|
+
en: "Türkiye",
|
|
14972
|
+
fi: "Turkki",
|
|
14973
|
+
sv: "Turkiet",
|
|
14974
|
+
telephoneCountryCode: "90",
|
|
14975
|
+
},
|
|
14976
|
+
TM: {
|
|
14977
|
+
isoCode: "TM",
|
|
14978
|
+
en: "Turkmenistan",
|
|
14979
|
+
fi: "Turkmenistan",
|
|
14980
|
+
sv: "Turkmenistan",
|
|
14981
|
+
telephoneCountryCode: "993",
|
|
14982
|
+
},
|
|
14983
|
+
TC: {
|
|
14984
|
+
isoCode: "TC",
|
|
14985
|
+
en: "Turks and Caicos Islands",
|
|
14986
|
+
fi: "Turks- ja Caicossaaret",
|
|
14987
|
+
sv: "Turks- och Caicosöarna",
|
|
14988
|
+
telephoneCountryCode: "1",
|
|
14989
|
+
},
|
|
14990
|
+
TV: {
|
|
14991
|
+
isoCode: "TV",
|
|
14992
|
+
en: "Tuvalu",
|
|
14993
|
+
fi: "Tuvalu",
|
|
14994
|
+
sv: "Tuvalu",
|
|
14995
|
+
telephoneCountryCode: "688",
|
|
14996
|
+
},
|
|
14997
|
+
UG: {
|
|
14998
|
+
isoCode: "UG",
|
|
14999
|
+
en: "Uganda",
|
|
15000
|
+
fi: "Uganda",
|
|
15001
|
+
sv: "Uganda",
|
|
15002
|
+
telephoneCountryCode: "256",
|
|
15003
|
+
},
|
|
15004
|
+
UA: {
|
|
15005
|
+
isoCode: "UA",
|
|
15006
|
+
en: "Ukraine",
|
|
15007
|
+
fi: "Ukraina",
|
|
15008
|
+
sv: "Ukraina",
|
|
15009
|
+
telephoneCountryCode: "380",
|
|
15010
|
+
},
|
|
15011
|
+
AE: {
|
|
15012
|
+
isoCode: "AE",
|
|
15013
|
+
en: "United Arab Emirates",
|
|
15014
|
+
fi: "Arabiemiirikunnat",
|
|
15015
|
+
sv: "Förenade Arabemiraten",
|
|
15016
|
+
telephoneCountryCode: "971",
|
|
15017
|
+
},
|
|
15018
|
+
GB: {
|
|
15019
|
+
isoCode: "GB",
|
|
15020
|
+
en: "United Kingdom",
|
|
15021
|
+
fi: "Yhdistynyt kuningaskunta",
|
|
15022
|
+
sv: "Storbritannien",
|
|
15023
|
+
telephoneCountryCode: "44",
|
|
15024
|
+
},
|
|
15025
|
+
US: {
|
|
15026
|
+
isoCode: "US",
|
|
15027
|
+
en: "United States of America",
|
|
15028
|
+
fi: "Yhdysvallat",
|
|
15029
|
+
sv: "USA",
|
|
15030
|
+
telephoneCountryCode: "1",
|
|
15031
|
+
},
|
|
15032
|
+
UM: {
|
|
15033
|
+
isoCode: "UM",
|
|
15034
|
+
en: "United States Minor Outlying Islands",
|
|
15035
|
+
fi: "Yhdysvaltain pienet erillissaaret",
|
|
15036
|
+
sv: "USA:s yttre öar",
|
|
15037
|
+
},
|
|
15038
|
+
UY: {
|
|
15039
|
+
isoCode: "UY",
|
|
15040
|
+
en: "Uruguay",
|
|
15041
|
+
fi: "Uruguay",
|
|
15042
|
+
sv: "Uruguay",
|
|
15043
|
+
telephoneCountryCode: "598",
|
|
15044
|
+
},
|
|
15045
|
+
UZ: {
|
|
15046
|
+
isoCode: "UZ",
|
|
15047
|
+
en: "Uzbekistan",
|
|
15048
|
+
fi: "Uzbekistan",
|
|
15049
|
+
sv: "Uzbekistan",
|
|
15050
|
+
telephoneCountryCode: "998",
|
|
15051
|
+
},
|
|
15052
|
+
VU: {
|
|
15053
|
+
isoCode: "VU",
|
|
15054
|
+
en: "Vanuatu",
|
|
15055
|
+
fi: "Vanuatu",
|
|
15056
|
+
sv: "Vanuatu",
|
|
15057
|
+
telephoneCountryCode: "678",
|
|
15058
|
+
},
|
|
15059
|
+
VE: {
|
|
15060
|
+
isoCode: "VE",
|
|
15061
|
+
en: "Venezuela",
|
|
15062
|
+
fi: "Venezuela",
|
|
15063
|
+
sv: "Venezuela",
|
|
15064
|
+
telephoneCountryCode: "58",
|
|
15065
|
+
},
|
|
15066
|
+
VN: {
|
|
15067
|
+
isoCode: "VN",
|
|
15068
|
+
en: "Vietnam",
|
|
15069
|
+
fi: "Vietnam",
|
|
15070
|
+
sv: "Vietnam",
|
|
15071
|
+
telephoneCountryCode: "84",
|
|
15072
|
+
},
|
|
15073
|
+
VG: {
|
|
15074
|
+
isoCode: "VG",
|
|
15075
|
+
en: "Virgin Islands, British",
|
|
15076
|
+
fi: "Brittiläiset Neitsytsaaret",
|
|
15077
|
+
sv: "Brittiska Jungfruöarna",
|
|
15078
|
+
telephoneCountryCode: "1",
|
|
15079
|
+
},
|
|
15080
|
+
VI: {
|
|
15081
|
+
isoCode: "VI",
|
|
15082
|
+
en: "Virgin Islands, U.S.",
|
|
15083
|
+
fi: "Yhdysvaltain Neitsytsaaret",
|
|
15084
|
+
sv: "Amerikanska Jungfruöarna",
|
|
15085
|
+
telephoneCountryCode: "1",
|
|
15086
|
+
},
|
|
15087
|
+
WF: {
|
|
15088
|
+
isoCode: "WF",
|
|
15089
|
+
en: "Wallis and Futuna",
|
|
15090
|
+
fi: "Wallis ja Futunasaaret",
|
|
15091
|
+
sv: "Wallis- och Futunaöarna",
|
|
15092
|
+
telephoneCountryCode: "681",
|
|
15093
|
+
},
|
|
15094
|
+
EH: {
|
|
15095
|
+
isoCode: "EH",
|
|
15096
|
+
en: "Western Sahara",
|
|
15097
|
+
fi: "Länsi-Sahara",
|
|
15098
|
+
sv: "Västsahara",
|
|
15099
|
+
telephoneCountryCode: "212",
|
|
15100
|
+
},
|
|
15101
|
+
YE: {
|
|
15102
|
+
isoCode: "YE",
|
|
15103
|
+
en: "Yemen",
|
|
15104
|
+
fi: "Jemen",
|
|
15105
|
+
sv: "Jemen",
|
|
15106
|
+
telephoneCountryCode: "967",
|
|
15107
|
+
},
|
|
15108
|
+
ZM: {
|
|
15109
|
+
isoCode: "ZM",
|
|
15110
|
+
en: "Zambia",
|
|
15111
|
+
fi: "Sambia",
|
|
15112
|
+
sv: "Zambia",
|
|
15113
|
+
telephoneCountryCode: "260",
|
|
15114
|
+
},
|
|
15115
|
+
ZW: {
|
|
15116
|
+
isoCode: "ZW",
|
|
15117
|
+
en: "Zimbabwe",
|
|
15118
|
+
fi: "Zimbabwe",
|
|
15119
|
+
sv: "Zimbabwe",
|
|
15120
|
+
telephoneCountryCode: "263",
|
|
15121
|
+
},
|
|
15122
|
+
AX: {
|
|
15123
|
+
isoCode: "AX",
|
|
15124
|
+
en: "Åland Islands",
|
|
15125
|
+
fi: "Ahvenanmaa",
|
|
15126
|
+
sv: "Åland",
|
|
15127
|
+
telephoneCountryCode: "358",
|
|
15128
|
+
},
|
|
15129
|
+
BQ: {
|
|
15130
|
+
isoCode: "BQ",
|
|
15131
|
+
en: "Bonaire, Sint Eustatius and Saba",
|
|
15132
|
+
fi: "Bonaire, Sint Eustatius ja Saba",
|
|
15133
|
+
sv: "Bonaire, Saint Eustatius och Saba",
|
|
15134
|
+
telephoneCountryCode: "599",
|
|
15135
|
+
},
|
|
15136
|
+
CW: {
|
|
15137
|
+
isoCode: "CW",
|
|
15138
|
+
en: "Curaçao",
|
|
15139
|
+
fi: "Curaçao",
|
|
15140
|
+
sv: "Curacao",
|
|
15141
|
+
telephoneCountryCode: "599",
|
|
15142
|
+
},
|
|
15143
|
+
GG: {
|
|
15144
|
+
isoCode: "GG",
|
|
15145
|
+
en: "Guernsey",
|
|
15146
|
+
fi: "Guernsey",
|
|
15147
|
+
sv: "Guernsey",
|
|
15148
|
+
telephoneCountryCode: "44",
|
|
15149
|
+
},
|
|
15150
|
+
IM: {
|
|
15151
|
+
isoCode: "IM",
|
|
15152
|
+
en: "Isle of Man",
|
|
15153
|
+
fi: "Mansaari",
|
|
15154
|
+
sv: "Isle of Man",
|
|
15155
|
+
telephoneCountryCode: "44",
|
|
15156
|
+
},
|
|
15157
|
+
JE: {
|
|
15158
|
+
isoCode: "JE",
|
|
15159
|
+
en: "Jersey",
|
|
15160
|
+
fi: "Jersey",
|
|
15161
|
+
sv: "Jersey",
|
|
15162
|
+
telephoneCountryCode: "44",
|
|
15163
|
+
},
|
|
15164
|
+
ME: {
|
|
15165
|
+
isoCode: "ME",
|
|
15166
|
+
en: "Montenegro",
|
|
15167
|
+
fi: "Montenegro",
|
|
15168
|
+
sv: "Montenegro",
|
|
15169
|
+
telephoneCountryCode: "382",
|
|
15170
|
+
},
|
|
15171
|
+
BL: {
|
|
15172
|
+
isoCode: "BL",
|
|
15173
|
+
en: "Saint Barthélemy",
|
|
15174
|
+
fi: "Saint-Barthélemy",
|
|
15175
|
+
sv: "Saint-Barthélemy",
|
|
15176
|
+
telephoneCountryCode: "590",
|
|
15177
|
+
},
|
|
15178
|
+
MF: {
|
|
15179
|
+
isoCode: "MF",
|
|
15180
|
+
en: "Saint Martin (French part)",
|
|
15181
|
+
fi: "Saint-Martin",
|
|
15182
|
+
sv: "Saint Martin (franska delen)",
|
|
15183
|
+
telephoneCountryCode: "590",
|
|
15184
|
+
},
|
|
15185
|
+
RS: {
|
|
15186
|
+
isoCode: "RS",
|
|
15187
|
+
en: "Serbia",
|
|
15188
|
+
fi: "Serbia",
|
|
15189
|
+
sv: "Serbien",
|
|
15190
|
+
telephoneCountryCode: "381",
|
|
15191
|
+
},
|
|
15192
|
+
SX: {
|
|
15193
|
+
isoCode: "SX",
|
|
15194
|
+
en: "Sint Maarten (Dutch part)",
|
|
15195
|
+
fi: "Sint Maarten",
|
|
15196
|
+
sv: "Sint Maarten (nederländska delen)",
|
|
15197
|
+
telephoneCountryCode: "1",
|
|
15198
|
+
},
|
|
15199
|
+
SS: {
|
|
15200
|
+
isoCode: "SS",
|
|
15201
|
+
en: "South Sudan",
|
|
15202
|
+
fi: "Etelä-Sudan",
|
|
15203
|
+
sv: "Sydsudan",
|
|
15204
|
+
telephoneCountryCode: "211",
|
|
15205
|
+
},
|
|
15206
|
+
XK: {
|
|
15207
|
+
isoCode: "XK",
|
|
15208
|
+
en: "Kosovo",
|
|
15209
|
+
fi: "Kosovo",
|
|
15210
|
+
sv: "Kosovo",
|
|
15211
|
+
telephoneCountryCode: "383",
|
|
15212
|
+
},
|
|
15213
|
+
};
|
|
15214
|
+
const primaryCountriesForSharedCountryCodes = {
|
|
15215
|
+
"1": "US",
|
|
15216
|
+
"7": "RU",
|
|
15217
|
+
"39": "IT",
|
|
15218
|
+
"44": "GB",
|
|
15219
|
+
"47": "NO",
|
|
15220
|
+
"61": "AU",
|
|
15221
|
+
"212": "MA",
|
|
15222
|
+
"262": "RE",
|
|
15223
|
+
"358": "FI",
|
|
15224
|
+
"590": "GP",
|
|
15225
|
+
"599": "CW",
|
|
15226
|
+
};
|
|
15227
|
+
|
|
15228
|
+
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}:host{box-sizing:border-box;padding:0;margin:0;background:transparent;border:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;margin-right:16px !important;margin-bottom:12px !important;display:inline-flex;width:100%;min-width:calc(33.333% - 8px);max-width:100%;text-align:left;vertical-align:bottom}:host:last-child,:host:last-of-type{margin-right:0 !important}@media (min-width: 36em){:host{width:calc(50% - 16px - 3px)}}:host(.duet-expand){width:100% !important}:host(.duet-m-0){margin:0 !important}.duet-phone-input-container{position:relative;width:100%;height:100%}";
|
|
15229
|
+
var DuetPhoneInputStyle0 = duetPhoneInputCss;
|
|
15230
|
+
|
|
15231
|
+
class DuetPhoneInput {
|
|
15232
|
+
constructor(hostRef) {
|
|
15233
|
+
registerInstance(this, hostRef);
|
|
15234
|
+
this.duetChange = createEvent$2(this, "duetChange", 3);
|
|
15235
|
+
this.duetInput = createEvent$2(this, "duetInput", 3);
|
|
15236
|
+
this.duetBlur = createEvent$2(this, "duetBlur", 7);
|
|
15237
|
+
this.duetFocus = createEvent$2(this, "duetFocus", 7);
|
|
15238
|
+
this.countriesToList = Object.values(countries).filter(country => !!country.telephoneCountryCode);
|
|
15239
|
+
this.countryFlagCDNUrl = "https://cdn.duetds.com/api/assets/country-flags/";
|
|
15240
|
+
this.inputId = createID("DuetInput");
|
|
15241
|
+
this.buttonAriaLabel = {
|
|
15242
|
+
en: "Choose country code",
|
|
15243
|
+
fi: "Valitse maatunnus",
|
|
15244
|
+
sv: "Välj landskod",
|
|
15245
|
+
};
|
|
15246
|
+
this.setListFirstCountries = () => {
|
|
15247
|
+
const listFirstCodes = (typeof this.listFirst === "string" ? this.listFirst.split(",") : this.listFirst).map(c => c.trim().toUpperCase());
|
|
15248
|
+
const listFirstCountries = Object.values(countries).filter(c => listFirstCodes.includes(c.isoCode));
|
|
15249
|
+
const listRestCountries = this.countriesToList.filter(c => !listFirstCodes.includes(c.isoCode));
|
|
15250
|
+
listRestCountries.sort((a, b) => (a[this.language] > b[this.language] ? 1 : -1));
|
|
15251
|
+
this.countriesToList = [...listFirstCountries, ...listRestCountries];
|
|
15252
|
+
};
|
|
15253
|
+
this.handleFocus = () => {
|
|
15254
|
+
// check value and country code
|
|
15255
|
+
};
|
|
15256
|
+
this.handleChange = () => {
|
|
15257
|
+
//console.log(ev)
|
|
15258
|
+
};
|
|
15259
|
+
this.handleBlur = () => {
|
|
15260
|
+
//console.log(ev)
|
|
15261
|
+
};
|
|
15262
|
+
this.handleInput = () => {
|
|
15263
|
+
var _a, _b;
|
|
15264
|
+
const currentValue = (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.trim();
|
|
15265
|
+
const currentCountryCode = (this.currentCountry !== "error" && ((_b = this.currentCountry) === null || _b === void 0 ? void 0 : _b.telephoneCountryCode)) || "";
|
|
15266
|
+
const inputCountryCode = this.findCountryCode(currentValue) || "";
|
|
15267
|
+
if (!currentValue) {
|
|
15268
|
+
this.currentCountry = undefined;
|
|
15269
|
+
return;
|
|
15270
|
+
}
|
|
15271
|
+
if (currentCountryCode === inputCountryCode) {
|
|
15272
|
+
return;
|
|
15273
|
+
}
|
|
15274
|
+
if (inputCountryCode) {
|
|
15275
|
+
this.currentCountry = this.findCountryForCode(inputCountryCode);
|
|
15276
|
+
return;
|
|
15277
|
+
}
|
|
15278
|
+
// we had country, but no longer have, we are in error state
|
|
15279
|
+
if (currentCountryCode !== "error") {
|
|
15280
|
+
this.currentCountry = "error";
|
|
15281
|
+
}
|
|
15282
|
+
// we don't have new country, and did not have old country, so old country is "error" - leave it
|
|
15283
|
+
return;
|
|
15284
|
+
};
|
|
15285
|
+
this.handleCountryCodeSelectorOpen = () => {
|
|
15286
|
+
this.countryCodePopup.controller = this.countryCodeButton;
|
|
15287
|
+
this.countryCodePopup.show();
|
|
15288
|
+
};
|
|
15289
|
+
this.handleCountryCodeSelectorSelect = (ev) => {
|
|
15290
|
+
const item = ev.target.closest("duet-popup-menu-item");
|
|
15291
|
+
const country = countries[item.value];
|
|
15292
|
+
this.currentCountry = country;
|
|
15293
|
+
this.countryCodePopup.hide();
|
|
15294
|
+
this.setInputCountryCode();
|
|
15295
|
+
};
|
|
15296
|
+
this.language = getLanguage();
|
|
15297
|
+
this.currentCountry = undefined;
|
|
15298
|
+
this.theme = "";
|
|
15299
|
+
this.margin = "auto";
|
|
15300
|
+
this.expand = false;
|
|
15301
|
+
this.identifier = undefined;
|
|
15302
|
+
this.accessibleDetails = undefined;
|
|
15303
|
+
this.accessibleLabelledBy = undefined;
|
|
15304
|
+
this.accessibleDescription = undefined;
|
|
15305
|
+
this.accessibleDescribedBy = undefined;
|
|
15306
|
+
this.disabled = false;
|
|
15307
|
+
this.required = false;
|
|
15308
|
+
this.labelDefaults = {
|
|
15309
|
+
fi: "Puhelinnumero",
|
|
15310
|
+
en: "Phone number",
|
|
15311
|
+
sv: "Telefonnummer",
|
|
15312
|
+
};
|
|
15313
|
+
this.label = getLocaleString(this.labelDefaults, this.language);
|
|
15314
|
+
this.labelHidden = false;
|
|
15315
|
+
this.caption = undefined;
|
|
15316
|
+
this.name = undefined;
|
|
15317
|
+
this.error = "";
|
|
15318
|
+
this.tooltip = "";
|
|
15319
|
+
this.listFirst = ["FI", "SE"];
|
|
15320
|
+
}
|
|
15321
|
+
/**
|
|
15322
|
+
* The phone input itself contains a comprehensive list of countries and their telephone country codes and it is
|
|
15323
|
+
* advisable to hold to that. There may be situations where the set of possible country codes is narrowed down: e.g.
|
|
15324
|
+
* if we have established that the person giving their details has a Nordic phone number, then we can give a narrowed
|
|
15325
|
+
* down list. Do not make unjustified assumptions: e.g. a Finnish company may well have employees in Afganistan or
|
|
15326
|
+
* Bhutan. List of countries can be given either as array of ISO 3166-1 alpha-2 codes or array of objects with keys:
|
|
15327
|
+
* en, fi, sv, isoCode (two uppercase letters), telephoneCountryCode (one to three digits), or JSON array string of
|
|
15328
|
+
* either two.
|
|
15329
|
+
*/
|
|
15330
|
+
get countries() {
|
|
15331
|
+
return this.countriesToList;
|
|
15332
|
+
}
|
|
15333
|
+
set countries(countriesProp) {
|
|
15334
|
+
let arr = countriesProp;
|
|
15335
|
+
let error = "";
|
|
15336
|
+
const isValidCountryObject = (obj) => {
|
|
15337
|
+
const requiredKeys = ["en", "fi", "sv", "isoCode", "telephoneCountryCode"];
|
|
15338
|
+
return (requiredKeys.every(key => Object.keys(obj).includes(key)) &&
|
|
15339
|
+
/^[A-Z]{2}$/.test(obj["isoCode"]) &&
|
|
15340
|
+
/^[1-9][0-9]{0,2}$/.test(obj["telephoneCountryCode"]));
|
|
15341
|
+
};
|
|
15342
|
+
if (typeof countriesProp === "string") {
|
|
15343
|
+
arr = JSON.parse(countriesProp);
|
|
15344
|
+
}
|
|
15345
|
+
if (Array.isArray(arr)) {
|
|
15346
|
+
if (arr.every(a => typeof a === "string")) {
|
|
15347
|
+
this.countriesToList = Object.values(countries).filter(c => arr.includes(c.isoCode) && !!c.telephoneCountryCode);
|
|
15348
|
+
}
|
|
15349
|
+
else if (arr.every(a => isValidCountryObject(a))) {
|
|
15350
|
+
this.countriesToList = arr;
|
|
15351
|
+
}
|
|
15352
|
+
else {
|
|
15353
|
+
error = "Invalid array provided for countries in Phone Input";
|
|
15354
|
+
}
|
|
15355
|
+
}
|
|
15356
|
+
else {
|
|
15357
|
+
error = "Country list for Phone Input must be an array";
|
|
15358
|
+
}
|
|
15359
|
+
if (error) {
|
|
15360
|
+
console.error(error);
|
|
15361
|
+
this.countriesToList = Object.values(countries).filter(country => !!country.telephoneCountryCode);
|
|
15362
|
+
}
|
|
15363
|
+
this.setListFirstCountries();
|
|
15364
|
+
}
|
|
15365
|
+
/**
|
|
15366
|
+
* Value of the input.
|
|
15367
|
+
*/
|
|
15368
|
+
get value() {
|
|
15369
|
+
var _a;
|
|
15370
|
+
return (_a = this.duetInputElement.value) === null || _a === void 0 ? void 0 : _a.replace(/\s/g, "");
|
|
15371
|
+
}
|
|
15372
|
+
set value(val) {
|
|
15373
|
+
this._value = val;
|
|
15374
|
+
}
|
|
15375
|
+
/**t
|
|
15376
|
+
* Component lifecycle events.
|
|
15377
|
+
*/
|
|
15378
|
+
componentWillLoad() {
|
|
15379
|
+
inheritGlobalTheme(this);
|
|
15380
|
+
checkNamedSlotElement(this.element, "tooltip", "duet-tooltip", 1, true);
|
|
15381
|
+
this.setListFirstCountries();
|
|
15382
|
+
}
|
|
15383
|
+
connectedCallback() {
|
|
15384
|
+
connectLanguageChangeObserver(this, { prop: "label", defaults: "labelDefaults" });
|
|
15385
|
+
subscribeTabbingChange(this);
|
|
15386
|
+
}
|
|
15387
|
+
disconnectedCallback() {
|
|
15388
|
+
disconnectLanguageChangeObserver(this);
|
|
15389
|
+
unsubscribeTabbingChange(this);
|
|
15390
|
+
}
|
|
15391
|
+
/**
|
|
15392
|
+
* Sets focus on the contained input element, use this instead of the native `input.focus()`.
|
|
15393
|
+
*/
|
|
15394
|
+
async setFocus(options) {
|
|
15395
|
+
this.duetInputElement.setFocus(options);
|
|
15396
|
+
}
|
|
15397
|
+
setInputCountryCode() {
|
|
15398
|
+
if (this.currentCountry === "error") {
|
|
15399
|
+
return;
|
|
15400
|
+
}
|
|
15401
|
+
const newCode = `+${this.currentCountry.telephoneCountryCode} `;
|
|
15402
|
+
const prevValue = this.duetInputElement.value;
|
|
15403
|
+
if (!(prevValue === null || prevValue === void 0 ? void 0 : prevValue.trim().startsWith("+"))) {
|
|
15404
|
+
this.duetInputElement.value = `${newCode}${(prevValue === null || prevValue === void 0 ? void 0 : prevValue.trimStart()) || ""}`;
|
|
15405
|
+
return;
|
|
15406
|
+
}
|
|
15407
|
+
const oldCode = this.findCountryCode(prevValue);
|
|
15408
|
+
console.log("Old code", oldCode);
|
|
15409
|
+
if (oldCode) {
|
|
15410
|
+
this.duetInputElement.value = prevValue.replace(`+${oldCode}`, newCode).replace(" ", " ");
|
|
15411
|
+
return;
|
|
15412
|
+
}
|
|
15413
|
+
this.duetInputElement.value = prevValue.replace("+", newCode);
|
|
15414
|
+
}
|
|
15415
|
+
findCountryCode(value) {
|
|
15416
|
+
const normalizedValue = value.trim();
|
|
15417
|
+
if (!normalizedValue.startsWith("+")) {
|
|
15418
|
+
return undefined;
|
|
15419
|
+
}
|
|
15420
|
+
const found = Object.values(countries).find(country => normalizedValue.startsWith(`+${country.telephoneCountryCode}`));
|
|
15421
|
+
return found === null || found === void 0 ? void 0 : found.telephoneCountryCode;
|
|
15422
|
+
}
|
|
15423
|
+
findCountryForCode(code) {
|
|
15424
|
+
const primaryCountryISO = primaryCountriesForSharedCountryCodes[code] || "";
|
|
15425
|
+
return primaryCountryISO
|
|
15426
|
+
? countries[primaryCountryISO]
|
|
15427
|
+
: Object.values(countries).find(country => country.telephoneCountryCode === code);
|
|
15428
|
+
}
|
|
15429
|
+
renderFlag(isoCode, inButton = false) {
|
|
15430
|
+
const flagImgStyle = {
|
|
15431
|
+
height: inButton ? "34px" : "24px",
|
|
15432
|
+
width: inButton ? "27px" : "24px",
|
|
15433
|
+
"margin-right": inButton ? "0" : "10px",
|
|
15434
|
+
"object-fit": "contain",
|
|
15435
|
+
"object-position": "center",
|
|
15436
|
+
filter: "drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 2px 6px rgba(0, 41, 77, 0.1))",
|
|
15437
|
+
};
|
|
15438
|
+
return (hAsync("img", { src: `${this.countryFlagCDNUrl}${isoCode}.svg`, "aria-hidden": "true", style: flagImgStyle, loading: "lazy" }));
|
|
15439
|
+
}
|
|
15440
|
+
getFlagForButton() {
|
|
15441
|
+
if (!this.currentCountry || this.currentCountry === "error") {
|
|
15442
|
+
return hAsync("duet-icon", { name: !this.currentCountry ? "form-country" : "messaging-alert", margin: "none" });
|
|
15443
|
+
}
|
|
15444
|
+
return this.renderFlag(this.currentCountry.isoCode, true);
|
|
15445
|
+
}
|
|
15446
|
+
render() {
|
|
15447
|
+
{
|
|
15448
|
+
return;
|
|
15449
|
+
}
|
|
15450
|
+
}
|
|
15451
|
+
get element() { return getElement(this); }
|
|
15452
|
+
static get style() { return DuetPhoneInputStyle0; }
|
|
15453
|
+
static get cmpMeta() { return {
|
|
15454
|
+
"$flags$": 9,
|
|
15455
|
+
"$tagName$": "duet-phone-input",
|
|
15456
|
+
"$members$": {
|
|
15457
|
+
"theme": [1025],
|
|
15458
|
+
"margin": [1],
|
|
15459
|
+
"expand": [4],
|
|
15460
|
+
"identifier": [1],
|
|
15461
|
+
"accessibleDetails": [1, "accessible-details"],
|
|
15462
|
+
"accessibleLabelledBy": [1, "accessible-labelled-by"],
|
|
15463
|
+
"accessibleDescription": [1, "accessible-description"],
|
|
15464
|
+
"accessibleDescribedBy": [1, "accessible-described-by"],
|
|
15465
|
+
"disabled": [516],
|
|
15466
|
+
"required": [4],
|
|
15467
|
+
"countries": [6145],
|
|
15468
|
+
"labelDefaults": [1, "label-default"],
|
|
15469
|
+
"label": [1025],
|
|
15470
|
+
"labelHidden": [4, "label-hidden"],
|
|
15471
|
+
"caption": [1],
|
|
15472
|
+
"name": [1],
|
|
15473
|
+
"error": [1],
|
|
15474
|
+
"tooltip": [1],
|
|
15475
|
+
"value": [6145],
|
|
15476
|
+
"listFirst": [1, "list-first"],
|
|
15477
|
+
"language": [32],
|
|
15478
|
+
"currentCountry": [32],
|
|
15479
|
+
"setFocus": [64]
|
|
15480
|
+
},
|
|
15481
|
+
"$listeners$": undefined,
|
|
15482
|
+
"$lazyBundleId$": "-",
|
|
15483
|
+
"$attrsToReflect$": [["disabled", "disabled"]]
|
|
15484
|
+
}; }
|
|
15485
|
+
}
|
|
15486
|
+
|
|
13467
15487
|
/**
|
|
13468
15488
|
* Custom positioning reference element.
|
|
13469
15489
|
* @see https://floating-ui.com/docs/virtual-elements
|
|
@@ -14815,6 +16835,11 @@ class DuetPopupMenu {
|
|
|
14815
16835
|
constructor(hostRef) {
|
|
14816
16836
|
registerInstance(this, hostRef);
|
|
14817
16837
|
this.duetToggle = createEvent$2(this, "duetToggle", 7);
|
|
16838
|
+
this.filterLabel = {
|
|
16839
|
+
en: "Filter menu",
|
|
16840
|
+
fi: "Suodata valikkoa",
|
|
16841
|
+
sv: "Filtrera meny",
|
|
16842
|
+
};
|
|
14818
16843
|
this.setOpenButton = (element) => {
|
|
14819
16844
|
if (!element) {
|
|
14820
16845
|
return;
|
|
@@ -14850,9 +16875,32 @@ class DuetPopupMenu {
|
|
|
14850
16875
|
this.menuY = coordinates.y;
|
|
14851
16876
|
this.menuX = coordinates.x;
|
|
14852
16877
|
};
|
|
16878
|
+
this.getNonFilteredItems = () => {
|
|
16879
|
+
return this.showFilterInput ? this.itemElements.filter(i => i.style.display !== "none") : this.itemElements;
|
|
16880
|
+
};
|
|
16881
|
+
this.filterItems = () => {
|
|
16882
|
+
var _a;
|
|
16883
|
+
const filterText = (_a = this.filterInput.value) === null || _a === void 0 ? void 0 : _a.toLocaleLowerCase();
|
|
16884
|
+
const items = this.itemElements;
|
|
16885
|
+
items.forEach(item => {
|
|
16886
|
+
item.style.display =
|
|
16887
|
+
!filterText ||
|
|
16888
|
+
item.textContent.toLowerCase().includes(filterText) ||
|
|
16889
|
+
item.value.toLowerCase().includes(filterText)
|
|
16890
|
+
? ""
|
|
16891
|
+
: "none";
|
|
16892
|
+
});
|
|
16893
|
+
};
|
|
16894
|
+
this.handleKeyDownOnFilter = (ev) => {
|
|
16895
|
+
var _a;
|
|
16896
|
+
if (isArrowDownKey(ev)) {
|
|
16897
|
+
(_a = this.getNonFilteredItems()[0]) === null || _a === void 0 ? void 0 : _a.setFocus();
|
|
16898
|
+
}
|
|
16899
|
+
};
|
|
14853
16900
|
this.open = false;
|
|
14854
16901
|
this.menuY = undefined;
|
|
14855
16902
|
this.menuX = undefined;
|
|
16903
|
+
this.language = getLanguage();
|
|
14856
16904
|
this.accessibleLabel = undefined;
|
|
14857
16905
|
this.accessibleRole = "menu";
|
|
14858
16906
|
this.theme = "";
|
|
@@ -14865,6 +16913,7 @@ class DuetPopupMenu {
|
|
|
14865
16913
|
this.crossAxisOffset = 0;
|
|
14866
16914
|
this.controllerIcon = "action-arrow-down-small";
|
|
14867
16915
|
this.scrollLimit = undefined;
|
|
16916
|
+
this.showFilterInput = undefined;
|
|
14868
16917
|
}
|
|
14869
16918
|
/**
|
|
14870
16919
|
* Element, or id of an element, that controls the opening and closing of the popup menu. If id is given,
|
|
@@ -14933,16 +16982,17 @@ class DuetPopupMenu {
|
|
|
14933
16982
|
}
|
|
14934
16983
|
}
|
|
14935
16984
|
async handleKeyDown(evt) {
|
|
16985
|
+
const items = this.getNonFilteredItems();
|
|
14936
16986
|
if (this.open) {
|
|
14937
16987
|
if (isArrowDownKey(evt)) {
|
|
14938
16988
|
evt.preventDefault();
|
|
14939
16989
|
const current = await this.getFocusedItemIndex();
|
|
14940
16990
|
if (current !== -1) {
|
|
14941
|
-
if (current <
|
|
14942
|
-
|
|
16991
|
+
if (current < items.length - 1) {
|
|
16992
|
+
items[current + 1].setFocus();
|
|
14943
16993
|
}
|
|
14944
16994
|
else {
|
|
14945
|
-
|
|
16995
|
+
items[0].setFocus();
|
|
14946
16996
|
}
|
|
14947
16997
|
}
|
|
14948
16998
|
}
|
|
@@ -14951,10 +17001,15 @@ class DuetPopupMenu {
|
|
|
14951
17001
|
const current = await this.getFocusedItemIndex();
|
|
14952
17002
|
if (current !== -1) {
|
|
14953
17003
|
if (current === 0) {
|
|
14954
|
-
this.
|
|
17004
|
+
if (this.showFilterInput) {
|
|
17005
|
+
this.filterInput.setFocus();
|
|
17006
|
+
}
|
|
17007
|
+
else {
|
|
17008
|
+
items[items.length - 1].setFocus();
|
|
17009
|
+
}
|
|
14955
17010
|
}
|
|
14956
17011
|
else {
|
|
14957
|
-
|
|
17012
|
+
items[current - 1].setFocus();
|
|
14958
17013
|
}
|
|
14959
17014
|
}
|
|
14960
17015
|
}
|
|
@@ -15018,6 +17073,10 @@ class DuetPopupMenu {
|
|
|
15018
17073
|
if (this.menuElement && this.openButton) {
|
|
15019
17074
|
this.autoUpdateCleanup = autoUpdate(this.openButton, this.menuElement, this.updatePlacement);
|
|
15020
17075
|
}
|
|
17076
|
+
if (this.showFilterInput) {
|
|
17077
|
+
this.filterInput.value = "";
|
|
17078
|
+
this.filterItems();
|
|
17079
|
+
}
|
|
15021
17080
|
setTimeout(() => {
|
|
15022
17081
|
if (this.accessibleRole === "menu") {
|
|
15023
17082
|
this.itemElements[0].setFocus();
|
|
@@ -15059,7 +17118,7 @@ class DuetPopupMenu {
|
|
|
15059
17118
|
}
|
|
15060
17119
|
}
|
|
15061
17120
|
async getFocusedItemIndex() {
|
|
15062
|
-
const items = this.
|
|
17121
|
+
const items = this.getNonFilteredItems();
|
|
15063
17122
|
for (let i = 0; i < items.length; i++) {
|
|
15064
17123
|
if (await items[i].isFocused()) {
|
|
15065
17124
|
return i;
|
|
@@ -15075,14 +17134,14 @@ class DuetPopupMenu {
|
|
|
15075
17134
|
overflowY: "auto",
|
|
15076
17135
|
height: this.popupMenuStyleHeight,
|
|
15077
17136
|
};
|
|
15078
|
-
return (hAsync(Host, { key: '
|
|
17137
|
+
return (hAsync(Host, { key: '245da481a4c3ac550648005777f7f7724c8e7806' }, hAsync("div", { key: '17069b93e411e4f951dcf4f591aacf90a0fcf7ec', ref: element => {
|
|
15079
17138
|
this.menuElement = element;
|
|
15080
17139
|
}, style: styles, class: {
|
|
15081
17140
|
open: this.open,
|
|
15082
17141
|
"duet-popup-menu-list": true,
|
|
15083
17142
|
"duet-theme-turva": this.theme === "turva",
|
|
15084
17143
|
"scroll-visible": this.scrollLimit < this.itemElements.length,
|
|
15085
|
-
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, hAsync("slot", { key: '
|
|
17144
|
+
}, role: this.accessibleRole, "aria-label": this.accessibleLabel }, this.showFilterInput && (hAsync("div", { key: '24e126dbabf9089b5d3bed8d20c4a2d727531a0e' }, hAsync("duet-input", { key: '719101f79b6678a0e7b28694e2c630e902f58bb2', 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: 'c49e9178d065230acbc63f163b9b31dfa53a56ae', size: "xx-small" }))), hAsync("slot", { key: 'd6e2cbd68cd5f5961d5c486a974b72083f2cbae0' }))));
|
|
15086
17145
|
}
|
|
15087
17146
|
get element() { return getElement(this); }
|
|
15088
17147
|
static get watchers() { return {
|
|
@@ -15107,9 +17166,11 @@ class DuetPopupMenu {
|
|
|
15107
17166
|
"crossAxisOffset": [2, "cross-axis-offset"],
|
|
15108
17167
|
"controllerIcon": [1, "controller-icon"],
|
|
15109
17168
|
"scrollLimit": [2, "scroll-limit"],
|
|
17169
|
+
"showFilterInput": [4, "show-filter-input"],
|
|
15110
17170
|
"open": [32],
|
|
15111
17171
|
"menuY": [32],
|
|
15112
17172
|
"menuX": [32],
|
|
17173
|
+
"language": [32],
|
|
15113
17174
|
"isOpen": [64],
|
|
15114
17175
|
"show": [64],
|
|
15115
17176
|
"hide": [64],
|
|
@@ -15189,11 +17250,11 @@ class DuetPopupMenuItem {
|
|
|
15189
17250
|
"duet-theme-turva": this.theme === "turva",
|
|
15190
17251
|
"active-descendant": this.activeDescendant,
|
|
15191
17252
|
};
|
|
15192
|
-
return (hAsync(Host, { key: '
|
|
17253
|
+
return (hAsync(Host, { key: '2f4a7fe60bc5938bbcb3b1fbce1b4c7bb6bc1de2', role: this.accessibleRole }, hAsync(TagName, { key: 'c9f7fd447bb786217bd8a914167bb908acf66f37', 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: 'dcd75ed8a6b9113d52ffa7525c4356cbb2900bc4', name: this.leadingIcon, size: "x-small", color: this.leadingIconColor ? this.leadingIconColor : "currentColor", class: "duet-popup-menu-item-leading", margin: "none" })), hAsync("span", { key: 'db792f6c21c039bc1997fe199227a84854623c9d', class: "duet-popup-menu-item-label" }, hAsync("slot", { key: 'dbe5cfc337cc536811672bfc2240518c230df8d6' })), (this.trailingIcon || this.active || (this.url && this.external)) && (hAsync("duet-icon", { key: 'dbcb7c7c1fb2a4279aab71c16bf8dfd0505fbe38', name: this.url && this.external
|
|
15193
17254
|
? actionNewWindowSmall.title
|
|
15194
17255
|
: this.active
|
|
15195
17256
|
? "messaging-checked-small"
|
|
15196
|
-
: 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: '
|
|
17257
|
+
: this.trailingIcon, size: (this.url && this.external) || this.active ? "xx-small" : "x-small", color: "currentColor", class: "duet-popup-menu-item-trailing", margin: "none" })), this.trailingText && hAsync("span", { key: 'e234fa5fd161ad0938c925c4b1fb75b6fbbb37f2', class: "duet-popup-menu-item-trailing" }, this.trailingText))));
|
|
15197
17258
|
}
|
|
15198
17259
|
get element() { return getElement(this); }
|
|
15199
17260
|
static get style() { return DuetPopupMenuItemStyle0; }
|
|
@@ -15348,12 +17409,12 @@ class DuetPromoCard {
|
|
|
15348
17409
|
backgroundColor: backgroundColor ? backgroundColor : "none",
|
|
15349
17410
|
};
|
|
15350
17411
|
const TagName = this.url ? "a" : "div";
|
|
15351
|
-
return (hAsync(Host, { key: '
|
|
17412
|
+
return (hAsync(Host, { key: '0a97e9abde099796c74ee8d4533922d35deb236e', class: { "duet-m-0": this.margin === "none" } }, hAsync("aside", { key: '1c1fd59c053cb81d932443c888c6e9573953e946', class: {
|
|
15352
17413
|
"duet-promo-card": true,
|
|
15353
17414
|
"duet-theme-turva": this.theme === "turva",
|
|
15354
17415
|
"no-bg-color": !this.backgroundColor,
|
|
15355
17416
|
"duet-promo-card-link": !!this.url,
|
|
15356
|
-
}, style: bannerStyles }, hAsync(TagName, { key: '
|
|
17417
|
+
}, style: bannerStyles }, hAsync(TagName, { key: 'fd53e9b56dc719eb84b55e185a7709e6ab267e58', href: this.url, class: "content-wrapper", ref: element => (this.aOrDivElement = element) }, hAsync("img", { key: '34994ce60ac0342c63a4fcfe21a57b0246d2c19e', class: "image", src: this.image, alt: "", role: "presentation" }), hAsync("div", { key: 'f0bef01fd5ff40970d3d54befca4682fdceed46f', class: "content" }, this.hasPreHeadingSlot && (hAsync("div", { key: 'ad3e40631d0e0a7eab15ca8c97a22141dc14c409', class: "pre-heading" }, hAsync("slot", { key: '887cb71bdcf6fffcb82565434e42ad1ee361841c', name: "pre-heading" }))), this.hasHeadingSlot && (hAsync("div", { key: '90549d05dab8e3a238f8361cbbcc6ecea1d7cd42', class: "heading" }, hAsync("duet-heading", { key: '56eaa16c5fb2f0094e32c24b1e9494092980b3f2', theme: this.theme, level: this.headingLevel, "visual-level": "h3", margin: "none", color: this.textColor }, hAsync("span", { key: '6567201df4ec186d0fecce37cadbdeb9e7d3ceeb' }, hAsync("slot", { key: '8f979f5facd440dd76a6a2711922cf4a1b47cba0', name: "heading" }))))), this.hasDescriptionSlot && (hAsync("div", { key: '1d1c853e865e767a7f96255f0e9316c6ff4d642a', class: "description" }, hAsync("duet-paragraph", { key: '4c1741ff05acd2562c07bdee11c9e00951dc8772', theme: this.theme, margin: "none", color: this.textColor }, hAsync("span", { key: '2dd6a0fb0ae7508a6fca281632206ccbab9b80fa' }, hAsync("slot", { key: 'c2bda8a30bfbcedfd5aa88b32c332172eb693ea3', name: "description" }))))), this.hasActionSlot && (hAsync("div", { key: '46fbd5da2ebd36613c039f6edbb22e81d1fcaf47', class: "action" }, hAsync("slot", { key: 'a573eaf8d88210c4c4e613c36a6f127d6caeb783', name: "action" }))))))));
|
|
15357
17418
|
}
|
|
15358
17419
|
get element() { return getElement(this); }
|
|
15359
17420
|
static get style() { return DuetPromoCardStyle0; }
|
|
@@ -15960,10 +18021,10 @@ class DuetRangeStepper {
|
|
|
15960
18021
|
* Always the last one in the class.
|
|
15961
18022
|
*/
|
|
15962
18023
|
render() {
|
|
15963
|
-
return (hAsync("div", { key: '
|
|
18024
|
+
return (hAsync("div", { key: '9221b16527b63eb5558cc9422c26fc70e3d44935', class: {
|
|
15964
18025
|
"duet-range-stepper": true,
|
|
15965
18026
|
"duet-theme-turva": this.theme === "turva",
|
|
15966
|
-
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '
|
|
18027
|
+
}, onKeyDown: e => this.onKeyboardDown(e), "aria-controls": this.ariaControls }, hAsync("span", { key: '301b08e846538f0e5d4da1b205ff27d1fa860075', class: "duet-range-step-counter", part: "range-numbers" }, this.generateStepSize()), hAsync("duet-action-button", { key: '8f0a856cff8bf8a66e389c505d1817e2b038a201', 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: '0746ef65ce1181f4975853482470b6064d2d680a', 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: "" })));
|
|
15967
18028
|
}
|
|
15968
18029
|
get element() { return getElement(this); }
|
|
15969
18030
|
static get watchers() { return {
|
|
@@ -16184,7 +18245,12 @@ class DuetScrollable {
|
|
|
16184
18245
|
this.scrollToElement(last + 1, "center");
|
|
16185
18246
|
}
|
|
16186
18247
|
getOverlayWidth() {
|
|
16187
|
-
|
|
18248
|
+
// This is a hot-fix for the duet-tab-group component not
|
|
18249
|
+
// working properly with turva theme. This should be properly fixed in the future.
|
|
18250
|
+
if (this.buttonPosition === "absolute") {
|
|
18251
|
+
return this.theme === "turva" ? 1 : 0;
|
|
18252
|
+
}
|
|
18253
|
+
return 10;
|
|
16188
18254
|
}
|
|
16189
18255
|
renderButton(direction) {
|
|
16190
18256
|
const arrowColor = this.theme === "turva" ? "color-primary-darker-turva" : "color-primary";
|
|
@@ -16220,25 +18286,25 @@ class DuetScrollable {
|
|
|
16220
18286
|
* Always the last one in the class.
|
|
16221
18287
|
*/
|
|
16222
18288
|
render() {
|
|
16223
|
-
return (hAsync(Host, { key: '
|
|
18289
|
+
return (hAsync(Host, { key: '73d85963b8e4016fe3d891925fe817e0a7cd9cb5', class: {
|
|
16224
18290
|
"duet-theme-turva": this.theme === "turva",
|
|
16225
18291
|
"duet-theme-default": this.theme === "default",
|
|
16226
|
-
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: '
|
|
18292
|
+
} }, this.hasCollapseButtonLabelSlot && (hAsync("div", { key: 'c34006e80ca8d106b496b124d73fc23063fa6e3e', class: {
|
|
16227
18293
|
collapse: true,
|
|
16228
18294
|
hide: !this.needsScrolling && !this.collapsed,
|
|
16229
|
-
} }, hAsync("duet-button", { key: '
|
|
18295
|
+
} }, hAsync("duet-button", { key: 'cd7768e824f0d392c78fbc0b6dc5cb01e48e3402', variation: "plain", margin: "none", "center-text": true, onClick: () => this.collapsedOnClick() }, hAsync("slot", { key: '0c5978598a028065857e7f68f68eb1f6069eb006', name: "collapse-button-label" })))), hAsync("div", { key: '769b377acbb2108d336d00ded087feffa8b65792', class: {
|
|
16230
18296
|
"duet-scrollable-items": true,
|
|
16231
18297
|
buttons: this.buttons,
|
|
16232
18298
|
center: this.center,
|
|
16233
18299
|
"duet-theme-turva": this.theme === "turva",
|
|
16234
|
-
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '
|
|
18300
|
+
} }, this.buttons && this.renderButton("left"), hAsync("div", { key: '36d1d94c465dcc3a2759bbfb7dfa092528824e9d', class: {
|
|
16235
18301
|
"duet-scrollable-list": true,
|
|
16236
18302
|
[`duet-scrollable-list--${this.buttonPosition}`]: true,
|
|
16237
18303
|
[`gap-${this.gap}`]: true,
|
|
16238
18304
|
collapsed: this.collapsed,
|
|
16239
18305
|
[`duet-overflow-padding--${this.padding}`]: this.padding !== "none",
|
|
16240
18306
|
[`duet-scrollable-list--${this.buttonPosition}`]: this.buttonPosition === "absolute",
|
|
16241
|
-
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '
|
|
18307
|
+
}, onScroll: () => this.updateScrollButtons(), ref: element => (this.scrollPaneElement = element) }, hAsync("slot", { key: '4ce1914b23bc31c920b3ddffc064b323a2d66002' })), this.buttons && this.renderButton("right"))));
|
|
16242
18308
|
}
|
|
16243
18309
|
get element() { return getElement(this); }
|
|
16244
18310
|
static get watchers() { return {
|
|
@@ -16285,13 +18351,13 @@ class DuetSectionLayout {
|
|
|
16285
18351
|
* Always the last one in the class.
|
|
16286
18352
|
*/
|
|
16287
18353
|
render() {
|
|
16288
|
-
return (hAsync(Host, { key: '
|
|
18354
|
+
return (hAsync(Host, { key: '89be4e82e34327cb68c695187821280140aa3233', class: {
|
|
16289
18355
|
"duet-middle": this.middle,
|
|
16290
18356
|
"duet-ie": isInternetExplorer(),
|
|
16291
|
-
} }, hAsync("div", { key: '
|
|
18357
|
+
} }, hAsync("div", { key: '2cde22f46d6a6b602245fb0d6e875349845bd204', class: { "duet-layout-wrapper": true, "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'a39c58d05f6944ba7c6c0bfda25a3ad1d99f3e2f', class: {
|
|
16292
18358
|
"duet-layout": true,
|
|
16293
18359
|
[`padding-${this.paddingBreakpoint}`]: !!this.paddingBreakpoint,
|
|
16294
|
-
} }, hAsync("section", { key: '
|
|
18360
|
+
} }, hAsync("section", { key: 'ee98fe87b3d0994ab04c65590b5288d35aea2a9e', class: "duet-main" }, hAsync("slot", { key: '2f931f464073257e432992e99f40a58727401352' }))))));
|
|
16295
18361
|
}
|
|
16296
18362
|
get element() { return getElement(this); }
|
|
16297
18363
|
static get style() { return DuetSectionLayoutStyle0; }
|
|
@@ -16534,9 +18600,9 @@ class DuetShapedImage {
|
|
|
16534
18600
|
const style = {
|
|
16535
18601
|
"--rotation": `${this.rotation}deg`,
|
|
16536
18602
|
};
|
|
16537
|
-
return (hAsync(Host, { key: '
|
|
18603
|
+
return (hAsync(Host, { key: '2261e3fd3e60d1ea8591219a9e64b3137fc93969', class: { "duet-theme-turva": this.theme === "turva", "duet-m-0": this.margin === "none" } }, hAsync("span", { key: '1c4204740ad1cfd299e96b484c602189f189e137', class: {
|
|
16538
18604
|
"shaped-image": true,
|
|
16539
|
-
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: '
|
|
18605
|
+
}, role: "img", "aria-label": this.accessibleLabel, style: style }, hAsync("span", { key: 'e313b068532ce26450e93a3b68bfe7190f6dd4fc', class: "shaped-image-mask", role: "presentation" }, hAsync("span", { key: '01ffb3799bf6211c8b11bfd62a42b1c080bf1a74', class: "shaped-image-img", role: "presentation", style: { backgroundImage: `url("${this.src}")` } })))));
|
|
16540
18606
|
}
|
|
16541
18607
|
static get style() { return DuetShapedImageStyle0; }
|
|
16542
18608
|
static get cmpMeta() { return {
|
|
@@ -16644,12 +18710,12 @@ class DuetShowMore {
|
|
|
16644
18710
|
* Always the last one of the class.
|
|
16645
18711
|
*/
|
|
16646
18712
|
render() {
|
|
16647
|
-
return (hAsync(Host, { key: '
|
|
18713
|
+
return (hAsync(Host, { key: '342980885abd34eaaed8c7a94d2c8814af8ac7b1' }, hAsync("div", { key: 'ad3d469d25dc5073ab2e585f075e4a6d239da446', class: {
|
|
16648
18714
|
"duet-show-more": true,
|
|
16649
18715
|
"duet-theme-turva": this.theme === "turva",
|
|
16650
18716
|
"duet-m-0": this.margin === "none",
|
|
16651
18717
|
open: this.open,
|
|
16652
|
-
} }, hAsync("div", { key: '
|
|
18718
|
+
} }, hAsync("div", { key: 'e11ff42b395ce60a533b3d293e95d0b9d28985b1', ref: ref => (this.contentElement = ref), class: { content: true }, id: this.contentId, tabindex: this.open ? "0" : "" }, hAsync("div", { key: 'ce456a7014e3c0d41542315a58952db9a67958ca', class: { "slotted-content": true } }, hAsync("slot", { key: '1359b929236258f2f46becc67c2ef0212d720aab' }))), hAsync("duet-button", { key: '89258a40cc1e2a2332a2f76bec76ff7478f5d48a', 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: '3fdb11c208b0ef335f23e4f8f5d0076add4d3cbb' }, this.open ? this.showLessLabel : this.showMoreLabel)))));
|
|
16653
18719
|
}
|
|
16654
18720
|
get element() { return getElement(this); }
|
|
16655
18721
|
static get style() { return DuetShowMoreStyle0; }
|
|
@@ -17146,16 +19212,16 @@ class DuetSlideout {
|
|
|
17146
19212
|
};
|
|
17147
19213
|
const topLevelOpenMenuBarTranslation = getLocaleString(this.topLevelOpenMenuBarLangObject);
|
|
17148
19214
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17149
|
-
return (hAsync(Host, { key: '
|
|
19215
|
+
return (hAsync(Host, { key: '4adf7d99cbc333b181e8fd4866d08855eb6a6d1c' }, hAsync("div", { key: '78f45ec446655208a7bf17cfe3be6a4aebc5c181', class: { "duet-slideout": true, "duet-theme-turva": this.theme === "turva" } }, this.modal && hAsync("duet-overlay", { key: '278b3a9e1823ab3650f7fc705d3d7d41a676b70f', visible: this.open, "display-device": "large", zIndex: "600" }), hAsync("div", { key: 'c5fd8e77aa37a4e5106dafcc83a4b07098fc5695', 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: {
|
|
17150
19216
|
dialog: true,
|
|
17151
19217
|
hidden: !this.open,
|
|
17152
19218
|
modal: this.modal,
|
|
17153
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19219
|
+
}, style: styles }, hAsync(FocusGuard, { key: '3d629c66c8376aec3febe6c9c0818b8a45df56a2', moveFocusTo: this.closeButton }), hAsync("div", { key: '7792e9afa44d5ff99e1350e99f0ec4cf0a570067', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: 'b1849e638fe366a073e2d247695ed828259f385a', class: "top" }, hAsync("button", { key: 'cfd4aaf534427596f9fe01415e42bf355608798a', ref: element => (this.closeButton = element), "aria-haspopup": "dialog", "aria-controls": "dialog", "aria-expanded": this.open ? "true" : "false", "aria-label": `${exitTranslation}`, type: "button", class: {
|
|
17154
19220
|
"slideout-close": true,
|
|
17155
19221
|
active: this.open,
|
|
17156
|
-
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '
|
|
19222
|
+
}, onClick: this.onClick, inert: this.openPanel }, hAsync("duet-icon", { key: '410f3f0ce0f8e66791f998f3fb9169ddcd6723c7', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: '6341b9c23dd91454d7e8bb38201578a02906cb15', class: "sticky-header" }, hAsync("slot", { key: 'a9128943f3767198b7b3602dd242ab35ee7fc104', name: "sticky-header" }))), hAsync("div", { key: '53aa0fd6b0097f061b2d5767b8a0b4a360a78040', id: "slot-container", role: this.accessibleRole, "aria-label": this.openPanel ? topLevelOpenMenuBarTranslation : null, class: {
|
|
17157
19223
|
items: true,
|
|
17158
|
-
} }, hAsync("slot", { key: '
|
|
19224
|
+
} }, hAsync("slot", { key: 'd0bb2bfede05aae54cd56e487fb7a69b124b84ce' })), hAsync(FocusGuard, { key: '73d243e3a801c30a7706edac7d87a78a7750a4f1', moveFocusTo: this.closeButton })))));
|
|
17159
19225
|
}
|
|
17160
19226
|
get element() { return getElement(this); }
|
|
17161
19227
|
static get watchers() { return {
|
|
@@ -17222,7 +19288,7 @@ class DuetSlideoutLang {
|
|
|
17222
19288
|
*/
|
|
17223
19289
|
render() {
|
|
17224
19290
|
const langTranslation = getLocaleString(this.chooseLangObject);
|
|
17225
|
-
return (hAsync(Host, { key: '
|
|
19291
|
+
return (hAsync(Host, { key: '00c9777c6d216869e7a3c1dcc5dae6e4503bfa25' }, hAsync("div", { key: 'a39f00f60a7a25189b6564165aafcf0e1d480824', class: "duet-slideout-lang", role: "group", "aria-label": langTranslation }, hAsync("duet-icon", { key: '6a895b8e8e7c4dbdf541a16a01566fabb3150c9d', name: "navigation-language", margin: "none", color: "secondary" }), hAsync("slot", { key: 'dd216d56b29a88616d01acd917af1e8f7d21e31d' }))));
|
|
17226
19292
|
}
|
|
17227
19293
|
get element() { return getElement(this); }
|
|
17228
19294
|
static get style() { return DuetSlideoutLangStyle0; }
|
|
@@ -17239,7 +19305,7 @@ class DuetSlideoutLang {
|
|
|
17239
19305
|
}; }
|
|
17240
19306
|
}
|
|
17241
19307
|
|
|
17242
|
-
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
|
|
19308
|
+
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)}";
|
|
17243
19309
|
var DuetSlideoutLinkStyle0 = duetSlideoutLinkCss;
|
|
17244
19310
|
|
|
17245
19311
|
class DuetSlideoutLink {
|
|
@@ -17254,6 +19320,9 @@ class DuetSlideoutLink {
|
|
|
17254
19320
|
this.size = "inherit";
|
|
17255
19321
|
this.caret = false;
|
|
17256
19322
|
this.menuItem = false;
|
|
19323
|
+
this.accessibleLabelExternalDefaults = DuetStringsExternalDefaults;
|
|
19324
|
+
this.accessibleLabelExternal = getLocaleString(this.accessibleLabelExternalDefaults);
|
|
19325
|
+
this.external = false;
|
|
17257
19326
|
}
|
|
17258
19327
|
/**
|
|
17259
19328
|
* Component lifecycle events.
|
|
@@ -17261,17 +19330,26 @@ class DuetSlideoutLink {
|
|
|
17261
19330
|
componentWillLoad() {
|
|
17262
19331
|
inheritGlobalTheme(this);
|
|
17263
19332
|
}
|
|
19333
|
+
connectedCallback() {
|
|
19334
|
+
connectLanguageChangeObserver(this, {
|
|
19335
|
+
prop: "accessibleLabelExternal",
|
|
19336
|
+
defaults: "accessibleLabelExternalDefaults",
|
|
19337
|
+
});
|
|
19338
|
+
}
|
|
19339
|
+
disconnectedCallback() {
|
|
19340
|
+
disconnectLanguageChangeObserver(this);
|
|
19341
|
+
}
|
|
17264
19342
|
/**
|
|
17265
19343
|
* render() function
|
|
17266
19344
|
* Always the last one in the class.
|
|
17267
19345
|
*/
|
|
17268
19346
|
render() {
|
|
17269
|
-
return (hAsync(Host, { key: '
|
|
19347
|
+
return (hAsync(Host, { key: 'e550af12584f602566859a45b7cbee36a7aae43e' }, hAsync("a", { key: '414c6a6a1fb91c95f3d241b0a9c90b13bb4c0793', target: !this.href ? null : this.external ? "_blank" : "_self", class: {
|
|
17270
19348
|
"duet-slideout-link": true,
|
|
17271
19349
|
"duet-theme-turva": this.theme === "turva",
|
|
17272
19350
|
active: this.active,
|
|
17273
19351
|
[this.size]: true,
|
|
17274
|
-
}, 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: '
|
|
19352
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", lang: this.targetLanguage, hreflang: this.targetLanguage, "aria-label": (this.href && getAccessibleLinkLabel(this)) || this.accessibleLabel, rel: this.external ? "noopener" : undefined }, this.icon && (hAsync("duet-icon", { key: 'd8c1ebd401cd5e022ac9e4a1204133a336d3a2b7', name: this.icon, color: "secondary", size: this.menuItem ? "x-small" : "medium", margin: "none" })), hAsync("div", { key: '473fe104cec5068f8f4bd4d5ee4e928de4bc268a', class: "label" }, hAsync("span", { key: '425d0d0252417d78b704a7f294577110048729bc' }, hAsync("span", { key: 'ba72671d83eee86369e9408738a00a44331bbf95', class: "label-container" }, hAsync("span", { key: '907ae07b430dd127c8fb7931d3432b4e84d2b885', class: "label-content" }, hAsync("slot", { key: '3ed0ebaace8750688a19520a5e7f5d1606a6dc00' })), this.external && (hAsync("duet-icon", { key: 'f872b62d2c5757e7a0d059092cc143f4cb683abe', class: "external-icon", theme: this.theme, name: actionNewWindowSmall.title, margin: "none", size: "auto", color: "currentColor" }))), hAsync("slot", { key: '19c6036aa3e972f49c02e5c66f7c5856601da94e', name: "description" })), this.caret && (hAsync("duet-icon", { key: '1f649b48aff0af010198404d37f1df359fa5a043', name: "action-arrow-right", color: "secondary", size: "x-small", margin: "none" }))))));
|
|
17275
19353
|
}
|
|
17276
19354
|
get element() { return getElement(this); }
|
|
17277
19355
|
static get style() { return DuetSlideoutLinkStyle0; }
|
|
@@ -17287,7 +19365,10 @@ class DuetSlideoutLink {
|
|
|
17287
19365
|
"icon": [1537],
|
|
17288
19366
|
"size": [1537],
|
|
17289
19367
|
"caret": [1028],
|
|
17290
|
-
"menuItem": [4, "menu-item"]
|
|
19368
|
+
"menuItem": [4, "menu-item"],
|
|
19369
|
+
"accessibleLabelExternalDefaults": [1, "accessible-label-external-default"],
|
|
19370
|
+
"accessibleLabelExternal": [1025, "accessible-label-external"],
|
|
19371
|
+
"external": [4]
|
|
17291
19372
|
},
|
|
17292
19373
|
"$listeners$": undefined,
|
|
17293
19374
|
"$lazyBundleId$": "-",
|
|
@@ -17431,23 +19512,23 @@ class DuetSlideoutPanel {
|
|
|
17431
19512
|
};
|
|
17432
19513
|
const exitTranslation = getLocaleString(this.exitLangObject);
|
|
17433
19514
|
const backTranslation = getLocaleString(this.backLangObject);
|
|
17434
|
-
return (hAsync(Host, { key: '
|
|
19515
|
+
return (hAsync(Host, { key: 'a710fcd33474df65bbe83049ae28e187effd69ae' }, hAsync("div", { key: 'fe869129deed68044a9f2481c205d080cd330b2a', class: {
|
|
17435
19516
|
"duet-slideout-panel": true,
|
|
17436
19517
|
"duet-theme-turva": this.theme === "turva",
|
|
17437
19518
|
active: this.open,
|
|
17438
|
-
} }, hAsync("button", { key: '
|
|
19519
|
+
} }, hAsync("button", { key: '8a24f464c102b7c76c02b5acca1cb2e908555178', 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: {
|
|
17439
19520
|
link: true,
|
|
17440
19521
|
active: this.active,
|
|
17441
|
-
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '
|
|
19522
|
+
}, onClick: this.onClick, inert: this.open }, this.icon && (hAsync("div", { key: '664e55c2ca66476e87fa06a4eae62611e36e43b7', class: "duet-slideout-icon" }, hAsync("duet-icon", { key: 'de6f7888ca1f7a98f68295cdab35aa37951ad364', name: this.icon, size: "medium", margin: "none", color: "secondary" }), this.badge && hAsync("div", { key: 'e3dc40373f694ff41a804d29a9e323a95aafc443', class: "duet-slideout-badge" }))), hAsync("span", { key: '430e44ec6d63d207f7d0c5daccb6c0ec3855331b', class: "label" }, hAsync("span", { key: '54f5dd510db6b7b2210b6dfefb6b45c6c5d5291c', class: { "label-text": true, [this.labelSize]: true } }, hAsync("slot", { key: 'e5c11e4b9011bf989df3035c09d760d536a81ab2', name: "label" })), hAsync("duet-icon", { key: '75ca92a7f5340d296f7672f24f349b02bb44c035', class: "caret", name: "action-arrow-right", margin: "none", size: "x-small", color: "secondary" }))), hAsync("div", { key: '656e51077667f5439a4d15b62570e34367d012cb', ref: element => (this.dialog = element), class: {
|
|
17442
19523
|
dialog: true,
|
|
17443
19524
|
hidden: !this.open,
|
|
17444
|
-
}, style: styles }, hAsync(FocusGuard, { key: '
|
|
19525
|
+
}, style: styles }, hAsync(FocusGuard, { key: 'b77848293b232403fdd8ad8a60b113a91ddbc721', moveFocusTo: this.closeButton }), hAsync("div", { key: '80d042265606b8ecdbf2c26379a9c8f9a8659cbc', class: { "top-container": true, "has-sticky-header-slot": this.hasStickyHeaderSlot } }, hAsync("div", { key: '8afeafcbef97a3f50614baa1e070a5a52ab7a8ae', class: "top" }, hAsync("button", { key: '43aa773b6c0590cfec9b967e56a10e29cb3ec384', ref: element => (this.closeButton = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", "aria-label": `${backTranslation}`, type: "button", class: {
|
|
17445
19526
|
back: true,
|
|
17446
|
-
}, onClick: this.onClick }, hAsync("duet-icon", { key: '
|
|
19527
|
+
}, onClick: this.onClick }, hAsync("duet-icon", { key: 'aa92eb201a646609e6b07cfc5784a7b45b4edd88', class: "caret", name: "action-arrow-left", margin: "none", size: "small", color: "secondary" })), hAsync("span", { key: '87e20bf173b45a95f21ae12b7ccda422f23bb65c' }, this.label.innerHTML), hAsync("button", { key: '956cac2cdd217b51c1a95b6dac24eb752c1b3e8a', class: "close", type: "button", onClick: this.onCloseClick, "aria-label": `${exitTranslation}` }, hAsync("duet-icon", { key: '83df0e158d36a13e6aea98a1d2d0473c039305c2', name: "navigation-close", size: "small", margin: "none", color: "secondary" }))), hAsync("div", { key: 'ddf1937be4406b7f411cb78b676e9a7dc0ada529', class: "sticky-header" }, hAsync("slot", { key: '66a7f892da69baf18f0c371c0ecfd9a21d9d2f08', name: "sticky-header" }))), hAsync("div", { key: '2eeb327bce4ea692cef4c5b9c8742f0bf7f19e47', tabindex: "-1", role: "menu",
|
|
17447
19528
|
//TODO: slideout menu fades out, needs to be instant
|
|
17448
19529
|
id: "menu", "aria-labelledby": "button", class: {
|
|
17449
19530
|
items: true,
|
|
17450
|
-
} }, hAsync("slot", { key: '
|
|
19531
|
+
} }, hAsync("slot", { key: '74cce3b2ebaffc2b345804e6fe417912db8e72e2' })), hAsync(FocusGuard, { key: '259710cbfb6565bfc2f542d78513017882dc507d', moveFocusTo: this.closeButton })))));
|
|
17451
19532
|
}
|
|
17452
19533
|
get element() { return getElement(this); }
|
|
17453
19534
|
static get watchers() { return {
|
|
@@ -17517,16 +19598,16 @@ class DuetSlideoutPanelDropdown {
|
|
|
17517
19598
|
* Always the last one in the class.
|
|
17518
19599
|
*/
|
|
17519
19600
|
render() {
|
|
17520
|
-
return (hAsync(Host, { key: '
|
|
19601
|
+
return (hAsync(Host, { key: '4dd2ace190b42dc603842e0a68bede86a0576849' }, hAsync("div", { key: '3bcae1d437eb66927c58c9d6394668f7e89b96c0', class: {
|
|
17521
19602
|
"duet-slideout-panel-dropdown": true,
|
|
17522
19603
|
"duet-theme-turva": this.theme === "turva",
|
|
17523
19604
|
active: this.open,
|
|
17524
|
-
} }, hAsync("button", { key: '
|
|
19605
|
+
} }, hAsync("button", { key: '0dc6a0b34fe49504c0a3d50e2d3bc5b46f0edf47', 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: {
|
|
17525
19606
|
active: this.active,
|
|
17526
|
-
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '
|
|
19607
|
+
}, onClick: this.onClick }, this.icon && hAsync("duet-icon", { key: '0210db38d3f9ddcfb8d06635554d6d59a655fdf9', name: this.icon, size: "medium", margin: "none", color: "secondary" }), hAsync("span", { key: '4cd6d589071a450df12bad944193b1cb1ad884ce', class: "label" }, hAsync("slot", { key: '9426c6a0c178440bb061f2beab412bc89aaab672', name: "label" }), hAsync("duet-icon", { key: '1e1c91b9e194bc0e96b46659e469447ea8a189f2', class: "caret", name: "action-arrow-down-small", margin: "none", size: "xx-small", color: "secondary" }))), hAsync("div", { key: '05ac5933fa4af767dd52ac778b7a95a9fdf30a1c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
17527
19608
|
items: true,
|
|
17528
19609
|
hidden: !this.open,
|
|
17529
|
-
} }, hAsync("slot", { key: '
|
|
19610
|
+
} }, hAsync("slot", { key: '5d9e9507bb4d8ec3ce3dcc4101b9a1ff432af55a' })))));
|
|
17530
19611
|
}
|
|
17531
19612
|
get element() { return getElement(this); }
|
|
17532
19613
|
static get style() { return DuetSlideoutPanelDropdownStyle0; }
|
|
@@ -17561,7 +19642,7 @@ class DuetSpacer {
|
|
|
17561
19642
|
* Always the last one in the class.
|
|
17562
19643
|
*/
|
|
17563
19644
|
render() {
|
|
17564
|
-
return (hAsync(Host, { key: '
|
|
19645
|
+
return (hAsync(Host, { key: '37319380d158f854c7b73b9fc3360a521c6660a3', class: {
|
|
17565
19646
|
"duet-spacer": true,
|
|
17566
19647
|
"duet-spacer-xx-small": this.breakpoint === "xx-small",
|
|
17567
19648
|
"duet-spacer-x-small": this.breakpoint === "x-small",
|
|
@@ -17612,11 +19693,11 @@ class DuetSpinner {
|
|
|
17612
19693
|
*/
|
|
17613
19694
|
render() {
|
|
17614
19695
|
const color = this.color === "currentColor" ? "currentColor" : getColorByName(this.color);
|
|
17615
|
-
return (hAsync(Host, { key: '
|
|
19696
|
+
return (hAsync(Host, { key: 'def09b6729906cf4ce285aaae09c5d25232eccd3', class: {
|
|
17616
19697
|
"duet-custom-color": this.color !== "currentColor" && this.theme !== "turva" && this.theme !== "default",
|
|
17617
19698
|
"duet-theme-turva": this.theme === "turva" && this.color !== "currentColor",
|
|
17618
19699
|
"duet-theme-default": this.theme === "default" && this.color !== "currentColor",
|
|
17619
|
-
} }, hAsync("div", { key: '
|
|
19700
|
+
} }, hAsync("div", { key: 'c288229cd2603d51ad54de0bab9017bfdc53ac73', class: {
|
|
17620
19701
|
"duet-spinner": true,
|
|
17621
19702
|
[this.size]: true,
|
|
17622
19703
|
}, style: { color }, "aria-label": this.accessibleLabel })));
|
|
@@ -17705,10 +19786,10 @@ class DuetStatusIcon {
|
|
|
17705
19786
|
}
|
|
17706
19787
|
}
|
|
17707
19788
|
render() {
|
|
17708
|
-
return (hAsync(Host, { key: '
|
|
19789
|
+
return (hAsync(Host, { key: '3f55d55c4c4a2b1d600dc40d12463f217add88b1', class: {
|
|
17709
19790
|
[`duet-status-icon-${this.variation}`]: true,
|
|
17710
19791
|
"duet-strong-bg": this.strong,
|
|
17711
|
-
} }, hAsync("duet-icon", { key: '
|
|
19792
|
+
} }, hAsync("duet-icon", { key: 'e45fb67068cc9f4bfe66554808f1b47888bd86a8', icon: this.getIcon(), size: this.size, margin: this.margin })));
|
|
17712
19793
|
}
|
|
17713
19794
|
static get cmpMeta() { return {
|
|
17714
19795
|
"$flags$": 9,
|
|
@@ -17936,7 +20017,7 @@ class DuetStepper {
|
|
|
17936
20017
|
* Always the last one in the class.
|
|
17937
20018
|
*/
|
|
17938
20019
|
render() {
|
|
17939
|
-
return (hAsync(Host, { key: '
|
|
20020
|
+
return (hAsync(Host, { key: '1610872b3116487ea00058e453cbc05beb944c0d', class: { "duet-m-0": this.margin === "none" } }, hAsync("div", { key: 'a3c844eacac0fe68ba12bf98ae281b377e682c02', class: { "duet-stepper": true, "duet-theme-turva": this.theme === "turva" } }, hAsync("duet-visually-hidden", { key: 'cfb5cb389a4790fe4e65113e777c0773050fc8bc', "aria-live": "polite", "aria-atomic": "true", "aria-relevant": "all" }, this.formatAnnouncement()), hAsync("slot", { key: '26d446f0b321cce787c514db98fe94d902382201' }))));
|
|
17940
20021
|
}
|
|
17941
20022
|
get element() { return getElement(this); }
|
|
17942
20023
|
static get watchers() { return {
|
|
@@ -18081,19 +20162,19 @@ class DuetSubmenuBar {
|
|
|
18081
20162
|
* Always the last one in the class.
|
|
18082
20163
|
*/
|
|
18083
20164
|
render() {
|
|
18084
|
-
return (hAsync(Host, { key: '
|
|
20165
|
+
return (hAsync(Host, { key: 'fec25f6c8b5983923f591d756decc5ae3404de5e' }, hAsync("nav", { key: '6f812f5da82df3218d6de29f655d2596ed865a4d', class: {
|
|
18085
20166
|
"duet-submenu-bar": true,
|
|
18086
20167
|
"duet-theme-turva": this.theme === "turva",
|
|
18087
20168
|
hidden: this.hidden,
|
|
18088
|
-
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '
|
|
20169
|
+
}, "aria-label": this.accessibleLabel }, this.hasItems && (hAsync("button", { key: '5e8ab90a4e09dbd7746b1405d3ea92615a439dd7', ref: element => (this.button = element), "aria-haspopup": "menu", "aria-controls": "menu", "aria-expanded": this.open ? "true" : "false", id: "button", type: "button", class: {
|
|
18089
20170
|
active: this.open,
|
|
18090
|
-
}, onClick: this.onClick }, hAsync("span", { key: '
|
|
20171
|
+
}, onClick: this.onClick }, hAsync("span", { key: '1f2ed95c73d93faf4ba71d7984e00488137250d1', class: "label" }, hAsync("slot", { key: '5ca819d2a6f97bb4c9e75f2ea024187f76af67e2', name: "label" }), hAsync("duet-icon", { key: '3b1a4bcac49bec29f344a38e5f743aaeb63f59a0', theme: this.theme, class: "caret", name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" })))), hAsync("div", { key: '01e35b212a44a4bb39a8fd5cc5a694b94dcb1ccb', class: {
|
|
18091
20172
|
"menu-container": true,
|
|
18092
20173
|
hidden: !this.open,
|
|
18093
|
-
}, role: "presentation" }, hAsync("div", { key: '
|
|
20174
|
+
}, role: "presentation" }, hAsync("div", { key: '5f94254c66db242ce904ddfd963f6dbe7f4337b6', role: this.mobile ? "menu" : null, id: "menu", "aria-labelledby": this.mobile ? "button" : null, "aria-expanded": this.mobile ? (this.open ? "true" : "false") : null, class: {
|
|
18094
20175
|
items: true,
|
|
18095
20176
|
hidden: !this.open,
|
|
18096
|
-
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: '
|
|
20177
|
+
}, ref: element => (this.itemsContainer = element) }, hAsync("div", { key: 'be03e176ea88bf9b83e506a67470747a4f30b9ee', class: "list", role: this.mobile ? "presentation" : "list" }, hAsync("slot", { key: '1ba101226680d98cffade2702cbe6f6c40432146' }), hAsync("div", { key: 'c51c2e13e3f5a24edf28dba162ee0602666ca1f9', class: "list-padding" }))), hAsync("duet-overlay", { key: '5b93e09b26a80acce10526710c818c0017d74627', "keep-stacking-context": true, visible: this.open, "display-device": "not-large", transition: "immediate" })))));
|
|
18097
20178
|
}
|
|
18098
20179
|
get element() { return getElement(this); }
|
|
18099
20180
|
static get watchers() { return {
|
|
@@ -18214,18 +20295,18 @@ class DuetSubmenuBarDropdown {
|
|
|
18214
20295
|
* Always the last one in the class.
|
|
18215
20296
|
*/
|
|
18216
20297
|
render() {
|
|
18217
|
-
return (hAsync(Host, { key: '
|
|
20298
|
+
return (hAsync(Host, { key: 'b3ceba0158daeda5a08cdbb24998e6a5621a3703', role: "listitem" }, hAsync("div", { key: '7151474e27716eb431d4e91c40df63183b3a7aa3', class: {
|
|
18218
20299
|
"duet-submenu-bar-dropdown": true,
|
|
18219
20300
|
"duet-theme-turva": this.theme === "turva",
|
|
18220
20301
|
open: this.open,
|
|
18221
20302
|
active: this.active,
|
|
18222
|
-
} }, hAsync("button", { key: '
|
|
20303
|
+
} }, hAsync("button", { key: '5c52390b4c51542e2f964c334678b69bbd579520', 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: {
|
|
18223
20304
|
open: this.open,
|
|
18224
20305
|
active: this.active,
|
|
18225
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
20306
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'b54bb41ddf9a8743c91ca00b851f278ed01be2d3', class: "submenu-bar-dropdown-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: '5e48f0afd254dc828b65347ed8b9503a258cf2fa', class: "label" }, hAsync("span", { key: '11e104876c90fb056e2ec497e48a8ab634bcaf90', class: "label-text" }, hAsync("slot", { key: 'a5eba5494cfa87a94cfa0f7a6b9614f5e84127e5', name: "label" })), hAsync("duet-icon", { key: '954b21321b8f10dda0da3e8b049157bd6ac52b49', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: 'f2cbdcc7f153986c5d76351fb27070eb233cf68c', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
18226
20307
|
items: true,
|
|
18227
20308
|
hidden: !this.open,
|
|
18228
|
-
} }, hAsync("slot", { key: '
|
|
20309
|
+
} }, hAsync("slot", { key: '4e14b8e2e6c20c4fa8e9e90b34047a6a790ff5e6' })))));
|
|
18229
20310
|
}
|
|
18230
20311
|
get element() { return getElement(this); }
|
|
18231
20312
|
static get style() { return DuetSubmenuBarDropdownStyle0; }
|
|
@@ -18277,12 +20358,12 @@ class DuetSubmenuBarDropdownLink {
|
|
|
18277
20358
|
* Always the last one in the class.
|
|
18278
20359
|
*/
|
|
18279
20360
|
render() {
|
|
18280
|
-
return (hAsync(Host, { key: '
|
|
20361
|
+
return (hAsync(Host, { key: 'f80ee91cccb915e476e1f572f9656985c2028978' }, hAsync("a", { key: '8a53200290262940ac11346d9d7526afed459893', class: {
|
|
18281
20362
|
"duet-submenu-bar-dropdown-link": true,
|
|
18282
20363
|
"duet-theme-turva": this.theme === "turva",
|
|
18283
20364
|
highlight: this.highlight,
|
|
18284
20365
|
active: this.active,
|
|
18285
|
-
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '
|
|
20366
|
+
}, "aria-current": this.active ? "true" : "false", href: this.href, onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: '006a4ba73b60083703dbcc084263b8a721c320d7', name: this.icon, size: "x-small", margin: "none", color: "currentColor" }), hAsync("span", { key: '9450f9f49041afd67cd79bf8c9b3ea0094cef6ce', class: "label-container" }, hAsync("span", { key: 'f0e0d4882fd97aeb7c33c29e68be8c4ee40302f8', class: "label" }, hAsync("slot", { key: 'a72b1bcc2fcd65022d09fea90b1c7c957e54ffb5' })), this.caret && hAsync("duet-icon", { key: '795f6f318bde5239cf79fa96a4a915e42032e5d1', name: "action-arrow-right-small", size: "xxx-small", margin: "none" })), this.active && (hAsync("duet-icon", { key: 'd79f93df8837c4e201869a960f8f7a53783b7852', class: "active-check", name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
18286
20367
|
}
|
|
18287
20368
|
get element() { return getElement(this); }
|
|
18288
20369
|
static get style() { return DuetSubmenuBarDropdownLinkStyle0; }
|
|
@@ -18356,7 +20437,7 @@ class DuetSubmenuBarItem {
|
|
|
18356
20437
|
render() {
|
|
18357
20438
|
const TagName = this.url ? "a" : "button";
|
|
18358
20439
|
const role = this.url ? "link" : "button";
|
|
18359
|
-
return (hAsync(Host, { key: '
|
|
20440
|
+
return (hAsync(Host, { key: '4f756bb5d0c55701f39ebf12163f4cb3c012b82d', role: "listitem" }, hAsync(TagName, { key: 'b56d439030bf2f1404182a33c1163053e95a197d', 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: '822cf51d5d913baf86769986bd55bef7d6a0883a', class: "leading-icon", theme: this.theme, name: this.leadingIcon, size: "auto", margin: "none", color: "currentColor" })), hAsync("div", { key: 'f7bae35be4b779f37353b53df8d0169ea73a1838', class: "label" }, hAsync("span", { key: 'd6ad26e44b91ab1d3cf1e8fddb7ae97a40fa226b', class: "label-text" }, hAsync("slot", { key: '6a69204d83f659345eb5ff39d1549f99b30a3bbc' })), (this.trailingIcon || this.external) && (hAsync("duet-icon", { key: '8c47a9f36d1531a4f29b8da89d02174d663cbf24', class: {
|
|
18360
20441
|
"trailing-icon": !!this.trailingIcon,
|
|
18361
20442
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
18362
20443
|
"external-icon": !!this.external,
|
|
@@ -18417,7 +20498,7 @@ class DuetSubmenuBarLink {
|
|
|
18417
20498
|
* Always the last one in the class.
|
|
18418
20499
|
*/
|
|
18419
20500
|
render() {
|
|
18420
|
-
return (hAsync(Host, { key: '
|
|
20501
|
+
return (hAsync(Host, { key: '51e5c82b88f45b2a32b9007c1cba3c28bebb0f76', role: "listitem" }, hAsync("a", { key: '777ef8ad98f32b4be821e576e7085b767e2c80ac', 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: 'eb80ccc57229a8a448d32e17695c7f573805f967', class: "submenu-bar-link-icon", theme: this.theme, name: this.icon, size: "auto", margin: "none", color: "currentColor" })), hAsync("span", { key: '3dc063ad2c8b8fb92d1d292205dcf5ea82889b4f', class: "label" }, hAsync("slot", { key: '2274f12f2198558e45a4b79c828c06cf9bb7f1c0' })))));
|
|
18421
20502
|
}
|
|
18422
20503
|
get element() { return getElement(this); }
|
|
18423
20504
|
static get style() { return DuetSubmenuBarLinkStyle0; }
|
|
@@ -18767,23 +20848,23 @@ class DuetTabGroup {
|
|
|
18767
20848
|
[`duet-notification-mark-${element.notificationMark}`]: !!element.notificationMark,
|
|
18768
20849
|
[largeBreakpoint]: ["default", "plain", "plain-scrolling"].includes(this.variation) ? true : false,
|
|
18769
20850
|
}, 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))));
|
|
18770
|
-
return (hAsync("div", { key: '
|
|
20851
|
+
return (hAsync("div", { key: '3c43b90c86da8b84482d816d06e6a3218aaf365c', class: {
|
|
18771
20852
|
"duet-tab-group": true,
|
|
18772
20853
|
"duet-theme-turva": this.theme === "turva",
|
|
18773
20854
|
[variationClass]: true,
|
|
18774
20855
|
"duet-tab-plain-scrolling": this.variation === "plain-scrolling",
|
|
18775
20856
|
"duet-tab-group-scrolls": true,
|
|
18776
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
20857
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'be929248e27f557e9f274427cf36320db7e0ae52', role: "tablist", class: {
|
|
18777
20858
|
"duet-m-0": this.margin === "none" || this.variation === "checked",
|
|
18778
20859
|
"duet-tab-group-tabs": true,
|
|
18779
20860
|
"duet-tab-group-hidden": this.tabs.length > 3 && !isSwipeScrollable,
|
|
18780
20861
|
}, ref: el => {
|
|
18781
20862
|
this.tabsContainer = el;
|
|
18782
|
-
} }, 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: '
|
|
20863
|
+
} }, 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", theme: this.theme }, buttons))), hAsync("div", { key: '07d2edc0e8a9935d414571297699b8aa6e6faeab', class: {
|
|
18783
20864
|
"duet-tab-group-content": true,
|
|
18784
20865
|
"duet-m-0": this.margin === "none",
|
|
18785
20866
|
"checked-group-content": this.variation === "checked",
|
|
18786
|
-
} }, hAsync("slot", { key: '
|
|
20867
|
+
} }, hAsync("slot", { key: 'dd98577cd851f44400d93b04a5bd14e3117d9618' }))));
|
|
18787
20868
|
}
|
|
18788
20869
|
get element() { return getElement(this); }
|
|
18789
20870
|
static get style() { return DuetTabGroupStyle0; }
|
|
@@ -18888,7 +20969,7 @@ class DuetTable {
|
|
|
18888
20969
|
}
|
|
18889
20970
|
}
|
|
18890
20971
|
render() {
|
|
18891
|
-
return (hAsync(Host, { key: '
|
|
20972
|
+
return (hAsync(Host, { key: 'b3ed604b2b5f0b8e31f7b90abc64693662bfef3d', class: {
|
|
18892
20973
|
[`duet-table-${this.variation}`]: true,
|
|
18893
20974
|
"duet-table-flattened": !this.matchesBreakpoint,
|
|
18894
20975
|
// sticky only valid when in regular table layout
|
|
@@ -18897,7 +20978,7 @@ class DuetTable {
|
|
|
18897
20978
|
"duet-m-0": this.margin === "none",
|
|
18898
20979
|
"duet-theme-turva": this.theme === "turva",
|
|
18899
20980
|
"duet-table-hide-head-visually": this.hideHeadVisually,
|
|
18900
|
-
} }, hAsync("slot", { key: '
|
|
20981
|
+
} }, hAsync("slot", { key: '29df6d3c640fbf3a7fa51b73323c3628246d3095' })));
|
|
18901
20982
|
}
|
|
18902
20983
|
get element() { return getElement(this); }
|
|
18903
20984
|
static get watchers() { return {
|
|
@@ -19279,11 +21360,11 @@ class DuetToolbar {
|
|
|
19279
21360
|
: this.variation === "secondary"
|
|
19280
21361
|
? "secondary"
|
|
19281
21362
|
: "default";
|
|
19282
|
-
return (hAsync(Host, { key: '
|
|
21363
|
+
return (hAsync(Host, { key: '6ea0ca6e03a956c5c11e6b6b67802a8344e6f3d8' }, hAsync("nav", { key: '8937fd46b558b273ee838a47b14b9810c074829d', class: {
|
|
19283
21364
|
"duet-toolbar": true,
|
|
19284
21365
|
"duet-theme-turva": this.theme === "turva",
|
|
19285
21366
|
[variation]: true,
|
|
19286
|
-
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: '
|
|
21367
|
+
}, "aria-label": this.accessibleLabel }, hAsync("div", { key: 'c8aa7075e8ab33484f13a8ef7ac8b2127b30ffe2', class: "container" }, hAsync("div", { key: '76d2daf0e82846945f3510cbc21fc26e8d29936c', class: "list", role: "list" }, hAsync("slot", { key: '12bced2c765270ea94a844b9c68d993e9d43f245', name: "left" })), hAsync("div", { key: 'fed6a6058becea2b85d0131488e212967ee9530f', class: "list", role: "list" }, hAsync("slot", { key: 'e51cf22766660164cbd150a6203d8e55929dd40c', name: "right" }))))));
|
|
19287
21368
|
}
|
|
19288
21369
|
get element() { return getElement(this); }
|
|
19289
21370
|
static get style() { return DuetToolbarStyle0; }
|
|
@@ -19351,18 +21432,18 @@ class DuetToolbarDropdown {
|
|
|
19351
21432
|
itemsAlign = this.element.parentElement.getAttribute("slot") === "left" ? "right" : "left";
|
|
19352
21433
|
}
|
|
19353
21434
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19354
|
-
return (hAsync(Host, { key: '
|
|
21435
|
+
return (hAsync(Host, { key: '71c0427eecb0676263c35bff4557210701d27e6f', role: "listitem" }, hAsync("div", { key: 'a5038335629483dcf2d049129ebfed49eae6a457', class: {
|
|
19355
21436
|
"duet-toolbar-dropdown": true,
|
|
19356
21437
|
"duet-theme-turva": this.theme === "turva",
|
|
19357
21438
|
[itemsAlign]: true,
|
|
19358
21439
|
[variation]: true,
|
|
19359
|
-
} }, hAsync("button", { key: '
|
|
21440
|
+
} }, hAsync("button", { key: '5be6ce290e94c6e03c8c49336f4ef50e4283a92a', 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: {
|
|
19360
21441
|
active: this.active,
|
|
19361
21442
|
open: this.open,
|
|
19362
|
-
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: '
|
|
21443
|
+
}, onClick: this.onClick, onKeyUp: e => this.handleEscape(e) }, this.icon && (hAsync("duet-icon", { key: 'e4e5076e21a084d205cb550946f6a7914911a4e9', theme: this.theme, name: this.icon, size: "x-small", margin: "none", color: "currentColor" })), hAsync("span", { key: '4a79cbc7d59d30c5f763050c44c61c03ae502e74', class: "label" }, hAsync("slot", { key: 'adecb2560eba25c9bdb1872fedc29c6b98c4d343', name: "label" }), hAsync("duet-icon", { key: 'ef92b887f19bd4145ae89b3d6ab05be6c3b2fcd0', class: "caret", theme: this.theme, name: "action-arrow-down-small", margin: "none", size: "xxx-small", color: "currentColor" }))), hAsync("div", { key: '61bb1eff472548331aab26b636fb4606fbc982f7', tabindex: "-1", role: "menu", id: "menu", "aria-labelledby": "button", class: {
|
|
19363
21444
|
items: true,
|
|
19364
21445
|
hidden: !this.open,
|
|
19365
|
-
} }, hAsync("slot", { key: '
|
|
21446
|
+
} }, hAsync("slot", { key: 'bdbb39527038baf411f9f4770cf594bdb3e86378' })))));
|
|
19366
21447
|
}
|
|
19367
21448
|
get element() { return getElement(this); }
|
|
19368
21449
|
static get style() { return DuetToolbarDropdownStyle0; }
|
|
@@ -19415,11 +21496,11 @@ class DuetToolbarDropdownLink {
|
|
|
19415
21496
|
* Always the last one in the class.
|
|
19416
21497
|
*/
|
|
19417
21498
|
render() {
|
|
19418
|
-
return (hAsync(Host, { key: '
|
|
21499
|
+
return (hAsync(Host, { key: '1c874f9ed81beb0ee19f1675e95dffd0a193e2ce' }, hAsync("a", { key: '8b04559cb61b8c25ecfd1511cc07de5a260f70bf', class: {
|
|
19419
21500
|
"duet-toolbar-dropdown-link": true,
|
|
19420
21501
|
"duet-theme-turva": this.theme === "turva",
|
|
19421
21502
|
active: this.active,
|
|
19422
|
-
}, 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: '
|
|
21503
|
+
}, href: this.href, lang: this.targetLanguage, hreflang: this.targetLanguage, role: "link menuitem", "aria-label": this.accessibleLabel, "aria-current": this.active ? "true" : "false", onKeyUp: e => this.handleEscape(e) }, this.icon && hAsync("duet-icon", { key: 'c58dd6c5edc6a41fe20c73876cbe5637b9d389ba', name: this.icon, size: "x-small", margin: "none" }), hAsync("span", { key: '93d7b57557f9999e2a790a94407e098a3b43350f', class: "label" }, hAsync("slot", { key: '3ef98fd8e64aebc17df819a375c2e38207ccf3aa' })), this.active && (hAsync("duet-icon", { key: 'a77c71f91778c5e70c0c23decc3ea9e23168422d', name: "messaging-checked-small", size: "xx-small", margin: "none", color: "currentColor" })))));
|
|
19423
21504
|
}
|
|
19424
21505
|
get element() { return getElement(this); }
|
|
19425
21506
|
static get style() { return DuetToolbarDropdownLinkStyle0; }
|
|
@@ -19494,17 +21575,17 @@ class DuetToolbarItem {
|
|
|
19494
21575
|
: this.variation === "secondary"
|
|
19495
21576
|
? "secondary"
|
|
19496
21577
|
: "default";
|
|
19497
|
-
return (hAsync(Host, { key: '
|
|
21578
|
+
return (hAsync(Host, { key: 'c0d5061e7e445fe00600142c5ab9487d8a14be1c', role: "listitem" }, hAsync(TagName, { key: '74aee7fa6cd8f841f47393875699e69880e1ddca', target: !this.url ? null : this.external ? "_blank" : "_self", ref: element => (this.itemElement = element), class: {
|
|
19498
21579
|
"duet-toolbar-item": true,
|
|
19499
21580
|
"duet-theme-turva": this.theme === "turva",
|
|
19500
21581
|
active: this.active,
|
|
19501
21582
|
[variation]: true,
|
|
19502
|
-
}, 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: '
|
|
21583
|
+
}, href: this.url, role: `${TagName === "a" ? "link" : "button"}`, "aria-current": this.active ? "true" : "false", "aria-label": (this.url && getAccessibleLinkLabel(this)) || this.accessibleLabel, "aria-expanded": this.accessibleExpanded != null ? this.accessibleExpanded.toString() : undefined, "aria-haspopup": this.accessiblePopup != null ? this.accessiblePopup.toString() : undefined, rel: this.external ? "noopener" : undefined }, this.leadingIcon && (hAsync("div", { key: 'bbd475ae20380e88619c9c5e66a863cd42f1ddd9', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '771702c41bdcfc96e85998faf3e491e06a89d858', size: "x-small", name: this.leadingIcon, margin: "none", theme: this.theme, color: "currentColor" }), this.badge && hAsync("div", { key: '5d8ef6d9d2423149d40ab6fe7d76962dee157f54', class: "duet-toolbar-badge" }))), hAsync("slot", { key: 'f8e1cd47bf03ee4665d3ba89aaca4f159cd64a79' }), (this.trailingIcon || (this.url && this.external)) && (hAsync("div", { key: '850853f0ba43f5fcdbecdfc136abc16503adfe03', class: "duet-toolbar-icon" }, hAsync("duet-icon", { key: '1691701310387fd3b9fc66a3e52a0773e17690f9', class: {
|
|
19503
21584
|
"trailing-icon": !!this.trailingIcon,
|
|
19504
21585
|
"trailing-icon-arrow": this.trailingIcon === "action-arrow-down-small",
|
|
19505
21586
|
"external-icon": !!(this.url && this.external),
|
|
19506
21587
|
rotate: this.trailingIcon === "action-arrow-down-small" && this.accessibleExpanded,
|
|
19507
|
-
}, 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: '
|
|
21588
|
+
}, theme: this.theme, name: this.trailingIcon ? this.trailingIcon : this.url && this.external ? actionNewWindowSmall.title : "", margin: "none", size: "auto", color: "currentColor" }), this.badge && this.trailingIcon !== "action-arrow-down-small" && hAsync("div", { key: 'eefea78c580bc96af908ae976d2aa95a6dbf3a9b', class: "duet-toolbar-badge" }))))));
|
|
19508
21589
|
}
|
|
19509
21590
|
get element() { return getElement(this); }
|
|
19510
21591
|
static get style() { return DuetToolbarItemStyle0; }
|
|
@@ -19558,12 +21639,12 @@ class DuetToolbarLink {
|
|
|
19558
21639
|
*/
|
|
19559
21640
|
render() {
|
|
19560
21641
|
const variation = this.variation === "negative" ? "negative" : "white";
|
|
19561
|
-
return (hAsync(Host, { key: '
|
|
21642
|
+
return (hAsync(Host, { key: 'a9bad03bed8baaf152e894e7a55ff4320e88a642', role: "listitem" }, hAsync("a", { key: '7d14f4577994ee4bfc3086ba9f5ed9cc5d47c881', class: {
|
|
19562
21643
|
"duet-toolbar-link": true,
|
|
19563
21644
|
"duet-theme-turva": this.theme === "turva",
|
|
19564
21645
|
active: this.active,
|
|
19565
21646
|
[variation]: true,
|
|
19566
|
-
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '
|
|
21647
|
+
}, href: this.href, "aria-current": this.active ? "true" : "false", "aria-label": this.accessibleLabel }, this.icon && (hAsync("duet-icon", { key: '36472408f3522a7a24312231b7986c550acdca94', size: "x-small", name: this.icon, margin: "none", theme: this.theme, color: "currentColor" })), hAsync("slot", { key: '05f975b4b50d0c7d3077501d0f226bff12562381' }))));
|
|
19567
21648
|
}
|
|
19568
21649
|
get element() { return getElement(this); }
|
|
19569
21650
|
static get style() { return DuetToolbarLinkStyle0; }
|
|
@@ -19820,12 +21901,12 @@ class DuetTooltipButton {
|
|
|
19820
21901
|
* Always the last one in the class.
|
|
19821
21902
|
*/
|
|
19822
21903
|
render() {
|
|
19823
|
-
return (hAsync(Host, { key: '
|
|
21904
|
+
return (hAsync(Host, { key: '41e46d97560f847907ab8e0579f54ed4f710454b' }, hAsync("button", { key: '04bbaa44c4a90a0da3558c11604ebcb204830ade', ref: el => (this.buttonElement = el), "aria-controls": this.tooltipId, "aria-expanded": this.active ? "true" : "false", type: "button", class: {
|
|
19824
21905
|
"duet-tooltip-button": true,
|
|
19825
21906
|
"duet-tooltip-button-has-label": !!this.label,
|
|
19826
21907
|
"duet-theme-turva": this.theme === "turva",
|
|
19827
21908
|
"duet-tooltip-button-negative": this.negative,
|
|
19828
|
-
} }, hAsync("svg", { key: '
|
|
21909
|
+
} }, hAsync("svg", { key: '03203d8047a49b233de788ee7434811708a8d1af', "aria-hidden": "true", role: "img", fill: "currentColor", viewBox: "0 0 24 24", xmlns: "http://www.w3.org/2000/svg" }, hAsync("path", { key: '32c2fc2cb086463e7711b179d5282c9711029dfe', 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: '29008bcb7893ae4896b9371711faeeba022fb0bd', cx: "11.625", cy: "7.125", r: "1.125" }), hAsync("path", { key: '8029a29e34ef3994fc8dc402432329bb4eb1e517', 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)))));
|
|
19829
21910
|
}
|
|
19830
21911
|
get element() { return getElement(this); }
|
|
19831
21912
|
static get style() { return DuetTooltipButtonStyle0; }
|
|
@@ -19893,11 +21974,11 @@ class DuetTooltipPopup {
|
|
|
19893
21974
|
this.contentEl.focus();
|
|
19894
21975
|
}
|
|
19895
21976
|
render() {
|
|
19896
|
-
return (hAsync(Host, { key: '
|
|
21977
|
+
return (hAsync(Host, { key: 'dcefd2a138b0d6599a09ff8a72f293ad6c7e891c' }, hAsync("div", { key: 'e3ef1db922edbb62bb6164583422409cca33423b', class: {
|
|
19897
21978
|
"duet-tooltip": true,
|
|
19898
21979
|
"duet-theme-turva": this.theme === "turva",
|
|
19899
21980
|
"duet-tooltip-active": this.active === true,
|
|
19900
|
-
} }, hAsync(FocusGuard, { key: '
|
|
21981
|
+
} }, hAsync(FocusGuard, { key: 'a69785a224b6d332ddef3b3a58a1de92180f0630', moveFocusTo: this.buttonEl }), hAsync("div", { key: '6b9dc31cc5430f788a1a185750bf09135af9d12a', ref: element => (this.contentEl = element), class: "duet-tooltip-content-area", tabindex: 0, id: this.tooltipId }, hAsync("slot", { key: '248ab704fdde7e7f1a9485df5fec73e4577ef454' })), hAsync("div", { key: '47938f76464592121f5516b83e4efeda81b35cc7', ref: element => (this.arrowEl = element), class: { arrow: true, [this.placement]: true }, style: this.arrowStyles }, hAsync("div", { key: 'd619ec83554676708f8d9bc56dfb7bfa9edaaa8d', class: { "arrow-container": true, [this.placement]: true } })), hAsync("button", { key: '2e6b1c12e407e9724d6fd14e8c17c6e1471cce7b', type: "button", class: "duet-tooltip-close", onClick: this.handleCloseClick, ref: el => (this.buttonEl = el) }, hAsync("duet-icon", { key: 'a32ec01897dc04fa3e70b1b2f0f46d59bf55f9b3', name: "navigation-close-small", margin: "none", color: "currentColor", size: "xxx-small" }), hAsync("duet-visually-hidden", { key: 'be53bde5da4a21dd4641a190587e0cb3f27bd7e6' }, this.accessibleCloseLabel)), hAsync(FocusGuard, { key: '7e378988bbb34cc60540a9c475346f0f2faf0544', moveFocusTo: this.contentEl }))));
|
|
19901
21982
|
}
|
|
19902
21983
|
get element() { return getElement(this); }
|
|
19903
21984
|
static get style() { return DuetTooltipPopupStyle0; }
|
|
@@ -20005,14 +22086,14 @@ class DuetTray {
|
|
|
20005
22086
|
* Always the last one in the class.
|
|
20006
22087
|
*/
|
|
20007
22088
|
render() {
|
|
20008
|
-
return (hAsync("div", { key: '
|
|
22089
|
+
return (hAsync("div", { key: '62a748ef2e433a9c2d08652ec04a9a10971a3ac9', class: {
|
|
20009
22090
|
"duet-tray": true,
|
|
20010
22091
|
"duet-tray-is-active": this.active,
|
|
20011
22092
|
"duet-tray-is-hidden": this.hiddenState,
|
|
20012
22093
|
"duet-tray-is-responsive": this.responsive,
|
|
20013
22094
|
"duet-theme-turva": this.theme === "turva",
|
|
20014
22095
|
"duet-tray-is-expandable": this.hasAdditionalContent,
|
|
20015
|
-
} }, hAsync("div", { key: '
|
|
22096
|
+
} }, hAsync("div", { key: 'd33fb1333ae4950b44ab3c86e803548c6a468552', class: "duet-tray-default-content", role: "status" }, hAsync("slot", { key: 'd6ebec5a86056d4e1dbe077afbe5f7ef37984c0c' })), this.hasAdditionalContent && (hAsync(Fragment, { key: '49232fadf33105d0aa26fd5fb7b6e666eedc0b1a' }, hAsync("button", { key: '0859a84faede30184a5f6e731f98fb6aea8f8d5c', "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: '4e5480e755aa9cb9237b6b8f2e8f95270cd9f4d0', name: "action-arrow-down", size: "small", color: "currentColor", margin: "none" }), hAsync("duet-visually-hidden", { key: 'f0dbe2e47e92902228f9ef20810b22486b40db60' }, this.expanded ? this.accessibleCloseLabel : this.accessibleOpenLabel)), hAsync("div", { key: '15c7bb123ddd408339dee76a90706e40e485c6ac', id: this.expandableId, class: { "duet-tray-expandable": true, active: this.expanded } }, hAsync("div", { key: '44cd2bb16519b7c134baeb4042a2e960ddaaf229', class: "duet-tray-expandable-content" }, hAsync("slot", { key: '3e88358f56fb1479159dd0aabc7bd20dc702ece2', name: "additional" })))))));
|
|
20016
22097
|
}
|
|
20017
22098
|
get element() { return getElement(this); }
|
|
20018
22099
|
static get style() { return DuetTrayStyle0; }
|
|
@@ -21128,10 +23209,10 @@ class DuetUpload {
|
|
|
21128
23209
|
this.externalUploadButton.accessibleLabel = `${this.externalUploadButton.innerText}. ${caption}`;
|
|
21129
23210
|
}
|
|
21130
23211
|
// @ts-ignore
|
|
21131
|
-
return (hAsync(Host, { key: '
|
|
23212
|
+
return (hAsync(Host, { key: '38feaf3413c255e5602a19102a388d6711488a96', class: { "duet-m-0": this.margin === "none" } }, hAsync("duet-fieldset", { key: 'f9d0d2c774f44f358468d0e4ce6f782cbcbf3154', "label-heading-level": this.headerHeadingLevel, "label-hidden": this.hideHeader, label: this.label }, hAsync("slot", { key: '842fd73d7a52c84756eb16f16fd7adc45a04e85b', name: "header" }), !this.files.size && (hAsync("duet-empty-state", { key: 'a6395aad02057aee59a1bf6e4c003409c93c3022', id: this.labelId, part: this.identifier ? `${this.identifier}-empty-state` : "duet-upload-empty-state", icon: "messaging-attachment" }, hAsync("duet-paragraph", { key: 'd918e8f0dc3e5259a79f29d32636f53c15be18c9', margin: "none" }, this.fileListEmpty))), !!this.files.size && hAsync("slot", { key: '2404442011955d90a1f97a9c10156de9ef34ca71', name: "fileheader" }), !!this.files.size && (hAsync("duet-upload-aria-status", { key: '904339cf1df017bbd912a030102b9fc834c3ffd1', 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: '0ae4715f3f753a29fc05173d5322d9c3cc44c90d', name: "filefooter" }), hAsync("slot", { key: '4d803341b66718656b31b5f934fb8d93eca9788d', name: "uploadfooter" }), this.captionOnBottom && (hAsync("duet-caption", { key: '8037c4c708dafbf143d6af166d53f6671722bc7c', margin: "none", size: "small" }, hAsync("div", { key: 'e428fa5083174ad4b33d1563d6650743b06a9c10', class: "upload-bottom-caption" }, caption))), hAsync("slot", { key: '3566dfc4ec670a6d9ac643c86b677c51a4c2af2b', name: "afterfooter" }), !this.hideButton && (hAsync(Fragment, { key: 'f28ec47277260bd20ca1edf2337028cc1f3e80a1' }, hAsync("duet-spacer", { key: '0224d4006036fac15971565b81ef29b0f9ae001d', size: "large" }), hAsync("duet-button", { key: '4e8a7a0ad1861117d45c36d3150d5ff3208bea12', 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 ||
|
|
21132
23213
|
this.bytesMaxReached ||
|
|
21133
23214
|
this.filesToUploadExceedsLimit ||
|
|
21134
|
-
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '
|
|
23215
|
+
this.filesToUploadTotalSizeIsAboveMax) && (hAsync(Fragment, { key: '864de6deba948873fe7ada428e1af73106320c47' }, hAsync("duet-spacer", { key: '6540680972c8d28ef7f699cce9eb0440e3c913b5', size: "medium" }), hAsync("duet-alert", { key: '0c566f6e55449a1e9067a749f937827b0935ab3d', 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: '36e20ff69c0ec8eb36ccd907ef1cf87453ce4815', "aria-hidden": "true" }, hAsync("input", { key: 'd567ddb0ef056f02ac40e2595ecf97bfaded35d7', ref: input => {
|
|
21135
23216
|
this.nativeInput = input;
|
|
21136
23217
|
}, accept: !this.limitSelection ? undefined : `${this.allowedMimetypes},${this.allowedExtensions}`, onBlur: this.onBlur, onFocus: this.onFocus, onChange: e => this.onChange(e), type: "file", class: {
|
|
21137
23218
|
"duet-upload": true,
|
|
@@ -21452,7 +23533,7 @@ class DuetUploadAriaStatus {
|
|
|
21452
23533
|
* Always the last one in the class.
|
|
21453
23534
|
*/
|
|
21454
23535
|
render() {
|
|
21455
|
-
return (hAsync(Host, { key: '
|
|
23536
|
+
return (hAsync(Host, { key: 'bdc206d7a5aaa10e9421f53a42ec755da049ac33', role: "status", "aria-live": "assertive", "aria-atomic": "true", "aria-relevant": "all" }, hAsync("duet-visually-hidden", { key: '775f92ae2d6d7117959777a7a0127031cda0a30c' }, this.statusMessage)));
|
|
21456
23537
|
}
|
|
21457
23538
|
get element() { return getElement(this); }
|
|
21458
23539
|
static get watchers() { return {
|
|
@@ -21519,7 +23600,7 @@ class DuetUploadItem$1 {
|
|
|
21519
23600
|
inheritGlobalTheme(this);
|
|
21520
23601
|
}
|
|
21521
23602
|
render() {
|
|
21522
|
-
return (hAsync(Host, { key: '
|
|
23603
|
+
return (hAsync(Host, { key: '10d219682193a77214731256ff8efeb8847762aa' }, hAsync("duet-visually-hidden", { key: '78cf6009458b26f2f0f1bb1db60c850489e45556', "aria-hidden": "true" }, hAsync("input", { key: 'd1ad31afd5645d9ad9cd6b431532a76934812684', ref: input => {
|
|
21523
23604
|
this.nativeInput = input;
|
|
21524
23605
|
}, type: "file", class: {
|
|
21525
23606
|
"duet-upload": true,
|
|
@@ -21631,9 +23712,9 @@ class DuetUploadItem {
|
|
|
21631
23712
|
const { uid, meta, item } = this.data;
|
|
21632
23713
|
const Badges = meta && meta.badges ? (hAsync("span", null, meta.badges.map(badgeText => (hAsync("duet-badge", { color: "primary" }, badgeText))))) : undefined;
|
|
21633
23714
|
const actionDescription = `${meta && meta.badges ? meta.badges.join(",") : ""} ${item.name}`;
|
|
21634
|
-
return (hAsync("div", { key: '
|
|
23715
|
+
return (hAsync("div", { key: '6d84bc2db390b61ac7dbb5f160216ecd90d974a3', class: {
|
|
21635
23716
|
"upload-item-row": true,
|
|
21636
|
-
} }, this.showCategory && (hAsync("div", { key: '
|
|
23717
|
+
} }, this.showCategory && (hAsync("div", { key: '179c0bd56688fbc5e2b35d998bc56b1c6c5970b1', class: "item-categories" }, hAsync("duet-heading", { key: '47185e8203639e95f3bff7a165fb8e90f940d6f1', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.categoryLabel)), Badges)), hAsync("div", { key: 'ad6344397645ec78932b03f2193942650fd79edd', class: { "item-name": true, "no-category": !this.showCategory } }, !!this.label && (hAsync("duet-heading", { key: '5254d0756125a0d56d135082905516e98b41033b', class: "heading", color: "color-secondary", level: "h6", weight: "semibold" }, getLocaleString(this.label))), this.getFileNameLine()), hAsync("div", { key: '89ecd7da40161405ec0d94738ee876bde5f9bf0a', class: "item-actions" }, this.actions.map(actionItem => {
|
|
21637
23718
|
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) }));
|
|
21638
23719
|
}))));
|
|
21639
23720
|
}
|
|
@@ -21674,7 +23755,7 @@ class DuetVisuallyHidden {
|
|
|
21674
23755
|
* Always the last one in the class.
|
|
21675
23756
|
*/
|
|
21676
23757
|
render() {
|
|
21677
|
-
return (hAsync(Host, { key: '
|
|
23758
|
+
return (hAsync(Host, { key: '05190fb820e1ab0fe45ada907bdccf668d437daf', class: "duet-visually-hidden" }, hAsync("slot", { key: 'e8541096543249aae0b11507ad7194c154f149ca' })));
|
|
21678
23759
|
}
|
|
21679
23760
|
get element() { return getElement(this); }
|
|
21680
23761
|
static get style() { return DuetVisuallyHiddenStyle0; }
|
|
@@ -21743,6 +23824,7 @@ registerComponents([
|
|
|
21743
23824
|
DuetPageHeading,
|
|
21744
23825
|
DuetPagination,
|
|
21745
23826
|
DuetParagraph,
|
|
23827
|
+
DuetPhoneInput,
|
|
21746
23828
|
DuetPopupMenu,
|
|
21747
23829
|
DuetPopupMenuItem,
|
|
21748
23830
|
DuetProgress,
|