@duetds/components 9.19.0 → 9.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/hydrate/index.js +237 -135
- package/lib/cjs/a11y-utils-13737afd.js +46 -0
- package/lib/cjs/{app-globals-a6c4e8f5.js → app-globals-dbb64a81.js} +1 -1
- package/lib/cjs/{common-strings-92c2f034.js → common-strings-ed188f52.js} +5 -4
- package/lib/cjs/duet-action-button.cjs.entry.js +5 -5
- package/lib/cjs/duet-alert.cjs.entry.js +15 -12
- package/lib/cjs/duet-badge.cjs.entry.js +5 -5
- package/lib/cjs/duet-banner.cjs.entry.js +6 -6
- package/lib/cjs/duet-breadcrumb.cjs.entry.js +2 -2
- package/lib/cjs/duet-breadcrumbs.cjs.entry.js +5 -5
- package/lib/cjs/duet-button_2.cjs.entry.js +7 -7
- package/lib/cjs/duet-callout.cjs.entry.js +3 -3
- package/lib/cjs/duet-caption_4.cjs.entry.js +12 -12
- package/lib/cjs/duet-card.cjs.entry.js +5 -5
- package/lib/cjs/duet-checkbox.cjs.entry.js +3 -3
- package/lib/cjs/duet-checkmark.cjs.entry.js +2 -2
- package/lib/cjs/duet-chip.cjs.entry.js +4 -4
- package/lib/cjs/duet-choice_2.cjs.entry.js +9 -8
- package/lib/cjs/duet-collapsible.cjs.entry.js +15 -10
- package/lib/cjs/duet-combobox.cjs.entry.js +20 -15
- package/lib/cjs/duet-contact-card.cjs.entry.js +3 -3
- package/lib/cjs/duet-cookie-consent.cjs.entry.js +2 -2
- package/lib/cjs/duet-date-picker.cjs.entry.js +6 -6
- package/lib/cjs/duet-divider_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-editable-table_3.cjs.entry.js +11 -8
- package/lib/cjs/duet-empty-state.cjs.entry.js +2 -2
- package/lib/cjs/duet-fieldset.cjs.entry.js +3 -3
- package/lib/cjs/duet-file-chooser.cjs.entry.js +2 -2
- package/lib/cjs/duet-footer.cjs.entry.js +5 -5
- package/lib/cjs/duet-grid_2.cjs.entry.js +2 -2
- package/lib/cjs/duet-header_2.cjs.entry.js +8 -8
- package/lib/cjs/duet-hero.cjs.entry.js +18 -17
- package/lib/cjs/duet-icon.cjs.entry.js +4 -4
- package/lib/cjs/duet-indicator.cjs.entry.js +3 -3
- package/lib/cjs/duet-input_2.cjs.entry.js +32 -8
- package/lib/cjs/duet-layout.cjs.entry.js +2 -2
- package/lib/cjs/duet-list_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-menu-bar-button.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-menu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-menu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-modal.cjs.entry.js +8 -8
- package/lib/cjs/duet-multiselect.cjs.entry.js +5 -5
- package/lib/cjs/duet-nav.cjs.entry.js +2 -2
- package/lib/cjs/duet-notification_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-number-input.cjs.entry.js +16 -12
- package/lib/cjs/duet-overlay.cjs.entry.js +2 -2
- package/lib/cjs/duet-page-heading.cjs.entry.js +2 -2
- package/lib/cjs/duet-pagination_2.cjs.entry.js +5 -5
- package/lib/cjs/duet-panel.cjs.entry.js +5 -6
- package/lib/cjs/duet-phone-input.cjs.entry.js +7 -7
- package/lib/cjs/duet-popup-menu_2.cjs.entry.js +14 -16
- package/lib/cjs/duet-progress.cjs.entry.js +3 -3
- package/lib/cjs/duet-promo-card.cjs.entry.js +6 -6
- package/lib/cjs/duet-radio_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-range-slider.cjs.entry.js +4 -4
- package/lib/cjs/duet-scrollable_3.cjs.entry.js +31 -12
- package/lib/cjs/duet-section-layout.cjs.entry.js +1 -1
- package/lib/cjs/duet-select.cjs.entry.js +5 -8
- package/lib/cjs/duet-shaped-image.cjs.entry.js +2 -2
- package/lib/cjs/duet-share-chart-item.cjs.entry.js +1 -1
- package/lib/cjs/duet-share-chart.cjs.entry.js +6 -6
- package/lib/cjs/duet-show-more.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-lang.cjs.entry.js +3 -3
- package/lib/cjs/duet-slideout-link.cjs.entry.js +6 -6
- package/lib/cjs/duet-slideout-panel-dropdown.cjs.entry.js +2 -2
- package/lib/cjs/duet-slideout-panel.cjs.entry.js +7 -7
- package/lib/cjs/duet-slideout.cjs.entry.js +15 -15
- package/lib/cjs/duet-status-icon.cjs.entry.js +2 -2
- package/lib/cjs/duet-step_2.cjs.entry.js +4 -4
- package/lib/cjs/duet-submenu-bar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-submenu-bar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-submenu-bar-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-submenu-bar.cjs.entry.js +3 -3
- package/lib/cjs/duet-textarea.cjs.entry.js +48 -29
- package/lib/cjs/duet-toggle.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-dropdown-link.cjs.entry.js +2 -2
- package/lib/cjs/duet-toolbar-dropdown.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar-item.cjs.entry.js +6 -6
- package/lib/cjs/duet-toolbar-link.cjs.entry.js +3 -3
- package/lib/cjs/duet-toolbar.cjs.entry.js +2 -2
- package/lib/cjs/duet-tooltip-button_2.cjs.entry.js +3 -3
- package/lib/cjs/duet-tooltip.cjs.entry.js +4 -4
- package/lib/cjs/duet-tray.cjs.entry.js +4 -4
- package/lib/cjs/duet-upload-aria-status.cjs.entry.js +1 -1
- package/lib/cjs/duet-upload-item.cjs.entry.js +4 -4
- package/lib/cjs/duet-visually-hidden.cjs.entry.js +1 -1
- package/lib/cjs/duet.cjs.js +3 -3
- package/lib/cjs/{errorcodes.utils-7e221216.js → errorcodes.utils-081cbf12.js} +1 -1
- package/lib/cjs/{focus-utils-6d8d093e.js → focus-utils-30936141.js} +1 -1
- package/lib/cjs/{index-1044eab0.js → index-3e2cb13d.js} +1 -1
- package/lib/cjs/{language-utils-b3314f13.js → language-utils-577f9daf.js} +1 -1
- package/lib/cjs/loader.cjs.js +3 -3
- package/lib/cjs/{slot-utils-0ce4686e.js → slot-utils-1e7a8d85.js} +1 -1
- package/lib/cjs/{themeable-component-3f7d616d.js → themeable-component-32848c09.js} +1 -1
- package/lib/cjs/{token-utils-955dd258.js → token-utils-3cc1c517.js} +1 -1
- package/lib/cjs/{tokens-bdaa8818.js → tokens-62c31e5d.js} +3 -3
- package/lib/cjs/{tokens.module-2358195b.js → tokens.module-db9df617.js} +3 -3
- package/lib/collection/common-strings.js +5 -4
- package/lib/collection/components/duet-alert/duet-alert.css +15 -6
- package/lib/collection/components/duet-alert/duet-alert.js +9 -6
- package/lib/collection/components/duet-badge/duet-badge.css +1 -1
- package/lib/collection/components/duet-banner/duet-banner.css +2 -1
- package/lib/collection/components/duet-button/duet-button.css +11 -7
- package/lib/collection/components/duet-checkbox/duet-checkbox.css +1 -1
- package/lib/collection/components/duet-chip/duet-chip.css +1 -1
- package/lib/collection/components/duet-choice/duet-choice.css +66 -4
- package/lib/collection/components/duet-choice/duet-choice.js +13 -6
- package/lib/collection/components/duet-choice-group/duet-choice-group.js +1 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.css +1 -1
- package/lib/collection/components/duet-collapsible/duet-collapsible.js +12 -7
- package/lib/collection/components/duet-combobox/duet-combobox.js +17 -11
- package/lib/collection/components/duet-date-picker/duet-date-picker.css +1 -1
- package/lib/collection/components/duet-hero/duet-hero.js +13 -12
- package/lib/collection/components/duet-input/duet-input.css +1 -1
- package/lib/collection/components/duet-input/duet-input.js +78 -5
- package/lib/collection/components/duet-link/duet-link.css +27 -13
- package/lib/collection/components/duet-link/duet-link.js +3 -3
- package/lib/collection/components/duet-list-item/duet-list-item.css +6 -6
- package/lib/collection/components/duet-logo/duet-logo.css +1 -1
- package/lib/collection/components/duet-multiselect/duet-multiselect.css +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.css +1 -1
- package/lib/collection/components/duet-number-input/duet-number-input.js +19 -15
- package/lib/collection/components/duet-panel/duet-panel.css +3 -2
- package/lib/collection/components/duet-panel/duet-panel.js +2 -3
- package/lib/collection/components/duet-phone-input/duet-phone-input.css +1 -1
- package/lib/collection/components/duet-phone-input/duet-phone-input.js +3 -3
- package/lib/collection/components/duet-popup-menu/duet-popup-menu.js +20 -23
- package/lib/collection/components/duet-promo-card/duet-promo-card.css +1 -1
- package/lib/collection/components/duet-radio/duet-radio.css +2 -2
- package/lib/collection/components/duet-range-slider/duet-range-slider.css +1 -1
- package/lib/collection/components/duet-scrollable/duet-scrollable.js +87 -6
- package/lib/collection/components/duet-select/duet-select.css +1 -1
- package/lib/collection/components/duet-select/duet-select.js +1 -4
- package/lib/collection/components/duet-slideout/duet-slideout.js +12 -12
- package/lib/collection/components/duet-table/duet-table.js +3 -3
- package/lib/collection/components/duet-textarea/duet-textarea.css +4 -1
- package/lib/collection/components/duet-textarea/duet-textarea.js +75 -29
- package/lib/collection/components/duet-toggle/duet-toggle.css +1 -1
- package/lib/collection/components/duet-toolbar-dropdown/duet-toolbar-dropdown.css +6 -0
- package/lib/collection/components/duet-toolbar-link/duet-toolbar-link.css +18 -0
- package/lib/collection/utils/a11y-utils.js +20 -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 +5 -5
- package/lib/dist-custom-elements/duet-breadcrumb.js +3 -3
- package/lib/dist-custom-elements/duet-breadcrumbs.js +2 -2
- package/lib/dist-custom-elements/duet-button.js +1 -1
- package/lib/dist-custom-elements/duet-callout.js +2 -2
- package/lib/dist-custom-elements/duet-caption.js +1 -1
- package/lib/dist-custom-elements/duet-card.js +4 -4
- package/lib/dist-custom-elements/duet-checkbox.js +1 -1
- package/lib/dist-custom-elements/duet-checkmark.js +1 -1
- package/lib/dist-custom-elements/duet-chip.js +1 -1
- package/lib/dist-custom-elements/duet-choice-group.js +9 -9
- package/lib/dist-custom-elements/duet-choice.js +9 -8
- package/lib/dist-custom-elements/duet-collapsible.js +17 -12
- package/lib/dist-custom-elements/duet-combobox.js +32 -26
- package/lib/dist-custom-elements/duet-contact-card.js +8 -8
- package/lib/dist-custom-elements/duet-cookie-consent.js +6 -6
- package/lib/dist-custom-elements/duet-date-picker.js +14 -14
- package/lib/dist-custom-elements/duet-divider.js +1 -1
- package/lib/dist-custom-elements/duet-editable-table.js +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 +2 -2
- package/lib/dist-custom-elements/duet-footer.js +8 -8
- 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 +11 -11
- package/lib/dist-custom-elements/duet-heading.js +1 -1
- package/lib/dist-custom-elements/duet-hero.js +23 -22
- package/lib/dist-custom-elements/duet-icon.js +1 -1
- package/lib/dist-custom-elements/duet-indicator.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 +1 -1
- 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 +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-menu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-menu-bar.js +2 -2
- package/lib/dist-custom-elements/duet-modal.js +10 -10
- package/lib/dist-custom-elements/duet-multiselect.js +10 -10
- package/lib/dist-custom-elements/duet-nav.js +1 -1
- package/lib/dist-custom-elements/duet-notification-drawer.js +6 -6
- package/lib/dist-custom-elements/duet-notification.js +3 -3
- package/lib/dist-custom-elements/duet-number-input.js +23 -19
- package/lib/dist-custom-elements/duet-overlay.js +1 -1
- package/lib/dist-custom-elements/duet-page-heading.js +3 -3
- package/lib/dist-custom-elements/duet-pagination.js +14 -14
- package/lib/dist-custom-elements/duet-panel.js +4 -5
- package/lib/dist-custom-elements/duet-paragraph.js +1 -1
- package/lib/dist-custom-elements/duet-phone-input.js +20 -20
- 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 +2 -2
- package/lib/dist-custom-elements/duet-range-slider.js +4 -4
- package/lib/dist-custom-elements/duet-range-stepper.js +4 -4
- package/lib/dist-custom-elements/duet-scrollable.js +1 -1
- package/lib/dist-custom-elements/duet-section-layout.js +1 -1
- package/lib/dist-custom-elements/duet-select.js +1 -1
- package/lib/dist-custom-elements/duet-shaped-image.js +1 -1
- package/lib/dist-custom-elements/duet-share-chart-item.js +1 -1
- package/lib/dist-custom-elements/duet-share-chart.js +3 -3
- package/lib/dist-custom-elements/duet-show-more.js +1 -1
- package/lib/dist-custom-elements/duet-slideout-lang.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-link.js +4 -4
- package/lib/dist-custom-elements/duet-slideout-panel-dropdown.js +2 -2
- package/lib/dist-custom-elements/duet-slideout-panel.js +5 -5
- package/lib/dist-custom-elements/duet-slideout.js +12 -12
- package/lib/dist-custom-elements/duet-spacer.js +1 -1
- package/lib/dist-custom-elements/duet-spinner.js +1 -1
- package/lib/dist-custom-elements/duet-status-icon.js +1 -1
- 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 +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-submenu-bar-item.js +4 -4
- package/lib/dist-custom-elements/duet-submenu-bar-link.js +2 -2
- package/lib/dist-custom-elements/duet-submenu-bar.js +4 -4
- package/lib/dist-custom-elements/duet-tab-group.js +8 -8
- package/lib/dist-custom-elements/duet-tab.js +2 -2
- package/lib/dist-custom-elements/duet-table.js +1 -1
- package/lib/dist-custom-elements/duet-textarea.js +59 -36
- package/lib/dist-custom-elements/duet-toggle.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-dropdown-link.js +2 -2
- package/lib/dist-custom-elements/duet-toolbar-dropdown.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar-item.js +6 -6
- package/lib/dist-custom-elements/duet-toolbar-link.js +3 -3
- package/lib/dist-custom-elements/duet-toolbar.js +1 -1
- 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 +4 -4
- 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 +20 -20
- 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-6b642a0f.js → p-04819623.js} +2 -2
- package/lib/dist-custom-elements/{p-822a3658.js → p-05128e11.js} +18 -15
- package/lib/dist-custom-elements/{p-e3318f50.js → p-06deb63a.js} +3 -3
- package/lib/dist-custom-elements/{p-36daddcc.js → p-0af6662f.js} +10 -13
- package/lib/dist-custom-elements/p-0d607aa5.js +43 -0
- package/lib/dist-custom-elements/{p-ed52e0d3.js → p-0dca88bc.js} +2 -2
- package/lib/dist-custom-elements/{p-0b65a85b.js → p-13d994c2.js} +40 -13
- package/lib/dist-custom-elements/{p-f407268e.js → p-1a349415.js} +5 -5
- package/lib/dist-custom-elements/{p-caaa84e9.js → p-20af19f0.js} +2 -2
- package/lib/dist-custom-elements/{p-b7a93f1c.js → p-2fc2a0b6.js} +5 -4
- package/lib/dist-custom-elements/{p-67617261.js → p-32b35eb2.js} +4 -4
- package/lib/dist-custom-elements/{p-a5acdbd1.js → p-3b89d7ab.js} +8 -5
- package/lib/dist-custom-elements/{p-27b0790d.js → p-46206871.js} +1 -1
- package/lib/dist-custom-elements/{p-738df69f.js → p-509dca55.js} +1 -1
- package/lib/dist-custom-elements/{p-71176ae5.js → p-515dedd9.js} +2 -2
- package/lib/dist-custom-elements/{p-59668efb.js → p-575b998e.js} +2 -2
- package/lib/dist-custom-elements/{p-1f32b9fd.js → p-5957bf62.js} +3 -3
- package/lib/dist-custom-elements/{p-370b0653.js → p-5a5372db.js} +1 -1
- package/lib/dist-custom-elements/{p-6ca748e5.js → p-659b46dc.js} +2 -2
- package/lib/dist-custom-elements/{p-bebe4e35.js → p-6d3db687.js} +1 -1
- package/lib/dist-custom-elements/{p-b3c2ecbc.js → p-721934fb.js} +2 -2
- package/lib/dist-custom-elements/{p-c972a96e.js → p-7ac368f3.js} +3 -3
- package/lib/dist-custom-elements/{p-de31461b.js → p-7f5a8d4f.js} +10 -10
- package/lib/dist-custom-elements/p-7fae118b.js +318 -0
- package/lib/dist-custom-elements/{p-586d4e77.js → p-856877ce.js} +1 -1
- package/lib/dist-custom-elements/{p-c224f527.js → p-856c21c2.js} +1 -1
- package/lib/dist-custom-elements/{p-c936343b.js → p-87838af5.js} +3 -3
- package/lib/dist-custom-elements/{p-388d3f27.js → p-92614803.js} +2 -2
- package/lib/dist-custom-elements/{p-e14bb6cb.js → p-94bcb496.js} +2 -2
- package/lib/dist-custom-elements/{p-0c92061d.js → p-9c152299.js} +2 -2
- package/lib/dist-custom-elements/{p-58dd40d8.js → p-9cc4be6b.js} +1 -1
- package/lib/dist-custom-elements/{p-0ba28ed9.js → p-9ff3d312.js} +4 -4
- package/lib/dist-custom-elements/{p-6e61da36.js → p-a2165a78.js} +2 -2
- package/lib/dist-custom-elements/p-a9d05a66.js +58 -0
- package/lib/dist-custom-elements/{p-a10e2105.js → p-af66a878.js} +2 -2
- package/lib/dist-custom-elements/{p-6bde0f88.js → p-b1dab6b7.js} +1 -1
- package/lib/dist-custom-elements/{p-4e7c6547.js → p-b5757906.js} +3 -3
- package/lib/dist-custom-elements/{p-d62457b3.js → p-b9dfe8fb.js} +2 -2
- package/lib/dist-custom-elements/{p-6611bb3c.js → p-c00e6485.js} +34 -12
- package/lib/dist-custom-elements/{p-da422056.js → p-c9b0406e.js} +2 -2
- package/lib/dist-custom-elements/{p-318f7157.js → p-cd6aad6d.js} +9 -9
- package/lib/dist-custom-elements/{p-9ee646c7.js → p-d2461d13.js} +1 -1
- package/lib/dist-custom-elements/{p-4d81562b.js → p-e8f9e11c.js} +6 -6
- package/lib/dist-custom-elements/{p-73cfbf89.js → p-f6889d60.js} +3 -3
- package/lib/dist-custom-elements/{p-bc5d9435.js → p-fc39349f.js} +21 -24
- package/lib/dist-custom-elements/{p-6cc7b04f.js → p-ffd3c3bf.js} +1 -1
- package/lib/duet/duet.esm.js +1 -1
- package/lib/duet/duet.js +1 -1
- package/lib/duet/{p-801de8a1.js → p-0117fffd.js} +1 -1
- package/lib/duet/p-0196e419.system.entry.js +4 -0
- package/lib/duet/{p-fe1ac373.entry.js → p-01bfa80a.entry.js} +1 -1
- package/lib/duet/{p-20da5e5e.entry.js → p-01c4784d.entry.js} +1 -1
- package/lib/duet/{p-62065bae.entry.js → p-021aad93.entry.js} +1 -1
- package/lib/duet/{p-568074aa.system.entry.js → p-02b0b46e.system.entry.js} +1 -1
- package/lib/duet/{p-f1cd0117.entry.js → p-08a6fe81.entry.js} +1 -1
- package/lib/duet/p-08bafedd.entry.js +4 -0
- package/lib/duet/{p-5173ee52.system.entry.js → p-0a04f223.system.entry.js} +1 -1
- package/lib/duet/{p-d9a48ce2.system.entry.js → p-0a55a31e.system.entry.js} +1 -1
- package/lib/duet/{p-42fc2f19.entry.js → p-0a5bad04.entry.js} +1 -1
- package/lib/duet/{p-0353b07b.entry.js → p-0b393b45.entry.js} +1 -1
- package/lib/duet/{p-5b3f7cac.system.entry.js → p-0b4d95a3.system.entry.js} +1 -1
- package/lib/duet/{p-4f10a6a2.entry.js → p-0d93d5d6.entry.js} +1 -1
- package/lib/duet/{p-975a3215.system.entry.js → p-0dd9cb8f.system.entry.js} +1 -1
- package/lib/duet/{p-f051365a.system.entry.js → p-0ea89bc3.system.entry.js} +1 -1
- package/lib/duet/{p-f67270bc.entry.js → p-108a8449.entry.js} +1 -1
- package/lib/duet/{p-14ac8312.entry.js → p-11484af4.entry.js} +1 -1
- package/lib/duet/{p-cbe272ff.system.entry.js → p-1188bd88.system.entry.js} +1 -1
- package/lib/duet/p-1255ca3c.entry.js +4 -0
- package/lib/duet/{p-96c0a423.system.entry.js → p-147036df.system.entry.js} +2 -2
- package/lib/duet/p-1640e9ef.system.entry.js +4 -0
- package/lib/duet/p-171fef9f.entry.js +4 -0
- package/lib/duet/{p-22b9e7b9.system.js → p-17b4723d.system.js} +1 -1
- package/lib/duet/{p-6b3b79fe.system.entry.js → p-1c7c636b.system.entry.js} +1 -1
- package/lib/duet/{p-343ed54b.system.entry.js → p-1ca77377.system.entry.js} +1 -1
- package/lib/duet/{p-da0d4e53.system.entry.js → p-1e748fe7.system.entry.js} +1 -1
- package/lib/duet/{p-a8e575f2.entry.js → p-1fc499eb.entry.js} +1 -1
- package/lib/duet/{p-22a0d711.entry.js → p-2072e2e3.entry.js} +1 -1
- package/lib/duet/p-218f197d.entry.js +4 -0
- package/lib/duet/{p-654d2c52.entry.js → p-295d819b.entry.js} +1 -1
- package/lib/duet/{p-3c009b49.entry.js → p-29620cb8.entry.js} +1 -1
- package/lib/duet/{p-e6f0be75.entry.js → p-2bbce6ff.entry.js} +1 -1
- package/lib/duet/{p-5e747ef8.system.entry.js → p-2d09e690.system.entry.js} +1 -1
- package/lib/duet/p-2dad2417.system.entry.js +4 -0
- package/lib/duet/{p-b8789b13.system.entry.js → p-2ed33090.system.entry.js} +1 -1
- package/lib/duet/{p-c311a973.entry.js → p-2f4670b2.entry.js} +1 -1
- package/lib/duet/p-2f938e05.js +4 -0
- package/lib/duet/{p-d838a9ab.system.entry.js → p-32672a70.system.entry.js} +1 -1
- package/lib/duet/{p-ef3c6cfe.system.entry.js → p-32c11792.system.entry.js} +1 -1
- package/lib/duet/{p-04608f57.system.entry.js → p-34679792.system.entry.js} +1 -1
- package/lib/duet/p-3639064f.entry.js +4 -0
- package/lib/duet/{p-30528008.system.entry.js → p-364bf8a5.system.entry.js} +1 -1
- package/lib/duet/p-3682e272.entry.js +4 -0
- package/lib/duet/{p-3164c809.system.entry.js → p-3707f843.system.entry.js} +1 -1
- package/lib/duet/{p-e4695812.entry.js → p-37558e94.entry.js} +1 -1
- package/lib/duet/p-37a2bf8f.system.entry.js +4 -0
- package/lib/duet/p-38209530.system.entry.js +4 -0
- package/lib/duet/{p-d0799d89.entry.js → p-3aa1dda7.entry.js} +1 -1
- package/lib/duet/{p-f0a6103e.js → p-3aa7b734.js} +1 -1
- package/lib/duet/p-3ae93bdc.entry.js +4 -0
- package/lib/duet/{p-0834979e.entry.js → p-3e04b125.entry.js} +1 -1
- package/lib/duet/{p-31dc3df9.entry.js → p-3f51641e.entry.js} +1 -1
- package/lib/duet/p-430e0441.entry.js +4 -0
- package/lib/duet/p-442b1388.system.entry.js +4 -0
- package/lib/duet/p-453db857.system.js +4 -0
- package/lib/duet/{p-f8a583d7.system.entry.js → p-47ae2ce5.system.entry.js} +1 -1
- package/lib/duet/{p-94421fff.entry.js → p-488d5317.entry.js} +1 -1
- package/lib/duet/p-4b688090.js +4 -0
- package/lib/duet/{p-8e150d9e.entry.js → p-4c3e8006.entry.js} +1 -1
- package/lib/duet/p-4cfffc05.system.js +4 -0
- package/lib/duet/{p-370d2601.system.entry.js → p-4d3b8094.system.entry.js} +1 -1
- package/lib/duet/p-4d584eba.entry.js +4 -0
- package/lib/duet/{p-fa878282.entry.js → p-5075f682.entry.js} +1 -1
- package/lib/duet/{p-cd94ea4d.entry.js → p-528f9e22.entry.js} +1 -1
- package/lib/duet/{p-0dda51a5.system.entry.js → p-5298d270.system.entry.js} +1 -1
- package/lib/duet/{p-9fe69b29.js → p-56def387.js} +1 -1
- package/lib/duet/p-57e55fe5.system.entry.js +4 -0
- package/lib/duet/{p-2a2a7f85.js → p-59cee476.js} +1 -1
- package/lib/duet/{p-d51bbbc5.entry.js → p-5b094a81.entry.js} +1 -1
- package/lib/duet/{p-52ea64b7.entry.js → p-5b7b0c49.entry.js} +1 -1
- package/lib/duet/{p-5bdebddc.system.entry.js → p-5d078192.system.entry.js} +1 -1
- package/lib/duet/p-620790ec.entry.js +4 -0
- package/lib/duet/{p-3b2e4c1d.js → p-6251429e.js} +1 -1
- package/lib/duet/{p-8f38dd1f.entry.js → p-62d45619.entry.js} +1 -1
- package/lib/duet/{p-087cfec4.system.entry.js → p-646fb027.system.entry.js} +1 -1
- package/lib/duet/p-64714348.system.entry.js +4 -0
- package/lib/duet/{p-454d2e52.entry.js → p-67150100.entry.js} +1 -1
- package/lib/duet/{p-1f5071fd.system.js → p-6746f86c.system.js} +1 -1
- package/lib/duet/{p-0932bf00.system.entry.js → p-68b94462.system.entry.js} +1 -1
- package/lib/duet/{p-3fbd1e41.entry.js → p-693c2594.entry.js} +1 -1
- package/lib/duet/{p-e42f6025.system.entry.js → p-69a0ce45.system.entry.js} +1 -1
- package/lib/duet/{p-0eff2032.system.entry.js → p-6f677d93.system.entry.js} +1 -1
- package/lib/duet/{p-5f1353eb.system.entry.js → p-6fe0a923.system.entry.js} +1 -1
- package/lib/duet/{p-1a8ef4df.system.entry.js → p-7013d95e.system.entry.js} +1 -1
- package/lib/duet/{p-e4819f63.entry.js → p-71be2ee6.entry.js} +1 -1
- package/lib/duet/{p-083738b6.system.js → p-7231eb9d.system.js} +1 -1
- package/lib/duet/{p-614797cd.system.entry.js → p-742e23f2.system.entry.js} +1 -1
- package/lib/duet/p-743372d1.system.entry.js +4 -0
- package/lib/duet/{p-6ec70ae7.system.entry.js → p-74a10d90.system.entry.js} +1 -1
- package/lib/duet/{p-4af8fdc9.entry.js → p-765ce7e2.entry.js} +1 -1
- package/lib/duet/{p-67acb8a1.entry.js → p-76f86b9a.entry.js} +1 -1
- package/lib/duet/{p-1122796e.entry.js → p-77b52060.entry.js} +1 -1
- package/lib/duet/{p-074c91c7.entry.js → p-7948f709.entry.js} +1 -1
- package/lib/duet/p-7ac368f3.js +4 -0
- package/lib/duet/{p-31492c23.system.entry.js → p-7d56359b.system.entry.js} +1 -1
- package/lib/duet/p-81dc0c8c.system.js +4 -0
- package/lib/duet/{p-87633fff.system.js → p-83cfc05d.system.js} +1 -1
- package/lib/duet/{p-7a9b2555.system.entry.js → p-850c54b0.system.entry.js} +1 -1
- package/lib/duet/p-88c60955.entry.js +4 -0
- package/lib/duet/p-8a10a26e.entry.js +4 -0
- package/lib/duet/{p-9718c106.js → p-8b34b6a1.js} +1 -1
- package/lib/duet/{p-544af526.entry.js → p-8cb64ea1.entry.js} +1 -1
- package/lib/duet/{p-1853a8d1.system.entry.js → p-8ccbbbc7.system.entry.js} +1 -1
- package/lib/duet/{p-a081ba40.system.entry.js → p-8d28efb9.system.entry.js} +1 -1
- package/lib/duet/{p-f8ca9352.entry.js → p-8e21ea72.entry.js} +1 -1
- package/lib/duet/{p-9f79df76.system.entry.js → p-8e6085d1.system.entry.js} +1 -1
- package/lib/duet/{p-ab5a725f.system.entry.js → p-8f7fcfb5.system.entry.js} +1 -1
- package/lib/duet/p-8fe2a9bf.entry.js +4 -0
- package/lib/duet/p-8fe65a80.system.entry.js +4 -0
- package/lib/duet/{p-3f85b6e1.system.entry.js → p-90157004.system.entry.js} +1 -1
- package/lib/duet/p-90fcd0a4.system.entry.js +4 -0
- package/lib/duet/{p-522ea2bc.system.entry.js → p-9220dbb1.system.entry.js} +1 -1
- package/lib/duet/{p-912d1e35.entry.js → p-9277533c.entry.js} +1 -1
- package/lib/duet/{p-b259aa2e.entry.js → p-94341565.entry.js} +1 -1
- package/lib/duet/{p-f744061c.system.entry.js → p-9453fcb3.system.entry.js} +1 -1
- package/lib/duet/{p-10190357.entry.js → p-97d956fb.entry.js} +1 -1
- package/lib/duet/{p-a723ed36.entry.js → p-9bfd9d0e.entry.js} +1 -1
- package/lib/duet/p-9f3b0efe.entry.js +4 -0
- package/lib/duet/{p-396f0210.system.entry.js → p-9f6855fa.system.entry.js} +1 -1
- package/lib/duet/{p-9309d30f.system.entry.js → p-a2173e10.system.entry.js} +2 -2
- package/lib/duet/p-a44268b2.system.entry.js +4 -0
- package/lib/duet/{p-8fe4c3f3.entry.js → p-a579ae4d.entry.js} +1 -1
- package/lib/duet/{p-9d6c1403.system.js → p-a71f0bcb.system.js} +1 -1
- package/lib/duet/{p-f428124a.entry.js → p-a744d677.entry.js} +1 -1
- package/lib/duet/{p-de665458.entry.js → p-a9d0200d.entry.js} +1 -1
- package/lib/duet/p-ab79bc5b.system.entry.js +4 -0
- package/lib/duet/{p-a44bb8ed.system.entry.js → p-ae03cb6d.system.entry.js} +1 -1
- package/lib/duet/{p-ae0f818b.entry.js → p-ae220bba.entry.js} +1 -1
- package/lib/duet/p-af9c927e.system.entry.js +4 -0
- package/lib/duet/p-b0af0dbc.js +4 -0
- package/lib/duet/{p-d647ee04.system.entry.js → p-b0b59b81.system.entry.js} +1 -1
- package/lib/duet/p-b1e60f97.system.js +4 -0
- package/lib/duet/p-b52a7760.entry.js +4 -0
- package/lib/duet/p-b9aec534.js +4 -0
- package/lib/duet/{p-0db56130.system.js → p-bb332c66.system.js} +1 -1
- package/lib/duet/{p-47853cbb.entry.js → p-bb8ae835.entry.js} +1 -1
- package/lib/duet/{p-d40c555f.system.entry.js → p-bd56c1a2.system.entry.js} +1 -1
- package/lib/duet/p-c2040676.entry.js +4 -0
- package/lib/duet/p-c33b42c3.entry.js +4 -0
- package/lib/duet/p-c38c24d6.entry.js +4 -0
- package/lib/duet/{p-6a74bdc7.entry.js → p-c3c20651.entry.js} +1 -1
- package/lib/duet/{p-33c2b5bc.system.entry.js → p-c3dc699e.system.entry.js} +1 -1
- package/lib/duet/p-c4b5fabf.system.entry.js +4 -0
- package/lib/duet/p-c5415db0.system.entry.js +4 -0
- package/lib/duet/{p-696e260a.system.entry.js → p-c6e2ee1a.system.entry.js} +1 -1
- package/lib/duet/{p-8f63f345.entry.js → p-c754edc5.entry.js} +1 -1
- package/lib/duet/{p-e59c5a32.system.js → p-c801dc04.system.js} +1 -1
- package/lib/duet/{p-e7ee0ec6.entry.js → p-c842f2d4.entry.js} +1 -1
- package/lib/duet/{p-dbe544da.system.entry.js → p-c908691b.system.entry.js} +1 -1
- package/lib/duet/{p-3ebd766d.entry.js → p-c9d80470.entry.js} +1 -1
- package/lib/duet/{p-df475aba.entry.js → p-cb31529a.entry.js} +1 -1
- package/lib/duet/p-cb9b90ca.system.entry.js +4 -0
- package/lib/duet/{p-9b7e8ab5.system.entry.js → p-cd2b9ea5.system.entry.js} +1 -1
- package/lib/duet/{p-78fd95ce.system.entry.js → p-cda010aa.system.entry.js} +1 -1
- package/lib/duet/{p-dc52f8b3.entry.js → p-ce1092fb.entry.js} +1 -1
- package/lib/duet/{p-567e98c3.system.entry.js → p-ceb72dbf.system.entry.js} +1 -1
- package/lib/duet/p-cec33ac2.entry.js +4 -0
- package/lib/duet/{p-db94518e.entry.js → p-ceef0aa6.entry.js} +1 -1
- package/lib/duet/p-cf597b70.js +4 -0
- package/lib/duet/{p-73c92818.system.entry.js → p-cf7c7b31.system.entry.js} +2 -2
- package/lib/duet/{p-ebb705ea.entry.js → p-d049d71c.entry.js} +1 -1
- package/lib/duet/{p-c45a6eb5.entry.js → p-d1b57119.entry.js} +1 -1
- package/lib/duet/{p-74a07533.system.entry.js → p-d2bbf06d.system.entry.js} +1 -1
- package/lib/duet/{p-27e23edc.system.entry.js → p-d402bc88.system.entry.js} +1 -1
- package/lib/duet/p-d8c928d7.system.entry.js +4 -0
- package/lib/duet/p-da78c7c2.system.entry.js +4 -0
- package/lib/duet/{p-ff1d5ca4.system.entry.js → p-db051207.system.entry.js} +1 -1
- package/lib/duet/{p-c6b3efe7.system.entry.js → p-dbd06bd8.system.entry.js} +1 -1
- package/lib/duet/p-dcfc4c0f.system.entry.js +4 -0
- package/lib/duet/{p-ba9b82ac.entry.js → p-deb9517b.entry.js} +1 -1
- package/lib/duet/{p-7a2bb47e.system.entry.js → p-df506bc2.system.entry.js} +1 -1
- package/lib/duet/{p-5a366583.entry.js → p-e06917a1.entry.js} +1 -1
- package/lib/duet/p-e124a98d.system.entry.js +4 -0
- package/lib/duet/{p-0738c052.system.entry.js → p-e32bf9f7.system.entry.js} +1 -1
- package/lib/duet/{p-d5fca58a.entry.js → p-e57b46d9.entry.js} +1 -1
- package/lib/duet/{p-b2121bec.entry.js → p-e5e9d602.entry.js} +1 -1
- package/lib/duet/p-e68bc090.system.entry.js +4 -0
- package/lib/duet/p-e6ea7449.entry.js +4 -0
- package/lib/duet/p-ed178fc9.system.entry.js +4 -0
- package/lib/duet/{p-5d338cf8.entry.js → p-ed7e4450.entry.js} +1 -1
- package/lib/duet/{p-858e5593.entry.js → p-edb2b160.entry.js} +1 -1
- package/lib/duet/{p-3a134c72.entry.js → p-ef15807a.entry.js} +1 -1
- package/lib/duet/{p-f8a8bf99.system.entry.js → p-f0ae8c0f.system.entry.js} +2 -2
- package/lib/duet/p-f3098989.entry.js +4 -0
- package/lib/duet/p-f37dae2f.system.entry.js +4 -0
- package/lib/duet/{p-8e1def15.system.js → p-f392387c.system.js} +1 -1
- package/lib/duet/{p-fc8f1bed.system.entry.js → p-f3f34fe0.system.entry.js} +1 -1
- package/lib/duet/p-f4939b4a.system.entry.js +4 -0
- package/lib/duet/{p-b786f573.entry.js → p-f49c6050.entry.js} +1 -1
- package/lib/duet/{p-43bbba35.system.js → p-f6e20b20.system.js} +1 -1
- package/lib/duet/p-f8bfbd2d.entry.js +4 -0
- package/lib/duet/p-f8c7cc95.entry.js +4 -0
- package/lib/duet/{p-94f50cf0.system.entry.js → p-fa06e91a.system.entry.js} +1 -1
- package/lib/duet/{p-ff5f3e09.system.entry.js → p-fe0a02b8.system.entry.js} +1 -1
- package/lib/duet/{p-3c312b08.entry.js → p-fe5a2b41.entry.js} +1 -1
- package/lib/duet/{p-457b0314.entry.js → p-fedc902d.entry.js} +1 -1
- package/lib/esm/a11y-utils-04e1285d.js +43 -0
- package/lib/esm/{app-globals-143619f5.js → app-globals-1de03b2e.js} +1 -1
- package/lib/esm/{common-strings-1274857d.js → common-strings-5f78fe4e.js} +5 -4
- package/lib/esm/duet-action-button.entry.js +5 -5
- package/lib/esm/duet-alert.entry.js +15 -12
- package/lib/esm/duet-badge.entry.js +5 -5
- package/lib/esm/duet-banner.entry.js +6 -6
- package/lib/esm/duet-breadcrumb.entry.js +2 -2
- package/lib/esm/duet-breadcrumbs.entry.js +5 -5
- package/lib/esm/duet-button_2.entry.js +7 -7
- package/lib/esm/duet-callout.entry.js +3 -3
- package/lib/esm/duet-caption_4.entry.js +12 -12
- package/lib/esm/duet-card.entry.js +5 -5
- package/lib/esm/duet-checkbox.entry.js +3 -3
- package/lib/esm/duet-checkmark.entry.js +2 -2
- package/lib/esm/duet-chip.entry.js +4 -4
- package/lib/esm/duet-choice_2.entry.js +9 -8
- package/lib/esm/duet-collapsible.entry.js +15 -10
- package/lib/esm/duet-combobox.entry.js +20 -15
- package/lib/esm/duet-contact-card.entry.js +3 -3
- package/lib/esm/duet-cookie-consent.entry.js +2 -2
- package/lib/esm/duet-date-picker.entry.js +6 -6
- package/lib/esm/duet-divider_2.entry.js +4 -4
- package/lib/esm/duet-editable-table_3.entry.js +11 -8
- package/lib/esm/duet-empty-state.entry.js +2 -2
- package/lib/esm/duet-fieldset.entry.js +3 -3
- package/lib/esm/duet-file-chooser.entry.js +2 -2
- package/lib/esm/duet-footer.entry.js +5 -5
- package/lib/esm/duet-grid_2.entry.js +2 -2
- package/lib/esm/duet-header_2.entry.js +8 -8
- package/lib/esm/duet-hero.entry.js +18 -17
- package/lib/esm/duet-icon.entry.js +4 -4
- package/lib/esm/duet-indicator.entry.js +3 -3
- package/lib/esm/duet-input_2.entry.js +32 -8
- package/lib/esm/duet-layout.entry.js +2 -2
- package/lib/esm/duet-list_2.entry.js +3 -3
- package/lib/esm/duet-menu-bar-button.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar-dropdown.entry.js +2 -2
- package/lib/esm/duet-menu-bar-item.entry.js +6 -6
- package/lib/esm/duet-menu-bar-link.entry.js +2 -2
- package/lib/esm/duet-menu-bar.entry.js +3 -3
- package/lib/esm/duet-modal.entry.js +8 -8
- package/lib/esm/duet-multiselect.entry.js +5 -5
- package/lib/esm/duet-nav.entry.js +2 -2
- package/lib/esm/duet-notification_2.entry.js +4 -4
- package/lib/esm/duet-number-input.entry.js +16 -12
- package/lib/esm/duet-overlay.entry.js +2 -2
- package/lib/esm/duet-page-heading.entry.js +2 -2
- package/lib/esm/duet-pagination_2.entry.js +5 -5
- package/lib/esm/duet-panel.entry.js +5 -6
- package/lib/esm/duet-phone-input.entry.js +7 -7
- package/lib/esm/duet-popup-menu_2.entry.js +14 -16
- package/lib/esm/duet-progress.entry.js +3 -3
- package/lib/esm/duet-promo-card.entry.js +6 -6
- package/lib/esm/duet-radio_2.entry.js +4 -4
- package/lib/esm/duet-range-slider.entry.js +4 -4
- package/lib/esm/duet-scrollable_3.entry.js +31 -12
- package/lib/esm/duet-section-layout.entry.js +1 -1
- package/lib/esm/duet-select.entry.js +5 -8
- package/lib/esm/duet-shaped-image.entry.js +2 -2
- package/lib/esm/duet-share-chart-item.entry.js +1 -1
- package/lib/esm/duet-share-chart.entry.js +6 -6
- package/lib/esm/duet-show-more.entry.js +3 -3
- package/lib/esm/duet-slideout-lang.entry.js +3 -3
- package/lib/esm/duet-slideout-link.entry.js +6 -6
- package/lib/esm/duet-slideout-panel-dropdown.entry.js +2 -2
- package/lib/esm/duet-slideout-panel.entry.js +7 -7
- package/lib/esm/duet-slideout.entry.js +15 -15
- package/lib/esm/duet-status-icon.entry.js +2 -2
- package/lib/esm/duet-step_2.entry.js +4 -4
- package/lib/esm/duet-submenu-bar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar-dropdown.entry.js +3 -3
- package/lib/esm/duet-submenu-bar-item.entry.js +6 -6
- package/lib/esm/duet-submenu-bar-link.entry.js +2 -2
- package/lib/esm/duet-submenu-bar.entry.js +3 -3
- package/lib/esm/duet-textarea.entry.js +48 -29
- package/lib/esm/duet-toggle.entry.js +3 -3
- package/lib/esm/duet-toolbar-dropdown-link.entry.js +2 -2
- package/lib/esm/duet-toolbar-dropdown.entry.js +3 -3
- package/lib/esm/duet-toolbar-item.entry.js +6 -6
- package/lib/esm/duet-toolbar-link.entry.js +3 -3
- package/lib/esm/duet-toolbar.entry.js +2 -2
- package/lib/esm/duet-tooltip-button_2.entry.js +3 -3
- package/lib/esm/duet-tooltip.entry.js +4 -4
- package/lib/esm/duet-tray.entry.js +4 -4
- package/lib/esm/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm/duet-upload-item.entry.js +4 -4
- package/lib/esm/duet-visually-hidden.entry.js +1 -1
- package/lib/esm/duet.js +4 -4
- package/lib/esm/{errorcodes.utils-1e9af184.js → errorcodes.utils-e3c3fbe7.js} +1 -1
- package/lib/esm/{focus-utils-d80e0fff.js → focus-utils-8dcbe898.js} +1 -1
- package/lib/esm/{index-8edff080.js → index-e0645409.js} +1 -1
- package/lib/esm/{language-utils-da0a98a7.js → language-utils-5c6108e9.js} +1 -1
- package/lib/esm/loader.js +4 -4
- package/lib/esm/{slot-utils-86873bd2.js → slot-utils-0bb6f129.js} +1 -1
- package/lib/esm/{themeable-component-19d01405.js → themeable-component-f1c77a5d.js} +1 -1
- package/lib/esm/{token-utils-d02c20ff.js → token-utils-0d5e28a7.js} +1 -1
- package/lib/esm/{tokens-1fd83076.js → tokens-1702323a.js} +3 -3
- package/lib/esm/{tokens.module-7b07911f.js → tokens.module-7ae22e26.js} +3 -3
- package/lib/esm-es5/a11y-utils-04e1285d.js +4 -0
- package/lib/esm-es5/{app-globals-143619f5.js → app-globals-1de03b2e.js} +1 -1
- package/lib/esm-es5/{common-strings-1274857d.js → common-strings-5f78fe4e.js} +1 -1
- package/lib/esm-es5/duet-action-button.entry.js +1 -1
- package/lib/esm-es5/duet-alert.entry.js +2 -2
- package/lib/esm-es5/duet-badge.entry.js +1 -1
- package/lib/esm-es5/duet-banner.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumb.entry.js +1 -1
- package/lib/esm-es5/duet-breadcrumbs.entry.js +1 -1
- package/lib/esm-es5/duet-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-callout.entry.js +1 -1
- package/lib/esm-es5/duet-caption_4.entry.js +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 +1 -1
- package/lib/esm-es5/duet-choice_2.entry.js +2 -2
- package/lib/esm-es5/duet-collapsible.entry.js +1 -1
- package/lib/esm-es5/duet-combobox.entry.js +1 -1
- package/lib/esm-es5/duet-contact-card.entry.js +1 -1
- package/lib/esm-es5/duet-cookie-consent.entry.js +1 -1
- package/lib/esm-es5/duet-date-picker.entry.js +1 -1
- package/lib/esm-es5/duet-divider_2.entry.js +1 -1
- package/lib/esm-es5/duet-editable-table_3.entry.js +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 +1 -1
- package/lib/esm-es5/duet-icon.entry.js +1 -1
- package/lib/esm-es5/duet-indicator.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 +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-menu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-menu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-modal.entry.js +1 -1
- package/lib/esm-es5/duet-multiselect.entry.js +1 -1
- package/lib/esm-es5/duet-nav.entry.js +1 -1
- package/lib/esm-es5/duet-notification_2.entry.js +1 -1
- package/lib/esm-es5/duet-number-input.entry.js +1 -1
- package/lib/esm-es5/duet-overlay.entry.js +1 -1
- package/lib/esm-es5/duet-page-heading.entry.js +1 -1
- package/lib/esm-es5/duet-pagination_2.entry.js +1 -1
- package/lib/esm-es5/duet-panel.entry.js +1 -1
- package/lib/esm-es5/duet-phone-input.entry.js +1 -1
- package/lib/esm-es5/duet-popup-menu_2.entry.js +2 -2
- 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 +1 -1
- package/lib/esm-es5/duet-section-layout.entry.js +1 -1
- package/lib/esm-es5/duet-select.entry.js +2 -2
- package/lib/esm-es5/duet-shaped-image.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart-item.entry.js +1 -1
- package/lib/esm-es5/duet-share-chart.entry.js +1 -1
- package/lib/esm-es5/duet-show-more.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-lang.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-link.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-slideout-panel.entry.js +1 -1
- package/lib/esm-es5/duet-slideout.entry.js +1 -1
- package/lib/esm-es5/duet-status-icon.entry.js +1 -1
- package/lib/esm-es5/duet-step_2.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-item.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar-link.entry.js +1 -1
- package/lib/esm-es5/duet-submenu-bar.entry.js +1 -1
- package/lib/esm-es5/duet-textarea.entry.js +2 -2
- package/lib/esm-es5/duet-toggle.entry.js +2 -2
- package/lib/esm-es5/duet-toolbar-dropdown-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-dropdown.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-item.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar-link.entry.js +1 -1
- package/lib/esm-es5/duet-toolbar.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip-button_2.entry.js +1 -1
- package/lib/esm-es5/duet-tooltip.entry.js +1 -1
- package/lib/esm-es5/duet-tray.entry.js +1 -1
- package/lib/esm-es5/duet-upload-aria-status.entry.js +1 -1
- package/lib/esm-es5/duet-upload-item.entry.js +2 -2
- package/lib/esm-es5/duet-visually-hidden.entry.js +1 -1
- package/lib/esm-es5/duet.js +1 -1
- package/lib/esm-es5/{errorcodes.utils-1e9af184.js → errorcodes.utils-e3c3fbe7.js} +1 -1
- package/lib/esm-es5/{focus-utils-d80e0fff.js → focus-utils-8dcbe898.js} +1 -1
- package/lib/esm-es5/{index-8edff080.js → index-e0645409.js} +1 -1
- package/lib/esm-es5/{language-utils-da0a98a7.js → language-utils-5c6108e9.js} +1 -1
- package/lib/esm-es5/loader.js +1 -1
- package/lib/esm-es5/{slot-utils-86873bd2.js → slot-utils-0bb6f129.js} +1 -1
- package/lib/esm-es5/{themeable-component-19d01405.js → themeable-component-f1c77a5d.js} +1 -1
- package/lib/esm-es5/{token-utils-d02c20ff.js → token-utils-0d5e28a7.js} +1 -1
- package/lib/esm-es5/tokens-1702323a.js +4 -0
- package/lib/esm-es5/tokens.module-7ae22e26.js +4 -0
- package/lib/types/components/duet-choice/duet-choice.d.ts +3 -3
- package/lib/types/components/duet-collapsible/duet-collapsible.d.ts +1 -0
- package/lib/types/components/duet-combobox/duet-combobox.d.ts +1 -0
- package/lib/types/components/duet-input/duet-input.d.ts +12 -1
- package/lib/types/components/duet-number-input/duet-number-input.d.ts +8 -6
- package/lib/types/components/duet-popup-menu/duet-popup-menu.d.ts +4 -4
- package/lib/types/components/duet-scrollable/duet-scrollable.d.ts +13 -0
- package/lib/types/components/duet-select/duet-select.d.ts +0 -1
- package/lib/types/components/duet-slideout/duet-slideout.d.ts +4 -4
- package/lib/types/components/duet-textarea/duet-textarea.d.ts +17 -7
- package/lib/types/components.d.ts +58 -27
- package/lib/types/utils/a11y-utils.d.ts +11 -0
- package/package.json +5 -5
- package/lib/cjs/a11y-utils-27715462.js +0 -25
- package/lib/dist-custom-elements/p-6b2617d7.js +0 -58
- package/lib/dist-custom-elements/p-e89676de.js +0 -318
- package/lib/dist-custom-elements/p-f8d1e874.js +0 -23
- package/lib/duet/p-00fdc8a5.entry.js +0 -4
- package/lib/duet/p-0407196d.system.entry.js +0 -4
- package/lib/duet/p-06317021.system.entry.js +0 -4
- package/lib/duet/p-0fb9f963.system.entry.js +0 -4
- package/lib/duet/p-0fd2949d.entry.js +0 -4
- package/lib/duet/p-117a0379.system.entry.js +0 -4
- package/lib/duet/p-1aabfaed.entry.js +0 -4
- package/lib/duet/p-23a14a5a.system.entry.js +0 -4
- package/lib/duet/p-24954951.js +0 -4
- package/lib/duet/p-2e209e01.system.entry.js +0 -4
- package/lib/duet/p-342c967e.system.entry.js +0 -4
- package/lib/duet/p-36678b00.entry.js +0 -4
- package/lib/duet/p-36f85144.entry.js +0 -4
- package/lib/duet/p-3815b0dd.system.entry.js +0 -4
- package/lib/duet/p-38fb1743.entry.js +0 -4
- package/lib/duet/p-3c8067bd.entry.js +0 -4
- package/lib/duet/p-403c3143.system.entry.js +0 -4
- package/lib/duet/p-44a37072.entry.js +0 -4
- package/lib/duet/p-451c3aab.system.entry.js +0 -4
- package/lib/duet/p-47387024.system.entry.js +0 -4
- package/lib/duet/p-4d6d92ad.system.entry.js +0 -4
- package/lib/duet/p-5162f6cd.entry.js +0 -4
- package/lib/duet/p-52a20f17.entry.js +0 -4
- package/lib/duet/p-542e6df7.system.entry.js +0 -4
- package/lib/duet/p-55bbe82e.system.entry.js +0 -4
- package/lib/duet/p-5a8d14bf.system.entry.js +0 -4
- package/lib/duet/p-5fc75c92.entry.js +0 -4
- package/lib/duet/p-64766118.js +0 -4
- package/lib/duet/p-6daf8a1b.js +0 -4
- package/lib/duet/p-799ca114.entry.js +0 -4
- package/lib/duet/p-8693fac0.system.entry.js +0 -4
- package/lib/duet/p-9148808e.entry.js +0 -4
- package/lib/duet/p-9461adf1.system.entry.js +0 -4
- package/lib/duet/p-987df55c.system.entry.js +0 -4
- package/lib/duet/p-9d8ac94e.entry.js +0 -4
- package/lib/duet/p-9d9457bf.js +0 -4
- package/lib/duet/p-9e34f749.system.entry.js +0 -4
- package/lib/duet/p-a4a80b80.system.entry.js +0 -4
- package/lib/duet/p-ac04269e.entry.js +0 -4
- package/lib/duet/p-ae0fd651.entry.js +0 -4
- package/lib/duet/p-b111d93d.system.entry.js +0 -4
- package/lib/duet/p-b70a5218.system.entry.js +0 -4
- package/lib/duet/p-b81ac5ae.system.js +0 -4
- package/lib/duet/p-b8688298.entry.js +0 -4
- package/lib/duet/p-bb6c5d9b.entry.js +0 -4
- package/lib/duet/p-c88bd45b.system.js +0 -4
- package/lib/duet/p-c972a96e.js +0 -4
- package/lib/duet/p-cc300171.system.entry.js +0 -4
- package/lib/duet/p-d0dbbd18.entry.js +0 -4
- package/lib/duet/p-d20c3b70.entry.js +0 -4
- package/lib/duet/p-d21f9230.system.js +0 -4
- package/lib/duet/p-db0ba7b6.system.js +0 -4
- package/lib/duet/p-e919fa07.entry.js +0 -4
- package/lib/duet/p-ebfbee15.system.entry.js +0 -4
- package/lib/duet/p-f856fc6d.system.entry.js +0 -4
- package/lib/duet/p-f9051bab.js +0 -4
- package/lib/duet/p-fc9aafe5.entry.js +0 -4
- package/lib/duet/p-fd34a664.entry.js +0 -4
- package/lib/esm/a11y-utils-35c2f182.js +0 -23
- package/lib/esm-es5/a11y-utils-35c2f182.js +0 -4
- package/lib/esm-es5/tokens-1fd83076.js +0 -4
- package/lib/esm-es5/tokens.module-7b07911f.js +0 -4
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js","./p-f392387c.system.js","./p-98636086.system.js"],(function(e){"use strict";var n,t,r,i,a,o;return{setters:[function(e){n=e.r;t=e.h;r=e.H;i=e.g},function(e){a=e.i},function(e){o=e.g},function(){}],execute:function(){var s="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative}.duet-indicator{position:absolute;top:0;right:0;display:inline-block;width:8px;height:8px;border-radius:50%}.duet-indicator-new{background:rgb(0, 119, 179)}.duet-indicator-change{background:rgb(247, 178, 40)}.duet-indicator-error{background:rgb(185, 16, 74)}.duet-indicator-success{background:rgb(29, 106, 88)}:host(.duet-theme-turva2) .duet-indicator-new{background-color:rgb(230, 23, 64)}";var c=s;var u=e("duet_indicator",function(){function e(e){var t=this;n(this,e);this.defaultLabels={new:{fi:"Uutta sisältöä",en:"New content",sv:"Nyt innehålle"},change:{fi:"Muuttunutta sisältöä",en:"Changed content",sv:"Ändrat innehålle"},error:{fi:"Sisältää virheen",en:"Contains error",sv:"Innehåller ett fel"},success:{fi:"Onnistunut toiminto",en:"Completed successfully",sv:"Lyckad åtgärd"}};this.getAccessibleLabel=function(){return t.accessibleLabel||o(t.defaultLabels[t.variation])};this.variation="change";this.accessibleLabel=undefined;this.theme=""}e.prototype.componentWillLoad=function(){a(this)};e.prototype.render=function(){var e,n;return t(r,{key:"ca297bcbf550d281e420d713ca331510d31998d1",class:(e={},e[this.theme]=true,e)},t("span",{key:"b4050666cf945dec5929e5130bb83c2f21b6ae6b",class:(n={"duet-indicator":true},n["duet-indicator-".concat(this.variation)]=true,n)}),t("duet-visually-hidden",{key:"f0ebcdff7f5413f8ac61618dd7873f6626769091"},this.getAccessibleLabel()))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());u.style=c}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,n,i){function a(e){return e instanceof n?e:new n((function(t){t(e)}))}return new(n||(n=Promise))((function(n,r){function s(e){try{u(i.next(e))}catch(e){r(e)}}function o(e){try{u(i["throw"](e))}catch(e){r(e)}}function u(e){e.done?n(e.value):a(e.value).then(s,o)}u((i=i.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var n={label:0,sent:function(){if(r[0]&1)throw r[1];return r[1]},trys:[],ops:[]},i,a,r,s;return s={next:o(0),throw:o(1),return:o(2)},typeof Symbol==="function"&&(s[Symbol.iterator]=function(){return this}),s;function o(e){return function(t){return u([e,t])}}function u(o){if(i)throw new TypeError("Generator is already executing.");while(s&&(s=0,o[0]&&(n=0)),n)try{if(i=1,a&&(r=o[0]&2?a["return"]:o[0]?a["throw"]||((r=a["return"])&&r.call(a),0):a.next)&&!(r=r.call(a,o[1])).done)return r;if(a=0,r)o=[o[0]&2,r.value];switch(o[0]){case 0:case 1:r=o;break;case 4:n.label++;return{value:o[1],done:false};case 5:n.label++;a=o[1];o=[0];continue;case 7:o=n.ops.pop();n.trys.pop();continue;default:if(!(r=n.trys,r=r.length>0&&r[r.length-1])&&(o[0]===6||o[0]===2)){n=0;continue}if(o[0]===3&&(!r||o[1]>r[0]&&o[1]<r[3])){n.label=o[1];break}if(o[0]===6&&n.label<r[1]){n.label=r[1];r=o;break}if(r&&n.label<r[2]){n.label=r[2];n.ops.push(o);break}if(r[2])n.ops.pop();n.trys.pop();continue}o=t.call(e,n)}catch(e){o=[6,e];a=0}finally{i=r=0}if(o[0]&5)throw o[1];return{value:o[0]?o[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-
|
|
4
|
+
*/System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js","./p-f392387c.system.js","./p-bb332c66.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,n,i,a,r,s;return{setters:[function(e){t=e.r;n=e.h;i=e.g},function(e){a=e.i},function(e){r=e.g},function(e){s=e.a},function(){}],execute:function(){var o=function(e,t){if(t===void 0){t=2}if(e===0){return"0 Bytes"}var n=1024;var i=t<0?0:t;var a=["Bytes","KB","MB","GB","TB","PB","EB","ZB","YB"];var r=Math.floor(Math.log(e)/Math.log(n));return parseFloat((e/Math.pow(n,r)).toFixed(i))+" "+a[r]};var u=".file-link::part(duet-link){text-decoration:none}";var c=u;var l=e("duet_upload_item",function(){function e(e){var n=this;t(this,e);this.fileUploadingInfo={fi:"Tiedosto latautuu",sv:"Filen laddas upp",en:"File is uploading"};this.onLinkClick=function(e){var t=n.data,i=t.url,a=t.meta;if(!!n.linkClickEvent){e.preventDefault();n.linkClickEvent.emit({component:"duet-upload",data:{name:n.data.item.name,url:i,meta:a}})}};this.theme="";this.data=undefined;this.type=undefined;this.showLinks=undefined;this.actions=undefined;this.buttonTitles=undefined;this.label=undefined;this.categoryLabel=undefined;this.errorCodes=undefined;this.showCategory=undefined;this.linkClickEvent=undefined}e.prototype.componentWillLoad=function(){a(this)};e.prototype.focusActionButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){switch(e.label){case 0:if(!this.actionButton)return[3,2];return[4,this.actionButton.setFocus({preventScroll:true})];case 1:e.sent();this.actionButton.scrollIntoView({behavior:"smooth",block:"center",inline:"nearest"});e.label=2;case 2:return[2]}}))}))};e.prototype.getFileNameLine=function(){var e=this.data,t=e.item,i=e.size,a=e.uploaded,u=e.url,c=e.progress,l=e.error;var d=t.name;var f=n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);var h=n("span",{class:"duet-upload-item-size",style:{fontSize:"14px",fontWeight:"400"}},"(",o(i),")");switch(this.type){case"inprogress":return n("span",{class:"duet-upload-item-name",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"gray-darker",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-visually-hidden",null,n("duet-paragraph",null,r(this.fileUploadingInfo))),n("duet-progress",{theme:this.theme,progress:Math.ceil(c),"aria-hidden":true}));case"pending":return n("span",{class:"duet-upload-item-name"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d);case"failure":return n("span",{class:"duet-upload-item-error",role:"status"},n("duet-paragraph",{class:"duet-upload-item-name",color:"danger",margin:"none",weight:"semi-bold"},n("duet-icon",{margin:"none",size:"x-small",name:"messaging-attachment"}),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),d),n("duet-paragraph",{class:"duet-upload-item-error-label",size:"small",margin:"none",color:"danger"},s(l.type,this.errorCodes)));default:return a&&u&&this.showLinks?n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},n("duet-link",{class:"file-link",onClick:this.onLinkClick,url:u},f),n("duet-spacer",{size:"xx-small",direction:"horizontal"}),h):n("duet-paragraph",{color:"secondary",margin:"none",weight:"semi-bold"},f,n("duet-spacer",{size:"xx-small",direction:"horizontal"}),h)}};e.prototype.getActionButtonTitle=function(e){if(this.buttonTitles[e.name]===true||this.buttonTitles[e.name]===false){return e}return r(this.buttonTitles[e.name])};e.prototype.render=function(){var e=this;var t=this.data,i=t.uid,a=t.meta,s=t.item;var o=a&&a.badges?n("span",null,a.badges.map((function(e){return n("duet-badge",{color:"primary"},e)}))):undefined;var u="".concat(a&&a.badges?a.badges.join(","):""," ").concat(s.name);return n("div",{key:"1412bdaaf8001dd4849c5128cc463327f4a5dd2d",class:{"upload-item-row":true}},this.showCategory&&n("div",{key:"635382f438d151cbf5f84b04d24ca36d80584953",class:"item-categories"},n("duet-heading",{key:"1a8f5beb2b403297bfe5a25fb125337817848c97",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.categoryLabel)),o),n("div",{key:"b51a8872eff794722a6fbde9fad6cd77e81b036f",class:{"item-name":true,"no-category":!this.showCategory}},!!this.label&&n("duet-heading",{key:"c423681df8f4f2c90dec48b5204090ffe7428019",class:"heading",color:"color-secondary",level:"h6",weight:"semibold"},r(this.label)),this.getFileNameLine()),n("div",{key:"3f0c5fc33ca3f8053b7a28190e4816aeb2354cbf",class:"item-actions"},this.actions.map((function(t){return n("duet-action-button",{actionMeta:Object.assign({},a||{}),actionId:i||null,actionName:t.name,theme:e.theme,iconName:t.icon,iconColor:t.color,iconSize:t.size,background:t.background,"accessible-label":"".concat(u," ").concat(r(t.label)," "),accessibleTitle:e.getActionButtonTitle(t),ref:function(t){return e.actionButton=t}})}))))};Object.defineProperty(e.prototype,"element",{get:function(){return i(this)},enumerable:false,configurable:true});return e}());l.style=c}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js","./p-f392387c.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,a,i,n,d,o,c,r;return{setters:[function(e){t=e.r;a=e.h;i=e.H;n=e.g},function(e){d=e.i},function(e){o=e.a;c=e.c;r=e.d},function(){}],execute:function(){var s='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;margin-bottom:12px !important;display:block}:host(.duet-m-0){margin:0 !important}::slotted(*){padding-top:1.5rem}@media (min-width: 48em){::slotted(*){grid-column:2/span 2;padding-top:0}}.duet-contact-card{display:grid;grid-template-columns:100%;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-contact-card.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}@media (min-width: 48em){.duet-contact-card{grid-template-columns:min-content minmax(0, 1fr) auto;gap:20px}}.duet-contact-card .image{width:4rem;height:4rem;margin-bottom:8px;border-radius:4px}@media (min-width: 48em){.duet-contact-card .image{width:6rem;height:6rem;padding-bottom:0}}.duet-contact-card .description{padding-bottom:8px}.duet-contact-card .email,.duet-contact-card .phone{display:grid;grid-template-columns:min-content auto;gap:8px;align-items:center;justify-content:flex-start;padding-bottom:8px;overflow-wrap:break-word}:host(.duet-theme-turva2) .duet-contact-card.duet-theme-turva{color:rgb(23, 42, 59)}';var m=s;var l=e("duet_contact_card",function(){function e(e){t(this,e);this.phoneLabel={en:"Phone",fi:"Puhelin",sv:"Telefon"};this.language=o();this.theme="";this.margin="auto";this.image=undefined;this.name=undefined;this.description=undefined;this.email=undefined;this.phone=undefined;this.buttonText=undefined;this.buttonIcon="form-date";this.buttonUrl=undefined}e.prototype.componentWillLoad=function(){d(this)};e.prototype.connectedCallback=function(){c(this)};e.prototype.disconnectedCallback=function(){r(this)};e.prototype.render=function(){var e=this.theme==="turva";var t=e?"turva":"default";return a(i,{key:"031a1cc6617901d47c4ffa723e7e5af73a11b609",class:{"duet-m-0":this.margin==="none"}},a("div",{key:"3eadcbaad47c4fced83d4db168810f79bfa7b786",class:{"duet-contact-card":true,"duet-theme-turva":this.theme==="turva"},role:"group","aria-label":this.name},this.image?a("img",{class:"image",src:this.image,alt:this.name}):a("div",null),a("div",{key:"54b585ba0d7820ddc0170b050d7b2fc1160fc559"},this.name&&a("duet-heading",{key:"b6ff67b0d0a8a8443a2318de87068aa15f080774",class:"name",level:"h3",margin:"none",theme:t},this.name),this.description&&a("duet-paragraph",{key:"3586614b97c27b190bd6cf657970e3fd54999733",class:"description",margin:"none",theme:t},this.description),this.email&&a("div",{key:"f28904a0807287b25d77dabd04d62e3db9dd9885",class:"email"},a("duet-icon",{key:"f51b5fe58a74b65433172d96c921aebd5cd046f0",name:"navigation-message",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"84014fd0fa9c758aa002751e780a876b1acf14cd",url:"mailto:".concat(this.email),accessibleLabel:"Email: ".concat(this.email),theme:t},this.email)),this.phone&&a("div",{key:"97814f25bbd4afa0c0449a22b09a72803717aaca",class:"phone"},a("duet-icon",{key:"e6775a6b8eadfe789170d5a896a225c5d2736bab",name:"form-tel",size:"x-small",color:"primary-dark",margin:"none",theme:t}),a("duet-link",{key:"61cd5ffd1d0850313af726624b8207cec0f3732f",url:"tel:".concat(this.phone),accessibleLabel:"".concat(this.phoneLabel[this.language],": ").concat(this.phone),theme:t},this.phone))),this.buttonUrl&&this.buttonText&&a("div",{key:"dbe676faf77918b470a549472baa29d249a86ac1",class:"call-to-action"},a("duet-button",{key:"294a9d190cdeba8cd13efc1d0f68aef675470c4b",variation:"default",icon:this.buttonIcon,fixed:true,margin:"none",url:this.buttonUrl,theme:t},this.buttonText)),a("div",{key:"0319211fcb9e7f11dd5b32a53a1c57436ed79268"}),a("slot",{key:"0ffb08aec4351a29a0cd3ccd25911f3271cb4058"})))};Object.defineProperty(e.prototype,"element",{get:function(){return n(this)},enumerable:false,configurable:true});return e}());l.style=m}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js"],(function(e){"use strict";var t,r,a,c;return{setters:[function(e){t=e.r;r=e.h;a=e.H},function(e){c=e.i}],execute:function(){var i=".duet-checkmark-container{position:relative;width:20px;height:20px;margin-left:auto;border:1px solid rgb(127, 150, 165);border-radius:4px;transition:border 300ms ease}.duet-checkmark-container.center{margin-right:auto}.duet-theme-turva .duet-checkmark-container{border-color:rgb(143, 147, 158)}.checked .duet-checkmark-container{background:rgb(0, 119, 179);border-color:rgb(0, 119, 179);transition:none}.duet-theme-turva .checked .duet-checkmark-container{background:rgb(23, 28, 58);border-color:rgb(23, 28, 58) !important}.duet-checkmark-container.duet-checkmark-radio{border-radius:50%}[disabled]+label .duet-checkmark-container{border-color:rgb(181, 198, 208) !important}.duet-theme-turva [disabled]+label .duet-checkmark-container{border-color:rgb(199, 202, 207) !important}.checked [disabled]+label .duet-checkmark-container{background:rgb(181, 198, 208) !important}.duet-theme-turva .checked [disabled]+label .duet-checkmark-container{background:rgb(199, 202, 207) !important}.duet-checkmark{position:absolute;top:10px;left:3px;width:5.3333333333px;height:11.8518518519px;border-top:2px solid rgb(255, 255, 255);border-right:2px solid rgb(255, 255, 255);opacity:1;transform:scaleX(-1) rotate(135deg) translateZ(0);transform-origin:left top;animation-name:duet-checkmark;animation-duration:600ms;animation-timing-function:ease-out;animation-fill-mode:forwards}@keyframes duet-checkmark{0%{width:0;height:0;opacity:1}20%{width:5.3333333333px;height:0;opacity:1}40%,100%{width:5.3333333333px;height:11.8518518519px;opacity:1}}:host(.duet-theme-turva2.duet-theme-turva) .checked .duet-checkmark-container{background:rgb(23, 42, 59);border-color:rgb(23, 42, 59) !important}";var o=i;var n=e("duet_checkmark",function(){function e(e){t(this,e);this.theme="";this.checked=false;this.presentationOnly=false;this.center=false;this.type="checkbox"}e.prototype.componentWillLoad=function(){c(this)};e.prototype.render=function(){return r(a,{key:"ac5830102d190e3315b4798b50f042d285f600f4",class:{"duet-theme-turva":this.theme==="turva"}},r("div",{key:"35f0f3e407a0835d5d29eff77793ca6d9e5c5744",role:this.presentationOnly?"presentation":null,class:{checked:this.checked}},r("div",{key:"f6fe02c597eb1264d6135b30933c371208426ad0",class:{"duet-checkmark-container":true,center:this.center,"duet-checkmark-radio":this.type==="radio"}},this.checked&&r("div",{key:"7b23a08c03ac673e9ff0b969793df4f055ac4341",class:"duet-checkmark"}))))};return e}());n.style=o}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as r,H as s,g as t}from"./p-
|
|
4
|
+
import{r as e,h as r,H as s,g as t}from"./p-3aa7b734.js";import{i as a}from"./p-6251429e.js";import{c as o}from"./p-5e59e970.js";import{g as i,c as d,d as n}from"./p-56def387.js";import"./p-9c3c64b9.js";const p=class{constructor(r){e(this,r),this.progressId=o("DuetProgress"),this.progressLabelId=o("DuetProgressLabel"),this.accessibleDescribedBy=void 0,this.accessibleDetails=void 0,this.accessibleLabelledBy=void 0,this.accessibleDescription=void 0,this.accessibleLabel=void 0,this.accessibleLabelUploadDefaults={fi:["lähetys valmis","lähetys käynnissä"],sv:["Uppladdningen är klar","Uppladdning pågår"],en:["upload completed","upload in progress"]},this.accessibleLabelUpload=i(this.accessibleLabelUploadDefaults),this.progress=0,this.caption=void 0,this.height="10px",this.theme=""}componentWillLoad(){a(this)}connectedCallback(){d(this,{prop:"accessibleLabelUpload",defaults:"accessibleLabelUploadDefaults"})}disconnectedCallback(){n(this)}render(){return r(s,null,r("div",{"aria-live":this.accessibleLabel?"polite":"off","aria-hidden":this.accessibleLabel?"false":"true","aria-atomic":"true",style:{height:this.height},id:this.progressId,class:{"duet-progress":!0,"duet-progress-done":100===this.progress,"duet-progress-start":0===this.progress,"duet-progress-inprogress":this.progress<99&&0!==this.progress,"duet-theme-turva":"turva"===this.theme}},r("duet-visually-hidden",null,r("label",{htmlFor:this.progressLabelId},r("span",null,this.accessibleLabel,0!==this.progress&&`, ${this.accessibleLabelUpload[this.progress<99?1:0]}`))),this.caption&&r("div",{class:"duet-progress-caption"},r("span",null,this.caption)),r("progress",{id:this.progressLabelId,"aria-describedby":this.accessibleDescribedBy,"aria-labelledby":this.accessibleLabelledBy,"aria-details":this.accessibleDetails,"aria-description":this.accessibleDescription,role:"progressbar",value:this.progress,max:"100","aria-valuemin":"0","aria-valuemax":"100"},r("div",{class:"progress-bar"},r("span",{style:{width:`${this.progress}%;`}},"Progress: ",this.progress,"%")))))}get element(){return t(this)}};p.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:inherit}.duet-progress{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%;min-height:1px;}.duet-progress .progress-bar{position:relative;display:block;width:100%;height:inherit;min-height:1px;background-color:rgb(240, 247, 250);border-radius:0;box-shadow:none}.duet-theme-turva .duet-progress .progress-bar{background-color:rgb(255, 241, 241)}.duet-progress .progress-bar>span{display:block;height:inherit;text-indent:-9999px;background-color:rgb(0, 119, 179);border-radius:0}.duet-theme-turva .duet-progress .progress-bar>span{background-color:rgb(198, 12, 48)}.duet-progress progress[value]{display:flex;width:100%;height:inherit;min-height:1px;color:rgb(0, 119, 179);-webkit-appearance:none;-moz-appearance:none;appearance:none;border:0 none}.duet-progress progress[value]::-webkit-progress-bar{background-color:rgb(240, 247, 250);border-radius:0}.duet-progress progress[value]::-webkit-progress-value{background-color:rgb(0, 119, 179);background-size:35px 20px, 100% 100%, 100% 100%;border-radius:0;-webkit-animation:animate-stripes 5s linear infinite;animation:animate-stripes 5s linear infinite}.duet-progress progress[value] ::-moz-progress-bar{background-color:rgb(240, 247, 250)}.duet-progress.duet-theme-turva progress[value]{color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(255, 241, 241)}.duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(198, 12, 48)}.duet-progress.duet-theme-turva progress[value] ::-moz-progress-bar{background-color:rgb(255, 241, 241)}.duet-theme-turva2 .duet-progress.duet-theme-turva .progress-bar{background-color:rgb(253, 247, 242)}.duet-theme-turva2 .duet-progress.duet-theme-turva .progress-bar>span{background-color:rgb(230, 23, 64)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]{color:rgb(230, 23, 64)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-webkit-progress-bar{background-color:rgb(253, 247, 242)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-webkit-progress-value{background-color:rgb(230, 23, 64)}.duet-theme-turva2 .duet-progress.duet-theme-turva progress[value]::-moz-progress-bar{background-color:rgb(253, 247, 242)}";export{p as duet_progress}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6746f86c.system.js"],(function(t){"use strict";var n;return{setters:[function(t){n=t.h}],execute:function(){var e=t("f",(function(t){if("setFocus"in t){t.setFocus()}else{t.focus()}}));var u=t("F",(function(t){var u=t.moveFocusTo;return n("div",{class:"duet-focus-guard","aria-hidden":"true",tabIndex:0,onFocus:function(){return e(u)}})}))}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js","./p-e6b5a1c7.system.js","./p-752fa0fc.system.js","./p-f392387c.system.js","./p-98636086.system.js"],(function(e){"use strict";var t,s,o,i,a,n,r,u,h,c,l,f;return{setters:[function(e){t=e.r;s=e.c;o=e.h;i=e.H;a=e.g},function(e){n=e.i},function(e){r=e.c},function(e){u=e.i},function(e){h=e.a;c=e.g;l=e.c;f=e.d},function(){}],execute:function(){var m='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block}.duet-show-more{margin-bottom:16px !important;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-weight:600;line-height:1.5;color:rgb(8, 42, 77)}.duet-show-more.duet-m-0{margin:0 !important}.duet-show-more .slotted-content{display:none}.duet-show-more.open .slotted-content{display:block}.duet-show-more .content:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva,.duet-theme-turva2 .duet-show-more .content:focus,.duet-show-more .content:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}.duet-show-more.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-show-more.duet-theme-turva{color:rgb(23, 42, 59)}';var d=m;var b=e("duet_show_more",function(){function e(e){var o=this;t(this,e);this.duetToggle=s(this,"duetToggle",7);this.contentId=r("DuetShowMore");this.buttonId=r("DuetShowMoreButton");this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.handleKeyDown=function(e){if(u(e)){o.handleClick(e)}};this.handleClick=function(e){e.preventDefault();var t=!o.open;o.open=t;if(t){setTimeout((function(){o.contentElement.focus()}),100);setTimeout((function(){o.buttonAriaOpen=t}),500)}else{o.buttonAriaOpen=t}o.duetToggle.emit({component:"duet-show-more",originalEvent:e})};this.buttonAriaOpen=false;this.theme="";this.language=h();this.showMoreLabelDefaults={fi:"Näytä lisää",sv:"Visa mer",en:"Show more"};this.showMoreLabel=c(this.showMoreLabelDefaults);this.showLessLabelDefaults={fi:"Näytä vähemmän",sv:"Visa mindre",en:"Show less"};this.showLessLabel=c(this.showLessLabelDefaults);this.showMoreAccessibleLabelDefaults={fi:"Näytä lisää tästä aiheesta",sv:"Visa mer om detta ämne",en:"Show more about this subject"};this.showMoreAccessibleLabel=c(this.showMoreAccessibleLabelDefaults);this.showLessAccessibleLabelDefaults={fi:"Näytä vähemmän tästä aiheesta",sv:"Visa mindre om detta ämne",en:"Show less about this subject"};this.showLessAccessibleLabel=c(this.showLessAccessibleLabelDefaults);this.margin="auto";this.buttonMargin="auto";this.buttonPadding="auto";this.open=false}e.prototype.componentWillLoad=function(){n(this);this.buttonAriaOpen=this.open};e.prototype.connectedCallback=function(){l(this,[{prop:"showMoreLabel",defaults:"showMoreLabelDefaults"},{prop:"showLessLabel",defaults:"showLessLabelDefaults"},{prop:"showMoreAccessibleLabel",defaults:"showMoreAccessibleLabelDefaults"},{prop:"showLessAccessibleLabel",defaults:"showLessAccessibleLabelDefaults"}])};e.prototype.disconnectedCallback=function(){f(this)};e.prototype.render=function(){var e=this;return o(i,{key:"56ef8d68e3957481eb3c0fd77169a3830a6c0ec3"},o("div",{key:"d73ea6ea5f16f353ca41d0600aecf3eb91734338",class:{"duet-show-more":true,"duet-theme-turva":this.theme==="turva","duet-m-0":this.margin==="none",open:this.open}},o("div",{key:"6afaf121c58138f90038b80120d2078f26c03b0f",ref:function(t){return e.contentElement=t},class:{content:true,"duet-theme-turva":this.theme==="turva"},id:this.contentId,tabindex:this.open?"-1":""},o("div",{key:"dae368a22e7ccf39355af66f099c03affeb903a8",class:{"slotted-content":true}},o("slot",{key:"0a343674cab958718bf41cf81fa7f50377ef88a2"}))),o("duet-button",{key:"b099b8982f27b745619611d11b5d1fad9122c97f",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.isSafariBrowser?this.open:null,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"},o("span",{key:"3e653ae12786956661bcf4be192514d56ff9fcf3"},this.open?this.showLessLabel:this.showMoreLabel))))};Object.defineProperty(e.prototype,"element",{get:function(){return a(this)},enumerable:false,configurable:true});return e}());b.style=d}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
var __awaiter=this&&this.__awaiter||function(t,e,i,d){function s(t){return t instanceof i?t:new i((function(e){e(t)}))}return new(i||(i=Promise))((function(i,o){function l(t){try{n(d.next(t))}catch(t){o(t)}}function a(t){try{n(d["throw"](t))}catch(t){o(t)}}function n(t){t.done?i(t.value):s(t.value).then(l,a)}n((d=d.apply(t,e||[])).next())}))};var __generator=this&&this.__generator||function(t,e){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},d,s,o,l;return l={next:a(0),throw:a(1),return:a(2)},typeof Symbol==="function"&&(l[Symbol.iterator]=function(){return this}),l;function a(t){return function(e){return n([t,e])}}function n(a){if(d)throw new TypeError("Generator is already executing.");while(l&&(l=0,a[0]&&(i=0)),i)try{if(d=1,s&&(o=a[0]&2?s["return"]:a[0]?s["throw"]||((o=s["return"])&&o.call(s),0):s.next)&&!(o=o.call(s,a[1])).done)return o;if(s=0,o)a=[a[0]&2,o.value];switch(a[0]){case 0:case 1:o=a;break;case 4:i.label++;return{value:a[1],done:false};case 5:i.label++;s=a[1];a=[0];continue;case 7:a=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(a[0]===6||a[0]===2)){i=0;continue}if(a[0]===3&&(!o||a[1]>o[0]&&a[1]<o[3])){i.label=a[1];break}if(a[0]===6&&i.label<o[1]){i.label=o[1];o=a;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(a);break}if(o[2])i.ops.pop();i.trys.pop();continue}a=e.call(t,i)}catch(t){a=[6,t];s=0}finally{d=o=0}if(a[0]&5)throw a[1];return{value:a[0]?a[1]:void 0,done:true}}};
|
|
2
|
+
/*!
|
|
3
|
+
* Built with Duet Design System
|
|
4
|
+
*/System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js","./p-d997b605.system.js"],(function(t){"use strict";var e,i,d,s,o,l;return{setters:[function(t){e=t.r;i=t.h;d=t.g;s=t.H},function(t){o=t.i},function(t){l=t.w}],execute:function(){var a="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-list-component{margin-bottom:16px !important;width:100%}.duet-list-component.duet-p-0{padding:0 !important}.duet-list-component.duet-m-0{margin:0 !important}";var n=a;var r=t("duet_list",function(){function t(t){e(this,t);this.theme="";this.margin="auto";this.padding="auto";this.mobile="left";this.breakpoint="small";this.variation="default";this.labelWidth="30";this.responsive=true}t.prototype.componentWillLoad=function(){o(this)};t.prototype.connectedCallback=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=this.element;this.mutationO=l(t,"duet-list-item",(function(){e.updateListItems()}));this.updateListItems();return[2]}))}))};t.prototype.disconnectedCallback=function(){if(this.mutationO){this.mutationO.disconnect();this.mutationO=undefined}};t.prototype.toggleClass=function(t,e,i){if(i){t.classList.add(e)}else{t.classList.remove(e)}};t.prototype.updateListItems=function(){return __awaiter(this,void 0,void 0,(function(){var t;var e=this;return __generator(this,(function(i){t=Array.from(this.element.querySelectorAll("duet-list-item"));t.forEach((function(t){t.responsive=e.responsive;t.breakpoint=e.responsive?e.breakpoint||"small":undefined;t.classList.add("duet-list-width-".concat(e.labelWidth));t.classList.add("duet-list-variation-".concat(e.variation));e.toggleClass(t,"duet-p-0",e.padding==="none");e.toggleClass(t,"duet-list-mobile-center",e.mobile==="center");e.toggleClass(t,"duet-list-striped",e.variation==="striped");e.toggleClass(t,"duet-list-bordered",e.variation==="bordered");e.toggleClass(t,"duet-list-inner-bordered",e.variation==="inner-bordered");e.toggleClass(t,"duet-theme-turva",e.theme==="turva")}));return[2]}))}))};t.prototype.render=function(){return i("dl",{key:"5e954e5cb5906fcf8e60eca5830d60091d2706c4",class:{"duet-list-component":true,"duet-m-0":this.margin==="none"}},i("slot",{key:"07566357caeeb57f2168a6bde8c5d2f54e6a7b68"}))};Object.defineProperty(t.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(t,"watchers",{get:function(){return{theme:["updateListItems"],padding:["updateListItems"],mobile:["updateListItems"],responsive:["updateListItems"],breakpoint:["updateListItems"],variation:["updateListItems"],labelWidth:["updateListItems"]}},enumerable:false,configurable:true});return t}());r.style=n;var u='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;flex-direction:column;display:flex;width:100%;overflow:visible;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1rem;font-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77)}:host dt{padding-bottom:4px}:host dd{padding-top:0}:host dt,:host dd{flex-basis:100%}:host dt,:host dd{width:100%;margin-inline-start:0;text-align:left;-webkit-hyphens:auto;hyphens:auto;overflow-wrap:break-word}:host dt{font-weight:600}.duet-theme-turva :host dt{font-weight:700}:host dd{margin-left:auto}:host(.duet-list-striped) dt,:host(.duet-list-striped) dd{padding:16px}:host(.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-striped) dd{padding-top:0}:host(.duet-list-striped.duet-no-stacking) dt,:host(.duet-list-striped.duet-no-stacking) dd{padding:16px}:host(:not(.duet-list-striped)) dt,:host(:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(:not(.duet-list-striped)) dt{padding-bottom:4px}:host(:not(.duet-list-striped)) dd{padding-top:0}:host(:not(.duet-list-striped).duet-no-stacking) dt,:host(:not(.duet-list-striped).duet-no-stacking) dd{padding:8px;padding-inline:0}:host(.duet-p-0) dt,:host(.duet-p-0) dd{padding:0 !important}:host(.duet-list-mobile-center) dt,:host(.duet-list-mobile-center) dd{text-align:center}:host(.duet-theme-turva){font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-list-striped:nth-of-type(odd)) dt,:host(.duet-list-striped:nth-of-type(odd)) dd{background:rgb(245, 248, 250)}:host(.duet-list-striped.duet-theme-turva:nth-of-type(odd)) dt,:host(.duet-list-striped.duet-theme-turva:nth-of-type(odd)) dd{background:rgb(245, 247, 250)}:host(.duet-list-bordered){border-block-start:1px solid rgb(212, 223, 229)}:host(.duet-list-bordered:last-child){border-block-end:1px solid rgb(212, 223, 229)}:host(.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(222, 224, 228)}:host(.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(222, 224, 228)}:host(.duet-list-inner-bordered:not(:last-child)){border-block-end:1px solid rgb(212, 223, 229)}:host(.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(222, 224, 228)}:host(.duet-no-stacking){flex-direction:row}:host(.duet-list-mobile-center.duet-no-stacking) dt,:host(.duet-list-mobile-center.duet-no-stacking) dd{text-align:left}:host(.duet-no-stacking.duet-list-width-30) dt{flex-basis:33%}:host(.duet-no-stacking.duet-list-width-30) dd{flex-basis:67%}:host(.duet-no-stacking.duet-list-width-50) dt{flex-basis:47%}:host(.duet-no-stacking.duet-list-width-50) dd{flex-basis:53%}:host(.duet-no-stacking.duet-list-width-70) dt{flex-basis:65%}:host(.duet-no-stacking.duet-list-width-70) dd{flex-basis:35%}:host(.duet-list-item-breakpoint-x-small){flex-direction:row}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:35%}@media (max-width: 22.5em){:host(.duet-list-item-breakpoint-x-small){flex-direction:column}:host(.duet-list-item-breakpoint-x-small) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small.duet-list-striped) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dt{padding-bottom:4px}:host(.duet-list-item-breakpoint-x-small:not(.duet-list-striped)) dd{padding-top:0}:host(.duet-list-item-breakpoint-x-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-mobile-center) dd{text-align:center}:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-30) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-50) dd{flex-basis:100%}:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dt,:host(.duet-list-item-breakpoint-x-small.duet-list-width-70) dd{flex-basis:100%}}@media (min-width: 36em){:host(.duet-list-item-breakpoint-small){flex-direction:row}:host(.duet-list-item-breakpoint-small.duet-list-striped) dt,:host(.duet-list-item-breakpoint-small.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-small:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-small.duet-p-0) dt,:host(.duet-list-item-breakpoint-small.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-small.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-small.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-small.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-small.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 48em){:host(.duet-list-item-breakpoint-medium){flex-direction:row}:host(.duet-list-item-breakpoint-medium.duet-list-striped) dt,:host(.duet-list-item-breakpoint-medium.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-medium:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-medium.duet-p-0) dt,:host(.duet-list-item-breakpoint-medium.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-medium.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-medium.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-medium.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-medium.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 62em){:host(.duet-list-item-breakpoint-large){flex-direction:row}:host(.duet-list-item-breakpoint-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-large.duet-list-width-70) dd{flex-basis:35%}}@media (min-width: 64.0625em){:host(.duet-list-item-breakpoint-x-large){flex-direction:row}:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-striped) dd{padding:16px}:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dt,:host(.duet-list-item-breakpoint-x-large:not(.duet-list-striped)) dd{padding:8px;padding-inline:0}:host(.duet-list-item-breakpoint-x-large.duet-p-0) dt,:host(.duet-list-item-breakpoint-x-large.duet-p-0) dd{padding:0 !important}:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dt,:host(.duet-list-item-breakpoint-x-large.duet-list-mobile-center) dd{text-align:left}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dt{flex-basis:33%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-30) dd{flex-basis:67%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dt{flex-basis:47%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-50) dd{flex-basis:53%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dt{flex-basis:65%}:host(.duet-list-item-breakpoint-x-large.duet-list-width-70) dd{flex-basis:35%}}:host(.duet-theme-turva2.duet-theme-turva){color:rgb(23, 42, 59)}:host(.duet-theme-turva2.duet-list-striped.duet-theme-turva:nth-of-type(odd)) dt,:host(.duet-theme-turva2.duet-list-striped.duet-theme-turva:nth-of-type(odd)) dd{background:rgb(245, 246, 247)}:host(.duet-theme-turva2.duet-list-bordered.duet-theme-turva){border-block-start:1px solid rgb(212, 221, 226)}:host(.duet-theme-turva2.duet-list-bordered.duet-theme-turva:last-child){border-block-end:1px solid rgb(212, 221, 226)}:host(.duet-theme-turva2.duet-list-inner-bordered.duet-theme-turva:not(:last-child)){border-block-end:1px solid rgb(212, 221, 226)}';var p=u;var m=t("duet_list_item",function(){function t(t){e(this,t);this.theme="";this.responsive=false;this.breakpoint="small"}t.prototype.componentWillLoad=function(){o(this)};t.prototype.render=function(){return i(s,{key:"a1d59eef6ebf95b35ba47c0c5d08dce588f79e2e",class:{"duet-theme-turva":this.theme==="turva","duet-no-stacking":!this.responsive,"duet-list-item-breakpoint-x-small":this.breakpoint==="x-small","duet-list-item-breakpoint-small":this.breakpoint==="small","duet-list-item-breakpoint-medium":this.breakpoint==="medium","duet-list-item-breakpoint-large":this.breakpoint==="large","duet-list-item-breakpoint-x-large":this.breakpoint==="x-large"}},i("dt",{key:"945de6fd1adcfbeff921e2adbc31c2252a6a0a4f"},i("slot",{key:"c0c9a3a4cc5c7b0522946d4f32b3eebf83f55b64",name:"label"})),i("dd",{key:"a283cfff317b10c86778c3d104e4f911f499ee53"},i("slot",{key:"5ada9a783edd1778553a2240cac92c796276989e",name:"value"})))};Object.defineProperty(t.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});return t}());m.style=p}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register(["./p-
|
|
4
|
+
System.register(["./p-6746f86c.system.js","./p-a71f0bcb.system.js"],(function(e){"use strict";var t,a,n,r,o;return{setters:[function(e){t=e.r;a=e.h;n=e.H;r=e.g},function(e){o=e.i}],execute:function(){var i="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%;height:100%}.duet-empty-state{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;width:100%;height:100%;padding:48px;color:rgb(8, 42, 77);text-align:center;background:rgb(245, 248, 250);border-radius:4px}.duet-empty-state.duet-theme-turva{color:rgb(23, 28, 58);background:rgb(245, 247, 250)}:host(.duet-theme-turva2) .duet-empty-state.duet-theme-turva{color:rgb(23, 42, 59);background:rgb(245, 246, 247)}";var c=i;var s=e("duet_empty_state",function(){function e(e){t(this,e);this.theme="";this.icon="messaging-question";this.size="medium"}e.prototype.componentWillLoad=function(){o(this)};e.prototype.render=function(){return a(n,{key:"f45d8c1fd50469058893aba0df2544f52f0df336"},a("div",{key:"43106f247f18ff15731201bc7726e347274be2e6",class:{"duet-empty-state":true,"duet-theme-turva":this.theme==="turva","duet-is-small":this.size==="small"}},a("duet-icon",{key:"9141aee8b2ee240077555ce18e23fb77ea7a1779",color:"currentColor",name:this.icon,size:this.size==="small"?"large":"x-large"}),a("div",{key:"59aebd1cea12a2be16857d061c1f34119c9bcf84"},a("slot",{key:"1dd6b0c0f7b8e6c1601bce724664242143e01020"}))))};Object.defineProperty(e.prototype,"element",{get:function(){return r(this)},enumerable:false,configurable:true});return e}());s.style=c}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as t,H as o,g as n}from"./p-
|
|
4
|
+
import{r as e,h as t,H as o,g as n}from"./p-3aa7b734.js";import{i as r}from"./p-6251429e.js";import{f as a}from"./p-a45e3f8b.js";const d=class{constructor(t){e(this,t),this.onClick=()=>{this.open=!this.open},this.getVariant=()=>(this.element.parentElement.getAttribute("slot"),"right"),this.accessibleLabel=void 0,this.theme="",this.open=!1,this.icon=void 0}handleFocus(e){e.composedPath().every((e=>e!==this.element))&&(this.open=!1)}componentWillLoad(){r(this)}handleEscape(e){a(e)&&(this.open=!1,this.setFocus())}async setFocus(e){this.button.focus(e)}render(){return t(o,{key:"79d75ff19ddc5d5e4bc05c2b759fa189a7e5a328",role:"listitem"},t("div",{key:"797d9710ac2b48c95f4e32753471b3e914f060eb",class:{"duet-menu-bar-dropdown":!0,"duet-theme-turva":"turva"===this.theme,active:this.open,[`duet-menu-bar-dropdown--slot-${this.getVariant()}`]:!0}},t("button",{key:"690d5bfe2910a845579a5262a456f450b4fa5de6",ref:e=>this.button=e,"aria-label":this.accessibleLabel,"aria-haspopup":"menu","aria-controls":"menu","aria-expanded":this.open?"true":"false",id:"button",type:"button",class:{active:this.open},onClick:this.onClick,onKeyUp:e=>this.handleEscape(e)},this.icon&&t("duet-icon",{key:"db531e44188b297ac1f54d19830a203ec705ebfb",class:"menu-bar-dropdown-icon",theme:this.theme,name:this.icon,size:"auto",margin:"none",color:"currentColor"}),t("div",{key:"8722763917df82c35c441e643676e851df5f1cca",class:"label"},t("slot",{key:"2893eb3e1e367e6f206644e48c6388cd23b7da93",name:"label"}),t("duet-icon",{key:"e6a26816a85cdc47fe61219a601593d01473c413",class:"caret",theme:this.theme,name:"action-arrow-down-small",margin:"none",size:"xxx-small",color:"currentColor"}))),t("div",{key:"3c8a74c98bb4c8b67f0ef0d5332d215f7c9713f3",tabindex:"-1",role:"menu",id:"menu","aria-labelledby":"button",class:{items:!0,hidden:!this.open}},t("slot",{key:"c5b39b69128a328c0b93ae130d452f35333535d2"}))))}get element(){return n(this)}};d.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;height:100%}@media (min-width: 62em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 16px}}@media (min-width: 76.25em){:host(:last-child) .duet-menu-bar-dropdown button{padding:0 16px 0 28px}}.duet-menu-bar-dropdown{position:relative;height:100%}.duet-menu-bar-dropdown button{position:relative;display:flex;gap:8px;align-items:center;justify-content:center;height:100%;padding:0 12px;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(0, 75, 129);text-align:center;text-decoration:none;cursor:pointer}.duet-menu-bar-dropdown button:focus{outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva .duet-menu-bar-dropdown button:focus,.duet-menu-bar-dropdown button:focus.duet-theme-turva,.duet-theme-turva2 .duet-menu-bar-dropdown button:focus,.duet-menu-bar-dropdown button:focus.duet-theme-turva2{outline:2px solid;outline-offset:2px;outline-color:rgba(53, 79, 101, 0.8)}@media (min-width: 62em){.duet-menu-bar-dropdown button{padding:0 16px}}@media (min-width: 76.25em){.duet-menu-bar-dropdown button{padding:0 28px}}.duet-menu-bar-dropdown button:hover{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button .label{display:flex;gap:0.5rem;align-items:center;justify-content:center}.duet-menu-bar-dropdown button.active{color:rgb(0, 119, 179)}.duet-menu-bar-dropdown button.active .caret{transform:rotate(180deg)}.duet-theme-turva .duet-menu-bar-dropdown button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown button.active::after{position:absolute;top:auto;bottom:2px;left:0;display:block;width:100%;height:2px;content:"";background:rgb(0, 119, 179);transform:translateY(2px);transition:300ms ease}.duet-theme-turva .duet-menu-bar-dropdown button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:20px;height:20px}@media (min-width: 62em){.duet-menu-bar-dropdown .menu-bar-dropdown-icon{width:16px;height:16px}}.duet-menu-bar-dropdown .items{position:absolute;top:70%;right:0%;left:auto;z-index:600;display:flex;flex-direction:column;align-items:center;justify-content:center;min-width:225px;padding:8px;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:8px;box-shadow:0 0 0 1px rgba(0, 0, 0, 0.07), 0 4px 10px 0 rgba(0, 41, 77, 0.15)}.duet-menu-bar-dropdown .items.hidden{display:none}.duet-menu-bar-dropdown.duet-theme-turva button{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(198, 12, 48)}.duet-menu-bar-dropdown.duet-theme-turva .items{background:rgb(255, 255, 255)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button:hover{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active{color:rgb(230, 23, 64)}:host(.duet-theme-turva2) .duet-menu-bar-dropdown.duet-theme-turva button.active::after{background:rgb(230, 23, 64)}';export{d as duet_menu_bar_dropdown}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,h as t,g as i,H as a}from"./p-
|
|
4
|
+
import{r as e,h as t,g as i,H as a}from"./p-3aa7b734.js";import{i as h}from"./p-6251429e.js";import{g as d}from"./p-8b34b6a1.js";import"./p-b0af0dbc.js";const r=class{constructor(t){e(this,t),this.theme="",this.margin="auto",this.color=""}componentWillLoad(){h(this)}render(){const e=d(this.color);return t("div",{key:"0abfcccc8eafdca452bd879ba84ae92b59fee8ae",class:{"duet-m-0":"none"===this.margin,"duet-m-s":"small"===this.margin,"duet-divider":!0,"duet-theme-turva":"turva"===this.theme},style:{background:e}})}get element(){return i(this)}};r.style="*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;display:block;width:100%}.duet-divider{-webkit-user-select:none;user-select:none;display:block;width:100%;height:1px;margin-top:var(--divider-margin, 36px) !important;margin-right:var(--divider-margin, 0);margin-bottom:var(--divider-margin, 28px);margin-left:var(--divider-margin, 0);background:rgb(212, 223, 229)}.duet-divider.duet-p-0{padding:0 !important}.duet-divider.duet-m-0{margin:0 !important}.duet-divider.duet-m-s{margin-bottom:16px !important;margin-top:0 !important}.duet-divider.duet-theme-turva{background:rgb(222, 224, 228)}:host(.duet-theme-turva2) .duet-divider.duet-theme-turva{background:rgb(212, 221, 226)}";const s=class{constructor(t){e(this,t),this.size="medium",this.direction="vertical",this.breakpoint=""}render(){return t(a,{key:"6538750ce10fceade9822375b75a8bbbe20cd76f",class:{"duet-spacer":!0,"duet-spacer-xx-small":"xx-small"===this.breakpoint,"duet-spacer-x-small":"x-small"===this.breakpoint,"duet-spacer-small":"small"===this.breakpoint,"duet-spacer-medium":"medium"===this.breakpoint,"duet-spacer-large":"large"===this.breakpoint,"duet-spacer-x-large":"x-large"===this.breakpoint,"duet-spacer-xx-large":"xx-large"===this.breakpoint,[this.size]:!0,[`duet-spacer-${this.direction}`]:!0}})}};s.style=":host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;display:block;width:12px;min-width:12px;height:12px}@media (min-width: 36em){:host{width:16px;min-width:16px;height:16px}}:host(.duet-spacer-horizontal){display:inline-block;height:100% !important}:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-small){width:4px;min-width:4px}}:host(.duet-spacer-horizontal.x-small){width:4px;min-width:4px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-small){width:8px;min-width:8px}}:host(.duet-spacer-horizontal.small){width:8px;min-width:8px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.small){width:12px;min-width:12px}}:host(.duet-spacer-horizontal.medium){height:100%}:host(.duet-spacer-horizontal.large){width:16px;min-width:16px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.large){width:20px;min-width:20px}}:host(.duet-spacer-horizontal.x-large){width:20px;min-width:20px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.x-large){width:28px;min-width:28px}}:host(.duet-spacer-horizontal.xx-large){width:28px;min-width:28px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xx-large){width:36px;min-width:36px}}:host(.duet-spacer-horizontal.xxx-large){width:36px;min-width:36px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxx-large){width:48px;min-width:48px}}:host(.duet-spacer-horizontal.xxxx-large){width:48px;min-width:48px;height:100%}@media (min-width: 36em){:host(.duet-spacer-horizontal.xxxx-large){width:72px;min-width:72px}}:host(.duet-spacer-vertical.xx-small){width:100%;height:4px;min-height:4px}:host(.duet-spacer-vertical.x-small){width:100%;height:4px;min-height:4px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-small){height:8px;min-height:8px}}:host(.duet-spacer-vertical.small){width:100%;height:8px;min-height:8px}@media (min-width: 36em){:host(.duet-spacer-vertical.small){height:12px;min-height:12px}}:host(.duet-spacer-vertical.medium){width:100%}:host(.duet-spacer-vertical.large){width:100%;height:16px;min-height:16px}@media (min-width: 36em){:host(.duet-spacer-vertical.large){height:20px;min-height:20px}}:host(.duet-spacer-vertical.x-large){width:100%;height:20px;min-height:20px}@media (min-width: 36em){:host(.duet-spacer-vertical.x-large){height:28px;min-height:28px}}:host(.duet-spacer-vertical.xx-large){width:100%;height:28px;min-height:28px}@media (min-width: 36em){:host(.duet-spacer-vertical.xx-large){height:36px;min-height:36px}}:host(.duet-spacer-vertical.xxx-large){width:100%;height:36px;min-height:36px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxx-large){height:48px;min-height:48px}}:host(.duet-spacer-vertical.xxxx-large){width:100%;height:48px;min-height:48px}@media (min-width: 36em){:host(.duet-spacer-vertical.xxxx-large){height:72px;min-height:72px}}:host(.duet-spacer-xx-small){display:none}@media (max-width: 22.5em){:host(.duet-spacer-xx-small){display:block}}:host(.duet-spacer-x-small){display:none}@media (max-width: 35.9375em){:host(.duet-spacer-x-small){display:block}}:host(.duet-spacer-small){display:none}@media (min-width: 36em){:host(.duet-spacer-small){display:block}}:host(.duet-spacer-medium){display:none}@media (min-width: 48em){:host(.duet-spacer-medium){display:block}}:host(.duet-spacer-large){display:none}@media (min-width: 62em){:host(.duet-spacer-large){display:block}}:host(.duet-spacer-x-large){display:none}@media (min-width: 64.0625em){:host(.duet-spacer-x-large){display:block}}:host(.duet-spacer-xx-large){display:none}@media (min-width: 76.25em){:host(.duet-spacer-xx-large){display:block}}";export{r as duet_divider,s as duet_spacer}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,c as t,h as o,H as a,g as n}from"./p-
|
|
4
|
+
import{r as e,c as t,h as o,H as a,g as n}from"./p-3aa7b734.js";import{i as s}from"./p-6251429e.js";import{s as i,u as d}from"./p-a45e3f8b.js";const r=class{constructor(o){e(this,o),this.duetCookieConsent=t(this,"duetCookieConsent",7),this.handleClick=e=>{e.preventDefault(),this.duetCookieConsent.emit({component:"duet-cookie-consent"})},this.accessibleLabel="Hyväksyn evästeiden käytön",this.theme=""}handleFocusIn(e){e.composedPath()[0]!==this.element&&this.element.classList.add("descendant-focused")}handleFocusOut(){this.element.classList.remove("descendant-focused")}componentWillLoad(){s(this)}connectedCallback(){i(this)}disconnectedCallback(){d(this)}render(){return o(a,{key:"506d1769429cf65db0c103b4f18005cfeff7bee8",tabindex:"-1",class:{"duet-theme-turva":"turva"===this.theme}},o("div",{key:"c36f8630bd43e752be0aed0fdefcdbb2cfd29718",class:{"duet-cookie-consent":!0,"duet-theme-turva":"turva"===this.theme}},o("div",{key:"96368e115adefab02051daabb9e584353f411e1a",class:"duet-cookie-consent-content"},o("div",{key:"3179191d41fd6656f1a13fb3bd06b2a3388240f0",class:"expand"},o("slot",{key:"39de067bf84d2b0caf9f6f8675abb10f3d713487"})),o("duet-spacer",{key:"c08f12efe61e76885353c55a1300442c9436a6ff",size:"large",direction:"horizontal"}),o("div",{key:"8d71e1afdd7ec69a6738ccac4fac99179378b64e"},o("duet-button",{key:"d86306aa5911917a369925c86cac272216003ac0",variation:"negative",size:"small",onClick:this.handleClick,margin:"none","aria-label":this.accessibleLabel,theme:this.theme},"OK")))))}get element(){return n(this)}};r.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:fixed;right:0;bottom:0;left:0;z-index:950;display:block;width:100%;box-shadow:0 2px 20px 0 rgba(0, 0, 0, 0.2)}@media (min-width: 48em){:host{right:28px;bottom:28px;left:auto;width:25rem}}:host(:focus){outline:0}:host(.user-is-tabbing:not(.descendant-focused):focus){outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8);border-radius:4px}.duet-theme-turva :host(.user-is-tabbing:not(.descendant-focused):focus),:host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva,.duet-theme-turva2 :host(.user-is-tabbing:not(.descendant-focused):focus),:host(.user-is-tabbing:not(.descendant-focused):focus).duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}.duet-cookie-consent{padding:20px;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;color:rgb(255, 255, 255) !important;background-color:rgba(4, 21, 39, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent{background:rgba(4, 21, 39, 0.8);-webkit-backdrop-filter:blur(4px);backdrop-filter:blur(4px)}}.duet-cookie-consent.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";background-color:rgba(12, 14, 29, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){.duet-cookie-consent.duet-theme-turva{background:rgba(12, 14, 29, 0.8)}}@media (min-width: 48em){.duet-cookie-consent{padding:20px;border-radius:4px}}.duet-cookie-consent-content{display:flex;align-items:center;max-width:1110px;margin:0 auto}.duet-cookie-consent-content .expand{flex:1}::slotted(a){font-weight:600;color:rgb(255, 255, 255) !important;white-space:nowrap;text-decoration:underline}::slotted(a[target=_blank]){padding-right:16px;background:url("data:image/svg+xml;base64,PHN2ZyBmaWxsPSIjZmZmIiB2aWV3Qm94PSIwIDAgMjQgMjQiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PHBhdGggZD0iTTEwLjUgMmExLjUgMS41IDAgMDEuMTQgM0gzLjc1Yy0uMzggMC0uNy4yOC0uNzQuNjVsLS4wMS4xdjE0LjVjMCAuMzguMjguNy42NS43NGwuMS4wMWgxNC41Yy4zOCAwIC43LS4yOC43NC0uNjVsLjAxLS4xdi02Ljg5YTEuNSAxLjUgMCAwMTMgMHY2Ljg5QTMuNzUgMy43NSAwIDAxMTguMjUgMjRIMy43NUEzLjc1IDMuNzUgMCAwMTAgMjAuMjVWNS43NUEzLjc1IDMuNzUgMCAwMTMuNzUgMnptMTItMmMuNzggMCAxLjQyLjYgMS41IDEuMzZWNy41YTEuNSAxLjUgMCAwMS0zIC4xNFY1LjEybC01LjQ0IDUuNDRhMS41IDEuNSAwIDAxLTIuMjItMmwuMS0uMTJMMTguODggM0gxNi41QTEuNSAxLjUgMCAwMTE1IDEuNjRWMS41YzAtLjc4LjYtMS40MiAxLjM2LTEuNWguMTR6Ii8+PC9zdmc+") no-repeat right 50%;background-size:12px 10px}::slotted(a:focus){outline:2px solid;outline-offset:2px;outline-color:rgba(0, 119, 179, 0.8)}.duet-theme-turva ::slotted(a:focus),::slotted(a:focus).duet-theme-turva,.duet-theme-turva2 ::slotted(a:focus),::slotted(a:focus).duet-theme-turva2{outline-color:rgba(53, 79, 101, 0.8)}:host(.duet-theme-turva2) .duet-cookie-consent.duet-theme-turva{background-color:rgba(12, 21, 30, 0.9)}@supports (-webkit-backdrop-filter: none) or (backdrop-filter: none){:host(.duet-theme-turva2) .duet-cookie-consent.duet-theme-turva{background:rgba(12, 21, 30, 0.8)}}';export{r as duet_cookie_consent}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
import{r as e,c as t,h as i,H as o,g as n}from"./p-f0a6103e.js";import{i as a}from"./p-3b2e4c1d.js";import{a as r}from"./p-9fe69b29.js";import"./p-9c3c64b9.js";const s=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.previousYScroll=0,this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.checkCenterSlot=()=>{const e=this.element.querySelector('[slot="center"]');this.centerSlotUsed=!!e},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.hidden=!1,this.onBottom=!1,this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.centerSlotUsed=!1,this.mediaQueryMediumMatches=!1,this.theme="",this.language=r(),this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.logoInfoText=void 0,this.accessibleLabel=void 0,this.hideOnScroll=!1}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hideOnScroll&&(clearTimeout(this.zindexTimer),this.onBottom=!0),this.hidden=!0):window.scrollY<150&&(this.hideOnScroll&&(this.zindexTimer=setTimeout((()=>{this.onBottom=!1}),300)),this.hidden=!1),this.previousYScroll=window.scrollY)}componentWillLoad(){a(this)}connectedCallback(){this.checkCenterSlot()}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive(),this.checkCenterSlot()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(o,{key:"255814311f574f7d85b3bc80bb175cc1f1d18a64"},i("nav",{key:"83e7544a5404b5af2c3719a2489e4b36a540c1e8",class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo,"duet-menu-bar-slim":!this.centerSlotUsed,hidden:this.hidden&&this.hideOnScroll,bottom:this.onBottom},"aria-label":this.accessibleLabel},i("div",{key:"f32cf559d838dc433b85c7cb4df85fcf1915f7ef",class:"top"}),i("div",{key:"19a48ff07d04fe3ce07ef084ebcc51306a434bde",class:{container:!0,"with-info-text":!!this.logoInfoText&&!this.centerSlotUsed},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",{key:"c93a4319705c231ff4caafb5351040743648da31"},i("duet-logo",{key:"39c4a607c937dea11129d57acdd5165280235fdf",class:"medium",size:"medium",margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),i("duet-logo",{key:"a79acdf7414befb7341990872ce965b08d59d675",class:"large",size:"large",margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),i("duet-logo",{key:"7e553d40b2309b1bb8108c426b54ab5b6a406d78",class:"only-symbol",onlySymbol:!0,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),this.logoInfoText&&!this.centerSlotUsed&&i("div",{key:"b587afd17006e768a5468fbfb999d749b0257d6d",class:{"duet-logo-info-text":!0,"duet-theme-turva":"turva"===this.theme}},this.logoInfoText)),i("div",{key:"f7c134952e7e4e4939a76643338af9aa8184cfa9",class:"list center",role:"list"},i("div",{key:"2abb544bcd51d678b040268faba758c361f419ad",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{key:"5cb2a6679aab357ec3ea58484fa678da7c9a054c",name:"center"}),i("div",{key:"84768be6f01769a9af9376eda0c7ab392afb76a5",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{key:"ed2f72a70440b9257c7e00ab25cd2d1a93f64fbf",class:"list right",role:"list"},i("slot",{key:"348067a2565d3594907c03abe52dd8f100dbe675",name:"right"}))),i("div",{key:"3f5710688ff1e20bfd146d11e07379106cba9c54",class:"bottom"})))}get element(){return n(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;width:100%;pointer-events:none}:host *{pointer-events:auto}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}.duet-menu-bar .container duet-logo.large,.duet-menu-bar .container duet-logo.only-symbol{display:none}.duet-menu-bar .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 76.25em){.duet-menu-bar .container duet-logo.medium{display:none}.duet-menu-bar .container duet-logo.large{display:block}}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-grow:1;flex-basis:0;justify-content:flex-start;width:auto;height:40px}@media (min-width: 76.25em){.duet-menu-bar .container>:first-child{height:48px}}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text){flex-grow:8}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text) duet-paragraph{max-height:100%}.duet-menu-bar .container>:last-child{flex-grow:1;flex-basis:0;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container .duet-logo-info-text{max-height:2.8875rem;padding-left:16px;margin-left:16px;overflow:hidden;text-overflow:ellipsis;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.1;color:rgb(62, 84, 102);-webkit-hyphens:auto;hyphens:auto;border-left:1px solid rgb(212, 223, 229)}.duet-menu-bar .container .duet-logo-info-text.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(71, 78, 101);border-left-color:rgb(222, 224, 228)}@media (min-width: 48em){.duet-menu-bar .container .duet-logo-info-text{max-height:3.3rem;font-size:1rem}}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.large{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva .center{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .right{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-logo-info-text{color:rgb(53, 79, 101);border-left-color:rgb(212, 221, 226)}';export{s as duet_menu_bar}
|
|
4
|
+
import{r as e,c as t,h as i,H as o,g as n}from"./p-3aa7b734.js";import{i as a}from"./p-6251429e.js";import{a as r}from"./p-56def387.js";import"./p-9c3c64b9.js";const s=class{constructor(i){e(this,i),this.duetEvent=t(this,"duetEvent",7),this.previousYScroll=0,this.scrollbarCheck=()=>{this.leftMoreVisible=this.container.scrollLeft>0,this.rightMoreVisible=this.container.scrollLeft!==this.container.scrollWidth-this.container.clientWidth},this.scrollToActive=()=>{let e;this.element.querySelectorAll("[active]").forEach((t=>{t.active&&(e=t)})),e&&e.offsetLeft&&e.offsetLeft>50&&(this.container.scrollLeft=e.offsetLeft-this.element.getBoundingClientRect().width/2+e.offsetWidth/2)},this.checkCenterSlot=()=>{const e=this.element.querySelector('[slot="center"]');this.centerSlotUsed=!!e},this.handleLogoClick=e=>{this.duetEvent.emit({name:"logoClick",component:"duet-menu-bar",data:{logoHref:this.logoHref},originalEvent:e})},this.hidden=!1,this.onBottom=!1,this.logoSize="large",this.leftMoreVisible=!1,this.rightMoreVisible=!1,this.centerSlotUsed=!1,this.mediaQueryMediumMatches=!1,this.theme="",this.language=r(),this.logo=!0,this.logoHref=void 0,this.logoLinkAccessibleLabel=void 0,this.logoInfoText=void 0,this.accessibleLabel=void 0,this.hideOnScroll=!1}checkScroll(){this.hideOnScroll&&(window.scrollY>this.previousYScroll?window.scrollY>100&&(this.hideOnScroll&&(clearTimeout(this.zindexTimer),this.onBottom=!0),this.hidden=!0):window.scrollY<150&&(this.hideOnScroll&&(this.zindexTimer=setTimeout((()=>{this.onBottom=!1}),300)),this.hidden=!1),this.previousYScroll=window.scrollY)}componentWillLoad(){a(this)}connectedCallback(){this.checkCenterSlot()}componentDidLoad(){setTimeout((()=>{this.scrollbarCheck(),this.scrollToActive(),this.checkCenterSlot()}),0)}onWindowResize(){clearTimeout(this.resizeTimer),this.resizeTimer=setTimeout((()=>{this.scrollToActive()}),100)}render(){const e=document.querySelectorAll("duet-slideout").length>0;return i(o,{key:"255814311f574f7d85b3bc80bb175cc1f1d18a64"},i("nav",{key:"83e7544a5404b5af2c3719a2489e4b36a540c1e8",class:{"duet-menu-bar":!0,"duet-theme-turva":"turva"===this.theme,"horizontal-nav":e&&!this.logo,"duet-menu-bar-slim":!this.centerSlotUsed,hidden:this.hidden&&this.hideOnScroll,bottom:this.onBottom},"aria-label":this.accessibleLabel},i("div",{key:"f32cf559d838dc433b85c7cb4df85fcf1915f7ef",class:"top"}),i("div",{key:"19a48ff07d04fe3ce07ef084ebcc51306a434bde",class:{container:!0,"with-info-text":!!this.logoInfoText&&!this.centerSlotUsed},ref:e=>this.container=e,onScroll:()=>this.scrollbarCheck()},this.logo&&i("div",{key:"c93a4319705c231ff4caafb5351040743648da31"},i("duet-logo",{key:"39c4a607c937dea11129d57acdd5165280235fdf",class:"medium",size:"medium",margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),i("duet-logo",{key:"a79acdf7414befb7341990872ce965b08d59d675",class:"large",size:"large",margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),i("duet-logo",{key:"7e553d40b2309b1bb8108c426b54ab5b6a406d78",class:"only-symbol",onlySymbol:!0,margin:"none",theme:this.theme,href:this.logoHref,accessibleLabel:this.logoLinkAccessibleLabel,onClick:this.handleLogoClick,language:this.language}),this.logoInfoText&&!this.centerSlotUsed&&i("div",{key:"b587afd17006e768a5468fbfb999d749b0257d6d",class:{"duet-logo-info-text":!0,"duet-theme-turva":"turva"===this.theme}},this.logoInfoText)),i("div",{key:"f7c134952e7e4e4939a76643338af9aa8184cfa9",class:"list center",role:"list"},i("div",{key:"2abb544bcd51d678b040268faba758c361f419ad",class:"more-left",hidden:!this.leftMoreVisible,role:"presentation"}),i("slot",{key:"5cb2a6679aab357ec3ea58484fa678da7c9a054c",name:"center"}),i("div",{key:"84768be6f01769a9af9376eda0c7ab392afb76a5",class:"more-right",hidden:!this.rightMoreVisible,role:"presentation"})),i("div",{key:"ed2f72a70440b9257c7e00ab25cd2d1a93f64fbf",class:"list right",role:"list"},i("slot",{key:"348067a2565d3594907c03abe52dd8f100dbe675",name:"right"}))),i("div",{key:"3f5710688ff1e20bfd146d11e07379106cba9c54",class:"bottom"})))}get element(){return n(this)}};s.style='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0;position:relative;width:100%;pointer-events:none}:host *{pointer-events:auto}.duet-menu-bar{position:relative;top:0;z-index:2;display:flex;align-items:center;justify-content:center;background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(0, 41, 77, 0.07);transition:top 0.3s}.duet-menu-bar.hidden{top:-200px}.duet-menu-bar.bottom{z-index:1}@media (min-width: 62em){.duet-menu-bar{box-shadow:0 3px 6px 0 rgba(0, 41, 77, 0.1)}}.duet-menu-bar .top{display:none}.duet-menu-bar .bottom{display:none}.duet-menu-bar.horizontal-nav{position:relative}.duet-menu-bar.horizontal-nav .top{position:absolute;top:0;left:3.5%;display:block;width:93%;height:1px;background:rgb(245, 248, 250)}.duet-menu-bar.horizontal-nav .bottom{position:absolute;bottom:0;left:0;display:block;width:100%;height:1px;background:rgb(212, 223, 229)}.duet-menu-bar.horizontal-nav .more-left{position:absolute;top:0;left:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(90deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-left{display:none}}.duet-menu-bar.horizontal-nav .more-right{position:absolute;top:0;right:0;z-index:1;width:56px;height:49px;pointer-events:none;background:linear-gradient(270deg, #fff 0%, rgba(255, 255, 255, 0) 100%)}@media (min-width: 62em){.duet-menu-bar.horizontal-nav .more-right{display:none}}@media (pointer: fine){.duet-menu-bar.horizontal-nav{display:none}}@media (pointer: fine) and ((min-width: 62em)){.duet-menu-bar.horizontal-nav{display:flex}}.duet-menu-bar .container{display:flex;align-items:center;justify-content:space-between;width:100%;max-width:1440px;height:100%;height:3.25rem;padding:0 8px 0 20px;overflow-x:auto;scrollbar-width:none}.duet-menu-bar .container::-webkit-scrollbar{width:0;height:0}.duet-menu-bar .container duet-logo.large,.duet-menu-bar .container duet-logo.only-symbol{display:none}.duet-menu-bar .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 76.25em){.duet-menu-bar .container duet-logo.medium{display:none}.duet-menu-bar .container duet-logo.large{display:block}}@media (min-width: 62em){.duet-menu-bar .container{height:5rem;padding:0 28px;overflow-x:visible}}.duet-menu-bar .container .list{height:100%;list-style-type:none}.duet-menu-bar .container ::slotted(*){height:100%}.duet-menu-bar .container>*{display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container>:first-child{flex-grow:1;flex-basis:0;justify-content:flex-start;width:auto;height:40px}@media (min-width: 76.25em){.duet-menu-bar .container>:first-child{height:48px}}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text){flex-grow:8}.duet-menu-bar .container>:first-child:has(.duet-logo-info-text) duet-paragraph{max-height:100%}.duet-menu-bar .container>:last-child{flex-grow:1;flex-basis:0;justify-content:flex-end}.duet-menu-bar .container ::slotted(*){display:flex;align-items:center;justify-content:center;height:100%}.duet-menu-bar .container .duet-logo-info-text{max-height:2.8875rem;padding-left:16px;margin-left:16px;overflow:hidden;text-overflow:ellipsis;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-style:normal;font-weight:400;font-variant-numeric:tabular-nums;line-height:1.1;color:rgb(62, 84, 102);-webkit-hyphens:auto;hyphens:auto;border-left:1px solid rgb(212, 223, 229)}.duet-menu-bar .container .duet-logo-info-text.duet-theme-turva{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(71, 78, 101);border-left-color:rgb(222, 224, 228)}@media (min-width: 48em){.duet-menu-bar .container .duet-logo-info-text{max-height:3.3rem;font-size:1rem}}.duet-menu-bar.duet-theme-turva{background:rgb(255, 255, 255);box-shadow:0 2px 6px 0 rgba(23, 28, 58, 0.07)}@media (min-width: 62em){.duet-menu-bar.duet-theme-turva{box-shadow:0 3px 6px 0 rgba(23, 28, 58, 0.1)}}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container duet-logo.large{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:none}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:block}@media (min-width: 48em){.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.medium{display:block}.duet-menu-bar.duet-menu-bar-slim .container.with-info-text duet-logo.only-symbol{display:none}}@media (min-width: 62em){.duet-menu-bar.duet-menu-bar-slim .container{height:4rem}}.center{font-size:1rem;font-weight:600;line-height:1.25;color:rgb(8, 42, 77)}.duet-theme-turva .center{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.right{font-size:0.875rem;font-weight:400;line-height:1.25;color:rgb(0, 75, 129)}.duet-theme-turva .right{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}:host(.duet-theme-turva2) .duet-theme-turva .center{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .right{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-logo-info-text{color:rgb(53, 79, 101);border-left-color:rgb(212, 221, 226)}';export{s as duet_menu_bar}
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
const _="rgb(240, 247, 250)",r="rgb(253, 247, 242)",o="rgb(228, 241, 247)",a="rgb(251, 235, 225)",l="rgb(0, 119, 179)",e="rgb(230, 23, 64)",c="rgb(255, 255, 255)",t="rgb(255, 255, 255)",g="rgb(245, 248, 250)",u="rgb(245, 246, 247)",i="rgb(8, 42, 77)",d="rgb(23, 42, 59)",s="rgb(0, 161, 212)",n="rgb(178, 180, 179)",b="rgb(11, 114, 136)",y="rgb(199, 12, 112)",x="rgb(122, 1, 196)",v="rgb(211, 36, 131)",m="rgb(161, 10, 78)",p="rgb(168, 1, 78)",h="rgb(213, 66, 3)",w="rgb(9, 129, 148)",z="rgb(169, 69, 124)",f="rgb(54, 74, 129)",k="rgb(23, 28, 58)",q="rgb(214, 28, 82)",S="rgb(255, 240, 243)",I="rgb(255, 211, 219)",U="rgb(89, 0, 45)",j="rgb(255, 173, 190)",A="rgb(252, 136, 162)",E="rgb(243, 98, 134)",B="rgb(255, 225, 231)",C="rgb(231, 62, 107)",F="rgb(214, 28, 82)",H="rgb(185, 16, 74)",M="rgb(153, 9, 66)",R="rgb(120, 4, 56)",O="rgb(214, 28, 82)",D="rgb(122, 1, 196)",G="rgb(0, 155, 204)",J="rgb(27, 171, 75)",K="rgb(255, 86, 34)",L="rgb(245, 76, 154)",N="rgb(194, 21, 101)",P="rgb(192, 101, 247)",Q="rgb(0, 105, 191)",T="rgb(19, 120, 53)",V="rgb(179, 60, 24)",W="rgb(13, 163, 166)",X="rgb(11, 114, 136)",Y="rgb(179, 137, 24)",Z="rgb(128, 98, 17)",$="rgb(0, 41, 77)",__="rgb(181, 198, 208)",r_="rgb(127, 150, 165)",o_="rgb(143, 147, 158)",a_="rgb(98, 121, 138)",l_="rgb(113, 118, 132)",e_="rgb(212, 223, 229)",c_="rgb(222, 224, 228)",t_="rgb(245, 248, 250)",g_="rgb(245, 247, 250)",u_="rgb(255, 255, 255)",i_="rgb(255, 255, 255)",d_="rgb(199, 202, 207)",s_="rgb(240, 247, 250)",n_="rgb(217, 236, 245)",b_="rgb(8, 42, 77)",y_="rgb(198, 225, 238)",x_="rgb(172, 210, 229)",v_="rgb(131, 188, 217)",m_="rgb(228, 241, 247)",p_="rgb(50, 153, 204)",h_="rgb(0, 119, 179)",w_="rgb(0, 97, 155)",z_="rgb(0, 75, 129)",f_="rgb(3, 56, 102)",k_="rgb(245, 248, 250)",q_="rgb(212, 223, 229)",S_="rgb(17, 28, 38)",I_="rgb(181, 198, 208)",U_="rgb(153, 174, 186)",j_="rgb(127, 150, 165)",A_="rgb(228, 236, 239)",E_="rgb(98, 121, 138)",B_="rgb(81, 105, 123)",C_="rgb(62, 84, 102)",F_="rgb(45, 64, 81)",H_="rgb(30, 45, 59)",M_="rgb(0, 119, 179)",R_="rgb(0, 75, 129)",O_="rgb(126, 2, 35)",D_="rgb(0, 97, 155)",G_="rgb(164, 4, 40)",J_="rgb(198, 225, 238)",K_="rgb(255, 185, 190)",L_="rgb(228, 241, 247)",N_="rgb(255, 227, 228)",P_="rgb(240, 247, 250)",Q_="rgb(255, 241, 241)",T_="rgb(198, 12, 48)",V_="rgb(8, 42, 77)",W_="rgb(23, 28, 58)",X_="rgb(48, 131, 105)",Y_="rgb(244, 250, 247)",Z_="rgb(218, 246, 233)",$_="rgb(4, 38, 33)",_r="rgb(191, 239, 218)",rr="rgb(163, 229, 202)",or="rgb(134, 215, 185)",ar="rgb(231, 248, 239)",lr="rgb(105, 196, 166)",er="rgb(76, 164, 138)",cr="rgb(48, 131, 105)",tr="rgb(29, 106, 88)",gr="rgb(13, 71, 59)",ur="rgb(48, 131, 105)",ir="rgb(245, 246, 247)",dr="rgb(212, 221, 226)",sr="rgb(6, 23, 38)",nr="rgb(178, 194, 205)",br="rgb(148, 169, 185)",yr="rgb(120, 145, 164)",xr="rgb(228, 233, 237)",vr="rgb(95, 122, 143)",mr="rgb(72, 100, 122)",pr="rgb(53, 79, 101)",hr="rgb(37, 60, 80)",wr="rgb(23, 42, 59)",zr="rgb(255, 242, 242)",fr="rgb(255, 229, 230)",kr="rgb(51, 0, 10)",qr="rgb(255, 201, 204)",Sr="rgb(249, 164, 172)",Ir="rgb(243, 119, 133)",Ur="rgb(255, 236, 236)",jr="rgb(236, 69, 96)",Ar="rgb(230, 23, 64)",Er="rgb(185, 3, 41)",Br="rgb(140, 0, 30)",Cr="rgb(96, 0, 20)",Fr="rgb(245, 247, 250)",Hr="rgb(222, 224, 228)",Mr="rgb(8, 13, 38)",Rr="rgb(199, 202, 207)",Or="rgb(175, 178, 186)",Dr="rgb(143, 147, 158)",Gr="rgb(234, 235, 239)",Jr="rgb(113, 118, 132)",Kr="rgb(98, 104, 122)",Lr="rgb(71, 78, 101)",Nr="rgb(45, 52, 79)",Pr="rgb(23, 28, 58)",Qr="rgb(253, 247, 242)",Tr="rgb(251, 225, 209)",Vr="rgb(38, 21, 15)",Wr="rgb(241, 202, 178)",Xr="rgb(216, 174, 150)",Yr="rgb(190, 147, 124)",Zr="rgb(251, 235, 225)",$r="rgb(165, 122, 101)",_o="rgb(140, 98, 79)",ro="rgb(114, 76, 60)",oo="rgb(89, 56, 43)",ao="rgb(64, 38, 28)",lo="rgb(255, 241, 241)",eo="rgb(255, 213, 215)",co="rgb(51, 5, 20)",to="rgb(255, 185, 190)",go="rgb(252, 148, 158)",uo="rgb(240, 102, 119)",io="rgb(255, 227, 228)",so="rgb(221, 49, 77)",no="rgb(198, 12, 48)",bo="rgb(164, 4, 40)",yo="rgb(126, 2, 35)",xo="rgb(87, 4, 29)",vo="rgb(247, 178, 40)",mo="rgb(255, 251, 242)",po="rgb(255, 244, 198)",ho="rgb(38, 26, 4)",wo="rgb(255, 232, 160)",zo="rgb(255, 217, 120)",fo="rgb(255, 199, 79)",ko="rgb(255, 247, 221)",qo="rgb(247, 178, 40)",So="rgb(196, 138, 23)",Io="rgb(156, 110, 22)",Uo="rgb(126, 87, 16)",jo="rgb(81, 55, 9)",Ao="rgb(247, 178, 40)",Eo="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Bo="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Co="'localtapiola-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Fo="'turva-sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'",Ho="1.25rem",Mo="1rem",Ro="0.875rem",Oo="1.5rem",Do="0.75rem",Go="2.25rem",Jo="3rem",Ko="4.5rem",Lo="-0.01rem",No="1.25",Po="'(min-width: 62em)'",Qo="'(min-width: 48em)'",To="'(min-width: 36em)'",Vo="'(min-width: 64.0625em)'",Wo="'(max-width: 35.9375em)'",Xo="'(min-width: 76.25em)'",Yo="'(max-width: 22.5em)'",Zo="'(min-width: 106.25em)'",$o="'(max-width: 20.5em)'",_a="0.30",ra="0.50",oa="0.75",aa="0.85",la="12px",ea="16px",ca="20rem",ta="0 2px 6px 0 rgba(0, 41, 77, 0.07), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",ga="0 2px 6px 0 rgba(117, 117, 117, 0.13), 0 -1px 0 0 rgba(0, 0, 0, 0.09), -1px 0 0 0 rgba(0, 0, 0, 0.07), 1px 0 0 0 rgba(0, 0, 0, 0.07), 0 1px 0 0 rgba(0, 0, 0, 0.07)",ua="0 2px 6px 0 rgba(0, 41, 77, 0.07)",ia="0 2px 6px 0 rgba(117, 117, 117, 0.13)",da="0 0 0 1px #de2362",sa="0 0 0 1px #e55039",na="0 0 0 4px rgba(0, 119, 179, 0.3), 0 0 0 1px #0077b3",ba="0 0 0 1px #0077b3",ya="0 0 0 1px #171c3a",xa="0 0 0 4px rgba(23, 28, 58, 0.2), 0 0 0 1px #171c3a",va="0 2px 10px 0 rgba(0, 41, 77, 0.1)",ma="0 0 0 1px #909599",pa="0 0 0 1px #747475",ha="0 2px 10px 0 rgba(117, 117, 117, 0.15)",wa="0 2px 20px 0 rgba(0, 0, 0, 0.2)",za="0 2px 10px 0 rgba(0, 41, 77, 0.07)",fa="0 2px 10px 0 rgba(117, 117, 117, 0.13)",ka="8rem",qa="4rem",Sa="30px",Ia="24px",Ua="20px",ja="36px",Aa="16px",Ea="48px",Ba="10px",Ca="72px",Fa="1110px",Ha="3rem",Ma="40px",Ra="30px",Oa="48px",Da="20px",Ga="16px",Ja="12px",Ka="28px",La="36px",Na="48px",Pa="72px",Qa="94px",Ta="300ms ease",Va="600ms ease",Wa="-999999",Xa=Object.freeze({__proto__:null,color_background_accent_primary:_,color_background_accent_primary_turva:r,color_background_accent_secondary:o,color_background_accent_secondary_turva:a,color_background_accent_tertiary:l,color_background_accent_tertiary_turva:e,color_background_primary:c,color_background_primary_turva:t,color_background_secondary:g,color_background_secondary_turva:u,color_background_tertiary:i,color_background_tertiary_turva:d,color_brand_blue:s,color_brand_gray_turva:n,color_category_family:b,color_category_family_turva:y,color_category_finance:x,color_category_home:v,color_category_home_turva:m,color_category_pet:p,color_category_travel:h,color_category_travel_turva:w,color_category_union_turva:z,color_category_vehicle:f,color_category_vehicle_turva:k,color_danger:q,color_danger_00:S,color_danger_100:I,color_danger_1000:U,color_danger_200:j,color_danger_300:A,color_danger_400:E,color_danger_50:B,color_danger_500:C,color_danger_600:F,color_danger_700:H,color_danger_800:M,color_danger_900:R,color_danger_turva:O,color_data_01:D,color_data_02:G,color_data_03:J,color_data_04:K,color_data_05:L,color_data_06:N,color_data_07:P,color_data_08:Q,color_data_09:T,color_data_10:V,color_data_11:W,color_data_12:X,color_data_13:Y,color_data_14:Z,color_data_15:$,color_gray:__,color_gray_dark:r_,color_gray_dark_turva:o_,color_gray_darker:a_,color_gray_darker_turva:l_,color_gray_light:e_,color_gray_light_turva:c_,color_gray_lighter:t_,color_gray_lighter_turva:g_,color_gray_lightest:u_,color_gray_lightest_turva:i_,color_gray_turva:d_,color_lt_blue_00:s_,color_lt_blue_100:n_,color_lt_blue_1000:b_,color_lt_blue_200:y_,color_lt_blue_300:x_,color_lt_blue_400:v_,color_lt_blue_50:m_,color_lt_blue_500:p_,color_lt_blue_600:h_,color_lt_blue_700:w_,color_lt_blue_800:z_,color_lt_blue_900:f_,color_lt_gray_00:k_,color_lt_gray_100:q_,color_lt_gray_1000:S_,color_lt_gray_200:I_,color_lt_gray_300:U_,color_lt_gray_400:j_,color_lt_gray_50:A_,color_lt_gray_500:E_,color_lt_gray_600:B_,color_lt_gray_700:C_,color_lt_gray_800:F_,color_lt_gray_900:H_,color_primary:M_,color_primary_dark:R_,color_primary_dark_turva:O_,color_primary_darker:D_,color_primary_darker_turva:G_,color_primary_light:J_,color_primary_light_turva:K_,color_primary_lighter:L_,color_primary_lighter_turva:N_,color_primary_lightest:P_,color_primary_lightest_turva:Q_,color_primary_turva:T_,color_secondary:V_,color_secondary_turva:W_,color_success:X_,color_success_00:Y_,color_success_100:Z_,color_success_1000:$_,color_success_200:_r,color_success_300:rr,color_success_400:or,color_success_50:ar,color_success_500:lr,color_success_600:er,color_success_700:cr,color_success_800:tr,color_success_900:gr,color_success_turva:ur,color_turva2_gray_00:ir,color_turva2_gray_100:dr,color_turva2_gray_1000:sr,color_turva2_gray_200:nr,color_turva2_gray_300:br,color_turva2_gray_400:yr,color_turva2_gray_50:xr,color_turva2_gray_500:vr,color_turva2_gray_600:mr,color_turva2_gray_700:pr,color_turva2_gray_800:hr,color_turva2_gray_900:wr,color_turva2_red_00:zr,color_turva2_red_100:fr,color_turva2_red_1000:kr,color_turva2_red_200:qr,color_turva2_red_300:Sr,color_turva2_red_400:Ir,color_turva2_red_50:Ur,color_turva2_red_500:jr,color_turva2_red_600:Ar,color_turva2_red_700:Er,color_turva2_red_800:Br,color_turva2_red_900:Cr,color_turva_gray_00:Fr,color_turva_gray_100:Hr,color_turva_gray_1000:Mr,color_turva_gray_200:Rr,color_turva_gray_300:Or,color_turva_gray_400:Dr,color_turva_gray_50:Gr,color_turva_gray_500:Jr,color_turva_gray_600:Kr,color_turva_gray_700:Lr,color_turva_gray_800:Nr,color_turva_gray_900:Pr,color_turva_nude_00:Qr,color_turva_nude_100:Tr,color_turva_nude_1000:Vr,color_turva_nude_200:Wr,color_turva_nude_300:Xr,color_turva_nude_400:Yr,color_turva_nude_50:Zr,color_turva_nude_500:$r,color_turva_nude_600:_o,color_turva_nude_700:ro,color_turva_nude_800:oo,color_turva_nude_900:ao,color_turva_red_00:lo,color_turva_red_100:eo,color_turva_red_1000:co,color_turva_red_200:to,color_turva_red_300:go,color_turva_red_400:uo,color_turva_red_50:io,color_turva_red_500:so,color_turva_red_600:no,color_turva_red_700:bo,color_turva_red_800:yo,color_turva_red_900:xo,color_warning:vo,color_warning_00:mo,color_warning_100:po,color_warning_1000:ho,color_warning_200:wo,color_warning_300:zo,color_warning_400:fo,color_warning_50:ko,color_warning_500:qo,color_warning_600:So,color_warning_700:Io,color_warning_800:Uo,color_warning_900:jo,color_warning_turva:Ao,font_family_heading:Eo,font_family_heading_turva:Bo,font_family_text:Co,font_family_text_turva:Fo,font_size_large:Ho,font_size_medium:Mo,font_size_small:Ro,font_size_x_large:Oo,font_size_x_small:Do,font_size_xx_large:Go,font_size_xxx_large:Jo,font_size_xxxx_large:Ko,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Lo,line_height_medium:"1.5",line_height_small:No,line_height_x_small:"1.1",media_query_large:Po,media_query_medium:Qo,media_query_small:To,media_query_x_large:Vo,media_query_x_small:Wo,media_query_xx_large:Xo,media_query_xx_small:Yo,media_query_xxx_large:Zo,media_query_xxx_small:$o,opacity_30:_a,opacity_50:ra,opacity_75:oa,opacity_85:aa,radius_circle:"50%",radius_default:"4px",radius_intermediate:la,radius_large:ea,radius_medium:"8px",radius_pill:ca,radius_sharp:"0",shadow_card:ta,shadow_card_turva:ga,shadow_default:ua,shadow_default_turva:ia,shadow_error:da,shadow_error_turva:sa,shadow_focus:na,shadow_focus_input:ba,shadow_focus_input_turva:ya,shadow_focus_turva:xa,shadow_hover:va,shadow_hover_input:ma,shadow_hover_input_turva:pa,shadow_hover_turva:ha,shadow_modal:wa,shadow_tooltip:za,shadow_tooltip_turva:fa,size_button_border:"1px",size_button_min_width:ka,size_button_tiny_border:"1px",size_form_border:"1px",size_header:qa,size_icon_large:Sa,size_icon_medium:Ia,size_icon_small:Ua,size_icon_x_large:ja,size_icon_x_small:Aa,size_icon_xx_large:Ea,size_icon_xx_small:Ba,size_icon_xxx_large:Ca,size_icon_xxx_small:"7px",size_layout_max_width:Fa,size_medium_border:"2px",size_navigation:Ha,size_step_medium:Ma,size_step_small:Ra,size_tappable_square:Oa,space_large:Da,space_medium:Ga,space_small:Ja,space_x_large:Ka,space_x_small:"8px",space_xx_large:La,space_xx_small:"4px",space_xxx_large:Na,space_xxx_small:"2px",space_xxxx_large:Pa,space_xxxxx_large:Qa,transition_quickly:Ta,transition_slowly:Va,z_index_deep:Wa,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500",default:{color_background_accent_primary:_,color_background_accent_primary_turva:r,color_background_accent_secondary:o,color_background_accent_secondary_turva:a,color_background_accent_tertiary:l,color_background_accent_tertiary_turva:e,color_background_primary:c,color_background_primary_turva:t,color_background_secondary:g,color_background_secondary_turva:u,color_background_tertiary:i,color_background_tertiary_turva:d,color_brand_blue:s,color_brand_gray_turva:n,color_category_family:b,color_category_family_turva:y,color_category_finance:x,color_category_home:v,color_category_home_turva:m,color_category_pet:p,color_category_travel:h,color_category_travel_turva:w,color_category_union_turva:z,color_category_vehicle:f,color_category_vehicle_turva:k,color_danger:q,color_danger_00:S,color_danger_100:I,color_danger_1000:U,color_danger_200:j,color_danger_300:A,color_danger_400:E,color_danger_50:B,color_danger_500:C,color_danger_600:F,color_danger_700:H,color_danger_800:M,color_danger_900:R,color_danger_turva:O,color_data_01:D,color_data_02:G,color_data_03:J,color_data_04:K,color_data_05:L,color_data_06:N,color_data_07:P,color_data_08:Q,color_data_09:T,color_data_10:V,color_data_11:W,color_data_12:X,color_data_13:Y,color_data_14:Z,color_data_15:$,color_gray:__,color_gray_dark:r_,color_gray_dark_turva:o_,color_gray_darker:a_,color_gray_darker_turva:l_,color_gray_light:e_,color_gray_light_turva:c_,color_gray_lighter:t_,color_gray_lighter_turva:g_,color_gray_lightest:u_,color_gray_lightest_turva:i_,color_gray_turva:d_,color_lt_blue_00:s_,color_lt_blue_100:n_,color_lt_blue_1000:b_,color_lt_blue_200:y_,color_lt_blue_300:x_,color_lt_blue_400:v_,color_lt_blue_50:m_,color_lt_blue_500:p_,color_lt_blue_600:h_,color_lt_blue_700:w_,color_lt_blue_800:z_,color_lt_blue_900:f_,color_lt_gray_00:k_,color_lt_gray_100:q_,color_lt_gray_1000:S_,color_lt_gray_200:I_,color_lt_gray_300:U_,color_lt_gray_400:j_,color_lt_gray_50:A_,color_lt_gray_500:E_,color_lt_gray_600:B_,color_lt_gray_700:C_,color_lt_gray_800:F_,color_lt_gray_900:H_,color_primary:M_,color_primary_dark:R_,color_primary_dark_turva:O_,color_primary_darker:D_,color_primary_darker_turva:G_,color_primary_light:J_,color_primary_light_turva:K_,color_primary_lighter:L_,color_primary_lighter_turva:N_,color_primary_lightest:P_,color_primary_lightest_turva:Q_,color_primary_turva:T_,color_secondary:V_,color_secondary_turva:W_,color_success:X_,color_success_00:Y_,color_success_100:Z_,color_success_1000:$_,color_success_200:_r,color_success_300:rr,color_success_400:or,color_success_50:ar,color_success_500:lr,color_success_600:er,color_success_700:cr,color_success_800:tr,color_success_900:gr,color_success_turva:ur,color_turva2_gray_00:ir,color_turva2_gray_100:dr,color_turva2_gray_1000:sr,color_turva2_gray_200:nr,color_turva2_gray_300:br,color_turva2_gray_400:yr,color_turva2_gray_50:xr,color_turva2_gray_500:vr,color_turva2_gray_600:mr,color_turva2_gray_700:pr,color_turva2_gray_800:hr,color_turva2_gray_900:wr,color_turva2_red_00:zr,color_turva2_red_100:fr,color_turva2_red_1000:kr,color_turva2_red_200:qr,color_turva2_red_300:Sr,color_turva2_red_400:Ir,color_turva2_red_50:Ur,color_turva2_red_500:jr,color_turva2_red_600:Ar,color_turva2_red_700:Er,color_turva2_red_800:Br,color_turva2_red_900:Cr,color_turva_gray_00:Fr,color_turva_gray_100:Hr,color_turva_gray_1000:Mr,color_turva_gray_200:Rr,color_turva_gray_300:Or,color_turva_gray_400:Dr,color_turva_gray_50:Gr,color_turva_gray_500:Jr,color_turva_gray_600:Kr,color_turva_gray_700:Lr,color_turva_gray_800:Nr,color_turva_gray_900:Pr,color_turva_nude_00:Qr,color_turva_nude_100:Tr,color_turva_nude_1000:Vr,color_turva_nude_200:Wr,color_turva_nude_300:Xr,color_turva_nude_400:Yr,color_turva_nude_50:Zr,color_turva_nude_500:$r,color_turva_nude_600:_o,color_turva_nude_700:ro,color_turva_nude_800:oo,color_turva_nude_900:ao,color_turva_red_00:lo,color_turva_red_100:eo,color_turva_red_1000:co,color_turva_red_200:to,color_turva_red_300:go,color_turva_red_400:uo,color_turva_red_50:io,color_turva_red_500:so,color_turva_red_600:no,color_turva_red_700:bo,color_turva_red_800:yo,color_turva_red_900:xo,color_warning:vo,color_warning_00:mo,color_warning_100:po,color_warning_1000:ho,color_warning_200:wo,color_warning_300:zo,color_warning_400:fo,color_warning_50:ko,color_warning_500:qo,color_warning_600:So,color_warning_700:Io,color_warning_800:Uo,color_warning_900:jo,color_warning_turva:Ao,font_family_heading:Eo,font_family_heading_turva:Bo,font_family_text:Co,font_family_text_turva:Fo,font_size_large:Ho,font_size_medium:Mo,font_size_small:Ro,font_size_x_large:Oo,font_size_x_small:Do,font_size_xx_large:Go,font_size_xxx_large:Jo,font_size_xxxx_large:Ko,font_weight_bold:"700",font_weight_extra_bold:"800",font_weight_normal:"400",font_weight_semi_bold:"600",letter_spacing_heading:Lo,line_height_medium:"1.5",line_height_small:No,line_height_x_small:"1.1",media_query_large:Po,media_query_medium:Qo,media_query_small:To,media_query_x_large:Vo,media_query_x_small:Wo,media_query_xx_large:Xo,media_query_xx_small:Yo,media_query_xxx_large:Zo,media_query_xxx_small:$o,opacity_30:_a,opacity_50:ra,opacity_75:oa,opacity_85:aa,radius_circle:"50%",radius_default:"4px",radius_intermediate:la,radius_large:ea,radius_medium:"8px",radius_pill:ca,radius_sharp:"0",shadow_card:ta,shadow_card_turva:ga,shadow_default:ua,shadow_default_turva:ia,shadow_error:da,shadow_error_turva:sa,shadow_focus:na,shadow_focus_input:ba,shadow_focus_input_turva:ya,shadow_focus_turva:xa,shadow_hover:va,shadow_hover_input:ma,shadow_hover_input_turva:pa,shadow_hover_turva:ha,shadow_modal:wa,shadow_tooltip:za,shadow_tooltip_turva:fa,size_button_border:"1px",size_button_min_width:ka,size_button_tiny_border:"1px",size_form_border:"1px",size_header:qa,size_icon_large:Sa,size_icon_medium:Ia,size_icon_small:Ua,size_icon_x_large:ja,size_icon_x_small:Aa,size_icon_xx_large:Ea,size_icon_xx_small:Ba,size_icon_xxx_large:Ca,size_icon_xxx_small:"7px",size_layout_max_width:Fa,size_medium_border:"2px",size_navigation:Ha,size_step_medium:Ma,size_step_small:Ra,size_tappable_square:Oa,space_large:Da,space_medium:Ga,space_small:Ja,space_x_large:Ka,space_x_small:"8px",space_xx_large:La,space_xx_small:"4px",space_xxx_large:Na,space_xxx_small:"2px",space_xxxx_large:Pa,space_xxxxx_large:Qa,transition_quickly:Ta,transition_slowly:Va,z_index_deep:Wa,z_index_default:"1",z_index_dropdown:"600",z_index_header:"400",z_index_mask:"200",z_index_mask_buttons:"250",z_index_masked:"100",z_index_modal:"900",z_index_overlay:"700",z_index_popup:"950",z_index_spinner:"800",z_index_sticky:"300",z_index_toast:"500"}});export{Po as a,Mo as f,Qo as m,Xa as t}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
var __awaiter=this&&this.__awaiter||function(e,t,i,a){function d(e){return e instanceof i?e:new i((function(t){t(e)}))}return new(i||(i=Promise))((function(i,o){function n(e){try{s(a.next(e))}catch(e){o(e)}}function r(e){try{s(a["throw"](e))}catch(e){o(e)}}function s(e){e.done?i(e.value):d(e.value).then(n,r)}s((a=a.apply(e,t||[])).next())}))};var __generator=this&&this.__generator||function(e,t){var i={label:0,sent:function(){if(o[0]&1)throw o[1];return o[1]},trys:[],ops:[]},a,d,o,n;return n={next:r(0),throw:r(1),return:r(2)},typeof Symbol==="function"&&(n[Symbol.iterator]=function(){return this}),n;function r(e){return function(t){return s([e,t])}}function s(r){if(a)throw new TypeError("Generator is already executing.");while(n&&(n=0,r[0]&&(i=0)),i)try{if(a=1,d&&(o=r[0]&2?d["return"]:r[0]?d["throw"]||((o=d["return"])&&o.call(d),0):d.next)&&!(o=o.call(d,r[1])).done)return o;if(d=0,o)r=[r[0]&2,o.value];switch(r[0]){case 0:case 1:o=r;break;case 4:i.label++;return{value:r[1],done:false};case 5:i.label++;d=r[1];r=[0];continue;case 7:r=i.ops.pop();i.trys.pop();continue;default:if(!(o=i.trys,o=o.length>0&&o[o.length-1])&&(r[0]===6||r[0]===2)){i=0;continue}if(r[0]===3&&(!o||r[1]>o[0]&&r[1]<o[3])){i.label=r[1];break}if(r[0]===6&&i.label<o[1]){i.label=o[1];o=r;break}if(o&&i.label<o[2]){i.label=o[2];i.ops.push(r);break}if(o[2])i.ops.pop();i.trys.pop();continue}r=t.call(e,i)}catch(e){r=[6,e];d=0}finally{a=o=0}if(r[0]&5)throw r[1];return{value:r[0]?r[1]:void 0,done:true}}};
|
|
2
2
|
/*!
|
|
3
3
|
* Built with Duet Design System
|
|
4
|
-
*/System.register(["./p-1f5071fd.system.js","./p-49957220.system.js","./p-9d6c1403.system.js","./p-87633fff.system.js","./p-083738b6.system.js","./p-752fa0fc.system.js","./p-8e1def15.system.js","./p-e59c5a32.system.js","./p-b1f33063.system.js","./p-43bbba35.system.js","./p-98636086.system.js","./p-db0ba7b6.system.js"],(function(e){"use strict";var t,i,a,d,o,n,r,s,u,l,m,h,c,f,p,g,b;return{setters:[function(e){t=e.r;i=e.c;a=e.h;d=e.g},function(e){o=e.d;n=e.e},function(e){r=e.i},function(e){s=e.b},function(e){u=e.f},function(e){l=e.f},function(e){m=e.a;h=e.g;c=e.c;f=e.d},function(e){p=e.h},function(e){g=e.T},function(e){b=e.p},function(){},function(){}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;visibility:hidden;max-height:100vh;overflow-y:auto;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:16px;opacity:0;transform:scale(0.96);transition:300ms ease;transition-delay:0ms}.duet-theme-turva .duet-modal{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-modal-active .duet-modal{opacity:1;transform:none;transition:300ms ease;transition-delay:200ms}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transform:scaleY(0);transform-origin:top;transition:all 300ms ease}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:16px 16px 0 0;opacity:1;transition:top 600ms ease}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:16px 16px 0 0}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-modal-close{position:absolute;top:8px;right:8px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;text-overflow:ellipsis;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);letter-spacing:-0.01rem;white-space:nowrap;text-decoration:none}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header{background:rgb(253, 247, 242);border-bottom:1px solid rgb(212, 221, 226)}';var v=y;var x=600;var k=e("duet_modal",function(){function e(e){t(this,e);this.duetOpen=i(this,"duetOpen",7);this.duetClose=i(this,"duetClose",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.duetBeforeClose=i(this,"duetBeforeClose",7);var a,d;this.hasStickyHeader=false;this.isAndroidDevice=((d=(a=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||a===void 0?void 0:a.toLowerCase())===null||d===void 0?void 0:d.indexOf("android"))>-1||null;this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.accessibleLoaderAnnouncementDefaults=s;this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"};this.handleAndroidResizeEvents=function(){if(document.activeElement.tagName=="INPUT"){window.setTimeout((function(){var e;try{(e=document===null||document===void 0?void 0:document.activeElement)===null||e===void 0?void 0:e.scrollIntoViewIfNeeded(true)}catch(e){}}),100)}};this.open=false;this.language=m();this.accessibleCloseLabel=h(this.accessibleCloseLabelDefaults,this.language);this.accessibleLoaderAnnouncement=h(this.accessibleLoaderAnnouncementDefaults,this.language);this.size="medium";this.accessibleDescribedBy=undefined;this.accessibleLabelledBy=undefined;this.accessibleLabel=undefined;this.accessibleDetails=undefined;this.accessibleDescription=undefined;this.variation="default";this.gutterSize="medium";this.theme="";this.heading="";this.headingLevel="h3";this.headingVisualLevel=undefined;this.icon="";this.color="";this.active=false;this.closeOnBlur=false;this.focusElementOnClose=undefined;this.accessibleAnnounceChanges=undefined}e.prototype.openChanged=function(){var e=this;if(this.open){if(this.modalEl&&this.modalEl.scrollTop){this.modalEl.scrollTop=0}this.focusedElBeforeOpen=document.activeElement;o(this.variation==="slide-up"?this.modalContentEl:this.modalEl,{reserveScrollBarGap:true});this.teleport.makeSiblingsInert();this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(e){return e.remove()}));setTimeout((function(){if(e.variation==="loader"){e.addMessage(e.accessibleLoaderAnnouncement,false)}else{if(e.isAndroidDevice){e.modalEl.focus()}else{e.buttonEl.setFocus()}}}),x);setTimeout((function(){e.modalEl.classList.add("duet-disable-transitions")}),x+200);if(this.isAndroidDevice){window.addEventListener("resize",this.handleAndroidResizeEvents)}this.duetOpen.emit()}else{this.modalEl.classList.remove("duet-disable-transitions");this.modalEl.addEventListener("transitionend",(function(){return e.duetCloseComplete.emit()}),{once:true});n(this.variation==="slide-up"?this.modalContentEl:this.modalEl);this.duetClose.emit();this.teleport.removeInertFromSiblings();if(this.focusElementOnClose!==""){setTimeout((function(){return __awaiter(e,void 0,void 0,(function(){var e,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=this.focusedElBeforeOpen;if(typeof this.focusElementOnClose==="string"){e=document.getElementById(this.focusElementOnClose)||e}else{e=this.focusElementOnClose||e}if(!(e.tagName.toLowerCase()==="duet-popup-menu-item"))return[3,2];t=e.closest("duet-popup-menu");return[4,t.isOpen()];case 1:i=a.sent();if(!i&&t.controller){if(typeof t.controller==="string"){e=document.getElementById(t.controller)}else{e=t.controller}}a.label=2;case 2:u(e);return[2]}}))}))}),x)}if(this.isAndroidDevice){window.removeEventListener("resize",this.handleAndroidResizeEvents)}}};e.prototype.activeChanged=function(){this.open=this.active};e.prototype.componentWillLoad=function(){this.hasStickyHeader=p(this.element,"sticky-header");r(this)};e.prototype.componentDidLoad=function(){if(this.active){this.open=true;this.modalEl.classList.add("duet-disable-transitions")}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new g(this.element)}if(this.teleport){this.teleport.activate()}c(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])};e.prototype.disconnectedCallback=function(){f(this);if(this.modalEl){n(this.modalEl)}};e.prototype.handleKeyUp=function(e){if(this.open){if(l(e)){this.closeModal(e)}}};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=false;return[2]}))}))};e.prototype.focusCloseButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonEl.setFocus();return[2]}))}))};e.prototype.scrollToTop=function(){return __awaiter(this,arguments,void 0,(function(e){var t,i,a,d;if(e===void 0){e=true}return __generator(this,(function(o){i=e?"smooth":"auto";if(this.variation==="slide-up"){a=((t=this.modalEl.querySelector(".duet-modal-sticky-header"))===null||t===void 0?void 0:t.clientHeight)||0;d=this.modalEl.querySelector(".duet-modal-body").computedStyleMap().get("padding-top");this.slotContainerEl.style.scrollMarginTop="".concat(a+d.value,"px");this.slotContainerEl.scrollIntoView({behavior:i})}else{this.modalEl.querySelector(".duet-modal-body").scrollIntoView({behavior:i})}return[2]}))}))};e.prototype.addMessage=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var i;var a=this;if(t===void 0){t=true}return __generator(this,(function(d){i=document.createElement(t?"duet-paragraph":"duet-visually-hidden");i.textContent=e;i.classList.add("duet-loader-message");if(t){setTimeout((function(){a.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(e){return e.classList.remove("show")}));i.classList.add("show")}),10)}this.slotContainerEl.appendChild(i);return[2]}))}))};e.prototype.closeModal=function(e){var t=this;this.duetBeforeClose.emit({originalEvent:e,component:"duet-modal"});if(!e.defaultPrevented){setTimeout((function(){t.hide()}),1)}};e.prototype.render=function(){var e,t;var i=this;var d,o;var n=b("primary",this.theme);var r=b("secondary",this.theme);var s=a("div",{key:"cee464a60790470777e6a499800617fdeda46de2",class:"duet-modal-close"},a("duet-button",{key:"6eadf084b0e3bdebf9ed9415f993767800a86693",ref:function(e){return i.buttonEl=e},variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:r,iconSize:"large",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:function(e){return i.closeModal(e)},fixed:true}));return a("div",{key:"569724872e61d206fbca2289a0a1d4b4beb651ca",ref:function(e){return i.modalEl=e},"aria-label":(d=this.accessibleLabel)!==null&&d!==void 0?d: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:{"duet-modal-container":true,"duet-theme-turva":this.theme==="turva","duet-modal-active":this.open,"duet-modal-slide-up":this.variation==="slide-up","duet-modal-has-sticky-header":this.hasStickyHeader}},a("duet-overlay",{key:"631d58f62ee39029e3f410eaad94fc95efcfc4cb","z-index":"-1",visible:this.open,variation:this.variation==="loader"?"white":"default"}),a("div",{key:"8d52e7639d49138fb22c4256e53698a7ee6ecb0d",ref:function(e){return i.modalInnerEl=e},class:(e={"duet-modal-inner":true},e[this.size]=true,e["duet-modal-slide-up"]=this.variation==="slide-up",e),onClick:function(e){if(i.closeOnBlur){var t=e.target||e.srcElement;if(t===i.modalInnerEl){i.closeModal(e)}}}},a("div",{key:"9773dc0770a2d32e95b72571778d6b8863f0adbf",ref:function(e){return i.modalContentEl=e},"aria-live":this.accessibleAnnounceChanges==="all"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="all"?"true":null,class:(t={"duet-modal":true,"duet-modal-has-sticky-header":this.hasStickyHeader},t[this.size]=true,t[this.variation]=true,t)},this.gutterSize!=="none"&&!this.hasStickyHeader&&a("duet-spacer",{key:"1f51df35643d76720aadc11b98268076bd459cc4"}),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},s,a("slot",{name:"sticky-header"})):s,a("div",{key:"5433702f6dad665e82628236206e35a0503c3095",class:{"duet-modal-body":true,"duet-modal-gutter-none":this.gutterSize==="none","duet-modal-gutter-small":this.gutterSize==="small","duet-modal-gutter-medium":this.gutterSize==="medium","duet-modal-gutter-large":this.gutterSize==="large"},"aria-live":this.accessibleAnnounceChanges==="heading"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="heading"?"true":null},a("div",{key:"579ba1b41caf40e97242aeacbf47ead29ea6aac7",class:"duet-modal-header"},a("span",{key:"353ab4ce18f8cfaa384b7d1e02e5daf03895fc01",class:"duet-modal-inner-slot-top"},a("slot",{key:"d1b1bd5e49db08393d62154e7a3524ea4bc5fc12",name:"top"})),this.icon&&a("duet-icon",{key:"559c22da92b732cc829c9047bdc0c6b115058f32",name:this.icon,size:"xx-large",color:this.color||n}),this.heading&&a("duet-heading",{key:"4ffd1a28f6c1ec9a946b362f588e04350bab1dbd","visual-level":(o=this.headingVisualLevel)!==null&&o!==void 0?o:this.headingLevel,level:this.headingLevel,theme:this.theme},this.heading)),this.variation==="loader"&&a("div",{key:"2c9b370fbf07ff1804bb2bb8590593dae83cc629",class:"duet-modal-spinner"},a("duet-spinner",{key:"77c91d8fef8f52c65b5565388343bf0021529c1f",size:"large",color:b("primary",this.theme)})),a("div",{key:"0438008ab36af91adcbd0fa0cc1ad22980e086be","aria-live":this.variation==="loader"?"assertive":this.accessibleAnnounceChanges==="body"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="body"?"true":null,class:"duet-modal-inner-slot-default",ref:function(e){return i.slotContainerEl=e}},a("slot",{key:"2f174789d1cf40896384bc95dd6cece3f847ac00"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["openChanged"],active:["activeChanged"]}},enumerable:false,configurable:true});return e}());k.style=v}}}));
|
|
4
|
+
*/System.register(["./p-6746f86c.system.js","./p-49957220.system.js","./p-a71f0bcb.system.js","./p-83cfc05d.system.js","./p-7231eb9d.system.js","./p-752fa0fc.system.js","./p-f392387c.system.js","./p-c801dc04.system.js","./p-b1f33063.system.js","./p-f6e20b20.system.js","./p-98636086.system.js","./p-453db857.system.js"],(function(e){"use strict";var t,i,a,d,o,n,r,s,u,l,m,c,h,f,p,g,b;return{setters:[function(e){t=e.r;i=e.c;a=e.h;d=e.g},function(e){o=e.d;n=e.e},function(e){r=e.i},function(e){s=e.b},function(e){u=e.f},function(e){l=e.f},function(e){m=e.a;c=e.g;h=e.c;f=e.d},function(e){p=e.h},function(e){g=e.T},function(e){b=e.p},function(){},function(){}],execute:function(){var y='*,*::after,*::before{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}:host{box-sizing:border-box;padding:0;margin:0;-moz-appearance:none;-webkit-appearance:none;appearance:none;background:transparent;border:0}.duet-modal-container{position:fixed;top:0;right:0;bottom:0;left:0;z-index:900;visibility:hidden;max-height:100vh;overflow-y:auto;opacity:0;transition:300ms ease;transition-delay:200ms}.duet-modal-container.duet-modal-active{visibility:visible;opacity:1;transition:300ms ease;transition-delay:0s}.duet-modal-container.duet-disable-transitions{transition:none}.duet-modal-container.duet-modal-slide-up{overflow:hidden}::slotted(img){width:100%}.duet-modal-inner{display:flex;align-items:center;width:100%;min-height:100%;padding:20px 16px}@media (min-width: 36em){.duet-modal-inner{padding:48px 16px}}.duet-modal-inner.duet-modal-slide-up{align-items:stretch;justify-content:center;height:100%;padding-top:48px;padding-bottom:0;overflow:hidden}.duet-modal-inner.duet-modal-slide-up::after{position:absolute;bottom:0;z-index:300;display:block;width:100%;max-width:686px;height:48px;margin:auto;pointer-events:none;content:"";background:linear-gradient(rgba(255, 255, 255, 0), rgb(255, 255, 255))}.duet-modal-inner.duet-modal-slide-up::after.small{max-width:545px}.duet-modal-inner.duet-modal-slide-up::after.large{max-width:100%}@media (min-width: 36em){.duet-modal-inner.duet-modal-slide-up::after.large{max-width:1110px}}@media (max-width: 35.9375em){.duet-modal-inner.large{padding-right:0;padding-left:0}.duet-modal-inner.duet-modal-slide-up{padding:0;padding-top:28px}}.duet-modal{position:relative;width:100%;max-width:686px;margin:auto;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-weight:400;font-variant-numeric:tabular-nums;line-height:1.5;color:rgb(8, 42, 77);background:rgb(255, 255, 255);border-radius:16px;opacity:0;transform:scale(0.96);transition:300ms ease;transition-delay:0ms}.duet-theme-turva .duet-modal{font-family:"turva-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";color:rgb(23, 28, 58)}.duet-modal-active .duet-modal{opacity:1;transform:none;transition:300ms ease;transition-delay:200ms}.duet-modal-active .duet-modal.slide-up{top:0;transition:top 600ms ease}.duet-modal.loader{text-align:center;background:transparent}.duet-modal.loader .duet-modal-close{display:none}.duet-modal.loader .duet-modal-spinner{position:relative;height:120px}.duet-modal.loader .duet-modal-inner-slot-default{position:relative;backdrop-filter:blur(10px)}.duet-modal.loader duet-paragraph.duet-loader-message{position:absolute;opacity:0;transform:scaleY(0);transform-origin:top;transition:all 300ms ease}.duet-modal.loader duet-paragraph.duet-loader-message.show{opacity:1;transform:scaleY(1);transform-origin:bottom}.duet-modal.loader duet-paragraph.duet-loader-message.show::part(duet-paragraph){backdrop-filter:blur(10px)}.duet-disable-transitions .duet-modal{transition:none}.duet-modal.small{max-width:545px}.duet-modal.large{max-width:100%}@media (min-width: 36em){.duet-modal.large{max-width:1110px}}.duet-modal.slide-up{top:100vh;margin:0;overflow:auto;border-radius:16px 16px 0 0;opacity:1;transition:top 600ms ease}.duet-modal.duet-modal-has-sticky-header{height:100%;overflow:auto}.duet-modal:focus{outline:0}.duet-modal-body,.duet-modal-sticky-header{width:100%;padding:36px 28px}.duet-modal-body.duet-modal-gutter-none,.duet-modal-sticky-header.duet-modal-gutter-none{padding:0 !important}.duet-modal-body.duet-modal-gutter-small,.duet-modal-sticky-header.duet-modal-gutter-small{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}@media (max-width: 22.5em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 28px}}@media (max-width: 35.9375em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 20px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 36px}}@media (min-width: 36em){.duet-modal-body,.duet-modal-sticky-header{padding:36px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:28px 72px}}@media (min-width: 48em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 72px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:36px 72px}}@media (min-width: 76.25em){.duet-modal-body,.duet-modal-sticky-header{padding:36px 48px 48px}.duet-modal-body.duet-modal-gutter-large,.duet-modal-sticky-header.duet-modal-gutter-large{padding:48px 94px}.small .duet-modal-body,.small .duet-modal-sticky-header{padding:36px 48px}}.duet-modal-header{text-align:center}.duet-modal-sticky-header{position:sticky;top:0;z-index:300;display:block;padding-bottom:12px;text-align:left;background:rgb(240, 247, 250);border-bottom:1px solid rgb(212, 223, 229);border-radius:16px 16px 0 0}.duet-theme-turva .duet-modal-sticky-header{background:rgb(245, 247, 250);border-bottom:1px solid rgb(222, 224, 228)}.duet-modal-close{position:absolute;top:8px;right:8px}.duet-modal-heading{width:100%;padding-right:60px;overflow:hidden;text-overflow:ellipsis;font-family:"localtapiola-sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";font-size:1.25rem;font-style:normal;font-weight:600;font-variant-numeric:tabular-nums;line-height:1.25;color:rgb(8, 42, 77);letter-spacing:-0.01rem;white-space:nowrap;text-decoration:none}.duet-modal-heading.duet-p-0{padding:0 !important}.duet-modal-heading.duet-m-0{margin:0 !important}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal{color:rgb(23, 42, 59)}:host(.duet-theme-turva2) .duet-theme-turva .duet-modal-sticky-header{background:rgb(253, 247, 242);border-bottom:1px solid rgb(212, 221, 226)}';var v=y;var x=600;var k=e("duet_modal",function(){function e(e){t(this,e);this.duetOpen=i(this,"duetOpen",7);this.duetClose=i(this,"duetClose",7);this.duetCloseComplete=i(this,"duetCloseComplete",7);this.duetBeforeClose=i(this,"duetBeforeClose",7);var a,d;this.hasStickyHeader=false;this.isAndroidDevice=((d=(a=navigator===null||navigator===void 0?void 0:navigator.userAgent)===null||a===void 0?void 0:a.toLowerCase())===null||d===void 0?void 0:d.indexOf("android"))>-1||null;this.isSafariBrowser=/^((?!chrome|android).)*safari/i.test(navigator===null||navigator===void 0?void 0:navigator.userAgent);this.accessibleLoaderAnnouncementDefaults=s;this.accessibleCloseLabelDefaults={fi:"Sulje ikkuna",sv:"Stäng fönstret",en:"Close the dialog"};this.handleAndroidResizeEvents=function(){if(document.activeElement.tagName=="INPUT"){window.setTimeout((function(){var e;try{(e=document===null||document===void 0?void 0:document.activeElement)===null||e===void 0?void 0:e.scrollIntoViewIfNeeded(true)}catch(e){}}),100)}};this.open=false;this.language=m();this.accessibleCloseLabel=c(this.accessibleCloseLabelDefaults,this.language);this.accessibleLoaderAnnouncement=c(this.accessibleLoaderAnnouncementDefaults,this.language);this.size="medium";this.accessibleDescribedBy=undefined;this.accessibleLabelledBy=undefined;this.accessibleLabel=undefined;this.accessibleDetails=undefined;this.accessibleDescription=undefined;this.variation="default";this.gutterSize="medium";this.theme="";this.heading="";this.headingLevel="h3";this.headingVisualLevel=undefined;this.icon="";this.color="";this.active=false;this.closeOnBlur=false;this.focusElementOnClose=undefined;this.accessibleAnnounceChanges=undefined}e.prototype.openChanged=function(){var e=this;if(this.open){if(this.modalEl&&this.modalEl.scrollTop){this.modalEl.scrollTop=0}this.focusedElBeforeOpen=document.activeElement;o(this.variation==="slide-up"?this.modalContentEl:this.modalEl,{reserveScrollBarGap:true});this.teleport.makeSiblingsInert();this.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(e){return e.remove()}));setTimeout((function(){if(e.variation==="loader"){e.addMessage(e.accessibleLoaderAnnouncement,false)}else{if(e.isAndroidDevice){e.modalEl.focus()}else{e.buttonEl.setFocus()}}}),x);setTimeout((function(){e.modalEl.classList.add("duet-disable-transitions")}),x+200);if(this.isAndroidDevice){window.addEventListener("resize",this.handleAndroidResizeEvents)}this.duetOpen.emit()}else{this.modalEl.classList.remove("duet-disable-transitions");this.modalEl.addEventListener("transitionend",(function(){return e.duetCloseComplete.emit()}),{once:true});n(this.variation==="slide-up"?this.modalContentEl:this.modalEl);this.duetClose.emit();this.teleport.removeInertFromSiblings();if(this.focusElementOnClose!==""){setTimeout((function(){return __awaiter(e,void 0,void 0,(function(){var e,t,i;return __generator(this,(function(a){switch(a.label){case 0:e=this.focusedElBeforeOpen;if(typeof this.focusElementOnClose==="string"){e=document.getElementById(this.focusElementOnClose)||e}else{e=this.focusElementOnClose||e}if(!(e.tagName.toLowerCase()==="duet-popup-menu-item"))return[3,2];t=e.closest("duet-popup-menu");return[4,t.isOpen()];case 1:i=a.sent();if(!i&&t.controller){if(typeof t.controller==="string"){e=document.getElementById(t.controller)}else{e=t.controller}}a.label=2;case 2:u(e);return[2]}}))}))}),x)}if(this.isAndroidDevice){window.removeEventListener("resize",this.handleAndroidResizeEvents)}}};e.prototype.activeChanged=function(){this.open=this.active};e.prototype.componentWillLoad=function(){this.hasStickyHeader=p(this.element,"sticky-header");r(this)};e.prototype.componentDidLoad=function(){if(this.active){this.open=true;this.modalEl.classList.add("duet-disable-transitions")}};e.prototype.connectedCallback=function(){if(!this.teleport){this.teleport=new g(this.element)}if(this.teleport){this.teleport.activate()}h(this,[{prop:"accessibleCloseLabel",defaults:"accessibleCloseLabelDefaults"},{prop:"accessibleLoaderAnnouncement",defaults:"accessibleLoaderAnnouncementDefaults"}])};e.prototype.disconnectedCallback=function(){f(this);if(this.modalEl){n(this.modalEl)}};e.prototype.handleKeyUp=function(e){if(this.open){if(l(e)){this.closeModal(e)}}};e.prototype.show=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=true;return[2]}))}))};e.prototype.hide=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.open=false;return[2]}))}))};e.prototype.focusCloseButton=function(){return __awaiter(this,void 0,void 0,(function(){return __generator(this,(function(e){this.buttonEl.setFocus();return[2]}))}))};e.prototype.scrollToTop=function(){return __awaiter(this,arguments,void 0,(function(e){var t,i,a,d;if(e===void 0){e=true}return __generator(this,(function(o){i=e?"smooth":"auto";if(this.variation==="slide-up"){a=((t=this.modalEl.querySelector(".duet-modal-sticky-header"))===null||t===void 0?void 0:t.clientHeight)||0;d=this.modalEl.querySelector(".duet-modal-body").computedStyleMap().get("padding-top");this.slotContainerEl.style.scrollMarginTop="".concat(a+d.value,"px");this.slotContainerEl.scrollIntoView({behavior:i})}else{this.modalEl.querySelector(".duet-modal-body").scrollIntoView({behavior:i})}return[2]}))}))};e.prototype.addMessage=function(e){return __awaiter(this,arguments,void 0,(function(e,t){var i;var a=this;if(t===void 0){t=true}return __generator(this,(function(d){i=document.createElement(t?"duet-paragraph":"duet-visually-hidden");i.textContent=e;i.classList.add("duet-loader-message");if(t){setTimeout((function(){a.slotContainerEl.querySelectorAll(".duet-loader-message").forEach((function(e){return e.classList.remove("show")}));i.classList.add("show")}),10)}this.slotContainerEl.appendChild(i);return[2]}))}))};e.prototype.closeModal=function(e){var t=this;this.duetBeforeClose.emit({originalEvent:e,component:"duet-modal"});if(!e.defaultPrevented){setTimeout((function(){t.hide()}),1)}};e.prototype.render=function(){var e,t;var i=this;var d,o;var n=b("primary",this.theme);var r=b("secondary",this.theme);var s=a("div",{key:"cee464a60790470777e6a499800617fdeda46de2",class:"duet-modal-close"},a("duet-button",{key:"6eadf084b0e3bdebf9ed9415f993767800a86693",ref:function(e){return i.buttonEl=e},variation:"plain",accessibleLabel:this.accessibleCloseLabel,color:r,iconSize:"large",icon:"navigation-close",iconOnly:true,margin:"none",theme:this.theme,onClick:function(e){return i.closeModal(e)},fixed:true}));return a("div",{key:"569724872e61d206fbca2289a0a1d4b4beb651ca",ref:function(e){return i.modalEl=e},"aria-label":(d=this.accessibleLabel)!==null&&d!==void 0?d: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:{"duet-modal-container":true,"duet-theme-turva":this.theme==="turva","duet-modal-active":this.open,"duet-modal-slide-up":this.variation==="slide-up","duet-modal-has-sticky-header":this.hasStickyHeader}},a("duet-overlay",{key:"631d58f62ee39029e3f410eaad94fc95efcfc4cb","z-index":"-1",visible:this.open,variation:this.variation==="loader"?"white":"default"}),a("div",{key:"8d52e7639d49138fb22c4256e53698a7ee6ecb0d",ref:function(e){return i.modalInnerEl=e},class:(e={"duet-modal-inner":true},e[this.size]=true,e["duet-modal-slide-up"]=this.variation==="slide-up",e),onClick:function(e){if(i.closeOnBlur){var t=e.target||e.srcElement;if(t===i.modalInnerEl){i.closeModal(e)}}}},a("div",{key:"9773dc0770a2d32e95b72571778d6b8863f0adbf",ref:function(e){return i.modalContentEl=e},"aria-live":this.accessibleAnnounceChanges==="all"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="all"?"true":null,class:(t={"duet-modal":true,"duet-modal-has-sticky-header":this.hasStickyHeader},t[this.size]=true,t[this.variation]=true,t)},this.gutterSize!=="none"&&!this.hasStickyHeader&&a("duet-spacer",{key:"1f51df35643d76720aadc11b98268076bd459cc4"}),this.hasStickyHeader?a("div",{class:"duet-modal-sticky-header"},s,a("slot",{name:"sticky-header"})):s,a("div",{key:"5433702f6dad665e82628236206e35a0503c3095",class:{"duet-modal-body":true,"duet-modal-gutter-none":this.gutterSize==="none","duet-modal-gutter-small":this.gutterSize==="small","duet-modal-gutter-medium":this.gutterSize==="medium","duet-modal-gutter-large":this.gutterSize==="large"},"aria-live":this.accessibleAnnounceChanges==="heading"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="heading"?"true":null},a("div",{key:"579ba1b41caf40e97242aeacbf47ead29ea6aac7",class:"duet-modal-header"},a("span",{key:"353ab4ce18f8cfaa384b7d1e02e5daf03895fc01",class:"duet-modal-inner-slot-top"},a("slot",{key:"d1b1bd5e49db08393d62154e7a3524ea4bc5fc12",name:"top"})),this.icon&&a("duet-icon",{key:"559c22da92b732cc829c9047bdc0c6b115058f32",name:this.icon,size:"xx-large",color:this.color||n}),this.heading&&a("duet-heading",{key:"4ffd1a28f6c1ec9a946b362f588e04350bab1dbd","visual-level":(o=this.headingVisualLevel)!==null&&o!==void 0?o:this.headingLevel,level:this.headingLevel,theme:this.theme},this.heading)),this.variation==="loader"&&a("div",{key:"2c9b370fbf07ff1804bb2bb8590593dae83cc629",class:"duet-modal-spinner"},a("duet-spinner",{key:"77c91d8fef8f52c65b5565388343bf0021529c1f",size:"large",color:b("primary",this.theme)})),a("div",{key:"0438008ab36af91adcbd0fa0cc1ad22980e086be","aria-live":this.variation==="loader"?"assertive":this.accessibleAnnounceChanges==="body"?"polite":null,"aria-atomic":this.accessibleAnnounceChanges==="body"?"true":null,class:"duet-modal-inner-slot-default",ref:function(e){return i.slotContainerEl=e}},a("slot",{key:"2f174789d1cf40896384bc95dd6cece3f847ac00"}))))))};Object.defineProperty(e.prototype,"element",{get:function(){return d(this)},enumerable:false,configurable:true});Object.defineProperty(e,"watchers",{get:function(){return{open:["openChanged"],active:["activeChanged"]}},enumerable:false,configurable:true});return e}());k.style=v}}}));
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
/*!
|
|
2
|
+
* Built with Duet Design System
|
|
3
|
+
*/
|
|
4
|
+
System.register(["./p-c801dc04.system.js"],(function(r){"use strict";var t;return{setters:[function(r){t=r.b}],execute:function(){r({g:e,s:n});function e(r){var e=r.element.textContent;if(r.accessibleLabel){return r.accessibleLabel}if((!!r.download||r.download==="")&&e){return"".concat(e,". ").concat(r.accessibleLabelDownload,".")}if(r.external&&e){return"".concat(e,". ").concat(r.accessibleLabelExternal,".")}if(t(r.element).length){return e}return null}function n(r,t,e){if(e===void 0){e="true"}var n=r.tagName.toLowerCase().startsWith("duet-");if(n){var u=r;u.accessiblePopup=e;u.accessibleExpanded=t}else{r.setAttribute("aria-haspopup",e);r.ariaExpanded=String(!!t)}}}}}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
* Built with Duet Design System
|
|
3
3
|
*/
|
|
4
|
-
System.register([],(function(n){"use strict";return{execute:function(){var a=n("e",{fi:"Linkki tallennetaan laitteellesi",sv:"Nedladdningslänk",en:"Download link"});var
|
|
4
|
+
System.register([],(function(n){"use strict";return{execute:function(){var a=n("e",{fi:"Linkki tallennetaan laitteellesi",sv:"Nedladdningslänk",en:"Download link"});var e=n("a",{fi:"Avautuu uuteen ikkunaan",sv:"Öppnas i nytt fönster",en:"Opens in a new window"});var t=n("c",{fi:"Ladataan",sv:"Laddas",en:"Loading…"});var i=n("b",{fi:"Odota, ole hyvä.",sv:"Vänligen vänta.",en:"Please wait."});var s=n("d",{fi:"Lista jossa {total} kohtaa. Olet kohdassa {current}.",en:"List with {total} steps. You are on step {current}.",sv:"Lista med {total} steg. Du är på steg {current}."});var r=n("D",{default:{fi:"Huomaa",en:"Please note",sv:"Observera"},success:{fi:"",en:"",sv:""},danger:{fi:"Tärkeä varoitus",en:"Important warning",sv:"Viktig varning"},warning:{fi:"Varoitus",en:"Warning",sv:"Varning"}})}}}));
|